[Zope-dev] Zope2_Porting-Fixing module Acquisition

ranjith kannikara ranjithkannikara at gmail.com
Fri Jun 13 14:56:41 EDT 2008


During the porting of Zope2 to python2.5 , the failures in the module
Acquisition is regarding the C-API changes. This failures can be
removed by mapping the function Wrapper_compare to tp_richcompare
which is now mapped in to  the tp_compare in the extension file
Acquisition/_Acquisition.c. Part of the new code I introduced was
copied from datetimemodule.c from Python 2.5 . Right now its not
showing any failures or errors with both python2.4 and python2.5.

The patch is   http://svn.zope.org/Zope/branches/gsoc-python-2.5/?rev=87371&view=rev

Please review this patch. Is this changes and  the function from
datetimemodule.c. If not is there any suggestions?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-acqusition-py25.diff
Type: text/x-patch
Size: 2144 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20080614/5a361589/fix-acqusition-py25-0001.bin

More information about the Zope-Dev mailing list