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.

    thanks,

    !!Dean
     
    dwhall, May 9, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Martin Raychev
    Replies:
    2
    Views:
    3,357
    bruce barker
    Apr 22, 2004
  2. D. Shane Fowlkes

    Help with SP - what exactly is RETURN_VALUE?

    D. Shane Fowlkes, Mar 13, 2006, in forum: ASP .Net
    Replies:
    9
    Views:
    8,397
    Prashant
    Mar 14, 2006
  3. Pavel
    Replies:
    7
    Views:
    535
    Pavel
    Sep 19, 2010
  4. Debajit Adhikary
    Replies:
    36
    Views:
    2,305
    Andre Kaufmann
    Feb 10, 2011
  5. Michael Tan
    Replies:
    32
    Views:
    993
    Ara.T.Howard
    Jul 21, 2005
Loading...

Share This Page