This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients andrei.avk, danny87105, eryksun, iritkatriel
Date 2021-07-30.17:49:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1627667352.17.0.309482747448.issue41737@roundup.psfhosted.org>
In-reply-to
Content
I'd prefer a generic wording regarding the platform, and overall simpler phrasing without examples: "On some platforms, it may also be raised if an operation attempts to open or traverse a non-directory file as if it were a directory." 

The latter doesn't apply to Windows generally. Attempting to traverse a non-directory fails with ERROR_PATH_NOT_FOUND (mapped to C errno ENOENT), and attempting to open a non-directory with a path that has a trailing slash fails with ERROR_INVALID_NAME (mapped to C errno EINVAL).
History
Date User Action Args
2021-07-30 17:49:12eryksunsetrecipients: + eryksun, iritkatriel, danny87105, andrei.avk
2021-07-30 17:49:12eryksunsetmessageid: <1627667352.17.0.309482747448.issue41737@roundup.psfhosted.org>
2021-07-30 17:49:12eryksunlinkissue41737 messages
2021-07-30 17:49:12eryksuncreate