Remove formatter module
A few days ago, Terry J. Reedy created the issue about the formatter module. (https://bugs.python.org/issue42299) The issue is mainly about testing code but also discussing the removal of the module. I noticed that the formatter module was deprecated in 3.4 and it was originally scheduled to be removed in 3.6. But the removal was delayed until 2.7 EOL. Now 2.7 is EOL and there is no usage in stdlib. So IMHO, it is good to remove the formatter module in 3.10 So before removing it, I would like to hear the concern. Regards, Dong-hee
Since importing the module emits a DeprecationWarning at runtime since Python 3.4 and the deprecation is properly documented, IMO it's fine to remove it right now: https://docs.python.org/dev/library/formatter.html I never used this module, I don't know what it is. "Formatter objects transform an abstract flow of formatting events into specific output events on writer objects." Victor Le mar. 24 nov. 2020 à 06:42, Dong-hee Na <donghee.na@python.org> a écrit :
A few days ago, Terry J. Reedy created the issue about the formatter module. (https://bugs.python.org/issue42299)
The issue is mainly about testing code but also discussing the removal of the module. I noticed that the formatter module was deprecated in 3.4 and it was originally scheduled to be removed in 3.6. But the removal was delayed until 2.7 EOL.
Now 2.7 is EOL and there is no usage in stdlib. So IMHO, it is good to remove the formatter module in 3.10
So before removing it, I would like to hear the concern.
Regards, Dong-hee
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-leave@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/ZEDIBBYC... Code of Conduct: http://python.org/psf/codeofconduct/
-- Night gathers, and now my watch begins. It shall not end until my death.
+1 vote on removal. No concerns. It's been deprecated for a long time now (since 3.4). On Tue, Nov 24, 2020 at 3:54 AM Victor Stinner <vstinner@python.org> wrote:
Since importing the module emits a DeprecationWarning at runtime since Python 3.4 and the deprecation is properly documented, IMO it's fine to remove it right now: https://docs.python.org/dev/library/formatter.html
I never used this module, I don't know what it is.
"Formatter objects transform an abstract flow of formatting events into specific output events on writer objects."
Victor
Le mar. 24 nov. 2020 à 06:42, Dong-hee Na <donghee.na@python.org> a écrit :
A few days ago, Terry J. Reedy created the issue about the formatter
module.
(https://bugs.python.org/issue42299)
The issue is mainly about testing code but also discussing the removal of the module. I noticed that the formatter module was deprecated in 3.4 and it was originally scheduled to be removed in 3.6. But the removal was delayed until 2.7 EOL.
Now 2.7 is EOL and there is no usage in stdlib. So IMHO, it is good to remove the formatter module in 3.10
So before removing it, I would like to hear the concern.
Regards, Dong-hee
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-leave@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/ZEDIBBYC... Code of Conduct: http://python.org/psf/codeofconduct/
-- Night gathers, and now my watch begins. It shall not end until my death. _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-leave@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/CG7C333B... Code of Conduct: http://python.org/psf/codeofconduct/
On Tue, Nov 24, 2020 at 12:51 PM Victor Stinner <vstinner@python.org> wrote:
I never used this module, I don't know what it is.
I've run a quick search on GitHub and the only meaningful reference I could find is the Grail browser (which had its last release, AFAICT, in 1999). http://grail.sourceforge.net/ S. -- Stefane Fermigier - http://fermigier.com/ - http://twitter.com/sfermigier - http://linkedin.com/in/sfermigier Founder & CEO, Abilian - Enterprise Social Software - http://www.abilian.com/ Chairman, National Council for Free & Open Source Software (CNLL) - http://cnll.fr/ Founder & Organiser, PyParis & PyData Paris - http://pyparis.org/ & http://pydata.fr/
Thanks everybody I will merge this PR until tomorrow ;) 2020년 11월 24일 (화) 오후 10:08, Stéfane Fermigier <sf@fermigier.com>님이 작성:
On Tue, Nov 24, 2020 at 12:51 PM Victor Stinner <vstinner@python.org> wrote:
I never used this module, I don't know what it is.
I've run a quick search on GitHub and the only meaningful reference I could find is the Grail browser (which had its last release, AFAICT, in 1999).
S.
-- Stefane Fermigier - http://fermigier.com/ - http://twitter.com/sfermigier - http://linkedin.com/in/sfermigier Founder & CEO, Abilian - Enterprise Social Software - http://www.abilian.com/ Chairman, National Council for Free & Open Source Software (CNLL) - http://cnll.fr/ Founder & Organiser, PyParis & PyData Paris - http://pyparis.org/ & http://pydata.fr/
On Tue, Nov 24, 2020 at 10:59 AM Stéfane Fermigier <sf@fermigier.com> wrote:
I've run a quick search on GitHub and the only meaningful reference I could find is the Grail browser (which had its last release, AFAICT, in 1999).
Oh, the memories! Looking at docs, I can vaguely recall using the API, but... it definitely doesn't belong in the stdlib. -Fred -- Fred L. Drake, Jr. <fred at fdrake.net> "There is nothing more uncommon than common sense." --Frank Lloyd Wright
participants (5)
-
Dong-hee Na
-
Fred Drake
-
Senthil Kumaran
-
Stéfane Fermigier
-
Victor Stinner