The proxy recipe
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/252151 (*) by
Goncalo Rodrigues shows how to wrap an existing instance of a new or old
style class in a "Proxy" instance.
I'm just wondering what a programmer does once that's been achieved ? Is
he or she supposed to patch the
X-Replace-Address:
[EMAIL PROTECTED]
receding_xxxs_.com
This wasn't what I was expecting, so I thought I'd ask those more
knowledgeable, which is pretty much everybody.
Same result on Python 2.3.5 and Python 2.5.1 installed from python.org
binaries on Windows XP.
>>> try: set
>>> except NameError
X-Replace-Address: [EMAIL PROTECTED]
On 12 Oct, 18:14, Carsten Haese <[EMAIL PROTECTED]> wrote:
> On Fri, 2007-10-12 at 17:41 +0100, English, Mark wrote:
> > > From: Tor Erik Sønvisen
> > > Date: October 8th 2007
> > > I've tried locating some code th
> From: Tor Erik Sønvisen
> Date: October 8th 2007
> I've tried locating some code that can recreate an object from
> it's string representation...
On a related note I've wondered about this:
>>> class Foo(object): pass
>>> f = Foo()
>>> s = repr(f)
>>> s
'<__main__.Foo object at 0x007CBAB0>'
So