On Fri, Feb 28, 2014 at 6:27 PM, Eric Jacoboni <eric.jacob...@gmail.com> wrote:
> Anyway, the TypeError should rollback, not commit the mistake.

The Python interpreter isn't a database.  It can't rollback the object
because the operation that was performed may not be reversible.
Consider for example a socket class where the += operator is
overloaded to send a message on the socket.  The message can't be
unsent.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to