This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Wrong Unicode version in unicodedata docstring
Type: behavior Stage: resolved
Components: Unicode Versions: Python 3.2, Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ezio.melotti Nosy List: ezio.melotti, flox, python-dev
Priority: normal Keywords: easy, needs review, patch

Created on 2011-11-09 23:24 by flox, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue13379.diff ezio.melotti, 2011-11-10 05:00
Messages (4)
msg147381 - (view) Author: Florent Xicluna (flox) * (Python committer) Date: 2011-11-09 23:24
The unicodedata docstring says "5.2" multiple times.


Modules/unicodedata.c:   unicodedata -- Provides access to the Unicode 5.2 data base.
Modules/unicodedata.c:   Data was extracted from the Unicode 5.2 UnicodeData.txt file.
Modules/unicodedata.c:5.2.0 which is publically available from ftp://ftp.unicode.org/.\n\
Modules/unicodedata.c:UnicodeData File Format 5.2.0 (see\n\


However:

>>> import unicodedata
>>> unicodedata.unidata_version
'6.0.0'
msg147396 - (view) Author: Florent Xicluna (flox) * (Python committer) Date: 2011-11-10 07:14
I would change the last sentence with something like:

+   unicodedata -- Provides access to the Unicode database.
 
+   Data was extracted from the UnicodeData.txt file.
+   The current version number is reported in unidata_version constant.


LGTM.
msg147397 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-11-10 07:38
New changeset 6ddda809ea8c by Ezio Melotti in branch '3.2':
#13379: update Unicode version in unicodedata docstrings and comments.
http://hg.python.org/cpython/rev/6ddda809ea8c

New changeset 5fdd0c8032d0 by Ezio Melotti in branch 'default':
#13379: merge with 3.2.
http://hg.python.org/cpython/rev/5fdd0c8032d0
msg147398 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2011-11-10 07:39
Fixed, thanks for the report and the review.
History
Date User Action Args
2022-04-11 14:57:23adminsetgithub: 57588
2011-11-10 07:39:01ezio.melottisetstatus: open -> closed
resolution: fixed
messages: + msg147398

stage: commit review -> resolved
2011-11-10 07:38:12python-devsetnosy: + python-dev
messages: + msg147397
2011-11-10 07:14:54floxsetmessages: + msg147396
2011-11-10 05:00:41ezio.melottisetkeywords: + needs review, patch
assignee: ezio.melotti
files: + issue13379.diff
stage: needs patch -> commit review
2011-11-09 23:24:22floxcreate