This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Alexander.Belopolsky
Recipients Alexander.Belopolsky, benjamin.peterson, doko
Date 2010-03-16.22:34:18
SpamBayes Score 4.537066e-05
Marked as misclassified No
Message-id <1268778861.0.0.595651157572.issue8154@psf.upfronthosting.co.za>
In-reply-to
Content
As far as I can tell, it does not *crash* the interpreter.  Instead, it replaces the python interpreter process with a "true" utility.

$ ./python.exe 
Python 2.7a4+ (trunk:78816M, Mar  9 2010, 18:57:13) 
[GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os; os.execlp('true')
$ echo $?
0
$ ./python.exe 
Python 2.7a4+ (trunk:78816M, Mar  9 2010, 18:57:13) 
[GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os; os.execlp('false')
air:trunk sasha$ echo $?
1
History
Date User Action Args
2010-03-16 22:34:21Alexander.Belopolskysetrecipients: + Alexander.Belopolsky, doko, benjamin.peterson
2010-03-16 22:34:21Alexander.Belopolskysetmessageid: <1268778861.0.0.595651157572.issue8154@psf.upfronthosting.co.za>
2010-03-16 22:34:19Alexander.Belopolskylinkissue8154 messages
2010-03-16 22:34:18Alexander.Belopolskycreate