[Python-Dev] Shared ABCs for the IO implementation (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Wed Feb 25 22:46:08 CET 2009
- Previous message: [Python-Dev] Shared ABCs for the IO implementation
- Next message: [Python-Dev] Shared ABCs for the IO implementation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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().
Regards
Antoine.
- Previous message: [Python-Dev] Shared ABCs for the IO implementation
- Next message: [Python-Dev] Shared ABCs for the IO implementation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]