summaryrefslogtreecommitdiff
path: root/Modules/_csv.c
AgeCommit message (Expand)AuthorLines
2008-06-11Merge in release25-maint r60793:Gregory P. Smith-0/+10
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-14/+14
2008-05-26Renamed PyString to PyBytesChristian Heimes-14/+14
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFC...Christian Heimes-2/+2
2007-07-21PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis-8/+5
2006-05-10Fix problems found by Coverity.Neal Norwitz-0/+2
2006-04-15Use Py_VISIT in all tp_traverse methods, instead of traversing manually orThomas Wouters-20/+15
2006-04-15Remove partial change (don't edit, commit and think at the same time :P)Thomas Wouters-1/+0
2006-04-15Re-instate backward compatibility by defining Py_CLEAR if it isn'tThomas Wouters-0/+14
2006-04-15Use Py_CLEAR instead of in-place DECREF/XDECREF or custom macros, forThomas Wouters-10/+5
2006-04-04docstring tweakFredrik Lundh-1/+1
2006-02-27More unconsting.Martin v. Löwis-1/+1
2005-12-10Add const to several API functions that take char *.Jeremy Hylton-1/+1
2005-06-15Michael Hudson pointed out that the Dialect_Type object isn't INCREF'd. WhySkip Montanaro-0/+1
2005-06-15Leak fix from Michael Hudson. Fix memory leak when dialect doesn'tSkip Montanaro-0/+2
2005-01-13Moved reader \r and \n processing from the iterator to the state machine -Andrew McNamara-97/+75
2005-01-12Improve wording of parser error message.Andrew McNamara-2/+2
2005-01-12Add counting of source iterator lines to the reader object - handy forAndrew McNamara-0/+4
2005-01-12When quoting=QUOTE_NONNUMERIC, the reader now casts unquoted fieldsAndrew McNamara-30/+59
2005-01-12Fix logic problem in quoting=csv.QUOTE_ALL, quotechar=None check, add test.Andrew McNamara-1/+1
2005-01-12When using QUOTE_NONNUMERIC, we now test for "numericness" withAndrew McNamara-82/+58
2005-01-12Rename csv.set_field_limit to csv.field_size_limit (since it both sets andAndrew McNamara-6/+6
2005-01-12Add belt and braces check of PyString_AsString return.Andrew McNamara-4/+5
2005-01-11Set an upper limit on the size of the field buffer, raise an exceptionAndrew McNamara-30/+77
2005-01-11Now that internal dialect type is immutable, and the dialect registryAndrew McNamara-29/+40
2005-01-11No longer attempt to instantiate python classes describing dialects. ThisAndrew McNamara-37/+6
2005-01-11Allow dialect-describing keywords to be supplied to register_dialect,Andrew McNamara-27/+11
2005-01-11Factor out the code for making a dialect instance.Andrew McNamara-18/+22
2005-01-10Only set error string when dict lookup found no matching key (was settingAndrew McNamara-3/+6
2005-01-10When parsing args that return a single character, treat null string theAndrew McNamara-1/+1
2005-01-10Where a string is desired, test for PyBaseString_Type derived type,Andrew McNamara-15/+6
2005-01-10Add missing PyObject_GC_Track and PyObject_GC_UnTrack calls to csv reader andAndrew McNamara-0/+4
2005-01-10Fix parsing of csv files with escapes (escape character previously would beAndrew McNamara-8/+0
2005-01-07Fix to use PEP7 brace style.Andrew McNamara-2/+4
2005-01-07Improved the implementation of the internal "dialect" type. The newAndrew McNamara-185/+237
2005-01-06Delete Reader_getiter and replace with PyObject_SelfIter.Andrew McNamara-8/+1
2004-08-15Quote \r\n correctly, remove random indentation (patch #1009384). ThanksJohannes Gijsbers-2/+2
2004-06-20Use PyArg_UnpackTuple() where possible.Raymond Hettinger-4/+4
2003-12-02doc nitSkip Montanaro-1/+2
2003-06-09Fix potential leaks identified by Neal Norwitz.Andrew McNamara-0/+8
2003-04-14Make readers and writers participate in garbage collection.Jeremy Hylton-14/+71
2003-04-13Must declare vrbls at the tops of blocks in C89 (wouldn't compile).Tim Peters-1/+2
2003-04-12use PyModule_Add{Int,String}Constant() where appropriateSkip Montanaro-12/+6
2003-04-12tighten up string checksSkip Montanaro-17/+18
2003-04-12add writerows docstringSkip Montanaro-6/+24
2003-04-11typoSkip Montanaro-1/+1
2003-04-11typoSkip Montanaro-1/+1
2003-04-11zap commented out bit of codeSkip Montanaro-2/+1
2003-03-23add comment about 2.2 compatibilitySkip Montanaro-1/+13
2003-03-21Squash compiler wng about signed-vs-unsigned mismatch.Tim Peters-1/+1