diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-11-21 05:26:22 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-11-21 05:26:22 +0000 |
commit | 4fe442383d140dbdee28102f8854a7db14370bcb (patch) | |
tree | 89b6ae7462517d8fa35a06bd2adb7094a8f28a3e /Python/Python-ast.c | |
parent | 5dba6f74c60391d2933830f82f3fa8ee0a5d241c (diff) | |
download | cpython-git-4fe442383d140dbdee28102f8854a7db14370bcb.tar.gz |
Bug #1599782: Fix segfault on bsddb.db.DB().type().
The problem is that _DB_get_type() can't be called without the GIL
because it calls a bunch of PyErr_* APIs when an error occurs.
There were no other cases in this file that it was called without the GIL.
Removing the BEGIN/END THREAD around _DB_get_type() made everything work.
Will backport.
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions