Martin Panter
8d496add74
Issue #27171 : Fix typos in documentation, code comments, and tests
2016-06-02 10:35:44 +00:00
Benjamin Peterson
c49372b080
add a warning about bgen being removed
2008-06-01 19:01:25 +00:00
Benjamin Peterson
5b63acd31e
#2503 make singletons compared with "is" not == or !=
...
Thanks to Wummel for the patch
2008-03-29 15:24:25 +00:00
Jack Jansen
f75225b448
- tp_init shouldn't call base class tp_init by default
...
- tp_new (which was apparently always overridden:-) called base class
tp_init in stead of tp_new.
2006-04-20 21:38:17 +00:00
Tim Peters
cbcdfdc112
Whitespace normalization.
2006-02-11 18:32:21 +00:00
Jack Jansen
c49250264d
One more mod for support of C++ classes.
2006-02-10 22:15:09 +00:00
Jack Jansen
03904bf20b
For overriding C++ methods we also need to know whether a parameter
...
is an output parameter or not. Added support for that.
2006-02-10 16:17:24 +00:00
Jack Jansen
35f82d7051
Fixed an oversight and a misunderstanding of PEP253:
...
- Call tp_dealloc on the static baseclass, not dynamic (which leads to
infinite loops with more than one baseclass)
- Call tp_new and tp_init on baseclasses (overridable)
-This line, and those below, will be ignored--
M bgen/bgenObjectDefinition.py
2006-02-07 22:28:09 +00:00
Tim Peters
536cf99536
Whitespace normalization.
2005-12-25 23:18:31 +00:00
Jack Jansen
09eef173b2
Enable optional "const" argument to _New routines.
2005-11-21 13:24:25 +00:00
Jack Jansen
2190f8c47e
Added a class MallocHeapOutputBufferType for types that are passed
...
as &buffer, &size and allocated by the called function.
2005-09-20 21:11:19 +00:00
Jack Jansen
b53355ad77
Added support for (optionally) bracketing calls with
...
Py_{BEGIN,END}_ALLOW_THREADS.
2005-09-20 15:13:53 +00:00
Tim Peters
f5f32b4712
Whitespace normalization.
2005-07-17 23:16:17 +00:00
Jack Jansen
149787e7c5
Added an option to the scanner to generated marked-up HTML from the input
...
file. This should make it a lot easier (I hope) to get the regular
expressions right.
2005-07-17 00:15:46 +00:00
Tim Peters
7d66b00f29
Whitespace normalization.
2005-07-10 20:37:51 +00:00
Jack Jansen
6d394d9b68
Handle argref so it can be overridden more easily in a subclass.
2005-07-08 15:03:37 +00:00
Jack Jansen
0257424a2a
Allow for (optional) const declaration.
2005-07-05 10:00:57 +00:00
Jack Jansen
a6af76cbe4
Factored out the code that creates argument lists and formats for PyArg_Parse
...
and Py_BuildValue.
2005-07-03 20:58:08 +00:00
Jack Jansen
7b8f0a1843
Sigh, changed the argument names in the tp_init function: to make them be
...
more in line with other methods "self" and "args" had to be renamed "_self"
and "_args". Did "_kwds" too, for consistency.
2005-07-03 20:57:26 +00:00
Jack Jansen
a660caf351
Added methods mkvaluePreCheck and getargsPreCheck, which are called (for
...
each variable) before calling Py_BuildValue and PyArg_Parse.
2005-07-01 20:23:27 +00:00
Jack Jansen
62cc1233f9
More factorization: added a method getrvforcallit(). This allows a C++
...
bridge to combine declaration and assignment to the return value
temporary, allowing us to handle functions returning const values.
2005-06-30 15:00:13 +00:00
Jack Jansen
d4128f397d
Added optional suppport for storage modifiers (virtual/static/inline/etc)
...
and conditional generation of objects and methods.
2005-06-29 14:17:05 +00:00
Jack Jansen
b6216dd2e7
More factorization to help C++ support.
2005-06-28 15:14:35 +00:00
Tim Peters
527c46996f
Normalize whitespace to avoid offending Bug Day volunteers.
2005-06-24 19:46:53 +00:00
Jack Jansen
c700110735
Added a missing newline Output().
2005-06-23 22:32:59 +00:00