Get data from the current environment. If the default is True
or False, then presume that we're only interested in the existence
or non-existence of the environment variable.
Do an atomic expansion of the given source data, creating and
shutting down an interpreter dedicated to the task. The sys.stdout
object is saved off and then replaced before this function
returns.