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.

classification
Title: Mutable Iterators PEP
Type: Stage:
Components: Interpreter Core Versions: Python 2.5
process
Status: closed Resolution: later
Dependencies: Superseder:
Assigned To: Nosy List: adamdeprince, sf-robot
Priority: low Keywords: patch

Created on 2006-03-27 02:08 by adamdeprince, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
mutable-iterators.diff adamdeprince, 2006-03-27 02:08 SVN generated diff again version 43333.
Messages (2)
msg49868 - (view) Author: Adam DePrince (adamdeprince) Date: 2006-03-27 02:08
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. 
msg49869 - (view) Author: SourceForge Robot (sf-robot) Date: 2006-04-10 02:22
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
History
Date User Action Args
2022-04-11 14:56:16adminsetgithub: 43093
2006-03-27 02:08:48adamdeprincecreate