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/2001-February/013260.html below:

[Python-Dev] one more restriction for from __future__ import ...

[Python-Dev] one more restriction for from __future__ import ... [Python-Dev] one more restriction for from __future__ import ...Jeremy Hylton jeremy@alum.mit.edu
Tue, 27 Feb 2001 19:13:42 -0500 (EST)
>>>>> "GE" == Greg Ewing <greg@cosc.canterbury.ac.nz> writes:

  >> The pass to find future statements exits as soon as it finds
  >> something that isn't a doc string or a future.

  GE> Well, don't do that, then. Have the find_future_statements pass
  GE> keep going and look for *illegal* future statements as well.

  GE> Then, subsequent passes can just ignore any import that looks
  GE> like a future statement, because it will already have been
  GE> either processed or reported as an error.

I like this idea best so far.

Jeremy



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