No ‘from __future__ import print_function’ in latest jython

Cecil Westerhof Cecil at decebal.nl
Sun Jun 21 03:56:37 EDT 2015


When I execute in the latest Jython:
    from __future__ import print_function
I get:
    Traceback (innermost last):
      (no code object) at line 0
      File "<console>", line 1
    SyntaxError: future feature print_function is not defined

This is not implemented in the latest jython? I prefer to keep all my
code as far as possible the same. The closer I get to DRY, the happier
I am. ;-)

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof



More information about the Python-list mailing list