Re: closing StringIO objects

2007-08-15 Thread Neil Cerutti
On 2007-08-15, Alex Martelli <[EMAIL PROTECTED]> wrote: > Neil Cerutti <[EMAIL PROTECTED]> wrote: >> The documentation says the following about StringIO.close: >> >> close( ) >> Free the memory buffer. >> >> Or else... what? > > Or else the memory buffer sticks around, so you can keep > ca

Re: closing StringIO objects

2007-08-15 Thread Alex Martelli
Neil Cerutti <[EMAIL PROTECTED]> wrote: > The documentation says the following about StringIO.close: > > close( ) > Free the memory buffer. > > Or else... what? Or else the memory buffer sticks around, so you can keep calling getvalue as needed. I believe the freeing will happen anyway,

closing StringIO objects

2007-08-15 Thread Neil Cerutti
The documentation says the following about StringIO.close: close( ) Free the memory buffer. Or else... what? -- Neil Cerutti -- http://mail.python.org/mailman/listinfo/python-list