[issue2912] let platform.uname try harder

Marc-Andre Lemburg report at bugs.python.org
Fri Jun 13 16:55:45 CEST 2008


Marc-Andre Lemburg <mal at egenix.com> added the comment:

On 2008-06-13 16:20, Benjamin Peterson wrote:
> Benjamin Peterson <musiccomposition at gmail.com> added the comment:
> 
> Ok. I ran it through reindent.py and removed the True and False.

Thanks, but the all() is still there :-)

You can change that to:

... or not filter(None, [system, node, release, version, machine]):

should work on all Python versions.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2912>
_______________________________________


More information about the Python-bugs-list mailing list