Fred Drake
ddb486745b
Conform more closely with the Python style guide.
2000-09-23 05:32:26 +00:00
Fred Drake
96ea196ea8
Use the public name for the Expat parser; "pyexpat" is deprecated.
2000-09-23 04:49:30 +00:00
Fred Drake
003b9250e3
Add a wrapper around the pyexpat module, making the "public" name of
...
the module "xml.parsers.expat".
2000-09-23 04:44:43 +00:00
Guido van Rossum
7fa7da861a
More whitespace cleanup, to satisfy tabnanny.py. Don't trust -tt!
2000-09-22 09:30:29 +00:00
Fred Drake
7422b6b6a2
White space cleanup, including one item that was an error under -tt.
2000-09-22 05:07:56 +00:00
Fred Drake
07cbc4e5bd
Paul Prescod <paul@prescod.net>:
...
Add support for parsing already-opened files. Make sure the parse()
method closes exactly those files that it opens.
Modified by FLD for better conformance to the Python style guide.
This closes SourceForge patch #101512 .
2000-09-21 17:43:48 +00:00
Fred Drake
44627016da
SAXException.__getitem__(): Raise AttributeError instead of NameError.
2000-09-21 16:32:28 +00:00
Jeremy Hylton
d34580cb87
fix bogus references to imp; makes test_minidom succeed
2000-09-21 14:46:56 +00:00
Lars Gustäbel
b798c0109f
Now uses make_parser to create its parser (patch 101573).
2000-09-21 08:38:46 +00:00
Lars Gustäbel
ae43e5205d
Added the make_parser function (patch 101571).
2000-09-21 08:34:04 +00:00
Lars Gustäbel
c5cec51b95
Updated XMLGenerator to new DocumentHandler interface (patch 101572).
2000-09-21 08:25:28 +00:00
Lars Gustäbel
b4d6bb0987
Updated to correct DocumentHandler signatures. (patch 101570)
2000-09-21 08:18:55 +00:00
Fred Drake
a12adfe485
Reduce the number of imports needed.
...
Make the code conform better to the Python style guide.
2000-09-18 17:40:22 +00:00
Fred Drake
6f6d51d050
Remove two unnecessary imports.
...
Update the module docstring to reflect the actual list of modules in the
xml.sax package.
Make the code better conform to the Python style guide.
2000-09-18 16:31:08 +00:00
Fred Drake
c40cdf7238
Once we're done with the sys module, remove it from the namespace so
...
this module is "import *" safe.
2000-09-18 16:22:30 +00:00
Paul Prescod
5c6bd31319
Fixed some typos. Removed one obsolete comment.
2000-09-15 18:38:47 +00:00
Paul Prescod
ce88db0230
Fixed bug that disallowed processing instructions before and after
...
document element.
2000-09-15 17:09:19 +00:00
Fred Drake
5750017563
Remove the outer test for __name__; not necessary.
2000-08-04 03:14:55 +00:00
Fred Drake
327e1878ac
Add magic to replace the xml package with _xmlplus at import time.
...
Update docstring to reflect change of name for the parsers subpackage.
2000-08-01 00:05:16 +00:00
Fred Drake
ede77bfda4
Rename the "parser" package to "parsers" to be compatible with the PyXML
...
project.
2000-07-31 23:59:54 +00:00
Paul Prescod
623511b7df
Added a few docstrings
2000-07-21 22:05:49 +00:00
Thomas Wouters
7e47402264
Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either
...
comments, docstrings or error messages. I fixed two minor things in
test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't").
There is a minor style issue involved: Guido seems to have preferred English
grammar (behaviour, honour) in a couple places. This patch changes that to
American, which is the more prominent style in the source. I prefer English
myself, so if English is preferred, I'd be happy to supply a patch myself ;)
2000-07-16 12:04:32 +00:00
Jeremy Hylton
04f39aa859
fix inconsistent use of tabs and spaces
2000-07-07 21:02:00 +00:00
Skip Montanaro
f9059ebede
fixed indentation in several places
2000-07-06 03:01:40 +00:00
Skip Montanaro
26a7983f08
fix indentation in one docstring
2000-07-06 02:56:36 +00:00
Skip Montanaro
a2dccfbc09
fix indentation in three docstrings
2000-07-06 02:55:41 +00:00
Paul Prescod
6c4753f925
Used original SAX handling form.
2000-07-04 03:39:33 +00:00
Fred Drake
b19948b7fb
Typo (mine): Garsholm --> Garshol
...
Noted by Rob Hooft <rob@hooft.net>.
2000-07-02 13:52:21 +00:00
Paul Prescod
1e68827c8f
Misc fixes and improvements.
2000-07-01 19:21:47 +00:00
Paul Prescod
bd8c2ae758
Removed unncessary dependency.
2000-07-01 19:19:32 +00:00
Paul Prescod
b58e6b10b6
Tightened xml.sax.__init__.py
2000-07-01 13:44:04 +00:00
Paul Prescod
73678dac48
Reference cycle fixes
2000-07-01 04:58:47 +00:00
Fred Drake
c6e72e0b45
Typo.
2000-06-29 20:02:38 +00:00
Fred Drake
55c3819e6a
Paul Prescod <paul@prescod.net>:
...
W3C DOM implementation for Python.
2000-06-29 19:39:57 +00:00
Fred Drake
3f6a7b5efb
Package docstring.
2000-06-29 19:36:27 +00:00
Fred Drake
45cd9de2bb
Paul Prescod <paul@prescod.net>:
...
SAX interfaces for Python.
2000-06-29 19:34:54 +00:00
Fred Drake
0d800e1481
Package docstring and initialization.
2000-06-29 19:33:43 +00:00
Fred Drake
e85c350600
Package docstring.
2000-06-29 19:28:01 +00:00