From: Ethan Glasser-C. <gla...@us...> - 2007-06-14 18:16:47
|
Update of /cvsroot/pyode/pyode/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29038/src Modified Files: ode.pyx Log Message: Revert weakref patch; it breaks the tutorials. Index: ode.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/ode.pyx,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** ode.pyx 5 Jun 2007 09:03:10 -0000 1.19 --- ode.pyx 14 Jun 2007 18:16:47 -0000 1.20 *************** *** 152,157 **** # Lookup table for geom objects: C ptr -> Python object ! import weakref ! _geom_c2py_lut = weakref.WeakValueDictionary() # Mass --- 152,160 ---- # Lookup table for geom objects: C ptr -> Python object ! ! ## This causes some kind of weird bug! Need to fix this. ! #import weakref ! #_geom_c2py_lut = weakref.WeakValueDictionary() ! _geom_c2py_lut = {} # Mass |