summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
Commit message (Collapse)AuthorAgeFilesLines
* Markup fixAndrew M. Kuchling2008-09-302-2/+2
|
* sort of backport 66038 by aliasing PyObject_Bytes to PyObject_StrBenjamin Peterson2008-08-261-0/+8
|
* Fix typoNick Coghlan2008-08-181-1/+1
|
* Issue 2235: document PyObject_HashNotImplementedNick Coghlan2008-08-182-0/+18
|
* fix markupBenjamin Peterson2008-08-161-0/+1
|
* Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple,Martin v. Löwis2008-08-121-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 memoryGregory P. Smith2008-07-221-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 #3320Benjamin Peterson2008-07-121-4/+4
|
* Add cautionary note on the use of PySequence_Fast_ITEMS.Raymond Hettinger2008-07-111-0/+4
|
* - Issue #2862: Make int and float freelist management consistent with otherGregory P. Smith2008-07-062-8/+6
| | | | | freelists. Changes their CompactFreeList apis into ClearFreeList apis and calls them via gc.collect().
* New environment variable PYTHONIOENCODING.Martin v. Löwis2008-06-011-0/+8
|
* fix grammarBenjamin Peterson2008-05-301-1/+1
|
* Two fixes in bytearray docs.Georg Brandl2008-05-291-1/+5
|
* #2989: add PyType_Modified().Georg Brandl2008-05-281-1/+10
|
* add PyByteArray docsBenjamin Peterson2008-05-262-0/+75
|
* fix a minor typoBenjamin Peterson2008-05-261-1/+1
|
* note that PyString and has been aliased to PyBytesBenjamin Peterson2008-05-261-2/+6
|
* Mention version in which the new marshal version was introduced.Georg Brandl2008-05-121-1/+2
|
* Marshal is at version 2.Georg Brandl2008-05-121-2/+2
|
* #2727: clarify tp_iternext docs.Georg Brandl2008-04-301-5/+6
|
* #2700 Document PyNumber_ToBaseBenjamin Peterson2008-04-271-0/+11
|
* Added PyErr_WarnPy3k function. (issue 2671) I will be converting current ↵Benjamin Peterson2008-04-271-0/+8
| | | | Py3k warnings to the use of this function soon.
* #2691: document PyLong (s)size_t APIs, patch by Alexander Belopolsky.Georg Brandl2008-04-261-1/+31
|
* Make file objects as thread safe as the underlying libc FILE* implementation.Gregory P. Smith2008-04-061-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 Brandl2008-03-281-5/+5
|
* Typo: "objects reference count" -> "object's reference count"Mark Dickinson2008-03-261-1/+1
|
* #2160: document PyImport_GetImporter.Georg Brandl2008-03-211-0/+13
|
* #1533486: fix types in refcount intro.Georg Brandl2008-03-081-1/+1
|
* #2230: document that PyArg_* leaves addresses alone on error.Georg Brandl2008-03-041-4/+8
|
* A lot more typo fixes by Ori Avtalion.Georg Brandl2008-02-223-4/+4
|
* Fix function name.Georg Brandl2008-02-171-1/+1
|
* Implemented Martin's suggestion to clear the free lists during the garbage ↵Christian Heimes2008-02-143-0/+21
| | | | collection of the highest generation.
* Patch #1953Christian Heimes2008-02-042-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'Arc2008-02-031-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 macroRaymond Hettinger2008-01-281-0/+6
|
* Make PySet_Add() work with frozensets.Raymond Hettinger2008-01-281-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 Heimes2008-01-271-0/+7
| | | | leak test runs.
* Fix markup again.Georg Brandl2008-01-261-4/+4
|
* Revert PySet_Add() changes.Raymond Hettinger2008-01-261-8/+3
|
* Make PySet_Add() work with frozensets. Works like PyTuple_SetItem() to ↵Raymond Hettinger2008-01-261-3/+8
| | | | build-up values in a brand new frozenset.
* Don't repeat yourselfChristian Heimes2008-01-221-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 Brandl2008-01-201-7/+13
|
* Missed one big file to split up.Georg Brandl2008-01-197-1166/+1175
|
* Split the monstrous C API manual files in smaller parts.Georg Brandl2008-01-1941-5068/+5118
|
* Fix typos.Georg Brandl2008-01-191-7/+7
|
* Polish sentenceAndrew M. Kuchling2008-01-191-4/+4
|
* Now that I've learnt about structseq objects I felt like converting ↵Christian Heimes2008-01-141-1/+1
| | | | | | sys.float_info to a structseq. It's readonly and help(sys.float_info) explains the attributes nicely.
* Use markup.Georg Brandl2008-01-051-4/+4
|
* Repair markup.Georg Brandl2008-01-051-10/+6
|
* Doc patch #1730 from Robin Stocker; minor corrections mostly to os.rst.Georg Brandl2008-01-051-1/+1
|