[Python-Dev] Deprecating the formatter module (original) (raw)
Ryan rymg19 at gmail.com
Mon Aug 12 23:01:36 CEST 2013
- Previous message: [Python-Dev] Deprecating the formatter module
- Next message: [Python-Dev] Deprecating the formatter module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 somewhat low code coverage. We discovered this is because it's tested by testsundry, 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 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. I have created http://bugs.python.org/issue18716 to deprecate the formatter module for removal in Python 3.6 unless someone convinces me otherwise that deprecation and removal is the wrong move.
------------------------------------------------------------------------
Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/rymg19%40gmail.com
-- 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>
- Previous message: [Python-Dev] Deprecating the formatter module
- Next message: [Python-Dev] Deprecating the formatter module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]