converting from perl: variable sized unpack

Erik Max Francis max at alcyone.com
Wed Jul 18 19:51:11 EDT 2001


phil hunt wrote:

> Python would still be deterministic if:
> 
> (a,b,c,d) = (1,2,3)
> 
> resulted in d being None

Raising an exception is just as "deterministic."

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Substance is one of the greatest of our illusions.
\__/ Sir Arthur Eddington
    Computer science / http://www.alcyone.com/max/reference/compsci/
 A computer science reference.



More information about the Python-list mailing list