-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
[3.14] GH-134774: fix 'Py_DEBUG': macro redefinition warnings for Windows debug builds #134790
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
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…version_from_kernel32 (pythonGH-133598) (cherry picked from commit 0ec8fc8) Co-authored-by: Sergey Miryanov <sergey.miryanov@gmail.com>
…mory as bigmem (pythonGH-133456) (pythonGH-133663) (cherry picked from commit 26839ea) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…133635) (python#133666) pythongh-133581: Improve AST unparsing of t-strings (pythonGH-133635) (cherry picked from commit bfac7d2) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
…GH-133356) (pythonGH-133673) (cherry picked from commit e15bbfa) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This converts functions, code, str, bytes, bytearray, and memoryview objects to PyCodeObject, and ensure that the object looks like a script. That means no args, no return, and no closure. _PyCode_GetPureScriptXIData() takes it a step further and ensures there are no globals. We also add _PyObject_SupportedAsScript() to the internal C-API. (cherry picked from commit c81fa2b, AKA pythongh-133480) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
…ds in socket module (pythonGH-133208) (python#133683) pythongh-132886: use relaxed atomics for `sock_fd` in gil builds in socket module (pythonGH-133208) (cherry picked from commit 2d82ab7) Co-authored-by: Kumar Aditya <kumaraditya@python.org>
…ythongh-133627) (pythongh-133685) The function `dict_set_fromkeys()` adds elements of a set to an existing dictionary. The size of the expanded dictionary was estimated with `PySet_GET_SIZE(iterable)`, which did not take into account the size of the existing dictionary. (cherry picked from commit 421ba58) Co-authored-by: Angela Liss <59097311+angela-tarantula@users.noreply.github.com>
…` with mypy (pythonGH-133453) (python#133689) pythongh-133403: Check `Tools/build/verify_ensurepip_wheels.py` with mypy (pythonGH-133453) (cherry picked from commit 5f3d3f2) Co-authored-by: Flosckow <66554425+Flosckow@users.noreply.github.com> Co-authored-by: Daniil Dumchenko <dumchenko.de@sibvaleo.com> Co-authored-by: sobolevn <mail@sobolevn.me>
(cherry picked from commit dd670fa) Co-authored-by: Steve Dower <steve.dower@python.org>
…H-133674) (python#133695) pythongh-103092: Support subinterpreters in ``_zstd`` (pythonGH-133674) (cherry picked from commit 6f6f48d) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
…honGH-133697) (cherry picked from commit 9546eee) Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
…identally pick up site-packages (pythonGH-133693) (cherry picked from commit 6ce469d) Co-authored-by: Steve Dower <steve.dower@python.org>
…pythongh-133534) (pythongh-133717) (cherry picked from commit 8679c8d)
…thonGH-133544) (pythongh-133718) On Linux, use /proc/self/status for mem usage info. Using smaps_rollup is quite a lot slower and we can get the similar info from /proc/self/status. (cherry picked from commit 751db4e) Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
…character entities in attribute values (pythonGH-95215) (pythonGH-133704) According to the HTML5 spec, named character references in attribute values should only be processed if they are not followed by an ASCII alphanumeric, or an equals sign. (cherry picked from commit 77b14a6) https: //html.spec.whatwg.org/multipage/parsing.html#named-character-reference-state Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@googlemail.com>
…H-133708) (python#133729) pythongh-133412: amend docs for the `inst` definition (pythonGH-133708) The `stack_effect` is incorrectly documented as being allowed to be optional. (cherry picked from commit f77dac6) Co-authored-by: Nybblista <170842536+nybblista@users.noreply.github.com>
…GH-133724) (python#133731) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
…taken for multi-line sqlite statements in the sqlite3 command-line interface (pythonGH-133440) (pythonGH-133738) (cherry picked from commit ebd4881) Co-authored-by: Tan Long <tanloong@foxmail.com>
pythonGH-133749) (python#133751) pythongh-133644: update `Py_InteractiveFlag` deprecation notice (pythonGH-133749) (cherry picked from commit 3ed8d6f) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
) (python#133758) Co-authored-by: Stefano Rivera <stefano@rivera.za.net>
…nGH-133325) (pythonGH-133760) (cherry picked from commit 076004a) Co-authored-by: Yongzi Li <1538321957@qq.com>
…b test (pythonGH-133702) (python#133754) pythongh-133682: Fix inconsistent set ordering in annotationlib test (pythonGH-133702) (cherry picked from commit a2a0fa9) Co-authored-by: Akshat Gupta <akshat.gupta24@gmail.com>
…ythonGH-133694) (python#133762) pythonGH-132983: Remove subclassing support from zstd types (pythonGH-133694) For consistency with ``bz2``, ``lzma``, and ``zlib``. (cherry picked from commit bd7c585) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
… with mypy (pythonGH-133735) (python#133764) pythongh-133403: Check `Tools/build/generate-build-details.py` with mypy (pythonGH-133735) (cherry picked from commit cd2f234) Co-authored-by: sobolevn <mail@sobolevn.me>
…thon#133756) pythongh-132983: Clean-ups for ``_zstd`` (pythonGH-133670) (cherry picked from commit c2a5d4b) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
…133565) (python#133757) pythonGH-132983: Restore libzstd fallback detection (pythonGH-133565) (cherry picked from commit 2c7cac4) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
…133270) (python#133769) pythongh-46236: Document PyUnicode_BuildEncodingMap (pythonGH-133270) (cherry picked from commit f34ec09) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
…H-133622) (python#133771) Co-authored-by: Éric <earaujo@caravan.coop>
…onGH-133766) (python#133774) pythongh-133741: Fix _can_strace(): check --trace option (pythonGH-133766) The --trace option needs strace 5.5 or newer. (cherry picked from commit 6708628) Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Since PR #134211 / issue #133779 was packported to 3.14, Windows debug builds show more than thousand such warnings:
This stems from
cpython/PC/pyconfig.h
Lines 97 to 100 in b6e624a
which got added in the above PR, but rather belong to PR #131944 / issue #131942 and should just be deleted.
📚 Documentation preview 📚: https://cpython-previews--134790.org.readthedocs.build/