235 Commits (eb698fe68c38bf7d2eb0bebbccdcef5dfa0eccfd)

Author SHA1 Message Date
Neal Norwitz 705cd06f91 Fix some memory dealloc problems when exceptions occur. 18 years ago
Gregory P. Smith 9d53457e59 Merge in release25-maint r60793: 18 years ago
Martin v. Löwis 1a21451b1d Implement PEP 3121: new module initialization and finalization API. 18 years ago
Gregory P. Smith dd96db63f6 This reverts r63675 based on the discussion in this thread: 18 years ago
Travis E. Oliphant 3900088cb6 Remove locking from buffer protocol as-per discussion. 18 years ago
Christian Heimes 72b710a596 Renamed PyString to PyBytes 18 years ago
Christian Heimes 9c4756ea26 Renamed PyBytes to PyByteArray 18 years ago
Christian Heimes 593daf545b Renamed PyString to PyBytes 18 years ago
Benjamin Peterson f19a7b90bd A little reformating of Py3k warnings 18 years ago
Benjamin Peterson 9f4f48114f Use PyErr_WarnPy3k throughout 18 years ago
Georg Brandl 1e7c37514d #2359: add Py3k warning for array.read/array.write. 18 years ago
Martin v. Löwis 9c04257bf9 Fix deallocation of array objects when allocation ran out of memory. 18 years ago
Martin v. Löwis 73c01d4101 Added checks for integer overflows, contributed by Google. Some are 18 years ago
Georg Brandl f25ef50549 Remove the deprecated array.read/write methods. 18 years ago
Christian Heimes 90aa7646af #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. 18 years ago
Christian Heimes e93237dfcc #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 18 years ago
Christian Heimes 217cfd1c86 Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 18 years ago
Guido van Rossum 98297ee781 Merging the py3k-pep3137 branch back into the py3k branch. 19 years ago
Guido van Rossum 7c4c6c5d8a Fix typo: formats -> format. (Only mattered in wide unicode builds.) 19 years ago
Travis E. Oliphant ddacf96868 Eliminate use of PyBUF_CHARACTER flag which is no longer part of the buffer interface. Fix up array module to export the correct format for wide-builds. 19 years ago
Guido van Rossum d417a154e4 Fix typo in arraymodule.c (?) -- it's PyBUF_LOCK, not PyBUF_LOCKDATA. 19 years ago
Travis E. Oliphant d5c0add332 Fix Issue 1268 with the array module by backing-out the 'w' addition. All builds will continue to use 'u' for unicode. 19 years ago
Travis E. Oliphant 8ae62b6094 Change PyBuffer to Py_buffer to be consistent with other non-object structures like Py_complex. Add some more functionality to the memoryview object. 19 years ago
Thomas Wouters d2cf20eea2 Remove the simple slicing API. All slicing is now done with slice objects. 19 years ago
Thomas Wouters ed03b4121e Merge the trunk changes in. Breaks socket.ssl for now. 19 years ago
Thomas Wouters 3ccec68a05 Improve extended slicing support in builtin types and classes. Specifically: 19 years ago
Neal Norwitz 3fcbea567b Use unicode and remove support for some uses of str8. 19 years ago
Travis E. Oliphant b803c517bf Fix memory leak in arraymodule.c and respond to a few comments by nnorwitz. 19 years ago
Neal Norwitz faa54a3929 Code review of the new buffer protocol. Mostly add questions that should 19 years ago
Travis E. Oliphant b99f762f10 Merged in py3k-buffer branch to main line. All objects now use the buffer protocol in PEP 3118. 19 years ago
Martin v. Löwis a291c8fed2 Fix reference leak. 19 years ago
Martin v. Löwis 5d7428b8ce Fix merge breakage. 19 years ago
Martin v. Löwis 9f2e346911 Merged revisions 56467-56482 via svnmerge from 19 years ago
Martin v. Löwis 6819210b9e PEP 3123: Provide forward compatibility with Python 3.0, while keeping 19 years ago
Martin v. Löwis 10a60b3ec0 Change Py_BuildValue to generate Unicode objects for 19 years ago
Guido van Rossum 6b826abc70 Creating an array with a bytes object as initializer 19 years ago
Walter Dörwald d09413012c Revert r56044 (which changed the %c format specifier to accept a 19 years ago
Guido van Rossum 8934fc26c1 Fix a failure that was only apparent on big-endian machines: 19 years ago
Walter Dörwald 93b30b5b82 Make array.typecode a unicode string. 19 years ago
Guido van Rossum 31f72d72b1 "Fix" the array module test -- by ripping out the 'c' typecode. 19 years ago
Guido van Rossum 2c94aa567e Fixed array.fromfile(); removed references to PyFileObject in array.tofile(). 19 years ago
Walter Dörwald c2f6a58ffd Remove unused variables. 19 years ago
Walter Dörwald 7569dfe11d Add a format specifier %R to PyUnicode_FromFormat(), which embeds 19 years ago
Walter Dörwald 1ab8330827 Add functions PyUnicode_Append() and PyUnicode_AppendAndDel() that mirror 19 years ago
Guido van Rossum 1f05a3b7fb Fix the array tests. Only a minor change to the C code was required. 19 years ago
Guido van Rossum 8d30cc0144 Get rid of all #ifdef Py_USING_UNICODE (it is always present now). 19 years ago
Guido van Rossum d8faa3654c Merged revisions 53952-54987 via svnmerge from 19 years ago
Guido van Rossum b5ddcfd2a2 Make array().tofile() work with a new I/O object. 19 years ago
Raymond Hettinger 01a807db2a Array module's buffer interface can now handle empty arrays. 19 years ago
Raymond Hettinger d6030acd7f Array module's buffer interface can now handle empty arrays. 19 years ago