]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
ParserCreate(): Allow an empty string for the namespace_separator argument;
authorFred Drake <fdrake@acm.org>
Wed, 25 Apr 2001 16:01:30 +0000 (16:01 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 25 Apr 2001 16:01:30 +0000 (16:01 +0000)
commitcde79131eac7d4a6ddfe13b8b082a5869af9cf9e
tree280d9519d53d2743cd2d2c0ebef89695d0951d46
parentc09cee4d92acbf77c1ca3a417975762a8ffcf59c
ParserCreate():  Allow an empty string for the namespace_separator argument;
    while not generally a good idea, this is used by RDF users, and works
    to implement RDF-style namespace+localname concatenation as defined
    in the RDF specifications.  (This also corrects a backwards-compatibility
    bug.)

Be more conservative while clearing out handlers; set the slot in the
self->handlers array to NULL before DECREFing the callback.

Still more adjustments to make the code style internally consistent.
Modules/pyexpat.c