[pypy-issue] [issue846] TypeError: type 'basestring' is not an acceptable base class
Armin Rigo
tracker at bugs.pypy.org
Mon Oct 3 18:03:35 CEST 2011
Armin Rigo <armin.rigo at gmail.com> added the comment:
Can we also look in nltk to know why, on earth why, they are subclassing
'basestring' and adding a __new__ that returns something else? It may be the
case that there is an obscure reason to do that --- instead of, say, subclassing
'object' and adding a __new__ that returns something else. If there is then we
should make sure that we copy that obscure reason's behavior too... If there
isn't, then well, I suppose we can just add the patch anyway, just because.
----------
nosy: +arigo
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue846>
________________________________________
More information about the pypy-issue
mailing list