Re: Memory addressing
- From: Simon Berube <sberub@xxxxxxxxx>
- Date: 27 Apr 2007 17:56:17 -0700
Well what I was looking for is more along the lines of if it was
possible to assign an object at a fixed memory address like C. But
most importantly I was expecting it to be a bad habbit in python and
was simply wondering what was the accepted manner of doing so.
I did know everything was passed by reference in Python but I was
simply curious about the ability to just use
*f1 = memory_address
In order to create an object. The only use I saw for this was in the
case of a string returning the memory location albeit from the replies
I got that this would not really be desirable and necessary. I was
really just trying to avoid developping bad habbits or depending on
something that shouldnt be used commonly in the language.
I think my question has been answered well so I would like to thank
everyone for their input. Albeit a memory copy function would be fun
to use but ultimately not very fit for such a high level language I
suppose.
Again, thank you everyone this forum is very helpful,
Regards,
On Apr 27, 7:51 pm, Gabriel Genellina <gagsl-...@xxxxxxxxxxxx> wrote:
On 27 abr, 20:07, castiro...@xxxxxxxxx wrote:
That's what we need: a CopyMemory() routine.
See the copy and pickle modules.
--
Gabriel Genellina
.
- References:
- Memory addressing
- From: Simon Berube
- Re: Memory addressing
- From: Carsten Haese
- Re: Memory addressing
- From: Simon Berube
- Re: Memory addressing
- From: Carsten Haese
- Re: Memory addressing
- From: castironpi
- Re: Memory addressing
- From: Gabriel Genellina
- Memory addressing
- Prev by Date: Re: Portable SciPy v0.1 released
- Next by Date: Numeric + wxPython, can't understand a bug...
- Previous by thread: Re: Memory addressing
- Next by thread: Re: Memory addressing
- Index(es):
Relevant Pages
|