diff options
author | Barney Gale <barney.gale@gmail.com> | 2023-05-29 21:44:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-29 21:44:51 (GMT) |
commit | d593074494b39a3d51e67a4e57189c530867a7ff (patch) | |
tree | c0eb0b5053fe6d9cd630029f6287853eeb152ecf /Python/pyfpe.c | |
parent | 39f6a0489fcc815a578d27dfee2feea003c896f8 (diff) | |
download | cpython-d593074494b39a3d51e67a4e57189c530867a7ff.zip cpython-d593074494b39a3d51e67a4e57189c530867a7ff.tar.gz cpython-d593074494b39a3d51e67a4e57189c530867a7ff.tar.bz2 |
GH-104898: Revert pathlib os.PathLike registration change. (GH-105073)
Subclassing `os.PathLike` rather than using `register()` makes
initialisation slower, due to the additional `__isinstance__` work.
This partially reverts commit bd1b6228d132b8e9836fe352cd8dca2b6c1bd98c.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Python/pyfpe.c')
0 files changed, 0 insertions, 0 deletions