Benjamin Peterson
9745ee0b44
merge 3.4 ( closes #27758 )
2016-08-13 17:21:54 -07:00
Benjamin Peterson
59b6abd38c
merge 3.3 ( #27758 )
2016-08-13 17:21:22 -07:00
Benjamin Peterson
6e01d90cc8
check for overflow in join_append_data ( closes #27758 )
...
Reported by Thomas E. Hybel
2016-08-13 17:17:06 -07:00
Serhiy Storchaka
6a7b3a77b4
Issue #26778 : Fixed "a/an/and" typos in code comment and documentation.
2016-04-17 08:32:47 +03:00
Serhiy Storchaka
48842714b9
Issue #22570 : Renamed Py_SETREF to Py_XSETREF.
2016-04-06 09:45:48 +03:00
Berker Peksag
e2382c598c
Issue #25290 : Fix typo in csv.reader() docstring
...
Patch by Johannes Niediek.
2015-10-02 19:25:32 +03:00
Berker Peksag
12b50ce4cb
Issue #23659 : Document **fmtparams in csv.register_dialect docstring.
...
Initial patch by Brandon Milam.
2015-06-05 15:17:51 +03:00
Serhiy Storchaka
cf58fb5e29
Issue #18829 : csv.Dialect() now checks type for delimiter, escapechar and
...
quotechar fields. Original patch by Vajrasky Kok.
2013-12-19 16:28:04 +02:00
Serhiy Storchaka
cac23a50ee
Issue #18829 : csv.Dialect() now checks type for delimiter, escapechar and
...
quotechar fields. Original patch by Vajrasky Kok.
2013-12-19 16:27:18 +02:00
Victor Stinner
b80b378680
Issue #19437 : Fix parse_save_field() of the csv module, handle PyList_Append()
...
failure
2013-11-14 21:29:34 +01:00
R David Murray
9a7d3768a3
Use logic operator, not bitwise operator, for conditional.
2013-03-20 00:15:20 -04:00
R David Murray
c7c42efb16
#15927 : Fix cvs.reader parsing of escaped \r\n with quoting off.
...
This fix means that such values are correctly roundtripped, since
cvs.writer already does the correct escaping.
Patch by Michael Johnson.
2013-03-19 22:41:47 -04:00
Stefan Krah
e6996ed5d9
Issue #16145 : Support legacy strings in the _csv module.
2012-11-02 14:44:20 +01:00
Senthil Kumaran
49d130227b
merge 3.2: Issue #16013 : Fix CSV Reader parsing issue with ending quote characters. Patch by Serhiy Storchaka.
2012-09-25 02:37:20 -07:00
Senthil Kumaran
67b7b98a47
Issue #16013 : Fix CSV Reader parsing issue with ending quote characters. Patch by Serhiy Storchaka.
2012-09-25 02:30:27 -07:00
Antoine Pitrou
721738fbee
Issue #15604 : Update uses of PyObject_IsTrue() to check for and handle errors correctly.
...
Patch by Serhiy Storchaka.
2012-08-15 23:20:39 +02:00
Antoine Pitrou
6f430e4963
Issue #15604 : Update uses of PyObject_IsTrue() to check for and handle errors correctly.
...
Patch by Serhiy Storchaka.
2012-08-15 23:18:25 +02:00
Antoine Pitrou
e7672d38dc
Issue #14732 : The _csv module now uses PEP 3121 module initialization.
...
Patch by Robin Schreiber.
2012-05-16 11:33:08 +02:00
Victor Stinner
9e30aa52fd
Fix misuse of PyUnicode_GET_SIZE() => PyUnicode_GET_LENGTH()
...
And PyUnicode_GetSize() => PyUnicode_GetLength()
2011-11-21 02:49:52 +01:00
Serhiy Storchaka
5a57ade58e
Issue #20440 : Massive replacing unsafe attribute setting code with special
...
macro Py_SETREF.
2015-12-24 10:35:59 +02:00
Berker Peksag
987f215141
Issue #25290 : Fix typo in csv.reader() docstring
...
Patch by Johannes Niediek.
2015-10-02 19:25:53 +03:00
Berker Peksag
ab2f966f79
Issue #23659 : Document **fmtparams in csv.register_dialect docstring.
...
Initial patch by Brandon Milam.
2015-06-05 15:18:17 +03:00
Serhiy Storchaka
7901b48a1f
Issue #23171 : csv.Writer.writerow() now supports arbitrary iterables.
2015-03-30 09:09:54 +03:00
Victor Stinner
706768c687
Issue #22156 : Fix some "comparison between signed and unsigned integers"
...
compiler warnings in the Modules/ subdirectory.
2014-08-16 01:03:39 +02:00
Berker Peksag
0f41acb0ea
Issue #22076 : Minor grammar fix.
...
Patch by Martin Matusiak.
2014-07-27 23:22:34 +03:00
Martin v. Löwis
5f4f4c5960
Replace Py_UNICODE_strchr with PyUnicode_FindChar.
2011-11-01 18:42:23 +01:00
Martin v. Löwis
bd928fef42
Rename _Py_identifier to _Py_IDENTIFIER.
2011-10-14 10:20:37 +02:00
Martin v. Löwis
1ee1b6fe0d
Use identifier API for PyObject_GetAttrString.
2011-10-10 18:11:30 +02:00
Antoine Pitrou
72ca65dce4
Fix a Py_UCS4 / Py_UNICODE mixup.
...
This worked under Unix because wchar_t is 4 bytes wide.
2011-10-07 04:35:30 +02:00
Antoine Pitrou
77ea6409ef
Migrate the _csv module to the new unicode APIs
...
(except for a Py_UNICODE_strchr() call)
2011-10-07 04:26:55 +02:00
Benjamin Peterson
17a332ac1b
fix compiler warnings
2011-10-06 17:06:25 -04:00
Martin v. Löwis
d63a3b8beb
Implement PEP 393.
2011-09-28 07:41:54 +02:00
Victor Stinner
4fe519bf8d
Issue #10359 : Remove useless (duplicate) initialization in _csv
2010-11-09 09:40:16 +00:00
Antoine Pitrou
4045575dd5
Fix more 64-bit warnings.
2010-08-15 18:51:10 +00:00
Antoine Pitrou
f95a1b3c53
Recorded merge of revisions 81029 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines
Untabify C files. Will watch buildbots.
........
2010-05-09 15:52:27 +00:00
Mark Dickinson
e94c679df0
Issue #1717 : rename tp_compare to tp_reserved. I'll change the
...
type of tp_compare in a separate commit, for ease of reversion
should things go wrong.
2009-02-02 20:36:42 +00:00
Mark Dickinson
211c625829
Issue #1717 , stage 2: remove uses of tp_compare in Modules and most
...
Objects.
2009-02-01 10:28:51 +00:00
Amaury Forgeot d'Arc
9c74b14fe9
Merged revisions 64114 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64114 | gregory.p.smith | 2008-06-11 09:41:16 +0200 (mer., 11 juin 2008) | 6 lines
Merge in release25-maint 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-06-18 00:47:36 +00:00
Martin v. Löwis
1a21451b1d
Implement PEP 3121: new module initialization and finalization API.
2008-06-11 05:26:20 +00:00
Christian Heimes
90aa7646af
#1629 : Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.
2007-12-19 02:45:37 +00:00
Martin v. Löwis
d1a1d1ed80
Remove PyInt_CheckExact. Add PyLong_AsLongAndOverflow.
2007-12-04 22:10:37 +00:00
Christian Heimes
217cfd1c86
Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h
2007-12-02 14:31:20 +00:00
Christian Heimes
218a5ed7d0
Fixed #1508 Removal of stale code in _csv.c / pyexpat.c
...
Credits belong to Joseph Armbruster
2007-11-28 10:05:53 +00:00
Georg Brandl
1c280ab7d6
Rewrap error message.
2007-11-27 20:40:22 +00:00
Georg Brandl
f519261563
#1479 : Fix refleak in csv module (from rev 59062).
2007-11-25 00:52:21 +00:00
Amaury Forgeot d'Arc
10c476db2c
Correct test_cvs on Windows, as suggested by Raghuram Devarakonda
...
in issue1395. All other places in this file already use newline=''...
Also check that csv.reader is given an iterable returning strings.
2007-11-19 21:20:21 +00:00
Thomas Heller
519a042c7c
Replace PyObject_Unicode with PyObject_Str everywhere, and remove the
...
#define for PyObject_Unicode in object.h.
2007-11-15 20:48:54 +00:00
Guido van Rossum
3172c5d263
Patch# 1258 by Christian Heimes: kill basestring.
...
I like this because it makes the code shorter! :-)
2007-10-16 18:12:55 +00:00
Guido van Rossum
a9769c26a3
Fix the last remaining test_csv failure.
...
We were using T_CHAR for a UNICODE character.
(This happened to work on x86 most of the time due to endianness;
but not on PPC.)
2007-08-07 23:59:30 +00:00
Skip Montanaro
e3b10f4c4c
One char->Py_UNICODE change missed in r56777 - according to Adam Hupp this is the change to make...
2007-08-06 20:55:47 +00:00