Re: [Python-Dev] PEP487: Simpler customization of class creation

2016-07-27 Thread Joao S. O. Bueno
Hi - sorry for steppign in late - I've just reread the PEP and tried out the reference implementation, and I have two sugestions/issues with it as is: 1) Why does `__init_subclass__` is not run in the class it is defined itself?? That makes no sense to me as in very unpythonic. I applied the pat

Re: [Python-Dev] PEP487: Simpler customization of class creation

2016-07-27 Thread Nick Coghlan
On 28 July 2016 at 03:56, Joao S. O. Bueno wrote: > Otherwise, I'd suggest at least some PEP rewording to make explicit > the fact it is not run on the class it is defined at all. (I can help > with that, but I'd rather see it implemented as above). This is covered in the PEP: https://www.python

Re: [Python-Dev] PEP487: Simpler customization of class creation

2016-07-27 Thread Joao S. O. Bueno
On 27 July 2016 at 22:30, Nick Coghlan wrote: > On 28 July 2016 at 03:56, Joao S. O. Bueno wrote: >> Otherwise, I'd suggest at least some PEP rewording to make explicit >> the fact it is not run on the class it is defined at all. (I can help >> with that, but I'd rather see it implemented as abo