|
|
|
Have you looked at either of these libraries?
http://cheeseshop.python.org/pyp...pypi/
ProxyTypes
http://cheeseshop.python.org/pyp...pypi/
zope.proxy
ProxyTypes is pure Python, and zope.proxy is implemented in C. They have different strengths and weaknesses, but both are new-sytle classes and can lie about the object's class, such that isinstance(aProxy, classOfThingProxied) is true.
Phillip J. Eby |
Homepage |
07/03/19 - 6:01 pm | #
|
|
This was mainly an exploration, but we need something similar soon at Resolver. It would be for IronPython, so a pure Python module might be of interest. We will have to customise the proxying though - it has to wrap the returned objects in some cases.
Fuzzyman |
Homepage |
07/03/19 - 9:26 pm | #
|
|
Where do you get the icons for your posts from? They are awesome.
Jonathan Hartley |
Homepage |
07/03/19 - 11:12 pm | #
|
|
I have harvested them from various places over the years. 
Fuzzyman |
Homepage |
07/03/19 - 11:47 pm | #
|
|
|
Commenting by HaloScan
|