Re: [Numpy-discussion] [PATCH] F2Py on Python 3

2010-09-24 Thread Lisandro Dalcin
On 23 September 2010 23:34, Charles R Harris wrote: > > > On Thu, Sep 23, 2010 at 7:22 PM, Lisandro Dalcin wrote: >> >> On 23 September 2010 01:26, Charles R Harris >> wrote: >> > >> > >> > On Wed, Sep 22, 2010 at 10:00 PM, Charles R Harris >> > wrote: >> >> >> >> >> >> On Wed, Sep 22, 2010 at

Re: [Numpy-discussion] [PATCH] F2Py on Python 3

2010-09-23 Thread Charles R Harris
On Thu, Sep 23, 2010 at 7:22 PM, Lisandro Dalcin wrote: > On 23 September 2010 01:26, Charles R Harris > wrote: > > > > > > On Wed, Sep 22, 2010 at 10:00 PM, Charles R Harris > > wrote: > >> > >> > >> On Wed, Sep 22, 2010 at 9:14 PM, Fernando Perez > >> wrote: > >>> > >>> On Wed, Sep 22, 2010

Re: [Numpy-discussion] [PATCH] F2Py on Python 3

2010-09-23 Thread Lisandro Dalcin
On 23 September 2010 01:26, Charles R Harris wrote: > > > On Wed, Sep 22, 2010 at 10:00 PM, Charles R Harris > wrote: >> >> >> On Wed, Sep 22, 2010 at 9:14 PM, Fernando Perez >> wrote: >>> >>> On Wed, Sep 22, 2010 at 7:16 PM, Charles R Harris >>> wrote: >>> > >>> > Done in  29cccb6. >>> > >>> >

Re: [Numpy-discussion] [PATCH] F2Py on Python 3

2010-09-22 Thread Charles R Harris
On Wed, Sep 22, 2010 at 10:00 PM, Charles R Harris < charlesr.har...@gmail.com> wrote: > > > On Wed, Sep 22, 2010 at 9:14 PM, Fernando Perez wrote: > >> On Wed, Sep 22, 2010 at 7:16 PM, Charles R Harris >> wrote: >> > >> > Done in 29cccb6. >> > >> >> Mmh, I think it broke something: >> >> File

Re: [Numpy-discussion] [PATCH] F2Py on Python 3

2010-09-22 Thread Charles R Harris
On Wed, Sep 22, 2010 at 9:14 PM, Fernando Perez wrote: > On Wed, Sep 22, 2010 at 7:16 PM, Charles R Harris > wrote: > > > > Done in 29cccb6. > > > > Mmh, I think it broke something: > > File "/home/fperez/tmp/src/scipy/numpy/numpy/distutils/command/build.py", > line 37, in run >old_build.ru

Re: [Numpy-discussion] [PATCH] F2Py on Python 3

2010-09-22 Thread Fernando Perez
On Wed, Sep 22, 2010 at 7:16 PM, Charles R Harris wrote: > > Done in  29cccb6. > Mmh, I think it broke something: File "/home/fperez/tmp/src/scipy/numpy/numpy/distutils/command/build.py", line 37, in run old_build.run(self) File "/usr/lib/python2.6/distutils/command/build.py", line 135,

Re: [Numpy-discussion] [PATCH] F2Py on Python 3

2010-09-22 Thread Charles R Harris
On Wed, Sep 22, 2010 at 12:08 PM, Lisandro Dalcin wrote: > On 22 September 2010 13:48, Charles R Harris > wrote: > > > > > > On Wed, Sep 22, 2010 at 8:35 AM, Lisandro Dalcin > wrote: > >> > >> It seems that lib2to3 does not process the main f2py bootstrap script > >> that gets autogenerated by

Re: [Numpy-discussion] [PATCH] F2Py on Python 3

2010-09-22 Thread Lisandro Dalcin
On 22 September 2010 13:48, Charles R Harris wrote: > > > On Wed, Sep 22, 2010 at 8:35 AM, Lisandro Dalcin wrote: >> >> It seems that lib2to3 does not process the main f2py bootstrap script >> that gets autogenerated by f2py's setup.py. The trivial patch below >> replaces the print statements wit

Re: [Numpy-discussion] [PATCH] F2Py on Python 3

2010-09-22 Thread Charles R Harris
On Wed, Sep 22, 2010 at 8:35 AM, Lisandro Dalcin wrote: > It seems that lib2to3 does not process the main f2py bootstrap script > that gets autogenerated by f2py's setup.py. The trivial patch below > replaces the print statements with sys.stderr.write() calls. After > that change, f2py works just

Re: [Numpy-discussion] [PATCH] F2Py on Python 3

2010-09-22 Thread Charles R Harris
On Wed, Sep 22, 2010 at 8:35 AM, Lisandro Dalcin wrote: > It seems that lib2to3 does not process the main f2py bootstrap script > that gets autogenerated by f2py's setup.py. The trivial patch below > replaces the print statements with sys.stderr.write() calls. After > that change, f2py works just

[Numpy-discussion] [PATCH] F2Py on Python 3

2010-09-22 Thread Lisandro Dalcin
It seems that lib2to3 does not process the main f2py bootstrap script that gets autogenerated by f2py's setup.py. The trivial patch below replaces the print statements with sys.stderr.write() calls. After that change, f2py works just fine in Python 3.2 Index: numpy/f2py/setup.py =