[pypy-issue] [issue846] TypeError: type 'basestring' is not an acceptable base class
Janno
tracker at bugs.pypy.org
Thu Aug 25 20:56:37 CEST 2011
New submission from Janno <mail at janno-kaiser.de>:
I just noticed this while trying to install nltk with pypy1.6:
# pypy --version
Python 2.7.1 (d8ac7d23d3ec, Aug 17 2011, 11:51:18)
[PyPy 1.6.0 with GCC 4.4.3]
# pypy -c 'class A(basestring): pass'
Traceback (most recent call last):
File "app_main.py", line 53, in run_toplevel
File "app_main.py", line 533, in run_it
File "<string>", line 1, in <module>
TypeError: type 'basestring' is not an acceptable base class
# python2.7 --version
Python 2.7.1
# python2.7 -c 'class A(basestring): pass'
(no output, as expected)
----------
messages: 3015
nosy: Janno, pypy-issue
priority: bug
status: unread
title: TypeError: type 'basestring' is not an acceptable base class
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue846>
________________________________________
More information about the pypy-issue
mailing list