[issue27438] Refactor simple iterators implementation

2016-07-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your detailed explanation Raymond. In any case, the work on this patch helped to find a bug in bytearray iterator (issue27443). -- resolution: -> rejected stage: patch review -> resolved status: open -> closed

[issue27438] Refactor simple iterators implementation

2016-07-02 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue27438] Refactor simple iterators implementation

2016-07-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Though this gives us a nicely reduced line count, I'm disinclined to do this for several reasons: The benefit is too small to warrant this kind of atypical macro/include magic (with "magic" being the pattern of making a series of #defines followed by an #i

[issue27438] Refactor simple iterators implementation

2016-07-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- title: Refactot simple iterators implementation -> Refactor simple iterators implementation ___ Python tracker ___ _