Evan Hubinger
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.
Especially given the presence of `concurrent_map`.
Should automatically add Coconut line numbers to Python line numbers in `--mypy` output.
Provides better error messages than not compiling the file at all, and allows for some degree of caching.
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...
e.g.: ```python def func(): do_stuff() return x do_more_stuff() ```
Possible syntaxes: ```python do: ... while cond ``` ```python do while cond: ... ``` ```python do: ... while: cond ``` Regardless, they should be compiled to: ```python while True: ......
Should make new exception subclasses just aliases for their superclass on older Python versions. See: search for “new in” in
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...
Should be significantly faster.