summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-01-05 23:01:37 +0000
committerVictor Stinner <victor.stinner@haypocalc.com>2011-01-05 23:01:37 +0000
commit33e649cf6dc9b1764f309ed0a3206b474f8d99e1 (patch)
tree1ff8d29ec8adb8f47564ca829514f4210921a820 /Python/sysmodule.c
parenta6867258593a3b939042e47da26919be20e7e7f0 (diff)
downloadcpython-git-33e649cf6dc9b1764f309ed0a3206b474f8d99e1.tar.gz
imaplib: IMAP4 constructor closes the socket on error
Fix a ResourceWarning(unclosed socket) if an exception is raised in the constructor after the creation of the socket. Patch written by Nadeem Vawda.
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions