This is probably a conscious decision, but I was surprised that, for any 
module (eg. PyCall):

module A
import PyCall
end

PyCall   # no error - PyCall was brought into Main

whereas 

module A
import PyCall
end

module B
PyCall   # error - PyCall not defined
end

Furthermore

PyCall = 0

module B
using PyCall   # LoadError: invalid module path (PyCall does not name a 
module)
end

Is there some issue discussing this? It tripped me up while debugging a 
macro.

Reply via email to