The current implementation seems to be not raising a TypError if an unknown keyword arguments is passed in the request. And also, it will raise a NameError, if not kwarg is passed, since the unknown_kwarg is being again used while handling the StopIteration exception.
The current implementation seems to be not raising a
TypError
if an unknown keyword arguments is passed in the request. And also, it will raise aNameError
, if not kwarg is passed, since theunknown_kwarg
is being again used while handling theStopIteration
exception.