libICEpost.GLOBALS

@author: F. Ramognino <federico.ramognino@polimi.it> Last update: 12/06/2023

Global parameters of the pakage.

Attributes

__CACHE_SIZE__

Size of the cache for cached functions

__VERBOSITY_LEVEL__

Verbosity levels for warnings:

__TYPE_CHECKING__

If need to perform type-checking

__SAFE_ITERABLE_CHECKING__

If type-checking is enabled, check for all elements of an iterable? Otherwise, check only the first element

Module Contents

libICEpost.GLOBALS.__CACHE_SIZE__: int = 256

Size of the cache for cached functions

libICEpost.GLOBALS.__VERBOSITY_LEVEL__: int = 1

Verbosity levels for warnings: 0: Do not display any runtime message 1: Display runtime warnings 2: Base verbosity (TODO) 3: Advanced debug verbosity (TODO)

libICEpost.GLOBALS.__TYPE_CHECKING__: bool = True

If need to perform type-checking

libICEpost.GLOBALS.__SAFE_ITERABLE_CHECKING__: bool = True

If type-checking is enabled, check for all elements of an iterable? Otherwise, check only the first element