homepage

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 loewis
Recipients barry, loewis, mark.dickinson, michael.foord, trent
Date 2008年03月18日.22:41:18
SpamBayes Score 0.07502655
Marked as misclassified No
Message-id <47E0450C.1070603@v.loewis.de>
In-reply-to <1205863283.23.0.195193084381.issue719888@psf.upfronthosting.co.za>
Content
> Is it worth keeping generate_tokens as an alias for tokenize, just
> to avoid gratuitous 2-to-3 breakage? Maybe not---I guess they're
> different beasts, in that one wants a string-valued iterator and the 
> other wants a bytes-valued iterator.
Exactly so - that was the primary rationale for renaming it. It
shouldn't "silently" return something else, but there should be
an explicit clue that you need to port actively.
History
Date User Action Args
2008年03月18日 22:41:18loewissetspambayes_score: 0.0750265 -> 0.07502655
recipients: + loewis, barry, mark.dickinson, trent, fuzzyman
2008年03月18日 22:41:18loewislinkissue719888 messages
2008年03月18日 22:41:18loewiscreate

AltStyle によって変換されたページ (->オリジナル) /