summaryrefslogtreecommitdiffstats
path: root/Doc/ext
Commit message (Collapse)AuthorAgeFilesLines
* use correct function in exampleFred Drake2006-02-151-1/+1
|
* Remove .cvsignore files, as they live in svn:ignoreMartin v. Löwis2005-10-301-3/+0
| | | | properties now.
* fix stupid typoFred Drake2005-10-111-1/+1
|
* bug [ 1021621 ] use first_name, not first, in code samplesGeorg Brandl2005-07-171-2/+2
|
* Oops.Georg Brandl2005-07-121-1/+1
|
* bug [ 1232768 ] Mistakes in online docs under "5.3 Pure Embedding"Georg Brandl2005-07-121-6/+4
|
* 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.
* Fix typo.Martin v. Löwis2005-01-031-2/+2
|
* SF Patch #1093896: miscellaneous doc typosRaymond Hettinger2005-01-011-4/+4
|
* Update to VC 7.1. Will backport to 2.4.Martin v. Löwis2004-12-301-54/+54
|
* SF bug #1066036: Typo about PyErr_WriteUnraisable()Raymond Hettinger2004-11-181-1/+1
|
* Patch #1026384: fix two common typo's:Johannes Gijsbers2004-09-111-1/+1
| | | | | | | - accomodate -> accommodate - occured -> occurred Thanks George Yoshida!
* Whitespace normalization, via reindent.py.Tim Peters2004-07-182-2/+0
|
* s/it's/its/, s/NULL/NULL{}/, where appropriate.Tim Peters2004-07-151-4/+4
|
* Formalize that the Py_VISIT macro requires that the tp_traverseTim Peters2004-07-151-33/+38
| | | | implementation it's used in must give its arguments specific names.
* Updated documentation to:Jim Fulton2004-07-144-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 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.
* Added documentation to address SF bug #963246: limitations on multiplePhillip J. Eby2004-06-061-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 Drake2004-03-311-3/+6
| | | | Closes SF bug #837228; backporting for Python 2.3.4.
* SF #894428, fix typoNeal Norwitz2004-02-101-1/+1
|
* fix some sloppy markup to use \guilabelFred Drake2004-01-231-20/+21
|
* SF patch #838938: Typos in the docs (Extending/Embedding + Python/C API)Raymond Hettinger2003-12-071-2/+2
| | | | (Contributed by Florent Rougon.)
* 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 a bunch of typos in documentation, docstrings and comments.Walter Dörwald2003-10-201-1/+1
| | | | (From SF patch #810751)
* Fix spacing markup and other sundries.Raymond Hettinger2003-09-081-2/+2
|
* fix \NULL with following space and no {} (two instances)Fred Drake2003-09-071-2/+2
|
* SF patch#786531 'the the' typo. Contributed by George YoshidaRaymond Hettinger2003-08-121-1/+1
|
* normalize markup for consistencyFred Drake2003-07-011-15/+16
|
* A few minor improvementsBarry Warsaw2003-06-281-3/+4
|
* Rewrote the docs for supporting cyclic garbage collection to reflectJim Fulton2003-06-285-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 Fulton2003-06-281-0/+121
|
* Added s setup module to make it easier to test the sample modules.Jim Fulton2003-06-281-0/+8
|
* Fixed bug in implementation of tp_init function. It should be an intJim Fulton2003-06-282-8/+6
| | | | function, not a PyObject *.
* Changed the assignment of PyType_GenericNew to tp_new slot. Now doJim Fulton2003-06-281-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 doJim Fulton2003-06-281-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 Hettinger2003-05-253-0/+3
|
* Fix missing parethesis.Raymond Hettinger2003-05-201-1/+1
|
* Missing parenthesis.Raymond Hettinger2003-05-161-1/+1
|
* Added some missing PyObject* casts in the deallocators.Jim Fulton2003-05-163-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 Fulton2003-05-161-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 Fulton2003-05-161-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 otherJim Fulton2003-05-121-45/+45
| | | | day, but I missfired in CVS.
* Fixed small typo Pointed out by Michael Hudson.Jim Fulton2003-05-081-1/+1
|
* Fixed a typo in an example dealloc routine that calls it's "self"Jim Fulton2003-05-081-1/+1
| | | | argument "obj" rather than "self".
* Rewrote the basic section of the chapter on defining new types.Jim Fulton2003-05-073-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. Hudson2003-02-061-4/+2
|
* Rewrite awkward/ungrammatical sentence.Greg Ward2003-01-081-3/+3
| | | | Typo fix.