Marc-Andre Lemburg added the comment: On 27.11.2015 23:50, STINNER Victor wrote: > > STINNER Victor added the comment: > >> BTW: Why did you use (_str, _unicode) instead of basestring ? > > Serhiy usually insists that technically, it's possible to compile Python 2.7 > without Unicode support. I don't believe that anyone uses this crazy feature, > but well, it was easier to use _unicode (which is already defined) than > trying to run a poll on python users :-)
Hmm, but basestring is always defined, even when Python is compiled without Unicode support (which I agree is not used much these days). unicode won't exist in such a Python version, so basestring is actually safer to use than the tuple. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25742> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com