[pull] main from python:main - #1494
Merged
Merged
Conversation
Replace soft deprecated PyBytes_FromStringAndSize() with
PyBytesWriter.
Replace also PyBytes_FromStringAndSize(NULL, 0) with
Py_GetConstant(Py_CONSTANT_EMPTY_BYTES) in other functions.
Replace also PyBytes_FromStringAndSize(NULL, 0) with
PyBytes_FromStringAndSize("", 0) in _Py_GetConstant_Init().
Replace soft deprecated PyBytes_FromStringAndSize() with PyBytesWriter. Remove 'pseudo' parameter of PySSL_RAND(): it's no longer needed since ssl.RAND_pseudo_bytes() has been removed (in 2022, commit d435a18). Add a test on ssl.RAND_bytes(0).
…t suite (#151105) * Add new github action to test lazy imports all against stdlib. * Adjust GH Action naming to better match existing checks * Address comments for reusability * Fix double typo + add flaky module * Update test name * Remove concurrency configeration for reusable-test-lazy-imports-all.yml * bikeshed renames * Take a swing at adding exclusion checks * remove allegedly passing modules? * clean up * Fix bug with env var not flowing through and bring back exclusions * Accidentally added random files * Add more modules * Address incorrect exclusions * Address feedback: update ubuntu version and CODEOWNERS file * Prune test_idle and test_zoneinfo from the exclusion list * Address comments. Variety of small nits and cleanups. * Remove accidental file and remove myself from codeowners :( * Deleting other random empty files * Minor change to trigger tests again * Minor change to trigger tests again 2
…indows (GH-155416) It was the ANSI code page instead of the encoding of the device the stream is connected to, as in 3.7. The stdio encoding is now left undefined in this mode and determined for every standard stream.
GH-156944) Previously the marshal writer recorded an error code and converted it into an exception at the end, replacing the exception which was already raised with ValueError("unmarshallable object"). Error messages now name the type of the unsupported object and the required version. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )