It would seem an oversight or an unfinished feature or … something …
But … phils response in the link means that theres no use reporting it because its intended?
I dont know - for some reason mentioning it was met with attitude.
hey @philm - scripts are relying on a stable output of things. in case there isn’t a really good reason, I don’t think such things should be spammed into stdout without any flag.
I agree - it shouldn’t be in stable - that code should have been removed or made conditional using --debug flag.
I can give you an idea of why it is there.
During tests to use the latest python package standards we discovered that in rare circumstances - usually with CI builds - there was no locale defined - which made pacman-mirrors cease function - and no mirror list was generated.
During the troubleshooting the mentioned debug messages was created.
The former architect and maintainer of pacman-mirrors have been involved - although not when that code block was added in the i18n.py script.