This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hughdbrown
Recipients Mariatta, hughdbrown, mtraskin, peter.otten, serhiy.storchaka, terry.reedy
Date 2016-10-21.03:27:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1477020443.25.0.775592330154.issue18219@psf.upfronthosting.co.za>
In-reply-to
Content
Fabulous. Looks great. Let's ship!

It is not the *optimal* fix for 3.x platforms. A better fix would calculate the set of fieldnames only once in __init__ (or only as often as fieldnames is changed).

But I stress that it is a robust change that works in versions 2.7 through 3.x for sure. And it is *way* better than the alternative of searching a list.
History
Date User Action Args
2016-10-21 03:27:23hughdbrownsetrecipients: + hughdbrown, terry.reedy, peter.otten, serhiy.storchaka, mtraskin, Mariatta
2016-10-21 03:27:23hughdbrownsetmessageid: <1477020443.25.0.775592330154.issue18219@psf.upfronthosting.co.za>
2016-10-21 03:27:23hughdbrownlinkissue18219 messages
2016-10-21 03:27:22hughdbrowncreate