| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 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:/Python315/Lib/test/test_zoneinfo/data/__pycache__/ |
Upload File : |
R
>lqjE
c �@ � Q s ] QHGs ] PHs] PHs] PHs] PHs] PHs] PH s] PH$s ] PH(s
, QNs\O \
2 O s\O PQ5 Q Q k2 sQ Q ksQ Q ksQ Q
ksQ Q ksQQ
Q kks\Q6X c \ 2 \ Q2 P! P! )a�
Script to automatically generate a JSON file containing time zone information.
This is done to allow "pinning" a small subset of the tzdata in the tests,
since we are testing properties of a file that may be subject to change. For
example, the behavior in the far future of any given zone is likely to change,
but "does this give the right answer for this file in 2040" is still an
important property to test.
This must be run from a computer with zoneinfo data installed.
)�annotations)�maxsizec � � U ]6� c PgQQ-! )� �returnzpathlib.Path� )�formats "�=C:\Python315\\Lib\test\test_zoneinfo\data\update_test_data.py�__annotate__�get_zoneinfo_path.__annotate__* s � � 5� 5�<� 5� c � � Qo [ [ O [ O 2 F D$ oV* O 2 % f J! Ut ! [
Q2 g)zEGet the first zoneinfo directory on TZPATH containing the "UTC" zone.�UTCzCannot find time zone data.)�map�pathlib�Path�zoneinfo�TZPATH�exists�OSError)�key�paths r �get_zoneinfo_pathr ) sF � � �C��G�L�L�(�/�/�2���J��� � ��K� 3� �3�4�4r c � � U ]6� c PgQQ-! )r r ztyping.Dict[str, str]r )r s "r r �"get_zoneinfo_metadata.__annotate__4 s � � � �4� r c �� � [ 2 o U Q * oUO 2 % f [ Q2 g[ UQ2 9^tt^ 2 o[ U2 oPPP2 WO 2 O
Q]2 v qEUQ* O 2 % c. [ U2 ]6 f UQ* O 2 % f [ QQU 0* 2 gQU-! ) % f h K�9 h) z tzdata.ziz*Time zone data does not include tzdata.zi.�r� :� � N:r NNzfound: �versionzJVersion string should be YYYYx, where YYYY is the year and x is a letter; )r r r �open�next�strip�rsplit�isdigit�len�isalpha�
ValueError)r � tzdata_zi�f�version_line�_r s r �get_zoneinfo_metadatar, 4 s� � ���D��{�"�I�������B�C�C�
�i�� � ���A�w��
� �#�#�%�,�,�S�!�4�J�A�
�C�L� � �"�"��w�<�!���r�{�"�"�$�$��
;���y�!�
"�
�
�
�w���!
� �s �
C#�#C3 �,C3 c �"