Where would you like to have this __module__
variable, so your original script knows what to import? Modules are recognized by file names and looked in paths defined in sys.path
variable.
So, you have to rename the file, then remove the oldname.pyc
, just to make sure everything works right.