Re: [Numpy-discussion] memmap close() and flush()

2007-01-31 Thread Sebastian Haase
On 1/31/07, Fernando Perez <[EMAIL PROTECTED]> wrote: > On 1/31/07, Travis Oliphant <[EMAIL PROTECTED]> wrote: > > Fernando Perez wrote: > > > I don't know. If you have other things pointing to it, should you > > really close it? > > Well, it's like a file: you can close it because you've decided

Re: [Numpy-discussion] memmap close() and flush()

2007-01-31 Thread Sebastian Haase
On 1/31/07, Fernando Perez <[EMAIL PROTECTED]> wrote: > On 1/31/07, Travis Oliphant <[EMAIL PROTECTED]> wrote: > > Fernando Perez wrote: > > > I don't know. If you have other things pointing to it, should you > > really close it? > > Well, it's like a file: you can close it because you've decided

Re: [Numpy-discussion] memmap close() and flush()

2007-01-31 Thread Fernando Perez
On 1/31/07, Travis Oliphant <[EMAIL PROTECTED]> wrote: > Fernando Perez wrote: > I don't know. If you have other things pointing to it, should you > really close it? Well, it's like a file: you can close it because you've decided it's time to close it, and I think it's better that other referenc

Re: [Numpy-discussion] memmap close() and flush()

2007-01-31 Thread Travis Oliphant
Fernando Perez wrote: >On 1/31/07, Travis Oliphant <[EMAIL PROTECTED]> wrote: > > >>Sebastian Haase wrote: >> >> >>>Hi! >>>Do numpy memmap have a way of explicitly >>>flushing data to disk >>>and/or >>>closing the memmap. >>> >>> >>> >>There is a sync method that performs the flush.

Re: [Numpy-discussion] memmap close() and flush()

2007-01-31 Thread Fernando Perez
On 1/31/07, Travis Oliphant <[EMAIL PROTECTED]> wrote: > Sebastian Haase wrote: > > Hi! > > Do numpy memmap have a way of explicitly > > flushing data to disk > > and/or > > closing the memmap. > > > There is a sync method that performs the flush. To close the memmap, > delete it. > > More detail

Re: [Numpy-discussion] memmap close() and flush()

2007-01-30 Thread Travis Oliphant
Sebastian Haase wrote: > Hi! > Do numpy memmap have a way of explicitly > flushing data to disk > and/or > closing the memmap. > There is a sync method that performs the flush. To close the memmap, delete it. More detail: The memmap sub-class has a _mmap attribute that is the Python mem

[Numpy-discussion] memmap close() and flush()

2007-01-30 Thread Sebastian Haase
Hi! Do numpy memmap have a way of explicitly flushing data to disk and/or closing the memmap. In numarray these were methods called memmappedArr.flush() and memmappedArr.close() Thanks, Sebastian ___ Numpy-discussion mailing list Numpy-discussion@scipy.