← Back to team overview

launchpad-dev team mailing list archive

Re: [Launchpad Development] Update of "PythonMigrationStatus" by maxb

 

On Apr 12, 2010, at 12:59 PM, Launchpad Dev Wiki wrote:

>+ A multitude of modules of modules (sha, md5, sets, ...) are deprecated in
>Python 2.6, and many tests would fail merely because of unexpected
>!DeprecationWarnings, so we've had to jump through multiple hoops all over
>the place to suppress these. Ultimately we need a plan for removing these
>suppressions, because we ''want'' to know about deprecation long-term.

Although this won't help you right now, Python 2.7 and 3.2 will have a new
environment variable $PYTHONWARNINGS which can be set to control warnings just
like the -W flags.  I submitted this bug report after the last attempt to
upgrade to Python 2.6 revealed this problem.  It's probably too late to try to
officially backport this into Python 2.6 for Lucid though.

-Barry

Attachment: signature.asc
Description: PGP signature