Bump up the copyright to 2017
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Armin Ronacher · committed by Armin Ronacher · parent b81a8a3 · Browse files · 36 files·+36 added−36 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
36 files+36 added−36 removed
- tests:+15 added−15 removed
- other:+21 added−21 removed
Provenance
- Commit
bbe0a41- Tree
4a16e03- Author
Armin Ronacher <armin.ronacher@active-4.com>- Committer
Armin Ronacher <armin.ronacher@active-4.com>- Parent
b81a8a3
36 files changed+36 added−36 removed
modified:jinja2/__init__.py+1 added-1 removed
21 unmodified lines22 </ul>23 {% endblock %}24 25 26- :copyright: (c) 2010 by the Jinja Team.26+ :copyright: (c) 2017 by the Jinja Team.27 :license: BSD, see LICENSE for more details.28 """29 __docformat__ = 'restructuredtext en'30 __version__ = '2.9.dev'52 unmodified linesmodified:jinja2/bccache.py+1 added-1 removed
9 unmodified lines10 11 Situations where this is useful are often forking web applications that12 are initialized on the first request.13 14- :copyright: (c) 2010 by the Jinja Team.14+ :copyright: (c) 2017 by the Jinja Team.15 :license: BSD.16 """17 from os import path, listdir18 import os344 unmodified linesmodified:jinja2/compiler.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~5 6 Compiles nodes into python code.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 from itertools import chain12 from copy import deepcopy1607 unmodified linesmodified:jinja2/constants.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~5 6 Various constants.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 12 20 unmodified linesmodified:jinja2/debug.py+1 added-1 removed
5 unmodified lines6 Implements the debug interface for Jinja. This module does some pretty7 ugly stuff with the Python traceback system in order to achieve tracebacks8 with correct line numbers, locals and contents.9 10- :copyright: (c) 2010 by the Jinja Team.10+ :copyright: (c) 2017 by the Jinja Team.11 :license: BSD, see LICENSE for more details.12 """13 import sys14 import traceback358 unmodified linesmodified:jinja2/defaults.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~5 6 Jinja default filters and tags.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 from jinja2._compat import range_type12 from jinja2.utils import generate_lorem_ipsum, Cycler, Joiner41 unmodified linesmodified:jinja2/environment.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~~5 6 Provides a class that holds runtime and parsing time options.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 import os12 import sys1264 unmodified linesmodified:jinja2/exceptions.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~5 6 Jinja exceptions.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 from jinja2._compat import imap, text_type, PY2, implements_to_string12 134 unmodified linesmodified:jinja2/ext.py+1 added-1 removed
5 unmodified lines6 Jinja extensions allow to add custom tags similar to the way django custom7 tags work. By default two example extensions exist: an i18n and a cache8 extension.9 10- :copyright: (c) 2010 by the Jinja Team.10+ :copyright: (c) 2017 by the Jinja Team.11 :license: BSD.12 """13 from jinja2 import nodes14 from jinja2.defaults import BLOCK_START_STRING, \595 unmodified linesmodified:jinja2/filters.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~5 6 Bundled jinja filters.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 import re12 import math1049 unmodified linesmodified:jinja2/lexer.py+1 added-1 removed
9 unmodified lines10 On the one hand it filters out invalid operators like the bitshift11 operators we don't allow in templates. On the other hand it separates12 template code and python code in expressions.13 14- :copyright: (c) 2010 by the Jinja Team.14+ :copyright: (c) 2017 by the Jinja Team.15 :license: BSD, see LICENSE for more details.16 """17 import re18 707 unmodified linesmodified:jinja2/loaders.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~5 6 Jinja loader classes.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 import os12 import sys469 unmodified linesmodified:jinja2/meta.py+1 added-1 removed
4 unmodified lines5 6 This module implements various functions that exposes information about7 templates that might be interesting for various kinds of applications.8 9- :copyright: (c) 2010 by the Jinja Team, see AUTHORS for more details.9+ :copyright: (c) 2017 by the Jinja Team, see AUTHORS for more details.10 :license: BSD, see LICENSE for more details.11 """12 from jinja2 import nodes13 from jinja2.compiler import CodeGenerator93 unmodified linesmodified:jinja2/nodes.py+1 added-1 removed
7 unmodified lines8 It also provides some node tree helper functions like `in_lineno` and9 `get_nodes` used by the parser and translator in order to normalize10 python and jinja nodes.11 12- :copyright: (c) 2010 by the Jinja Team.12+ :copyright: (c) 2017 by the Jinja Team.13 :license: BSD, see LICENSE for more details.14 """15 import types16 import operator914 unmodified linesmodified:jinja2/optimizer.py+1 added-1 removed
11 unmodified lines12 have a different scoping.13 14 The solution would be a second syntax tree that has the scoping rules stored.15 16- :copyright: (c) 2010 by the Jinja Team.16+ :copyright: (c) 2017 by the Jinja Team.17 :license: BSD.18 """19 from jinja2 import nodes20 from jinja2.visitor import NodeTransformer29 unmodified linesmodified:jinja2/parser.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~5 6 Implements the template parser.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 from jinja2 import nodes12 from jinja2.exceptions import TemplateSyntaxError, TemplateAssertionError883 unmodified linesmodified:jinja2/runtime.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~5 6 Runtime helpers.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD.10 """11 import sys12 705 unmodified linesmodified:jinja2/sandbox.py+1 added-1 removed
7 unmodified lines8 default behavior is easier to use.9 10 The behavior can be changed by subclassing the environment.11 12- :copyright: (c) 2010 by the Jinja Team.12+ :copyright: (c) 2017 by the Jinja Team.13 :license: BSD.14 """15 import types16 import operator459 unmodified linesmodified:jinja2/tests.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~5 6 Jinja test functions. Used with the "is" operator.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 import re12 from collections import Mapping173 unmodified linesmodified:jinja2/utils.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~5 6 Utility functions.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 import re12 import json612 unmodified linesmodified:jinja2/visitor.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~5 6 This module implements a visitor for the nodes.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD.10 """11 from jinja2.nodes import Node12 75 unmodified linesmodified:tests/conftest.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~~~~~~~~~5 6 Configuration and Fixtures for the tests7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 import pytest12 import os69 unmodified linesmodified:tests/test_api.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~~~~5 6 Tests the public API and related stuff.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 import os12 import tempfile328 unmodified linesmodified:tests/test_bytecode_cache.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~5 6 Test bytecode caching7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 import pytest12 from jinja2 import Environment20 unmodified linesmodified:tests/test_core_tags.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~~~~~~~~~~5 6 Test the core tags like for and if.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 import pytest12 from jinja2 import Environment, TemplateSyntaxError, UndefinedError, \344 unmodified linesmodified:tests/test_debug.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~~~~~~5 6 Tests the debug system.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 import pytest12 74 unmodified linesmodified:tests/test_ext.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~~~~5 6 Tests for the extensions.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 import re12 import pytest463 unmodified linesmodified:tests/test_filters.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~~~~~~~~5 6 Tests for the jinja filters.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 import pytest12 from jinja2 import Markup, Environment579 unmodified linesmodified:tests/test_imports.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~~~~~~~~5 6 Tests the import features (with includes).7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 import pytest12 144 unmodified linesmodified:tests/test_inheritance.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~5 6 Tests the template inheritance feature.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 import pytest12 236 unmodified linesmodified:tests/test_lexnparse.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~~~~~~~~~~5 6 All the unittests regarding lexing, parsing and syntax.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 import pytest12 601 unmodified linesmodified:tests/test_loader.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~~~~~~~5 6 Test the loaders.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 import os12 import sys222 unmodified linesmodified:tests/test_regression.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~~~~~~~~~~~5 6 Tests corner cases and bugs.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 import sys12 import pytest377 unmodified linesmodified:tests/test_security.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~~~~~~~~~5 6 Checks the sandbox and other security features.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 import pytest12 177 unmodified linesmodified:tests/test_tests.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~~~~~~5 6 Who tests the tests?7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 import pytest12 116 unmodified linesmodified:tests/test_utils.py+1 added-1 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~~~~~~5 6 Tests utilities jinja uses.7 8- :copyright: (c) 2010 by the Jinja Team.8+ :copyright: (c) 2017 by the Jinja Team.9 :license: BSD, see LICENSE for more details.10 """11 import gc12 92 unmodified lines