Patches item #1459011, was opened at 2006-03-26 21:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1459011&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core (C code)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Adam DePrince (adamdeprince)
Assigned to: Nobody/Anonymous (nobody)
Summary: Mutable Iterators PEP
Initial Comment:
This patch is a partial implementation of the mutable
iterators PEP currently being discussed on the
python-3000 mailing list.
It differs from the PEP in a few ways:
1. We havn't quite eliminiated the annoying iter
variants of dict.keys/values/items because parts of the
python proper expect the non iter variants to return
something indexable.
2. We currently don't support the java fast-fail
semantics for concurrent mutation. This requires some
discussion, because it might involve a small
performance burden on all structures that support
mutable iterators, evne when there are currrently
running.
While the eliminiation of iter{keys/items/values} is
hoped for 3.0, there is no reason the iters couldn't
silently become mutable for 2.5. I'll discuss this in
morn depth on the mailing list.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1459011&group_id=5470
_______________________________________________
Patches mailing list
[email protected]
http://mail.python.org/mailman/listinfo/patches