| Server IP : 121.121.20.254 / Your IP : 216.73.217.51 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/test/test_zoneinfo/__pycache__/ |
Upload File : |
�
���g� � � � d dl Z d dlZd dlZd dlZd dlZd dlmZ ej � Z ej � Z ej � Z
d� Zed� � Ze j d� � Z G d� dej � Zy)� N)�import_fresh_modulec � ��� t j � � t j d� | � �t j | � ��fd�� }|S )z;Decorator that ensures a function is only ever called once.Nc �B �� �5 � � cd d d � S # 1 sw Y y xY w�N� )�cached�locks ���0C:\Python312\\Lib\test\test_zoneinfo\_support.py�innerzcall_once.<locals>.inner s �� �
��8� �T�T�s ��)� threading�Lock� functools� lru_cache�wraps)�fr r r s @@r
� call_oncer
sH �� ��>�>��D�
&�Y�
�
��
&�q�
)�F��_�_�Q��� �� �L� c �. � ddl } t ddg�� }|| fS )u� Retrieve two copies of zoneinfo: pure Python and C accelerated.
Because this function manipulates the import system in a way that might
be fragile or do unexpected things if it is run many times, it uses a
`call_once` decorator to ensure that this is only ever called exactly
one time — in other words, when using this function you will only ever
get one copy of each module rather than a fresh import each time.
r N�zoneinfo� _zoneinfo)�blocked)r r )�c_module� py_modules r
�get_modulesr s � � �#�J��
�F�I��h��r c # � K � t � }t j j d|� }| t j d<