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>
B
Barney Gale committed
d593074494b39a3d51e67a4e57189c530867a7ff
Parent: 39f6a04
Committed by GitHub <noreply@github.com>
on 5/29/2023, 9:44:51 PM