A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-January/060245.html below:

[Python-Dev] from __future__ syntax changed

[Python-Dev] from __future__ syntax changed [Python-Dev] from __future__ syntax changedGuido van Rossum guido at python.org
Tue Jan 31 05:54:22 CET 2006
It looks like the syntax for "from __future__ import ..." changes in
Python 2.5.  I was playing around with Cheetah, and it stumbled over a
file with the following structure:

  # comments
  """ docstring """
  __author__ = "..."
  __version__ = "..."
  from __future__ import generators

Python 2.2 throug 2.4 accept this fine.

Perhaps the AST tree enforces stricter syntax for what can precede a
future statement? I think this should be fixed.

--
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4