Message266172
To change this behavior at this point will require a PEP. The PEP should be something along the lines of "Add proxy support to builtins" and should address such things as callable, issubclass, and whatever else is is appropriate.
As for working around your problem now I see a few options:
- write your own `is_proxy_callable` function
- add a `.callable` method to your proxy class
- a `resolve_proxy` function/method which can change the proxy class
type to whatever is needed to mirror the actual object |
|
Date |
User |
Action |
Args |
2016-05-23 18:34:18 | ethan.furman | set | recipients:
+ ethan.furman, rhettinger, terry.reedy, belopolsky, christian.heimes, grahamd, ionelmc, steven.daprano, r.david.murray, Claudiu.Popa, eric.snow, eryksun, llllllllll, jedwards |
2016-05-23 18:34:18 | ethan.furman | set | messageid: <1464028458.4.0.426910538028.issue23990@psf.upfronthosting.co.za> |
2016-05-23 18:34:18 | ethan.furman | link | issue23990 messages |
2016-05-23 18:34:18 | ethan.furman | create | |
|