[Numpy-discussion] question about future support for python-3

David Cournapeau cournape@gmail....
Tue Sep 8 20:02:09 CDT 2009


On Wed, Sep 9, 2009 at 9:37 AM, Darren Dale<dsdale24@gmail.com> wrote:
> Hi David,

>> I already gave my own opinion on py3k, which can be summarized as:
>>  - it is a huge effort, and no core numpy/scipy developer has
>> expressed the urge to transition to py3k, since py3k does not bring
>> much for scientific computing.
>>  - very few packages with a significant portion of C have been ported
>> to my knowledge, hence very little experience on how to do it. AFAIK,
>> only small packages have been ported. Even big, pure python projects
>> have not been ported. The only big C project to have been ported is
>> python itself, and it broke compatibility and used a different source
>> tree than python 2.
>>  - it remains to be seen whether we can do the py3k support in the
>> same source tree as the one use for python >= 2.4. Having two source
>> trees would make the effort even much bigger, well over the current
>> developers capacity IMHO.
>>
>> The only area where I could see the PSF helping is the point 2: more
>> documentation, more stories about 2->3 transition.
>
> I'm surprised to hear you say that. I would think additional developer
> and/or financial resources would be useful, for all of the reasons you
> listed.

If there was enough resources to pay someone very familiar with numpy
codebase for a long time, then yes, it could be useful - but I assume
that's out of the question. This would be very expensive as it would
requires several full months IMO.

The PSF could help for the point 3, by porting other projects to py3k
and documenting it. The only example I know so far is pycog2
(http://mail.python.org/pipermail/python-porting/2008-December/000010.html).

Paying people to do documentation about porting C code seems like a
good way to spend money: it would be useful outside numpy community,
and would presumably be less costly.

David


More information about the NumPy-Discussion mailing list