[Python-checkins] bpo-33666: Add what's new entry for os.errno removal (GH-8497) (GH-8526)

Petr Viktorin webhook-mailer at python.org
Sun Jul 29 05:39:52 EDT 2018


https://github.com/python/cpython/commit/78c54de575fd121d91749c2316fef1949d76fb07
commit: 78c54de575fd121d91749c2316fef1949d76fb07
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Petr Viktorin <encukou at gmail.com>
date: 2018-07-29T10:39:48+01:00
summary:

bpo-33666: Add what's new entry for os.errno removal (GH-8497) (GH-8526)

(cherry picked from commit 1d2dafa249c7fb34f3d24e7a77d1bea02907d92b)

Co-authored-by: Petr Viktorin <encukou at gmail.com>
Co-authored-by: INADA Naoki <methane at users.noreply.github.com>

files:
M Doc/whatsnew/3.7.rst

diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index ac13890d9794..cb4865e48403 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -2406,6 +2406,12 @@ Changes in the Python API
   dictionary are now being implicitly converted to strings.
   (Contributed by James Tocknell in :issue:`23835`.)
 
+* Several undocumented internal imports were removed.
+  One example is that ``os.errno`` is no longer available; use ``import errno``
+  directly instead.
+  Note that such undocumented internal imports may be removed any time without
+  notice, even in micro version releases.
+
 
 Changes in the C API
 --------------------



More information about the Python-checkins mailing list