# -*- Mode: Python; tab-width: 4 -*- # Id: asynchat.py,v 2.26 2000/09/07 22:29:26 rushing Exp # Author: Sam Rushing <rushing@nightmare.com> # ====================================================================== # Copyright 1996 by Sam Rushing # # All Rights Reserved # # Permission to use, copy, modify, and distribute this software and # its documentation for any purpose and without fee is hereby # granted, provided that the above copyright notice appear in all # copies and that both that copyright notice and this permission # notice appear in supporting documentation, and that the name of Sam # Rushing not be used in advertising or publicity pertaining to # distribution of the software without specific, written prior # permission. # # SAM RUSHING DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN # NO EVENT SHALL SAM RUSHING BE LIABLE FOR ANY SPECIAL, INDIRECT OR # CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS # OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # ====================================================================== r"""A class supporting chat-style (command/response) protocols. This class adds support for 'chat' style protocols - where one side sends a 'command', and the other sends a response (examples would be the common internet protocols - smtp, nntp, ftp, etc..). The handle_read() method looks at the input stream for the current 'terminator' (usually '\r\n' for single-line responses, '\r\n.\r\n' for multi-line output), calling self.found_terminator() on its receipt. for example: Say you build an async nntp client using this class. At the start of the connection, you'll have self.terminator set to '\r\n', in order to process the single-line greeting. Just before issuing a 'LIST' command you'll set it to '\r\n.\r\n'. The output of the LIST command will be accumulated (using your own 'collect_incoming_data' method) up to the terminator, and then control will be returned to you - by calling your self.found_terminator() method. """ import asyncore import errno import socket from collections import deque from sys import py3kwarning from warnings import filterwarnings, catch_warnings _BLOCKING_IO_ERRORS = (errno.EAGAIN, errno.EALREADY, errno.EINPROGRESS, errno.EWOULDBLOCK) class async_chat (asyncore.dispatcher): """This is an abstract class. You must derive from this class, and add the two methods collect_incoming_data() and found_terminator()""" # these are overridable defaults ac_in_buffer_size = 4096 ac_out_buffer_size = 4096 def __init__ (self, sock=None, map=None): # for string terminator matching self.ac_in_buffer = '' # we use a list here rather than cStringIO for a few reasons... # del lst[:] is faster than sio.truncate(0) # lst = [] is faster than sio.truncate(0) # cStringIO will be gaining unicode support in py3k, which # will negatively affect the performance of bytes compared to # a ''.join() equivalent self.incoming = [] # we toss the use of the "simple producer" and replace it with # a pure deque, which the original fifo was a wrapping of self.producer_fifo = deque() asyncore.dispatcher.__init__ (self, sock, map) def collect_incoming_data(self, data): raise NotImplementedError("must be implemented in subclass") def _collect_incoming_data(self, data): self.incoming.append(data) def _get_data(self): d = ''.join(self.incoming) del self.incoming[:] return d def found_terminator(self): raise NotImplementedError("must be implemented in subclass") def set_terminator (self, term): "Set the input delimiter. Can be a fixed string of any length, an integer, or None" self.terminator = term def get_terminator (self): return self.terminator # grab some more data from the socket, # throw it to the collector method, # check for the terminator, # if found, transition to the next state. def handle_read (self): try: data = self.recv (self.ac_in_buffer_size) except socket.error, why: if why.args[0] in _BLOCKING_IO_ERRORS: return self.handle_error() return self.ac_in_buffer = self.ac_in_buffer + data # Continue to search for self.terminator in self.ac_in_buffer, # while calling self.collect_incoming_data. The while loop # is necessary because we might read several data+terminator # combos with a single recv(4096). while self.ac_in_buffer: lb = len(self.ac_in_buffer) terminator = self.get_terminator() if not terminator: # no terminator, collect it all self.collect_incoming_data (self.ac_in_buffer) self.ac_in_buffer = '' elif isinstance(terminator, (int, long)): # numeric terminator n = terminator if lb < n: self.collect_incoming_data (self.ac_in_buffer) self.ac_in_buffer = '' self.terminator = self.terminator - lb else: self.collect_incoming_data (self.ac_in_buffer[:n]) self.ac_in_buffer = self.ac_in_buffer[n:] self.terminator = 0 self.found_terminator() else: # 3 cases: # 1) end of buffer matches terminator exactly: # collect data, transition # 2) end of buffer matches some prefix: # collect data to the prefix # 3) end of buffer does not match any prefix: # collect data terminator_len = len(terminator) index = self.ac_in_buffer.find(terminator) if index != -1: # we found the terminator if index > 0: # don't bother reporting the empty string (source of subtle bugs) self.collect_incoming_data (self.ac_in_buffer[:index]) self.ac_in_buffer = self.ac_in_buffer[index+terminator_len:] # This does the Right Thing if the terminator is changed here. self.found_terminator() else: # check for a prefix of the terminator index = find_prefix_at_end (self.ac_in_buffer, terminator) if index: if index != lb: # we found a prefix, collect up to the prefix self.collect_incoming_data (self.ac_in_buffer[:-index]) self.ac_in_buffer = self.ac_in_buffer[-index:] break else: # no prefix, collect it all self.collect_incoming_data (self.ac_in_buffer) self.ac_in_buffer = '' def handle_write (self): self.initiate_send() def handle_close (self): self.close() def push (self, data): sabs = self.ac_out_buffer_size if len(data) > sabs: for i in xrange(0, len(data), sabs): self.producer_fifo.append(data[i:i+sabs]) else: self.producer_fifo.append(data) self.initiate_send() def push_with_producer (self, producer): self.producer_fifo.append(producer) self.initiate_send() def readable (self): "predicate for inclusion in the readable for select()" # cannot use the old predicate, it violates the claim of the # set_terminator method. # return (len(self.ac_in_buffer) <= self.ac_in_buffer_size) return 1 def writable (self): "predicate for inclusion in the writable for select()" return self.producer_fifo or (not self.connected) def close_when_done (self): "automatically close this channel once the outgoing queue is empty" self.producer_fifo.append(None) def initiate_send(self): while self.producer_fifo and self.connected: first = self.producer_fifo[0] # handle empty string/buffer or None entry if not first: del self.producer_fifo[0] if first is None: self.handle_close() return # handle classic producer behavior obs = self.ac_out_buffer_size try: with catch_warnings(): if py3kwarning: filterwarnings("ignore", ".*buffer", DeprecationWarning) data = buffer(first, 0, obs) except TypeError: data = first.more() if data: self.producer_fifo.appendleft(data) else: del self.producer_fifo[0] continue # send the data try: num_sent = self.send(data) except socket.error: self.handle_error() return if num_sent: if num_sent < len(data) or obs < len(first): self.producer_fifo[0] = first[num_sent:] else: del self.producer_fifo[0] # we tried to send some actual data return def discard_buffers (self): # Emergencies only! self.ac_in_buffer = '' del self.incoming[:] self.producer_fifo.clear() class simple_producer: def __init__ (self, data, buffer_size=512): self.data = data self.buffer_size = buffer_size def more (self): if len (self.data) > self.buffer_size: result = self.data[:self.buffer_size] self.data = self.data[self.buffer_size:] return result else: result = self.data self.data = '' return result class fifo: def __init__ (self, list=None): if not list: self.list = deque() else: self.list = deque(list) def __len__ (self): return len(self.list) def is_empty (self): return not self.list def first (self): return self.list[0] def push (self, data): self.list.append(data) def pop (self): if self.list: return (1, self.list.popleft()) else: return (0, None) # Given 'haystack', see if any prefix of 'needle' is at its end. This # assumes an exact match has already been checked. Return the number of # characters matched. # for example: # f_p_a_e ("qwerty\r", "\r\n") => 1 # f_p_a_e ("qwertydkjf", "\r\n") => 0 # f_p_a_e ("qwerty\r\n", "\r\n") => <undefined> # this could maybe be made faster with a computed regex? # [answer: no; circa Python-2.0, Jan 2001] # new python: 28961/s # old python: 18307/s # re: 12820/s # regex: 14035/s def find_prefix_at_end (haystack, needle): l = len(needle) - 1 while l and not haystack.endswith(needle[:l]): l -= 1 return l
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Demo | Folder | 0755 |
|
|
Doc | Folder | 0755 |
|
|
Tools | Folder | 0755 |
|
|
bsddb | Folder | 0755 |
|
|
compiler | Folder | 0755 |
|
|
config | Folder | 0755 |
|
|
ctypes | Folder | 0755 |
|
|
curses | Folder | 0755 |
|
|
distutils | Folder | 0755 |
|
|
Folder | 0755 |
|
||
encodings | Folder | 0755 |
|
|
ensurepip | Folder | 0755 |
|
|
hotshot | Folder | 0755 |
|
|
idlelib | Folder | 0755 |
|
|
importlib | Folder | 0755 |
|
|
json | Folder | 0755 |
|
|
lib-dynload | Folder | 0755 |
|
|
lib-tk | Folder | 0755 |
|
|
lib2to3 | Folder | 0755 |
|
|
logging | Folder | 0755 |
|
|
multiprocessing | Folder | 0755 |
|
|
plat-linux2 | Folder | 0755 |
|
|
pydoc_data | Folder | 0755 |
|
|
site-packages | Folder | 0755 |
|
|
sqlite3 | Folder | 0755 |
|
|
test | Folder | 0755 |
|
|
unittest | Folder | 0755 |
|
|
wsgiref | Folder | 0755 |
|
|
xml | Folder | 0755 |
|
|
BaseHTTPServer.py | File | 22.21 KB | 0644 |
|
BaseHTTPServer.pyc | File | 21.21 KB | 0644 |
|
BaseHTTPServer.pyo | File | 21.21 KB | 0644 |
|
Bastion.py | File | 5.61 KB | 0644 |
|
Bastion.pyc | File | 6.5 KB | 0644 |
|
Bastion.pyo | File | 6.5 KB | 0644 |
|
CGIHTTPServer.py | File | 12.78 KB | 0644 |
|
CGIHTTPServer.pyc | File | 10.76 KB | 0644 |
|
CGIHTTPServer.pyo | File | 10.76 KB | 0644 |
|
ConfigParser.py | File | 27.1 KB | 0644 |
|
ConfigParser.pyc | File | 24.62 KB | 0644 |
|
ConfigParser.pyo | File | 24.62 KB | 0644 |
|
Cookie.py | File | 25.92 KB | 0644 |
|
Cookie.pyc | File | 22.13 KB | 0644 |
|
Cookie.pyo | File | 22.13 KB | 0644 |
|
DocXMLRPCServer.py | File | 10.52 KB | 0644 |
|
DocXMLRPCServer.pyc | File | 9.96 KB | 0644 |
|
DocXMLRPCServer.pyo | File | 9.85 KB | 0644 |
|
HTMLParser.py | File | 16.77 KB | 0644 |
|
HTMLParser.pyc | File | 13.41 KB | 0644 |
|
HTMLParser.pyo | File | 13.11 KB | 0644 |
|
MimeWriter.py | File | 6.33 KB | 0644 |
|
MimeWriter.pyc | File | 7.19 KB | 0644 |
|
MimeWriter.pyo | File | 7.19 KB | 0644 |
|
Queue.py | File | 8.38 KB | 0644 |
|
Queue.pyc | File | 9.2 KB | 0644 |
|
Queue.pyo | File | 9.2 KB | 0644 |
|
SimpleHTTPServer.py | File | 7.81 KB | 0644 |
|
SimpleHTTPServer.pyc | File | 7.82 KB | 0644 |
|
SimpleHTTPServer.pyo | File | 7.82 KB | 0644 |
|
SimpleXMLRPCServer.py | File | 25.21 KB | 0644 |
|
SimpleXMLRPCServer.pyc | File | 22.33 KB | 0644 |
|
SimpleXMLRPCServer.pyo | File | 22.33 KB | 0644 |
|
SocketServer.py | File | 23.39 KB | 0644 |
|
SocketServer.pyc | File | 23.52 KB | 0644 |
|
SocketServer.pyo | File | 23.52 KB | 0644 |
|
StringIO.py | File | 10.41 KB | 0644 |
|
StringIO.pyc | File | 11.21 KB | 0644 |
|
StringIO.pyo | File | 11.21 KB | 0644 |
|
UserDict.py | File | 6.89 KB | 0644 |
|
UserDict.pyc | File | 9.48 KB | 0644 |
|
UserDict.pyo | File | 9.48 KB | 0644 |
|
UserList.py | File | 3.56 KB | 0644 |
|
UserList.pyc | File | 6.42 KB | 0644 |
|
UserList.pyo | File | 6.42 KB | 0644 |
|
UserString.py | File | 9.46 KB | 0755 |
|
UserString.pyc | File | 14.52 KB | 0644 |
|
UserString.pyo | File | 14.52 KB | 0644 |
|
_LWPCookieJar.py | File | 6.4 KB | 0644 |
|
_LWPCookieJar.pyc | File | 5.31 KB | 0644 |
|
_LWPCookieJar.pyo | File | 5.31 KB | 0644 |
|
_MozillaCookieJar.py | File | 5.66 KB | 0644 |
|
_MozillaCookieJar.pyc | File | 4.36 KB | 0644 |
|
_MozillaCookieJar.pyo | File | 4.32 KB | 0644 |
|
__future__.py | File | 4.28 KB | 0644 |
|
__future__.pyc | File | 4.12 KB | 0644 |
|
__future__.pyo | File | 4.12 KB | 0644 |
|
__phello__.foo.py | File | 64 B | 0644 |
|
__phello__.foo.pyc | File | 125 B | 0644 |
|
__phello__.foo.pyo | File | 125 B | 0644 |
|
_abcoll.py | File | 18.18 KB | 0644 |
|
_abcoll.pyc | File | 25.08 KB | 0644 |
|
_abcoll.pyo | File | 25.08 KB | 0644 |
|
_osx_support.py | File | 18.65 KB | 0644 |
|
_osx_support.pyc | File | 11.48 KB | 0644 |
|
_osx_support.pyo | File | 11.48 KB | 0644 |
|
_pyio.py | File | 68 KB | 0644 |
|
_pyio.pyc | File | 63.18 KB | 0644 |
|
_pyio.pyo | File | 63.18 KB | 0644 |
|
_strptime.py | File | 20.24 KB | 0644 |
|
_strptime.pyc | File | 14.82 KB | 0644 |
|
_strptime.pyo | File | 14.82 KB | 0644 |
|
_sysconfigdata.py | File | 19.27 KB | 0644 |
|
_sysconfigdata.pyc | File | 22.43 KB | 0644 |
|
_sysconfigdata.pyo | File | 22.43 KB | 0644 |
|
_threading_local.py | File | 7.09 KB | 0644 |
|
_threading_local.pyc | File | 6.22 KB | 0644 |
|
_threading_local.pyo | File | 6.22 KB | 0644 |
|
_weakrefset.py | File | 5.77 KB | 0644 |
|
_weakrefset.pyc | File | 9.45 KB | 0644 |
|
_weakrefset.pyo | File | 9.45 KB | 0644 |
|
abc.py | File | 6.98 KB | 0644 |
|
abc.pyc | File | 6 KB | 0644 |
|
abc.pyo | File | 5.94 KB | 0644 |
|
aifc.py | File | 33.77 KB | 0644 |
|
aifc.pyc | File | 29.75 KB | 0644 |
|
aifc.pyo | File | 29.75 KB | 0644 |
|
antigravity.py | File | 60 B | 0644 |
|
antigravity.pyc | File | 203 B | 0644 |
|
antigravity.pyo | File | 203 B | 0644 |
|
anydbm.py | File | 2.6 KB | 0644 |
|
anydbm.pyc | File | 2.73 KB | 0644 |
|
anydbm.pyo | File | 2.73 KB | 0644 |
|
argparse.py | File | 87.14 KB | 0644 |
|
argparse.pyc | File | 62.86 KB | 0644 |
|
argparse.pyo | File | 62.7 KB | 0644 |
|
ast.py | File | 11.53 KB | 0644 |
|
ast.pyc | File | 12.63 KB | 0644 |
|
ast.pyo | File | 12.63 KB | 0644 |
|
asynchat.py | File | 11.31 KB | 0644 |
|
asynchat.pyc | File | 8.6 KB | 0644 |
|
asynchat.pyo | File | 8.6 KB | 0644 |
|
asyncore.py | File | 20.45 KB | 0644 |
|
asyncore.pyc | File | 18.45 KB | 0644 |
|
asyncore.pyo | File | 18.45 KB | 0644 |
|
atexit.py | File | 1.67 KB | 0644 |
|
atexit.pyc | File | 2.15 KB | 0644 |
|
atexit.pyo | File | 2.15 KB | 0644 |
|
audiodev.py | File | 7.42 KB | 0644 |
|
audiodev.pyc | File | 8.27 KB | 0644 |
|
audiodev.pyo | File | 8.27 KB | 0644 |
|
base64.py | File | 11.53 KB | 0755 |
|
base64.pyc | File | 11.03 KB | 0644 |
|
base64.pyo | File | 11.03 KB | 0644 |
|
bdb.py | File | 21.21 KB | 0644 |
|
bdb.pyc | File | 18.65 KB | 0644 |
|
bdb.pyo | File | 18.65 KB | 0644 |
|
binhex.py | File | 14.35 KB | 0644 |
|
binhex.pyc | File | 15.1 KB | 0644 |
|
binhex.pyo | File | 15.1 KB | 0644 |
|
bisect.py | File | 2.53 KB | 0644 |
|
bisect.pyc | File | 3 KB | 0644 |
|
bisect.pyo | File | 3 KB | 0644 |
|
cProfile.py | File | 6.42 KB | 0755 |
|
cProfile.pyc | File | 6.25 KB | 0644 |
|
cProfile.pyo | File | 6.25 KB | 0644 |
|
calendar.py | File | 22.84 KB | 0644 |
|
calendar.pyc | File | 27.26 KB | 0644 |
|
calendar.pyo | File | 27.26 KB | 0644 |
|
cgi.py | File | 35.46 KB | 0755 |
|
cgi.pyc | File | 32.58 KB | 0644 |
|
cgi.pyo | File | 32.58 KB | 0644 |
|
cgitb.py | File | 11.89 KB | 0644 |
|
cgitb.pyc | File | 11.85 KB | 0644 |
|
cgitb.pyo | File | 11.85 KB | 0644 |
|
chunk.py | File | 5.29 KB | 0644 |
|
chunk.pyc | File | 5.47 KB | 0644 |
|
chunk.pyo | File | 5.47 KB | 0644 |
|
cmd.py | File | 14.67 KB | 0644 |
|
cmd.pyc | File | 13.71 KB | 0644 |
|
cmd.pyo | File | 13.71 KB | 0644 |
|
code.py | File | 9.95 KB | 0644 |
|
code.pyc | File | 10.09 KB | 0644 |
|
code.pyo | File | 10.09 KB | 0644 |
|
codecs.py | File | 35.3 KB | 0644 |
|
codecs.pyc | File | 35.96 KB | 0644 |
|
codecs.pyo | File | 35.96 KB | 0644 |
|
codeop.py | File | 5.86 KB | 0644 |
|
codeop.pyc | File | 6.44 KB | 0644 |
|
codeop.pyo | File | 6.44 KB | 0644 |
|
collections.py | File | 27.15 KB | 0644 |
|
collections.pyc | File | 25.55 KB | 0644 |
|
collections.pyo | File | 25.5 KB | 0644 |
|
colorsys.py | File | 3.6 KB | 0644 |
|
colorsys.pyc | File | 3.9 KB | 0644 |
|
colorsys.pyo | File | 3.9 KB | 0644 |
|
commands.py | File | 2.49 KB | 0644 |
|
commands.pyc | File | 2.41 KB | 0644 |
|
commands.pyo | File | 2.41 KB | 0644 |
|
compileall.py | File | 7.58 KB | 0644 |
|
compileall.pyc | File | 6.85 KB | 0644 |
|
compileall.pyo | File | 6.85 KB | 0644 |
|
contextlib.py | File | 4.32 KB | 0644 |
|
contextlib.pyc | File | 4.35 KB | 0644 |
|
contextlib.pyo | File | 4.35 KB | 0644 |
|
cookielib.py | File | 63.95 KB | 0644 |
|
cookielib.pyc | File | 53.44 KB | 0644 |
|
cookielib.pyo | File | 53.26 KB | 0644 |
|
copy.py | File | 11.26 KB | 0644 |
|
copy.pyc | File | 11.88 KB | 0644 |
|
copy.pyo | File | 11.79 KB | 0644 |
|
copy_reg.py | File | 6.81 KB | 0644 |
|
copy_reg.pyc | File | 5.05 KB | 0644 |
|
copy_reg.pyo | File | 5 KB | 0644 |
|
crypt.py | File | 2.24 KB | 0644 |
|
crypt.pyc | File | 2.89 KB | 0644 |
|
crypt.pyo | File | 2.89 KB | 0644 |
|
csv.py | File | 16.32 KB | 0644 |
|
csv.pyc | File | 13.19 KB | 0644 |
|
csv.pyo | File | 13.19 KB | 0644 |
|
dbhash.py | File | 498 B | 0644 |
|
dbhash.pyc | File | 718 B | 0644 |
|
dbhash.pyo | File | 718 B | 0644 |
|
decimal.py | File | 216.73 KB | 0644 |
|
decimal.pyc | File | 168.12 KB | 0644 |
|
decimal.pyo | File | 168.12 KB | 0644 |
|
difflib.py | File | 80.4 KB | 0644 |
|
difflib.pyc | File | 60.45 KB | 0644 |
|
difflib.pyo | File | 60.4 KB | 0644 |
|
dircache.py | File | 1.1 KB | 0644 |
|
dircache.pyc | File | 1.54 KB | 0644 |
|
dircache.pyo | File | 1.54 KB | 0644 |
|
dis.py | File | 6.35 KB | 0644 |
|
dis.pyc | File | 6.08 KB | 0644 |
|
dis.pyo | File | 6.08 KB | 0644 |
|
doctest.py | File | 102.63 KB | 0644 |
|
doctest.pyc | File | 81.68 KB | 0644 |
|
doctest.pyo | File | 81.4 KB | 0644 |
|
dumbdbm.py | File | 8.93 KB | 0644 |
|
dumbdbm.pyc | File | 6.59 KB | 0644 |
|
dumbdbm.pyo | File | 6.59 KB | 0644 |
|
dummy_thread.py | File | 4.31 KB | 0644 |
|
dummy_thread.pyc | File | 5.27 KB | 0644 |
|
dummy_thread.pyo | File | 5.27 KB | 0644 |
|
dummy_threading.py | File | 2.74 KB | 0644 |
|
dummy_threading.pyc | File | 1.25 KB | 0644 |
|
dummy_threading.pyo | File | 1.25 KB | 0644 |
|
filecmp.py | File | 9.36 KB | 0644 |
|
filecmp.pyc | File | 9.4 KB | 0644 |
|
filecmp.pyo | File | 9.4 KB | 0644 |
|
fileinput.py | File | 13.42 KB | 0644 |
|
fileinput.pyc | File | 14.16 KB | 0644 |
|
fileinput.pyo | File | 14.16 KB | 0644 |
|
fnmatch.py | File | 3.24 KB | 0644 |
|
fnmatch.pyc | File | 3.53 KB | 0644 |
|
fnmatch.pyo | File | 3.53 KB | 0644 |
|
formatter.py | File | 14.56 KB | 0644 |
|
formatter.pyc | File | 18.73 KB | 0644 |
|
formatter.pyo | File | 18.73 KB | 0644 |
|
fpformat.py | File | 4.62 KB | 0644 |
|
fpformat.pyc | File | 4.59 KB | 0644 |
|
fpformat.pyo | File | 4.59 KB | 0644 |
|
fractions.py | File | 21.87 KB | 0644 |
|
fractions.pyc | File | 19.25 KB | 0644 |
|
fractions.pyo | File | 19.25 KB | 0644 |
|
ftplib.py | File | 37.65 KB | 0644 |
|
ftplib.pyc | File | 34.12 KB | 0644 |
|
ftplib.pyo | File | 34.12 KB | 0644 |
|
functools.py | File | 4.69 KB | 0644 |
|
functools.pyc | File | 6.47 KB | 0644 |
|
functools.pyo | File | 6.47 KB | 0644 |
|
genericpath.py | File | 3.13 KB | 0644 |
|
genericpath.pyc | File | 3.43 KB | 0644 |
|
genericpath.pyo | File | 3.43 KB | 0644 |
|
getopt.py | File | 7.15 KB | 0644 |
|
getopt.pyc | File | 6.5 KB | 0644 |
|
getopt.pyo | File | 6.45 KB | 0644 |
|
getpass.py | File | 5.43 KB | 0644 |
|
getpass.pyc | File | 4.63 KB | 0644 |
|
getpass.pyo | File | 4.63 KB | 0644 |
|
gettext.py | File | 22.13 KB | 0644 |
|
gettext.pyc | File | 17.58 KB | 0644 |
|
gettext.pyo | File | 17.58 KB | 0644 |
|
glob.py | File | 3.04 KB | 0644 |
|
glob.pyc | File | 2.87 KB | 0644 |
|
glob.pyo | File | 2.87 KB | 0644 |
|
gzip.py | File | 18.58 KB | 0644 |
|
gzip.pyc | File | 14.88 KB | 0644 |
|
gzip.pyo | File | 14.88 KB | 0644 |
|
hashlib.py | File | 7.66 KB | 0644 |
|
hashlib.pyc | File | 6.76 KB | 0644 |
|
hashlib.pyo | File | 6.76 KB | 0644 |
|
heapq.py | File | 17.87 KB | 0644 |
|
heapq.pyc | File | 14.22 KB | 0644 |
|
heapq.pyo | File | 14.22 KB | 0644 |
|
hmac.py | File | 4.48 KB | 0644 |
|
hmac.pyc | File | 4.44 KB | 0644 |
|
hmac.pyo | File | 4.44 KB | 0644 |
|
htmlentitydefs.py | File | 17.63 KB | 0644 |
|
htmlentitydefs.pyc | File | 6.22 KB | 0644 |
|
htmlentitydefs.pyo | File | 6.22 KB | 0644 |
|
htmllib.py | File | 12.57 KB | 0644 |
|
htmllib.pyc | File | 19.83 KB | 0644 |
|
htmllib.pyo | File | 19.83 KB | 0644 |
|
httplib.py | File | 52.06 KB | 0644 |
|
httplib.pyc | File | 37.82 KB | 0644 |
|
httplib.pyo | File | 37.64 KB | 0644 |
|
ihooks.py | File | 18.54 KB | 0644 |
|
ihooks.pyc | File | 20.87 KB | 0644 |
|
ihooks.pyo | File | 20.87 KB | 0644 |
|
imaplib.py | File | 47.23 KB | 0644 |
|
imaplib.pyc | File | 43.96 KB | 0644 |
|
imaplib.pyo | File | 41.32 KB | 0644 |
|
imghdr.py | File | 3.46 KB | 0644 |
|
imghdr.pyc | File | 4.72 KB | 0644 |
|
imghdr.pyo | File | 4.72 KB | 0644 |
|
imputil.py | File | 25.16 KB | 0644 |
|
imputil.pyc | File | 15.26 KB | 0644 |
|
imputil.pyo | File | 15.08 KB | 0644 |
|
inspect.py | File | 42 KB | 0644 |
|
inspect.pyc | File | 39.29 KB | 0644 |
|
inspect.pyo | File | 39.29 KB | 0644 |
|
io.py | File | 3.24 KB | 0644 |
|
io.pyc | File | 3.5 KB | 0644 |
|
io.pyo | File | 3.5 KB | 0644 |
|
keyword.py | File | 1.95 KB | 0755 |
|
keyword.pyc | File | 2.06 KB | 0644 |
|
keyword.pyo | File | 2.06 KB | 0644 |
|
linecache.py | File | 3.93 KB | 0644 |
|
linecache.pyc | File | 3.2 KB | 0644 |
|
linecache.pyo | File | 3.2 KB | 0644 |
|
locale.py | File | 100.42 KB | 0644 |
|
locale.pyc | File | 55.28 KB | 0644 |
|
locale.pyo | File | 55.28 KB | 0644 |
|
macpath.py | File | 6.14 KB | 0644 |
|
macpath.pyc | File | 7.5 KB | 0644 |
|
macpath.pyo | File | 7.5 KB | 0644 |
|
macurl2path.py | File | 2.67 KB | 0644 |
|
macurl2path.pyc | File | 2.19 KB | 0644 |
|
macurl2path.pyo | File | 2.19 KB | 0644 |
|
mailbox.py | File | 79.34 KB | 0644 |
|
mailbox.pyc | File | 74.92 KB | 0644 |
|
mailbox.pyo | File | 74.87 KB | 0644 |
|
mailcap.py | File | 8.21 KB | 0644 |
|
mailcap.pyc | File | 7.77 KB | 0644 |
|
mailcap.pyo | File | 7.77 KB | 0644 |
|
markupbase.py | File | 14.3 KB | 0644 |
|
markupbase.pyc | File | 9.05 KB | 0644 |
|
markupbase.pyo | File | 8.86 KB | 0644 |
|
md5.py | File | 358 B | 0644 |
|
md5.pyc | File | 378 B | 0644 |
|
md5.pyo | File | 378 B | 0644 |
|
mhlib.py | File | 32.65 KB | 0644 |
|
mhlib.pyc | File | 32.99 KB | 0644 |
|
mhlib.pyo | File | 32.99 KB | 0644 |
|
mimetools.py | File | 7 KB | 0644 |
|
mimetools.pyc | File | 8.01 KB | 0644 |
|
mimetools.pyo | File | 8.01 KB | 0644 |
|
mimetypes.py | File | 20.54 KB | 0644 |
|
mimetypes.pyc | File | 18.06 KB | 0644 |
|
mimetypes.pyo | File | 18.06 KB | 0644 |
|
mimify.py | File | 14.67 KB | 0755 |
|
mimify.pyc | File | 11.72 KB | 0644 |
|
mimify.pyo | File | 11.72 KB | 0644 |
|
modulefinder.py | File | 23.89 KB | 0644 |
|
modulefinder.pyc | File | 18.68 KB | 0644 |
|
modulefinder.pyo | File | 18.6 KB | 0644 |
|
multifile.py | File | 4.71 KB | 0644 |
|
multifile.pyc | File | 5.29 KB | 0644 |
|
multifile.pyo | File | 5.25 KB | 0644 |
|
mutex.py | File | 1.83 KB | 0644 |
|
mutex.pyc | File | 2.46 KB | 0644 |
|
mutex.pyo | File | 2.46 KB | 0644 |
|
netrc.py | File | 5.75 KB | 0644 |
|
netrc.pyc | File | 4.6 KB | 0644 |
|
netrc.pyo | File | 4.6 KB | 0644 |
|
new.py | File | 610 B | 0644 |
|
new.pyc | File | 862 B | 0644 |
|
new.pyo | File | 862 B | 0644 |
|
nntplib.py | File | 20.97 KB | 0644 |
|
nntplib.pyc | File | 20.55 KB | 0644 |
|
nntplib.pyo | File | 20.55 KB | 0644 |
|
ntpath.py | File | 18.97 KB | 0644 |
|
ntpath.pyc | File | 12.82 KB | 0644 |
|
ntpath.pyo | File | 12.82 KB | 0644 |
|
nturl2path.py | File | 2.36 KB | 0644 |
|
nturl2path.pyc | File | 1.77 KB | 0644 |
|
nturl2path.pyo | File | 1.77 KB | 0644 |
|
numbers.py | File | 10.08 KB | 0644 |
|
numbers.pyc | File | 13.68 KB | 0644 |
|
numbers.pyo | File | 13.68 KB | 0644 |
|
opcode.py | File | 5.35 KB | 0644 |
|
opcode.pyc | File | 6 KB | 0644 |
|
opcode.pyo | File | 6 KB | 0644 |
|
optparse.py | File | 59.77 KB | 0644 |
|
optparse.pyc | File | 52.63 KB | 0644 |
|
optparse.pyo | File | 52.55 KB | 0644 |
|
os.py | File | 25.3 KB | 0644 |
|
os.pyc | File | 25.09 KB | 0644 |
|
os.pyo | File | 25.09 KB | 0644 |
|
os2emxpath.py | File | 4.53 KB | 0644 |
|
os2emxpath.pyc | File | 4.42 KB | 0644 |
|
os2emxpath.pyo | File | 4.42 KB | 0644 |
|
pdb.doc | File | 7.73 KB | 0644 |
|
pdb.py | File | 45.02 KB | 0755 |
|
pdb.pyc | File | 42.65 KB | 0644 |
|
pdb.pyo | File | 42.65 KB | 0644 |
|
pickle.py | File | 44.42 KB | 0644 |
|
pickle.pyc | File | 37.66 KB | 0644 |
|
pickle.pyo | File | 37.46 KB | 0644 |
|
pickletools.py | File | 72.78 KB | 0644 |
|
pickletools.pyc | File | 55.7 KB | 0644 |
|
pickletools.pyo | File | 54.85 KB | 0644 |
|
pipes.py | File | 9.36 KB | 0644 |
|
pipes.pyc | File | 9.09 KB | 0644 |
|
pipes.pyo | File | 9.09 KB | 0644 |
|
pkgutil.py | File | 19.77 KB | 0644 |
|
pkgutil.pyc | File | 18.51 KB | 0644 |
|
pkgutil.pyo | File | 18.51 KB | 0644 |
|
platform.py | File | 51.56 KB | 0755 |
|
platform.pyc | File | 37.08 KB | 0644 |
|
platform.pyo | File | 37.08 KB | 0644 |
|
plistlib.py | File | 15.44 KB | 0644 |
|
plistlib.pyc | File | 19.5 KB | 0644 |
|
plistlib.pyo | File | 19.41 KB | 0644 |
|
popen2.py | File | 8.22 KB | 0644 |
|
popen2.pyc | File | 8.81 KB | 0644 |
|
popen2.pyo | File | 8.77 KB | 0644 |
|
poplib.py | File | 12.52 KB | 0644 |
|
poplib.pyc | File | 13.03 KB | 0644 |
|
poplib.pyo | File | 13.03 KB | 0644 |
|
posixfile.py | File | 7.82 KB | 0644 |
|
posixfile.pyc | File | 7.47 KB | 0644 |
|
posixfile.pyo | File | 7.47 KB | 0644 |
|
posixpath.py | File | 13.96 KB | 0644 |
|
posixpath.pyc | File | 11.19 KB | 0644 |
|
posixpath.pyo | File | 11.19 KB | 0644 |
|
pprint.py | File | 11.5 KB | 0644 |
|
pprint.pyc | File | 9.96 KB | 0644 |
|
pprint.pyo | File | 9.78 KB | 0644 |
|
profile.py | File | 22.25 KB | 0755 |
|
profile.pyc | File | 16.07 KB | 0644 |
|
profile.pyo | File | 15.83 KB | 0644 |
|
pstats.py | File | 26.09 KB | 0644 |
|
pstats.pyc | File | 24.43 KB | 0644 |
|
pstats.pyo | File | 24.43 KB | 0644 |
|
pty.py | File | 4.94 KB | 0644 |
|
pty.pyc | File | 4.85 KB | 0644 |
|
pty.pyo | File | 4.85 KB | 0644 |
|
py_compile.py | File | 5.8 KB | 0644 |
|
py_compile.pyc | File | 6.28 KB | 0644 |
|
py_compile.pyo | File | 6.28 KB | 0644 |
|
pyclbr.py | File | 13.07 KB | 0644 |
|
pyclbr.pyc | File | 9.42 KB | 0644 |
|
pyclbr.pyo | File | 9.42 KB | 0644 |
|
pydoc.py | File | 93.5 KB | 0755 |
|
pydoc.pyc | File | 90.18 KB | 0644 |
|
pydoc.pyo | File | 90.12 KB | 0644 |
|
quopri.py | File | 6.8 KB | 0755 |
|
quopri.pyc | File | 6.42 KB | 0644 |
|
quopri.pyo | File | 6.42 KB | 0644 |
|
random.py | File | 31.7 KB | 0644 |
|
random.pyc | File | 25.1 KB | 0644 |
|
random.pyo | File | 25.1 KB | 0644 |
|
re.py | File | 13.11 KB | 0644 |
|
re.pyc | File | 13.1 KB | 0644 |
|
re.pyo | File | 13.1 KB | 0644 |
|
repr.py | File | 4.2 KB | 0644 |
|
repr.pyc | File | 5.26 KB | 0644 |
|
repr.pyo | File | 5.26 KB | 0644 |
|
rexec.py | File | 19.68 KB | 0644 |
|
rexec.pyc | File | 23.25 KB | 0644 |
|
rexec.pyo | File | 23.25 KB | 0644 |
|
rfc822.py | File | 32.76 KB | 0644 |
|
rfc822.pyc | File | 31.07 KB | 0644 |
|
rfc822.pyo | File | 31.07 KB | 0644 |
|
rlcompleter.py | File | 5.85 KB | 0644 |
|
rlcompleter.pyc | File | 5.94 KB | 0644 |
|
rlcompleter.pyo | File | 5.94 KB | 0644 |
|
robotparser.py | File | 7.51 KB | 0644 |
|
robotparser.pyc | File | 7.82 KB | 0644 |
|
robotparser.pyo | File | 7.82 KB | 0644 |
|
runpy.py | File | 10.82 KB | 0644 |
|
runpy.pyc | File | 8.6 KB | 0644 |
|
runpy.pyo | File | 8.6 KB | 0644 |
|
sched.py | File | 4.97 KB | 0644 |
|
sched.pyc | File | 4.88 KB | 0644 |
|
sched.pyo | File | 4.88 KB | 0644 |
|
sets.py | File | 18.6 KB | 0644 |
|
sets.pyc | File | 16.5 KB | 0644 |
|
sets.pyo | File | 16.5 KB | 0644 |
|
sgmllib.py | File | 17.46 KB | 0644 |
|
sgmllib.pyc | File | 15.07 KB | 0644 |
|
sgmllib.pyo | File | 15.07 KB | 0644 |
|
sha.py | File | 393 B | 0644 |
|
sha.pyc | File | 421 B | 0644 |
|
sha.pyo | File | 421 B | 0644 |
|
shelve.py | File | 7.99 KB | 0644 |
|
shelve.pyc | File | 10.02 KB | 0644 |
|
shelve.pyo | File | 10.02 KB | 0644 |
|
shlex.py | File | 10.9 KB | 0644 |
|
shlex.pyc | File | 7.38 KB | 0644 |
|
shlex.pyo | File | 7.38 KB | 0644 |
|
shutil.py | File | 19.41 KB | 0644 |
|
shutil.pyc | File | 18.81 KB | 0644 |
|
shutil.pyo | File | 18.81 KB | 0644 |
|
site.py | File | 20.8 KB | 0644 |
|
site.pyc | File | 20.3 KB | 0644 |
|
site.pyo | File | 20.3 KB | 0644 |
|
smtpd.py | File | 18.11 KB | 0755 |
|
smtpd.pyc | File | 15.51 KB | 0644 |
|
smtpd.pyo | File | 15.51 KB | 0644 |
|
smtplib.py | File | 31.38 KB | 0755 |
|
smtplib.pyc | File | 29.59 KB | 0644 |
|
smtplib.pyo | File | 29.59 KB | 0644 |
|
sndhdr.py | File | 5.83 KB | 0644 |
|
sndhdr.pyc | File | 7.19 KB | 0644 |
|
sndhdr.pyo | File | 7.19 KB | 0644 |
|
socket.py | File | 20.13 KB | 0644 |
|
socket.pyc | File | 15.77 KB | 0644 |
|
socket.pyo | File | 15.69 KB | 0644 |
|
sre.py | File | 384 B | 0644 |
|
sre.pyc | File | 519 B | 0644 |
|
sre.pyo | File | 519 B | 0644 |
|
sre_compile.py | File | 19.36 KB | 0644 |
|
sre_compile.pyc | File | 12.27 KB | 0644 |
|
sre_compile.pyo | File | 12.11 KB | 0644 |
|
sre_constants.py | File | 7.03 KB | 0644 |
|
sre_constants.pyc | File | 6.05 KB | 0644 |
|
sre_constants.pyo | File | 6.05 KB | 0644 |
|
sre_parse.py | File | 29.98 KB | 0644 |
|
sre_parse.pyc | File | 20.66 KB | 0644 |
|
sre_parse.pyo | File | 20.66 KB | 0644 |
|
ssl.py | File | 38.39 KB | 0644 |
|
ssl.pyc | File | 31.95 KB | 0644 |
|
ssl.pyo | File | 31.95 KB | 0644 |
|
stat.py | File | 1.8 KB | 0644 |
|
stat.pyc | File | 2.69 KB | 0644 |
|
stat.pyo | File | 2.69 KB | 0644 |
|
statvfs.py | File | 898 B | 0644 |
|
statvfs.pyc | File | 620 B | 0644 |
|
statvfs.pyo | File | 620 B | 0644 |
|
string.py | File | 21.04 KB | 0644 |
|
string.pyc | File | 19.98 KB | 0644 |
|
string.pyo | File | 19.98 KB | 0644 |
|
stringold.py | File | 12.16 KB | 0644 |
|
stringold.pyc | File | 12.25 KB | 0644 |
|
stringold.pyo | File | 12.25 KB | 0644 |
|
stringprep.py | File | 13.21 KB | 0644 |
|
stringprep.pyc | File | 14.15 KB | 0644 |
|
stringprep.pyo | File | 14.08 KB | 0644 |
|
struct.py | File | 82 B | 0644 |
|
struct.pyc | File | 239 B | 0644 |
|
struct.pyo | File | 239 B | 0644 |
|
subprocess.py | File | 49.34 KB | 0644 |
|
subprocess.pyc | File | 31.64 KB | 0644 |
|
subprocess.pyo | File | 31.64 KB | 0644 |
|
sunau.py | File | 16.82 KB | 0644 |
|
sunau.pyc | File | 17.96 KB | 0644 |
|
sunau.pyo | File | 17.96 KB | 0644 |
|
sunaudio.py | File | 1.37 KB | 0644 |
|
sunaudio.pyc | File | 1.94 KB | 0644 |
|
sunaudio.pyo | File | 1.94 KB | 0644 |
|
symbol.py | File | 2.01 KB | 0755 |
|
symbol.pyc | File | 2.96 KB | 0644 |
|
symbol.pyo | File | 2.96 KB | 0644 |
|
symtable.py | File | 7.26 KB | 0644 |
|
symtable.pyc | File | 11.51 KB | 0644 |
|
symtable.pyo | File | 11.38 KB | 0644 |
|
sysconfig.py | File | 22.32 KB | 0644 |
|
sysconfig.pyc | File | 17.4 KB | 0644 |
|
sysconfig.pyo | File | 17.4 KB | 0644 |
|
tabnanny.py | File | 11.07 KB | 0755 |
|
tabnanny.pyc | File | 8.05 KB | 0644 |
|
tabnanny.pyo | File | 8.05 KB | 0644 |
|
tarfile.py | File | 88.53 KB | 0644 |
|
tarfile.pyc | File | 74.41 KB | 0644 |
|
tarfile.pyo | File | 74.41 KB | 0644 |
|
telnetlib.py | File | 26.4 KB | 0644 |
|
telnetlib.pyc | File | 22.61 KB | 0644 |
|
telnetlib.pyo | File | 22.61 KB | 0644 |
|
tempfile.py | File | 19.09 KB | 0644 |
|
tempfile.pyc | File | 19.87 KB | 0644 |
|
tempfile.pyo | File | 19.87 KB | 0644 |
|
textwrap.py | File | 16.88 KB | 0644 |
|
textwrap.pyc | File | 11.81 KB | 0644 |
|
textwrap.pyo | File | 11.72 KB | 0644 |
|
this.py | File | 1002 B | 0644 |
|
this.pyc | File | 1.19 KB | 0644 |
|
this.pyo | File | 1.19 KB | 0644 |
|
threading.py | File | 46.27 KB | 0644 |
|
threading.pyc | File | 41.72 KB | 0644 |
|
threading.pyo | File | 39.6 KB | 0644 |
|
timeit.py | File | 12.49 KB | 0755 |
|
timeit.pyc | File | 11.9 KB | 0644 |
|
timeit.pyo | File | 11.9 KB | 0644 |
|
toaiff.py | File | 3.07 KB | 0644 |
|
toaiff.pyc | File | 3.03 KB | 0644 |
|
toaiff.pyo | File | 3.03 KB | 0644 |
|
token.py | File | 2.85 KB | 0644 |
|
token.pyc | File | 3.73 KB | 0644 |
|
token.pyo | File | 3.73 KB | 0644 |
|
tokenize.py | File | 17.07 KB | 0644 |
|
tokenize.pyc | File | 14.17 KB | 0644 |
|
tokenize.pyo | File | 14.11 KB | 0644 |
|
trace.py | File | 29.19 KB | 0755 |
|
trace.pyc | File | 22.26 KB | 0644 |
|
trace.pyo | File | 22.2 KB | 0644 |
|
traceback.py | File | 11.02 KB | 0644 |
|
traceback.pyc | File | 11.41 KB | 0644 |
|
traceback.pyo | File | 11.41 KB | 0644 |
|
tty.py | File | 879 B | 0644 |
|
tty.pyc | File | 1.29 KB | 0644 |
|
tty.pyo | File | 1.29 KB | 0644 |
|
types.py | File | 2.04 KB | 0644 |
|
types.pyc | File | 2.66 KB | 0644 |
|
types.pyo | File | 2.66 KB | 0644 |
|
urllib.py | File | 58.82 KB | 0644 |
|
urllib.pyc | File | 50.04 KB | 0644 |
|
urllib.pyo | File | 49.95 KB | 0644 |
|
urllib2.py | File | 51.31 KB | 0644 |
|
urllib2.pyc | File | 46.19 KB | 0644 |
|
urllib2.pyo | File | 46.1 KB | 0644 |
|
urlparse.py | File | 19.98 KB | 0644 |
|
urlparse.pyc | File | 17.59 KB | 0644 |
|
urlparse.pyo | File | 17.59 KB | 0644 |
|
user.py | File | 1.59 KB | 0644 |
|
user.pyc | File | 1.68 KB | 0644 |
|
user.pyo | File | 1.68 KB | 0644 |
|
uu.py | File | 6.54 KB | 0755 |
|
uu.pyc | File | 4.29 KB | 0644 |
|
uu.pyo | File | 4.29 KB | 0644 |
|
uuid.py | File | 22.98 KB | 0644 |
|
uuid.pyc | File | 22.82 KB | 0644 |
|
uuid.pyo | File | 22.71 KB | 0644 |
|
warnings.py | File | 14.48 KB | 0644 |
|
warnings.pyc | File | 13.19 KB | 0644 |
|
warnings.pyo | File | 12.42 KB | 0644 |
|
wave.py | File | 18.15 KB | 0644 |
|
wave.pyc | File | 19.54 KB | 0644 |
|
wave.pyo | File | 19.4 KB | 0644 |
|
weakref.py | File | 14.48 KB | 0644 |
|
weakref.pyc | File | 16.06 KB | 0644 |
|
weakref.pyo | File | 16.06 KB | 0644 |
|
webbrowser.py | File | 22.19 KB | 0755 |
|
webbrowser.pyc | File | 19.29 KB | 0644 |
|
webbrowser.pyo | File | 19.24 KB | 0644 |
|
whichdb.py | File | 3.3 KB | 0644 |
|
whichdb.pyc | File | 2.19 KB | 0644 |
|
whichdb.pyo | File | 2.19 KB | 0644 |
|
wsgiref.egg-info | File | 187 B | 0644 |
|
xdrlib.py | File | 5.93 KB | 0644 |
|
xdrlib.pyc | File | 9.67 KB | 0644 |
|
xdrlib.pyo | File | 9.67 KB | 0644 |
|
xmllib.py | File | 34.05 KB | 0644 |
|
xmllib.pyc | File | 26.22 KB | 0644 |
|
xmllib.pyo | File | 26.22 KB | 0644 |
|
xmlrpclib.py | File | 50.91 KB | 0644 |
|
xmlrpclib.pyc | File | 43.07 KB | 0644 |
|
xmlrpclib.pyo | File | 42.89 KB | 0644 |
|
zipfile.py | File | 58.08 KB | 0644 |
|
zipfile.pyc | File | 41.15 KB | 0644 |
|
zipfile.pyo | File | 41.15 KB | 0644 |
|