[Python-ideas] 'where' statement in Python? (original) (raw)

George Sakkis george.sakkis at gmail.com
Wed Jul 21 17:06:53 CEST 2010


On Wed, Jul 21, 2010 at 1:07 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:

However, it's class scopes that really make this complicated, and making it "just work" is probably easier than trying to explain which kinds of assignment will and won't work.

Is support for class scopes an absolute must-have ? While it might be nice to have for consistency's sake, practically speaking module and function scopes should cover all but the most obscure and perverse use cases. I'm on -0.1 at the moment because of the "Two Ways To Do It" objection but I don't think the complication of making it work for class scopes should be grounds for rejection.

George



More information about the Python-ideas mailing list