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-March/013322.html below:

an alternative to the __future__ syntax

[Python-Dev] PEP 236: an alternative to the __future__ syntaxMartin v. Loewis martin@loewis.home.cs.tu-berlin.de
Thu, 1 Mar 2001 07:16:59 +0100
> but where's the patch?

Argh. It's now at http://www.informatik.hu-berlin.de/~loewis/python/directive.diff

> other tools that parse Python will have to be adapted.

Yes, that's indeed a problem. Initially, that syntax will be used only
to denote modules that use nested scopes, so those tools would have
time to adjust.

> The __future__ hack doesn't need that.

If it is *just* parsing, then yes. If it does any further analysis
(e.g. "find definition (of a variable)" aka "find assignments to"), or
if they inspect code objects, these tools again need to be adopted.

Regards,
Martin




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