Skip to content

Regression in pkgutil: iter_modules stopped taking Path argument in python 3.8.10 and 3.9.5 #88227

Description

@rikardnordgren
BPO 44061
Nosy @gpshead, @ambv, @zooba, @shreyanavigyan, @miguendes, @magul
PRs
  • bpo-44061: Fix pkgutil.iter_modules regression #25964
  • [3.9] bpo-44061: Fix pkgutil.iter_modules regression when passed a pathlib.Path object (GH-25964) #26052
  • [3.8] bpo-44061: Fix pkgutil.iter_modules regression when passed a pathlib.Path object (GH-25964) #26056
  • 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 = 'https://github.com/zooba'
    closed_at = <Date 2021-05-11.23:34:04.647>
    created_at = <Date 2021-05-06.17:54:01.802>
    labels = ['easy', 'type-bug', '3.8', '3.9', '3.10', '3.11', 'release-blocker', 'library']
    title = 'Regression in pkgutil: iter_modules stopped taking Path argument in python 3.8.10 and 3.9.5'
    updated_at = <Date 2021-05-12.10:18:11.716>
    user = 'https://bugs.python.org/rikardnordgren'

    bugs.python.org fields:

    activity = <Date 2021-05-12.10:18:11.716>
    actor = 'lukasz.langa'
    assignee = 'steve.dower'
    closed = True
    closed_date = <Date 2021-05-11.23:34:04.647>
    closer = 'steve.dower'
    components = ['Library (Lib)']
    creation = <Date 2021-05-06.17:54:01.802>
    creator = 'rikard.nordgren'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44061
    keywords = ['patch', 'easy', '3.8regression', '3.9regression']
    message_count = 12.0
    messages = ['393120', '393128', '393130', '393132', '393133', '393135', '393147', '393154', '393168', '393478', '393494', '393498']
    nosy_count = 7.0
    nosy_names = ['gregory.p.smith', 'lukasz.langa', 'steve.dower', 'shreyanavigyan', 'miguendes', 'rikard.nordgren', 'magul']
    pr_nums = ['25964', '26052', '26056']
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue44061'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10', 'Python 3.11']

    Activity

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

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.11only security fixes3.8 (EOL)end of life3.9 (EOL)end of lifeeasyrelease-blockerstdlibStandard 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