[Expat-discuss] explicit unsetting required before new one?

Fred L. Drake, Jr. fdrake@acm.org
Fri Oct 19 12:40:21 2001


Carlos Pereira writes:
 > I need to change the element_start 
 > and element_end handlers while parsing.
...
 > (Is this just changing the function pointers,
 > or some memory dellocation is actually taking place,

  Just set the new ones; there's no specific call to deallocate memory
or anything until you're completely done with the parser object, and
then you just get rid of the whole thing.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation