[Python-Dev] Py3k DeprecationWarning in stdlib

Andrew Bennetts andrew-pythondev at puzzling.org
Thu Jun 26 07:49:16 CEST 2008


Brett Cannon wrote:
> On Wed, Jun 25, 2008 at 6:08 AM, Andrew Bennetts
[...]
> >
> > Should I file a bug for this?
> >
> 
> If you want, but Benjamin plans to undocument this for users along
> with all other test.support stuff (which I agree with). Most of the
> APIs in test.support were just quickly written and have not
> necessarily been thought through in order to make sure that the APIs
> makes sense (like in this case).

Ok, then we're back to there being no supported way to write tests that need to
intercept warnings.  Twisted has already suffered from this (JP reports that
Twisted's assertWarns is broken in 2.6), and I doubt it's alone.

So I guess I am filing a bug after all... :)

-Andrew.



More information about the Python-Dev mailing list