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.02:49:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562035741.42.0.415510847382.issue37436@roundup.psfhosted.org>
In-reply-to
Content
Please also consider following pieces of code.
They (value of int sub classes) can't be returned by fileno().

Python 3.8.0b1 (tags/v3.8.0b1:3b5deb0116, Jun  4 2019, 19:52:55) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> class MyInt(int):pass
...
>>> a=MyInt(6)
>>> a
6
>>> import os.path
>>> os.path.isfile(a)
False
>>> os.path.isfile(True)
False
>>> os.path.isfile(False)
False
>>>
History
Date User Action Args
2019-07-02 02:49:01zufuliusetrecipients: + zufuliu, paul.moore, larry, tim.golden, zach.ware, steve.dower, aldwinaldwin
2019-07-02 02:49:01zufuliusetmessageid: <1562035741.42.0.415510847382.issue37436@roundup.psfhosted.org>
2019-07-02 02:49:01zufuliulinkissue37436 messages
2019-07-02 02:49:01zufuliucreate