Global Object specification
-
Paul J. Davis
- State changed from new to resolved
(from [4d971051b2f223e6a68154a57f61a7024dad598b]) Support for global property handlers.
If you want to be able to global properties using some sort of active logic you can now pass an object that has getitem and setitem defined to Runtime.new_context(). Something like:
>>> rt = spidermonkey.Runtime() >>> cx = rt.new_context({"foo": "bar"}) >>> cx.execute("foo;") 'bar'[#9 Global Object specification state:resolved] http://github.com/davisp/python-...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.