[Python-ideas] non-Pre-PEP: Syntactic replacement of built-in types with user-defined callables (Take 2... fewer newlines!)

Raymond Hettinger python at rcn.com
Thu Jan 31 21:36:26 CET 2008


> If I understood your proposal correctly, it's just about
> dynamically *replacing* the built-in types (with their 
> respective syntax) with some type of your own. 

FWIW, there is an interesting type replacement recipe on
the bottom of the page at:

     http://docs.python.org/lib/module-tokenize.html


Raymond



More information about the Python-ideas mailing list