Brett Cannon
b94767ff44
Issue #8914 : fix various warnings from the Clang static analyzer v254.
2011-02-22 20:15:44 +00:00
Alexander Belopolsky
ef4a03fffe
Issue #5109 : array.array constructor will now use fast code when
...
initial data is provided in an array object with correct type.
2011-01-11 21:44:00 +00:00
Georg Brandl
c29cc6a8f2
#1569291 : speed up array.repeat() by making only O(log n) memcpy() calls; the code follows unicode_repeat.
2010-12-04 11:02:04 +00:00
Martin v. Löwis
4d0d471a80
Merge branches/pep-0384.
2010-12-03 20:14:31 +00:00
Amaury Forgeot d'Arc
24aa26b05e
Fix compilation warnings seen on Windows.
...
'typecode' is always an ascii letter, there was no data lost.
2010-11-25 08:13:35 +00:00
Victor Stinner
9f0b51e4e3
Issue #10359 : Use Py_UNICODE for the typecode in array
...
And don't create non constant array, invalid in ISO C.
2010-11-09 09:38:30 +00:00
Antoine Pitrou
1ce3eb5c5b
Issue #8990 : array.fromstring() and array.tostring() get renamed to
...
frombytes() and tobytes(), respectively, to avoid confusion. Furthermore,
array.frombytes(), array.extend() as well as the array.array()
constructor now accept bytearray objects. Patch by Thomas Jollans.
2010-09-01 20:29:34 +00:00
Mark Dickinson
346f0af4f6
Issue #9526 : Remove outdated casts to int that were preventing the array module from working correctly with arrays > 2GB.
2010-08-06 09:36:57 +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
bbe63069ef
Merged revisions 78189 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78189 | mark.dickinson | 2010-02-14 13:40:30 +0000 (Sun, 14 Feb 2010) | 1 line
Silence more 'comparison between signed and unsigned' warnings.
........
2010-02-14 14:08:54 +00:00
Mark Dickinson
bc09964be1
Merged revisions 77821 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77821 | mark.dickinson | 2010-01-29 17:11:39 +0000 (Fri, 29 Jan 2010) | 3 lines
Issue #7788 : Fix a crash produced by deleting a list slice with huge
step value. Patch by Marcin Bachry.
........
2010-01-29 17:27:24 +00:00
Mark Dickinson
cc16d16add
Silence gcc warning about possibly uninitialized variable 'converted_items'
2009-10-26 07:58:04 +00:00
Alexandre Vassalotti
7aaa770b08
Use the proper autoconf macro for checking byte order.
...
The BYTEORDER_IS_BIG_ENDIAN macro is defined Objects/unicodeobject.c,
thus the code was always emitting the little-endian machine format codes.
This should fix the failure seen on the SPARC buildbot.
2009-07-17 03:51:27 +00:00
Alexandre Vassalotti
5f8ed3702d
Fix omission in a comment.
2009-07-15 18:31:06 +00:00
Alexandre Vassalotti
ad077154d0
Issue #2389 : Implement a portable mechanism for pickling array objects.
...
Reviewed by: Martin v. Löwis
2009-07-15 17:49:23 +00:00
Georg Brandl
216cca7d44
#6430 : remove mention of "w" array typecode.
2009-07-11 10:39:23 +00:00
Alexandre Vassalotti
47137250ff
Add the fix for issue 4509 to the mapping methods.
2009-07-05 19:57:00 +00:00
Alexandre Vassalotti
e503cf9b0e
Fix array.extend and array.__iadd__ to handle the case where an array
...
is extended with itself.
This bug is specific the py3k version of arraymodule.c
2009-07-05 06:25:14 +00:00
Alexandre Vassalotti
7e4f3215db
Issue 4509: Do not modify an array if we know the change would result
...
in a failure due to exported buffers.
2009-07-05 05:38:18 +00:00
Benjamin Peterson
a921fb0f66
Py_BuildValue's 'c' code should use byte strings #5666
2009-04-03 22:18:11 +00:00
Hirokazu Yamamoto
54d0df69c0
Issue #5334 : array.fromfile() failed to insert values when EOFError was raised.
...
Reviewed by Benjamin Peterson.
2009-03-06 03:04:07 +00:00
Mark Dickinson
934896dc09
Merged revisions 69846 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69846 | mark.dickinson | 2009-02-21 20:27:01 +0000 (Sat, 21 Feb 2009) | 2 lines
Issue #5341 : Fix a variety of spelling errors.
........
2009-02-21 20:59:32 +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
Antoine Pitrou
3ad3a0d366
Issue #4583 : crash after resizing an array.array which has buffer exports.
2008-12-18 17:08:32 +00:00
Martin v. Löwis
423be95dcf
Merged revisions 65654 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65654 | martin.v.loewis | 2008-08-12 16:49:50 +0200 (Tue, 12 Aug 2008) | 6 lines
Issue #3139 : Make buffer-interface thread-safe wrt. PyArg_ParseTuple,
by denying s# to parse objects that have a releasebuffer procedure,
and introducing s*.
More module might need to get converted to use s*.
........
2008-08-13 15:53:07 +00:00