Vadym Stupakov added the comment:
> Do we have any news about this?
There is IBM effort to do this in container level, so that os.cpu_count() will
return right result in container
https://www.phoronix.com/scan.php?page=news_item&px=Linux-CPU-Namespace
--
nosy: +
Vadym Stupakov added the comment:
I mean, find_library relies on gcc linker, when you pass library name to the
linker, it automatically ads "lib" prefix to the library
so, when you pass "libc", linker ads "lib" so u have an error with "liblibc"
name.
Vadym Stupakov added the comment:
> ctypes.util.find_library("libc") used to work in 3.8, not working in 3.9. As
> I said before, ctypes.util.find_library("c") works in both 3.8 and 3.9.
no, it doesn't work (and it shouldn't) neither in python 3.8 nor 3.
Vadym Stupakov added the comment:
So, can we close it?
--
___
Python tracker
<https://bugs.python.org/issue42580>
___
___
Python-bugs-list mailing list
Unsub
Vadym Stupakov added the comment:
Note, that adding "lib" prefix to any library is wrong, that's why it returns
"None" or raises the exception.
And it works fine when you call find_library("c")
I guess the issue, that was reported here, is about raising