Ned Batchelder <n...@nedbatchelder.com> added the comment:

Yes, I agree that the assignment statement behavior is fine.  The stacked 
decorator behavior is not.

I understand that under the hood the two cases are very similar, but the syntax 
is different.  Jumping back to the first decorator makes it look like the 
decorators are executed in order and then the first decorator runs again.  
There is nothing in the syntax that makes revisting the first decorator line 
reasonable.

----------

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

Reply via email to