mirror of
https://github.com/python/cpython.git
synced 2025-10-03 13:45:29 +00:00
Issue #10459: Update CJK character names to Unicode 5.2.
This commit is contained in:
parent
2751cb0029
commit
e03c7787b9
2 changed files with 5 additions and 2 deletions
|
@ -13,6 +13,8 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #10459: Update CJK character names to Unicode 5.2.
|
||||||
|
|
||||||
- Issue #4493: urllib2 adds '/' in front of path components which does not
|
- Issue #4493: urllib2 adds '/' in front of path components which does not
|
||||||
start with '/. Common behavior exhibited by browsers and other clients.
|
start with '/. Common behavior exhibited by browsers and other clients.
|
||||||
|
|
||||||
|
|
|
@ -869,8 +869,9 @@ is_unified_ideograph(Py_UCS4 code)
|
||||||
{
|
{
|
||||||
return (
|
return (
|
||||||
(0x3400 <= code && code <= 0x4DB5) || /* CJK Ideograph Extension A */
|
(0x3400 <= code && code <= 0x4DB5) || /* CJK Ideograph Extension A */
|
||||||
(0x4E00 <= code && code <= 0x9FBB) || /* CJK Ideograph */
|
(0x4E00 <= code && code <= 0x9FCB) || /* CJK Ideograph, Unicode 5.2 */
|
||||||
(0x20000 <= code && code <= 0x2A6D6));/* CJK Ideograph Extension B */
|
(0x20000 <= code && code <= 0x2A6D6) || /* CJK Ideograph Extension B */
|
||||||
|
(0x2A700 <= code && code <= 0x2B734)); /* CJK Ideograph Extension C */
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue