bpo-33666: Add what's new entry for os.errno removal (GH-8497) (GH-8526) · python/cpython@78c54de (original) (raw)

Original file line number Diff line number Diff line change
@@ -2406,6 +2406,12 @@ Changes in the Python API
2406 2406 dictionary are now being implicitly converted to strings.
2407 2407 (Contributed by James Tocknell in :issue:`23835`.)
2408 2408
2409 +* Several undocumented internal imports were removed.
2410 + One example is that ``os.errno`` is no longer available; use ``import errno``
2411 + directly instead.
2412 + Note that such undocumented internal imports may be removed any time without
2413 + notice, even in micro version releases.
2414 +
2409 2415
2410 2416 Changes in the C API
2411 2417 --------------------