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/2018-March/152416.html below:

[Python-Dev] What is the purpose of NEXT_BLOCK()?

[Python-Dev] What is the purpose of NEXT_BLOCK()? [Python-Dev] What is the purpose of NEXT_BLOCK()?Serhiy Storchaka storchaka at gmail.com
Wed Mar 21 12:13:03 EDT 2018
21.03.18 17:13, Guido van Rossum пише:
> Maybe spelunking in the Python 2 branch will help? It seems it was 
> introduced in 2005 by Jeremy Hylton with this comment:
> 
> /* The distinction between NEW_BLOCK and NEXT_BLOCK is subtle.  (I'd
>     like to find better names.)  NEW_BLOCK() creates a new block and sets
>     it as the current block.  NEXT_BLOCK() also creates an implicit jump
>     from the current block to the new block.
> */
> 
> That comment (and NEW_BLOCK()) are no longer found in the Python 3 source.

It explains what NEXT_BLOCK() does, but not why it was needed to do this.

NEW_BLOCK() was never used at all.

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