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 mark.dickinson
Recipients facundobatista, gvanrossum, jyasskin, mark.dickinson, ncoghlan, rhettinger
Date 2008-06-25.12:11:08
SpamBayes Score 0.00044981868
Marked as misclassified No
Message-id <1214395869.8.0.565285745679.issue1682@psf.upfronthosting.co.za>
In-reply-to
Content
I'm reopening this to propose a last-minute minor change:

Can we remove the trailing 'L' from the numerator and denominator in
the repr of a Fraction instance?  E.g.,

>>> x = Fraction('9.876543210')
>>> x
Fraction(987654321L, 100000000L)
>>> x * (1/x)
Fraction(1L, 1L)

I'd rather see Fraction(987654321, 100000000) and Fraction(1, 1).  Does 
the 'L' serve any useful purpose?
History
Date User Action Args
2008-06-25 12:11:10mark.dickinsonsetspambayes_score: 0.000449819 -> 0.00044981868
recipients: + mark.dickinson, gvanrossum, rhettinger, facundobatista, ncoghlan, jyasskin
2008-06-25 12:11:09mark.dickinsonsetspambayes_score: 0.000449819 -> 0.000449819
messageid: <1214395869.8.0.565285745679.issue1682@psf.upfronthosting.co.za>
2008-06-25 12:11:09mark.dickinsonlinkissue1682 messages
2008-06-25 12:11:08mark.dickinsoncreate