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 rhettinger
Recipients Kevin.Norris, rhettinger, vstinner
Date 2014-06-24.20:18:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1403641128.75.0.0991462061648.issue21832@psf.upfronthosting.co.za>
In-reply-to
Content
ISTM that in order to run you code, a person already has to have the ability to run arbitrary code.

The purpose of the existing checks was to support the use-case where the field names are taken from the header line of CSV files.

I would be happy to add a test for exact string inputs but will not throw-out the current design which has a number of advantages including the ability to keep just the generated code and throw-away the factory function itself.
History
Date User Action Args
2014-06-24 20:18:48rhettingersetrecipients: + rhettinger, vstinner, Kevin.Norris
2014-06-24 20:18:48rhettingersetmessageid: <1403641128.75.0.0991462061648.issue21832@psf.upfronthosting.co.za>
2014-06-24 20:18:48rhettingerlinkissue21832 messages
2014-06-24 20:18:48rhettingercreate