A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-April/044414.html below:

Treating Builtins as Constants in the Standard Library

[Python-Dev] PEP 329: Treating Builtins as Constants in the Standard Library [Python-Dev] PEP 329: Treating Builtins as Constants in the Standard LibrarySkip Montanaro skip at pobox.com
Mon Apr 19 11:23:34 EDT 2004
Phillip wrote:

    > I'm not sure I understand the reasoning for implementing this via a
    > bytecode hack, rather than in the compiler or loading mechanisms.  

This sort of stuff is a lot easier to experiment with in Python.  If it
stabilizes and you figure out a way to decide whether to transform functions
automatically then sure, it belongs in the compiler or an optimizer of some
sort.

Skip

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