Skip to content

Commit

Permalink
Merge pull request #1643 from pallets/remove-import-magic
Browse files Browse the repository at this point in the history
backport "remove lazy importer" to 0.16
  • Loading branch information
davidism committed Sep 17, 2019
2 parents 71eab19 + 5493918 commit 5b48c2c
Show file tree
Hide file tree
Showing 16 changed files with 290 additions and 499 deletions.
18 changes: 18 additions & 0 deletions CHANGES.rst
@@ -1,5 +1,23 @@
.. currentmodule:: werkzeug

Version 0.16.0
--------------

Unreleased

- Deprecate most top-level attributes provided by the ``werkzeug``
module in favor of direct imports. The deprecated imports will be
removed in version 1.0.

For example, instead of ``import werkzeug; werkzeug.url_quote``, do
``from werkzeug.urls import url_quote. A deprecation warning will
show the correct import to use. ``werkzeug.exceptions`` and
``werkzeug.routing`` should also be imported instead of accessed,
but for technical reasons can't show a warning.

:issue:`2`, :pr:`1640`


Version 0.15.6
--------------

Expand Down

0 comments on commit 5b48c2c

Please sign in to comment.