What steps will reproduce the problem?
import PyV8
class Global(PyV8.JSClass):
def __init__(self):
pass
with PyV8.JSContext(Global()) as ctx:
ctx.eval("""var x = z""")
with PyV8.JSContext() as ctx:
ctx.eval("""var x = z""")
What is the expected output? What do you see instead?
the global object should throw a reference error when access a nonexists field.
What version of the product are you using? On what operating system?
pyv8 v1.0 SVN trunk
Please provide any additional information below.
http://groups.google.com/group/pyv8/browse_thread/thread/41a6c18d0f9b1b1?hl=en
Original issue reported on code.google.com by flier...@gmail.com on 11 Dec 2010 at 1:55
Original issue reported on code.google.com by
flier...@gmail.com
on 11 Dec 2010 at 1:55