[Python-Dev] Win64, 64 Bit Version and 32 Bit version parallel install not possible

2007-04-20 Thread Wolfgang Langner
Hello, I tried to install the 64 Bit python version (2.5.1) and the 32 Bit version on my computer. But it is not possible because the installer complains that this version of python is already installed. Is it in general not possible to install both versions (in separate directories) ? Or is it

Re: [Python-Dev] new metaclass error condition checks

2007-04-20 Thread Thomas Wouters
On 4/17/07, Jean-Paul Calderone [EMAIL PROTECTED] wrote: I just noticed r53997 (from some unit tests it broke), which disallowed things like this: class X(object): def __repr__(self): return blah class Y(X, type): pass class Z: __metaclass__ =

[Python-Dev] FW: static analysis of python source

2007-04-20 Thread Kristján Valur Jónsson
I just ran some static analysis of the python core 2.5 with Visual Studio team system. There was the stray error discovered. I will update the most obvious ones. Some questions, though: This code in binascii.c, line 1168 (and again 1238) is wrong: while (in datalen) { if

[Python-Dev] Deallocation of a pointer not malloced, any tips?

2007-04-20 Thread Kumar McMillan
I get this warning from my test suite when I introduced a segment of code: python(18603,0xa000d000) malloc: *** Deallocation of a pointer not malloced: 0x310caa3; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to

[Python-Dev] static analysis of python source

2007-04-20 Thread Kristján Valur Jónsson
I just ran some static analysis of the python core 2.5 with Visual Studio team system. There was the stray error discovered. I will update the most obvious ones. Some questions, though: This code in binascii.c, line 1168 (and again 1238) is wrong: while (in datalen) { if

Re: [Python-Dev] Deallocation of a pointer not malloced, any tips?

2007-04-20 Thread Josiah Carlson
Kumar McMillan [EMAIL PROTECTED] wrote: I get this warning from my test suite when I introduced a segment of code: python(18603,0xa000d000) malloc: *** Deallocation of a pointer not malloced: 0x310caa3; This could be a double free(), or free() called with the middle of an allocated block;

Re: [Python-Dev] FW: static analysis of python source

2007-04-20 Thread Josiah Carlson
Kristján Valur Jónsson [EMAIL PROTECTED] wrote: I just ran some static analysis of the python core 2.5 with Visual Studio team system. There was the stray error discovered. I will update the most obvious ones. [snip] 2) There is a lot of code that goes like this: f-buf =

[Python-Dev] Fwd: AMD64 version of Python

2007-04-20 Thread A.M. Kuchling
From Walter Beck [EMAIL PROTECTED] to webmaster: I tried to install the AMD64 version of python on my new laptop, Vista system. The installer said the processor was not correct. My processor is a Turion64x2. 32 bit Python installed and ran fine. Is there a bug in the installer or

Re: [Python-Dev] Deallocation of a pointer not malloced, any tips?

2007-04-20 Thread skip
Kumar Always the same warning; sometimes it even segfaults python, but Kumar rarely. I only see it on Mac OS X (two separate machines), python Kumar 2.4.3 both built from source via Darwin Ports. The same suite gives no Kumar such warning on a 2.4.3 production machine running

[Python-Dev] .dll import

2007-04-20 Thread Kristján Valur Jónsson
I was surprised when 2.5 stopped importing our custom modules. So, I found this in dyload_win.c: /* Temporarily disable .dll, to avoid conflicts between sqlite3.dll and the sqlite3 package. If this needs to be reverted for 2.5, some other solution for the naming conflict must be

Re: [Python-Dev] Win64, 64 Bit Version and 32 Bit version parallel install not possible

2007-04-20 Thread Martin v. Löwis
I tried to install the 64 Bit python version (2.5.1) and the 32 Bit version on my computer. But it is not possible because the installer complains that this version of python is already installed. Is it in general not possible to install both versions (in separate directories) ? Or is

Re: [Python-Dev] FW: static analysis of python source

2007-04-20 Thread Martin v. Löwis
I believe the idea is that if you run into a MemoryError, in particular on linux (whose allocator will give you a nonzero pointer well beyond what was actually available), you can't really trust the state of the interpreter, so it is expected that Python will be ending shortly. Forcing the

Re: [Python-Dev] Fwd: AMD64 version of Python

2007-04-20 Thread Martin v. Löwis
From Walter Beck [EMAIL PROTECTED] to webmaster: I tried to install the AMD64 version of python on my new laptop, Vista system. The installer said the processor was not correct. My processor is a Turion64x2. 32 bit Python installed and ran fine. Is there a bug in the installer or

Re: [Python-Dev] .dll import

2007-04-20 Thread Martin v. Löwis
/* Temporarily disable .dll, to avoid conflicts between sqlite3.dll and the sqlite3 package. If this needs to be reverted for 2.5, some other solution for the naming conflict must be found. This temporary fix seems to have been forgotten. Isn‘t it time it was

[Python-Dev] New decimal branch - news and status

2007-04-20 Thread Facundo Batista
Ok, I cut a branch in svn to work with decimal.py (decimal-branch). I commited the work I made during the last weeks. Right now, the state is: - All the operations that already existed pass ok the new tests (except ``power``). For this, I fixed some bugs, reordered some code (without changing