Re: [Numpy-discussion] distutils issue - python 3.1 on windows

2010-08-04 Thread Pauli Virtanen
Wed, 04 Aug 2010 23:34:15 +0800, Ralf Gommers wrote: [clip] > I haven't started using py3k yet so I'm still a bit fuzzy about bytes > vs string. But it's easy to try in the interpreter: > import re RE_VERSION = re.compile('(\d+\.\d+(\.\d+)*)') In the Python 3.1 version I have, this lin

Re: [Numpy-discussion] distutils issue - python 3.1 on windows

2010-08-04 Thread Ralf Gommers
On Wed, Aug 4, 2010 at 6:25 AM, Pauli Virtanen wrote: > Mon, 02 Aug 2010 23:48:52 +0800, Ralf Gommers wrote: > > I'm trying to get building to work with Python 3.1 under Wine on OS X. > > The first thing you run into is a python distutils problem, which is > > fixed by replacing line 379 of cygw

Re: [Numpy-discussion] distutils issue - python 3.1 on windows

2010-08-03 Thread Pauli Virtanen
Mon, 02 Aug 2010 23:48:52 +0800, Ralf Gommers wrote: > I'm trying to get building to work with Python 3.1 under Wine on OS X. > The first thing you run into is a python distutils problem, which is > fixed by replacing line 379 of cygwinccompiler.py with > result = RE_VERSION.search(str(out_str

Re: [Numpy-discussion] distutils issue - python 3.1 on windows

2010-08-02 Thread David
On 08/03/2010 02:57 AM, Pauli Virtanen wrote: > Mon, 02 Aug 2010 12:52:12 -0500, Robert Kern wrote: > [clip] >> I believe we avoided the inspect module because it is quite expensive to >> import. It may not matter inside numpy.distutils, but be wary of >> "fixing" things to use inspect elsewhere. I

Re: [Numpy-discussion] distutils issue - python 3.1 on windows

2010-08-02 Thread Pauli Virtanen
Mon, 02 Aug 2010 12:52:12 -0500, Robert Kern wrote: [clip] > I believe we avoided the inspect module because it is quite expensive to > import. It may not matter inside numpy.distutils, but be wary of > "fixing" things to use inspect elsewhere. It would be worth extracting > the commonly-used piece

Re: [Numpy-discussion] distutils issue - python 3.1 on windows

2010-08-02 Thread Robert Kern
On Mon, Aug 2, 2010 at 12:48, Pauli Virtanen wrote: > Mon, 02 Aug 2010 23:48:52 +0800, Ralf Gommers wrote: >> I'm trying to get building to work with Python 3.1 under Wine on OS X. >> The first thing you run into is a python distutils problem, which is >> fixed by replacing line 379 of  cygwinccom

Re: [Numpy-discussion] distutils issue - python 3.1 on windows

2010-08-02 Thread Pauli Virtanen
Mon, 02 Aug 2010 23:48:52 +0800, Ralf Gommers wrote: > I'm trying to get building to work with Python 3.1 under Wine on OS X. > The first thing you run into is a python distutils problem, which is > fixed by replacing line 379 of cygwinccompiler.py with > result = RE_VERSION.search(str(out_str

[Numpy-discussion] distutils issue - python 3.1 on windows

2010-08-02 Thread Ralf Gommers
Hi, I'm trying to get building to work with Python 3.1 under Wine on OS X. The first thing you run into is a python distutils problem, which is fixed by replacing line 379 of cygwinccompiler.py with result = RE_VERSION.search(str(out_string)) The next thing I run into is a numpy.distutils is