Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7e0aef0e
Commit
7e0aef0e
authored
Dec 12, 2005
by
Fredrik Lundh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
r1068@spiff: Fredrik | 2005-12-12 19:50:30 +0100
assorted xml.etree tweaks
parent
075854fc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
2 deletions
+19
-2
Doc/whatsnew/whatsnew25.tex
Doc/whatsnew/whatsnew25.tex
+8
-0
Lib/test/xmltests.py
Lib/test/xmltests.py
+1
-0
Lib/xml/__init__.py
Lib/xml/__init__.py
+6
-2
Misc/NEWS
Misc/NEWS
+4
-0
No files found.
Doc/whatsnew/whatsnew25.tex
View file @
7e0aef0e
...
...
@@ -421,6 +421,12 @@ using the mode \code{'r|*'}.
% patch 918101
(Contributed by Lars Gust
\"
abel.)
\item
A new package
\module
{
xml.etree
}
has been added, which contains
a subset of the ElementTree XML library. Available modules are
\module
{
ElementTree
}
,
\module
{
ElementPath
}
, and
\module
{
ElementInclude
}
, from ElementTree 1.2.6. (Contributed by
Fredrik Lundh.)
\item
The
\module
{
xmlrpclib
}
module now supports returning
\class
{
datetime
}
objects for the XML-RPC date type. Supply
\code
{
use
_
datetime=True
}
to the
\function
{
loads()
}
function
...
...
@@ -437,6 +443,8 @@ using the mode \code{'r|*'}.
% XXX new distutils features: upload
% XXX should hashlib perhaps be described here instead?
% XXX should xml.etree perhaps be described here instead?
...
...
Lib/test/xmltests.py
View file @
7e0aef0e
...
...
@@ -15,5 +15,6 @@ def runtest(name):
runtest
(
"test.test_minidom"
)
runtest
(
"test.test_pyexpat"
)
runtest
(
"test.test_sax"
)
runtest
(
"test.test_xml_etree"
)
runtest
(
"test.test_xmllib"
)
runtest
(
"test.test_xmlrpc"
)
Lib/xml/__init__.py
View file @
7e0aef0e
"""Core XML support for Python.
This package contains
three
sub-packages:
This package contains
four
sub-packages:
dom -- The W3C Document Object Model. This supports DOM Level 1 +
Namespaces.
...
...
@@ -10,10 +10,14 @@ parsers -- Python wrappers for XML parsers (currently only supports Expat).
sax -- The Simple API for XML, developed by XML-Dev, led by David
Megginson and ported to Python by Lars Marius Garshol. This
supports the SAX 2 API.
etree -- The ElementTree XML library. This is a subset of the full
ElementTree XML release.
"""
__all__
=
[
"dom"
,
"parsers"
,
"sax"
]
__all__
=
[
"dom"
,
"parsers"
,
"sax"
,
"etree"
]
# When being checked-out without options, this has the form
# "<dollar>Revision: x.y </dollar>"
...
...
Misc/NEWS
View file @
7e0aef0e
...
...
@@ -292,6 +292,10 @@ Extension Modules
Library
-------
-
Added
a
subset
of
Fredrik
Lundh
's ElementTree package. Available
modules are xml.etree.ElementTree, xml.etree.ElementPath, and
xml.etree.ElementInclude, from ElementTree 1.2.6.
- Patch #1162825: Support non-ASCII characters in IDLE window titles.
- Bug #1365984: urllib now opens "data:" URLs again.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment