You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sounds good to me! This is undocumented, untested, not included in __all__, and has a name starting with a leading underscore. I don't think we can be any more explicit about the fact that it was an internal implementation detail 😆
Nothing to worry about in the top 5k PyPI packages:
❯ python3 ~/github/misc/cpython/search_pypi_top.py -q ."\b_Immutable\b"./pip-23.0.1.tar.gz: pip-23.0.1/src/pip/_vendor/typing_extensions.py: class _Immutable:./pip-23.0.1.tar.gz: pip-23.0.1/src/pip/_vendor/typing_extensions.py: class ParamSpecArgs(_Immutable):./pip-23.0.1.tar.gz: pip-23.0.1/src/pip/_vendor/typing_extensions.py: class ParamSpecKwargs(_Immutable):./setuptools-67.6.1.tar.gz: setuptools-67.6.1/pkg_resources/_vendor/typing_extensions.py: class _Immutable:./setuptools-67.6.1.tar.gz: setuptools-67.6.1/pkg_resources/_vendor/typing_extensions.py: class ParamSpecArgs(_Immutable):./setuptools-67.6.1.tar.gz: setuptools-67.6.1/pkg_resources/_vendor/typing_extensions.py: class ParamSpecKwargs(_Immutable):./setuptools-67.6.1.tar.gz: setuptools-67.6.1/setuptools/_vendor/typing_extensions.py: class _Immutable:./setuptools-67.6.1.tar.gz: setuptools-67.6.1/setuptools/_vendor/typing_extensions.py: class ParamSpecArgs(_Immutable):./setuptools-67.6.1.tar.gz: setuptools-67.6.1/setuptools/_vendor/typing_extensions.py: class ParamSpecKwargs(_Immutable):./poetry_core-1.5.2.tar.gz: poetry_core-1.5.2/src/poetry/core/_vendor/typing_extensions.py: class _Immutable:./poetry_core-1.5.2.tar.gz: poetry_core-1.5.2/src/poetry/core/_vendor/typing_extensions.py: class ParamSpecArgs(_Immutable):./poetry_core-1.5.2.tar.gz: poetry_core-1.5.2/src/poetry/core/_vendor/typing_extensions.py: class ParamSpecKwargs(_Immutable):./metaflow-2.8.2.tar.gz: metaflow-2.8.2/metaflow/_vendor/v3_6/typing_extensions.py: class _Immutable:./metaflow-2.8.2.tar.gz: metaflow-2.8.2/metaflow/_vendor/v3_6/typing_extensions.py: class ParamSpecArgs(_Immutable):./metaflow-2.8.2.tar.gz: metaflow-2.8.2/metaflow/_vendor/v3_6/typing_extensions.py: class ParamSpecKwargs(_Immutable):./pipenv-2023.3.20.tar.gz: pipenv-2023.3.20/pipenv/patched/pip/_vendor/typing_extensions.py: class _Immutable:./pipenv-2023.3.20.tar.gz: pipenv-2023.3.20/pipenv/patched/pip/_vendor/typing_extensions.py: class ParamSpecArgs(_Immutable):./pipenv-2023.3.20.tar.gz: pipenv-2023.3.20/pipenv/patched/pip/_vendor/typing_extensions.py: class ParamSpecKwargs(_Immutable):./pyLDAvis-3.4.0.tar.gz: pyLDAvis-3.4.0/pyLDAvis/lib/python3.11/site-packages/pip/_vendor/typing_extensions.py: class _Immutable:./pyLDAvis-3.4.0.tar.gz: pyLDAvis-3.4.0/pyLDAvis/lib/python3.11/site-packages/pip/_vendor/typing_extensions.py: class ParamSpecArgs(_Immutable):./pyLDAvis-3.4.0.tar.gz: pyLDAvis-3.4.0/pyLDAvis/lib/python3.11/site-packages/pip/_vendor/typing_extensions.py: class ParamSpecKwargs(_Immutable):./pyLDAvis-3.4.0.tar.gz: pyLDAvis-3.4.0/pyLDAvis/lib/python3.11/site-packages/setuptools/_vendor/typing_extensions.py: class _Immutable:./pyLDAvis-3.4.0.tar.gz: pyLDAvis-3.4.0/pyLDAvis/lib/python3.11/site-packages/setuptools/_vendor/typing_extensions.py: class ParamSpecArgs(_Immutable):./pyLDAvis-3.4.0.tar.gz: pyLDAvis-3.4.0/pyLDAvis/lib/python3.11/site-packages/setuptools/_vendor/typing_extensions.py: class ParamSpecKwargs(_Immutable):./dnspython-2.3.0.tar.gz: dnspython-2.3.0/dns/_immutable_ctx.py: class _Immutable:./dnspython-2.3.0.tar.gz: dnspython-2.3.0/dns/_immutable_ctx.py: if _Immutable in cls.__mro__:./dnspython-2.3.0.tar.gz: dnspython-2.3.0/dns/_immutable_ctx.py: class ncls(_Immutable, cls):./pytablewriter-0.64.2.tar.gz: pytablewriter-0.64.2/pytablewriter/_typing.py: class _Immutable:./pytablewriter-0.64.2.tar.gz: pytablewriter-0.64.2/pytablewriter/_typing.py: class ParamSpecArgs(_Immutable):./pytablewriter-0.64.2.tar.gz: pytablewriter-0.64.2/pytablewriter/_typing.py: class ParamSpecKwargs(_Immutable):./typing_extensions-4.5.0.tar.gz: typing_extensions-4.5.0/src/typing_extensions.py: class _Immutable:./typing_extensions-4.5.0.tar.gz: typing_extensions-4.5.0/src/typing_extensions.py: class ParamSpecArgs(_Immutable):./typing_extensions-4.5.0.tar.gz: typing_extensions-4.5.0/src/typing_extensions.py: class ParamSpecKwargs(_Immutable):Time: 0:00:23.512065Found 33 matching lines in 9 projects
Activity
AlexWaygood commentedon Jun 7, 2023
Sounds good to me! This is undocumented, untested, not included in
__all__, and has a name starting with a leading underscore. I don't think we can be any more explicit about the fact that it was an internal implementation detail 😆hugovk commentedon Jun 7, 2023
Nothing to worry about in the top 5k PyPI packages:
pythongh-105430: Remove `typing._Immutable` unused internal helper
gh-105430: Remove `typing._Immutable` unused internal helper (#105434)
pythongh-105430: Remove `typing._Immutable` unused internal helper (p…
[3.12] gh-105430: Remove `typing._Immutable` unused internal helper (G…