[issue1758146] Crash in PyObject_Malloc
Adam Olsen
report at bugs.python.org
Tue Jul 8 21:56:48 CEST 2008
Adam Olsen <rhamph at gmail.com> added the comment:
Apparently modwsgi uses subinterpreters because some third-party
packages aren't sufficiently thread-safe - modwsgi can't fix those
packages, so subinterpreters are the next best thing.
http://groups.google.com/group/modwsgi/browse_frm/thread/988bf560a1ae8147/2f97271930870989
This is a weak argument for language design. Subinterpreters should be
deprecated, the problems with third-party packages found and fixed, and
ultimately subinterpreters ripped out.
If you wish to improve the situation, I suggest you help fix the
problems in the third-party packages. For example,
http://code.google.com/p/modwsgi/wiki/IntegrationWithTrac implies trac
is configured with environment variables - clearly not thread-safe.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1758146>
_______________________________________
More information about the Python-bugs-list
mailing list