Issue3287
Created on 2008-07-04 19:57 by rhettinger, last changed 2008-07-10 09:31 by rhettinger.
| File name |
Uploaded |
Description |
Edit |
Remove |
|
fractype.diff
|
rhettinger,
2008-07-04 20:07
|
Patch with tests |
|
|
| msg69267 (view) |
Author: Raymond Hettinger (rhettinger) |
Date: 2008-07-04 19:57 |
|
>>> 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__'
|
| msg69495 (view) |
Author: Raymond Hettinger (rhettinger) |
Date: 2008-07-10 09:31 |
|
Applied in r64835.
|
|
| Date |
User |
Action |
Args |
| 2008-07-10 09:31:28 | rhettinger | set | status: open -> closed resolution: fixed messages:
+ msg69495 |
| 2008-07-04 20:08:00 | rhettinger | set | files:
+ fractype.diff keywords:
+ patch |
| 2008-07-04 19:57:22 | rhettinger | create | |
|