[Python-Dev] Issue #25256: Add sys.debug_build? (original) (raw)

Barry Warsaw barry at python.org
Fri Oct 2 15:57:15 CEST 2015


On Oct 02, 2015, at 11:46 AM, Victor Stinner wrote:

Should I write a PEP for a new field in sys.implementation?

Specifically PEP 421 says that a PEP is needed if the new sys.implementation attribute is required to be defined in all implementations, i.e. it's a new required attribute. Will debug_build be required of all implementations?

The PEP can be short.

https://www.python.org/dev/peps/pep-0421/#id30

If it's only relevant for CPython then an underscore-prefix symbol in sys.implementation is the right place for it, and no PEP is needed. Just open an issue on the tracker.

Cheers, -Barry



More information about the Python-Dev mailing list