[Twisted-Python] MemoryError in twisted causes the program to exit, or not
Antoine Pitrou
solipsis at pitrou.net
Fri Sep 28 14:44:17 EDT 2012
On Fri, 28 Sep 2012 11:40:54 -0700
Glyph <glyph at twistedmatrix.com> wrote:
>
> Le Sep 28, 2012 à 1:10 AM, Antoine Pitrou <solipsis at pitrou.net> a écrit :
>
> > (whether Python itself should try to GC-collect when MemoryError is
> > raised is an open question)
>
> Shouldn't it be doing a GC collect _before_ MemoryError is raised? (Isn't this rather the whole point of having a garbage collector?)
Indeed, it also could.
Regards
Antoine.
--
Software development and contracting: http://pro.pitrou.net
More information about the Twisted-Python
mailing list