PythonWin7 icon indicating copy to clipboard operation
PythonWin7 copied to clipboard

Notable changes in Python 3.13

Open adang1345 opened this issue 11 months ago • 2 comments

Notes to self for when I start working on Python 3.13 on Windows 7.

ProcessSnapshot.h is not available on Windows 7, so restore-win7-handling.patch reverts the change that introduced its usage to the win32_getppid() function in posixmodule.c. https://github.com/python/cpython/commit/be1c808fcad201adc4d5d6cca52ddb24aeb5e367 introduces an alternate implementation that does not require ProcessSnapshot.h. It uses deprecated Windows functions and falls back to using ProcessSnapshot.h if those functions fail or no longer exist. Modify the patch to use this alternate implementation for Windows 7 and remove the fallback given that Windows 7 is not going to remove the deprecated functions.

https://github.com/python/cpython/commit/1d95451be1f3080904c00cc4c4a6cc519efdf321 adds GetSystemTimePreciseAsFileTime(), which is not available on Windows 7.

adang1345 avatar Mar 15 '24 13:03 adang1345

Thanks for you work!

yulk avatar Jul 05 '24 09:07 yulk

Python 3.13 RC 1 is up at https://github.com/adang1345/PythonWin7/tree/master/3.13.0rc1.

adang1345 avatar Aug 16 '24 17:08 adang1345