This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients gvanrossum, twouters
Date 2007-08-30.16:36:24
SpamBayes Score 0.16392893
Marked as misclassified No
Message-id <>
In-reply-to <>
On 8/30/07, Thomas Wouters <> 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 the WeakSet could do with some extra tests ;-)

I was torturing the WeakSet implementation, but didn't get very far:

Python 3.0x (py3k, Aug 30 2007, 09:27:35)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from weakref import WeakSet as WS
[40407 refs]
>>> a = WS([1, 2, 3])
Fatal Python error: Cannot recover from stack overflow.
Date User Action Args
2007-08-30 16:36:25gvanrossumsetspambayes_score: 0.163929 -> 0.16392893
recipients: + gvanrossum, twouters
2007-08-30 16:36:25gvanrossumlinkissue1061 messages
2007-08-30 16:36:24gvanrossumcreate