enum pickle issue in boost python
Ralf, I tried cvs HEAD and it has same problem. So I fixed it in my local copy (see diff below). This change is equivalent to class.cpp change made in version 1.50 of class.cpp: http://boost.cvs.sourceforge.net/boost/boost/libs/python/src/object/class.cpp?hideattic=0&r1=1.49&r2=1.50 Thanks -Shashank =================================================================== RCS file: /cvsroot/boost/boost/libs/python/src/object/enum.cpp,v retrieving revision 1.9 diff -r1.9 enum.cpp 144c144 < module_name += '.'; ---
d["__module__"] = module_name;
146,147c146 < object result = (object(metatype))( < module_name + name, make_tuple(base), d); ---
object result = (object(metatype))(name, make_tuple(base), d);
_________________________________________________________________ Share your latest news with your friends with the Windows Live Spaces friends module. http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk
participants (1)
-
Shashank Bapat