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

Does not allow empty lines #22

Open
ZelphirKaltstahl opened this issue Aug 12, 2016 · 0 comments
Open

Does not allow empty lines #22

ZelphirKaltstahl opened this issue Aug 12, 2016 · 0 comments

Comments

@ZelphirKaltstahl
Copy link

ZelphirKaltstahl commented Aug 12, 2016

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)

jaccarmac added a commit to jaccarmac/hy_kernel that referenced this issue Sep 13, 2016
jaccarmac added a commit to jaccarmac/hy_kernel that referenced this issue Sep 13, 2016
(Whitespace was handled, a really empty line was not.)

Address bollwyvl#22.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant