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 John Hagen
Recipients John Hagen, barry, eli.bendersky, ethan.furman
Date 2016-07-09.17:02:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1468083734.76.0.858170855553.issue26988@psf.upfronthosting.co.za>
In-reply-to
Content
> What happens with `property`?
> 
> - `property` is looked up in the class namespace

Perhaps you've already considered this, I'm not intimately familiar with how classes are parsed and constructed but is it possible to determine if the object is a decorator?  It already determines to stop auto-numbering when it hits the first method, could it stop when it hits the first decorator or method?

Being able to use temporaries is an interesting side effect, but I feel like that would be used less often than a @staticmethod, @property, or @classmethod over a method, in which case it becomes a little more complex.

That being said, I think either solution is valid.
History
Date User Action Args
2016-07-09 17:02:14John Hagensetrecipients: + John Hagen, barry, eli.bendersky, ethan.furman
2016-07-09 17:02:14John Hagensetmessageid: <1468083734.76.0.858170855553.issue26988@psf.upfronthosting.co.za>
2016-07-09 17:02:14John Hagenlinkissue26988 messages
2016-07-09 17:02:14John Hagencreate