Skip to content

Using %cython directive #27

Open
Open
@johanrosenkilde

Description

@johanrosenkilde

I can't get sage-shell-mode to accept %cython magic markers. The same code that copy-paste works in the IPython Sage shell gives the following error when C-c C-r'ing the code inside Emacs:

sage: load('/tmp/sage_shell_mode14470ZZ2/sage_shell_mode_temp.sage')
  File "<string>", line 2
    %%cython
    ^
SyntaxError: invalid syntax

Is there any way to make %%cython work?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions