Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Makeimportlib_metadata._meta.SimplePath public #494

Closed
@matthewhughes934

Description

@matthewhughes934

I see this class is documentedhttps://importlib-metadata.readthedocs.io/en/latest/api.html#importlib_metadata._meta.SimplePath but the fact it is under the._meta package, which looks private at a glance, makes me wonder: is is supported for me to access this, is its API as stable as any other part of the package? Additionally (if the answer is yes): could this class just be re-exported byimportlib_metadata to avoid this need for access to._meta?

My use case is: I have a class that sub-classesDistribution and need to annotate the return value forlocate_file which should be one of theseSimplePaths, and asking here because this appears to be the origin of the class, with it being added upstream from here:python/cpython@667294d

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp