Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Nov 16, 2017

The new -X dev command line option now also enables asyncio debug
mode.

https://bugs.python.org/issue32047

The new -X dev command line option now also enables asyncio debug
mode.
_DEBUG = (not sys.flags.ignore_environment and
bool(os.environ.get('PYTHONASYNCIODEBUG')))

def _debug_mode():
Copy link
Member

Choose a reason for hiding this comment

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

I'd rename this function to _is_debug_mode

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

Copy link
Member

@1st1 1st1 left a comment

Choose a reason for hiding this comment

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

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

@bedevere-bot
Copy link

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 I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@vstinner vstinner merged commit 44862df into python:master Nov 20, 2017
@vstinner vstinner deleted the xdev_asyncio branch November 20, 2017 15:14
@vstinner
Copy link
Member Author

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

We are Monday, I merged the PR.

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.

4 participants