Changeset [e75f991342e41d62647aa5f557eaff784598ff4b] by Paul Davis
Revision e75f991342e41d62647aa5f557eaff784598ff4b,
committed by Paul Davis
· May 18th, 2009 @ 07:30 PM
Fix integer property lookups.
>>> rt = spidermonkey.Runtime()
>>> cx = rt.new_context()
>>> cx.add_global("bang", [2, "got me!"])
>>> assert cx.execute("bang[1];") == "got me!"
Thanks to spahl for the report and fix.
[#16 state:resolved] http://github.com/davisp/python-...
3 changed files
-
M
THANKS -
M
spidermonkey/pyobject.c -
M
tests/test-py-lookup.py