File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ cdef extern from "Python_wrapper.h":
114114 cdef void Py_XDECREF(PyObject * o)
115115
116116 # it's actually an unsigned long, but we want to avoid truncation on windows
117- cdef uint64_t PyThread_get_thread_ident()
117+ cdef unsigned long long PyThread_get_thread_ident()
118118 cdef Py_hash_t hash_bytecode(PyObject * bytestring, const char * bytes,
119119 Py_ssize_t len )
120120
@@ -1442,10 +1442,10 @@ cdef inline inner_trace_callback(
14421442 for i in range (size):
14431443 if data[i]:
14441444 # block_hash = hash_bytecode(<PyObject *>py_bytes_obj, data, size)
1445- block_hash = PyObject_Hash (py_bytes_obj)
1445+ block_hash = hash (py_bytes_obj)
14461446 break
14471447 else : # fallback for Cython functions
1448- block_hash = PyObject_Hash (code)
1448+ block_hash = hash (code)
14491449
14501450 code_hash = compute_line_hash(block_hash, lineno)
14511451
You can’t perform that action at this time.
0 commit comments