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: Backporting suppress context manager to 2.7
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 2.7
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: Bariša.Obradović, berker.peksag
Priority: normal Keywords: patch

Created on 2014-11-23 15:50 by Bariša.Obradović, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
suppress.patch Bariša.Obradović, 2014-11-23 15:50 Patch to backport suppress context manager to 2.7 review
Repositories containing patches
https://hg.python.org/cpython
Messages (2)
msg231565 - (view) Author: Bariša Obradović (Bariša.Obradović) Date: 2014-11-23 15:50
Backport one of the context manager in 3.4, to 2.7:
supressed

The patch was created by copy pasting code from 3.4 branch to 2.7 branch, and removing a single 3.4 feature:
-@support.requires_docstrings
msg231566 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2014-11-23 16:03
Thanks for the patch, but we don't backport new features to 2.7 unless they are related to PEP 434 and PEP 466. Please send your patch to https://bitbucket.org/ncoghlan/contextlib2
History
Date User Action Args
2022-04-11 14:58:10adminsetgithub: 67114
2014-11-23 16:34:14r.david.murraysetresolution: wont fix -> rejected
2014-11-23 16:03:54berker.peksagsetcomponents: + Library (Lib), - Build
2014-11-23 16:03:21berker.peksagsetstatus: open -> closed

nosy: + berker.peksag
messages: + msg231566

resolution: wont fix
stage: resolved
2014-11-23 15:50:17Bariša.Obradovićcreate