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/2007-February/071094.html below:

[Python-Dev] Recent experience with the _ast module

[Python-Dev] Recent experience with the _ast module [Python-Dev] Recent experience with the _ast moduleGreg Ewing greg.ewing at canterbury.ac.nz
Wed Feb 14 03:28:18 CET 2007
Brett Cannon wrote:

> Because the AST code at the C level represent the 'op' value as
> basically an enumeration value, not a string.  So creating an object
> is somewhat easier then trying to do the conversion to an interned
> string.

It would seem even easier (and a lot faster) to use an
array to go from C enum --> some object, which could
as well be an interned string as anything else.

--
Greg
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