En Mon, 23 Apr 2007 03:35:42 -0300, Martin Drautzburg
<[EMAIL PROTECTED]> escribió:
> Gabriel Genellina wrote:
>
>> En Sun, 22 Apr 2007 12:47:10 -0300, Martin Drautzburg
>> <[EMAIL PROTECTED]> escribió:
>>
>>> I was thinking that it would be nice if a web application could talk
>>> to real objec
Gabriel Genellina wrote:
> En Sun, 22 Apr 2007 12:47:10 -0300, Martin Drautzburg
> <[EMAIL PROTECTED]> escribió:
>
>> I was thinking that it would be nice if a web application could talk
>> to real objects. The client side does not need to know the internals
>> of an object, it acts as a "view" f
En Sun, 22 Apr 2007 12:47:10 -0300, Martin Drautzburg
<[EMAIL PROTECTED]> escribió:
> I was thinking that it would be nice if a web application could talk to
> real objects. The client side does not need to know the internals of an
> object, it acts as a "view" for server-side models. All it has
Gabriel Genellina wrote:
> En Sun, 22 Apr 2007 08:07:27 -0300, Martin Drautzburg
> <[EMAIL PROTECTED]> escribió:
>
>> Is it possible to convert an object into a string that identifies the
>> object in a way, so it can later be looked up by this string.
>> Technically this should be possible, beca
On Apr 22, 5:07 am, Martin Drautzburg <[EMAIL PROTECTED]>
wrote:
>
> <__main__.Foo instance at 0xb7cfb6ac>
>
> But how can I look up the real object,
> when I only have this string?
>
You can't because that identifies the instance with an address, and
pointers are not part of the python language.
> Is it possible to convert an object into a string that identifies the
> object in a way, so it can later be looked up by this string.
> Technically this should be possible, because things like
>
> <__main__.Foo instance at 0xb7cfb6ac>
>
> say everything about an object. But how can I look up the
En Sun, 22 Apr 2007 08:07:27 -0300, Martin Drautzburg
<[EMAIL PROTECTED]> escribió:
> Is it possible to convert an object into a string that identifies the
> object in a way, so it can later be looked up by this string.
> Technically this should be possible, because things like
>
> <__main__.Foo
Martin Drautzburg wrote:
> Is it possible to convert an object into a string that identifies the
> object in a way, so it can later be looked up by this string.
> Technically this should be possible, because things like
>
> <__main__.Foo instance at 0xb7cfb6ac>
>
> say everything about an object.
Is it possible to convert an object into a string that identifies the
object in a way, so it can later be looked up by this string.
Technically this should be possible, because things like
<__main__.Foo instance at 0xb7cfb6ac>
say everything about an object. But how can I look up the real object