I found some very odd behaviour in Python's very basic types
rusi
rustompmody at gmail.com
Thu Mar 10 07:49:19 EST 2011
On Mar 10, 10:47 am, Sunjay Varma <varma.sun... at gmail.com> wrote:
> For some reason, sub-classing and overwriting a built-in type does not
> change the behavior of the literal.
Have you looked through this?
http://www.python.org/download/releases/2.2/descrintro/#subclassing
[Dunno exactly how current it is -- This was at 2.2, most people are
likely to be at 2.6 now or later. Maybe others can say...]
More information about the Python-list
mailing list