Re: Using __abstractmethod__ with non-methods

2011-06-23 Thread Eric Snow
Just a follow up on the longer post I made [1]: Is it bad to set __abstractmethod__ on non-functions in order to trigger the ABC abstractness checks? If not, are __isabstractmethod__ on objects and __abstractmethods__ on classes misleading names? Like I said before, I don't mean to imply that

Using __abstractmethod__ with non-methods

2011-06-16 Thread Eric Snow
This is a long post, so to sum up: Is it bad to set __abstractmethod__ on non-functions in order to trigger the ABC abstractness checks? If not, are __isabstractmethod__ on objects and __abstractmethods__ on classes misleading names? I don't mean to imply that Python has it wrong. On the