See also: dddd1d05d3df06865f5e0b1442d7425c0955de4e
Make lint/check-doc.py Python 3.4 compatible. Also add .python-version for pyenv which will cause tests with too modern syntax to fail on developer machine rather than on Travis.