Skip to content

Commit

Permalink
Merge pull request #801 from eastonsuo/master
Browse files Browse the repository at this point in the history
fix #800 the temp file name generated by murmur2 in python and ts is not same
  • Loading branch information
blink1073 authored Nov 17, 2021
2 parents b74ab37 + fdde382 commit a88e7d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ipykernel/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

def murmur2_x86(data, seed):
m = 0x5bd1e995
data = [chr(d) for d in str.encode(data, "utf8")]
length = len(data)
h = seed ^ length
rounded_end = (length & 0xfffffffc)
Expand Down

0 comments on commit a88e7d9

Please sign in to comment.