[pypy-issue] [issue1633] ints raise strange TypeErrors for incorrect types
Julian Berman
tracker at bugs.pypy.org
Wed Nov 13 21:46:10 CET 2013
New submission from Julian Berman <Julian+PyPy at GrayVines.com>:
>>>> int([123])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type for unary trunc: 'list'
compared to CPython:
>>> int([123])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: int() argument must be a string or a number, not 'list'
No idea what a unary trunc operator is :).
----------
messages: 6326
nosy: Julian, pypy-issue
priority: bug
status: unread
title: ints raise strange TypeErrors for incorrect types
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1633>
________________________________________
More information about the pypy-issue
mailing list