diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2010-05-07 11:30:47 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2010-05-07 11:30:47 (GMT) |
commit | d1e696b60f9752221e1d086a4fd40c36b540ad05 (patch) | |
tree | 0c0c11db6f5d10e2cfca8e3111f6a017dd964e2b /Doc/whatsnew | |
parent | d69e6ee6565fffe3f8af424671411cdab64be45c (diff) | |
download | cpython-d1e696b60f9752221e1d086a4fd40c36b540ad05.zip cpython-d1e696b60f9752221e1d086a4fd40c36b540ad05.tar.gz cpython-d1e696b60f9752221e1d086a4fd40c36b540ad05.tar.bz2 |
Re-word text
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/2.7.rst | 36 |
1 files changed, 23 insertions, 13 deletions
diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst index dc52e2c..d1ee0b3 100644 --- a/Doc/whatsnew/2.7.rst +++ b/Doc/whatsnew/2.7.rst @@ -69,8 +69,8 @@ The Future for Python 2.x ========================= Python 2.7 is intended to be the last major release in the 2.x series. -Though more major releases have not been absolutely ruled out, the -Python maintainers are planning to focus their efforts on Python 3.x. +The Python maintainers are planning to focus their future efforts on +the Python 3.x series. This means that 2.7 will remain in place for a long time, running production systems that have not been ported to Python 3.x. @@ -78,17 +78,27 @@ Two consequences of the long-term significance of 2.7 are: * It's very likely the 2.7 release will have a longer period of maintenance compared to earlier 2.x versions. Python 2.7 will - continue to be maintained while the transition to 3.x is in - progress, and that transition will itself be lengthy. Most 2.x - versions are maintained for about 4 years, from the first to the - last bugfix release; patchlevel releases for Python 2.7 will - probably be made for at least 6 years. - -* Because 2.7 will be running production applications, a policy - decision was made to silence warnings only of interest to developers - by default. Silencing :exc:`DeprecationWarning` and its descendants - prevents users from seeing warnings triggered by an application. - (Carried out in :issue:`7319`.) + continue to be maintained while the transition to 3.x continues. + Maintenance releases for Python 2.7 will probably be made for 5 + years. + +* A policy decision was made to silence warnings only of interest to + developers by default. :exc:`DeprecationWarning` and its + descendants are now ignored unless otherwise requested, preventing + users from seeing warnings triggered by an application. (Carried + out in :issue:`7319`.) + + In previous releases, :exc:`DeprecationWarning` messages were + enabled by default, providing Python developers with a clear + indication of where their code may break in a future major version + of Python. + + However, there are increasingly many users of Python-based + applications who are not directly involved in the development of + those applications. :exc:`DeprecationWarning` messages are + irrelevant to such users, making them worry about an application + that's actually working correctly and burdening the developers of + these applications with responding to these concerns. You can re-enable display of :exc:`DeprecationWarning` messages by running Python with the :option:`-Wdefault` (short form: |