Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
(8) |
May
(109) |
Jun
(68) |
Jul
(83) |
Aug
(126) |
Sep
(117) |
Oct
(490) |
Nov
(410) |
Dec
(182) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(15) |
Feb
(135) |
Mar
(155) |
Apr
(99) |
May
(92) |
Jun
(144) |
Jul
(51) |
Aug
(96) |
Sep
(223) |
Oct
(367) |
Nov
(346) |
Dec
(421) |
2006 |
Jan
(827) |
Feb
(404) |
Mar
(213) |
Apr
(44) |
May
(106) |
Jun
(79) |
Jul
(88) |
Aug
(43) |
Sep
(191) |
Oct
(164) |
Nov
(150) |
Dec
(36) |
2007 |
Jan
(17) |
Feb
(5) |
Mar
(17) |
Apr
(65) |
May
(114) |
Jun
(16) |
Jul
(22) |
Aug
(57) |
Sep
(44) |
Oct
(126) |
Nov
(97) |
Dec
(23) |
2008 |
Jan
(32) |
Feb
(59) |
Mar
(45) |
Apr
(80) |
May
(113) |
Jun
(116) |
Jul
(109) |
Aug
(77) |
Sep
(80) |
Oct
(10) |
Nov
(65) |
Dec
(68) |
2009 |
Jan
(77) |
Feb
(37) |
Mar
(46) |
Apr
(35) |
May
(52) |
Jun
(93) |
Jul
(150) |
Aug
(188) |
Sep
(21) |
Oct
(20) |
Nov
(46) |
Dec
(40) |
2010 |
Jan
(33) |
Feb
(56) |
Mar
(67) |
Apr
(48) |
May
(65) |
Jun
(83) |
Jul
(32) |
Aug
(10) |
Sep
(37) |
Oct
(53) |
Nov
(34) |
Dec
(39) |
2011 |
Jan
(59) |
Feb
(93) |
Mar
(72) |
Apr
(65) |
May
(79) |
Jun
(25) |
Jul
(16) |
Aug
(28) |
Sep
(22) |
Oct
(12) |
Nov
(23) |
Dec
(36) |
2012 |
Jan
(15) |
Feb
(10) |
Mar
(49) |
Apr
(66) |
May
(108) |
Jun
(74) |
Jul
(268) |
Aug
(252) |
Sep
(121) |
Oct
(24) |
Nov
(66) |
Dec
(38) |
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(9) |
Nov
(15) |
Dec
(48) |
2014 |
Jan
(18) |
Feb
(53) |
Mar
(81) |
Apr
(66) |
May
(70) |
Jun
(61) |
Jul
(38) |
Aug
(20) |
Sep
(49) |
Oct
(42) |
Nov
(13) |
Dec
(27) |
2015 |
Jan
(59) |
Feb
(27) |
Mar
(37) |
Apr
(20) |
May
(29) |
Jun
(17) |
Jul
(31) |
Aug
(27) |
Sep
(12) |
Oct
(12) |
Nov
(4) |
Dec
(24) |
2016 |
Jan
(14) |
Feb
(16) |
Mar
(38) |
Apr
(13) |
May
(30) |
Jun
(22) |
Jul
(6) |
Aug
(15) |
Sep
(23) |
Oct
(14) |
Nov
(19) |
Dec
(45) |
2017 |
Jan
(32) |
Feb
(14) |
Mar
(14) |
Apr
(8) |
May
(18) |
Jun
(21) |
Jul
(8) |
Aug
(17) |
Sep
(21) |
Oct
(22) |
Nov
(7) |
Dec
(5) |
2018 |
Jan
(15) |
Feb
(4) |
Mar
(7) |
Apr
(10) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1
|
2
(2) |
3
(3) |
4
|
5
(2) |
6
(3) |
7
|
8
(1) |
9
|
10
|
11
|
12
(2) |
13
(2) |
14
(5) |
15
|
16
(1) |
17
(14) |
18
(2) |
19
(7) |
20
(8) |
21
(4) |
22
|
23
(5) |
24
(5) |
25
(2) |
26
(2) |
27
(2) |
28
|
29
|
30
(7) |
31
|
|
|
|
|
From: <szager@us...> - 2011-05-16 06:12:21
|
Revision: 12669 http://swig.svn.sourceforge.net/swig/?rev=12669&view=rev Author: szager Date: 2011-05-16 06:12:15 +0000 (Mon, 16 May 2011) Log Message: ----------- Documented non-looping dependency graph requirement for -builtin. Modified Paths: -------------- trunk/Doc/Manual/Python.html Modified: trunk/Doc/Manual/Python.html =================================================================== --- trunk/Doc/Manual/Python.html 2011-05-14 23:54:09 UTC (rev 12668) +++ trunk/Doc/Manual/Python.html 2011-05-16 06:12:15 UTC (rev 12669) @@ -2369,7 +2369,8 @@ <li>Static member variables are no longer accessed through the 'cvar' field (e.g., <tt>Dances.cvar.FishSlap</tt>). They are instead accessed in the idiomatic way (<tt>Dances.FishSlap</tt>).</li> </ul> -<p>Wrapped types may not be raised as python exceptions. Here's why: the python internals expect that all sub-classes of Exception will have this struct layout:</p> + </li> + <li><p>Wrapped types may not be raised as python exceptions. Here's why: the python internals expect that all sub-classes of Exception will have this struct layout:</p> <div class="code"> <pre> @@ -2427,14 +2428,10 @@ </pre> </div> </li> -<li><p>Reverse binary operators (e.g., <tt>__radd__</tt>) are not supported.</p></li> -</ul> - -<p> -To illustrate the last point, if you have a wrapped class called <tt>MyString</tt>, +<li><p>Reverse binary operators (e.g., <tt>__radd__</tt>) are not supported.</p> +<p>To illustrate this point, if you have a wrapped class called <tt>MyString</tt>, and you want to use instances of <tt>MyString</tt> interchangeably with native python -strings, you can define an <tt>'operator+ (const char*)'</tt> method : -</p> +strings, you can define an <tt>'operator+ (const char*)'</tt> method :</p> <div class="code"> <pre> @@ -2478,7 +2475,84 @@ The above code fails, because the first operand -- a native python string -- doesn't know how to add an instance of <tt>MyString</tt> to itself. </p> +</li> +<li><p>If you have multiple SWIG modules that share type information (<a href="Modules.html#Modules_nn2">more info</a>), +the <tt>-builtin</tt> option requiress a bit of extra discipline to ensure that base classes are initialized before derived classes. Specifically:</p> +<ul> +<li>There must be an unambiguous non-looping dependency graph for the modules.</li> +<li>Module dependencies must be explicitly stated with <tt>%import</tt> statements in the SWIG interface file.</li> +</li> +</ul> + +<p>As an example, suppose module <tt>A</tt> has this interface in <tt>A.i</tt> :</p> + +<div class="code"><pre> +%module "A"; + +class Base { +... +}; +</pre></div> + +<p>If you want to wrap another module containing a class that inherits from <tt>A</tt>, this is how it would look :</p> + +<div class="code"><pre> +%module "B"; + +%import "A.i" + +class Derived : public Base { +... +}; +</pre></div> + +<p>The <tt>import "A.i"</tt> statement is required, because module <tt>B</tt> depends on module <tt>A</tt>.</p> + +<p>As long as you obey these requirements, your python code may import the modules in any order :</p> + +<div class="targetlang"><pre> +import B +import A + +d = B.Derived() +</pre></div> + +<p>Here's an example of two interface files that have a dependency loop:</p> + +<p><tt>A.i:</tt></p> + +<div class="code"><pre> +%module "A"; + +class BaseA { +... +}; + +class DerivedA : public BaseB { +... +}; +</pre></div> + +<p><tt>B.i:</tt></p> + +<div class="code"><pre> +%module "B"; + +class BaseB { +... +}; + +class DerivedB : public BaseA { +... +}; +</pre></div> + +<p>These modules are incompatible with the <tt>-builtin</tt> option.</p> + +</li> +</ul> + <H4><a name="Python_builtin_overloads"></a>33.4.2.2 Operator overloads -- use them!</H4> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |