Issue 3652: Remove DeprecationWarning in _warnings about 'line' (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/47902

classification

Title: Remove DeprecationWarning in _warnings about 'line'
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.1, Python 2.7

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: brett.cannon Nosy List: brett.cannon
Priority: normal Keywords: patch

Created on 2008-08-23 01:13 by brett.cannon, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue3652.diff brett.cannon,2009-02-07 02:35
Messages (3)
msg71797 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2008-08-23 01:13
The DeprecationWarning introduced in Python 2.6/3.0 about the 'line' argument for showwarning() can be removed in 2.7/3.1.
msg81332 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2009-02-07 02:35
Here is a patch to remove the DeprecationWarning.
msg83456 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2009-03-11 05:12
Applied in r70305 on trunk. Apparently I had already applied the patch for py3k.
History
Date User Action Args
2022-04-11 14:56:38 admin set github: 47902
2009-03-11 05:12:08 brett.cannon set status: open -> closedresolution: fixedmessages: +
2009-02-07 02:35:26 brett.cannon set files: + issue3652.diffkeywords: + patchmessages: +
2008-08-23 01:13:09 brett.cannon create