ANN: cssutils 0.9.6a4
Christof Hoeke
cthedot at gmail.com
Sat May 9 22:49:13 CEST 2009
what is it
----------
A Python package to parse and build CSS Cascading Style Sheets. (Not a
renderer though!)
about this release
------------------
0.9.6a4 is an bugfix release.
main changes
------------
- **API CHANGE**: Reverted handling of exceptions (issue #24) as
this did not work with PyXML installed. You may again use ``str(e)`` on
any raised xml.dom.Exception ``e``. Since 0.9.6a0 exceptions raised did
raise a tuple of message, line and col information. Now the message
alone is raised (again). Line and col information is still available as
``e.line, e.col``.
+ BUGFIX: Fixed issues #22 and #23
+ BUGFIX: All examples at
http://www.w3.org/TR/2009/CR-CSS2-20090423/syndata.html#illegalvalues
should work now as expected
- **FEATURE**: Updated some parts to
http://www.w3.org/TR/2009/CR-CSS2-20090423/changes.html#new (most
changes decribed there were already done in cssutils)
- **FEATURE**: New preference option ``keepUnkownAtRules = False``
which defines if unknown atrules like e.g. ``@three-dee {...}`` are kept
or not. Setting this pref to ``False`` in result removes unknown @rules
from the serialized sheet which is the default for the minified settings.
license
-------
cssutils is published under the LGPL version 3 or later, see
http://cthedot.de/cssutils/
If you have other licensing needs please let me know.
download
--------
For download options see http://cthedot.de/cssutils/
cssutils needs Python 2.4 or higher (tested with Python 2.6.2, 2.5.2 and
2.4.4 on Vista only)
Bug reports (via Google code), comments, etc are very much appreciated!
Thanks.
Christof
More information about the Python-announce-list
mailing list