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 flox
Recipients flox
Date 2009-11-23.11:55:05
SpamBayes Score 0.0041078962
Marked as misclassified No
Message-id <1258977307.89.0.840946928578.issue7379@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, you can reduce the fraction 1234/5678.
Bad Luck :p

~ $  python3 -m doctest /usr/lib/python3.1/fractions.py
**********************************************************************
File "/usr/lib/python3.1/fractions.py", line 165, in
fractions.Fraction.limit_denominator
Failed example:
    Fraction(1234, 5678).limit_denominator(10000)
Expected:
    Fraction(1234, 5678)
Got:
    Fraction(617, 2839)
**********************************************************************
1 items had failures:
   1 of   3 in fractions.Fraction.limit_denominator
***Test Failed*** 1 failures.
~ $
History
Date User Action Args
2009-11-23 11:55:07floxsetrecipients: + flox
2009-11-23 11:55:07floxsetmessageid: <1258977307.89.0.840946928578.issue7379@psf.upfronthosting.co.za>
2009-11-23 11:55:06floxlinkissue7379 messages
2009-11-23 11:55:05floxcreate