Author vstinner
Recipients brett.cannon, vstinner
Date 2020-01-16.08:48:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579164481.25.0.406270516611.issue39352@roundup.psfhosted.org>
In-reply-to
Content
The formatter module has been deprecated in Python 3.4 by bpo-18716: commit 1448ecf470013cee63c0682f615c5256928dc6b0.

In 2014, its removal was scheduled in Python 3.6: commit 29636aeaccaf6a1412e0dc7c230db29cccf68381.

But bpo-25407 cancelled the removal from Python 3.6: commit 5ad5a7d31f5328c73df523b6ade330d88573717e

"The new PEP 4 policy of any module existing in both 2.7 and 3.5 applies here, hence the module will be with us for a bit longer."

In the meanwhile, I'm not aware of anyone opposed to the removal.

Python 2.7 reached it's end of life, so I propose to remove the module:
https://docs.python.org/3.8/library/formatter.html

If someone needs this module, it's a single formatter.py file: it can easily be copied from Python 3.8. The intent here is to reduce the size of the standard library to remove the maintenance burden on Python core developers.

Note: I'm surprised, but it seems like the formatter module has no test!?

Attached PR removes the module.
History
Date User Action Args
2020-01-16 08:48:01vstinnersetrecipients: + vstinner, brett.cannon
2020-01-16 08:48:01vstinnersetmessageid: <1579164481.25.0.406270516611.issue39352@roundup.psfhosted.org>
2020-01-16 08:48:01vstinnerlinkissue39352 messages
2020-01-16 08:48:00vstinnercreate