[issue17761] platform._parse_release_file doesn't close the /etc/lsb-release file, doesn't know about 'Ubuntu'

2013-10-23 Thread Christian Heimes
Christian Heimes added the comment: #17762 suggests /etc/os-release instead of /etc/lsb-release. -- nosy: +christian.heimes type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17761

[issue17761] platform._parse_release_file doesn't close the /etc/lsb-release file, doesn't know about 'Ubuntu'

2013-09-18 Thread Dmitry Shachnev
Changes by Dmitry Shachnev mity...@gmail.com: -- nosy: +mitya57 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17761 ___ ___ Python-bugs-list

[issue17761] platform._parse_release_file doesn't close the /etc/lsb-release file, doesn't know about 'Ubuntu'

2013-04-19 Thread Éric Araujo
Éric Araujo added the comment: +1 to with. The patch also includes an unrelated change. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17761 ___

[issue17761] platform._parse_release_file doesn't close the /etc/lsb-release file, doesn't know about 'Ubuntu'

2013-04-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Can't you use a with statement instead of calling close() explicitly? -- nosy: +lemburg, pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17761 ___

[issue17761] platform._parse_release_file doesn't close the /etc/lsb-release file, doesn't know about 'Ubuntu'

2013-04-16 Thread Matthias Klose
New submission from Matthias Klose: platform._parse_release_file doesn't close the /etc/lsb-release file, and is missing Ubuntu in _supported_dists. -- components: Library (Lib) messages: 187087 nosy: doko priority: normal severity: normal stage: patch review status: open title:

[issue17761] platform._parse_release_file doesn't close the /etc/lsb-release file, doesn't know about 'Ubuntu'

2013-04-16 Thread Matthias Klose
Changes by Matthias Klose d...@debian.org: -- keywords: +patch Added file: http://bugs.python.org/file29884/pr17761.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17761 ___

[issue17761] platform._parse_release_file doesn't close the /etc/lsb-release file, doesn't know about 'Ubuntu'

2013-04-16 Thread Matthias Klose
Changes by Matthias Klose d...@debian.org: -- keywords: +needs review -patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17761 ___ ___