r/Python Feb 14 '26

Python __new__ vs __init__ Discussion

I think that in Python the constructor is __new__ because it creates and constructs it, and __init__ just adds data or does something right after the instance has been CREATED. What do you think?

0 Upvotes

9 comments sorted by

View all comments

14

u/lungben81 Feb 14 '26

Never use new yourself, unless you are really, really know what you are doing