Georg Brandl wrote:
Greg Ewing schrieb:

A better solution to that might be to have UserString
inherit from basestring.

But with that argument you could throw out the whole ABC machinery,
just let all lists inherit from list, all dicts from dict, etc.

Well, I'm skeptical about the whole ABC thing in the
first place -- it all seems very unpythonic to me.

But another way of thinking about it is that we
already have an ABC of sorts for strings, and it's
called basestring. It might be better to enhance
that with whatever's considered missing than
introducing another one.

--
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

Reply via email to