Skip to content

imp.py: load_package() appends to its own loop variable #74830

@commodo

Description

@commodo
mannequin
BPO 30645
Nosy @brettcannon, @ncoghlan, @bitdancer, @ericsnowcurrently, @SylvainDe, @commodo
PRs
  • bpo-30645: use an internal variable while iterating in imp.load_package() #2268
  • [3.6] bpo-30645: don't append to an inner loop path in imp.load_package() (GH-2268) #2364
  • [3.5] bpo-30645: don't append to an inner loop path in imp.load_package() (GH-2268) #2365
  • 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 2017-06-23.18:40:28.636>
    created_at = <Date 2017-06-13.08:25:25.507>
    labels = ['3.7', 'type-bug', 'library']
    title = 'imp.py: load_package() appends to its own loop variable'
    updated_at = <Date 2017-06-23.18:40:28.635>
    user = 'https://github.com/commodo'

    bugs.python.org fields:

    activity = <Date 2017-06-23.18:40:28.635>
    actor = 'brett.cannon'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-06-23.18:40:28.636>
    closer = 'brett.cannon'
    components = ['Library (Lib)']
    creation = <Date 2017-06-13.08:25:25.507>
    creator = 'Alexandru Ardelean'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 30645
    keywords = []
    message_count = 12.0
    messages = ['295865', '295964', '295991', '295992', '295993', '296012', '296038', '296278', '296279', '296730', '296733', '296734']
    nosy_count = 6.0
    nosy_names = ['brett.cannon', 'ncoghlan', 'r.david.murray', 'eric.snow', 'SylvainDe', 'Alexandru Ardelean']
    pr_nums = ['2268', '2364', '2365']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue30645'
    versions = ['Python 3.5', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions