[Python-checkins] bpo-39012: Fix RC version suffix for nuget release files (GH-17564)

Steve Dower webhook-mailer at python.org
Tue Dec 10 18:19:21 EST 2019


https://github.com/python/cpython/commit/d0802d07d2c864b95480a9b24c7cc050e19189d5
commit: d0802d07d2c864b95480a9b24c7cc050e19189d5
branch: master
author: Steve Dower <steve.dower at python.org>
committer: GitHub <noreply at github.com>
date: 2019-12-10T15:19:03-08:00
summary:

bpo-39012: Fix RC version suffix for nuget release files (GH-17564)

files:
M PC/layout/support/constants.py

diff --git a/PC/layout/support/constants.py b/PC/layout/support/constants.py
index a8647631e9b4c..6cf0fe1d34c4a 100644
--- a/PC/layout/support/constants.py
+++ b/PC/layout/support/constants.py
@@ -20,7 +20,7 @@ def _unpack_hexversion():
 
 
 def _get_suffix(field4):
-    name = {0xA0: "a", 0xB0: "b", 0xC0: "c"}.get(field4 & 0xF0, "")
+    name = {0xA0: "a", 0xB0: "b", 0xC0: "rc"}.get(field4 & 0xF0, "")
     if name:
         serial = field4 & 0x0F
         return f"{name}{serial}"



More information about the Python-checkins mailing list