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.

Add array iterator support

#10

I added the ability to iterate over Spidermonkey.Array objects (with a unit test). It's in my fork: http://github.com/malept/python-...

Reported by Mark Lee · May 7th, 2009 @ 04:39 AM

State: resolved
Milestone: none
Assigned to: Paul J. Davis Paul J. Davis

Activity

  1. Paul J. Davis
    Paul J. Davis

    Awesome! I hadn't the slightest that PySeqIter_New existed. I'll pull this in later tonight.

    May 7th, 2009 @ 06:36 PM

  2. Paul J. Davis
    Paul J. Davis
    • State changed from new to open

    May 7th, 2009 @ 06:36 PM

  3. Paul J. Davis
    Paul J. Davis
    • State changed from open to resolved

    (from [ddb81d443f4ec0fcf773ee46a6072d1321cba06f]) Iteration over JavaSript objects in Python.

    You can now do the 'for val in obj' syntax when obj is a wrapped JavaScript object.

    Thanks Mark Lee for the patch showing how to do this for arrays.

    [#10 Add array iterator support state:resolved] http://github.com/davisp/python-...

    May 9th, 2009 @ 09:49 PM

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.