Summary: 256 instances, 206 unique Text Count // TODO: Add more? 1 ('digits', Sequence[int]), # TODO: Use Tuple[int, ...] 2 # TODO parts of this should be conditional on version 1 // TODO: report supplied parameter is not a type. 1 def setprofile(profilefunc: Any) -> None: ... # TODO type 1 # TODO: precise type 1 # TODO __reversed__ 1 # TODO precise types 2 // TODO: merge with user-provided stub paths 1 // TODO: handle keyword and dict args 1 class HRESULT(_SimpleCData[int]): ... # TODO undocumented 1 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1815:OverrideEqualsAndOperatorEqualsOnValueTypes")] // TODO: fix 1 # TODO is it possible to have non-string keys? 1 signed: bool = ...) -> int: ... # TODO buffer object argument 1 fsw.Filter = "*.p*"; // .py, .pyc, .pth - TODO: Use Filters in .NET Core 3.0. 1 x += ".exe"; // TODO: other extensions? 1 # TODO: __new__ may have to be special and not a static method. 2 // TODO: Evaluate comprehensions to produce exact contents, if possible. 1 // TODO: check executable on non-Windows platforms. 1 # TODO: Defining this and other mock classes as classes in this stub causes 1 // TODO: report wrong number of arguments 10 // TODO: show fully qualified type? 2 # TODO update socket stubs to add SocketKind 1 # TODO below documented in cpython but not in docs.python.org 1 // TODO: Specific parsing 1 # TODO use abstractproperty 2 : base(moduleName, ModuleType.Builtins, filePath, null, false, false, services) { } // TODO: builtins stub & persistence 1 // TODO: better resolve circular references. 1 // TODO: deprecate eventually. 1 // TODO: improve this, the heuristic is pretty basic and tailored to simple func(_T) -> _T 1 # TODO correct return value? 1 # TODO: change return to Pipe once a stub exists in multiprocessing.connection 1 # TODO argument types 1 // TODO: report name is incorrect. 1 // TODO: report argument mismatch 1 // TODO: report item name is not a string. 1 # TODO can we be more specific than "object"? 2 # TODO: The real abc.abstractproperty inherits from "property". 1 // TODO: technically generics may have constraints. Should we consider them? 1 # TODO `secure` can also be an empty tuple 1 # TODO: Add xmllib.XMLParser as base class 1 // TODO: Restore this to a hard failure once property can handle not having a declaring type. 1 // TODO: report bad index type. 1 // TODO: warn this is not a good style per 1 # TODO: It is not possible to specify these signatures correctly, because 1 # TODO: Is a subclass of date, but this would make some types incompatible. 1 // TODO diagnostic error when second arg of getattr is not a string 1 # TODO: __iter__ is not available for UserDict 1 raw: bytes = ... # TODO only available with _T == c_char 1 // TODO: resolving to a different version can be an option 1 // TODO: report unhandled generic? 1 # TODO: 'context' needs the attrs above (ducktype), but not __call__. 1 # TODO detach 2 # TODO readinto 2 def oct(i: int) -> str: ... # TODO __index__ 3 # TODO restrict to "module, class, method, function, traceback, frame, 2 # TODO recursive type 1 .Select(p => root == null || IOPath.IsPathRooted(p) ? p : IOPath.GetFullPath(IOPath.Combine(root, p))) // TODO: Replace with GetFullPath(p, root) when .NET Standard 2.1 is out. 1 # TODO: please check in executemany() if seq_of_parameters type is possible like this 1 # TODO: iterate as in find_dist and import looking for __version__? 1 # TODO: this only satisfies the most common interface, where 1 # TODO restrict to "a module, class, method, function, traceback, frame, 2 # TODO peek? 2 from posix import stat_result as stat_result # TODO: use this, see https://github.com/python/mypy/issues/3078 1 # TODO should be the next line instead 2 # TODO: AbstractChildWatcher (UNIX only) 1 // TODO: Figure out where the nulls below are coming from. 1 # TODO: originally named 'from' 1 # TODO: buffer support is incomplete; e.g. some_string.startswith(some_buffer) doesn't type check. 2 # FIXME: `ctx` is a circular dependency and it's not actually optional. 1 // TODO: move check to GenericClassBase. This requires extensive changes to SpecificTypeConstructor. 1 # TODO read1? 2 # TODO add a method for every (common) proxy protocol 1 value: bytes = ... # TODO only available with _T == c_char 1 // TODO: If necessary, we can set __bases__ on builtins when the module is fully analyzed. 1 // TODO: warn this is invalid if not in the global scope. 1 // TODO: parse in place 2 //TODO check properties 1 exception = ... # type: Any # TODO precise type 1 # TODO the typing.IO[] generics should be split into input and output. 1 // TODO find elements that are IPythonType and make them into PythonInstances 1 EventName = "python_language_server/analysis_complete", // TODO: Move this common prefix into Core. 1 # TODO the return value may be BinaryIO or TextIO, depending on mode 1 path_hooks: List[Any] # TODO precise type; function, path to finder 1 # TODO: can we be more specific here? 2 prefix: str = ...) -> _YMFNI: ... # TODO precise type 1 # TODO: loader is of type default_loader ie it takes a callable that has the 1 // TODO: return names and aliases when they are united into one node 2 // TODO: parameter is not assigned and has no default value. 1 // TODO Fix the white space here 1 // TODO: for egg (https://github.com/microsoft/python-language-server/issues/196), consider *.egg-info 1 # TODO: adapt needs to get probed 1 # TODO the "Tuple[Any, ...]" should be "Union[Tuple[str, int], Tuple[str, int, int, int]]" but that triggers 1 # TODO ABC for test runners? 1 // TODO: better handle generics. 1 // TODO: handle more complicated lvars 1 new string(' ', charsOnCurrentLine) + commentPrefix, // TODO: Tabs instead of spaces 1 # TODO: change return to Value once a stub exists in multiprocessing.sharedctypes 1 // TODO: report type spec is not a list. 1 def get_importer(path_item: str) -> Any: ... # TODO precise type 1 # TODO: The actual return type should be List[_ClassTreeItem] but mypy doesn't 1 // TODO: re-declare __doc__, __name__, etc. 1 // TODO: report that item is not a tuple. 1 # TODO more precise type for object of hashlib 1 // TODO: develop mechanism for dynamic and external linter discovery. 1 # TODO: Argument can be a more general ABC? 1 # TODO this should have 1 # TODO the return value may be BinaryIO or TextIO, depending on mode 1 path_importer_cache: Dict[str, Any] # TODO precise type 1 # TODO: type should be BaseProcess once a stub in multiprocessing.process exists 2 # TODO: set_authorizer(authorzer_callback) 1 // TODO: This results in doing a dictionary lookup to get/set the local, 1 // TODO: verify values. Value may be list() while variable type is List[str]. 1 case IPythonSuperType cls: // TODO: move mro IPythontypes or make IPythonClassType a child of IPythonSuperType 1 # TODO: change return to Array once a stub exists in multiprocessing.sharedctypes 1 // TODO: The return value (x) is provided by calling ... 1 def set_child_watcher(self, watcher: Any) -> None: ... # TODO: unix_events.AbstractChildWatcher 1 def format(o: object, format_spec: str = ...) -> str: ... # TODO unicode 2 def set_child_watcher(watcher: Any) -> None: ... # TODO: unix_events.AbstractChildWatcher 1 # TODO should extend from BufferedIOBase 1 // TODO: try and handle LoadFunctionDependencyModules functionality here. 1 # TODO name of the class (corresponds to Python 'function' class) 2 # TODO: change return to RawValue once a stub exists in multiprocessing.sharedctypes 1 // TODO: warning that variable is already declared of a different type. 1 public bool IsString => Kind == TokenKind.FString // TODO: format inside fstrings 1 # TODO: Unicode support? 1 # TODO: This is special, in that a subclass of a hashable class may not be hashable 2 def fromkeys(seq: Sequence[_T]) -> Dict[_T, Any]: ... # TODO: Actually a class method (mypy/issues#328) 2 # TODO: FrozenSet 1 # TODO These methods cannot be annotated correctly at the moment. 1 // TODO: https://docs.python.org/3/faq/programming.html#what-are-the-best-practices-for-using-import-in-a-module 1 # TODO: SupportsCeil, SupportsFloor, SupportsTrunc? 1 return FinishArgumentList(a, commaWhiteSpace, out ateTerminator); // TODO: Use ateTerminator 1 // TODO: deal with commented out functions. 1 # TODO text files 1 # TODO should extend from TextIOBase 1 # TODO This function accepts any object supporting a buffer interface, 1 // TODO: warn about incompatible types like 'str' + 1 1 def hex(i: int) -> str: ... # TODO __index__ 3 // TODO warn about incompatible combinations, e.g @staticmethod + @classmethod 1 def DllGetClassObject(rclsid: Any, riid: Any, ppv: Any) -> int: ... # TODO not documented 1 # TODO use abstract properties 2 # TODO: It should be possible to instantiate these classes, but mypy 1 # TODO constants not really documented 1 // TODO: Replace with HashCode.Combine when .NET Standard 2.1 is out. 1 // TODO: report extra items in the element spec. 1 # TODO: arg: int or read-only buffer interface or read-write buffer interface 1 # TODO: On _TextIOBase, this is always None. But it's unicode/bytes in subclasses. 1 # TODO what if n is None? 2 // TODO: figure out threading/locking for the Open/Close pairs. 1 # TODO undocumented 1 // TODO: report wrong number of arguments 1 // TODO: move check to GenericClassBase. This requires extensive changes to SpecificTypeConstructor. 1 # TODO should be a union of tuple, see mypy#1178 1 # TODO 'b' modes or bytes command not accepted? 1 # TODO: We wish the key type could also be covariant, but that doesn't work, 2 # TODO kinda wrong, `getopt(object=object())` is invalid 1 // TODO: Try __getattr__ first; this may not be as reliable in practice 1 locals: Optional[Dict[str, Any]] = ...) -> Any: ... # TODO code object as source 2 # TODO: Several types should only be defined if sys.python_version >= (3, 5): 1 # TODO: set type of group to None 1 def iter_importers(fullname: str = ...) -> Generator[Any, None, None]: ... # TODO precise type 1 # TODO the "Tuple[Any, ...]" should be "Union[Tuple[str, int], Tuple[str, int, int, int]]" but that triggers 1 # TODO __getattribute__ 2 # TODO: change return to SyncManager once a stub exists in multiprocessing.managers 1 // TODO: make these classes that support __float__, etc per spec. 1 # TODO: it is not possible to specify the requirement that all other 1 # TODO not defined in builtins! 1 # TODO uncomment when mypy# 2035 is fixed 1 def get_child_watcher(self) -> Any: ... # TODO: unix_events.AbstractChildWatcher 1 # TODO not exported by the Python module 1 // TODO: move from source unit .TrimStart(' ', '\t') 1 // TODO: Because of bug with how collection types are constructed, they don't make nested collection types 1 # TODO All these return either int or bytes depending on the value of 2 def get_child_watcher() -> Any: ... # TODO: unix_events.AbstractChildWatcher 1 # TODO: add ns, dir_fd, follow_symlinks argument 1 case TokenKind.FString: // TODO: format inside fstrings 1 // TODO: warn incompatible value type. 1 # TODO: more precise typing for __getitem__ and __iter__, 1 // TODO: make combined db rather than per module? 1 # TODO In the next two blocks of code, can we be more specific regarding the 1 // TODO: Better selection of active signature by argument set 1 // TODO: restore signature string so hover (tooltip) documentation won't have to restore the function. 1 # TODO: change return to RawArray once a stub exists in multiprocessing.sharedctypes 1 # TODO: Type keyword args properly. 1 // TODO: try constructing argument set from types. Consider Tuple[_T1, _T2] where _T1 = TypeVar('_T1', str, bytes) 1 # TODO: Cursor class accepts exactly 1 argument 1 // TODO: Do not perform recursive string parsing. 1 def fromkeys(seq: Iterable[_T]) -> Dict[_T, Any]: ... # TODO: Actually a class method (mypy/issues#328) 1 # Aliased here for backwards compatibility; TODO eventually remove this 1 # TODO make the field types more specific here 1 // TODO: report generic parameter name mismatch. 1 # TODO: type should be BaseProcess once a stub in multiprocessing.process exists 5 // TODO: Check if specific type matches generic type parameter constraints and report mismatches. 1 // TODO: cache results per function + argument set? 1 # TODO: type should be BaseProcess once a stub in multiprocessing.process exists 1 # TODO: typecode_or_type param is a ctype with a base class of _SimpleCData or array.typecode Need to figure out 4 # TODO can this be unicode? 2 # TODO: argument can be any container? 1 def settrace(tracefunc: Any) -> None: ... # TODO type 1 # TODO buffer objects 2 // TODO: Remove this one caching is working at any level again. 1 // TODO: We probably need to handle more primitives here 1 # TODO AF_PACKET and AF_BLUETOOTH address objects 1 # TODO uncomment after fixing mypy about using write_through 1 # TODO `fmt` is positional 1