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 ionelmc
Recipients Claudiu.Popa, belopolsky, christian.heimes, eric.snow, ethan.furman, ionelmc, jedwards, llllllllll, r.david.murray, terry.reedy
Date 2015-04-19.19:05:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
On Sun, Apr 19, 2015 at 10:01 PM, Ethan Furman <>

> 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.

​Yes indeed, for a plain proxy. Unfortunately for a *lazy* proxy this is
not acceptable as it ​would "create" (or "access") the target. The point is
to delay that till it's actually needed, not when the proxy is created.

-- Ionel Cristian Mărieș,
Date User Action Args
2015-04-19 19:05:24ionelmcsetrecipients: + ionelmc, terry.reedy, belopolsky, christian.heimes, r.david.murray, Claudiu.Popa, ethan.furman, eric.snow, llllllllll, jedwards
2015-04-19 19:05:24ionelmclinkissue23990 messages
2015-04-19 19:05:24ionelmccreate