[issue25819] print "Hi" in python 3 exception handling doesn't work

Zachary Ware report at bugs.python.org
Mon Dec 7 21:46:51 EST 2015


Zachary Ware added the comment:

Also, if you only need to support Python 2.6+, you can use 'from __future__ import print_function' and get all the benefits of 'print' as a function in Python 2 (except the 'flush' argument, which was added in Python 3.3).

----------
nosy: +zach.ware

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


More information about the Python-bugs-list mailing list