Re: serializable object references

2007-04-23 Thread Gabriel Genellina
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

Re: serializable object references

2007-04-22 Thread Martin Drautzburg
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

Re: serializable object references

2007-04-22 Thread Gabriel Genellina
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

Re: serializable object references

2007-04-22 Thread Martin Drautzburg
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

Re: serializable object references

2007-04-22 Thread 7stud
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.

Re: serializable object references

2007-04-22 Thread Daniel Nogradi
> 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

Re: serializable object references

2007-04-22 Thread Gabriel Genellina
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

Re: serializable object references

2007-04-22 Thread 7stud
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.

serializable object references

2007-04-22 Thread Martin Drautzburg
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