coconut icon indicating copy to clipboard operation
coconut copied to clipboard

Simple, elegant, Pythonic functional programming.

Results 98 coconut issues
Sort by recently updated
recently updated
newest added

Should support `pyright` like `mypy` is currently supported

tooling
partially resolved

We already mostly support [PEP 695](https://peps.python.org/pep-0695/), except for: * [tuple constraints](https://peps.python.org/pep-0695/#constrained-type-specification) * generating literal syntax on 3.12 * [lazy evaluation of `type` statements](https://docs.python.org/3.12/reference/executionmodel.html#lazy-evaluation)

compatibility
partially resolved

Something like a `--silence-warnings` parameter that accepts a regex to match against the warning to determine whether to silence it or not.

feature

It just prints out the base MultiError and doesn't include all the sub errors.

bug

We'll probably do this if only if [PEP 653](https://peps.python.org/pep-0653/) is actually accepted.

modification
compatibility

It's much clearer when using Coconut builtins from vanilla Python.

modification

See: https://github.com/jupyter-xeus/xeus-python

tooling

We need to use the actual variable name `sys` because `mypy` requires it, so our only real option here is to make `sys` an unredefinable built-in, like `_coconut` names, so...

oversight

Currently we have the possibility to create our own custom operators like so: ```python operator ~~ def left ~~ right = dostuff(right) - dostuff(left) ``` but we don't seem to...

feature

Should compile ```python class A: def a + b: ... ``` to ```python class A: def __add__(a, b): ... ```

feature