[Patches] [ python-Patches-1503046 ] Conditional compilation of zlib.(de)compressobj.copy
SourceForge.net
noreply at sourceforge.net
Mon Jun 12 05:34:31 CEST 2006
Patches item #1503046, was opened at 2006-06-08 10:22
Message generated for change (Settings changed) made by nnorwitz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1503046&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Modules
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 7
Submitted By: Chris AtLee (catlee)
>Assigned to: Neal Norwitz (nnorwitz)
Summary: Conditional compilation of zlib.(de)compressobj.copy
Initial Comment:
First pass at a patch to only compile the new copy()
methods for (de)compression objects in zlib if the zlib
library supports them.
I ran autoheader to pick up the AC_DEFINE from
configure.in, and it looks like it changed
pyconfig.h.in quite a bit. Probably the only part that
needs to stay in is the #undef ZLIB_HAS_COPY part.
If inflateCopy() is not found in the zlib library, then
the copy() methods are not compiled.
Lib/test_zlib.py has been updated to only test these
methods if they exist.
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2006-06-11 20:34
Message:
Logged In: YES
user_id=33168
Thanks! I changed ZLIB_HAS_COPY to HAVE_ZLIB_COPY to be
more consistent with the rest of pyconfig.h.in.
Committed revision 46886.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1503046&group_id=5470
More information about the Patches
mailing list