Closed as not planned
Description
Bug report
Bug description:
>>> import posixpath
>>> posixpath.realpath("s/" * 33, strict=True)
'/Users/wannes/path-picker/link-test/dirs'
Expected OSError(errno.ELOOP, "Too many symbolic links", path)
matching realpath on macOS:
wannes@Stefans-iMac dirs % realpath s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s
realpath: s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s: Too many levels of symbolic links
CPython versions tested on:
3.12
Operating systems tested on:
macOS