[Patch #1587139 by kxroberto] Protect lock acquisition/release with
commitf98b4f9b9fe3b4508108bed381ccac7ad9ca79b4
authorandrew.kuchling <andrew.kuchling@6015fed2-1504-0410-9fe1-9d1591cc4771>
Tue, 19 Dec 2006 15:43:10 +0000 (19 15:43 +0000)
committerandrew.kuchling <andrew.kuchling@6015fed2-1504-0410-9fe1-9d1591cc4771>
Tue, 19 Dec 2006 15:43:10 +0000 (19 15:43 +0000)
tree6218573c702500d462bbcf25ac79ae79975fd76d
parent57bd4fee4910785c2e6e2c77b33e098a7e6c6684
[Patch #1587139 by kxroberto] Protect lock acquisition/release with
try...finally to ensure the lock is always released.  This could use
the 'with' statement, but the patch uses 'finally'.

2.5 backport candidate.

git-svn-id: http://svn.python.org/projects/python/trunk@53073 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/cookielib.py