Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 53 by
breaker....@gmail.com: 'If' statement bug
http://code.google.com/p/tinypy/issues/detail?id=53
This code (placed in class-method) works fine on python, but generates
TypeError on TinyPy:
#=======
_list = ['test']
if _list and len(_list) != 1 or not _list[0]:
print(str(_list))
#=======
Generates exception: "Exception: (tp_get) TypeError: ?0" in 'if' line.
What version of the product are you using? On what operating system?
SVN-latest version, Windows.
Please provide any additional information below.
It looks like the problem is in python part of TinyPy. It uses wrong
internal registers.