|
Server : LiteSpeed System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : idnco5810 ( 1093) PHP Version : 8.2.29 Disable Function : NONE Directory : /lib/python3/dist-packages/twisted/conch/__pycache__/ |
Upload File : |
o
�bD. � @ s� d Z ddlZddlZddlZddlmZ ddlmZ ddlm Z ddl
mZ ddlm
Z
G dd � d �ZG d
d� dej�ZdZd
ZdZdZdZdZG dd� dej�ZG dd� d�Zdd� ZG dd� de�ZdS )aO
Line-input oriented interactive interpreter loop.
Provides classes for handling Python source input and arbitrary output
interactively from a Twisted application. Also included is syntax coloring
code with support for VT102 terminals, control code handling (^C, ^D, ^Q),
and reasonable handling of Deferreds.
@author: Jp Calderone
� N)�BytesIO)�recvline)�defer)�_get_async_param)�TokenPrinterc @ s8 e Zd ZdZdZdZdd� Zdd� Zdd � Zd
d� Z dS )
�FileWrapperz�
Minimal write-file-like object.
Writes are translated into addOutput calls on an object passed to
__init__. Newlines are also converted from network to local style.
r �normalc C s
|| _ d S �N)�o)�selfr
� r �7/usr/lib/python3/dist-packages/twisted/conch/manhole.py�__init__&