[Python-Dev] Shared ABCs for the IO implementation (original) (raw)

Guido van Rossum guido at python.org
Wed Feb 25 23:06:12 CET 2009


On Wed, Feb 25, 2009 at 1:46 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:

Guido van Rossum <guido python.org> writes:

However that's hardly an ABC. You need to provide a path for someone who wants to implement the ABC without inheriting your implementation. I may missing something, but it's exactly the same as today's io.py: if you derive the ABC, you inherit the implementations at the same time. OTOH, as Nick says, one can just use register().

OK then.

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



More information about the Python-Dev mailing list