Skip to content

Doc for -X dev option should mention PYTHONDEVMODE #83893

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. 13 remaining items

    3. 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 :)

    4. 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?

    5. erlend-aasland commented on Apr 16, 2023

      @erlend-aasland
      Contributor

      Sorry; Opening Post.

    6. added
      3.11only security fixes
      3.12only security fixes
      and removed
      type-featureA feature request or enhancement
      on Apr 17, 2023
    7. self-assigned this
      on Apr 17, 2023
    8. 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.

    9. added a commit that references this issue on Apr 18, 2023
    10. 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
    11. 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.11only security fixes3.12only security fixesdocsDocumentation in the Doc direasy

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions