Nick Coghlan added the comment: I'd suggest that the right fix here would be to move warnoptions into the config struct as proposed in the PEP: https://www.python.org/dev/peps/pep-0432/#supported-configuration-settings
The main reason we merged this as a private API was so we could do that setting-by-setting, with the test suite ensuring we weren't breaking anything. It looks like in this case, it's the status quo that's broken, and the change makes it possible to fix it :) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30598> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com