autoconf-archive-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #10109] Fixes for Python 3.10+


From: anonymous
Subject: [patch #10109] Fixes for Python 3.10+
Date: Sat, 23 Oct 2021 00:29:35 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36

Follow-up Comment #1, patch #10109 (project autoconf-archive):

This is incomplete - I believe you'll still end up with incorrect comparisons
when trying, say, 3.10 >= 3.4.

Should also probably update the documentation at the top to say that it
ignores point release number.

(I fixed this in a use case by using packaging/distlib.version's LegacyVersion
for comparisons; if you just care about major.minor, one presumes you could
just pad the version number out and then string comparison could do the right
thing...)

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?10109>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]