Alex Warhawk added the comment: I encountered this problem recently and could not find a fix, so i tried fixing it myself.
Note that the patch attached is my first contribution to cpython as well as the first time I used the C extension mechanism. Therefore I do not consider the patch polished enough to be just merged upstream. Maybe it helps in solving this issue. The attached patch is based on: changeset: 79113:ec373d762213 branch: 2.7 ---------- keywords: +patch nosy: +Alex Warhawk Added file: http://bugs.python.org/file40666/reuse_session.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19500> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com