Message344659
Ah, right. It doesn't actually validate the mode string (it just stores it for when open is called, assuming open will validate it). So yeah, it silently accepts any string, not just valid mode strings. Not a contractual guarantee or anything, just how FileType.__init__ is implemented. |
|
Date |
User |
Action |
Args |
2019-06-05 00:37:10 | josh.r | set | recipients:
+ josh.r, paul.j3, mangrisano, zygocephalus |
2019-06-05 00:37:10 | josh.r | set | messageid: <1559695030.66.0.680752208835.issue37150@roundup.psfhosted.org> |
2019-06-05 00:37:10 | josh.r | link | issue37150 messages |
2019-06-05 00:37:10 | josh.r | create | |
|