Mercurial > cpython-lru_cache-weakref
comparison Python/sysmodule.c @ 49613:efef5fc45a9a
Issue 3723: Fixed initialization of subinterpreters
The patch fixes several issues with Py_NewInterpreter as well as the demo for multiple subinterpreters.
Most of the patch was written by MvL with help from Benjamin, Amaury and me. Graham Dumpleton has verified that this patch fixes an issue with mod_wsgi.
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Thu, 30 Oct 2008 21:48:26 +0000 |
| parents | 2c3a6c9dff62 |
| children | bd2fb1be130e e8154bd322cb |
comparison
equal
deleted
inserted
replaced
| 49611:9fc573fbaf5e | 49613:efef5fc45a9a |
|---|---|
| 1229 | 1229 |
| 1230 static struct PyModuleDef sysmodule = { | 1230 static struct PyModuleDef sysmodule = { |
| 1231 PyModuleDef_HEAD_INIT, | 1231 PyModuleDef_HEAD_INIT, |
| 1232 "sys", | 1232 "sys", |
| 1233 sys_doc, | 1233 sys_doc, |
| 1234 0, | 1234 -1, /* multiple "initialization" just copies the module dict. */ |
| 1235 sys_methods, | 1235 sys_methods, |
| 1236 NULL, | 1236 NULL, |
| 1237 NULL, | 1237 NULL, |
| 1238 NULL, | 1238 NULL, |
| 1239 NULL | 1239 NULL |
