Module Expr Str Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Import alias Print NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareNotEq Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr body Return Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Num decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Str If CompareEq Call AttributeLoad NameLoad attr Num Str body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body Expr Str Expr Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Num FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign TupleStore AttributeStore NameLoad attr NameStore Call AttributeLoad NameLoad attr NameLoad Num Assign TupleStore AttributeStore NameLoad attr NameStore Call AttributeLoad NameLoad attr NameLoad Num Assign TupleStore NameStore AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Num Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Num Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Num Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BoolOpOr NameLoad Dict Assign NameStore Call NameLoad NameLoad FunctionDef arguments args defaults body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Num Num NameLoad NameLoad NameLoad decorator_list TryExcept body Expr Call NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If UnaryOpNot Call NameLoad NameLoad body Raise Call NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad orelse Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore NameLoad Assign NameStore NameLoad TryExcept body Expr Call NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If Call NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Raise Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call AttributeLoad NameLoad attr If CompareIn NameLoad TupleLoad Str Str Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Num body Return Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd CompareEq AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
http://isometric.sixsided.org/_/gates_in_the_head/
 N/A os N/A win32api N/A win32con N/A win32event N/A win32file N/A win32pipe N/A win32process N/A win32security N/A pywintypes N/A PIPE_ATTRS_INHERITABLE N/A N/A win32security SECURITY_ATTRIBUTES N/A N/A PIPE_ATTRS_INHERITABLE bInheritHandle 1 zope.interface implements twisted.internet.interfaces IProcessTransport IConsumer IProducer twisted.python.win32 quoteArguments twisted.internet error twisted.python failure twisted.internet _pollingfile twisted.internet._baseprocess BaseProcess debug N/A N/A msg N/A N/A N/A sys N/A msg N/A N/A N/A N/A sys stdout flush N/A _Reaper N/A N/A _pollingfile _PollableResource N/A __init__ N/A N/A self proc N/A N/A N/A N/A self proc proc N/A checkWork N/A N/A self N/A N/A N/A N/A N/A N/A win32event WaitForSingleObject N/A N/A self proc hProcess 0 N/A win32event WAIT_OBJECT_0 N/A N/A 0 N/A exitCode N/A N/A win32process GetExitCodeProcess N/A N/A self proc hProcess N/A N/A N/A self deactivate N/A N/A N/A N/A self proc processEnded exitCode N/A 0 N/A N/A _findShebang N/A N/A filename N/A N/A N/A 
    Look for a #! line, and return the value following the #! if one exists, or
    None if this file is not a script.

    I don't know if there are any conventions for quoting in Windows shebang
    lines, so this doesn't support any; therefore, you may not pass any
    arguments to scripts invoked as filters.  That's probably wrong, so if
    somebody knows more about the cultural expectations on Windows, please feel
    free to fix.

    This shebang line support was added in support of the CGI tests;
    appropriately enough, I determined that shebang lines are culturally
    accepted in the Windows world through this page::

        http://www.cgi101.com/learn/connect/winxp.html

    @param filename: str representing a filename

    @return: a str representing another filename.
     N/A f N/A file filename rU N/A N/A N/A N/A f read 2 #! N/A N/A exe N/A N/A N/A N/A f readline 1024 strip N/A exe N/A _invalidWin32App N/A N/A pywinerr N/A N/A N/A 
    Determine if a pywintypes.error is telling us that the given process is
    'not a valid win32 application', i.e. not a PE format executable.

    @param pywinerr: a pywintypes.error instance raised by CreateProcess

    @return: a boolean
     N/A N/A N/A N/A pywinerr args N/A 0 193 N/A Process N/A N/A _pollingfile _PollingTimer BaseProcess N/A N/A A process that integrates with the Twisted event loop.

    If your subprocess is a python program, you need to:

     - Run python.exe with the '-u' command line option - this turns on
       unbuffered I/O. Buffering stdout/err/in can cause problems, see e.g.
       http://support.microsoft.com/default.aspx?scid=kb;EN-US;q1903

     - If you don't want Windows messing with data passed over
       stdin/out/err, set the pipes to be in binary mode::

        import os, sys, mscvrt
        msvcrt.setmode(sys.stdin.fileno(), os.O_BINARY)
        msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY)
        msvcrt.setmode(sys.stderr.fileno(), os.O_BINARY)

     N/A N/A implements IProcessTransport IConsumer IProducer N/A closedNotifies 0 __init__ N/A N/A self reactor protocol command args environment path N/A N/A N/A N/A N/A N/A _pollingfile _PollingTimer __init__ self reactor N/A N/A N/A BaseProcess __init__ self protocol N/A sAttrs N/A N/A win32security SECURITY_ATTRIBUTES N/A N/A sAttrs bInheritHandle 1 N/A N/A N/A self hStdoutR hStdoutW N/A N/A win32pipe CreatePipe sAttrs 0 N/A N/A N/A self hStderrR hStderrW N/A N/A win32pipe CreatePipe sAttrs 0 N/A N/A hStdinR N/A self hStdinW N/A N/A win32pipe CreatePipe sAttrs 0 N/A N/A N/A win32pipe SetNamedPipeHandleState N/A self hStdinW N/A win32pipe PIPE_NOWAIT None None N/A StartupInfo N/A N/A win32process STARTUPINFO N/A N/A StartupInfo hStdOutput hStdoutW N/A N/A StartupInfo hStdError hStderrW N/A N/A StartupInfo hStdInput hStdinR N/A N/A StartupInfo dwFlags N/A win32process STARTF_USESTDHANDLES N/A currentPid N/A N/A win32api GetCurrentProcess N/A tmp N/A N/A win32api DuplicateHandle currentPid N/A self hStdoutR currentPid 0 0 N/A win32con DUPLICATE_SAME_ACCESS N/A N/A N/A win32file CloseHandle N/A self hStdoutR N/A N/A self hStdoutR tmp N/A tmp N/A N/A win32api DuplicateHandle currentPid N/A self hStderrR currentPid 0 0 N/A win32con DUPLICATE_SAME_ACCESS N/A N/A N/A win32file CloseHandle N/A self hStderrR N/A N/A self hStderrR tmp N/A tmp N/A N/A win32api DuplicateHandle currentPid N/A self hStdinW currentPid 0 0 N/A win32con DUPLICATE_SAME_ACCESS N/A N/A N/A win32file CloseHandle N/A self hStdinW N/A N/A self hStdinW tmp N/A env N/A N/A N/A os environ copy N/A N/A N/A env update N/A environment N/A N/A cmdline N/A quoteArguments args doCreate N/A N/A N/A N/A N/A N/A N/A self hProcess N/A self hThread N/A self pid dwTid N/A N/A win32process CreateProcess command cmdline None None 1 0 env path StartupInfo N/A N/A N/A N/A N/A doCreate N/A N/A N/A N/A pywintypes error N/A pwte N/A N/A N/A N/A _invalidWin32App pwte N/A N/A N/A OSError pwte N/A N/A sheb N/A _findShebang command N/A N/A sheb None N/A N/A N/A OSError N/A %r is neither a Windows executable, nor a script with a shebang line command N/A N/A args N/A list args N/A N/A N/A args insert 0 command N/A cmdline N/A quoteArguments args N/A origcmd command N/A command sheb N/A N/A N/A N/A doCreate N/A N/A N/A N/A pywintypes error N/A pwte2 N/A N/A N/A _invalidWin32App pwte2 N/A N/A N/A OSError N/A %r has an invalid shebang line: %r is not a valid executable N/A origcmd sheb N/A N/A OSError pwte2 N/A N/A N/A win32file CloseHandle hStderrW N/A N/A N/A win32file CloseHandle hStdoutW N/A N/A N/A win32file CloseHandle hStdinR N/A N/A self stdout N/A N/A _pollingfile _PollableReadPipe N/A self hStdoutR N/A N/A N/A data N/A N/A N/A N/A self proto childDataReceived 1 data N/A self outConnectionLost N/A N/A self stderr N/A N/A _pollingfile _PollableReadPipe N/A self hStderrR N/A N/A N/A data N/A N/A N/A N/A self proto childDataReceived 2 data N/A self errConnectionLost N/A N/A self stdin N/A N/A _pollingfile _PollableWritePipe N/A self hStdinW N/A self inConnectionLost N/A pipewatcher N/A N/A self stdout N/A self stderr N/A self stdin N/A N/A N/A N/A self _addPollableResource pipewatcher N/A N/A N/A N/A self proto makeConnection self N/A N/A N/A self _addPollableResource N/A _Reaper self N/A signalProcess N/A N/A self signalID N/A N/A N/A N/A N/A self pid None N/A N/A N/A N/A error ProcessExitedAlready N/A N/A signalID N/A INT TERM KILL N/A N/A N/A N/A win32process TerminateProcess N/A self hProcess 1 N/A _getReason N/A N/A self status N/A N/A N/A N/A status 0 N/A N/A N/A N/A error ProcessDone status N/A N/A N/A error ProcessTerminated status N/A write N/A N/A self data N/A N/A N/A Write data to the process' stdin. N/A N/A N/A N/A self stdin write data N/A writeSequence N/A N/A self seq N/A N/A N/A Write data to the process' stdin. N/A N/A N/A N/A self stdin writeSequence seq N/A closeChildFD N/A N/A self fd N/A N/A N/A N/A fd 0 N/A N/A N/A N/A self closeStdin N/A N/A N/A fd 1 N/A N/A N/A N/A self closeStdout N/A N/A N/A fd 2 N/A N/A N/A N/A self closeStderr N/A N/A N/A NotImplementedError Only standard-IO file descriptors available on win32 N/A closeStdin N/A N/A self N/A N/A N/A Close the process' stdin.
         N/A N/A N/A N/A self stdin close N/A closeStderr N/A N/A self N/A N/A N/A N/A N/A N/A self stderr close N/A closeStdout N/A N/A self N/A N/A N/A N/A N/A N/A self stdout close N/A loseConnection N/A N/A self N/A N/A N/A Close the process' stdout, in and err. N/A N/A N/A self closeStdin N/A N/A N/A self closeStdout N/A N/A N/A self closeStderr N/A outConnectionLost N/A N/A self N/A N/A N/A N/A N/A N/A self proto childConnectionLost 1 N/A N/A N/A self connectionLostNotify N/A errConnectionLost N/A N/A self N/A N/A N/A N/A N/A N/A self proto childConnectionLost 2 N/A N/A N/A self connectionLostNotify N/A inConnectionLost N/A N/A self N/A N/A N/A N/A N/A N/A self proto childConnectionLost 0 N/A N/A N/A self connectionLostNotify N/A connectionLostNotify N/A N/A self N/A N/A N/A 
        Will be called 3 times, by stdout/err threads and process handle.
         N/A N/A self closedNotifies 1 N/A N/A N/A self maybeCallProcessEnded N/A maybeCallProcessEnded N/A N/A self N/A N/A N/A N/A N/A N/A self closedNotifies 3 N/A self lostProcess N/A N/A N/A N/A win32file CloseHandle N/A self hProcess N/A N/A N/A win32file CloseHandle N/A self hThread N/A N/A self hProcess None N/A N/A self hThread None N/A N/A N/A BaseProcess maybeCallProcessEnded self N/A registerProducer N/A N/A self producer streaming N/A N/A N/A N/A N/A N/A self stdin registerProducer producer streaming N/A unregisterProducer N/A N/A self N/A N/A N/A N/A N/A N/A self stdin unregisterProducer N/A pauseProducing N/A N/A self N/A N/A N/A N/A N/A self _pause N/A resumeProducing N/A N/A self N/A N/A N/A N/A N/A self _unpause N/A stopProducing N/A N/A self N/A N/A N/A N/A N/A self loseConnection N/A __repr__ N/A N/A self N/A N/A N/A 
        Return a string representation of the process.
         N/A N/A <%s pid=%s> N/A N/A N/A self __class__ __name__ N/A self pid N/A N/A