Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #19198 > unrolled thread

access address from object and vice versa

Started byTamer Higazi <th982a@googlemail.com>
First post2012-01-22 04:04 +0100
Last post2012-01-22 05:33 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  access address from object and vice versa Tamer Higazi <th982a@googlemail.com> - 2012-01-22 04:04 +0100
    Re: access address from object and vice versa Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-22 05:33 +0000

#19198 — access address from object and vice versa

FromTamer Higazi <th982a@googlemail.com>
Date2012-01-22 04:04 +0100
Subjectaccess address from object and vice versa
Message-ID<mailman.4916.1327201450.27778.python-list@python.org>
Hi people!
I have asked myself the following thing.

How do I access the address of an object and later get the object from
that address ?!

I am heavily interisted.


thank you



Tamer

[toc] | [next] | [standalone]


#19204

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2012-01-22 05:33 +0000
Message-ID<4f1b9fae$0$29987$c3e8da3$5496439d@news.astraweb.com>
In reply to#19198
On Sun, 22 Jan 2012 04:04:08 +0100, Tamer Higazi wrote:

> Hi people!
> I have asked myself the following thing.
> 
> How do I access the address of an object and later get the object from
> that address ?!

Use another language.

By design, Python does not provide pointers. This is a good thing, 
because it makes a whole class of bugs and security vulnerabilities 
impossible in Python.


-- 
Steven

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web