[Python-checkins] python/dist/src/Objects object.c,2.211,2.212

jackjansen at users.sourceforge.net jackjansen at users.sourceforge.net
Wed Nov 19 10:24:50 EST 2003


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

Modified Files:
	object.c 
Log Message:
Getting rid of support for the ancient Apple MPW compiler.


Index: object.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/object.c,v
retrieving revision 2.211
retrieving revision 2.212
diff -C2 -d -r2.211 -r2.212
*** object.c	28 Oct 2003 12:05:47 -0000	2.211
--- object.c	19 Nov 2003 15:24:47 -0000	2.212
***************
*** 909,921 ****
  	 */
  
- #ifdef MPW /* MPW C modf expects pointer to extended as second argument */
- {
- 	extended e;
- 	fractpart = modf(v, &e);
- 	intpart = e;
- }
- #else
  	fractpart = modf(v, &intpart);
- #endif
  	if (fractpart == 0.0) {
  		/* This must return the same hash as an equal int or long. */
--- 909,913 ----





More information about the Python-checkins mailing list