commit | 39a55920018ef19cc01b53063a2f090fe05d4982 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Thu Jun 12 03:01:55 2003 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Thu Jun 12 03:01:55 2003 +0000 |
tree | 675c2a6abb335aaf42e6bd368a877dfed05459b0 | |
parent | 1546bc43feb5f0ccb09710342ac3267fcf8cf55d [diff] |
SF Patch #744104: Remove eval() from csv Eliminates the eval() step in the csv module resulting in better security, more clarity, and a little speed. The idea is to make successive attempts to coerce the string to a python type: int(s), long(s), float(s), etc. As a by-product, eliminates a bare 'except' statement.