Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python3-Chameleon | Distribution: SUSE Linux Enterprise 15 SP4 |
Version: 3.1 | Vendor: openSUSE |
Release: bp154.1.38 | Build date: Mon May 9 11:08:49 2022 |
Group: Development/Languages/Python | Build host: lamb09 |
Size: 725635 | Source RPM: python-Chameleon-3.1-bp154.1.38.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: http://www.pagetemplates.org/ | |
Summary: Fast HTML/XML Template Compiler |
Chameleon is an HTML/XML template engine for Python. It uses the *page templates* language. You can use it in any Python web application with just about any version of Python (2.5 and up, including 3.x and pypy).
BSD-3-Clause and BSD-4-Clause and Python-2.0 and ZPL-2.1
* Sat Sep 16 2017 bruno@ioda-net.ch - Update to version 3.1 + Features: Add option restricted_namespace which controls whether to restrict namespaces to those defined and used by the page template language. [hansroh] + Bugs: Fixed attribute HTML entity escaping issue where an entity such as & would be encoded twice. + Optimizations: Simplify exception tracking, reducing bytecode size significantly. Avoid checking if a static string is None during expression interpolation. 3.0 (2016-12-07) + Bugs: Fix issue on Python 2 where an exception was not cleared when using the pipe operator and was thus accessible through sys.exc_info(). The “exists” expression no longer leaks error information. Escape ‘$$’ into ‘$’ in both content and string expressions. Fix use of macro definition inside translation block. + Improvements: Allow unquoted attribute values. Wrap attribute error thrown when trying to use a non-macro as a macro as a RenderError to get proper error output. Throw a parse error if ‘–’ (double hyphen) appears in an XML comment. The i18n:target attribute now overrides a default target_language variable and is passed to the translation function. Include filename in the on-disk cache module name. Previously, only the SHA digest in hex representation would be used, making it difficult to see where the module came from. This fixes issue #132. Add support for non-ascii attribute names. [sank] + Compatibility: Drop support for Python 2.6, 3.1, and 3.2. 2.25 (2016-09-24) Add explicit support / testing for Python 3.5. Add \r to negative regex matches to the chameleon parser, where \n is used but \r was missing. Fixes a case, where the tag name was parsed into html\r instead of html. Fixes: https://github.com/malthe/chameleon/issues/219 2.24 (2015-10-28) Fixed Python 3.5 compatibility. Fixed brown bag release. 2.23 (2015-10-26) Added enable_data_attributes option that allows using HTML5 data attributes as control attributes instead or in addition to XML namespace attributes. - Packaging : + Move to singlespec + Spec-cleanup + Split documentation to speedup rebuild * Fri Feb 06 2015 hpj@urpla.net - Update to version 2.22 + Changes from 2.22 (2015-02-06) Fix brown bag release. + Changes from 2.21 (2015-02-06) Added RenderError exception which indicates that an error occurred during the evaluation of an expression. Clean up TemplateError exception implementation. + Changes from 2.20 (2015-01-12) Pass search_path to template class when loaded using TemplateLoader (or one of the derived classes). [faassen] + Changes from 2.19 (2015-01-06) Fix logging deprecation. Fix environment-based configuration logging error. + Changes from 2.18 (2014-11-03) Fix minor compilation error. + Changes from 2.17 (2014-11-03) Add support for i18n:context. [wiggy] Add missing ‘parity’ repeat property. [voxspox] Don’t modify environment when getting variables from it. [fschulze] + Changes from 2.16 (2014-05-06) If a repeat expression evaluates to None then it is now equivalent to an empty set. This changes a behavior introduced in 2.14. This fixes issue #172. Remove fossil test dependency on deprecated distribute. Add explicit support / testing for Python 3.3 / 3.4. Drop explicit support for Python 2.5 (out of maintenance, and no longer supported by tox or Travis-CI). + Changes from 2.15 (2014-03-11) Add Support for Python 3.4’s NameConstant. [brakhane] * Tue Dec 10 2013 p.drouand@gmail.com - Update to version 2.14 + Element repetition using the TAL namespace no longer includes whitespace. This fixes issue #110. + Use absolute import for chameleon.interfaces module. This fixes issue #161. - Changes from 2.13-1 + Fixing brown bag release. - Changes from 2.13 + The template cache mechanism now includes additional configuration settings as part of the cache key such as strict and trim_attribute_space. + Fix cache issue where sometimes cached templates would not load correctly + In debug-mode, correctly remove temporary files when the module loader is garbage-collected (on __del__). + Fix error message when duplicate i18n:name directives are used in a translation. + Using the three-argument form of getattr on a chameleon.tal.RepeatDict no longer raises KeyError, letting the default provided to getattr be used. This fixes attempting to adapt a RepeatDict to a Zope interface under PyPy. - Changes from 2.12 + When a tal:case condition succeeds, no other case now will. + Implicit translation now correctly extracts and normalizes complete sentences, instead of words + The default symbol in a tal:case condition now allows the element only if no other case succeeds. * Thu Oct 24 2013 speilicke@suse.com - Require python-setuptools instead of distribute (upstreams merged) * Wed Jul 31 2013 hpj@urpla.net - add python-ordereddict and python-unittest2 to 11.1 deps * Thu Nov 22 2012 toddrme2178@gmail.com - Update to 2.11 - Bugfixes: - An issue was resolved where a METAL statement was combined with a ``tal:on-error`` handler. - Fix minor parser issue with incorrectly formatted processing instructions. - Provide proper error handling for Python inline code blocks. - Features: - The simple translation function now supports the ``translationstring`` interface. - Optimizations: - Minor optimization which correctly detects when an element has no attributes. * Sun Oct 21 2012 suse@ammler.ch - update to 2.10 - Deprecations: - The fast_translate function has been deprecated. Instead, the default translation function is now always a function that simply interpolates the mapping onto the message default or id. - The motivation is that since version 2.9, the context argument is non-trivial: the econtext mapping is passed. This breaks an expectation on the Zope platform that the context parameter is the HTTP request. Previously, with Chameleon this parameter was simply not provided and so that did not cause issues as such. - The ast24 module has been renamed to ast25. This should help clear up any confusion that Chameleon 2.x might be support a Python interpreter less than version 2.5 (it does not). - Features: - The ProxyExpr expression class (and hence the load: expression type) is now a TALES-expression. In practical terms, this means that the expression type (which computes a string result using the standard "${...}" interpolation syntax and proxies the result through a function) now supports fallback using the pipe operator ("|"). This fixes issue #128. - An attempt to interpolate using the empty string as the expression (i.e. ${}) now does nothing: the string ${} is simply output as is. - Added support for adding, modifying, and removing attributes using a dictionary expression in tal:attributes (analogous to Genshi's py:attrs directive): - <div tal:attributes="name value; attrs" /> - In the example above, name is an identifier, while value and attrs are Python expressions. However, attrs must evaluate to a Python dictionary object (more concisely, the value must implement the dictionary API-methods update() and items()). - Optimizations: - In order to cut down on the size of the compiled function objects, some conversion and quoting statements have been put into functions. In one measurement, the reduction was 35%. The benchmark suite does not report of an increased render time (actually slightly decreased). - Bugfixes: - An exception is now raised if a trivial string is passed for metal:fill-slot. This fixes issue #89. - An empty string is now never translated. Not really a bug, but it's been reported in as an issue (#92) because some translation frameworks handle this case incorrectly. - The template module loader (file cache) now correctly encodes generated template source code as UTF-8. This fixes issue #125. - Fixed issue where a closure might be reused unsafely in nested template rendering. - Fixed markup class __repr__ method. This fixes issue #124. - Added missing return statement to fix printing the non-abbreviated filename in case of an exception. [tomo] * Thu Jun 07 2012 suse@ammler.ch - update to 2.9.2 - Fixed a PyPy incompatibility. - Fixed issue #109 which caused testing failures on some platforms. - changes in 2.9.1 - Fixed issue #103. The tal:on-error statement now always adds an explicit end-tag to the element, even with a substitution content of nothing. - Fixed issue #113. The tal:on-error statement now works correctly also for dynamic attributes. That is, the fallback tag now includes only static attributes. - Fixed name error which prevented the benchmark from running correctly. - Compatibility: Fixed deprecation warning on Python 3 for zope interface implements declaration. This fixes issue #116. - changes in 2.9.0 - Feature: The translation function now gets the econtext argument as the value for context. Note that historically, this was usually an HTTP request which might provide language negotiation data through a dictionary interface. [alvinyue] - Fixed import alias issue which would lead to a syntax error in generated Python code. Fixes issue #114. - changes in 2.8.5 - Fixed minor installation issues on Python 2.5 and 3. [ppaez] - Ensure output is unicode even when trivial (an empty string). - changes in 2.8.4 - Feature: In exception output, long filenames are now truncated to 60 characters of output, preventing line wrap which makes it difficult to scan the exception output. - Bugfix: Include filename and location in exception output for exceptions raised during compilation. - Bugfix: If a trivial translation substitution variable is given (i.e. an empty string), simply ignore it. This fixes issue #106. * Sun May 27 2012 highwaystar.ru@gmail.com - python3 package added - removed cercular Chameleon BuildRequires, use PYTHONPATH instead - minor file section improvement * Thu Apr 19 2012 suse@ammler.ch - add Chameleon as BuildRequires to build the docs
/usr/lib/python3.6/site-packages/Chameleon-3.1-py3.6.egg-info /usr/lib/python3.6/site-packages/Chameleon-3.1-py3.6.egg-info/PKG-INFO /usr/lib/python3.6/site-packages/Chameleon-3.1-py3.6.egg-info/SOURCES.txt /usr/lib/python3.6/site-packages/Chameleon-3.1-py3.6.egg-info/dependency_links.txt /usr/lib/python3.6/site-packages/Chameleon-3.1-py3.6.egg-info/not-zip-safe /usr/lib/python3.6/site-packages/Chameleon-3.1-py3.6.egg-info/top_level.txt /usr/lib/python3.6/site-packages/chameleon /usr/lib/python3.6/site-packages/chameleon/__init__.py /usr/lib/python3.6/site-packages/chameleon/__pycache__ /usr/lib/python3.6/site-packages/chameleon/__pycache__/__init__.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/__init__.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/ast25.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/ast25.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/astutil.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/astutil.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/benchmark.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/benchmark.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/codegen.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/codegen.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/compiler.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/compiler.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/config.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/config.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/exc.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/exc.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/i18n.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/i18n.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/interfaces.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/interfaces.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/loader.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/loader.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/metal.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/metal.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/namespaces.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/namespaces.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/nodes.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/nodes.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/parser.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/parser.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/program.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/program.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/py25.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/py25.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/py26.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/py26.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/tal.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/tal.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/tales.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/tales.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/template.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/template.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/tokenize.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/tokenize.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/utils.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/__pycache__/utils.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/ast25.py /usr/lib/python3.6/site-packages/chameleon/astutil.py /usr/lib/python3.6/site-packages/chameleon/benchmark.py /usr/lib/python3.6/site-packages/chameleon/codegen.py /usr/lib/python3.6/site-packages/chameleon/compiler.py /usr/lib/python3.6/site-packages/chameleon/config.py /usr/lib/python3.6/site-packages/chameleon/exc.py /usr/lib/python3.6/site-packages/chameleon/i18n.py /usr/lib/python3.6/site-packages/chameleon/interfaces.py /usr/lib/python3.6/site-packages/chameleon/loader.py /usr/lib/python3.6/site-packages/chameleon/metal.py /usr/lib/python3.6/site-packages/chameleon/namespaces.py /usr/lib/python3.6/site-packages/chameleon/nodes.py /usr/lib/python3.6/site-packages/chameleon/parser.py /usr/lib/python3.6/site-packages/chameleon/program.py /usr/lib/python3.6/site-packages/chameleon/py25.py /usr/lib/python3.6/site-packages/chameleon/py26.py /usr/lib/python3.6/site-packages/chameleon/tal.py /usr/lib/python3.6/site-packages/chameleon/tales.py /usr/lib/python3.6/site-packages/chameleon/template.py /usr/lib/python3.6/site-packages/chameleon/tokenize.py /usr/lib/python3.6/site-packages/chameleon/utils.py /usr/lib/python3.6/site-packages/chameleon/zpt /usr/lib/python3.6/site-packages/chameleon/zpt/__init__.py /usr/lib/python3.6/site-packages/chameleon/zpt/__pycache__ /usr/lib/python3.6/site-packages/chameleon/zpt/__pycache__/__init__.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/zpt/__pycache__/__init__.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/zpt/__pycache__/loader.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/zpt/__pycache__/loader.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/zpt/__pycache__/program.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/zpt/__pycache__/program.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/zpt/__pycache__/template.cpython-36.opt-1.pyc /usr/lib/python3.6/site-packages/chameleon/zpt/__pycache__/template.cpython-36.pyc /usr/lib/python3.6/site-packages/chameleon/zpt/loader.py /usr/lib/python3.6/site-packages/chameleon/zpt/program.py /usr/lib/python3.6/site-packages/chameleon/zpt/template.py /usr/share/doc/packages/python3-Chameleon /usr/share/doc/packages/python3-Chameleon/COPYRIGHT.txt /usr/share/doc/packages/python3-Chameleon/README.rst /usr/share/licenses/python3-Chameleon /usr/share/licenses/python3-Chameleon/LICENSE.txt
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jul 9 15:53:55 2024