Changelog for
python-Chameleon-2.11-10.3.noarch.rpm :
Wed Jul 31 14:00:00 2013 hpjAATTurpla.net
- add python-ordereddict and python-unittest2 to 11.1 deps
Thu Nov 22 13:00:00 2012 toddrme2178AATTgmail.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 14:00:00 2012 suseAATTammler.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):
-
- 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 7 14:00:00 2012 suseAATTammler.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 14:00:00 2012 highwaystar.ruAATTgmail.com
- python3 package added
- removed cercular Chameleon BuildRequires, use PYTHONPATH instead
- minor file section improvement
Thu Apr 19 14:00:00 2012 suseAATTammler.ch
- add Chameleon as BuildRequires to build the docs
Mon Apr 16 14:00:00 2012 suseAATTammler.ch
- update to 2.8.3
- Feature: Log template source on debug-level before cooking.
- Feature: The target_language argument, if given, is now available as a variable in templates.
Sat Mar 31 14:00:00 2012 suseAATTammler.ch
- update to 2.8.2
- Feature: Temporary caches used in debug mode are cleaned up
eagerly, rather than waiting for process termination.
- Fix: The index, start and end methods on the TAL repeat object
are now callable. This fixes an incompatibility with ZPT.
- Fix: The loader now correctly handles absolute paths on Windows.
Fri Mar 30 14:00:00 2012 suseAATTammler.ch
- update to 2.8.1
- Feature: The exception formatter now lists errors in \'wrapping order\'.
This means that the innermost, and presumably most relevant exception is shown last.
- Fix: The exception formatter now correctly recognizes nested errors
and does not rewrap the dynamically generated exception class.
- Fix: The exception formatter now correctly sets the __module__
attribute to that of the original exception class.
Thu Mar 8 13:00:00 2012 saschpeAATTsuse.de
- Run but don\'t install testsuite
- Try to clarify licensing situation
- Build HTML documentation and ship it
- Buildrequire python-distribute instead of setuptools
Wed Mar 7 13:00:00 2012 suseAATTammler.ch
- update to 2.8.0
- Feature: support for code blocks using the
processing instruction syntax.
- Fix: Fall back to the exception class\' __new__ method to safely
create an exception object that is not implemented in Python.
- Fix: The exception formatter now keeps track of already
formatted exceptions, and ignores them from further output.
- add setuptools as requires
Sun Jan 29 13:00:00 2012 suseAATTammler.ch
- initial package version 2.7.3