관리-도구
편집 파일: server.cpython-310.opt-2.pyc
o 6��f@� � @ s6 d dl mZmZmZmZmZ d dlmZ d dlm Z d dl mZ d dlZd dlZ d dlZd dlZd dlZd dlZd dlZd dlZzd dlZW n eyR dZY nw d*dd�Zd d � ZG dd� d�ZG d d� de�ZG dd� deje�ZG dd� de�ZG dd� de�ZG dd� dej�ZG dd� d�Z G dd� de�Z!G dd� dee �Z"G dd� dee �Z#e$dk�rd dl%Z%G d d!� d!�Z&ed"��KZ'e'�(e)� e'�(d#d$� d%� e'j*e&� dd&� e'�+� e,d'� e,d(� ze'�-� W n e.y� e,d)� e�/d � Y n w W d � dS W d � dS 1 �sw Y dS dS )+� )�Fault�dumps�loads�gzip_encode�gzip_decode)�BaseHTTPRequestHandler)�partial)� signatureNTc C sF |r |� d�}n|g}|D ]}|�d�rtd| ��t| |�} q| S )N�.�_z(attempt to access private attribute "%s")�split� startswith�AttributeError�getattr)�obj�attr�allow_dotted_namesZattrs�i� r �4/opt/alt/python310/lib64/python3.10/xmlrpc/server.py�resolve_dotted_attribute| s �r c s � fdd�t � �D �S )Nc s( g | ]}|� d �stt� |��r|�qS )r )r �callabler )�.0�member�r r r � <listcomp>� s � �z'list_public_methods.<locals>.<listcomp>)�dirr r r r �list_public_methods� s r c @ sr e Zd Z ddd�Zddd�Zddd�Zd d � Zdd� Zdd d�Zdd� Z dd� Z dd� Zdd� Zdd� Z dS )�SimpleXMLRPCDispatcherFNc C s&