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 serhiy.storchaka
Recipients CuriousLearner, lisroach, lukasz.langa, mark.dickinson, rhettinger, scoder, serhiy.storchaka
Date 2019-08-11.16:41:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565541679.8.0.734638334679.issue37819@roundup.psfhosted.org>
In-reply-to
Content
This will not solve the problem completely, because other rational numbers do not have as_integer_ratio().

But all rational numbers have the numerator and denominator properties. See issue37822 for more general solution.
History
Date User Action Args
2019-08-11 16:41:19serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, mark.dickinson, scoder, lukasz.langa, lisroach, CuriousLearner
2019-08-11 16:41:19serhiy.storchakasetmessageid: <1565541679.8.0.734638334679.issue37819@roundup.psfhosted.org>
2019-08-11 16:41:19serhiy.storchakalinkissue37819 messages
2019-08-11 16:41:19serhiy.storchakacreate