core.common: move away import related stuff to my.core.utils.imports

moving without backward compatibility, since it's extremely unlikely they are used for any external modules

in fact, unclear if these methods still have much value at all, but keeping for now just in case
This commit is contained in:
Dima Gerasimov 2024-08-14 11:28:50 +03:00
parent f4214807a3
commit 90635c1d67
7 changed files with 44 additions and 43 deletions

View file

@ -131,12 +131,6 @@ else:
if sys.version_info[:2] >= (3, 11):
from typing import assert_never
from typing import assert_never, assert_type, Never
else:
from typing_extensions import assert_never
if sys.version_info[:2] >= (3, 11):
from typing import Never
else:
from typing_extensions import Never
from typing_extensions import assert_never, assert_type, Never