https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /lib/python2.7/site-packages/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python2.7/site-packages/fdpexpect.pyc
�
��rGc@s?dZddlTddlZdgZdefd��YZdS(s�This is like pexpect, but will work on any file descriptor that you pass it.
So you are reponsible for opening and close the file descriptor.

$Id: fdpexpect.py 505 2007-12-26 21:33:50Z noah $
i����(t*NtfdspawncBsVeZdZgddd	d	d�Zd�Zd�Zd�Zed�Z	d�Z
RS(
s�This is like pexpect.spawn but allows you to supply your own open file
    descriptor. For example, you could use it to read through a file looking
    for patterns, or to control a modem or serial device. ii�c	Cs�t|�td�kr6t|d�r6|j�}nt|�td�kr]td��nytj|�Wntk
r�td�nXd|_d|_	t
j|d|||||�||_t
|_t
|_d||_dS(s�This takes a file descriptor (an int) or an object that support the
        fileno() method (returning an int). All Python file-like objects
        support fileno(). itfilenosdThe fd argument is not an int. If this is a command string then maybe you want to use pexpect.spawn.s/The fd argument is not a valid file descriptor.s<file descriptor %d>N(ttypethasattrRtExceptionPexpecttostfstattOSErrortNonetargstcommandtspawnt__init__tchild_fdtFalsetown_fdtclosedtname(tselftfdR
ttimeouttmaxreadtsearchwindowsizetlogfile((s-/usr/lib/python2.7/site-packages/fdpexpect.pyR
s	'

					cCsdS(N((R((s-/usr/lib/python2.7/site-packages/fdpexpect.pyt__del__.scCs\|jdkrdS|jr,|j|�n,|j�tj|j�d|_t|_dS(Ni����(RRtclosetflushRtTrueR(R((s-/usr/lib/python2.7/site-packages/fdpexpect.pyR2s	
	cCs:|jdkrtSytj|j�tSWntSXdS(s�This checks if the file descriptor is still valid. If os.fstat()
        does not raise an exception then we assume it is alive. i����N(RRRRR(R((s-/usr/lib/python2.7/site-packages/fdpexpect.pytisalive>scCstd��dS(Ns.This method is not valid for file descriptors.(R(Rtforce((s-/usr/lib/python2.7/site-packages/fdpexpect.pyt	terminateKscCsdS(N((Rtsig((s-/usr/lib/python2.7/site-packages/fdpexpect.pytkillOsN(t__name__t
__module__t__doc__R	R
RRRRRR!(((s-/usr/lib/python2.7/site-packages/fdpexpect.pyRs			
(R$tpexpectRt__all__RR(((s-/usr/lib/python2.7/site-packages/fdpexpect.pyt<module>s
	

https://t.me/AnonymousX5 - 2025