rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
for stream in self.all_streams: if not stream.length: stream.length = self.length
def __init__(self, file): core.AVContainer.__init__(self) self.samplerate = 1 self.all_streams = [] # used to add meta data to streams self.all_header = []
7972f89a7eb825c3cdf75800bafaab2e58fdbe07 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11721/7972f89a7eb825c3cdf75800bafaab2e58fdbe07/ogm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 585, 4672, 2922, 18, 5856, 2170, 16186, 2738, 972, 12, 2890, 13, 365, 18, 87, 10463, 340, 225, 273, 404, 365, 18, 454, 67, 16320, 273, 5378, 6647, 468, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 585, 4672, 2922, 18, 5856, 2170, 16186, 2738, 972, 12, 2890, 13, 365, 18, 87, 10463, 340, 225, 273, 404, 365, 18, 454, 67, 16320, 273, 5378, 6647, 468, ...
d = [boost_common, boost_regex, boost_serial, boost_thread, boost_po, boost_system]
d = [boost_common, boost_regex, boost_serial, boost_thread, boost_po, boost_system, boost_signals]
def CheckHeadersAndLibraries(env, conf): print "\nChecking headers and libraries" boost_common = Dependency([], ['boost/cstdint.hpp']) boost_thread = Dependency(['boost_thread'], ['boost/thread.hpp']) boost_regex = Dependency(['boost_regex'], ['boost/regex.hpp']) boost_serial = Dependency([], ['boost/serialization/...
d29c6d9a28c611bbe9e957610d67079326350649 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1030/d29c6d9a28c611bbe9e957610d67079326350649/config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2073, 3121, 1876, 31909, 12, 3074, 16, 2195, 4672, 1172, 1548, 82, 14294, 1607, 471, 14732, 6, 225, 14994, 67, 6054, 273, 11993, 3816, 6487, 10228, 25018, 19, 71, 5084, 474, 18, 76, 1185...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2073, 3121, 1876, 31909, 12, 3074, 16, 2195, 4672, 1172, 1548, 82, 14294, 1607, 471, 14732, 6, 225, 14994, 67, 6054, 273, 11993, 3816, 6487, 10228, 25018, 19, 71, 5084, 474, 18, 76, 1185...
class TimeInForce(quickfix.CharField): def __init__(self, data = None): if data == None: quickfix.CharField.__init__(self, 59) else: quickfix.CharField.__init__(self, 59, data) class TransactTime(quickfix.UtcTimeStampField): def __init__(self, data = None): if data == None: quickfix.UtcTimeStampField.__init__(self, 60...
def __init__(self, data = None): if data == None: quickfix.StringField.__init__(self, 58) else: quickfix.StringField.__init__(self, 58, data)
b195a30ce1679e0269bc776f2f6e3591488def1f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/b195a30ce1679e0269bc776f2f6e3591488def1f/quickfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 501, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 17066, 13, 469, 30, 9549, 904, 18, 780, 974, 1618...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 501, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 17066, 13, 469, 30, 9549, 904, 18, 780, 974, 1618...
verify((a - 0).__class__ is complex)
veris((a - 0).__class__, complex)
def __repr__(self): return "%.17gj%+.17g" % (self.imag, self.real)
37201d659f09bf59629b52df5935bcfac0d9ace3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/37201d659f09bf59629b52df5935bcfac0d9ace3/test_descr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12715, 972, 12, 2890, 4672, 327, 26209, 4033, 75, 78, 9, 15, 18, 4033, 75, 6, 738, 261, 2890, 18, 15374, 16, 365, 18, 7688, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12715, 972, 12, 2890, 4672, 327, 26209, 4033, 75, 78, 9, 15, 18, 4033, 75, 6, 738, 261, 2890, 18, 15374, 16, 365, 18, 7688, 13, 2, -100, -100, -100, -100, -100, -100, -100, -10...
parser = OptionParser(version="%prog 0.6", usage="Usage: %prog [options] version")
parser = OptionParser(version="%prog 0.6.1", usage="Usage: %prog [options] version")
def downloadkit(version): global headers global options urlbase = 'http://developer.symbian.org/main/tools_and_kits/downloads/' viewid = 5 # default to Symbian^3 if version[0] == 2: viewid= 1 # Symbian^2 if version[0] == 3: viewid= 5 # Symbian^3 url = urlbase + ('view.php?id=%d'% viewid) + 'vId=' + version req = ...
37aeedd1d8317cbb63146acc7676ba5b9c773177 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4206/37aeedd1d8317cbb63146acc7676ba5b9c773177/downloadkit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4224, 8691, 12, 1589, 4672, 2552, 1607, 2552, 702, 880, 1969, 273, 296, 2505, 2207, 23669, 18, 9009, 1627, 2779, 18, 3341, 19, 5254, 19, 6642, 67, 464, 67, 79, 1282, 19, 7813, 87, 2473...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4224, 8691, 12, 1589, 4672, 2552, 1607, 2552, 702, 880, 1969, 273, 296, 2505, 2207, 23669, 18, 9009, 1627, 2779, 18, 3341, 19, 5254, 19, 6642, 67, 464, 67, 79, 1282, 19, 7813, 87, 2473...
if childElement: return childElement
if not childElement: continue return childElement
def locateHTMLElementByID(document,ID): element=document.getElementById(ID) if element: return element nodeName=document.body.nodeName if nodeName=="FRAMESET": tag="frame" else: tag="iframe" frames=document.getElementsByTagName(tag) for frame in frames: pacc=IAccessibleFromHTMLNode(frame) childPacc=pacc.accChild(1) chi...
d9ce135d2cacc38b0b13855b001f2b2ad17e510c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9340/d9ce135d2cacc38b0b13855b001f2b2ad17e510c/MSHTML.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10627, 5062, 11155, 13331, 12, 5457, 16, 734, 4672, 930, 33, 5457, 18, 24135, 12, 734, 13, 309, 930, 30, 327, 930, 7553, 33, 5457, 18, 3432, 18, 2159, 461, 309, 7553, 31713, 15072, 404...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10627, 5062, 11155, 13331, 12, 5457, 16, 734, 4672, 930, 33, 5457, 18, 24135, 12, 734, 13, 309, 930, 30, 327, 930, 7553, 33, 5457, 18, 3432, 18, 2159, 461, 309, 7553, 31713, 15072, 404...
self.run_in_target('chpasswd', stdin='root:!\n')
self.run_in_target('chpasswd', '-e', stdin='root:!\n')
def create_initial_user(self): self.run_in_target('adduser', '--disabled-password', '--gecos', self.vm.name, self.vm.user) self.run_in_target('chpasswd', stdin=('%s:%s\n' % (self.vm.user, getattr(self.vm, 'pass')))) self.run_in_target('addgroup', '--system', 'admin') self.run_in_target('adduser', self.vm.user, 'admin')
706e4b77bc87c5a1a542b4092b1032531128d304 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1496/706e4b77bc87c5a1a542b4092b1032531128d304/dapper.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 6769, 67, 1355, 12, 2890, 4672, 365, 18, 2681, 67, 267, 67, 3299, 2668, 1289, 1355, 2187, 3534, 9278, 17, 3664, 2187, 3534, 75, 557, 538, 2187, 365, 18, 3489, 18, 529, 16, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 6769, 67, 1355, 12, 2890, 4672, 365, 18, 2681, 67, 267, 67, 3299, 2668, 1289, 1355, 2187, 3534, 9278, 17, 3664, 2187, 3534, 75, 557, 538, 2187, 365, 18, 3489, 18, 529, 16, 3...
def format_option_strings_long_first (self, option): opts = [] takes_value = option.takes_value() if takes_value: metavar = option.metavar or option.dest.upper() for lopt in option._long_opts: opts.append(lopt + "=" + metavar) for sopt in option._short_opts: opts.append(sopt + metavar) else: for opt in option._long_op...
def format_option_strings_short_first (self, option): opts = [] # list of "-a" or "--foo=FILE" strings takes_value = option.takes_value() if takes_value: metavar = option.metavar or option.dest.upper() for sopt in option._short_opts: opts.append(sopt + metavar) for lopt in option._long_opts: opts....
1cf7c99a16b690081fdc82dd118fe22a109df2e0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/1cf7c99a16b690081fdc82dd118fe22a109df2e0/optparse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 67, 3482, 67, 10219, 67, 6620, 67, 3645, 261, 2890, 16, 1456, 4672, 1500, 273, 5378, 15604, 468, 666, 434, 3701, 69, 6, 578, 5238, 11351, 33, 3776, 6, 2064, 5530, 67, 1132, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 67, 3482, 67, 10219, 67, 6620, 67, 3645, 261, 2890, 16, 1456, 4672, 1500, 273, 5378, 15604, 468, 666, 434, 3701, 69, 6, 578, 5238, 11351, 33, 3776, 6, 2064, 5530, 67, 1132, 273, ...
if (old, new) != (-1, -1): print "added %
def maybe_add_some_atom_content(self, flags): """ One of your kids *might be* adding some "atom content" of the given type (due to changes in itself, or being added as your kid). Record and propogate the change, doing mt_update if required.
19c2c0f7be0e720d00d51c465145f612e0af4028 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/19c2c0f7be0e720d00d51c465145f612e0af4028/NodeWithAtomContents.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6944, 67, 1289, 67, 19068, 67, 7466, 67, 1745, 12, 2890, 16, 2943, 4672, 3536, 6942, 434, 3433, 417, 2232, 380, 81, 750, 506, 14, 6534, 2690, 315, 7466, 913, 6, 434, 326, 864, 618, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6944, 67, 1289, 67, 19068, 67, 7466, 67, 1745, 12, 2890, 16, 2943, 4672, 3536, 6942, 434, 3433, 417, 2232, 380, 81, 750, 506, 14, 6534, 2690, 315, 7466, 913, 6, 434, 326, 864, 618, 2...
result = adu.get('Firefox', '3.5.5', 'Windows', '2009-12-15', '2009-12-31')
result = adu.get('Firefox', '3.5.5', '', 'Windows', '2009-12-15', '2009-12-31')
def aduByDay(self, parameters): return parameters
612c2e11e9cfb9403a004763f4a74d126edb03c4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12383/612c2e11e9cfb9403a004763f4a74d126edb03c4/testTopAduByDay.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1261, 89, 858, 4245, 12, 2890, 16, 1472, 4672, 327, 1472, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1261, 89, 858, 4245, 12, 2890, 16, 1472, 4672, 327, 1472, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
verbose_name = _(u"Description."),
verbose_name = _(u"Description"),
def __unicode__(self): return _(u"{name}: {value}").format( name = self.name, value = self.value)
4f26277e4a4a9bf4877b5ee56af1475e5445f043 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7382/4f26277e4a4a9bf4877b5ee56af1475e5445f043/models.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 9124, 972, 12, 2890, 4672, 327, 389, 12, 89, 18767, 529, 6713, 288, 1132, 1532, 2934, 2139, 12, 508, 273, 365, 18, 529, 16, 460, 273, 365, 18, 1132, 13, 2, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 9124, 972, 12, 2890, 4672, 327, 389, 12, 89, 18767, 529, 6713, 288, 1132, 1532, 2934, 2139, 12, 508, 273, 365, 18, 529, 16, 460, 273, 365, 18, 1132, 13, 2, -100, -100, -100, -1...
if not child.name in known: known.add(child.name) elif not hasattr(child, "initializer"): first.remove(child)
if not hasattr(child, "initializer"): if child.name in known: first.remove(child)
def __cleanFirst(first): known = set() for child in list(first): if not child.name in known: known.add(child.name) elif not hasattr(child, "initializer"): first.remove(child)
7e177279619f222184769c89d8e0db75bfdbaffd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12949/7e177279619f222184769c89d8e0db75bfdbaffd/CombineDeclarations.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 6200, 3759, 12, 3645, 4672, 4846, 273, 444, 1435, 364, 1151, 316, 666, 12, 3645, 4672, 225, 309, 486, 3859, 12, 3624, 16, 315, 22181, 6, 4672, 309, 1151, 18, 529, 316, 4846, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 6200, 3759, 12, 3645, 4672, 4846, 273, 444, 1435, 364, 1151, 316, 666, 12, 3645, 4672, 225, 309, 486, 3859, 12, 3624, 16, 315, 22181, 6, 4672, 309, 1151, 18, 529, 316, 4846, 30, ...
cmd = montage_cmd % (orientation, "@" + tempPath, combined)
cmd = montage_cmd % (orientation, "@" + os.path.basename(tempPath), combined)
def combine(self, combined, files, horizontal): self._console.indent() montage_cmd = "montage -geometry +0+0 -gravity NorthWest -tile %s -background None %s %s" if horizontal: orientation = "x1" else: orientation = "1x"
2133d5fb0625377d6018e5840876097ff1899e28 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5718/2133d5fb0625377d6018e5840876097ff1899e28/ImageClipping.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8661, 12, 2890, 16, 8224, 16, 1390, 16, 10300, 4672, 365, 6315, 8698, 18, 9355, 1435, 312, 1580, 410, 67, 4172, 273, 315, 81, 1580, 410, 300, 14330, 397, 20, 15, 20, 300, 2752, 16438, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8661, 12, 2890, 16, 8224, 16, 1390, 16, 10300, 4672, 365, 6315, 8698, 18, 9355, 1435, 312, 1580, 410, 67, 4172, 273, 315, 81, 1580, 410, 300, 14330, 397, 20, 15, 20, 300, 2752, 16438, ...
cursect = {'name': sectname} self.__sections[sectname] = cursect optname = None elif option_cre.match(line) >= 0: optname, optval = option_cre.group(1, 3) optname = string.lower(optname) optval = string.strip(optval) if optval == '""': optval = '' cursect[optname] = optval else: print 'Error in %s at %d: %s', (fp.n...
mo = self.__OPTCRE.match(line) if mo: optname, optval = mo.group('option', 'value') optname = string.lower(optname) optval = string.strip(optval) if optval == '""': optval = '' cursect[optname] = optval else: if not e: e = ParsingError(fp.name) e.append(lineno, `line`) if e: raise e
def __read(self, fp): """Parse a sectioned setup file.
5f05e26cd3fe85ce09a7705b5616fd024df5cfbd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/5f05e26cd3fe85ce09a7705b5616fd024df5cfbd/ConfigParser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 896, 12, 2890, 16, 4253, 4672, 3536, 3201, 279, 2442, 329, 3875, 585, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 896, 12, 2890, 16, 4253, 4672, 3536, 3201, 279, 2442, 329, 3875, 585, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
self._set_servers()
def __init__(self): """Init database""" #Get repos present on machine self.repos = os.listdir("/var/lib/pacman")
192b58976c8291ef317639756a9b5c3e8e6b8cc0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2654/192b58976c8291ef317639756a9b5c3e8e6b8cc0/pacman.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 3536, 2570, 2063, 8395, 468, 967, 13686, 3430, 603, 5228, 365, 18, 15564, 273, 1140, 18, 1098, 1214, 2932, 19, 1401, 19, 2941, 19, 84, 1077, 4728, 7923, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 3536, 2570, 2063, 8395, 468, 967, 13686, 3430, 603, 5228, 365, 18, 15564, 273, 1140, 18, 1098, 1214, 2932, 19, 1401, 19, 2941, 19, 84, 1077, 4728, 7923, ...
return version < (2, 2, 0)
return version < (2, 4, 0)
def deprecated_python_version(version=sys.version_info): return version < (2, 2, 0)
cb2754c7467be7fe19102326d3bb497ab2192f7d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12817/cb2754c7467be7fe19102326d3bb497ab2192f7d/TestSCons.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6849, 67, 8103, 67, 1589, 12, 1589, 33, 9499, 18, 1589, 67, 1376, 4672, 327, 1177, 411, 261, 22, 16, 1059, 16, 374, 13, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6849, 67, 8103, 67, 1589, 12, 1589, 33, 9499, 18, 1589, 67, 1376, 4672, 327, 1177, 411, 261, 22, 16, 1059, 16, 374, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if scons: os.environ['SCONS'] = scons if scons_exec: os.environ['SCONS_EXEC'] = '1'
def find_py(arg, dirname, names):
4e122ccb0796e00e7ac3d05b570889bfd48a35f2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12817/4e122ccb0796e00e7ac3d05b570889bfd48a35f2/runtest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 2074, 12, 3175, 16, 4283, 16, 1257, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 2074, 12, 3175, 16, 4283, 16, 1257, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
currentTime = int(time.time())
def __init__(self, filename, when='h', interval=1, backupCount=0, encoding=None, delay=0, utc=0): BaseRotatingHandler.__init__(self, filename, 'a', encoding, delay) self.when = string.upper(when) self.backupCount = backupCount self.utc = utc # Calculate the real rollover interval, which is just the number of # seconds ...
d215f941c5a6e5c522b1e91322cd6f50415c233c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8125/d215f941c5a6e5c522b1e91322cd6f50415c233c/handlers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1544, 16, 1347, 2218, 76, 2187, 3673, 33, 21, 16, 5114, 1380, 33, 20, 16, 2688, 33, 7036, 16, 4624, 33, 20, 16, 9439, 33, 20, 4672, 3360, 8570, 1776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1544, 16, 1347, 2218, 76, 2187, 3673, 33, 21, 16, 5114, 1380, 33, 20, 16, 2688, 33, 7036, 16, 4624, 33, 20, 16, 9439, 33, 20, 4672, 3360, 8570, 1776, ...
def ProcessVariablesAndConditionsInDict(the_dict, is_late, variables,
def ProcessVariablesAndConditionsInDict(the_dict, is_late, variables_in,
def ProcessVariablesAndConditionsInDict(the_dict, is_late, variables, build_file, the_dict_key=None): """Handle all variable and command expansion and conditional evaluation. This function is the public entry point for all variable expansions and conditional evaluations. """ # Save a copy of the variables dict before...
258e1528741d7f7d6d3f5c2f2e8d2f3c5a83d40a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6220/258e1528741d7f7d6d3f5c2f2e8d2f3c5a83d40a/input.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4389, 6158, 1876, 8545, 382, 5014, 12, 5787, 67, 1576, 16, 353, 67, 20293, 16, 3152, 67, 267, 16, 1361, 67, 768, 16, 326, 67, 1576, 67, 856, 33, 7036, 4672, 3536, 3259, 777, 2190, 47...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4389, 6158, 1876, 8545, 382, 5014, 12, 5787, 67, 1576, 16, 353, 67, 20293, 16, 3152, 67, 267, 16, 1361, 67, 768, 16, 326, 67, 1576, 67, 856, 33, 7036, 4672, 3536, 3259, 777, 2190, 47...
text = decompress("")
text = bz2.decompress("")
def testDecompressEmpty(self): # "Test decompress() function with empty string" text = decompress("") self.assertEqual(text, "")
499d09af92ec52d9cdfd7fc0353aff9fd3443b91 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/499d09af92ec52d9cdfd7fc0353aff9fd3443b91/test_bz2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 17731, 1028, 1921, 12, 2890, 4672, 468, 315, 4709, 16824, 1435, 445, 598, 1008, 533, 6, 977, 273, 24788, 22, 18, 323, 14706, 2932, 7923, 365, 18, 11231, 5812, 12, 955, 16, 1408, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 17731, 1028, 1921, 12, 2890, 4672, 468, 315, 4709, 16824, 1435, 445, 598, 1008, 533, 6, 977, 273, 24788, 22, 18, 323, 14706, 2932, 7923, 365, 18, 11231, 5812, 12, 955, 16, 1408, ...
for cp_opt in cp.options('followup-condor-max-jobs'): self.add_maxjobs_category(cp_opt,cp.getint('followup-condor-max-jobs',cp_opt))
for cp_opt in cp.options('condor-max-jobs'): self.add_maxjobs_category(cp_opt,cp.getint('condor-max-jobs',cp_opt))
def setupDAGWeb(self,title,filename,cp,opts): self.publish_path = string.strip(cp.get('followup-output','page')) self.page = string.strip(cp.get('followup-output','url')) self.webPage = WebPage(title,filename,self.page) self.webDirs = {} self.cache = cacheStructure() try: os.mkdir('DAGWeb') except: pass if not opts.dis...
c12d5f09196383e64b24470aa6fdc447e97f3d78 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5758/c12d5f09196383e64b24470aa6fdc447e97f3d78/webCondor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 40, 1781, 4079, 12, 2890, 16, 2649, 16, 3459, 16, 4057, 16, 4952, 4672, 365, 18, 6543, 67, 803, 273, 533, 18, 6406, 12, 4057, 18, 588, 2668, 14641, 416, 17, 2844, 17023, 2433, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 40, 1781, 4079, 12, 2890, 16, 2649, 16, 3459, 16, 4057, 16, 4952, 4672, 365, 18, 6543, 67, 803, 273, 533, 18, 6406, 12, 4057, 18, 588, 2668, 14641, 416, 17, 2844, 17023, 2433, ...
if time.daylight: offset = -1 * time.altzone/60 else: offset = -1 * time.timezone/60
if dst_in_effect: offset = -time.altzone/60 else: offset = -time.timezone/60
def gettzd(): """Return w3's timezone identification string. Expresed as [+/-]hh:mm. For instance, PST is -08:00. Zone is coincides with what localtime(), etc., use. """ if time.daylight: offset = -1 * time.altzone/60 else: offset = -1 * time.timezone/60 if offset > 0: prefix = "+" elif offset < 0: prefix = "-" els...
e7b5521c30b79e457ed8a0b5f8099aa642d7bcf2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/783/e7b5521c30b79e457ed8a0b5f8099aa642d7bcf2/Time.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 12994, 72, 13332, 3536, 990, 341, 23, 1807, 6371, 24739, 533, 18, 225, 1312, 1484, 730, 487, 306, 31298, 17, 65, 21622, 30, 7020, 18, 225, 2457, 791, 16, 453, 882, 353, 300, 6840,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 12994, 72, 13332, 3536, 990, 341, 23, 1807, 6371, 24739, 533, 18, 225, 1312, 1484, 730, 487, 306, 31298, 17, 65, 21622, 30, 7020, 18, 225, 2457, 791, 16, 453, 882, 353, 300, 6840,...
import data, numpy
import numpy import data
def asdata(icp): import data, numpy d = data.Data() for (k,v) in icp.__dict__.iteritems(): setattr(d.prop,k,v) d.vlabel = 'Counts' d.v = d.prop.counts d.xlabel = d.prop.columnnames[0].capitalize() d.x = getattr(d.prop.column, d.prop.columnnames[0]) if len(d.v.shape) > 1: d.ylabel = 'Pixel' d.y = numpy.arange(d.v.shape[...
54a865670739ce2fbfd3dda17c8895b3d414fa27 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13135/54a865670739ce2fbfd3dda17c8895b3d414fa27/icpformat.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 487, 892, 12, 335, 84, 4672, 1930, 3972, 1930, 501, 302, 273, 501, 18, 751, 1435, 364, 261, 79, 16, 90, 13, 316, 277, 4057, 16186, 1576, 25648, 2165, 3319, 13332, 9241, 12, 72, 18, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 487, 892, 12, 335, 84, 4672, 1930, 3972, 1930, 501, 302, 273, 501, 18, 751, 1435, 364, 261, 79, 16, 90, 13, 316, 277, 4057, 16186, 1576, 25648, 2165, 3319, 13332, 9241, 12, 72, 18, 5...
print "After error?"
def redo(self): print "\nBefore error?" #TODO: Fix segmentation fault!!! atom = self.viewer.renderer.addAtom(self.chosenAtom) #Segmentation fault here if I click undo then redo print "Before/After error?" self.chosenAtom = atom print "After error?" self.currentChainModel[self.resSeqNum].addAtomObject(self.chosenAtom) s...
9db7b9c590275f962e65bcd3c870a9a8dd2cd0c1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4399/9db7b9c590275f962e65bcd3c870a9a8dd2cd0c1/structure_editor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24524, 12, 2890, 4672, 1172, 1548, 82, 4649, 555, 7225, 468, 6241, 30, 12139, 25192, 12530, 25885, 3179, 273, 365, 18, 25256, 18, 14374, 18, 1289, 3641, 12, 2890, 18, 343, 8918, 3641, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24524, 12, 2890, 4672, 1172, 1548, 82, 4649, 555, 7225, 468, 6241, 30, 12139, 25192, 12530, 25885, 3179, 273, 365, 18, 25256, 18, 14374, 18, 1289, 3641, 12, 2890, 18, 343, 8918, 3641, 13...
if values.endswith('\x00'): values = values[:-1]
dtype_ = '>%s' % typecode if size > 1: dtype_ += str(size) return name, dimensions, shape, attributes, typecode, size, dtype_, begin, vsize def _read_values(self): nc_type = self.fp.read(4) n = self._unpack_int() typecode, size = TYPEMAP[nc_type] count = n*size values = self.fp.read(count) self.fp.read(-count % 4) ...
def _read_values(self, n, nc_type): bytes = [1, 1, 2, 4, 4, 8] typecodes = ['b', 'c', 'h', 'i', 'f', 'd'] count = n * bytes[nc_type-1] values = self.read(count) padding = self.read((4 - (count % 4)) % 4) typecode = typecodes[nc_type-1] if nc_type != 2: # not char values = struct.unpack('>%s' % (typecode * n), values...
c5eeb7a30fccf949fe4b4d016a566826aaaf111c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5572/c5eeb7a30fccf949fe4b4d016a566826aaaf111c/pupynere.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 896, 67, 2372, 12, 2890, 16, 290, 16, 8194, 67, 723, 4672, 1731, 273, 306, 21, 16, 404, 16, 576, 16, 1059, 16, 1059, 16, 1725, 65, 618, 7000, 273, 10228, 70, 2187, 296, 71, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 896, 67, 2372, 12, 2890, 16, 290, 16, 8194, 67, 723, 4672, 1731, 273, 306, 21, 16, 404, 16, 576, 16, 1059, 16, 1059, 16, 1725, 65, 618, 7000, 273, 10228, 70, 2187, 296, 71, 21...
if sources[0].isspace(): prefix=' ' if sources[-1].isspace(): suffix=' '
if sources[0].isspace(): prf=' ' if sources[-1].isspace(): suf=' '
def callback(cond, sources): prf = suf = '' if sources[0].isspace(): prefix=' ' if sources[-1].isspace(): suffix=' ' retval = [] for s in sources.split(): if s.endswith('.h'): retval.append(s) return '%s%s%s' % (prf, ' '.join(retval), suf)
5d38306bc2d2c8329cc3408e227cf3c01feaac42 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/5d38306bc2d2c8329cc3408e227cf3c01feaac42/wxwin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1348, 12, 10013, 16, 5550, 4672, 846, 74, 273, 272, 696, 273, 875, 309, 5550, 63, 20, 8009, 1054, 909, 13332, 846, 74, 2218, 296, 309, 5550, 18919, 21, 8009, 1054, 909, 13332, 272, 696...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1348, 12, 10013, 16, 5550, 4672, 846, 74, 273, 272, 696, 273, 875, 309, 5550, 63, 20, 8009, 1054, 909, 13332, 846, 74, 2218, 296, 309, 5550, 18919, 21, 8009, 1054, 909, 13332, 272, 696...
if 0 and clients[nick]["mcast"]:
if clients[nick]["mcast"]:
def xfer_thread_loop(nick): """Transfer the file, possibly in a loop for multicast.""" if 0 and clients[nick]["mcast"]: i = 0 while 1: print "Multicast detected - loop #%d" % i # "data carousel" i += 1 xfer_thread(nick) else: xfer_thread(nick)
70d16121d30ba988d5b58d360835248a53501bdd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2496/70d16121d30ba988d5b58d360835248a53501bdd/sumiserv.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 619, 586, 67, 5930, 67, 6498, 12, 17091, 4672, 3536, 5912, 326, 585, 16, 10016, 316, 279, 2798, 364, 24470, 12123, 309, 7712, 63, 17091, 6362, 6, 81, 4155, 11929, 30, 277, 273, 374, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 619, 586, 67, 5930, 67, 6498, 12, 17091, 4672, 3536, 5912, 326, 585, 16, 10016, 316, 279, 2798, 364, 24470, 12123, 309, 7712, 63, 17091, 6362, 6, 81, 4155, 11929, 30, 277, 273, 374, 13...
""" Open an object attached to this group. """
""" Open an object attached to this group. Currently can open groups, datasets, and named types. """
def __getitem__(self, name): """ Open an object attached to this group. """
083acd94cf4f30f16e99cf8a5b9440590dcb72aa /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10380/083acd94cf4f30f16e99cf8a5b9440590dcb72aa/highlevel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31571, 972, 12, 2890, 16, 508, 4672, 3536, 3502, 392, 733, 7495, 358, 333, 1041, 18, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31571, 972, 12, 2890, 16, 508, 4672, 3536, 3502, 392, 733, 7495, 358, 333, 1041, 18, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
py_padding = y_padding * pheight / vheight
py_padding = y_padding * pwidth / vwidth
def set_mode(self, virtual_size, physical_size, fullscreen): """ This changes the video mode. It also initializes OpenGL, if it can. It returns True if it was succesful, or False if OpenGL isn't working for some reason. """
52b09d8f4c9b6e481452dc833b9fc579b5fefe99 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10962/52b09d8f4c9b6e481452dc833b9fc579b5fefe99/gldraw.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 3188, 12, 2890, 16, 5024, 67, 1467, 16, 11640, 67, 1467, 16, 1983, 9252, 4672, 3536, 1220, 3478, 326, 6191, 1965, 18, 2597, 2546, 11643, 3502, 11261, 16, 309, 518, 848, 18, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 3188, 12, 2890, 16, 5024, 67, 1467, 16, 11640, 67, 1467, 16, 1983, 9252, 4672, 3536, 1220, 3478, 326, 6191, 1965, 18, 2597, 2546, 11643, 3502, 11261, 16, 309, 518, 848, 18, 25...
search_in_google = False
config.copyright_google = False
def main(): global search_in_google, search_in_yahoo, max_query_for_page, output_file gen = None # Can either be 'xmldump', 'textfile' or 'userinput'. source = None # the textfile's path, either absolute or relative, which will be used when # source is 'textfile'. textfilename = None # the category name which will be u...
d445bcd2a4d71b17d4de9993e4f333dc7419cfb5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4404/d445bcd2a4d71b17d4de9993e4f333dc7419cfb5/copyright.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 2552, 1623, 67, 267, 67, 9536, 16, 1623, 67, 267, 67, 93, 9795, 5161, 16, 943, 67, 2271, 67, 1884, 67, 2433, 16, 876, 67, 768, 3157, 273, 599, 468, 4480, 3344, 506, 296,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 2552, 1623, 67, 267, 67, 9536, 16, 1623, 67, 267, 67, 93, 9795, 5161, 16, 943, 67, 2271, 67, 1884, 67, 2433, 16, 876, 67, 768, 3157, 273, 599, 468, 4480, 3344, 506, 296,...
def __isSameHost(self,hostCN,hostConn):
def __isSameHost( self, hostCN, hostConn ):
def __isSameHost(self,hostCN,hostConn): """ Guess if it is the same host or not """ hostCN_m = hostCN.replace('host/','') if hostCN_m == hostConn: return True try: ip1 = gethostbyname(hostCN_m) ip2 = gethostbyname(hostConn) except Exception,x: return False return ip1 == ip2
81ff31576d2080209ded20b22fb2233a3640a6dd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/81ff31576d2080209ded20b22fb2233a3640a6dd/SocketInfo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 291, 8650, 2594, 12, 365, 16, 1479, 12821, 16, 1479, 3543, 262, 30, 3536, 30282, 309, 518, 353, 326, 1967, 1479, 578, 486, 3536, 1479, 12821, 67, 81, 273, 1479, 12821, 18, 2079, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 291, 8650, 2594, 12, 365, 16, 1479, 12821, 16, 1479, 3543, 262, 30, 3536, 30282, 309, 518, 353, 326, 1967, 1479, 578, 486, 3536, 1479, 12821, 67, 81, 273, 1479, 12821, 18, 2079, ...
browser.follow_link(url=url)
try: browser.follow_link(url=url) except LinkNotFoundError: args['ln'] = CFG_SITE_LANG url = make_url('/search', **args) browser.follow_link(url=url)
def test_traversal_links(self): """ websearch - traverse all the publications of a collection """
3f3352e2fd761214c39d2c825fc6666c39234fe2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2139/3f3352e2fd761214c39d2c825fc6666c39234fe2/websearch_regression_tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 31750, 287, 67, 7135, 12, 2890, 4672, 3536, 3311, 3072, 300, 10080, 777, 326, 1071, 1012, 434, 279, 1849, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 31750, 287, 67, 7135, 12, 2890, 4672, 3536, 3311, 3072, 300, 10080, 777, 326, 1071, 1012, 434, 279, 1849, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
os.path.join("bin", "search_volume_by_s1_s2"),
def run(self): # remove the automatically generated user env scripts for script in ["pylal-user-env.sh", "pylal-user-env.csh"]: log.info("removing " + script ) try: os.unlink(os.path.join("etc", script)) except: pass
d10f4813c1e5c0c77a2fbd3e48515c11d39b7a30 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5758/d10f4813c1e5c0c77a2fbd3e48515c11d39b7a30/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 468, 1206, 326, 6635, 4374, 729, 1550, 8873, 364, 2728, 316, 8247, 2074, 80, 287, 17, 1355, 17, 3074, 18, 674, 3113, 315, 2074, 80, 287, 17, 1355, 17, 3074, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 468, 1206, 326, 6635, 4374, 729, 1550, 8873, 364, 2728, 316, 8247, 2074, 80, 287, 17, 1355, 17, 3074, 18, 674, 3113, 315, 2074, 80, 287, 17, 1355, 17, 3074, 18, ...
u'(lambda x: dh_noConv( x, u"%%dî d\' %s" ), lambda x: x == 1),' + u'(lambda x: dh_noConv( x, u"%%d d\' %s" ), lambda x: x in [2,3,20,22,23]),' + u'(lambda x: dh_noConv( x, u"%%d di %s" ), alwaysTrue)])') % (waMonthNames[i],waMonthNames[i],waMonthNames[i]))
u'(lambda x: dh_noConv( x, u"%%dî d\' %s" ), lambda p: p == 1),' + u'(lambda x: dh_noConv( x, u"%%d d\' %s" ), lambda p: p in [2,3,20,22,23]),' + u'(lambda x: dh_noConv( x, u"%%d di %s" ), alwaysTrue)])') % (waMonthNames[i],waMonthNames[i],waMonthNames[i]))
def makeMonthNamedList( lang, pattern, makeUpperCase = None ): """Creates a list of 12 elements based on the name of the month. The language-dependent month name is used as a formating argument to the pattern. The pattern must be have one %s that will be replaced by the localized month name. Use %%d for any other param...
32e5f5c1a30bc02fc3075b9c456f10fafab05a66 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4404/32e5f5c1a30bc02fc3075b9c456f10fafab05a66/date.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 5445, 7604, 682, 12, 3303, 16, 1936, 16, 1221, 8915, 273, 599, 262, 30, 3536, 2729, 279, 666, 434, 2593, 2186, 2511, 603, 326, 508, 434, 326, 3138, 18, 1021, 2653, 17, 10891, 313...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 5445, 7604, 682, 12, 3303, 16, 1936, 16, 1221, 8915, 273, 599, 262, 30, 3536, 2729, 279, 666, 434, 2593, 2186, 2511, 603, 326, 508, 434, 326, 3138, 18, 1021, 2653, 17, 10891, 313...
res = RecapDecompose(m)
res = RecapDecompose(m,onlyUseReactions=[1])
def testAmideRxn(self): m = Chem.MolFromSmiles('C1CC1C(=O)NC1OC1') res = RecapDecompose(m) self.failUnless(res) self.failUnless(len(res.GetLeaves())==2) ks = res.GetLeaves().keys() self.failUnless('[*]C(=O)C1CC1' in ks) self.failUnless('[*]NC1CO1' in ks) m = Chem.MolFromSmiles('C1CC1C(=O)N(C)C1OC1') res = RecapDecompo...
e793cf1d5a1abc952de6d7bd7feb70328e8a57c4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9195/e793cf1d5a1abc952de6d7bd7feb70328e8a57c4/Recap.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 9864, 831, 54, 22695, 12, 2890, 4672, 312, 273, 26542, 18, 49, 355, 1265, 9552, 1449, 2668, 39, 21, 6743, 21, 39, 12, 33, 51, 13, 10346, 21, 10809, 21, 6134, 400, 273, 868, 590...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 9864, 831, 54, 22695, 12, 2890, 4672, 312, 273, 26542, 18, 49, 355, 1265, 9552, 1449, 2668, 39, 21, 6743, 21, 39, 12, 33, 51, 13, 10346, 21, 10809, 21, 6134, 400, 273, 868, 590...
elif (prettyName == FMaya.__RENDER_ANIMATION_END):
elif (prettyName == FMaya_UIRender.__RENDER_ANIMATION_END):
def WriteRender(self, logname, outputDir, settings, isAnimated): """WriteRender(logname, outputDir, settings, isAnimated) -> list_of_str Implements FApplication.WriteRender() """ baseName = self.__currentImportProperName output = os.path.normpath(os.path.join(outputDir, baseName)) outputDir = os.path.dirname(output) ...
093ca1abab97a567c7de389f0937f68bc696aae1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11176/093ca1abab97a567c7de389f0937f68bc696aae1/FMaya_UIRender.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 3420, 12, 2890, 16, 613, 529, 16, 21412, 16, 1947, 16, 353, 979, 17275, 4672, 3536, 3067, 3420, 12, 1330, 529, 16, 21412, 16, 1947, 16, 353, 979, 17275, 13, 317, 666, 67, 792, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 3420, 12, 2890, 16, 613, 529, 16, 21412, 16, 1947, 16, 353, 979, 17275, 4672, 3536, 3067, 3420, 12, 1330, 529, 16, 21412, 16, 1947, 16, 353, 979, 17275, 13, 317, 666, 67, 792, ...
if time.mktime(date_tuple) > time.mktime(time.gmtime()):
if time.mktime(date_tuple) > time.time():
def fix_date(date_tuple): if not date_tuple: return date_tuple if time.mktime(date_tuple) > time.mktime(time.gmtime()): # feedparser's parsed date tuple has no DST indication, we need to force it # because there is no UTC equivalent of mktime() date_tuple = date_tuple[:-1] + (-1,) date_tuple = time.localtime(time.mktim...
689407481ae6b6fd7ee845a5dc8c8546527adf60 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10695/689407481ae6b6fd7ee845a5dc8c8546527adf60/normalize.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2917, 67, 712, 12, 712, 67, 8052, 4672, 309, 486, 1509, 67, 8052, 30, 327, 1509, 67, 8052, 309, 813, 18, 24816, 957, 12, 712, 67, 8052, 13, 405, 813, 18, 957, 13332, 468, 4746, 4288,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2917, 67, 712, 12, 712, 67, 8052, 4672, 309, 486, 1509, 67, 8052, 30, 327, 1509, 67, 8052, 309, 813, 18, 24816, 957, 12, 712, 67, 8052, 13, 405, 813, 18, 957, 13332, 468, 4746, 4288,...
'DATALIB' : datalib, 'SEQUENCE' : sequence, 'DOUBLE_WINDOW' : double_window, 'GI_LIST' : gi_list, 'LIST_ORG' : list_org, 'INPUT_TYPE' : input_type,
'DATABASE' : database, 'QUERY' : query, 'ENTREZ_QUERY' : entrez_query, 'FILTER' : filter,
def blast(program, datalib, sequence, input_type='Sequence in FASTA format', double_window=None, gi_list='(None)', list_org = None, expect='10', filter='L', genetic_code='Standard (1)', mat_param='PAM30 9 1', other_advanced=None, ncbi_gi=None, overview=None, alignment_view='0', descriptions=None, alignments=N...
76982ed31bca5dfbd407975181dc8b02d445ece9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7167/76982ed31bca5dfbd407975181dc8b02d445ece9/NCBIWWW.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19047, 12, 12890, 16, 18462, 495, 16, 3102, 16, 810, 67, 723, 2218, 4021, 316, 24239, 37, 740, 2187, 1645, 67, 5668, 33, 7036, 16, 16221, 67, 1098, 2218, 12, 7036, 13, 2187, 666, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19047, 12, 12890, 16, 18462, 495, 16, 3102, 16, 810, 67, 723, 2218, 4021, 316, 24239, 37, 740, 2187, 1645, 67, 5668, 33, 7036, 16, 16221, 67, 1098, 2218, 12, 7036, 13, 2187, 666, 67, ...
Requires the universe key, for obvious reasons.
Requires the universe key, since it would be trivial to use this to access CapabilityDB or SecurityInterface directly and ask for the universe key.
def xmlrpc_eval(self, code, key): """Evaluate arbitrary code in the context of this module. Requires the universe key, for obvious reasons. Returns the repr() of the result. """ self.caps.faultIfMissing(key, 'universe') try: return repr(eval(code)) except: catchFault()
8028c6ad7ca1355cefc7280ef4aaede657a254d0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6757/8028c6ad7ca1355cefc7280ef4aaede657a254d0/Debug.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31811, 67, 8622, 12, 2890, 16, 981, 16, 498, 4672, 3536, 15369, 11078, 981, 316, 326, 819, 434, 333, 1605, 18, 16412, 326, 29235, 498, 16, 3241, 518, 4102, 506, 433, 20109, 358, 999, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31811, 67, 8622, 12, 2890, 16, 981, 16, 498, 4672, 3536, 15369, 11078, 981, 316, 326, 819, 434, 333, 1605, 18, 16412, 326, 29235, 498, 16, 3241, 518, 4102, 506, 433, 20109, 358, 999, 3...
activity.completed()
if activity is not None: activity.completed()
def dump(rv, path, uuids=None, serializer=PickleSerializer, activity=None, obfuscate=False): """ Dumps EIM records to a file, file permissions 0600. """ activity.started() translator = getTranslator() trans = translator(rv) trans.obfuscation = obfuscate aliases = list() if uuids: for uuid in uuids: aliases.append(...
47ace3edcac6912ffb5dfe00f96f9b282b9f8217 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9228/47ace3edcac6912ffb5dfe00f96f9b282b9f8217/dumpreload.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 12, 4962, 16, 589, 16, 26938, 33, 7036, 16, 6340, 33, 17968, 298, 6306, 16, 5728, 33, 7036, 16, 29004, 340, 33, 8381, 4672, 3536, 21250, 1121, 512, 3445, 3853, 358, 279, 585, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 12, 4962, 16, 589, 16, 26938, 33, 7036, 16, 6340, 33, 17968, 298, 6306, 16, 5728, 33, 7036, 16, 29004, 340, 33, 8381, 4672, 3536, 21250, 1121, 512, 3445, 3853, 358, 279, 585, 16,...
if __debug__ and self.debug >= 5: _mesg('untagged_responses[%s] => %s' % (name, data))
if __debug__: if self.debug >= 5: _mesg('untagged_responses[%s] => %s' % (name, data))
def _untagged_response(self, typ, dat, name):
8c0622114bc95f9f5b85a8a7e4ed8619bf3ff024 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/8c0622114bc95f9f5b85a8a7e4ed8619bf3ff024/imaplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 318, 23023, 67, 2740, 12, 2890, 16, 3815, 16, 1150, 16, 508, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 318, 23023, 67, 2740, 12, 2890, 16, 3815, 16, 1150, 16, 508, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
required_min_role = tag_type ['min_role_id']
required_min_role = node_tag['min_role_id']
def call(self, auth, node_tag_id, value): node_tags = NodeTags(self.api, [node_tag_id]) if not node_tags: raise PLCInvalidArgument, "No such node tag %r"%node_tag_id node_tag = node_tags[0]
41b4c60c7ca80319e88b07db037c19b1b467bc03 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7598/41b4c60c7ca80319e88b07db037c19b1b467bc03/UpdateNodeTag.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 745, 12, 2890, 16, 1357, 16, 756, 67, 2692, 67, 350, 16, 460, 4672, 756, 67, 4156, 273, 2029, 3453, 12, 2890, 18, 2425, 16, 306, 2159, 67, 2692, 67, 350, 5717, 309, 486, 756, 67, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 745, 12, 2890, 16, 1357, 16, 756, 67, 2692, 67, 350, 16, 460, 4672, 756, 67, 4156, 273, 2029, 3453, 12, 2890, 18, 2425, 16, 306, 2159, 67, 2692, 67, 350, 5717, 309, 486, 756, 67, 4...
gdk.ACTION_COPY)
gdk.ACTION_COPY|gdk.ACTION_MOVE)
def __init__(self, app): gtk.DrawingArea.__init__(self)
d17cd38f8337fa9c70113ec1d42cbaf52be8b842 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7129/d17cd38f8337fa9c70113ec1d42cbaf52be8b842/brushselectionwindow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 595, 4672, 22718, 18, 26885, 5484, 16186, 2738, 972, 12, 2890, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 595, 4672, 22718, 18, 26885, 5484, 16186, 2738, 972, 12, 2890, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
self._fireEventCore(event, name, action) except Exception, e: self.logger.warning("Error running %s event for transfer %s (%s)" % (event, name, e))
self._fireEventCore(event, name, action) except Exception, e: self.logger.warning("Error running %s event for transfer %s (%s)" % (event, name, e))
def _fireEvent(self, event, name):
1bc3f8ee0f5585b25b04dc37e869f107a4a3f4c1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2550/1bc3f8ee0f5585b25b04dc37e869f107a4a3f4c1/Trigger.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12179, 1133, 12, 2890, 16, 871, 16, 508, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12179, 1133, 12, 2890, 16, 871, 16, 508, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if slide_num < 0: slide_num = 5000 - slide_num for row in self: if row.get_slide_number() == slide_num: slideTrigs.append(row)
slideTrigs.extend([row for row in self if row.get_slide_num() == slide_num])
def getslide(self,slide_num): """ Return the triggers with a specific slide number. @param slide_num: the slide number to recover (contained in the event_id) """ slideTrigs = table.new_from_template(self) if slide_num < 0: slide_num = 5000 - slide_num for row in self: if row.get_slide_number() == slide_num: slideTrigs....
be23e05af40da4c3f32b6859745ad20aad7b249b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5758/be23e05af40da4c3f32b6859745ad20aad7b249b/lsctables.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5571, 8130, 12, 2890, 16, 26371, 67, 2107, 4672, 3536, 2000, 326, 11752, 598, 279, 2923, 12701, 1300, 18, 632, 891, 12701, 67, 2107, 30, 326, 12701, 1300, 358, 5910, 261, 1213, 8707, 316...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5571, 8130, 12, 2890, 16, 26371, 67, 2107, 4672, 3536, 2000, 326, 11752, 598, 279, 2923, 12701, 1300, 18, 632, 891, 12701, 67, 2107, 30, 326, 12701, 1300, 358, 5910, 261, 1213, 8707, 316...
def subscribe(key, base_channel, new_channel, system_id):
def subscribe(key, base_channel, new_channel, system_id, system_name):
def subscribe(key, base_channel, new_channel, system_id): '''Subscribes system_id to new_channel''' # Get a list of current child channels, since subscribe removes all channels channels = client.system.list_subscribed_child_channels(key, system_id) channel_labels = [] for channel in channels: channel_labels.append(chan...
a505c3724245a7ab265bfa6c2d81e21adace87b1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3457/a505c3724245a7ab265bfa6c2d81e21adace87b1/dell-satellite-sync.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9129, 12, 856, 16, 1026, 67, 4327, 16, 394, 67, 4327, 16, 2619, 67, 350, 16, 2619, 67, 529, 4672, 9163, 1676, 4091, 281, 2619, 67, 350, 358, 394, 67, 4327, 26418, 468, 968, 279, 666,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9129, 12, 856, 16, 1026, 67, 4327, 16, 394, 67, 4327, 16, 2619, 67, 350, 16, 2619, 67, 529, 4672, 9163, 1676, 4091, 281, 2619, 67, 350, 358, 394, 67, 4327, 26418, 468, 968, 279, 666,...
def __getattr__(self,name): return libBALLc.sipCallGetVar(35,self,name) def __setattr__(self,name,value): return libBALLc.sipCallSetVar(35,self,name,value) class Plane3: def __init__(self,*args): libBALLc.sipCallCtor(34,self,args) class Quaternion:
class AmberBend(ForceFieldComponent):
def __getattr__(self,name): return libBALLc.sipCallGetVar(35,self,name)
6143cd22f226534836314b76952f50c72ab34763 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5247/6143cd22f226534836314b76952f50c72ab34763/BALL.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 1747, 972, 12, 2890, 16, 529, 4672, 327, 2561, 38, 4685, 71, 18, 28477, 1477, 967, 1537, 12, 4763, 16, 2890, 16, 529, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 1747, 972, 12, 2890, 16, 529, 4672, 327, 2561, 38, 4685, 71, 18, 28477, 1477, 967, 1537, 12, 4763, 16, 2890, 16, 529, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
for edge in self.levels[0]:
for edge in level:
def endParse(self): # !!! Debugging Prints !!! # print "* endParse:" # print " includes: " + str(self.includePats) # print " excludes: " + str(self.excludePats) # print " levels: " + str(self.levels) # print " missings: " + str(self.missings)
a32fd692dd1e30de835cd0c6d09d9bec8f3ccf92 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1360/a32fd692dd1e30de835cd0c6d09d9bec8f3ccf92/dws.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 679, 3201, 12, 2890, 4672, 468, 401, 8548, 4015, 1998, 3038, 87, 401, 8548, 468, 1172, 15902, 679, 3201, 2773, 468, 1172, 315, 377, 6104, 30, 315, 397, 609, 12, 2890, 18, 6702, 52, 232...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 679, 3201, 12, 2890, 4672, 468, 401, 8548, 4015, 1998, 3038, 87, 401, 8548, 468, 1172, 15902, 679, 3201, 2773, 468, 1172, 315, 377, 6104, 30, 315, 397, 609, 12, 2890, 18, 6702, 52, 232...
if type(block) is type([]):
if isinstance(block, list):
def crack2fortrangen(block,tab='\n'): global skipfuncs, onlyfuncs setmesstext(block) ret='' if type(block) is type([]): for g in block: if g['block'] in ['function','subroutine']: if g['name'] in skipfuncs: continue if onlyfuncs and g['name'] not in onlyfuncs: continue ret=ret+crack2fortrangen(g,tab) return ret prefix=...
fbe2af255824ad463da6936ab86738429008aee9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/14925/fbe2af255824ad463da6936ab86738429008aee9/crackfortran.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 276, 21580, 22, 1884, 313, 539, 275, 12, 2629, 16, 7032, 2218, 64, 82, 11, 4672, 2552, 2488, 17728, 16, 1338, 17728, 444, 26244, 334, 408, 12, 2629, 13, 325, 2218, 11, 309, 1549, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 276, 21580, 22, 1884, 313, 539, 275, 12, 2629, 16, 7032, 2218, 64, 82, 11, 4672, 2552, 2488, 17728, 16, 1338, 17728, 444, 26244, 334, 408, 12, 2629, 13, 325, 2218, 11, 309, 1549, 12, ...
emptyReturnsMarker=False):
emptyReturnsMarker=False, validating=True):
def process_form(self, instance, field, form, empty_marker=None, emptyReturnsMarker=False): fieldname = field.getName() value = self._readDateTimeFromForm(instance, form, fieldname) if value is None and emptyReturnsMarker: value = empty_marker return value, {}
105c4b77f88ead048849ef5300cc713a22215a3d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5657/105c4b77f88ead048849ef5300cc713a22215a3d/widget.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 687, 12, 2890, 16, 791, 16, 652, 16, 646, 16, 1008, 67, 11145, 33, 7036, 16, 1008, 1356, 7078, 33, 8381, 16, 18075, 33, 5510, 4672, 225, 14680, 273, 652, 18, 17994, 1435, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 687, 12, 2890, 16, 791, 16, 652, 16, 646, 16, 1008, 67, 11145, 33, 7036, 16, 1008, 1356, 7078, 33, 8381, 16, 18075, 33, 5510, 4672, 225, 14680, 273, 652, 18, 17994, 1435, 4...
def _basic_deliver(self, args):
def _basic_deliver(self, args, msg):
def _basic_deliver(self, args): """ notify the client of a consumer message
53019bb5fd2a3405591b5928a9feefa8d7b950c8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10764/53019bb5fd2a3405591b5928a9feefa8d7b950c8/client_0_8.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 13240, 67, 26672, 12, 2890, 16, 833, 16, 1234, 4672, 3536, 5066, 326, 1004, 434, 279, 4765, 883, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 13240, 67, 26672, 12, 2890, 16, 833, 16, 1234, 4672, 3536, 5066, 326, 1004, 434, 279, 4765, 883, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
help="Plays stream NUMBER")
help="Plays stream NUMBER (see the -s option to get the number)")
def parse_commandline(): usage = 'Usage: mplayer_remote.py [-o host] [-p port] '+ \ '-s | -P | -S | -O' parser = OptionParser(usage) # host/port parser.add_option("-o", "--host", dest="host", metavar="HOST", default="localhost", help="Use HOST instead of localhost") parser.add_option("-p", "--port", dest="port", metav...
3690da92cad2060c2004841e8e67c1139faa918b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3173/3690da92cad2060c2004841e8e67c1139faa918b/mplayer_remote.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 3076, 1369, 13332, 4084, 273, 296, 5357, 30, 312, 14872, 67, 7222, 18, 2074, 23059, 83, 1479, 65, 23059, 84, 1756, 65, 15126, 521, 2400, 87, 571, 300, 52, 571, 300, 55, 571, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 3076, 1369, 13332, 4084, 273, 296, 5357, 30, 312, 14872, 67, 7222, 18, 2074, 23059, 83, 1479, 65, 23059, 84, 1756, 65, 15126, 521, 2400, 87, 571, 300, 52, 571, 300, 55, 571, ...
value_list.append(str(v.childNodes[0].data)) else: value_list.append(float(v.childNodes[0].data)) except: pass
value_list.append(str(v.childNodes[0].data).strip()) else: value_list.append(float(v.childNodes[0].data.strip())) except: pass
def xml_to_param(self, model_dir): x = self.xml_dom.getElementsByTagName("populationModule")[0] parameters = x.getElementsByTagName("ParameterValue") param_dict = {}
4d2a67a225d2d45baf931da683fcf88f49335c14 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10332/4d2a67a225d2d45baf931da683fcf88f49335c14/LifestageTransition.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2025, 67, 869, 67, 891, 12, 2890, 16, 938, 67, 1214, 4672, 619, 273, 365, 18, 2902, 67, 9859, 18, 588, 3471, 10401, 2932, 23555, 3120, 7923, 63, 20, 65, 1472, 273, 619, 18, 588, 3471...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2025, 67, 869, 67, 891, 12, 2890, 16, 938, 67, 1214, 4672, 619, 273, 365, 18, 2902, 67, 9859, 18, 588, 3471, 10401, 2932, 23555, 3120, 7923, 63, 20, 65, 1472, 273, 619, 18, 588, 3471...
elif isinstance(other, (int, float)): return cmp(self.date, other)
elif isinstance(other, (datetime.datetime, float, int, basestring)): return cmp(self.date, Date(other).date)
def __cmp__(self, other): if isinstance(other, self.__class__): return cmp(self.date, other.date) elif isinstance(other, (int, float)): return cmp(self.date, other) else: return cmp(id(self), id(other))
95387a18956b2ab60709a79aaa93cfddec8978d9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/95387a18956b2ab60709a79aaa93cfddec8978d9/plistlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 9625, 972, 12, 2890, 16, 1308, 4672, 309, 1549, 12, 3011, 16, 365, 16186, 1106, 972, 4672, 327, 9411, 12, 2890, 18, 712, 16, 1308, 18, 712, 13, 1327, 1549, 12, 3011, 16, 261, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 9625, 972, 12, 2890, 16, 1308, 4672, 309, 1549, 12, 3011, 16, 365, 16186, 1106, 972, 4672, 327, 9411, 12, 2890, 18, 712, 16, 1308, 18, 712, 13, 1327, 1549, 12, 3011, 16, 261, 6...
util.umount(media.mountdir)
media.umount()
def identify(self, media): """ magic! Try to find out as much as possible about the disc in the rom drive: title, image, play options, ... """ # Check drive status (tray pos, disc ready) try: CDSL_CURRENT = ( (int ) ( ~ 0 >> 1 ) ) fd = os.open(media.devicename, os.O_RDONLY | os.O_NONBLOCK) if os.uname()[0] == 'FreeBSD'...
073a135df00509e35117ba8274a235acd11e762b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/073a135df00509e35117ba8274a235acd11e762b/rom_drives.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9786, 12, 2890, 16, 3539, 4672, 3536, 8146, 5, 6161, 358, 1104, 596, 487, 9816, 487, 3323, 2973, 326, 19169, 316, 326, 24137, 14316, 30, 2077, 16, 1316, 16, 6599, 702, 16, 1372, 3536, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9786, 12, 2890, 16, 3539, 4672, 3536, 8146, 5, 6161, 358, 1104, 596, 487, 9816, 487, 3323, 2973, 326, 19169, 316, 326, 24137, 14316, 30, 2077, 16, 1316, 16, 6599, 702, 16, 1372, 3536, ...
bracket_level = 0
d.write("%d\t" % bracket_level)
def make_lxir_source(source): if options.verbose: print("processing file :%s" % source) global translation_map if translation_map.has_key(source): return translation_map[source] real_source = find_source(source) temp = temp_source_filename(real_source) translation_map[source] = temp s = open(real_source, "r") d = open(...
4c6bda70e51b1f54e7b43f6e3a40034c7c6f212f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5321/4c6bda70e51b1f54e7b43f6e3a40034c7c6f212f/lxirlatex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 80, 92, 481, 67, 3168, 12, 3168, 4672, 309, 702, 18, 11369, 30, 1172, 2932, 10632, 585, 294, 9, 87, 6, 738, 1084, 13, 2552, 4794, 67, 1458, 309, 4794, 67, 1458, 18, 5332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 80, 92, 481, 67, 3168, 12, 3168, 4672, 309, 702, 18, 11369, 30, 1172, 2932, 10632, 585, 294, 9, 87, 6, 738, 1084, 13, 2552, 4794, 67, 1458, 309, 4794, 67, 1458, 18, 5332, ...
joberr = '' for m in filelist: if int( m['size'] ) == 0 : os.system( 'touch ' + os.path.basename( m['name'] ) ) continue dest = outdir + '/' + os.path.basename( m['name'] ) command = "globus-url-copy " + m['name'] \ + " file://" + dest msg = self.ExecuteCommand(command) if msg.upper().find("ERROR") >= 0 or \ ms...
def getOutput( self, schedIdList, outdir, service ): """ Retrieve jobs output from WMS to outdir """
07c336d6538070d5693cc266c49bd4ff80eee09c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8886/07c336d6538070d5693cc266c49bd4ff80eee09c/SchedulerGLiteAPI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11062, 12, 365, 16, 23964, 22117, 16, 225, 15398, 16, 1156, 262, 30, 3536, 10708, 6550, 876, 628, 678, 3537, 358, 15398, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11062, 12, 365, 16, 23964, 22117, 16, 225, 15398, 16, 1156, 262, 30, 3536, 10708, 6550, 876, 628, 678, 3537, 358, 15398, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
x1,y1 = apply_context_transforms(x1,y1) x2,y2 = apply_context_transforms(x2,y2)
x1,y1 = self.apply_context_transforms(x1,y1) x2,y2 = self.apply_context_transforms(x2,y2)
def line_message(self, x1,y1,x2,y2): x1+=random()*self.MaxNoise-self.MaxNoise/2 y1+=random()*self.MaxNoise-self.MaxNoise/2 x2+=random()*self.MaxNoise-self.MaxNoise/2 y2+=random()*self.MaxNoise-self.MaxNoise/2 x1,y1 = apply_context_transforms(x1,y1) x2,y2 = apply_context_transforms(x2,y2)
2c43f7f64b4e709f0939f798490ed63e7b036372 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3991/2c43f7f64b4e709f0939f798490ed63e7b036372/LaserDisplay.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 980, 67, 2150, 12, 2890, 16, 619, 21, 16, 93, 21, 16, 92, 22, 16, 93, 22, 4672, 619, 21, 15, 33, 9188, 1435, 14, 2890, 18, 2747, 2279, 784, 17, 2890, 18, 2747, 2279, 784, 19, 22,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 980, 67, 2150, 12, 2890, 16, 619, 21, 16, 93, 21, 16, 92, 22, 16, 93, 22, 4672, 619, 21, 15, 33, 9188, 1435, 14, 2890, 18, 2747, 2279, 784, 17, 2890, 18, 2747, 2279, 784, 19, 22,...
if context is None: context = getcontext()
def to_eng_string(self, context=None): """Convert to engineering-type string.
1a63da64df2af26e1f050749c19281f1de9084fa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/1a63da64df2af26e1f050749c19281f1de9084fa/decimal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 67, 24688, 67, 1080, 12, 2890, 16, 819, 33, 7036, 4672, 3536, 2723, 358, 4073, 264, 310, 17, 723, 533, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 67, 24688, 67, 1080, 12, 2890, 16, 819, 33, 7036, 4672, 3536, 2723, 358, 4073, 264, 310, 17, 723, 533, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
assert_array_almost_equal(f(3,[3],[-4]),[-36])
assert_array_almost_equal(f(3,[3],[-4]),[[-36]])
def check_gemm(self): for p in 'sd': f = getattr(fblas,p+'gemm',None) if f is None: continue assert_array_almost_equal(f(3,[3],[-4]),[-36]) assert_array_almost_equal(f(3,[3],[-4],3,[5]),[-21]) assert_array_almost_equal(f(1,[[1,2],[1,2]],[[3],[4]]),[[11],[11]]) assert_array_almost_equal(f(1,[[1,2]],[[3,3],[4,4]]),[[11,1...
7e71688ec03fc1369210cbb8183a43673560809c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/7e71688ec03fc1369210cbb8183a43673560809c/test_blas.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 23465, 81, 12, 2890, 4672, 364, 293, 316, 296, 6427, 4278, 284, 273, 3869, 12, 74, 3083, 345, 16, 84, 6797, 23465, 81, 2187, 7036, 13, 309, 284, 353, 599, 30, 1324, 1815, 67...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 23465, 81, 12, 2890, 4672, 364, 293, 316, 296, 6427, 4278, 284, 273, 3869, 12, 74, 3083, 345, 16, 84, 6797, 23465, 81, 2187, 7036, 13, 309, 284, 353, 599, 30, 1324, 1815, 67...
print "HP:", hp
def getPath(self, name, width=None): if not name: return None name = name[:1].upper()+name[1:] hp = hashpath(name) print "HP:", hp
5372ec9a28dd525820ddc9ba91131538e681f77f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12391/5372ec9a28dd525820ddc9ba91131538e681f77f/netdb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4339, 12, 2890, 16, 508, 16, 1835, 33, 7036, 4672, 309, 486, 508, 30, 327, 599, 508, 273, 508, 10531, 21, 8009, 5797, 1435, 15, 529, 63, 21, 26894, 225, 16460, 273, 1651, 803, 12, 52...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4339, 12, 2890, 16, 508, 16, 1835, 33, 7036, 4672, 309, 486, 508, 30, 327, 599, 508, 273, 508, 10531, 21, 8009, 5797, 1435, 15, 529, 63, 21, 26894, 225, 16460, 273, 1651, 803, 12, 52...
edges = Set()
edges = set()
def class_tree_graph(bases, linker, context=None, **options): """ Return a `DotGraph` that graphically displays the package hierarchies for the given packages. """ graph = DotGraph('Class Hierarchy for %s' % name_list(bases), body='ranksep=0.3\n', node_defaults={'shape':'box', 'width': 0, 'height': 0}, edge_defaults={'...
60c1bb2a0a7c76a9c3a9544a86645f47566bc910 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/60c1bb2a0a7c76a9c3a9544a86645f47566bc910/dotgraph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 667, 67, 3413, 67, 4660, 12, 18602, 16, 28058, 16, 819, 33, 7036, 16, 2826, 2116, 4672, 3536, 2000, 279, 1375, 10412, 4137, 68, 716, 2667, 6478, 22461, 326, 2181, 366, 5148, 606, 364, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 667, 67, 3413, 67, 4660, 12, 18602, 16, 28058, 16, 819, 33, 7036, 16, 2826, 2116, 4672, 3536, 2000, 279, 1375, 10412, 4137, 68, 716, 2667, 6478, 22461, 326, 2181, 366, 5148, 606, 364, ...
MAX_TRAFFIC_DISTANCE = _micropolisengine.MAX_TRAFFIC_DISTANCE
ZT_COMMERCIAL = _micropolisengine.ZT_COMMERCIAL ZT_INDUSTRIAL = _micropolisengine.ZT_INDUSTRIAL ZT_RESIDENTIAL = _micropolisengine.ZT_RESIDENTIAL ZT_NUM_DESTINATIONS = _micropolisengine.ZT_NUM_DESTINATIONS
def _swig_repr(self): try: strthis = "proxy of " + self.this.__repr__() except: strthis = "" return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
92940e840c560ac747fca33adec14a3e852de27b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12485/92940e840c560ac747fca33adec14a3e852de27b/micropolisengine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5328, 360, 67, 12715, 12, 2890, 4672, 775, 30, 609, 2211, 273, 315, 5656, 434, 315, 397, 365, 18, 2211, 16186, 12715, 972, 1435, 1335, 30, 609, 2211, 273, 1408, 327, 3532, 9, 87, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5328, 360, 67, 12715, 12, 2890, 4672, 775, 30, 609, 2211, 273, 315, 5656, 434, 315, 397, 365, 18, 2211, 16186, 12715, 972, 1435, 1335, 30, 609, 2211, 273, 1408, 327, 3532, 9, 87, ...
self.dbh.execute("""insert into msn_users set inode=%r,packet_id=%r,transaction_id=%r,session_id=%r,nick=%r,user_data_type=%r,user_data=%r""",(self.fd.inode,self.get_packet_id(),words[1],self.session_id,words[2],'user_msn_passport',words[2]))
self.insert_user_data(words[2],'user_msn_passport',words[2],words[1])
def CAL(self):
cf7fac3ff0c735f3f514d4f41c9e494e2787883c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5568/cf7fac3ff0c735f3f514d4f41c9e494e2787883c/MSN.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 385, 1013, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 385, 1013, 12, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
os.chdir(os.path.dirname(sys.argv[1]))
dirname = os.path.dirname(sys.argv[1]) basename = os.path.basename(sys.argv[1])
def replace_lines(filename): try: file = open(filename) for line in file.readlines(): matched = re.compile("^%include\s+(.*)").match(line) if matched: replace_lines(matched.group(1)) else: sys.stdout.write(line) file.close() except IOError, detail: print detail sys.exit(2)
848eaf483df9eb79342ae841a80f7724c85899f0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1639/848eaf483df9eb79342ae841a80f7724c85899f0/ks_fold_include.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1453, 67, 3548, 12, 3459, 4672, 775, 30, 585, 273, 1696, 12, 3459, 13, 364, 980, 316, 585, 18, 896, 3548, 13332, 4847, 273, 283, 18, 11100, 2932, 66, 9, 6702, 64, 87, 15, 7444, 2225,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1453, 67, 3548, 12, 3459, 4672, 775, 30, 585, 273, 1696, 12, 3459, 13, 364, 980, 316, 585, 18, 896, 3548, 13332, 4847, 273, 283, 18, 11100, 2932, 66, 9, 6702, 64, 87, 15, 7444, 2225,...
2. snpData.snp_id2index_type. index_type=1(polarized), shape=square. index_type=2(MAF), circle. index_type=3(weirdo), triangle
2. snpData.snp_id2index_type. index_type=1(polarized), shape=rectangle. index_type=2(MAF), circle. index_type=3(weirdo), triangle
def drawSNPMtrix(self, axe_snp_matrix, subSNPData, top_snp_data, StrainID2PCAPosInfo, SNPID2PCAPosInfo, \ ecotype_info, strain_id_label_x_offset=0.9, snp_id_label_y_offset=0.9): """ 2008-10-07 1. allele=1 no color (white), 2(red) 2. snpData.snp_id2index_type. index_type=1(polarized), shape=square. index_type=2(MAF), ci...
8b01df4ec5dda455ad1b712723f6e5a54471503a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9645/8b01df4ec5dda455ad1b712723f6e5a54471503a/PlotGroupOfSNPs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 13653, 12728, 313, 697, 12, 2890, 16, 1740, 73, 67, 87, 6782, 67, 5667, 16, 720, 13653, 52, 751, 16, 1760, 67, 87, 6782, 67, 892, 16, 3978, 530, 734, 22, 3513, 37, 1616, 966, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 13653, 12728, 313, 697, 12, 2890, 16, 1740, 73, 67, 87, 6782, 67, 5667, 16, 720, 13653, 52, 751, 16, 1760, 67, 87, 6782, 67, 892, 16, 3978, 530, 734, 22, 3513, 37, 1616, 966, ...
3
5
def untranslated_entries(self): """ Convenience method that return a list of untranslated entries.
418b31415acbfe149b6979cf1e06619eed712454 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9209/418b31415acbfe149b6979cf1e06619eed712454/polib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 640, 22899, 67, 8219, 12, 2890, 4672, 3536, 735, 9080, 707, 716, 327, 279, 666, 434, 640, 22899, 3222, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 640, 22899, 67, 8219, 12, 2890, 4672, 3536, 735, 9080, 707, 716, 327, 279, 666, 434, 640, 22899, 3222, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
>>> print a.__dict__ {'default': -1000, 'x2': 200, 'x1': 100}
>>> print sortdict(a.__dict__) {'default': -1000, 'x1': 100, 'x2': 200}
>>> def sorted(seq):
3a26e4ac98a793c8d7a9755c63dc6f642e31d768 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/3a26e4ac98a793c8d7a9755c63dc6f642e31d768/test_descrtut.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4080, 1652, 3115, 12, 5436, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4080, 1652, 3115, 12, 5436, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
if options.params: cmd += [ options.params ]
def runRecordedScripts(options): """ Run recorded script tests >>> options = parseOptions() >>> checkOptions(options) >>> options.dryrun = True >>> options.verbose = True >>> options.modes = ['debug','release'] >>> options.modes = ['release','debug'] >>> runRecordedScripts(options) /.../RunPython... Chandler.py --crea...
b699ba32e2c975274e5bcf6e3ec7d39769952732 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/b699ba32e2c975274e5bcf6e3ec7d39769952732/rt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 426, 3850, 785, 15041, 12, 2116, 4672, 3536, 1939, 16421, 2728, 7434, 225, 4080, 702, 273, 1109, 1320, 1435, 4080, 866, 1320, 12, 2116, 13, 4080, 702, 18, 25011, 2681, 273, 1053, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 426, 3850, 785, 15041, 12, 2116, 4672, 3536, 1939, 16421, 2728, 7434, 225, 4080, 702, 273, 1109, 1320, 1435, 4080, 866, 1320, 12, 2116, 13, 4080, 702, 18, 25011, 2681, 273, 1053, 4...
if req.error_302_dict.has_key(newurl):
if len(error_302_dict)>10 or req.error_302_dict.has_key(newurl):
def http_error_302(self, req, fp, code, msg, headers): if headers.has_key('location'): newurl = headers['location'] elif headers.has_key('uri'): newurl = headers['uri'] else: return nil = fp.read() fp.close()
1b93b27c676477c6204c07ce1bc9433bef07bcff /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/1b93b27c676477c6204c07ce1bc9433bef07bcff/urllib2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1062, 67, 1636, 67, 23, 3103, 12, 2890, 16, 1111, 16, 4253, 16, 981, 16, 1234, 16, 1607, 4672, 309, 1607, 18, 5332, 67, 856, 2668, 3562, 11, 4672, 394, 718, 273, 1607, 3292, 3562, 35...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1062, 67, 1636, 67, 23, 3103, 12, 2890, 16, 1111, 16, 4253, 16, 981, 16, 1234, 16, 1607, 4672, 309, 1607, 18, 5332, 67, 856, 2668, 3562, 11, 4672, 394, 718, 273, 1607, 3292, 3562, 35...
self._dr.database_name.append(_re_search( r"Database: (.+)$", line, "I could not find the database in line\n%s" % line))
m = re.search(r"Database: (.+)$", line) if m: self._dr.database_name.append(m.group(1)) elif self._dr.database_name: x = self._dr.database_name[-1] + string.strip(line) self._dr.database_name[-1] = x
def database(self, line): self._dr.database_name.append(_re_search( r"Database: (.+)$", line, "I could not find the database in line\n%s" % line))
2f26ca322e556e832f28b33792ebb8273cc8a83a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7167/2f26ca322e556e832f28b33792ebb8273cc8a83a/NCBIStandalone.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2063, 12, 2890, 16, 980, 4672, 365, 6315, 3069, 18, 6231, 67, 529, 18, 6923, 24899, 266, 67, 3072, 12, 436, 6, 4254, 30, 261, 18, 6975, 8, 3113, 980, 16, 315, 45, 3377, 486, 1104, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2063, 12, 2890, 16, 980, 4672, 365, 6315, 3069, 18, 6231, 67, 529, 18, 6923, 24899, 266, 67, 3072, 12, 436, 6, 4254, 30, 261, 18, 6975, 8, 3113, 980, 16, 315, 45, 3377, 486, 1104, ...
for set1 in self.sets + []:
for set1 in self.sets + [[]]:
def test_set_repr(self): """intbitset - Pythonic representation""" for set1 in self.sets + []: intbitset1 = intbitset(set1) self.assertEqual(intbitset1, eval(repr(intbitset1))) for set1 in self.sets + []: intbitset1 = intbitset(set1, trailing_bits=True) self.assertEqual(intbitset1, eval(repr(intbitset1)))
d4a1d7e3f52dbeaebf8d74a7a99b4870caa65e1a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12027/d4a1d7e3f52dbeaebf8d74a7a99b4870caa65e1a/intbitset_tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 542, 67, 12715, 12, 2890, 4672, 3536, 474, 3682, 542, 300, 6600, 335, 4335, 8395, 364, 444, 21, 316, 365, 18, 4424, 397, 306, 8526, 14542, 509, 3682, 542, 21, 273, 509, 3682,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 542, 67, 12715, 12, 2890, 4672, 3536, 474, 3682, 542, 300, 6600, 335, 4335, 8395, 364, 444, 21, 316, 365, 18, 4424, 397, 306, 8526, 14542, 509, 3682, 542, 21, 273, 509, 3682,...
'<th colspan="2">\n' + heading +\ '</th></tr>\n'
' <th colspan="2">' + heading + '</th></tr>\n'
def _table_header(self, heading, css_class): """ @return: The HTML code for the start of a table. This is used by class tables, function tables, variable tables, etc. @rtype: C{string} @param heading: The name for the table. @type heading: C{string} @param css_class: The css class for the table. This is used to allow...
62ff4e473663c51d0a945a451e36120f11d9450a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/62ff4e473663c51d0a945a451e36120f11d9450a/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2121, 67, 3374, 12, 2890, 16, 11053, 16, 3747, 67, 1106, 4672, 3536, 632, 2463, 30, 1021, 3982, 981, 364, 326, 787, 434, 279, 1014, 18, 225, 1220, 353, 1399, 635, 667, 4606, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2121, 67, 3374, 12, 2890, 16, 11053, 16, 3747, 67, 1106, 4672, 3536, 632, 2463, 30, 1021, 3982, 981, 364, 326, 787, 434, 279, 1014, 18, 225, 1220, 353, 1399, 635, 667, 4606, 16, ...
I = self.index_set()
I = self.index_object()
def plot(self): """ Plots the points the sequence, which is assumed to be real or from a finite field, with a real indexing set I = range(len(self)).
431e77dd49c749a75ebdd4465e177155608021e6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9417/431e77dd49c749a75ebdd4465e177155608021e6/dft.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3207, 12, 2890, 4672, 3536, 3008, 6968, 326, 3143, 326, 3102, 16, 1492, 353, 12034, 358, 506, 2863, 578, 628, 279, 25922, 652, 16, 598, 279, 2863, 14403, 444, 467, 273, 1048, 12, 1897, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3207, 12, 2890, 4672, 3536, 3008, 6968, 326, 3143, 326, 3102, 16, 1492, 353, 12034, 358, 506, 2863, 578, 628, 279, 25922, 652, 16, 598, 279, 2863, 14403, 444, 467, 273, 1048, 12, 1897, ...
with test_support._check_py3k_warnings(): self.assertTrue(operator.sequenceIncludes(range(4), 2)) self.assertFalse(operator.sequenceIncludes(range(4), 5))
self.assertTrue(operator.sequenceIncludes(range(4), 2)) self.assertFalse(operator.sequenceIncludes(range(4), 5))
def test_contains(self): self.assertRaises(TypeError, operator.contains) self.assertRaises(TypeError, operator.contains, None, None) self.assertTrue(operator.contains(range(4), 2)) self.assertFalse(operator.contains(range(4), 5)) with test_support._check_py3k_warnings(): self.assertTrue(operator.sequenceIncludes(range(...
d9a4e29db92f279e47866fbe61a5e7840fe876c1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8546/d9a4e29db92f279e47866fbe61a5e7840fe876c1/test_operator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 12298, 12, 2890, 4672, 365, 18, 11231, 12649, 6141, 12, 19030, 16, 3726, 18, 12298, 13, 365, 18, 11231, 12649, 6141, 12, 19030, 16, 3726, 18, 12298, 16, 599, 16, 599, 13, 365...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 12298, 12, 2890, 4672, 365, 18, 11231, 12649, 6141, 12, 19030, 16, 3726, 18, 12298, 13, 365, 18, 11231, 12649, 6141, 12, 19030, 16, 3726, 18, 12298, 16, 599, 16, 599, 13, 365...
<h2>Submit an unsiqned FOAF record</h2>
<h2>Submit an signed FOAF record</h2>
def form(req): req.content_type = "text/html" req.write(""" <html> <head><title>FOAFServer upload form</title></head> <body> <a href="./">Back to index</a> """) if (req.method == "POST"): form = util.FieldStorage(req, 1) inputs_exist = True if 'submit_upload' in form: if not(form["foaf_file"].filename): req.write("<...
bd600b2fa9a756a24515ada1a103ed3ddae7e3c9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2336/bd600b2fa9a756a24515ada1a103ed3ddae7e3c9/server.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 646, 12, 3658, 4672, 1111, 18, 1745, 67, 723, 273, 315, 955, 19, 2620, 6, 1111, 18, 2626, 2932, 3660, 411, 2620, 34, 411, 1978, 4438, 2649, 34, 3313, 6799, 2081, 3617, 646, 1757, 2649,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 646, 12, 3658, 4672, 1111, 18, 1745, 67, 723, 273, 315, 955, 19, 2620, 6, 1111, 18, 2626, 2932, 3660, 411, 2620, 34, 411, 1978, 4438, 2649, 34, 3313, 6799, 2081, 3617, 646, 1757, 2649,...
d.buildSettingsId = (newid(), [('debug', newid()), ('profile', newid()), ('final', newid())])
d.buildSettingsId = (newid(), [('iphone-debug', newid()), ('iphone-profile', newid()), ('iphone-final', newid()), ('osx-debug', newid()), ('osx-profile', newid()), ('osx-final', newid())])
def writePBXFileReference(self): w = self.file.write w("/* Begin PBXFileReference section */\n") for d in self.projects: if d.usemaster: w("\t%s = { isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.cpp; name = \"%s\"; path = \"%s\" ; sourceTree = \"SOURCE_ROOT\"; };\n" % (d.masterid, os.path.s...
52ac41d46ade8d8225f37eca6a924d174b6b14d8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7302/52ac41d46ade8d8225f37eca6a924d174b6b14d8/xcode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 20724, 60, 812, 2404, 12, 2890, 4672, 341, 273, 365, 18, 768, 18, 2626, 341, 2932, 20308, 14323, 20819, 60, 812, 2404, 2442, 1195, 64, 82, 7923, 364, 302, 316, 365, 18, 13582, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 20724, 60, 812, 2404, 12, 2890, 4672, 341, 273, 365, 18, 768, 18, 2626, 341, 2932, 20308, 14323, 20819, 60, 812, 2404, 2442, 1195, 64, 82, 7923, 364, 302, 316, 365, 18, 13582, 30...
print '... DB columns:', database_column_list
def check_attributes(self, attributes_lod, action=None, add=False, drop=False, convert=False): ''' Returns differences_lod, if attributes_lod differ from the real database table definition. See function 'create' for key description of attributes_lod.
4e43de21c8eab98765b245c3a1a8601c9255aba8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3069/4e43de21c8eab98765b245c3a1a8601c9255aba8/SQLdb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 4350, 12, 2890, 16, 1677, 67, 80, 369, 16, 1301, 33, 7036, 16, 527, 33, 8381, 16, 3640, 33, 8381, 16, 1765, 33, 8381, 4672, 9163, 2860, 16440, 67, 80, 369, 16, 309, 1677, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 4350, 12, 2890, 16, 1677, 67, 80, 369, 16, 1301, 33, 7036, 16, 527, 33, 8381, 16, 3640, 33, 8381, 16, 1765, 33, 8381, 4672, 9163, 2860, 16440, 67, 80, 369, 16, 309, 1677, ...
flexargs, (biggestDollar, 'argument'), alias)
flexargs, (biggestDollar, _('argument')), alias)
def everythingReplace(tokens): for (i, token) in enumerate(tokens): if isinstance(token, list): if everythingReplace(token): return if token == '$*': tokens[i:i+1] = args return True elif '$*' in token: tokens[i] = token.replace('$*', ' '.join(args)) return True return False
e5e705f78c16f3dcd856a2c89ff8b82c7bec71ae /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12790/e5e705f78c16f3dcd856a2c89ff8b82c7bec71ae/plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7756, 5729, 12, 7860, 4672, 364, 261, 77, 16, 1147, 13, 316, 4241, 12, 7860, 4672, 309, 1549, 12, 2316, 16, 666, 4672, 309, 7756, 5729, 12, 2316, 4672, 327, 309, 1147, 422, 3365, 4035,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7756, 5729, 12, 7860, 4672, 364, 261, 77, 16, 1147, 13, 316, 4241, 12, 7860, 4672, 309, 1549, 12, 2316, 16, 666, 4672, 309, 7756, 5729, 12, 2316, 4672, 327, 309, 1147, 422, 3365, 4035,...
parm.polarisation = x[3] parm.fec = x[4] parm.inversion = 2
parm.polarisation = x[3] parm.fec = x[4] parm.inversion = 2
def getInitialTransponderList(tlist, pos): list = nimmanager.getTransponders(pos) for x in list: if x[0] == 0: #SAT parm = eDVBFrontendParametersSatellite() parm.frequency = x[1] parm.symbol_rate = x[2] parm.polarisation = x[3]#lookup_sat_polarisation[x[3]] # eDVBFrontendParametersSatellite.Polarisation.Vertical parm...
3e89e787565ced4343e1f36f151735c2550236c1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/3e89e787565ced4343e1f36f151735c2550236c1/ScanSetup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24044, 1429, 17707, 682, 12, 88, 1098, 16, 949, 4672, 666, 273, 290, 381, 4181, 18, 588, 1429, 3111, 414, 12, 917, 13, 225, 364, 619, 316, 666, 30, 309, 619, 63, 20, 65, 422, 374, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24044, 1429, 17707, 682, 12, 88, 1098, 16, 949, 4672, 666, 273, 290, 381, 4181, 18, 588, 1429, 3111, 414, 12, 917, 13, 225, 364, 619, 316, 666, 30, 309, 619, 63, 20, 65, 422, 374, ...
raise(os.error,"Spawn command returned with error code")
pass
def clean_up_tmp_directory(tmp_dir): #Recursively remove the tmp directory for root, dirs, files in os.walk(tmp_dir, topdown=False): for name in files: os.remove(join(root, name)) for name in dirs: os.rmdir(join(root, name))
30305708fa441060c56d3c18b6b8a6b0f5dc9728 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5568/30305708fa441060c56d3c18b6b8a6b0f5dc9728/examine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2721, 67, 416, 67, 5645, 67, 5149, 12, 5645, 67, 1214, 4672, 468, 12474, 1206, 326, 1853, 1867, 364, 1365, 16, 7717, 16, 1390, 316, 1140, 18, 11348, 12, 5645, 67, 1214, 16, 1760, 2378,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2721, 67, 416, 67, 5645, 67, 5149, 12, 5645, 67, 1214, 4672, 468, 12474, 1206, 326, 1853, 1867, 364, 1365, 16, 7717, 16, 1390, 316, 1140, 18, 11348, 12, 5645, 67, 1214, 16, 1760, 2378,...
]
]
def available_memory(): libc = cdll.LoadLibrary(ctypes.util.find_library("libc")) mem = c_uint64(0) size = c_size_t(sizeof(mem)) libc.sysctlbyname.argtypes = [ c_char_p, c_void_p, c_void_p, c_void_p, c_ulong ] libc.sysctlbyname( "hw.memsize", c_voidp(addressof(mem)), c_voidp(addressof(size)), None, 0 ) return int(mem.v...
283e9de4aa1192aeae4d6915b657c7e80d9d8658 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/373/283e9de4aa1192aeae4d6915b657c7e80d9d8658/sysutil.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2319, 67, 7858, 13332, 2561, 71, 273, 7976, 2906, 18, 2563, 9313, 12, 299, 989, 18, 1367, 18, 4720, 67, 12083, 2932, 2941, 71, 6, 3719, 1663, 273, 276, 67, 11890, 1105, 12, 20, 13, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2319, 67, 7858, 13332, 2561, 71, 273, 7976, 2906, 18, 2563, 9313, 12, 299, 989, 18, 1367, 18, 4720, 67, 12083, 2932, 2941, 71, 6, 3719, 1663, 273, 276, 67, 11890, 1105, 12, 20, 13, 9...
atom_id=None, link=None, published=None, title=None, updated=None,
atom_id=None, link=None, published=None, title=None, updated=None,
def __init__(self, author=None, category=None, content=None, atom_id=None, link=None, published=None, title=None, updated=None, color=None, access_level=None, hidden=None, timezone=None, selected=None, where=None, extension_elements=None, extension_attributes=None, text=None): gdata.GDataEntry.__init__(self, author=aut...
6a016768dbbd7d5ee9c62bcd2d2ce3bf7f6d1048 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6580/6a016768dbbd7d5ee9c62bcd2d2ce3bf7f6d1048/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2869, 33, 7036, 16, 3150, 33, 7036, 16, 913, 33, 7036, 16, 3179, 67, 350, 33, 7036, 16, 1692, 33, 7036, 16, 9487, 33, 7036, 16, 2077, 33, 7036, 16, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2869, 33, 7036, 16, 3150, 33, 7036, 16, 913, 33, 7036, 16, 3179, 67, 350, 33, 7036, 16, 1692, 33, 7036, 16, 9487, 33, 7036, 16, 2077, 33, 7036, 16, 3...
nav_category = models.ForeignKey(NavBarCategory)
nav_category = models.ForeignKey(NavBarCategory, default=NavBarCategory.default)
def get_by_path__name(self, path, name): # This writes to file_db, and caches the *data retrieval* # It exists because the kernel filesystem caches are possibly better # for retrieving large (>=4KB) data chunks than PostgreSQL # See Mike Axiak's email to esp-webmasters@mit.edu on 2008-09-27 (around 12:35) # No user ID ...
3629118a4b337e0a472af908021e22bfe1128b74 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12041/3629118a4b337e0a472af908021e22bfe1128b74/models.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1637, 67, 803, 972, 529, 12, 2890, 16, 589, 16, 508, 4672, 468, 1220, 7262, 358, 585, 67, 1966, 16, 471, 12535, 326, 380, 892, 22613, 14, 468, 2597, 1704, 2724, 326, 5536, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1637, 67, 803, 972, 529, 12, 2890, 16, 589, 16, 508, 4672, 468, 1220, 7262, 358, 585, 67, 1966, 16, 471, 12535, 326, 380, 892, 22613, 14, 468, 2597, 1704, 2724, 326, 5536, 6...
fileinfo = self._getMSFileInfo(open(filename, 'rb'), filename)
def readMSTracesViaRecords(self, filename, reclen= -1, dataflag=1, skipnotdata=1, verbose=0, starttime=None, endtime=None): """ Read MiniSEED file. Returns a list with header informations and data for each trace in the file. The list returned contains a list for each trace in the file with the lists first element bein...
2cfd7bef2ea91d397a302ffa2f37cc852baa6040 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10470/2cfd7bef2ea91d397a302ffa2f37cc852baa6040/libmseed.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 49, 882, 354, 764, 21246, 6499, 12, 2890, 16, 1544, 16, 283, 830, 275, 33, 300, 21, 16, 501, 6420, 33, 21, 16, 2488, 902, 892, 33, 21, 16, 3988, 33, 20, 16, 23437, 33, 7036, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 49, 882, 354, 764, 21246, 6499, 12, 2890, 16, 1544, 16, 283, 830, 275, 33, 300, 21, 16, 501, 6420, 33, 21, 16, 2488, 902, 892, 33, 21, 16, 3988, 33, 20, 16, 23437, 33, 7036, ...
def _signalCombo(self, conn): f = self.w.connect if not conn: f = self.w.disconnect f(self.w.list_conn_macro, SIGNAL("currentIndexChanged(QString)"), self.loadMacros) f(self.w.list_macro, SIGNAL("currentIndexChanged(int)"), self.load)
def disableSignal(self, disable): self.w.list_macro.blockSignals(disable) self.w.list_conn_macro.blockSignals(disable)
def _signalCombo(self, conn): f = self.w.connect if not conn: f = self.w.disconnect
201b1c9e4adf26ba529bd9bf36b9e00c8fe2621e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8560/201b1c9e4adf26ba529bd9bf36b9e00c8fe2621e/gui_option.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 10420, 16156, 12, 2890, 16, 1487, 4672, 284, 273, 365, 18, 91, 18, 3612, 309, 486, 1487, 30, 284, 273, 365, 18, 91, 18, 20177, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 10420, 16156, 12, 2890, 16, 1487, 4672, 284, 273, 365, 18, 91, 18, 3612, 309, 486, 1487, 30, 284, 273, 365, 18, 91, 18, 20177, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
def read(self, totalwtd):
def read(self, totalwtd):
def read(self, totalwtd):
a220e67a9ed94d66b81e393a3bb9e6acd10068c1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/a220e67a9ed94d66b81e393a3bb9e6acd10068c1/binhex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 2890, 16, 2078, 91, 4465, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 2890, 16, 2078, 91, 4465, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
49
14
def min_spanning_tree(self, weight_function=lambda e: 1, algorithm='Kruskal', starting_vertex=None ): """ Returns the edges of a minimum spanning tree, if one exists, otherwise returns False.
25f1acd24326dc0cce72975f706689af2c5ca841 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/25f1acd24326dc0cce72975f706689af2c5ca841/graph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1131, 67, 1752, 10903, 67, 3413, 12, 2890, 16, 3119, 67, 915, 33, 14661, 425, 30, 404, 16, 4886, 2218, 47, 8010, 79, 287, 2187, 5023, 67, 15281, 33, 7036, 262, 30, 3536, 2860, 326, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1131, 67, 1752, 10903, 67, 3413, 12, 2890, 16, 3119, 67, 915, 33, 14661, 425, 30, 404, 16, 4886, 2218, 47, 8010, 79, 287, 2187, 5023, 67, 15281, 33, 7036, 262, 30, 3536, 2860, 326, 5...
output.write("""EMAIL_SMTP_TLS = 'True'""")
output.write("""EMAIL_SMTP_TLS = 'True' """)
def _update_settings(self, location, settings=None): output = open(location, 'w') print "Saving to " + location
51c59aa53c91db6df85d4a4dce9765ce25d5f592 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12409/51c59aa53c91db6df85d4a4dce9765ce25d5f592/web.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2725, 67, 4272, 12, 2890, 16, 2117, 16, 1947, 33, 7036, 4672, 876, 273, 1696, 12, 3562, 16, 296, 91, 6134, 1172, 315, 24660, 358, 315, 397, 2117, 2, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2725, 67, 4272, 12, 2890, 16, 2117, 16, 1947, 33, 7036, 4672, 876, 273, 1696, 12, 3562, 16, 296, 91, 6134, 1172, 315, 24660, 358, 315, 397, 2117, 2, -100, -100, -100, -100, -100, ...
if p.usesShmem():
if p.decl.type.isToplevel():
for typedef in self.includedActorTypedefs: self.cls.addstmt(typedef)
0aa0991994d9640e22a59798324bc37b7a1d4a9c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11102/0aa0991994d9640e22a59798324bc37b7a1d4a9c/lower.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 364, 618, 536, 316, 365, 18, 20405, 17876, 559, 12537, 30, 365, 18, 6429, 18, 1289, 10589, 12, 723, 536, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 364, 618, 536, 316, 365, 18, 20405, 17876, 559, 12537, 30, 365, 18, 6429, 18, 1289, 10589, 12, 723, 536, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
nanny.tattle_remove_item(tattle_item, identity)
nanny.tattle_remove_item("outsockets", identity) try: sock.close() except: pass
def _bind_udp_socket(localip, localport, tattle_item): # Conrad: entirely stolen from listenforconnection(). Some of this input # verification stuff especially could probably be combined as a shared # function. Even the rest of the functions are similar enough to be worth # consolidating. # Check the input arguments (...
d4ee8209e162b6ccd341f8d349a90df0a51e60af /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7280/d4ee8209e162b6ccd341f8d349a90df0a51e60af/emulcomm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4376, 67, 26029, 67, 7814, 12, 3729, 625, 16, 1191, 655, 16, 268, 4558, 298, 67, 1726, 4672, 468, 735, 6012, 30, 21658, 384, 355, 275, 628, 6514, 1884, 4071, 7675, 10548, 434, 333...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4376, 67, 26029, 67, 7814, 12, 3729, 625, 16, 1191, 655, 16, 268, 4558, 298, 67, 1726, 4672, 468, 735, 6012, 30, 21658, 384, 355, 275, 628, 6514, 1884, 4071, 7675, 10548, 434, 333...
configure() bootstrapSchoolBell(db)
configure() bootstrapSchoolBell(db)
def setupOnePointZero(dbpath): storage = FileStorage(dbpath) db = DB(storage) configure() bootstrapSchoolBell(db) conn = db.open() root = conn.root() app = root.get(ZopePublication.root_name) return app
cd1664a32824ab90ef5f1a84810c4ee22c0683c1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7127/cd1664a32824ab90ef5f1a84810c4ee22c0683c1/schoolbell-import.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 3335, 2148, 7170, 12, 1966, 803, 4672, 2502, 273, 1387, 3245, 12, 1966, 803, 13, 1319, 273, 2383, 12, 5697, 13, 225, 5068, 1435, 7065, 55, 343, 1371, 38, 1165, 12, 1966, 13, 225,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 3335, 2148, 7170, 12, 1966, 803, 4672, 2502, 273, 1387, 3245, 12, 1966, 803, 13, 1319, 273, 2383, 12, 5697, 13, 225, 5068, 1435, 7065, 55, 343, 1371, 38, 1165, 12, 1966, 13, 225,...
global COMPILER,OPTIMIZE,OMIT,THIRDPARTY,INSTALLER,COPYEXTRAS,VERSION1,VERSION2,VERSION3,COMPRESSOR
global PREFIX,COMPILER,OPTIMIZE,OMIT,THIRDPARTY,INSTALLER global COPYEXTRAS,VERSION1,VERSION2,VERSION3,COMPRESSOR
def parseopts(args): global COMPILER,OPTIMIZE,OMIT,THIRDPARTY,INSTALLER,COPYEXTRAS,VERSION1,VERSION2,VERSION3,COMPRESSOR global DirectXSDK,VERBOSE longopts = [ "help","package-info","compiler=","directx-sdk=","thirdparty=", "optimize=","everything","nothing","installer","quiet","verbose", "complete","default","v1=","v2...
4a71a3ad56d88a79d9aba6c9d9fa1abc8c3a885e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8543/4a71a3ad56d88a79d9aba6c9d9fa1abc8c3a885e/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 4952, 12, 1968, 4672, 2552, 17154, 16, 31075, 14668, 16, 15620, 3445, 15641, 16, 1872, 1285, 16, 2455, 7937, 40, 2778, 5538, 16, 28865, 654, 2552, 27776, 22639, 55, 16, 5757, 21, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 4952, 12, 1968, 4672, 2552, 17154, 16, 31075, 14668, 16, 15620, 3445, 15641, 16, 1872, 1285, 16, 2455, 7937, 40, 2778, 5538, 16, 28865, 654, 2552, 27776, 22639, 55, 16, 5757, 21, 1...
except urllib2.HTTPError, e:
except HTTPError, e:
def get_prules(): global prules, prules_etag, allow_rule, block_rule, allow_rule_identities, block_rule_identities prules = None prules_etag = None allow_rule = None allow_rule_identities = None block_rule = None block_rule_identities = None try: doc = xcap_client.get('pres-rules') except urllib2.URLError, e: print "Ca...
df97157eab9185b7b74b977f1cb3ba6d6e18a3f5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3449/df97157eab9185b7b74b977f1cb3ba6d6e18a3f5/sip_subscribe_winfo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 683, 1513, 13332, 2552, 846, 1513, 16, 846, 1513, 67, 20788, 16, 1699, 67, 5345, 16, 1203, 67, 5345, 16, 1699, 67, 5345, 67, 6392, 1961, 16, 1203, 67, 5345, 67, 6392, 1961, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 683, 1513, 13332, 2552, 846, 1513, 16, 846, 1513, 67, 20788, 16, 1699, 67, 5345, 16, 1203, 67, 5345, 16, 1699, 67, 5345, 67, 6392, 1961, 16, 1203, 67, 5345, 67, 6392, 1961, ...
extendedbody = sections[2].split(":",1)[1]
extendedbody = "" if len(sections) > 2: print sections extendedbody = sections[2].split(":",1)[1]
def convert(inputfile, outputdir): input = open(inputfile).read() entries = entryDelim.split(input) for entry in entries: if entry.strip(): sections = sectionDelim.split(entry) body = sections[1].split(":",1)[1] extendedbody = sections[2].split(":",1)[1] fields = sections[0].strip().split("\n") publish = 0 for field in...
5b02dff782c184937bb6ac4fff421f443e640176 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11836/5b02dff782c184937bb6ac4fff421f443e640176/mt2blosxom.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 12, 2630, 768, 16, 876, 1214, 4672, 810, 273, 1696, 12, 2630, 768, 2934, 896, 1435, 3222, 273, 1241, 21445, 18, 4939, 12, 2630, 13, 364, 1241, 316, 3222, 30, 309, 1241, 18, 6406,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 12, 2630, 768, 16, 876, 1214, 4672, 810, 273, 1696, 12, 2630, 768, 2934, 896, 1435, 3222, 273, 1241, 21445, 18, 4939, 12, 2630, 13, 364, 1241, 316, 3222, 30, 309, 1241, 18, 6406,...
conf = AuditManager().get_configuration(HTTP_NAME)
conf = self.manager.get_configuration(HTTP_NAME)
def stop(self): conf = AuditManager().get_configuration(HTTP_NAME)
968802cc3fd7bddc23804216cfc04928b9bb40d9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11468/968802cc3fd7bddc23804216cfc04928b9bb40d9/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2132, 12, 2890, 4672, 2195, 273, 12975, 1318, 7675, 588, 67, 7025, 12, 3693, 67, 1985, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2132, 12, 2890, 4672, 2195, 273, 12975, 1318, 7675, 588, 67, 7025, 12, 3693, 67, 1985, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
return self.nuwiki.get_page(None, revision) p = self.nuwiki.normalize_and_get_page(title, defaultns=0)
p = self.nuwiki.get_page(None, revision) else: p = self.nuwiki.normalize_and_get_page(title, defaultns=0)
def getRawArticle(self, title, revision=None): if revision is not None: return self.nuwiki.get_page(None, revision) p = self.nuwiki.normalize_and_get_page(title, defaultns=0) if p: return p.rawtext
f41488ba0f6c1e3e4ae429d546b6da501b33dbc8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12391/f41488ba0f6c1e3e4ae429d546b6da501b33dbc8/nuwiki.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10547, 7880, 12, 2890, 16, 2077, 16, 6350, 33, 7036, 4672, 309, 6350, 353, 486, 599, 30, 293, 273, 365, 18, 13053, 13044, 18, 588, 67, 2433, 12, 7036, 16, 6350, 13, 469, 30, 293, 273...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10547, 7880, 12, 2890, 16, 2077, 16, 6350, 33, 7036, 4672, 309, 6350, 353, 486, 599, 30, 293, 273, 365, 18, 13053, 13044, 18, 588, 67, 2433, 12, 7036, 16, 6350, 13, 469, 30, 293, 273...
result[pkey.proxyval()] = pvalue.proxyval()
result[pkey.proxyval(visited)] = pvalue.proxyval(visited)
def proxyval(self): result = {} for i in safe_range(self.field('ma_mask') + 1): ep = self.field('ma_table') + i pvalue = PyObjectPtr.from_pyobject_ptr(ep['me_value']) if not pvalue.is_null(): pkey = PyObjectPtr.from_pyobject_ptr(ep['me_key']) result[pkey.proxyval()] = pvalue.proxyval() return result
da0826ad3b0eb43fced4ade908a2dffee15e426b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6942/da0826ad3b0eb43fced4ade908a2dffee15e426b/python-gdb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2889, 1125, 12, 2890, 4672, 563, 273, 2618, 364, 277, 316, 4183, 67, 3676, 12, 2890, 18, 1518, 2668, 2540, 67, 4455, 6134, 397, 404, 4672, 5529, 273, 365, 18, 1518, 2668, 2540, 67, 212...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2889, 1125, 12, 2890, 4672, 563, 273, 2618, 364, 277, 316, 4183, 67, 3676, 12, 2890, 18, 1518, 2668, 2540, 67, 4455, 6134, 397, 404, 4672, 5529, 273, 365, 18, 1518, 2668, 2540, 67, 212...
self.frame, message="Save Style Sheet", defaultValue=tag,
self.frame, caption="Save Style Sheet", message="Enter name for style sheet.\n\nThis style sheet must be saved in your personal\nconfiguration directory before it can be used.\n\nIf you cancel, the style sheet changes will be lost.", defaultValue=tag,
def action(self, index=-1, multiplier=1): stylesheet = wx.GetApp().fonts.getStyleFile() dlg = style_editor.StyleEditor(self.frame, -1) dlg.OpenPreviewFile(self.mode.editra_lang) lexer_lst = dlg.FindWindowById(style_editor.ed_glob.ID_LEXER) lexer_lst.SetStringSelection(self.mode.editra_lang) retval = dlg.ShowModal() if ...
399b0859edddd20b800d39ffc64fad005e1c0745 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11522/399b0859edddd20b800d39ffc64fad005e1c0745/editra_styleeditor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1301, 12, 2890, 16, 770, 29711, 21, 16, 15027, 33, 21, 4672, 13820, 273, 7075, 18, 967, 3371, 7675, 22052, 18, 588, 2885, 812, 1435, 25840, 273, 2154, 67, 9177, 18, 2885, 6946, 12, 289...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1301, 12, 2890, 16, 770, 29711, 21, 16, 15027, 33, 21, 4672, 13820, 273, 7075, 18, 967, 3371, 7675, 22052, 18, 588, 2885, 812, 1435, 25840, 273, 2154, 67, 9177, 18, 2885, 6946, 12, 289...
if isinstance(doc, VariableDoc) and doc.is_public is False:
is_private = self._doc_or_ancestor_is_private(doc) if is_private:
def write_toc_section(self, out, name, docs, fullname=True): if not docs: return
896efdcbc34c9ccecca07067a434506c3fb65345 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/896efdcbc34c9ccecca07067a434506c3fb65345/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 1391, 67, 3464, 12, 2890, 16, 596, 16, 508, 16, 3270, 16, 13321, 33, 5510, 4672, 309, 486, 3270, 30, 327, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 1391, 67, 3464, 12, 2890, 16, 596, 16, 508, 16, 3270, 16, 13321, 33, 5510, 4672, 309, 486, 3270, 30, 327, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...