[Python-checkins] CVS: python/nondist/peps pep-0239.txt,1.2,1.3 pep-0238.txt,1.2,1.3 pep-0237.txt,1.3,1.4
Moshe Zadka
moshez@users.sourceforge.net
Mon, 19 Mar 2001 11:36:48 -0800
Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv25751
Modified Files:
pep-0239.txt pep-0238.txt pep-0237.txt
Log Message:
Changes discussed in the mailing list.
Index: pep-0239.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0239.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** pep-0239.txt 2001/03/16 16:02:24 1.2
--- pep-0239.txt 2001/03/19 19:36:46 1.3
***************
*** 38,50 ****
The following attributes will be supported: .numerator and
! .denominator. The language definition will not define these other
! then that:
r.denominator * r == r.numerator
! In particular, no guarantees are made regarding the GCD or the
! sign of the denominator, even though in the proposed
! implementation, the GCD is always 1 and the denominator is always
! positive.
The method r.trim(max_denominator) will return the closest
--- 38,47 ----
The following attributes will be supported: .numerator and
! .denominator. The language definition will promise that
r.denominator * r == r.numerator
! that the GCD of the numerator and the denominator is 1 and that
! the denominator is positive.
The method r.trim(max_denominator) will return the closest
Index: pep-0238.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0238.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** pep-0238.txt 2001/03/16 16:02:24 1.2
--- pep-0238.txt 2001/03/19 19:36:46 1.3
***************
*** 90,93 ****
--- 90,94 ----
Should the // operator be renamed to "div"?
+ Should the // be made into a function called "div"?
References
Index: pep-0237.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0237.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** pep-0237.txt 2001/03/16 16:02:24 1.3
--- pep-0237.txt 2001/03/19 19:36:46 1.4
***************
*** 112,115 ****
--- 112,118 ----
implementations?
+ Define an C API that can be used to find out what the representation of an
+ int is.
+
Copyright