Skip to content

Doc for -X dev option should mention PYTHONDEVMODE #83893

Closed

Description

@pitrou
BPO 39712
Nosy @pitrou, @vstinner, @ezio-melotti, @merwok, @willingc, @JulienPalard, @tirkarthi, @erlend-aasland, @rahul-kumi
PRs
  • bpo-39712: Cross reference env. vars and -X command line options #18685
  • Files
  • 0001-bpo-39712.patch
  • 0001-3.8-bpo-39712.patch
  • 0001-3.7-bpo-39712.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2020-02-21.16:57:39.490>
    labels = ['easy', '3.7', '3.8', '3.9', 'type-feature', 'docs']
    title = 'Doc for `-X dev` option should mention PYTHONDEVMODE'
    updated_at = <Date 2020-02-29.23:00:44.564>
    user = 'https://github.com/pitrou'

    bugs.python.org fields:

    activity = <Date 2020-02-29.23:00:44.564>
    actor = 'erlendaasland'
    assignee = 'docs@python'
    closed = False
    closed_date = None
    closer = None
    components = ['Documentation']
    creation = <Date 2020-02-21.16:57:39.490>
    creator = 'pitrou'
    dependencies = []
    files = ['48926', '48927', '48928']
    hgrepos = []
    issue_num = 39712
    keywords = ['patch', 'easy', 'newcomer friendly']
    message_count = 4.0
    messages = ['362414', '362525', '363025', '363030']
    nosy_count = 10.0
    nosy_names = ['pitrou', 'vstinner', 'ezio.melotti', 'eric.araujo', 'docs@python', 'willingc', 'mdk', 'xtreak', 'erlendaasland', 'rahul-kumi']
    pr_nums = ['18685']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue39712'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Linked PRs

    Activity

    1. pitrou commented on Feb 21, 2020

      @pitrou
      MemberAuthor

      In the doc for -X options (https://docs.python.org/3/using/cmdline.html#id5), when an option can be triggered through an equivalent environment variable, that variable is mentioned.

      An exception to that is -X dev, which can also be triggered by the PYTHONDEVMODE variable, but that isn't mentioned in the CLI doc.

      Other missing environment variables in the CLI doc are PYTHONFAULTHANDLER and PYTHONTRACEMALLOC.

    2. added
      3.7 (EOL)
      3.8 (EOL)
      3.9 (EOL)
      on Feb 21, 2020
    3. added
      docs
      3.7 (EOL)
      3.8 (EOL)
      3.9 (EOL)
      type-feature
      on Feb 21, 2020
    4. added
      docs
      on Feb 21, 2020
    5. 13 remaining items

    6. erlend-aasland commented on Apr 16, 2023

      @erlend-aasland
      Contributor

      @erlend-aasland I think we can close that issue.

      The issue mentioned by Antoine in the OP is not resolved yet :)

    7. furkanonder commented on Apr 16, 2023

      @furkanonder
      Contributor

      @erlend-aasland I think we can close that issue.

      The issue mentioned by Antoine in the OP is not resolved yet :)

      What does OP mean?

    8. erlend-aasland commented on Apr 16, 2023

      @erlend-aasland
      Contributor

      Sorry; Opening Post.

    9. added
      3.11
      3.12
      and removed
      3.9 (EOL)
      3.8 (EOL)
      3.7 (EOL)
      type-feature
      on Apr 17, 2023
    10. self-assigned this
      on Apr 17, 2023
    11. merwok commented on Apr 17, 2023

      @merwok
      Member

      I improved help texts and cross-references in #100627 and #93219 but did not see this issue!
      Will make a patch, or review one.

    12. added a commit that references this issue on Apr 18, 2023
    13. vstinner commented on May 4, 2023

      @vstinner
      Member

      I'm not sure which references are missing:

      • -X faulthandler doc links to PYTHONFAULTHANDLER
      • -X dev doc links to Python Development Mode which links to PYTHONDEVMODE
      • -X tracemalloc doc links to PYTHONTRACEMALLOC
      • PYTHONDEVMODE doc links to -X dev
      • PYTHONTRACEMALLOC doc links to -X tracemalloc
      • PYTHONFAULTHANDLER doc links to -X faulthandler
    14. vstinner commented on May 4, 2023

      @vstinner
      Member

      I close the issue, please reopen it if something was missing.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    3.113.12docseasy

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions