[issue26057] Avoid nonneeded use of PyUnicode_FromObject()

2016-04-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 19dec08e54a8 by Serhiy Storchaka in branch 'default': Issues #26716, #26057: Regenerate Argument Clinic code. https://hg.python.org/cpython/rev/19dec08e54a8 -- ___ Python tracker

[issue26057] Avoid nonneeded use of PyUnicode_FromObject()

2016-04-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your review Martin. -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue26057] Avoid nonneeded use of PyUnicode_FromObject()

2016-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3f3b3d4881f6 by Serhiy Storchaka in branch 'default': Issue #26057: Got rid of nonneeded use of PyUnicode_FromObject(). https://hg.python.org/cpython/rev/3f3b3d4881f6 -- nosy: +python-dev ___ Python track

[issue26057] Avoid nonneeded use of PyUnicode_FromObject()

2016-04-13 Thread Martin Panter
Martin Panter added the comment: Apart from one redundancy (see review), this looks good to me. -- ___ Python tracker ___ ___ Python-b

[issue26057] Avoid nonneeded use of PyUnicode_FromObject()

2016-04-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated patch addresses Martin's comments. -- Added file: http://bugs.python.org/file42421/no_unicode_copy_2.patch ___ Python tracker ___

[issue26057] Avoid nonneeded use of PyUnicode_FromObject()

2016-04-09 Thread Martin Panter
Martin Panter added the comment: Left some comments -- nosy: +martin.panter ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue26057] Avoid nonneeded use of PyUnicode_FromObject()

2016-01-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue15984 about correcting the documentation of PyUnicode_FromObject(). -- ___ Python tracker ___ _

[issue26057] Avoid nonneeded use of PyUnicode_FromObject()

2016-01-09 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: In Python 2 PyUnicode_FromObject() was used for coercing 8-bit strings to unicode by decoding them with the default encoding. But in Python 3 there is no such coercing. The effect of PyUnicode_FromObject() in Python 3 is ensuring that the argument is a str