[Python-Dev] A new dictionary implementation

Mark Shannon mark at hotpy.org
Thu Feb 9 12:18:57 CET 2012


francis wrote:
> Hi Mark,
> I've just cloned :
>>
>> Repository: https://bitbucket.org/markshannon/cpython_new_dict
> ....
>> Do please try it on your machine(s).
> that's a:
> Linux random 3.1.0-1-amd64 #1 SMP Tue Jan 10 05:01:58 UTC 2012 x86_64 
> GNU/Linux
> 
> 
> and I'm getting:
> 
> gcc -pthread -c -Wno-unused-result -g -O0 -Wall -Wstrict-prototypes -I. 
> -I./Include -DPy_BUILD_CORE -o Objects/dictobject.o Objects/dictobject.c
> gcc -pthread -c -Wno-unused-result -g -O0 -Wall -Wstrict-prototypes -I. 
> -I./Include -DPy_BUILD_CORE -o Objects/memoryobject.o 
> Objects/memoryobject.c
> Objects/dictobject.c: In function ‘dict_popitem’:
> Objects/dictobject.c:2208:5: error: ‘PyDictKeyEntry’ has no member named 
> ‘me_value’
> make: *** [Objects/dictobject.o] Error 1
> make: *** Waiting for unfinished jobs....

Bah... typo in assert statement.
My fault for not testing the debug build (release build worked fine).
Both builds working now.

Cheers,
Mark.


More information about the Python-Dev mailing list