Limnoria icon indicating copy to clipboard operation
Limnoria copied to clipboard

Deprecate using supybot.dynamicScope without an import

Open jlu5 opened this issue 2 years ago • 1 comments

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)

jlu5 avatar Jul 01 '23 03:07 jlu5

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

jlu5 avatar Sep 03 '23 07:09 jlu5