UserLinux chooses Python as "interpretive language" of choice

Jarek Zgoda jzgoda at gazeta.usun.pl
Mon Dec 22 15:07:27 EST 2003


Steve Lamb <grey at despair.dmiyu.org> pisze:

>>>   A function must return to have a return value.  When does sys.exit()
>>> return?
> 
>> Something, that is of type NoneType.
> 
>     He didn't say what, he said when.  Can anyone show a program that will
> evaluate the return of sys.exit() and successfully parse it?  =D

sys.exit() doesn't return to caller -- but it doesn't mean it doesn't
return a value. Does this value is discarded? Didn't have time (and
need) to check out.

-- 
Jarek Zgoda
Unregistered Linux User # -1
http://www.zgoda.biz/ JID:zgoda at chrome.pl http://zgoda.jogger.pl/




More information about the Python-list mailing list