[python-lxml] 2.3.1

Jeffrey C. Ollie jcollie at fedoraproject.org
Sun Sep 25 20:39:19 UTC 2011


commit 1ed9ae17d91fcf926019290da77d78dde7cee0bf
Author: Jeffrey C. Ollie <jeff at ocjtech.us>
Date:   Sun Sep 25 15:37:36 2011 -0500

    2.3.1

 .gitignore       |    2 +
 python-lxml.spec |   64 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
 sources          |    4 +-
 3 files changed, 67 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2d3bfcc..181fc4f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,5 @@ lxml-2.2.7.tar.gz.asc
 /lxml-2.2.8.tar.gz.asc
 /lxml-2.3.tar.gz
 /lxml-2.3.tar.gz.asc
+/lxml-2.3.1.tar.gz
+/lxml-2.3.1.tar.gz.asc
diff --git a/python-lxml.spec b/python-lxml.spec
index 3a2b79a..c7985d9 100644
--- a/python-lxml.spec
+++ b/python-lxml.spec
@@ -5,7 +5,7 @@
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 Name:           python-lxml
-Version:        2.3
+Version:        2.3.1
 Release:        1%{?dist}
 Summary:        ElementTree-like Python bindings for libxml2 and libxslt
 
@@ -121,6 +121,68 @@ rm -rf %{buildroot}
 %endif
 
 %changelog
+* Sun Sep 25 2011 Jeffrey C. Ollie <jeff at ocjtech.us> - 2.3.1-1
+- Features added
+- --------------
+-
+- * New option kill_tags in lxml.html.clean to remove specific
+-   tags and their content (i.e. their whole subtree).
+-
+- * pi.get() and pi.attrib on processing instructions to parse
+-   pseudo-attributes from the text content of processing instructions.
+-
+- * lxml.get_include() returns a list of include paths that can be
+-   used to compile external C code against lxml.etree.  This is
+-   specifically required for statically linked lxml builds when code
+-   needs to compile against the exact same header file versions as lxml
+-   itself.
+-
+- * Resolver.resolve_file() takes an additional option
+-   close_file that configures if the file(-like) object will be
+-   closed after reading or not.  By default, the file will be closed,
+-   as the user is not expected to keep a reference to it.
+-
+- Bugs fixed
+- ----------
+-
+- * HTML cleaning didn't remove 'data:' links.
+-
+- * The html5lib parser integration now uses the 'official'
+-   implementation in html5lib itself, which makes it work with newer
+-   releases of the library.
+-
+- * In lxml.sax, endElementNS() could incorrectly reject a plain
+-   tag name when the corresponding start event inferred the same plain
+-   tag name to be in the default namespace.
+-
+- * When an open file-like object is passed into parse() or
+-   iterparse(), the parser will no longer close it after use.  This
+-   reverts a change in lxml 2.3 where all files would be closed.  It is
+-   the users responsibility to properly close the file(-like) object,
+-   also in error cases.
+-
+- * Assertion error in lxml.html.cleaner when discarding top-level elements.
+-
+- * In lxml.cssselect, use the xpath 'A//B' (short for
+-   'A/descendant-or-self::node()/B') instead of 'A/descendant::B' for the
+-   css descendant selector ('A B'). This makes a few edge cases to be
+-   consistent with the selector behavior in WebKit and Firefox, and makes
+-   more css expressions valid location paths (for use in xsl:template
+-   match).
+-
+- * In lxml.html, non-selected <option> tags no longer show up in the
+-   collected form values.
+-
+- * Adding/removing <option> values to/from a multiple select form
+-   field properly selects them and unselects them.
+-
+- Other changes
+- --------------
+-
+- * Static builds can specify the download directory with the
+-   --download-dir option.
+
+
 * Tue Apr 19 2011 Jeffrey C. Ollie <jeff at ocjtech.us> - 2.3-1
 - 2.3 (2011-02-06)
 - ================
diff --git a/sources b/sources
index 43dc7c4..0b48038 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-a245a015fd59b63e220005f263e1682a  lxml-2.3.tar.gz
-50f26dd559af7c9c0b1c58d4772231b5  lxml-2.3.tar.gz.asc
+87931fbf35df60cd71cfe7484b4b36ed  lxml-2.3.1.tar.gz
+a6cf3621940e474c811b7b4a34ca6e71  lxml-2.3.1.tar.gz.asc


More information about the scm-commits mailing list