Proposal: Syntax for attribute initialisation in __init__ methods

Ethan Furman ethan at stoneleaf.us
Fri Apr 15 17:56:00 EDT 2022


On 4/15/22 04:19, Sam Ezeh wrote:
> Elsewhere, the idea of supporting new syntax to automatically initialise
> attributes provided as arguments to __init__ methods was raised.

[...]

Good post!  You'll want to send this to python-ideas at some point (that's where most new python features are 
discussed).  This particular desire has come up in the past, so you'll need to do some more research (i.e. find the 
previous threads on python-ideas) so you can answer objections already raised, or find new data supporting/refuting 
previous arguments.

--
~Ethan~


More information about the Python-list mailing list