Alex Zaslavskis <sahsariga...@gmail.com> added the comment:
The bug comes from Microsoft terminal bug : If I type there : ver it will return Microsoft Windows [Version 10.0.22000.194] only one patch is if that will check the build . so : info = subprocess.check_output(cmd, stdin=subprocess.DEVNULL, stderr=subprocess.DEVNULL, text=True, shell=True) if(int(info.strip(".")[2])==22000): return "Windows [Version 11.0.22000.194] ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45382> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com