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 pitrou
Recipients ResulCetin, ajaksu2, amaury.forgeotdarc, craigh, dato, jhylton, pitrou, trodgers
Date 2009-02-08.15:58:59
SpamBayes Score 2.3027724e-05
Marked as misclassified No
Message-id <1234108741.24.0.997585099817.issue4631@psf.upfronthosting.co.za>
In-reply-to
Content
On the principle, the test looks good.
If you want to avoid the 'if "%" in value' hack, you can use the
named-parameter form of string formatting:

>>> "localhost:%(port)s" % dict(port=8080)
'localhost:8080'
>>> "localhost" % dict(port=8080)
'localhost'
History
Date User Action Args
2009-02-08 15:59:01pitrousetrecipients: + pitrou, jhylton, amaury.forgeotdarc, ajaksu2, craigh, dato, ResulCetin, trodgers
2009-02-08 15:59:01pitrousetmessageid: <1234108741.24.0.997585099817.issue4631@psf.upfronthosting.co.za>
2009-02-08 15:58:59pitroulinkissue4631 messages
2009-02-08 15:58:59pitroucreate