관리-도구
편집 파일: uuid.cpython-312.opt-2.pyc
� �Q�f�s � �$ � d dl Z d dlZd dlmZmZ dZej dv rdxZZnd dlZ ej � Z e dk( Ze dk( ZdZdZerd Zd Zg d�\ Z ZZZeZeZ ee� G d� d � � Z G d� d� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z!d� Z" d dl#Z# e$e#dd� Z% e$e#dd� Z&e#jN Z(d� Z*d� Z+d � Z,d!� Z-ereegZ.n4ej d"k( reee gZ.nej d#k( rg Z.n ere gZ.neeee egZ.e j^ d$k( re+ge.z Z0ne j^ d%k( re,ge.z Z0ne.Z0da1d&� Z2da3d1d'�Z4d(� Z5d)� Z6d*� Z7d+� Z8 ed,� Z9 ed-� Z: ed.� Z; ed/� Z<e=d0k( r e8� yy# e)$ r dZ#dZ%dZ&dZ(Y ��w xY w)2� N)�Enum�_simple_enumzKa-Ping Yee <ping@zesty.ca>)�win32�darwin� emscripten�wasiF�AIX�Linux� :� .T)zreserved for NCS compatibilityzspecified in RFC 4122z$reserved for Microsoft compatibilityzreserved for future definitionc � � e Zd ZdZdZdZy)�SafeUUIDr ���N)�__name__� __module__�__qualname__�safe�unsafe�unknown� � �+/opt/alt/python312/lib64/python3.12/uuid.pyr r N s � ��D� �F��Gr r c �p � e Zd Z dZ d ej d�d�Zd� Zd� Zd� Z d� Z d � Zd � Zd� Z d� Zd � Zd� Zd� Zd� Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Z ed� � Z!ed� � Z"y)!�UUID)�int�is_safe�__weakref__N)r c �> � |||||gj d � dk7 rt d� �|�h|j dd� j dd� }|j d� j dd� }t |� dk7 rt d � �t |d � }|�9t |� d k7 rt d� �|dd d � |ddd � z |ddd � z |dd z }|�.t |� d k7 rt d� �t j |� }|��t |� dk7 rt d� �|\ }} } }}} d|cxk rdk st d� � t d� �d| cxk rdk st d� � t d� �d| cxk rdk st d� � t d� �d|cxk rdk st d� � t d� �d|cxk rdk st d� � t d� �d| cxk rdk st d� � t d� �|dz |z }|dz | d z z | d!z z |d"z z | z }|�%d|cxk rd#d$z k st d%� � t d%� �|�9d#|cxk rdk st d&� � t d&� �|d'z }|d(z }|d)z }||d*z z }t j | d+|� t j | d,|� y )-N� zGone of the hex, bytes, bytes_le, fields, or int arguments must be givenzurn:� zuuid:z{}�-� z$badly formed hexadecimal UUID string� z bytes_le is not a 16-char string� r � � � zbytes is not a 16-char string� zfields is not a 6-tupler l z*field 1 out of range (need a 32-bit value)i z*field 2 out of range (need a 16-bit value)z*field 3 out of range (need a 16-bit value)� z*field 4 out of range (need an 8-bit value)z*field 5 out of range (need an 8-bit value)� z*field 6 out of range (need a 48-bit value)�` �P �@ �0 � � z*int is out of range (need a 128-bit value)zillegal version numberl���� � l���� �L r r ) �count� TypeError�replace�strip�len� ValueError�int_� from_bytes�object�__setattr__)�self�hex�bytes�bytes_le�fieldsr �versionr �time_low�time_mid�time_hi_version�clock_seq_hi_variant� clock_seq_low�node� clock_seqs r �__init__z UUID.__init__� sH � � �: ���&�#�.�4�4�T�:�a�?�� =� >� >��?��+�+�f�b�)�1�1�'�2�>�C��)�)�D�/�)�)�#�r�2�C��3�x�2�~� �!G�H�H��s�B�-�C����8�}��"� �!C�D�D��c�g�2�g�&��#�c�"�*�)=�=��c�#�b�j�)�*�,4�Q�R�L�9�E����5�z�R�� �!@�A�A��/�/�%�(�C����6�{�a�� �!:�;�;�:@� 8�X�x�� !�=�$���(�5�(� �!M�N�N� )� �!M�N�N���(�5�(� �!M�N�N� )� �!M�N�N���/�%�/� �!M�N�N� 0� �!M�N�N��,�3�t�3� �!M�N�N� 4� �!M�N�N�� �,��,� �!M�N�N� -� �!M�N�N���$�u�$� �!M�N�N� %� �!M�N�N�-��2�m�C�I���N�x�2�~�6�#�r�)�+�.7�2�o�?�AE�F�C��?���$�a��f�$� �!M�N�N� %� �!M�N�N�����$�1�$� �!9�:�:� %� �!9�:�:��?�"�C��<��C��?�"�C��7�b�=� �C����4���,����4��G�4r c � � d| j i}| j t j k7 r| j j |d<