Implementation of named arguments bind is non-pythonic

Description

It should NOT return an error when there are extra named arguments.

It should be implemented like 'format', i.e. from the manual for format:

Accessing arguments by name:

>>> 'Coordinates: {latitude}, {longitude}'.format(latitude='37.24N', longitude='-115.81W')
'Coordinates: 37.24N, -115.81W'
>>> coord = {'latitude': '37.24N', 'longitude': '-115.81W'}
>>> 'Coordinates: {latitude}, {longitude}'.format(**coord)
'Coordinates: 37.24N, -115.81W'

Environment

Mac OS X

Pull Requests

None

Activity

Show:
Adam Holmberg
October 15, 2015, 8:32 PM
Michael Penick
October 20, 2015, 5:12 PM
Edited

There could be an unnecessary check left over. Comment on PR. <-- ignore this.

+1 code review

Greg Bestland
October 22, 2015, 3:47 PM

Regression on this looks fine. New unittests gives more then adequate coverage.

Assignee

Unassigned

Reporter

Michael Laing

Fix versions

Reproduced in

None

PM Priority

A

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Pull Request

None

Sprint

Affects versions

Priority

Minor
Configure