Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sort of backport 66038 by aliasing PyObject_Bytes to PyObject_Str | Benjamin Peterson | 2008-08-26 | 1 | -0/+8 |
| | |||||
* | Fix typo | Nick Coghlan | 2008-08-18 | 1 | -1/+1 |
| | |||||
* | Issue 2235: document PyObject_HashNotImplemented | Nick Coghlan | 2008-08-18 | 2 | -0/+18 |
| | |||||
* | fix markup | Benjamin Peterson | 2008-08-16 | 1 | -0/+1 |
| | |||||
* | Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple, | Martin v. Löwis | 2008-08-12 | 1 | -0/+16 |
| | | | | | | | by denying s# to parse objects that have a releasebuffer procedure, and introducing s*. More module might need to get converted to use s*. | ||||
* | Issue #2620: Overflow checking when allocating or reallocating memory | Gregory P. Smith | 2008-07-22 | 1 | -1/+3 |
| | | | | | | | | 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. | ||||
* | fix various doc typos #3320 | Benjamin Peterson | 2008-07-12 | 1 | -4/+4 |
| | |||||
* | Add cautionary note on the use of PySequence_Fast_ITEMS. | Raymond Hettinger | 2008-07-11 | 1 | -0/+4 |
| | |||||
* | - Issue #2862: Make int and float freelist management consistent with other | Gregory P. Smith | 2008-07-06 | 2 | -8/+6 |
| | | | | | freelists. Changes their CompactFreeList apis into ClearFreeList apis and calls them via gc.collect(). | ||||
* | New environment variable PYTHONIOENCODING. | Martin v. Löwis | 2008-06-01 | 1 | -0/+8 |
| | |||||
* | fix grammar | Benjamin Peterson | 2008-05-30 | 1 | -1/+1 |
| | |||||
* | Two fixes in bytearray docs. | Georg Brandl | 2008-05-29 | 1 | -1/+5 |
| | |||||
* | #2989: add PyType_Modified(). | Georg Brandl | 2008-05-28 | 1 | -1/+10 |
| | |||||
* | add PyByteArray docs | Benjamin Peterson | 2008-05-26 | 2 | -0/+75 |
| | |||||
* | fix a minor typo | Benjamin Peterson | 2008-05-26 | 1 | -1/+1 |
| | |||||
* | note that PyString and has been aliased to PyBytes | Benjamin Peterson | 2008-05-26 | 1 | -2/+6 |
| | |||||
* | Mention version in which the new marshal version was introduced. | Georg Brandl | 2008-05-12 | 1 | -1/+2 |
| | |||||
* | Marshal is at version 2. | Georg Brandl | 2008-05-12 | 1 | -2/+2 |
| | |||||
* | #2727: clarify tp_iternext docs. | Georg Brandl | 2008-04-30 | 1 | -5/+6 |
| | |||||
* | #2700 Document PyNumber_ToBase | Benjamin Peterson | 2008-04-27 | 1 | -0/+11 |
| | |||||
* | Added PyErr_WarnPy3k function. (issue 2671) I will be converting current ↵ | Benjamin Peterson | 2008-04-27 | 1 | -0/+8 |
| | | | | Py3k warnings to the use of this function soon. | ||||
* | #2691: document PyLong (s)size_t APIs, patch by Alexander Belopolsky. | Georg Brandl | 2008-04-26 | 1 | -1/+31 |
| | |||||
* | Make file objects as thread safe as the underlying libc FILE* implementation. | Gregory P. Smith | 2008-04-06 | 1 | -1/+33 |
| | | | | | | | | | | | close() will now raise an IOError if any operations on the file object are currently in progress in other threads. Most code was written by Antoine Pitrou (pitrou). Additional testing, documentation and test suite cleanup done by me (gregory.p.smith). Fixes issue 815646 and 595601 (as well as many other bugs and references to this problem dating back to the dawn of Python). | ||||
* | Phase out has_key usage in the tutorial; correct docs for PyMapping_HasKey*. | Georg Brandl | 2008-03-28 | 1 | -5/+5 |
| | |||||
* | Typo: "objects reference count" -> "object's reference count" | Mark Dickinson | 2008-03-26 | 1 | -1/+1 |
| | |||||
* | #2160: document PyImport_GetImporter. | Georg Brandl | 2008-03-21 | 1 | -0/+13 |
| | |||||
* | #1533486: fix types in refcount intro. | Georg Brandl | 2008-03-08 | 1 | -1/+1 |
| | |||||
* | #2230: document that PyArg_* leaves addresses alone on error. | Georg Brandl | 2008-03-04 | 1 | -4/+8 |
| | |||||
* | A lot more typo fixes by Ori Avtalion. | Georg Brandl | 2008-02-22 | 3 | -4/+4 |
| | |||||
* | Fix function name. | Georg Brandl | 2008-02-17 | 1 | -1/+1 |
| | |||||
* | Implemented Martin's suggestion to clear the free lists during the garbage ↵ | Christian Heimes | 2008-02-14 | 3 | -0/+21 |
| | | | | collection of the highest generation. | ||||
* | Patch #1953 | Christian Heimes | 2008-02-04 | 2 | -0/+18 |
| | | | | | I implemented the function sys._compact_freelists() and C API functions PyInt_/PyFloat_CompactFreeList() to compact the pre-allocated blocks of ints and floats. They allow the user to reduce the memory usage of a Python process that deals with lots of numbers. The patch also renames sys._cleartypecache to sys._clear_type_cache | ||||
* | Ensure that PySet_Add() operates on a newly created frozenset, like ↵ | Amaury Forgeot d'Arc | 2008-02-03 | 1 | -0/+7 |
| | | | | | | | | PyTuple_SetItem does. Add PyFrozenSet_Check(), which was not needed before; The list of Py*Set_Check* macros seems to be complete now. Add missing NEWS entries about all this. | ||||
* | Factor-out common code with a new macro | Raymond Hettinger | 2008-01-28 | 1 | -0/+6 |
| | |||||
* | Make PySet_Add() work with frozensets. | Raymond Hettinger | 2008-01-28 | 1 | -3/+13 |
| | | | | | Works like PyTuple_SetItem() to build-up values in a brand new frozenset. Also, PyFrozenSet_New() is now guaranteed to produce a distinct new frozenset. | ||||
* | Added clear cache methods to clear the internal type lookup cache for ref ↵ | Christian Heimes | 2008-01-27 | 1 | -0/+7 |
| | | | | leak test runs. | ||||
* | Fix markup again. | Georg Brandl | 2008-01-26 | 1 | -4/+4 |
| | |||||
* | Revert PySet_Add() changes. | Raymond Hettinger | 2008-01-26 | 1 | -8/+3 |
| | |||||
* | Make PySet_Add() work with frozensets. Works like PyTuple_SetItem() to ↵ | Raymond Hettinger | 2008-01-26 | 1 | -3/+8 |
| | | | | build-up values in a brand new frozenset. | ||||
* | Don't repeat yourself | Christian Heimes | 2008-01-22 | 1 | -2/+18 |
| | | | | Added the macros PyModule_AddIntMacro and PyModule_AddStringMacro. They shorten PyModule_AddIntConstant(m, "AF_INET", AF_INET) to PyModule_AddIntMacro(m, AF_INET) | ||||
* | #1219903: fix tp_richcompare docs. | Georg Brandl | 2008-01-20 | 1 | -7/+13 |
| | |||||
* | Missed one big file to split up. | Georg Brandl | 2008-01-19 | 7 | -1166/+1175 |
| | |||||
* | Split the monstrous C API manual files in smaller parts. | Georg Brandl | 2008-01-19 | 41 | -5068/+5118 |
| | |||||
* | Fix typos. | Georg Brandl | 2008-01-19 | 1 | -7/+7 |
| | |||||
* | Polish sentence | Andrew M. Kuchling | 2008-01-19 | 1 | -4/+4 |
| | |||||
* | Now that I've learnt about structseq objects I felt like converting ↵ | Christian Heimes | 2008-01-14 | 1 | -1/+1 |
| | | | | | | sys.float_info to a structseq. It's readonly and help(sys.float_info) explains the attributes nicely. | ||||
* | Use markup. | Georg Brandl | 2008-01-05 | 1 | -4/+4 |
| | |||||
* | Repair markup. | Georg Brandl | 2008-01-05 | 1 | -10/+6 |
| | |||||
* | Doc patch #1730 from Robin Stocker; minor corrections mostly to os.rst. | Georg Brandl | 2008-01-05 | 1 | -1/+1 |
| | |||||
* | Modified PyImport_Import and PyImport_ImportModule to always use absolute ↵ | Christian Heimes | 2008-01-03 | 1 | -1/+42 |
| | | | | | | imports by calling __import__ with an explicit level of 0 Added a new API function PyImport_ImportModuleNoBlock. It solves the problem with dead locks when mixing threads and imports |