[Distutils] Typo in "Distributing Python Modules: 3.3.3"

Thomas Heller theller at python.net
Wed Oct 8 06:03:39 EDT 2003


Joonas Paalasmaa <joonas.paalasmaa at iki.fi> writes:

> Hello,
>
> In section "3.3.3 Preprocessor options" of Distributing Python Modules
> it reads: Extension(...,
>          define_macros=[('NDEBUG', '1')],
>                         ('HAVE_STRFTIME', None),
>          undef_macros=['HAVE_FOO', 'HAVE_BAR']) Shouldn't it be
>          instead: Extension(...,
>          define_macros=[('NDEBUG', '1'),
>                         ('HAVE_STRFTIME', None)],
>          undef_macros=['HAVE_FOO', 'HAVE_BAR'])

Right. In general, it is better to create a patch on SF for these
things, but it is not needed for this one anymore, I fixed it.

Thanks,

Thomas




More information about the Distutils-SIG mailing list