axw/pushy — Issue #35: The "interpreter" sample program does not define a persistent local variable dictionary
Author: axw
Created: 2012-02-07 15:01:23+00:00
State: open
Labels: Fix Committed, Low

>>> x = 123
>>> x
Traceback (most recent call last):
File "/home/andrew/prog/pushy/pushy/samples/../pushy/client.py", line 511, in eval
return self.remote.eval(code, globals, locals)
File "/home/andrew/prog/pushy/pushy/samples/../pushy/protocol/connection.py", line 54, in eval
return self.send_request(MessageType.evaluate, args)
File "/home/andrew/prog/pushy/pushy/samples/../pushy/protocol/baseconnection.py", line 323, in send_request
return self.__handle(m)
File "/home/andrew/prog/pushy/pushy/samples/../pushy/protocol/baseconnection.py", line 639, in __handle
raise e
ExceptionProxy: name 'x' is not defined