UserLinux chooses Python as "interpretive language" of choice

Mel Wilson mwilson at
Mon Dec 22 01:37:56 CET 2003

In article <slrnbuc3no.66b.grey at>,
Steve Lamb <grey at> wrote:
>On 2003-12-21, Jarek Zgoda <jzgoda at> wrote:
>> Jp Calderone <exarkun at> 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

   Cute.  Every function returns something..  None if
nothing else.. except for functions that don't return.

        def v():
            raise ValueError

would be another variation on the theme.

        Regards.        Mel.

More information about the Python-list mailing list