[issue42165] closed (reopen with other issue)

2020-10-27 Thread Ronald Oussoren
Change by Ronald Oussoren : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42165] closed (reopen with other issue)

2020-10-27 Thread Eric V. Smith
Eric V. Smith added the comment: To answer the question: > "can anyone explain why "pickle.loads(np.float64(0.34104))" prints "True" You can use pickletools.dis: >>> bytes(np.float64(0.34104)) b'\x88.\xa8o\x99\xd3\xd5?' >>> pickletools.dis(bytes(np.float64(0.34104))) 0: \x88 NEWTRUE

[issue42165] closed (reopen with other issue)

2020-10-27 Thread hyoxt121
Change by hyoxt121 : -- title: Question about converting numpy float to bytes (bug??) -> closed (reopen with other issue) ___ Python tracker ___