
    "#h                         d Z ddlZddlmZ ddlmZ ddlmZmZm	Z	  ej                  e      Z	 ddlmZ ddlmZ dd	lmZ ddZy# e$ r ej)                  d
       Y w xY w)z+
Meta-functions to be applied module-wide.
    N   )compare_reference)try_date_expr)filter_ymd_candidateis_valid_dateis_valid_format)encoding_languages) is_suspiciously_successive_range)is_accentuatedz*impossible to import charset function namec                     t        j                          t        j                          t        j                          t	        j                          t        j                          	 t        j                          t        j                          t        j                          y# t        t        f$ r } t        j                  d|        Y d} ~ yd} ~ ww xY w)zYReset all known LRU caches used to speed-up processing.
    This may release some memory.z*impossible to clear cache for function: %sN)r   cache_clearr   r   r   r   r	   r
   r   AttributeError	NameErrorLOGGERerror)errs    J/var/www/html/sandstorm/venv/lib/python3.12/site-packages/htmldate/meta.pyreset_cachesr      s     !!#$$&!H&&((446""$I& HA3GGHs   &<B# #C2CC)returnN)__doc__loggingcorer   
extractorsr   
validatorsr   r   r   	getLogger__name__r   charset_normalizer.cdr	   charset_normalizer.mdr
   charset_normalizer.utilsr   ImportErrorr   r        r   <module>r#      sa     # % L L 
		8	$?8F7H	  ?
LL=>?s   A A A 