[issue42896] Solaris 11.4 crle output not handled correctly
Hergen Lange
report at bugs.python.org
Sat Jan 30 06:48:30 EST 2021
Hergen Lange <hergen.lange at me.com> added the comment:
For python 3.8.7 should be:
--- util.py.broken 2021-01-30 12:15:35.047669249 +0100
+++ util.py 2021-01-30 12:28:04.425931587 +0100
@@ -251,6 +251,9 @@
line = line.strip()
if line.startswith(b'Default Library Path (ELF):'):
paths = os.fsdecode(line).split()[4]
+ elif line.startswith(b'Default Library Path:'):
+ ## allow for Solaris 11.4 output
+ paths = os.fsdecode(line).split()[3]
if not paths:
return None
----------
nosy: +hergen
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42896>
_______________________________________
More information about the Python-bugs-list
mailing list