summaryrefslogtreecommitdiffstats
path: root/Doc/ext/extending.tex
Commit message (Collapse)AuthorAgeFilesLines
* Make examples do error checking on Py_InitModuleAndrew M. Kuchling2006-09-271-4/+10
|
* Bug #1184380: extending&embedding example brokenGeorg Brandl2005-06-051-1/+1
|
* Update references specifying "Macintosh" to mean OS X semantics and not Mac OSBrett Cannon2005-02-131-2/+1
| | | | | | 9. Applies patch #1095802. Thanks Jack Jansen.
* SF Patch #1093896: miscellaneous doc typosRaymond Hettinger2005-01-011-4/+4
|
* Changed applicable use of ``char *`` declarations that are passed intoBrett Cannon2004-06-291-6/+6
| | | | | | | | | PyArg_ParseTuple() to ``const char *`` to match the recommendation made in section 1.3 and to support better coding habits. Section 1.8 ("Keyword Parameters for Extension Functions") and it's coding example were not touched since it is stems from an accredited source and thus did not want to step on anyone's toes.
* Mention Py_RETURN_NONE when introducing the idiom of how to have a functionBrett Cannon2004-06-271-1/+2
| | | | return Py_None.
* Clarify sentence at end of Intermezzo section stating that PyMODINIT_FUNC willBrett Cannon2004-06-261-1/+2
| | | | | be discussed later by saying it is the function return type of the sample code to make spotting it easier.
* Emphasize the requirement that Python.h be included first more strongly.Fred Drake2004-03-311-3/+6
| | | | Closes SF bug #837228; backporting for Python 2.3.4.
* Fix the problem addressed by patchMichael W. Hudson2003-11-071-1/+1
| | | | | | [ 819012 ] Fix for former/latter confusion in Extending documentation although not by using supplied patch.
* Fix spacing markup and other sundries.Raymond Hettinger2003-09-081-2/+2
|
* Fix missing parethesis.Raymond Hettinger2003-05-201-1/+1
|
* Remove another lie.Michael W. Hudson2003-02-061-4/+2
|
* Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.Mark Hammond2002-07-191-5/+8
|
* Convert the example C code to ANSI rather than K&R.Fred Drake2002-06-221-19/+17
| | | | | This matches the Python C style guide (PEP 7). Closes SF patch #571489.
* Fix broken reference, minor clarification.Fred Drake2002-05-161-8/+10
|
* Do not use PyModule_GetDict().Fred Drake2002-04-121-23/+27
| | | | | Clean up the example of exporting a C-callable API from an extension module. Add a hyperlink to a related section in the Python/C API reference.
* Update to use the new \csimplemacro macroFred Drake2002-04-091-5/+5
|
* Move reference material on PyArg_Parse*() out of the Extending & EmbeddingFred Drake2002-04-051-372/+5
| | | | | | | | document to the C API reference. Move some instructional text from the API reference to the Extending & Embedding manual. Fix the descriptions of the es and es# formats for PyArg_Parse*(). This closes SF bug #536516.
* There is no PyArg_ConvertTuple(); call it by the right name.Fred Drake2002-04-011-1/+1
| | | | This closes SF bug #537511.
* Mark a couple of types that had not been marked.Fred Drake2002-03-281-5/+5
|
* Added index entries.Fred Drake2002-03-281-0/+4
|
* Allow a page break in a code longish example.Fred Drake2002-03-281-1/+3
|
* Fixed "u#" parser marker to pass through Unicode objects as-is withoutMarc-André Lemburg2002-01-091-0/+2
| | | | | | going through the buffer interface API. Added tests for this to the _testcapi module and updated docs.
* More info about the cycle detector.Guido van Rossum2001-12-071-2/+4
|
* Trivial spelling repair on new cyclic garbage text.Tim Peters2001-12-071-2/+2
|
* Added more information about reference counting limitations and the cycleFred Drake2001-12-071-0/+27
| | | | | detector. This closes SF bug #484950.
* Clarify the description of the creation of an owned reference from an APIFred Drake2001-11-291-5/+5
| | | | | function. This closes SF bug #486657.
* Add an index entry for the discussion of PyEval_CallObject().Fred Drake2001-11-291-8/+9
| | | | This is related to SF bug #485165.
* Clean up some markup cruft. A number of the macros that take noFred Drake2001-11-281-17/+17
| | | | | | | | parameters (like \UNIX) are commonly entered using an empty group to separate the markup from a following inter-word space; this is not needed when the next character is punctuation, or the markup is the last thing in the enclosing group. These cases were marked inconsistently; the empty group is now *only* used when needed.
* Exhibit good form in C code: always provide docstrings in method tables, andFred Drake2001-11-171-11/+13
| | | | | always fill in all slots of table entries. Fixed a few minor markup errors.
* Use the \note and \warning macros where appropriate.Fred Drake2001-10-201-6/+6
|
* SF [#466125] PyLong_AsLongLong works for any integer.Tim Peters2001-09-301-0/+5
| | | | | | Generalize PyLong_AsLongLong to accept int arguments too. The real point is so that PyArg_ParseTuple's 'L' code does too. That code was undocumented (AFAICT), so documented it.
* Document the rule that Python.h must be included before any standardFred Drake2001-09-061-2/+4
| | | | headers. This is the final checkin for SF bug #458768.
* Split "Extending & Embedding" into separate files, one per chapter.Fred Drake2001-08-201-0/+1695