[Pyrex] DeprecationWarning in Pyrex 0.9.8.5 and Python 2.6

Stefan Behnel stefan_ml at behnel.de
Tue Sep 2 15:47:01 CEST 2008


Francesc Alted wrote:
> This is a minor issue, but you may want to fix it for a future release
> of Pyrex.  It seems that Python 2.6 has declared the md5 module
> obsolete:
>
> $ pyrexc tables/utilsExtension.pyx --> tables/utilsExtension.c
> /usr/local/lib/python2.6/site-packages/Pyrex/Compiler/Scanning.py:39:
> DeprecationWarning: the md5 module is deprecated; use hashlib instead
>   import md5

Right, that's one of the things we fixed in Cython. Things like these are
usually commented with a "Py3" in the hg commit log.

Stefan




More information about the Pyrex mailing list