[ZODB-Dev] zodbpickle claim (but OS X is not unix)

Christian Tismer tismer at stackless.com
Wed Jul 3 01:01:14 CEST 2013


On 03.07.13 00:41, Christian Tismer wrote:

sorry, I hit the send button while refining my text.
Here it goes:

> So on OS X Mountain lion, I get with "$ pip install zodbpickle":
>
>> cc -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include 
>> -I/usr/local/opt/sqlite/include -DNDEBUG -g -fwrapv -O3 -Wall 
>> -Wstrict-prototypes 
>> -I/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/include/python2.7 
>> -c src/zodbpickle/_pickle_27.c -o 
>> build/temp.macosx-10.8-x86_64-2.7/src/zodbpickle/_pickle_27.o
>>
>> src/zodbpickle/_pickle_27.c:6254:13: error: void function 
>> 'init_pickle' should not return a value [-Wreturn-type]
>>
>>             return -1;
>>
>>             ^      ~~
>>
>> src/zodbpickle/_pickle_27.c:6259:13: error: void function 
>> 'init_pickle' should not return a value [-Wreturn-type]
>>
>>             return -1;
>>
>>             ^      ~~
>>
>> 2 errors generated.
>>
>> error: command 'cc' failed with exit status 1
>
I would appreciate if that simple-to-fix bug could be removed,
and I would be happy to help with this.

And while we are at it: How about completion of the module, to let it
define standard things like DEFAULT_PROTOCOL ?
Or is there a reason to avoid this (because Python2 doesn't have it)?

Please don't get me wrong, I really like that module and want it to set 
the standard.

Cheers -- chris

-- 
Christian Tismer             :^)   <mailto:tismer at stackless.com>
Software Consulting          :     Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 121     :    *Starship* http://starship.python.net/
14482 Potsdam                :     PGP key -> http://pgp.uni-mainz.de
phone +49 173 24 18 776  fax +49 (30) 700143-0023
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
       whom do you want to sponsor today?   http://www.stackless.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.zope.org/pipermail/zodb-dev/attachments/20130703/78082dc2/attachment.html>


More information about the ZODB-Dev mailing list