Re: CLOS changes in 6.1
REMOVE PLEASE
In a message dated 2/23/2012 12:32:30 A.M. Pacific Standard Time,
jean.bresson@ircam.fr writes:
Le 22 févr. 2012 à 21:25, Fabrice Popineau a écrit :
> I read the release notes for LWW 6.1 and find this :
>
> 13.16.1 Initarg checking extended
> The system-supplied primary methods for reinitialize-instance,
> update-instance-for-redefined-class and update-instance-fordifferent-class now check the initargs as specified by ANSI Common
> Lisp. In previous LispWorks releases, only make-instance checked them.
>
> In 6.0, there was this variable :
> (setf clos::*CHECK-MAKE-INSTANCE-INITARGS* nil)
> whose effect was to turn off this checking (or that's what I thought).
>
> Has this variable disappeared? I get errors with 6.1 about invalid initargs arguments
> to reinitialize-instance which I didn't get previously with 6.0.
yes, I think you should now use :
(clos::set-clos-initarg-checking nil)
Best,
Jean
>
> I would also like to know something about locking instances during make-instance (or reinitialize-instance).
> If I define an after method on reinitialize-instance, is the lock on the instance released during this after method ?
> (Ok, I could test it quickly I guess).
>
> Thanks in advance for your comments,
>
> --
> Fabrice Popineau
> -----------------------------
> SUPELEC
> Département Informatique
> 3, rue Joliot Curie
> 91192 Gif/Yvette Cedex
> Tel direct : +33 (0) 169851950
> Standard : +33 (0) 169851212
> ------------------------------
>
>