-
-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unexisting con.json
file: misreport the exists, and fail writing
#109458
Comments
con.json
filecon.json
file: misreport the exists, and fail writing
hello @yantaozhao con.json I tried to run it on my device it says it doesn't exist |
Hi @SouSingh , thanks for your work. From the snapshot, it looks like your python release is from python.org, is it? And what's the system, Windown10 or 11? |
Hi @yantaozhao I using Python 3.10.2 and the Device is Windows 11 |
it seems that the bug exists on Windows10 |
I can't reproduce the issue on Windows 11 with
I doubt this is not a Python related issue but a Windows issue, and in any case, I think you should not use the reserved file name on Windows. |
correct answer. |
Bug report
Bug description:
For name
'con.json'
, (indeed the suffix doesn't matter. for all matching pattern ofcon.*
likecon.txt
,con.qwert
, etc):True
when runexists()
check on name'con.json'
, even though file not exists actually!'con.json'
file will fail, and content is redirected to console.CPython versions tested on:
3.9, 3.10, 3.11 ,release by conda
Operating systems tested on:
Windows 10
The text was updated successfully, but these errors were encountered: