In python <=3.12, the resolved path of Path was pathlib.Path, however upon conversion of pathlib into a package now pickle stores the pickled objects as pathlib._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.
Linked PRs
In python <=3.12, the resolved path of
Pathwaspathlib.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.cpython/Lib/pathlib/__init__.py
Line 12 in 57efb77
Linked PRs