Opened 8 years ago

Closed 8 years ago

#8128 closed enhancement (fixed)

Mako-1.0.4 (Python Module)

Reported by: Douglas R. Reno Owned by: Douglas R. Reno
Priority: normal Milestone: 7.10
Component: systemd Version: systemd
Severity: normal Keywords:
Cc:

Description

New minor version.

1.0.4

Released: Thu Mar 10 2016
[test] [feature] The default test runner is now py.test. Running “python setup.py test” will make use of py.test instead of nose. nose still works as a test runner as well, however.

[lexer] [bug] Major improvements to lexing of intricate Python sections which may contain complex backslash sequences, as well as support for the bitwise operator (e.g. pipe symbol) inside of expression sections distinct from the Mako “filter” operator, provided the operator is enclosed within parentheses or brackets. Pull request courtesy Daniel Martin.

References: pull request github:19

[feature] Added new method Template.list_defs(). Pull request courtesy Jonathan Vanasco.

References: pull request bitbucket:16

1.0.3

Released: Tue Oct 27 2015
[babel] [bug] Fixed an issue where the Babel plugin would not handle a translation symbol that contained non-ascii characters. Pull request courtesy Roman Imankulov.

References: pull request bitbucket:21

1.0.2

Released: Wed Aug 26 2015
[installation] [bug] The “universal wheel” marker is removed from setup.cfg, because our setup.py currently makes use of conditional dependencies. In #249, the discussion is ongoing on how to correct our setup.cfg / setup.py fully so that we can handle the per-version dependency changes while still maintaining optimal wheel settings, so this issue is not yet fully resolved.

References: #249

[bug] [py3k] Repair some calls within the ast module that no longer work on Python3.5; additionally replace the use of inspect.getargspec() under Python 3 (seems to be called from the TG plugin) to avoid deprecation warnings.

References: #250

[bug] Update the Lingua translation extraction plugin to correctly handle templates mixing Python control statements (such as if, for and while) with template fragments. Pull request courtesy Laurent Daverio.

References: pull request bitbucket:18

[feature] Added STOP_RENDERING keyword for returning/exiting from a template early, which is a synonym for an empty string "". Previously, the docs suggested a bare return, but this could cause None to appear in the rendered template result.

Change History (3)

comment:1 by Douglas R. Reno, 8 years ago

Owner: changed from blfs-book@… to Douglas R. Reno
Status: newassigned

comment:2 by Douglas R. Reno, 8 years ago

Component: BOOKsystemd

comment:3 by Douglas R. Reno, 8 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r17632.

Note: See TracTickets for help on using tickets.