Issue 16107: distutils2.version doesn't str() "1.0.post1" correctly (original) (raw)

Issue16107

Created on 2012-10-02 00:33 by richard, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
post-fix.patch richard,2012-10-02 00:32 Patch to test and fix the problem
Messages (5)
msg171765 - (view) Author: Richard Jones (richard) * (Python committer) Date: 2012-10-02 00:32
The attached simple patch demonstrates the problem: >>> str(NormalizedVersion('1.0.post1')) '1.0.post1.z' and includes a fix.
msg171810 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2012-10-02 15:13
Thanks, will apply.
msg173932 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-10-27 16:18
New changeset 6e98237abde9 by Éric Araujo in branch 'default': Fix stringification of final versions (#16107). http://hg.python.org/distutils2/rev/6e98237abde9
msg173933 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2012-10-27 16:20
Fixed. Vinay, you probably want to apply this to your forked version module too.
msg173945 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-10-27 17:20
New changeset d328dcd07449 by Éric Araujo in branch 'python3': Merge fixes for #16107 and #15957 from default http://hg.python.org/distutils2/rev/d328dcd07449
History
Date User Action Args
2022-04-11 14:57:36 admin set github: 60311
2012-10-27 17:20:44 python-dev set messages: +
2012-10-27 16:20:52 eric.araujo set status: open -> closednosy: + vinay.sajipmessages: + resolution: fixedstage: patch review -> resolved
2012-10-27 16🔞46 python-dev set nosy: + python-devmessages: +
2012-10-02 15:13:51 eric.araujo set messages: + versions: + 3rd party
2012-10-02 00:33:01 richard create