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: Documentation for uuid has wrong description for variant
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.7, Python 3.6, Python 3.5, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: TigerhawkT3, docs@python, python-dev, xiang.zhang
Priority: normal Keywords:

Created on 2017-01-09 22:43 by TigerhawkT3, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg285079 - (view) Author: David Muller (TigerhawkT3) Date: 2017-01-09 22:43
The documentation's description for uuid.variant says that its value is one of several integer constants, but those constants are actually strings.
msg285088 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2017-01-10 03:32
New changeset 0d4e0a736688 by Xiang Zhang in branch '2.7':
Issue #29217: Fix the wrong type description of UUID.variant.
https://hg.python.org/cpython/rev/0d4e0a736688

New changeset 1f8e8e16e996 by Xiang Zhang in branch '3.5':
Issue #29217: Fix the wrong type description of UUID.variant.
https://hg.python.org/cpython/rev/1f8e8e16e996

New changeset aabb9360ff93 by Xiang Zhang in branch '3.6':
Issue #29217: Merge 3.5.
https://hg.python.org/cpython/rev/aabb9360ff93

New changeset a30cdf366c02 by Xiang Zhang in branch 'default':
Issue #29217: Merge 3.6.
https://hg.python.org/cpython/rev/a30cdf366c02
msg285089 - (view) Author: Xiang Zhang (xiang.zhang) * (Python committer) Date: 2017-01-10 03:34
Thanks for your report David. :-) I simply remove the type description since I think the type of the constants doesn't matter here.
History
Date User Action Args
2022-04-11 14:58:41adminsetgithub: 73403
2017-01-10 03:34:28xiang.zhangsetstatus: open -> closed

versions: - Python 3.3, Python 3.4
nosy: + xiang.zhang

messages: + msg285089
resolution: fixed
stage: resolved
2017-01-10 03:32:55python-devsetnosy: + python-dev
messages: + msg285088
2017-01-09 22:43:26TigerhawkT3create