[Python-Dev] inheriting basic types more efficiently

Guido van Rossum guido at python.org
Wed Apr 26 19:47:55 CEST 2006


I doubt you'll get many answers. I have no idea what you're talking
about. How about an example or two?

On 4/26/06, Dennis Heuer <dh at triple-media.com> wrote:
> To bring the real problem more upfront. Up to now, inheriting classes
> is all about processing (the output channel) but not about retrieving
> (the input channel). However, though a new type can advance from an
> existing type if it just needs to provide some few more methods, it can
> not advance from an existing type if it needs to support some few other
> input formats--even if they all convert to the inherited type easily.
> The input channel is completely forgotten.

--
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list