[Ecls-list] (si:package-lock :cl t)

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Thu Mar 18 16:48:17 UTC 2010


I must have removed the lock for some debugging purposes and forgot to
reactivate it!

On Thu, Mar 18, 2010 at 5:32 AM, Matthew Mondor <mm_lists at pulsar-zone.net>wrote:

> Hello,
>
> Since in Common Lisp, using the :USE option of DEFPACKAGE causes
> dynamic binding of exported symbols of the used package into the new
> package, DEFUN is able to override CL functions.  After checking out
> the ECL code, I found out that I can use (SI:PACKAGE-LOCK :CL T) to
> lock the COMMON-LISP package and cause an error to be signaled when
> trying to override a CL symbol this way.
>
> I'm glad that I can use this feature to prevent inadvertent bugs in my
> software (I don't yet remember all CL symbols :).  But some
> implementations (i.e. SBCL) by default lock the CL package.  So I
> wondered: Is there a technical reason why this is not the default for
> ECL?  Or known software which breaks with this?
>
> Thanks,
> --
> Matt
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>



-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://tream.dreamhosters.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100318/1308f1f6/attachment.html>


More information about the ecl-devel mailing list