90 Commits (71ea65feed9f08fa2440ae6e2aa85b41241e005c)

Author SHA1 Message Date
Guido van Rossum 4626458cc5 SF patch# 1767398 by Adam Hupp. 19 years ago
Guido van Rossum 33d2689fc9 Merged revisions 56492-56752 via svnmerge from 19 years ago
Martin v. Löwis 9f2e346911 Merged revisions 56467-56482 via svnmerge from 19 years ago
Martin v. Löwis 6819210b9e PEP 3123: Provide forward compatibility with Python 3.0, while keeping 19 years ago
Guido van Rossum bce56a6c5b Fix some miscellaneous places that incorrectly insisted on str8. 19 years ago
Guido van Rossum ddefaf31b3 Merged the int/long unification branch, by very crude means (sorry Thomas!). 20 years ago
Thomas Wouters 477c8d5e70 Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 20 years ago
Neal Norwitz c6a989ac3a Fix problems found by Coverity. 20 years ago
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 21 years ago
Thomas Wouters c6e55068ca Use Py_VISIT in all tp_traverse methods, instead of traversing manually or 21 years ago
Thomas Wouters 73536e039b Remove partial change (don't edit, commit and think at the same time :P) 21 years ago
Thomas Wouters 2742c5ed63 Re-instate backward compatibility by defining Py_CLEAR if it isn't 21 years ago
Thomas Wouters edf17d8798 Use Py_CLEAR instead of in-place DECREF/XDECREF or custom macros, for 21 years ago
Fredrik Lundh 4aaaa49bac docstring tweak 21 years ago
Neal Norwitz 227b5339ed Finish getting rid of statichere/staticforward 21 years ago
Martin v. Löwis 02cbf4ae4b More unconsting. 21 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 - 22 years ago
Andrew McNamara 5cfd83748a Improve wording of parser error message. 22 years ago
Andrew McNamara 7f2053eff3 Add counting of source iterator lines to the reader object - handy for 22 years ago
Andrew McNamara 0f0599ddc1 When quoting=QUOTE_NONNUMERIC, the reader now casts unquoted fields 22 years ago
Andrew McNamara 5d45a8dc22 Fix logic problem in quoting=csv.QUOTE_ALL, quotechar=None check, add test. 22 years ago
Andrew McNamara c89f284df8 When using QUOTE_NONNUMERIC, we now test for "numericness" with 22 years ago
Andrew McNamara 31d8896ee2 Rename csv.set_field_limit to csv.field_size_limit (since it both sets and 22 years ago
Andrew McNamara cf0fd5ab29 Add belt and braces check of PyString_AsString return. 22 years ago
Andrew McNamara e4d05c4f93 Set an upper limit on the size of the field buffer, raise an exception 22 years ago
Andrew McNamara 29bf4e44f6 Now that internal dialect type is immutable, and the dialect registry 22 years ago
Andrew McNamara 8c94b42f31 No longer attempt to instantiate python classes describing dialects. This 22 years ago
Andrew McNamara 86625972a1 Allow dialect-describing keywords to be supplied to register_dialect, 22 years ago
Andrew McNamara 91b97463cd Factor out the code for making a dialect instance. 22 years ago
Andrew McNamara dbce2618b1 Only set error string when dict lookup found no matching key (was setting 22 years ago
Andrew McNamara a8292636c6 When parsing args that return a single character, treat null string the 22 years ago
Andrew McNamara 37d2bdfa76 Where a string is desired, test for PyBaseString_Type derived type, 22 years ago
Andrew McNamara 77ead87f30 Add missing PyObject_GC_Track and PyObject_GC_UnTrack calls to csv reader and 22 years ago
Andrew McNamara 36a7691c2d Fix parsing of csv files with escapes (escape character previously would be 22 years ago
Andrew McNamara dd3e6cb213 Fix to use PEP7 brace style. 22 years ago
Andrew McNamara 1196cf185c Improved the implementation of the internal "dialect" type. The new 22 years ago
Andrew McNamara 575a00b575 Delete Reader_getiter and replace with PyObject_SelfIter. 22 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. 24 years ago
Tim Peters 38fc837fa9 Must declare vrbls at the tops of blocks in C89 (wouldn't compile). 24 years ago
Skip Montanaro 7b01a83488 use PyModule_Add{Int,String}Constant() where appropriate 24 years ago
Skip Montanaro 577c7a763d tighten up string checks 24 years ago
Skip Montanaro 860fc0b1d5 add writerows docstring 24 years ago
Skip Montanaro 98f16e0074 typo 24 years ago