Issue 19165: Change formatter warning to DeprecationWarning in 3.5 (original) (raw)

Issue19165

Created on 2013-10-04 15:40 by brett.cannon, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg199214 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2013-10-08 16:13
You two may know what this is about, but I have no clue :) A few more details would help if someone wants to try their hand at a patch.
msg199280 - (view) Author: Esa Peuha (Esa.Peuha) Date: 2013-10-09 10:01
The wanted patch seems to be very simple: change PendingDeprecationWarning to DeprecationWarning on line 24 of Lib/formatter.py but only for Python 3.5 (i.e. no need to do anything until 3.4 is released). On a related note, should formatter be added to PEP 4?
msg199310 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2013-10-09 16:54
Esa is right; this is a placeholder bug to remind me to do this in Python 3.5. And Esa is also right about adding formatter to PEP 4; I'll reopen the original bug to remind me to do that.
msg214373 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-03-21 14:52
New changeset 455e5385752a by Brett Cannon in branch 'default': Issue #19165: The formatter module graduates to full deprecation. http://hg.python.org/cpython/rev/455e5385752a
History
Date User Action Args
2022-04-11 14:57:51 admin set github: 63364
2014-03-21 14:52:33 brett.cannon set status: open -> closedresolution: fixed
2014-03-21 14:52:19 python-dev set nosy: + python-devmessages: +
2013-10-09 16:54:41 brett.cannon set dependencies: + Deprecate the formatter module
2013-10-09 16:54:09 brett.cannon set messages: +
2013-10-09 10:01:08 Esa.Peuha set nosy: + Esa.Peuhamessages: +
2013-10-09 01:59:41 berker.peksag set nosy: + berker.peksag
2013-10-08 16:13:00 r.david.murray set nosy: + r.david.murraymessages: +
2013-10-05 00:25:23 ezio.melotti set nosy: + ezio.melottitype: enhancementstage: needs patch
2013-10-04 15:40:15 brett.cannon create