It's why I'd prefer this integrate in language, but if there no way to get it without performance cost I will have a look to a pylint solution...
2016-11-22 23:49 GMT+01:00 Nick Timkovich <prometheus...@gmail.com>: > 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/ >
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/