Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue 9024: Added :cdata: tag to PyDateTimeAPI | Alexander Belopolsky | 2010-06-26 | 1 | -1/+2 |
| | |||||
* | Issue #9024: Fixed mark-up for PyDateTime_IMPORT macro and added that | Alexander Belopolsky | 2010-06-26 | 1 | -3/+3 |
| | | | | | it is typically used in module initialization function. Thanks Tim Golden for the patch. | ||||
* | #8993: fix reference. | Georg Brandl | 2010-06-14 | 1 | -1/+1 |
| | |||||
* | #5753: Suggest PySys_SetArgvEx() instead of PySys_SetArgv() | Andrew M. Kuchling | 2010-06-11 | 1 | -4/+4 |
| | |||||
* | Issue #5753: A new C API function, :cfunc:`PySys_SetArgvEx`, allows | Antoine Pitrou | 2010-05-21 | 1 | -5/+33 |
| | | | | | | embedders of the interpreter to set sys.argv without also modifying sys.path. This helps fix `CVE-2008-5983 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5983>`_. | ||||
* | Issue #8711: add paragraph titles to c-api/unicode.rst | Victor Stinner | 2010-05-14 | 1 | -27/+54 |
| | | | | (Python2 doesn't have PyUnicode_DecodeFSDefault*() functions) | ||||
* | rip out mention of types.ListType #8703 | Benjamin Peterson | 2010-05-13 | 1 | -5/+2 |
| | |||||
* | Issue #8227: Fix C API documentation, argument parsing | Victor Stinner | 2010-04-03 | 1 | -10/+10 |
| | | | | | * 'z', 'z#', 'z*' does also accept Unicode * unify types name: replace "string or Unicode objet" by "string or Unicode" | ||||
* | Document PyImport_ExecCodeModuleEx(). | Georg Brandl | 2010-04-02 | 1 | -0/+9 |
| | |||||
* | Backported PyCapsule from 3.1, and converted most uses of | Larry Hastings | 2010-03-25 | 3 | -1/+155 |
| | | | | CObject to PyCapsule. | ||||
* | Fix warnings from "make check". | Georg Brandl | 2010-03-12 | 2 | -2/+2 |
| | |||||
* | #8044: document Py_{Enter,Leave}RecursiveCall functions. | Georg Brandl | 2010-03-07 | 1 | -0/+30 |
| | |||||
* | #8085: The function is called PyObject_NewVar, not PyObject_VarNew. | Georg Brandl | 2010-03-07 | 2 | -2/+2 |
| | |||||
* | Use the correct markup for args | Ezio Melotti | 2010-01-30 | 1 | -7/+7 |
| | |||||
* | Relocate a couple of stars and remove redundant backticks | Ezio Melotti | 2010-01-30 | 1 | -4/+4 |
| | |||||
* | Issue #7767: Add new C-API function PyLong_AsLongLongAndOverflow, a | Mark Dickinson | 2010-01-30 | 1 | -0/+13 |
| | | | | | long long variant of PyLong_AsLongAndOverflow. Patch by Case Van Horsen. | ||||
* | Fix description for Py_GetPath(); it sounded like it always returned sys.path. | Georg Brandl | 2010-01-07 | 1 | -8/+9 |
| | |||||
* | :stmt: -> :keyword: | Ezio Melotti | 2010-01-03 | 1 | -1/+1 |
| | |||||
* | Correct documentation for s* z* and w*, the argument that should be passed | Gregory P. Smith | 2010-01-02 | 1 | -3/+3 |
| | | | | is the address of a Py_buffer, not a Py_buffer *. | ||||
* | check if the attribute is set before deleting it with T_OBJECT_EX (fixes #7604) | Benjamin Peterson | 2009-12-30 | 1 | -1/+4 |
| | | | | | Also, add a note to the docs about the better behavior of T_OBJECT_EX as compared to T_OBJECT. | ||||
* | #7033: add new API function PyErr_NewExceptionWithDoc, for easily giving new ↵ | Georg Brandl | 2009-12-28 | 1 | -0/+9 |
| | | | | exceptions a docstring. | ||||
* | #7577: fix signature of PyBuffer_FillInfo(). | Georg Brandl | 2009-12-28 | 1 | -1/+1 |
| | |||||
* | Issue #7528: Backport PyLong_AsLongAndOverflow from py3k to trunk. | Mark Dickinson | 2009-12-21 | 1 | -0/+13 |
| | | | | Thanks Case Van Horsen for the patch. | ||||
* | #7388: "python".capitalize() in the Doc | Ezio Melotti | 2009-12-19 | 1 | -2/+2 |
| | |||||
* | #7521: remove Py_GetBuildNumber(), which was removed in favor of ↵ | Georg Brandl | 2009-12-19 | 1 | -9/+0 |
| | | | | Py_GetBuildInfo(). | ||||
* | Issue #7228: Add '%lld' and '%llu' support to PyFormat_FromString, | Mark Dickinson | 2009-11-15 | 2 | -0/+32 |
| | | | | PyFormat_FromStringV and PyErr_Format. | ||||
* | Deprecate PyOS_ascii_strtod and PyOS_ascii_atof, and document the ↵ | Mark Dickinson | 2009-10-31 | 1 | -2/+43 |
| | | | | replacement function PyOS_string_to_double. | ||||
* | Issue #7169: Document PyFloat_AsString and PyFloat_AsReprString, and note ↵ | Eric Smith | 2009-10-19 | 1 | -0/+24 |
| | | | | that they are unsafe and deprecated. | ||||
* | #6881 - fixed wrong return type; improved the formatting | Ezio Melotti | 2009-09-20 | 1 | -10/+19 |
| | |||||
* | #6930: clarify description about byteorder handling in UTF decoder routines. | Georg Brandl | 2009-09-18 | 1 | -12/+17 |
| | |||||
* | Fix issue #1590864, multiple threads and fork() can cause deadlocks, by | Thomas Wouters | 2009-09-16 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | | | | | | | | acquiring the import lock around fork() calls. This prevents other threads from having that lock while the fork happens, and is the recommended way of dealing with such issues. There are two other locks we care about, the GIL and the Thread Local Storage lock. The GIL is obviously held when calling Python functions like os.fork(), and the TLS lock is explicitly reallocated instead, while also deleting now-orphaned TLS data. This only fixes calls to os.fork(), not extension modules or embedding programs calling C's fork() directly. Solving that requires a new set of API functions, and possibly a rewrite of the Python/thread_*.c mess. Add a warning explaining the problem to the documentation in the mean time. This also changes behaviour a little on AIX. Before, AIX (but only AIX) was getting the import lock reallocated, seemingly to avoid this very same problem. This is not the right approach, because the import lock is a re-entrant one, and reallocating would do the wrong thing when forking while holding the import lock. Will backport to 2.6, minus the tiny AIX behaviour change. | ||||
* | Py_SetPythonHome uses static storage #6913 | Benjamin Peterson | 2009-09-15 | 1 | -0/+4 |
| | |||||
* | #6821: fix signature of PyBuffer_Release(). | Georg Brandl | 2009-09-02 | 1 | -2/+2 |
| | |||||
* | #6658: fix two typos. | Georg Brandl | 2009-08-06 | 1 | -2/+2 |
| | |||||
* | #6336: Add nb_divide. | Georg Brandl | 2009-07-29 | 1 | -0/+1 |
| | |||||
* | builtin -> built-in. | Georg Brandl | 2009-07-26 | 3 | -6/+6 |
| | |||||
* | Dont put "void" in signature for nullary functions. | Georg Brandl | 2009-07-24 | 7 | -9/+10 |
| | |||||
* | Fix arg types of et#. | Georg Brandl | 2009-07-24 | 1 | -1/+1 |
| | |||||
* | Fix style. | Georg Brandl | 2009-07-11 | 1 | -4/+4 |
| | |||||
* | #6255: document PyInt_FromSize_t. | Georg Brandl | 2009-06-17 | 1 | -0/+9 |
| | |||||
* | #5967: note that the C slicing APIs do not support negative indices. | Georg Brandl | 2009-06-04 | 1 | -4/+6 |
| | |||||
* | fix signature | Benjamin Peterson | 2009-05-31 | 1 | -1/+1 |
| | |||||
* | Fix some more small markup problems. | Georg Brandl | 2009-05-30 | 1 | -5/+5 |
| | |||||
* | Issue 5954, PyFrame_GetLineNumber: | Jeffrey Yasskin | 2009-05-08 | 1 | -0/+5 |
| | | | | | | | | | | | | | | Most uses of PyCode_Addr2Line (http://www.google.com/codesearch?q=PyCode_Addr2Line) are just trying to get the line number of a specified frame, but there's no way to do that directly. Forcing people to go through the code object makes them know more about the guts of the interpreter than they should need. The remaining uses of PyCode_Addr2Line seem to be getting the line from a traceback (for example, http://www.google.com/codesearch/p?hl=en#u_9_nDrchrw/pygame-1.7.1release/src/base.c&q=PyCode_Addr2Line), which is replaced by the tb_lineno field. So we may be able to deprecate PyCode_Addr2Line entirely for external use. | ||||
* | PyCode_NewEmpty: | Jeffrey Yasskin | 2009-05-08 | 2 | -0/+51 |
| | | | | | | | | Most uses of PyCode_New found by http://www.google.com/codesearch?q=PyCode_New are trying to build an empty code object, usually to put it in a dummy frame object. This patch adds a PyCode_NewEmpty wrapper which lets the user specify just the filename, function name, and first line number, instead of also requiring lots of code internals. | ||||
* | Issue #5920: Changed format.__float__ and complex.__float__ to use a ↵ | Eric Smith | 2009-05-05 | 1 | -4/+4 |
| | | | | precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson. | ||||
* | #5840: dont claim we dont support TLS. | Georg Brandl | 2009-04-27 | 1 | -4/+3 |
| | |||||
* | Demote warnings to notices where appropriate, following the goal that as few ↵ | Georg Brandl | 2009-04-27 | 1 | -1/+1 |
| | | | | | | "red box" warnings should clutter the docs as possible. Part 1: stuff that gets merged to Py3k. | ||||
* | Note that the caller is resposible for freeing the result of ↵ | Eric Smith | 2009-04-26 | 1 | -1/+2 |
| | | | | PyOS_double_to_string. | ||||
* | Mostly formatting nits, and "and-ed together" -> "or-ed together" flags. | Georg Brandl | 2009-04-26 | 1 | -22/+23 |
| |