[Python-Dev] Website documentation - link to descriptor information

2004-12-23 Thread Nick Coghlan
I just spent 10 minutes hunting through the Python website for this link: http://www.python.org/doc/newstyle.html I knew it was there somewhere, I just couldn't find the darn thing. It turns out the major mistake I made was to start from docs.python.org instead of www.python.org/doc. Would it be

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] Website documentation - link to descriptor information

2004-12-23 Thread Guido van Rossum
It turns out the major mistake I made was to start from docs.python.org instead of www.python.org/doc. If you ask me that wasn't your mistake but the mistake of whoever decided to create a subdomain for docs (or for anything else). -- --Guido van Rossum (home page:

[Python-Dev] PyCon Registration Opens Today!

2004-12-23 Thread Steve Holden
Dear Python User: Following my last message, I am pleased to be able to announce that you can register for PyCon DC 2005 on the web at http://www.python.org/pycon/2005/register.html starting at 1700 EST today (December 23). Thanks to George Belotsky of Open Light Software for assistance in

[Python-Dev] Build extensions for windows python 2.4 what are the compiler rules?

2004-12-23 Thread Barry Scott
I see that, as expected, windows python 2.4 was built with MSVC 7.1 rather then msvc 6.0. It seems that I can build extensions with msvc 6.0 that work with the python 2.4 windows binary kit. Is this safe? I recall warning a while ago about mixing msvc 6.0 and msvc 7.1 runtime DLL's. Is this

Re: [Python-Dev] Build extensions for windows python 2.4 what are the compiler rules?

2004-12-23 Thread Martin v. Löwis
Barry Scott wrote: It seems that I can build extensions with msvc 6.0 that work with the python 2.4 windows binary kit. Is this safe? No, it isn't. This emerges as a Python 2.4 FAQ. I recall warning a while ago about mixing msvc 6.0 and msvc 7.1 runtime DLL's. Is this an issue with python 2.4?

Re: [Python-Dev] Build extensions for windows python 2.4 what are the compiler rules?

2004-12-23 Thread Barry Scott
On Dec 23, 2004, at 23:12, Martin v. Löwis wrote: Barry Scott wrote: It seems that I can build extensions with msvc 6.0 that work with the python 2.4 windows binary kit. Is this safe? No, it isn't. This emerges as a Python 2.4 FAQ. I recall warning a while ago about mixing msvc 6.0 and msvc 7.1