Thomas Wouters
84da8aa7e2
Fix inconsistent use of space/tabs.
2000-09-25 00:11:37 +00:00
Martin v. Löwis
58af43fd76
[Patch 101634]
...
xml.sax: Fix parse and parseString not to rely on ExpatParser
Greatly simplify import logic by using __import__
saxutils: Support Unicode strings and files as parameters to
prepare_input_source
2000-09-24 21:31:06 +00:00
Martin v. Löwis
2066fa023c
Find feature names in handler.
2000-09-24 21:17:39 +00:00
Lars Gustäbel
3a361f4f8b
Fixed another bug.
2000-09-24 20:55:01 +00:00
Lars Gustäbel
bb757136b2
Improvements to doco strings.
...
Tiny bug fix to expatreader.py (endDocument was only called after errors).
2000-09-24 20:38:18 +00:00
Lars Gustäbel
e292a24589
Added EntityResolver and DTDHandler (patch 101631) with test cases.
2000-09-24 20:19:45 +00:00
Lars Gustäbel
523b0a6ec8
Added back the InputSource class (patch 101630).
2000-09-24 18:54:49 +00:00
Lars Gustäbel
32bf12eb8a
Updated to final Attributes interface (patch 101632).
2000-09-24 18:39:23 +00:00
Lars Gustäbel
f43cf31f4a
Updated to new *NS signatures (patch 101573).
2000-09-24 18:29:24 +00:00
Lars Gustäbel
358f4da29c
Added back missing argument to ignorableWhitespace signature.
2000-09-24 11:06:27 +00:00
Lars Gustäbel
fc643c339d
Bug fix to namespace handling in XMLGenerator (now adds declarations).
...
Bug fixes to XMLFilterBase (wrong ignorableWhitespace signature and
did not inherit set*Handler methods from XMLReader.)
2000-09-24 10:53:31 +00:00
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
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
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
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
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
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