[Python-Dev] Py3k: Except clause syntax

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Mar 21 02:20:53 CET 2006


Gareth McCaughan wrote:

> but wouldn't if be nice if you could say
> 
>     def f((x0,y0) as p0, (x1,y1) as p1):

I'm not sure that it would. Currently you can look at
a function header and get a picture of its calling
signature, but this would clutter it up with
implementation details of the function that aren't
relevant to the caller.

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | Carpe post meridiam!          	  |
Christchurch, New Zealand	   | (I'm not a morning person.)          |
greg.ewing at canterbury.ac.nz	   +--------------------------------------+


More information about the Python-Dev mailing list