[New-bugs-announce] [issue9743] __call__.__call__ chain cause crash when long enough
Lily
report at bugs.python.org
Thu Sep 2 16:36:34 CEST 2010
New submission from Lily <2ch.owner at gmail.com>:
Recursively getting __call__ method from existing __call__ causes interpreter infinitely grow in memory and calling resulting __call__.__call__...__call__.__call__() chain results in crash.
Platform: Windows 7 (x64)
Version: Python 2.7 (r27:82525) win32
Suggested solution:
* let the obj.__call__.__call__ point to obj.__call__
----------
components: Interpreter Core
files: ###crasher.py
messages: 115380
nosy: modchan
priority: normal
severity: normal
status: open
title: __call__.__call__ chain cause crash when long enough
type: crash
versions: Python 2.6, Python 2.7
Added file: http://bugs.python.org/file18711/###crasher.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9743>
_______________________________________
More information about the New-bugs-announce
mailing list