[Python-3000] Should ABCMeta.register() do validation and emit warnings

Raymond Hettinger python at rcn.com
Thu Feb 7 02:17:12 CET 2008


It's interesting that tuples could be registered as Sequences without having all the requisite methods.  Should the register() method to some sort of validation that all public methods in the ABC are in the class/type being registered?


Raymond


More information about the Python-3000 mailing list