def _load_callwraps(packname, package):
global _callwraps<EOL>from acorn.config import settings<EOL>from acorn.logging.descriptors import _obj_getattr<EOL>spack = settings(packname)<EOL>if spack is not None:<EOL><INDENT>if spack.has_section("<STR_LIT>"):<EOL><INDENT>wrappings = dict(spack.items("<STR_LIT>"))<EOL>for fqdn, target in wrappings.items():<EOL><INDENT>caller = _obj_getattr(package, target)<EOL>_callwraps[fqdn] = caller<EOL><DEDENT><DEDENT><DEDENT>
Loads the special call wrapping settings for functions in the specified
    package. This allows the result of the original method call to be cast as a
    different type, or passed to a different constructor before returning from
    the wrapped function.

    Args:
        packname (str): name of the package to get config settings for.
        package: actual package object.