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.

qvx 3000's latest activity

Monday, November 09 2009
31 add support for scopes was updated in python-spidermonkey
  • qvx 3000
    qvx 3000 commented at 11:14 PM

    More recent versions.

  • qvx 3000
    qvx 3000 commented at 5:17 PM

    I see! You are using custom "global class" implementation to track global objects. It is an error to create another global when entering a new scope. To fix thi...

  • qvx 3000
    qvx 3000 commented at 4:33 PM

    And this is the implementation:

    PyObject*
    Context_enter_scope(Context* self, PyObject* args, PyObject* kwargs)
    {
        PyObject* ret = NULL;
        JSObject* root =...
  • qvx 3000
    qvx 3000 commented at 4:26 PM

    I'v done as I proposed above and the simple tests are working correctly. What did you have in mind when you said that it is not 100% percent correct?

    tests:

    @t...
  • qvx 3000
    qvx 3000 commented at 10:00 AM

    I see that you are using Context->root as this scope object. How about adding enter_scope/leave_scope which manipulate the root scope object.

    Enter would create...

1 earlier change…
  • qvx 3000
    qvx 3000 created the ticket at 9:19 AM

    I need to use "scope chain" while evaluating scripts. I have to be able to make a "scope chain" and use it as it is explained in ECMAScript 10.1.4. I see that t...