Conversation
|
@Dreamsorcerer if sys.version_info >= (3, 8):
from typing import Final
else:
from typing_extensions import Finalto |
I'm not overly opposed to it, but I think it could make maintenance slightly more difficult. e.g. When we drop support for Python 3.7, I can currently grep for "3, 8" or "typing_extensions" to find every place that should be updated. I don't really want to leave the code importing from typedefs when it's no longer needed. |
|
Then it could be still present in |
|
Yep, OK, we'll do it that way. |
|
This pull request introduces 1 alert when merging ff09e43 into 726f44e - view on LGTM.com new alerts:
|
https://build.opensuse.org/request/show/893032 by user mcepl + dimstar_suse - Add stdlib-typing_extensions.patch to avoid necessity for BR python-typing_extensions (gh#aio-libs/aiohttp#5374).
Fixes #5107