[Python-3000] A new member for contextlib?

Benjamin Peterson musiccomposition at gmail.com
Sat Apr 5 00:49:36 CEST 2008


On Fri, Apr 4, 2008 at 2:28 PM, Joel Bender <jjb5 at cornell.edu> wrote:

> How about reversing the order?
>
>     class C(object):
>         with x as property:
>             ...

That is nicer but is not easy to implement.

>
>
> Joel
> _______________________________________________
> Python-3000 mailing list
> Python-3000 at python.org
> http://mail.python.org/mailman/listinfo/python-3000
> Unsubscribe:
> http://mail.python.org/mailman/options/python-3000/musiccomposition%40gmail.com
>



-- 
Cheers,
Benjamin Peterson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000/attachments/20080404/720b18df/attachment.htm 


More information about the Python-3000 mailing list