Overview

Request 1114697 accepted

- update to 4.2.0:
* An XML document provided as a string (i.e. decoded) now
correctly has its content encoding parsed.
* Boolean attributes are now automatically configured for
templates in non-XML mode, presuming that we're being used
to generate HTML.
* This means that the same loading mechanism can be used for
both XML-and HTML-based templates.
* Boolean attributes (those configured using the optional
`boolean_attributes` parameter) now work with $-expression
interpolation.
* Unlike content and regular attributes, a special check for a
falsy value is now done for boolean attributes, such that
boolean logic can be used for interpolation expressions
(only a truthy value will include the attribute).
This reverts a change in behavior introduced in 3.8.0.
* Fix format spec applying for f-strings.
* Drop support for Python 2.7, 3.5, 3.6.
* Add support for set- and dict comprehensions
* Remove the following functions resp. modules:
``.utils.text_()``
``.utils.unescape()``
``.compat``

* A RepeatDict no longer inherits from dict since it does not actually provide
* Added feature gate enable_comment_interpolation which controls whether
Add option restricted_namespace which controls whether to
restrict namespaces to those defined and used by the page
Fixed attribute HTML entity escaping issue where an entity such
Simplify exception tracking, reducing bytecode size

Request History
Dirk Mueller's avatar

dirkmueller created request

- update to 4.2.0:
* An XML document provided as a string (i.e. decoded) now
correctly has its content encoding parsed.
* Boolean attributes are now automatically configured for
templates in non-XML mode, presuming that we're being used
to generate HTML.
* This means that the same loading mechanism can be used for
both XML-and HTML-based templates.
* Boolean attributes (those configured using the optional
`boolean_attributes` parameter) now work with $-expression
interpolation.
* Unlike content and regular attributes, a special check for a
falsy value is now done for boolean attributes, such that
boolean logic can be used for interpolation expressions
(only a truthy value will include the attribute).
This reverts a change in behavior introduced in 3.8.0.
* Fix format spec applying for f-strings.
* Drop support for Python 2.7, 3.5, 3.6.
* Add support for set- and dict comprehensions
* Remove the following functions resp. modules:
``.utils.text_()``
``.utils.unescape()``
``.compat``

* A RepeatDict no longer inherits from dict since it does not actually provide
* Added feature gate enable_comment_interpolation which controls whether
Add option restricted_namespace which controls whether to
restrict namespaces to those defined and used by the page
Fixed attribute HTML entity escaping issue where an entity such
Simplify exception tracking, reducing bytecode size


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Ana Guerrero's avatar

anag+factory added openSUSE:Factory:Staging:adi:18 as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:18"


Ana Guerrero's avatar

anag+factory accepted review

Picked "openSUSE:Factory:Staging:adi:18"


Dominique Leuenberger's avatar

dimstar accepted review

ok


Ana Guerrero's avatar

anag+factory accepted review

Staging Project openSUSE:Factory:Staging:adi:18 got accepted.


Ana Guerrero's avatar

anag+factory approved review

Staging Project openSUSE:Factory:Staging:adi:18 got accepted.


Ana Guerrero's avatar

anag+factory accepted request

Staging Project openSUSE:Factory:Staging:adi:18 got accepted.

openSUSE Build Service is sponsored by