Skip to content

Python 3.12 challenges #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
adang1345 opened this issue Mar 8, 2023 · 2 comments
Closed

Python 3.12 challenges #11

adang1345 opened this issue Mar 8, 2023 · 2 comments

Comments

@adang1345
Copy link
Owner

Note to self: Python 3.12 removes some code for Windows 7. Maybe we can add it back in when building Python 3.12, or maybe it will be too challenging to continue support for Python 3.12 on Windows 7.

python/cpython#102336
python/cpython#102255

@zooba
Copy link

zooba commented Mar 9, 2023

You'll likely have the best time handling these the way that we have in some cases - by providing implementations for the functions we used to get with GetProcAddress, just matching the prototype. You could even create your own static library with them and include that in the build, which should reduce the amount of modifications to the CPython sources.

@adang1345
Copy link
Owner Author

It turns out that not many changes are needed to maintain compatibility with Windows 7. https://github.com/adang1345/PythonWin7/blob/master/patches/restore-win7-handling.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants