removed support for SLOW pypy cpyext

This commit is contained in:
Unbit
2013-05-23 07:48:19 +02:00
parent 8d06d78537
commit 2cad82d537
7 changed files with 5 additions and 64 deletions
+2 -2
View File
@@ -10,14 +10,14 @@ int manage_python_response(struct wsgi_request *wsgi_req) {
char *uwsgi_python_get_exception_type(PyObject *exc) {
char *class_name = NULL;
#if !defined(PYTHREE) && !defined(UWSGI_PYPY)
#if !defined(PYTHREE)
if (PyClass_Check(exc)) {
class_name = PyString_AsString( ((PyClassObject*)(exc))->cl_name );
}
else {
#endif
class_name = (char *) ((PyTypeObject*)exc)->tp_name;
#if !defined(PYTHREE) && !defined(UWSGI_PYPY)
#if !defined(PYTHREE)
}
#endif