rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
'es': u'WarcraftWiki Discusin', 'fa': u'??? ????? ???????',
'es': u'WarcraftWiki Discusión', 'fa': u'بحث دنیای وارکرفت',
def __init__(self): family.Family.__init__(self) self.name = 'wowwiki'
ac57dcc1d290fc37f75e701afd6115fa317bbd91 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4404/ac57dcc1d290fc37f75e701afd6115fa317bbd91/wowwiki_family.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 6755, 18, 9203, 16186, 2738, 972, 12, 2890, 13, 365, 18, 529, 273, 296, 91, 543, 13044, 11, 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, 0, 0, 0, 0, 0, 0, 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, 4672, 6755, 18, 9203, 16186, 2738, 972, 12, 2890, 13, 365, 18, 529, 273, 296, 91, 543, 13044, 11, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
cmp_run_conv_nnet2_classif(23485, 64, 7, 10, n_iter=10,
cmp_run_conv_nnet2_classif(23485, 64, 7, 10, n_train=10,
def test_lenet_64(): # ??? #float_atol need to pass in debug mode #needed as cpu use extended precision and gpu don't cmp_run_conv_nnet2_classif(23485, 64, 7, 10, n_iter=10, ignore_error=ignore_error, gpu_only=gpu_only, cpu_only=cpu_only, verbose=verbose, float_atol=5e-4, check_isfinite=True, version=version)
096c375fd2a3d51b589713ec856194dfefacf58c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/096c375fd2a3d51b589713ec856194dfefacf58c/test_nnet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 1897, 278, 67, 1105, 13332, 468, 5317, 35, 468, 5659, 67, 270, 355, 1608, 358, 1342, 316, 1198, 1965, 468, 17471, 487, 8326, 999, 7021, 6039, 471, 21810, 2727, 1404, 9411, 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, 1842, 67, 1897, 278, 67, 1105, 13332, 468, 5317, 35, 468, 5659, 67, 270, 355, 1608, 358, 1342, 316, 1198, 1965, 468, 17471, 487, 8326, 999, 7021, 6039, 471, 21810, 2727, 1404, 9411, 67, ...
self.showBoundary=showBoundary
self.showBoundary=showBoundary
def __init__(self, filename, pagesize, showBoundary=0): self.filename = filename self.pagesize = pagesize self.showBoundary=showBoundary #sensibel defaults; override if you wish self.leftMargin = inch self.bottomMargin = inch self.rightMargin = self.pagesize[0] - inch self.topMargin = self.pagesize[1] - inch
69e090881f10346788c18945f30fe3848d95ec73 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/69e090881f10346788c18945f30fe3848d95ec73/layout.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1544, 16, 4689, 554, 16, 2405, 11941, 33, 20, 4672, 365, 18, 3459, 273, 1544, 365, 18, 7267, 554, 273, 4689, 554, 365, 18, 4500, 11941, 33, 4500, 11941, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4689, 554, 16, 2405, 11941, 33, 20, 4672, 365, 18, 3459, 273, 1544, 365, 18, 7267, 554, 273, 4689, 554, 365, 18, 4500, 11941, 33, 4500, 11941, ...
min = 0)
min=0)
def longest_path(self, s = None, t = None, weighted = False, algorithm = "MILP", solver = None, verbose = 0): r""" Returns a longest path of ``self``.
fbdfc46fda1150428e37faef1f31cd5518ab4374 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9417/fbdfc46fda1150428e37faef1f31cd5518ab4374/generic_graph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12163, 67, 803, 12, 2890, 16, 272, 273, 599, 16, 268, 273, 599, 16, 13747, 273, 1083, 16, 4886, 273, 315, 49, 2627, 52, 3113, 12776, 273, 599, 16, 3988, 273, 374, 4672, 436, 8395, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12163, 67, 803, 12, 2890, 16, 272, 273, 599, 16, 268, 273, 599, 16, 13747, 273, 1083, 16, 4886, 273, 315, 49, 2627, 52, 3113, 12776, 273, 599, 16, 3988, 273, 374, 4672, 436, 8395, 28...
exec('%s = strcmp(dirinfo[type], %s)' % (type, type))
exec('%s = strcmp(item[type], %s)' % (type, type))
def check_info(dirinfo): """ Parse additional information recursive over the given listing. The function will try to find 'length', 'artist', 'album' and 'year'. """ listing = Listing(dirinfo.filename) if listing.num_changes: listing.update() # check if an update is needed for item in listing.get_dir(): if os.path.isl...
ed2a78e52b51dbdb5b681a714d6d0daab6575c89 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/ed2a78e52b51dbdb5b681a714d6d0daab6575c89/audio_parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 1376, 12, 1214, 1376, 4672, 3536, 2884, 3312, 1779, 5904, 1879, 326, 864, 11591, 18, 1021, 445, 903, 775, 358, 1104, 296, 2469, 2187, 296, 25737, 2187, 296, 25090, 11, 471, 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, 866, 67, 1376, 12, 1214, 1376, 4672, 3536, 2884, 3312, 1779, 5904, 1879, 326, 864, 11591, 18, 1021, 445, 903, 775, 358, 1104, 296, 2469, 2187, 296, 25737, 2187, 296, 25090, 11, 471, 296,...
try: f = file("dtool/PandaVersion.pp","r") pattern = re.compile('^[ \t]*[ for line in f: match = pattern.match(line,0)
if (OMIT.count("HELIX")==0): WARNINGS.append("HELIX is currently nonoperational") WARNINGS.append("I have automatically added this command-line option: --no-helix") OMIT.append("HELIX") if (os.path.isdir(os.path.join("thirdparty", "win-libs-vc7", "miles"))==0): if (OMIT.count("MILES")==0): WARNINGS.append("You d...
def SetDifference(add, sub): set = {} for x in add: set[x]=1 for x in sub: if (set.has_key(x)): del set[x] return set.keys()
bc5fc1af0298e68a51a18dc8bc8da9f86c4f411e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8543/bc5fc1af0298e68a51a18dc8bc8da9f86c4f411e/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1000, 16220, 12, 1289, 16, 720, 4672, 444, 273, 2618, 364, 619, 316, 527, 30, 444, 63, 92, 65, 33, 21, 364, 619, 316, 720, 30, 309, 261, 542, 18, 5332, 67, 856, 12, 92, 3719, 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, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1000, 16220, 12, 1289, 16, 720, 4672, 444, 273, 2618, 364, 619, 316, 527, 30, 444, 63, 92, 65, 33, 21, 364, 619, 316, 720, 30, 309, 261, 542, 18, 5332, 67, 856, 12, 92, 3719, 30, ...
alg - "pari" or "maxima" or "scipy"
algorithm - "pari" or "maxima" or "scipy"
def bessel_I(nu,z,alg = "pari",prec=53): r""" Implements the "I-Bessel function", or "modified Bessel function, 1st kind", with index (or "order") nu and argument z. INPUT: nu -- a real (or complex, for pari) number z -- a real (positive) alg - "pari" or "maxima" or "scipy" prec - real precision (for Pari only) DEFI...
6634f9ab85d7944da6788aaab93ffaa3f22ce5ac /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/6634f9ab85d7944da6788aaab93ffaa3f22ce5ac/special.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 324, 403, 292, 67, 45, 12, 13053, 16, 94, 16, 18413, 273, 315, 1065, 77, 3113, 4036, 33, 8643, 4672, 436, 8395, 29704, 326, 315, 45, 17, 38, 403, 292, 445, 3113, 578, 315, 7342, 605,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 324, 403, 292, 67, 45, 12, 13053, 16, 94, 16, 18413, 273, 315, 1065, 77, 3113, 4036, 33, 8643, 4672, 436, 8395, 29704, 326, 315, 45, 17, 38, 403, 292, 445, 3113, 578, 315, 7342, 605,...
res.append('<a href="/invoice/%d">Owes $%.2f</a>'%( p.valid_invoice().id, p.valid_invoice().total()/100.0) )
if p.valid_invoice().paid(): res.append('<a href="/invoice/%d">Paid $%.2f</a>'%( p.valid_invoice().id, p.valid_invoice().total()/100.0) ) else: res.append('<a href="/invoice/%d">Owes $%.2f</a>'%( p.valid_invoice().id, p.valid_invoice().total()/100.0) )
def registered_speakers(self): """ Listing of speakers and various stuff about them [Speakers] """ c.data = [] c.noescape = True cons_list = ('speaker_record', 'speaker_video_release', 'speaker_slides_release') speaker_list = [] for p in self.dbsession.query(Person).all(): if not p.is_speaker(): continue speaker_list.a...
96f61c98aef74ae9a9405a119669ae58925be2b6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12856/96f61c98aef74ae9a9405a119669ae58925be2b6/admin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4104, 67, 87, 10244, 414, 12, 2890, 4672, 3536, 987, 310, 434, 272, 10244, 414, 471, 11191, 10769, 2973, 2182, 306, 31028, 414, 65, 3536, 276, 18, 892, 273, 5378, 276, 18, 2135, 6939, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4104, 67, 87, 10244, 414, 12, 2890, 4672, 3536, 987, 310, 434, 272, 10244, 414, 471, 11191, 10769, 2973, 2182, 306, 31028, 414, 65, 3536, 276, 18, 892, 273, 5378, 276, 18, 2135, 6939, ...
print LibFiles if EasyDialogs.AskYesNoCancel('Proceed with creating new ones?') <= 0: sys.exit(0) for dst, src in goals: if src in LibFiles: mkalias(src, dst) else: EasyDialogs.Message(dst+' not created: '+src+' not found') EasyDialogs.Message('All done!') if __name__ == '__main__': main()
def main(): # Ask the user for the plugins directory dir, ok = macfs.GetDirectory() if not ok: sys.exit(0) os.chdir(dir.as_pathname()) # Remove old .slb aliases and collect a list of .slb files if EasyDialogs.AskYesNoCancel('Proceed with removing old aliases?') <= 0: sys.exit(0) LibFiles = [] allfiles = os.listdir(':'...
964b9fd985c3eb26a65b0c9dce5284148674de08 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/964b9fd985c3eb26a65b0c9dce5284148674de08/fixfiletypes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 468, 25747, 326, 729, 364, 326, 4799, 1867, 1577, 16, 1529, 273, 5318, 2556, 18, 967, 2853, 1435, 309, 486, 1529, 30, 2589, 18, 8593, 12, 20, 13, 1140, 18, 343, 1214, 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, 2774, 13332, 468, 25747, 326, 729, 364, 326, 4799, 1867, 1577, 16, 1529, 273, 5318, 2556, 18, 967, 2853, 1435, 309, 486, 1529, 30, 2589, 18, 8593, 12, 20, 13, 1140, 18, 343, 1214, 12, ...
"""grad: Test returning a single None from grad"""
"""grad: Test returning a single zero value from grad"""
def test_1None_rval(self): """grad: Test returning a single None from grad""" o = test_grad.O() a1 = o.make_node() g = grad(a1.outputs[0], a1.outputs[1]) self.failUnless(isinstance(g, TensorConstant)) self.failUnless(g.data == 0) try: grad(a1.outputs[0], 'wtf') except AttributeError, e: return self.fail()
91aecc4081d364c8fda2dac7277838b7622caf7c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/91aecc4081d364c8fda2dac7277838b7622caf7c/test_basic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 21, 7036, 67, 86, 1125, 12, 2890, 4672, 3536, 9974, 30, 7766, 5785, 279, 2202, 3634, 460, 628, 6058, 8395, 320, 273, 1842, 67, 9974, 18, 51, 1435, 279, 21, 273, 320, 18, 65...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21, 7036, 67, 86, 1125, 12, 2890, 4672, 3536, 9974, 30, 7766, 5785, 279, 2202, 3634, 460, 628, 6058, 8395, 320, 273, 1842, 67, 9974, 18, 51, 1435, 279, 21, 273, 320, 18, 65...
if newnick.startswith(cfg.irc_to_dc_prefix):
if newnick.startswith(cfg.dc_to_irc_prefix):
def handleCmd_NICK(self, prefix, args):
093160821cfe59477856b4c533d11acb31bd2801 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4752/093160821cfe59477856b4c533d11acb31bd2801/bridge_server.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 5931, 67, 50, 16656, 12, 2890, 16, 1633, 16, 833, 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...
[ 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, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 5931, 67, 50, 16656, 12, 2890, 16, 1633, 16, 833, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
prefix = "error:"
parts.append("error:") if lineno is not None: parts.append("%d:"%lineno) if offset is not None: parts.append("%d:"%offset) prefix = "".join(parts)
def _print_error(msg, lineno=None, offset=None, fname=None): """Emit error messages to stderr.""" parts = [] if fname is not None: parts.append("%s:"%fname) if lineno is not None: parts.append("%d:"%lineno) if offset is not None: parts.append("%d:"%offset) prefix = "".join(parts) else: prefix = "error:" if prefix: pref...
a99d361cbe005b170b9ffdee4750838f22cefcb5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11302/a99d361cbe005b170b9ffdee4750838f22cefcb5/grammar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1188, 67, 1636, 12, 3576, 16, 7586, 33, 7036, 16, 1384, 33, 7036, 16, 5299, 33, 7036, 4672, 3536, 17982, 555, 2743, 358, 4514, 12123, 2140, 273, 5378, 309, 5299, 353, 486, 599, 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, 389, 1188, 67, 1636, 12, 3576, 16, 7586, 33, 7036, 16, 1384, 33, 7036, 16, 5299, 33, 7036, 4672, 3536, 17982, 555, 2743, 358, 4514, 12123, 2140, 273, 5378, 309, 5299, 353, 486, 599, 30...
void LoadConfig(ProcessingConfig & config, const std::string & xmlContent) { std::istringstream os(xmlContent); CLAM::XMLStorage::Restore(config, os); }
def getCode(self, name="NetworkFiller") : return ("""\
606c69200c63b4cff536a8bd0d10957b9ff23f74 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1456/606c69200c63b4cff536a8bd0d10957b9ff23f74/clamnetwork2code.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6583, 12, 2890, 16, 508, 1546, 3906, 8026, 264, 7923, 294, 327, 261, 8395, 64, 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, 6583, 12, 2890, 16, 508, 1546, 3906, 8026, 264, 7923, 294, 327, 261, 8395, 64, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Reads files in binary format. """ fo = open(path, 'rb') try: contents = fo.read() finally: fo.close() return contents
def LocalPath(self): return self.path
def ReadFile(path): """Given a path, returns the full contents of the file. Reads files in binary format. """ fo = open(path, 'rb') try: contents = fo.read() finally: fo.close() return contents
678fb69daf02e450d549d100e62683d66bded4a6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5060/678fb69daf02e450d549d100e62683d66bded4a6/PRESUBMIT_unittest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15773, 12, 803, 4672, 3536, 6083, 279, 589, 16, 1135, 326, 1983, 2939, 434, 326, 585, 18, 225, 1652, 3566, 743, 12, 2890, 4672, 327, 365, 18, 803, 282, 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, 15773, 12, 803, 4672, 3536, 6083, 279, 589, 16, 1135, 326, 1983, 2939, 434, 326, 585, 18, 225, 1652, 3566, 743, 12, 2890, 4672, 327, 365, 18, 803, 282, 2, -100, -100, -100, -100, -100,...
self.setup_ortho_plane(cur_pipe) self.update_3d_plane(cur_pipe, 0) if len(self._ortho_pipes[i]) == 1: self._pws[i].SetProp3D(cur_pipe['vtkActor3']) if i == 0: self._pws[i].NormalToZAxisOn() elif i == 1: self._pws[i].NormalToXAxisOn() else: self._pws[i].NormalToYAxisOn() self._pws[i].SetResolution(20) self._pws[i].Set...
self._reset_ortho_overlay(i, cur_pipe) self._renderers[0].ResetCamera() self._rwis[0].Render()
def set_input(self, idx, input_stream): if input_stream == None:
9b793798dc7232330a2d42bbfc04d416e51d9534 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4494/9b793798dc7232330a2d42bbfc04d416e51d9534/vtk_slice_vwr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 2630, 12, 2890, 16, 2067, 16, 810, 67, 3256, 4672, 309, 810, 67, 3256, 422, 599, 30, 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, 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, 444, 67, 2630, 12, 2890, 16, 2067, 16, 810, 67, 3256, 4672, 309, 810, 67, 3256, 422, 599, 30, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
return
return False
def restore_item(item, frame): global fles if not item.frames_info.has_key(frame): return modif = item.frames_info[frame].copy() if modif.has_key('delete'): item.canvas_item.get_property("parent").destroy() fles.framelist.remove(item) return if (modif.has_key('create') or (fles.gcomprisBoard.mode == 'draw')): if modif....
706fa09d626e044d7e0c6386807d3afa21cefb88 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11306/706fa09d626e044d7e0c6386807d3afa21cefb88/anim.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5217, 67, 1726, 12, 1726, 16, 2623, 4672, 2552, 284, 1040, 309, 486, 761, 18, 10278, 67, 1376, 18, 5332, 67, 856, 12, 3789, 4672, 327, 1083, 681, 430, 273, 761, 18, 10278, 67, 1376, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5217, 67, 1726, 12, 1726, 16, 2623, 4672, 2552, 284, 1040, 309, 486, 761, 18, 10278, 67, 1376, 18, 5332, 67, 856, 12, 3789, 4672, 327, 1083, 681, 430, 273, 761, 18, 10278, 67, 1376, ...
if len(secondaries_to_keep) == secondaries_needed:
if len(secondaries_to_keep) >= secondaries_needed:
def DisableUnwantedServers(self, target_count=None, delete_unwanted=False): """Given a target count, delete nameservers that we do not plan to test.""" if not target_count: target_count = self.num_servers
2679a8ba86957ef2eadea5d71397e45973014d18 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4170/2679a8ba86957ef2eadea5d71397e45973014d18/nameserver_list.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10639, 984, 25861, 11913, 12, 2890, 16, 1018, 67, 1883, 33, 7036, 16, 1430, 67, 318, 25861, 33, 8381, 4672, 3536, 6083, 279, 1018, 1056, 16, 1430, 1257, 29638, 716, 732, 741, 486, 4995, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10639, 984, 25861, 11913, 12, 2890, 16, 1018, 67, 1883, 33, 7036, 16, 1430, 67, 318, 25861, 33, 8381, 4672, 3536, 6083, 279, 1018, 1056, 16, 1430, 1257, 29638, 716, 732, 741, 486, 4995, ...
T_p, with p prime, up to bound.
`T_p`, with `p` prime, up to bound.
def decomposition(self, bound=None, anemic=True, height_guess=1, proof=None): """ Returns the maximal decomposition of this Hecke module under the action of Hecke operators of index coprime to the level. This is the finest decomposition of self that we can obtain using factors obtained by taking kernels of Hecke operat...
29d1e6440f7dc29d2174f31d1481272091bf29ec /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/29d1e6440f7dc29d2174f31d1481272091bf29ec/module.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26288, 12, 2890, 16, 2489, 33, 7036, 16, 392, 351, 335, 33, 5510, 16, 2072, 67, 20885, 33, 21, 16, 14601, 33, 7036, 4672, 3536, 2860, 326, 943, 2840, 26288, 434, 333, 670, 762, 73, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26288, 12, 2890, 16, 2489, 33, 7036, 16, 392, 351, 335, 33, 5510, 16, 2072, 67, 20885, 33, 21, 16, 14601, 33, 7036, 4672, 3536, 2860, 326, 943, 2840, 26288, 434, 333, 670, 762, 73, 1...
open("/tmp/aze","w").write(gr)
def minmax(x): m,M = min(x),max(x) if m == M: m = 0 if M == 0: M = 1 return m,M
852e68942169917d4b1e10af3a7db7a1b54af96f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7311/852e68942169917d4b1e10af3a7db7a1b54af96f/plist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 30112, 12, 92, 4672, 312, 16, 49, 273, 1131, 12, 92, 3631, 1896, 12, 92, 13, 309, 312, 422, 490, 30, 312, 273, 374, 309, 490, 422, 374, 30, 490, 273, 404, 327, 312, 16, 49, 2, 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, 1, 1, 1, 1, 1, 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, 30112, 12, 92, 4672, 312, 16, 49, 273, 1131, 12, 92, 3631, 1896, 12, 92, 13, 309, 312, 422, 490, 30, 312, 273, 374, 309, 490, 422, 374, 30, 490, 273, 404, 327, 312, 16, 49, 2, -1...
self._closer = closer
def __init__(self, sock, mode, closer): if mode not in ("r", "w", "rw"): raise ValueError("invalid mode: %r" % mode) io.RawIOBase.__init__(self) self._sock = sock self._mode = mode self._closer = closer self._reading = "r" in mode self._writing = "w" in mode closer.makefile_open()
194c4e2719235e333e077df932bbe12100ac1977 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8125/194c4e2719235e333e077df932bbe12100ac1977/socket.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 7313, 16, 1965, 16, 13306, 4672, 309, 1965, 486, 316, 7566, 86, 3113, 315, 91, 3113, 315, 21878, 6, 4672, 1002, 2068, 2932, 5387, 1965, 30, 738, 86, 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, 2738, 972, 12, 2890, 16, 7313, 16, 1965, 16, 13306, 4672, 309, 1965, 486, 316, 7566, 86, 3113, 315, 91, 3113, 315, 21878, 6, 4672, 1002, 2068, 2932, 5387, 1965, 30, 738, 86, 6, ...
if (axis == PL_Y_AXIS and value == 0.0) :
if (axis == 2 and value == 0.0) :
def geolocation_labeler(axis, value, data): if (axis == PL_Y_AXIS) : label_val = value if (label_val > 0.0) : direction_label = " N" elif (label_val < 0.0) : direction_label = " S" else : direction_label = "Eq" elif (axis == PL_X_AXIS) : label_val = normalize_longitude(value) if (label_val > 0.0) : direction_label = "...
2a57dd16068d23be8a38c537aa761bf52acb234c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2933/2a57dd16068d23be8a38c537aa761bf52acb234c/xw19.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8244, 355, 4431, 67, 1925, 264, 12, 4890, 16, 460, 16, 501, 4672, 309, 261, 4890, 422, 22443, 67, 61, 67, 25614, 13, 294, 1433, 67, 1125, 273, 460, 309, 261, 1925, 67, 1125, 405, 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, 8244, 355, 4431, 67, 1925, 264, 12, 4890, 16, 460, 16, 501, 4672, 309, 261, 4890, 422, 22443, 67, 61, 67, 25614, 13, 294, 1433, 67, 1125, 273, 460, 309, 261, 1925, 67, 1125, 405, 374...
'[0123456789]*', cacheSize=20)
'[0123456789\-]*', cacheSize=20)
def ensureDir(dirname): try: os.mkdir(dirname) except OSError, e: if e.errno != errno.EEXIST: raise
315dc912110106db01c29f6360e4f6c6e66103e9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9857/315dc912110106db01c29f6360e4f6c6e66103e9/pop3proxy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3387, 1621, 12, 12287, 4672, 775, 30, 1140, 18, 26686, 12, 12287, 13, 1335, 10002, 16, 425, 30, 309, 425, 18, 19088, 480, 8402, 18, 41, 11838, 30, 1002, 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, 3387, 1621, 12, 12287, 4672, 775, 30, 1140, 18, 26686, 12, 12287, 13, 1335, 10002, 16, 425, 30, 309, 425, 18, 19088, 480, 8402, 18, 41, 11838, 30, 1002, 2, -100, -100, -100, -100, -100...
wdef['widgetclass'] = atmaps.WIDGET_MAP[fieldtype]
wdef['widgetclass'] = atmaps.WIDGET_MAP[ctype]
wdef = odict()
ecaaef3725408ed24c48f638a0d6094897700961 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11941/ecaaef3725408ed24c48f638a0d6094897700961/ArchetypesGenerator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 341, 536, 273, 320, 1576, 1435, 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, 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, 341, 536, 273, 320, 1576, 1435, 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, -10...
self.wanted_instances.append(instance)
self.wanted_instances.append(instance)
def CheckPrereq(self): """Check prerequisites.
515207afc8052cd4bbf261e20ac691312e6b222a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7542/515207afc8052cd4bbf261e20ac691312e6b222a/cmdlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2073, 2050, 822, 85, 12, 2890, 4672, 3536, 1564, 30328, 16608, 2997, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2073, 2050, 822, 85, 12, 2890, 4672, 3536, 1564, 30328, 16608, 2997, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
docs = codeassist.get_doc( self.project, self._get_text(), offset, resource)
maxfixes = lisp['ropemacs-codeassist-maxfixes'].value() docs = codeassist.get_doc(self.project, self._get_text(), offset, resource, maxfixes=maxfixes)
def show_doc(self): self._check_project() resource, offset = self._get_location() docs = codeassist.get_doc( self.project, self._get_text(), offset, resource) buffer = lisputils.make_buffer('*rope-pydoc*', docs, empty_goto=False) lisp.local_set_key('q', lisp.bury_buffer)
ff7ebc8068f272fdb84705d4cc978668971bf456 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8283/ff7ebc8068f272fdb84705d4cc978668971bf456/interface.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 67, 2434, 12, 2890, 4672, 365, 6315, 1893, 67, 4406, 1435, 1058, 16, 1384, 273, 365, 6315, 588, 67, 3562, 1435, 943, 904, 281, 273, 328, 23831, 3292, 303, 347, 5821, 87, 17, 710,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2405, 67, 2434, 12, 2890, 4672, 365, 6315, 1893, 67, 4406, 1435, 1058, 16, 1384, 273, 365, 6315, 588, 67, 3562, 1435, 943, 904, 281, 273, 328, 23831, 3292, 303, 347, 5821, 87, 17, 710,...
info('Failed to read file "%s": %s.' % (log_path, detail)) return
info('failed to read file "%s": %s' % (log_path, detail)) raise SystemExit
def run (self): """Remove files.""" print UNINSTALL_WARNING response = raw_input('Continue [y/N]? ') if response.lower() != 'y': return
81889475a41d52b6cb1972ded80f1bb6d56539d3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12852/81889475a41d52b6cb1972ded80f1bb6d56539d3/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 261, 2890, 4672, 3536, 3288, 1390, 12123, 225, 1172, 5019, 28865, 67, 9511, 766, 273, 1831, 67, 2630, 2668, 12378, 306, 93, 19, 50, 26717, 8624, 309, 766, 18, 8167, 1435, 480, 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, 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, 1086, 261, 2890, 4672, 3536, 3288, 1390, 12123, 225, 1172, 5019, 28865, 67, 9511, 766, 273, 1831, 67, 2630, 2668, 12378, 306, 93, 19, 50, 26717, 8624, 309, 766, 18, 8167, 1435, 480, 296,...
'cellpadding'] allowed_tag_whitelist += ['img', 'table', 'td', 'tr', 'th', 'span', 'caption']
'cellpadding') allowed_tag_whitelist += ('img', 'table', 'td', 'tr', 'th', 'span', 'caption')
def escape_field(value, mode=0): """ Utility function used to escape the value of a field in given mode. - mode 0: no escaping - mode 1: escaping all HTML/XML characters (escaped chars are shown as escaped) - mode 2: escaping unsafe HTML tags to avoid XSS, but keep basic one (such as <br />) Escaped tags are removed. ...
d8e0708a3dba205167837144752ce142cd221cef /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2763/d8e0708a3dba205167837144752ce142cd221cef/bibformat_engine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4114, 67, 1518, 12, 1132, 16, 1965, 33, 20, 4672, 3536, 13134, 445, 1399, 358, 4114, 326, 460, 434, 279, 652, 316, 864, 1965, 18, 225, 300, 1965, 374, 30, 1158, 20604, 300, 1965, 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, 4114, 67, 1518, 12, 1132, 16, 1965, 33, 20, 4672, 3536, 13134, 445, 1399, 358, 4114, 326, 460, 434, 279, 652, 316, 864, 1965, 18, 225, 300, 1965, 374, 30, 1158, 20604, 300, 1965, 404, ...
def addId(self, node, inFunction, assembledId, assembled, runtime, loadtime, lineno, variants):
def addId(self, inFunction, assembledId, runtime, loadtime, lineno):
def addId(self, node, inFunction, assembledId, assembled, runtime, loadtime, lineno, variants): if inFunction: target = runtime else: target = loadtime
b87796f65a11647c85c114278f31f6753c2d2f7d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5718/b87796f65a11647c85c114278f31f6753c2d2f7d/Class.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 548, 12, 2890, 16, 316, 2083, 16, 20489, 1259, 548, 16, 3099, 16, 1262, 957, 16, 7586, 4672, 309, 316, 2083, 30, 1018, 273, 3099, 469, 30, 1018, 273, 1262, 957, 2, 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, 1, 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, 527, 548, 12, 2890, 16, 316, 2083, 16, 20489, 1259, 548, 16, 3099, 16, 1262, 957, 16, 7586, 4672, 309, 316, 2083, 30, 1018, 273, 3099, 469, 30, 1018, 273, 1262, 957, 2, -100, -100, -...
self.check_sizeof([], h + l + p + l) self.check_sizeof([1, 2, 3], h + l + p + l + 3*l)
self.check_sizeof([], size(h + 'lPP')) self.check_sizeof([1, 2, 3], size(h + 'lPP') + 3*self.P)
def test_specialtypes(self): i = self.i l = self.l p = self.p h = self.headersize # dict self.check_sizeof({}, h + 3*l + 3*p + 8*(l + 2*p)) longdict = {1:1, 2:2, 3:3, 4:4, 5:5, 6:6, 7:7, 8:8} self.check_sizeof(longdict, h + 3*l + 3*p + 8*(l + 2*p) + 16*(l + 2*p)) # list self.check_sizeof([], h + l + p + l) self.check_s...
41a7ce0a2eee3580ab22cb5e90413d34cf7a0a61 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8546/41a7ce0a2eee3580ab22cb5e90413d34cf7a0a61/test_sys.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 9371, 2352, 12, 2890, 4672, 277, 273, 365, 18, 77, 328, 273, 365, 18, 80, 293, 273, 365, 18, 84, 366, 273, 365, 18, 2485, 554, 468, 2065, 365, 18, 1893, 67, 1467, 792, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9371, 2352, 12, 2890, 4672, 277, 273, 365, 18, 77, 328, 273, 365, 18, 80, 293, 273, 365, 18, 84, 366, 273, 365, 18, 2485, 554, 468, 2065, 365, 18, 1893, 67, 1467, 792, 23...
res = ''
diff = ''
def do_diff(): res = '' for card in CODEC_TREE: for codec in CODEC_TREE[card]: res += do_diff1(CODEC_TREE[card][codec], DIFF_TREE[card][codec]) return res
de59d91d74ad6a1ba31ce2e92e458f0ddfe21a5b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7188/de59d91d74ad6a1ba31ce2e92e458f0ddfe21a5b/hda_analyzer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 5413, 13332, 3122, 273, 875, 364, 5270, 316, 11128, 39, 67, 26557, 30, 364, 9196, 316, 11128, 39, 67, 26557, 63, 3327, 14542, 400, 1011, 741, 67, 5413, 21, 12, 5572, 39, 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, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 5413, 13332, 3122, 273, 875, 364, 5270, 316, 11128, 39, 67, 26557, 30, 364, 9196, 316, 11128, 39, 67, 26557, 63, 3327, 14542, 400, 1011, 741, 67, 5413, 21, 12, 5572, 39, 67, ...
print "Reset called - had %d code blocks" % (len(self.codeBlocks))
def Reset(self): print "Reset called - had %d code blocks" % (len(self.codeBlocks)) # Reset all code-blocks that are persistent, and discard the rest oldCodeBlocks = self.codeBlocks[:] self.codeBlocks = [] for b in oldCodeBlocks: if b.flags & SCRIPTTEXT_ISPERSISTENT: b.beenExecuted = 0 self.codeBlocks.append(b) return ...
c80d1775dd58166357017cdd31d3d287eea5d1b8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/677/c80d1775dd58166357017cdd31d3d287eea5d1b8/pyscript.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7151, 12, 2890, 4672, 468, 7151, 777, 981, 17, 7996, 716, 854, 9195, 16, 471, 10388, 326, 3127, 1592, 1085, 6450, 273, 365, 18, 710, 6450, 10531, 65, 365, 18, 710, 6450, 273, 5378, 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, 7151, 12, 2890, 4672, 468, 7151, 777, 981, 17, 7996, 716, 854, 9195, 16, 471, 10388, 326, 3127, 1592, 1085, 6450, 273, 365, 18, 710, 6450, 10531, 65, 365, 18, 710, 6450, 273, 5378, 364...
return __getPackageNames(self, group, ("optional"))
return self.__getPackageNames(group, ["optional"])
def getOptionalPackageNames(self, group): return __getPackageNames(self, group, ("optional"))
70f0b239ba637f093406eeb047488b326fb1c44a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1143/70f0b239ba637f093406eeb047488b326fb1c44a/io.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5651, 287, 2261, 1557, 12, 2890, 16, 1041, 4672, 327, 1001, 588, 2261, 1557, 12, 2890, 16, 1041, 16, 7566, 10444, 6, 3719, 2, 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, 5651, 287, 2261, 1557, 12, 2890, 16, 1041, 4672, 327, 1001, 588, 2261, 1557, 12, 2890, 16, 1041, 16, 7566, 10444, 6, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
return self._imported._all.annotations
return self._imported.own.annotations
def annotations(self): if not self._imported: raise UnreachableImportError(self._id) return self._imported._all.annotations
46078d9a93aa41d0d58630f0427916f90830a36b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11977/46078d9a93aa41d0d58630f0427916f90830a36b/import_.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5617, 12, 2890, 4672, 309, 486, 365, 6315, 29266, 30, 1002, 1351, 17246, 5010, 668, 12, 2890, 6315, 350, 13, 327, 365, 6315, 29266, 6315, 454, 18, 14670, 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, 0, 0, 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, 5617, 12, 2890, 4672, 309, 486, 365, 6315, 29266, 30, 1002, 1351, 17246, 5010, 668, 12, 2890, 6315, 350, 13, 327, 365, 6315, 29266, 6315, 454, 18, 14670, 2, -100, -100, -100, -100, -100,...
def writen(fd, data):
def _writen(fd, data):
def writen(fd, data): """Write all the data to a descriptor.""" while data != '': n = os.write(fd, data) data = data[n:]
6d951f735b4c1c2eb40969ba36833572e3d1105e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/6d951f735b4c1c2eb40969ba36833572e3d1105e/pty.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5363, 275, 12, 8313, 16, 501, 4672, 3536, 3067, 777, 326, 501, 358, 279, 4950, 12123, 1323, 501, 480, 875, 30, 290, 273, 1140, 18, 2626, 12, 8313, 16, 501, 13, 501, 273, 501, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5363, 275, 12, 8313, 16, 501, 4672, 3536, 3067, 777, 326, 501, 358, 279, 4950, 12123, 1323, 501, 480, 875, 30, 290, 273, 1140, 18, 2626, 12, 8313, 16, 501, 13, 501, 273, 501, 63...
val = ('%'+self.fmt) % val
fmt=self.fmt if fmt=='s': val=str(val) else: val = ('%'+self.fmt) % (val,)
def render(self, md):
bbb979a9bb87723383f645121f927b77a20e734b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/bbb979a9bb87723383f645121f927b77a20e734b/DT_Var.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 3481, 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, ...
[ 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, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 3481, 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, -10...
comment = comment + str str = ''
token = string.join(token, '') tokens.append((2, token)) token = []
def parseaddr(address): import string str = '' email = '' comment = '' backslash = 0 dquote = 0 space = 0 paren = 0 bracket = 0 seen_bracket = 0 for c in address: if backslash: str = str + c backslash = 0 continue if c == '\\': backslash = 1 continue if dquote: if c == '"': dquote = 0 else: str = str + c continue if c ...
a27c46cb14f5161823e8286256b61e46ad0634c5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/a27c46cb14f5161823e8286256b61e46ad0634c5/rfc822.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 4793, 12, 2867, 4672, 1930, 533, 609, 273, 875, 2699, 273, 875, 2879, 273, 875, 23253, 273, 374, 302, 6889, 273, 374, 3476, 273, 374, 22146, 273, 374, 9843, 273, 374, 5881, 67, 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, 1109, 4793, 12, 2867, 4672, 1930, 533, 609, 273, 875, 2699, 273, 875, 2879, 273, 875, 23253, 273, 374, 302, 6889, 273, 374, 3476, 273, 374, 22146, 273, 374, 9843, 273, 374, 5881, 67, 2...
return this_function(digits)
changed = this_function(digits) coeff = self._int[:digits] or '0' if changed == 1: coeff = str(int(coeff)+1) return _dec_from_triple(self._sign, coeff, exp)
def _rescale(self, exp, rounding): """Rescale self so that the exponent is exp, either by padding with zeros or by truncating digits, using the given rounding mode.
2ec7415db5ad63c4e4b27ee793214071454f6fe5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/2ec7415db5ad63c4e4b27ee793214071454f6fe5/decimal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 455, 1869, 12, 2890, 16, 1329, 16, 13885, 4672, 3536, 607, 1869, 365, 1427, 716, 326, 9100, 353, 1329, 16, 3344, 635, 4992, 598, 4922, 578, 635, 6956, 1776, 6815, 16, 1450, 326, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 455, 1869, 12, 2890, 16, 1329, 16, 13885, 4672, 3536, 607, 1869, 365, 1427, 716, 326, 9100, 353, 1329, 16, 3344, 635, 4992, 598, 4922, 578, 635, 6956, 1776, 6815, 16, 1450, 326, 8...
color = self.colorMap.get(code,0) stringColorPairs.append((string, color))
color, attr = self.colorMap.get(code,(0, curses.A_NORMAL)) stringColorPairs.append((string, color, attr))
def updateCurrentLine(self, s): suggestions = {} try: lineTokens = self.cs164bparser.tokenize(s) if lineTokens: suggestions = dict(interpreter.complete(lineTokens[-1])) except NameError, e: lineTokens = [] #TODO color line red
543ec7978794ecc1dd38f569f6c58527aae41648 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11578/543ec7978794ecc1dd38f569f6c58527aae41648/repl.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 3935, 1670, 12, 2890, 16, 272, 4672, 17969, 273, 2618, 775, 30, 980, 5157, 273, 365, 18, 2143, 23147, 70, 4288, 18, 2316, 554, 12, 87, 13, 309, 980, 5157, 30, 17969, 273, 2065, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1089, 3935, 1670, 12, 2890, 16, 272, 4672, 17969, 273, 2618, 775, 30, 980, 5157, 273, 365, 18, 2143, 23147, 70, 4288, 18, 2316, 554, 12, 87, 13, 309, 980, 5157, 30, 17969, 273, 2065, ...
if maxcharges > 0:
if maxcharges > 0:
def onDropOnItem( book, item ): char = item.container if isrunebook( book ): if isrune(item) and item.hastag('marked'): # initialize rune serials to -1 if there's no rune # should not occur - will be removed later for i in range( 0, 16 ): if not book.hastag( "rune %i" % i ): book.settag( "rune %i" % i, -1 ) # rune se...
ebd8e7c80888e4f968c7d7a2a320ced4b81c764f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2534/ebd8e7c80888e4f968c7d7a2a320ced4b81c764f/runebook.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 7544, 1398, 1180, 12, 6978, 16, 761, 262, 30, 1149, 273, 761, 18, 3782, 225, 309, 353, 2681, 73, 3618, 12, 6978, 262, 30, 309, 353, 2681, 73, 12, 1726, 13, 471, 761, 18, 76, 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, 603, 7544, 1398, 1180, 12, 6978, 16, 761, 262, 30, 1149, 273, 761, 18, 3782, 225, 309, 353, 2681, 73, 3618, 12, 6978, 262, 30, 309, 353, 2681, 73, 12, 1726, 13, 471, 761, 18, 76, 6...
message = FGlobals.imageComparator.GetMessage( compareResults)
message = FGlobals.imageComparator.GetMessage(compareResults)
def __CompileResult(self, testProcedure, execution): if (execution == None): return # Prepare the result structure. result = FResult() history = self.__GetHistoryFilenames() try: currentIndex = history.index(execution.GetExecutionDir()) previousIndex = currentIndex + 1 if (previousIndex >= len(history)): previous = N...
812120875bbb3b45be5fedb1694c62d50a11c572 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11176/812120875bbb3b45be5fedb1694c62d50a11c572/FTest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 9937, 1253, 12, 2890, 16, 1842, 17213, 16, 4588, 4672, 309, 261, 16414, 422, 599, 4672, 327, 225, 468, 7730, 326, 563, 3695, 18, 563, 273, 478, 1253, 1435, 225, 4927, 273, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 9937, 1253, 12, 2890, 16, 1842, 17213, 16, 4588, 4672, 309, 261, 16414, 422, 599, 4672, 327, 225, 468, 7730, 326, 563, 3695, 18, 563, 273, 478, 1253, 1435, 225, 4927, 273, 365, 1...
kwds = {'hints':{'align':info['align'], 'size':info['size'], 'fieldoffsets':tuple(fieldoffsets), 'padding':tuple(padfields)}}
else: hints['typedef'] = True kwds = {'hints': hints}
if self.ifdef is not None: if not info['defined']: return None
f6b8ee2ee8aeb450479cdd077de6f06790f95dac /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6934/f6b8ee2ee8aeb450479cdd077de6f06790f95dac/rffi_platform.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 309, 365, 18, 430, 536, 353, 486, 599, 30, 309, 486, 1123, 3292, 2178, 3546, 30, 327, 599, 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, ...
[ 1, 1, 1, 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, 309, 365, 18, 430, 536, 353, 486, 599, 30, 309, 486, 1123, 3292, 2178, 3546, 30, 327, 599, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
this = apply(_quickfix.new_LegCreditRating, args)
this = _quickfix.new_LegCreditRating(*args)
def __init__(self, *args): this = apply(_quickfix.new_LegCreditRating, args) try: self.this.append(this) except: self.this = this
7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 8329, 16520, 20388, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 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, 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, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 8329, 16520, 20388, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, ...
parser.add_argument("obj", nargs="+", help="""Objects to be deleted in the form "<Classs>:<Id>""")
parser.add_argument("--wait", type=long, help="""Number of seconds to wait for the delete to complete (Indefinite < 0; No wait=0).""", default=-1) parser.add_argument("--list", action="store_true", help="""Print a list of all available delete specs""") parser.add_argument("--list-details", action="store_true", help="""...
def _configure(self, parser): parser.add_argument("obj", nargs="+", help="""Objects to be deleted in the form "<Classs>:<Id>""") parser.set_defaults(func=self.delete)
5a21c258d0166b1d8df09767aa8764e608d3ee72 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12409/5a21c258d0166b1d8df09767aa8764e608d3ee72/delete.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 14895, 12, 2890, 16, 2082, 4672, 2082, 18, 1289, 67, 3446, 2932, 413, 7048, 3113, 618, 33, 5748, 16, 2809, 1546, 3660, 1854, 434, 3974, 358, 2529, 364, 326, 1430, 358, 3912, 261, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14895, 12, 2890, 16, 2082, 4672, 2082, 18, 1289, 67, 3446, 2932, 413, 7048, 3113, 618, 33, 5748, 16, 2809, 1546, 3660, 1854, 434, 3974, 358, 2529, 364, 326, 1430, 358, 3912, 261, ...
ph = patchheader(repo.mq.join(patch))
ph = patchheader(q.join(patch), q.plainmode)
def header(ui, repo, patch=None): """print the header of the topmost or specified patch""" q = repo.mq if patch: patch = q.lookup(patch) else: if not q.applied: ui.write('no patches applied\n') return 1 patch = q.lookup('qtip') ph = patchheader(repo.mq.join(patch)) ui.write('\n'.join(ph.message) + '\n')
082f62b807870ea255f0377e87610855e28ae8b4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11312/082f62b807870ea255f0377e87610855e28ae8b4/mq.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1446, 12, 4881, 16, 3538, 16, 4729, 33, 7036, 4672, 3536, 1188, 326, 1446, 434, 326, 1760, 10329, 578, 1269, 4729, 8395, 1043, 273, 3538, 18, 11636, 225, 309, 4729, 30, 4729, 273, 1043, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1446, 12, 4881, 16, 3538, 16, 4729, 33, 7036, 4672, 3536, 1188, 326, 1446, 434, 326, 1760, 10329, 578, 1269, 4729, 8395, 1043, 273, 3538, 18, 11636, 225, 309, 4729, 30, 4729, 273, 1043, ...
pass
pass
def invoke(self, tex): res = Environment.invoke(self, tex) if self.macroMode == self.MODE_BEGIN: a = self.attributes['place'].lower() if a in ['r','o']: self.float = 'right' return res
bc0cd7129181f2ae93e4fb84dffab96e9678a315 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7864/bc0cd7129181f2ae93e4fb84dffab96e9678a315/wrapfig.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4356, 12, 2890, 16, 16573, 4672, 400, 273, 7518, 18, 14407, 12, 2890, 16, 16573, 13, 309, 365, 18, 26448, 2309, 422, 365, 18, 7038, 67, 16061, 30, 279, 273, 365, 18, 4350, 3292, 964, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4356, 12, 2890, 16, 16573, 4672, 400, 273, 7518, 18, 14407, 12, 2890, 16, 16573, 13, 309, 365, 18, 26448, 2309, 422, 365, 18, 7038, 67, 16061, 30, 279, 273, 365, 18, 4350, 3292, 964, ...
index = index + 1
index = index + 1
def word2ASCII(self, unicode_text): index = 0 prebase_letter = "" ascii_text="" self.direction="u2a" self.rulesDict = self.LoadRules() while index < len(unicode_text): '''കൂട്ടക്ഷരങ്ങള്‍ക്കൊരു കുറുക്കുവഴി''' for charNo in [3,2,1]: letter = unicode_text[index:index+charNo] if letter in self.rulesDict: ascii_letter = sel...
7f8c951ab963616cdc40fb003b2e70ad33d6a854 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7930/7f8c951ab963616cdc40fb003b2e70ad33d6a854/payyan.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2076, 22, 13756, 12, 2890, 16, 5252, 67, 955, 4672, 770, 273, 374, 675, 1969, 67, 13449, 273, 1408, 11384, 67, 955, 1546, 6, 365, 18, 9855, 1546, 89, 22, 69, 6, 365, 18, 7482, 5014, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2076, 22, 13756, 12, 2890, 16, 5252, 67, 955, 4672, 770, 273, 374, 675, 1969, 67, 13449, 273, 1408, 11384, 67, 955, 1546, 6, 365, 18, 9855, 1546, 89, 22, 69, 6, 365, 18, 7482, 5014, ...
this = apply(_quickfix.new_AllocAccruedInterestAmt, args)
this = _quickfix.new_AllocAccruedInterestAmt(*args)
def __init__(self, *args): this = apply(_quickfix.new_AllocAccruedInterestAmt, args) try: self.this.append(this) except: self.this = this
7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 8763, 8973, 86, 5957, 29281, 31787, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 8763, 8973, 86, 5957, 29281, 31787, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211...
def block(*args): return apply(_quickfix.Initiator_block, args) def poll(*args): return apply(_quickfix.Initiator_poll, args) def stop(*args): return apply(_quickfix.Initiator_stop, args) def isLoggedOn(*args): return apply(_quickfix.Initiator_isLoggedOn, args) def getSessions(*args): return apply(_quickfix.Initiator_g...
def block(*args): return _quickfix.Initiator_block(*args) def poll(*args): return _quickfix.Initiator_poll(*args) def stop(*args): return _quickfix.Initiator_stop(*args) def isLoggedOn(*args): return _quickfix.Initiator_isLoggedOn(*args) def getSessions(*args): return _quickfix.Initiator_getSessions(*args) def getSessi...
def block(*args): return apply(_quickfix.Initiator_block, args)
7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1203, 30857, 1968, 4672, 327, 2230, 24899, 19525, 904, 18, 2570, 10620, 67, 2629, 16, 833, 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, ...
[ 1, 1, 1, 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, 1203, 30857, 1968, 4672, 327, 2230, 24899, 19525, 904, 18, 2570, 10620, 67, 2629, 16, 833, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
QtCore.Qt.Popup
QtCore.Qt.ToolTip
def __init__(self, title, msg=None, progress=False, vlayout=None, fake=False, rearrange_callback=None): if sys.platform == "win32": flags = QtCore.Qt.WindowStaysOnTopHint | \ QtCore.Qt.ToolTip elif sys.platform == "linux2": flags = QtCore.Qt.WindowStaysOnTopHint | \ QtCore.Qt.X11BypassWindowManagerHint | \ QtCore.Qt.Po...
33b00d3def10d3d3678157d6c020e1a94fd900b1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1208/33b00d3def10d3d3678157d6c020e1a94fd900b1/gui_pyqt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2077, 16, 1234, 33, 7036, 16, 4007, 33, 8381, 16, 331, 6741, 33, 7036, 16, 10517, 33, 8381, 16, 283, 297, 3676, 67, 3394, 33, 7036, 4672, 309, 2589, 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, 1001, 2738, 972, 12, 2890, 16, 2077, 16, 1234, 33, 7036, 16, 4007, 33, 8381, 16, 331, 6741, 33, 7036, 16, 10517, 33, 8381, 16, 283, 297, 3676, 67, 3394, 33, 7036, 4672, 309, 2589, 18...
raise Exception, "Failed to match name %s %s (%s) date %s" % (firstname, lastname, constituency, sdate)
raise ContextException, "Failed to match name %s %s (%s) date %s" % (firstname, lastname, constituency, sdate)
def RunRegmemFilters(fout, text, sdate, sdatever): # message for cron so I check I'm using this print "New register of members interests! Check it is working properly (via mpinfoin.pl) - %s" % sdate text = ApplyFixSubstitutions(text, sdate, fixsubs) WriteXMLHeader(fout) fout.write("<publicwhip>\n") text = re.sub('R...
b51a12fcd0d0727bc6bee119bf69f17d70cbe4d4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8428/b51a12fcd0d0727bc6bee119bf69f17d70cbe4d4/regmemfilter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1939, 1617, 3917, 5422, 12, 617, 322, 16, 977, 16, 272, 712, 16, 272, 712, 502, 4672, 468, 883, 364, 9998, 1427, 467, 866, 467, 17784, 1450, 333, 1172, 315, 1908, 1744, 434, 4833, 1651...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1939, 1617, 3917, 5422, 12, 617, 322, 16, 977, 16, 272, 712, 16, 272, 712, 502, 4672, 468, 883, 364, 9998, 1427, 467, 866, 467, 17784, 1450, 333, 1172, 315, 1908, 1744, 434, 4833, 1651...
raw_output_file = open(path, 'w') raw_output_file.write(raw_output) raw_output_file.close()
utils.open_write_close(path, raw_output)
def run_once(self, num_groups=90): """ Run hackbench, store the output in raw output files per iteration and also in the results list attribute.
24bbc9d002080440a4c364f652508cc1a7ea5c9e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10349/24bbc9d002080440a4c364f652508cc1a7ea5c9e/hackbench.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 8243, 12, 2890, 16, 818, 67, 4650, 33, 9349, 4672, 3536, 1939, 11769, 22144, 16, 1707, 326, 876, 316, 1831, 876, 1390, 1534, 6532, 471, 2546, 316, 326, 1686, 666, 1566, 18, 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, 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, 1086, 67, 8243, 12, 2890, 16, 818, 67, 4650, 33, 9349, 4672, 3536, 1939, 11769, 22144, 16, 1707, 326, 876, 316, 1831, 876, 1390, 1534, 6532, 471, 2546, 316, 326, 1686, 666, 1566, 18, 2...
def __init__(self, options, destination=None, destination_path=None,
def __init__(self, settings, destination=None, destination_path=None,
def __init__(self, options, destination=None, destination_path=None, autoclose=1): """ :Parameters: - `destination`: either a file-like object (which is written directly) or `None` (which implies `sys.stdout` if no `destination_path` given). - `destination_path`: a path to a file, which is opened and then written. - `a...
3f9490a061df406cd80f543206a76f29cb5b8e57 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1532/3f9490a061df406cd80f543206a76f29cb5b8e57/io.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1947, 16, 2929, 33, 7036, 16, 2929, 67, 803, 33, 7036, 16, 23173, 2061, 33, 21, 4672, 3536, 294, 2402, 30, 300, 1375, 10590, 68, 30, 3344, 279, 585, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1947, 16, 2929, 33, 7036, 16, 2929, 67, 803, 33, 7036, 16, 23173, 2061, 33, 21, 4672, 3536, 294, 2402, 30, 300, 1375, 10590, 68, 30, 3344, 279, 585, 17...
update_nicks(channel, event)
update_nicks(network, channel)
def postQuit(event): #if paranoid: check if event.source is me for channame in event.network.channels: channel = event.network.channels[channame] if event.source in channel.nicks: del channel.nicks[event.source] update_nicks(channel, event)
bdc0ff081ef8cbd77d3b4fdb061972ea575f07e7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10693/bdc0ff081ef8cbd77d3b4fdb061972ea575f07e7/irc_basicinfo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1603, 25365, 12, 2575, 4672, 468, 430, 779, 304, 839, 30, 866, 309, 871, 18, 3168, 353, 1791, 364, 3861, 529, 316, 871, 18, 5185, 18, 9114, 30, 1904, 273, 871, 18, 5185, 18, 9114, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1603, 25365, 12, 2575, 4672, 468, 430, 779, 304, 839, 30, 866, 309, 871, 18, 3168, 353, 1791, 364, 3861, 529, 316, 871, 18, 5185, 18, 9114, 30, 1904, 273, 871, 18, 5185, 18, 9114, 63...
delta.y = scanner.real
delta.j = scanner.real
def getcourse(isprobe, akey): "Get a course and distance from the user." key = 0 dquad = copy.copy(game.quadrant) navmode = "unspecified" itemp = "curt" dsect = coord() iprompt = False if game.landed and not isprobe: prout(_("Dummy! You can't leave standard orbit until you")) proutn(_("are back aboard the ship.")) scan...
e67cf36a789c4ab1cd905a9a08e91d219395f538 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3176/e67cf36a789c4ab1cd905a9a08e91d219395f538/sst.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 5566, 12, 291, 27230, 16, 279, 856, 4672, 315, 967, 279, 4362, 471, 3888, 628, 326, 729, 1199, 498, 273, 374, 302, 21733, 273, 1610, 18, 3530, 12, 13957, 18, 21733, 6890, 13, 8775...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5566, 12, 291, 27230, 16, 279, 856, 4672, 315, 967, 279, 4362, 471, 3888, 628, 326, 729, 1199, 498, 273, 374, 302, 21733, 273, 1610, 18, 3530, 12, 13957, 18, 21733, 6890, 13, 8775...
if event.keyCode() == 0x35 and self.videoWindow.isFullScreen: self.videoWindow.toggleFullScreen_(nil)
handleKey(event)
def keyDown_(self, event): if event.keyCode() == 0x35 and self.videoWindow.isFullScreen: self.videoWindow.toggleFullScreen_(nil)
a9859b7383cb826484e776735ef489ae4dd970e1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12354/a9859b7383cb826484e776735ef489ae4dd970e1/VideoDisplay.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 498, 4164, 67, 12, 2890, 16, 871, 4672, 309, 871, 18, 856, 1085, 1435, 422, 374, 92, 4763, 471, 365, 18, 9115, 3829, 18, 291, 5080, 7956, 30, 365, 18, 9115, 3829, 18, 14401, 5080, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 498, 4164, 67, 12, 2890, 16, 871, 4672, 309, 871, 18, 856, 1085, 1435, 422, 374, 92, 4763, 471, 365, 18, 9115, 3829, 18, 291, 5080, 7956, 30, 365, 18, 9115, 3829, 18, 14401, 5080, 79...
print " %s: %s" % ("directory", rv[key])
print " %s: %s" % ("directory", rv['Error'][key])
def printErrors(rv): if 'Error' in rv: print "There was a problem:" for key in rv['Error']: if key == 'url': print " %s: %s" % ("directory", rv[key]) else: print " %s: %s" % (key, rv[key]) if 'Exception' in rv: print "Problem:", rv['Exception'] if 'Warning' in rv: print "Warning:", rv['Warning']
d85258fbd97f497c005ca78e3bd1ffbe064b7fe8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5758/d85258fbd97f497c005ca78e3bd1ffbe064b7fe8/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1172, 4229, 12, 4962, 4672, 309, 296, 668, 11, 316, 5633, 30, 1172, 315, 9828, 1703, 279, 6199, 2773, 364, 498, 316, 5633, 3292, 668, 3546, 30, 309, 498, 422, 296, 718, 4278, 1172, 315...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1172, 4229, 12, 4962, 4672, 309, 296, 668, 11, 316, 5633, 30, 1172, 315, 9828, 1703, 279, 6199, 2773, 364, 498, 316, 5633, 3292, 668, 3546, 30, 309, 498, 422, 296, 718, 4278, 1172, 315...
file = inspect.getsourcefile(object) filelink = '<a href="file:%s">%s</a>' % (file, file)
path = os.path.abspath(inspect.getfile(object)) filelink = '<a href="file:%s">%s</a>' % (path, path)
def docmodule(self, object): """Produce HTML documentation for a module object.""" name = object.__name__ result = '' head = '<br><big><big><strong>&nbsp;%s</strong></big></big>' % name try: file = inspect.getsourcefile(object) filelink = '<a href="file:%s">%s</a>' % (file, file) except TypeError: filelink = '(built-in...
e5371c2448c12c8bbb9da43e271283aab2a57abb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/e5371c2448c12c8bbb9da43e271283aab2a57abb/pydoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 997, 2978, 12, 2890, 16, 733, 4672, 3536, 25884, 3982, 7323, 364, 279, 1605, 733, 12123, 508, 273, 733, 16186, 529, 972, 563, 273, 875, 910, 273, 2368, 2848, 4438, 14002, 4438, 14002, 44...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 997, 2978, 12, 2890, 16, 733, 4672, 3536, 25884, 3982, 7323, 364, 279, 1605, 733, 12123, 508, 273, 733, 16186, 529, 972, 563, 273, 875, 910, 273, 2368, 2848, 4438, 14002, 4438, 14002, 44...
config['proxyuser'] = ''
config['proxyuser'] = u''
def _exec_form (form, lang): # reset info/error global filterenabled, filterdisabled filterenabled = u"" filterdisabled = u"" info.clear() error.clear() res = [None] # proxy port if form.has_key('port'): _form_proxyport(_getval(form, 'port')) elif config['port']!=8080: _form_proxyport(8080) # ssl server port if form.ha...
9faa79aa8270e0ad420dbdb0b5d75aafaa289d64 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3948/9faa79aa8270e0ad420dbdb0b5d75aafaa289d64/config_html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4177, 67, 687, 261, 687, 16, 3303, 4672, 468, 2715, 1123, 19, 1636, 2552, 1034, 5745, 16, 1034, 9278, 1034, 5745, 273, 582, 3660, 1034, 9278, 273, 582, 3660, 1123, 18, 8507, 1435, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4177, 67, 687, 261, 687, 16, 3303, 4672, 468, 2715, 1123, 19, 1636, 2552, 1034, 5745, 16, 1034, 9278, 1034, 5745, 273, 582, 3660, 1034, 9278, 273, 582, 3660, 1123, 18, 8507, 1435, ...
%s
%(non_whitespace_escape_before)s
def build_table_row(self, rowdata, tableline): row = nodes.row() for cell in rowdata: if cell is None: continue morerows, morecols, offset, cellblock = cell attributes = {} if morerows: attributes['morerows'] = morerows if morecols: attributes['morecols'] = morecols entry = nodes.entry(**attributes) row += entry if ''....
018a79821ccb1056404d43dbe32e444d1a0e03c1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8194/018a79821ccb1056404d43dbe32e444d1a0e03c1/states.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 2121, 67, 492, 12, 2890, 16, 1027, 892, 16, 3246, 80, 3027, 4672, 1027, 273, 2199, 18, 492, 1435, 364, 2484, 316, 1027, 892, 30, 309, 2484, 353, 599, 30, 1324, 312, 8922, 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, 1361, 67, 2121, 67, 492, 12, 2890, 16, 1027, 892, 16, 3246, 80, 3027, 4672, 1027, 273, 2199, 18, 492, 1435, 364, 2484, 316, 1027, 892, 30, 309, 2484, 353, 599, 30, 1324, 312, 8922, 5...
t = cls.taropen(tarname, mode, gzip.GzipFile(name, mode, compresslevel, fileobj)
t = cls.taropen(name, mode, gzip.GzipFile(tarname, mode, compresslevel, fileobj)
def gzopen(cls, name, mode="r", fileobj=None, compresslevel=9): """Open gzip compressed tar archive name for reading or writing. Appending is not allowed. """ if len(mode) > 1 or mode not in "rw": raise ValueError, "mode must be 'r' or 'w'"
e245e0e336b4fd429ffcdbdc47554bf0bc4051fe /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/e245e0e336b4fd429ffcdbdc47554bf0bc4051fe/tarfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14136, 3190, 12, 6429, 16, 508, 16, 1965, 1546, 86, 3113, 17041, 33, 7036, 16, 8099, 2815, 33, 29, 4672, 3536, 3678, 10331, 8968, 8232, 5052, 508, 364, 6453, 578, 7410, 18, 6181, 310, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14136, 3190, 12, 6429, 16, 508, 16, 1965, 1546, 86, 3113, 17041, 33, 7036, 16, 8099, 2815, 33, 29, 4672, 3536, 3678, 10331, 8968, 8232, 5052, 508, 364, 6453, 578, 7410, 18, 6181, 310, ...
return used_resources(request,get_form,explanation=explanation,summary=summary)
return used_resources(request,get_form=False,explanation=explanation,summary=summary)
def get_resources(request): if not request.method == 'POST': return used_resources(request) ret,success = __validate_guser__(request) if not success: return ret geni_user = ret explanation = "" get_form = gen_get_form(geni_user,request.POST) if get_form is None: return used_resources(request,get_form,explanation=expl...
8b4baa4fe434a26d09431f521a43b5fc4e5e8c65 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7995/8b4baa4fe434a26d09431f521a43b5fc4e5e8c65/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 4683, 12, 2293, 4672, 309, 486, 590, 18, 2039, 422, 296, 3798, 4278, 327, 1399, 67, 4683, 12, 2293, 13, 225, 325, 16, 4768, 273, 1001, 5662, 67, 75, 1355, 972, 12, 2293, 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, 336, 67, 4683, 12, 2293, 4672, 309, 486, 590, 18, 2039, 422, 296, 3798, 4278, 327, 1399, 67, 4683, 12, 2293, 13, 225, 325, 16, 4768, 273, 1001, 5662, 67, 75, 1355, 972, 12, 2293, 13,...
def GetAssValue(*args): return _micropolisengine.Micropolis_GetAssValue(*args)
def GetAssValue(*args): return _micropolisengine.Micropolis_GetAssValue(*args)
7c25ac419c10f36638188d9ddcead73f4f65e6ca /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12485/7c25ac419c10f36638188d9ddcead73f4f65e6ca/micropolisengine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 2610, 620, 30857, 1968, 4672, 327, 389, 27593, 1764, 355, 291, 8944, 18, 49, 335, 1764, 355, 291, 67, 967, 2610, 620, 30857, 1968, 13, 2, 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, 968, 2610, 620, 30857, 1968, 4672, 327, 389, 27593, 1764, 355, 291, 8944, 18, 49, 335, 1764, 355, 291, 67, 967, 2610, 620, 30857, 1968, 13, 2, -100, -100, -100, -100, -100, -100, -100, ...
lis.append( (key, self.dict[key]) ) return lis
result.append((key, self.dict[key])) return result
def items( self ): lis = [] for key in self.keys(): try: lis.append( (key, self[key]) ) except IndexError: lis.append( (key, self.dict[key]) ) return lis
06dfcf61676c7c31e2c2232d65d1d5286aee095d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/06dfcf61676c7c31e2c2232d65d1d5286aee095d/cgi.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1516, 12, 365, 262, 30, 328, 291, 273, 5378, 364, 498, 316, 365, 18, 2452, 13332, 775, 30, 328, 291, 18, 6923, 12, 261, 856, 16, 365, 63, 856, 5717, 262, 1335, 10195, 30, 328, 291, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1516, 12, 365, 262, 30, 328, 291, 273, 5378, 364, 498, 316, 365, 18, 2452, 13332, 775, 30, 328, 291, 18, 6923, 12, 261, 856, 16, 365, 63, 856, 5717, 262, 1335, 10195, 30, 328, 291, ...
loca = apply(pack, [">%d:" % len(loca)] + loca)
loca = apply(pack, [">%dL" % len(loca)] + loca)
def makeSubset(self, subset): """Create a subset of a TrueType font""" output = TTFontMaker()
ddd85034b4c35b2b4ee7b2e22177e894b8b1a474 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/ddd85034b4c35b2b4ee7b2e22177e894b8b1a474/ttfonts.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 20315, 12, 2890, 16, 7931, 4672, 3536, 1684, 279, 7931, 434, 279, 1053, 559, 3512, 8395, 876, 273, 19912, 5711, 12373, 1435, 2, 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, 1221, 20315, 12, 2890, 16, 7931, 4672, 3536, 1684, 279, 7931, 434, 279, 1053, 559, 3512, 8395, 876, 273, 19912, 5711, 12373, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
print '''%-20s %-12s %-12g %-12s %-12s %-12s''' \
print '''%-20s %-12s %-12s %-12s %-12s %-12s''' \
def stats(self, *varNames): ''' Printing descriptive statistics on selected variables''' #no arguments means all variables if len(varNames) == 0: varNames = self.attributeNames()
0c4594eaf3644dd309cb4bb3993709ce81639fc5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2720/0c4594eaf3644dd309cb4bb3993709ce81639fc5/storage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3177, 12, 2890, 16, 380, 1401, 1557, 4672, 9163, 3038, 310, 302, 31812, 7691, 603, 3170, 3152, 26418, 468, 2135, 1775, 4696, 777, 3152, 309, 562, 12, 1401, 1557, 13, 422, 374, 30, 569, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3177, 12, 2890, 16, 380, 1401, 1557, 4672, 9163, 3038, 310, 302, 31812, 7691, 603, 3170, 3152, 26418, 468, 2135, 1775, 4696, 777, 3152, 309, 562, 12, 1401, 1557, 13, 422, 374, 30, 569, ...
hard_mask=hard_mask,)
hard_mask=hard_mask)
def __new__(cls, data, dates, mask=nomask, dtype=None, copy=False, fill_value=None, subok=True, keep_mask=True, small_mask=True, hard_mask=False, **options): maparms = dict(copy=copy, dtype=dtype, fill_value=fill_value,subok=subok, keep_mask=keep_mask, small_mask=small_mask, hard_mask=hard_mask,) _data = MaskedArray(da...
fa55c4c696ec9c654bfe9099b550f554a05ac28b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12971/fa55c4c696ec9c654bfe9099b550f554a05ac28b/tseries.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2704, 972, 12, 6429, 16, 501, 16, 7811, 16, 3066, 33, 12306, 835, 16, 3182, 33, 7036, 16, 1610, 33, 8381, 16, 3636, 67, 1132, 33, 7036, 16, 720, 601, 33, 5510, 16, 3455, 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, 1001, 2704, 972, 12, 6429, 16, 501, 16, 7811, 16, 3066, 33, 12306, 835, 16, 3182, 33, 7036, 16, 1610, 33, 8381, 16, 3636, 67, 1132, 33, 7036, 16, 720, 601, 33, 5510, 16, 3455, 67, ...
lastversion.write(DV.version)
lastversion.write(DV.version.encode('utf8'))
def Damnlog(*args): s=[] for i in args: if type(i) is type(''): s.append(DamnUnicode(i)) elif type(i) is type(u''): s.append(i) else: s.append(DamnUnicode(i)) return DV.log.log(' '.join(s))
0668135c8e3ea715c0f1b0930afe6c69ea6d8fd4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11142/0668135c8e3ea715c0f1b0930afe6c69ea6d8fd4/DamnVid.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 463, 301, 82, 1330, 30857, 1968, 4672, 272, 33, 8526, 364, 277, 316, 833, 30, 309, 618, 12, 77, 13, 353, 618, 2668, 11, 4672, 272, 18, 6923, 12, 40, 301, 82, 16532, 12, 77, 3719, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 463, 301, 82, 1330, 30857, 1968, 4672, 272, 33, 8526, 364, 277, 316, 833, 30, 309, 618, 12, 77, 13, 353, 618, 2668, 11, 4672, 272, 18, 6923, 12, 40, 301, 82, 16532, 12, 77, 3719, 1...
? """, join_experiment_tables_to_coinc_table(recovery_table), """
''', recovery_table, ''' ''', join_experiment_tables_to_coinc_table(recovery_table), '''
def create_sim_rec_map_table(connection, simulation_table, recovery_table, ranking_stat): """ Creates a temporary table in the sqlite database called sim_rec_map. This table creates a direct mapping between simulation_ids in the simulation table and coinc_event_ids from the recovery_table, along with a ranking stat fro...
5f2565ff73ac5bb136a63ea9bdcc2f3d54c21eb8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5758/5f2565ff73ac5bb136a63ea9bdcc2f3d54c21eb8/ligolw_sqlutils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 9812, 67, 3927, 67, 1458, 67, 2121, 12, 4071, 16, 14754, 67, 2121, 16, 11044, 67, 2121, 16, 23087, 67, 5642, 4672, 3536, 10210, 279, 6269, 1014, 316, 326, 16184, 2063, 2566, 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, 9812, 67, 3927, 67, 1458, 67, 2121, 12, 4071, 16, 14754, 67, 2121, 16, 11044, 67, 2121, 16, 23087, 67, 5642, 4672, 3536, 10210, 279, 6269, 1014, 316, 326, 16184, 2063, 2566, 3...
... print(x, end=' ') A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
... print(' '+x, end='') A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
>>> def inorder(node):
7bada064f17fe94764857ba822d8ce942b636aca /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8125/7bada064f17fe94764857ba822d8ce942b636aca/test_generators.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4080, 1652, 316, 1019, 12, 2159, 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,...
[ 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, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4080, 1652, 316, 1019, 12, 2159, 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, -1...
def _runScript(script):
def _runScript(script, wait=False):
def _runScript(script): path = _makeTempScript(script) wrapper = 'osascript -e "do shell script \\\"/bin/sh %s\\\" with administrator privileges"\n' % path wrapper += 'rm %s\n' % path path = _makeTempScript(wrapper) task = NSTask.alloc().init() task.setLaunchPath_('/bin/sh') task.setArguments_([path]) task.setStandardO...
284e31d6c42fd1cea5c5d0d4b075afd2523abde6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12354/284e31d6c42fd1cea5c5d0d4b075afd2523abde6/ComponentInstaller.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2681, 3651, 12, 4263, 16, 2529, 33, 8381, 4672, 589, 273, 389, 6540, 7185, 3651, 12, 4263, 13, 4053, 273, 296, 538, 6407, 300, 73, 315, 2896, 5972, 2728, 521, 27576, 19, 4757, 19,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2681, 3651, 12, 4263, 16, 2529, 33, 8381, 4672, 589, 273, 389, 6540, 7185, 3651, 12, 4263, 13, 4053, 273, 296, 538, 6407, 300, 73, 315, 2896, 5972, 2728, 521, 27576, 19, 4757, 19,...
buildid = ""
def main(argv=None): exePath = executablePath configPath = configFilePath output = "" title = defaultTitle branch = "" buildid = "" testDate = False verbose = False if argv is None: argv = sys.argv try: try: opts, args = getopt.getopt(argv[1:], "hve:c:t:b:o:i:d", ["help", "verbose", "executablePath=", "configFilePath=...
f1875f48c06e081d8c22898dc96f6edf6c6adf75 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11102/f1875f48c06e081d8c22898dc96f6edf6c6adf75/PerfConfigurator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 19485, 33, 7036, 4672, 15073, 743, 273, 9070, 743, 16012, 273, 642, 5598, 876, 273, 1408, 2077, 273, 805, 4247, 3803, 273, 1408, 1842, 1626, 273, 1083, 3988, 273, 1083, 225, 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, 2774, 12, 19485, 33, 7036, 4672, 15073, 743, 273, 9070, 743, 16012, 273, 642, 5598, 876, 273, 1408, 2077, 273, 805, 4247, 3803, 273, 1408, 1842, 1626, 273, 1083, 3988, 273, 1083, 225, 30...
str += self._navbar('tree')
str += self._navbar('epydoc-tree', 1)
def _tree_to_html(self): """ @return: An HTML page containing the module and class hierarchies. @rtype: C{string} """ # Header and navigation bar str = self._header('Module and Class Hierarchies') str += self._navbar('tree')
dd7fc26b7d69af6d4765be2a892edca4603899ee /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/dd7fc26b7d69af6d4765be2a892edca4603899ee/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3413, 67, 869, 67, 2620, 12, 2890, 4672, 3536, 632, 2463, 30, 1922, 3982, 1363, 4191, 326, 1605, 471, 667, 366, 5148, 606, 18, 632, 86, 723, 30, 385, 95, 1080, 97, 3536, 468, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3413, 67, 869, 67, 2620, 12, 2890, 4672, 3536, 632, 2463, 30, 1922, 3982, 1363, 4191, 326, 1605, 471, 667, 366, 5148, 606, 18, 632, 86, 723, 30, 385, 95, 1080, 97, 3536, 468, 43...
def _generate_index(str):
def _generate_index(self, str):
def _generate_index(str): """ Splits a string into alpha and numeric elements, which is used as an index for sorting" """ # # the index is built progressively # using the _append function # index = [] def _append(fragment, alist=index): if fragment.isdigit(): fragment = int(fragment) alist.append(fragment)
223e5e244f6a3b2bb659a7d488ccf2cdd32a86dc /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/13520/223e5e244f6a3b2bb659a7d488ccf2cdd32a86dc/LocalData.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 7163, 67, 1615, 12, 2890, 16, 609, 4672, 3536, 5385, 87, 279, 533, 1368, 4190, 471, 6389, 2186, 16, 1492, 353, 1399, 487, 392, 770, 364, 9602, 6, 3536, 468, 468, 326, 770, 353, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7163, 67, 1615, 12, 2890, 16, 609, 4672, 3536, 5385, 87, 279, 533, 1368, 4190, 471, 6389, 2186, 16, 1492, 353, 1399, 487, 392, 770, 364, 9602, 6, 3536, 468, 468, 326, 770, 353, ...
self.beginInsertRows(QModelIndex(), len(self), len(self) + len(list_))
self.beginInsertRows(QModelIndex(), len(self), len(self) + len(list_) - 1)
def extend(self, iterable): list_ = list(iterable) self.beginInsertRows(QModelIndex(), len(self), len(self) + len(list_)) self._list.extend(list_) self.endInsertRows()
d35d5e73d8590696a42e6dc2d32d99fcc6755a25 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6366/d35d5e73d8590696a42e6dc2d32d99fcc6755a25/OWItemModels.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2133, 12, 2890, 16, 6087, 4672, 666, 67, 273, 666, 12, 15364, 13, 365, 18, 10086, 4600, 4300, 12, 53, 1488, 1016, 9334, 562, 12, 2890, 3631, 562, 12, 2890, 13, 397, 562, 12, 1098, 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, 2133, 12, 2890, 16, 6087, 4672, 666, 67, 273, 666, 12, 15364, 13, 365, 18, 10086, 4600, 4300, 12, 53, 1488, 1016, 9334, 562, 12, 2890, 3631, 562, 12, 2890, 13, 397, 562, 12, 1098, 67...
help="Specify the multi-threaded number which replace target.txt's MAX_CONCURRENT_THREAD_NUMBER. If the value is less than 2, MULTIPLE_THREAD will be disabled. If the value is larger than 1, MULTIPLE_THREAD will be enabled.")
help="Specify the multi-thread number which replace target.txt's MAX_CONCURRENT_THREAD_NUMBER. If the value is less than 2, MULTIPLE_THREAD will be disabled. If the value is larger than 1, MULTIPLE_THREAD will be enabled.")
def MyOptionParser(): parser = OptionParser(version=__version__,prog="TargetTool.exe",usage=__usage__,description=__copyright__) parser.add_option("-a", "--arch", action="append", type="choice", choices=['IA32','X64','IPF','EBC','0'], dest="TARGET_ARCH", help="ARCHS is one of list: IA32, X64, IPF or EBC, which replaces...
d170497c55a4dd39ba55ed93bdd0b805d0f35df3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/914/d170497c55a4dd39ba55ed93bdd0b805d0f35df3/TargetTool.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8005, 1895, 2678, 13332, 2082, 273, 18862, 12, 1589, 33, 972, 1589, 972, 16, 14654, 1546, 2326, 6364, 18, 14880, 3113, 9167, 33, 972, 9167, 972, 16, 3384, 33, 972, 29187, 972, 13, 2082, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8005, 1895, 2678, 13332, 2082, 273, 18862, 12, 1589, 33, 972, 1589, 972, 16, 14654, 1546, 2326, 6364, 18, 14880, 3113, 9167, 33, 972, 9167, 972, 16, 3384, 33, 972, 29187, 972, 13, 2082, ...
def find_library(name): lib = _findLib_ld(name) or _findLib_gcc(name) if not lib: return None return _get_soname(lib)
if (sys.platform.startswith("freebsd") or sys.platform.startswith("openbsd") or sys.platform.startswith("dragonfly")): def _num_version(libname): parts = libname.split(".") nums = [] try: while parts: nums.insert(0, int(parts.pop())) except ValueError: pass return nums or [ sys.maxint ] def find_library(name): ename...
def find_library(name): lib = _findLib_ld(name) or _findLib_gcc(name) if not lib: return None return _get_soname(lib)
08ef0ccd0f9b952106caf2c632eafa163a1434c5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12029/08ef0ccd0f9b952106caf2c632eafa163a1434c5/util.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 12083, 12, 529, 4672, 2561, 273, 389, 4720, 5664, 67, 1236, 12, 529, 13, 578, 389, 4720, 5664, 67, 75, 952, 12, 529, 13, 309, 486, 2561, 30, 327, 599, 327, 389, 588, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 12083, 12, 529, 4672, 2561, 273, 389, 4720, 5664, 67, 1236, 12, 529, 13, 578, 389, 4720, 5664, 67, 75, 952, 12, 529, 13, 309, 486, 2561, 30, 327, 599, 327, 389, 588, 67, ...
rollback_packages = file(rollback.newpkgs).read().strip().split('\n') current_packages = DpkgSelections()
rollback_packages = Packages.fromfile(rollback.newpkgs) current_packages = Packages()
def rollback_packages(rollback): rollback_packages = file(rollback.newpkgs).read().strip().split('\n') current_packages = DpkgSelections() purge_packages = current_packages & set(rollback_packages) if purge_packages: os.system("dpkg --purge " + " ".join(purge_packages))
37b2fb605756f3736d27cb388b4fd879271f5e57 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10616/37b2fb605756f3736d27cb388b4fd879271f5e57/cmd_rollback.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8006, 67, 10308, 12, 20050, 4672, 8006, 67, 10308, 273, 7930, 1023, 18, 2080, 768, 12, 20050, 18, 2704, 25376, 13, 783, 67, 10308, 273, 7930, 1023, 1435, 225, 11668, 67, 10308, 273, 783,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8006, 67, 10308, 12, 20050, 4672, 8006, 67, 10308, 273, 7930, 1023, 18, 2080, 768, 12, 20050, 18, 2704, 25376, 13, 783, 67, 10308, 273, 7930, 1023, 1435, 225, 11668, 67, 10308, 273, 783,...
def zeroPad(self, int, width = 1):
def zeroPad(self, int, width = 2):
def zeroPad(self, int, width = 1): """ Pads an integer 'int' with zeroes, up to width 'width'. Returns a string. It will not truncate. If you call zeroPad(100, 2), '100' will be returned. """ if int < 10 ** width: return ("0" * (width - len(str(int))) ) + str(int) else: return str(int)
2ef60aefcfa54f65eb417ceb62e1ef0b4f7d41d4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10139/2ef60aefcfa54f65eb417ceb62e1ef0b4f7d41d4/logging.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3634, 14878, 12, 2890, 16, 509, 16, 1835, 273, 576, 4672, 3536, 453, 17318, 392, 3571, 296, 474, 11, 598, 3634, 281, 16, 731, 358, 1835, 296, 2819, 10332, 225, 2860, 279, 533, 18, 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, 3634, 14878, 12, 2890, 16, 509, 16, 1835, 273, 576, 4672, 3536, 453, 17318, 392, 3571, 296, 474, 11, 598, 3634, 281, 16, 731, 358, 1835, 296, 2819, 10332, 225, 2860, 279, 533, 18, 225,...
print "no new information, exiting"
def revealCreatures(self, cnl): """cnl is a list of creature names""" print "revealCreatures for", self, cnl if ((not cnl) or (superset(getCreatureNames(self.getCertainCreatures()), cnl) and (self.allDescendentsCertain()))): print "no new information, exiting" return
d3360650260167e99d819d46c099993d6e0f1f9e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3755/d3360650260167e99d819d46c099993d6e0f1f9e/predictsplits.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 283, 24293, 1996, 2790, 12, 2890, 16, 6227, 80, 4672, 3536, 10305, 80, 353, 279, 666, 434, 1519, 1231, 1257, 8395, 1172, 315, 266, 24293, 1996, 2790, 364, 3113, 365, 16, 6227, 80, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 283, 24293, 1996, 2790, 12, 2890, 16, 6227, 80, 4672, 3536, 10305, 80, 353, 279, 666, 434, 1519, 1231, 1257, 8395, 1172, 315, 266, 24293, 1996, 2790, 364, 3113, 365, 16, 6227, 80, 309, ...
"H2": atom_info("H", 0, "H'"), "H3": atom_info("H", 0, "H'"), "H1": atom_info("H", 0, "H'"), "H4": atom_info("H", 0, "H'"), "H5": atom_info("H", 0, "H'"), "HO6": atom_info("H", 0, "H'"), "HO4": atom_info("H", 0, "H'"), "HN2": atom_info("H", 0, "H'"), "HO3": atom_info("H", 0, "H'"), "HO1": atom_info("H", 0, "H'"),
"H2": atom_info("H", 0, "H"), "H3": atom_info("H", 0, "H"), "H1": atom_info("H", 0, "H"), "H4": atom_info("H", 0, "H"), "H5": atom_info("H", 0, "H"), "HO6": atom_info("H", 0, "H"), "HO4": atom_info("H", 0, "H"), "HN2": atom_info("H", 0, "H"), "HO3": atom_info("H", 0, "H"), "HO1": atom_info("H", 0, "H"),
def keys(self): return ("element_symbol", "ionic_state", "scattering_label")
46b20303e8ed53745807da84c39cb29f25aa3911 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/696/46b20303e8ed53745807da84c39cb29f25aa3911/residue_info.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1311, 12, 2890, 4672, 327, 7566, 2956, 67, 7175, 3113, 315, 285, 335, 67, 2019, 3113, 315, 31320, 310, 67, 1925, 7923, 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, 1311, 12, 2890, 4672, 327, 7566, 2956, 67, 7175, 3113, 315, 285, 335, 67, 2019, 3113, 315, 31320, 310, 67, 1925, 7923, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
from_ref = t[4]
from_ref = t[3]
def _make_reset(self, t): # Create the Reset object from the parser tokens ref = t[1] from_ref = None if len(t) > 2: from_ref = t[4] reset = Reset(ref, from_ref)
9b93d2da7502fc3bbc1494a865d64329427a96d2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10384/9b93d2da7502fc3bbc1494a865d64329427a96d2/parseit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6540, 67, 6208, 12, 2890, 16, 268, 4672, 468, 1788, 326, 7151, 733, 628, 326, 2082, 2430, 1278, 273, 268, 63, 21, 65, 628, 67, 1734, 273, 599, 309, 562, 12, 88, 13, 405, 576, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6540, 67, 6208, 12, 2890, 16, 268, 4672, 468, 1788, 326, 7151, 733, 628, 326, 2082, 2430, 1278, 273, 268, 63, 21, 65, 628, 67, 1734, 273, 599, 309, 562, 12, 88, 13, 405, 576, ...
def generateCallbacks(self, readyList, map, removed):
def generateCallbacks(self, readyList, map_, removed):
def generateCallbacks(self, readyList, map, removed): for fd in readyList: try: function = map[fd] except KeyError: # this can happen the write callback removes the read callback # or vise versa pass else: if fd in removed: continue when = "While talking to the network" def callbackEvent(): if not trapcall.trap_call(wh...
188dd78cafac2eb64514bf34f3463877d0d9d7c5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12354/188dd78cafac2eb64514bf34f3463877d0d9d7c5/eventloop.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 10617, 12, 2890, 16, 5695, 682, 16, 852, 67, 16, 3723, 4672, 364, 5194, 316, 5695, 682, 30, 775, 30, 445, 273, 852, 63, 8313, 65, 1335, 4999, 30, 468, 333, 848, 5865, 326, 1045...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2103, 10617, 12, 2890, 16, 5695, 682, 16, 852, 67, 16, 3723, 4672, 364, 5194, 316, 5695, 682, 30, 775, 30, 445, 273, 852, 63, 8313, 65, 1335, 4999, 30, 468, 333, 848, 5865, 326, 1045...
for data in f[1]: data = convert_path(data) (out, _) = self.copy_file(data, dir) self.outfiles.append(out)
if f[1] == []: self.outfiles.append(dir) else: for data in f[1]: data = convert_path(data) (out, _) = self.copy_file(data, dir) self.outfiles.append(out)
def run (self): self.mkpath(self.install_dir) for f in self.data_files: if type(f) == StringType: # it's a simple file, so copy it f = convert_path(f) if self.warn_dir: self.warn("setup script did not provide a directory for " "'%s' -- installing right in '%s'" % (f, self.install_dir)) (out, _) = self.copy_file(f, self...
4d335b3b9b4d24f2869be08b1706153c005523ab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/4d335b3b9b4d24f2869be08b1706153c005523ab/install_data.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 261, 2890, 4672, 365, 18, 24816, 803, 12, 2890, 18, 5425, 67, 1214, 13, 364, 284, 316, 365, 18, 892, 67, 2354, 30, 309, 618, 12, 74, 13, 422, 31570, 30, 468, 518, 1807, 279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 261, 2890, 4672, 365, 18, 24816, 803, 12, 2890, 18, 5425, 67, 1214, 13, 364, 284, 316, 365, 18, 892, 67, 2354, 30, 309, 618, 12, 74, 13, 422, 31570, 30, 468, 518, 1807, 279, ...
self.dict = _ClosedDict()
if _ClosedDict is None: self.dict = None else: self.dict = _ClosedDict()
def close(self): self.sync() try: self.dict.close() except AttributeError: pass self.dict = _ClosedDict()
7e95fccbd6a9dc20496ea29ae252a8c4a2b7289f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12029/7e95fccbd6a9dc20496ea29ae252a8c4a2b7289f/shelve.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1746, 12, 2890, 4672, 365, 18, 8389, 1435, 775, 30, 365, 18, 1576, 18, 4412, 1435, 1335, 6394, 30, 1342, 365, 18, 1576, 273, 389, 7395, 5014, 1435, 2, 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, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1746, 12, 2890, 4672, 365, 18, 8389, 1435, 775, 30, 365, 18, 1576, 18, 4412, 1435, 1335, 6394, 30, 1342, 365, 18, 1576, 273, 389, 7395, 5014, 1435, 2, -100, -100, -100, -100, -100, -10...
commands -- map colour -> command used to launch the program
def __repr__(self): return "<Game_result: %s>" % self.describe()
8c7e93fc058816095dd54b6938e51248cd5ca56d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6121/8c7e93fc058816095dd54b6938e51248cd5ca56d/gtp_games.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12715, 972, 12, 2890, 4672, 327, 3532, 12496, 67, 2088, 30, 738, 87, 2984, 738, 365, 18, 22748, 1435, 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, 1001, 12715, 972, 12, 2890, 4672, 327, 3532, 12496, 67, 2088, 30, 738, 87, 2984, 738, 365, 18, 22748, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
self.Encoding.pack_start(cell, True) self.Encoding.add_attribute(cell, 'text', 0) self.hbox8.pack_start(self.Encoding, False, False, 5) self.Main.pack_start(self.hbox8, False, True, 0)
self.Encoding3.pack_start(cell, True) self.Encoding3.add_attribute(cell, 'text', 0) self.hbox8.pack_start(self.Encoding3, False, False, 5) self.Main4.pack_start(self.hbox8, False, True, 0)
def __init__(self, create = True, accel_group = None, tooltips = None): if accel_group is None: self.accel_group = gtk.AccelGroup() else: self.accel_group = accel_group if tooltips is None: self.tooltips = gtk.Tooltips() else: self.tooltips = tooltips self.tooltips.enable() if create: self.UserBrowseTab = gtk.Window() ...
363cba988d4bed5afdae4b3f448f4bf00e734531 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8738/363cba988d4bed5afdae4b3f448f4bf00e734531/nicotine_glade.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 752, 273, 1053, 16, 15153, 67, 1655, 273, 599, 16, 358, 4397, 7146, 273, 599, 4672, 309, 15153, 67, 1655, 353, 599, 30, 365, 18, 30737, 67, 1655, 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, 1001, 2738, 972, 12, 2890, 16, 752, 273, 1053, 16, 15153, 67, 1655, 273, 599, 16, 358, 4397, 7146, 273, 599, 4672, 309, 15153, 67, 1655, 353, 599, 30, 365, 18, 30737, 67, 1655, 273, ...
assert_almost_equal_spec(np.log(x), y)
assert_almost_equal(np.log(x), y)
def test_special_values(self): xl = [] yl = []
8b1f7849329ff9e20b8d222e88356569aa585393 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14925/8b1f7849329ff9e20b8d222e88356569aa585393/test_umath_complex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 9371, 67, 2372, 12, 2890, 4672, 15643, 273, 5378, 677, 80, 273, 5378, 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, 1842, 67, 9371, 67, 2372, 12, 2890, 4672, 15643, 273, 5378, 677, 80, 273, 5378, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
while not self.state:
if not self.state:
def wait(self): self.posted.acquire() while not self.state: self.posted.wait() self.posted.release()
1241e32e7680d232f08c7dcb22798c272bb6e702 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/1241e32e7680d232f08c7dcb22798c272bb6e702/sync.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2529, 12, 2890, 4672, 365, 18, 2767, 329, 18, 1077, 1039, 1435, 309, 486, 365, 18, 2019, 30, 365, 18, 2767, 329, 18, 7048, 1435, 365, 18, 2767, 329, 18, 9340, 1435, 2, 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, 1, 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, 2529, 12, 2890, 4672, 365, 18, 2767, 329, 18, 1077, 1039, 1435, 309, 486, 365, 18, 2019, 30, 365, 18, 2767, 329, 18, 7048, 1435, 365, 18, 2767, 329, 18, 9340, 1435, 2, -100, -100, -1...
print "PRINTING table"
def render_table(self, table): tabletext = [] prev = table.previous if getattr(prev, 'name', None) == 'a' and prev.get('name', None) == 'end': print "IGNORING table" elif getattr(table.next, 'name', None) != 'tr': print "IGNORING table" elif re.search('attended the Committee', (table.findPrevious(text=re.compile('[a-z]...
6f5d3aa05f0dcde05fa26d65e6d987be8dbcf0d2 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8428/6f5d3aa05f0dcde05fa26d65e6d987be8dbcf0d2/parse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 67, 2121, 12, 2890, 16, 1014, 4672, 11968, 408, 273, 5378, 2807, 273, 1014, 18, 11515, 309, 3869, 12, 10001, 16, 296, 529, 2187, 599, 13, 422, 296, 69, 11, 471, 2807, 18, 588, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1743, 67, 2121, 12, 2890, 16, 1014, 4672, 11968, 408, 273, 5378, 2807, 273, 1014, 18, 11515, 309, 3869, 12, 10001, 16, 296, 529, 2187, 599, 13, 422, 296, 69, 11, 471, 2807, 18, 588, ...
if (self.debug >= 3): print "local hash: '" + hexval + "'"
if (self.debug >= 3): print "local hash returned: '" + hexval + "'"
def getLocalHash(self, filename): file = open(filename, 'rb') if (file == None): return None mdsum = hashlib.md5()
fd9e385f2805e09156e5ef3c1f5d56e976bc2bf6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12156/fd9e385f2805e09156e5ef3c1f5d56e976bc2bf6/devicemanager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6993, 2310, 12, 2890, 16, 1544, 4672, 585, 273, 1696, 12, 3459, 16, 296, 6731, 6134, 309, 261, 768, 422, 599, 4672, 327, 599, 225, 3481, 1364, 273, 15956, 18, 1264, 25, 1435, 2, 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, 1, 1, 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, 6993, 2310, 12, 2890, 16, 1544, 4672, 585, 273, 1696, 12, 3459, 16, 296, 6731, 6134, 309, 261, 768, 422, 599, 4672, 327, 599, 225, 3481, 1364, 273, 15956, 18, 1264, 25, 1435, 2, -100, ...
r = gl.getgdesc(GL.GD_BITS_NORM_SNG_RED) g = gl.getgdesc(GL.GD_BITS_NORM_SNG_GREEN) b = gl.getgdesc(GL.GD_BITS_NORM_SNG_BLUE) if (r, g, b) <> (3, 3, 2): raise Error, 'Sorry, can only grab rgb8 on 8-bit Indigo'
if not is_entry_indigo(): raise Error, 'Sorry, can only grab rgb8 on entry level Indigo'
def grab_rgb8(w, h, pf): if gl.getdisplaymode() <> DMRGB: raise Error, 'Sorry, can only grab rgb8 in single-buf rgbmode' if pf <> 1 and pf <> 0: raise Error, 'Sorry, can only grab rgb8 with packfactor 1' r = gl.getgdesc(GL.GD_BITS_NORM_SNG_RED) g = gl.getgdesc(GL.GD_BITS_NORM_SNG_GREEN) b = gl.getgdesc(GL.GD_BITS_NORM_...
d55ad5764ff5f1d547024090a1d01c463d5b18ec /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/d55ad5764ff5f1d547024090a1d01c463d5b18ec/VFile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11086, 67, 10948, 28, 12, 91, 16, 366, 16, 10811, 4672, 309, 5118, 18, 588, 5417, 3188, 1435, 2813, 30072, 11343, 30, 1002, 1068, 16, 296, 28898, 16, 848, 1338, 11086, 6917, 28, 316, 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, 11086, 67, 10948, 28, 12, 91, 16, 366, 16, 10811, 4672, 309, 5118, 18, 588, 5417, 3188, 1435, 2813, 30072, 11343, 30, 1002, 1068, 16, 296, 28898, 16, 848, 1338, 11086, 6917, 28, 316, 2...
if self.elements['docclass'] == 'manual':
if document.settings.docclass == 'howto': self.top_sectionlevel = 2 else:
def __init__(self, document, builder): nodes.NodeVisitor.__init__(self, document) self.builder = builder self.body = []
112154efdea1867f3ef58ae6145818a4100b29ac /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5532/112154efdea1867f3ef58ae6145818a4100b29ac/latex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1668, 16, 2089, 4672, 2199, 18, 907, 7413, 16186, 2738, 972, 12, 2890, 16, 1668, 13, 365, 18, 9574, 273, 2089, 365, 18, 3432, 273, 5378, 2, 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, 1, 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, 1668, 16, 2089, 4672, 2199, 18, 907, 7413, 16186, 2738, 972, 12, 2890, 16, 1668, 13, 365, 18, 9574, 273, 2089, 365, 18, 3432, 273, 5378, 2, -100, -100, ...
self.frame.SetStatusText("Quitting...") conf.size = self.frame.GetSize() conf.position = self.frame.GetPosition() if not self._RefuseUnsavedModifications(True): self.frame.Destroy()
self.frame.Close()
def _FileQuitMenu(self, event): self.frame.SetStatusText("Quitting...") conf.size = self.frame.GetSize() conf.position = self.frame.GetPosition() if not self._RefuseUnsavedModifications(True): self.frame.Destroy()
10a2ec624dbd258f48cefc5a35cec9182e02ea63 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5030/10a2ec624dbd258f48cefc5a35cec9182e02ea63/tk_main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 812, 25365, 4599, 12, 2890, 16, 871, 4672, 365, 18, 3789, 18, 4605, 1435, 225, 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...
[ 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 812, 25365, 4599, 12, 2890, 16, 871, 4672, 365, 18, 3789, 18, 4605, 1435, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
"***** Processing visit %d " + \ "raft %s sensor %s" % \
("***** Processing visit %d " + \ "raft %s sensor %s") % \
def lsstSimMain(processFunction, outDatasetType, need=(), defaultRoot="."): parser = OptionParser() parser.add_option("-i", "--input", dest="root", default=defaultRoot, help="input root") parser.add_option("-o", "--output", dest="outRoot", default=".", help="output root") parser.add_option("-f", "--force", action="stor...
f825216b3adfebb189b0c0f2df11d37e7215c17a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6538/f825216b3adfebb189b0c0f2df11d37e7215c17a/utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7180, 334, 7993, 6376, 12, 2567, 2083, 16, 596, 10656, 559, 16, 1608, 33, 9334, 805, 2375, 1546, 1199, 4672, 2082, 273, 18862, 1435, 2082, 18, 1289, 67, 3482, 2932, 17, 77, 3113, 5238, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7180, 334, 7993, 6376, 12, 2567, 2083, 16, 596, 10656, 559, 16, 1608, 33, 9334, 805, 2375, 1546, 1199, 4672, 2082, 273, 18862, 1435, 2082, 18, 1289, 67, 3482, 2932, 17, 77, 3113, 5238, ...
def buildProtocol(self, addr): self.dtp = DTP()
def createActiveServer(self): # silly code repeating if self.dtp is not None: if self.dtp.transport is not None: self.dtp.transport.loseConnection() self.dtp = None self.dtpPort = tcp.Client(self.peerhost, self.peerport, self.buildProtocol(self.peerport)) self.dtp.transport = self.dtpPort
07377cad2b39b3e3d459447a924d1bc82ce72f33 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/07377cad2b39b3e3d459447a924d1bc82ce72f33/ftp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 3896, 2081, 12, 2890, 4672, 468, 17714, 715, 981, 30571, 309, 365, 18, 72, 6834, 353, 486, 599, 30, 309, 365, 18, 72, 6834, 18, 13049, 353, 486, 599, 30, 365, 18, 72, 6834, 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, 752, 3896, 2081, 12, 2890, 4672, 468, 17714, 715, 981, 30571, 309, 365, 18, 72, 6834, 353, 486, 599, 30, 309, 365, 18, 72, 6834, 18, 13049, 353, 486, 599, 30, 365, 18, 72, 6834, 18, ...
return "
return u"
def __str__(self): '''Return a simple string representation of this bug''' # XXX Not really sure why we get short_desc sometimes and # short_short_desc other times. I feel like I'm working around # a bug here, so keep an eye on this. if 'short_short_desc' in self.__dict__: desc = self.short_short_desc elif 'short_desc'...
f9ffaf935292a167232f7e4f6d7a8bd041d73a8c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5050/f9ffaf935292a167232f7e4f6d7a8bd041d73a8c/base.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 9163, 990, 279, 4143, 533, 4335, 434, 333, 7934, 26418, 468, 11329, 2288, 8654, 3071, 11598, 732, 336, 3025, 67, 5569, 16594, 471, 468, 3025, 67, 6620, 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, 1001, 701, 972, 12, 2890, 4672, 9163, 990, 279, 4143, 533, 4335, 434, 333, 7934, 26418, 468, 11329, 2288, 8654, 3071, 11598, 732, 336, 3025, 67, 5569, 16594, 471, 468, 3025, 67, 6620, 67...
for backendlink in backendlinks: if backendlink[backendlink.__len__()-1:]=='/': blink = backendlink[:-1] else: blink = backendlink if remote.startswith(blink): frontendlinks = smartlink_config.frontendlink frontendlink = frontendlinks[backendlinks.index(backendlink)] if frontendlink[frontendlink.__len__()-1:]=='/': fro...
frontend_main_link = getattr(smartlink_config, 'frontend_main_link', '') if frontend_main_link: portal_url = getToolByName(self, 'portal_url')() if remote.startswith(portal_url): remote = remote.replace(portal_url, frontend_main_link) else: for backendlink in backendlinks: if backendlink[-1]=='/': blink = backendlin...
def getRemoteUrl(self): """Return the URL of the link from the appropriate field, internal or external.""" smartlink_config = queryUtility(ISmartlinkConfig, name="smartlink_config")
7c8473733b85031f2cd2ff22f6114d324b291261 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11138/7c8473733b85031f2cd2ff22f6114d324b291261/link.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14879, 1489, 12, 2890, 4672, 3536, 990, 326, 1976, 434, 326, 1692, 628, 326, 5505, 652, 16, 2713, 578, 3903, 12123, 225, 13706, 1232, 67, 1425, 273, 843, 6497, 12, 5127, 81, 485, 1232, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14879, 1489, 12, 2890, 4672, 3536, 990, 326, 1976, 434, 326, 1692, 628, 326, 5505, 652, 16, 2713, 578, 3903, 12123, 225, 13706, 1232, 67, 1425, 273, 843, 6497, 12, 5127, 81, 485, 1232, ...
iv_names[dev.iv_name] = (dev, dev.children, new_logical_id)
iv_names[idx] = (dev, dev.children, new_logical_id)
def _ExecD8Secondary(self, feedback_fn): """Replace the secondary node for drbd8.
d418ebfb87b39874d8ab5c5e0243201049c0b25f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7542/d418ebfb87b39874d8ab5c5e0243201049c0b25f/cmdlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1905, 40, 28, 14893, 12, 2890, 16, 10762, 67, 4293, 4672, 3536, 5729, 326, 9946, 756, 364, 5081, 16410, 28, 18, 2, 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, 389, 1905, 40, 28, 14893, 12, 2890, 16, 10762, 67, 4293, 4672, 3536, 5729, 326, 9946, 756, 364, 5081, 16410, 28, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
rv.append((lineno, pre+'\n'))
rv.append((lineno, pre))
def _readitem(self): """Read the definition of an item. Insert #line where needed. """ rv = [] while 1: lineno, line = self._readline() if not line: break if ENDDEFINITION.search(line): break if BEGINDEFINITION.match(line): self.pushback = lineno, line break mo = USEDEFINITION.match(line) if mo: pre = mo.group('pre') i...
c83e7d15600dd57cc3f38f6ce85ee52b5f633816 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/c83e7d15600dd57cc3f38f6ce85ee52b5f633816/unweave.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 896, 1726, 12, 2890, 4672, 3536, 1994, 326, 2379, 434, 392, 761, 18, 8040, 468, 1369, 1625, 3577, 18, 3536, 5633, 273, 5378, 1323, 404, 30, 7586, 16, 980, 273, 365, 6315, 896, 136...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1726, 12, 2890, 4672, 3536, 1994, 326, 2379, 434, 392, 761, 18, 8040, 468, 1369, 1625, 3577, 18, 3536, 5633, 273, 5378, 1323, 404, 30, 7586, 16, 980, 273, 365, 6315, 896, 136...
self.stop(message='Failed to connect to the XMPP room, stopping bridge')
self.stop(message='Failed to connect to the XMPP room, stopping bridge', log=False)
def _xmpp_join_callback(self, errors): """Called by muc._xmpp_presence_handler""" if len(errors) == 0: self.reconnecting = False if not self.mode: return self.bot.error(3, 'succesfully connected on XMPP side of bridge "'+str(self)+'"', debug=True) self.say(say_levels.notice, 'bridge "'+str(self)+'" is running in '+self...
c37b0c993335b7c98725bd3326e8df2a04f31a71 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9915/c37b0c993335b7c98725bd3326e8df2a04f31a71/bridge.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 92, 24109, 67, 5701, 67, 3394, 12, 2890, 16, 1334, 4672, 3536, 8185, 635, 4129, 71, 6315, 92, 24109, 67, 21731, 67, 4176, 8395, 309, 562, 12, 4324, 13, 422, 374, 30, 365, 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, 389, 92, 24109, 67, 5701, 67, 3394, 12, 2890, 16, 1334, 4672, 3536, 8185, 635, 4129, 71, 6315, 92, 24109, 67, 21731, 67, 4176, 8395, 309, 562, 12, 4324, 13, 422, 374, 30, 365, 18, 25...