This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients serhiy.storchaka, vstinner
Date 2020-01-16.10:16:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579169780.33.0.404716481093.issue39353@roundup.psfhosted.org>
In-reply-to
Content
> I also found an answer suggesting to use binascii.a2b_hex() to decode a string the hexadecimal string "2020202020202020202020205635514d385a5856":
https://stackoverflow.com/questions/9683278/how-to-get-hard-disk-drivers-serial-number-in-python/9683837#9683837

Oh wait, it is just unrelated :-) It's a typo in the StackOverflow answer: "import binhex; binascii.a2b_hex(...)". It should be "import binascii" obviously ;-) I didn't notice at the first read. binhex has no a2b_hex() function :-)
History
Date User Action Args
2020-01-16 10:16:20vstinnersetrecipients: + vstinner, serhiy.storchaka
2020-01-16 10:16:20vstinnersetmessageid: <1579169780.33.0.404716481093.issue39353@roundup.psfhosted.org>
2020-01-16 10:16:20vstinnerlinkissue39353 messages
2020-01-16 10:16:20vstinnercreate