[issue22597] printf-style formatting allows mixing keyed and keyless specifiers

2014-10-10 Thread Jakub Wilk
New submission from Jakub Wilk: '%(eggs)s %s' % {'eggs': 'ham'} Traceback (most recent call last): File stdin, line 1, in module TypeError: not enough arguments for format string '%s %(eggs)s' % {'eggs': 'ham'} {'eggs': 'ham'} ham I would expect a raised exception also in the latter case.

[issue22597] printf-style formatting allows mixing keyed and keyless specifiers

2014-10-10 Thread Eric V. Smith
Eric V. Smith added the comment: This is a duplicate of issue 1467929. -- nosy: +eric.smith resolution: - duplicate stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22597

[issue22597] printf-style formatting allows mixing keyed and keyless specifiers

2014-10-10 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22597 ___ ___ Python-bugs-list mailing