Message347097
Personally I prefer TypeError. Use file descriptor is rare, I never used it in Python script.
I encountered this because arguments passed in wrong order in my function, then I passed the wrong argument to isfile() without checking.
Make isfile() returns False would make it harder to find bugs in user program. |
|
Date |
User |
Action |
Args |
2019-07-02 00:43:44 | zufuliu | set | recipients:
+ zufuliu, paul.moore, larry, tim.golden, zach.ware, steve.dower, aldwinaldwin |
2019-07-02 00:43:44 | zufuliu | set | messageid: <1562028224.53.0.766398717627.issue37436@roundup.psfhosted.org> |
2019-07-02 00:43:44 | zufuliu | link | issue37436 messages |
2019-07-02 00:43:44 | zufuliu | create | |
|