[issue13545] Pydoc3.2: TypeError: unorderable types
STINNER Victor
report at bugs.python.org
Wed Dec 7 15:16:30 CET 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
Can you try to patch platform.py with the following patch?
diff --git a/Lib/platform.py b/Lib/platform.py
--- a/Lib/platform.py
+++ b/Lib/platform.py
@@ -186,7 +186,7 @@ def libc_ver(executable=sys.executable,l
elif so:
if lib != 'glibc':
lib = 'libc'
- if soversion > version:
+ if soversion and soversion > version:
version = soversion
if threads and version[-len(threads):] != threads:
version = version + threads
----------
nosy: +haypo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13545>
_______________________________________
More information about the Python-bugs-list
mailing list