GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||
GeezerVison is showing github.com — gh-116146: Add C-API to create module from spec and initfunc by itamaro · Pull Request #139196 · python/cpython Conversation
|
I think it should be fine! Is the PEP already implemented on main?
Yes, I used it to reflect what it does internally.
Will do. Should we first decide whether to change this to match PEP 793, or go to the WP with options and get their input? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
No, it's not even accepted :)
Just go to the WG :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
done :) capi-workgroup/decisions#77 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
- use `PyImport_CreateModuleFromInitfunc` for the new API - no need to introduce `create_builtin_ex` - update `create_builtin` and all callers - update exception message
4363e5a to
781a730
Compare
There was an error while loading. Please reload this page.
Co-authored-by: Kumar Aditya <[email protected]>
|
I left my suggestions as a PR: itamaro#27 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
* Test single-phase init as well; don't use private APIs in test * Doc update --------- Co-authored-by: Itamar Oren <[email protected]>
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Victor Stinner <[email protected]>
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…on under the free-threaded build
8f16533 to
1165950
Compare
|
thank you @encukou @vstinner @kumaraditya303 for the review and suggestions! @encukou are you planning to merge gh-141197 soon? until that is merged, this PR has a docs failure due to referring to the function that you document in gh-141197. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The new function PyImport_CreateModuleFromInitfunc() should be documented in Doc/whatsnew/3.15.rst.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Kumar Aditya <[email protected]> Co-authored-by: Victor Stinner <[email protected]>
fabafb5 to
fbfde0a
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for the updates!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Congrats @itamaro! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…ythonGH-139196) Co-authored-by: Kumar Aditya <[email protected]> Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Victor Stinner <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.