bpo-32047: -X dev enables asyncio debug mode#4418
bpo-32047: -X dev enables asyncio debug mode#4418vstinner merged 2 commits intopython:masterfrom vstinner:xdev_asyncio
Conversation
The new -X dev command line option now also enables asyncio debug mode.
Lib/asyncio/coroutines.py
Outdated
| _DEBUG = (not sys.flags.ignore_environment and | ||
| bool(os.environ.get('PYTHONASYNCIODEBUG'))) | ||
|
|
||
| def _debug_mode(): |
There was a problem hiding this comment.
I'd rename this function to _is_debug_mode
1st1
left a comment
There was a problem hiding this comment.
Overall the PR looks good. Please hold off merging it though, until we have a consensus on the mailing list (or till Monday, whatever comes first :))
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
We are Monday, I merged the PR. |
The new -X dev command line option now also enables asyncio debug
mode.
https://bugs.python.org/issue32047