Unified Type/class
Jason Orendorff
jason at jorendorff.com
Sat Jan 26 11:38:50 EST 2002
Pedro Rodriguez wrote:
> "Jason Orendorff" <jason at jorendorff.com> wrote:
> > You can replace __builtin__.str with a Kumquat instance if you like. The
> > core is completely hackable.
>
> You almost convince me until I tried the following scripts [...]
In imported modules, __builtins__ is a dictionary.
What I intended was this:
import __builtin__
__builtin__.str = Kumquat()
## Jason Orendorff http://www.jorendorff.com/
More information about the Python-list
mailing list