Add tests for _source to importable and exec'able.
Move __name__ back out of the template; the responsibility for setting __name__ lies with the caller (which knows something about the new namespace), not with the class definition (which doesn't know about the namespace it is being built in).
R
Raymond Hettinger committed
f6d3e8eaef83c82416c2ca9d639ed59beba1f877
Parent: 5d43cff