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.
Created on 2013年04月25日 10:50 by serhiy.storchaka, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| issue17842_v1.patch | kushal.das, 2013年04月25日 11:29 | Tests containing bytearrary data | review | |
| issue17842_v2.patch | kushal.das, 2013年04月28日 05:46 | Tests with both encode and decode examples | review | |
| Messages (8) | |||
|---|---|---|---|
| msg187771 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2013年04月25日 10:50 | |
Most base64 functions accepts str, bytes or bytearray. Lib/tests/test_base64.py tests only bytes (and sometimes str) arguments. At least one test case with bytearray argument needed for every function. |
|||
| msg187775 - (view) | Author: Kushal Das (kushal.das) * (Python committer) | Date: 2013年04月25日 11:29 | |
Patch with bytearray based tests. |
|||
| msg187859 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2013年04月26日 14:40 | |
Needed tests for decoders. |
|||
| msg187868 - (view) | Author: Kushal Das (kushal.das) * (Python committer) | Date: 2013年04月26日 18:45 | |
All the decoders create bytes as result, not sure how to assume if the result should be bytes or bytearray. |
|||
| msg187873 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2013年04月26日 20:24 | |
The argument should be tested, not the result. |
|||
| msg187963 - (view) | Author: Kushal Das (kushal.das) * (Python committer) | Date: 2013年04月28日 05:46 | |
Bytearray encoding and decoding |
|||
| msg187977 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年04月28日 12:58 | |
New changeset 6e57d097ae56 by Serhiy Storchaka in branch '2.7': Issue #17842. Added base64 module tests with bytearray arguments. http://hg.python.org/cpython/rev/6e57d097ae56 New changeset 44edbea21640 by Serhiy Storchaka in branch '3.3': Issue #17842. Added base64 module tests with bytearray arguments. http://hg.python.org/cpython/rev/44edbea21640 New changeset f7f6c2ea4b14 by Serhiy Storchaka in branch 'default': Issue #17842. Added base64 module tests with bytearray arguments. http://hg.python.org/cpython/rev/f7f6c2ea4b14 |
|||
| msg187985 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2013年04月28日 15:09 | |
Committed. Thank you for the patch. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:44 | admin | set | github: 62042 |
| 2013年04月28日 15:09:49 | serhiy.storchaka | set | status: open -> closed resolution: fixed messages: + msg187985 stage: needs patch -> resolved |
| 2013年04月28日 12:58:36 | python-dev | set | nosy:
+ python-dev messages: + msg187977 |
| 2013年04月28日 11:19:14 | serhiy.storchaka | set | assignee: serhiy.storchaka |
| 2013年04月28日 05:46:09 | kushal.das | set | files:
+ issue17842_v2.patch messages: + msg187963 |
| 2013年04月26日 20:24:23 | serhiy.storchaka | set | messages: + msg187873 |
| 2013年04月26日 18:45:35 | kushal.das | set | messages: + msg187868 |
| 2013年04月26日 14:40:48 | serhiy.storchaka | set | messages: + msg187859 |
| 2013年04月25日 11:29:31 | kushal.das | set | files:
+ issue17842_v1.patch nosy: + kushal.das messages: + msg187775 keywords: + patch |
| 2013年04月25日 10:51:23 | serhiy.storchaka | link | issue17839 dependencies |
| 2013年04月25日 10:50:14 | serhiy.storchaka | create | |