New submission from Éric Araujo <mer...@netwok.org>: The -Q command-line option has been removed in Python 3 but there are some leftovers. Attached patch removes them; tests pass; please review.
I think 3.1 should be fixed too, since no sane program should use those leftovers. I removed the now-pointless tests in test_cmd_line. They were not failing; this may be a bug in verify_valid_flag, out of scope for this report. While I was editing the table used to document sys.flags, I added some link-generating markup (to the respective option doc) and made the table markup easier to read and edit. I can make those changes in another commit if you prefer it. ---------- assignee: eric.araujo components: Interpreter Core files: division_warning.diff keywords: needs review, patch messages: 126943 nosy: benjamin.peterson, eric.araujo, georg.brandl priority: normal severity: normal stage: commit review status: open title: Remove last traces of -Q / sys.flags.division_warning / Py_DivisionWarningFlag type: behavior versions: Python 3.1, Python 3.2 Added file: http://bugs.python.org/file20505/division_warning.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10998> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com