LWN.net Logo

Proposal: Moratorium on Python language changes

Proposal: Moratorium on Python language changes

Posted Oct 22, 2009 20:46 UTC (Thu) by tan2 (subscriber, #42953)
In reply to: Proposal: Moratorium on Python language changes by nevyn
Parent article: Proposal: Moratorium on Python language changes

I agree conditional expressions are mostly opinion but for 'with' ... can you give some examples? I guess my biggest confusion is why you need it over just using __del__ and reference counting? (what I do with files).

Because it's hard to control who holds the reference. See this post on comp.lang.python for an example.


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds