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: Upper-case all example enum members
Type: Stage: resolved
Components: Documentation Versions: Python 3.7, Python 3.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Rosuav, docs@python, ethan.furman, python-dev
Priority: normal Keywords: patch

Created on 2016-09-15 19:01 by Rosuav, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
uppercase-enums.patch Rosuav, 2016-09-15 19:01 review
Messages (2)
msg276589 - (view) Author: Chris Angelico (Rosuav) * Date: 2016-09-15 19:01
Discussion on python-ideas led to a firm ruling by Guido that enum members are functionally equivalent to constants, and should thus be named in upper-case. This is contrary to the current documentation. Solution? Change the docs.
msg281383 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-11-21 17:24
New changeset b9801dab214a by Ethan Furman in branch '3.6':
close issue28172: Change all example enum member names to uppercase, per Guido; patch by Chris Angelico.
https://hg.python.org/cpython/rev/b9801dab214a

New changeset 5ec8d4c51363 by Ethan Furman in branch 'default':
close issue28172: Change all example enum member names to uppercase, per Guido; patch by Chris Angelico.
https://hg.python.org/cpython/rev/5ec8d4c51363
History
Date User Action Args
2022-04-11 14:58:36adminsetgithub: 72359
2016-11-21 17:25:11ethan.furmansetversions: - Python 3.5
2016-11-21 17:24:14python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg281383

resolution: fixed
stage: patch review -> resolved
2016-09-15 19:35:38ethan.furmansetnosy: + ethan.furman
2016-09-15 19:10:59SilentGhostsetstage: patch review
2016-09-15 19:01:47Rosuavcreate