Re: [Python-Dev] A hybrid C & Python implementation for itertools

2005-02-13 Thread Raymond Hettinger
[Nick Coghlan] > If itertools was a hybrid module, the handy 3-4 liners could go in the Python > section, with the heavy lifting done by the underlying C module. The Python > equivalents to the current C code could also be placed in the hybrid module > (as > happens with some of the other hybrid m

[Python-Dev] A hybrid C & Python implementation for itertools

2005-02-13 Thread Nick Coghlan
I can't really imagine Raymond liking this idea, and I have a feeling the idea has been shot down before. However, I can't persuade Google to tell me anything about such an occasion, so here goes anyway. . . The utilities in the itertools module can easily be composed to provide additional usef