I must have removed the lock for some debugging purposes and forgot to reactivate it!<br><br><div class="gmail_quote">On Thu, Mar 18, 2010 at 5:32 AM, Matthew Mondor <span dir="ltr"><<a href="mailto:mm_lists@pulsar-zone.net">mm_lists@pulsar-zone.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello,<br>
<br>
Since in Common Lisp, using the :USE option of DEFPACKAGE causes<br>
dynamic binding of exported symbols of the used package into the new<br>
package, DEFUN is able to override CL functions.  After checking out<br>
the ECL code, I found out that I can use (SI:PACKAGE-LOCK :CL T) to<br>
lock the COMMON-LISP package and cause an error to be signaled when<br>
trying to override a CL symbol this way.<br>
<br>
I'm glad that I can use this feature to prevent inadvertent bugs in my<br>
software (I don't yet remember all CL symbols :).  But some<br>
implementations (i.e. SBCL) by default lock the CL package.  So I<br>
wondered: Is there a technical reason why this is not the default for<br>
ECL?  Or known software which breaks with this?<br>
<br>
Thanks,<br>
--<br>
Matt<br>
<br>
------------------------------------------------------------------------------<br>
Download Intel&#174; Parallel Studio Eval<br>
Try the new software tools for yourself. Speed compiling, find bugs<br>
proactively, and fine-tune applications for parallel performance.<br>
See why Intel Parallel Studio got high marks during beta.<br>
<a href="http://p.sf.net/sfu/intel-sw-dev" target="_blank">http://p.sf.net/sfu/intel-sw-dev</a><br>
_______________________________________________<br>
Ecls-list mailing list<br>
<a href="mailto:Ecls-list@lists.sourceforge.net">Ecls-list@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/ecls-list" target="_blank">https://lists.sourceforge.net/lists/listinfo/ecls-list</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://tream.dreamhosters.com">http://tream.dreamhosters.com</a><br>