Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Fix #1122: wrong return type documented for various _Size() functions. | Georg Brandl | 2007-09-12 | 1 | -4/+4 |
| | |||||
* | Backport r57105 and r57145 from the py3k branch: UTF-32 codecs. | Walter Dörwald | 2007-08-17 | 1 | -0/+73 |
| | |||||
* | Move the 2.6 reST doc tree in place. | Georg Brandl | 2007-08-15 | 11 | -0/+10023 |