[issue20454] platform.linux_distribution() returns empty value on Archlinux and python 2.7
Changes by Francis Moreau francis.m...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20454 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20454] platform.linux_distribution() returns empty value on Archlinux and python 2.7
New submission from Francis Moreau: On Archlinux: $ python2.7 -c 'import platform; print(platform.linux_distribution())' ('', '', '') This is because Archlinux is not part of the '_supported_dists' list. Could Archlinux be added to this list ? Thanks. -- components: Library (Lib) messages: 209764 nosy: fmoreau, lemburg priority: normal severity: normal status: open title: platform.linux_distribution() returns empty value on Archlinux and python 2.7 versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20454 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3907] for line in file doesn't work for pipes
Francis Moreau added the comment: Sorry for reopening this bug, but I agree with the OP, and I can still see the exact same behaviour on python 2.7.6 (archlinux). At least, the documentation should clarify that doing for line in file is not strictly equivalent to the readline way regarding to the buffering policy used with pipes. I'm also dubious about the buffering optimisation for the pipe case but readline() documentation should state that it will never use such buffering mechanism so we can safely use it when dealing with pipe. Thanks -- nosy: +fmoreau ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3907 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20044] gettext.install() ignores previous call to locale.setlocale()
New submission from Francis Moreau: It seems that gettext.install() uses environment variables such as LANGUAGE, to find out which language it should use to find the translation file. This means that any local settings done by setlocale() previoulsy are ignored. I don't think it's the case with the C implementation. -- components: Library (Lib) messages: 206762 nosy: fmoreau priority: normal severity: normal status: open title: gettext.install() ignores previous call to locale.setlocale() versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20044 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com