-
Notifications
You must be signed in to change notification settings - Fork 3
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
Support generating non-abi3 pythonXY.dll? #12
Comments
Whether we should do this for all of |
Right, I wonder whether we can just generate a single pythonXY.dll for all of them, but it will cause problems if later python versions removed some APIs. The |
Some API are being deprecated and removed between versions, like I also wonder if people should build new non-abi3 binary wheels in this day and age. Most projects continue to do so mainly because of inertia and "it's always been done this way". But if they ever stop publishing new wheels they are locking their users into an ancient Python version with no obvious upgrade path. Maybe easy cross-compilation can become one of the reasons for people to enable |
non-abi3 binary might have access to more performant APIs/optimizations I think? |
This is definitely true, but not everyone is building the next NumPy. |
My goal here is to make creating Windows wheels using maturin as plain less as possible, just like the current Unix experience (See PyO3/maturin#896). With this we can collect python sysconfigs from Windows and make |
I've been thinking about this once again, and I think a single |
I don't think the above statement is correct - you can have e.g. |
Oh, indeed. Trying to unify the exported symbol definitions probably not worth it, then. |
Do you plan to use it in |
I plan to use in |
In theory we can also generate a pythonXY.dll from a
.def
file as long as we can obtain it somehow. Unlike stable API that has astable_api.toml
file,the obvious way to obtain a.def
file forpythonXY.dll
is using dumpbin.exe, for exampledumpbin /exports python310.dll
.Unfortunately, there seems no easy way to differentiate betweenfunction
anddata
in the output ofdumpbin /exports
, it treats them all asfunction
.The text was updated successfully, but these errors were encountered: