STINNER Victor added the comment:

Hum, my explanation is maybe not clear.

Without the patch, the operation succeed, but a MemoryError is raised, and the 
caller is not notified. So you enter an inconsistent state because your 
function may "succeed" whereas an exception is set.

With the patch, the operation succeed, but you get a MemoryError and the caller 
is notified of the failure.

----------

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

Reply via email to