first round of pypy patches

This commit is contained in:
roberto@mrspurr
2012-03-26 10:46:12 +02:00
parent 282b2d5ace
commit c66957d685
4 changed files with 58 additions and 22 deletions
+4
View File
@@ -222,7 +222,11 @@ int uwsgi_response_subhandler_wsgi(struct wsgi_request *wsgi_req) {
if (!pychunk) {
if (PyErr_Occurred()) {
#ifndef UWSGI_PYPY
int do_exit = uwsgi_python_manage_exceptions();
#else
int do_exit = 0;
#endif
if (PyErr_ExceptionMatches(PyExc_MemoryError)) {
uwsgi_log("Memory Error detected !!!\n");
}