[Python-Dev] Classes with ordered namespaces (original) (raw)
Nick Coghlan ncoghlan at gmail.com
Fri Jun 28 00:02:59 CEST 2013
- Previous message: [Python-Dev] Classes with ordered namespaces
- Next message: [Python-Dev] add new lambda syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 28 Jun 2013 07:46, "PJ Eby" <pje at telecommunity.com> wrote:
On Thu, Jun 27, 2013 at 4:48 AM, Nick Coghlan <ncoghlan at gmail.com> wrote: > I'd be tempted to kill PEP 422 as not worth the hassle if we did this. I assume you mean the "namespace" keyword part of PEP 422, since PEP 422's class initialization feature is entirely orthogonal to definition order or namespace customization. (Indeed, I cannot recall a single instance of class initialization in my code that actually cared about definition order. Certainly I haven't had any situations where a pre-existing definition order would've eliminated the need for a class-level initialization.)
That and the second argument to the new initialisation hook. So you're right, the consequences for PEP 422 would be "greatly simplify" rather than "kill".
Cheers, Nick. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20130628/b6925062/attachment.html>
- Previous message: [Python-Dev] Classes with ordered namespaces
- Next message: [Python-Dev] add new lambda syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]