Skip to content

"pdb -m <module>" sets __main__.__package__ incorrectly #76872

@ncoghlan

Description

@ncoghlan
BPO 32691
Nosy @jaraco, @ncoghlan, @mariocj89
PRs
  • bpo-32691: Use mod_spec.parent when running modules with pdb #5474
  • [3.7] bpo-32691: Use mod_spec.parent when running modules with pdb (GH-5474) #5510
  • 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 = <Date 2018-02-05.02:39:08.881>
    created_at = <Date 2018-01-28.05:04:51.391>
    labels = ['type-bug', '3.7']
    title = '"pdb -m <module>" sets __main__.__package__ incorrectly'
    updated_at = <Date 2018-02-05.02:39:08.880>
    user = 'https://github.com/ncoghlan'

    bugs.python.org fields:

    activity = <Date 2018-02-05.02:39:08.880>
    actor = 'ncoghlan'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-02-05.02:39:08.881>
    closer = 'ncoghlan'
    components = []
    creation = <Date 2018-01-28.05:04:51.391>
    creator = 'ncoghlan'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32691
    keywords = ['patch']
    message_count = 7.0
    messages = ['310917', '310964', '311437', '311439', '311446', '311539', '311591']
    nosy_count = 3.0
    nosy_names = ['jaraco', 'ncoghlan', 'mariocj89']
    pr_nums = ['5474', '5510']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue32691'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifetype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions