Skip to content

[pull] main from python:main - #1494

Merged
pull[bot] merged 6 commits into
tj-python:mainfrom
python:main
Sep 18, 2026
Merged

pull[bot] merged 6 commits into
tj-python:mainfrom
python:main

Conversation

@pull

@pull pull Bot commented Sep 18, 2026

Copy link
Copy Markdown

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 : )

vstinner and others added 6 commits September 18, 2026 14:09
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>
@pull pull Bot locked and limited conversation to collaborators Sep 18, 2026
@pull pull Bot added the ⤵️ pull label Sep 18, 2026
@pull
pull Bot merged commit 76f22f9 into tj-python:main Sep 18, 2026
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants