Subclassing built-in classes

Maric Michaud maric at aristote.info
Thu Oct 5 14:41:53 CEST 2006


Le jeudi 05 octobre 2006 14:20, Steve Holden a écrit :
> Unfortunately the literals are interpreted during bytecode generation,
> before the compiled program is available, and your modifications to
> __builtns__ haven't been made, so the answer is "no", I'm afraid.

But what prevents to interpret literals as a call to __builtins__ objects and 
functions ? optimization ? what else ?

-- 
_____________

Maric Michaud
_____________

Aristote - www.aristote.info
3 place des tapis
69004 Lyon
Tel: +33 426 880 097



More information about the Python-list mailing list