User classes for Int, etc?

Martin von Loewis loewis at informatik.hu-berlin.de
Fri Oct 15 16:31:47 EDT 1999


"Mark Nottingham" <mnot at mnot.net> writes:

> Are there any user template classes (like UserDict, UserList, etc)
> for Int, String, and other basic data types? That would be, IMHO,
> way cool.

I don't think so. They would most likely be called UserInt, UserString
etc. - searching for that on python.org reveals that they don't exist,
publically.

> I've already implemented most of them in my application, but it
> would be really nice if there was something I could subclass to
> catch everything...

When you are through, please don't forget to place a copy of these
classes on python.org :-)

Regards,
Martin




More information about the Python-list mailing list