Skip to content

Commit

Permalink
very small bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cheery committed Mar 1, 2018
1 parent c7af1fc commit 86c94af
Show file tree
Hide file tree
Showing 3 changed files with 452 additions and 296 deletions.
4 changes: 3 additions & 1 deletion runtime/base.py
Expand Up @@ -59,7 +59,9 @@
u'Stream': uv_stream.Stream.interface,
u'TTY': uv_stream.TTY.interface,
u'Pipe': uv_stream.Pipe.interface,
u'vec': vector.Vec.interface,

# The new vector interface, lets see how it fares.
u'Numeric': vector.Numeric.interface,
}, frozen=True)

@Module.instantiator
Expand Down
3 changes: 2 additions & 1 deletion runtime/stdlib/binon.py
Expand Up @@ -44,8 +44,9 @@ def dump(fd, data):
elif tp is null:
fd.write(chr(7))
elif tp is FloatRepr.interface:
assert isinstance(data, FloatRepr)
fd.write(chr(8))
wstring(fd, data)
wstring(fd, data.string)
else:
raise OldError(u"no binon encoding found for an object: " + data.repr())

Expand Down

0 comments on commit 86c94af

Please sign in to comment.