mrolle45

Results 21 issues of mrolle45

I ran this module standalone, and in the test() method there was an AssertionError. Several of the calls to Scope.lookup() return different values from what was expected. Here's a list...

**My tale of woe** I have a Windows PC, and I wanted to run pytype on my code. I had to install WSL and then load several needed packages. Not...

help wanted
cat: infrastructure

Wiki / Getting Started page indicates that the microbenchmark program be built with Visual Studio, but there are no project or solution files in the distribution.

# Bug Report: Example program: ``` def f(x: bool ) -> foo: # type: (int) -> str pass ``` Result of com2ann: ``` def f(x: bool: int ) -> str:...

bug

# Bug Report: When assigning to a nonlocal or global variable, the translation contains syntax errors, because these variables cannot be annotated. Example ``` py class C: global x x...

**Bug Report** If a program references a variable and then declares it global or nonlocal, mypy does not catch this. **To Reproduce** ```py foo.py: x = 'x' from typing import...

feature
topic-variable-scope

The documentation says > is_nested() > Return True if the block is a nested class or function. The cpython implementation of symtable.c sets the corresponding flag only if the block...

If the source file begins with ``` # if ! defined X ... # define X ``` then this is not considered an include guard. Any whitespace after the `!`...

bug

If a **'** or **"** doesn't have a matching terminator _on the same line_, this is not a valid token. The newline character at the end of the line is...

enhancement

`pcpp` handles space and newline characters in the macro argument correctly by replacing all of them with a single space. However, it does not consider comments as whitespace. This code:...

bug