Some boolean properties are broken
Brought to you by:
franzg
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).
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.
Logged In: YES
user_id=328337
Current CVS and release 1.0_05 should fix the problem.
Logged In: YES
user_id=328337
Current CVS and release 1.0_05 should fix the problem.