[Numpy-discussion] numscons and Python 2.7 problems

Christoph Gohlke cgohlke at uci.edu
Fri Jun 25 14:05:59 EDT 2010



On 6/7/2010 1:58 PM, Charles R Harris wrote:
>
>
> On Mon, Jun 7, 2010 at 2:07 PM, Christoph Gohlke <cgohlke at uci.edu
> <mailto:cgohlke at uci.edu>> wrote:
>
>     Dear NumPy developers,
>
>     I was trying to build numpy 2.0.dev and scipy 0.9.dev using numscons
>     0.12.dev and Python 2.7b2 (32 bit) on Windows 7 64 bit and ran into two
>     problems.
>
>
>     First, Python 2.7's UserDict is now a new-style class
>     (http://docs.python.org/dev/whatsnew/2.7.html). Apparently scons 1.2,
>     which is part of numscons, is not compatible with this change and an
>     AttributeError is thrown:
>
>
> I wonder sometimes if it is worth supporting python versions 2.x > 2.6.
> The developers seem intent on breaking the API as much as possible and
> support could become a burden. At least 3.x has a policy of keeping the
> API intact.  I'm only half joking here,.
>

Good news: Python's 2.7 UserDict has been reverted to an old-style class 
after release candidate 2. See discussion at 
<http://mail.python.org/pipermail/python-dev/2010-June/thread.html#100885>

Christoph



More information about the NumPy-Discussion mailing list