Skip to content
Prev Previous commit
Next Next commit
Merge branch 'master' into randrange-index
  • Loading branch information
serhiy-storchaka authored Dec 24, 2020
commit d2925e66c51e340881c56747842ed7db7e65f6bf
20 changes: 20 additions & 0 deletions Doc/whatsnew/3.10.rst
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,26 @@ Deprecated
* Deprecated support of non-integer arguments in :func:`random.randrange`.
(Contributed by Serhiy Storchaka in :issue:`37319`.)

* The various ``load_module()`` methods of :mod:`importlib` have been
documented as deprecated since Python 3.6, but will now also trigger
a :exc:`DeprecationWarning`. Use
:meth:`~importlib.abc.Loader.exec_module` instead.
(Contributed by Brett Cannon in :issue:`26131`.)

* :meth:`zimport.zipimporter.load_module` has been deprecated in
preference for :meth:`~zipimport.zipimporter.exec_module`.
(Contributed by Brett Cannon in :issue:`26131`.)

* The use of :meth:`~importlib.abc.Loader.load_module` by the import
system now triggers an :exc:`ImportWarning` as
:meth:`~importlib.abc.Loader.exec_module` is preferred.
(Contributed by Brett Cannon in :issue:`26131`.)

* ``sqlite3.OptimizedUnicode`` has been undocumented and obsolete since Python
3.3, when it was made an alias to :class:`str`. It is now deprecated,
scheduled for removal in Python 3.12.
(Contributed by Erlend E. Aasland in :issue:`42264`.)


Removed
=======
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.