On Mar 10, 10:47 am, Sunjay Varma <varma.sun...@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...] -- http://mail.python.org/mailman/listinfo/python-list