summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
Commit message (Collapse)AuthorAgeFilesLines
* 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 #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 #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: Mark up None as literal text.Serhiy Storchaka2016-10-192-7/+7
|
* Issue #28432: Fix first parameter name in PyUnicode_EncodeLocale documentationBerker Peksag2016-10-161-1/+1
| | | | Patch by Xiang Zhang.
* 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 #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().Serhiy Storchaka2016-10-021-1/+1
| | | | Original patch by Xiang Zhang.
* Issue #27740: Fix typo in Py_CompileStringExFlagsBerker Peksag2016-09-281-1/+1
|
* Issues #25909, #28211: Restored correct documentation of PyMapping_Items,Serhiy Storchaka2016-09-261-7/+6
| | | | PyMapping_Keys and PyMapping_Values. Based on patch by Xiang Zhang.
* Issue #25270: Prevent codecs.escape_encode() from raising SystemError when ↵Berker Peksag2016-09-161-1/+1
| | | | an empty bytestring is passed
* Closes #22731: Documents change of console mode.Steve Dower2016-09-091-0/+4
|
* [backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder".Senthil Kumaran2016-09-071-4/+4
|
* Issue #27782: Fix m_methods handling in multiphase initNick Coghlan2016-08-211-1/+1
| | | | | | | | Multi-phase extension module import now correctly allows the ``m_methods`` field to be used to add module level functions to instances of non-module types returned from ``Py_create_mod``. Patch by Xiang Zhang.
* Issue #12946: Document that PyModule_GetDict can fail in some casesBerker Peksag2016-08-191-4/+7
|
* Issue #24637: Document that locals can be any mapping objectBerker Peksag2016-08-131-8/+9
| | | | | | | This behavior is already tested in test_general_eval in Lib/test/test_builtin.py Patch by Matthew Keeter.
* Issue #24278: Explain how argument parsing output buffers are managedMartin Panter2016-08-031-14/+19
|
* Issue #27481: Docummented that ValueError is now raised instead of TypeErrorSerhiy Storchaka2016-07-122-6/+22
| | | | in case of embedded null characters/bytes. Patch by Xiang Zhang.
* Add versionadded to PyDict_SetDefault documentationBerker Peksag2016-07-051-0/+1
| | | | It was added for Python 3.4 in a0b750ea3397.
* Issue #24314: Fix doc links for general attributes like __name__, __dict__Martin Panter2016-06-182-4/+4
|
* Issue #15657: Delete incorrect statement from PyMethodDef documentationBerker Peksag2016-06-121-3/+2
|
* [Issue 15476] Make "code object" its own entry in the indexTommy Beadle2016-06-021-4/+2
|
* note that Py_VISIT handles NULL (closes #27183)Benjamin Peterson2016-06-021-3/+4
|
* Issue #27125: Remove duplicated words from documentation and commentsMartin Panter2016-05-301-1/+1
|
* Issue #25533: Update documentation regarding the frozen modules tableMartin Panter2016-05-151-1/+1
| | | | | * "ctypes" documentation was using Python 2 bytes-str equivalence. * PyImport_FrozenModules is a pointer to const as of Python 3.4
* improve PyFunction_New docs (closes #26986)Benjamin Peterson2016-05-101-2/+3
| | | | Patch from Xiang Zhang.
* Issue #26736: Used HTTPS for external links in the documentation if possible.Serhiy Storchaka2016-05-071-1/+1
|
* Issue #18353: Remove PyUnicode_WRITE_CHAR macro link from c-api/unicode.rstBerker Peksag2016-04-241-2/+1
| | | | Patch by Corey Brune.
* Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-172-5/+5
|
* Issue #26760: Minimally document PyFrameObjectBrett Cannon2016-04-151-1/+7
|
* Issue #15984: Correct PyUnicode_FromObject() and _FromEncodedObject() docsMartin Panter2016-04-151-5/+7
|
* Correct “an” → “a” with “Unicode”, “user”, “UTF”, etcMartin Panter2016-04-155-8/+8
| | | | This affects documentation, code comments, and a debugging messages.
* Issue #26516: Enhance Python mem allocators docVictor Stinner2016-03-091-43/+77
| | | | | | | * add link to PYTHONMALLOCSTATS env var * add parameters to PyMem macros like PyMem_MALLOC() * fix PyMem_SetupDebugHooks(): add Calloc functions * add some newlines for readability
* Issue #22836: Keep exception reports sensible despite errorsMartin Panter2016-02-281-2/+2
|
* Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similarMartin Panter2016-02-102-2/+2
| | | | | The original form is incorrect grammar and feels awkward, even though the meaning is clear.
* Issue #26198: Fixed error messages for some argument parsing errors.Serhiy Storchaka2016-02-071-1/+2
| | | | | Fixed the documented about buffer overflow error for "es#" and "et#" format units.
* Add a link to PEP 384 in stable.rstBerker Peksag2016-01-281-1/+1
|
* issue25909 - Correct the documentation of PyMapping_Items, PyMapping_Keys andSenthil Kumaran2016-01-211-7/+7
| | | | | | PyMapping_Values in Include/abstract.h and Doc/c-api/mapping.rst. Patch contributed by Sonali Gupta.
* Issue #12484: Remove a mention of Py_InitModule() and ↵Brett Cannon2015-12-271-5/+0
| | | | | | | _PyImport_FixupExtension(). Thanks to Alejandro Santos for the bug report and Anish Shah for the patch.
* Issue #25701: Document C API functions that both set and delete objectsMartin Panter2015-12-083-19/+40
| | | | | | Also document that the separate functions that delete objects are preferred; using PyObject_SetAttr(), _SetAttrString(), and PySequence_SetItem() to delete is deprecated.
* Issue #25706: Fixed markup in the documentation.Serhiy Storchaka2015-11-231-1/+1
|\
| * Issue #25706: Fixed markup in the documentation.Serhiy Storchaka2015-11-231-1/+1
| |
* | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5Martin Panter2015-11-021-1/+1
|\ \ | |/
| * Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-1/+1
| | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar.
* | Issue #25161: Merge full stops from 3.4 into 3.5Martin Panter2015-10-103-3/+3
|\ \ | |/
| * Issue #25161: Add full stops in documentation; patch by Takase ArihiroMartin Panter2015-10-103-3/+3
| |
* | Issue #24808: Merge 3.4 into 3.5; adjust new tp_as_async fieldMartin Panter2015-08-251-5/+5
|\ \ | |/
| * Issue #24808: Update the documentation of some PyTypeObject fieldsMartin Panter2015-08-251-5/+5
| | | | | | | | Patch by Joseph Weston.