[issue42543] case sensitivity in open() arguments

2022-01-23 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42543] case sensitivity in open() arguments

2022-01-16 Thread Irit Katriel
Irit Katriel added the comment: I also think the current error message and docs are clear enough. Things are usually case sensitive, and we don't state that in docs. Specifying the list of modes in the error message is possible, but I expect that we will get complaints about variations we

[issue42543] case sensitivity in open() arguments

2020-12-03 Thread Eric V. Smith
Eric V. Smith added the comment: Although I'm not sure the existing message needs changing, if a change is going to be made I think listing the valid option characters might be more useful. -- nosy: +eric.smith ___ Python tracker

[issue42543] case sensitivity in open() arguments

2020-12-02 Thread Sean Grogan
New submission from Sean Grogan : I was stuck on a problem today using an open statement where I was trying to open a file for writing e.g. with open("RESULTS.CSV", "W") as csvfile: csvwriter = csv.writer(csvfile) csvwriter.writerow(["X", "Y"])