[issue20454] platform.linux_distribution() returns empty value on Archlinux and python 2.7

2014-01-31 Thread Francis Moreau
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 li

[issue20454] platform.linux_distribution() returns empty value on Archlinux and python 2.7

2014-01-31 Thread Francis Moreau
Changes by Francis Moreau : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue20454> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue3907] "for line in file" doesn't work for pipes

2014-01-19 Thread Francis Moreau
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 &quo

[issue20044] gettext.install() ignores previous call to locale.setlocale()

2013-12-21 Thread Francis Moreau
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'