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.

Author vstinner
Recipients brett.cannon, eric.snow, ncoghlan, serhiy.storchaka, vstinner
Date 2016-05-20.09:38:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1463737093.61.0.25399551603.issue26948@psf.upfronthosting.co.za>
In-reply-to
Content
I modified my patch to address Serhiy's comments. Thanks for the your review Serhiy.

changeset:   101442:779563dd701c
tag:         tip
user:        Victor Stinner <victor.stinner@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.
History
Date User Action Args
2016-05-20 09:38:13vstinnersetrecipients: + vstinner, brett.cannon, ncoghlan, eric.snow, serhiy.storchaka
2016-05-20 09:38:13vstinnersetmessageid: <1463737093.61.0.25399551603.issue26948@psf.upfronthosting.co.za>
2016-05-20 09:38:13vstinnerlinkissue26948 messages
2016-05-20 09:38:13vstinnercreate