it_*_*ure 10 python unicode debian version
对于我的debian9中的unicode版本
ls /usr/share/doc/unicode-data
changelog.Debian.gz copyright
Run Code Online (Sandbox Code Playgroud)
提取changelog.Debian.gz,一些版本信息如下:
unicode-data (9.0-1) unstable; urgency=medium
* New upstream release. Closes: #827098.
* Move to Standards-Version: 3.9.6. No changes required.
-- Alastair McKinstry <mckinstry@debian.org> Wed, 22 Jun 2016 14:49:26 +0100
unicode-data (8.0-3) unstable; urgency=medium
* Fetch new allkeys.txt for Unicode 8. Closes: #809188.
* Move to S-V: 3.9.6. No changes required.
* Fix sort error in NameAliases.txt. Closes: #808465.
-- Alastair McKinstry <mckinstry@debian.org> Tue, 29 Dec 2015 02:15:32 +0000
Run Code Online (Sandbox Code Playgroud)
我的debian9的unicode版本是9.0-1?
对于python3中的unicode版本
>>> import unicodedata
>>> unicodedata.unidata_version
'8.0.0'
Run Code Online (Sandbox Code Playgroud)
这是否意味着我的debian9中的unicode版本是9.0-1,与我的python3中的unicode版本不同?
Python 内置了对unicodedata.
例如我的/usr/share/doc/python3.6/changelog.gz(运行 Debian/sid,所以Python3.6.5-3)说:
Python 3.6.0 beta 2 有哪些新增功能?[...] - 将内部 unicode 数据库升级到 Unicode 版本 9.0.0。
因此它很可能会忽略您在系统上安装的任何内容(例如通过unicode-data)。
| 归档时间: |
|
| 查看次数: |
160 次 |
| 最近记录: |