summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
Commit message (Collapse)AuthorAgeFilesLines
* Issue #14328: Add keyword-only parameters to PyArg_ParseTupleAndKeywords.Larry Hastings2012-03-201-0/+9
| | | | | | They're optional-only for now (unlike in pure Python) but that's all I needed. The syntax can easily be relaxed if we want to support required keyword-only arguments for extension types in the future.
* Issue #14181: Improve clarity in the documentation for the multi-purposeStefan Krah2012-03-062-23/+45
| | | | Py_buffer.obj field.
* Add PyMemoryView_FromMemory() to whatsnew/3.3.Stefan Krah2012-02-291-0/+2
|
* Some corrections for the Doc/extending documentation. Closes #14129Eli Bendersky2012-02-271-1/+2
|
* Close issue #6210: Implement PEP 409Nick Coghlan2012-02-261-6/+13
|
* - Issue #10181: New memoryview implementation fixes multiple ownershipStefan Krah2012-02-253-204/+398
| | | | | | | | | | | | | | | | | | and lifetime issues of dynamically allocated Py_buffer members (#9990) as well as crashes (#8305, #7433). Many new features have been added (See whatsnew/3.3), and the documentation has been updated extensively. The ndarray test object from _testbuffer.c implements all aspects of PEP-3118, so further development towards the complete implementation of the PEP can proceed in a test-driven manner. Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review and many ideas. - Issue #12834: Fix incorrect results of memoryview.tobytes() for non-contiguous arrays. - Issue #5231: Introduce memoryview.cast() method that allows changing format and shape without making a copy of the underlying memory.
* write versionaddedBenjamin Peterson2012-02-201-0/+4
|
* add generic implementation of a __dict__ descriptor for C typesBenjamin Peterson2012-02-202-1/+12
|
* Fix error handling in examples of C API use.Antoine Pitrou2012-01-271-11/+25
|\
| * Fix error handling in examples of C API use.Antoine Pitrou2012-01-271-11/+25
| |
* | Issue #12949: Document the kwonlyargcount argument for the PyCode_New C API ↵Meador Inge2012-01-201-1/+1
|\ \ | |/ | | | | function.
| * Issue #12949: Document the kwonlyargcount argument for the PyCode_New C API ↵Meador Inge2012-01-201-1/+1
| | | | | | | | function.
* | Issue #13727: Add 3 macros to access PyDateTime_Delta members:Amaury Forgeot d'Arc2012-01-171-0/+25
| | | | | | | | | | | | | | PyDateTime_DELTA_GET_DAYS, PyDateTime_DELTA_GET_SECONDS, PyDateTime_DELTA_GET_MICROSECONDS. Please use them instead of directly accessing PyDateTime_Delta struct members.
* | use full unicode mappings for upper/lower/title case (#12736)Benjamin Peterson2012-01-111-0/+9
| | | | | | | | Also broaden the category of characters that count as lowercase/uppercase.
* | merge with 3.2Sandro Tosi2012-01-071-1/+1
|\ \ | |/
| * Py_SetPythonHome() can be called before Py_Initialize(); thanks to Cody ↵Sandro Tosi2012-01-071-1/+1
| | | | | | | | Smith from docs@
* | Fix PyUnicode_Fill() doc: return type is Py_ssize_t, not intVictor Stinner2012-01-041-1/+1
| |
* | Add a new PyUnicode_Fill() functionVictor Stinner2012-01-031-0/+15
| | | | | | | | | | It is faster than the unicode_fill() function which was implemented in formatter_unicode.c.
* | Issue #13617: Document that the result of the conversion of a Unicode object toVictor Stinner2011-12-181-13/+24
|\ \ | |/ | | | | | | | | wchar*, Py_UNICODE* and bytes may contain embedded null characters/bytes. Patch written by Arnaud Calmettes.
| * Issue #13617: Document that the result of the conversion of a Unicode object toVictor Stinner2011-12-181-9/+19
| | | | | | | | | | | | wchar*, Py_UNICODE* and bytes may contain embedded null characters/bytes. Patch written by Arnaud Calmettes.
| * Issue #13522: Fix _Py_co_pow() documentationVictor Stinner2011-12-181-1/+1
| | | | | | | | Patch written by Arnaud Calmettes.
* | Issue #13522: Fix _Py_co_pow() documentationVictor Stinner2011-12-181-1/+1
| | | | | | | | Patch written by Arnaud Calmettes.
* | Issue #13522: document error return values of some float and complex C API ↵Antoine Pitrou2011-12-182-1/+9
|\ \ | |/ | | | | functions.
| * Issue #13522: document error return values of some float and complex C API ↵Antoine Pitrou2011-12-182-1/+9
| | | | | | | | functions.
* | Issue #13560: Add PyUnicode_EncodeLocale()Victor Stinner2011-12-171-1/+24
| | | | | | | | | | | | * Use PyUnicode_EncodeLocale() in time.strftime() if wcsftime() is not available * Document my last changes in Misc/NEWS
* | Add PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale()Victor Stinner2011-12-161-0/+40
| | | | | | | | | | | | | | | | | | | | | | * PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale() decode a string from the current locale encoding * _Py_char2wchar() writes an "error code" in the size argument to indicate if the function failed because of memory allocation failure or because of a decoding error. The function doesn't write the error message directly to stderr. * Fix time.strftime() (if wcsftime() is missing): decode strftime() result from the current locale encoding, not from the filesystem encoding.
* | Issue #6695: Full garbage collection runs now clear the freelist of set objects.Antoine Pitrou2011-12-161-0/+7
| | | | | | | | Initial patch by Matthias Troffaes.
* | Make PyUnicode_Copy() private => _PyUnicode_Copy()Victor Stinner2011-12-121-7/+0
| | | | | | | | | | | | Undocument the function. Make also decode_utf8_errors() as private (static).
* | Document PyUnicode_Copy() and PyUnicode_EncodeCodePage()Victor Stinner2011-12-081-1/+17
| |
* | c-api: Replace PyUnicodeObject* by PyObject* in "U" format docVictor Stinner2011-12-011-1/+1
| |
* | PEP 3155 / issue #13448: Qualified name for classes and functions.Antoine Pitrou2011-11-251-0/+10
| |
* | fix some typos in Doc/c-api/memoryview.rstEli Bendersky2011-11-251-2/+2
|\ \ | |/
| * fix some typos in Doc/c-api/memoryview.rstEli Bendersky2011-11-251-2/+2
| |
* | Document PyUnicode_WCHAR_KINDVictor Stinner2011-11-201-1/+2
| |
* | Issue #13389: Full garbage collection passes now clear the freelists forAntoine Pitrou2011-11-142-0/+14
| | | | | | | | | | list and dict objects. They already cleared other freelists in the interpreter.
* | Add missing prefixesAntoine Pitrou2011-10-221-2/+2
| |
* | Elaborate on representations and canonical/legacy unicode objectsAntoine Pitrou2011-10-221-1/+15
| |
* | Move deprecated functions at the end of their respective sections.Antoine Pitrou2011-10-221-122/+122
| |
* | Merge with 3.2.Ezio Melotti2011-10-192-3/+3
|\ \ | |/
| * Remove duplication.Ezio Melotti2011-10-191-2/+2
| |
* | Update index entriesAntoine Pitrou2011-10-121-3/+17
| |
* | Update the C-API docs for exception typesAntoine Pitrou2011-10-121-59/+110
| |
* | Merge issue #13145 fix.Mark Dickinson2011-10-111-4/+4
|\ \ | |/
| * Issue #13145. Fix incorrect documentation for PyNumber_ToBase. Thanks Sven ↵Mark Dickinson2011-10-111-4/+4
| | | | | | | | Marnach.
* | Fix indentation.Martin v. Löwis2011-10-071-1/+1
| |
* | Change PyUnicode_KIND to 1,2,4. Drop _KIND_SIZE and _CHARACTER_SIZE.Martin v. Löwis2011-10-071-21/+3
| |
* | Update C API docs for PEP 393.Georg Brandl2011-10-073-99/+513
| |
* | Add versionadded directive to new API function.Georg Brandl2011-09-281-0/+2
| |
* | Implement PEP 393.Martin v. Löwis2011-09-281-0/+9
| |
* | Merge doc changes from 3.2.Éric Araujo2011-09-011-2/+2
|\ \ | |/ | | | | | | rstlint complains about packaging docs but I’m working on those in another patch.