Skip to content

Julia hanging when the last line prints an array of arrays #79

@JackHolland

Description

@JackHolland

I found a pretty obscure bug that I think originates in PyCall. If you run this code:

using PyCall
println(Vector{String}[String["a"]])

Then julia prints the array but the cursor hangs on the next line. Typing Ctrl+c or 'enter' kills the program fine, so it's not a big deal, but it's weird behavior, especially because it doesn't have this behavior without using PyCall or when you run this code:

using PyCall
println([String["a"]])

Or when you print an array, string, int, etc.

This might be a bash issue (I'm using standard bash, for the record) but I doubt it.

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