Message49868
| Author |
adamdeprince |
| Recipients |
| Date |
2006年03月27日.02:08:48 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 15:47:19 | admin | link | issue1459011 messages |
| 2007年08月23日 15:47:19 | admin | create |
|