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

Pickled files with pathlib.Path cannot be loaded in py >= 3.13 #133789

Open
Labels
3.13bugs and security fixes3.14bugs and security fixes3.15new features, bugs and security fixesstdlibPython modules in the Lib dirtopic-pathlibtype-bugAn unexpected behavior, bug, or error
@kushaangupta

Description

@kushaangupta

In python <=3.12, the resolved path ofPath waspathlib.Path, however upon conversion of pathlib into a package now pickle stores the pickled objects aspathlib._local.Path. This leads to backwards incompatibility of files generated with Python >= 3.13. I suppose one can still load pickle files saved using py <= 3.12 into 3.13, but I was wondering if this is as intended.

_local.__all__)

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixes3.14bugs and security fixes3.15new features, bugs and security fixesstdlibPython modules in the Lib dirtopic-pathlibtype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp