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
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