Issue 16682: Document that audioop works with bytes, not strings
Issue16682
Created on 2012-12-14 17:27 by serhiy.storchaka, last changed 2022-04-11 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| audioop_docs_bytes.patch | serhiy.storchaka, 2012-12-14 17:28 | review | ||
| Messages (3) | |||
|---|---|---|---|
| msg177474 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * ![]() |
Date: 2012-12-14 17:27 | |
The audioop module documentation says that functions works with Python strings. This was right in 2.x, but in 3.x here should be bytes objects (actually the functions accept strings too, but this is an implementation detail, meaningless in general). |
|||
| msg177906 - (view) | Author: Terry J. Reedy (terry.reedy) * ![]() |
Date: 2012-12-21 22:59 | |
Patch looks good to me, all three occurrences of 'string' are fixed. |
|||
| msg178309 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2012-12-27 18:51 | |
New changeset cd2b4074a2d9 by Serhiy Storchaka in branch '3.2': Issue #16682: Replace "Python string" to "bytes object" in audioop documentation. http://hg.python.org/cpython/rev/cd2b4074a2d9 New changeset e8248e597060 by Serhiy Storchaka in branch '3.3': Issue #16682: Replace "Python string" to "bytes object" in audioop documentation. http://hg.python.org/cpython/rev/e8248e597060 New changeset f68aeab64356 by Serhiy Storchaka in branch 'default': Issue #16682: Replace "Python string" to "bytes object" in audioop documentation. http://hg.python.org/cpython/rev/f68aeab64356 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:57:39 | admin | set | github: 60886 |
| 2012-12-27 18:54:15 | serhiy.storchaka | set | status: open -> closed resolution: fixed stage: commit review -> resolved |
| 2012-12-27 18:51:01 | python-dev | set | nosy:
+ python-dev messages: + msg178309 |
| 2012-12-27 17:27:27 | serhiy.storchaka | set | assignee: docs@python -> serhiy.storchaka |
| 2012-12-21 22:59:13 | terry.reedy | set | nosy:
+ terry.reedy messages:
+ msg177906 |
| 2012-12-14 21:51:59 | serhiy.storchaka | link | issue16685 dependencies |
| 2012-12-14 17:28:25 | serhiy.storchaka | set | files:
+ audioop_docs_bytes.patch keywords: + patch |
| 2012-12-14 17:27:44 | serhiy.storchaka | create | |

