<p dir="ltr"><br>
On 28 Jun 2013 07:46, "PJ Eby" <<a href="mailto:pje@telecommunity.com">pje@telecommunity.com</a>> wrote:<br>
><br>
> On Thu, Jun 27, 2013 at 4:48 AM, Nick Coghlan <<a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>> wrote:<br>
> > I'd be tempted to kill PEP 422 as not worth the hassle if we did this.<br>
><br>
> I assume you mean the "namespace" keyword part of PEP 422, since PEP<br>
> 422's class initialization feature is entirely orthogonal to<br>
> definition order or namespace customization.  (Indeed, I cannot recall<br>
> a single instance of class initialization in my code that actually<br>
> *cared* about definition order.  Certainly I haven't had any<br>
> situations where a pre-existing definition order would've eliminated<br>
> the need for a class-level initialization.)</p>
<p dir="ltr">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".</p>
<p dir="ltr">Cheers,<br>
Nick.</p>