Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
Closed
Description
Bug report
python3.11 -W error -X warn_default_encoding -c "import platform; print(platform.uname().processor)"Traceback (most recent call last): File"<string>", line1, in<module> File"/usr/lib/python3.11/functools.py", line1001, in__get__ val=self.func(instance)^^^^^^^^^^^^^^^^^^^ File"/usr/lib/python3.11/platform.py", line792, inprocessorreturn _unknown_as_blank(_Processor.get())^^^^^^^^^^^^^^^^ File"/usr/lib/python3.11/platform.py", line738, ingetreturn func()or''^^^^^^ File"/usr/lib/python3.11/platform.py", line761, infrom_subprocessreturn subprocess.check_output(^^^^^^^^^^^^^^^^^^^^^^^^ File"/usr/lib/python3.11/subprocess.py", line466, incheck_outputreturn run(*popenargs,stdout=PIPE,timeout=timeout,check=True,^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File"/usr/lib/python3.11/subprocess.py", line548, inrunwith Popen(*popenargs,**kwargs)as process:^^^^^^^^^^^^^^^^^^^^^^^^^^^ File"/usr/lib/python3.11/subprocess.py", line908, in__init__self.encoding= encoding= _text_encoding()^^^^^^^^^^^^^^^^ File"/usr/lib/python3.11/subprocess.py", line372, in_text_encoding warnings.warn("'encoding' argument not specified.",EncodingWarning:'encoding' argument not specified.
Your environment
- CPython versions tested on:
- Operating system and architecture: