Author rhettinger
Recipients Nofar Schnider, gvanrossum, rhettinger
Date 2018-03-13.21:25:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1520976305.18.0.467229070634.issue33073@psf.upfronthosting.co.za>
In-reply-to
Content
Goal:  make int() more interoperable with float by making a float/Decimal method also available on ints.  This will let mypy treat ints as a subtype of floats.

See: https://mail.python.org/pipermail/python-dev/2018-March/152384.html

Open question:  Is this also desired for fractions.Fraction and numbers.Rational?
History
Date User Action Args
2018-03-13 21:25:05rhettingersetrecipients: + rhettinger, gvanrossum, Nofar Schnider
2018-03-13 21:25:05rhettingersetmessageid: <1520976305.18.0.467229070634.issue33073@psf.upfronthosting.co.za>
2018-03-13 21:25:05rhettingerlinkissue33073 messages
2018-03-13 21:25:05rhettingercreate