[issue9743] __call__.__call__ chain cause crash when long enough

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: I can no longer reproduce the crash with: >>> def func(): pass ... >>> call = func.__call__ >>> while True: ... call = call.__call__ Tested with 2.7, 3.5 and 3.6dev. -- nosy: +christian.heimes resolution: -> works for me status: open ->

[issue9743] __call__.__call__ chain cause crash when long enough

2010-09-13 Thread Alex
Alex alex.gay...@gmail.com added the comment: I doubt there is a good usecase for it, nevertheless we should attempt to fix it, as segfaults are no good. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9743

[issue9743] __call__.__call__ chain cause crash when long enough

2010-09-12 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: “Recursively getting __call__ method from existing __call__” I wonder what is the use case for this. -- nosy: +eric.araujo versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org

[issue9743] __call__.__call__ chain cause crash when long enough

2010-09-02 Thread Lily
New submission from Lily 2ch.ow...@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)

[issue9743] __call__.__call__ chain cause crash when long enough

2010-09-02 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: I can duplicate this as a segmentation fault under 2.7 on Mac OS, but not under Windows 2.6 (ActiveState). What platform are you using, and what output do you see? -- nosy: +eric.smith ___ Python

[issue9743] __call__.__call__ chain cause crash when long enough

2010-09-02 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: On Windows, a stack overflow often causes the program to silently exit. Try to add some print statement at the end and see if it executes. -- nosy: +amaury.forgeotdarc ___ Python tracker

[issue9743] __call__.__call__ chain cause crash when long enough

2010-09-02 Thread Alex
Alex alex.gay...@gmail.com added the comment: This seems to be another case of C stack depth not reflected in the stack counter. -- nosy: +alex ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9743

[issue9743] __call__.__call__ chain cause crash when long enough

2010-09-02 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: Amaury: Good point. The Windows version is failing, too. A print statement at the end doesn't get executed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9743