Martin Panter added the comment:
Thanks Ned. Do you know what version of Python Sphinx uses (which runs
patchlevel.py)?
According to Issue 28039, David set up Python 2.7 so that “make touch” would
work. But the log also uses a python2.5 command, and apparently Python 2.3 also
installed on that buildbot.
If we can rely on 2.6+, we just need to add “from __future__ import
print_function”. Otherwise, we may need something like
if sys.stderr is not None:
sys.stderr.write(...)
and also do something about that “with” statement.
----------
nosy: +db3l
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue29349>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com