Summary: 103 instances, 93 unique Text Count # TODO more precise type for object of hashlib 1 # TODO: `compile` has a more precise return type in reality; work on a way of expressing that? 1 # TODO recursive type 2 # TODO: Replace this with a TypedDict once it becomes standardized. 1 class HRESULT(_SimpleCData[int]): ... # TODO undocumented 1 # TODO: If someone actually uses these, overload to have the actual return type of open(..., mode) 1 # TODO: Much like `dict.fromkeys`, the true signature of `UserDict.fromkeys` is inexpressible in the current type system. 1 # TODO: change return to SyncManager once a stub exists in multiprocessing.managers 1 # TODO: Recursive type on tuple, list, dict 1 # TODO: Type this more accurately 1 # TODO: Commands should use their actual return types, not this type alias. 1 # TODO: it is not possible to specify the requirement that all other 1 # FIXME: __next__ doesn't actually exist on this class and should be removed: 1 # TODO: please check in executemany() if seq_of_parameters type is possible like this 1 # FIXME: the functions really return str if encoding is None, otherwise bytes. Waiting for python/mypy#5621 1 # TODO: use Union when mypy will handle it properly in overloaded operator 1 # TODO what is this 1 stripdir: str | None = ..., # TODO: change to StrPath | None once https://bugs.python.org/issue40447 is resolved 2 // TODO - emit diagnostic 4 # TODO: don't any-type **kw. That goes to Frame.__init__. 1 # TODO: add some backends 1 O_ACCMODE: int # TODO: when does this exist? 1 _NDArray = Any # FIXME: no typings for numpy arrays 1 _Provider = Any # TODO replace this with boto.provider.Provider once stubs exist 1 // TODO - emit diagnostic 1 # TODO validator: gflags_validators.Validator 1 # TODO: check kwargs 1 // TODO: Replace this with real list parsing. This may have 1 # TODO: 4 # TODO: SCHED_RESET_ON_FORK not available on darwin? 1 # TODO dict type 1 # TODO: this only satisfies the most common interface, where 1 # TODO: image_* methods 1 # TODO: oss_audio_device return type 1 _TraceDispatch = Callable[[FrameType, str, Any], Any] # TODO: Recursive type 1 # TODO: window_* methods 1 # TODO use abstractproperty 1 # TODO: Tempory copy of _typeshed.dbapi, until that file is available in all typecheckers. 1 state: State[Any] # TODO: possible to get rid of Any? 1 # FIXME: Overload, certain combos return, others don't 1 # TODO Most methods allow bytes as address objects 1 # TODO: This is special, in that a subclass of a hashable class may not be hashable 1 ] # TODO: Replace 'Any' with some kind of binding 1 # TODO correct return value? 1 # TODO use overload 1 # TODO use email.message.Message once stubs exist 1 # TODO These methods cannot be annotated correctly at the moment. 1 # TODO: wait for `Concatenate` support 1 # TODO: change return to Pipe once a stub exists in multiprocessing.connection 1 bytes: Iterable[SupportsIndex] | SupportsBytes, # TODO buffer object argument 1 # TODO: command kwarg available on macos 1 // TODO: Strip footnote/citation references. 1 # FIXME: `ctx` is a circular dependency and it's not actually optional. 1 # TODO argument types 1 // TODO - handle *args and **kwargs 1 # TODO: Type keyword args properly. 1 # TODO: holistic design for buffer interface (typing.Buffer?) 1 # TODO: oss_mixer_device return type 1 // TODO - it would be better if we could match the call to the 1 def format(__value: object, __format_spec: str = ...) -> str: ... # TODO unicode 1 # TODO add a method for every (common) proxy protocol 1 # TODO: Cursor class accepts exactly 1 argument 1 # TODO: currently no good way to say "use the same big list of kwargs as parent class but also add these" 1 # TODO: TypedDicts 1 _LockType = Any # TODO replace this with _thread.LockType once stubs exist 1 # TODO constants not really documented 1 # TODO: Override the visit_* methods with better return types. 1 # TODO: The actual return type should be list[_ClassTreeItem] but mypy doesn't 1 // TODO: Find a better way to handle this; the below breaks escaped 1 // TODO - validate that literal strings are referencing 1 def DllGetClassObject(rclsid: Any, riid: Any, ppv: Any) -> int: ... # TODO not documented 1 # TODO: the true signature of `dict.fromkeys` is not expressible in the current type system. 1 # TODO use abstract properties 1 # TODO: loader is of type default_loader ie it takes a callable that has the 1 # TODO: config is an alias of configure, but adding that here creates lots of mypy errors 1 # TODO: adapt needs to get probed 1 // TODO: Handle the rest of these, and the precedence order (which depends on the 1 // TODO - emit diagnostic 2 # TODO move _StringIO definition into boto.compat once stubs exist and rename to StringIO 2 /** TODO: if we get more than 1 decls, flag it as attention needed */ 1 # TODO: SCHED_BATCH and SCHED_IDLE are linux only? 1 // TODO - validate that there's only one index entry 1 # TODO: change this to packaging.markers.Marker | None once we can import 1 # TODO undocumented 1 # TODO: 'context' needs the attrs above (ducktype), but not __call__. 1 # TODO: Not all nodes have all of the following attributes 1 # TODO: more precise typing for __getitem__ and __iter__, 1 # TODO: uncomment once https://github.com/python/mypy/pull/10884 is released 1 // TODO - emit diagnostic 1 # TODO: We wish the key type could also be covariant, but that doesn't work, 1 # TODO kinda wrong, `getopt(object=object())` is invalid 1 dict_type: Any # TODO: add support if someone needs this 1 class finalize: # TODO: This is a good candidate for to be a `Generic[_P, _T]` class 1