I did a fresh checkout as below (is p3yk the right branch?)
$ svn co http://svn.python.org/projects/python/branches/p3yk python-3k
after building and installing, I get
$ python3.0 Python 3.0x (p3yk:56529, Jul 24 2007, 15:58:59) [GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
range(0,10,2) Traceback (most recent call last): File "<stdin>", line 1, in <module> SystemError: NULL result without error in PyObject_Call
--
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Industria Química (INTEC) Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET) PTLC - Güemes 3450, (3000) Santa Fe, Argentina Tel/Fax: +54-(0)342-451.1594
Yes, range() on the p3yk branch seems broken. However, this bug has been fixed in the py3k-struni, the branch where most the development for Python 3000 is taking place.
-- Alexandre
On 7/24/07, Lisandro Dalcin dalcinl@gmail.com wrote:
I did a fresh checkout as below (is p3yk the right branch?)
$ svn co http://svn.python.org/projects/python/branches/p3yk python-3k
after building and installing, I get
$ python3.0 Python 3.0x (p3yk:56529, Jul 24 2007, 15:58:59) [GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
range(0,10,2) Traceback (most recent call last): File "<stdin>", line 1, in <module> SystemError: NULL result without error in PyObject_Call