A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-October/092950.html below:

[Python-Dev] Weak dict iterators are fragile

[Python-Dev] Weak dict iterators are fragile [Python-Dev] Weak dict iterators are fragileAntoine Pitrou solipsis at pitrou.net
Sun Oct 11 18:37:38 CEST 2009
Daniel Stutzbach <daniel <at> stutzbachenterprises.com> writes:
> 
> -1 on 1.+0 on 2.It'd be nice if we could postpone the resize if there are
active iterators, but I don't think there's a clean way to track the iterators.

I've started experimenting, and it seems reasonably possible using a simple
guard class and a set of weakrefs.

Regards

Antoine.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4