[issue23043] doctest ignores "from __future__ import print_function"

Demian Brecht report at bugs.python.org
Tue Dec 23 19:03:08 CET 2014


Demian Brecht added the comment:

> it's been resolved in 3.5

Sorry, that statement can be a little misleading, possibly indicating that something may have changed in the doctest globals handling. It was resolved in 3.5 because print is no longer a statement so this ambiguous behaviour resolved by the print_function import no longer exists.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23043>
_______________________________________


More information about the Python-bugs-list mailing list