[Python-checkins] CVS: python/dist/src/Objects fileobject.c,2.146,2.147

Martin v. L?wis loewis@users.sourceforge.net
Fri, 15 Mar 2002 09:42:19 -0800


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv10488/Objects

Modified Files:
	fileobject.c 
Log Message:
Patch #530105: Allow file object may to be subtyped


Index: fileobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/fileobject.c,v
retrieving revision 2.146
retrieving revision 2.147
diff -C2 -d -r2.146 -r2.147
*** fileobject.c	12 Mar 2002 03:04:44 -0000	2.146
--- fileobject.c	15 Mar 2002 17:42:16 -0000	2.147
***************
*** 39,53 ****
  
  
- typedef struct {
- 	PyObject_HEAD
- 	FILE *f_fp;
- 	PyObject *f_name;
- 	PyObject *f_mode;
- 	int (*f_close)(FILE *);
- 	int f_softspace; /* Flag used by 'print' command */
- 	int f_binary; /* Flag which indicates whether the file is open
- 			 open in binary (1) or test (0) mode */
- } PyFileObject;
- 
  FILE *
  PyFile_AsFile(PyObject *f)
--- 39,42 ----