Server: appserver-7f0f8755-nginx-15961cad18524ec5a9db05f2a6a7e440
Current directory: /usr/lib/python2.7
Software: nginx/1.27.5
Shell Command
Create a new file
Upload file
File: sets.py
"""Classes to represent arbitrary sets (including sets of sets). This module implements sets using dictionaries whose values are ignored. The usual operations (union, intersection, deletion, etc.) are provided as both methods and operators. Important: sets are not sequences! While they support 'x in s', 'len(s)', and 'for x in s', none of those operations are unique for sequences; for example, mappings support all three as well. The characteristic operation for sequences is subscripting with small integers: s[i], for i in range(len(s)). Sets don't support subscripting at all. Also, sequences allow multiple occurrences and their elements have a definite order; sets on the other hand don't record multiple occurrences and don't remember the order of element insertion (which is why they don't support s[i]). The following classes are provided: BaseSet -- All the operations common to both mutable and immutable sets. This is an abstract class, not meant to be directly instantiated. Set -- Mutable sets, subclass of BaseSet; not hashable. ImmutableSet -- Immutable sets, subclass of BaseSet; hashable. An iterable argument is mandatory to create an ImmutableSet. _TemporarilyImmutableSet -- A wrapper around a Set, hashable, giving the same hash value as the immutable set equivalent would have. Do not use this class directly. Only hashable objects can be added to a Set. In particular, you cannot really add a Set as an element to another Set; if you try, what is actually added is an ImmutableSet built from it (it compares equal to the one you tried adding). When you ask if `x in y' where x is a Set and y is a Set or ImmutableSet, x is wrapped into a _TemporarilyImmutableSet z, and what's tested is actually `z in y'. """ # Code history: # # - Greg V. Wilson wrote the first version, using a different approach # to the mutable/immutable problem, and inheriting from dict. # # - Alex Martelli modified Greg's version to implement the current # Set/ImmutableSet approach, and make the data an attribute. # # - Guido van Rossum rewrote much of the code, made some API changes, # and cleaned up the docstrings. # # - Raymond Hettinger added a number of speedups and other # improvements. from itertools import ifilter, ifilterfalse __all__ = ['BaseSet', 'Set', 'ImmutableSet'] import warnings warnings.warn("the sets module is deprecated", DeprecationWarning, stacklevel=2) class BaseSet(object): """Common base class for mutable and immutable sets.""" __slots__ = ['_data'] # Constructor def __init__(self): """This is an abstract class.""" # Don't call this from a concrete subclass! if self.__class__ is BaseSet: raise TypeError, ("BaseSet is an abstract class. " "Use Set or ImmutableSet.") # Standard protocols: __len__, __repr__, __str__, __iter__ def __len__(self): """Return the number of elements of a set.""" return len(self._data) def __repr__(self): """Return string representation of a set. This looks like 'Set([
])'. """ return self._repr() # __str__ is the same as __repr__ __str__ = __repr__ def _repr(self, sorted=False): elements = self._data.keys() if sorted: elements.sort() return '%s(%r)' % (self.__class__.__name__, elements) def __iter__(self): """Return an iterator over the elements or a set. This is the keys iterator for the underlying dict. """ return self._data.iterkeys() # Three-way comparison is not supported. However, because __eq__ is # tried before __cmp__, if Set x == Set y, x.__eq__(y) returns True and # then cmp(x, y) returns 0 (Python doesn't actually call __cmp__ in this # case). def __cmp__(self, other): raise TypeError, "can't compare sets using cmp()" # Equality comparisons using the underlying dicts. Mixed-type comparisons # are allowed here, where Set == z for non-Set z always returns False, # and Set != z always True. This allows expressions like "x in y" to # give the expected result when y is a sequence of mixed types, not # raising a pointless TypeError just because y contains a Set, or x is # a Set and y contain's a non-set ("in" invokes only __eq__). # Subtle: it would be nicer if __eq__ and __ne__ could return # NotImplemented instead of True or False. Then the other comparand # would get a chance to determine the result, and if the other comparand # also returned NotImplemented then it would fall back to object address # comparison (which would always return False for __eq__ and always # True for __ne__). However, that doesn't work, because this type # *also* implements __cmp__: if, e.g., __eq__ returns NotImplemented, # Python tries __cmp__ next, and the __cmp__ here then raises TypeError. def __eq__(self, other): if isinstance(other, BaseSet): return self._data == other._data else: return False def __ne__(self, other): if isinstance(other, BaseSet): return self._data != other._data else: return True # Copying operations def copy(self): """Return a shallow copy of a set.""" result = self.__class__() result._data.update(self._data) return result __copy__ = copy # For the copy module def __deepcopy__(self, memo): """Return a deep copy of a set; used by copy module.""" # This pre-creates the result and inserts it in the memo # early, in case the deep copy recurses into another reference # to this same set. A set can't be an element of itself, but # it can certainly contain an object that has a reference to # itself. from copy import deepcopy result = self.__class__() memo[id(self)] = result data = result._data value = True for elt in self: data[deepcopy(elt, memo)] = value return result # Standard set operations: union, intersection, both differences. # Each has an operator version (e.g. __or__, invoked with |) and a # method version (e.g. union). # Subtle: Each pair requires distinct code so that the outcome is # correct when the type of other isn't suitable. For example, if # we did "union = __or__" instead, then Set().union(3) would return # NotImplemented instead of raising TypeError (albeit that *why* it # raises TypeError as-is is also a bit subtle). def __or__(self, other): """Return the union of two sets as a new set. (I.e. all elements that are in either set.) """ if not isinstance(other, BaseSet): return NotImplemented return self.union(other) def union(self, other): """Return the union of two sets as a new set. (I.e. all elements that are in either set.) """ result = self.__class__(self) result._update(other) return result def __and__(self, other): """Return the intersection of two sets as a new set. (I.e. all elements that are in both sets.) """ if not isinstance(other, BaseSet): return NotImplemented return self.intersection(other) def intersection(self, other): """Return the intersection of two sets as a new set. (I.e. all elements that are in both sets.) """ if not isinstance(other, BaseSet): other = Set(other) if len(self) <= len(other): little, big = self, other else: little, big = other, self common = ifilter(big._data.__contains__, little) return self.__class__(common) def __xor__(self, other): """Return the symmetric difference of two sets as a new set. (I.e. all elements that are in exactly one of the sets.) """ if not isinstance(other, BaseSet): return NotImplemented return self.symmetric_difference(other) def symmetric_difference(self, other): """Return the symmetric difference of two sets as a new set. (I.e. all elements that are in exactly one of the sets.) """ result = self.__class__() data = result._data value = True selfdata = self._data try: otherdata = other._data except AttributeError: otherdata = Set(other)._data for elt in ifilterfalse(otherdata.__contains__, selfdata): data[elt] = value for elt in ifilterfalse(selfdata.__contains__, otherdata): data[elt] = value return result def __sub__(self, other): """Return the difference of two sets as a new Set. (I.e. all elements that are in this set and not in the other.) """ if not isinstance(other, BaseSet): return NotImplemented return self.difference(other) def difference(self, other): """Return the difference of two sets as a new Set. (I.e. all elements that are in this set and not in the other.) """ result = self.__class__() data = result._data try: otherdata = other._data except AttributeError: otherdata = Set(other)._data value = True for elt in ifilterfalse(otherdata.__contains__, self): data[elt] = value return result # Membership test def __contains__(self, element): """Report whether an element is a member of a set. (Called in response to the expression `element in self'.) """ try: return element in self._data except TypeError: transform = getattr(element, "__as_temporarily_immutable__", None) if transform is None: raise # re-raise the TypeError exception we caught return transform() in self._data # Subset and superset test def issubset(self, other): """Report whether another set contains this set.""" self._binary_sanity_check(other) if len(self) > len(other): # Fast check for obvious cases return False for elt in ifilterfalse(other._data.__contains__, self): return False return True def issuperset(self, other): """Report whether this set contains another set.""" self._binary_sanity_check(other) if len(self) < len(other): # Fast check for obvious cases return False for elt in ifilterfalse(self._data.__contains__, other): return False return True # Inequality comparisons using the is-subset relation. __le__ = issubset __ge__ = issuperset def __lt__(self, other): self._binary_sanity_check(other) return len(self) < len(other) and self.issubset(other) def __gt__(self, other): self._binary_sanity_check(other) return len(self) > len(other) and self.issuperset(other) # We inherit object.__hash__, so we must deny this explicitly __hash__ = None # Assorted helpers def _binary_sanity_check(self, other): # Check that the other argument to a binary operation is also # a set, raising a TypeError otherwise. if not isinstance(other, BaseSet): raise TypeError, "Binary operation only permitted between sets" def _compute_hash(self): # Calculate hash code for a set by xor'ing the hash codes of # the elements. This ensures that the hash code does not depend # on the order in which elements are added to the set. This is # not called __hash__ because a BaseSet should not be hashable; # only an ImmutableSet is hashable. result = 0 for elt in self: result ^= hash(elt) return result def _update(self, iterable): # The main loop for update() and the subclass __init__() methods. data = self._data # Use the fast update() method when a dictionary is available. if isinstance(iterable, BaseSet): data.update(iterable._data) return value = True if type(iterable) in (list, tuple, xrange): # Optimized: we know that __iter__() and next() can't # raise TypeError, so we can move 'try:' out of the loop. it = iter(iterable) while True: try: for element in it: data[element] = value return except TypeError: transform = getattr(element, "__as_immutable__", None) if transform is None: raise # re-raise the TypeError exception we caught data[transform()] = value else: # Safe: only catch TypeError where intended for element in iterable: try: data[element] = value except TypeError: transform = getattr(element, "__as_immutable__", None) if transform is None: raise # re-raise the TypeError exception we caught data[transform()] = value class ImmutableSet(BaseSet): """Immutable set class.""" __slots__ = ['_hashcode'] # BaseSet + hashing def __init__(self, iterable=None): """Construct an immutable set from an optional iterable.""" self._hashcode = None self._data = {} if iterable is not None: self._update(iterable) def __hash__(self): if self._hashcode is None: self._hashcode = self._compute_hash() return self._hashcode def __getstate__(self): return self._data, self._hashcode def __setstate__(self, state): self._data, self._hashcode = state class Set(BaseSet): """ Mutable set class.""" __slots__ = [] # BaseSet + operations requiring mutability; no hashing def __init__(self, iterable=None): """Construct a set from an optional iterable.""" self._data = {} if iterable is not None: self._update(iterable) def __getstate__(self): # getstate's results are ignored if it is not return self._data, def __setstate__(self, data): self._data, = data # In-place union, intersection, differences. # Subtle: The xyz_update() functions deliberately return None, # as do all mutating operations on built-in container types. # The __xyz__ spellings have to return self, though. def __ior__(self, other): """Update a set with the union of itself and another.""" self._binary_sanity_check(other) self._data.update(other._data) return self def union_update(self, other): """Update a set with the union of itself and another.""" self._update(other) def __iand__(self, other): """Update a set with the intersection of itself and another.""" self._binary_sanity_check(other) self._data = (self & other)._data return self def intersection_update(self, other): """Update a set with the intersection of itself and another.""" if isinstance(other, BaseSet): self &= other else: self._data = (self.intersection(other))._data def __ixor__(self, other): """Update a set with the symmetric difference of itself and another.""" self._binary_sanity_check(other) self.symmetric_difference_update(other) return self def symmetric_difference_update(self, other): """Update a set with the symmetric difference of itself and another.""" data = self._data value = True if not isinstance(other, BaseSet): other = Set(other) if self is other: self.clear() for elt in other: if elt in data: del data[elt] else: data[elt] = value def __isub__(self, other): """Remove all elements of another set from this set.""" self._binary_sanity_check(other) self.difference_update(other) return self def difference_update(self, other): """Remove all elements of another set from this set.""" data = self._data if not isinstance(other, BaseSet): other = Set(other) if self is other: self.clear() for elt in ifilter(data.__contains__, other): del data[elt] # Python dict-like mass mutations: update, clear def update(self, iterable): """Add all values from an iterable (such as a list or file).""" self._update(iterable) def clear(self): """Remove all elements from this set.""" self._data.clear() # Single-element mutations: add, remove, discard def add(self, element): """Add an element to a set. This has no effect if the element is already present. """ try: self._data[element] = True except TypeError: transform = getattr(element, "__as_immutable__", None) if transform is None: raise # re-raise the TypeError exception we caught self._data[transform()] = True def remove(self, element): """Remove an element from a set; it must be a member. If the element is not a member, raise a KeyError. """ try: del self._data[element] except TypeError: transform = getattr(element, "__as_temporarily_immutable__", None) if transform is None: raise # re-raise the TypeError exception we caught del self._data[transform()] def discard(self, element): """Remove an element from a set if it is a member. If the element is not a member, do nothing. """ try: self.remove(element) except KeyError: pass def pop(self): """Remove and return an arbitrary set element.""" return self._data.popitem()[0] def __as_immutable__(self): # Return a copy of self as an immutable set return ImmutableSet(self) def __as_temporarily_immutable__(self): # Return self wrapped in a temporarily immutable set return _TemporarilyImmutableSet(self) class _TemporarilyImmutableSet(BaseSet): # Wrap a mutable set as if it was temporarily immutable. # This only supplies hashing and equality comparisons. def __init__(self, set): self._set = set self._data = set._data # Needed by ImmutableSet.__eq__() def __hash__(self): return self._set._compute_hash()
.
442 Items
Change directory
Remove directory
Rename directory
..
72 Items
Change directory
Remove directory
Rename directory
BaseHTTPServer.py
22.21 KB
Edit
Delete
Copy
Move
Remame
BaseHTTPServer.pyc
21.17 KB
Edit
Delete
Copy
Move
Remame
Bastion.py
5.61 KB
Edit
Delete
Copy
Move
Remame
Bastion.pyc
6.47 KB
Edit
Delete
Copy
Move
Remame
CGIHTTPServer.py
12.78 KB
Edit
Delete
Copy
Move
Remame
CGIHTTPServer.pyc
10.73 KB
Edit
Delete
Copy
Move
Remame
ConfigParser.py
27.1 KB
Edit
Delete
Copy
Move
Remame
ConfigParser.pyc
24.51 KB
Edit
Delete
Copy
Move
Remame
Cookie.py
25.92 KB
Edit
Delete
Copy
Move
Remame
Cookie.pyc
22.05 KB
Edit
Delete
Copy
Move
Remame
DocXMLRPCServer.py
10.25 KB
Edit
Delete
Copy
Move
Remame
DocXMLRPCServer.pyc
9.57 KB
Edit
Delete
Copy
Move
Remame
HTMLParser.py
16.73 KB
Edit
Delete
Copy
Move
Remame
HTMLParser.pyc
13.34 KB
Edit
Delete
Copy
Move
Remame
LICENSE.txt
12.47 KB
Edit
Delete
Copy
Move
Remame
MimeWriter.py
6.33 KB
Edit
Delete
Copy
Move
Remame
MimeWriter.pyc
7.17 KB
Edit
Delete
Copy
Move
Remame
Queue.py
8.38 KB
Edit
Delete
Copy
Move
Remame
Queue.pyc
9.15 KB
Edit
Delete
Copy
Move
Remame
SimpleHTTPServer.py
7.81 KB
Edit
Delete
Copy
Move
Remame
SimpleHTTPServer.pyc
7.8 KB
Edit
Delete
Copy
Move
Remame
SimpleXMLRPCServer.py
25.21 KB
Edit
Delete
Copy
Move
Remame
SimpleXMLRPCServer.pyc
22.26 KB
Edit
Delete
Copy
Move
Remame
SocketServer.py
23.24 KB
Edit
Delete
Copy
Move
Remame
SocketServer.pyc
23.39 KB
Edit
Delete
Copy
Move
Remame
StringIO.py
10.41 KB
Edit
Delete
Copy
Move
Remame
StringIO.pyc
11.17 KB
Edit
Delete
Copy
Move
Remame
UserDict.py
6.89 KB
Edit
Delete
Copy
Move
Remame
UserDict.pyc
9.4 KB
Edit
Delete
Copy
Move
Remame
UserList.py
3.56 KB
Edit
Delete
Copy
Move
Remame
UserList.pyc
6.36 KB
Edit
Delete
Copy
Move
Remame
UserString.py
9.46 KB
Edit
Delete
Copy
Move
Remame
UserString.pyc
14.38 KB
Edit
Delete
Copy
Move
Remame
_LWPCookieJar.py
6.4 KB
Edit
Delete
Copy
Move
Remame
_LWPCookieJar.pyc
5.29 KB
Edit
Delete
Copy
Move
Remame
_MozillaCookieJar.py
5.66 KB
Edit
Delete
Copy
Move
Remame
_MozillaCookieJar.pyc
4.35 KB
Edit
Delete
Copy
Move
Remame
__future__.py
4.28 KB
Edit
Delete
Copy
Move
Remame
__future__.pyc
4.11 KB
Edit
Delete
Copy
Move
Remame
__phello__.foo.py
0.06 KB
Edit
Delete
Copy
Move
Remame
__phello__.foo.pyc
0.12 KB
Edit
Delete
Copy
Move
Remame
_abcoll.py
18.18 KB
Edit
Delete
Copy
Move
Remame
_abcoll.pyc
24.88 KB
Edit
Delete
Copy
Move
Remame
_osx_support.py
18.65 KB
Edit
Delete
Copy
Move
Remame
_osx_support.pyc
11.45 KB
Edit
Delete
Copy
Move
Remame
_pyio.py
67.96 KB
Edit
Delete
Copy
Move
Remame
_pyio.pyc
62.82 KB
Edit
Delete
Copy
Move
Remame
_strptime.py
20.24 KB
Edit
Delete
Copy
Move
Remame
_strptime.pyc
14.77 KB
Edit
Delete
Copy
Move
Remame
_sysconfigdata.py
0.12 KB
Edit
Delete
Copy
Move
Remame
_sysconfigdata.pyc
0.27 KB
Edit
Delete
Copy
Move
Remame
_threading_local.py
7.28 KB
Edit
Delete
Copy
Move
Remame
_threading_local.pyc
6.4 KB
Edit
Delete
Copy
Move
Remame
_weakrefset.py
5.77 KB
Edit
Delete
Copy
Move
Remame
_weakrefset.pyc
9.36 KB
Edit
Delete
Copy
Move
Remame
abc.py
6.98 KB
Edit
Delete
Copy
Move
Remame
abc.pyc
5.98 KB
Edit
Delete
Copy
Move
Remame
aifc.py
33.49 KB
Edit
Delete
Copy
Move
Remame
aifc.pyc
29.5 KB
Edit
Delete
Copy
Move
Remame
antigravity.py
0.06 KB
Edit
Delete
Copy
Move
Remame
antigravity.pyc
0.2 KB
Edit
Delete
Copy
Move
Remame
anydbm.py
2.6 KB
Edit
Delete
Copy
Move
Remame
anydbm.pyc
2.73 KB
Edit
Delete
Copy
Move
Remame
argparse.egg-info
0.21 KB
Edit
Delete
Copy
Move
Remame
argparse.py
87.04 KB
Edit
Delete
Copy
Move
Remame
argparse.pyc
62.54 KB
Edit
Delete
Copy
Move
Remame
ast.py
11.53 KB
Edit
Delete
Copy
Move
Remame
ast.pyc
12.59 KB
Edit
Delete
Copy
Move
Remame
asynchat.py
11.33 KB
Edit
Delete
Copy
Move
Remame
asynchat.pyc
8.55 KB
Edit
Delete
Copy
Move
Remame
asyncore.py
20.36 KB
Edit
Delete
Copy
Move
Remame
asyncore.pyc
18.28 KB
Edit
Delete
Copy
Move
Remame
atexit.py
1.67 KB
Edit
Delete
Copy
Move
Remame
atexit.pyc
2.14 KB
Edit
Delete
Copy
Move
Remame
audiodev.py
7.42 KB
Edit
Delete
Copy
Move
Remame
audiodev.pyc
8.22 KB
Edit
Delete
Copy
Move
Remame
base64.py
11.53 KB
Edit
Delete
Copy
Move
Remame
base64.pyc
11 KB
Edit
Delete
Copy
Move
Remame
bdb.py
21.21 KB
Edit
Delete
Copy
Move
Remame
bdb.pyc
18.53 KB
Edit
Delete
Copy
Move
Remame
binhex.py
14.35 KB
Edit
Delete
Copy
Move
Remame
binhex.pyc
15 KB
Edit
Delete
Copy
Move
Remame
bisect.py
2.53 KB
Edit
Delete
Copy
Move
Remame
bisect.pyc
2.99 KB
Edit
Delete
Copy
Move
Remame
bsddb
14 Items
Change directory
Remove directory
Rename directory
cProfile.py
6.36 KB
Edit
Delete
Copy
Move
Remame
cProfile.pyc
6.13 KB
Edit
Delete
Copy
Move
Remame
calendar.py
22.84 KB
Edit
Delete
Copy
Move
Remame
calendar.pyc
27.1 KB
Edit
Delete
Copy
Move
Remame
cgi.py
34.01 KB
Edit
Delete
Copy
Move
Remame
cgi.pyc
31.67 KB
Edit
Delete
Copy
Move
Remame
cgitb.py
11.89 KB
Edit
Delete
Copy
Move
Remame
cgitb.pyc
11.85 KB
Edit
Delete
Copy
Move
Remame
chunk.py
5.29 KB
Edit
Delete
Copy
Move
Remame
chunk.pyc
5.45 KB
Edit
Delete
Copy
Move
Remame
cmd.py
14.67 KB
Edit
Delete
Copy
Move
Remame
cmd.pyc
13.67 KB
Edit
Delete
Copy
Move
Remame
code.py
9.95 KB
Edit
Delete
Copy
Move
Remame
code.pyc
10.06 KB
Edit
Delete
Copy
Move
Remame
codecs.py
35.25 KB
Edit
Delete
Copy
Move
Remame
codecs.pyc
35.8 KB
Edit
Delete
Copy
Move
Remame
codeop.py
5.86 KB
Edit
Delete
Copy
Move
Remame
codeop.pyc
6.42 KB
Edit
Delete
Copy
Move
Remame
collections.py
27.15 KB
Edit
Delete
Copy
Move
Remame
collections.pyc
25.45 KB
Edit
Delete
Copy
Move
Remame
colorsys.py
3.6 KB
Edit
Delete
Copy
Move
Remame
colorsys.pyc
3.88 KB
Edit
Delete
Copy
Move
Remame
commands.py
2.49 KB
Edit
Delete
Copy
Move
Remame
commands.pyc
2.4 KB
Edit
Delete
Copy
Move
Remame
compileall.py
7.58 KB
Edit
Delete
Copy
Move
Remame
compileall.pyc
6.84 KB
Edit
Delete
Copy
Move
Remame
compiler
22 Items
Change directory
Remove directory
Rename directory
contextlib.py
4.32 KB
Edit
Delete
Copy
Move
Remame
contextlib.pyc
4.33 KB
Edit
Delete
Copy
Move
Remame
cookielib.py
63.48 KB
Edit
Delete
Copy
Move
Remame
cookielib.pyc
52.98 KB
Edit
Delete
Copy
Move
Remame
copy.py
11.26 KB
Edit
Delete
Copy
Move
Remame
copy.pyc
11.83 KB
Edit
Delete
Copy
Move
Remame
copy_reg.py
6.64 KB
Edit
Delete
Copy
Move
Remame
copy_reg.pyc
4.95 KB
Edit
Delete
Copy
Move
Remame
csv.py
16.32 KB
Edit
Delete
Copy
Move
Remame
csv.pyc
13.14 KB
Edit
Delete
Copy
Move
Remame
ctypes
8 Items
Change directory
Remove directory
Rename directory
curses
12 Items
Change directory
Remove directory
Rename directory
dbhash.py
0.49 KB
Edit
Delete
Copy
Move
Remame
dbhash.pyc
0.7 KB
Edit
Delete
Copy
Move
Remame
decimal.py
216.73 KB
Edit
Delete
Copy
Move
Remame
decimal.pyc
167.62 KB
Edit
Delete
Copy
Move
Remame
difflib.py
80.4 KB
Edit
Delete
Copy
Move
Remame
difflib.pyc
60.34 KB
Edit
Delete
Copy
Move
Remame
dircache.py
1.1 KB
Edit
Delete
Copy
Move
Remame
dircache.pyc
1.53 KB
Edit
Delete
Copy
Move
Remame
dis.py
6.35 KB
Edit
Delete
Copy
Move
Remame
dis.pyc
6.07 KB
Edit
Delete
Copy
Move
Remame
dist-packages
1 Items
Change directory
Remove directory
Rename directory
distutils
58 Items
Change directory
Remove directory
Rename directory
doctest.py
102.75 KB
Edit
Delete
Copy
Move
Remame
doctest.pyc
81.49 KB
Edit
Delete
Copy
Move
Remame
dumbdbm.py
8.93 KB
Edit
Delete
Copy
Move
Remame
dumbdbm.pyc
6.55 KB
Edit
Delete
Copy
Move
Remame
dummy_thread.py
4.31 KB
Edit
Delete
Copy
Move
Remame
dummy_thread.pyc
5.24 KB
Edit
Delete
Copy
Move
Remame
dummy_threading.py
2.74 KB
Edit
Delete
Copy
Move
Remame
dummy_threading.pyc
1.25 KB
Edit
Delete
Copy
Move
Remame
email
29 Items
Change directory
Remove directory
Rename directory
encodings
240 Items
Change directory
Remove directory
Rename directory
ensurepip
6 Items
Change directory
Remove directory
Rename directory
filecmp.py
9.36 KB
Edit
Delete
Copy
Move
Remame
filecmp.pyc
9.36 KB
Edit
Delete
Copy
Move
Remame
fileinput.py
13.42 KB
Edit
Delete
Copy
Move
Remame
fileinput.pyc
14.1 KB
Edit
Delete
Copy
Move
Remame
fnmatch.py
3.24 KB
Edit
Delete
Copy
Move
Remame
fnmatch.pyc
3.52 KB
Edit
Delete
Copy
Move
Remame
formatter.py
14.56 KB
Edit
Delete
Copy
Move
Remame
formatter.pyc
18.58 KB
Edit
Delete
Copy
Move
Remame
fpformat.py
4.59 KB
Edit
Delete
Copy
Move
Remame
fpformat.pyc
4.55 KB
Edit
Delete
Copy
Move
Remame
fractions.py
21.87 KB
Edit
Delete
Copy
Move
Remame
fractions.pyc
19.17 KB
Edit
Delete
Copy
Move
Remame
ftplib.py
36.87 KB
Edit
Delete
Copy
Move
Remame
ftplib.pyc
33.63 KB
Edit
Delete
Copy
Move
Remame
functools.py
4.37 KB
Edit
Delete
Copy
Move
Remame
functools.pyc
5.86 KB
Edit
Delete
Copy
Move
Remame
genericpath.py
3.13 KB
Edit
Delete
Copy
Move
Remame
genericpath.pyc
3.41 KB
Edit
Delete
Copy
Move
Remame
getopt.py
7.15 KB
Edit
Delete
Copy
Move
Remame
getopt.pyc
6.48 KB
Edit
Delete
Copy
Move
Remame
getpass.py
5.43 KB
Edit
Delete
Copy
Move
Remame
getpass.pyc
4.62 KB
Edit
Delete
Copy
Move
Remame
gettext.py
22.06 KB
Edit
Delete
Copy
Move
Remame
gettext.pyc
17.45 KB
Edit
Delete
Copy
Move
Remame
glob.py
3.04 KB
Edit
Delete
Copy
Move
Remame
glob.pyc
2.86 KB
Edit
Delete
Copy
Move
Remame
gzip.py
18.58 KB
Edit
Delete
Copy
Move
Remame
gzip.pyc
14.78 KB
Edit
Delete
Copy
Move
Remame
hashlib.py
7.66 KB
Edit
Delete
Copy
Move
Remame
hashlib.pyc
6.73 KB
Edit
Delete
Copy
Move
Remame
heapq.py
17.87 KB
Edit
Delete
Copy
Move
Remame
heapq.pyc
14.19 KB
Edit
Delete
Copy
Move
Remame
hmac.py
4.48 KB
Edit
Delete
Copy
Move
Remame
hmac.pyc
4.42 KB
Edit
Delete
Copy
Move
Remame
hotshot
8 Items
Change directory
Remove directory
Rename directory
htmlentitydefs.py
17.63 KB
Edit
Delete
Copy
Move
Remame
htmlentitydefs.pyc
6.22 KB
Edit
Delete
Copy
Move
Remame
htmllib.py
12.57 KB
Edit
Delete
Copy
Move
Remame
htmllib.pyc
19.66 KB
Edit
Delete
Copy
Move
Remame
httplib.py
49.42 KB
Edit
Delete
Copy
Move
Remame
httplib.pyc
35.64 KB
Edit
Delete
Copy
Move
Remame
ihooks.py
18.54 KB
Edit
Delete
Copy
Move
Remame
ihooks.pyc
20.74 KB
Edit
Delete
Copy
Move
Remame
imaplib.py
47.28 KB
Edit
Delete
Copy
Move
Remame
imaplib.pyc
44.07 KB
Edit
Delete
Copy
Move
Remame
imghdr.py
3.46 KB
Edit
Delete
Copy
Move
Remame
imghdr.pyc
4.69 KB
Edit
Delete
Copy
Move
Remame
importlib
2 Items
Change directory
Remove directory
Rename directory
imputil.py
25.16 KB
Edit
Delete
Copy
Move
Remame
imputil.pyc
15.18 KB
Edit
Delete
Copy
Move
Remame
inspect.py
41.62 KB
Edit
Delete
Copy
Move
Remame
inspect.pyc
38.97 KB
Edit
Delete
Copy
Move
Remame
io.py
3.24 KB
Edit
Delete
Copy
Move
Remame
io.pyc
3.5 KB
Edit
Delete
Copy
Move
Remame
json
10 Items
Change directory
Remove directory
Rename directory
keyword.py
1.95 KB
Edit
Delete
Copy
Move
Remame
keyword.pyc
2.05 KB
Edit
Delete
Copy
Move
Remame
lib-dynload
38 Items
Change directory
Remove directory
Rename directory
lib-tk
36 Items
Change directory
Remove directory
Rename directory
lib2to3
26 Items
Change directory
Remove directory
Rename directory
linecache.py
3.93 KB
Edit
Delete
Copy
Move
Remame
linecache.pyc
3.18 KB
Edit
Delete
Copy
Move
Remame
locale.py
97.19 KB
Edit
Delete
Copy
Move
Remame
locale.pyc
53.69 KB
Edit
Delete
Copy
Move
Remame
logging
6 Items
Change directory
Remove directory
Rename directory
macpath.py
6.14 KB
Edit
Delete
Copy
Move
Remame
macpath.pyc
7.46 KB
Edit
Delete
Copy
Move
Remame
macurl2path.py
2.67 KB
Edit
Delete
Copy
Move
Remame
macurl2path.pyc
2.18 KB
Edit
Delete
Copy
Move
Remame
mailbox.py
79.34 KB
Edit
Delete
Copy
Move
Remame
mailbox.pyc
74.49 KB
Edit
Delete
Copy
Move
Remame
mailcap.py
7.25 KB
Edit
Delete
Copy
Move
Remame
mailcap.pyc
6.89 KB
Edit
Delete
Copy
Move
Remame
markupbase.py
14.3 KB
Edit
Delete
Copy
Move
Remame
markupbase.pyc
9.02 KB
Edit
Delete
Copy
Move
Remame
md5.py
0.35 KB
Edit
Delete
Copy
Move
Remame
md5.pyc
0.37 KB
Edit
Delete
Copy
Move
Remame
mhlib.py
32.65 KB
Edit
Delete
Copy
Move
Remame
mhlib.pyc
32.83 KB
Edit
Delete
Copy
Move
Remame
mimetools.py
7 KB
Edit
Delete
Copy
Move
Remame
mimetools.pyc
7.97 KB
Edit
Delete
Copy
Move
Remame
mimetypes.py
20.45 KB
Edit
Delete
Copy
Move
Remame
mimetypes.pyc
17.96 KB
Edit
Delete
Copy
Move
Remame
mimify.py
14.67 KB
Edit
Delete
Copy
Move
Remame
mimify.pyc
11.69 KB
Edit
Delete
Copy
Move
Remame
modulefinder.py
23.89 KB
Edit
Delete
Copy
Move
Remame
modulefinder.pyc
18.61 KB
Edit
Delete
Copy
Move
Remame
multifile.py
4.71 KB
Edit
Delete
Copy
Move
Remame
multifile.pyc
5.26 KB
Edit
Delete
Copy
Move
Remame
multiprocessing
25 Items
Change directory
Remove directory
Rename directory
mutex.py
1.83 KB
Edit
Delete
Copy
Move
Remame
mutex.pyc
2.44 KB
Edit
Delete
Copy
Move
Remame
netrc.py
5.73 KB
Edit
Delete
Copy
Move
Remame
netrc.pyc
4.54 KB
Edit
Delete
Copy
Move
Remame
new.py
0.6 KB
Edit
Delete
Copy
Move
Remame
new.pyc
0.84 KB
Edit
Delete
Copy
Move
Remame
nntplib.py
20.97 KB
Edit
Delete
Copy
Move
Remame
nntplib.pyc
20.46 KB
Edit
Delete
Copy
Move
Remame
ntpath.py
18.97 KB
Edit
Delete
Copy
Move
Remame
ntpath.pyc
12.78 KB
Edit
Delete
Copy
Move
Remame
nturl2path.py
2.36 KB
Edit
Delete
Copy
Move
Remame
nturl2path.pyc
1.77 KB
Edit
Delete
Copy
Move
Remame
numbers.py
10.08 KB
Edit
Delete
Copy
Move
Remame
numbers.pyc
13.56 KB
Edit
Delete
Copy
Move
Remame
opcode.py
5.35 KB
Edit
Delete
Copy
Move
Remame
opcode.pyc
5.99 KB
Edit
Delete
Copy
Move
Remame
optparse.py
59.77 KB
Edit
Delete
Copy
Move
Remame
optparse.pyc
52.36 KB
Edit
Delete
Copy
Move
Remame
os.py
25.3 KB
Edit
Delete
Copy
Move
Remame
os.pyc
24.98 KB
Edit
Delete
Copy
Move
Remame
os2emxpath.py
4.53 KB
Edit
Delete
Copy
Move
Remame
os2emxpath.pyc
4.4 KB
Edit
Delete
Copy
Move
Remame
pdb.doc
7.73 KB
Edit
Delete
Copy
Move
Remame
pdb.py
45.02 KB
Edit
Delete
Copy
Move
Remame
pdb.pyc
42.42 KB
Edit
Delete
Copy
Move
Remame
pickle.py
44.42 KB
Edit
Delete
Copy
Move
Remame
pickle.pyc
37.45 KB
Edit
Delete
Copy
Move
Remame
pickletools.py
72.79 KB
Edit
Delete
Copy
Move
Remame
pickletools.pyc
55.64 KB
Edit
Delete
Copy
Move
Remame
pipes.py
9.36 KB
Edit
Delete
Copy
Move
Remame
pipes.pyc
9.06 KB
Edit
Delete
Copy
Move
Remame
pkgutil.py
19.87 KB
Edit
Delete
Copy
Move
Remame
pkgutil.pyc
18.42 KB
Edit
Delete
Copy
Move
Remame
plat-x86_64-linux-gnu
10 Items
Change directory
Remove directory
Rename directory
platform.py
51.38 KB
Edit
Delete
Copy
Move
Remame
platform.pyc
36.84 KB
Edit
Delete
Copy
Move
Remame
plistlib.py
14.83 KB
Edit
Delete
Copy
Move
Remame
plistlib.pyc
18.67 KB
Edit
Delete
Copy
Move
Remame
popen2.py
8.22 KB
Edit
Delete
Copy
Move
Remame
popen2.pyc
8.78 KB
Edit
Delete
Copy
Move
Remame
poplib.py
12.52 KB
Edit
Delete
Copy
Move
Remame
poplib.pyc
12.97 KB
Edit
Delete
Copy
Move
Remame
posixfile.py
7.82 KB
Edit
Delete
Copy
Move
Remame
posixfile.pyc
7.45 KB
Edit
Delete
Copy
Move
Remame
posixpath.py
13.61 KB
Edit
Delete
Copy
Move
Remame
posixpath.pyc
11.12 KB
Edit
Delete
Copy
Move
Remame
pprint.py
11.5 KB
Edit
Delete
Copy
Move
Remame
pprint.pyc
9.92 KB
Edit
Delete
Copy
Move
Remame
profile.py
22.25 KB
Edit
Delete
Copy
Move
Remame
profile.pyc
15.99 KB
Edit
Delete
Copy
Move
Remame
pstats.py
26.09 KB
Edit
Delete
Copy
Move
Remame
pstats.pyc
24.31 KB
Edit
Delete
Copy
Move
Remame
pty.py
4.94 KB
Edit
Delete
Copy
Move
Remame
pty.pyc
4.83 KB
Edit
Delete
Copy
Move
Remame
py_compile.py
6.14 KB
Edit
Delete
Copy
Move
Remame
py_compile.pyc
6.46 KB
Edit
Delete
Copy
Move
Remame
pyclbr.py
13.07 KB
Edit
Delete
Copy
Move
Remame
pyclbr.pyc
9.4 KB
Edit
Delete
Copy
Move
Remame
pydoc.py
93.56 KB
Edit
Delete
Copy
Move
Remame
pydoc.pyc
89.91 KB
Edit
Delete
Copy
Move
Remame
pydoc_data
4 Items
Change directory
Remove directory
Rename directory
quopri.py
6.8 KB
Edit
Delete
Copy
Move
Remame
quopri.pyc
6.4 KB
Edit
Delete
Copy
Move
Remame
random.py
31.57 KB
Edit
Delete
Copy
Move
Remame
random.pyc
24.89 KB
Edit
Delete
Copy
Move
Remame
re.py
13.11 KB
Edit
Delete
Copy
Move
Remame
re.pyc
13.06 KB
Edit
Delete
Copy
Move
Remame
repr.py
4.2 KB
Edit
Delete
Copy
Move
Remame
repr.pyc
5.23 KB
Edit
Delete
Copy
Move
Remame
rexec.py
19.68 KB
Edit
Delete
Copy
Move
Remame
rexec.pyc
23.13 KB
Edit
Delete
Copy
Move
Remame
rfc822.py
32.76 KB
Edit
Delete
Copy
Move
Remame
rfc822.pyc
30.95 KB
Edit
Delete
Copy
Move
Remame
rlcompleter.py
5.85 KB
Edit
Delete
Copy
Move
Remame
rlcompleter.pyc
5.92 KB
Edit
Delete
Copy
Move
Remame
robotparser.py
7.41 KB
Edit
Delete
Copy
Move
Remame
robotparser.pyc
7.73 KB
Edit
Delete
Copy
Move
Remame
runpy.py
10.82 KB
Edit
Delete
Copy
Move
Remame
runpy.pyc
8.56 KB
Edit
Delete
Copy
Move
Remame
sched.py
4.97 KB
Edit
Delete
Copy
Move
Remame
sched.pyc
4.86 KB
Edit
Delete
Copy
Move
Remame
sets.py
18.6 KB
Edit
Delete
Copy
Move
Remame
sets.pyc
16.39 KB
Edit
Delete
Copy
Move
Remame
sgmllib.py
17.46 KB
Edit
Delete
Copy
Move
Remame
sgmllib.pyc
14.98 KB
Edit
Delete
Copy
Move
Remame
sha.py
0.38 KB
Edit
Delete
Copy
Move
Remame
sha.pyc
0.41 KB
Edit
Delete
Copy
Move
Remame
shelve.py
7.99 KB
Edit
Delete
Copy
Move
Remame
shelve.pyc
9.96 KB
Edit
Delete
Copy
Move
Remame
shlex.py
10.9 KB
Edit
Delete
Copy
Move
Remame
shlex.pyc
7.36 KB
Edit
Delete
Copy
Move
Remame
shutil.py
18.63 KB
Edit
Delete
Copy
Move
Remame
shutil.pyc
18.12 KB
Edit
Delete
Copy
Move
Remame
site.py
19.48 KB
Edit
Delete
Copy
Move
Remame
site.pyc
19.08 KB
Edit
Delete
Copy
Move
Remame
sitecustomize.py
0.15 KB
Edit
Delete
Copy
Move
Remame
sitecustomize.pyc
0.23 KB
Edit
Delete
Copy
Move
Remame
smtpd.py
18.11 KB
Edit
Delete
Copy
Move
Remame
smtpd.pyc
15.45 KB
Edit
Delete
Copy
Move
Remame
smtplib.py
31.35 KB
Edit
Delete
Copy
Move
Remame
smtplib.pyc
29.47 KB
Edit
Delete
Copy
Move
Remame
sndhdr.py
5.83 KB
Edit
Delete
Copy
Move
Remame
sndhdr.pyc
7.16 KB
Edit
Delete
Copy
Move
Remame
socket.py
20.13 KB
Edit
Delete
Copy
Move
Remame
socket.pyc
15.71 KB
Edit
Delete
Copy
Move
Remame
sqlite3
6 Items
Change directory
Remove directory
Rename directory
sre.py
0.38 KB
Edit
Delete
Copy
Move
Remame
sre.pyc
0.5 KB
Edit
Delete
Copy
Move
Remame
sre_compile.py
19.35 KB
Edit
Delete
Copy
Move
Remame
sre_compile.pyc
12.24 KB
Edit
Delete
Copy
Move
Remame
sre_constants.py
7.03 KB
Edit
Delete
Copy
Move
Remame
sre_constants.pyc
6.04 KB
Edit
Delete
Copy
Move
Remame
sre_parse.py
28.23 KB
Edit
Delete
Copy
Move
Remame
sre_parse.pyc
19.48 KB
Edit
Delete
Copy
Move
Remame
ssl.py
36.92 KB
Edit
Delete
Copy
Move
Remame
ssl.pyc
31.47 KB
Edit
Delete
Copy
Move
Remame
stat.py
1.8 KB
Edit
Delete
Copy
Move
Remame
stat.pyc
2.67 KB
Edit
Delete
Copy
Move
Remame
statvfs.py
0.88 KB
Edit
Delete
Copy
Move
Remame
statvfs.pyc
0.6 KB
Edit
Delete
Copy
Move
Remame
string.py
21.04 KB
Edit
Delete
Copy
Move
Remame
string.pyc
19.88 KB
Edit
Delete
Copy
Move
Remame
stringold.py
12.16 KB
Edit
Delete
Copy
Move
Remame
stringold.pyc
12.2 KB
Edit
Delete
Copy
Move
Remame
stringprep.py
13.21 KB
Edit
Delete
Copy
Move
Remame
stringprep.pyc
14.11 KB
Edit
Delete
Copy
Move
Remame
struct.py
0.08 KB
Edit
Delete
Copy
Move
Remame
struct.pyc
0.23 KB
Edit
Delete
Copy
Move
Remame
subprocess.py
48.26 KB
Edit
Delete
Copy
Move
Remame
subprocess.pyc
30.8 KB
Edit
Delete
Copy
Move
Remame
sunau.py
16.82 KB
Edit
Delete
Copy
Move
Remame
sunau.pyc
17.87 KB
Edit
Delete
Copy
Move
Remame
sunaudio.py
1.37 KB
Edit
Delete
Copy
Move
Remame
sunaudio.pyc
1.93 KB
Edit
Delete
Copy
Move
Remame
symbol.py
2.01 KB
Edit
Delete
Copy
Move
Remame
symbol.pyc
2.95 KB
Edit
Delete
Copy
Move
Remame
symtable.py
7.26 KB
Edit
Delete
Copy
Move
Remame
symtable.pyc
11.41 KB
Edit
Delete
Copy
Move
Remame
sysconfig.py
24.61 KB
Edit
Delete
Copy
Move
Remame
sysconfig.pyc
18.19 KB
Edit
Delete
Copy
Move
Remame
tabnanny.py
11.07 KB
Edit
Delete
Copy
Move
Remame
tabnanny.pyc
8.01 KB
Edit
Delete
Copy
Move
Remame
tarfile.py
88.45 KB
Edit
Delete
Copy
Move
Remame
tarfile.pyc
74.02 KB
Edit
Delete
Copy
Move
Remame
telnetlib.py
26.41 KB
Edit
Delete
Copy
Move
Remame
telnetlib.pyc
22.54 KB
Edit
Delete
Copy
Move
Remame
tempfile.py
19.09 KB
Edit
Delete
Copy
Move
Remame
tempfile.pyc
19.76 KB
Edit
Delete
Copy
Move
Remame
test
8 Items
Change directory
Remove directory
Rename directory
textwrap.py
16.81 KB
Edit
Delete
Copy
Move
Remame
textwrap.pyc
11.72 KB
Edit
Delete
Copy
Move
Remame
this.py
0.98 KB
Edit
Delete
Copy
Move
Remame
this.pyc
1.19 KB
Edit
Delete
Copy
Move
Remame
threading.py
46.03 KB
Edit
Delete
Copy
Move
Remame
threading.pyc
41.44 KB
Edit
Delete
Copy
Move
Remame
timeit.py
12.49 KB
Edit
Delete
Copy
Move
Remame
timeit.pyc
11.87 KB
Edit
Delete
Copy
Move
Remame
toaiff.py
3.07 KB
Edit
Delete
Copy
Move
Remame
toaiff.pyc
3.03 KB
Edit
Delete
Copy
Move
Remame
token.py
2.85 KB
Edit
Delete
Copy
Move
Remame
token.pyc
3.72 KB
Edit
Delete
Copy
Move
Remame
tokenize.py
17.07 KB
Edit
Delete
Copy
Move
Remame
tokenize.pyc
14.13 KB
Edit
Delete
Copy
Move
Remame
trace.py
29.19 KB
Edit
Delete
Copy
Move
Remame
trace.pyc
22.19 KB
Edit
Delete
Copy
Move
Remame
traceback.py
11.02 KB
Edit
Delete
Copy
Move
Remame
traceback.pyc
11.37 KB
Edit
Delete
Copy
Move
Remame
tty.py
0.86 KB
Edit
Delete
Copy
Move
Remame
tty.pyc
1.28 KB
Edit
Delete
Copy
Move
Remame
types.py
2.04 KB
Edit
Delete
Copy
Move
Remame
types.pyc
2.65 KB
Edit
Delete
Copy
Move
Remame
unittest
20 Items
Change directory
Remove directory
Rename directory
urllib.py
58.53 KB
Edit
Delete
Copy
Move
Remame
urllib.pyc
49.71 KB
Edit
Delete
Copy
Move
Remame
urllib2.py
51.28 KB
Edit
Delete
Copy
Move
Remame
urllib2.pyc
45.92 KB
Edit
Delete
Copy
Move
Remame
urlparse.py
14.81 KB
Edit
Delete
Copy
Move
Remame
urlparse.pyc
14.13 KB
Edit
Delete
Copy
Move
Remame
user.py
1.59 KB
Edit
Delete
Copy
Move
Remame
user.pyc
1.68 KB
Edit
Delete
Copy
Move
Remame
uu.py
6.4 KB
Edit
Delete
Copy
Move
Remame
uu.pyc
4.2 KB
Edit
Delete
Copy
Move
Remame
uuid.py
22.08 KB
Edit
Delete
Copy
Move
Remame
uuid.pyc
21.95 KB
Edit
Delete
Copy
Move
Remame
warnings.py
14.4 KB
Edit
Delete
Copy
Move
Remame
warnings.pyc
13.12 KB
Edit
Delete
Copy
Move
Remame
wave.py
18.15 KB
Edit
Delete
Copy
Move
Remame
wave.pyc
19.44 KB
Edit
Delete
Copy
Move
Remame
weakref.py
13.28 KB
Edit
Delete
Copy
Move
Remame
weakref.pyc
15.37 KB
Edit
Delete
Copy
Move
Remame
webbrowser.py
22.25 KB
Edit
Delete
Copy
Move
Remame
webbrowser.pyc
19.26 KB
Edit
Delete
Copy
Move
Remame
whichdb.py
3.3 KB
Edit
Delete
Copy
Move
Remame
whichdb.pyc
2.18 KB
Edit
Delete
Copy
Move
Remame
wsgiref
12 Items
Change directory
Remove directory
Rename directory
wsgiref.egg-info
0.18 KB
Edit
Delete
Copy
Move
Remame
xdrlib.py
5.93 KB
Edit
Delete
Copy
Move
Remame
xdrlib.pyc
9.59 KB
Edit
Delete
Copy
Move
Remame
xml
6 Items
Change directory
Remove directory
Rename directory
xmllib.py
34.05 KB
Edit
Delete
Copy
Move
Remame
xmllib.pyc
26.11 KB
Edit
Delete
Copy
Move
Remame
xmlrpclib.py
50.91 KB
Edit
Delete
Copy
Move
Remame
xmlrpclib.pyc
42.8 KB
Edit
Delete
Copy
Move
Remame
zipfile.py
57.64 KB
Edit
Delete
Copy
Move
Remame
zipfile.pyc
40.52 KB
Edit
Delete
Copy
Move
Remame