def patch_use_cdecimal():
    """ Use cdecimal module globally. Pure python implementation
        in-place replacement.
    """
    import sys
    if sys.version_info[:2] >= (3, 3):
        return True
    try:
        import cdecimal
        sys.modules['decimal'] = cdecimal
        return True
    except ImportError:
        return False
