diff options
author | Fred Drake <fdrake@acm.org> | 2001-02-14 18:29:45 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-02-14 18:29:45 (GMT) |
commit | bd6101c3dc0eed50e148096aff8063868cb04acc (patch) | |
tree | c15391bade2e416c29966f6a8319f4eb6eeaa0e3 /Modules/license.terms | |
parent | 8e6d44eedc26cf9869d5a41e743ddf6b4df1aa55 (diff) | |
download | cpython-bd6101c3dc0eed50e148096aff8063868cb04acc.zip cpython-bd6101c3dc0eed50e148096aff8063868cb04acc.tar.gz cpython-bd6101c3dc0eed50e148096aff8063868cb04acc.tar.bz2 |
xmlparseobject: Remove the unused conv_attrs field, added an
in_callback field that's set to true whenever a callback into an
event handler is true. Needed for:
set_error(): Add line number of offset information to the exception
as attributes, so users don't need to parse the text of the
message.
set_error_attr(): New helper function for set_error().
xmlparse_GetInputContext(): New function of the parser object;
returns the document source for an event during a callback, None
at all other times.
xmlparse_SetParamEntityParsing(): Make the signature consistent with
the other parser methods (use xmlparseobject* for self instead of
PyObject*).
initpyexpat(): Don't lose the reference to the exception class!
call_with_frame(),
getcode(): Re-indent to be consistent with the rest of the file.
Diffstat (limited to 'Modules/license.terms')
0 files changed, 0 insertions, 0 deletions