[Python-Dev] Deprecating the formatter module

Ryan rymg19 at gmail.com
Mon Aug 12 23:01:36 CEST 2013

I never realized it existed till now. Considering the usually erratic projects I like do, I can see that coming in use in several in which I had to do odd workarounds.

Keep it, but put better documentation. It's needed.

Brett Cannon <brett at python.org> wrote:

>At the PyCon CA sprint someone discovered the formatter module had
>low code coverage. We discovered this is because it's tested by
>test_sundry, i.e. it's tested by importing it and that's it.
>We then realized that it isn't really used by anyone (pydoc uses it but
>should have been using textwrap). Looking at the history of the module
>has just been a magnet for cleanup revisions and not actual usage or
>development since Guido added it back in 1995.
>I have created http://bugs.python.org/issue18716 to deprecate the
>module for removal in Python 3.6 unless someone convinces me otherwise
>deprecation and removal is the wrong move.
>Python-Dev mailing list
>Python-Dev at python.org

Sent from my Android phone with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130812/9401ca87/attachment.html>

More information about the Python-Dev mailing list