This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author fdrake
Recipients
Date 2002-04-04.05:07:03
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=3066

Looking at the code, it's not quite so trivial as I'd
thought, but not entirely difficult either.  I started by
creating a locator that had a reference to the parser object
from xml.parser.expat, but that of course has references to
the ExpatParser, so the cycle still exists.

As long as we're trying to solve the problem for Python 2.1
and newer, though, we can use a locator object that has a
weakref to the ExpatParser object, thereby breaking the
cycle.  I like that.  ;-)
History
Date User Action Args
2007-08-23 14:00:09adminlinkissue535474 messages
2007-08-23 14:00:09admincreate