This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients Trundle, brian.curtin, eric.araujo, giampaolo.rodola, loewis, neologix, nvetoshkin, pitrou, socketpair, terry.reedy, torsten
Date 2011-03-12.23:47:23
SpamBayes Score 2.7166025e-05
Marked as misclassified No
Message-id <1299973641.3702.122.camel@localhost.localdomain>
In-reply-to <1299973501.23.0.232711689178.issue11406@psf.upfronthosting.co.za>
Content
> I would like to have an iterator version as well, but I also dislike
> another function (especially the "x" prefix). How about adding a
> keyword argument to select iterator behaviour?

Changing the return type based on an argument is generally frown upon
so, if anything, I think it would be better to have a separate function
(whatever its name).
History
Date User Action Args
2011-03-12 23:47:24pitrousetrecipients: + pitrou, loewis, terry.reedy, giampaolo.rodola, eric.araujo, Trundle, brian.curtin, torsten, nvetoshkin, neologix, socketpair
2011-03-12 23:47:23pitroulinkissue11406 messages
2011-03-12 23:47:23pitroucreate