class_docstr: The configurator base class which defines some useful defaults.
class_docstr_tok: ["The","configurator","base","class","which","defines","some","useful","defaults","."]
docstr: Configure an object with a user-supplied factory.
docstr_tok: ["Configure","an","object","with","a","user-supplied","factory","."]
code: def configure_custom(self, config):
      """Configure an object with a user-supplied factory."""
      c = config.pop("()")
      if not callable(c):
          c = self.resolve(c)
      # Check for valid identifiers
      kwargs = {
          k: config[k] for k in config if (k != "." and valid_ident(k))
      }
      result = c(**kwargs)
      props = config.pop(".", None)
      if props:
          for name, value in props.items():
              setattr(result, name, value)
      return result
  
imports: import errno
  import functools
  import io
  import logging
  import logging.handlers
  import os
  import queue
  import re
  import struct
  import threading
  import traceback
  from socketserver import ThreadingTCPServer, StreamRequestHandler
label_desc: Use image node_id 6 for calling the BaseConfigurator obj's underlying member method code with example usage: obj.configure_custom(config) and returns: result