]> git.ipfire.org Git - thirdparty/jinja.git/log
thirdparty/jinja.git
4 years agoBump mypy from 0.812 to 0.910 1470/head
dependabot[bot] [Thu, 1 Jul 2021 08:04:09 +0000 (08:04 +0000)] 
Bump mypy from 0.812 to 0.910

Bumps [mypy](https://github.com/python/mypy) from 0.812 to 0.910.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.812...v0.910)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoMerge pull request #1457 from pallets/dependabot/pip/pre-commit-2.13.0
David Lord [Tue, 1 Jun 2021 13:33:53 +0000 (06:33 -0700)] 
Merge pull request #1457 from pallets/dependabot/pip/pre-commit-2.13.0

Bump pre-commit from 2.12.1 to 2.13.0

4 years agoBump pre-commit from 2.12.1 to 2.13.0 1457/head
dependabot[bot] [Tue, 1 Jun 2021 08:05:07 +0000 (08:05 +0000)] 
Bump pre-commit from 2.12.1 to 2.13.0

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.12.1 to 2.13.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.12.1...v2.13.0)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoMerge branch '3.0.x'
David Lord [Fri, 21 May 2021 03:53:16 +0000 (20:53 -0700)] 
Merge branch '3.0.x'

4 years agoMerge pull request #1447 from pallets/update-theme
David Lord [Fri, 21 May 2021 03:52:48 +0000 (20:52 -0700)] 
Merge pull request #1447 from pallets/update-theme

Update theme

4 years agoupdate pallets and sphinx requirements 1447/head
David Lord [Fri, 21 May 2021 03:49:38 +0000 (20:49 -0700)] 
update pallets and sphinx requirements

4 years agoupdate pallets-sphinx-themes
David Lord [Fri, 21 May 2021 03:48:16 +0000 (20:48 -0700)] 
update pallets-sphinx-themes

4 years agoMerge branch '3.0.x'
David Lord [Tue, 18 May 2021 20:40:36 +0000 (13:40 -0700)] 
Merge branch '3.0.x'

4 years agostart version 3.0.2.dev0
David Lord [Tue, 18 May 2021 20:39:52 +0000 (13:39 -0700)] 
start version 3.0.2.dev0

4 years agoMerge pull request #1445 from pallets/release-3.0.1 3.0.1
David Lord [Tue, 18 May 2021 20:37:58 +0000 (13:37 -0700)] 
Merge pull request #1445 from pallets/release-3.0.1

release version 3.0.1

4 years agorelease version 3.0.1 1445/head
David Lord [Tue, 18 May 2021 20:35:09 +0000 (13:35 -0700)] 
release version 3.0.1

4 years agoMerge pull request #1444 from pallets/event-loop
David Lord [Tue, 18 May 2021 20:31:11 +0000 (13:31 -0700)] 
Merge pull request #1444 from pallets/event-loop

use asyncio.run

4 years agouse asyncio.run 1444/head
David Lord [Tue, 18 May 2021 20:22:46 +0000 (13:22 -0700)] 
use asyncio.run

4 years agoMerge pull request #1442 from dannysepler/use-pathlib-in-places
David Lord [Tue, 18 May 2021 17:32:26 +0000 (10:32 -0700)] 
Merge pull request #1442 from dannysepler/use-pathlib-in-places

Use pathlib in some test places

4 years agoUse pathlib in some test places 1442/head
Danny Sepler [Mon, 17 May 2021 03:45:06 +0000 (23:45 -0400)] 
Use pathlib in some test places

4 years agoMerge pull request #1440 from pallets/deprecated-markup
David Lord [Mon, 17 May 2021 13:48:44 +0000 (06:48 -0700)] 
Merge pull request #1440 from pallets/deprecated-markup

fix deprecated `Markup` subclass

4 years agoMerge pull request #1439 from pallets/deprecated-markup
David Lord [Mon, 17 May 2021 13:45:26 +0000 (06:45 -0700)] 
Merge pull request #1439 from pallets/deprecated-markup

fix deprecated `Markup` subclass

4 years agofix deprecated `Markup` subclass 1439/head 1440/head
David Lord [Mon, 17 May 2021 13:41:42 +0000 (06:41 -0700)] 
fix deprecated `Markup` subclass

4 years agoMerge branch '3.0.x'
David Lord [Fri, 14 May 2021 01:01:18 +0000 (18:01 -0700)] 
Merge branch '3.0.x'

4 years agoMerge pull request #1436 from pallets/deprecated-extensions
David Lord [Fri, 14 May 2021 00:54:32 +0000 (17:54 -0700)] 
Merge pull request #1436 from pallets/deprecated-extensions

fix context for deprecated extensions

4 years agoshow context for deprecated extensions 1436/head
David Lord [Fri, 14 May 2021 00:48:19 +0000 (17:48 -0700)] 
show context for deprecated extensions

4 years agoMerge pull request #1435 from pallets/update-typing
David Lord [Fri, 14 May 2021 00:35:29 +0000 (17:35 -0700)] 
Merge pull request #1435 from pallets/update-typing

Update typing

4 years agoMerge pull request #1434 from pallets/update-typing
David Lord [Fri, 14 May 2021 00:30:40 +0000 (17:30 -0700)] 
Merge pull request #1434 from pallets/update-typing

Update typing

4 years agofix typing that wasn't available in Python 3.6.0 1434/head 1435/head
David Lord [Fri, 14 May 2021 00:24:19 +0000 (17:24 -0700)] 
fix typing that wasn't available in Python 3.6.0

4 years agomark top-level names as exported
David Lord [Fri, 14 May 2021 00:19:23 +0000 (17:19 -0700)] 
mark top-level names as exported

4 years agoMerge remote-tracking branch 'origin/3.0.x'
David Lord [Tue, 11 May 2021 23:25:55 +0000 (16:25 -0700)] 
Merge remote-tracking branch 'origin/3.0.x'

4 years agoMerge pull request #1420 from pallets/default-branch
David Lord [Tue, 11 May 2021 23:25:39 +0000 (16:25 -0700)] 
Merge pull request #1420 from pallets/default-branch

rename default branch in files

4 years agorename default branch in files 1420/head
David Lord [Tue, 11 May 2021 23:22:14 +0000 (16:22 -0700)] 
rename default branch in files

4 years agoMerge pull request #1419 from ThiefMaster/fix-sphinx-build
David Lord [Tue, 11 May 2021 23:15:13 +0000 (16:15 -0700)] 
Merge pull request #1419 from ThiefMaster/fix-sphinx-build

Install sphinx 4.1-dev from git

4 years agoRemove type annotation breaking sphinx builds 1419/head
Adrian Moennich [Tue, 11 May 2021 23:04:07 +0000 (01:04 +0200)] 
Remove type annotation breaking sphinx builds

4 years agoInstall sphinx 4.1-dev from git
Adrian Moennich [Tue, 11 May 2021 22:18:42 +0000 (00:18 +0200)] 
Install sphinx 4.1-dev from git

Otherwise docs builds are broken due to sphinx-doc/sphinx#9216

4 years agoMerge remote-tracking branch 'origin/3.0.x'
David Lord [Tue, 11 May 2021 21:23:25 +0000 (14:23 -0700)] 
Merge remote-tracking branch 'origin/3.0.x'

4 years agoMerge pull request #1418 from pallets/update-markupsafe
David Lord [Tue, 11 May 2021 21:23:04 +0000 (14:23 -0700)] 
Merge pull request #1418 from pallets/update-markupsafe

update markupsafe minimum version

4 years agoupdate markupsafe minimum version 1418/head
David Lord [Tue, 11 May 2021 21:19:25 +0000 (14:19 -0700)] 
update markupsafe minimum version

4 years agostart version 3.1.0.dev0
David Lord [Tue, 11 May 2021 21:10:43 +0000 (14:10 -0700)] 
start version 3.1.0.dev0

4 years agostart version 3.0.1.dev0
David Lord [Tue, 11 May 2021 21:10:02 +0000 (14:10 -0700)] 
start version 3.0.1.dev0

4 years agoMerge pull request #1417 from pallets/release-3.0.0 3.0.0
David Lord [Tue, 11 May 2021 21:04:48 +0000 (14:04 -0700)] 
Merge pull request #1417 from pallets/release-3.0.0

Release 3.0.0

4 years agorelease version 3.0.0 1417/head
David Lord [Tue, 11 May 2021 21:02:01 +0000 (14:02 -0700)] 
release version 3.0.0

4 years agoupdate requirements
David Lord [Tue, 11 May 2021 21:01:39 +0000 (14:01 -0700)] 
update requirements

4 years agoMerge pull request #1416 from pallets/pre-commit-ci-schedule
David Lord [Tue, 11 May 2021 14:09:27 +0000 (07:09 -0700)] 
Merge pull request #1416 from pallets/pre-commit-ci-schedule

update pre-commit monthly

4 years agoupdate pre-commit monthly 1416/head
David Lord [Tue, 11 May 2021 14:05:21 +0000 (07:05 -0700)] 
update pre-commit monthly

4 years agoMerge pull request #1415 from pallets/pre-commit-ci-update-config
David Lord [Mon, 10 May 2021 20:41:59 +0000 (13:41 -0700)] 
Merge pull request #1415 from pallets/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate

4 years ago[pre-commit.ci] pre-commit autoupdate 1415/head
pre-commit-ci[bot] [Mon, 10 May 2021 20:26:14 +0000 (20:26 +0000)] 
[pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/asottile/pyupgrade: v2.14.0 → v2.15.0](https://github.com/asottile/pyupgrade/compare/v2.14.0...v2.15.0)
- [github.com/psf/black: 21.4b2 → 21.5b1](https://github.com/psf/black/compare/21.4b2...21.5b1)
- [github.com/PyCQA/flake8: 3.9.1 → 3.9.2](https://github.com/PyCQA/flake8/compare/3.9.1...3.9.2)

4 years agoMerge pull request #1414 from pallets/typing-marker
David Lord [Mon, 10 May 2021 13:58:42 +0000 (06:58 -0700)] 
Merge pull request #1414 from pallets/typing-marker

fix py.typed in manifest

4 years agofix py.typed in manifest 1414/head
David Lord [Mon, 10 May 2021 13:53:52 +0000 (06:53 -0700)] 
fix py.typed in manifest

4 years agoMerge pull request #1412 from pallets/typing
David Lord [Sat, 8 May 2021 20:38:35 +0000 (13:38 -0700)] 
Merge pull request #1412 from pallets/typing

add type annotations

4 years agoadd type annotations 1412/head
David Lord [Sat, 8 May 2021 20:03:15 +0000 (13:03 -0700)] 
add type annotations

4 years agoMerge pull request #1411 from pallets/pre-commit-ci-update-config
David Lord [Mon, 3 May 2021 18:13:49 +0000 (11:13 -0700)] 
Merge pull request #1411 from pallets/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate

4 years ago[pre-commit.ci] pre-commit autoupdate 1411/head
pre-commit-ci[bot] [Mon, 3 May 2021 17:22:40 +0000 (17:22 +0000)] 
[pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/asottile/pyupgrade: v2.13.0 → v2.14.0](https://github.com/asottile/pyupgrade/compare/v2.13.0...v2.14.0)
- [github.com/psf/black: 21.4b0 → 21.4b2](https://github.com/psf/black/compare/21.4b0...21.4b2)

4 years agoMerge pull request #1410 from pallets/dependabot/pip/babel-2.9.1
dependabot[bot] [Wed, 28 Apr 2021 20:57:26 +0000 (20:57 +0000)] 
Merge pull request #1410 from pallets/dependabot/pip/babel-2.9.1

4 years agoMerge pull request #1409 from pallets/dependabot/pip/pre-commit-2.12.1
dependabot[bot] [Wed, 28 Apr 2021 20:56:09 +0000 (20:56 +0000)] 
Merge pull request #1409 from pallets/dependabot/pip/pre-commit-2.12.1

4 years agoBump babel from 2.9.0 to 2.9.1 1410/head
dependabot[bot] [Wed, 28 Apr 2021 20:55:15 +0000 (20:55 +0000)] 
Bump babel from 2.9.0 to 2.9.1

Bumps [babel](https://github.com/python-babel/babel) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/python-babel/babel/releases)
- [Changelog](https://github.com/python-babel/babel/blob/master/CHANGES)
- [Commits](https://github.com/python-babel/babel/compare/v2.9.0...v2.9.1)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoBump pre-commit from 2.12.0 to 2.12.1 1409/head
dependabot[bot] [Wed, 28 Apr 2021 20:54:26 +0000 (20:54 +0000)] 
Bump pre-commit from 2.12.0 to 2.12.1

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.12.0 to 2.12.1.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.12.0...v2.12.1)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoMerge pull request #1408 from pallets/dependabot/add-v2-config-file
David Lord [Wed, 28 Apr 2021 20:53:11 +0000 (13:53 -0700)] 
Merge pull request #1408 from pallets/dependabot/add-v2-config-file

Upgrade to GitHub-native Dependabot

4 years agoUpgrade to GitHub-native Dependabot 1408/head
dependabot-preview[bot] [Wed, 28 Apr 2021 16:46:45 +0000 (16:46 +0000)] 
Upgrade to GitHub-native Dependabot

4 years agoMerge pull request #1407 from pallets/pre-commit-ci-update-config
David Lord [Tue, 27 Apr 2021 13:28:15 +0000 (06:28 -0700)] 
Merge pull request #1407 from pallets/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate

4 years ago[pre-commit.ci] pre-commit autoupdate 1407/head
pre-commit-ci[bot] [Mon, 26 Apr 2021 17:22:03 +0000 (17:22 +0000)] 
[pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/asottile/pyupgrade: v2.12.0 → v2.13.0](https://github.com/asottile/pyupgrade/compare/v2.12.0...v2.13.0)
- [github.com/asottile/reorder_python_imports: v2.4.0 → v2.5.0](https://github.com/asottile/reorder_python_imports/compare/v2.4.0...v2.5.0)
- [github.com/psf/black: 20.8b1 → 21.4b0](https://github.com/psf/black/compare/20.8b1...21.4b0)

4 years agoMerge pull request #1406 from pallets/release-3.0.0rc2 3.0.0rc2
David Lord [Sun, 25 Apr 2021 15:11:17 +0000 (08:11 -0700)] 
Merge pull request #1406 from pallets/release-3.0.0rc2

release version 3.0.0rc2

4 years agorelease version 3.0.0rc2 1406/head
David Lord [Sun, 25 Apr 2021 15:08:40 +0000 (08:08 -0700)] 
release version 3.0.0rc2

4 years agoMerge pull request #1401 from pallets/deprecated-markup
David Lord [Sun, 18 Apr 2021 01:39:40 +0000 (18:39 -0700)] 
Merge pull request #1401 from pallets/deprecated-markup

fix deprecated `Markup` subclass

4 years agofix Markup subclass 1401/head
David Lord [Sun, 18 Apr 2021 01:17:35 +0000 (18:17 -0700)] 
fix Markup subclass

str subclass must override __new__ instead of __init__

4 years agoMerge pull request #1399 from pallets/release-3.0.0rc1 3.0.0rc1
David Lord [Fri, 16 Apr 2021 15:24:21 +0000 (08:24 -0700)] 
Merge pull request #1399 from pallets/release-3.0.0rc1

Release 3.0.0rc1

4 years agorelease version 3.0.0rc1 1399/head
David Lord [Fri, 16 Apr 2021 15:21:34 +0000 (08:21 -0700)] 
release version 3.0.0rc1

4 years agoupdate minimum install requirements
David Lord [Fri, 16 Apr 2021 15:21:12 +0000 (08:21 -0700)] 
update minimum install requirements

4 years agoupdate deprecated pre-commit hook
David Lord [Fri, 16 Apr 2021 15:18:09 +0000 (08:18 -0700)] 
update deprecated pre-commit hook

4 years agoupdate requirements
David Lord [Fri, 16 Apr 2021 15:17:55 +0000 (08:17 -0700)] 
update requirements

4 years agoupdate pallets-sphinx-themes
David Lord [Fri, 16 Apr 2021 15:17:18 +0000 (08:17 -0700)] 
update pallets-sphinx-themes

4 years agomention jinja in deprecation message
David Lord [Thu, 15 Apr 2021 22:32:57 +0000 (15:32 -0700)] 
mention jinja in deprecation message

4 years agoMerge pull request #1398 from pallets/docs-filter-anchor
David Lord [Tue, 13 Apr 2021 17:41:17 +0000 (10:41 -0700)] 
Merge pull request #1398 from pallets/docs-filter-anchor

unique links for filters, tests, globals

4 years agounique links for filters, tests, globals 1398/head
David Lord [Tue, 13 Apr 2021 17:36:11 +0000 (10:36 -0700)] 
unique links for filters, tests, globals

4 years agoMerge pull request #1394 from pallets/pre-commit-ci-update-config
David Lord [Mon, 12 Apr 2021 17:24:41 +0000 (10:24 -0700)] 
Merge pull request #1394 from pallets/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate

4 years ago[pre-commit.ci] pre-commit autoupdate 1394/head
pre-commit-ci[bot] [Mon, 12 Apr 2021 17:12:51 +0000 (17:12 +0000)] 
[pre-commit.ci] pre-commit autoupdate

4 years agoMerge pull request #1393 from pallets/deprecate-legacy-resolve
David Lord [Mon, 12 Apr 2021 06:58:46 +0000 (23:58 -0700)] 
Merge pull request #1393 from pallets/deprecate-legacy-resolve

deprecate legacy resolve mode

4 years agodeprecate legacy resolve mode 1393/head
David Lord [Mon, 12 Apr 2021 06:53:59 +0000 (23:53 -0700)] 
deprecate legacy resolve mode

4 years agoMerge pull request #1392 from pallets/inline-async
David Lord [Mon, 12 Apr 2021 01:55:36 +0000 (18:55 -0700)] 
Merge pull request #1392 from pallets/inline-async

async support doesn't require patching

4 years agoasync support doesn't require patching 1392/head
David Lord [Sat, 10 Apr 2021 23:12:25 +0000 (16:12 -0700)] 
async support doesn't require patching

4 years agoMerge pull request #1391 from pallets/markupsafe-imports
David Lord [Sat, 10 Apr 2021 17:24:58 +0000 (10:24 -0700)] 
Merge pull request #1391 from pallets/markupsafe-imports

Markup and escape should be imported from markupsafe

4 years agoMarkup and escape should be imported from markupsafe 1391/head
David Lord [Sat, 10 Apr 2021 17:22:24 +0000 (10:22 -0700)] 
Markup and escape should be imported from markupsafe

4 years agoMerge pull request #1389 from pallets/unify-decorators
David Lord [Sat, 10 Apr 2021 17:19:30 +0000 (10:19 -0700)] 
Merge pull request #1389 from pallets/unify-decorators

unify/rename context function decorators

4 years agounify/rename filter and function decorators 1389/head
David Lord [Sat, 10 Apr 2021 15:58:16 +0000 (08:58 -0700)] 
unify/rename filter and function decorators

Use pass_context instead of contextfilter and contextfunction, etc.

4 years agoextract common code for import/from nodes
David Lord [Fri, 9 Apr 2021 23:49:55 +0000 (16:49 -0700)] 
extract common code for import/from nodes

4 years agoMerge pull request #1152 from angelafrentz/refactor_ternary_statement_compiler
David Lord [Fri, 9 Apr 2021 22:33:14 +0000 (15:33 -0700)] 
Merge pull request #1152 from angelafrentz/refactor_ternary_statement_compiler

4 years agorefactor compiler environment.is_async checks 1152/head
angelafrentz [Mon, 10 Feb 2020 22:15:23 +0000 (14:15 -0800)] 
refactor compiler environment.is_async checks

4 years agoMerge pull request #1387 from pallets/dependabot/pip/urllib3-1.26.4
dependabot-preview[bot] [Tue, 6 Apr 2021 18:03:18 +0000 (18:03 +0000)] 
Merge pull request #1387 from pallets/dependabot/pip/urllib3-1.26.4

4 years ago[Security] Bump urllib3 from 1.26.3 to 1.26.4 1387/head
dependabot-preview[bot] [Tue, 6 Apr 2021 18:01:52 +0000 (18:01 +0000)] 
[Security] Bump urllib3 from 1.26.3 to 1.26.4

Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.4. **This update includes a security fix.**
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoMerge pull request #1360 from lisongmin/add-default-value-to-groupby
David Lord [Mon, 5 Apr 2021 21:44:37 +0000 (14:44 -0700)] 
Merge pull request #1360 from lisongmin/add-default-value-to-groupby

Ability to set default value in groupby filter

4 years agoadd default parameter to groupby 1360/head
lisongmin [Tue, 23 Feb 2021 06:34:36 +0000 (14:34 +0800)] 
add default parameter to groupby

4 years agoMerge pull request #1367 from mvolfik/docs-fix
David Lord [Mon, 5 Apr 2021 21:27:12 +0000 (14:27 -0700)] 
Merge pull request #1367 from mvolfik/docs-fix

line statements have no default

4 years agoFix incorrect docs - line statements have no default 1367/head
Matěj Volf [Tue, 9 Mar 2021 19:42:11 +0000 (20:42 +0100)] 
Fix incorrect docs - line statements have no default

4 years agoMerge pull request #1364 from Dreamsorcerer/patch-2
David Lord [Mon, 5 Apr 2021 21:23:33 +0000 (14:23 -0700)] 
Merge pull request #1364 from Dreamsorcerer/patch-2

Fix map documentation

4 years agoFix map documentation 1364/head
Sam Bull [Fri, 5 Mar 2021 10:52:39 +0000 (10:52 +0000)] 
Fix map documentation

4 years agoMerge pull request #1236 from sixtyfathoms/fix/issue-1184
David Lord [Mon, 5 Apr 2021 21:18:56 +0000 (14:18 -0700)] 
Merge pull request #1236 from sixtyfathoms/fix/issue-1184

Update wording on dictionary default ordering

4 years agoupdate wording on dictionary default ordering 1236/head
jeff [Sat, 13 Jun 2020 23:30:27 +0000 (13:30 -1000)] 
update wording on dictionary default ordering

4 years agoMerge pull request #1226 from geographika/patch-1
David Lord [Mon, 5 Apr 2021 21:08:20 +0000 (14:08 -0700)] 
Merge pull request #1226 from geographika/patch-1

Add symbol names for tilde and pipe

4 years agoadd symbol names for tilde and pipe operators 1226/head
Seth G [Tue, 26 May 2020 16:46:18 +0000 (18:46 +0200)] 
add symbol names for tilde and pipe operators

4 years agoMerge pull request #1366 from mvolfik/fix-unicode-newlines
David Lord [Mon, 5 Apr 2021 18:50:38 +0000 (11:50 -0700)] 
Merge pull request #1366 from mvolfik/fix-unicode-newlines

Fix unicode newlines

4 years agoSplit lines in lexer only by \r\n, \r and \n 1366/head
Matěj Volf [Tue, 9 Mar 2021 13:19:58 +0000 (14:19 +0100)] 
Split lines in lexer only by \r\n, \r and \n

Python str.splitlines() splits by more characters[1], which, however,
causes problems when keeping these special characters in processed
templates is desirable, i.e. these bug reports: #769, #952, #1313.

The keep_trailing_newlines logic is reworked because splitlines()
removes them already (so they had to be added), while re.split doesn't
so they have to be removed.

[1] https://docs.python.org/3/library/stdtypes.html#str.splitlines

4 years agoMerge pull request #1363 from remidebette/add-native-async-support
David Lord [Mon, 5 Apr 2021 18:38:54 +0000 (11:38 -0700)] 
Merge pull request #1363 from remidebette/add-native-async-support

Add async support to NativeEnvironment

4 years agoNativeEnvironment supports async mode 1363/head
remidebette [Tue, 2 Mar 2021 22:12:30 +0000 (23:12 +0100)] 
NativeEnvironment supports async mode

4 years agoMerge pull request #1294 from Jafnee/chainableundefined-aiter-bug
David Lord [Mon, 5 Apr 2021 17:53:57 +0000 (10:53 -0700)] 
Merge pull request #1294 from Jafnee/chainableundefined-aiter-bug

Add __aiter__ to Undefined