[Python-Dev] Re: Remove formatter module

2020-11-24 Thread Fred Drake
On Tue, Nov 24, 2020 at 10:59 AM Stéfane Fermigier 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). > > http://grail.sourceforge.net/ Oh, the memories! Looking at docs, I can vaguely r

[Python-Dev] Re: Remove formatter module

2020-11-24 Thread Stéfane Fermigier
On Tue, Nov 24, 2020 at 12:51 PM Victor Stinner 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

[Python-Dev] Re: Remove formatter module

2020-11-24 Thread Dong-hee Na
Thanks everybody I will merge this PR until tomorrow ;) 2020년 11월 24일 (화) 오후 10:08, Stéfane Fermigier 님이 작성: > > > On Tue, Nov 24, 2020 at 12:51 PM Victor Stinner > 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

[Python-Dev] Re: Remove formatter module

2020-11-24 Thread Senthil Kumaran
+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 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

[Python-Dev] Re: Remove formatter module

2020-11-24 Thread Victor Stinner
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

[Python-Dev] Re: Remove formatter module from Python 3.9, deprecated for 7 years (Python 3.4)

2020-01-17 Thread Gregory P. Smith
As another datapoint, in an internal codebase with a high XX million lines of Python code, I see a mere 7 uses. Most of which are in legacy things that would be trivial to use f-strings instead if the code doesn't just get deleted when the owners notice. :) (and my team is responsible for upgradi

[Python-Dev] Re: Remove formatter module from Python 3.9, deprecated for 7 years (Python 3.4)

2020-01-17 Thread Gregory P. Smith
+1 remove it to match that policy. I find it unlikely someone will ask for it to be restored, but our first response before doing so should be to see if they can instead use it as a dependency via PyPI: Someone who wants to maintain it for future use can take 3.8 formatter module and put it there.

[Python-Dev] Re: Remove formatter module from Python 3.9, deprecated for 7 years (Python 3.4)

2020-01-17 Thread Andrew Svetlov
I have no objections, the module raises the explicit deprecation warning since 2013. On Fri, Jan 17, 2020 at 7:31 PM Victor Stinner wrote: > > Hi, > > I proposed https://bugs.python.org/issue39352 to remove the formatter > module. It's deprecated since Python 3.4. The main reason why it's > still