Closed abalkin closed 11 years ago
At the minimum, we should refer to unicode.org:
http://www.unicode.org/versions/Unicode6.1.0/#Database_Changes (for Python 3.3), http://www.unicode.org/versions/Unicode6.2.0/#Database_Changes (for Python 3.4).
We may also want to highlight changes that directly affect python programs. For example addition of new characters accepted as decimal digits in UCD 6.1.0.
Here is another change that I think deserves an explicit mention in "What's New":
Python 3.3.2
>>> exec('a\u17B4 = 5')
>>> eval('a\u17B4')
5
Python 3.2.5
>>> exec('a\u17B4 = 5')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<string>", line 1
a឴ = 5
^
SyntaxError: invalid character in identifier
Are you sure that the permission to use "KHMER VOWEL INHERENT AQ" in an identifier is worth mentioning? Very few of the Python developers speak Khmer in the first place, let alone have the desire to use it in a Python identifier.
MvL> Are you sure that the permission to use "KHMER VOWEL INHERENT AQ" MvL> in an identifier is worth mentioning?
No, but it is worth mentioning that there are no more substantial changes. I don't think the change from 6.1.0 to 6.2.0 has any effect on python programs that don't explicitly use unicodedata module. ("Version 6.2 of the Unicode Standard is a special release dedicated to the early publication of the newly encoded Turkish lira sign.") If this is true, I think What's New in 3.4 can just say that. The change from 6.1.0 to 6.2.0 is more substantial, so I think it is worth mentioning a few effects so that users don't have to wonder what the upgrade means for them. The effect of the change on Python language and builtins is not at all obvious from the Unicode's own summary of changes.
I don't think anything of this is worth mentioning, except to mention the precise version number of the database. Anybody interested in the consequences of the change should read the announcement of the Unicode Consortium.
I agree with Martin, mentioning that the database has been updated should be enough.
It is not easy to figure out the consequences (if any) of UCD change for python grammar from unicode standard release notes. I went through this exercise for a few releases and I thought it would be useful to share in release notes. Since there does not seem to be interest, I am closing this issue.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields: ```python assignee = None closed_at =
created_at =
labels = ['easy', 'type-feature', 'docs']
title = "What's new in Python should explain what's new in UCD"
updated_at =
user = 'https://github.com/abalkin'
```
bugs.python.org fields:
```python
activity =
actor = 'ezio.melotti'
assignee = 'docs@python'
closed = True
closed_date =
closer = 'belopolsky'
components = ['Documentation']
creation =
creator = 'belopolsky'
dependencies = []
files = []
hgrepos = []
issue_num = 18231
keywords = ['easy']
message_count = 7.0
messages = ['191278', '191279', '191315', '191353', '191509', '192330', '192463']
nosy_count = 4.0
nosy_names = ['loewis', 'belopolsky', 'ezio.melotti', 'docs@python']
pr_nums = []
priority = 'normal'
resolution = 'wont fix'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue18231'
versions = ['Python 3.3', 'Python 3.4']
```