[Python-Dev] Shared ABCs for the IO implementation

Antoine Pitrou solipsis at pitrou.net
Wed Feb 25 22:46:08 CET 2009


Guido van Rossum <guido <at> 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().

Regards

Antoine.




More information about the Python-Dev mailing list