%PDF- %PDF-
Direktori : /snap/core20/2318/lib/python3.8/xmlrpc/__pycache__/ |
Current File : //snap/core20/2318/lib/python3.8/xmlrpc/__pycache__/client.cpython-38.pyc |
U k�]e�� � @ sf d Z ddlZddlZddlZddlmZ ddlmZ ddlZddl Z ddlmZ ddl Z ddlmZ zddlZW n ek r� dZY nX dd� Zd ejdd � ZdZdZd ZdZdZdZdZd ZdZdZdZdZ dZ!dZ"G dd� de#�Z$G dd� de$�Z%G dd� de$�Z&G dd� de$�Z'e( Z)Z*eddd�Z+e+�,d �d!k�rJd"d#� Z-n"e+�,d$�d!k�rdd%d#� Z-nd&d#� Z-[+d'd(� Z.G d)d*� d*�Z/d+d,� Z0d-d.� Z1G d/d0� d0�Z2d1d2� Z3e/e2fZ4G d3d4� d4�Z5G d5d6� d6�Z6G d7d8� d8�Z7G d9d:� d:�Z8G d;d<� d<�Z9G d=d>� d>�Z:d Z; Z<Z=dYd@dA�Z>dZdBdC�Z?d[dDdE�Z@dFdG� ZAd\dIdJ�ZBG dKdL� dLe�rXejCneD�ZEG dMdN� dN�ZFG dOdP� dP�ZGG dQdR� dReG�ZHG dSdT� dT�ZIeIZJeKdUk�rbeIdV�ZLzeMeLjN�O� � W n. e$k �r� ZP zeMdWeP� W 5 dZP[PX Y nX e:eL�ZQeQ�R� eQ�Sd dX� eQ�Tdd � zeQ� D ]ZUeMeU� �q W n. e$k �r` ZP zeMdWeP� W 5 dZP[PX Y nX dS )]a� An XML-RPC client interface for Python. The marshalling and response parser code can also be used to implement XML-RPC servers. Exported exceptions: Error Base class for client errors ProtocolError Indicates an HTTP protocol error ResponseError Indicates a broken response package Fault Indicates an XML-RPC fault package Exported classes: ServerProxy Represents a logical connection to an XML-RPC server MultiCall Executor of boxcared xmlrpc requests DateTime dateTime wrapper for an ISO 8601 string or time tuple or localtime integer value to generate a "dateTime.iso8601" XML-RPC value Binary binary data wrapper Marshaller Generate an XML-RPC params chunk from a Python data structure Unmarshaller Unmarshal an XML-RPC response from incoming XML event message Transport Handles an HTTP transaction to an XML-RPC server SafeTransport Handles an HTTPS transaction to an XML-RPC server Exported constants: (none) Exported functions: getparser Create instance of the fastest available parser & attach to an unmarshalling object dumps Convert an argument tuple or a Fault instance to an XML-RPC request (or response, if the methodresponse option is used). loads Convert an XML-RPC packet to unmarshalled data plus a method name (None if not present). � N)�datetime)�Decimal)�expat)�BytesIOc C s$ | � dd�} | � dd�} | � dd�S )N�&z&�<z<�>z>)�replace)�s� r �#/usr/lib/python3.8/xmlrpc/client.py�escape� s r z%d.%d� i���i �iD���i����i���ip���iԁ��iC���iB���i����i����i����c @ s e Zd ZdZejZdS )�ErrorzBase class for client errors.N)�__name__� __module__�__qualname__�__doc__�object�__str__r r r r r � s r c @ s e Zd ZdZdd� Zdd� ZdS )� ProtocolErrorz!Indicates an HTTP protocol error.c C s&