Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.10/encodings/__pycache__/ |
Upload File : |
o }�5h# � @ s� d Z ddlZddlZddlmZ ddd�Zdd d �ZG dd� dej�ZG d d� dej�ZG dd� dej �Z G dd� deej �Z G dd� deej�Zdd� ZdS )a Python 'uu_codec' Codec - UU content transfer encoding. This codec de/encodes from bytes to bytes. Written by Marc-Andre Lemburg (mal@lemburg.com). Some details were adapted from uu.py which was written by Lance Ellinghouse and modified by Jack Jansen and Fredrik Lundh. � N)�BytesIO�strict�<data>� c C s� |dksJ �t | �}t � }|j}|j}|�dd�}|�dd�}|d|d@ |f �d�� |d �}|r?|t�|�� |d �}|s2|d � |�� t| �fS )Nr � z\n� z\rzbegin %o %s i� �ascii�- s end ) r �read�write�replace�encode�binascii�b2a_uu�getvalue�len) �input�errors�filename�mode�infile�outfiler r �chunk� r �)/usr/lib/python3.10/encodings/uu_codec.py� uu_encode s �r c C s� |dksJ �t | �}t � }|j}|j} |� }|std��|d d� dkr&nq |� }|r1|dkr2n7zt�|�}W n* tjyc } z|d d d @ d d d } t�|d | � �}W Y d }~nd }~ww ||� q(|sotd ��|�� t| �fS )Nr � z"Missing "begin" line in input data� s beginTs end r � �? � � zTruncated input data) r �readliner � ValueErrorr �a2b_uu�Errorr r ) r r r r r"