[Python-Dev] Weak dict iterators are fragile
Antoine Pitrou
solipsis at pitrou.net
Sun Oct 11 18:37:38 CEST 2009
More information about the Python-Dev mailing list
Sun Oct 11 18:37:38 CEST 2009
- Previous message: [Python-Dev] Weak dict iterators are fragile
- Next message: [Python-Dev] Weak dict iterators are fragile
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [Python-Dev] Weak dict iterators are fragile
- Next message: [Python-Dev] Weak dict iterators are fragile
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list