This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:38adminsetgithub: 47902
2009-03-11 05:12:08brett.cannonsetstatus: open -> closed
resolution: fixed
messages: + msg83456
2009-02-07 02:35:26brett.cannonsetfiles: + issue3652.diff
keywords: + patch
messages: + msg81332
2008-08-23 01:13:09brett.cannoncreate