| Server IP : 43.129.54.214 / Your IP : 216.73.217.113 Web Server : nginx/1.24.0 System : Linux VM-4-108-ubuntu 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/local/qcloud/python/lib/python3.7/__pycache__/ |
Upload File : |
B
��f � @ sx d Z ddlZddlmZ ddlmZ ddddgZG d d� de�ZG d
d� de�Z dd� Z
G d
d� d�ZG dd� d�ZdS )zRImplements (a subset of) Sun XDR -- eXternal Data Representation.
See: RFC 1014
� N)�BytesIO)�wraps�Error�Packer�Unpacker�ConversionErrorc @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) r z�Exception class for this module. Use:
except xdrlib.Error as var:
# var has the Error instance for the exception
Public ivars:
msg -- contains the message
c C s
|| _ d S )N)�msg)�selfr � r
�0/usr/local/qcloud/python/lib/python3.7/xdrlib.py�__init__ s zError.__init__c C s
t | j�S )N)�reprr )r r
r
r �__repr__ s zError.__repr__c C s
t | j�S )N)�strr )r r
r
r �__str__ s z
Error.__str__N)�__name__�
__module__�__qualname__�__doc__r r r r
r
r
r r s c @ s e Zd ZdS )r N)r r r r
r
r
r r s c s t � �� fdd��}|S )z5 Wrap any raised struct.errors in a ConversionError. c
sD y
� | |�S t jk
r> } zt|jd �d �W d d }~X Y nX d S )Nr )�struct�errorr �args)r �value�e)�functionr
r �result&