A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2008-June/080436.html below:

[Python-Dev] Proposal: add odict to collections

[Python-Dev] Proposal: add odict to collections [Python-Dev] Proposal: add odict to collectionsStefan Behnel stefan_ml at behnel.de
Sun Jun 15 14:40:36 CEST 2008
Armin Ronacher wrote:
>   - in XML/HTML processing it's often desired to keep the attributes of
>     an tag ordered during processing.  So that input ordering is the
>     same as the output ordering.
> 
>   - [...]
>     XML libraries such as etree could add support for it when creating
>     elements or return attribute dicts.

I hope that what you call "etree" here (I assume you mean ElementTree) would
stay compatible to lxml.etree in that case. Meaning: adding or replacing an
attribute removes a possibly existing entry and appends the new value at the end.

Stefan

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4