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 rhettinger
Recipients catlee, eric.araujo, jhylton, orsenthil, rcoyner, rhettinger, xuanji
Date 2010年11月28日.19:10:13
SpamBayes Score 0.0006871264
Marked as misclassified No
Message-id <1290971414.92.0.0620817460889.issue3243@psf.upfronthosting.co.za>
In-reply-to
Content
Instead of 
 hasattr(str,'next')
consider using
 isinstance(str, collections.Iterable)
Also consider changing the variable name from the now overly type specific, "str" to something like "source" to indicate the significance of the data, not its type.
History
Date User Action Args
2010年11月28日 19:10:14rhettingersetrecipients: + rhettinger, jhylton, orsenthil, catlee, eric.araujo, rcoyner, xuanji
2010年11月28日 19:10:14rhettingersetmessageid: <1290971414.92.0.0620817460889.issue3243@psf.upfronthosting.co.za>
2010年11月28日 19:10:13rhettingerlinkissue3243 messages
2010年11月28日 19:10:13rhettingercreate

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