summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant sentence from c-api docs (issue #16323)Andrew Svetlov2012-11-291-4/+1
|
* Issue #16323: Fix wrong C API documentation for locale encoding.Andrew Svetlov2012-11-281-20/+24
| | | | Patch by Berker Peksag.
* Add a str class entry to the "Text Sequence Type" section (issue #16209).Chris Jerdonek2012-11-281-2/+2
| | | | | | This commit also moves the documentation for the str built-in function to the new class entry. Links to :class:`str` now go to the class entry with the string methods immediately afterwards.
* Improve str() and object.__str__() documentation (issue #13538).Chris Jerdonek2012-11-211-5/+7
|
* Merge: Remove already dropped function PySys_GetFile from documentation.Andrew Svetlov2012-10-311-6/+0
|\ | | | | | | Thanks to Daniel Müllner from docs@
| * Remove already dropped function PySys_GetFile from documentation.Andrew Svetlov2012-10-311-6/+0
| | | | | | | | Thanks to Daniel Müllner from docs@
* | Merge from 3.2: remove unneeded "Release" and "Date" markers from index pages.Chris Jerdonek2012-10-281-3/+0
|\ \ | |/
| * Remove unneeded "Release" and "Date" markers from doc index pages.Chris Jerdonek2012-10-281-3/+0
| |
* | #16127: remove outdated references to narrow builds. Patch by Serhiy Storchaka.Ezio Melotti2012-10-051-2/+0
| |
* | Fix rst markup.Ezio Melotti2012-09-201-1/+1
| |
* | Issue #15444: Use proper spelling for non-ASCII contributor names.Antoine Pitrou2012-08-111-1/+1
|\ \ | |/ | | | | Patch by Serhiy Storchaka.
| * Issue #15444: Use proper spelling for non-ASCII contributor names.Antoine Pitrou2012-08-111-1/+1
| | | | | | | | Patch by Serhiy Storchaka.
* | Issue #15610: The PyImport_ImportModuleEx macro now callsBrett Cannon2012-08-101-2/+4
| | | | | | | | | | | | | | | | | | PyImport_ImportModuleLevel() with a 'level' of 0 instead of -1 as the latter is no longer a valid value. Also added a versionchanged note for PyImport_ImportModuleLevel() just in case people don't make the connection between changes to __import__() and this C function.
* | fix docs for c-api memory functionsAndrew Svetlov2012-08-091-3/+3
|\ \ | |/
| * fix docs for c-api memory functionsAndrew Svetlov2012-08-091-3/+3
| |
* | Issues #15169, #14599: Make PyImport_ExecCodeModuleWithPathnames() useBrett Cannon2012-07-131-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | Lib/imp.py for imp.source_from_cache() instead of its own C version. Also change PyImport_ExecCodeModuleObject() to not infer the source path from the bytecode path like PyImport_ExecCodeModuleWithPathnames() does. This makes the function less magical. This also has the side-effect of removing all uses of MAXPATHLEN in Python/import.c which can cause failures on really long filenames.
* | Issue #15167 (as part of #13959): imp.get_magic() is no implemented inBrett Cannon2012-07-091-1/+4
| | | | | | | | Lib/imp.py.
* | Issue #15242: Have PyImport_GetMagicTag() return a const char *Brett Cannon2012-07-091-1/+2
| | | | | | | | | | | | | | defined in sysmodule.c instead of straight out of a Unicode object. Thanks to Amaury Forgeot d'Arc for noticing the bug and Eric Snow for writing the patch.
* | Fix a couple of versionadded/versionchanged related markup errors.Georg Brandl2012-06-241-2/+3
| |
* | Fix whitespace.Martin v. Löwis2012-06-231-1/+1
| |
* | Issue #15146: Add PyType_FromSpecWithBases. Patch by Robin Schreiber.Martin v. Löwis2012-06-231-0/+12
| |
* | Issue #12965: Merge from 3.2.Mark Dickinson2012-06-231-22/+39
|\ \ | |/
| * Issue #12965: More PyLong_As* clarifications. Thanks Stefan Krah.Mark Dickinson2012-06-231-22/+39
| |
* | Issue #12965: Merge from 3.2.Mark Dickinson2012-06-231-18/+23
|\ \ | |/
| * Issue #12965: Clean up C-API docs for PyLong_AsLongLong(AndOverflow); ↵Mark Dickinson2012-06-231-18/+23
| | | | | | | | clarify that __int__ will be called for non-PyLongs
* | Issue #12965: Merge from 3.2Mark Dickinson2012-06-231-13/+16
|\ \ | |/
| * Issue #12965: Clean up C-API docs for PyLong_AsLong(AndOverflow); clarify ↵Mark Dickinson2012-06-231-13/+16
| | | | | | | | that __int__ will be called for non-PyLongs
* | Whitespace normalizationMartin v. Löwis2012-06-221-2/+2
| |
* | Add Stable ABI documentation.Martin v. Löwis2012-06-222-0/+40
| |
* | Issue #15042: Add PyState_AddModule and PyState_RemoveModule.Martin v. Löwis2012-06-221-1/+21
| | | | | | | | | | | | Add version guard for Py_LIMITED_API additions. Issue #15081: Document PyState_FindModule. Patch by Robin Schreiber.
* | Issue #14090: fix some minor C API problems in default branch (3.3)Eli Bendersky2012-06-036-15/+9
| |
* | Issue #14424: Document PyType_GenericAlloc, and fix the documentation of ↵Eli Bendersky2012-06-031-4/+5
| | | | | | | | PyType_GenericNew
* | Issue #9260: A finer-grained import lock.Antoine Pitrou2012-05-171-7/+7
| | | | | | | | | | Most of the import sequence now uses per-module locks rather than the global import lock, eliminating well-known issues with threads and imports.
* | PEP 415: Implement suppression of __context__ display with an exception ↵Benjamin Peterson2012-05-151-7/+1
| | | | | | | | | | | | attribute This replaces the original PEP 409 implementation. See #14133.
* | Issue #14705: Add 'p' format character to PyArg_ParseTuple* for bool support.Larry Hastings2012-05-051-0/+9
| |
* | Fix location of versionaddeds and empty lines.Georg Brandl2012-04-241-3/+6
| |
* | Issue #14098: New functions PyErr_GetExcInfo and PyErr_SetExcInfo.Martin v. Löwis2012-04-191-0/+35
| | | | | | | | Patch by Stefan Behnel.
* | Fix #14600. Correct reference handling and naming of ImportError convenience ↵Brian Curtin2012-04-171-19/+4
| | | | | | | | function
* | Add versionadded tags to newly added ImportError convenience functions.Brian Curtin2012-04-161-0/+5
| |
* | Add documentation for the new PyErr_SetFromImport* functionsBrian Curtin2012-04-161-0/+18
| |
* | Issue #14386: Expose the dict_proxy internal type as types.MappingProxyTypeVictor Stinner2012-04-151-4/+4
| |
* | 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
|\ \ | |/