관리-도구
편집 파일: ipaddress.cpython-312.opt-2.pyc
� �Q�fR2 � �F � d Z ddlZdZdZ G d� de� Z G d� de� Zd � Zd1d �Zd� Z d� Z d � Zd� Zd� Z d� Zd� Zd� Zd� Zd� Z G d� d� Zdaej* G d� de� � Zej* G d� de� � Z G d� d� Zee_ G d� d� Z G d� d ee� Z G d!� d"e� Z G d#� d$ee� Z G d%� d&� Zee_ ee_ G d'� d(� Z G d)� d*ee� Z G d+� d,e � Z! G d-� d.ee� Z" G d/� d0� Z#e#e _ e#e"_ y)2z1.0� N� � c � � e Zd Zy)�AddressValueErrorN��__name__� __module__�__qualname__� � �0/opt/alt/python312/lib64/python3.12/ipaddress.pyr r � � �/r r c � � e Zd Zy)�NetmaskValueErrorNr r r r r r r r r c � � t | � S # t t f$ r Y nw xY w t | � S # t t f$ r Y nw xY wt | �d�� �)Nz. does not appear to be an IPv4 or IPv6 address)�IPv4Addressr r �IPv6Address� ValueError��addresss r � ip_addressr sl � �� ��7�#�#���0�1� �� �� ��7�#�#���0�1� �� �� ��{�"P�Q� R�R� � � � � / �A� Ac � � t | |� S # t t f$ r Y nw xY w t | |� S # t t f$ r Y nw xY wt | �d�� �)Nz. does not appear to be an IPv4 or IPv6 network)�IPv4Networkr r �IPv6Networkr )r �stricts r � ip_networkr 9 sp � �� ��7�F�+�+���0�1� �� �� ��7�F�+�+���0�1� �� �� ��{�"P�Q� R�Rs � �!�!�1 �A�Ac � � t | � S # t t f$ r Y nw xY w t | � S # t t f$ r Y nw xY wt | �d�� �)Nz0 does not appear to be an IPv4 or IPv6 interface)� IPv4Interfacer r � IPv6Interfacer r s r �ip_interfacer! V sl � ��( ��W�%�%���0�1� �� �� ��W�%�%���0�1� �� �� ��{�"R�S� T�Tr c �X � | j d� S # t $ r t d� �w xY w)N� z&Address negative or too large for IPv4��to_bytes� OverflowErrorr r s r �v4_int_to_packedr'