[New-bugs-announce] [issue15277] Fix resource leak in support.py:_is_ipv6_enabled

Brian Brazil report at bugs.python.org
Sat Jul 7 16:16:02 CEST 2012

New submission from Brian Brazil <brian.brazil at gmail.com>:

I'm running Ubuntu Precise and have net.ipv6.conf.all.disable_ipv6 = 1 in my sysctl.conf. With this configuration at head there's a fd leak in 
_is_ipv6_enabled in support.py when the bind fails, which the attached patch should fix.

components: Tests
files: ipv6-enabled-fd-leak-fix.patch
keywords: patch
messages: 164855
nosy: bbrazil
priority: normal
severity: normal
status: open
title: Fix resource leak in support.py:_is_ipv6_enabled
type: resource usage
versions: Python 3.4
Added file: http://bugs.python.org/file26299/ipv6-enabled-fd-leak-fix.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list