removed warnings, fixed memory leak in python ArgParser.parse