[pypy-issue] [issue846] TypeError: type 'basestring' is not an acceptable base class

Armin Rigo tracker at bugs.pypy.org
Mon Apr 22 16:23:08 CEST 2013

Armin Rigo <armin.rigo at gmail.com> added the comment:

Reopening: nltk seems to have still remaining cases of subclassing 'basestring',
according to

Should we just patch it in PyPy?  We should make sure we have a test doing the
same, which is:

class S(basestring):
  def __new__(cls):
    return "foo"

status: wontfix -> chatting

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list