diff --git a/core/uwsgi.c b/core/uwsgi.c index ffbaaf5c..1d11413a 100644 --- a/core/uwsgi.c +++ b/core/uwsgi.c @@ -2549,11 +2549,9 @@ next: exit(0); } -#ifdef UWSGI_MINTERPRETERS if (!uwsgi.single_interpreter && uwsgi.numproc > 0) { uwsgi_log("*** uWSGI is running in multiple interpreter mode ***\n"); } -#endif // check for request plugins, and eventually print a warning int rp_available = 0; diff --git a/plugins/python/pyloader.c b/plugins/python/pyloader.c index 616d4c55..5ccdb9e4 100644 --- a/plugins/python/pyloader.c +++ b/plugins/python/pyloader.c @@ -196,8 +196,6 @@ int init_uwsgi_app(int loader, void *arg1, struct wsgi_request *wsgi_req, PyThre goto doh; } - - // the module contains multiple apps if (PyDict_Check((PyObject *)wi->callable)) { applications = wi->callable; diff --git a/plugins/python/python_plugin.c b/plugins/python/python_plugin.c index 761a7b8e..1de43f30 100644 --- a/plugins/python/python_plugin.c +++ b/plugins/python/python_plugin.c @@ -1063,9 +1063,7 @@ void uwsgi_python_init_apps() { #endif // setup app loaders -#ifdef UWSGI_MINTERPRETERS up.loaders[LOADER_DYN] = uwsgi_dyn_loader; -#endif up.loaders[LOADER_UWSGI] = uwsgi_uwsgi_loader; up.loaders[LOADER_FILE] = uwsgi_file_loader; up.loaders[LOADER_PASTE] = uwsgi_paste_loader; diff --git a/plugins/python/uwsgi_python.h b/plugins/python/uwsgi_python.h index 0fe8e1b6..30901c33 100644 --- a/plugins/python/uwsgi_python.h +++ b/plugins/python/uwsgi_python.h @@ -268,10 +268,6 @@ struct uwsgi_buffer *uwsgi_python_exception_repr(struct wsgi_request *); struct uwsgi_buffer *uwsgi_python_backtrace(struct wsgi_request *); void uwsgi_python_exception_log(struct wsgi_request *); -#ifdef UWSGI_PYPY -#undef UWSGI_MINTERPRETERS -#endif - #define py_current_wsgi_req() current_wsgi_req();\ if (!wsgi_req) {\ return PyErr_Format(PyExc_SystemError, "you can call uwsgi api function only from the main callable");\