Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbpo-39234: `enum.auto()` default initial value as 1 #17878
Conversation
This comment has been minimized.
This comment has been minimized.
@ethanfurman this should back-port all the way to 3.6 as |
@@ -55,7 +55,7 @@ helper, :class:`auto`. | |||
|
|||
.. class:: auto | |||
|
|||
Instances are replaced with an appropriate value for Enum members. | |||
Instances are replaced with an appropriate value for Enum members. By default, the initial value starts at 1 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Jan 6, 2020
@YoSTEALTH: Status check is done, and it's a success |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Jan 6, 2020
Thanks @YoSTEALTH for the PR |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Jan 6, 2020
Sorry, @YoSTEALTH, I could not cleanly backport this to |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Jan 6, 2020
Sorry @YoSTEALTH, I had trouble checking out the |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Jan 6, 2020
Sorry, @YoSTEALTH, I could not cleanly backport this to |
…7878) Updated as Eric mentioned "By default, the initial value starts at 1" https://bugs.python.org/issue39234 Automerge-Triggered-By: @ericvsmith. (cherry picked from commit 24bcefc) Co-authored-by: YoSTEALTH <35307184+YoSTEALTH@users.noreply.github.com>
Updated as Eric mentioned "By default, the initial value starts at 1" https://bugs.python.org/issue39234 Automerge-Triggered-By: @ericvsmith. (cherry picked from commit 24bcefc) Co-authored-by: YoSTEALTH <35307184+YoSTEALTH@users.noreply.github.com>
Updated as Eric mentioned "By default, the initial value starts at 1" https://bugs.python.org/issue39234 Automerge-Triggered-By: @ericvsmith. (cherry picked from commit 24bcefc) Co-authored-by: YoSTEALTH <35307184+YoSTEALTH@users.noreply.github.com>
Updated as Eric mentioned "By default, the initial value starts at 1" https://bugs.python.org/issue39234 Automerge-Triggered-By: @ericvsmith. (cherry picked from commit 24bcefc) Co-authored-by: YoSTEALTH <35307184+YoSTEALTH@users.noreply.github.com>
Updated as Eric mentioned "By default, the initial value starts at 1" https://bugs.python.org/issue39234 Automerge-Triggered-By: @ericvsmith
YoSTEALTH commentedJan 6, 2020
•
edited by miss-islington
Updated as Eric mentioned "By default, the initial value starts at 1"
https://bugs.python.org/issue39234
Automerge-Triggered-By: @ericvsmith