No ‘from __future__ import print_function’ in latest jython

Cecil Westerhof Cecil at decebal.nl
Sun Jun 21 04:09:02 EDT 2015


On Sunday 21 Jun 2015 09:56 CEST, Cecil Westerhof wrote:

> 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. ;-)

My bad, I started the old version instead of the latest when I tested
this. Sorry for the noise.

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



More information about the Python-list mailing list