Comment 2 for bug 1859841

Revision history for this message
Douglas Katzman (dougk) wrote :

I just checked CLISP as well and it says unbound; but the behavior differs in one regard with the others: if the symbol being imported had no home package, then it becomes constant and eq to itself.

So it seems like the evidence is fairly compelling that this hair-splitting behavior is not well-defined, and changing it would make SBCL agree with CCL but disagree with others.

As to (intern "BAR" (find-package "KEYWORD")) not doing the three actions automatically, it doesn't do them if the symbol was already imported without doing them, thereby returning a found symbol; all 5 other implementations agree with this as far as I can tell.