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

2004-12-23 Thread Titus Brown
- 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.

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

2004-12-23 Thread Titus Brown
- Apparently file.seek doesn't have this DeprecationWarning though.. - Strange, that. -f.seek(3.6) -f.tell() - 3L - - That's a bug. Who'll fix it? Added: + if (PyFloat_Check(offobj)) + PyErr_Warn(PyExc_DeprecationWarning, +integer argument

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

2004-12-23 Thread Michael Hudson
Titus Brown [EMAIL PROTECTED] writes: - Apparently file.seek doesn't have this DeprecationWarning though.. - Strange, that. -f.seek(3.6) -f.tell() - 3L - - That's a bug. Who'll fix it? Added: + if (PyFloat_Check(offobj)) +

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

2004-12-23 Thread Josiah Carlson
Titus Brown [EMAIL PROTECTED] wrote: - 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

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

2004-12-22 Thread Martin v. Löwis
Jeremy Hylton wrote: I got started on these this morning, will likely finish them tomorrow. It would be perverse to apply your patch last, wouldn't it? It turns out that Titus' patch might be more involved than he thought it would be. In any case, the review itself is a highly appreciated

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

2004-12-22 Thread Brett C.
Martin v. Löwis wrote: Jeremy Hylton wrote: I got started on these this morning, will likely finish them tomorrow. It would be perverse to apply your patch last, wouldn't it? It turns out that Titus' patch might be more involved than he thought it would be. In any case, the review itself is a

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

2004-12-22 Thread Titus Brown
- Jeremy Hylton wrote: - I got started on these this morning, will likely finish them tomorrow. - It would be perverse to apply your patch last, wouldn't it? - - It turns out that Titus' patch might be more involved than he thought - it would be. *shrug* that's life ;). I stole my patch from

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

2004-12-22 Thread Timothy Fitz
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

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

2004-12-22 Thread Bob Ippolito
On Dec 23, 2004, at 12:36 AM, Timothy Fitz wrote: 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

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

2004-12-22 Thread Guido van Rossum
Apparently file.seek doesn't have this DeprecationWarning though.. Strange, that. f.seek(3.6) f.tell() 3L That's a bug. Who'll fix it? -- --Guido van Rossum (home page: http://www.python.org/~guido/) ___ Python-Dev mailing list

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

2004-12-21 Thread Titus Brown
Hello all, per previous discussion, http://mail.python.org/pipermail/python-dev/2004-October/049495.html I'd like to push a trivial little patch to sgmllib (#1087808) on you gents, in exchange for my reviews effort etc. on 10 other patches. Without further ado: No-brainers: 1055159