A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/068969.html below:

Stop python

Stop python Stop pythonD-Man dsh8290 at rit.edu
Mon Apr 16 16:02:52 EDT 2001
On Mon, Apr 16, 2001 at 05:38:10PM +0000, Dave LeBlanc wrote:
| How would this terminate the parsing of a Python program (as opposed
| to execution)?

Actually, you're right.  I doesn't stop parsing.  If you want python
to stop parsing a file, you must insert a syntax error <wink>.

Python parses, then byte-compiles the whole file before it begins
execution.  The Bourne shell simply parses and executes as it reaches
statements (AFAIK).  

-D



More information about the Python-list 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