-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Description
While investigating an issue with my changes for better performance and to fix numeric parsing issues, I realized that parsing a number can "eat" the next character in a stream.
The way that the async.jl unit test works, by writing out a stream of JSON values, and then reading them on another process, breaks if there is not another character to separate the values, and just a number is being read.
I attempted to fix this using Base.peek, however on v0.6.2, it doesn't work for the type TCPStream.
I'm not sure what the behavior of a similar test in JavaScript or Python would be.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels