[Python-ideas] JavaScript-Style Object Creation in Python (using a constructor function instead of a class to create objects)

Guido van Rossum guido at python.org
Sun May 14 12:37:10 EDT 2017

On Sun, May 14, 2017 at 12:35 AM, Simon Ramstedt <simonramstedt at gmail.com>

> What do you think are the odds of something like this actually making it
> into the Python and if greater than 0 in which timeframe?

If you're asking for language or stdlib support or an official endorsement,
the odds are exactly zero. Of course if this pattern is useful for you in
the context of something you are developing you are free to use it,
presuming it doesn't require language or stdlib changes.

--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170514/31eefc01/attachment-0001.html>

More information about the Python-ideas mailing list