Revert "_ctypes: don't cache library, bug #448858" v2.2.0_alpha150
authorZac Medico <zmedico@gentoo.org>
Thu, 10 Jan 2013 14:41:15 +0000 (06:41 -0800)
committerZac Medico <zmedico@gentoo.org>
Thu, 10 Jan 2013 14:41:15 +0000 (06:41 -0800)
commit8451f343034831bfc8dd06dd55fbce40b320882c
treedc5f4b924af92556c10682cf3ef4741052e3b6fc
parentc811cbf837e9a81f656d7883a231e23c209c73de
Revert "_ctypes: don't cache library, bug #448858"

This reverts commit 9e37cca4f54260bd8c45a3041fcee00938c71649.
As noted in bug #448858, comment #14, dlclose is not called
automatically, so we may as well cache our library handles.
In order to protect ourselves, we use a fork since commit
7ebb2f54877edb28621c33e380f8777b1b1dc201.
pym/portage/util/_ctypes.py