Changes between Version 1 and Version 2 of Ticket #18802
- Timestamp:
- Jun 28, 2015, 4:29:40 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18802 – Description
v1 v2 4 4 5 5 Remark: To advance some iterator {{{it}}} in Py2 often this method is called directly {{{it.next()}}}. 6 But since Python 2.6 there is the //builtin function// {{{next()}}} which is compatible between Py2 and Py3: in Py2 it calls the iterator method {{{ {next()}}} while in Py3 it calls the special method {{{__next__()}}}.6 But since Python 2.6 there is the //builtin function// {{{next()}}} which is compatible between Py2 and Py3: in Py2 it calls the iterator method {{{next()}}} while in Py3 it calls the special method {{{__next__()}}}. 7 7 Ticket #16075 addresses the (stage 1) conversion from {{{it.next()}}} to {{{next(it)}}}. 8 8 9 his ticket is tracked as a dependency of meta-ticket #16052.9 This ticket is tracked as a dependency of meta-ticket #16052.