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 nnorwitz
Recipients nnorwitz
Date 2013-01-28.22:19:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I was looking through code like this:

  foo = '%s%s%s' % ('https://', host, uri)

and realized this could be rewritten by the interpreter as:

  foo = 'https://%s%s' % (host, uri)

I tried to determine how much code this might affect, but it was pretty hard for me to come up with a decent regex to filter out all the false positives.  There were too many hits to determine if this would be used often.
Date User Action Args
2013-01-28 22:19:04nnorwitzsetrecipients: + nnorwitz
2013-01-28 22:19:04nnorwitzsetmessageid: <>
2013-01-28 22:19:04nnorwitzlinkissue17068 messages
2013-01-28 22:19:04nnorwitzcreate