summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
Commit message (Collapse)AuthorAgeFilesLines
* bpo-29746: Update marshal docs to Python 3. (#547)Serhiy Storchaka2017-03-121-4/+4
|
* fix minor bug in pymalloc. (#335)INADA Naoki2017-02-271-1/+1
| | | reported by Alexis Lopez-Garcia.
* Issue #27867: Function PySlice_GetIndicesEx() is deprecated and replaced withSerhiy Storchaka2017-01-251-0/+37
|\ | | | | | | | | | | a macro if Py_LIMITED_API is not set or set to the value between 0x03050400 and 0x03060000 (not including) or 0x03060100 or higher. Added functions PySlice_Unpack() and PySlice_AdjustIndices().
* | Issue #28769: The result of PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8()Serhiy Storchaka2017-01-221-2/+8
| | | | | | | | is now of type "const char *" rather of "char *".
* | Issue #29292: Merge 3.6.Xiang Zhang2017-01-201-2/+3
|\ \ | |/
| * Issue #29292: Merge 3.5.Xiang Zhang2017-01-201-2/+3
| |\
| | * Issue #29292: Update outdated doc of PyEval_EvalCodeEx.Xiang Zhang2017-01-201-2/+3
| | | | | | | | | | | | Patch by Ammar Askar.
* | | Issue #15657: Merge METH_KEYWORDS doc from 3.6Martin Panter2017-01-111-4/+3
|\ \ \ | |/ /
| * | Issue #15657: Merge other doc fix from 3.5Martin Panter2017-01-111-1/+1
| |\ \ | | |/
| | * Issue #15657: METH_KEYWORDS cannot be used alone in Python 3Martin Panter2017-01-111-1/+1
| | |
| * | Issue #15657: Delete incorrect statement from PyMethodDef documentationMartin Panter2017-01-111-3/+2
| | | | | | | | | | | | Patch by Berker Peksag.
* | | Issue #29087: Removed the documentation of non-existing UCS4 support functions.Serhiy Storchaka2016-12-281-20/+0
|\ \ \ | |/ /
| * | Issue #29087: Removed the documentation of non-existing UCS4 support functions.Serhiy Storchaka2016-12-281-20/+0
| |\ \ | | |/
| | * Issue #29087: Removed the documentation of non-existing UCS4 support functions.Serhiy Storchaka2016-12-281-20/+0
| | |
* | | Merge from 3.6.Serhiy Storchaka2016-12-251-1/+1
|\ \ \ | |/ /
| * | Merge from 3.5.Serhiy Storchaka2016-12-251-1/+1
| |\ \ | | |/
| | * Issue #29068: Fixed a typo in PyErr_Fetch example.Serhiy Storchaka2016-12-251-1/+1
| | | | | | | | | | | | Patch by Chi Hsuan Yen.
* | | Issue #28822: Adjust indices handling of PyUnicode_FindChar().Xiang Zhang2016-12-201-0/+3
| | |
* | | Issue #29009: Merge 3.6.Xiang Zhang2016-12-191-4/+0
|\ \ \ | |/ /
| * | Issue #29009: Merge 3.5.Xiang Zhang2016-12-191-4/+0
| |\ \ | | |/
| | * Issue #29009: Remove outdated doc of PyUnicode_RichCompare.Xiang Zhang2016-12-191-4/+0
| | |
* | | Issue #28771: Merge C API doc fix from 3.6Martin Panter2016-12-101-5/+7
|\ \ \ | |/ /
| * | Issue #28771: Merge C API doc fix from 3.5Martin Panter2016-12-101-5/+7
| |\ \ | | |/
| | * Issue #28771: Update tp_get/setattr signature documentationMartin Panter2016-12-101-5/+7
| | |
* | | Uniformize argument names of "call" functionsVictor Stinner2016-12-061-27/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #28838: Rename parameters of the "calls" functions of the Python C API. * Rename 'callable_object' and 'func' to 'callable': any Python callable object is accepted, not only Python functions * Rename 'method' and 'nameid' to 'name' (method name) * Rename 'o' to 'obj' * Move, fix and update documentation of PyObject_CallXXX() functions in abstract.h * Update also the documentaton of the C API (update parameter names)
* | | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.Serhiy Storchaka2016-12-051-2/+1
|\ \ \ | |/ /
| * | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.Serhiy Storchaka2016-12-051-2/+1
| |\ \ | | |/
| | * Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.Serhiy Storchaka2016-12-051-2/+1
| | |
* | | Remove CALL_PROFILE special buildVictor Stinner2016-11-281-40/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #28799: * Remove the PyEval_GetCallStats() function. * Deprecate the untested and undocumented sys.callstats() function. * Remove the CALL_PROFILE special build Use the sys.setprofile() function, cProfile or profile module to profile function calls.
* | | Issue #28761: The fields name and doc of structures PyMemberDef, PyGetSetDef,Serhiy Storchaka2016-11-221-5/+5
|/ / | | | | | | | | PyStructSequence_Field, PyStructSequence_Desc, and wrapperbase are now of type "const char *" rather of "char *".
* | Issue #28750: Fixed docs of of unicode-escape an raw-unicode-escape C API.Serhiy Storchaka2016-11-201-7/+5
|\ \ | |/ | | | | Patch by Xiang Zhang.
| * Issue #28750: Fixed docs of of unicode-escape an raw-unicode-escape C API.Serhiy Storchaka2016-11-201-7/+5
| | | | | | | | Patch by Xiang Zhang.
* | Issue #19569: Suggested more appropriate replacements for deprecated UnicodeSerhiy Storchaka2016-11-201-17/+22
|\ \ | |/ | | | | C API functions.
| * Issue #19569: Suggested more appropriate replacements for deprecated UnicodeSerhiy Storchaka2016-11-201-17/+22
| | | | | | | | C API functions.
* | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵Serhiy Storchaka2016-11-161-0/+6
|\ \ | |/ | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions.
| * Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵Serhiy Storchaka2016-11-161-0/+6
| | | | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions.
* | Issue #28635: Fix a couple of missing/incorrect versionchanged tagsYury Selivanov2016-11-101-1/+1
| | | | | | | | Patch by Elvis Pranskevichus.
* | Issue #28496: Mark up constants 0, 1 and -1 that denote return values orSerhiy Storchaka2016-10-2712-64/+64
|\ \ | |/ | | | | special input values as literal text.
| * Issue #28496: Mark up constants 0, 1 and -1 that denote return values orSerhiy Storchaka2016-10-2712-64/+64
| | | | | | | | special input values as literal text.
* | Issue #19795: Improved more markups of True/False.Serhiy Storchaka2016-10-191-2/+2
|\ \ | |/
| * Issue #19795: Improved more markups of True/False.Serhiy Storchaka2016-10-191-2/+2
| |
* | Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-192-7/+7
|\ \ | |/
| * Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-192-7/+7
| |
* | Issue #28432: Merge from 3.5Berker Peksag2016-10-161-1/+1
|\ \ | |/
| * Issue #28432: Fix first parameter name in PyUnicode_EncodeLocale documentationBerker Peksag2016-10-161-1/+1
| | | | | | | | Patch by Xiang Zhang.
* | Merge from 3.5.Serhiy Storchaka2016-10-081-3/+6
|\ \ | |/
| * Issue #28379: Added sanity checks and tests for PyUnicode_CopyCharacters().Serhiy Storchaka2016-10-081-3/+6
| | | | | | | | Patch by Xiang Zhang.
* | Issue #18287: PyType_Ready() now checks that tp_name is not NULL.Serhiy Storchaka2016-10-071-1/+2
|\ \ | |/ | | | | Original patch by Niklas Koep.
| * Issue #18287: PyType_Ready() now checks that tp_name is not NULL.Serhiy Storchaka2016-10-071-1/+2
| | | | | | | | Original patch by Niklas Koep.
* | Issue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().Serhiy Storchaka2016-10-021-1/+1
|\ \ | |/ | | | | Original patch by Xiang Zhang.