summaryrefslogtreecommitdiffstats
path: root/Doc/library/binascii.rst
Commit message (Collapse)AuthorAgeFilesLines
* [3.13] docs: module page titles should not start with a link to themselves ↵Miss Islington (bot)2024-05-081-2/+2
| | | | | | | | (GH-117099) (#118790) docs: module page titles should not start with a link to themselves (GH-117099) (cherry picked from commit bcb435ee8ff41b5ec5d879ee0b6651f146a66151) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* gh-110631: Fix reST indentation in `Doc/library` (#110685)Ezio Melotti2023-10-111-4/+5
| | | Fix wrong indentation in the Doc/library dir.
* gh-104773: PEP 594: Remove the uu module (#104932)Victor Stinner2023-05-251-5/+1
| | | | Doc/license.rst: Keep the UUencode and UUdecode license since it's also used by the uu codec.
* GH-97950: Use new-style index directive ('module') (#103996)Adam Turner2023-05-041-2/+2
| | | | | | | | | | | | | | | | | * Use new-style index directive ('module') - C API * Use new-style index directive ('module') - Library * Use new-style index directive ('module') - Reference * Use new-style index directive ('module') - Tutorial * Uncomment module removal in pairindextypes * Use new-style index directive ('module') - C API * Use new-style index directive ('module') - Library * Use new-style index directive ('module') - Reference
* binascii docs: strict_mode parameter is keyword-only (#93055)Jelle Zijlstra2022-05-231-1/+1
| | | | | See https://github.com/python/cpython/commit/35b98e38b6edd63153fc8e092f94cb20725dacc1 Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* gh-92417: `zlib` docs, `binascii` docs: remove Python 2 compatibility notes ↵Alex Waygood2022-05-101-2/+0
| | | | (GH-92543)
* bpo-47040: improve document of checksum functions (gh-31955)Ma Lin2022-03-191-4/+3
| | | | | | | Clarifies a versionchanged note on crc32 & adler32 docs that the workaround is only needed for Python 2 and earlier. Also cleans up an unnecessary intermediate variable in the implementation. Authored-By: Ma Lin / animalize Co-authored-by: Gregory P. Smith <greg@krypto.org>
* bpo-45085: Remove the binhex module (GH-28117)Victor Stinner2021-09-021-45/+2
| | | | | | | | | | The binhex module, deprecated in Python 3.9, is now removed. The following binascii functions, deprecated in Python 3.9, are now also removed: * a2b_hqx(), b2a_hqx(); * rlecode_hqx(), rledecode_hqx(). The binascii.crc_hqx() function remains available.
* bpo-43086: Add handling for out-of-spec data in a2b_base64 (GH-24402)Idan Moral2021-07-191-1/+13
| | | | | | | binascii.a2b_base64 gains a strict_mode= parameter. When enabled it will raise an error on input that deviates from the base64 spec in any way. The default remains False for backward compatibility. Code reviews and minor tweaks by: Gregory P. Smith <greg@krypto.org> [Google]
* bpo-39353: binascii.crc_hqx() is no longer deprecated (GH-18276)Victor Stinner2020-01-301-2/+0
| | | The binascii.crc_hqx() function is no longer deprecated.
* bpo-39353: Deprecate the binhex module (GH-18025)Victor Stinner2020-01-221-0/+10
| | | | | | | | Deprecate binhex4 and hexbin4 standards. Deprecate the binhex module and the following binascii functions: * b2a_hqx(), a2b_hqx() * rlecode_hqx(), rledecode_hqx() * crc_hqx()
* bpo-22385: Support output separators in hex methods. (#13578)Gregory P. Smith2019-05-291-2/+20
| | | | | | | | | | | | | | | | | | * bpo-22385: Support output separators in hex methods. Also in binascii.hexlify aka b2a_hex. The underlying implementation behind all hex generation in CPython uses the same pystrhex.c implementation. This adds support to bytes, bytearray, and memoryview objects. The binascii module functions exist rather than being slated for deprecation because they return bytes rather than requiring an intermediate step through a str object. This change was inspired by MicroPython which supports sep in its binascii implementation (and does not yet support the .hex methods). https://bugs.python.org/issue22385
* Redo PR 785 -- Add cross reference links (GH-11319)Raymond Hettinger2018-12-261-0/+5
|
* bpo-33641: Convert RFC references into links. (GH-7103)Serhiy Storchaka2018-05-311-1/+1
| | | | 85% of them are already links.
* bpo-30103: Allow Uuencode in Python using backtick as zero instead of space ↵Xiang Zhang2017-05-031-3/+6
| | | | | | (#1326)
* Issue #29004: Merge crc_hqx() doc from 3.5Martin Panter2016-12-241-2/+4
|\
| * Issue #29004: Document binascii.crc_hqx() implements CRC-CCITTMartin Panter2016-12-241-2/+4
| |
* | Merge Issue #22558.Terry Jan Reedy2016-06-111-1/+2
|\ \ | |/
| * Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-1/+2
| | | | | | | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* | Issue #27124: Merge binascii doc from 3.5Martin Panter2016-05-291-2/+2
|\ \ | |/
| * Issue #27124: Fix documentation of exception raised by a2b_hex()Martin Panter2016-05-291-2/+2
| |
* | Issue #27036: Fixed formatting references to "bytes-like object" in plural.Serhiy Storchaka2016-05-181-1/+1
|\ \ | |/
| * Issue #27036: Fixed formatting references to "bytes-like object" in plural.Serhiy Storchaka2016-05-181-1/+1
| |
* | Merge: #25495: Clarify b2a_base64 documentation vis 57 bytes.R David Murray2015-12-131-4/+3
|\ \ | |/ | | | | | | | | In 3.6 the parameter to control the appending of the newline was finally added, so I dropped the historical note about why a new line was always appended.
| * Merge: #25495: Clarify b2a_base64 documentation vis 57 bytes.R David Murray2015-12-131-3/+6
| |\
| | * #25495: Clarify b2a_base64 documentation vis 57 bytes.R David Murray2015-12-131-3/+6
| | |
* | | Issue #22341: Merge CRC doc from 3.5Martin Panter2015-12-111-12/+11
|\ \ \ | |/ /
| * | Issue #22341: Drop Python 2 workaround and document CRC initial valueMartin Panter2015-12-111-12/+11
| |/ | | | | | | Also align the parameter naming in binascii to be consistent with zlib.
* | Issue #25357: Add an optional newline paramer to binascii.b2a_base64().Victor Stinner2015-10-111-3/+8
|/ | | | base64.b64encode() uses it to avoid a memory copy.
* Issue #23738: Document and test actual keyword parameter namesMartin Panter2015-09-091-1/+1
| | | | Also fix signature because os.utime(..., ns=None) is not allowed.
* Issue #13637: Remove outdated versionchanged directives.Berker Peksag2015-02-141-6/+0
| | | | Patch by Martin Panter.
* #19411: Clarify that b2a_hex/hexlify returns a bytes object.R David Murray2013-11-031-1/+1
| | | | Initial patch by Vajrasky Kok.
* #16518: use "bytes-like object" throughout the docs.Ezio Melotti2013-05-041-2/+3
|
* Issue #13637: "a2b" functions in the binascii module now accept ASCII-only ↵Antoine Pitrou2011-12-201-2/+7
| | | | unicode strings.
* Consistency check for versionadded/changed directives.Georg Brandl2010-08-171-3/+3
|
* Issue #4770: Restrict binascii module to accept only bytes (as specified).Florent Xicluna2010-07-271-1/+14
| | | | And fix the email package to encode to ASCII instead of ``raw-unicode-escape`` before ASCII-to-binary decoding.
* Assorted doc fixes by Florent.Georg Brandl2010-01-051-4/+4
|
* Remove surplus empty lines and convert more files to new optional arg style.Georg Brandl2009-05-171-1/+0
|
* 2.7 -> 3.1 versionchanges.Georg Brandl2009-05-051-4/+0
|
* First batch of signature documentation changes; using default argument ↵Georg Brandl2009-04-021-2/+2
| | | | syntax where applicable.
* documentation wording fix for issue4903Gregory P. Smith2009-02-011-2/+2
|
* Merged revisions ↵Benjamin Peterson2009-01-161-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 68450,68480-68481,68493,68495,68501,68512,68514-68515,68534-68536,68552,68563,68570-68572,68575,68582,68596,68623-68624,68628 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r68450 | jeffrey.yasskin | 2009-01-09 10:47:07 -0600 (Fri, 09 Jan 2009) | 3 lines Fix issue 4884, preventing a crash in the socket code when python is compiled with llvm-gcc and run with a glibc <2.10. ........ r68480 | vinay.sajip | 2009-01-10 07:38:04 -0600 (Sat, 10 Jan 2009) | 1 line Minor documentation changes cross-referencing NullHandler to the documentation on configuring logging in a library. ........ r68481 | vinay.sajip | 2009-01-10 07:42:04 -0600 (Sat, 10 Jan 2009) | 1 line Corrected an incorrect self-reference. ........ r68493 | benjamin.peterson | 2009-01-10 11:18:55 -0600 (Sat, 10 Jan 2009) | 1 line rewrite verbose conditionals ........ r68495 | benjamin.peterson | 2009-01-10 11:36:44 -0600 (Sat, 10 Jan 2009) | 1 line tp_iter only exists with Py_TPFLAGS_HAVE_ITER #4901 ........ r68501 | vinay.sajip | 2009-01-10 13:22:57 -0600 (Sat, 10 Jan 2009) | 1 line Corrected minor typo and added .currentmodule directives to fix missing cross-references. ........ r68512 | benjamin.peterson | 2009-01-10 16:42:10 -0600 (Sat, 10 Jan 2009) | 1 line make tests fail if they can't be imported ........ r68514 | benjamin.peterson | 2009-01-10 17:41:59 -0600 (Sat, 10 Jan 2009) | 1 line move seealso to a more appropiate place ........ r68515 | benjamin.peterson | 2009-01-10 17:49:08 -0600 (Sat, 10 Jan 2009) | 1 line macos 9 isn't supported ........ r68534 | gregory.p.smith | 2009-01-11 11:53:33 -0600 (Sun, 11 Jan 2009) | 2 lines correct email address ........ r68535 | gregory.p.smith | 2009-01-11 11:57:54 -0600 (Sun, 11 Jan 2009) | 9 lines Update the documentation for binascii and zlib crc32/adler32 functions to better describe the signed vs unsigned return value behavior on different platforms and versions of python. Mention the workaround to make them all return the same thing by using & 0xffffffff. Fixes issue4903. Also needs to be merged into release26-maint, release30-maint, & py3k. ........ r68536 | benjamin.peterson | 2009-01-11 13:48:15 -0600 (Sun, 11 Jan 2009) | 1 line add email addresses ........ r68552 | vinay.sajip | 2009-01-12 14:36:18 -0600 (Mon, 12 Jan 2009) | 1 line Minor changes/corrections in markup. ........ r68563 | benjamin.peterson | 2009-01-12 19:49:10 -0600 (Mon, 12 Jan 2009) | 1 line small logic correction ........ r68570 | raymond.hettinger | 2009-01-13 03:08:32 -0600 (Tue, 13 Jan 2009) | 5 lines Issue 4922: Incorrect comments for MutableSet.add() and MutableSet.discard(). Needs to be backported to 2.6 and forward ported to 3.0 and 3.1. ........ r68571 | armin.ronacher | 2009-01-13 05:52:23 -0600 (Tue, 13 Jan 2009) | 3 lines ast.literal_eval can properly evaluate complex numbers now. This fixes issue4907. ........ r68572 | andrew.kuchling | 2009-01-13 07:40:54 -0600 (Tue, 13 Jan 2009) | 1 line Note that first coord. is left alone ........ r68575 | thomas.heller | 2009-01-13 11:32:28 -0600 (Tue, 13 Jan 2009) | 1 line Fix refcount leak in error cases. Bug found by coverity. ........ r68582 | georg.brandl | 2009-01-13 16:14:01 -0600 (Tue, 13 Jan 2009) | 2 lines Use assertRaises. ........ r68596 | amaury.forgeotdarc | 2009-01-13 17:39:22 -0600 (Tue, 13 Jan 2009) | 3 lines #1162154: inspect.getmembers() now skips attributes that raise AttributeError, e.g. a __slots__ attribute which has not been set. ........ r68623 | vinay.sajip | 2009-01-15 16:48:13 -0600 (Thu, 15 Jan 2009) | 1 line Made minor changes/corrections in markup. Added a couple of section headings. ........ r68624 | vinay.sajip | 2009-01-15 17:04:47 -0600 (Thu, 15 Jan 2009) | 1 line Minor changes/corrections in markup. ........ r68628 | benjamin.peterson | 2009-01-15 20:55:24 -0600 (Thu, 15 Jan 2009) | 1 line compare with == not is #4946 ........
* Convert all print statements in the docs.Georg Brandl2007-09-041-2/+2
|
* Move the 3k reST doc tree in place.Georg Brandl2007-08-151-0/+161