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 rhettinger
Recipients jyasskin, rhettinger
Date 2008-07-04.19:57:22
SpamBayes Score 0.00023042956
Marked as misclassified No
Message-id <1215201443.11.0.460100125282.issue3287@psf.upfronthosting.co.za>
In-reply-to
Content
>>> from fractions import *
>>> Fraction(3.1)

Traceback (most recent call last):
  File "<pyshell#14>", line 1, in <module>
    Fraction(3.1)
  File "C:\Python26\lib\fractions.py", line 100, in __new__
    numerator = numerator.__index__()
AttributeError: 'float' object has no attribute '__index__'
History
Date User Action Args
2008-07-04 19:57:23rhettingersetspambayes_score: 0.00023043 -> 0.00023042956
recipients: + rhettinger, jyasskin
2008-07-04 19:57:23rhettingersetspambayes_score: 0.00023043 -> 0.00023043
messageid: <1215201443.11.0.460100125282.issue3287@psf.upfronthosting.co.za>
2008-07-04 19:57:22rhettingerlinkissue3287 messages
2008-07-04 19:57:22rhettingercreate