Another bug

4 views
Skip to first unread message

TL

unread,
Sep 2, 2012, 11:04:25 PM9/2/12
to pyth...@googlegroups.com
>>> haystack = "ABC" -> needle = "B" -> print needle in haystack

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 341, in __run
    __run(expression[1:], copy.copy(globals_), copy.copy(locals_), return_value_
queue, True)
  File "build\bdist.win32\egg\pythonect\internal\eval.py", line 341, in __run
    __run(expression[1:], copy.copy(globals_), copy.copy(locals_), return_value_
queue, True)
  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.Name object at 0x0189C9B0> in %haystack))
                          ^
SyntaxError: invalid syntax

Itzik Kotler

unread,
Sep 3, 2012, 3:16:28 AM9/3/12
to pyth...@googlegroups.com
Please open a bug.

--
 
 

TL

unread,
Sep 3, 2012, 8:10:28 AM9/3/12
to pyth...@googlegroups.com
Opened.
Reply all
Reply to author
Forward
0 new messages