53 Commits (9b5952d7cd64712dd68aebd577ce9cb0a67ca76c)

Author SHA1 Message Date
Raymond Hettinger f537702732 Issue #13573: The csv.writer now uses the repr() for floats rather than str(). 14 years ago
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 16 years ago
Gregory P. Smith 9d53457e59 Merge in release25-maint r60793: 18 years ago
Gregory P. Smith dd96db63f6 This reverts r63675 based on the discussion in this thread: 18 years ago
Christian Heimes 593daf545b Renamed PyString to PyBytes 18 years ago
Martin v. Löwis 73c01d4101 Added checks for integer overflows, contributed by Google. Some are 18 years ago
Christian Heimes e93237dfcc #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 19 years ago
Martin v. Löwis 6819210b9e PEP 3123: Provide forward compatibility with Python 3.0, while keeping 19 years ago
Neal Norwitz c6a989ac3a Fix problems found by Coverity. 20 years ago
Thomas Wouters c6e55068ca Use Py_VISIT in all tp_traverse methods, instead of traversing manually or 20 years ago
Thomas Wouters 73536e039b Remove partial change (don't edit, commit and think at the same time :P) 20 years ago
Thomas Wouters 2742c5ed63 Re-instate backward compatibility by defining Py_CLEAR if it isn't 20 years ago
Thomas Wouters edf17d8798 Use Py_CLEAR instead of in-place DECREF/XDECREF or custom macros, for 20 years ago
Fredrik Lundh 4aaaa49bac docstring tweak 20 years ago
Martin v. Löwis 02cbf4ae4b More unconsting. 20 years ago
Jeremy Hylton af68c874a6 Add const to several API functions that take char *. 21 years ago
Skip Montanaro 32c5d424fd Michael Hudson pointed out that the Dialect_Type object isn't INCREF'd. Why 21 years ago
Skip Montanaro d60fbd469e Leak fix from Michael Hudson. Fix memory leak when dialect doesn't 21 years ago
Andrew McNamara f69d94f6c0 Moved reader \r and \n processing from the iterator to the state machine - 21 years ago
Andrew McNamara 5cfd83748a Improve wording of parser error message. 21 years ago
Andrew McNamara 7f2053eff3 Add counting of source iterator lines to the reader object - handy for 21 years ago
Andrew McNamara 0f0599ddc1 When quoting=QUOTE_NONNUMERIC, the reader now casts unquoted fields 21 years ago
Andrew McNamara 5d45a8dc22 Fix logic problem in quoting=csv.QUOTE_ALL, quotechar=None check, add test. 21 years ago
Andrew McNamara c89f284df8 When using QUOTE_NONNUMERIC, we now test for "numericness" with 21 years ago
Andrew McNamara 31d8896ee2 Rename csv.set_field_limit to csv.field_size_limit (since it both sets and 21 years ago
Andrew McNamara cf0fd5ab29 Add belt and braces check of PyString_AsString return. 21 years ago
Andrew McNamara e4d05c4f93 Set an upper limit on the size of the field buffer, raise an exception 21 years ago
Andrew McNamara 29bf4e44f6 Now that internal dialect type is immutable, and the dialect registry 21 years ago
Andrew McNamara 8c94b42f31 No longer attempt to instantiate python classes describing dialects. This 21 years ago
Andrew McNamara 86625972a1 Allow dialect-describing keywords to be supplied to register_dialect, 21 years ago
Andrew McNamara 91b97463cd Factor out the code for making a dialect instance. 21 years ago
Andrew McNamara dbce2618b1 Only set error string when dict lookup found no matching key (was setting 21 years ago
Andrew McNamara a8292636c6 When parsing args that return a single character, treat null string the 21 years ago
Andrew McNamara 37d2bdfa76 Where a string is desired, test for PyBaseString_Type derived type, 21 years ago
Andrew McNamara 77ead87f30 Add missing PyObject_GC_Track and PyObject_GC_UnTrack calls to csv reader and 21 years ago
Andrew McNamara 36a7691c2d Fix parsing of csv files with escapes (escape character previously would be 21 years ago
Andrew McNamara dd3e6cb213 Fix to use PEP7 brace style. 21 years ago
Andrew McNamara 1196cf185c Improved the implementation of the internal "dialect" type. The new 21 years ago
Andrew McNamara 575a00b575 Delete Reader_getiter and replace with PyObject_SelfIter. 21 years ago
Johannes Gijsbers 8d3b9dd09c Quote \r\n correctly, remove random indentation (patch #1009384). Thanks 22 years ago
Raymond Hettinger 1761a7cc8b Use PyArg_UnpackTuple() where possible. 22 years ago
Skip Montanaro 148eb6a6b6 doc nit 23 years ago
Andrew McNamara dcfb38c21b Fix potential leaks identified by Neal Norwitz. 23 years ago
Jeremy Hylton 42a8aedb29 Make readers and writers participate in garbage collection. 23 years ago
Tim Peters 38fc837fa9 Must declare vrbls at the tops of blocks in C89 (wouldn't compile). 23 years ago
Skip Montanaro 7b01a83488 use PyModule_Add{Int,String}Constant() where appropriate 23 years ago
Skip Montanaro 577c7a763d tighten up string checks 23 years ago
Skip Montanaro 860fc0b1d5 add writerows docstring 23 years ago
Skip Montanaro 98f16e0074 typo 23 years ago