On 21/04/2017 16:03, Guyzmo via Python-Dev wrote:
On Fri, Apr 21, 2017 at 11:47:24AM +0200, Justus Schwabedal wrote:
At least I think it's a bug.  Maybe it's a feature..

it's indeed a feature.

I possibly found a bug in class __init__ and would like to fix it

technically, it's a method. More precisely, it's the constructor method.


No, __new__ is the constructor, __init__ is the initializer. It is completely impossible to state when a Python object has been initialised as you can throw in attributes any time you like.

--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to