Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |||||
* | Some cleanup in the docs. | Georg Brandl | 2007-12-29 | 4 | -13/+12 | |
| | ||||||
* | Patch #1583 by Adam Olsen. | Guido van Rossum | 2007-12-19 | 1 | -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 Heimes | 2007-12-18 | 1 | -1/+17 | |
| | | | | | | platforms). The patch unifies float("inf") and repr(float("inf")) on all platforms. | |||||
* | Add another GHOP student to ACKS. | Georg Brandl | 2007-12-06 | 1 | -2/+2 | |
| | ||||||
* | Fix markup. | Georg Brandl | 2007-12-05 | 1 | -1/+1 | |
| | ||||||
* | Add documentation for PySys_* functions. | Georg Brandl | 2007-12-02 | 2 | -2/+60 | |
| | | | | Written by Charlie Shepherd for GHOP. Also fixes #1245. | |||||
* | Document PyEval_* functions from ceval.c. | Georg Brandl | 2007-12-01 | 3 | -0/+134 | |
| | | | | Credits to Michael Sloan from GHOP. | |||||
* | Add versionadded tags missing in r59254. Do NOT merge to Py3k. | Georg Brandl | 2007-12-01 | 1 | -0/+6 | |
| | ||||||
* | Feature #1534 | Christian Heimes | 2007-12-01 | 1 | -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 Brandl | 2007-11-02 | 1 | -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 Brandl | 2007-10-21 | 1 | -1/+1 | |
| | ||||||
* | Remove useless warning | Raymond Hettinger | 2007-10-18 | 1 | -6/+0 | |
| | ||||||
* | Re-order some functions whose parameters differ between PyObject and const char | Brett Cannon | 2007-10-16 | 1 | -14/+14 | |
| | | | | * so that they are next to each other. | |||||
* | #1199: docs for tp_as_{number,sequence,mapping}, by Amaury Forgeot d'Arc. | Georg Brandl | 2007-10-08 | 2 | -15/+194 | |
| | | | | No need to merge this to py3k! | |||||
* | Fix #1139: PyFile_Encoding really is PyFile_SetEncoding. | Georg Brandl | 2007-09-12 | 1 | -1/+1 | |
| |