Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #92934
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Cecil Westerhof <Cecil@decebal.nl> |
| Newsgroups | comp.lang.python |
| Subject | No ‘from __future__ import print_function’ in latest jython |
| Date | Sun, 21 Jun 2015 09:56:37 +0200 |
| Organization | Decebal Computing |
| Lines | 16 |
| Message-ID | <87zj3tpk96.fsf@Equus.decebal.nl> (permalink) |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | mx02.eternal-september.org; posting-host="528adfd6ad074c92fdc6a7f8fb9e23d8"; logging-data="12510"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+L0+RBwthWV4VVv7La5Y9DEnhup3fx+KE=" |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
| X-Homepage | http://www.decebal.nl/ |
| Cancel-Lock | sha1:b6ZtaJg4BGusyjJFoqs/eNlfyb0= sha1:M3TuW3m8u4Q/tahRuiPTEoAEVJA= |
| Xref | csiph.com comp.lang.python:92934 |
Show key headers only | View raw
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
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
No ‘from __future__ import print_function’ in latest jython Cecil Westerhof <Cecil@decebal.nl> - 2015-06-21 09:56 +0200
Re: No ‘from __future__ import print_function’ in latest jython Cecil Westerhof <Cecil@decebal.nl> - 2015-06-21 10:09 +0200
Re: No ‘from __future__ import print_function’ in latest jython Tony the Tiger <tony@tiger.invalid> - 2015-07-09 20:40 +0000
Re: No ‘from __future__ import print_function’ in latest jython Laura Creighton <lac@openend.se> - 2015-06-21 11:05 +0200
Re: No ‘from __future__ import print_function’ in latest jython Cecil Westerhof <Cecil@decebal.nl> - 2015-06-21 12:21 +0200
Re: No ‘from __future__ import print_function’ in latest jython Laura Creighton <lac@openend.se> - 2015-06-21 12:54 +0200
Re: No ‘from __future__ import print_function’ in latest jython Cecil Westerhof <Cecil@decebal.nl> - 2015-06-21 14:38 +0200
csiph-web