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.

classification
Title: binascii.hexlify docs say it returns a string (it returns bytes)
Type: Stage: resolved
Components: Documentation Versions: Python 3.3, Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Devin Jeanpierre, docs@python, martin.panter, python-dev, r.david.murray, vajrasky
Priority: normal Keywords: patch

Created on 2013-10-26 17:18 by Devin Jeanpierre, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
fix_doc_binascii.patch vajrasky, 2013-11-02 04:26 review
Messages (4)
msg201376 - (view) Author: Devin Jeanpierre (Devin Jeanpierre) * Date: 2013-10-26 17:18
http://docs.python.org/3.4/library/binascii.html#binascii.hexlify
msg201961 - (view) Author: Vajrasky Kok (vajrasky) * Date: 2013-11-02 04:26
Attached the patch to fix the doc. I also fix the module doc because I think bytes and str data types are matter of life and death in this binascii module.
msg202046 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-11-03 18:22
New changeset 25d89a4faede by R David Murray in branch '3.3':
#19411: Clarify that b2a_hex/hexlify returns a bytes object.
http://hg.python.org/cpython/rev/25d89a4faede

New changeset ac190d03aed5 by R David Murray in branch 'default':
Merge #19411: Clarify that b2a_hex/hexlify returns a bytes object.
http://hg.python.org/cpython/rev/ac190d03aed5
msg202047 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2013-11-03 18:23
Thanks, Vajrasky.  I modified the patch slightly since I prefer the term "bytes object" to just "bytes" (I think it reads better in English).
History
Date User Action Args
2022-04-11 14:57:52adminsetgithub: 63610
2013-11-03 18:23:42r.david.murraysetstatus: open -> closed
resolution: fixed
messages: + msg202047

stage: needs patch -> resolved
2013-11-03 18:22:44python-devsetnosy: + python-dev
messages: + msg202046
2013-11-02 04:26:16vajraskysetfiles: + fix_doc_binascii.patch

nosy: + vajrasky
messages: + msg201961

keywords: + patch
2013-11-02 02:55:46martin.pantersetnosy: + martin.panter
2013-10-28 11:06:10pitrousetstage: needs patch
versions: - Python 3.1, Python 3.2
2013-10-27 16:38:54r.david.murraysetnosy: + r.david.murray
2013-10-26 17:18:30Devin Jeanpierrecreate