Update of /cvsroot/jython/jython/org/python/core
In directory usw-pr-cvs1:/tmp/cvs-serv3495
Modified Files:
Py.java
Log Message:
Added newLong(BigInteger), needed by the int/long unification.
Index: Py.java
===================================================================
RCS file: /cvsroot/jython/jython/org/python/core/Py.java,v
retrieving revision 2.64
retrieving revision 2.65
diff -C2 -d -r2.64 -r2.65
*** Py.java 6 Jan 2002 21:19:13 -0000 2.64
--- Py.java 26 May 2002 20:29:47 -0000 2.65
***************
*** 433,436 ****
--- 433,440 ----
}
+ public static PyLong newLong(java.math.BigInteger i) {
+ return new PyLong(i);
+ }
+
public static PyComplex newImaginary(double v) {
return new PyComplex(0, v);
|