[New-bugs-announce] [issue28992] Use bytes.fromhex()

Serhiy Storchaka report at bugs.python.org
Fri Dec 16 15:28:42 EST 2016


New submission from Serhiy Storchaka:

Proposed patch makes the code and tests using bytes.fromhex(). The benefit of bytes.fromhex() over manual converting hexadecimals to bytes:

1. This is the one obvious way to do it.

2. This is the fastest way to do it.

----------
components: Library (Lib)
files: use_bytes_fromhex.patch
keywords: patch
messages: 283433
nosy: serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Use bytes.fromhex()
type: enhancement
versions: Python 3.7
Added file: http://bugs.python.org/file45930/use_bytes_fromhex.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28992>
_______________________________________


More information about the New-bugs-announce mailing list