Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #8347 > unrolled thread

Re: Using __abstractmethod__ with non-methods

Started byEric Snow <ericsnowcurrently@gmail.com>
First post2011-06-23 22:11 -0600
Last post2011-06-23 22:11 -0600
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Using __abstractmethod__ with non-methods Eric Snow <ericsnowcurrently@gmail.com> - 2011-06-23 22:11 -0600

#8347 — Re: Using __abstractmethod__ with non-methods

FromEric Snow <ericsnowcurrently@gmail.com>
Date2011-06-23 22:11 -0600
SubjectRe: Using __abstractmethod__ with non-methods
Message-ID<mailman.349.1308888715.1164.python-list@python.org>
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 Python has it wrong.
On the contrary, I typically start by assuming that Python has it
right and then try to figure out what I am missing.  Such is the case
here.

-eric

[1] http://mail.python.org/pipermail/python-list/2011-June/1274555.html

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web