mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Swap public and system ID in start_doctype_decl. Fixes #780300.
This commit is contained in:
parent
8b3e871a19
commit
456ab1d271
3 changed files with 8 additions and 1 deletions
|
|
@ -561,6 +561,10 @@ changes to your code:
|
|||
\item \function{dircache.listdir()} now passes exceptions to the caller
|
||||
instead of returning empty lists.
|
||||
|
||||
\item \function{LexicalHandler.startDTD} used to receive public and system ID
|
||||
in the wrong order. This has been corrected; applications relying on the
|
||||
wrong order need to be fixed.
|
||||
|
||||
\end{itemize}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -361,7 +361,7 @@ def start_namespace_decl(self, prefix, uri):
|
|||
def end_namespace_decl(self, prefix):
|
||||
self._cont_handler.endPrefixMapping(prefix)
|
||||
|
||||
def start_doctype_decl(self, name, pubid, sysid, has_internal_subset):
|
||||
def start_doctype_decl(self, name, sysid, pubid, has_internal_subset):
|
||||
self._lex_handler_prop.startDTD(name, pubid, sysid)
|
||||
|
||||
def unparsed_entity_decl(self, name, base, sysid, pubid, notation_name):
|
||||
|
|
|
|||
|
|
@ -306,6 +306,9 @@ Extension modules
|
|||
Library
|
||||
-------
|
||||
|
||||
- Bug #780300: Swap public and system ID in LexicalHandler.startDTD.
|
||||
Applications relying on the wrong order need to be corrected.
|
||||
|
||||
- Bug #926075: Fixed a bug that returns a wrong pattern object
|
||||
for a string or unicode object in sre.compile() when a different
|
||||
type pattern with the same value exists.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue