[issue23383] Clean up bytes formatting

2015-02-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue23383] Clean up bytes formatting

2015-02-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4883f9046b10 by Serhiy Storchaka in branch 'default': Issue #23383: Cleaned up bytes formatting. https://hg.python.org/cpython/rev/4883f9046b10 -- ___ Python tracker _

[issue23383] Clean up bytes formatting

2015-02-10 Thread Ethan Furman
Ethan Furman added the comment: As long as it works I have no objections. :) -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue23383] Clean up bytes formatting

2015-02-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your reviews and suggestions Martin and Victor. If Ethan has no objections I'll commit the patch soon. -- assignee: -> serhiy.storchaka ___ Python tracker ___

[issue23383] Clean up bytes formatting

2015-02-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file38086/bytes_format_3.patch ___ Python tracker ___ ___ Python-bugs-list

[issue23383] Clean up bytes formatting

2015-02-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Eliminated tabs. -- Added file: http://bugs.python.org/file38087/bytes_format_3.patch ___ Python tracker ___ _

[issue23383] Clean up bytes formatting

2015-02-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated patch addresses Victor's comments. -- Added file: http://bugs.python.org/file38086/bytes_format_3.patch ___ Python tracker ___ ___

[issue23383] Clean up bytes formatting

2015-02-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue23383] Clean up bytes formatting

2015-02-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks to Martin's suggestions here is even more clean patch. -- Added file: http://bugs.python.org/file38011/bytes_format_2.patch ___ Python tracker

[issue23383] Clean up bytes formatting

2015-02-03 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Proposed patch makes following changes to bytes formatting code: 1) Fixes a bug when PyUnicode_AsEncodedObject() returns non-bytes byte-like object. 2) Avoid few non-neccessary memory allocations and copyings (converting bytearray or ASCII string to bytes