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 CarK
Recipients CarK
Date 2019-07-06.17:04:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562432693.47.0.818477599166.issue37515@roundup.psfhosted.org>
In-reply-to
Content
I maintain a package which includes a package named "aux.py".
I could not install it on my windows machine via pip and others had the same problem also with windows.

I tracked down the problem to `io.open`. On my Windows 7 System with Python 3.7.1 from Anaconda, the following statements all result in a FileNotFoundError:

open("aux", "w")
open("Aux", "w")
open("AUX", "w")
open("aux.py", "w")
open("aux.py", "wb")
open("aux.txt", "w")


On the other hand the following commands work as expected:

open("aaux", "w")
open("AUX1.txt", "w")
open("aux2.py", "w")

etc.


Can anybody confirm this?


On Linux (I could not reproduce the problem.)
History
Date User Action Args
2019-07-06 17:04:53CarKsetrecipients: + CarK
2019-07-06 17:04:53CarKsetmessageid: <1562432693.47.0.818477599166.issue37515@roundup.psfhosted.org>
2019-07-06 17:04:53CarKlinkissue37515 messages
2019-07-06 17:04:53CarKcreate