Nick Coghlan <ncogh...@gmail.com> added the comment:

Because you're breaking the semantics of the "raise X from Y" syntax.

That syntax is *just* syntactic sugar for "_exc = X; _exc.__cause__ = Y; raise 
_exc".

Under PEP 409, that remains true.

Your patch breaks it.

If you want to change the meaning for "raise X from Y", write a new PEP.

----------

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

Reply via email to