public override void CopyFrom(ItemConfiguration config)
{
var pyConfig = config as PythonConfiguration;
if (pyConfig == null)
throw new ArgumentException ("Not a python configuration", "item");
base.CopyFrom (config);
mainModule = pyConfig.mainModule;
extraPaths = pyConfig.ExtraPaths;
interpreterArgs = pyConfig.interpreterArgs;
langVersion = pyConfig.langVersion;
optimize = pyConfig.optimize;
showExceptionDetails = pyConfig.showExceptionDetails;
showClrExceptions = pyConfig.showClrExceptions;
warnInconsistentTabbing = pyConfig.warnInconsistentTabbing;
}