[issue41952] sys.version has double space between month and date

2020-10-07 Thread Steve Dower
Change by Steve Dower : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41952] sys.version has double space between month and date

2020-10-06 Thread Ammar Askar
Ammar Askar added the comment: For reference, this comes from https://github.com/python/cpython/blob/e42b705188271da108de42b55d9344642170aa2b/Modules/getbuildinfo.c#L45-L46 and is set by the compiler `__DATE__` macro. GCC documentation says: > If the day of the month is less than 10, it is

[issue41952] sys.version has double space between month and date

2020-10-06 Thread E. Paine
E. Paine added the comment: I just confirmed (compiling the master having changed the system date) that this double space does not occur when the date is double-digits (`Oct 10`), suggesting that this is almost certainly intentional. -- ___

[issue41952] sys.version has double space between month and date

2020-10-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: >>> sys.version '3.10.0a1 (tags/v3.10.0a1:8e9afaf, Oct 5 2020, 20:32:52) [MSC v.1927 64 bit (AMD64)]' I am guessing that the template is leaving spaces for 2 digits. Intentional? I see the same thing in local repository debug builds. Pablo is the

[issue41952] sys.version has double space between month and date

2020-10-06 Thread E. Paine
New submission from E. Paine : To elaborate on the information given in the title, @sy is referring to the shell start text. More specifically, they are raising a grammatical issue with `sys.version` where there are two spaces between the shortened month form and the date (on my build this