[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-devel-list
Subject:    Re: Mass spec change: Replace Python 3 version globs (3.?) with macros to support 3.10
From:       José_Abílio Matos <jamatos () fc ! up ! pt>
Date:       2020-10-30 8:47:57
Message-ID: 3013170.5fSG56mABF () griffin
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Thursday, October 29, 2020 10:49:27 PM WET Barry wrote:
> After the trauma of the 3.0 release it would be mad to do  a python 4.0 for
> such a trivial reason as packagers that assumed, wrongly, that version can
> only have single digits.
> 
> Barry

This now is an epistemological discussion. :-)
I would not say that the assumption was wrong, IMHO it was right.
People did not assume that version had a single digit they simply took what it 
worked. Because if you look back in history both python 1 and python 2 had 
only single digit so why should we add another level of complexity?

The same already happened before and in this case it affected python when the 
linux major version went from 2 to 3.

Because if we go to a defensive programming, as an example, we should always 
check the return value of printf (C/C++). There are places where it makes 
sense but in most places and in most cases that only makes the code longer, 
hard to read and hard to maintain.

And that was one of the reasons why there are projects changing from the 
semantic versioning to a scheme where only the major version number is 
relevant, e.g. gcc, octave, the browsers...

My original remark was on purpose ignoring that trauma, that in part was also 
self-inflicted, and joking about that. :-)
After all this is one way to deal with trauma, or not? :-)

Regards,
-- 
José Abílio
[Attachment #5 (unknown)]

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">On \
Thursday, October 29, 2020 10:49:27 PM WET Barry wrote:</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; After the \
trauma of the 3.0 release it would be mad to do&nbsp; a python 4.0 for</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; such a \
trivial reason as packagers that assumed, wrongly, that version can</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; only have \
single digits.</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Barry</p> <br \
/><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">This now is \
an epistemological discussion. :-)</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">I would not say \
that the assumption was wrong, IMHO it was right.</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">People did not \
assume that version had a single digit they simply took what it worked. Because if \
you look back in history both python 1 and python 2 had only single digit so why \
should we add another level of complexity?</p> <br /><p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">The same already \
happened before and in this case it affected python when the linux major version went \
from 2 to 3.</p> <br /><p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Because if we go \
to a defensive programming, as an example, we should always check the return value of \
printf (C/C++). There are places where it makes sense but in most places and in most \
cases that only makes the code longer, hard to read and hard to maintain.</p> <br \
/><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">And that was \
one of the reasons why there are projects changing from the semantic versioning to a \
scheme where only the major version number is relevant, e.g. gcc, octave, the \
browsers...</p> <br /><p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">My original remark \
was on purpose ignoring that trauma, that in part was also self-inflicted, and joking \
about that. :-)</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">After all this is \
one way to deal with trauma, or not? :-)</p> <br /><p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Regards,</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">-- </p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">José Abílio</p> \
</body> </html>


[Attachment #6 (text/plain)]

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic