On Tue, Jan 18, 2022 at 10:30 AM Brett Cannon <brett@python.org> wrote:
 I remember that "noisy by default" deprecation warnings were widely despised.
One thought, what if they were off by default UNLESS you were doing unit tests?

I believe pytest already does this.

Indeed it does, at least in recent versions (1-2 yrs ago?)

And even that is pretty darn annoying. It's really helpful for my code, but they often get lost in the noise of all the ones I get from upstream packages.

I suppose I need to take the time to figure out how to silence the ones I don't want.

And it does prompt me to make sure that the upstream packages are working on it.

Now we just need to get more people to use pytest :-)


Christopher Barker, PhD (Chris)

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython