Commit d3b277ea authored by Stefan Behnel's avatar Stefan Behnel

Make error message more readable by using hex integer values for all presented...

Make error message more readable by using hex integer values for all presented checksums, not just the compile time ones.
parent 5fc919e3
...@@ -1728,7 +1728,7 @@ if VALUE is not None: ...@@ -1728,7 +1728,7 @@ if VALUE is not None:
cdef object __pyx_result cdef object __pyx_result
if __pyx_checksum not in %(checksums)s: if __pyx_checksum not in %(checksums)s:
from pickle import PickleError as __pyx_PickleError from pickle import PickleError as __pyx_PickleError
raise __pyx_PickleError("Incompatible checksums (%%s vs %(checksums)s = (%(members)s))" %% __pyx_checksum) raise __pyx_PickleError("Incompatible checksums (0x%%x vs %(checksums)s = (%(members)s))" %% __pyx_checksum)
__pyx_result = %(class_name)s.__new__(__pyx_type) __pyx_result = %(class_name)s.__new__(__pyx_type)
if __pyx_state is not None: if __pyx_state is not None:
%(unpickle_func_name)s__set_state(<%(class_name)s> __pyx_result, __pyx_state) %(unpickle_func_name)s__set_state(<%(class_name)s> __pyx_result, __pyx_state)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment