[Python-ideas] non-Pre-PEP: Syntactic replacement of built-in pes with user-defined callables.

Matt Chisholm matt-python at theory.org
Mon Jan 28 11:01:28 CET 2008


I don't think I followed all of what you wrote.  However, it would
certainly be convenient shorthand to be able to say that, for an
entire file, program, or module, the float literal syntax created
Decimals instead.

And I can imagine cases where an entire app or module was always using
ordered dicts instead of dicts, or frozensets instead of sets.

-matt




More information about the Python-ideas mailing list