Message293015
To reproduce the bug, build the master branch of Python and then run:
./python -m venv venv
./venv/bin/python -m pip install -U coverage
Or just:
$ ./venv/bin/python -c 'from distutils import sysconfig; print(sysconfig.get_python_inc())'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/haypo/prog/python/master/Lib/distutils/sysconfig.py", line 100, in get_python_inc
incdir = os.path.join(_sys_home, get_config_var('AST_H_DIR'))
File "/home/haypo/prog/python/master/Lib/posixpath.py", line 92, in join
genericpath._check_arg_types('join', a, *p)
File "/home/haypo/prog/python/master/Lib/genericpath.py", line 149, in _check_arg_types
(funcname, s.__class__.__name__)) from None
TypeError: join() argument must be str or bytes, not 'NoneType' |
|
Date |
User |
Action |
Args |
2017-05-04 20:55:16 | vstinner | set | recipients:
+ vstinner, pitrou |
2017-05-04 20:55:16 | vstinner | set | messageid: <1493931316.65.0.541336730489.issue30273@psf.upfronthosting.co.za> |
2017-05-04 20:55:16 | vstinner | link | issue30273 messages |
2017-05-04 20:55:16 | vstinner | create | |
|