Movatterモバイル変換


[0]ホーム

URL:


Stop python

D-Mandsh8290 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 pythonto stop parsing a file, you must insert a syntax error <wink>.Python parses, then byte-compiles the whole file before it beginsexecution.  The Bourne shell simply parses and executes as it reachesstatements (AFAIK).  -D


More information about the Python-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp