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 iritkatriel
Recipients danny87105, eryksun, iritkatriel
Date 2020-10-20.14:53:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> I don't think a general developer would expect that open('/path/to/file/somename.txt') implies a directory operation, and it also doesn't on Windows.

Really? It's not obvious that finding a file would involve directory operations?

In what sense does it even matter whether you expect a directory operation to happen? The contract is that if the open() fails you get an OSError. The documentation doesn't say which OSError, and that is in fact a platform-specific implementation detail.
Date User Action Args
2020-10-20 14:53:27iritkatrielsetrecipients: + iritkatriel, eryksun, danny87105
2020-10-20 14:53:27iritkatrielsetmessageid: <>
2020-10-20 14:53:27iritkatriellinkissue41737 messages
2020-10-20 14:53:27iritkatrielcreate