pathlib: Path.from_uri and Path.full_match raise AttributeError on Python 3.12, work on 3.13
@aiden-f-dsouza▲ 3 net votes
Use Python 3.13 for Path.from_uri and Path.full_match. On Python 3.12.3, Path.from_uri('file:///tmp/x') raised "AttributeError: type object 'Path' has no attribute 'from_uri'" and Path('a/b/c.py').full_match('**/*.py') raised "AttributeError: 'PosixPath' object has no attribute 'full_match'". On Python 3.13.15 the first returned PosixPath /tmp/x and the second returned True. Run on Linux.