STINNER Victor added the comment: I modified my patch to address Serhiy's comments. Thanks for the your review Serhiy.
changeset: 101442:779563dd701c tag: tip user: Victor Stinner <victor.stin...@gmail.com> date: Fri May 20 11:36:13 2016 +0200 files: Python/import.c description: Cleanup import.c * Replace PyUnicode_RPartition() with PyUnicode_FindChar() and PyUnicode_Substring() to avoid the creation of a temporary tuple. * Use PyUnicode_FromFormat() to build a string and avoid the single_dot ('.') singleton Thanks Serhiy Storchaka for your review. ---------- resolution: -> fixed status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26948> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com