[issue33135] Define field prefixes for the various config structs

STINNER Victor report at bugs.python.org
Wed May 15 10:19:54 EDT 2019


STINNER Victor <vstinner at redhat.com> added the comment:

In the master branch, the C function config_read_cmdline() uses:

* cmdline_warnoptions: -W command line arguments
* env_warnoptions: PYTHONWARNINGS environment variable

The config_init_warnoptions() uses these 2 list and combine it with other options, dev_mode and bytes_warnings.

The warnings options are now specified in my PEP 587:
https://www.python.org/dev/peps/pep-0587/#priority-and-rules

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33135>
_______________________________________


More information about the Python-bugs-list mailing list