Skip to content

Conversation

@graingert
Copy link
Contributor

@graingert graingert commented Jun 24, 2021

new threads are not allowed (including daemon threads) implies that the opposite
is true in isolated=False subinterpreters: that new threads are allowed (excluding daemon threads)

new threads are not allowed (including daemon threads) implies that the opposite
is true in isolated=False subinterpreters, that new threads are allowed (*excluding* daemon threads)
Copy link
Member

@ericsnowcurrently ericsnowcurrently left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can certainly see there's some ambiguity there.


* importing an extension module fails if it does not implement the
PEP 489 API
* new threads are not allowed (including daemon threads)
Copy link
Member

@ericsnowcurrently ericsnowcurrently Jul 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reminder about daemon threads is worth keeping, I think. How about shifting it around to resolve the clarity problem: "new threads (including daemon threads) are not allowed"?

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
@ericsnowcurrently ericsnowcurrently merged commit a6ccce7 into python:master Jul 11, 2021
@ericsnowcurrently
Copy link
Member

Thanks for the changes, @graingert.

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.

3 participants