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/013251.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 ...Skip Montanaro skip@mojam.com (Skip Montanaro)
Tue, 27 Feb 2001 17:48:04 -0600 (CST)
    Jeremy> The symbol table pass detects illegal future statements by
    Jeremy> comparing the current line number against the line number of the
    Jeremy> last legal futre statement.

Why not just add a flag (default false at the start of the compilation) to
the compiling struct that tells you if you've seen a future-killer statement
already?  Then if you see a future statement the compiler can whine.

Skip



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