]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-33666: Add what's new entry for os.errno removal (GH-8497) (GH-8526)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 29 Jul 2018 09:39:48 +0000 (02:39 -0700)
committerPetr Viktorin <encukou@gmail.com>
Sun, 29 Jul 2018 09:39:48 +0000 (10:39 +0100)
(cherry picked from commit 1d2dafa249c7fb34f3d24e7a77d1bea02907d92b)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
Doc/whatsnew/3.7.rst

index ac13890d9794ef81221a96b740c2e8a026ed370c..cb4865e48403186c2ee21621e176b6cbbc7ad6f9 100644 (file)
@@ -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
 --------------------