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 — bpo-41111: Move the Py_LIMITED_API macro of xxlimited module from setup.py to xxlimited.c. by shihai1991 · Pull Request #25115 · python/cpython Conversation
|
| define_macros=[('WITH_Py_LIMITED_API', 1)])) | ||
| else: | ||
| # Debug mode: Build xxlimited with the full API | ||
| # (which is compatible with the limited one) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Hum, I'm disappointed that CPython doesn't even support its own stable ABI in debug mode. So I created https://bugs.python.org/issue43688 to also support the limited C API in debug mode.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
||
| /* xxlimited with the limited API. */ | ||
| #ifdef WITH_Py_LIMITED_API | ||
| # define Py_LIMITED_API 0x03100000 |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
0x03100000 is wrong: it must be 0x030a0000 (the bug exists in the current code). I fixed the issue in my PR #25131.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Oops. I forgot to publish my review. In the meanwhile, I fixed both issues in https://bugs.python.org/issue43688. I created a new PR: PR #25151. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I merged PR #25151 instead, I marked you as a co-author of my change ;-) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
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.