itertools comments [Was: Re: RELEASED: Python 2.3a2]
Erik Max Francis
max at alcyone.com
Fri Feb 21 03:27:20 CET 2003
Raymond Hettinger wrote:
> The x prefixes all predate generators and iterators. They are
> with deprecated things like xreadlines. X is used to mark errors.
> X-men are mutants. Ex-girlfriends are not positive either.
Or, more concretely :-), the x prefix tends to indicate, "This has the
same functionality as the non-prefixed version, but potentially saves
memory by encapsulating the work in a proxy object."
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/ \ Success and failure are equally disastrous.
\__/ Tennessee Williams
Polly Wanna Cracka? / http://www.pollywannacracka.com/
The Internet resource for interracial relationships.
More information about the Python-list