[issue17842] Add base64 module tests for a bytearray argument

2013-04-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Committed. Thank you for the patch. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker __

[issue17842] Add base64 module tests for a bytearray argument

2013-04-28 Thread Roundup Robot
Roundup Robot added the comment: 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 bas

[issue17842] Add base64 module tests for a bytearray argument

2013-04-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17842] Add base64 module tests for a bytearray argument

2013-04-27 Thread Kushal Das
Kushal Das added the comment: Bytearray encoding and decoding -- Added file: http://bugs.python.org/file30041/issue17842_v2.patch ___ Python tracker ___ _

[issue17842] Add base64 module tests for a bytearray argument

2013-04-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The argument should be tested, not the result. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue17842] Add base64 module tests for a bytearray argument

2013-04-26 Thread Kushal Das
Kushal Das added the comment: All the decoders create bytes as result, not sure how to assume if the result should be bytes or bytearray. -- ___ Python tracker ___ _

[issue17842] Add base64 module tests for a bytearray argument

2013-04-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Needed tests for decoders. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue17842] Add base64 module tests for a bytearray argument

2013-04-25 Thread Kushal Das
Kushal Das added the comment: Patch with bytearray based tests. -- keywords: +patch nosy: +kushaldas Added file: http://bugs.python.org/file30012/issue17842_v1.patch ___ Python tracker _

[issue17842] Add base64 module tests for a bytearray argument

2013-04-25 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: 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. -- components: Tests keywords: easy messages: