Lukas Lueg added the comment:

In any strategy only a heuristic could be used in order to decide wether or not 
it's safe to raise MemoryError. How exactly is memory pressure expected for 
x=[2]*200 but not for x=2*200 ?

I don't think a new function could ultimatly achieve it's goal. If MemoryError 
occurs, all bets are off. Shutting down as fast as possible is the best we 
could do, if requested.

----------

_______________________________________
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