[issue32101] Add PYTHONDEVMODE=1 to enable the developer mode

2017-11-20 Thread STINNER Victor
New submission from STINNER Victor : In the review of the PR 4478, Antoine Pitrou proposed to add an environment variable to enable the new Python "developer mode" to inherit the developer mode in child Python processes. I proposed to add PYTHONDEVMODE=1. Nick Coghlan proposed PYTHONXOPTIONS=d

[issue32101] Add PYTHONDEVMODE=1 to enable the developer mode

2017-11-20 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +4423 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue32101] Add PYTHONDEVMODE=1 to enable the developer mode

2017-11-20 Thread Nick Coghlan
Nick Coghlan added the comment: Another argument against PYTHONXOPTIONS is that each implementation is free to decide which -X options it wants to support, and we don't really define what they're supposed to do with options they don't recognise. By contrast, there's an established behaviour f

[issue32101] Add PYTHONDEVMODE=1 to enable the developer mode

2017-11-28 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +4539 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32101] Add PYTHONDEVMODE=1 to enable the developer mode

2017-11-28 Thread STINNER Victor
STINNER Victor added the comment: While implementing a new PYTHONDEVMODE environment variable, I found that it would help to also add a new sys.flags.dev_mode flag. So I added it. So for example, asyncio uses sys.flags.dev_mode rather than checking for 'dev' in sys._xoptions *and* check if th

[issue32101] Add PYTHONDEVMODE=1 to enable the developer mode

2017-11-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5e3806f8cfd84722fc55d4299dc018ad9b0f8401 by Victor Stinner in branch 'master': bpo-32101: Add PYTHONDEVMODE environment variable (#4624) https://github.com/python/cpython/commit/5e3806f8cfd84722fc55d4299dc018ad9b0f8401 -- _

[issue32101] Add PYTHONDEVMODE=1 to enable the developer mode

2017-11-30 Thread STINNER Victor
STINNER Victor added the comment: Thanks Antoine and Nick for reviews and the feedback! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue32101] Add PYTHONDEVMODE=1 to enable the developer mode

2017-12-12 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +4712 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32101] Add PYTHONDEVMODE=1 to enable the developer mode

2017-12-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 721e25c6535d08bd3d4d891fb2b540472e19f899 by Victor Stinner in branch 'master': bpo-32101: Fix tests for PYTHONDEVMODE=1 (#4821) https://github.com/python/cpython/commit/721e25c6535d08bd3d4d891fb2b540472e19f899 -- __