Author gvanrossum
Recipients Nofar Schnider, gvanrossum, mark.dickinson, rhettinger, serhiy.storchaka, tim.peters
Date 2018-03-13.22:31:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1520980300.17.0.467229070634.issue33073@psf.upfronthosting.co.za>
In-reply-to
Content
Actually numbers.Rational is a virtual base class for int, so it won't automagically appear there.

Adding it to the math module is inferior because for non-rational types (e.g. alternative float implementations) the math module won't have the knowledge about internals to implement it -- and casting to float() would defeat the purpose.
History
Date User Action Args
2018-03-13 22:31:40gvanrossumsetrecipients: + gvanrossum, tim.peters, rhettinger, mark.dickinson, serhiy.storchaka, Nofar Schnider
2018-03-13 22:31:40gvanrossumsetmessageid: <1520980300.17.0.467229070634.issue33073@psf.upfronthosting.co.za>
2018-03-13 22:31:40gvanrossumlinkissue33073 messages
2018-03-13 22:31:40gvanrossumcreate