Pythoncal, anyone? (My (late) beef with Simple Generator syntax (PEP 255))

Greg Ewing see_reply_address at something.invalid
Thu Nov 21 00:41:34 EST 2002


Jeremy Bowers wrote:

> Still, don't might be worth adding none the less... 
> 
> don't try:
>     f = file("something", "w")
> except exceptions.DidntTryNonError:
>     pass


And of course it will be interesting deciding on
the semantics of

   def f():
     don't pass

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg




More information about the Python-list mailing list