(prepep) Preventing future issues with warnings as errors

I don’t want to turn this into a rehash of fighting about pep 765, but for those unaware, the problems with it were recently summed up in the thread about it.

This summation is relevent to points 1 and 2, and I believe that if points one and two are adhered to as part of process, it would prevent a repeat.

While I somewhat agree with 3 and 4, I would really prefer if such new warnings were just left to linters in the future.

Something that was proposed in that thread that sort of slipped by in much of the frustration was the potential for a core developer endorsed lint configuration that was tailored for things that are known common footguns, and a way to easily ship this with the interpreter, but as a seperate tool the interpreter runs (Even if it runs it by default to help those who don’t know to know to turn it on), not as part of the interpreter core itself.

2 Likes