New submission from STINNER Victor <vstin...@python.org>:

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.

----------
components: Library (Lib)
messages: 360098
nosy: brett.cannon, vstinner
priority: normal
severity: normal
status: open
title: Remove the formatter module, deprecated since Python 3.4
versions: Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39352>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to