[issue29770] Executable help output (--help) at commandline is wrong for option -B

New submission from Wolfgang Langner: The output for "python --help" for the option -B is wrong. It contains also the old pyo files. But they were removed. Output is: -B : don't write .py[co] files on import; also PYTHONDONTWRITEBYTECODE=x should be: -B : don't write .pyc files on import; also PYTHONDONTWRITEBYTECODE=x ---------- assignee: docs@python components: Documentation messages: 289287 nosy: docs@python, tds333 priority: normal severity: normal status: open title: Executable help output (--help) at commandline is wrong for option -B type: enhancement versions: Python 3.5, Python 3.6, Python 3.7 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue29770> _______________________________________

Changes by Serhiy Storchaka <storchaka+cpython@gmail.com>: ---------- nosy: +brett.cannon _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue29770> _______________________________________

Changes by Xiang Zhang <angwerzx@126.com>: ---------- pull_requests: +486 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue29770> _______________________________________

Changes by Xiang Zhang <angwerzx@126.com>: ---------- pull_requests: +505 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue29770> _______________________________________

Changes by Xiang Zhang <angwerzx@126.com>: ---------- pull_requests: +506 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue29770> _______________________________________

Changes by Xiang Zhang <angwerzx@126.com>: ---------- resolution: -> fixed stage: -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue29770> _______________________________________

Wolfgang Langner added the comment: Thanks for fixing this so fast. Good work. ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue29770> _______________________________________

Xiang Zhang added the comment: New changeset ce222c87706b1062f7fc03867d1867aa4848dd7b by Xiang Zhang in branch '3.5': bpo-29770: remove outdated PYO related info (GH-590) (GH-613) https://github.com/python/cpython/commit/ce222c87706b1062f7fc03867d1867aa484... ---------- nosy: +xiang.zhang _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue29770> _______________________________________

Xiang Zhang added the comment: New changeset 16416c22f9b8d9e067506d3a98f661756c80389c by Xiang Zhang in branch '3.6': bpo-29770: remove outdated PYO related info (GH-590) (GH-612) https://github.com/python/cpython/commit/16416c22f9b8d9e067506d3a98f661756c8... ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue29770> _______________________________________

Xiang Zhang added the comment: New changeset 0710d754255e731e6fcc3f206b51db6156da17c8 by Xiang Zhang in branch 'master': bpo-29770: remove outdated PYO related info (GH-590) https://github.com/python/cpython/commit/0710d754255e731e6fcc3f206b51db6156d... ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue29770> _______________________________________
participants (3)
-
Serhiy Storchaka
-
Wolfgang Langner
-
Xiang Zhang