Martin v. Löwis
c8ed4ff565
Backport of r60793:
...
Added checks for integer overflows, contributed by Google. Some are
only available if asserts are left in the code, in cases where they
can't be triggered from Python code.
2008-03-02 19:20:32 +00:00
Andrew M. Kuchling
cebdc5e373
[Partial backport of r45947 | neal.norwitz]
...
Fix problems found by Coverity.
_ssl.c: under fail: self is DECREF'd, but it would have been NULL.
_csv.c: I'm not sure if lineterminator could have been anything other than
a string. However, other string method calls are checked, so check this
one too.
2006-10-09 18:30:13 +00:00
Skip Montanaro
f47379c3f0
backport
2005-06-15 13:38:07 +00:00
Johannes Gijsbers
8d3b9dd09c
Quote \r\n correctly, remove random indentation (patch #1009384 ). Thanks
...
Cherniavsky Beni!
2004-08-15 12:23:10 +00:00
Raymond Hettinger
1761a7cc8b
Use PyArg_UnpackTuple() where possible.
2004-06-20 04:23:19 +00:00
Skip Montanaro
148eb6a6b6
doc nit
2003-12-02 18:57:47 +00:00
Andrew McNamara
dcfb38c21b
Fix potential leaks identified by Neal Norwitz.
2003-06-09 05:59:23 +00:00
Jeremy Hylton
42a8aedb29
Make readers and writers participate in garbage collection.
...
Fix memory leak in dialect_init().
2003-04-14 02:20:55 +00:00
Tim Peters
38fc837fa9
Must declare vrbls at the tops of blocks in C89 (wouldn't compile).
2003-04-13 03:25:15 +00:00
Skip Montanaro
7b01a83488
use PyModule_Add{Int,String}Constant() where appropriate
...
(thanks to Neal Norwitz for the code review, BTW)
2003-04-12 19:23:46 +00:00
Skip Montanaro
577c7a763d
tighten up string checks
...
make csv_{get,unregister}_dialect METH_O functions to avoid PyArg_ParseTuple
2003-04-12 19:17:14 +00:00
Skip Montanaro
860fc0b1d5
add writerows docstring
...
conditionally exclude Unicode functions
2003-04-12 18:57:52 +00:00
Skip Montanaro
98f16e0074
typo
2003-04-11 23:10:13 +00:00
Skip Montanaro
dfa35fa3b6
typo
2003-04-11 21:40:01 +00:00
Skip Montanaro
3bc093b717
zap commented out bit of code
2003-04-11 19:33:55 +00:00
Skip Montanaro
a16b21fb0a
add comment about 2.2 compatibility
...
dump empty TODO comment
2003-03-23 14:32:54 +00:00
Tim Peters
ef4b7ed42b
Squash compiler wng about signed-vs-unsigned mismatch.
2003-03-21 01:35:28 +00:00
Skip Montanaro
b4a0417e91
new CSV file processing module - see PEP 305
2003-03-20 23:29:12 +00:00