#17 Typo in Objects.hxx

closed-accepted
None
5
2007-01-06
2005-08-22
dipesh
No

Hi.

I use PyCXX 5.3.1 (still in my python binding for Kross, the
Kexi scripting bridge) and found a strange typo in
Objects.hxx at the
inline Object trace(const Exception&)
method.

The line
if(ptrace) result = pvalue;
should be
if(ptrace) result = ptrace;
cause the function should return the patrce and not the
value like inline Object value(const Exception&) does
already.

Discussion

    • status: open --> open-accepted
     
  • Logged In: YES
    user_id=28665

    Fix will be in V5.3.5

     
    • assigned_to: nobody --> barry-scott
     
  • Logged In: YES
    user_id=28665
    Originator: NO

    the ptrace error was fixed in 5.3.5. I just spotted that ptype is not return for type()
    and that is now fixed in r91.

     
    • status: open-accepted --> closed-accepted