Update of /cvsroot/jython/jython/org/python/modules
In directory usw-pr-cvs1:/tmp/cvs-serv20101/modules
Modified Files:
cPickle.java
Log Message:
Added notes about current situation vs. CPython (relevant for 2.2 stuff)
__builtin__.type changed to work with PyMetaClass hook.
Index: cPickle.java
===================================================================
RCS file: /cvsroot/jython/jython/org/python/modules/cPickle.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** cPickle.java 2001/02/22 13:04:10 1.16
--- cPickle.java 2001/08/08 18:15:38 1.17
***************
*** 7,10 ****
--- 7,14 ----
*/
+ /* note about impl:
+ instanceof vs. CPython type(.) is .
+ */
+
package org.python.modules;
***************
*** 915,919 ****
}
! if (tup instanceof PyString) {
save_global(object, tup);
return;
--- 919,923 ----
}
! if (tup instanceof PyString) {
save_global(object, tup);
return;
|