feature request configure __name__, lp:326620, fixed

New boolean `py-if-name-main-permission-p', default is non-nil.
Allows execution of code inside blocks started
by \"if __name__== '__main__':\".