-
-
Notifications
You must be signed in to change notification settings - Fork 3k
bpo-45122: Remove PyCode_New from mypyc #11067
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
Conversation
@@ -189,38 +189,6 @@ void CPy_TypeError(const char *expected, PyObject *value) { | |||
} | |||
} | |||
|
|||
// These functions are basically exactly PyCode_NewEmpty and | |||
// _PyTraceback_Add which are available in all the versions we support. |
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.
This comment still applies to the next function I believe. Not sure what optimization this is talking about.
Note that this fixes mypy issue #11066. |
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.
LGTM!
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.
Is this waiting for someone or something?
Thanks! Now I can sleep at night. :-) |
Always happy to be of service. |
Description
Guido plans to remove PyCode_New from CPython CAPI.
See: https://bugs.python.org/issue45122
closes: #11066