Author vstinner
Recipients pitrou, vstinner
Date 2017-05-04.20:55:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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/", 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/", line 92, in join
    genericpath._check_arg_types('join', a, *p)
  File "/home/haypo/prog/python/master/Lib/", 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:16vstinnersetrecipients: + vstinner, pitrou
2017-05-04 20:55:16vstinnersetmessageid: <>
2017-05-04 20:55:16vstinnerlinkissue30273 messages
2017-05-04 20:55:16vstinnercreate