This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients inglesp, r.david.murray, rhettinger, vstinner
Date 2016-11-22.22:38:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479854320.12.0.601317043981.issue28776@psf.upfronthosting.co.za>
In-reply-to
Content
> Yes, IMO this is something that needs to go into a linter,
> not Python itself.

I concur with David Murray.  This would break too many classes and is at odds with the design of Python where code inside a class definition is executed in its own namespace where it has the same rights and privileges as code execed elsewhere.
History
Date User Action Args
2016-11-22 22:38:40rhettingersetrecipients: + rhettinger, vstinner, r.david.murray, inglesp
2016-11-22 22:38:40rhettingersetmessageid: <1479854320.12.0.601317043981.issue28776@psf.upfronthosting.co.za>
2016-11-22 22:38:40rhettingerlinkissue28776 messages
2016-11-22 22:38:40rhettingercreate