Bob Kline <bkl...@rksystems.com> added the comment:
> 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)) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38003> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com