/opt/alt/python34/lib64/python3.4/asyncio/__pycache__
NameSizeModeActions
base_events.cpython-34.pyc381670644editdlrm
base_events.cpython-34.pyo378350644editdlrm
base_subprocess.cpython-34.pyc98210644editdlrm
base_subprocess.cpython-34.pyo96960644editdlrm
compat.cpython-34.pyc7510644editdlrm
compat.cpython-34.pyo7510644editdlrm
constants.cpython-34.pyc2420644editdlrm
constants.cpython-34.pyo2420644editdlrm
coroutines.cpython-34.pyc87020644editdlrm
coroutines.cpython-34.pyo85690644editdlrm
events.cpython-34.pyc241880644editdlrm
events.cpython-34.pyo239790644editdlrm
futures.cpython-34.pyc156600644editdlrm
futures.cpython-34.pyo153860644editdlrm
locks.cpython-34.pyc156970644editdlrm
locks.cpython-34.pyo156970644editdlrm
log.cpython-34.pyc2440644editdlrm
log.cpython-34.pyo2440644editdlrm
proactor_events.cpython-34.pyc180090644editdlrm
proactor_events.cpython-34.pyo177630644editdlrm
protocols.cpython-34.pyc60910644editdlrm
protocols.cpython-34.pyo60910644editdlrm
queues.cpython-34.pyc89310644editdlrm
queues.cpython-34.pyo89310644editdlrm
selector_events.cpython-34.pyc309980644editdlrm
selector_events.cpython-34.pyo309330644editdlrm
sslproto.cpython-34.pyc213040644editdlrm
sslproto.cpython-34.pyo210530644editdlrm
streams.cpython-34.pyc208450644editdlrm
streams.cpython-34.pyo204880644editdlrm
subprocess.cpython-34.pyc71520644editdlrm
subprocess.cpython-34.pyo71160644editdlrm
tasks.cpython-34.pyc228510644editdlrm
tasks.cpython-34.pyo226470644editdlrm
test_utils.cpython-34.pyc163380644editdlrm
test_utils.cpython-34.pyo159310644editdlrm
transports.cpython-34.pyc121630644editdlrm
transports.cpython-34.pyo121270644editdlrm
unix_events.cpython-34.pyc313780644editdlrm
unix_events.cpython-34.pyo309670644editdlrm
windows_events.cpython-34.pyc233080644editdlrm
windows_events.cpython-34.pyo233080644editdlrm
windows_utils.cpython-34.pyc59430644editdlrm
windows_utils.cpython-34.pyo58410644editdlrm
__init__.cpython-34.pyc8700644editdlrm
__init__.cpython-34.pyo8700644editdlrm
Edit: /opt/alt/python34/lib64/python3.4/asyncio/__pycache__/windows_utils.cpython-34.pyc (5943B)
f@sMdZddlZejdkr0ednddlZddlZddlZddlZddlZddl Z ddl Z ddl Z ddddd gZ d Z e jZe jZejZeedrejZnejejdd dZd d ddde ddZGdd d ZGddde jZdS)z* Various Windows specific bits and pieces Nwin32z win32 only socketpairpipePopenPIPE PipeHandlei c Csq|tjkrd}n$|tjkr0d}n td|tjkrZtdn|dkrutdntj|||}z|j|df|jd|jdd \}}tj|||}yb|jd y|j ||fWnt t fk rYnX|jd |j \}} Wn|j YnXWd|j X||fS) zA socket pair usable as a self-pipe, for Windows. Origin: https://gist.github.com/4325783, by Geert Jansen. Public domain. z 127.0.0.1z::1z?Only AF_INET and AF_INET6 socket address families are supportedz)Only SOCK_STREAM socket type is supportedrzOnly protocol zero is supportedNFT)socketAF_INETZAF_INET6 ValueError SOCK_STREAMZbindZlistenZ getsocknameZ setblockingZconnectBlockingIOErrorInterruptedErrorZacceptclose) ZfamilytypeprotohostZlsockZaddrZportZcsockZssock_r:/opt/alt/python34/lib64/python3.4/asyncio/windows_utils.pyr%s8          duplexF overlappedTbufsizec Cstjddtjttf}|rWtj}tjtj B}||}}ntj }tj }d|}}|tj O}|dr|tj O}n|drtj }nd}d} } ytj ||tjd||tjtj} tj||dtjtj|tj} tj| dd} | jd| | fSWnC| dk rltj| n| dk rtj| nYnXdS)zELike os.pipe() but with overlapped support and using handles not fds.prefixz\\.\pipe\python-pipe-%d-%d-rrNrT)tempfileZmktemposgetpidnext _mmap_counter_winapiZPIPE_ACCESS_DUPLEXZ GENERIC_READZ GENERIC_WRITEZPIPE_ACCESS_INBOUNDZFILE_FLAG_FIRST_PIPE_INSTANCEZFILE_FLAG_OVERLAPPEDZCreateNamedPipeZ PIPE_WAITZNMPWAIT_WAIT_FOREVERZNULLZ CreateFileZ OPEN_EXISTINGZConnectNamedPipeZGetOverlappedResult CloseHandle) rrrZaddressZopenmodeaccessZobsizeZibsizeZflags_and_attribsZh1Zh2ZovrrrrSs@              c@seZdZdZddZddZeddZdd Zd e j d d Z d dZ ddZ ddZdS)rzWrapper for an overlapped pipe handle which is vaguely file-object like. The IOCP event loop can use these instead of socket objects. cCs ||_dS)N)_handle)selfhandlerrr__init__szPipeHandle.__init__cCs9|jdk rd|j}nd}d|jj|fS)Nz handle=%rclosedz<%s %s>)r# __class____name__)r$r%rrr__repr__szPipeHandle.__repr__cCs|jS)N)r#)r$rrrr%szPipeHandle.handlecCs%|jdkrtdn|jS)NzI/O operatioon on closed pipe)r#r )r$rrrfilenoszPipeHandle.filenor!cCs,|jdk r(||jd|_ndS)N)r#)r$r!rrrrs zPipeHandle.closecCs4|jdk r0tjd|t|jndS)Nz unclosed %r)r#warningswarnResourceWarningr)r$rrr__del__szPipeHandle.__del__cCs|S)Nr)r$rrr __enter__szPipeHandle.__enter__cCs|jdS)N)r)r$tvtbrrr__exit__szPipeHandle.__exit__N)r) __module__ __qualname____doc__r&r*propertyr%r+r r!rr/r0r4rrrrrs      cs1eZdZdZdddfddZS)rzReplacement for subprocess.Popen using overlapped pipe handles. The stdin, stdout, stderr are None or instances of PipeHandle. Nc sI|jd st|jdddks4td}}}d} } } |tkrtdd dd\} } tj| tj}n|}|tkrtdd \} } tj| d}n|}|tkrtdd \} }tj|d}n|tkr|}n|}zy)t j |d|d |d ||WnAx3| | | fD]"}|dk rdt j |qdqdWYn[X| dk rt | |_n| dk rt | |_n| dk rt | |_nWd|tkr tj|n|tkr(tj|n|tkrDtj|nXdS)NZuniversal_newlinesrrrFTrstdinstdoutstderr)FT)TF)TF)getAssertionErrorrrmsvcrtZopen_osfhandlerO_RDONLYSTDOUTsuperr&r r!rr9r:r;r)r$argsr9r:r;kwdsZ stdin_rfdZ stdout_wfdZ stderr_wfdZstdin_whZ stdout_rhZ stderr_rhZstdin_rhZ stdout_whZ stderr_whh)r(rrr&sL            zPopen.__init__)r)r5r6r7r&rr)r(rrs )TT)r7sysplatform ImportErrorr itertoolsr>rr subprocessrr,__all__ZBUFSIZErr@countrhasattrrr r rrrrrrrs,             .0,