ENH: py editor: update namespace after exec
ENH: py shell: use __wrapped__ in introspection