--------- Neil S. skazal: ------------ > I would like to make the htmltext class a subclass of StringType. This has great possibilities, although I assume that you meant to say "a subclass of str." "Starting in Python 2.2, built-in factory functions such as int() and str() are also names for the corresponding types. This is now the preferred way to access the type instead of using the types module." I keep worrying about the day when I will have to start generating web pages using Unicode. Would it be useful to consider having a twin called 'uhtmltext' that would be a subclass of unicode instead of str? > Subclassing builtin types is only supported in Python >= 2.2. I'm > wondering how many people would be affected if we dropped support > for Python 2.1? No problem here. I am using Python 2.3.2 and am subclassing dict and list in my own code. Jim Dukarm DELTA-X RESEARCH Victoria BC Canada