[Python-Dev] PEP 329: Treating Builtins as Constants in the Standard Library (original) (raw)
Skip Montanaro skip at pobox.com
Mon Apr 19 11:23:34 EDT 2004
- Previous message: [Python-Dev] PEP 329: Treating Builtins as Constants in the Standard Library
- Next message: [Python-Dev] PEP 329: Treating Builtins as Constants in the Standard Library
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] PEP 329: Treating Builtins as Constants in the Standard Library
- Next message: [Python-Dev] PEP 329: Treating Builtins as Constants in the Standard Library
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]