diff options
author | Andrew McNamara <andrewm@object-craft.com.au> | 2005-01-12 11:17:16 (GMT) |
---|---|---|
committer | Andrew McNamara <andrewm@object-craft.com.au> | 2005-01-12 11:17:16 (GMT) |
commit | 7f2053eff3ec1ee9084a3a550ae363a804368322 (patch) | |
tree | 8ae5c4d637feab5886fca99be4486653ce4a3b7d /Misc | |
parent | 0f0599ddc1ad02f392fe0be58479f34c57a80c8d (diff) | |
download | cpython-7f2053eff3ec1ee9084a3a550ae363a804368322.zip cpython-7f2053eff3ec1ee9084a3a550ae363a804368322.tar.gz cpython-7f2053eff3ec1ee9084a3a550ae363a804368322.tar.bz2 |
Add counting of source iterator lines to the reader object - handy for
user error messages (otherwise difficult to do without instrumenting
the source).
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -66,6 +66,10 @@ Library + A new module method csv.field_size_limit() has been added that sets the parser field size limit (returning the former limit). The initial limit is 128kB. + + A line_num attribute has been added to the reader object, which tracks + the number of lines read from the source iterator. This is not + the same as the number of records returned, as records can span + multiple lines. + reader and writer objects were not being registered with the cyclic-GC. This has been fixed. |