Menu

#9 Some boolean properties are broken

Errors
closed-accepted
9
2004-10-20
2004-10-04
No

Some boolean properties (eg. Class.WatchSlots and
Class.WatchInstances) do not work as expected, as
when the user tries to assign a value, the system
complains with a TypeError, stating that "an integer is
expected". This is due to a parameter inversion while
calling the low-level corresponding function (in which the
parameter order follows the one described in the CLIPS
APG).

The parameters should be inverted in _clips_wrap.py
(and therefore in _eclips_wrap.py).

Discussion

  • Francesco Garosi

    Logged In: YES
    user_id=328337

    The bug affected all Watch<construct> properties, which in
    fact had the form SetWatch<construct>(BOOL new_state,
    void *construct) in the API and this was reflected in the low-
    level submodule (_clips.pyd) for sake of consistence. All
    corrections will be posted to CVS ASAP.

     
  • Francesco Garosi

    Logged In: YES
    user_id=328337

    Current CVS and release 1.0_05 should fix the problem.

     
  • Francesco Garosi

    Logged In: YES
    user_id=328337

    Current CVS and release 1.0_05 should fix the problem.

     
  • Francesco Garosi

    • status: open --> closed-accepted
     

Log in to post a comment.