os.path.realpath() RecursionError #128098
Labels
3.12
only security fixes
3.13
bugs and security fixes
3.14
bugs and security fixes
extension-modules
C modules in the Modules dir
type-bug
An unexpected behavior, bug, or error
os.path.realpath()
attempts to detect symlink loops, but this is not bulletproof;it's possible to make it fall into infinite recursion.
Reproducer:
Traceback:
Tested with Python 3.12.8.
The text was updated successfully, but these errors were encountered: