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

SourceForge.net noreply at sourceforge.net
Wed Mar 7 12:27:16 CET 2007


Patches item #1675363, was opened at 2007-03-07 00:21
Message generated for change (Comment added) made by gbrandl
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: None
Priority: 5
Private: No
Submitted By: Georg Brandl (gbrandl)
Assigned to: Ka-Ping Yee (ping)
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: Georg Brandl (gbrandl)
Date: 2007-03-07 11: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