﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
22570	Form.__getitem__ KeyError should be more descriptive	Ben Davis	nobody	"When you try to access a nonexistent key on a Form, it raises this exception:

{{{
#!python
raise KeyError('Key %r not found in Form' % name)
}}}

This is vague in situations where you have multiple forms. You have to do a more digging to find out which form it is. It should be:

{{{
#!python
raise KeyError(""Key %r not found in '%s'"" % (name, self.__class__.__name__))
}}}"	Cleanup/optimization	closed	Forms	dev	Normal	fixed			Accepted	1	0	0	1	0	0
