STINNER Victor <vstin...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue33135> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com