Re: [Python-Dev] Database import problems

2005-02-01 Thread Guido van Rossum
On Tue, 01 Feb 2005 10:32:43 -0500, Steve Holden [EMAIL PROTECTED] wrote: I wonder if there is a developer with MySQL or sqlite and the appropriate Python interface module who can help me to understand a problem I'm experiencing trying to use PEP 302-style import hooks. [...] I sent Steve a

Re: [Python-Dev] Python reference count question

2005-02-01 Thread Aahz
On Tue, Feb 01, 2005, cedric paille wrote: Hi all, i'm working on an app that embed python 2.3 with Gnu/Linux, and i'd like to have some precisions: python-dev is for the core developers to discuss bugs and patches. Please use comp.lang.python for questions about using Python. Thanks. --

[Python-Dev] complex I/O problem

2005-02-01 Thread Neal Becker
If I call print on a complex value, I may get this: '(2+2j)' But this is not acceptable as input: complex ('(2+2j)') Traceback (most recent call last): File stdin, line 1, in ? ValueError: complex() arg is a malformed string Whatever format is used for output should be accepted as input!

Re: [Python-Dev] complex I/O problem

2005-02-01 Thread A.M. Kuchling
On Tue, Feb 01, 2005 at 11:11:37AM -0500, Neal Becker wrote: complex ('(2+2j)') Traceback (most recent call last): File stdin, line 1, in ? ValueError: complex() arg is a malformed string Whatever format is used for output should be accepted as input! This isn't true in general; it's not

Re: [Python-Dev] complex I/O problem

2005-02-01 Thread Josiah Carlson
A.M. Kuchling [EMAIL PROTECTED] wrote: On Tue, Feb 01, 2005 at 11:11:37AM -0500, Neal Becker wrote: complex ('(2+2j)') Traceback (most recent call last): File stdin, line 1, in ? ValueError: complex() arg is a malformed string Whatever format is used for output should be

Re: Moving towards Python 3.0 (was Re: [Python-Dev] Speed up functioncalls)

2005-02-01 Thread Fred L. Drake, Jr.
On Monday 31 January 2005 14:08, Glyph Lefkowitz wrote: As it stands, this idiom works most of the time, and if an EMFILE errno triggered the GC, it would always work. That might help things on Unix, but I don't think that's meaningful. Windows is much more sensitive to files being closed,

[Python-Dev] Is msvcr71.dll re-redistributable?

2005-02-01 Thread Thomas Heller
The 2.4 python.org installer installs msvcr71.dll on the target system. If someone uses py2exe or a similar tool to create a frozen application, is he allowed to redistribute this msvcr71.dll to other users together with his application or not, even if he doesn't own MSVC? This was asked on the

Re: [Python-Dev] python-dev Summary for 2004-12-16 through 2004-12-31 [draft]

2005-02-01 Thread Brett C.
Paul Moore wrote: On Mon, 31 Jan 2005 14:02:20 -0800, Brett C. [EMAIL PROTECTED] wrote: 2.5 was released just before the time this summary covers so most stuff was on bug fixes discovered after the release. Give Guido the time machine keys back! Fine, but I was going to go back in time, win the

Re: [Python-Dev] mimetypes and _winreg

2005-02-01 Thread Mike Brown
Following up on this 12 Jun 2004 post... Garth wrote: Thomas Heller wrote: Mike Brown [EMAIL PROTECTED] writes: I thought it would be nice to try to improve the mimetypes module by having it, on Windows, query the Registry to get the mapping of filename extensions to media types, since

Re: [Python-Dev] Is msvcr71.dll re-redistributable?

2005-02-01 Thread Vincent Wehren
Thomas Heller wrote: The 2.4 python.org installer installs msvcr71.dll on the target system. If someone uses py2exe or a similar tool to create a frozen application, is he allowed to redistribute this msvcr71.dll to other users together with his application or not, even if he doesn't own MSVC?