Message347537
Presumably this is linked to issue37515 (why not just repurpose that one?), but I'm inclined to think this is okay provided:
* if the operation succeeds, no error/message is displayed
* if the operation fails, we only update the error message if one of the special filenames is the target
So probably this ought to be a special case in PyErr_SetFromWindowsErrWithFilename(). And either we need to search the string for the special names or find an API that will clarify it (GetFileAttributes?).
I definitely do not want every error message suggesting that this edge case may be the cause, and I don't want to prevent people using these names or purpose for their actual uses. |
|
Date |
User |
Action |
Args |
2019-07-09 10:11:09 | steve.dower | set | recipients:
+ steve.dower, paul.moore, tim.golden, steven.daprano, SilentGhost, zach.ware, eryksun, CarK |
2019-07-09 10:11:08 | steve.dower | set | messageid: <1562667068.99.0.786768619633.issue37517@roundup.psfhosted.org> |
2019-07-09 10:11:08 | steve.dower | link | issue37517 messages |
2019-07-09 10:11:08 | steve.dower | create | |
|