| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| # Limited C API | ||
| self.add(Extension('xxlimited', ['xxlimited.c'])) | ||
| self.add(Extension('xxlimited_35', ['xxlimited_35.c'])) | ||
| # Build limited C API without Py_TRACE_REFS macro |
There was a problem hiding this comment.
This comment is wrong. You should say that the limited C API is not compatible with the Py_TRACE_REFS macro.
Sorry, something went wrong.
There was a problem hiding this comment.
Got it. Updated :)
Sorry, something went wrong.
|
Thanks, I merged your fix. Without this fix, xxlimited failed to build on the AMD64 Arch Linux TraceRefs 3.x buildbot. Example: gcc -pthread -fPIC -Wno-unused-result -Wsign-compare -g -Og -Wall -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I./Include -I. -I/usr/local/include -I/buildbot/buildarea/3.x.pablogsal-arch-x86_64/build/Include -I/buildbot/buildarea/3.x.pablogsal-arch-x86_64/build -c /buildbot/buildarea/3.x.pablogsal-arch-x86_64/build/Modules/xxlimited_35.c -o build/temp.linux-x86_64-3.10-pydebug/buildbot/buildarea/3.x.pablogsal-arch-x86_64/build/Modules/xxlimited_35.o
In file included from ./Include/Python.h:87,
from /buildbot/buildarea/3.x.pablogsal-arch-x86_64/build/Modules/xxlimited_35.c:10:
./Include/object.h:61:4: error: #error Py_LIMITED_API is incompatible with Py_TRACE_REFS
61 | # error Py_LIMITED_API is incompatible with Py_TRACE_REFS
| ^~~~~
https://buildbot.python.org/all/#/builders/484/builds/525 But it's not treated as an error: the compilation is displayed as a success. Moreover, test_xxlimited is simply skipped if xxlimited is missing. This change should fix it. |
Sorry, something went wrong.
|
Thanks Victor for your review & merge :) |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
https://bugs.python.org/issue41111