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 bkline
Recipients bkline, terry.reedy, xtreak
Date 2019-09-06.22:34:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1567809291.65.0.396415489342.issue38003@roundup.psfhosted.org>
In-reply-to
Content
> Unless you have a specific proposal, ...

I _do_ have a specific proposal: replace `basestring` with `(str, bytes)`, which preserves the behavior of the original code. So, 

if isinstance(value, basestring)

becomes

if isinstance(value, (str, bytes))
History
Date User Action Args
2019-09-06 22:34:51bklinesetrecipients: + bkline, terry.reedy, xtreak
2019-09-06 22:34:51bklinesetmessageid: <1567809291.65.0.396415489342.issue38003@roundup.psfhosted.org>
2019-09-06 22:34:51bklinelinkissue38003 messages
2019-09-06 22:34:51bklinecreate