Global namespace changes depending on scope? I have the following function defined in my Spyder startup file: