Skip to content
Myr

Merge branch '2.8-maintenance'

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 · parents 3097b97, 74bd64e · Browse files · 2 files+9 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+9 added−1 removed

  • other:+9 added−1 removed

2 files+9 added−1 removed

modified:jinja2/sandbox.py+1 added-1 removed
204 unmodified lines
205 elif hasattr(types, 'CoroutineType') and isinstance(obj, types.CoroutineType):206 if attr in UNSAFE_COROUTINE_ATTRIBUTES:207 return True208 elif hasattr(types, 'AsyncGeneratorType') and isinstance(obj, types.AsyncGeneratorType):209 if attri in UNSAFE_ASYNC_GENERATOR_ATTRIBUTES:209 if attr in UNSAFE_ASYNC_GENERATOR_ATTRIBUTES:210 return True211 return attr.startswith('__')212213
267 unmodified lines
modified:CHANGES+8 added
10 unmodified lines
11- Corrected a long standing issue with operator precedence of math operations12 not being what was expected.13- Added support for Python 3.6 async iterators through a new async mode.1415Version 2.8.216-------------1718(bugfix release, unreleased)1920- Fixed a runtime error in the sandbox when attributes of async generators21 were accessed.2223Version 2.8.124-------------2526(bugfix release, released on December 29th 2016)
372 unmodified lines