Kristján Valur Jónsson
31668b8f7a
Issue #14288 : Serialization support for builtin iterators.
2012-04-03 10:49:41 +00:00
Ezio Melotti
90bf5f1171
Remove mention of narrow/wide builds and update array doc, add a test.
2011-10-25 10:05:34 +03:00
Victor Stinner
8dba4e004f
array module uses the new Unicode API
...
* Use Py_UCS4* buffer instead of Py_UNICODE*
* Use "I" or "L" format, instead of "u" format
2011-09-30 00:51:10 +02:00
Meador Inge
1c9f0c93ad
Issue #1172711 : Add 'long long' support to the array module.
...
Initial patch by Oren Tirosh and Hirokazu Yamamoto.
2011-09-20 19:55:51 -05: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
Victor Stinner
7a6a0093f3
test_array: fix the DeprecationWarning('object.__init__() takes no parameters')
2011-01-04 00:04:44 +00:00
Georg Brandl
cf03ac0c64
#10668 : fix wrong call of __init__.
2010-12-10 10:01:44 +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
Ezio Melotti
b3aedd4862
#9424 : Replace deprecated assert* methods in the Python test suite.
2010-11-20 19:04:17 +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
Antoine Pitrou
8cb6dbf1b9
Issue #5395 : check that array.fromfile() re-raises an IOError instead of replacing it
...
with EOFError.
(this is only an added test, but 2.x will get a fix too)
2010-07-21 16:41:31 +00:00
Benjamin Peterson
90f5ba538b
convert shebang lines: python -> python3
2010-03-11 22:53:45 +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
Ezio Melotti
e96159335f
Merged revisions 77727 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77727 | ezio.melotti | 2010-01-24 18:58:36 +0200 (Sun, 24 Jan 2010) | 1 line
use assert[Not]IsInstance where appropriate
........
2010-01-24 19:26:24 +00:00
Frank Wierzbicki
176834327f
Merged revisions 74477 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74477 | frank.wierzbicki | 2009-08-16 16:22:51 -0400 (Sun, 16 Aug 2009) | 2 lines
Add test of file.write(array) extracted from Jython.
........
2009-08-16 20:30:12 +00:00
Alexandre Vassalotti
0027d4b4fe
Don't check 64-bit test cases on 32-bit machine.
2009-07-15 20:53:55 +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
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
b78637a5bc
Add more test cases to BaseTest.test_memoryview_no_resize.
2009-07-05 05:47:28 +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
c9c0f201fe
convert old fail* assertions to assert*
2009-06-30 23:06:06 +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
Raymond Hettinger
3471b1c865
Resurrect two buffer tests, converting irepeat() to imul(). Undoes part of r68962.
2009-01-27 11:06:40 +00:00
Raymond Hettinger
89e12963ad
As discussed on python-dev, remove several operator functions
...
isSequenceType(), isMappingType(), and isNumberType() in favor
of using abstract base classes. Also, remove repeat() and irepeat()
in favor of mul() and imul().
After the buildbots have had a go at this. Will backport to Py3.0.1.
For Py2.7, will just mark as deprecated.
2009-01-26 02:09:03 +00:00