Shantanu
Shantanu
General, language: - [x] Fix typed_ast support for Python 3.11 (fixed in 1.5.4) - [x] Get tests running (#12833) - [x] Unbreak mypyc (https://github.com/mypyc/mypyc/issues/931) - [x] Fixes for asyncio.coroutine removal...
See https://github.com/python/mypy/pull/12214 Currently, stubtest will not ensure that `__all__` is present in the stub if it is present at runtime. We will always check whether the stub has the symbols...
Unfortunately, a number of tests fail. Please help fixing them :-) Especially the ones to do with cache inconsistencies... There's at least one known bug here: #7276
``` from typing import List def list_comp(self) -> List[int]: if True: return [i for i in [5]] return [i for i in [5]] ``` ``` Traceback (most recent call last):...
Low priority, but ran into this while minimising another failure: ``` def hmm(self) -> int: return 3 return 2 ``` Gives you: ``` ... ... File "/Users/shantanu/dev/mypy/mypyc/irbuild/visitor.py", line 134, in...
See https://github.com/python/mypy/pull/13131 where https://github.com/python/mypy/pull/13131/commits/3530a8949dfd574e6b639f106510e1f0c135250f causes segfaults
Roadmap
1. [x] Allow use of magic variables in config This would essentially allow user defined magic variables / give pyp more macro like abilities, e.g, you could have `j =...
(copy of https://github.com/Instagram/MonkeyType/issues/199, with context of fairly major regression fixed in https://github.com/Instagram/LibCST/pull/314 / https://github.com/Instagram/MonkeyType/issues/198) Given the new importance of ApplyTypeAnnotationsVisitor to MonkeyType, we should try and improve test coverage of...
``` def foo(): assert ( b"RuntimeError: zasnvkdifnb2rnf cannot be abcdefgh with a " b"bjbkjdf dfsdf of asdfasdfs" ) in proc.stderr ``` becomes: ``` def foo(): assert ( b"RuntimeError: zasnvkdifnb2rnf cannot...