Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Multiline comments in Python doesn't compile #40

@kenny-evitt

Description

@kenny-evitt

Copied from the original comment in LightTable/LightTable#1200:

OS : Debian testing
Lighttable version : 0.6.2 (64 bit) (binary version 0.8.4)
Python version : 2.7.6

How to reproduce :

  • create a new file "test.py" and open it in LighTable
  • create a multiline comment
'''  
This  
is a  
multiline  
comment  
'''
  • execute the file (CTRL + SHIFT + ENTER)

Current results : Stacktrace saying "SyntaxError: EOF while scanning triple-quoted string literal"

Expected results : normal compilation.

Note on Python comments:

Thanks !

EDIT :
Change the code block to correctly displayed the line break.
Change the shortcut to execute the file to CTRL + SHIFT + ENTER

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions