Skip to content

Conversation

@AndPuQing
Copy link
Contributor

@AndPuQing AndPuQing commented Jun 28, 2025

@Fidget-Spinner
Copy link
Member

Thanks for the PR! Let's wait till Mark merges the TOS caching work before we continue (see the main issue's comment), thanks!

@AndPuQing
Copy link
Contributor Author

Thanks for the PR! Let's wait till Mark merges the TOS caching work before we continue (see the main issue's comment), thanks!

Got it, I'll hold off on this until the TOS caching PR is in. Thanks for letting me know!

pablogsal and others added 25 commits November 24, 2025 11:45
Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
Co-authored-by: Peter Bierma <[email protected]>
Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: Éric <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: Victor Stinner <[email protected]>
…-141881)

Most of the `self.assertTrue(self.called)` checks are flaky because
the worker threads may sometimes finish before the main thread calls
`self.during_threads()`.
Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Victor Stinner <[email protected]>
…honGH-141908)

* test_hashlib: better handle support for SHA3

It's possible that the SSL library supports only SHA3 algo and doesn't
have SHAKE one.

The current test wrongly detect this and set both HASH and HASHXOF to
None expecting to have the extra SHA3 attributes present but this should
only be true for SHAKE algo.

To better handle this, move the HASH condition to a dedicated try-expect
condition and check if HASHXOF is None in the relevant code effectively
checking if SHA3 is supported by the SSL library but SHAKE algo needs to
use the sha3module one.

Signed-off-by: Christian Marangi <[email protected]>

* rework the conditional import for all its attrs

---------

Signed-off-by: Christian Marangi <[email protected]>
Co-authored-by: Gregory P. Smith <[email protected]>
…le files (python#141934)

gh-1381228: Split Modules/_remote_debugging_module.c into multiple files
…ons in stable ABI (pythonGH-139166)

* Make Py_{SIZE,IS_TYPE,SET_SIZE} regular functions in stable ABI

Group them together with Py_TYPE & Py_SET_TYPE to cut down
on repetitive preprocessor macros.
Format repetitive definitions in object.c more concisely.

Py_SET_TYPE is still left out of the Limited API.
…s to stable ABI manifest (python#141910)

These were added to the limited API in 3.5.
Not including them in `Misc/stable_abi.toml` was a bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.