classification
Title: Support new features of ZLIB 1.2.4
Type: enhancement Stage:
Components: Versions: Python 3.3
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Arfrever, Todd.Rovito, abhishek_bits, giampaolo.rodola, jcea, nadeem.vawda
Priority: normal Keywords: easy

Created on 2010-04-26 17:23 by jcea, last changed 2012-01-27 21:46 by Arfrever.

Messages (8)
msg104254 - (view) Author: Jesús Cea Avión (jcea) * (Python committer) Date: 2010-04-26 17:23
Zlib 1.2.5 adds new features like "inflateReset2()", "inflateMark()", or "Z_TREES" flags.

We should support them if we have zlib 1.2.5 installed.

I think the patch is trivial, beside testing that we have a recent zlib version.
msg104256 - (view) Author: Jesús Cea Avión (jcea) * (Python committer) Date: 2010-04-26 17:30
Relevant links:

http://www.zlib.net/
http://www.zlib.net/manual.html


My mistake: these new features were added in zlib 1.2.4, not 1.2.5.
msg104284 - (view) Author: Giampaolo Rodola' (giampaolo.rodola) (Python committer) Date: 2010-04-26 22:29
Do you intend to provide a patch?
msg104289 - (view) Author: Jesús Cea Avión (jcea) * (Python committer) Date: 2010-04-26 23:25
I am documenting a "need" and marking it as "easy".

If somebody else want to work on this, perfect. If not, I would adopt it in the future, and provide a patch myself. I rather prefer the first option, and I think is a good issue for a newbie (with C knowledge).

Let's say this issue is a "to be done". Creating the issue will prevent me to forget about modern zlib support in Python. But if anybody else step forward, I will be glad :).
msg152088 - (view) Author: abhishek (abhishek_bits) Date: 2012-01-27 12:21
I think New features like "inflateReset2()", "inflateMark()", or "Z_TREES" flags are included in python 3.2.2.
msg152089 - (view) Author: Nadeem Vawda (nadeem.vawda) * (Python committer) Date: 2012-01-27 12:37
No, the latest revision of Modules/zlibmodule.c doesn't use any of these
new features.
msg152115 - (view) Author: abhishek (abhishek_bits) Date: 2012-01-27 20:14
Check This out
http://hg.python.org/cpython/file/b99c54acb22d/Modules/zlib/inflate.c
http://hg.python.org/cpython/file/b99c54acb22d/Modules/zlib/zconf.h
http://hg.python.org/cpython/file/b99c54acb22d/Modules/zlib/zconf.in.h

All three files contain these functions
msg152127 - (view) Author: Arfrever Frehtes Taifersar Arahesis (Arfrever) Date: 2012-01-27 21:46
Modules/zlib directory contains only bundled copy of zlib-1.2.5.
zlib Python module uses Modules/zlibmodule.c file.
History
Date User Action Args
2012-01-27 21:46:07Arfreversetnosy: + Arfrever

messages: + msg152127
versions: + Python 3.3, - Python 3.2
2012-01-27 20:14:38abhishek_bitssetmessages: + msg152115
2012-01-27 12:37:55nadeem.vawdasetmessages: + msg152089
2012-01-27 12:21:39abhishek_bitssetnosy: + abhishek_bits
messages: + msg152088
2012-01-26 13:04:16nadeem.vawdasetnosy: + nadeem.vawda
2010-08-02 00:54:28Todd.Rovitosetnosy: + Todd.Rovito
2010-04-26 23:25:00jceasetmessages: + msg104289
2010-04-26 22:29:44giampaolo.rodolasetnosy: + giampaolo.rodola
messages: + msg104284
2010-04-26 17:31:01jceasettitle: Support new features of ZLIB 1.2.5 -> Support new features of ZLIB 1.2.4
2010-04-26 17:30:35jceasetmessages: + msg104256
2010-04-26 17:23:08jceacreate