[Zope-dev] I want some Python 3 C coding style guidance.

Wichert Akkerman wichert at wiggy.net
Thu Nov 25 05:37:52 EST 2010


On 11/25/10 11:31 , Lennart Regebro wrote:
> Which style do you prefer? I'll make zope.hookable, zope.i18nmessage
> and zope.proxy use the same style if we can agree on one.

The second. #ifdefs in code make code hard to follow and tend to lead to 
problems. FWIW the Linux kernel tree has a similar policy: they hide all 
differences behind macros and helper functions.

Wichert.


More information about the Zope-Dev mailing list