Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use correct function in example | Fred Drake | 2006-02-15 | 1 | -1/+1 |
| | |||||
* | Remove .cvsignore files, as they live in svn:ignore | Martin v. Löwis | 2005-10-30 | 1 | -3/+0 |
| | | | | properties now. | ||||
* | fix stupid typo | Fred Drake | 2005-10-11 | 1 | -1/+1 |
| | |||||
* | bug [ 1021621 ] use first_name, not first, in code samples | Georg Brandl | 2005-07-17 | 1 | -2/+2 |
| | |||||
* | Oops. | Georg Brandl | 2005-07-12 | 1 | -1/+1 |
| | |||||
* | bug [ 1232768 ] Mistakes in online docs under "5.3 Pure Embedding" | Georg Brandl | 2005-07-12 | 1 | -6/+4 |
| | |||||
* | Bug #1184380: extending&embedding example broken | Georg Brandl | 2005-06-05 | 1 | -1/+1 |
| | |||||
* | Update references specifying "Macintosh" to mean OS X semantics and not Mac OS | Brett Cannon | 2005-02-13 | 1 | -2/+1 |
| | | | | | | 9. Applies patch #1095802. Thanks Jack Jansen. | ||||
* | Fix typo. | Martin v. Löwis | 2005-01-03 | 1 | -2/+2 |
| | |||||
* | SF Patch #1093896: miscellaneous doc typos | Raymond Hettinger | 2005-01-01 | 1 | -4/+4 |
| | |||||
* | Update to VC 7.1. Will backport to 2.4. | Martin v. Löwis | 2004-12-30 | 1 | -54/+54 |
| | |||||
* | SF bug #1066036: Typo about PyErr_WriteUnraisable() | Raymond Hettinger | 2004-11-18 | 1 | -1/+1 |
| | |||||
* | Patch #1026384: fix two common typo's: | Johannes Gijsbers | 2004-09-11 | 1 | -1/+1 |
| | | | | | | | - accomodate -> accommodate - occured -> occurred Thanks George Yoshida! | ||||
* | Whitespace normalization, via reindent.py. | Tim Peters | 2004-07-18 | 2 | -2/+0 |
| | |||||
* | s/it's/its/, s/NULL/NULL{}/, where appropriate. | Tim Peters | 2004-07-15 | 1 | -4/+4 |
| | |||||
* | Formalize that the Py_VISIT macro requires that the tp_traverse | Tim Peters | 2004-07-15 | 1 | -33/+38 |
| | | | | implementation it's used in must give its arguments specific names. | ||||
* | Updated documentation to: | Jim Fulton | 2004-07-14 | 4 | -45/+201 |
| | | | | | | | | | - point out the importance of reassigning data members before assigning thier values - correct my missconception about return values from visitprocs. Sigh. - mention the labor saving Py_VISIT and Py_CLEAR macros. | ||||
* | Changed applicable use of ``char *`` declarations that are passed into | Brett Cannon | 2004-06-29 | 1 | -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 function | Brett Cannon | 2004-06-27 | 1 | -1/+2 |
| | | | | return Py_None. | ||||
* | Clarify sentence at end of Intermezzo section stating that PyMODINIT_FUNC will | Brett Cannon | 2004-06-26 | 1 | -1/+2 |
| | | | | | be discussed later by saying it is the function return type of the sample code to make spotting it easier. | ||||
* | Added documentation to address SF bug #963246: limitations on multiple | Phillip J. Eby | 2004-06-06 | 1 | -0/+24 |
| | | | | inheritance in Python when a C type is one of the bases. | ||||
* | Emphasize the requirement that Python.h be included first more strongly. | Fred Drake | 2004-03-31 | 1 | -3/+6 |
| | | | | Closes SF bug #837228; backporting for Python 2.3.4. | ||||
* | SF #894428, fix typo | Neal Norwitz | 2004-02-10 | 1 | -1/+1 |
| | |||||
* | fix some sloppy markup to use \guilabel | Fred Drake | 2004-01-23 | 1 | -20/+21 |
| | |||||
* | SF patch #838938: Typos in the docs (Extending/Embedding + Python/C API) | Raymond Hettinger | 2003-12-07 | 1 | -2/+2 |
| | | | | (Contributed by Florent Rougon.) | ||||
* | Fix the problem addressed by patch | Michael W. Hudson | 2003-11-07 | 1 | -1/+1 |
| | | | | | | [ 819012 ] Fix for former/latter confusion in Extending documentation although not by using supplied patch. | ||||
* | Fix a bunch of typos in documentation, docstrings and comments. | Walter Dörwald | 2003-10-20 | 1 | -1/+1 |
| | | | | (From SF patch #810751) | ||||
* | Fix spacing markup and other sundries. | Raymond Hettinger | 2003-09-08 | 1 | -2/+2 |
| | |||||
* | fix \NULL with following space and no {} (two instances) | Fred Drake | 2003-09-07 | 1 | -2/+2 |
| | |||||
* | SF patch#786531 'the the' typo. Contributed by George Yoshida | Raymond Hettinger | 2003-08-12 | 1 | -1/+1 |
| | |||||
* | normalize markup for consistency | Fred Drake | 2003-07-01 | 1 | -15/+16 |
| | |||||
* | A few minor improvements | Barry Warsaw | 2003-06-28 | 1 | -3/+4 |
| | |||||
* | Rewrote the docs for supporting cyclic garbage collection to reflect | Jim Fulton | 2003-06-28 | 5 | -103/+394 |
| | | | | | | | the new way that once writes types. Deleted the old section and sample code and added a new section building on the Noddy example. | ||||
* | Added tests for sample modules. | Jim Fulton | 2003-06-28 | 1 | -0/+121 |
| | |||||
* | Added s setup module to make it easier to test the sample modules. | Jim Fulton | 2003-06-28 | 1 | -0/+8 |
| | |||||
* | Fixed bug in implementation of tp_init function. It should be an int | Jim Fulton | 2003-06-28 | 2 | -8/+6 |
| | | | | function, not a PyObject *. | ||||
* | Changed the assignment of PyType_GenericNew to tp_new slot. Now do | Jim Fulton | 2003-06-28 | 1 | -17/+1 |
| | | | | | | this in module initialization before calling PyType_Ready. (Sorry Tim.) This is necessary to compile on cygwin. AFAIK, we support cygwin. If so, then we need to write extentions this way. | ||||
* | Changed the assignment of PyType_GenericNew to tp_new slot. Now do | Jim Fulton | 2003-06-28 | 1 | -23/+12 |
| | | | | | | | | | this in module initialization before calling PyType_Ready. (Sorry Tim.) This is necessary to compile on cygwin. AFAIK, we support cygwin. If so, then we need to write extentions this way. Fixed bug in implementation of tp_init function. It should be an int function, not a PyObject *. | ||||
* | Fix ref counts in initialization code. | Raymond Hettinger | 2003-05-25 | 3 | -0/+3 |
| | |||||
* | Fix missing parethesis. | Raymond Hettinger | 2003-05-20 | 1 | -1/+1 |
| | |||||
* | Missing parenthesis. | Raymond Hettinger | 2003-05-16 | 1 | -1/+1 |
| | |||||
* | Added some missing PyObject* casts in the deallocators. | Jim Fulton | 2003-05-16 | 3 | -2/+11 |
| | | | | | | | Added some defines for PyMODINIT_FUNC so that the examples work with Python 2.2. I think I'm done hacking this documentation. Yippie! :) | ||||
* | Added a missing PyObject* cast to the dealloc examples. | Jim Fulton | 2003-05-16 | 1 | -2/+10 |
| | | | | | Added a note that the mechanism for defining new tyoes documented here only works for Python 2.2 and higher. | ||||
* | Removed reference to the out-of-date (and not very useful) | Jim Fulton | 2003-05-16 | 1 | -23/+9 |
| | | | | | | | Objects/xxobject.c example. Updated the discussion of type checking to refer to PyObject_TypeCheck. | ||||
* | Updated simple example. This should have been checked in the other | Jim Fulton | 2003-05-12 | 1 | -45/+45 |
| | | | | day, but I missfired in CVS. | ||||
* | Fixed small typo Pointed out by Michael Hudson. | Jim Fulton | 2003-05-08 | 1 | -1/+1 |
| | |||||
* | Fixed a typo in an example dealloc routine that calls it's "self" | Jim Fulton | 2003-05-08 | 1 | -1/+1 |
| | | | | argument "obj" rather than "self". | ||||
* | Rewrote the basic section of the chapter on defining new types. | Jim Fulton | 2003-05-07 | 3 | -125/+946 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed the example to show how to create types the new way: - Use a class new method rather than a new function. - Use self->ob_type->tp_free in deallocators - Use attribute descriptors rather than set/getattr methods. - Make the type usable as a base type. I split the example into 3 parts: 1. The minimal new type 2. Adding attributes and methods. 3. Finer control over attributes. It's much simpler to define builtin types. These updates hopefully show this. I also made minor wording changes in two other places. I still need to update xxobject.c | ||||
* | Remove another lie. | Michael W. Hudson | 2003-02-06 | 1 | -4/+2 |
| | |||||
* | Rewrite awkward/ungrammatical sentence. | Greg Ward | 2003-01-08 | 1 | -3/+3 |
| | | | | Typo fix. |