Closed
Description
In Python 3.12, when multiple arguments are given to PurePath()
, the initialiser calls os.path.join()
to join them. This is reasonably slow. For Python 3.13 we can make it faster by:
- Deferring joining of arguments until strictly needed
- (Maybe) re-implementing
os.path.join()
, as pathlib did before gh-94909: fix joining of absolute and relative Windows paths in pathlib #95450.