Xqt added a comment.
In T416667#11598398 <https://phabricator.wikimedia.org/T416667#11598398>, @JJMC89 wrote: > Its not technically problematic. I was just expressing my dislike of the inconsistency in type annotations it creates across the library. The better options is to drop support for EOL python3.9 now or wait until we do. (Also change `globals().get('__annotations__', {})` to `typing.get_type_hints(sys.modules[__name__])`.) Good catch, thanks a lot. I'll postpone the parent task to Pywikikibot 12. TASK DETAIL https://phabricator.wikimedia.org/T416667 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
