-
Notifications
You must be signed in to change notification settings - Fork 802
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
ffi cleanup: pystrtod to pythonrun #1830
Conversation
a146f14
to
8615c63
Compare
Thanks, looks like a great tidy up! For all APIs removed in Python 3.10 can you use |
ba8b071
to
530b086
Compare
Done and also update changelog. |
e98d73b
to
1819733
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks very much, this looks great!
Just a few final tweaks needed and then we're ready to merge...
1819733
to
dbbcf9d
Compare
f5e6fa5
to
c871390
Compare
Move multiple limited api to cpython. Many API in `pythonrun` are removed in python 3.10. There is also some function and macro share the same name (documented below) in cpython, which I choose to skip macro definition. - PyRun_String - PyRun_AnyFile - PyRun_AnyFileEx - PyRun_AnyFileFlags
c871390
to
7322056
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks very much! I've just added some suggestions to also configure the last remaining symbols in this file for PyPy. I'll add that commit and then merge!
For #1289
Move multiple limited api to cpython. Many API in
pythonrun
areremoved in python 3.10. For a reminder, I add comment "will be removed
in 3.10" for that.
There is also some function and macro share the same name (documented
below) in cpython, which I choose to skip macro definition.