Evan Hubinger

Results 71 issues of Evan Hubinger

When Coconut has to do something that will obviously break type-checking (outside of the header) it should automatically add `type: ignore` comment.

modification
partially resolved

Especially given the presence of `concurrent_map`.

modification

Should automatically add Coconut line numbers to Python line numbers in `--mypy` output.

good first issue
tooling

Provides better error messages than not compiling the file at all, and allows for some degree of caching.

modification
good first issue

The code ``` func(head + [tail] match in list) ``` should be equivalent to ``` match [head] + tail in list: func(True) else: func(False) ``` with the exception that the...

feature

e.g.: ```python def func(): do_stuff() return x do_more_stuff() ```

modification

Possible syntaxes: ```python do: ... while cond ``` ```python do while cond: ... ``` ```python do: ... while: cond ``` Regardless, they should be compiled to: ```python while True: ......

feature

Should make new exception subclasses just aliases for their superclass on older Python versions. See: search for “new in” in

compatibility

We should do something similar to what pytest does with assert statements and provide a default error message for simple assert patterns with more information than the default message. For...

feature

Should be significantly faster.

modification
performance