Does RETURN_VALUE always result in an empty stack?

Discussion in 'Python' started by dwhall, May 9, 2007.

  1. dwhall

    dwhall Guest

    I'm developing PyMite and would like to know a little detail about
    Python 2.5's design. Is it true that when the RETURN_VALUE executes
    and pops its argument, that at that point the stack should *always* be
    empty? I mean just the argument stack for that execution frame. I
    want to use this knowledge to test if PyMite is working properly.


    dwhall, May 9, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.