GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — [WIP] bpo-32592: Drop support for Windows Vista by vstinner · Pull Request #5231 · python/cpython Conversation
|
|
Hum, the change should be mentionned in Doc/whatsnew/3.7.rst. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
AppVeyor compilation failed with: "C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\shared\sdkddkver.h(289): fatal error C1189: #error: NTDDI_VERSION setting conflicts with _WIN32_WINNT setting [C:\projects\cpython\PCbuild\pythoncore.vcxproj]" |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| #define WIN32_LEAN_AND_MEAN | ||
| #include <windows.h> | ||
|
|
||
| /* options */ |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Maybe you could change the comment before #define Py_HAVE_CONDVAR ?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
in fact, should we remove all the references to Vista when we drop the support of Vista ?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I updated the comment.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@vstinner There is some references to Vista in the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Rephrase also a comment in condvar.h.
I don't know this directory, so I prefer to leave it unchanged. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@vstinner ok then in this case, the PR seems to be right. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| * example native support on VISTA and onwards. | ||
| */ | ||
|
|
||
| #if _PY_EMULATED_WIN_CV |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
See https://bugs.python.org/issue29871 before pulling this code out - our alternate code isn't 100% correct yet.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Oh, I can revert this change and propose it in https://bugs.python.org/issue29871.
My change should have no effect on Windows 7 and newer. Why do you prefer to keep the unused emulation code (until bpo-29871 is fixed)?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
@zooba: Do you understand why my change breaks the compilation? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| * to target Windows Vista. Modify this macro to enable them. | ||
| */ | ||
| #ifndef _PY_EMULATED_WIN_CV | ||
| #define _PY_EMULATED_WIN_CV 1 /* use emulated condition variables */ |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Isn't removing this a mistake? I think the SRWLOCK version was tried in another issue that was abandoned.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Hum, this code seems to sensitive and my change may conflict with https://bugs.python.org/issue29871 so I reverted this change and will open a new dedicated PR.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
"posixmodule.obj : error LNK2001: unresolved external symbol _GetMaximumProcessorCount [C:\projects\cpython\PCbuild\pythoncore.vcxproj]" Oh, my posixmodule.c change doesn't work :-( Extract of pythoninfo: I understand that AppVeyor runs Windows 10 and Python was built by Visual Studio 2017 https://msdn.microsoft.com/fr-fr/library/windows/desktop/dd405489(v=vs.85).aspx "Remarks: To compile an application that uses this function, set _WIN32_WINNT >= 0x0601. For more information, see Using the Windows Headers." Aha. I need to try to understand why changing _WIN32_WINNT failed. But my Windows VM is down :-) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Hum, I'm not sure that my PR is correct anymore. I change its status to WIP, I will rework on it, once I get again access to a Windows VM to fix my PR. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Some news about this PR ?
…--
Stéphane Wirtel - http://wirtel.be - @matrixise
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.