Skip to main content

lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It provides safe and convenient access to these libraries using the ElementTree API.

It extends the ElementTree API significantly to offer support for XPath, RelaxNG, XML Schema, XSLT, C14N and much more.

To contact the project, go to the project home page or see our bug tracker at https://launchpad.net/lxml

In case you want to use the current in-development version of lxml, you can get it from the subversion repository at http://codespeak.net/svn/lxml/trunk . Running easy_install lxml==dev will install it from http://codespeak.net/svn/lxml/trunk#egg=lxml-dev

After an official release of a new stable series, bug fixes may become available at http://codespeak.net/svn/lxml/branch/lxml-2.2 . Running easy_install lxml==2.2bugfix will install the unreleased branch state from http://codespeak.net/svn/lxml/branch/lxml-2.2#egg=lxml-2.2bugfix as soon as a maintenance branch has been established.

2.2.3 (2009-10-30)

Features added

Bugs fixed

  • The resolve_entities option did not work in the incremental feed parser.

  • Looking up and deleting attributes without a namespace could hit a namespaced attribute of the same name instead.

  • Late errors during calls to SubElement() (e.g. attribute related ones) could leave a partially initialised element in the tree.

  • Modifying trees that contain parsed entity references could result in an infinite loop.

  • ObjectifiedElement.__setattr__ created an empty-string child element when the attribute value was rejected as a non-unicode/non-ascii string

  • Syntax errors in lxml.cssselect could result in misleading error messages.

  • Invalid syntax in CSS expressions could lead to an infinite loop in the parser of lxml.cssselect.

  • CSS special character escapes were not properly handled in lxml.cssselect.

  • CSS Unicode escapes were not properly decoded in lxml.cssselect.

  • Select options in HTML forms that had no explicit value attribute were not handled correctly. The HTML standard dictates that their value is defined by their text content. This is now supported by lxml.html.

  • XPath raised a TypeError when finding CDATA sections. This is now fully supported.

  • Calling help(lxml.objectify) didn’t work at the prompt.

  • The ElementMaker in lxml.objectify no longer defines the default namespaces when annotation is disabled.

  • Feed parser failed to honour the ‘recover’ option on parse errors.

  • Diverting the error logging to Python’s logging system was broken.

Other changes

Metadata

Release files for lxml 2.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lxml 2.2.3
File Size Uploaded
lxml-2.2.3.tar.gz 3.0 MB Details

Release files / lxml-2.2.3.tar.gz

Download URL lxml-2.2.3.tar.gz
Size 3.0 MB
Tags Source
SHA-256 checksum
How to use checksums
3df975ffbf71825aceda5245b1696001dd319353d1dce28b9f3bc7458f2e6433
BLAKE2b-256 checksum
How to use checksums
796eea42a78e86afe56444d8ab1f84bb7afb2ce3239799d4748ce857f702b2dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

6.0.0

94 release files

5.1.1

73 release files

5.0.2

81 release files

5.0.0

88 release files

4.9.4

93 release files

4.9.2

77 release files

4.9.0

63 release files

4.8.0

61 release files

4.7.1

60 release files

4.6.5

60 release files

4.6.3

48 release files

4.6.2

37 release files

4.6.1

37 release files

4.6.0

36 release files

4.5.1

27 release files

4.5.0

27 release files

4.4.3

27 release files

4.4.2

26 release files

4.4.1

26 release files

4.4.0

22 release files

4.3.5

24 release files

4.3.4

24 release files

4.3.3

26 release files

4.3.2

26 release files

4.2.5

30 release files

4.2.3

26 release files

4.2.2

27 release files

4.2.1

28 release files

4.2.0

28 release files

4.1.0

28 release files

4.0.0

28 release files

3.7.3

22 release files

3.7.1

16 release files

3.7.0

9 release files

3.6.4

14 release files

3.6.3

14 release files

3.6.2

9 release files

3.6.1

9 release files

3.6.0

21 release files

3.5.0

16 release files

3.4.4

16 release files

3.4.3

11 release files

3.4.1

16 release files

3.4.0

16 release files

3.3.6

16 release files

3.3.5

16 release files

3.3.2

11 release files

3.3.1

11 release files

3.3.0

1 release file

3.2.3

11 release files

3.2.2

11 release files

3.2.1

11 release files

3.2.0

11 release files

3.1.2

11 release files

3.1.1

11 release files

3.1.0

11 release files

3.0.2

6 release files

3.0

6 release files

2.3.6

1 release file

2.3.5

1 release file

2.3.4

1 release file

2.3.3

1 release file

2.3.2

1 release file

2.3.1

1 release file

2.3

22 release files

2.2.7

5 release files

2.2.6

9 release files

2.2.5

1 release file

2.2.4

17 release files

This release

2.2.3 This release

1 release file

2.2.2

16 release files

2.2

9 release files

2.1.5

7 release files

2.1.4

7 release files

2.1.3

7 release files

2.1.2

7 release files

2.1.1

7 release files

2.1

7 release files

2.0.11

7 release files

2.0.10

7 release files

2.0.9

7 release files

2.0.8

7 release files

2.0.7

5 release files

2.0.6

5 release files

2.0.5

5 release files

2.0.4

5 release files

2.0

5 release files

1.3.6

5 release files

1.3.5

1 release file

1.3.4

5 release files

1.3.3

5 release files

1.3.2

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page