summaryrefslogtreecommitdiffstats
path: root/Doc/ext
Commit message (Collapse)AuthorAgeFilesLines
* Remove another lie.Michael W. Hudson2003-02-061-4/+2
|
* Rewrite awkward/ungrammatical sentence.Greg Ward2003-01-081-3/+3
| | | | Typo fix.
* Grammatical fix: change possessive "it's" to "its".Greg Ward2003-01-031-3/+3
|
* Two more typo fixes.Greg Ward2002-12-171-2/+2
|
* Typo fix.Greg Ward2002-12-171-1/+1
|
* Fix SF # 626275, missing DECREF's in embedding exampleNeal Norwitz2002-12-171-3/+8
| | | | | | | Tested w/valgrind, all paths except the return on PyInt_AsLong() failure I think I got all of these right. Backport candidate.
* Fix SF # 646578, Documentation TypoNeal Norwitz2002-12-021-1/+1
|
* Remove unused variableNeal Norwitz2002-12-021-1/+1
|
* Fix minor markup nits.Fred Drake2002-11-051-2/+2
|
* Fix peculiar (and ungrammatical) wording in an example program.Greg Ward2002-08-221-2/+2
|
* Replace DL_EXPORT with PyMODINIT_FUNCMark Hammond2002-07-311-1/+1
|
* Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.Mark Hammond2002-07-191-5/+8
|
* Change staticforward and statichere to just use static.Fred Drake2002-07-171-2/+2
| | | | Removed ^M from some line-ends.
* Remove now-obsolete staticforward/statichere discussion.Fred Drake2002-07-171-10/+2
|
* Fix a typo.Thomas Heller2002-07-041-1/+1
|
* 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.
* Typo fix.Greg Ward2002-06-211-1/+1
|
* Typo.Guido van Rossum2002-05-161-1/+1
|
* Fix broken reference, minor clarification.Fred Drake2002-05-161-8/+10
|
* Typo: build -> builtFred Drake2002-05-161-1/+1
|
* Minor wording changes, plus correct a typo.Fred Drake2002-05-141-7/+7
|
* Clean up the use of version numbers in filenames; always use an "abstract"Fred Drake2002-04-191-6/+17
| | | | | version number, and explain what it is at the top of the chapter. This closes SF bug #225003.
* Move the listing of the type structure, since both the C API reference andFred Drake2002-04-151-76/+0
| | | | the Extending & Embedding manual use it.
* Update the type of the tp_free slot.Fred Drake2002-04-121-1/+1
|
* 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.
* Change example of retrieving & calling a Python function to not useFred Drake2002-04-121-12/+9
| | | | | PyModule_GetDict(), which is also more flexible: it does not assume that the "module" is a real module.
* Change the type of the tp_dealloc back to what it really is.Fred Drake2002-04-121-2/+2
| | | | Change a section title to fit in better.
* Modernize the minimal example of an extension type.Fred Drake2002-04-121-7/+15
|
* Update the type of tp_dealloc.Fred Drake2002-04-121-1/+1
|
* 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-053-375/+115
| | | | | | | | 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.
* Remove weird spacing in typeset version of the chapter head.Fred Drake2002-04-051-1/+1
|
* Add a note warning against semicolons following PyObject_HEAD.Fred Drake2002-04-021-5/+9
| | | | Minor cleanups.
* There is no PyArg_ConvertTuple(); call it by the right name.Fred Drake2002-04-011-1/+1
| | | | This closes SF bug #537511.
* Use the right types for a couple of fields of the type structure.Fred Drake2002-03-291-2/+2
|
* Started updating information about defining attributes on types.Fred Drake2002-03-291-7/+171
| | | | | There's still a long way to go, but we're starting to see some real content in the docs.
* Mark a couple of types that had not been marked.Fred Drake2002-03-281-5/+5
|
* Added comments for more entries of the type structure in the exampleFred Drake2002-03-281-19/+19
| | | | type implementation.
* The new files included by \verbatiminput in newtypes.tex.Fred Drake2002-03-282-0/+134
|
* Move some of the longer example code to external fragments, andFred Drake2002-03-281-148/+31
| | | | | | | | | | | | | | include them using \verbatiminput. This has the advantage that pages can still break at reasonable places, and examples that go longer than a page won't get cut off. Make a few small markup adjustments for consistency. Explain that PyObject_New() is not a C function but a polymorphic beast that returns a pointer to the type that's passed as the first arg. Explain why type objects use the PyObject_VAR_HEAD.
* Added index entries.Fred Drake2002-03-281-0/+4
|
* Allow a page break in a code longish example.Fred Drake2002-03-281-1/+3
|
* Describe how to support the iterator protocol in extension types.Fred Drake2002-03-131-4/+60
| | | | This closes SF bug #420851.
* Patch #500136: Update Update ext build documentation. 2.2.1 candidate.Martin v. Löwis2002-03-094-190/+148
|
* That hasn't been my email address for a while!Michael W. Hudson2002-01-161-1/+1
|
* 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.
* Replace the "Cookbook approach" with the approach documented inFred Drake2001-12-131-15/+166
| | | | | PC/example_nt/readme.txt; this one does not rely on any external scripts. This "fixes" SF bug #221671 and most of SF bug #225003.
* Added discussion of protecting against screwing up the exception state inFred Drake2001-12-111-0/+48
| | | | an object's deallocator, including an example of how to do this.
* 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
|