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

Does not allow empty lines #22

@ZelphirKaltstahl

Description

@ZelphirKaltstahl

Whenever I run a notebook cell with an empty line, I get an error:

(-> (input) (str))  ; execution from left (inner) to right (outer)
(->> (str) (input))  ; execution from right (outer) to left (inner)
; here is an empty line (have to remove the comment for the error to happen)

IndexError: string index out of range

It does not matter where the empty line is. When I remove the empty line it works just fine.

I created a virtualenv using anaconda3. conda list tells me:

jupyter                   1.0.0                    py34_3    defaults
jupyter_client            4.3.0                    py34_0    defaults
jupyter_console           5.0.0                    py34_0    defaults
jupyter_core              4.1.0                    py34_0    defaults

and pip list:

hy (0.11.1)

(leaving away all the other stuff in those outputs)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions