New submission from Devin Jeanpierre:

Maybe the functions should be split up into those you shouldn't need to call 
directly, and those you should? I find it unlikely that you're supposed to use 
codecs.encode(..., 'hex') and codecs.decode(..., 'hex') instead of binascii 
(the only other thing, AFAIK, that works in both 2 and 3).

Relevant quote starts with: "Normally, you will not use these functions 
directly"

https://docs.python.org/2/library/binascii
https://docs.python.org/3/library/binascii

----------
assignee: docs@python
components: Documentation
messages: 242737
nosy: Devin Jeanpierre, docs@python
priority: normal
severity: normal
status: open
title: Docs discourage use of binascii.unhexlify etc.
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24144>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to