[Patches] [ python-Patches-1471291 ] Forbid iteration over strings

SourceForge.net noreply at sourceforge.net
Sun Apr 30 10:31:57 CEST 2006


Patches item #1471291, was opened at 2006-04-16 13:43
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1471291&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 3000
>Status: Closed
>Resolution: Rejected
Priority: 1
Submitted By: Guido van Rossum (gvanrossum)
Assigned to: Guido van Rossum (gvanrossum)
Summary: Forbid iteration over strings

Initial Comment:
This was proposed on the list.  It turned out to be
easy to implement the basic feature (iter() only calls
__iter__ and doesn't fall back on __getitem__) but a
disaster to use -- even after extensive fixes to the
sre compiler and smaller fixes to half a dozen other
modules, 120 tests were failing.  I'm saving the diffs
here for posterity.

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

>Comment By: Georg Brandl (gbrandl)
Date: 2006-04-30 08:31

Message:
Logged In: YES 
user_id=849994

Marking as Rejected as this was included in PEP 3099.

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

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


More information about the Patches mailing list