[Python-Dev] Patches: 1 for the price of 10.

Timothy Fitz firemoth at gmail.com
Thu Dec 23 06:36:49 CET 2004


> 1067760 -- float-->long conversion on fileobj.seek calls, rather than
>        float-->int.  Permits larger floats (2.0**62) to match large
>        int (2**62) arguments.  rhettinger marked as "won't fix" in
>        the original bug report; this seems like a clean solution,
>        tho.  Recommend apply.

Wouldn't this cause subtle errors when the float -> long conversion is
no longer precise? Or is this a non issue because it could only happen
when seeking on impossibly large files?


More information about the Python-Dev mailing list