GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — First overload picked overeagerly when overloading on self type · Issue #14070 · python/mypy Open Labels DescriptionConsider this example: from typing import Generic, TypeVar, Any, overload AnyStr = TypeVar("AnyStr", str, bytes) class Popen(Generic[AnyStr]): @overload def communicate(self: Popen[str], buf: str = ...) -> float: ... @overload def communicate(self: Popen[bytes], buf: memoryview | bytes = ...) -> range: ... def communicate(self, buf: object = None) -> Any: raise NotImplementedError p = Popen() reveal_type(p.communicate()) This currently reveals Reacted by Joren Hammudoglu Activity
MetadataMetadataAssigneesLabelsProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |