Limnoria
Limnoria copied to clipboard
Deprecate using supybot.dynamicScope without an import
Some notes:
- I'm using UserWarning here because Python doesn't show DeprecationWarnings to the console by default. (I'm not sure if changing that would be a better option)
I will probably defer this until we drop Python < 3.8 (Python 3.7 went EOL in June 2023), as those versions don't support the stacklevel argument to log.warning. I don't think it's worth adding compat code for these old branches given the current timeframe