Bug 303 - DataCalculator::GetKey triggers a PyBindGen bug
: DataCalculator::GetKey triggers a PyBindGen bug
Status: RESOLVED FIXED
: ns-3
general
: pre-release
: All All
: P3 normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-08-31 17:29 EDT by
Modified: 2008-09-02 13:05 EDT (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-08-31 17:29:58 EDT
DataCalculator::GetKey triggers a PyBindGen bug because it uses 'const
std::string' as return type.  Fixing that PyBindGen bug is more complicated
than it seems and I decided to do some heavy refactoring which will take some
time.

Since "const std::string" makes no sense at all anyway, do you mind changing to
std::string?  This so that I can rescan API so that Python bindings to cover
the stats module.


PS: the bugzilla comoponent list should have a "general" component, for when
there is no matching component yet, as in this case.
------- Comment #1 From 2008-08-31 17:34:54 EDT -------
(In reply to comment #0)

> PS: the bugzilla comoponent list should have a "general" component, for when
> there is no matching component yet, as in this case.
> 

added
------- Comment #2 From 2008-09-02 06:15:10 EDT -------
Nevermind, I fixed PyBindGen.
------- Comment #3 From 2008-09-02 11:57:10 EDT -------
no, it's a bug. It makes no sense to have return value types be const
------- Comment #4 From 2008-09-02 13:05:39 EDT -------
changeset 55dedf98ad49