[Python-checkins] CVS: python/dist/src/Objects fileobject.c,2.154,2.155
Guido van Rossum
gvanrossum@users.sourceforge.net
Sat, 06 Apr 2002 22:28:03 -0800
- Previous message: [Python-checkins] CVS: python/nondist/sandbox/ast/tests README,NONE,1.1 asdl.asdl,NONE,1.1 errors.asdl,NONE,1.1 pattern.asdl,NONE,1.1 rcc.asdl,NONE,1.1 slp.asdl,NONE,1.1 slp3.asdl,NONE,1.1 test.asdl,NONE,1.1 toplevel.asdl,NONE,1.1 zsuif.asdl,NONE,1.1
- Next message: [Python-checkins] CVS: python/dist/src/Modules threadmodule.c,2.48,2.49
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv25994
Modified Files:
fileobject.c
Log Message:
isatty() should return a bool.
Index: fileobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/fileobject.c,v
retrieving revision 2.154
retrieving revision 2.155
diff -C2 -d -r2.154 -r2.155
*** fileobject.c 3 Apr 2002 22:41:51 -0000 2.154
--- fileobject.c 7 Apr 2002 06:28:00 -0000 2.155
***************
*** 566,570 ****
res = isatty((int)fileno(f->f_fp));
Py_END_ALLOW_THREADS
! return PyInt_FromLong(res);
}
--- 566,570 ----
res = isatty((int)fileno(f->f_fp));
Py_END_ALLOW_THREADS
! return PyBool_FromLong(res);
}
- Previous message: [Python-checkins] CVS: python/nondist/sandbox/ast/tests README,NONE,1.1 asdl.asdl,NONE,1.1 errors.asdl,NONE,1.1 pattern.asdl,NONE,1.1 rcc.asdl,NONE,1.1 slp.asdl,NONE,1.1 slp3.asdl,NONE,1.1 test.asdl,NONE,1.1 toplevel.asdl,NONE,1.1 zsuif.asdl,NONE,1.1
- Next message: [Python-checkins] CVS: python/dist/src/Modules threadmodule.c,2.48,2.49
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]