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/2008-July/081369.html below:

[Python-Dev] Implementing restricted Python in Zope2

[Python-Dev] Implementing restricted Python in Zope2 [Python-Dev] Implementing restricted Python in Zope2"Martin v. Löwis" martin at v.loewis.de
Fri Jul 18 06:24:12 CEST 2008
> I would like to know how much the AST have been changed on moving from
> python2.4 to python 2.5 so that I can bring the corresponding changes
> in Zope2 to get it adapted to those changes in the AST. 

Notice that Parser/Python.asdl is new in Python 2.5, so (by today's
terminology) Python 2.4 did not really have any AST. The relevant NEWS
entry is

- A new AST parser implementation was completed. The abstract
  syntax tree is available for read-only (non-compile) access
  to Python code; an _ast module was added.

Python's prior notion of abstract syntax (which is rather a CST)
directly reflects from the grammar; do

  svn log Grammar/Grammar

to find out what exactly was changed.

Regards,
Martin
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