<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Aug 12, 2013 at 12:22 PM, Brett Cannon <span dir="ltr"><<a href="mailto:brett@python.org" target="_blank">brett@python.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">At the PyCon CA sprint someone discovered the formatter module had somewhat 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.<div>



<br></div><div>We then realized that it isn't really used by anyone (pydoc uses it but it should have been using textwrap). Looking at the history of the module it has just been a magnet for cleanup revisions and not actual usage or development since Guido added it back in 1995.<div>



<div><br></div><div>I have created <a href="http://bugs.python.org/issue18716" target="_blank">http://bugs.python.org/issue18716</a> to deprecate the formatter module for removal in Python 3.6 unless someone convinces me otherwise that deprecation and removal is the wrong move.</div>



</div></div></div></blockquote><div><br></div><div>I wish we had a way to collect real-world usage on such things. I tried a couple of code search engines, but this one is difficult to unravel because many Python packages have their own formatter module (for example Django, pygments) that probably does something different.<br>

<br>Eli<br><br></div><div> </div></div></div></div>