Activity log for bug #2059412

Date Who What changed Old value New value Message
2024-03-28 11:38:44 Nathan Teodosio bug added bug
2024-03-28 11:41:29 Nathan Teodosio description Installing software-properties gives ---> /usr/lib/python3/dist-packages/softwareproperties/gtk/DialogMirror.py:197: SyntaxWarning: invalid escape sequence '\.' elif re.match("^((ftp)|(http)|(file)|(rsync)|(https))://([a-z]|[A-Z]|[0-9]|:|/|\.|~)+$", uri) == None: <--- Installing software-properties gives ---> /usr/lib/python3/dist-packages/softwareproperties/gtk/DialogMirror.py:197: SyntaxWarning: invalid escape sequence '\.'   elif re.match("^((ftp)|(http)|(file)|(rsync)|(https))://([a-z]|[A-Z]|[0-9]|:|/|\.|~)+$", uri) == None: <--- Marked as "wishlist" importance because Python still passes that to re.match as '\.' instead of '.', so the behavior is correct, as can be confirmed with ---> % python3 -c 'print("\.")' <string>:1: SyntaxWarning: invalid escape sequence '\.' \. <---
2024-03-28 11:57:05 Nathan Teodosio description Installing software-properties gives ---> /usr/lib/python3/dist-packages/softwareproperties/gtk/DialogMirror.py:197: SyntaxWarning: invalid escape sequence '\.'   elif re.match("^((ftp)|(http)|(file)|(rsync)|(https))://([a-z]|[A-Z]|[0-9]|:|/|\.|~)+$", uri) == None: <--- Marked as "wishlist" importance because Python still passes that to re.match as '\.' instead of '.', so the behavior is correct, as can be confirmed with ---> % python3 -c 'print("\.")' <string>:1: SyntaxWarning: invalid escape sequence '\.' \. <--- Installing software-properties gives ---> /usr/lib/python3/dist-packages/softwareproperties/gtk/DialogMirror.py:197: SyntaxWarning: invalid escape sequence '\.'   elif re.match("^((ftp)|(http)|(file)|(rsync)|(https))://([a-z]|[A-Z]|[0-9]|:|/|\.|~)+$", uri) == None: <--- Marked as "wishlist" importance because Python still passes that to re.match as '\.' instead of '.', so the behavior is correct, as can be confirmed with ---> % python3 -c 'print("\.")' <string>:1: SyntaxWarning: invalid escape sequence '\.' \. <--- In a future Python version they will be eventually a SyntaxError[1]. [1] https://docs.python.org/3/reference/lexical_analysis.html#escape-sequences
2024-03-28 13:50:45 Nathan Teodosio merge proposal linked https://code.launchpad.net/~nteodosio/software-properties/+git/software-properties/+merge/463288
2024-04-18 16:19:30 Nick Rosbrook software-properties (Ubuntu): status Triaged Fix Committed
2024-04-19 03:02:59 Launchpad Janitor software-properties (Ubuntu): status Fix Committed Fix Released