summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Modified PyImport_Import and PyImport_ImportModule to always use absolute ↵Christian Heimes2008-01-031-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
* Some cleanup in the docs.Georg Brandl2007-12-294-13/+12
|
* Patch #1583 by Adam Olsen.Guido van Rossum2007-12-191-0/+10
| | | | | | | This adds signal.set_wakeup_fd(fd) which sets a file descriptor to which a zero byte will be written whenever a C exception handler runs. I added a simple C API as well, PySignal_SetWakeupFd(fd).
* Applied patch #1635: Float patch for inf and nan on Windows (and other ↵Christian Heimes2007-12-181-1/+17
| | | | | | platforms). The patch unifies float("inf") and repr(float("inf")) on all platforms.
* Add another GHOP student to ACKS.Georg Brandl2007-12-061-2/+2
|
* Fix markup.Georg Brandl2007-12-051-1/+1
|
* Add documentation for PySys_* functions.Georg Brandl2007-12-022-2/+60
| | | | Written by Charlie Shepherd for GHOP. Also fixes #1245.
* Document PyEval_* functions from ceval.c.Georg Brandl2007-12-013-0/+134
| | | | Credits to Michael Sloan from GHOP.
* Add versionadded tags missing in r59254. Do NOT merge to Py3k.Georg Brandl2007-12-011-0/+6
|
* Feature #1534Christian Heimes2007-12-011-0/+17
| | | | | Added PyFloat_GetMax(), PyFloat_GetMin() and PyFloat_GetInfo() to the float API. Added a dictionary sys.float_info with information about the internal floating point type to the sys module.
* Make "hashable" a glossary entry and clarify docs on __cmp__, __eq__ and ↵Georg Brandl2007-11-021-2/+2
| | | | | | | __hash__. I hope the concept of hashability is better understandable now. Thanks to Tim Hatch for pointing out the flaws here.
* Unify "file-descriptor" to "file descriptor".Georg Brandl2007-10-211-1/+1
|
* Remove useless warningRaymond Hettinger2007-10-181-6/+0
|
* Re-order some functions whose parameters differ between PyObject and const charBrett Cannon2007-10-161-14/+14
| | | | * so that they are next to each other.
* #1199: docs for tp_as_{number,sequence,mapping}, by Amaury Forgeot d'Arc.Georg Brandl2007-10-082-15/+194
| | | | No need to merge this to py3k!
* Fix #1139: PyFile_Encoding really is PyFile_SetEncoding.Georg Brandl2007-09-121-1/+1
|