Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

importlib.readers.MultiplexedPath.name is not a property #87809

Closed
ap mannequin opened this issue Mar 27, 2021 · 4 comments
Closed

importlib.readers.MultiplexedPath.name is not a property #87809

ap mannequin opened this issue Mar 27, 2021 · 4 comments
Labels
3.10 only security fixes 3.11 bug and security fixes stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@ap
Copy link
Mannequin

ap mannequin commented Mar 27, 2021

BPO 43643
Nosy @jaraco, @miss-islington, @FFY00, @ap--
PRs
  • bpo-43643: Sync with python/importlib_resources@c17a610aad. #26284
  • [3.10] bpo-43643: Sync with python/importlib_resources@c17a610aad. (GH-26284) #26286
  • 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 2021-05-23.18:59:59.203>
    created_at = <Date 2021-03-27.21:21:46.561>
    labels = ['type-bug', 'library', '3.10', '3.11']
    title = 'importlib.readers.MultiplexedPath.name is not a property'
    updated_at = <Date 2021-05-23.18:59:59.203>
    user = 'https://github.com/ap'

    bugs.python.org fields:

    activity = <Date 2021-05-23.18:59:59.203>
    actor = 'jaraco'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-05-23.18:59:59.203>
    closer = 'jaraco'
    components = ['Library (Lib)']
    creation = <Date 2021-03-27.21:21:46.561>
    creator = 'ap--'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43643
    keywords = ['patch']
    message_count = 4.0
    messages = ['389615', '393814', '394122', '394136']
    nosy_count = 4.0
    nosy_names = ['jaraco', 'miss-islington', 'FFY00', 'ap--']
    pr_nums = ['26284', '26286']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue43643'
    versions = ['Python 3.10', 'Python 3.11']

    @ap
    Copy link
    Mannequin Author

    ap mannequin commented Mar 27, 2021

    Hello,

    I was using the importlib_resources backport and encountered this issue, which is also present in cpython:

    importlib.readers.MultiplexedPath.name is not a property as required by importlib.abc.Traversable

    I can prepare a pull request if it helps.

    Cheers,
    Andreas

    @ap ap mannequin added 3.10 only security fixes stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Mar 27, 2021
    @FFY00
    Copy link
    Member

    FFY00 commented May 17, 2021

    For references, this was fixed in python/importlib_resources@9822338#diff-811ea42dba2528e9a6cbedc91e993dc2a9d4b65626ad364c6ded7b03e0d0a1fa and should go into CPython in the next code sync.

    @jaraco
    Copy link
    Member

    jaraco commented May 21, 2021

    I'd intended for the changes in 5.1 to make it into CPython, but I've missed the deadline, so I've backported the referenced commits to importlib_resources 5.0.5 in order to sync into CPython.

    @jaraco jaraco added 3.11 bug and security fixes labels May 21, 2021
    @miss-islington
    Copy link
    Contributor

    New changeset fdb65e3 by Miss Islington (bot) in branch '3.10':
    [3.10] bpo-43643: Sync with python/importlib_resources@c17a610aad. (GH-26284) (GH-26286)
    fdb65e3

    @jaraco jaraco closed this as completed May 23, 2021
    @jaraco jaraco closed this as completed May 23, 2021
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.10 only security fixes 3.11 bug and security fixes stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants