Tim Peters wrote:
If the parent has a matching parentlocal declaration for the same name then the original really refers to the grandparent - and so on.
Ah, I missed that part, sorry -- I withdraw that particular objecttion. Still, this seems like a major addition (seeing as it comes with a new keyword) whose justification is very little more than "it makes explaining comprehension scopes easier". -- Greg _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com