[issue35967] Better platform.processor support
Jason R. Coombs
report at bugs.python.org
Fri Mar 8 08:58:15 EST 2019
Jason R. Coombs <jaraco at jaraco.com> added the comment:
It won't be possible in general to emit what the function returned before, as `uname` is a symbolic reference to an arbitrary executable, which can vary by platform and release and local environment.
What I might be able to do is find the implementation of "uname" and see if there's a way to get the value from the same source. I did find what I believe is the [canonical source](https://github.com/coreutils/coreutils/blob/66e2daa689fefec9ed201a04696b9f52d049d89a/src/uname.c#L301-L343).
I'll explore if those calls can be translated to Python.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35967>
_______________________________________
More information about the Python-bugs-list
mailing list