[Python-Dev] PEP 594: Removing dead batteries from the standard library
vstinner at redhat.com
Tue May 21 19:06:34 EDT 2019
Le mar. 21 mai 2019 à 23:05, Nathaniel Smith <njs at pobox.com> a écrit :
> If the tests don't work and the module is unmaintained, then maybe we
> should disable the tests and put a prominent notice in the docs saying
> that it's unmaintained and any use is at your own risk. It's not a
> pleasant thing to do, but if that's the reality of the situation then
> it's probably better to be up front about it than to stick our fingers
> in our ears and waste folks time with spurious test failures. And
> perhaps someone would actually step up to maintain it.
Well, I already did that in the past.
Lib/test/test_ftplib.py: @skipUnless(False, "FIXME: bpo-32706")
=> skipped since 2018-01-29
Lib/test/test_nntplib.py: @unittest.skipIf(True, "FIXME: see bpo-32128")
=> skipped since 2017-11-25.
Oh, I even closed https://bugs.python.org/issue32128. Well, I'm kind
of tired of waiting for fixes in nntplib, so I decided to immediately
close the issue. I'm quite sure that nobody will fix it "soon" :-)
(hint: there FIXME is still there)
I'm not sure about documenting the module as "unmaintained".
Night gathers, and now my watch begins. It shall not end until my death.
More information about the Python-Dev