[Python-Dev] defaultdict and on_missing() (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Wed Mar 1 00:05:43 CET 2006
- Next message: [Python-Dev] defaultdict and on_missing()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum wrote:
On 2/28/06, Nick Coghlan <ncoghlan at gmail.com> wrote:
> PEP 342 opted to extend the generator API instead (using "send") and leave the > iterator protocol alone for the time being. One of the main reasons for this was the backwards compatibility problems at the C level.
I'm really quite happy either way. Having the functionality available in some way is the important thing.
I'd still like to see next(x) / x.next() in some form in 3.0 for the sake of consistency, though.
-- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | Carpe post meridiam! | Christchurch, New Zealand | (I'm not a morning person.) | greg.ewing at canterbury.ac.nz +--------------------------------------+
- Next message: [Python-Dev] defaultdict and on_missing()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]