History log of /external/python/cpython2/Modules/cStringIO.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ca56dd4767617a2f5e946130de4beb06442a5cd5 17-Sep-2016 Martin Panter <vadmium+py@gmail.com> Issue #28139: Fix messed up indentation

Also update the classmethod and staticmethod doc strings and comments to
match the RST documentation.
/external/python/cpython2/Modules/cStringIO.c
9795ca44fbf6d94789ee7053b81ff18f008c41ea 20-Mar-2013 Kristján Valur Jónsson <sweskman@gmail.com> Issue #10212: Support new buffer interface for struct.unpack and
cStringIO
/external/python/cpython2/Modules/cStringIO.c
cdc7a91dde9221f5cf857268f7900e7a7d64619b 12-Feb-2013 Serhiy Storchaka <storchaka@gmail.com> Issue #13555: cPickle now supports files larger than 2 GiB.
/external/python/cpython2/Modules/cStringIO.c
276f1d513917bf47e3a9e333529f6b87302d6aaa 09-Feb-2013 Serhiy Storchaka <storchaka@gmail.com> Issue #7358: cStringIO.StringIO now supports writing to and reading from
a stream larger than 2 GiB on 64-bit systems.
/external/python/cpython2/Modules/cStringIO.c
c5bef75c77af414c2f6c5901b6838d3071313bc7 15-Aug-2012 Antoine Pitrou <solipsis@pitrou.net> Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly.
Patch by Serhiy Storchaka.
/external/python/cpython2/Modules/cStringIO.c
5a77fe92bd26db11684e4922707d80f654be31dc 22-Oct-2011 Antoine Pitrou <solipsis@pitrou.net> Issue #1548891: The cStringIO.StringIO() constructor now encodes unicode
arguments with the system default encoding just like the write() method
does, instead of converting it to a raw buffer.
/external/python/cpython2/Modules/cStringIO.c
577acb4e30f272db9a255bbbce0a4351a1698710 11-Oct-2010 Fred Drake <fdrake@acm.org> improve performance of writing past the end of the file for cStringIO
(http://bugs.python.org/issue10045)
/external/python/cpython2/Modules/cStringIO.c
c83ea137d7e717f764e2f31fc2544f522de7d857 09-May-2010 Antoine Pitrou <solipsis@pitrou.net> Untabify C files. Will watch buildbots.
/external/python/cpython2/Modules/cStringIO.c
402b73fb8d54ec2b24b52fdd77d389d903fa6c44 25-Mar-2010 Larry Hastings <larry@hastings.org> Backported PyCapsule from 3.1, and converted most uses of
CObject to PyCapsule.
/external/python/cpython2/Modules/cStringIO.c
9d53457e599623fbad90833c3448835b42d7e7f9 11-Jun-2008 Gregory P. Smith <greg@mad-scientist.com> Merge in release25-maint r60793:

Added checks for integer overflows, contributed by Google. Some are
only available if asserts are left in the code, in cases where they
can't be triggered from Python code.
/external/python/cpython2/Modules/cStringIO.c
dd96db63f689e2f0d8ae5a1436b3b3395eec7de5 09-Jun-2008 Gregory P. Smith <greg@mad-scientist.com> This reverts r63675 based on the discussion in this thread:

http://mail.python.org/pipermail/python-dev/2008-June/079988.html

Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names
in the spirit of 3.0 are available via a #define only. See the email thread.
/external/python/cpython2/Modules/cStringIO.c
593daf545bd9b7e7bcb27b498ecc6f36db9ae395 26-May-2008 Christian Heimes <christian@cheimes.de> Renamed PyString to PyBytes
/external/python/cpython2/Modules/cStringIO.c
588ff93f1383436694e26c962528291913012296 16-Feb-2008 Amaury Forgeot d'Arc <amauryfa@gmail.com> Crashers of the day: Py_CLEAR must be used when there is a chance that the
function can be called recursively.
This was discussed in issue1020188.

In python codebase, all occurrences of Py_[X]DECREF(xxx->yyy) are suspect,
except when they appear in tp_new or tp_dealloc functions, or when
the member cannot be of a user-defined class.
Note that tp_init is not safe.

I do have a (crashing) example for every changed line.
Is it worth adding them to the test suite?

Example:

class SpecialStr(str):
def __del__(self):
s.close()

import cStringIO
s = cStringIO.StringIO(SpecialStr("text"))
s.close() # Segfault
/external/python/cpython2/Modules/cStringIO.c
e93237dfcc4ee4feee62adafb4e7899487ca864b 19-Dec-2007 Christian Heimes <christian@cheimes.de> #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.
/external/python/cpython2/Modules/cStringIO.c
95d94947f0d0dc269f507961cb491a57352f7bc6 08-Aug-2007 Georg Brandl <georg@python.org> Fix compilation warning.
/external/python/cpython2/Modules/cStringIO.c
9616444427cbbc5283f21a09ffa852ad21805588 08-Aug-2007 Georg Brandl <georg@python.org> Revert the fix for #1548891, it broke backwards compatibility with arbitrary read buffers.
Fixes #1730114.
/external/python/cpython2/Modules/cStringIO.c
6819210b9e4e5719a6f7f9c1725f8fa70a8936f6 21-Jul-2007 Martin v. Löwis <martin@v.loewis.de> PEP 3123: Provide forward compatibility with Python 3.0, while keeping
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
PyVarObject_HEAD_INIT.
/external/python/cpython2/Modules/cStringIO.c
17b8e97e2e2c24322d45c33308212e0d6c32d934 25-Apr-2007 Kristján Valur Jónsson <kristjan@ccpgames.com> Merge change 54909 from release25-maint: Fix several minor issues discovered using code analysis in VisualStudio 2005 Team Edition
/external/python/cpython2/Modules/cStringIO.c
cffcc8b195d0086d6089ac4563ac17b4c95471e3 19-Nov-2006 Martin v. Löwis <martin@v.loewis.de> Make cStringIO.truncate raise IOError for negative
arguments (even for -1). Fixes the last bit of
#1359365.
/external/python/cpython2/Modules/cStringIO.c
79665b1403c57f7a546227f74c8900e960012a6a 18-Oct-2006 Tim Peters <tim.peters@gmail.com> newIobject(): repaired incorrect cast to quiet MSVC warning.
/external/python/cpython2/Modules/cStringIO.c
5597e261b2e46494d59bfbd7c6f2758f341ad910 12-Oct-2006 Georg Brandl <georg@python.org> Bug #1548891: The cStringIO.StringIO() constructor now encodes unicode
arguments with the system default encoding just like the write()
method does, instead of converting it to a raw buffer.
/external/python/cpython2/Modules/cStringIO.c
d37ac69ee5abfbdcf069273f9358d581e196bc22 30-Mar-2006 Georg Brandl <georg@python.org> Remove unnecessary casts from type object initializers.
/external/python/cpython2/Modules/cStringIO.c
197e8321c659d8dd22851363bbcebd98092ed2c9 15-Mar-2006 Walter Dörwald <walter@livinglogic.de> SF patch #1359365: cStringIO.StringIO.isatty() will raise a ValueError
now if close() has been called before (like file and StringIO.StringIO do)
/external/python/cpython2/Modules/cStringIO.c
4af5c8cee4885df70884a58e2e74c48984bbe7c2 07-Mar-2006 Hye-Shik Chang <hyeshik@gmail.com> SF #1444030: Fix several potential defects found by Coverity.
(reviewed by Neal Norwitz)
/external/python/cpython2/Modules/cStringIO.c
5df2e614e651d91bd433d6de5cd90b304aead70c 02-Mar-2006 Martin v. Löwis <martin@v.loewis.de> Remove UNLESS.
/external/python/cpython2/Modules/cStringIO.c
f86d1e810d5827c46f3d7fc519e308e310406941 01-Mar-2006 Thomas Wouters <thomas@python.org> Silence gcc (4.0.x) warning about use of uninitialized value.
/external/python/cpython2/Modules/cStringIO.c
ad0a4629beac0600c4c4c3167b0d68be57ca674e 16-Feb-2006 Martin v. Löwis <martin@v.loewis.de> Use Py_ssize_t for counts and sizes.
/external/python/cpython2/Modules/cStringIO.c
18e165558b24d29e7e0ca501842b9236589b012a 15-Feb-2006 Martin v. Löwis <martin@v.loewis.de> Merge ssize_t branch.
/external/python/cpython2/Modules/cStringIO.c
1ac754fa10f5d199d19911e21185d0970cb3073f 19-Jan-2006 Neal Norwitz <nnorwitz@gmail.com> Check return result from Py_InitModule*(). This API can fail.

Probably should be backported.
/external/python/cpython2/Modules/cStringIO.c
af68c874a6803b4e90b616077a602c0593719a1d 10-Dec-2005 Jeremy Hylton <jeremy@alum.mit.edu> Add const to several API functions that take char *.

In C++, it's an error to pass a string literal to a char* function
without a const_cast(). Rather than require every C++ extension
module to put a cast around string literals, fix the API to state the
const-ness.

I focused on parts of the API where people usually pass literals:
PyArg_ParseTuple() and friends, Py_BuildValue(), PyMethodDef, the type
slots, etc. Predictably, there were a large set of functions that
needed to be fixed as a result of these changes. The most pervasive
change was to make the keyword args list passed to
PyArg_ParseTupleAndKewords() to be a const char *kwlist[].

One cast was required as a result of the changes: A type object
mallocs the memory for its tp_doc slot and later frees it.
PyTypeObject says that tp_doc is const char *; but if the type was
created by type_new(), we know it is safe to cast to char *.
/external/python/cpython2/Modules/cStringIO.c
10402a306f613b37c96b51771e7ad0e1cf60a3a4 22-Sep-2005 Michael W. Hudson <mwh@python.net> Patches #1298449 and #1298499: Add some missing checks for error
returns in cStringIO.c. Thanks to Andrew Bennetts.

This must be a backport candidate.
/external/python/cpython2/Modules/cStringIO.c
037b3ee44e7de00b4653d73d4808c0f679a909a7 21-Aug-2004 Tim Peters <tim.peters@gmail.com> Patch 1012740: cStringIO's truncate doesn't

truncate() left the stream position unchanged, which meant the
"truncated" data didn't go away:

>>> io.write('abc')
>>> io.truncate(0)
>>> io.write('xyz')
>>> io.getvalue()
'abcxyz'

Patch by Dima Dorfman.
/external/python/cpython2/Modules/cStringIO.c
e7c053233fa4a0f9a1ddfe96b5a3ea57495f9882 27-Jun-2004 Tim Peters <tim.peters@gmail.com> sizeof(char) is 1, by definition, so get rid of that expression in
places it's just noise.
/external/python/cpython2/Modules/cStringIO.c
6ec099658ab49ed6d3c2861e437fe659e1c7037f 08-Mar-2004 Raymond Hettinger <python@rcn.com> SF patch #907403: Improvements to cStringIO.writelines()

The writelines() method now accepts any iterable argument and writes
the lines one at a time rather than using ''.join(lines) followed by
a single write. Results in considerable memory savings and makes
the method suitable for use with generator expressions.
/external/python/cpython2/Modules/cStringIO.c
bc72c5ae8b5cfa261c6d150386fc56cff3f8955f 27-Feb-2004 Raymond Hettinger <python@rcn.com> Speed-up the joiner call by avoiding Py_BuildValue().
/external/python/cpython2/Modules/cStringIO.c
8ae468965700fd9900efc28bff8fa2015dae2bef 12-Oct-2003 Raymond Hettinger <python@rcn.com> Simplify and speedup uses of Py_BuildValue():

* Py_BuildValue("(OOO)",a,b,c) --> PyTuple_Pack(3,a,b,c)
* Py_BuildValue("()",a) --> PyTuple_New(0)
* Py_BuildValue("O", a) --> Py_INCREF(a)
/external/python/cpython2/Modules/cStringIO.c
eb2f0612e1644fcd053d05725e12b2253189de5a 11-Aug-2003 Skip Montanaro <skip@pobox.com> reverting to 2.41 version (distinct tp_names) - will add verbiage to the
docs
/external/python/cpython2/Modules/cStringIO.c
e138828d0360da3782ce56ba8161b45d1505252f 11-Aug-2003 Skip Montanaro <skip@pobox.com> shit - just change the visible name, not the comments - strictly speaking,
the tp_name is not correct, but what's exposed to users is known visibly as
"StringIO", not "StringI" or "StringO".
/external/python/cpython2/Modules/cStringIO.c
4a0d3d2e40667c71e00a0b9db594241257beca30 11-Aug-2003 Skip Montanaro <skip@pobox.com> typos
/external/python/cpython2/Modules/cStringIO.c
5475f2394abea43c541d8660ed91af920634add5 08-Aug-2003 Raymond Hettinger <python@rcn.com> SF bug #770485: cStringIO does not set closed attr
/external/python/cpython2/Modules/cStringIO.c
352f9477da79cfeba9afdb97e4554f7eca5b77db 24-Apr-2003 Raymond Hettinger <python@rcn.com> SF patch 695710: fix bug 678519: cStringIO self iterator
(requested by GvR. patch contributed by Michael Stone)
/external/python/cpython2/Modules/cStringIO.c
36cd2bf4596fdffee0392335aca8bd221d46584a 03-Jan-2003 Raymond Hettinger <python@rcn.com> SF patch 660559: Use METH_O and METH_NOARGS where possible

Simplify code and speed access by using PyArg_UnpackTuple, METH_O and
METH_NOARGS in three modules that can benefit from it.
/external/python/cpython2/Modules/cStringIO.c
674deb2eeaeb8358415457413502e3b5851a7010 01-Sep-2002 Guido van Rossum <guido@python.org> SF bug 601775 - some int results that should be bool.
/external/python/cpython2/Modules/cStringIO.c
fe51c6d66e0fbf6a142036bee2c448bd7fe8fefc 02-Aug-2002 Mark Hammond <mhammond@skippinet.com.au> Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype
for Py_Main().

Thanks to Kalle Svensson and Skip Montanaro for the patches.
/external/python/cpython2/Modules/cStringIO.c
14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f 13-Jun-2002 Martin v. Löwis <martin@v.loewis.de> Patch #568124: Add doc string macros.
/external/python/cpython2/Modules/cStringIO.c
a883a3d5fdfefdf198bd34f6d07273063bc1f3b5 29-Apr-2002 Guido van Rossum <guido@python.org> See discussion at SF bug 547537.

Unicode objects are currently taken as binary data by the write()
method. This is not what Unicode users expect, nor what the
StringIO.py code does. Until somebody adds a way to specify binary or
text mode for cStringIO objects, change the format string to use "t#"
instead of "s#", so that it will request the "text buffer" version.
This will try the default encoding for Unicode objects.

This is *not* a 2.2 bugfix (since it *is* a semantic change).
/external/python/cpython2/Modules/cStringIO.c
2e1c09c1fd06531a3ce1de5b12ec5c8f771e78e0 04-Apr-2002 Guido van Rossum <guido@python.org> Removed old Digital Creations copyright/license notices (with
permission from Paul Everitt). Also removed a few other references to
Digital Creations and changed the remaining ones to Zope Corporation.
/external/python/cpython2/Modules/cStringIO.c
b189b07dcc0bdd344ca5a5e9bff08b168d9dbe37 08-Mar-2002 Jeremy Hylton <jeremy@alum.mit.edu> Fix SF bug #526518

The doc string for cStringIO suggested that str() of a StringIO object
was equivalent to getvalue(). This was never true, so repair the doc
string. (doctest would have helped here.)

Bug fix candidate for any past versions.
/external/python/cpython2/Modules/cStringIO.c
146483964e2e94b0d1709be438a1b86f75b5d730 08-Dec-2001 Guido van Rossum <guido@python.org> Patch supplied by Burton Radons for his own SF bug #487390: Modifying
type.__module__ behavior.

This adds the module name and a dot in front of the type name in every
type object initializer, except for built-in types (and those that
already had this). Note that it touches lots of Mac modules -- I have
no way to test these but the changes look right. Apologies if they're
not. This also touches the weakref docs, which contains a sample type
object initializer. It also touches the mmap test output, because the
mmap type's repr is included in that output. It touches object.h to
put the correct description in a comment.
/external/python/cpython2/Modules/cStringIO.c
2f09812efa0701721825b17086de3631462039a6 07-Dec-2001 Guido van Rossum <guido@python.org> O_cwrite(): rewrote for clarity, replacing all the (Oobject *)self
casts with a variable oself that has the proper type. A smart
compiler may put this thing into a register.

(I'm not sure what good this does except satisfy my desire to
understand this function; I got a report about an uninitialized read
from Insure++ about this function and it hurt my eyes to even look at
it. I gotta run away or I'll get tempted to reformat the entire
file...)
/external/python/cpython2/Modules/cStringIO.c
e47df7a2117c14eb5b0445a3002766d54e75278d 24-Sep-2001 Marc-André Lemburg <mal@egenix.com> StringIO patch #462596: let's [c]StringIO accept read buffers on
input to .write() too.
/external/python/cpython2/Modules/cStringIO.c
3e8be722d9dba6c118443b46d508f394612e5f7d 22-Sep-2001 Barry Warsaw <barry@python.org> I_getiter(): Function for the tp_iter slot of Itype so that
cStringIO's can participate in the iterator protocol.

Fill the Itype.tp_iter slot with I_getiter()
/external/python/cpython2/Modules/cStringIO.c
cafd495dfed238afdf684ec1cede705bd93bfb5b 10-Feb-2001 Jeremy Hylton <jeremy@alum.mit.edu> In O_writelines: Replace use of string.joinfields with "".join.
/external/python/cpython2/Modules/cStringIO.c
e60de4d30984b6d551cda0515fb76ac02d547415 06-Oct-2000 Jim Fulton <jim@zope.com> Added a new "base" type, IOobject for which most of the
operations are defined. This will, hopefully clarify
some of the logic.

Added close test to raise proper error when operations
are performed on closed StringIOs.

Added a position argument to the truncate method.

Added a size argument to readline.

Added PyArg_Parse calls for methods that don't take arguments to
make sure they don't take arguments.
/external/python/cpython2/Modules/cStringIO.c
c912a3a8fd353fab8d075f0d449703b9174ec2b1 19-Sep-2000 Martin v. Löwis <martin@v.loewis.de> Implement readlines function. Closes Bug #110686.
/external/python/cpython2/Modules/cStringIO.c
e365fb8d1ff062d619f9476265e48e9ba8ab2bf6 03-Aug-2000 Andrew M. Kuchling <amk@amk.ca> Use METH_VARARGS instead of numeric constant 1 in method def. tables
/external/python/cpython2/Modules/cStringIO.c
58d0510245c65cff2ded9d3923bf1ef2b85f4214 24-Jul-2000 Thomas Wouters <thomas@python.org> ANSIfy some more forward declarations.
/external/python/cpython2/Modules/cStringIO.c
7e47402264cf87b9bbb61fc9ff610af08add7c7b 16-Jul-2000 Thomas Wouters <thomas@python.org> Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either
comments, docstrings or error messages. I fixed two minor things in
test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't").

There is a minor style issue involved: Guido seems to have preferred English
grammar (behaviour, honour) in a couple places. This patch changes that to
American, which is the more prominent style in the source. I prefer English
myself, so if English is preferred, I'd be happy to supply a patch myself ;)
/external/python/cpython2/Modules/cStringIO.c
03657cfdb056dbd36db12cc3db12a6b58a962e20 12-Jul-2000 Jeremy Hylton <jeremy@alum.mit.edu> replace PyXXX_Length calls with PyXXX_Size calls
/external/python/cpython2/Modules/cStringIO.c
aef1000bff903d8e5e113ee19ac7e018f645f8a9 19-Jun-2000 Fred Drake <fdrake@acm.org> Fixed docstring typo, reported by Skip Montanaro <skip@mojam.com>.
/external/python/cpython2/Modules/cStringIO.c
b18618dab7b6b85bb05b084693706e59211fa180 04-May-2000 Guido van Rossum <guido@python.org> Vladimir Marangozov's long-awaited malloc restructuring.
For more comments, read the patches@python.org archives.
For documentation read the comments in mymalloc.h and objimpl.h.

(This is not exactly what Vladimir posted to the patches list; I've
made a few changes, and Vladimir sent me a fix in private email for a
problem that only occurs in debug mode. I'm also holding back on his
change to main.c, which seems unnecessary to me.)
/external/python/cpython2/Modules/cStringIO.c
127b2ef2d568a929d08f07219a45283cb546ab00 13-Apr-2000 Jeremy Hylton <jeremy@alum.mit.edu> raise TypeError when bad argument passed to cStringIO.StringIO
/external/python/cpython2/Modules/cStringIO.c
43713e5a2899930a8698e244b0d0fef59a676d17 29-Feb-2000 Guido van Rossum <guido@python.org> Massive patch by Skip Montanaro to add ":name" to as many
PyArg_ParseTuple() format string arguments as possible.
/external/python/cpython2/Modules/cStringIO.c
17d53ecd8b8cd4f5680f978fb5503dbba0b0fe4c 15-Jun-1999 Guido van Rossum <guido@python.org> New version from Jim: don't call Py_FatalError() when initialization fails.
/external/python/cpython2/Modules/cStringIO.c
68de0641ce97d820999b6ce8d67aa9b08823b8bf 08-Feb-1999 Guido van Rossum <guido@python.org> The writelines() function was never tested and contained numerous bugs
(including a docstring saying "blah"). Fixed all this.

(Please review for potential memory leaks!)
/external/python/cpython2/Modules/cStringIO.c
476e49f055e56f1f5b9a9162a9a964deb92fe7df 15-Dec-1998 Guido van Rossum <guido@python.org> Jim Fulton writes:

This fixes a bug that can cause core dumps when doing seeks in input
StringIO objects. This has a number of other clean-ups.
/external/python/cpython2/Modules/cStringIO.c
3886bb6997f8f7b0b64eed19045161e697f415fe 04-Dec-1998 Guido van Rossum <guido@python.org> Add DL_EXPORT() to all modules that could possibly be used
on BeOS or Windows.
/external/python/cpython2/Modules/cStringIO.c
7d9b4133eb0771b1b6723570c1c24baa54a2af9d 25-Nov-1998 Guido van Rossum <guido@python.org> New version from Jim Fulton:

- New copyright. (Open source)

- Fixed problem in seek method. The seek method should (and now does)
fill with nulls when seeking past the end of the "file".
/external/python/cpython2/Modules/cStringIO.c
2a502d8304cdb92109a35ad32a3bfa4fe246d84f 24-Jul-1998 Guido van Rossum <guido@python.org> Use 'S' format character for the optional constructor argument, so we
get a decent error message when it's not a string (instead of
confusing errors when trying to use the thing).
/external/python/cpython2/Modules/cStringIO.c
7589b71c4afbbb098b47eb7f827f8648cf214a21 17-Jul-1998 Fred Drake <fdrake@acm.org> I_getattr(),
O_getattr(): Added read-only access to the closed attribute, based on comment
from Michael Scharf <Michael.Scharf@Rhein-Neckar.de>.
/external/python/cpython2/Modules/cStringIO.c
10032ebb48b4e9b8b2eb7c378d3a579da36204d6 11-Apr-1998 Fred Drake <fdrake@acm.org> Module docstring indicated seek() isn't implemented, but it is.
/external/python/cpython2/Modules/cStringIO.c
fdde96ce98f3e77dc27cac034bcb8b548b3c0046 04-Dec-1997 Guido van Rossum <guido@python.org> New versions of cPickle and cStringIO, from Jim Fulton's cPickle 1.0b1
distribution.
/external/python/cpython2/Modules/cStringIO.c
9efe8ef7a143d92cdf724c76f6bcf3f5c1ed7a66 03-Sep-1997 Guido van Rossum <guido@python.org> #Plug small memory leaks in constructors.
/external/python/cpython2/Modules/cStringIO.c
15a40394b0c21829ba9afbb739b2038b8211dabe 03-Sep-1997 Guido van Rossum <guido@python.org> Fix the bug Jeremy was experiencing: both the close() and the
dealloc() functions contained code to free/DECREF the buffer
(there were differences between I and O objects but the logic bug was
the same). Fixed this be setting the buffer pointer to NULL and
testing for that. (This also makes it safe to call close() more than
once.)

XXX Worry: what if you try to read() or write() once the thing is
closed?
/external/python/cpython2/Modules/cStringIO.c
142eeb8339e4f3bcf40765377a1856bcc9a5ea66 13-Aug-1997 Guido van Rossum <guido@python.org> cPickle release 0.3 from Jim Fulton
/external/python/cpython2/Modules/cStringIO.c
3dc35b0c66e2f0fc33346447041ad287bbf3d330 11-Apr-1997 Guido van Rossum <guido@python.org> My own patch: support writable 'softspace' attribute.
/external/python/cpython2/Modules/cStringIO.c
154417e27ba41676de8bdc1cb9a296c523bb0b95 09-Apr-1997 Guido van Rossum <guido@python.org> Unknown changes by Jim Fulton.
/external/python/cpython2/Modules/cStringIO.c
61a63e152d568d761e13988376c204dbc3675779 14-Jan-1997 Barry Warsaw <barry@python.org> Quieted gcc -Wall by removing unused local variables.

Suppressing my urge to reformat according to Python coding standards!
:-)
/external/python/cpython2/Modules/cStringIO.c
55702f8d6a4dd4d6422ddac7259ebb00dfcb108a 06-Jan-1997 Guido van Rossum <guido@python.org> Jim's latest version.
/external/python/cpython2/Modules/cStringIO.c
049cd90b93e4d25e0fac18d4cfbba6cc0b0e19d9 06-Dec-1996 Guido van Rossum <guido@python.org> Jim F's brainchild
/external/python/cpython2/Modules/cStringIO.c