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 ethan.furman
Recipients Claudiu.Popa, belopolsky, christian.heimes, eric.snow, ethan.furman, ionelmc, jedwards, llllllllll, r.david.murray, terry.reedy
Date 2015-04-19.19:01:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429470105.31.0.0386692498501.issue23990@psf.upfronthosting.co.za>
In-reply-to
Content
The "right thing", using a meta-class, is to have the meta-class check if the proxied object is callable, and if so, put in the __call__ function in the class that is being created.
History
Date User Action Args
2015-04-19 19:01:45ethan.furmansetrecipients: + ethan.furman, terry.reedy, belopolsky, christian.heimes, ionelmc, r.david.murray, Claudiu.Popa, eric.snow, llllllllll, jedwards
2015-04-19 19:01:45ethan.furmansetmessageid: <1429470105.31.0.0386692498501.issue23990@psf.upfronthosting.co.za>
2015-04-19 19:01:45ethan.furmanlinkissue23990 messages
2015-04-19 19:01:45ethan.furmancreate