You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deffoo(x, y=1):
returnx+yfoo(
x=1,
y=2, # any description - e.g. why this value is 2
)
raises:
CoconutSyntaxError: unclosed open '(' (line 3)
foo( x=1, y=2, # any description - e.g. why this value is 2)
^
File <string>:3
SyntaxError: unclosed open '('
foo( x=1, y=2, # any description - e.g. why this value is 2)
The text was updated successfully, but these errors were encountered:
vanheck
changed the title
Comments in middle of parethesed code raising errors (jupyterlab).
Comments in middle of parethesed code raising errors (jupyterlab - coconut kernel).
Aug 20, 2024
See Coconut's
[documentation](http://coconut.readthedocs.io/en/develop/DOCS.html) for
more information on all of the features listed below.
Bugfixes:
* #851, #852: Fixed comments inside of parentheses in the Jupyter
kernel.
Language features:
* #846: `reduce`, `takewhile`, and `dropwhile` now support keyword
arguments.
* #848: Class and data patterns now support keyword argument name
elision.
* #847: New pattern-matching syntax for matching anonymous named tuples.
Compiler features:
* #843: Added compiler warnings for (some cases of) undefined variables.
I run jupyterlab coconut kernel, and get error if I comment any code in parentheses.
Example 1:
raises:
Example 2 - comment function call parameters:
raises:
The text was updated successfully, but these errors were encountered: