I think you could implement this yourself with metaclasses and it wouldn't
have much (if any) performance hit per-call or per-instantiation (just a
bit slower when creating the class definition).

It's a bit heavy-handed-hand-holding–if you ask me–but if you want to do
it, the language gives you the ability.

On Tue, Nov 22, 2016 at 3:24 PM, Adrián Orive Oneca <
adrian.orive.on...@gmail.com> wrote:

> This is just a convenience utility that would impact performance. This
> kind of enhancements, in my opinion, should be taken care by the IDEs, not
> by the interpreters.
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas@python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to