[issue1061] ABC caches should use weak refs

2007-10-20 Thread Georg Brandl
Georg Brandl added the comment: Attaching a new patch; this one passes regrtest -R:: of test_io without apparent reference leaks. -- assignee: georg.brandl - gvanrossum Added file: http://bugs.python.org/file8577/wr.diff __ Tracker [EMAIL PROTECTED]

[issue1061] ABC caches should use weak refs

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- assignee: - georg.brandl priority: - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1061 __ ___ Python-bugs-list mailing list

[issue1061] ABC caches should use weak refs

2007-09-02 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: +patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1061 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1061] ABC caches should use weak refs

2007-08-30 Thread Guido van Rossum
New submission from Guido van Rossum: The various caches in abc.py should be turned into weak sets so that the caches don't keep the subclass objects alive forever. -- messages: 55480 nosy: gvanrossum severity: normal status: open title: ABC caches should use weak refs versions: Python

[issue1061] ABC caches should use weak refs

2007-08-30 Thread Guido van Rossum
Guido van Rossum added the comment: On 8/30/07, Thomas Wouters [EMAIL PROTECTED] wrote: Thomas Wouters added the comment: Here's a working version of that idea, with a WeakSet implementation I had lying around (but never really used.) It seems to work, and fixes the refcount issues, but

[issue1061] ABC caches should use weak refs

2007-08-30 Thread Georg Brandl
Georg Brandl added the comment: Guido van Rossum schrieb: Guido van Rossum added the comment: On 8/30/07, Thomas Wouters [EMAIL PROTECTED] wrote: Thomas Wouters added the comment: Here's a working version of that idea, with a WeakSet implementation I had lying around (but never really

[issue1061] ABC caches should use weak refs

2007-08-30 Thread Martin v. Löwis
Martin v. Löwis added the comment: The fatal error is raised if the stack overflows in the process of handling RuntimeError. In certain cases, the C algorithms won't bail out if a RuntimeError is raised, and just catch it. If that then causes another stack overflow, Python gives up. One such

[issue1061] ABC caches should use weak refs

2007-08-30 Thread Guido van Rossum
Guido van Rossum added the comment: Georg, would you have time to submit an improved patch? __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1061 __ ___ Python-bugs-list mailing