A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-December/040581.html below:

[Python-Dev] save()/load()

[Python-Dev] save()/load() [Python-Dev] save()/load()Phillip J. Eby pje at telecommunity.com
Mon Dec 1 23:11:20 EST 2003
At 02:27 PM 12/2/03 +1300, Greg Ewing wrote:
>"Phillip J. Eby" <pje at telecommunity.com>
>
> > What does getframe with a negative number do?
>
>Obviously it uses the time machine to look into the
>future a little and return a frame that is *going*
>to be called from the current function...

Actually, it appears to return the same result as sys._getframe(0).  Maybe 
it should raise an exception for a negative value.  (OTOH, maybe leaving it 
so that it silently does something meaningless will help discourage people 
from using it so often... ;) )


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4