This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients pitrou, vstinner
Date 2017-05-04.20:55:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493931316.65.0.541336730489.issue30273@psf.upfronthosting.co.za>
In-reply-to
Content
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'
History
Date User Action Args
2017-05-04 20:55:16vstinnersetrecipients: + vstinner, pitrou
2017-05-04 20:55:16vstinnersetmessageid: <1493931316.65.0.541336730489.issue30273@psf.upfronthosting.co.za>
2017-05-04 20:55:16vstinnerlinkissue30273 messages
2017-05-04 20:55:16vstinnercreate