Message351273
> 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)) |
|
Date |
User |
Action |
Args |
2019-09-06 22:34:51 | bkline | set | recipients:
+ bkline, terry.reedy, xtreak |
2019-09-06 22:34:51 | bkline | set | messageid: <1567809291.65.0.396415489342.issue38003@roundup.psfhosted.org> |
2019-09-06 22:34:51 | bkline | link | issue38003 messages |
2019-09-06 22:34:51 | bkline | create | |
|