Skip to content

Commit fdde382

Browse files
committed
fix #800 the temp file name generated by murmur2 in python and ts is not the same
1 parent b74ab37 commit fdde382

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ipykernel/compiler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
def murmur2_x86(data, seed):
77
m = 0x5bd1e995
8+
data = [chr(d) for d in str.encode(data, "utf8")]
89
length = len(data)
910
h = seed ^ length
1011
rounded_end = (length & 0xfffffffc)

0 commit comments

Comments
 (0)