[Patches] [ python-Patches-1459011 ] Mutable Iterators PEP

SourceForge.net noreply at sourceforge.net
Mon Apr 10 04:22:47 CEST 2006


Patches item #1459011, was opened at 03/26/06 18:08
Message generated for change (Comment added) made by sf-robot
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: Closed
Resolution: Later
Priority: 1
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. 

----------------------------------------------------------------------

>Comment By: SourceForge Robot (sf-robot)
Date: 04/09/06 19:22

Message:
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).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1459011&group_id=5470


More information about the Patches mailing list