Skip to content

Remove builtins.ellipsis pseudo-type - #15712

Draft
srittau wants to merge 3 commits into
mainfrom
rm-ellipsis
Draft

Remove builtins.ellipsis pseudo-type#15712
srittau wants to merge 3 commits into
mainfrom
rm-ellipsis

Conversation

@srittau

@srittau srittau commented May 7, 2026

Copy link
Copy Markdown
Collaborator

This type never existed at runtime, and was replaced by types.EllipsisType.

Part of #7580.

This type never existed at runtime, and was replaced by `types.EllipsisType`.
@github-actions

This comment has been minimized.

hamdanal added a commit to hamdanal/typeshed that referenced this pull request Aug 16, 2026
AlexWaygood pushed a commit that referenced this pull request Aug 16, 2026
@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

pip (https://github.com/pypa/pip)
- src/pip/_internal/locations/_distutils.py:23: error: Module "distutils.command.install" has no attribute "SCHEME_KEYS"  [attr-defined]
- src/pip/_internal/locations/_distutils.py:68: error: Incompatible types in assignment (expression has type "Command", variable has type "install")  [assignment]
- src/pip/_internal/locations/__init__.py:80: error: Module "distutils.command.install" has no attribute "INSTALL_SCHEMES"  [attr-defined]
- src/pip/_internal/locations/__init__.py:105: error: Module "distutils.command.install" has no attribute "INSTALL_SCHEMES"  [attr-defined]
- src/pip/_internal/locations/__init__.py:117: error: Module "distutils.command.install" has no attribute "INSTALL_SCHEMES"  [attr-defined]
- src/pip/_internal/metadata/pkg_resources.py:133: error: Argument "metadata" to "DistInfoDistribution" has incompatible type "InMemoryMetadata"; expected "IResourceProvider | None"  [arg-type]
- src/pip/_internal/metadata/pkg_resources.py:154: error: Argument "metadata" to "DistInfoDistribution" has incompatible type "InMemoryMetadata"; expected "IResourceProvider | None"  [arg-type]
- src/pip/_internal/metadata/pkg_resources.py:184: error: Item "IResourceProvider" of "IResourceProvider | EmptyProvider" has no attribute "path"  [union-attr]
- src/pip/_internal/metadata/pkg_resources.py:184: error: Item "EmptyProvider" of "IResourceProvider | EmptyProvider" has no attribute "path"  [union-attr]
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 2.3.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+   File "mypy/checkexpr.py", line 6222, in accept
+   File "mypy/nodes.py", line 2359, in accept
+   File "mypy/checkexpr.py", line 3598, in visit_ellipsis
+     return self.named_type("builtins.ellipsis")
+   File "mypy/checkexpr.py", line 6267, in named_type
+     return self.chk.named_type(name)
+   File "mypy/checker.py", line 7870, in named_type
+   File "mypy/checker.py", line 7874, in _named_type
+     sym = self.lookup_qualified(name)
+   File "mypy/checker.py", line 7979, in lookup_qualified
+     raise KeyError(
+ KeyError: "Could not find builtin symbol 'ellipsis' (If you are running a test case, use a fixture that defines this symbol)"
+ 

beartype (https://github.com/beartype/beartype)
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 2.3.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+   File "mypy/checkexpr.py", line 6222, in accept
+   File "mypy/nodes.py", line 2359, in accept
+   File "mypy/checkexpr.py", line 3598, in visit_ellipsis
+     return self.named_type("builtins.ellipsis")
+   File "mypy/checkexpr.py", line 6267, in named_type
+     return self.chk.named_type(name)
+   File "mypy/checker.py", line 7870, in named_type
+   File "mypy/checker.py", line 7874, in _named_type
+     sym = self.lookup_qualified(name)
+   File "mypy/checker.py", line 7979, in lookup_qualified
+     raise KeyError(
+ KeyError: "Could not find builtin symbol 'ellipsis' (If you are running a test case, use a fixture that defines this symbol)"
+ 
- beartype/typing/__init__.py:331: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/kind/maplike/utilmaptest.py:96: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_cave/_cavefast.py:187: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/text/utiltextlabel.py:179: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/text/utiltextjoin.py:339: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/kind/maplike/utilmapfrozen.py:224: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/func/utilfuncframe.py:1239: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/func/utilfunccodeobj.py:130: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/func/utilfunccodeobj.py:348: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_nontype/_api/external/decorclick.py:106: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_nontype/_api/external/decorclick.py:113: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/func/utilfuncmake.py:24: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/func/utilfuncmake.py:308: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/func/utilfuncmake.py:313: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/func/utilfuncmake.py:355: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/func/utilfuncmake.py:356: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_cache/cls/cacheclsabc.py:98: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/utilobjattr.py:339: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/func/utilfuncscope.py:822: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/func/arg/utilfuncargiter.py:404: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/func/arg/utilfuncargiter.py:419: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/func/arg/utilfuncargiter.py:424: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/utilhintfactory.py:46: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/error/utilerrwarn.py:84: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/error/utilerrwarn.py:90: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/error/utilerrwarn.py:124: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/api/external/utilnumpy.py:254: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_conf/_confoverrides.py:89: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/forward/reference/_cls/fwdreffake.py:189: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/func/pep/utilfuncpep702.py:231: error: Unused "type: ignore[attr-defined, no-redef]" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep696.py:118: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep585.py:378: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep557.py:81: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep749/pep649749annotate.py:518: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep646/pep646692unpack.py:483: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep646/pep646692unpack.py:520: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep646/pep646692unpack.py:609: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484585/pep484585args.py:61: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484/pep484union.py:87: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484/pep484604union.py:150: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484/pep484604union.py:278: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484/pep484604union.py:283: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/func/utilfuncwrap.py:542: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/cls/pep/clspep3119.py:99: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/cls/pep/clspep3119.py:278: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/cls/pep/clspep3119.py:441: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/cls/pep/clspep3119.py:549: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/cls/pep/clspep3119.py:612: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/cls/pep/clspep3119.py:911: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484585/pep484585func.py:110: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484/pep484generic.py:149: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484/pep484generic.py:177: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_nontype/_builtin/decorbuiltindescriptor.py:92: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_nontype/_builtin/decorbuiltindescriptor.py:143: error: Unused "type: ignore[assignment, union-attr]" comment  [unused-ignore]
- beartype/_decor/_nontype/_builtin/decorbuiltindescriptor.py:144: error: Unused "type: ignore[assignment, union-attr]" comment  [unused-ignore]
- beartype/_decor/_nontype/_builtin/decorbuiltindescriptor.py:145: error: Unused "type: ignore[assignment, union-attr]" comment  [unused-ignore]
- beartype/_decor/_nontype/_builtin/decorbuiltindescriptor.py:263: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_nontype/_api/decorstandard.py:84: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_nontype/_api/decorstandard.py:207: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/pep/pep484/checkpep484typevar.py:178: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/convert/_reduce/_pep/pep484585/redpep484585itemsview.py:72: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/convert/_reduce/_pep/pep484585/redpep484585itemsview.py:82: error: Unused "type: ignore[assignment]" comment  [unused-ignore]
- beartype/_check/cls/hint/hintsane.py:529: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_conf/confmain.py:1437: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/convert/_reduce/_redrecurse.py:230: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/convert/_reduce/_pep/pep484585/redpep484585subclass.py:109: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/utilpepget.py:432: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/utilpepget.py:1006: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/utilpepget.py:1140: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/convert/_reduce/_pep/redpep673.py:129: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/convert/_reduce/_nonpep/api/redapinumpy.py:129: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/convert/_reduce/_nonpep/api/redapinumpy.py:275: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/convert/_reduce/_nonpep/api/redapinumpy.py:325: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/forward/reference/_cls/fwdrefmeta.py:117: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/forward/reference/_cls/fwdrefmeta.py:327: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/forward/reference/_cls/fwdrefmeta.py:406: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/forward/reference/_cls/fwdrefmeta.py:665: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/forward/reference/_cls/fwdrefmeta.py:709: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/forward/reference/_cls/fwdrefmeta.py:865: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/forward/reference/_cls/fwdrefmeta.py:869: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/forward/reference/_cls/fwdrefmeta.py:974: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/forward/reference/_cls/fwdrefmeta.py:980: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/cls/call/calldatadecorfuncmin.py:86: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep695.py:640: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/convert/_reduce/_pep/pep484/redpep484ref.py:294: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/utilpepsign.py:589: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep612.py:90: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep612.py:96: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep612.py:167: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep612.py:227: error: Unused "type: ignore[attr-defined]" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep612.py:260: error: Unused "type: ignore[attr-defined]" comment  [unused-ignore]
- beartype/_check/pep/pep484585/checkpep484585subclass.py:128: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/pep/pep484585/checkpep484585subclass.py:139: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/convert/_reduce/_pep/pep646/redpep484612646typearg.py:220: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/convert/_reduce/_pep/pep646/redpep484612646typearg.py:643: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/convert/_reduce/_pep/pep646/redpep484612646typearg.py:1258: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/convert/_convcoerce.py:205: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/convert/_convcoerce.py:421: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_type/_pep/decortypepep557.py:515: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_type/decortype.py:83: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_type/decortype.py:222: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/cls/hint/tree/hinttreeerror.py:484: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/error/errmain.py:194: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/code/_pep/pep484585/codepep484585subclass.py:71: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/code/_pep/pep484/codepep484604union.py:197: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/code/codemain.py:737: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/code/codemain.py:854: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/make/checkmakefunc.py:626: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_nontype/_wrap/_wrapreturn.py:84: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_nontype/_wrap/_wrapargs.py:210: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_nontype/_wrap/_wrapargs.py:275: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_nontype/_wrap/_wrapargs.py:380: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_nontype/decornontype.py:163: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_nontype/decornontype.py:222: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_nontype/decornontype.py:266: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_nontype/decornontype.py:323: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_nontype/decornontype.py:376: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_nontype/decornontype.py:384: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_nontype/decornontype.py:467: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_nontype/decornontype.py:469: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_nontype/decornontype.py:490: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/_nontype/decornontype.py:717: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/decorcore.py:143: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/decorcore.py:147: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_decor/decorcore.py:284: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/door/_cls/doormeta.py:141: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/door/_cls/doormeta.py:207: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/bite/kind/inferthirdparty.py:125: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/bite/kind/inferthirdparty.py:134: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/bite/kind/inferthirdparty.py:138: error: Unused "type: ignore[misc, valid-type]" comment  [unused-ignore]
- beartype/bite/kind/inferthirdparty.py:144: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/bite/collection/infercollectionsabc.py:163: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/bite/collection/infercollectionsabc.py:830: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/bite/collection/infercollectionitems.py:317: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/bite/collection/infercollectionitems.py:500: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/module/utilmodtest.py:22: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484585/generic/pep484585genfind.py:504: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484585/generic/pep484585genfind.py:612: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484585/generic/pep484585genfind.py:789: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484585/generic/pep484585genfind.py:964: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/hint/pep/proposal/pep484585/generic/pep484585genfind.py:1075: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/error/_nonpep/errnonpeptype.py:107: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_check/error/_nonpep/errnonpeptype.py:253: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/bite/_infermain.py:268: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/door/_cls/doorsuper.py:481: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/door/_cls/doorsuper.py:1012: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/door/_cls/doorsuper.py:1030: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/door/_cls/doorsuper.py:1047: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/door/_cls/doorsuper.py:1070: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/vale/_is/_valeistype.py:122: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/vale/_is/_valeistype.py:325: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/vale/_is/_valeisoper.py:184: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/vale/_is/_valeisobj.py:138: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/vale/_is/_valeis.py:265: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/door/_cls/pep/pep484585/doorpep484585callable.py:208: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/door/_cls/pep/pep484/doorpep484typevar.py:59: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/door/_cls/pep/pep484/doorpep484newtype.py:64: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/door/_cls/pep/pep484/doorpep484newtype.py:71: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/claw/_package/_clawpkgmake.py:81: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/cache/utilcachemeta.py:56: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/ast/utilastget.py:44: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/_util/ast/utilastget.py:247: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/claw/_ast/_clawastutil.py:95: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/claw/_ast/_pep/clawastpep695.py:307: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/claw/_ast/_kind/clawastimport.py:622: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/claw/_ast/_kind/clawastimport.py:631: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/claw/_ast/clawastmain.py:182: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/claw/_importlib/_clawimpfileloader.py:34: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/claw/_importlib/_clawimpfileloader.py:623: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/claw/_package/clawpkgtrie.py:760: error: Unused "type: ignore" comment  [unused-ignore]
- beartype/claw/_package/clawpkgmain.py:383: error: Unused "type: ignore" comment  [unused-ignore]

CPython (Argument Clinic) (https://github.com/python/cpython)
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 2.3.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+   File "mypy/checkexpr.py", line 6222, in accept
+   File "mypy/nodes.py", line 2359, in accept
+   File "mypy/checkexpr.py", line 3598, in visit_ellipsis
+     return self.named_type("builtins.ellipsis")
+   File "mypy/checkexpr.py", line 6267, in named_type
+     return self.chk.named_type(name)
+   File "mypy/checker.py", line 7870, in named_type
+   File "mypy/checker.py", line 7874, in _named_type
+     sym = self.lookup_qualified(name)
+   File "mypy/checker.py", line 7979, in lookup_qualified
+     raise KeyError(
+ KeyError: "Could not find builtin symbol 'ellipsis' (If you are running a test case, use a fixture that defines this symbol)"
+ 

tornado (https://github.com/tornadoweb/tornado)
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 2.3.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+   File "mypy/checkexpr.py", line 6222, in accept
+   File "mypy/nodes.py", line 2359, in accept
+   File "mypy/checkexpr.py", line 3598, in visit_ellipsis
+     return self.named_type("builtins.ellipsis")
+   File "mypy/checkexpr.py", line 6267, in named_type
+     return self.chk.named_type(name)
+   File "mypy/checker.py", line 7870, in named_type
+   File "mypy/checker.py", line 7874, in _named_type
+     sym = self.lookup_qualified(name)
+   File "mypy/checker.py", line 7979, in lookup_qualified
+     raise KeyError(
+ KeyError: "Could not find builtin symbol 'ellipsis' (If you are running a test case, use a fixture that defines this symbol)"
+ 
- tornado/util.py:165: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/util.py:357: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/httputil.py:598: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/log.py:39: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/log.py:41: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
- tornado/concurrent.py:160: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/concurrent.py:161: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/netutil.py:118: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/gen.py:257: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/gen.py:878: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/gen.py:882: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/iostream.py:59: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/iostream.py:1112: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/iostream.py:1504: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/iostream.py:1584: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/iostream.py:1592: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/httpclient.py:206: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/httpclient.py:563: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/process.py:53: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/process.py:337: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/curl_httpclient.py:144: error: Incompatible types in assignment (expression has type "int | str", variable has type "int")  [assignment]
- tornado/curl_httpclient.py:156: error: Incompatible types in assignment (expression has type "int | str", variable has type "int")  [assignment]
- tornado/curl_httpclient.py:207: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/autoreload.py:102: error: Need type annotation for "_watched_files" (hint: "_watched_files: set[<type>] = ...")  [var-annotated]
- tornado/autoreload.py:103: error: Need type annotation for "_reload_hooks" (hint: "_reload_hooks: list[<type>] = ...")  [var-annotated]
- tornado/web.py:226: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/web.py:2098: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/testing.py:857: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/wsgi.py:178: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/websocket.py:1478: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/util.py:88: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/locks_test.py:101: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/web_test.py:811: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/web_test.py:2316: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/web_test.py:2331: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/web_test.py:2741: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/web_test.py:3036: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/tcpserver_test.py:79: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/runtests.py:83: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/runtests.py:89: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/runtests.py:185: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/ioloop_test.py:49: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/ioloop_test.py:50: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/ioloop_test.py:433: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/httpserver_test.py:65: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/httpserver_test.py:122: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/httpserver_test.py:133: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/httpclient_test.py:122: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/httpclient_test.py:128: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/httpclient_test.py:316: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/httpclient_test.py:630: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/httpclient_test.py:794: error: Argument 1 to "fetch" of "AsyncHTTPTestCase" has incompatible type "**dict[str | Any, str | Any]"; expected "bool"  [arg-type]
- tornado/test/httpclient_test.py:808: error: Argument 1 to "fetch" of "AsyncHTTPTestCase" has incompatible type "**dict[str | Any, str | Any]"; expected "bool"  [arg-type]
- tornado/test/httpclient_test.py:865: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/httpclient_test.py:973: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/httpclient_test.py:987: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/asyncio_test.py:90: error: Argument 1 to "to_asyncio_future" has incompatible type "Coroutine[Any, Any, Any]"; expected "Future[Any]"  [arg-type]
- tornado/test/asyncio_test.py:256: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/asyncio_test.py:266: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/asyncio_test.py:270: error: Unused "type: ignore" comment  [unused-ignore]
- tornado/test/simple_httpclient_test.py:397: error: Unused "type: ignore" comment  [unused-ignore]

pwndbg (https://github.com/pwndbg/pwndbg)
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 2.3.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
- pwndbg/lib/zig.py:84: error: Unused "type: ignore" comment  [unused-ignore]
- pwndbg/gdblib/events.py:271: error: Need type annotation for "paused"  [var-annotated]
- pwndbg/dbg_mod/gdb/symbol.py:163: error: Unused "type: ignore" comment  [unused-ignore]
- pwndbg/dbg_mod/gdb/symbol.py:189: error: Unused "type: ignore" comment  [unused-ignore]
- pwndbg/dbg_mod/gdb/symbol.py:189: error: Cannot assign to final name "SYMBOL_FUNCTION_DOMAIN"  [misc]
- pwndbg/dbg_mod/gdb/symbol.py:189: note: Error code "misc" not covered by "type: ignore[attr-defined]" comment
- pwndbg/dbg_mod/gdb/symbol.py:203: error: Unused "type: ignore" comment  [unused-ignore]
- pwndbg/dbg_mod/gdb/__init__.py: note: In member "cast" of class "GDBValue":
- pwndbg/dbg_mod/gdb/__init__.py:1562: error: Name "type" already defined on line 1560  [no-redef]
- pwndbg/dintegration/__init__.py: note: In member "connect" of class "IntegrationManager":
- pwndbg/dintegration/__init__.py:511: error: Argument 1 to "DecompilerConnection" has incompatible type "_Method"; expected "ServerProxy"  [arg-type]
- pwndbg/aglib/macho.py: note: In member "_walk" of class "_RawTrie":
- pwndbg/aglib/macho.py:90: error: Argument 2 has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/macho.py: note: In member "keys" of class "DyldSharedCacheHashSet":
- pwndbg/aglib/macho.py:406: error: Incompatible types in "yield" (actual type "bytearray", expected type "bytes")  [misc]
- pwndbg/aglib/macho.py: note: In member "images" of class "DyldSharedCache":
- pwndbg/aglib/macho.py:578: error: Incompatible types in "yield" (actual type "tuple[bytearray, Any]", expected type "tuple[bytes, int]")  [misc]
- pwndbg/aglib/elf.py:196: error: Unused "type: ignore" comment  [unused-ignore]
- pwndbg/aglib/objc.py: note: In member "name" of class "_ClassRoPtr":
- pwndbg/aglib/objc.py:125: error: Incompatible return value type (got "bytearray", expected "bytes")  [return-value]
- pwndbg/aglib/objc.py: note: In member "demangled_name" of class "_ClassRwExtPtr":
- pwndbg/aglib/objc.py:191: error: Incompatible return value type (got "bytearray", expected "bytes | None")  [return-value]
- pwndbg/aglib/objc.py: note: In member "name" of class "InstanceVariable":
- pwndbg/aglib/objc.py:653: error: Incompatible return value type (got "bytearray", expected "bytes")  [return-value]
- pwndbg/aglib/objc.py: note: In member "typename" of class "InstanceVariable":
- pwndbg/aglib/objc.py:662: error: Incompatible return value type (got "bytearray", expected "bytes")  [return-value]
- pwndbg/aglib/objc.py: note: In member "name" of class "ClassProperty":
- pwndbg/aglib/objc.py:696: error: Incompatible return value type (got "bytearray", expected "bytes")  [return-value]
- pwndbg/aglib/objc.py: note: In member "value" of class "ClassProperty":
- pwndbg/aglib/objc.py:703: error: Incompatible return value type (got "bytearray", expected "bytes")  [return-value]
- pwndbg/aglib/objc.py: note: In member "name" of class "Selector":
- pwndbg/aglib/objc.py:730: error: Incompatible return value type (got "bytearray", expected "bytes")  [return-value]
- pwndbg/aglib/objc.py: note: In member "types" of class "Method":
- pwndbg/aglib/objc.py:795: error: Incompatible return value type (got "bytearray", expected "bytes")  [return-value]
- pwndbg/aglib/godbg.py: note: In function "read_buildversion":
- pwndbg/aglib/godbg.py:290: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:291: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py: note: In function "get_go_version":
- pwndbg/aglib/godbg.py:321: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py: note: In function "read_varint_str":
- pwndbg/aglib/godbg.py:414: error: Incompatible return value type (got "bytearray", expected "bytes")  [return-value]
- pwndbg/aglib/godbg.py:421: error: Incompatible return value type (got "bytearray", expected "bytes")  [return-value]
- pwndbg/aglib/godbg.py: note: In function "read_type_name":
- pwndbg/aglib/godbg.py:435: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:438: error: Incompatible return value type (got "bytearray", expected "bytes")  [return-value]
- pwndbg/aglib/godbg.py: note: In function "_inner_decode_runtime_type":
- pwndbg/aglib/godbg.py:592: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:685: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:686: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:736: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:741: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:743: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py: note: In member "dump" of class "BasicType":
- pwndbg/aglib/godbg.py:792: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:795: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:797: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:803: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:815: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:816: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:820: error: Argument 1 to "load_int" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:822: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:827: error: Argument 1 to "load_float" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:830: error: Argument 1 to "load_float" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:831: error: Argument 1 to "load_float" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:840: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:841: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:847: error: Argument 1 to "fmt_bytes" of "FormatOpts" has incompatible type "bytes | bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py: note: In member "dump" of class "SliceType":
- pwndbg/aglib/godbg.py:904: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:905: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:912: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py: note: In member "dump" of class "PointerType":
- pwndbg/aglib/godbg.py:944: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py: note: In member "dump_noswiss" of class "MapType":
- pwndbg/aglib/godbg.py:1150: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:1184: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py: note: In member "dump_swiss" of class "MapType":
- pwndbg/aglib/godbg.py:1190: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:1191: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:1205: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:1210: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/aglib/godbg.py:1211: error: Argument 1 to "load_uint" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/emu/emulator.py:273: error: Unused "type: ignore" comment  [unused-ignore]
- pwndbg/commands/__init__.py:864: error: Unused "type: ignore" comment  [unused-ignore]
- pwndbg/commands/__init__.py: note: In function "OnlyWhenRunning":
- pwndbg/commands/__init__.py:864: error: Item "function" of "Callable[P, T] | None" has no attribute "_pwndbg_only_when_running_allow_core"  [union-attr]
- pwndbg/commands/__init__.py:864: note: Error code "union-attr" not covered by "type: ignore[attr-defined]" comment
- pwndbg/commands/procinfo.py: note: In member "status" of class "Process":
- pwndbg/commands/procinfo.py:297: error: Argument 1 to "append" of "list" has incompatible type "str"; expected "int"  [arg-type]
- pwndbg/commands/kmod.py: note: In function "kmod":
- pwndbg/commands/kmod.py:95: error: Argument 2 to "add_symbol_file" of "Process" has incompatible type "object"; expected "int | None"  [arg-type]
- pwndbg/commands/hexdump.py: note: In function "hexdump":
- pwndbg/commands/hexdump.py:168: error: Argument 1 to "format_py" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/commands/hexdump.py:168: error: Argument 1 to "format_c" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/commands/hexdump.py:173: error: Argument 1 to "hexdump" has incompatible type "bytearray"; expected "bytes"  [arg-type]
- pwndbg/commands/ptmalloc2.py:1472: error: Unused "type: ignore" comment  [unused-ignore]
- pwndbg/commands/context.py:569: error: Need type annotation for "expressions" (hint: "expressions: list[<type>] = ...")  [var-annotated]
- pwndbg/dbg_mod/lldb/__init__.py: note: In member "cast" of class "LLDBValue":
- pwndbg/dbg_mod/lldb/__init__.py:780: error: Name "type" already defined on line 778  [no-redef]
- pwndbg/dbg_mod/lldb/__init__.py: note: In member "vmmap" of class "LLDBProcess":
- pwndbg/dbg_mod/lldb/__init__.py:1151: error: Name "pages" already defined on line 1141  [no-redef]
- pwndbg/dbg_mod/lldb/__init__.py: note: In member "create_value" of class "LLDBProcess":
- pwndbg/dbg_mod/lldb/__init__.py:1478: error: Name "u64" already defined on line 1474  [no-redef]
- pwndbg/dbg_mod/lldb/__init__.py: note: In member "arch" of class "LLDBProcess":
- pwndbg/dbg_mod/lldb/__init__.py:1870: error: Argument "name" to "ArchDefinition" has incompatible type "Any | str"; expected "Literal['x86-64', 'i386', 'i8086', 'mips', 'aarch64', 'arm', 'armcm', 'rv32', 'rv64', 'sparc', 'powerpc', 'loongarch64', 's390x', 'hexagon']"  [arg-type]
- pwndbg/dbg_mod/lldb/repl/__init__.py: note: In function "parse":
- pwndbg/dbg_mod/lldb/repl/__init__.py:817: error: Need type annotation for "raw"  [var-annotated]
- pwndbg/dbg_mod/lldb/repl/__init__.py: note: At top level:
- pwndbg/dbg_mod/lldb/repl/__init__.py:916: error: Unused "type: ignore" comment  [unused-ignore]
+ Traceback (most recent call last):
+   File "mypy/checkexpr.py", line 6222, in accept
+   File "mypy/nodes.py", line 2359, in accept
+   File "mypy/checkexpr.py", line 3598, in visit_ellipsis
+     return self.named_type("builtins.ellipsis")
+   File "mypy/checkexpr.py", line 6267, in named_type
+     return self.chk.named_type(name)
+   File "mypy/checker.py", line 7870, in named_type
+   File "mypy/checker.py", line 7874, in _named_type
+     sym = self.lookup_qualified(name)
+   File "mypy/checker.py", line 7979, in lookup_qualified
+     raise KeyError(
+ KeyError: "Could not find builtin symbol 'ellipsis' (If you are running a test case, use a fixture that defines this symbol)"
+ 

optuna (https://github.com/optuna/optuna)
- optuna/_gp/qmc.py:22: error: Unused "type: ignore" comment  [unused-ignore]
- optuna/_gp/gp.py:235: error: Unused "type: ignore" comment  [unused-ignore]
- optuna/_gp/gp.py:341: error: Unused "type: ignore" comment  [unused-ignore]
- optuna/_gp/gp.py:343: error: Unused "type: ignore" comment  [unused-ignore]
- optuna/_gp/gp.py:345: error: Unused "type: ignore" comment  [unused-ignore]
- optuna/_gp/batched_lbfgsb.py:54: error: Item "None" of "greenlet | None" has no attribute "switch"  [union-attr]
- optuna/_gp/batched_lbfgsb.py:73: error: Item "None" of "greenlet | None" has no attribute "switch"  [union-attr]
- optuna/_gp/optim_mixed.py:66: error: Unused "type: ignore" comment  [unused-ignore]
- optuna/_gp/optim_mixed.py:67: error: Unused "type: ignore" comment  [unused-ignore]
- optuna/_gp/acqf.py:152: error: Unused "type: ignore" comment  [unused-ignore]
- optuna/_gp/acqf.py:153: error: Unused "type: ignore" comment  [unused-ignore]
- optuna/visualization/matplotlib/_timeline.py:85: error: Unused "type: ignore" comment  [unused-ignore]
- optuna/visualization/matplotlib/_timeline.py:86: error: Unused "type: ignore" comment  [unused-ignore]
- optuna/visualization/matplotlib/_timeline.py:107: error: Unused "type: ignore" comment  [unused-ignore]
- optuna/visualization/matplotlib/_timeline.py:108: error: Unused "type: ignore" comment  [unused-ignore]
- optuna/visualization/matplotlib/_timeline.py:111: error: Unused "type: ignore" comment  [unused-ignore]
- tests/gp_tests/test_acqf.py:17: error: Unused "type: ignore" comment  [unused-ignore]
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 2.3.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+   File "mypy/checkexpr.py", line 6222, in accept
+   File "mypy/nodes.py", line 2359, in accept
+   File "mypy/checkexpr.py", line 3598, in visit_ellipsis
+     return self.named_type("builtins.ellipsis")
+   File "mypy/checkexpr.py", line 6267, in named_type
+     return self.chk.named_type(name)
+   File "mypy/checker.py", line 7870, in named_type
+   File "mypy/checker.py", line 7874, in _named_type
+     sym = self.lookup_qualified(name)
+   File "mypy/checker.py", line 7979, in lookup_qualified
+     raise KeyError(
+ KeyError: "Could not find builtin symbol 'ellipsis' (If you are running a test case, use a fixture that defines this symbol)"
+ 

pylint (https://github.com/pycqa/pylint)
- pylint/constants.py:132: error: Returning Any from function declared to return "str"  [no-any-return]
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 2.3.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+   File "mypy/checkexpr.py", line 6222, in accept
+   File "mypy/nodes.py", line 2359, in accept
+   File "mypy/checkexpr.py", line 3598, in visit_ellipsis
+     return self.named_type("builtins.ellipsis")
+   File "mypy/checkexpr.py", line 6267, in named_type
+     return self.chk.named_type(name)
+   File "mypy/checker.py", line 7870, in named_type
+   File "mypy/checker.py", line 7874, in _named_type
+     sym = self.lookup_qualified(name)
+   File "mypy/checker.py", line 7979, in lookup_qualified
+     raise KeyError(
+ KeyError: "Could not find builtin symbol 'ellipsis' (If you are running a test case, use a fixture that defines this symbol)"
+ 

spark (https://github.com/apache/spark)
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 2.3.0
+ ...typeshed_to_test/stdlib/zipimport.pyi:11: note: use --pdb to drop into pdb
- python/pyspark/shuffle.py:78: error: "Process" has no attribute "get_memory_info"; maybe "memory_info"?  [attr-defined]
- python/pyspark/shuffle.py:556: error: Argument "key" to "merge" has incompatible type "Callable[[V], Any] | None"; expected "Callable[[V], SupportsDunderLT[Any] | SupportsDunderGT[Any]]"  [arg-type]
- python/pyspark/core/rdd.py:2155: error: Argument 2 to "fold" of "RDD" has incompatible type overloaded function; expected "Callable[[float | Literal[0], float | Literal[0]], float | Literal[0]]"  [arg-type]
- python/pyspark/core/rdd.py:2155: error: Argument 2 to "fold" of "RDD" has incompatible type overloaded function; expected "Callable[[complex | Literal[0], complex | Literal[0]], complex | Literal[0]]"  [arg-type]
- python/pyspark/core/rdd.py:2155: error: Argument 2 to "fold" of "RDD" has incompatible type overloaded function; expected "Callable[[signedinteger[_32Bit] | Literal[0], signedinteger[_32Bit] | Literal[0]], signedinteger[_32Bit] | Literal[0]]"  [arg-type]
- python/pyspark/core/rdd.py:2155: error: Argument 2 to "fold" of "RDD" has incompatible type overloaded function; expected "Callable[[signedinteger[_64Bit] | Literal[0], signedinteger[_64Bit] | Literal[0]], signedinteger[_64Bit] | Literal[0]]"  [arg-type]
- python/pyspark/core/rdd.py:2155: error: Argument 2 to "fold" of "RDD" has incompatible type overloaded function; expected "Callable[[floating[_32Bit] | Literal[0], floating[_32Bit] | Literal[0]], floating[_32Bit] | Literal[0]]"  [arg-type]
- python/pyspark/core/rdd.py:2155: error: Argument 2 to "fold" of "RDD" has incompatible type overloaded function; expected "Callable[[float64 | Literal[0], float64 | Literal[0]], float64 | Literal[0]]"  [arg-type]
- python/pyspark/core/rdd.py:2155: error: Argument 2 to "fold" of "RDD" has incompatible type overloaded function; expected "Callable[[ndarray[tuple[Any, ...], dtype[Any]] | Literal[0], ndarray[tuple[Any, ...], dtype[Any]] | Literal[0]], ndarray[tuple[Any, ...], dtype[Any]] | Literal[0]]"  [arg-type]
- python/pyspark/core/rdd.py:2575: error: Argument "key" to "nlargest" has incompatible type "Callable[[T], S] | None"; expected "Callable[[T], SupportsDunderLT[Any] | SupportsDunderGT[Any]]"  [arg-type]
- python/pyspark/core/rdd.py:2578: error: Argument "key" to "nlargest" has incompatible type "Callable[[T], S] | None"; expected "Callable[[T], SupportsDunderLT[Any] | SupportsDunderGT[Any]]"  [arg-type]
- python/pyspark/core/rdd.py:2635: error: Argument 3 to "nsmallest" has incompatible type "Callable[[T], S] | None"; expected "Callable[[T], SupportsDunderLT[Any] | SupportsDunderGT[Any]]"  [arg-type]
- python/pyspark/core/rdd.py:2637: error: Argument 3 to "nsmallest" has incompatible type "Callable[[T], S] | None"; expected "Callable[[T], SupportsDunderLT[Any] | SupportsDunderGT[Any]]"  [arg-type]
- python/pyspark/core/context.py:328: error: Unpacking a string is disallowed  [str-unpack]
- python/pyspark/core/context.py:328: note: Error code "str-unpack" not covered by "type: ignore[misc]" comment
- python/pyspark/sql/pandas/types.py:799: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/sql/pandas/types.py:800: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/sql/pandas/types.py:1005: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/sql/pandas/types.py:1005: error: Unexpected keyword argument "copy" for overloaded function "astype" of "Series"  [call-overload]
- python/pyspark/sql/pandas/types.py:1005: note: Error code "call-overload" not covered by "type: ignore[arg-type]" comment
- python/pyspark/sql/pandas/types.py:1005: error: No overload variant of "astype" of "Series" matches argument types "Any | None", "bool"  [call-overload]
- python/pyspark/sql/pandas/types.py:1005: note: Possible overload variants:
- python/pyspark/sql/pandas/types.py:1005: note:     def astype(self, dtype: type[builtins.bool] | Literal['bool'] | BooleanDtype | Literal['boolean'] | Literal['?', 'b1', 'bool_'] | type[numpy.bool[builtins.bool]] | Literal['bool[pyarrow]', 'boolean[pyarrow]'], errors: Literal['ignore', 'raise'] = ...) -> Series[bool]
- python/pyspark/sql/pandas/types.py:1005: note:     def astype(self, dtype: Literal['int', 'Int8', 'Int16', 'Int32', 'Int64', 'b', 'i1', 'int8', 'byte', 'h', 'i2', 'int16', 'short', 'i', 'i4', 'int32', 'intc', 'l', 'long', 'i8', 'int64', 'int_', 'q', 'longlong', 'p', 'intp', 'int8[pyarrow]', 'int16[pyarrow]', 'int32[pyarrow]', 'int64[pyarrow]', 'UInt8', 'UInt16', 'UInt32', 'UInt64', 'B', 'u1', 'uint8', 'ubyte', 'H', 'u2', 'uint16', 'ushort', 'I', 'u4', 'uint32', 'uintc', 'L', 'ulong', 'u8', 'uint', 'uint64', 'Q', 'ulonglong', 'P', 'uintp', 'uint8[pyarrow]', 'uint16[pyarrow]', 'uint32[pyarrow]', 'uint64[pyarrow]'] | type[int] | Int8Dtype | Int16Dtype | Int32Dtype | Int64Dtype | <14 more items>, errors: Literal['ignore', 'raise'] = ...) -> Series[int]
- python/pyspark/sql/pandas/types.py:1005: note:     def astype(self, dtype: type[str] | Literal['str'] | StringDtype[None] | Literal['string'] | StringDtype[Literal['python']] | Literal['string[python]'] | Literal['U', 'str_', 'unicode'] | type[str_] | StringDtype[Literal['pyarrow']] | Literal['string[pyarrow]'], errors: Literal['ignore', 'raise'] = ...) -> Series[str]
- python/pyspark/sql/pandas/types.py:1005: note:     def astype(self, dtype: type[bytes] | Literal['bytes'] | Literal['S', 'bytes_'] | type[bytes_] | Literal['binary[pyarrow]'], errors: Literal['ignore', 'raise'] = ...) -> Series[bytes]
- python/pyspark/sql/pandas/types.py:1005: note:     def astype(self, dtype: type[float] | Literal['float'] | Literal['Float32', 'Float64'] | Float32Dtype | Float64Dtype | Literal['e', 'f2', '<f2', 'float16', 'half'] | type[floating[_16Bit]] | Literal['f', 'f4', 'float32', 'single', 'd', 'f8', 'float64', 'double', 'g', 'f16', 'float128', 'longdouble'] | type[floating[_32Bit]] | type[float64] | type[floating[_64Bit | _96Bit | _128Bit]] | Literal['float[pyarrow]', 'double[pyarrow]', 'float16[pyarrow]', 'float32[pyarrow]', 'float64[pyarrow]'], errors: Literal['ignore', 'raise'] = ...) -> Series[float]
- python/pyspark/sql/pandas/types.py:1005: note:     def astype(self, dtype: type[complex] | Literal['complex'] | Literal['F', 'c8', 'complex64', 'csingle', 'D', 'c16', 'complex128', 'cdouble', 'G', 'c32', 'complex256', 'clongdouble'] | type[complexfloating[_32Bit, _32Bit]] | type[complex128] | type[complexfloating[_64Bit | _96Bit | _128Bit, _64Bit | _96Bit | _128Bit]], errors: Literal['ignore', 'raise'] = ...) -> Series[complex]
- python/pyspark/sql/pandas/types.py:1005: note:     def astype(self, dtype: Literal['timedelta64[s]', 'timedelta64[ms]', 'timedelta64[us]', 'timedelta64[ns]', 'm8[s]', 'm8[ms]', 'm8[us]', 'm8[ns]', '<m8[s]', '<m8[ms]', '<m8[us]', '<m8[ns]', 'duration[s][pyarrow]', 'duration[ms][pyarrow]', 'duration[us][pyarrow]', 'duration[ns][pyarrow]', 'timedelta64[Y]', 'timedelta64[M]', 'timedelta64[W]', 'timedelta64[D]', 'timedelta64[h]', 'timedelta64[m]', 'timedelta64[μs]', 'timedelta64[ps]', 'timedelta64[fs]', 'timedelta64[as]', 'm8[Y]', 'm8[M]', 'm8[W]', 'm8[D]', 'm8[h]', 'm8[m]', 'm8[μs]', 'm8[ps]', 'm8[fs]', 'm8[as]', '<m8[Y]', '<m8[M]', '<m8[W]', '<m8[D]', '<m8[h]', '<m8[m]', '<m8[μs]', '<m8[ps]', '<m8[fs]', '<m8[as]'] | dtype[timedelta64[Any]], errors: Literal['ignore', 'raise'] = ...) -> Series[Timedelta]
- python/pyspark/sql/pandas/types.py:1005: note:     def astype(self, dtype: Literal['datetime64[s, UTC]', 'datetime64[ms, UTC]', 'datetime64[us, UTC]', 'datetime64[ns, UTC]', 'datetime64[s]', 'datetime64[ms]', 'datetime64[us]', 'datetime64[ns]', 'M8[s]', 'M8[ms]', 'M8[us]', 'M8[ns]', '<M8[s]', '<M8[ms]', '<M8[us]', '<M8[ns]', 'date32[pyarrow]', 'date64[pyarrow]', 'timestamp[s][pyarrow]', 'timestamp[ms][pyarrow]', 'timestamp[us][pyarrow]', 'timestamp[ns][pyarrow]', 'datetime64[Y]', 'datetime64[M]', 'datetime64[W]', 'datetime64[D]', 'datetime64[h]', 'datetime64[m]', 'datetime64[μs]', 'datetime64[ps]', 'datetime64[fs]', 'datetime64[as]', 'M8[Y]', 'M8[M]', 'M8[W]', 'M8[D]', 'M8[h]', 'M8[m]', 'M8[μs]', 'M8[ps]', 'M8[fs]', 'M8[as]', '<M8[Y]', '<M8[M]', '<M8[W]', '<M8[D]', '<M8[h]', '<M8[m]', '<M8[μs]', '<M8[ps]', '<M8[fs]', '<M8[as]'] | dtype[datetime64[Any]], errors: Literal['ignore', 'raise'] = ...) -> Series[Timestamp]
- python/pyspark/sql/pandas/types.py:1005: note:     def astype(self, dtype: CategoricalDtype[object] | Literal['category'], errors: Literal['ignore', 'raise'] = ...) -> Series[CategoricalDtype[Any]]
- python/pyspark/sql/pandas/types.py:1005: note:     def astype(self, dtype: CategoricalDtype[object] | Literal['category'], errors: Literal['ignore', 'raise'] = ...) -> Series[CategoricalDtype[object]]
- python/pyspark/sql/pandas/types.py:1005: note:     def astype(self, dtype: Literal['object', 'object_', 'O', 'V', 'void'] | type[object] | type[object_] | type[void] | ExtensionDtype | dtype[generic[Any]], errors: Literal['ignore', 'raise'] = ...) -> Series[Any]
- python/pyspark/sql/pandas/types.py:1007: error: Unexpected keyword argument "copy" for overloaded function "astype" of "Series"  [call-overload]
- python/pyspark/sql/pandas/types.py:1007: error: No overload variant of "astype" of "Series" matches argument types "Any", "bool"  [call-overload]
- python/pyspark/sql/pandas/types.py:1007: note: Possible overload variants:
- python/pyspark/sql/pandas/types.py:1007: note:     def astype(self, dtype: type[builtins.bool] | Literal['bool'] | BooleanDtype | Literal['boolean'] | Literal['?', 'b1', 'bool_'] | type[numpy.bool[builtins.bool]] | Literal['bool[pyarrow]', 'boolean[pyarrow]'], errors: Literal['ignore', 'raise'] = ...) -> Series[bool]
- python/pyspark/sql/pandas/types.py:1007: note:     def astype(self, dtype: Literal['int', 'Int8', 'Int16', 'Int32', 'Int64', 'b', 'i1', 'int8', 'byte', 'h', 'i2', 'int16', 'short', 'i', 'i4', 'int32', 'intc', 'l', 'long', 'i8', 'int64', 'int_', 'q', 'longlong', 'p', 'intp', 'int8[pyarrow]', 'int16[pyarrow]', 'int32[pyarrow]', 'int64[pyarrow]', 'UInt8', 'UInt16', 'UInt32', 'UInt64', 'B', 'u1', 'uint8', 'ubyte', 'H', 'u2', 'uint16', 'ushort', 'I', 'u4', 'uint32', 'uintc', 'L', 'ulong', 'u8', 'uint', 'uint64', 'Q', 'ulonglong', 'P', 'uintp', 'uint8[pyarrow]', 'uint16[pyarrow]', 'uint32[pyarrow]', 'uint64[pyarrow]'] | type[int] | Int8Dtype | Int16Dtype | Int32Dtype | Int64Dtype | <14 more items>, errors: Literal['ignore', 'raise'] = ...) -> Series[int]
- python/pyspark/sql/pandas/types.py:1007: note:     def astype(self, dtype: type[str] | Literal['str'] | StringDtype[None] | Literal['string'] | StringDtype[Literal['python']] | Literal['string[python]'] | Literal['U', 'str_', 'unicode'] | type[str_] | StringDtype[Literal['pyarrow']] | Literal['string[pyarrow]'], errors: Literal['ignore', 'raise'] = ...) -> Series[str]
- python/pyspark/sql/pandas/types.py:1007: note:     def astype(self, dtype: type[bytes] | Literal['bytes'] | Literal['S', 'bytes_'] | type[bytes_] | Literal['binary[pyarrow]'], errors: Literal['ignore', 'raise'] = ...) -> Series[bytes]
- python/pyspark/sql/pandas/types.py:1007: note:     def astype(self, dtype: type[float] | Literal['float'] | Literal['Float32', 'Float64'] | Float32Dtype | Float64Dtype | Literal['e', 'f2', '<f2', 'float16', 'half'] | type[floating[_16Bit]] | Literal['f', 'f4', 'float32', 'single', 'd', 'f8', 'float64', 'double', 'g', 'f16', 'float128', 'longdouble'] | type[floating[_32Bit]] | type[float64] | type[floating[_64Bit | _96Bit | _128Bit]] | Literal['float[pyarrow]', 'double[pyarrow]', 'float16[pyarrow]', 'float32[pyarrow]', 'float64[pyarrow]'], errors: Literal['ignore', 'raise'] = ...) -> Series[float]
- python/pyspark/sql/pandas/types.py:1007: note:     def astype(self, dtype: type[complex] | Literal['complex'] | Literal['F', 'c8', 'complex64', 'csingle', 'D', 'c16', 'complex128', 'cdouble', 'G', 'c32', 'complex256', 'clongdouble'] | type[complexfloating[_32Bit, _32Bit]] | type[complex128] | type[complexfloating[_64Bit | _96Bit | _128Bit, _64Bit | _96Bit | _128Bit]], errors: Literal['ignore', 'raise'] = ...) -> Series[complex]
- python/pyspark/sql/pandas/types.py:1007: note:     def astype(self, dtype: Literal['timedelta64[s]', 'timedelta64[ms]', 'timedelta64[us]', 'timedelta64[ns]', 'm8[s]', 'm8[ms]', 'm8[us]', 'm8[ns]', '<m8[s]', '<m8[ms]', '<m8[us]', '<m8[ns]', 'duration[s][pyarrow]', 'duration[ms][pyarrow]', 'duration[us][pyarrow]', 'duration[ns][pyarrow]', 'timedelta64[Y]', 'timedelta64[M]', 'timedelta64[W]', 'timedelta64[D]', 'timedelta64[h]', 'timedelta64[m]', 'timedelta64[μs]', 'timedelta64[ps]', 'timedelta64[fs]', 'timedelta64[as]', 'm8[Y]', 'm8[M]', 'm8[W]', 'm8[D]', 'm8[h]', 'm8[m]', 'm8[μs]', 'm8[ps]', 'm8[fs]', 'm8[as]', '<m8[Y]', '<m8[M]', '<m8[W]', '<m8[D]', '<m8[h]', '<m8[m]', '<m8[μs]', '<m8[ps]', '<m8[fs]', '<m8[as]'] | dtype[timedelta64[Any]], errors: Literal['ignore', 'raise'] = ...) -> Series[Timedelta]
- python/pyspark/sql/pandas/types.py:1007: note:     def astype(self, dtype: Literal['datetime64[s, UTC]', 'datetime64[ms, UTC]', 'datetime64[us, UTC]', 'datetime64[ns, UTC]', 'datetime64[s]', 'datetime64[ms]', 'datetime64[us]', 'datetime64[ns]', 'M8[s]', 'M8[ms]', 'M8[us]', 'M8[ns]', '<M8[s]', '<M8[ms]', '<M8[us]', '<M8[ns]', 'date32[pyarrow]', 'date64[pyarrow]', 'timestamp[s][pyarrow]', 'timestamp[ms][pyarrow]', 'timestamp[us][pyarrow]', 'timestamp[ns][pyarrow]', 'datetime64[Y]', 'datetime64[M]', 'datetime64[W]', 'datetime64[D]', 'datetime64[h]', 'datetime64[m]', 'datetime64[μs]', 'datetime64[ps]', 'datetime64[fs]', 'datetime64[as]', 'M8[Y]', 'M8[M]', 'M8[W]', 'M8[D]', 'M8[h]', 'M8[m]', 'M8[μs]', 'M8[ps]', 'M8[fs]', 'M8[as]', '<M8[Y]', '<M8[M]', '<M8[W]', '<M8[D]', '<M8[h]', '<M8[m]', '<M8[μs]', '<M8[ps]', '<M8[fs]', '<M8[as]'] | dtype[datetime64[Any]], errors: Literal['ignore', 'raise'] = ...) -> Series[Timestamp]
- python/pyspark/sql/pandas/types.py:1007: note:     def astype(self, dtype: CategoricalDtype[object] | Literal['category'], errors: Literal['ignore', 'raise'] = ...) -> Series[CategoricalDtype[Any]]
- python/pyspark/sql/pandas/types.py:1007: note:     def astype(self, dtype: CategoricalDtype[object] | Literal['category'], errors: Literal['ignore', 'raise'] = ...) -> Series[CategoricalDtype[object]]
- python/pyspark/sql/pandas/types.py:1007: note:     def astype(self, dtype: Literal['object', 'object_', 'O', 'V', 'void'] | type[object] | type[object_] | type[void] | ExtensionDtype | dtype[generic[Any]], errors: Literal['ignore', 'raise'] = ...) -> Series[Any]
- python/pyspark/sql/pandas/types.py:1013: error: Unexpected keyword argument "copy" for overloaded function "astype" of "Series"  [call-overload]
- python/pyspark/sql/pandas/types.py:1013: error: No overload variant of "astype" of "Series" matches argument types "type[object]", "bool"  [call-overload]
- python/pyspark/sql/pandas/types.py:1013: note: Possible overload variants:
- python/pyspark/sql/pandas/types.py:1013: note:     def astype(self, dtype: type[builtins.bool] | Literal['bool'] | BooleanDtype | Literal['boolean'] | Literal['?', 'b1', 'bool_'] | type[numpy.bool[builtins.bool]] | Literal['bool[pyarrow]', 'boolean[pyarrow]'], errors: Literal['ignore', 'raise'] = ...) -> Series[bool]
- python/pyspark/sql/pandas/types.py:1013: note:     def astype(self, dtype: Literal['int', 'Int8', 'Int16', 'Int32', 'Int64', 'b', 'i1', 'int8', 'byte', 'h', 'i2', 'int16', 'short', 'i', 'i4', 'int32', 'intc', 'l', 'long', 'i8', 'int64', 'int_', 'q', 'longlong', 'p', 'intp', 'int8[pyarrow]', 'int16[pyarrow]', 'int32[pyarrow]', 'int64[pyarrow]', 'UInt8', 'UInt16', 'UInt32', 'UInt64', 'B', 'u1', 'uint8', 'ubyte', 'H', 'u2', 'uint16', 'ushort', 'I', 'u4', 'uint32', 'uintc', 'L', 'ulong', 'u8', 'uint', 'uint64', 'Q', 'ulonglong', 'P', 'uintp', 'uint8[pyarrow]', 'uint16[pyarrow]', 'uint32[pyarrow]', 'uint64[pyarrow]'] | type[int] | Int8Dtype | Int16Dtype | Int32Dtype | Int64Dtype | <14 more items>, errors: Literal['ignore', 'raise'] = ...) -> Series[int]
- python/pyspark/sql/pandas/types.py:1013: note:     def astype(self, dtype: type[str] | Literal['str'] | StringDtype[None] | Literal['string'] | StringDtype[Literal['python']] | Literal['string[python]'] | Literal['U', 'str_', 'unicode'] | type[str_] | StringDtype[Literal['pyarrow']] | Literal['string[pyarrow]'], errors: Literal['ignore', 'raise'] = ...) -> Series[str]
- python/pyspark/sql/pandas/types.py:1013: note:     def astype(self, dtype: type[bytes] | Literal['bytes'] | Literal['S', 'bytes_'] | type[bytes_] | Literal['binary[pyarrow]'], errors: Literal['ignore', 'raise'] = ...) -> Series[bytes]
- python/pyspark/sql/pandas/types.py:1013: note:     def astype(self, dtype: type[float] | Literal['float'] | Literal['Float32', 'Float64'] | Float32Dtype | Float64Dtype | Literal['e', 'f2', '<f2', 'float16', 'half'] | type[floating[_16Bit]] | Literal['f', 'f4', 'float32', 'single', 'd', 'f8', 'float64', 'double', 'g', 'f16', 'float128', 'longdouble'] | type[floating[_32Bit]] | type[float64] | type[floating[_64Bit | _96Bit | _128Bit]] | Literal['float[pyarrow]', 'double[pyarrow]', 'float16[pyarrow]', 'float32[pyarrow]', 'float64[pyarrow]'], errors: Literal['ignore', 'raise'] = ...) -> Series[float]
- python/pyspark/sql/pandas/types.py:1013: note:     def astype(self, dtype: type[complex] | Literal['complex'] | Literal['F', 'c8', 'complex64', 'csingle', 'D', 'c16', 'complex128', 'cdouble', 'G', 'c32', 'complex256', 'clongdouble'] | type[complexfloating[_32Bit, _32Bit]] | type[complex128] | type[complexfloating[_64Bit | _96Bit | _128Bit, _64Bit | _96Bit | _128Bit]], errors: Literal['ignore', 'raise'] = ...) -> Series[complex]
- python/pyspark/sql/pandas/types.py:1013: note:     def astype(self, dtype: Literal['timedelta64[s]', 'timedelta64[ms]', 'timedelta64[us]', 'timedelta64[ns]', 'm8[s]', 'm8[ms]', 'm8[us]', 'm8[ns]', '<m8[s]', '<m8[ms]', '<m8[us]', '<m8[ns]', 'duration[s][pyarrow]', 'duration[ms][pyarrow]', 'duration[us][pyarrow]', 'duration[ns][pyarrow]', 'timedelta64[Y]', 'timedelta64[M]', 'timedelta64[W]', 'timedelta64[D]', 'timedelta64[h]', 'timedelta64[m]', 'timedelta64[μs]', 'timedelta64[ps]', 'timedelta64[fs]', 'timedelta64[as]', 'm8[Y]', 'm8[M]', 'm8[W]', 'm8[D]', 'm8[h]', 'm8[m]', 'm8[μs]', 'm8[ps]', 'm8[fs]', 'm8[as]', '<m8[Y]', '<m8[M]', '<m8[W]', '<m8[D]', '<m8[h]', '<m8[m]', '<m8[μs]', '<m8[ps]', '<m8[fs]', '<m8[as]'] | dtype[timedelta64[Any]], errors: Literal['ignore', 'raise'] = ...) -> Series[Timedelta]
- python/pyspark/sql/pandas/types.py:1013

... (truncated 34856 lines) ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant