Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Paul J. Davis's latest activity

Thursday, July 09 2009
23 support for file I/O (JS_EvaluateScript) was updated in python-spidermonkey
  • Paul J. Davis
    Paul J. Davis commented at 11:21 AM

    AnC,

    A thought just occurred to me, you might look into something like
    copy.deepcopy to see if you can use that to convert the object
    recrusively.

Wednesday, July 08 2009
24 debug output for unknown segfault was updated in python-spidermonkey
  • Paul J. Davis
    Paul J. Davis commented at 7:38 PM

    Marc,

    Did a quick bit of reading. The first step I'm going to have to do is go through and wrap lots of code in calls to GIL protection clauses. This won't be t...

  • Paul J. Davis
    Paul J. Davis commented at 9:26 AM

    marc,

    That test case reproduces the bug here. I just ran it quickly this morning before work and its not pointing at anything blatantly in spidermonkey code whi...

Tuesday, July 07 2009
23 support for file I/O (JS_EvaluateScript) was updated in python-spidermonkey
  • Paul J. Davis
    Paul J. Davis commented at 3:20 PM

    AnC,

    Hey, these two cases do seem quite similar, but they're quite different.

    import spidermonkey
    
    rt = spidermonkey.Runtime()
    cx = rt.new_context()
    
    # myVar i...
26 Python Datetime to Javascript Datetime was updated in python-spidermonkey
  • Paul J. Davis
    • Tag set to conversion, date
    by Paul J. Davis at 2:55 PM

    jspy,

    There's no automatic conversion and I'm not certain on the best way to write one. I've heard of other people trying to do date conversions with limited su...

24 debug output for unknown segfault was updated in python-spidermonkey
  • Paul J. Davis
    • Tag set to execute, javascript, segfault, threading
    • State changed from new to open
    by Paul J. Davis at 2:37 PM

    Marc,

    The easiest way to get a traceback will be to start up your webserver, and then use gdb to attach to the process id before starting your tests. Should be ...

Monday, July 06 2009
25 Keyword arguments to Context.execute as globals was created in python-spidermonkey
  • Paul J. Davis
    Paul J. Davis created the ticket at 1:47 PM

    The current Context.execute(script) is a bit limited in terms of user friendliness of passing Python values to the JS interpreter. The current approach is to de...

23 support for file I/O (JS_EvaluateScript) was updated in python-spidermonkey
  • Paul J. Davis
    Paul J. Davis commented at 1:44 PM

    AnC,

    If you're wanting to create a variable in JS and return it to Python, the proper method is to make that variable the result of the last expression, like su...