Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #36828
| From | Dan Sommers <dan@tombstonezero.net> |
|---|---|
| Subject | Re: PyWart (Terminolgy): "Class" |
| Newsgroups | comp.lang.python |
| References | <5171d66e-580e-4bb3-bb8d-7e3f1de70ec4@googlegroups.com> <50f43fcd$0$30003$c3e8da3$5496439d@news.astraweb.com> <mailman.510.1358186329.2939.python-list@python.org> |
| Message-ID | <5K1Js.80533$LS5.49538@newsfe10.iad> (permalink) |
| Organization | TeraNews.com |
| Date | 2013-01-15 00:51 +0000 |
On Mon, 14 Jan 2013 12:00:13 -0600, Tim Chase wrote:
> Clearly Python should use a keyword like "Kingdom" or "Phylum" instead.
> I guess "Kingdom" should be reserved for metaclasses (or would they be
> metaphylums? or metaphyla?)
Metaphyla, of course.
> kingdom Baz:
> pass
>
> phylum Foo:
> __metaphylum__ = Baz
But it's obvious that kingdoms are metaphyla, and it would be silly for
one phylum to inherit from another (let alone for a phylum to inherit
from a class), so couldn't we just claim that Foo inherits from Baz and
be done with it:
phylum Foo(Baz):
pass
> That is SO much clearer ;-)
For some definitions of "SO" and "much," yes. ;-)
Dan
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
PyWart (Terminolgy): "Class" Rick Johnson <rantingrickjohnson@gmail.com> - 2013-01-13 22:46 -0800
Re: PyWart (Terminolgy): "Class" Chris Angelico <rosuav@gmail.com> - 2013-01-14 18:10 +1100
Re: PyWart (Terminolgy): "Class" Rick Johnson <rantingrickjohnson@gmail.com> - 2013-01-13 23:32 -0800
Re: PyWart (Terminolgy): "Class" Chris Angelico <rosuav@gmail.com> - 2013-01-14 18:56 +1100
Re: PyWart (Terminolgy): "Class" Dan Sommers <dan@tombstonezero.net> - 2013-01-14 14:46 +0000
Re: PyWart (Terminolgy): "Class" Tim Chase <python.list@tim.thechases.com> - 2013-01-14 08:30 -0600
Re: PyWart (Terminolgy): "Class" Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-01-14 13:59 -0500
Re: PyWart (Terminolgy): "Class" Peter <peter.milliken@gmail.com> - 2013-01-14 11:43 -0800
Re: PyWart (Terminolgy): "Class" Chris Angelico <rosuav@gmail.com> - 2013-01-15 07:57 +1100
Re: PyWart (Terminolgy): "Class" Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-15 02:08 +0000
Re: PyWart (Terminolgy): "Class" "D'Arcy J.M. Cain" <darcy@druid.net> - 2013-01-14 22:28 -0500
Re: PyWart (Terminolgy): "Class" alex23 <wuwei23@gmail.com> - 2013-01-15 00:44 -0800
Re: PyWart (Terminolgy): "Class" Tim Delaney <tim.delaney@aptare.com> - 2013-01-15 08:04 +1100
Re: PyWart (Terminolgy): "Class" Peter <peter.milliken@gmail.com> - 2013-01-14 11:43 -0800
Re: PyWart (Terminolgy): "Class" "Rhodri James" <rhodri@wildebst.demon.co.uk> - 2013-01-14 22:53 +0000
Re: PyWart (Terminolgy): "Class" Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-14 17:26 +0000
Re: PyWart (Terminolgy): "Class" Tim Chase <python.list@tim.thechases.com> - 2013-01-14 12:00 -0600
Re: PyWart (Terminolgy): "Class" Dan Sommers <dan@tombstonezero.net> - 2013-01-15 00:51 +0000
Re: PyWart (Terminolgy): "Class" Rick Johnson <rantingrickjohnson@gmail.com> - 2013-01-14 22:54 -0800
Re: PyWart (Terminolgy): "Class" Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-15 09:01 +0000
csiph-web