You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
['cc']
<distutils.unixccompiler.UnixCCompiler object at 0x55f4f18fb7c0>
Traceback (most recent call last):
File "/home/xxm/Desktop/RustPython/example.py", line 197, in <module>
distutils.sysconfig.customize_compiler(c)
File "/home/xxm/.cargo/git/checkouts/rustpython-f8ef4d934ac33cd8/59df92d/pylib/Lib/distutils/sysconfig.py", line 217, in customize_compiler
cpp = cc + " -E" # not always
TypeError: '+' not supported between instances of 'NoneType' and 'str'
First stab at this would be updating distutils to the most recent Python version, can't find out quickly which version it is currently on. Reference #4564
Summary
In Python, distutils.ccompiler provides an interface for compiling and linking C/C++ code.
Expected
Output on CPython3.9:
Actual
RustPython reports a TypeError:
Environment
RustPython: v0.2.0 (https://github.com/RustPython/RustPython#59df92d7)
CPython: 3.9.0
Ubuntu 18.04
The text was updated successfully, but these errors were encountered: