22 Apr
2017
22 Apr
'17
2:01 a.m.
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