List Info

Thread: Py3k: 'range' fail




Py3k: 'range' fail
user name
2007-07-24 14:59:31
I did a fresh checkout as below (is p3yk the right branch?)

$ svn co h
ttp://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
>>>




-- 
Lisandro Dalcín
---------------
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
_______________________________________________
Python-Dev mailing list
Python-Devpython.org
ht
tp://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/p
ython-dev/nessto%40sharedlog.com

Re: Py3k: 'range' fail
user name
2007-07-24 15:50:46
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 <dalcinlgmail.com> wrote:
> I did a fresh checkout as below (is p3yk the right
branch?)
>
> $ svn co h
ttp://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
> >>>
_______________________________________________
Python-Dev mailing list
Python-Devpython.org
ht
tp://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/p
ython-dev/nessto%40sharedlog.com

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )