[issue8193] test_zlib fails with zlib 1.2.4

Valerio report at bugs.python.org
Thu Apr 1 01:21:45 CEST 2010


Valerio <turturici.valerio at gmail.com> added the comment:

While i wait for what i have to do, i corrected the patch. But there is a problem: the version of zlib '1.2.3.3' raise an error on "distutils.version" module. The problem is caused by the regex expression in the "distutils.version" module:

version_re = re.compile(r'^(\d+) \. (\d+) (\. (\d+))? ([ab](\d+))?$',
                            re.VERBOSE)

this expression don't match with the type of version that zlib.ZLIB_VERSION return.

----------
Added file: http://bugs.python.org/file16711/8193.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8193>
_______________________________________


More information about the Python-bugs-list mailing list