This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zufuliu
Recipients aldwinaldwin, larry, paul.moore, steve.dower, tim.golden, zach.ware, zufuliu
Date 2019-07-02.00:43:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562028224.53.0.766398717627.issue37436@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-07-02 00:43:44zufuliusetrecipients: + zufuliu, paul.moore, larry, tim.golden, zach.ware, steve.dower, aldwinaldwin
2019-07-02 00:43:44zufuliusetmessageid: <1562028224.53.0.766398717627.issue37436@roundup.psfhosted.org>
2019-07-02 00:43:44zufuliulinkissue37436 messages
2019-07-02 00:43:44zufuliucreate