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 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 <>
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.
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: <>
2018-03-13 22:31:40gvanrossumlinkissue33073 messages
2018-03-13 22:31:40gvanrossumcreate