Changeset [4134ea66e00b6c6b1d80266ef61073d836a81477] by Paul Davis

May 16th, 2009 @ 04:55 PM

Fix for time limit constraints.

The root bug I think has to do with conversions between integral types. I changed the Context.max_time method to be a bit less clever which will hopefully fix things. I also updated the test_exceeds_time to fail more gracefully as per suggestion.

Thanks to Mike West

[#15 state:open] http://github.com/davisp/python-...

Committed by Paul Davis

  • M THANKS
  • M spidermonkey/context.c
  • M tests/test-context.py
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Python/JavaScript bridge module, making use of Mozilla's spidermonkey JavaScript implementation. Allows implementation of JavaScript classes, objects and functions in Python, and evaluation and calling of JavaScript scripts and functions respectively. Borrows heavily from Claes Jacobssen's Javascript Perl module, in turn based on Mozilla's 'PerlConnect' Perl binding.