[Zope-Checkins] CVS: Zope2 - cStringIO.c:1.30

Jim Fulton jim@digicool.com
Wed, 4 Oct 2000 18:00:51 -0400 (EDT)


Update of /cvs-repository/Zope2/lib/Components/cPickle
In directory korak.digicool.com:/projects/users/jim/Zope2/lib/Components/cPickle

Modified Files:
	cStringIO.c 
Log Message:
Folded in a number of changes from Python CVS.

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.

Guido-fied some of the indentation.