-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
Description
>>> print "B" in "ABC"
Exception in thread Thread-1:
Traceback (most recent call last):
File "*snip*\Python27\lib\threading.py", line 552, in __bootstrap_inner
self.run()
File "*snip*\Python27\lib\threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "build\bdist.win32\egg\pythonect\internal\eval.py", line 106, in __run
object_or_objects = python.eval(atom, globals_, locals_)
File "<string>", line 1
__builtins__.print_( (<_ast.Str object at 0x0186C450> in %'ABC'))
^
SyntaxError: invalid syntax
The is operator produces similar results:
>>> print 2 is 2
*snip*
__builtins__.print_( (<_ast.Num object at 0x018E94B0> is %2))
^
SyntaxError: invalid syntax