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 that can recreate an object from
it's string
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 how do I get f
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 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 =
Hi,
I've tried locating some code that can recreate an object from it's
string representation...
The object in question is really a dictionary containing other
dictionaries, lists, unicode strings, floats, ints, None, and
booleans.
I don't want to use eval, since I can't trust the source sending
On Mon, 2007-10-08 at 21:19 +0200, Tor Erik Sønvisen wrote:
Hi,
I've tried locating some code that can recreate an object from it's
string representation...
The object in question is really a dictionary containing other
dictionaries, lists, unicode strings, floats, ints, None, and
On 10/8/07, Tor Erik Sønvisen [EMAIL PROTECTED] wrote:
Hi,
I've tried locating some code that can recreate an object from it's
string representation...
The object in question is really a dictionary containing other
dictionaries, lists, unicode strings, floats, ints, None, and
booleans.
I
Tor Erik Sønvisen schrieb:
Hi,
I've tried locating some code that can recreate an object from it's
string representation...
The object in question is really a dictionary containing other
dictionaries, lists, unicode strings, floats, ints, None, and
booleans.
I don't want to use eval,
On Mon, 08 Oct 2007 21:19:50 +0200, Tor Erik Sønvisen
wrote:
I don't want to use eval, since I can't trust the source sending the
object I'm sure someone must have had the same need and created code
for it... Maybe Pypy has what I need??? Haven't looked though...
For the benefit of those
Tor Erik Sønvisen wrote:
Hi,
I've tried locating some code that can recreate an object from it's
string representation...
The object in question is really a dictionary containing other
dictionaries, lists, unicode strings, floats, ints, None, and
booleans.
I don't want to use eval,