I am attaching my stacktrace from using Python 2.6, but I get identical behaviour in 2.7. I suspect that at least one of the underlying modules I'm using is broken, but the interpreter shouldn't crash just because an external module is broken, so I'm reporting the issue. That's what's happening - I'm crashing the python interpreter. Here's what I type to cause the issue; I'm not sure what more information is needed. from django.test.client import Client c = Client() response = c.post(logindir, loginvars) response = c.get(getdir)
This seems to be a pyodbc problem, you should post the issue to them. When an extension module written in C (pyodbc.so) has an issue, there's nothing Python can do to prevent it from crashing the whole process, since C is an insecure language.
I thought as much, so I've already posted on the pyodbc bug tracker, but thanks for the second opinion; I wasn't sure. I realise modules written in C can't be prevented from crashing, but is it really impossible to keep the interpreter from going down with the module? Surely some sort of sandbox could be put up.