STINNER Victor <victor.stin...@gmail.com> added the comment: I suggest to revert my changes on PySys_AddWarnOption*() and "just" re-use the code from Python 3.6.
Previously, I made the code more complex since I had to expose a private function to add manually warning options. But later, the code changed again, so the private function is gone. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33042> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com