code: def _run_command(self, command_constructor, args):
          
          verify_terminal_encoding(sys.stdout.encoding)
          self._check_pypi_version()
          config = create_config(allow_insecure_config_file=args.allow_insecure_config_file)
          self.show_error_stack_trace = config.debug_mode
          command = command_constructor(config)
          command.run(args)
docs: Run command_constructor and call run(args) on the resulting object
          :param command_constructor: class of an object that implements run(args)
          :param args: object arguments for specific command created by CommandParser