[Patches] [ python-Patches-1675363 ] PEP 3114 -- next() -> __next__()

SourceForge.net noreply at sourceforge.net
Wed Apr 18 23:54:17 CEST 2007


Patches item #1675363, was opened at 2007-03-06 19:21
Message generated for change (Comment added) made by gvanrossum
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1675363&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: Open
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Georg Brandl (gbrandl)
>Assigned to: Guido van Rossum (gvanrossum)
Summary: PEP 3114 -- next() -> __next__()

Initial Comment:
This patch implements PEP 3114. It renames all next() methods to __next__, introduces the new builtin next() with one or two arguments and updates the documentation accordingly.

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

>Comment By: Guido van Rossum (gvanrossum)
Date: 2007-04-18 17:54

Message:
Logged In: YES 
user_id=6380
Originator: NO

Can you bring this up to date and commit it?

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

Comment By: Georg Brandl (gbrandl)
Date: 2007-03-07 06:27

Message:
Logged In: YES 
user_id=849994
Originator: YES

Version 2 adds tests for the new builtin next().
File Added: __next__.diff

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

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


More information about the Patches mailing list