Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #92511
| References | <4d336971-d986-4e21-85a2-ddc8ee995c7e@googlegroups.com> |
|---|---|
| Date | 2015-06-12 21:28 +1000 |
| Subject | Re: Get classes from "self.MyClass" to improve subclassability |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.415.1434108514.13271.python-list@python.org> (permalink) |
On Fri, Jun 12, 2015 at 9:12 PM, Thomas Güttler <hv@tbz-pariv.de> wrote: > I prefer "self.Namespace()" to namespace kwargs. > > What do you think? Given that the namespace argument already exists, and you're proposing a change, you'll need a much stronger justification than mere preference. What's the downside of providing your own instance, rather than injecting a class? ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Get classes from "self.MyClass" to improve subclassability Thomas Güttler <hv@tbz-pariv.de> - 2015-06-12 04:12 -0700
Re: Get classes from "self.MyClass" to improve subclassability Chris Angelico <rosuav@gmail.com> - 2015-06-12 21:28 +1000
Re: Get classes from "self.MyClass" to improve subclassability Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-06-12 12:23 +0000
Re: Get classes from "self.MyClass" to improve subclassability Thomas Güttler <hv@tbz-pariv.de> - 2015-06-12 05:47 -0700
Re: Get classes from "self.MyClass" to improve subclassability Terry Reedy <tjreedy@udel.edu> - 2015-06-12 19:08 -0400
Re: Get classes from "self.MyClass" to improve subclassability Thomas Güttler <hv@tbz-pariv.de> - 2015-06-15 06:14 -0700
csiph-web