Commit Graph

72 Commits

Author SHA1 Message Date
Christian Heimes
c70e5f9975 w# requires Py_ssize_t 2008-11-30 21:16:28 +00:00
Gregory P. Smith
b07bd10c91 Document PY_SSIZE_T_CLEAN for PyArg_ParseTuple. 2008-11-24 00:41:43 +00:00
Benjamin Peterson
9d1e2cdad6 PyGILState_Acquire -> PyGILState_Ensure 2008-10-10 22:23:41 +00:00
Andrew M. Kuchling
17ff29d061 Markup fix 2008-09-30 13:00:34 +00:00
Benjamin Peterson
14cb6bcf2b sort of backport 66038 by aliasing PyObject_Bytes to PyObject_Str 2008-08-26 17:08:40 +00:00
Nick Coghlan
8e439a16b2 Fix typo 2008-08-18 13:32:19 +00:00
Nick Coghlan
6e8fef07e5 Issue 2235: document PyObject_HashNotImplemented 2008-08-18 13:14:22 +00:00
Benjamin Peterson
4eb993939d fix markup 2008-08-16 03:02:41 +00:00
Martin v. Löwis
f91d46a17d 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-12 14:49:50 +00:00
Gregory P. Smith
0470bab697 Issue #2620: Overflow checking when allocating or reallocating memory
was not always being done properly in some python types and extension
modules.  PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have
all been updated to perform better checks and places in the code that
would previously leak memory on the error path when such an allocation
failed have been fixed.
2008-07-22 04:46:32 +00:00
Benjamin Peterson
90f36730e2 fix various doc typos #3320 2008-07-12 20:16:19 +00:00
Raymond Hettinger
8dbbb96929 Add cautionary note on the use of PySequence_Fast_ITEMS. 2008-07-11 12:00:21 +00:00
Gregory P. Smith
2fe77060eb - Issue #2862: Make int and float freelist management consistent with other
freelists.  Changes their CompactFreeList apis into ClearFreeList apis and
  calls them via gc.collect().
2008-07-06 03:35:58 +00:00
Martin v. Löwis
99815892f6 New environment variable PYTHONIOENCODING. 2008-06-01 07:20:46 +00:00
Benjamin Peterson
31694ae4a5 fix grammar 2008-05-30 20:44:39 +00:00
Georg Brandl
457501bf20 Two fixes in bytearray docs. 2008-05-29 07:18:17 +00:00
Georg Brandl
74a1deaab3 #2989: add PyType_Modified(). 2008-05-28 11:21:39 +00:00
Benjamin Peterson
2b4b5acf18 add PyByteArray docs 2008-05-26 15:54:26 +00:00
Benjamin Peterson
438e9ac4d4 fix a minor typo 2008-05-26 14:29:09 +00:00
Benjamin Peterson
404d182bba note that PyString and has been aliased to PyBytes 2008-05-26 14:02:09 +00:00
Georg Brandl
d23f1f2896 Mention version in which the new marshal version was introduced. 2008-05-12 17:48:56 +00:00
Georg Brandl
70dce223d4 Marshal is at version 2. 2008-05-12 17:47:53 +00:00
Georg Brandl
63b0a2eb21 #2727: clarify tp_iternext docs. 2008-04-30 20:02:37 +00:00
Benjamin Peterson
fe4948bcef #2700 Document PyNumber_ToBase 2008-04-27 18:14:39 +00:00
Benjamin Peterson
a692c4df63 Added PyErr_WarnPy3k function. (issue 2671) I will be converting current Py3k warnings to the use of this function soon. 2008-04-27 02:28:02 +00:00