Message180885
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:04 | nnorwitz | set | recipients:
+ nnorwitz |
2013-01-28 22:19:04 | nnorwitz | set | messageid: <1359411544.64.0.96683095685.issue17068@psf.upfronthosting.co.za> |
2013-01-28 22:19:04 | nnorwitz | link | issue17068 messages |
2013-01-28 22:19:04 | nnorwitz | create | |
|