DGS (General)takahiro.yamamoto - 21:07 Saturday 21 March 2026 (36628)
Print this reportMinor fix of user's Python codes for Python3.12 and laterIn the future upgrade of the workstations, Debian12 system will be replaced to Debian13 system. As a result, the Python version will be also bumped up from 3.11 to 3.13. In Python 3.12 and later, several legacy syntaxes are treated as SyntaxWarnings and Errors, so I have modified some user's Python codes to avoid this. Since the revised syntax is compatible with also Python 3.11, it will not affect the behavior of current Debian 12 system.
Updated files in this time are as follows. _slackpost.py cdslib.py
These files were found when I migrated a script for watching various kind of changes in configuration and notifying #observation channel from k1script1 to k1script0. There are probably some other Python codes including Guardian codes which are incompatible with 3.12 and later. We need to correct any such issues as they are found.