homepage

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 tim.peters
Recipients mark.dickinson, rhettinger, serhiy.storchaka, tim.peters, tomerv
Date 2019年08月12日.19:03:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565636584.86.0.365373923889.issue37831@roundup.psfhosted.org>
In-reply-to
Content
Mark, isn't `int()` the obvious way "to convert an integer-like thing to an actual int"?
>>> int(True)
1
>>> int(False)
0
For the rest, I'm -True on making ~ do something magical for bools inconsistent with what it does for ints. "is-a" is a promise.
History
Date User Action Args
2019年08月12日 19:03:04tim.peterssetrecipients: + tim.peters, rhettinger, mark.dickinson, serhiy.storchaka, tomerv
2019年08月12日 19:03:04tim.peterssetmessageid: <1565636584.86.0.365373923889.issue37831@roundup.psfhosted.org>
2019年08月12日 19:03:04tim.peterslinkissue37831 messages
2019年08月12日 19:03:04tim.peterscreate

AltStyle によって変換されたページ (->オリジナル) /