Nick Coghlan <ncogh...@gmail.com> 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 for unknown environment variables: implementations that don't support them just ignore them. So +1 for PYTHONDEVMODE=1 from me - that also gives us more flexibility if we decide to add arguments to the option later. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32101> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com