Christian Theune added the comment:

I pondered PyErr_NoMemory as well. However, I noticed not all locations in 
Python use PyErr_NoMemory to raise a MemoryError, and I'm also afraid that 
external libraries will have the same problem.

Can you explain why you consider PyErr_NoMemory to be the better option? (I can 
think of performance but I wouldn't want to trade it in against reliability.)

----------

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

Reply via email to