Get rid of __future__ imports

Review Request #11944 — Created Jan. 20, 2022 and submitted — Latest diff uploaded

Information

Djblets
release-3.x

Reviewers

Now that Djblets is Python 3.7+, we don't need to import stuff from
__future__ in every file. This change does that, and removes some old
leftover per-file copyright headers while I'm in there.

Ran unit tests.

Diff Revision 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

orig
1
2

Commits

First Last Summary ID Author
Get rid of __future__ imports
Now that Djblets is Python 3.7+, we don't need to import stuff from `__future__` in every file. This change does that, and removes some old leftover per-file copyright headers while I'm in there. Testing Done: Ran unit tests.
e72a32b6b97ed0a817756f04c96b75c694fc76f7 David Trowbridge
This diff has been split across 18 pages: < 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 >
djblets/util/contextmanagers.py
djblets/util/dates.py
djblets/util/decorators.py
djblets/util/fields.py
djblets/util/filesystem.py
djblets/util/html.py
djblets/util/http.py
djblets/util/humanize.py
djblets/util/json_utils.py
djblets/util/properties.py
djblets/util/views.py
djblets/util/compat/django/shortcuts.py
djblets/util/compat/django/core/management/base.py
djblets/util/compat/django/template/context.py
djblets/util/compat/django/template/loader.py
djblets/util/compat/django/utils/functional.py
djblets/util/compat/python/collections.py
djblets/util/compat/python/past.py
djblets/util/templatetags/compressed.py
djblets/util/templatetags/djblets_deco.py
This diff has been split across 18 pages: < 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 >
Loading...