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 ods
Recipients eric.araujo, ods, pje, r.david.murray, riffm
Date 2011-01-19.11:00:20
SpamBayes Score 4.027939e-06
Marked as misclassified No
Message-id <1295434831.18.0.43142599722.issue10935@psf.upfronthosting.co.za>
In-reply-to
Content
Current behavior is unpythonic: documentation explicitly mentions isinstance as preferred way to check type (see http://docs.python.org/library/types.html ).

Also 2.7 is the last minor version with str as "main" string type. So I believe it should use isinstance(val, basestring) to help transition to Python 3.
History
Date User Action Args
2011-01-19 11:00:31odssetrecipients: + ods, pje, eric.araujo, r.david.murray, riffm
2011-01-19 11:00:31odssetmessageid: <1295434831.18.0.43142599722.issue10935@psf.upfronthosting.co.za>
2011-01-19 11:00:20odslinkissue10935 messages
2011-01-19 11:00:20odscreate