Skip to content

E-mail cpaste broken #1166

Closed
stefanv opened this Issue Dec 17, 2011 · 1 comment

1 participant

@stefanv
stefanv commented Dec 17, 2011

Cpasting the following snippet gives a syntax error:

> a = np.array([
>              [0,1,1,0,0,0],
>              [0,1,1,0,1,0],
>              [0,0,0,1,1,1],
>              [0,0,0,0,1,0]])
@stefanv
stefanv commented Dec 17, 2011

Email clients seem to convert some characters to unicode. Not much we can do about that. E.g., the following snippet works fine:


> import numpy as np
> a = np.array([
>     [0,1,1,0,0,0],
>     [0,1,1,0,1,0],
>     [0,0,0,1,1,1],
>     [0,0,0,0,1,0]])

Closing.

@stefanv stefanv closed this Dec 17, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.