diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-09-05 01:58:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-05 01:58:08 +0200 |
commit | 759e30ec47048cb9835c62aaeac48748c8151390 (patch) | |
tree | 478ab7ff419b5b11a45aebea88b379aca08fe51b /Modules/expat/ascii.h | |
parent | bpo-28411: Remove "modules" field from Py_InterpreterState. (#1638) (diff) | |
download | cpython-759e30ec47048cb9835c62aaeac48748c8151390.tar.gz cpython-759e30ec47048cb9835c62aaeac48748c8151390.tar.bz2 cpython-759e30ec47048cb9835c62aaeac48748c8151390.zip |
bpo-31170: Update libexpat from 2.2.3 to 2.2.4 (#3315)
* bpo-31170: Update libexpat from 2.2.3 to 2.2.4
Fix copying of partial characters for UTF-8 input (libexpat bug 115):
https://github.com/libexpat/libexpat/issues/115
* Add NEWS entry.
Diffstat (limited to 'Modules/expat/ascii.h')
-rw-r--r-- | Modules/expat/ascii.h | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/Modules/expat/ascii.h b/Modules/expat/ascii.h index d10530b09bd..c3587e57332 100644 --- a/Modules/expat/ascii.h +++ b/Modules/expat/ascii.h @@ -1,5 +1,33 @@ -/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd - See the file COPYING for copying permission. +/* + __ __ _ + ___\ \/ /_ __ __ _| |_ + / _ \\ /| '_ \ / _` | __| + | __// \| |_) | (_| | |_ + \___/_/\_\ .__/ \__,_|\__| + |_| XML parser + + Copyright (c) 1997-2000 Thai Open Source Software Center Ltd + Copyright (c) 2000-2017 Expat development team + Licensed under the MIT license: + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to permit + persons to whom the Software is furnished to do so, subject to the + following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN + NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE + USE OR OTHER DEALINGS IN THE SOFTWARE. */ #define ASCII_A 0x41 |