[Zope-dev] Current state of Python 3 migration

Tres Seaver tseaver at palladion.com
Thu Dec 20 13:57:31 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/20/2012 04:49 AM, Sebastien Douche wrote:
> On Wed, Dec 19, 2012 at 5:28 PM, Tres Seaver <tseaver at palladion.com>
> wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>> 
>> On 12/19/2012 09:53 AM, Sebastien Douche wrote: zope.proxy's C
>> extension is not yet ported to Py3k.  Having just wrestled through
>> the persisetnt and BTrees extensions, I might be able to port it 
>> fairly quickly.
> 
> Next step, zope.hookable :).
> 
> Develop:
> '/home/sdouche/bb/slave/ztk1.1dev/Python3.3.0-Linux-64bit/build/src/zope.hookable'
>
> 
src/zope/hookable/_zope_hookable.c: In function 'hookable_dealloc':
> src/zope/hookable/_zope_hookable.c:83:7: error: 'hookable' has no 
> member named 'ob_type' src/zope/hookable/_zope_hookable.c: At top
> level: src/zope/hookable/_zope_hookable.c:138:55: error: 'RO'
> undeclared here (not in a function) (many warnings) 
> src/zope/hookable/_zope_hookable.c:159:27: error: 'cmpfunc'
> undeclared here (not in a function) 
> src/zope/hookable/_zope_hookable.c:159:26: error: initializer element 
> is not constant src/zope/hookable/_zope_hookable.c:159:26: error:
> (near initialization for 'hookabletype.tp_repr') 
> src/zope/hookable/_zope_hookable.c:159:35: error: expected '}' before 
> numeric constant src/zope/hookable/_zope_hookable.c: In function
> 'init_zope_hookable': src/zope/hookable/_zope_hookable.c:208:26:
> error: '_PyObject_GC_Del' undeclared (first use in this function) 
> (many warnings)

That is not the trunk version of zope.hookable, but the one on the 3.4
branch (never gonna be Py3k compatible).


Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlDTGUsACgkQ+gerLs4ltQ5+MQCfayCLoaDrky/lF/ljlkAMfC4j
Pd4AoIftYHstYW8tkQQWFNXutohsyI6V
=jx8I
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list