# -*- 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 |
---|---|---|---|---|
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 |
|
|
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.47 KB | 0644 |
|
BaseHTTPServer.pyo | File | 21.47 KB | 0644 |
|
Bastion.py | File | 5.61 KB | 0644 |
|
Bastion.pyc | File | 6.69 KB | 0644 |
|
Bastion.pyo | File | 6.69 KB | 0644 |
|
CGIHTTPServer.py | File | 12.78 KB | 0644 |
|
CGIHTTPServer.pyc | File | 10.92 KB | 0644 |
|
CGIHTTPServer.pyo | File | 10.92 KB | 0644 |
|
ConfigParser.py | File | 27.1 KB | 0644 |
|
ConfigParser.pyc | File | 25.37 KB | 0644 |
|
ConfigParser.pyo | File | 25.37 KB | 0644 |
|
Cookie.py | File | 25.92 KB | 0644 |
|
Cookie.pyc | File | 22.61 KB | 0644 |
|
Cookie.pyo | File | 22.61 KB | 0644 |
|
DocXMLRPCServer.py | File | 10.52 KB | 0644 |
|
DocXMLRPCServer.pyc | File | 10.2 KB | 0644 |
|
DocXMLRPCServer.pyo | File | 10.09 KB | 0644 |
|
HTMLParser.py | File | 16.77 KB | 0644 |
|
HTMLParser.pyc | File | 13.81 KB | 0644 |
|
HTMLParser.pyo | File | 13.51 KB | 0644 |
|
MimeWriter.py | File | 6.33 KB | 0644 |
|
MimeWriter.pyc | File | 7.31 KB | 0644 |
|
MimeWriter.pyo | File | 7.31 KB | 0644 |
|
Queue.py | File | 8.38 KB | 0644 |
|
Queue.pyc | File | 9.56 KB | 0644 |
|
Queue.pyo | File | 9.56 KB | 0644 |
|
SimpleHTTPServer.py | File | 7.81 KB | 0644 |
|
SimpleHTTPServer.pyc | File | 7.96 KB | 0644 |
|
SimpleHTTPServer.pyo | File | 7.96 KB | 0644 |
|
SimpleXMLRPCServer.py | File | 25.21 KB | 0644 |
|
SimpleXMLRPCServer.pyc | File | 22.78 KB | 0644 |
|
SimpleXMLRPCServer.pyo | File | 22.78 KB | 0644 |
|
SocketServer.py | File | 23.39 KB | 0644 |
|
SocketServer.pyc | File | 24.25 KB | 0644 |
|
SocketServer.pyo | File | 24.25 KB | 0644 |
|
StringIO.py | File | 10.41 KB | 0644 |
|
StringIO.pyc | File | 11.45 KB | 0644 |
|
StringIO.pyo | File | 11.45 KB | 0644 |
|
UserDict.py | File | 6.89 KB | 0644 |
|
UserDict.pyc | File | 10.05 KB | 0644 |
|
UserDict.pyo | File | 10.05 KB | 0644 |
|
UserList.py | File | 3.56 KB | 0644 |
|
UserList.pyc | File | 6.85 KB | 0644 |
|
UserList.pyo | File | 6.85 KB | 0644 |
|
UserString.py | File | 9.46 KB | 0755 |
|
UserString.pyc | File | 15.38 KB | 0644 |
|
UserString.pyo | File | 15.38 KB | 0644 |
|
_LWPCookieJar.py | File | 6.4 KB | 0644 |
|
_LWPCookieJar.pyc | File | 5.38 KB | 0644 |
|
_LWPCookieJar.pyo | File | 5.38 KB | 0644 |
|
_MozillaCookieJar.py | File | 5.66 KB | 0644 |
|
_MozillaCookieJar.pyc | File | 4.41 KB | 0644 |
|
_MozillaCookieJar.pyo | File | 4.37 KB | 0644 |
|
__future__.py | File | 4.28 KB | 0644 |
|
__future__.pyc | File | 4.2 KB | 0644 |
|
__future__.pyo | File | 4.2 KB | 0644 |
|
__phello__.foo.py | File | 64 B | 0644 |
|
__phello__.foo.pyc | File | 138 B | 0644 |
|
__phello__.foo.pyo | File | 138 B | 0644 |
|
_abcoll.py | File | 18.18 KB | 0644 |
|
_abcoll.pyc | File | 26.4 KB | 0644 |
|
_abcoll.pyo | File | 26.4 KB | 0644 |
|
_osx_support.py | File | 18.65 KB | 0644 |
|
_osx_support.pyc | File | 11.72 KB | 0644 |
|
_osx_support.pyo | File | 11.72 KB | 0644 |
|
_pyio.py | File | 68 KB | 0644 |
|
_pyio.pyc | File | 65.41 KB | 0644 |
|
_pyio.pyo | File | 65.41 KB | 0644 |
|
_strptime.py | File | 20.24 KB | 0644 |
|
_strptime.pyc | File | 15.07 KB | 0644 |
|
_strptime.pyo | File | 15.07 KB | 0644 |
|
_sysconfigdata.py | File | 20.65 KB | 0644 |
|
_sysconfigdata.pyc | File | 23.69 KB | 0644 |
|
_sysconfigdata.pyo | File | 23.69 KB | 0644 |
|
_threading_local.py | File | 7.09 KB | 0644 |
|
_threading_local.pyc | File | 6.34 KB | 0644 |
|
_threading_local.pyo | File | 6.34 KB | 0644 |
|
_weakrefset.py | File | 5.77 KB | 0644 |
|
_weakrefset.pyc | File | 10.06 KB | 0644 |
|
_weakrefset.pyo | File | 10.06 KB | 0644 |
|
abc.py | File | 6.98 KB | 0644 |
|
abc.pyc | File | 6.14 KB | 0644 |
|
abc.pyo | File | 6.08 KB | 0644 |
|
aifc.py | File | 33.77 KB | 0644 |
|
aifc.pyc | File | 30.67 KB | 0644 |
|
aifc.pyo | File | 30.67 KB | 0644 |
|
antigravity.py | File | 60 B | 0644 |
|
antigravity.pyc | File | 216 B | 0644 |
|
antigravity.pyo | File | 216 B | 0644 |
|
anydbm.py | File | 2.6 KB | 0644 |
|
anydbm.pyc | File | 2.77 KB | 0644 |
|
anydbm.pyo | File | 2.77 KB | 0644 |
|
argparse.py | File | 87.14 KB | 0644 |
|
argparse.pyc | File | 64.83 KB | 0644 |
|
argparse.pyo | File | 64.67 KB | 0644 |
|
ast.py | File | 11.53 KB | 0644 |
|
ast.pyc | File | 12.94 KB | 0644 |
|
ast.pyo | File | 12.94 KB | 0644 |
|
asynchat.py | File | 11.31 KB | 0644 |
|
asynchat.pyc | File | 8.98 KB | 0644 |
|
asynchat.pyo | File | 8.98 KB | 0644 |
|
asyncore.py | File | 20.45 KB | 0644 |
|
asyncore.pyc | File | 19.2 KB | 0644 |
|
asyncore.pyo | File | 19.2 KB | 0644 |
|
atexit.py | File | 1.67 KB | 0644 |
|
atexit.pyc | File | 2.23 KB | 0644 |
|
atexit.pyo | File | 2.23 KB | 0644 |
|
audiodev.py | File | 7.42 KB | 0644 |
|
audiodev.pyc | File | 8.61 KB | 0644 |
|
audiodev.pyo | File | 8.61 KB | 0644 |
|
base64.py | File | 11.53 KB | 0755 |
|
base64.pyc | File | 11.26 KB | 0644 |
|
base64.pyo | File | 11.26 KB | 0644 |
|
bdb.py | File | 21.21 KB | 0644 |
|
bdb.pyc | File | 19.43 KB | 0644 |
|
bdb.pyo | File | 19.43 KB | 0644 |
|
binhex.py | File | 14.35 KB | 0644 |
|
binhex.pyc | File | 15.75 KB | 0644 |
|
binhex.pyo | File | 15.75 KB | 0644 |
|
bisect.py | File | 2.53 KB | 0644 |
|
bisect.pyc | File | 3.06 KB | 0644 |
|
bisect.pyo | File | 3.06 KB | 0644 |
|
cProfile.py | File | 6.42 KB | 0755 |
|
cProfile.pyc | File | 6.42 KB | 0644 |
|
cProfile.pyo | File | 6.42 KB | 0644 |
|
calendar.py | File | 22.84 KB | 0644 |
|
calendar.pyc | File | 28.26 KB | 0644 |
|
calendar.pyo | File | 28.26 KB | 0644 |
|
cgi.py | File | 34.96 KB | 0755 |
|
cgi.pyc | File | 33.24 KB | 0644 |
|
cgi.pyo | File | 33.24 KB | 0644 |
|
cgitb.py | File | 11.89 KB | 0644 |
|
cgitb.pyc | File | 12.08 KB | 0644 |
|
cgitb.pyo | File | 12.08 KB | 0644 |
|
chunk.py | File | 5.29 KB | 0644 |
|
chunk.pyc | File | 5.61 KB | 0644 |
|
chunk.pyo | File | 5.61 KB | 0644 |
|
cmd.py | File | 14.67 KB | 0644 |
|
cmd.pyc | File | 13.98 KB | 0644 |
|
cmd.pyo | File | 13.98 KB | 0644 |
|
code.py | File | 9.95 KB | 0644 |
|
code.pyc | File | 10.29 KB | 0644 |
|
code.pyo | File | 10.29 KB | 0644 |
|
codecs.py | File | 35.3 KB | 0644 |
|
codecs.pyc | File | 37.15 KB | 0644 |
|
codecs.pyo | File | 37.15 KB | 0644 |
|
codeop.py | File | 5.86 KB | 0644 |
|
codeop.pyc | File | 6.57 KB | 0644 |
|
codeop.pyo | File | 6.57 KB | 0644 |
|
collections.py | File | 27.15 KB | 0644 |
|
collections.pyc | File | 26.21 KB | 0644 |
|
collections.pyo | File | 26.16 KB | 0644 |
|
colorsys.py | File | 3.6 KB | 0644 |
|
colorsys.pyc | File | 4 KB | 0644 |
|
colorsys.pyo | File | 4 KB | 0644 |
|
commands.py | File | 2.49 KB | 0644 |
|
commands.pyc | File | 2.49 KB | 0644 |
|
commands.pyo | File | 2.49 KB | 0644 |
|
compileall.py | File | 7.58 KB | 0644 |
|
compileall.pyc | File | 6.93 KB | 0644 |
|
compileall.pyo | File | 6.93 KB | 0644 |
|
contextlib.py | File | 4.32 KB | 0644 |
|
contextlib.pyc | File | 4.5 KB | 0644 |
|
contextlib.pyo | File | 4.5 KB | 0644 |
|
cookielib.py | File | 63.95 KB | 0644 |
|
cookielib.pyc | File | 54.67 KB | 0644 |
|
cookielib.pyo | File | 54.49 KB | 0644 |
|
copy.py | File | 11.26 KB | 0644 |
|
copy.pyc | File | 12.21 KB | 0644 |
|
copy.pyo | File | 12.13 KB | 0644 |
|
copy_reg.py | File | 6.81 KB | 0644 |
|
copy_reg.pyc | File | 5.19 KB | 0644 |
|
copy_reg.pyo | File | 5.14 KB | 0644 |
|
crypt.py | File | 2.24 KB | 0644 |
|
crypt.pyc | File | 2.95 KB | 0644 |
|
crypt.pyo | File | 2.95 KB | 0644 |
|
csv.py | File | 16.32 KB | 0644 |
|
csv.pyc | File | 13.56 KB | 0644 |
|
csv.pyo | File | 13.56 KB | 0644 |
|
dbhash.py | File | 498 B | 0644 |
|
dbhash.pyc | File | 744 B | 0644 |
|
dbhash.pyo | File | 744 B | 0644 |
|
decimal.py | File | 216.73 KB | 0644 |
|
decimal.pyc | File | 171.36 KB | 0644 |
|
decimal.pyo | File | 171.36 KB | 0644 |
|
difflib.py | File | 80.4 KB | 0644 |
|
difflib.pyc | File | 61.13 KB | 0644 |
|
difflib.pyo | File | 61.08 KB | 0644 |
|
dircache.py | File | 1.1 KB | 0644 |
|
dircache.pyc | File | 1.59 KB | 0644 |
|
dircache.pyo | File | 1.59 KB | 0644 |
|
dis.py | File | 6.35 KB | 0644 |
|
dis.pyc | File | 6.18 KB | 0644 |
|
dis.pyo | File | 6.18 KB | 0644 |
|
doctest.py | File | 102.63 KB | 0644 |
|
doctest.pyc | File | 83.21 KB | 0644 |
|
doctest.pyo | File | 82.93 KB | 0644 |
|
dumbdbm.py | File | 8.93 KB | 0644 |
|
dumbdbm.pyc | File | 6.83 KB | 0644 |
|
dumbdbm.pyo | File | 6.83 KB | 0644 |
|
dummy_thread.py | File | 4.31 KB | 0644 |
|
dummy_thread.pyc | File | 5.46 KB | 0644 |
|
dummy_thread.pyo | File | 5.46 KB | 0644 |
|
dummy_threading.py | File | 2.74 KB | 0644 |
|
dummy_threading.pyc | File | 1.27 KB | 0644 |
|
dummy_threading.pyo | File | 1.27 KB | 0644 |
|
filecmp.py | File | 9.36 KB | 0644 |
|
filecmp.pyc | File | 9.65 KB | 0644 |
|
filecmp.pyo | File | 9.65 KB | 0644 |
|
fileinput.py | File | 13.42 KB | 0644 |
|
fileinput.pyc | File | 14.54 KB | 0644 |
|
fileinput.pyo | File | 14.54 KB | 0644 |
|
fnmatch.py | File | 3.24 KB | 0644 |
|
fnmatch.pyc | File | 3.61 KB | 0644 |
|
fnmatch.pyo | File | 3.61 KB | 0644 |
|
formatter.py | File | 14.56 KB | 0644 |
|
formatter.pyc | File | 19.71 KB | 0644 |
|
formatter.pyo | File | 19.71 KB | 0644 |
|
fpformat.py | File | 4.62 KB | 0644 |
|
fpformat.pyc | File | 4.69 KB | 0644 |
|
fpformat.pyo | File | 4.69 KB | 0644 |
|
fractions.py | File | 21.87 KB | 0644 |
|
fractions.pyc | File | 19.74 KB | 0644 |
|
fractions.pyo | File | 19.74 KB | 0644 |
|
ftplib.py | File | 37.3 KB | 0644 |
|
ftplib.pyc | File | 34.82 KB | 0644 |
|
ftplib.pyo | File | 34.82 KB | 0644 |
|
functools.py | File | 4.69 KB | 0644 |
|
functools.pyc | File | 6.85 KB | 0644 |
|
functools.pyo | File | 6.85 KB | 0644 |
|
genericpath.py | File | 3.13 KB | 0644 |
|
genericpath.pyc | File | 3.57 KB | 0644 |
|
genericpath.pyo | File | 3.57 KB | 0644 |
|
getopt.py | File | 7.15 KB | 0644 |
|
getopt.pyc | File | 6.63 KB | 0644 |
|
getopt.pyo | File | 6.58 KB | 0644 |
|
getpass.py | File | 5.43 KB | 0644 |
|
getpass.pyc | File | 4.72 KB | 0644 |
|
getpass.pyo | File | 4.72 KB | 0644 |
|
gettext.py | File | 22.13 KB | 0644 |
|
gettext.pyc | File | 18.17 KB | 0644 |
|
gettext.pyo | File | 18.17 KB | 0644 |
|
glob.py | File | 3.04 KB | 0644 |
|
glob.pyc | File | 2.98 KB | 0644 |
|
glob.pyo | File | 2.98 KB | 0644 |
|
gzip.py | File | 18.58 KB | 0644 |
|
gzip.pyc | File | 15.26 KB | 0644 |
|
gzip.pyo | File | 15.26 KB | 0644 |
|
hashlib.py | File | 7.66 KB | 0644 |
|
hashlib.pyc | File | 6.86 KB | 0644 |
|
hashlib.pyo | File | 6.86 KB | 0644 |
|
heapq.py | File | 17.87 KB | 0644 |
|
heapq.pyc | File | 14.45 KB | 0644 |
|
heapq.pyo | File | 14.45 KB | 0644 |
|
hmac.py | File | 4.48 KB | 0644 |
|
hmac.pyc | File | 4.56 KB | 0644 |
|
hmac.pyo | File | 4.56 KB | 0644 |
|
htmlentitydefs.py | File | 17.63 KB | 0644 |
|
htmlentitydefs.pyc | File | 6.23 KB | 0644 |
|
htmlentitydefs.pyo | File | 6.23 KB | 0644 |
|
htmllib.py | File | 12.57 KB | 0644 |
|
htmllib.pyc | File | 20.99 KB | 0644 |
|
htmllib.pyo | File | 20.99 KB | 0644 |
|
httplib.py | File | 51.07 KB | 0644 |
|
httplib.pyc | File | 37.88 KB | 0644 |
|
httplib.pyo | File | 37.7 KB | 0644 |
|
ihooks.py | File | 18.54 KB | 0644 |
|
ihooks.pyc | File | 21.75 KB | 0644 |
|
ihooks.pyo | File | 21.75 KB | 0644 |
|
imaplib.py | File | 47.23 KB | 0644 |
|
imaplib.pyc | File | 45.19 KB | 0644 |
|
imaplib.pyo | File | 42.49 KB | 0644 |
|
imghdr.py | File | 3.46 KB | 0644 |
|
imghdr.pyc | File | 4.93 KB | 0644 |
|
imghdr.pyo | File | 4.93 KB | 0644 |
|
imputil.py | File | 25.16 KB | 0644 |
|
imputil.pyc | File | 15.74 KB | 0644 |
|
imputil.pyo | File | 15.57 KB | 0644 |
|
inspect.py | File | 42 KB | 0644 |
|
inspect.pyc | File | 40.16 KB | 0644 |
|
inspect.pyo | File | 40.16 KB | 0644 |
|
io.py | File | 3.24 KB | 0644 |
|
io.pyc | File | 3.57 KB | 0644 |
|
io.pyo | File | 3.57 KB | 0644 |
|
keyword.py | File | 1.95 KB | 0755 |
|
keyword.pyc | File | 2.08 KB | 0644 |
|
keyword.pyo | File | 2.08 KB | 0644 |
|
linecache.py | File | 3.93 KB | 0644 |
|
linecache.pyc | File | 3.27 KB | 0644 |
|
linecache.pyo | File | 3.27 KB | 0644 |
|
locale.py | File | 100.42 KB | 0644 |
|
locale.pyc | File | 55.69 KB | 0644 |
|
locale.pyo | File | 55.69 KB | 0644 |
|
macpath.py | File | 6.14 KB | 0644 |
|
macpath.pyc | File | 7.74 KB | 0644 |
|
macpath.pyo | File | 7.74 KB | 0644 |
|
macurl2path.py | File | 2.67 KB | 0644 |
|
macurl2path.pyc | File | 2.24 KB | 0644 |
|
macurl2path.pyo | File | 2.24 KB | 0644 |
|
mailbox.py | File | 79.34 KB | 0644 |
|
mailbox.pyc | File | 77.7 KB | 0644 |
|
mailbox.pyo | File | 77.65 KB | 0644 |
|
mailcap.py | File | 7.25 KB | 0644 |
|
mailcap.pyc | File | 7.08 KB | 0644 |
|
mailcap.pyo | File | 7.08 KB | 0644 |
|
markupbase.py | File | 14.3 KB | 0644 |
|
markupbase.pyc | File | 9.27 KB | 0644 |
|
markupbase.pyo | File | 9.07 KB | 0644 |
|
md5.py | File | 358 B | 0644 |
|
md5.pyc | File | 391 B | 0644 |
|
md5.pyo | File | 391 B | 0644 |
|
mhlib.py | File | 32.65 KB | 0644 |
|
mhlib.pyc | File | 33.98 KB | 0644 |
|
mhlib.pyo | File | 33.98 KB | 0644 |
|
mimetools.py | File | 7 KB | 0644 |
|
mimetools.pyc | File | 8.26 KB | 0644 |
|
mimetools.pyo | File | 8.26 KB | 0644 |
|
mimetypes.py | File | 20.54 KB | 0644 |
|
mimetypes.pyc | File | 18.3 KB | 0644 |
|
mimetypes.pyo | File | 18.3 KB | 0644 |
|
mimify.py | File | 14.67 KB | 0755 |
|
mimify.pyc | File | 11.91 KB | 0644 |
|
mimify.pyo | File | 11.91 KB | 0644 |
|
modulefinder.py | File | 23.89 KB | 0644 |
|
modulefinder.pyc | File | 19.12 KB | 0644 |
|
modulefinder.pyo | File | 19.04 KB | 0644 |
|
multifile.py | File | 4.71 KB | 0644 |
|
multifile.pyc | File | 5.48 KB | 0644 |
|
multifile.pyo | File | 5.44 KB | 0644 |
|
mutex.py | File | 1.83 KB | 0644 |
|
mutex.pyc | File | 2.55 KB | 0644 |
|
mutex.pyo | File | 2.55 KB | 0644 |
|
netrc.py | File | 5.75 KB | 0644 |
|
netrc.pyc | File | 4.72 KB | 0644 |
|
netrc.pyo | File | 4.72 KB | 0644 |
|
new.py | File | 610 B | 0644 |
|
new.pyc | File | 875 B | 0644 |
|
new.pyo | File | 875 B | 0644 |
|
nntplib.py | File | 20.97 KB | 0644 |
|
nntplib.pyc | File | 21.11 KB | 0644 |
|
nntplib.pyo | File | 21.11 KB | 0644 |
|
ntpath.py | File | 18.97 KB | 0644 |
|
ntpath.pyc | File | 13.1 KB | 0644 |
|
ntpath.pyo | File | 13.1 KB | 0644 |
|
nturl2path.py | File | 2.36 KB | 0644 |
|
nturl2path.pyc | File | 1.81 KB | 0644 |
|
nturl2path.pyo | File | 1.81 KB | 0644 |
|
numbers.py | File | 10.08 KB | 0644 |
|
numbers.pyc | File | 14.47 KB | 0644 |
|
numbers.pyo | File | 14.47 KB | 0644 |
|
opcode.py | File | 5.35 KB | 0644 |
|
opcode.pyc | File | 6.06 KB | 0644 |
|
opcode.pyo | File | 6.06 KB | 0644 |
|
optparse.py | File | 59.77 KB | 0644 |
|
optparse.pyc | File | 54.41 KB | 0644 |
|
optparse.pyo | File | 54.33 KB | 0644 |
|
os.py | File | 25.3 KB | 0644 |
|
os.pyc | File | 25.76 KB | 0644 |
|
os.pyo | File | 25.76 KB | 0644 |
|
os2emxpath.py | File | 4.53 KB | 0644 |
|
os2emxpath.pyc | File | 4.53 KB | 0644 |
|
os2emxpath.pyo | File | 4.53 KB | 0644 |
|
pdb.doc | File | 7.73 KB | 0644 |
|
pdb.py | File | 45.01 KB | 0755 |
|
pdb.pyc | File | 44.09 KB | 0644 |
|
pdb.pyo | File | 44.09 KB | 0644 |
|
pickle.py | File | 44.42 KB | 0644 |
|
pickle.pyc | File | 38.98 KB | 0644 |
|
pickle.pyo | File | 38.79 KB | 0644 |
|
pickletools.py | File | 72.78 KB | 0644 |
|
pickletools.pyc | File | 56.1 KB | 0644 |
|
pickletools.pyo | File | 55.26 KB | 0644 |
|
pipes.py | File | 9.36 KB | 0644 |
|
pipes.pyc | File | 9.29 KB | 0644 |
|
pipes.pyo | File | 9.29 KB | 0644 |
|
pkgutil.py | File | 19.77 KB | 0644 |
|
pkgutil.pyc | File | 18.93 KB | 0644 |
|
pkgutil.pyo | File | 18.93 KB | 0644 |
|
platform.py | File | 51.55 KB | 0755 |
|
platform.pyc | File | 37.7 KB | 0644 |
|
platform.pyo | File | 37.7 KB | 0644 |
|
plistlib.py | File | 14.83 KB | 0644 |
|
plistlib.pyc | File | 19.54 KB | 0644 |
|
plistlib.pyo | File | 19.46 KB | 0644 |
|
popen2.py | File | 8.22 KB | 0644 |
|
popen2.pyc | File | 9.02 KB | 0644 |
|
popen2.pyo | File | 8.98 KB | 0644 |
|
poplib.py | File | 12.52 KB | 0644 |
|
poplib.pyc | File | 13.45 KB | 0644 |
|
poplib.pyo | File | 13.45 KB | 0644 |
|
posixfile.py | File | 7.82 KB | 0644 |
|
posixfile.pyc | File | 7.63 KB | 0644 |
|
posixfile.pyo | File | 7.63 KB | 0644 |
|
posixpath.py | File | 13.96 KB | 0644 |
|
posixpath.pyc | File | 11.49 KB | 0644 |
|
posixpath.pyo | File | 11.49 KB | 0644 |
|
pprint.py | File | 11.5 KB | 0644 |
|
pprint.pyc | File | 10.2 KB | 0644 |
|
pprint.pyo | File | 10.02 KB | 0644 |
|
profile.py | File | 22.24 KB | 0755 |
|
profile.pyc | File | 16.57 KB | 0644 |
|
profile.pyo | File | 16.32 KB | 0644 |
|
pstats.py | File | 26.09 KB | 0644 |
|
pstats.pyc | File | 25.19 KB | 0644 |
|
pstats.pyo | File | 25.19 KB | 0644 |
|
pty.py | File | 4.94 KB | 0644 |
|
pty.pyc | File | 4.98 KB | 0644 |
|
pty.pyo | File | 4.98 KB | 0644 |
|
py_compile.py | File | 5.8 KB | 0644 |
|
py_compile.pyc | File | 6.37 KB | 0644 |
|
py_compile.pyo | File | 6.37 KB | 0644 |
|
pyclbr.py | File | 13.07 KB | 0644 |
|
pyclbr.pyc | File | 9.59 KB | 0644 |
|
pyclbr.pyo | File | 9.59 KB | 0644 |
|
pydoc.py | File | 93.42 KB | 0755 |
|
pydoc.pyc | File | 92.69 KB | 0644 |
|
pydoc.pyo | File | 92.63 KB | 0644 |
|
quopri.py | File | 6.8 KB | 0755 |
|
quopri.pyc | File | 6.56 KB | 0644 |
|
quopri.pyo | File | 6.56 KB | 0644 |
|
random.py | File | 31.7 KB | 0644 |
|
random.pyc | File | 25.65 KB | 0644 |
|
random.pyo | File | 25.65 KB | 0644 |
|
re.py | File | 13.11 KB | 0644 |
|
re.pyc | File | 13.37 KB | 0644 |
|
re.pyo | File | 13.37 KB | 0644 |
|
repr.py | File | 4.2 KB | 0644 |
|
repr.pyc | File | 5.47 KB | 0644 |
|
repr.pyo | File | 5.47 KB | 0644 |
|
rexec.py | File | 19.68 KB | 0644 |
|
rexec.pyc | File | 24 KB | 0644 |
|
rexec.pyo | File | 24 KB | 0644 |
|
rfc822.py | File | 32.76 KB | 0644 |
|
rfc822.pyc | File | 31.83 KB | 0644 |
|
rfc822.pyo | File | 31.83 KB | 0644 |
|
rlcompleter.py | File | 5.85 KB | 0644 |
|
rlcompleter.pyc | File | 6.04 KB | 0644 |
|
rlcompleter.pyo | File | 6.04 KB | 0644 |
|
robotparser.py | File | 7.51 KB | 0644 |
|
robotparser.pyc | File | 8.12 KB | 0644 |
|
robotparser.pyo | File | 8.12 KB | 0644 |
|
runpy.py | File | 10.82 KB | 0644 |
|
runpy.pyc | File | 8.85 KB | 0644 |
|
runpy.pyo | File | 8.85 KB | 0644 |
|
sched.py | File | 4.97 KB | 0644 |
|
sched.pyc | File | 4.99 KB | 0644 |
|
sched.pyo | File | 4.99 KB | 0644 |
|
sets.py | File | 18.6 KB | 0644 |
|
sets.pyc | File | 17.21 KB | 0644 |
|
sets.pyo | File | 17.21 KB | 0644 |
|
sgmllib.py | File | 17.46 KB | 0644 |
|
sgmllib.pyc | File | 15.67 KB | 0644 |
|
sgmllib.pyo | File | 15.67 KB | 0644 |
|
sha.py | File | 393 B | 0644 |
|
sha.pyc | File | 434 B | 0644 |
|
sha.pyo | File | 434 B | 0644 |
|
shelve.py | File | 7.99 KB | 0644 |
|
shelve.pyc | File | 10.36 KB | 0644 |
|
shelve.pyo | File | 10.36 KB | 0644 |
|
shlex.py | File | 10.9 KB | 0644 |
|
shlex.pyc | File | 7.55 KB | 0644 |
|
shlex.pyo | File | 7.55 KB | 0644 |
|
shutil.py | File | 19.41 KB | 0644 |
|
shutil.pyc | File | 19.19 KB | 0644 |
|
shutil.pyo | File | 19.19 KB | 0644 |
|
site.py | File | 19.18 KB | 0644 |
|
site.pyc | File | 19.35 KB | 0644 |
|
site.pyo | File | 19.35 KB | 0644 |
|
smtpd.py | File | 18.1 KB | 0755 |
|
smtpd.pyc | File | 15.9 KB | 0644 |
|
smtpd.pyo | File | 15.9 KB | 0644 |
|
smtplib.py | File | 31.38 KB | 0755 |
|
smtplib.pyc | File | 30.29 KB | 0644 |
|
smtplib.pyo | File | 30.29 KB | 0644 |
|
sndhdr.py | File | 5.83 KB | 0644 |
|
sndhdr.pyc | File | 7.4 KB | 0644 |
|
sndhdr.pyo | File | 7.4 KB | 0644 |
|
socket.py | File | 20.13 KB | 0644 |
|
socket.pyc | File | 16.15 KB | 0644 |
|
socket.pyo | File | 16.07 KB | 0644 |
|
sre.py | File | 384 B | 0644 |
|
sre.pyc | File | 532 B | 0644 |
|
sre.pyo | File | 532 B | 0644 |
|
sre_compile.py | File | 19.36 KB | 0644 |
|
sre_compile.pyc | File | 12.46 KB | 0644 |
|
sre_compile.pyo | File | 12.3 KB | 0644 |
|
sre_constants.py | File | 7.03 KB | 0644 |
|
sre_constants.pyc | File | 6.11 KB | 0644 |
|
sre_constants.pyo | File | 6.11 KB | 0644 |
|
sre_parse.py | File | 29.98 KB | 0644 |
|
sre_parse.pyc | File | 21.12 KB | 0644 |
|
sre_parse.pyo | File | 21.12 KB | 0644 |
|
ssl.py | File | 36.58 KB | 0644 |
|
ssl.pyc | File | 32.24 KB | 0644 |
|
ssl.pyo | File | 32.24 KB | 0644 |
|
stat.py | File | 1.8 KB | 0644 |
|
stat.pyc | File | 2.81 KB | 0644 |
|
stat.pyo | File | 2.81 KB | 0644 |
|
statvfs.py | File | 898 B | 0644 |
|
statvfs.pyc | File | 633 B | 0644 |
|
statvfs.pyo | File | 633 B | 0644 |
|
string.py | File | 21.04 KB | 0644 |
|
string.pyc | File | 20.63 KB | 0644 |
|
string.pyo | File | 20.63 KB | 0644 |
|
stringold.py | File | 12.16 KB | 0644 |
|
stringold.pyc | File | 12.6 KB | 0644 |
|
stringold.pyo | File | 12.6 KB | 0644 |
|
stringprep.py | File | 13.21 KB | 0644 |
|
stringprep.pyc | File | 14.4 KB | 0644 |
|
stringprep.pyo | File | 14.33 KB | 0644 |
|
struct.py | File | 82 B | 0644 |
|
struct.pyc | File | 252 B | 0644 |
|
struct.pyo | File | 252 B | 0644 |
|
subprocess.py | File | 49.34 KB | 0644 |
|
subprocess.pyc | File | 32.32 KB | 0644 |
|
subprocess.pyo | File | 32.32 KB | 0644 |
|
sunau.py | File | 16.82 KB | 0644 |
|
sunau.pyc | File | 18.57 KB | 0644 |
|
sunau.pyo | File | 18.57 KB | 0644 |
|
sunaudio.py | File | 1.37 KB | 0644 |
|
sunaudio.pyc | File | 2 KB | 0644 |
|
sunaudio.pyo | File | 2 KB | 0644 |
|
symbol.py | File | 2.01 KB | 0755 |
|
symbol.pyc | File | 2.98 KB | 0644 |
|
symbol.pyo | File | 2.98 KB | 0644 |
|
symtable.py | File | 7.26 KB | 0644 |
|
symtable.pyc | File | 12.14 KB | 0644 |
|
symtable.pyo | File | 12.02 KB | 0644 |
|
sysconfig.py | File | 22.32 KB | 0644 |
|
sysconfig.pyc | File | 17.73 KB | 0644 |
|
sysconfig.pyo | File | 17.73 KB | 0644 |
|
tabnanny.py | File | 11.07 KB | 0755 |
|
tabnanny.pyc | File | 8.31 KB | 0644 |
|
tabnanny.pyo | File | 8.31 KB | 0644 |
|
tarfile.py | File | 88.45 KB | 0644 |
|
tarfile.pyc | File | 76.54 KB | 0644 |
|
tarfile.pyo | File | 76.54 KB | 0644 |
|
telnetlib.py | File | 26.4 KB | 0644 |
|
telnetlib.pyc | File | 23.03 KB | 0644 |
|
telnetlib.pyo | File | 23.03 KB | 0644 |
|
tempfile.py | File | 19.09 KB | 0644 |
|
tempfile.pyc | File | 20.55 KB | 0644 |
|
tempfile.pyo | File | 20.55 KB | 0644 |
|
textwrap.py | File | 16.88 KB | 0644 |
|
textwrap.pyc | File | 11.99 KB | 0644 |
|
textwrap.pyo | File | 11.9 KB | 0644 |
|
this.py | File | 1002 B | 0644 |
|
this.pyc | File | 1.2 KB | 0644 |
|
this.pyo | File | 1.2 KB | 0644 |
|
threading.py | File | 46.17 KB | 0644 |
|
threading.pyc | File | 42.97 KB | 0644 |
|
threading.pyo | File | 40.84 KB | 0644 |
|
timeit.py | File | 12.49 KB | 0755 |
|
timeit.pyc | File | 12.06 KB | 0644 |
|
timeit.pyo | File | 12.06 KB | 0644 |
|
toaiff.py | File | 3.07 KB | 0644 |
|
toaiff.pyc | File | 3.08 KB | 0644 |
|
toaiff.pyo | File | 3.08 KB | 0644 |
|
token.py | File | 2.85 KB | 0644 |
|
token.pyc | File | 3.79 KB | 0644 |
|
token.pyo | File | 3.79 KB | 0644 |
|
tokenize.py | File | 17.07 KB | 0644 |
|
tokenize.pyc | File | 14.37 KB | 0644 |
|
tokenize.pyo | File | 14.31 KB | 0644 |
|
trace.py | File | 29.19 KB | 0755 |
|
trace.pyc | File | 22.69 KB | 0644 |
|
trace.pyo | File | 22.63 KB | 0644 |
|
traceback.py | File | 11.02 KB | 0644 |
|
traceback.pyc | File | 11.66 KB | 0644 |
|
traceback.pyo | File | 11.66 KB | 0644 |
|
tty.py | File | 879 B | 0644 |
|
tty.pyc | File | 1.32 KB | 0644 |
|
tty.pyo | File | 1.32 KB | 0644 |
|
types.py | File | 2.04 KB | 0644 |
|
types.pyc | File | 2.75 KB | 0644 |
|
types.pyo | File | 2.75 KB | 0644 |
|
urllib.py | File | 58.82 KB | 0644 |
|
urllib.pyc | File | 51.35 KB | 0644 |
|
urllib.pyo | File | 51.25 KB | 0644 |
|
urllib2.py | File | 51.31 KB | 0644 |
|
urllib2.pyc | File | 47.8 KB | 0644 |
|
urllib2.pyo | File | 47.71 KB | 0644 |
|
urlparse.py | File | 16.29 KB | 0644 |
|
urlparse.pyc | File | 15.51 KB | 0644 |
|
urlparse.pyo | File | 15.51 KB | 0644 |
|
user.py | File | 1.59 KB | 0644 |
|
user.pyc | File | 1.7 KB | 0644 |
|
user.pyo | File | 1.7 KB | 0644 |
|
uu.py | File | 6.54 KB | 0755 |
|
uu.pyc | File | 4.35 KB | 0644 |
|
uu.pyo | File | 4.35 KB | 0644 |
|
uuid.py | File | 22.63 KB | 0644 |
|
uuid.pyc | File | 23.22 KB | 0644 |
|
uuid.pyo | File | 23.11 KB | 0644 |
|
warnings.py | File | 14.48 KB | 0644 |
|
warnings.pyc | File | 13.49 KB | 0644 |
|
warnings.pyo | File | 12.71 KB | 0644 |
|
wave.py | File | 18.15 KB | 0644 |
|
wave.pyc | File | 20.19 KB | 0644 |
|
wave.pyo | File | 20.05 KB | 0644 |
|
weakref.py | File | 14.48 KB | 0644 |
|
weakref.pyc | File | 16.73 KB | 0644 |
|
weakref.pyo | File | 16.73 KB | 0644 |
|
webbrowser.py | File | 22.19 KB | 0755 |
|
webbrowser.pyc | File | 19.86 KB | 0644 |
|
webbrowser.pyo | File | 19.81 KB | 0644 |
|
whichdb.py | File | 3.31 KB | 0644 |
|
whichdb.pyc | File | 2.21 KB | 0644 |
|
whichdb.pyo | File | 2.21 KB | 0644 |
|
wsgiref.egg-info | File | 187 B | 0644 |
|
xdrlib.py | File | 5.93 KB | 0644 |
|
xdrlib.pyc | File | 10.2 KB | 0644 |
|
xdrlib.pyo | File | 10.2 KB | 0644 |
|
xmllib.py | File | 34.05 KB | 0644 |
|
xmllib.pyc | File | 26.9 KB | 0644 |
|
xmllib.pyo | File | 26.9 KB | 0644 |
|
xmlrpclib.py | File | 50.91 KB | 0644 |
|
xmlrpclib.pyc | File | 44.81 KB | 0644 |
|
xmlrpclib.pyo | File | 44.63 KB | 0644 |
|
zipfile.py | File | 58.08 KB | 0644 |
|
zipfile.pyc | File | 41.92 KB | 0644 |
|
zipfile.pyo | File | 41.92 KB | 0644 |
|