durusmail: quixote-users: Why *not* make htmltext a subclass of str?
Why *not* make htmltext a subclass of str?
2004-05-12
2004-05-13
Why *not* make htmltext a subclass of str?
Shahms E. King
2004-05-13
On Wed, 2004-05-12 at 13:07, Evan LaForge wrote:
> ... now that we have fancy new type unification:
*snip*
> I'm sure the new "subtype" C API would allow the same to be written in C.
> This htmltext *can* be used where a string is expected.
>
> But I'm sure you guys already thought of it and rejected it.  How come?

I can't say for sure, but I'm willing to bet it has something to do with
working on Python 2.0 and 2.1 as the type unification didn't happen
until 2.2...

--
--Shahms



reply