← 返回首页
compile_file's stripdir does not accept pathlib.Path · Issue #84627 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

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

Provide feedback

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

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

compile_file's stripdir does not accept pathlib.Path #84627

New issue
New issue

Description

BPO 40447
Nosy @tirkarthi, @FFY00, @hauntsaninja
PRs
  • bpo-40447: accept all path-like objects in compileall.compile_file #19883
  • 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 = None created_at = <Date 2020-04-30.06:18:15.892> labels = ['type-bug', 'library', '3.9'] title = "compile_file's stripdir does not accept pathlib.Path" updated_at = <Date 2020-05-03.12:55:07.004> user = 'https://github.com/hauntsaninja'

    bugs.python.org fields:

    activity = <Date 2020-05-03.12:55:07.004> actor = 'FFY00' assignee = 'none' closed = False closed_date = None closer = None components = ['Library (Lib)'] creation = <Date 2020-04-30.06:18:15.892> creator = 'hauntsaninja' dependencies = [] files = [] hgrepos = [] issue_num = 40447 keywords = ['patch'] message_count = 2.0 messages = ['367740', '367741'] nosy_count = 3.0 nosy_names = ['xtreak', 'FFY00', 'hauntsaninja'] pr_nums = ['19883'] priority = 'normal' resolution = None stage = 'patch review' status = 'open' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue40447' versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

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

      Fields

      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      • Open in GitHub Copilot app

      Footer

      © 2026 GitHub, Inc.