Hi,
I can do
tuple([1,2,3])
but not:
from collections import namedtuple
namedtuple('B', 'x y z')([1,2,3])
I get a TypeError: __new__() takes exactly 4 arguments (2 given)
However I can do:
namedtuple('B', 'x y z')._make([1,2,3])
So namedtuple's _make classmethod looks a lot like tuple's __ne
Hi,
I've compiled
Python 2.7 (r27:82500, Nov 2 2010, 09:00:37)
[GCC 4.4.3] on linux2
with the following configure options
./configure --prefix=/home/john/local/python-dbg --with-pydebug
I've installed numpy and some other packages but when I try to run my
extension code under gdb I get the er