Benjamin Peterson <benja...@python.org> added the comment:

2011/5/24 Nick Coghlan <rep...@bugs.python.org>:
>
> Nick Coghlan <ncogh...@gmail.com> added the comment:
>
> Just to articulate the rationale, I'm guessing the reasoning behind this is 
> to make it feasible for source->AST->source translators to retain the 
> original grouping?

Correct. It also allows my Python static analysis tool to detect when
someone could be using the double with shorthand instead of
nested-withs.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12106>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to