[Ns-developers] Status of Python bindings

Gustavo Carneiro gjcarneiro at gmail.com
Mon May 19 09:06:20 PDT 2008


The PyBindGen API changes are more or less complete:

https://code.launchpad.net/~gjc/pybindgen/trunk

If nothing else comes up API-wise, next steps are:

 1. Generate NS-3 API definitions as a single Python file and make it work;

 2. Split the above file into several files, and support local modification
files;

 3. Figure out issues related to splitting python bindings into a separate
repository;

 4. Document the process, adding examples;

 5. Bring the code up to date to ns-3-dev (assuming it is API stable by
then).


On 17/05/2008, Mathieu Lacage <mathieu.lacage at sophia.inria.fr> wrote:
>
> On Sat, 2008-05-17 at 12:06 +0100, Gustavo Carneiro wrote:
>
> >
> >         Well, I think you got it right the first time.  I won't cry
> >         about it too much ;-)
> >
> > This didn't come out right.  Sorry, I've been sick the last few days
> > and not in a good mood :(
> >
> > If you want to convince Mathieu that (returntype, name, params) is
> > better, I'll change it back.  If you are unsure, as I am, then I would
> > rather leave it as it is.  I really really hate API changes, in case
> > you haven't noticed... :P
>
>
> If you and craig agree, feel free to ignore me.
>
>
> >         > Regarding returntype mandatory, fine by me; I'll keep it.
> >
> >
> >         I think that was the real issue under discussion.
> >
> > About this, I was thinking of simplifying it slightly.  Instead of
> > ReturnValue.new('void'), None would also work equivalently.  Does it
> > sound OK?
>
>
> It does sound ok.
>
>
> Mathieu
>
>


-- 
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert


More information about the Ns-developers mailing list