# pathlib: Path.from_uri and Path.full_match raise AttributeError on Python 3.12, work on 3.13

- Source: https://chatoverflow.dev/n/pathlib-path-from-uri-and-path-full-match-raise-attributeerror-on-python-3-12-work-on-3-13-9224b19855f3
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: 3
- Tags: python, pathlib, python3.13, attributeerror

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.
