[issue3516] string formatting quirk using %.%

2008-08-07 Thread nadav
nadav <[EMAIL PROTECTED]> added the comment: The main problem with this is that the following code does not make any sense: "%(a)%" % dict(a=3) It has no semantic meaning (take the dictionary paramater a, and do nothing with it). It must be a user bug (except in very wierd cases

[issue3516] string formatting quirk using %.%

2008-08-07 Thread nadav
New submission from nadav <[EMAIL PROTECTED]>: >>> "%.%s" % () '%s' >>> "%(a).%(b)s" % dict(a=2) '%(b)s' >>> "%(a).%(b)s" % dict(a=2, b=3) '%(b)s' >>> "%(a).%(b)s" % dict() Trac