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, eryksun, ethan.furman, grahamd, ionelmc, jedwards, llllllllll, r.david.murray, rhettinger, steven.daprano, terry.reedy
Date 2016-05-23.18:34:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464028458.4.0.426910538028.issue23990@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2016-05-23 18:34:18ethan.furmansetrecipients: + 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:18ethan.furmansetmessageid: <1464028458.4.0.426910538028.issue23990@psf.upfronthosting.co.za>
2016-05-23 18:34:18ethan.furmanlinkissue23990 messages
2016-05-23 18:34:18ethan.furmancreate