[Python-Dev] Re: anonymous blocks

Josiah Carlson jcarlson at uci.edu
Fri Apr 29 09:38:38 CEST 2005


Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> That actually looks pretty reasonable.
> 
> Hmmm. "Patterns of structure." Maybe we could call it a
> "struct" statement.
> 
>     struct opening(foo) as f:
>        ...
> 
> Then we could confuse both C *and* Ruby programmers at
> the same time! :-)

And Python programmers who already use the struct module!

 - Josiah



More information about the Python-Dev mailing list