Georg Brandl
d28b9fc686
Patch #1671450 : add a section about subclassing builtin types to the
...
"extending and embedding" tutorial.
2007-03-06 10:02:47 +00:00
Andrew M. Kuchling
656aee7c44
Make examples do error checking on Py_InitModule
2006-09-27 19:23:05 +00:00
Fred Drake
45540b0922
SF bug #1193966 : Weakref types documentation misplaced
...
The information about supporting weakrefs with types defined in C extensions
is moved to the Extending & Embedding manual. Py_TPFLAGS_HAVE_WEAKREFS is
no longer mentioned since it is part of Py_TPFLAGS_DEFAULT.
2006-07-29 20:04:42 +00:00
Fred Drake
4a847888a7
document the footnote usage pattern
2006-07-29 19:09:01 +00:00
Fred Drake
84608f0c67
make the reference to older versions of the documentation a link
...
to the right page on python.org
2006-07-29 18:33:29 +00:00
Fred Drake
ec5948aae2
clean up some link markup
2006-07-16 01:21:20 +00:00
George Yoshida
b2d5af8d9e
Bug #15187702 : ext/win-cookbook.html has a broken link to distutils
2006-07-15 16:03:49 +00:00
Fred Drake
f25fa6ddb9
avoid ugly markup based on the unfortunate conversions of ">>" and "<<" to
...
guillemets; no need for magic here
2006-05-03 02:04:40 +00:00
Fred Drake
4482929734
use correct function in example
2006-02-15 06:55:57 +00:00
Martin v. Löwis
ab0f947a21
Remove .cvsignore files, as they live in svn:ignore
...
properties now.
2005-10-30 22:01:41 +00:00
Fred Drake
34fed3a3b7
fix stupid typo
2005-10-11 20:26:05 +00:00
Georg Brandl
c48a740887
bug [ 1021621 ] use first_name, not first, in code samples
2005-07-17 21:18:25 +00:00
Georg Brandl
b9ab7a584d
Oops.
2005-07-12 13:20:49 +00:00
Georg Brandl
9abfa90a6d
bug [ 1232768 ] Mistakes in online docs under "5.3 Pure Embedding"
2005-07-12 13:17:59 +00:00
Georg Brandl
b6c1bb883e
Bug #1184380 : extending&embedding example broken
2005-06-05 10:56:59 +00:00
Brett Cannon
7706c2da14
Update references specifying "Macintosh" to mean OS X semantics and not Mac OS
...
9.
Applies patch #1095802 . Thanks Jack Jansen.
2005-02-13 22:50:04 +00:00
Martin v. Löwis
d61788b9ae
Fix typo.
2005-01-03 23:42:01 +00:00
Raymond Hettinger
68804315e0
SF Patch #1093896 : miscellaneous doc typos
2005-01-01 00:28:46 +00:00
Martin v. Löwis
658b50f579
Update to VC 7.1. Will backport to 2.4.
2004-12-30 10:44:32 +00:00
Raymond Hettinger
2a216794f0
SF bug #1066036 : Typo about PyErr_WriteUnraisable()
2004-11-18 06:50:19 +00:00
Johannes Gijsbers
d345225ae5
Patch #1026384 : fix two common typo's:
...
- accomodate -> accommodate
- occured -> occurred
Thanks George Yoshida!
2004-09-11 16:50:06 +00:00
Tim Peters
3d7d372ce3
Whitespace normalization, via reindent.py.
2004-07-18 06:25:50 +00:00
Tim Peters
5960d80e11
s/it's/its/, s/NULL/NULL{}/, where appropriate.
2004-07-15 04:23:13 +00:00
Tim Peters
eda29306b3
Formalize that the Py_VISIT macro requires that the tp_traverse
...
implementation it's used in must give its arguments specific names.
2004-07-15 04:05:59 +00:00
Jim Fulton
7a0e8bc283
Updated documentation to:
...
- 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.
2004-07-14 19:07:24 +00:00
Brett Cannon
289e4cba1c
Changed applicable use of ``char *`` declarations that are passed into
...
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.
2004-06-29 03:48:23 +00:00
Brett Cannon
634893d1a3
Mention Py_RETURN_NONE when introducing the idiom of how to have a function
...
return Py_None.
2004-06-27 04:28:00 +00:00
Brett Cannon
555a96475d
Clarify sentence at end of Intermezzo section stating that PyMODINIT_FUNC will
...
be discussed later by saying it is the function return type of the sample code
to make spotting it easier.
2004-06-26 23:10:32 +00:00
Phillip J. Eby
de48307f76
Added documentation to address SF bug #963246 : limitations on multiple
...
inheritance in Python when a C type is one of the bases.
2004-06-06 15:59:18 +00:00
Fred Drake
34c43202eb
Emphasize the requirement that Python.h be included first more strongly.
...
Closes SF bug #837228 ; backporting for Python 2.3.4.
2004-03-31 07:45:46 +00:00
Neal Norwitz
d311f1fb9b
SF #894428 , fix typo
2004-02-10 18:07:16 +00:00
Fred Drake
0d8da3a622
fix some sloppy markup to use \guilabel
2004-01-23 09:01:56 +00:00
Raymond Hettinger
2619c9ec89
SF patch #838938 : Typos in the docs (Extending/Embedding + Python/C API)
...
(Contributed by Florent Rougon.)
2003-12-07 11:40:17 +00:00
Michael W. Hudson
ff1f194982
Fix the problem addressed by patch
...
[ 819012 ] Fix for former/latter confusion in Extending documentation
although not by using supplied patch.
2003-11-07 11:45:34 +00:00
Walter Dörwald
f0dfc7ac5c
Fix a bunch of typos in documentation, docstrings and comments.
...
(From SF patch #810751 )
2003-10-20 14:01:56 +00:00
Raymond Hettinger
f350160d43
Fix spacing markup and other sundries.
2003-09-08 19:01:04 +00:00
Fred Drake
a26c16c821
fix \NULL with following space and no {} (two instances)
2003-09-07 02:33:37 +00:00
Raymond Hettinger
f17d65da3a
SF patch#786531 'the the' typo. Contributed by George Yoshida
2003-08-12 00:01:16 +00:00
Fred Drake
901a41e757
normalize markup for consistency
2003-07-01 16:17:50 +00:00
Barry Warsaw
6891cd3aa3
A few minor improvements
2003-06-28 15:22:16 +00:00
Jim Fulton
6c71091fbe
Rewrote the docs for supporting cyclic garbage collection to reflect
...
the new way that once writes types.
Deleted the old section and sample code and added a new section
building on the Noddy example.
2003-06-28 13:29:16 +00:00
Jim Fulton
18a6be9748
Added tests for sample modules.
2003-06-28 11:54:40 +00:00
Jim Fulton
f0e38d1cd2
Added s setup module to make it easier to test the sample modules.
2003-06-28 11:54:20 +00:00
Jim Fulton
7050e929e6
Fixed bug in implementation of tp_init function. It should be an int
...
function, not a PyObject *.
2003-06-28 11:54:03 +00:00
Jim Fulton
4b59f9165d
Changed the assignment of PyType_GenericNew to tp_new slot. Now do
...
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.
2003-06-28 11:53:29 +00:00
Jim Fulton
db6a569de7
Changed the assignment of PyType_GenericNew to tp_new slot. Now do
...
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 *.
2003-06-28 11:53:12 +00:00
Raymond Hettinger
8fb665a51a
Fix ref counts in initialization code.
2003-05-25 17:59:38 +00:00
Raymond Hettinger
f9c2eda3c1
Fix missing parethesis.
2003-05-20 05:31:16 +00:00
Raymond Hettinger
047c54bb24
Missing parenthesis.
2003-05-16 14:36:26 +00:00
Jim Fulton
1f325562f0
Added some missing PyObject* casts in the deallocators.
...
Added some defines for PyMODINIT_FUNC so that the examples work
with Python 2.2.
I think I'm done hacking this documentation. Yippie! :)
2003-05-16 13:53:43 +00:00