Guido van Rossum wrote:
There are quite a few core APIs that accept no substitutes, and being an instance of basestring was intended to guarantee that a value is accepted by such APIs.
In that case, the idea of a user-defined string class that doesn't inherit from str or unicode seems to be a lost cause, since it will never be acceptable in those places, whatever is done with ABCs. -- Greg _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com