Due to https://bitbucket.org/ncoghlan/contextlib2/issue/17/ it appears the the exit stack has issues with locks on py2.6 so use a smaller implementation that does the same thing instead.
1.8 KiB
1.8 KiB