rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
return changes[a.rev].author.lower()
return (changes[a.rev].author.lower(), embedded_numbers(a.name.lower()))
def file_order(a): return changes[a.rev].author.lower()
e498d8b88df149cb9e5f506f4f8a4417d9d8cb9f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9317/e498d8b88df149cb9e5f506f4f8a4417d9d8cb9f/browser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 585, 67, 1019, 12, 69, 4672, 327, 3478, 63, 69, 18, 9083, 8009, 4161, 18, 8167, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 585, 67, 1019, 12, 69, 4672, 327, 3478, 63, 69, 18, 9083, 8009, 4161, 18, 8167, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
HTMLApplication.onDownloadingItemsCountChange(self, obj, id)
HTMLApplication.onUnwatchedItemsCountChange(self, obj, id)
def onUnwatchedItemsCountChange(self, obj, id): HTMLApplication.onDownloadingItemsCountChange(self, obj, id) pybridge = makeService("@participatoryculture.org/dtv/pybridge;1",pcfIDTVPyBridge, True, False) pybridge.updateTrayMenus()
3f3cdf4fe15f0cd1d0698122bfe673ef0555fbb4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12354/3f3cdf4fe15f0cd1d0698122bfe673ef0555fbb4/Application.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 984, 7585, 329, 3126, 1380, 3043, 12, 2890, 16, 1081, 16, 612, 4672, 3982, 3208, 18, 265, 984, 7585, 329, 3126, 1380, 3043, 12, 2890, 16, 1081, 16, 612, 13, 2395, 18337, 273, 1221, 1179, 2932, 36, 2680, 24629, 8452, 71, 29923, 18, 3341, 19, 7510, 90, 19, 2074, 18337, 31, 21, 3113, 2436, 74, 734, 15579, 9413, 13691, 16, 1053, 16, 1083, 13, 2395, 18337, 18, 2725, 56, 435, 29755, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 984, 7585, 329, 3126, 1380, 3043, 12, 2890, 16, 1081, 16, 612, 4672, 3982, 3208, 18, 265, 984, 7585, 329, 3126, 1380, 3043, 12, 2890, 16, 1081, 16, 612, 13, 2395, 18337, 273, 1221, 1179, 2932, 36, 2680, 24629, 8452, 71, 29923, 18, 3341, 19, 7510, 90, 19, 2074, 18337, 31, 21, 3113, 2436, 74, 734, 15579, 9413, 13691, 16, 1053, 16, 1083, 13, 2395, 18337, 18, 2725, 56, 435, 29755, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return lxml.etree.fromstring(verify(cms, ta))
print "Entering cms.xml_verify()" val = lxml.etree.fromstring(verify(cms, ta)) print "Exiting cms.xml_verify()" return val
def xml_verify(cms, ta): """Composite routine to verify CMS-wrapped XML.""" return lxml.etree.fromstring(verify(cms, ta))
9221b12d1b1a9063f61d0066c65c0fb8654b32b0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/119/9221b12d1b1a9063f61d0066c65c0fb8654b32b0/cms.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2025, 67, 8705, 12, 6851, 16, 13561, 4672, 3536, 9400, 12245, 358, 3929, 16621, 17, 18704, 3167, 12123, 1172, 315, 10237, 310, 6166, 18, 2902, 67, 8705, 10031, 1244, 273, 328, 2902, 18, 31303, 18, 2080, 1080, 12, 8705, 12, 6851, 16, 13561, 3719, 1172, 315, 6767, 310, 6166, 18, 2902, 67, 8705, 10031, 327, 1244, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2025, 67, 8705, 12, 6851, 16, 13561, 4672, 3536, 9400, 12245, 358, 3929, 16621, 17, 18704, 3167, 12123, 1172, 315, 10237, 310, 6166, 18, 2902, 67, 8705, 10031, 1244, 273, 328, 2902, 18, 31303, 18, 2080, 1080, 12, 8705, 12, 6851, 16, 13561, 3719, 1172, 315, 6767, 310, 6166, 18, 2902, 67, 8705, 10031, 327, 1244, 225, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return pos, result def scan(file, pos): """Return a potential transaction location following pos in file.
return pos, result, tid def truncate(f, pos, file_size, outp): """Copy data from pos to end of f to a .trNNN file.""" i = 0 while 1: trname = outp + ".tr%d" % i if os.path.exists(trname): i += 1 tr = open(trname, "wb") copy(f, tr, file_size - pos) f.seek(pos) tr.close() def copy(src, dst, n): while n: buf = src.read(8096) if not buf: break if len(buf) > n: buf = buf[:n] dst.write(buf) n -= len(buf) def scan(f, pos): """Return a potential transaction location following pos in f.
def read_transaction_header(file, pos, file_size): # Read the transaction record file.seek(pos) h = file.read(23) if len(h) < 23: raise EOFError tid, stl, status, ul, dl, el = unpack(">8s8scHHH",h) if el < 0: el=t32-el tl=u64(stl) if status=='c': raise EOFError if pos+(tl+8) > file_size: error("bad transaction length at %s", pos) if status not in ' up': error('invalid status, %s, at %s', status, pos) if tl < (23+ul+dl+el): error('invalid transaction length, %s, at %s', tl, pos) tpos=pos tend=tpos+tl if status=='u': # Undone transaction, skip it file.seek(tend) h = file.read(8) if h != stl: error('inconsistent transaction length at %s', pos) pos = tend + 8 return pos, None pos = tpos+(23+ul+dl+el) user = file.read(ul) description = file.read(dl) if el: try: e=loads(file.read(el)) except: e={} else: e={} result = RecordIterator(tid, status, user, description, e, pos, tend, file, tpos) pos=tend # Read the (intentionally redundant) transaction length file.seek(pos) h = file.read(8) if h != stl: error("redundant transaction length check failed at %s", pos) pos += 8 return pos, result
9bf5e2e14a6436c3a8e756728b18bc7a4b7dd814 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10048/9bf5e2e14a6436c3a8e756728b18bc7a4b7dd814/fsrecover.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 7958, 67, 3374, 12, 768, 16, 949, 16, 585, 67, 1467, 4672, 468, 2720, 326, 2492, 1409, 585, 18, 16508, 12, 917, 13, 366, 273, 585, 18, 896, 12, 4366, 13, 309, 562, 12, 76, 13, 411, 10213, 30, 1002, 6431, 668, 225, 11594, 16, 384, 80, 16, 1267, 16, 7493, 16, 8910, 16, 415, 273, 6167, 2932, 34, 28, 87, 28, 1017, 17500, 44, 3113, 76, 13, 309, 415, 411, 374, 30, 415, 33, 88, 1578, 17, 292, 225, 8332, 33, 89, 1105, 12, 334, 80, 13, 225, 309, 1267, 18920, 71, 4278, 1002, 6431, 668, 225, 309, 949, 15, 12, 6172, 15, 28, 13, 405, 585, 67, 1467, 30, 555, 2932, 8759, 2492, 769, 622, 738, 87, 3113, 949, 13, 225, 309, 1267, 486, 316, 296, 731, 4278, 555, 2668, 5387, 1267, 16, 738, 87, 16, 622, 738, 87, 2187, 1267, 16, 949, 13, 225, 309, 8332, 411, 261, 4366, 15, 332, 15, 5761, 15, 292, 4672, 555, 2668, 5387, 2492, 769, 16, 738, 87, 16, 622, 738, 87, 2187, 8332, 16, 949, 13, 225, 268, 917, 33, 917, 268, 409, 33, 88, 917, 15, 6172, 225, 309, 1267, 18920, 89, 4278, 468, 1351, 8734, 2492, 16, 2488, 518, 585, 18, 16508, 12, 17445, 13, 366, 273, 585, 18, 896, 12, 28, 13, 309, 366, 480, 384, 80, 30, 555, 2668, 267, 16952, 2492, 769, 622, 738, 87, 2187, 949, 13, 949, 273, 268, 409, 397, 1725, 327, 949, 16, 599, 225, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 7958, 67, 3374, 12, 768, 16, 949, 16, 585, 67, 1467, 4672, 468, 2720, 326, 2492, 1409, 585, 18, 16508, 12, 917, 13, 366, 273, 585, 18, 896, 12, 4366, 13, 309, 562, 12, 76, 13, 411, 10213, 30, 1002, 6431, 668, 225, 11594, 16, 384, 80, 16, 1267, 16, 7493, 16, 8910, 16, 415, 273, 6167, 2932, 34, 28, 87, 28, 1017, 17500, 44, 3113, 76, 13, 309, 415, 411, 374, 30, 415, 33, 88, 1578, 17, 292, 225, 8332, 33, 89, 1105, 12, 334, 80, 13, 225, 309, 1267, 18920, 71, 4278, 1002, 6431, 668, 225, 309, 949, 15, 12, 6172, 15, 28, 13, 405, 585, 67, 1467, 30, 555, 2932, 8759, 2492, 769, 2 ]
def reset_timestamp(new_timestamp):
def reset_timestamp(self, new_timestamp):
def reset_timestamp(new_timestamp): self.base_time = time.time() self.base_timestamp = new_timestamp
b62fce4e16beaf1f2ad3da1d19d00b1e3338004e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8028/b62fce4e16beaf1f2ad3da1d19d00b1e3338004e/mcap_csp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2715, 67, 5508, 12, 2890, 16, 394, 67, 5508, 4672, 365, 18, 1969, 67, 957, 273, 813, 18, 957, 1435, 365, 18, 1969, 67, 5508, 273, 394, 67, 5508, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2715, 67, 5508, 12, 2890, 16, 394, 67, 5508, 4672, 365, 18, 1969, 67, 957, 273, 813, 18, 957, 1435, 365, 18, 1969, 67, 5508, 273, 394, 67, 5508, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return updates = node.updates() updatesmore = None in updates updates.discard(None) updates = ' '.join(map(str, sorted(updates))) if updatesmore: self.write('// clobbers: %s (and possibly more)' % updates) elif updates: self.write('// clobbers: %s' % updates)
updates = node.postupdates() if updates: self.write('// clobbers: %r' % updates)
def dumpcomplex(self, node): stride = node.stride() if stride is None: self.write('// stride: unknown') elif stride != 0: self.write('// stride: %s' % stride)
71e0598bb7dc6d9b90f66161eeb283e8ddccc073 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2040/71e0598bb7dc6d9b90f66161eeb283e8ddccc073/esotope-bfc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 14259, 12, 2890, 16, 756, 4672, 11084, 273, 756, 18, 27937, 1435, 309, 11084, 353, 599, 30, 365, 18, 2626, 2668, 759, 11084, 30, 5917, 6134, 1327, 11084, 480, 374, 30, 365, 18, 2626, 2668, 759, 11084, 30, 738, 87, 11, 738, 11084, 13, 2, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4657, 14259, 12, 2890, 16, 756, 4672, 11084, 273, 756, 18, 27937, 1435, 309, 11084, 353, 599, 30, 365, 18, 2626, 2668, 759, 11084, 30, 5917, 6134, 1327, 11084, 480, 374, 30, 365, 18, 2626, 2668, 759, 11084, 30, 738, 87, 11, 738, 11084, 13, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for f in os.listdir(destfolder): if f.endswith('.metadata'): continue fullname = os.path.join(destfolder, f) P = FileProxy(f, fullname, f) mi = self.mimetypes_registry.classify(data=None, filename=f) if os.path.isdir(fullname): P.setIconPath('folder_icon.gif') P.setAbsoluteURL(self.absolute_url() + '/' + os.path.join(rel_dir, f) + '/plfng_view') P.setMimeType('folder') else: P.setIconPath(mi.icon_path) P.setAbsoluteURL(self.absolute_url() + '/' + os.path.join(rel_dir, f)) P.setMimeType(mi.normalized()) if os.path.exists(fullname + '.metadata'): try: P.setComment(getMetadataElement(fullname, section="GENERAL", option="comment")) except: P.setComment('') else: P.setComment('') l.append(P) except: zLOG.LOG('PloneLocalFolderNG', zLOG.INFO , "listFolderContents() :: error reading folder (%s) contents" % destfolder )
for f in os.listdir(destfolder): if f.endswith('.metadata'): continue fullname = os.path.join(destfolder, f) P = FileProxy(f, fullname, f) mi = self.mimetypes_registry.classify(data=None, filename=f) if os.path.isdir(fullname): P.setIconPath('folder_icon.gif') P.setAbsoluteURL(self.absolute_url() + '/' + os.path.join(rel_dir, f) + '/plfng_view') P.setMimeType('folder') else: P.setIconPath(mi.icon_path) P.setAbsoluteURL(self.absolute_url() + '/' + os.path.join(rel_dir, f)) P.setMimeType(mi.normalized()) if os.path.exists(fullname + '.metadata'): try: P.setComment(getMetadataElement(fullname, section="GENERAL", option="comment")) except: P.setComment('') else: P.setComment('') l.append(P) except: zLOG.LOG('PloneLocalFolderNG', zLOG.INFO , "listFolderContents() :: error reading folder (%s) contents" % destfolder )
def listFolderContents(self, spec=None, contentFilter=None, suppressHiddenFiles=0, REQUEST=None, RESPONSE=None): """ list content of local filesystem """ #zLOG.LOG('PLFNG', zLOG.INFO , "listFolderContents() :: REQUEST = %s" % REQUEST) #zLOG.LOG('PLFNG', zLOG.INFO , "listFolderContents() :: self.REQUEST = %s" % self.REQUEST) if REQUEST==None: self.REQUEST.RESPONSE.redirect( self.REQUEST['URL1'] + '/plfng_view' ) #zLOG.LOG('PLFNG', zLOG.INFO , "listFolderContents() :: self.REQUEST[URL1] = %s" % self.REQUEST['URL1']) return [] #zLOG.LOG('PLFNG', zLOG.INFO , "listFolderContents() :: self.REQUEST = %s" % self.REQUEST) #self.REQUEST.RESPONSE.redirect( self.absolute_url() + '/plfng_view' ) else: rel_dir = '/'.join(REQUEST.get('_e', [])) show_dir = '/'.join(REQUEST['_e']) action = REQUEST.get('action', '')
692ac3754ddf4f2db9a4880d73fdcaa486784f64 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1807/692ac3754ddf4f2db9a4880d73fdcaa486784f64/PloneLocalFolderNG.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 666, 3899, 6323, 12, 2890, 16, 225, 857, 33, 7036, 16, 913, 1586, 33, 7036, 16, 12257, 9345, 2697, 33, 20, 16, 12492, 33, 7036, 16, 20645, 33, 7036, 4672, 3536, 666, 913, 434, 1191, 6496, 3536, 468, 94, 4842, 18, 4842, 2668, 6253, 42, 4960, 2187, 998, 4842, 18, 5923, 269, 315, 1098, 3899, 6323, 1435, 493, 12492, 273, 738, 87, 6, 738, 12492, 13, 468, 94, 4842, 18, 4842, 2668, 6253, 42, 4960, 2187, 998, 4842, 18, 5923, 269, 315, 1098, 3899, 6323, 1435, 493, 365, 18, 5519, 273, 738, 87, 6, 738, 365, 18, 5519, 13, 225, 309, 12492, 631, 7036, 30, 365, 18, 5519, 18, 14508, 18, 7590, 12, 365, 18, 5519, 3292, 1785, 21, 3546, 397, 1173, 412, 74, 3368, 67, 1945, 11, 262, 468, 94, 4842, 18, 4842, 2668, 6253, 42, 4960, 2187, 998, 4842, 18, 5923, 269, 315, 1098, 3899, 6323, 1435, 493, 365, 18, 5519, 63, 1785, 21, 65, 273, 738, 87, 6, 738, 365, 18, 5519, 3292, 1785, 21, 19486, 327, 5378, 225, 468, 94, 4842, 18, 4842, 2668, 6253, 42, 4960, 2187, 998, 4842, 18, 5923, 269, 315, 1098, 3899, 6323, 1435, 493, 365, 18, 5519, 273, 738, 87, 6, 738, 365, 18, 5519, 13, 468, 2890, 18, 5519, 18, 14508, 18, 7590, 12, 365, 18, 12547, 67, 718, 1435, 397, 1173, 412, 74, 3368, 67, 1945, 11, 262, 469, 30, 1279, 67, 1214, 273, 2023, 18, 5701, 12, 5519, 18, 588, 2668, 67, 73, 2187, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 666, 3899, 6323, 12, 2890, 16, 225, 857, 33, 7036, 16, 913, 1586, 33, 7036, 16, 12257, 9345, 2697, 33, 20, 16, 12492, 33, 7036, 16, 20645, 33, 7036, 4672, 3536, 666, 913, 434, 1191, 6496, 3536, 468, 94, 4842, 18, 4842, 2668, 6253, 42, 4960, 2187, 998, 4842, 18, 5923, 269, 315, 1098, 3899, 6323, 1435, 493, 12492, 273, 738, 87, 6, 738, 12492, 13, 468, 94, 4842, 18, 4842, 2668, 6253, 42, 4960, 2187, 998, 4842, 18, 5923, 269, 315, 1098, 3899, 6323, 1435, 493, 365, 18, 5519, 273, 738, 87, 6, 738, 365, 18, 5519, 13, 225, 309, 12492, 631, 7036, 30, 365, 18, 5519, 18, 14508, 18, 7590, 12, 365, 18, 5519, 3292, 1785, 2 ]
def __init__(self,n=1,r=1,c=1,e=4, star=False, **kwargs):
def __init__(self, n=1, r=1, c=1, e=4, star=False, **kwargs):
def __init__(self,n=1,r=1,c=1,e=4, star=False, **kwargs): r""" Small Scale Variants of the AES polynomial system constructor over $GF(2)$. See help for SR.
e506ccc2459e6e3948659b0d1b28d9d6b70342e4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/e506ccc2459e6e3948659b0d1b28d9d6b70342e4/sr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 290, 33, 21, 16, 436, 33, 21, 16, 276, 33, 21, 16, 425, 33, 24, 16, 10443, 33, 8381, 16, 2826, 4333, 4672, 436, 8395, 9425, 454, 12591, 11487, 4388, 434, 326, 15986, 16991, 2619, 3885, 1879, 271, 43, 42, 12, 22, 21877, 18, 2164, 2809, 364, 19145, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 4388, 434, 326, 15986, 16991, 2619, 3885, 1879, 271, 43, 42, 12, 22, 21877, 18, 2164, 2809, 364, 19145, 18, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def _generic_names(self): return frozenset(['after', 'before'])
def _generic_names(self): #{{{ return frozenset(['after', 'before'])
93fac5d70a98e72cba457e3a1d94ab37958155ea /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2635/93fac5d70a98e72cba457e3a1d94ab37958155ea/decorators.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 13540, 67, 1973, 12, 2890, 4672, 3735, 12187, 327, 23462, 12, 3292, 5205, 2187, 296, 5771, 19486, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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12, 3292, 5205, 2187, 296, 5771, 19486, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
wiface = wnettools.WirelessInterface(self.wireless_interface, self.wpa_driver)
wiface = wnettools.WirelessInterface(self.wireless_interface, self.wpa_driver)
def GetSignalStrength(self): """ Get signal strength of the current network.
697bb050ead410cc2f275a2a2056d6dec4e376ce /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12280/697bb050ead410cc2f275a2a2056d6dec4e376ce/networking.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 11208, 27624, 12, 2890, 4672, 3536, 968, 4277, 21638, 434, 326, 783, 2483, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 11208, 27624, 12, 2890, 4672, 3536, 968, 4277, 21638, 434, 326, 783, 2483, 18, 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, -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, -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, -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 ]
else:
elif line != "":
def __init__(self, line=None): # load the name, (pose,time) pairs for this sequence try: if line == None: return while True: if line.find(",") > 0: self.append(line[0:line.index(",")].strip().rstrip().replace("|",",")) else: self.append(line.strip().rstrip().replace("|",",")) line = line[line.index(",")+1:] except: pass
3e543cdb2d6303d2cbf2b29ee72da644c4bda22b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9859/3e543cdb2d6303d2cbf2b29ee72da644c4bda22b/project.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 980, 33, 7036, 4672, 468, 1262, 326, 508, 16, 261, 4150, 16, 957, 13, 5574, 364, 333, 3102, 775, 30, 309, 980, 422, 599, 30, 327, 1323, 1053, 30, 309, 980, 18, 4720, 2932, 16, 7923, 405, 374, 30, 365, 18, 6923, 12, 1369, 63, 20, 30, 1369, 18, 1615, 2932, 16, 7923, 8009, 6406, 7675, 86, 6406, 7675, 2079, 2932, 96, 3113, 15937, 3719, 1327, 980, 480, 1408, 30, 365, 18, 6923, 12, 1369, 18, 6406, 7675, 86, 6406, 7675, 2079, 2932, 96, 3113, 15937, 3719, 980,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 980, 33, 7036, 4672, 468, 1262, 326, 508, 16, 261, 4150, 16, 957, 13, 5574, 364, 333, 3102, 775, 30, 309, 980, 422, 599, 30, 327, 1323, 1053, 30, 309, 980, 18, 4720, 2932, 16, 7923, 405, 374, 30, 365, 18, 6923, 12, 1369, 63, 20, 30, 1369, 18, 1615, 2932, 16, 7923, 8009, 6406, 7675, 86, 6406, 7675, 2079, 2932, 96, 3113, 15937, 3719, 1327, 980, 480, 1408, 30, 365, 18, 6923, 12, 1369, 18, 6406, 7675, 86, 6406, 7675, 2079, 2932, 96, 3113, 15937, 3719, 980, 273, 980, 63, 1369, 18, 1615, 2932, 16, 7923, 15, 21, 26894, 1335, 30, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if not (typ in (DictType, ListType, TupleType) and object):
if not (typ in (DictType, ListType, TupleType, StringType) and object):
def _safe_repr(object, context, maxlevels=None, level=0): level += 1 typ = type(object) if not (typ in (DictType, ListType, TupleType) and object): rep = `object` return rep, (rep and (rep[0] != '<')), 0 if context.has_key(id(object)): return `_Recursion(object)`, 0, 1 objid = id(object) context[objid] = 1 readable = 1 recursive = 0 startchar, endchar = {ListType: "[]", TupleType: "()", DictType: "{}"}[typ] if maxlevels and level > maxlevels: with_commas = "..." readable = 0 elif typ is DictType: components = [] for k, v in object.iteritems(): krepr, kreadable, krecur = _safe_repr(k, context, maxlevels, level) vrepr, vreadable, vrecur = _safe_repr(v, context, maxlevels, level) components.append("%s: %s" % (krepr, vrepr)) readable = readable and kreadable and vreadable recursive = recursive or krecur or vrecur with_commas = ", ".join(components) else: # list or tuple assert typ in (ListType, TupleType) components = [] for element in object: subrepr, subreadable, subrecur = _safe_repr( element, context, maxlevels, level) components.append(subrepr) readable = readable and subreadable recursive = recursive or subrecur if len(components) == 1 and typ is TupleType: components[0] += "," with_commas = ", ".join(components) s = "%s%s%s" % (startchar, with_commas, endchar) del context[objid] return s, readable and not recursive, recursive
c609577284d84e3374fee469ded0b38b9133a37c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/c609577284d84e3374fee469ded0b38b9133a37c/pprint.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4626, 67, 12715, 12, 1612, 16, 819, 16, 943, 12095, 33, 7036, 16, 1801, 33, 20, 4672, 1801, 1011, 404, 3815, 273, 618, 12, 1612, 13, 309, 486, 261, 12846, 316, 261, 5014, 559, 16, 987, 559, 16, 7257, 559, 16, 31570, 13, 471, 733, 4672, 2071, 273, 1375, 1612, 68, 327, 2071, 16, 261, 14462, 471, 261, 14462, 63, 20, 65, 480, 2368, 6134, 3631, 374, 225, 309, 819, 18, 5332, 67, 856, 12, 350, 12, 1612, 3719, 30, 327, 1375, 67, 426, 10919, 12, 1612, 13, 9191, 374, 16, 404, 1081, 350, 273, 612, 12, 1612, 13, 819, 63, 2603, 350, 65, 273, 404, 225, 7471, 273, 404, 5904, 273, 374, 787, 3001, 16, 679, 3001, 273, 288, 19366, 30, 225, 5158, 65, 3113, 7257, 559, 30, 25605, 3113, 9696, 559, 30, 225, 13034, 20294, 12846, 65, 309, 943, 12095, 471, 1801, 405, 943, 12095, 30, 598, 67, 5702, 345, 273, 26456, 7471, 273, 374, 225, 1327, 3815, 353, 9696, 559, 30, 4085, 273, 5378, 364, 417, 16, 331, 316, 733, 18, 2165, 3319, 13332, 417, 12715, 16, 417, 11018, 16, 417, 266, 1397, 273, 389, 4626, 67, 12715, 12, 79, 16, 819, 16, 943, 12095, 16, 1801, 13, 331, 12715, 16, 331, 11018, 16, 331, 266, 1397, 273, 389, 4626, 67, 12715, 12, 90, 16, 819, 16, 943, 12095, 16, 1801, 13, 4085, 18, 6923, 27188, 87, 30, 738, 87, 6, 738, 261, 79, 12715, 16, 331, 12715, 3719, 7471, 273, 7471, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4626, 67, 12715, 12, 1612, 16, 819, 16, 943, 12095, 33, 7036, 16, 1801, 33, 20, 4672, 1801, 1011, 404, 3815, 273, 618, 12, 1612, 13, 309, 486, 261, 12846, 316, 261, 5014, 559, 16, 987, 559, 16, 7257, 559, 16, 31570, 13, 471, 733, 4672, 2071, 273, 1375, 1612, 68, 327, 2071, 16, 261, 14462, 471, 261, 14462, 63, 20, 65, 480, 2368, 6134, 3631, 374, 225, 309, 819, 18, 5332, 67, 856, 12, 350, 12, 1612, 3719, 30, 327, 1375, 67, 426, 10919, 12, 1612, 13, 9191, 374, 16, 404, 1081, 350, 273, 612, 12, 1612, 13, 819, 63, 2603, 350, 65, 273, 404, 225, 7471, 273, 404, 5904, 273, 374, 787, 3001, 16, 679, 2 ]
minBytes = maxint maxBytes = 0
if len(self.fileInfoList) > 0: minBytes = self.fileInfoList[0].bytes maxBytes = self.fileInfoList[0].bytes else: minBytes = 0 maxBytes = 0
def getFileStat(self,what): """ Return some file statistics @param self @param string type ('files','avg lines','min lines','max lines', 'sum bytes','avg bytes','min bytes','max bytes') @return number stat_value value for the requested stat. Depending on its type, this may be either an integer or a float """ if what not in ['files','avg lines','min lines','max lines','sum bytes','avg bytes','min bytes','max bytes']: return 0 fileCount = len(self.fileInfoList) if what in ['sum bytes','avg bytes','min bytes','max bytes']: sumBytes = 0 minBytes = maxint maxBytes = 0 for file in self.fileInfoList: sumBytes += file.bytes if file.bytes < minBytes: minBytes = file.bytes elif file.bytes > maxBytes: maxBytes = file.bytes if what in ['min lines','max lines']: minLines = maxint maxLines = 0 for file in self.fileInfoList: if file.lines < minLines: minLines = file.lines elif file.lines > maxLines: maxLines = file.lines if what == 'files': return fileCount elif what == 'avg lines': return self.getLoc('totals') / fileCount elif what == 'min lines': return minLines elif what == 'max lines': return maxLines elif what == 'sum bytes': return sumBytes elif what == 'avg bytes': return float(sumBytes/fileCount) elif what == 'min bytes': return minBytes elif what == 'max bytes': return maxBytes
9cc4a3475475c3dbe2b3d026fe16f000431cd3bc /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5976/9cc4a3475475c3dbe2b3d026fe16f000431cd3bc/hypercore.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6034, 5000, 12, 2890, 16, 23770, 4672, 3536, 2000, 2690, 585, 7691, 632, 891, 365, 632, 891, 533, 618, 7707, 2354, 17023, 14141, 2362, 17023, 1154, 2362, 17023, 1896, 2362, 2187, 296, 1364, 1731, 17023, 14141, 1731, 17023, 1154, 1731, 17023, 1896, 1731, 6134, 632, 2463, 1300, 610, 67, 1132, 460, 364, 326, 3764, 610, 18, 4019, 2846, 603, 2097, 618, 16, 333, 2026, 506, 3344, 392, 3571, 578, 279, 1431, 3536, 309, 4121, 486, 316, 10228, 2354, 17023, 14141, 2362, 17023, 1154, 2362, 17023, 1896, 2362, 17023, 1364, 1731, 17023, 14141, 1731, 17023, 1154, 1731, 17023, 1896, 1731, 3546, 30, 327, 374, 585, 1380, 273, 562, 12, 2890, 18, 768, 17914, 13, 309, 4121, 316, 10228, 1364, 1731, 17023, 14141, 1731, 17023, 1154, 1731, 17023, 1896, 1731, 3546, 30, 2142, 2160, 273, 374, 309, 562, 12, 2890, 18, 768, 17914, 13, 405, 374, 30, 1131, 2160, 273, 365, 18, 768, 17914, 63, 20, 8009, 3890, 943, 2160, 273, 365, 18, 768, 17914, 63, 20, 8009, 3890, 469, 30, 1131, 2160, 273, 374, 943, 2160, 273, 374, 364, 585, 316, 365, 18, 768, 17914, 30, 2142, 2160, 1011, 585, 18, 3890, 309, 585, 18, 3890, 411, 1131, 2160, 30, 1131, 2160, 273, 585, 18, 3890, 1327, 585, 18, 3890, 405, 943, 2160, 30, 943, 2160, 273, 585, 18, 3890, 309, 4121, 316, 10228, 1154, 2362, 17023, 1896, 2362, 3546, 30, 1131, 5763, 273, 943, 474, 943, 5763, 273, 374, 364, 585, 316, 365, 18, 768, 17914, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6034, 5000, 12, 2890, 16, 23770, 4672, 3536, 2000, 2690, 585, 7691, 632, 891, 365, 632, 891, 533, 618, 7707, 2354, 17023, 14141, 2362, 17023, 1154, 2362, 17023, 1896, 2362, 2187, 296, 1364, 1731, 17023, 14141, 1731, 17023, 1154, 1731, 17023, 1896, 1731, 6134, 632, 2463, 1300, 610, 67, 1132, 460, 364, 326, 3764, 610, 18, 4019, 2846, 603, 2097, 618, 16, 333, 2026, 506, 3344, 392, 3571, 578, 279, 1431, 3536, 309, 4121, 486, 316, 10228, 2354, 17023, 14141, 2362, 17023, 1154, 2362, 17023, 1896, 2362, 17023, 1364, 1731, 17023, 14141, 1731, 17023, 1154, 1731, 17023, 1896, 1731, 3546, 30, 327, 374, 585, 1380, 273, 562, 12, 2890, 18, 768, 17914, 13, 309, 4121, 316, 10228, 1364, 2 ]
LDBDClient.LDBDClient(self.serverName,int(self.serverPort),identity)
LDBDClient.LDBDClient(serverName,int(serverPort),identity)
def getSciSegs(serverURL="ldbd://metaserver.phy.syr.edu:30015", ifo=None, gpsStart=None, gpsStop=None, cut=bool(False)): """ This method is designed to query the server specified by SERVERURL. The method will return the segments that are between and overlaping with the variable gpsStart and gpsStop. If the flag cut is specified to be True then the returned lists will be cut so that the times are between gpsStart and gpsStop inclusive. In addition to these required arguments you must also specify in a text string the IFO of interest. Valid entries are L1 H1 V1 , but only one IFO at a time can be specified. """ if sum([x==None for x in (ifo,gpsStart,gpsStop)])>0: os.stderr.write("Invalid arguments given to getSciSegs.\n") return None ifo=ifo.strip() queryString="SELECT \ segment_definer.ifos,segment_definer.name,\
880d0870ae33546eecaf51d72c7fafa1d39bad26 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5758/880d0870ae33546eecaf51d72c7fafa1d39bad26/fu_utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1322, 8450, 1761, 564, 12, 3567, 1785, 1546, 1236, 16410, 2207, 10578, 345, 12330, 18, 844, 93, 18, 9009, 86, 18, 28049, 30, 19249, 3600, 3113, 21479, 33, 7036, 16, 20985, 1685, 33, 7036, 16, 20985, 4947, 33, 7036, 16, 6391, 33, 6430, 12, 8381, 3719, 30, 3536, 1220, 707, 353, 26584, 358, 843, 326, 1438, 1269, 635, 15061, 1785, 18, 1021, 707, 903, 327, 326, 5155, 716, 854, 3086, 471, 7227, 310, 598, 326, 2190, 20985, 1685, 471, 20985, 4947, 18, 225, 971, 326, 2982, 6391, 353, 1269, 358, 506, 1053, 1508, 326, 2106, 6035, 903, 506, 6391, 1427, 716, 326, 4124, 854, 3086, 20985, 1685, 471, 20985, 4947, 13562, 18, 225, 657, 2719, 358, 4259, 1931, 1775, 1846, 1297, 2546, 4800, 316, 279, 977, 533, 326, 467, 3313, 434, 16513, 18, 225, 2364, 3222, 854, 511, 21, 670, 21, 776, 21, 269, 1496, 1338, 1245, 467, 3313, 622, 279, 813, 848, 506, 1269, 18, 3536, 309, 2142, 3816, 92, 631, 7036, 364, 619, 316, 261, 20299, 16, 75, 1121, 1685, 16, 75, 1121, 4947, 13, 5717, 34, 20, 30, 1140, 18, 11241, 18, 2626, 2932, 1941, 1775, 864, 358, 1322, 8450, 1761, 564, 8403, 82, 7923, 327, 599, 21479, 33, 20299, 18, 6406, 1435, 11337, 1546, 4803, 521, 3267, 67, 5649, 264, 18, 430, 538, 16, 9273, 67, 5649, 264, 18, 529, 17211, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1322, 8450, 1761, 564, 12, 3567, 1785, 1546, 1236, 16410, 2207, 10578, 345, 12330, 18, 844, 93, 18, 9009, 86, 18, 28049, 30, 19249, 3600, 3113, 21479, 33, 7036, 16, 20985, 1685, 33, 7036, 16, 20985, 4947, 33, 7036, 16, 6391, 33, 6430, 12, 8381, 3719, 30, 3536, 1220, 707, 353, 26584, 358, 843, 326, 1438, 1269, 635, 15061, 1785, 18, 1021, 707, 903, 327, 326, 5155, 716, 854, 3086, 471, 7227, 310, 598, 326, 2190, 20985, 1685, 471, 20985, 4947, 18, 225, 971, 326, 2982, 6391, 353, 1269, 358, 506, 1053, 1508, 326, 2106, 6035, 903, 506, 6391, 1427, 716, 326, 4124, 854, 3086, 20985, 1685, 471, 20985, 4947, 13562, 18, 225, 657, 2719, 358, 4259, 1931, 2 ]
print _("created index of plugins")
self.logger.debug(_("created index of plugins"))
def create_plugin_index(self): for file_handler in glob(self.config['plugin_folder'] + sep + '*.py'): if file_handler != self.config['plugin_folder'] + sep + "Plugin.py": plugin_pattern = "" plugin_file = basename(file_handler).replace('.py', '') for line in open(file_handler, "r").readlines(): if "props['pattern']" in line: plugin_pattern = line.split("r\"")[1].split("\"")[0] if plugin_pattern != "": self.plugins_avaible[plugin_file] = plugin_pattern self.logger.debug(plugin_file + _(" added")) print _("created index of plugins")
8b1e215d8c26e02670fa809868120dcccb9db446 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9838/8b1e215d8c26e02670fa809868120dcccb9db446/Core.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 4094, 67, 1615, 12, 2890, 4672, 364, 585, 67, 4176, 316, 4715, 12, 2890, 18, 1425, 3292, 4094, 67, 5609, 3546, 397, 5478, 397, 19962, 2074, 11, 4672, 309, 585, 67, 4176, 480, 365, 18, 1425, 3292, 4094, 67, 5609, 3546, 397, 5478, 397, 315, 3773, 18, 2074, 6877, 1909, 67, 4951, 273, 1408, 1909, 67, 768, 273, 4882, 12, 768, 67, 4176, 2934, 2079, 2668, 18, 2074, 2187, 28707, 364, 980, 316, 1696, 12, 768, 67, 4176, 16, 315, 86, 20387, 896, 3548, 13332, 309, 315, 9693, 3292, 4951, 31867, 316, 980, 30, 1909, 67, 4951, 273, 980, 18, 4939, 2932, 86, 2412, 7923, 63, 21, 8009, 4939, 2932, 2412, 7923, 63, 20, 65, 309, 1909, 67, 4951, 480, 1408, 30, 365, 18, 8057, 67, 1629, 1523, 63, 4094, 67, 768, 65, 273, 1909, 67, 4951, 365, 18, 4901, 18, 4148, 12, 4094, 67, 768, 397, 389, 2932, 3096, 6, 3719, 1172, 389, 2932, 4824, 770, 434, 4799, 7923, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 752, 67, 4094, 67, 1615, 12, 2890, 4672, 364, 585, 67, 4176, 316, 4715, 12, 2890, 18, 1425, 3292, 4094, 67, 5609, 3546, 397, 5478, 397, 19962, 2074, 11, 4672, 309, 585, 67, 4176, 480, 365, 18, 1425, 3292, 4094, 67, 5609, 3546, 397, 5478, 397, 315, 3773, 18, 2074, 6877, 1909, 67, 4951, 273, 1408, 1909, 67, 768, 273, 4882, 12, 768, 67, 4176, 2934, 2079, 2668, 18, 2074, 2187, 28707, 364, 980, 316, 1696, 12, 768, 67, 4176, 16, 315, 86, 20387, 896, 3548, 13332, 309, 315, 9693, 3292, 4951, 31867, 316, 980, 30, 1909, 67, 4951, 273, 980, 18, 4939, 2932, 86, 2412, 7923, 63, 21, 8009, 4939, 2932, 2412, 7923, 63, 20, 65, 309, 2 ]
ip_re = "[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+"
int_re = "[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+"
def collectData(self): """Collect network interface data. """
ca39f42733b1d32bf6a376cea08c6e75c442e7cb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3643/ca39f42733b1d32bf6a376cea08c6e75c442e7cb/netstat.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3274, 751, 12, 2890, 4672, 3536, 10808, 2483, 1560, 501, 18, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3274, 751, 12, 2890, 4672, 3536, 10808, 2483, 1560, 501, 18, 3536, 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, -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, -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, -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, -100, -100 ]
elif x.eit is None:
else:
def isInTimer(self, eventid, begin, duration, service): time_match = 0 for x in self.timer_list: if str(x.service_ref) == str(service): #if x.eit is not None and x.repeated == 0: # if x.eit == eventid: # return duration if x.repeated != 0: chktime = localtime(begin) time = localtime(x.begin) chktimecmp = chktime.tm_wday * 1440 + chktime.tm_hour * 60 + chktime.tm_min for y in range(7): if x.repeated & (2 ** y): timecmp = y * 1440 + time.tm_hour * 60 + time.tm_min if timecmp <= chktimecmp < (timecmp + ((x.end - x.begin) / 60)): time_match = ((timecmp + ((x.end - x.begin) / 60)) - chktimecmp) * 60 elif chktimecmp <= timecmp < (chktimecmp + (duration / 60)): time_match = ((chktimecmp + (duration / 60)) - timecmp) * 60 elif x.eit is None: end = begin + duration if begin <= x.begin <= end: diff = end - x.begin if time_match < diff: time_match = diff elif x.begin <= begin <= x.end: diff = x.end - begin if time_match < diff: time_match = diff return time_match
7a1caa86f7dbcd3062b1cca23cb84a16dfef2b7d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/7a1caa86f7dbcd3062b1cca23cb84a16dfef2b7d/RecordTimer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8048, 6777, 12, 2890, 16, 871, 350, 16, 2376, 16, 3734, 16, 1156, 4672, 813, 67, 1916, 273, 374, 364, 619, 316, 365, 18, 12542, 67, 1098, 30, 309, 609, 12, 92, 18, 3278, 67, 1734, 13, 422, 609, 12, 3278, 4672, 468, 430, 619, 18, 73, 305, 353, 486, 599, 471, 619, 18, 266, 9061, 422, 374, 30, 468, 202, 430, 619, 18, 73, 305, 422, 871, 350, 30, 468, 202, 202, 2463, 3734, 309, 619, 18, 266, 9061, 480, 374, 30, 15000, 957, 273, 1191, 957, 12, 10086, 13, 813, 273, 1191, 957, 12, 92, 18, 10086, 13, 15000, 957, 9625, 273, 15000, 957, 18, 16925, 67, 91, 2881, 380, 5045, 7132, 397, 15000, 957, 18, 16925, 67, 12091, 380, 4752, 397, 15000, 957, 18, 16925, 67, 1154, 364, 677, 316, 1048, 12, 27, 4672, 309, 619, 18, 266, 9061, 473, 261, 22, 2826, 677, 4672, 813, 9625, 273, 677, 380, 5045, 7132, 397, 813, 18, 16925, 67, 12091, 380, 4752, 397, 813, 18, 16925, 67, 1154, 309, 813, 9625, 1648, 15000, 957, 9625, 411, 261, 957, 9625, 397, 14015, 92, 18, 409, 300, 619, 18, 10086, 13, 342, 4752, 3719, 30, 813, 67, 1916, 273, 14015, 957, 9625, 397, 14015, 92, 18, 409, 300, 619, 18, 10086, 13, 342, 4752, 3719, 300, 15000, 957, 9625, 13, 380, 4752, 1327, 15000, 957, 9625, 1648, 813, 9625, 411, 261, 27038, 957, 9625, 397, 261, 8760, 342, 4752, 3719, 30, 813, 67, 1916, 273, 14015, 27038, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8048, 6777, 12, 2890, 16, 871, 350, 16, 2376, 16, 3734, 16, 1156, 4672, 813, 67, 1916, 273, 374, 364, 619, 316, 365, 18, 12542, 67, 1098, 30, 309, 609, 12, 92, 18, 3278, 67, 1734, 13, 422, 609, 12, 3278, 4672, 468, 430, 619, 18, 73, 305, 353, 486, 599, 471, 619, 18, 266, 9061, 422, 374, 30, 468, 202, 430, 619, 18, 73, 305, 422, 871, 350, 30, 468, 202, 202, 2463, 3734, 309, 619, 18, 266, 9061, 480, 374, 30, 15000, 957, 273, 1191, 957, 12, 10086, 13, 813, 273, 1191, 957, 12, 92, 18, 10086, 13, 15000, 957, 9625, 273, 15000, 957, 18, 16925, 67, 91, 2881, 380, 5045, 7132, 397, 15000, 957, 18, 2 ]
QToolTip.add(self.icharg_spinbox,self.__tr("The total charge of the structure to be treated quantum mechanically.")) QWhatsThis.add(self.icharg_spinbox,self.__tr("The total charge of the structure to be treated quantum mechanically."))
QToolTip.add(self.icharg_spinbox,self.__tr("The total charge of the structure (IGHARG)")) QWhatsThis.add(self.icharg_spinbox,self.__tr("The total charge of the structure to be treated quantum mechanically (ICHARG)."))
def languageChange(self): self.setCaption(self.__tr("GAMESS Properties")) self.psetslbl_2_2.setText(self.__tr("Name :")) self.textLabel1_2_3.setText(self.__tr("Calculate :")) self.textLabel1_3.setText(self.__tr("Description :")) self.textLabel1_3_2.setText(self.__tr("Color :")) self.name_linedit.setText(QString.null) QToolTip.add(self.name_linedit,self.__tr("The name of the GAMESS jig.")) QWhatsThis.add(self.name_linedit,self.__tr("The name of the GAMESS jig.")) self.runtyp_combox.clear() self.runtyp_combox.insertItem(self.__tr("Energy")) self.runtyp_combox.insertItem(self.__tr("Optimization")) self.runtyp_combox.setCurrentItem(0) self.comment_linedit.setText(QString.null) self.choose_color_btn.setText(self.__tr("Choose...")) QToolTip.add(self.choose_color_btn,self.__tr("Change color")) self.scftyp_btngrp.setTitle(self.__tr("Electronic Structure Properties")) self.rhf_radiobtn.setText(self.__tr("RHF")) QToolTip.add(self.rhf_radiobtn,self.__tr("Restricted Hartree-Fock. All electrons are paired and each spatial orbital is doubly occupied. Cannot be used with multiplicities greater than 1.")) QWhatsThis.add(self.rhf_radiobtn,self.__tr("Restricted Hartree-Fock. All electrons are paired and each spatial orbital is doubly occupied. Cannot be used with multiplicities greater than 1.")) self.uhf_radiobtn.setText(self.__tr("UHF")) QToolTip.add(self.uhf_radiobtn,self.__tr("Unrestricted Hartree-Fock. All electrons are unpaired and spatial (spin) orbitals are uniquely defined for each electron. More time consuming, but more accurate, than ROHF. ")) QWhatsThis.add(self.uhf_radiobtn,self.__tr("Unrestricted Hartree-Fock. All electrons are unpaired and spatial (spin) orbitals are uniquely defined for each electron. More time consuming, but more accurate, than ROHF. ")) self.rohf_radiobtn.setText(self.__tr("ROHF")) QToolTip.add(self.rohf_radiobtn,self.__tr("Restricted Open-shell Hartree-Fock. Spin-paired electrons are assigned to doubly-occupied spatial orbitals, while electrons with unpaired spins are provided unique spatial orbitals.")) QWhatsThis.add(self.rohf_radiobtn,self.__tr("Restricted Open-shell Hartree-Fock. Spin-paired electrons are assigned to doubly-occupied spatial orbitals, while electrons with unpaired spins are provided unique spatial orbitals.")) self.textLabel1_4.setText(self.__tr("Charge:")) QToolTip.add(self.icharg_spinbox,self.__tr("The total charge of the structure to be treated quantum mechanically.")) QWhatsThis.add(self.icharg_spinbox,self.__tr("The total charge of the structure to be treated quantum mechanically.")) self.textLabel1_2_2.setText(self.__tr("Multiplicity:")) self.multi_combox.clear() self.multi_combox.insertItem(self.__tr("1")) self.multi_combox.insertItem(self.__tr("2")) self.multi_combox.insertItem(self.__tr("3")) self.multi_combox.insertItem(self.__tr("4")) self.multi_combox.insertItem(self.__tr("5")) self.multi_combox.insertItem(self.__tr("6")) self.multi_combox.insertItem(self.__tr("7")) QToolTip.add(self.multi_combox,self.__tr("N + 1, where N is the number of unpaired electrons.")) QWhatsThis.add(self.multi_combox,self.__tr("N + 1, where N is the number of unpaired electrons.")) self.groupBox8.setTitle(self.__tr("System Memory and Usage")) self.textLabel2_2.setText(self.__tr("Memory :")) self.textLabel1.setText(self.__tr("MB")) self.dirscf_checkbox.setText(self.__tr("DirectSCF")) QToolTip.add(self.dirscf_checkbox,self.__tr("Check this box to run the calculation in RAM and avoid hard disk usage for integral storage.")) QWhatsThis.add(self.dirscf_checkbox,self.__tr("Check this box to run the calculation in RAM and avoid hard disk usage for integral storage.")) self.groupBox2.setTitle(self.__tr("Electron Correlation Method")) self.textLabel6.setText(self.__tr("Basis Set :")) self.gbasis_combox.clear() self.gbasis_combox.insertItem(self.__tr("AM1")) self.gbasis_combox.insertItem(self.__tr("PM3")) self.gbasis_combox.insertItem(self.__tr("STO-3G")) self.gbasis_combox.insertItem(self.__tr("STO-6G")) self.gbasis_combox.insertItem(self.__tr("3-21G")) self.gbasis_combox.insertItem(self.__tr("3-21G*")) self.gbasis_combox.insertItem(self.__tr("6-31G")) self.gbasis_combox.insertItem(self.__tr("6-31G(d)")) self.gbasis_combox.insertItem(self.__tr("6-31G(d,p)")) self.gbasis_combox.insertItem(self.__tr("6-31+G(d)")) self.gbasis_combox.insertItem(self.__tr("6-31+G(d,p)")) self.gbasis_combox.insertItem(self.__tr("6-31++G(d)")) self.gbasis_combox.insertItem(self.__tr("6-31++G(d,p)")) self.gbasis_combox.insertItem(self.__tr("6-311G")) self.gbasis_combox.insertItem(self.__tr("6-311G(d)")) self.gbasis_combox.insertItem(self.__tr("6-311G(d,p)")) self.gbasis_combox.insertItem(self.__tr("6-311+G(d,p)")) self.gbasis_combox.insertItem(self.__tr("6-311++G(d,p)")) self.gbasis_combox.setCurrentItem(0) QToolTip.add(self.gbasis_combox,self.__tr("Select from among the standard Gaussian-type basis sets and semi-empirical parameters in GAMESS.")) QWhatsThis.add(self.gbasis_combox,self.__tr("Select from among the standard Gaussian-type basis sets and semi-empirical parameters in GAMESS.")) self.checkBox10_3_2.setText(self.__tr("Read $HESS Group")) self.checkBox10_2_2_2.setText(self.__tr("Read $VEC Group")) QToolTip.add(self.checkBox10_2_2_2,self.__tr("Only if Hf basis same as CI basis","Only if Hf basis same as CI basis")) QWhatsThis.add(self.checkBox10_2_2_2,self.__tr("Only if Hf basis same as CI basis")) self.checkBox35.setText(self.__tr("Frequencies")) self.ecm_btngrp.setTitle(QString.null) self.none_radiobtn.setText(self.__tr("None")) QToolTip.add(self.none_radiobtn,self.__tr("Select this button to neglect electron correlation in the calculation.")) QWhatsThis.add(self.none_radiobtn,self.__tr("Select this button to neglect electron correlation in the calculation.")) self.dft_radiobtn.setText(self.__tr("DFT")) QToolTip.add(self.dft_radiobtn,self.__tr("Select this button to perform a density functional theory calculation.")) QWhatsThis.add(self.dft_radiobtn,self.__tr("Select this button to perform a density functional theory calculation.")) self.mp2_radiobtn.setText(self.__tr("MP2")) QToolTip.add(self.mp2_radiobtn,self.__tr("Select this button to perform a Second-Order Moeller Plesset calculation.")) QWhatsThis.add(self.mp2_radiobtn,self.__tr("Select this button to perform a Second-Order Moeller Plesset calculation.")) self.dfttyp_label.setText(self.__tr("Functional:")) self.gridsize_label.setText(self.__tr("Grid Size:")) self.dfttyp_combox.clear() self.dfttyp_combox.insertItem(self.__tr("SLATER (E)")) self.dfttyp_combox.insertItem(self.__tr("BECKE (E)")) self.dfttyp_combox.insertItem(self.__tr("GILL (E)")) self.dfttyp_combox.insertItem(self.__tr("PBE (E)")) self.dfttyp_combox.insertItem(self.__tr("VWN (C)")) self.dfttyp_combox.insertItem(self.__tr("LYP (C)")) self.dfttyp_combox.insertItem(self.__tr("OP (C)")) self.dfttyp_combox.insertItem(self.__tr("SVWN/LDA (E+C)")) self.dfttyp_combox.insertItem(self.__tr("SLYP (E+C)")) self.dfttyp_combox.insertItem(self.__tr("SOP (E+C)")) self.dfttyp_combox.insertItem(self.__tr("BVWN (E+C)")) self.dfttyp_combox.insertItem(self.__tr("BLYP (E+C)")) self.dfttyp_combox.insertItem(self.__tr("BOP (E+C)")) self.dfttyp_combox.insertItem(self.__tr("GVWN (E+C)")) self.dfttyp_combox.insertItem(self.__tr("GLYP (E+C)")) self.dfttyp_combox.insertItem(self.__tr("GOP (E+C)")) self.dfttyp_combox.insertItem(self.__tr("PBEVWN (E+C)")) self.dfttyp_combox.insertItem(self.__tr("PBELYP (E+C)")) self.dfttyp_combox.insertItem(self.__tr("PBEOP (E+C)")) self.dfttyp_combox.insertItem(self.__tr("BHHLYP (H)")) self.dfttyp_combox.insertItem(self.__tr("B3LYP (H)")) QToolTip.add(self.dfttyp_combox,self.__tr("Select an available density functional in GAMESS.")) QWhatsThis.add(self.dfttyp_combox,self.__tr("Select an available density functional in GAMESS.")) self.gridsize_combox.clear() self.gridsize_combox.insertItem(self.__tr("Coarse")) self.gridsize_combox.insertItem(self.__tr("Default")) self.gridsize_combox.insertItem(self.__tr("Fine")) self.gridsize_combox.insertItem(self.__tr("Army Grade")) self.gridsize_combox.setCurrentItem(1) QToolTip.add(self.gridsize_combox,self.__tr("Select the grid spacing for the DFT calculation.")) QWhatsThis.add(self.gridsize_combox,self.__tr("Select the grid spacing for the DFT calculation.")) self.core_electrons_checkbox.setText(self.__tr("Core electrons?")) QToolTip.add(self.core_electrons_checkbox,self.__tr("Check this box to include both the valence and core electrons in the MP2 calculation.")) QWhatsThis.add(self.core_electrons_checkbox,self.__tr("Check this box to include both the valence and core electrons in the MP2 calculation.")) self.groupBox3.setTitle(self.__tr("Convergence Criteria")) self.textLabel3.setText(self.__tr("Energy and Density:")) self.density_conv_combox.clear() self.density_conv_combox.insertItem(self.__tr("Coarse")) self.density_conv_combox.insertItem(self.__tr("Medium")) self.density_conv_combox.insertItem(self.__tr("Fine")) self.density_conv_combox.insertItem(self.__tr("Very Fine")) self.density_conv_combox.setCurrentItem(1) QToolTip.add(self.density_conv_combox,self.__tr("Selects the accuracy of the electron density convergence for the energy calculation.")) QWhatsThis.add(self.density_conv_combox,self.__tr("Selects the accuracy of the electron density convergence for the energy calculation.")) self.rmsd_lbl.setText(self.__tr("RMSD:")) self.rmsd_combox.clear() self.rmsd_combox.insertItem(self.__tr("Coarse")) self.rmsd_combox.insertItem(self.__tr("Medium")) self.rmsd_combox.insertItem(self.__tr("Fine")) self.rmsd_combox.insertItem(self.__tr("Very Fine")) self.rmsd_combox.setCurrentItem(1) self.iterations_lbl.setText(self.__tr("Iterations :")) self.edit_input_file_cbox.setText(self.__tr("Open Input File in text editor")) self.run_job_btn.setText(self.__tr("Save and Run")) QToolTip.add(self.run_job_btn,self.__tr("Save GAMESS parameters and launch job.")) self.save_btn.setText(self.__tr("Save")) self.cancel_btn.setText(self.__tr("Cancel")) QToolTip.add(self.cancel_btn,self.__tr("Closes this window.")) QWhatsThis.add(self.cancel_btn,self.__tr("Closes this window."))
24f41dc8e19de3c29875b1970aa782574333c759 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/24f41dc8e19de3c29875b1970aa782574333c759/GamessPropDialog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2653, 3043, 12, 2890, 4672, 365, 18, 542, 21158, 12, 2890, 16186, 313, 2932, 43, 1642, 1260, 6183, 6, 3719, 365, 18, 84, 542, 2069, 3083, 67, 22, 67, 22, 18, 542, 1528, 12, 2890, 16186, 313, 2932, 461, 20514, 3719, 365, 18, 955, 2224, 21, 67, 22, 67, 23, 18, 542, 1528, 12, 2890, 16186, 313, 2932, 8695, 20514, 3719, 365, 18, 955, 2224, 21, 67, 23, 18, 542, 1528, 12, 2890, 16186, 313, 2932, 3291, 20514, 3719, 365, 18, 955, 2224, 21, 67, 23, 67, 22, 18, 542, 1528, 12, 2890, 16186, 313, 2932, 2957, 20514, 3719, 365, 18, 529, 67, 22316, 305, 18, 542, 1528, 12, 53, 780, 18, 2011, 13, 2238, 29250, 18, 1289, 12, 2890, 18, 529, 67, 22316, 305, 16, 2890, 16186, 313, 2932, 1986, 508, 434, 326, 611, 1642, 1260, 525, 360, 1199, 3719, 2238, 2888, 2323, 2503, 18, 1289, 12, 2890, 18, 529, 67, 22316, 305, 16, 2890, 16186, 313, 2932, 1986, 508, 434, 326, 611, 1642, 1260, 525, 360, 1199, 3719, 365, 18, 12686, 879, 67, 832, 2147, 18, 8507, 1435, 365, 18, 12686, 879, 67, 832, 2147, 18, 6387, 1180, 12, 2890, 16186, 313, 2932, 664, 31920, 6, 3719, 365, 18, 12686, 879, 67, 832, 2147, 18, 6387, 1180, 12, 2890, 16186, 313, 2932, 13930, 1588, 6, 3719, 365, 18, 12686, 879, 67, 832, 2147, 18, 542, 3935, 1180, 12, 20, 13, 365, 18, 3469, 67, 22316, 305, 18, 542, 1528, 12, 53, 780, 18, 2011, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2653, 3043, 12, 2890, 4672, 365, 18, 542, 21158, 12, 2890, 16186, 313, 2932, 43, 1642, 1260, 6183, 6, 3719, 365, 18, 84, 542, 2069, 3083, 67, 22, 67, 22, 18, 542, 1528, 12, 2890, 16186, 313, 2932, 461, 20514, 3719, 365, 18, 955, 2224, 21, 67, 22, 67, 23, 18, 542, 1528, 12, 2890, 16186, 313, 2932, 8695, 20514, 3719, 365, 18, 955, 2224, 21, 67, 23, 18, 542, 1528, 12, 2890, 16186, 313, 2932, 3291, 20514, 3719, 365, 18, 955, 2224, 21, 67, 23, 67, 22, 18, 542, 1528, 12, 2890, 16186, 313, 2932, 2957, 20514, 3719, 365, 18, 529, 67, 22316, 305, 18, 542, 1528, 12, 53, 780, 18, 2011, 13, 2238, 29250, 18, 1289, 2 ]
return self._getCachedInfo()['images'][size]
return self._getCachedInfo('images', size)
def getImage(self, size = IMAGE_LARGE): """Returns the associated image URL. * size: The image size. Possible values: o IMAGE_LARGE o IMAGE_MEDIUM o IMAGE_SMALL """ return self._getCachedInfo()['images'][size]
ec1304614ea5bc838c2f5bb83444fc59ac9c26d8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9926/ec1304614ea5bc838c2f5bb83444fc59ac9c26d8/pylast.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10567, 12, 2890, 16, 963, 273, 10757, 67, 48, 28847, 4672, 3536, 1356, 326, 3627, 1316, 1976, 18, 380, 963, 30, 1021, 1316, 963, 18, 25433, 924, 30, 320, 10757, 67, 48, 28847, 320, 10757, 67, 15971, 2799, 320, 10757, 67, 23882, 3536, 282, 327, 365, 6315, 588, 9839, 966, 2668, 7369, 2187, 963, 13, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10567, 12, 2890, 16, 963, 273, 10757, 67, 48, 28847, 4672, 3536, 1356, 326, 3627, 1316, 1976, 18, 380, 963, 30, 1021, 1316, 963, 18, 25433, 924, 30, 320, 10757, 67, 48, 28847, 320, 10757, 67, 15971, 2799, 320, 10757, 67, 23882, 3536, 282, 327, 365, 6315, 588, 9839, 966, 2668, 7369, 2187, 963, 13, 225, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
r""" $2^n - 1$. INPUT: n -- non negative integer OUTPUT: integer -- function value EXAMPLES: sage: a = sloane.A000225;a 2^n - 1. sage: a(0) 0 sage: a(-1) Traceback (most recent call last): ... ValueError: input n (=-1) must be an integer >= 0 sage: a(12) 4095 sage: a.list(12) [0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047] AUTHOR: -- Jaap Spies (2007-01-25) """ def __init__(self):
def __init__(self): r""" $2^n - 1$. INPUT: n -- non negative integer OUTPUT: integer -- function value EXAMPLES: sage: a = sloane.A000225;a 2^n - 1. sage: a(0) 0 sage: a(-1) Traceback (most recent call last): ... ValueError: input n (=-1) must be an integer >= 0 sage: a(12) 4095 sage: a.list(12) [0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047] AUTHOR: -- Jaap Spies (2007-01-25) """
def _eval(self, n): return Integer(n**2)
7b02e5455d5d52d6dcc7f2314cdd56803031a1c6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/7b02e5455d5d52d6dcc7f2314cdd56803031a1c6/sloane_functions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8622, 12, 2890, 16, 290, 4672, 327, 2144, 12, 82, 636, 22, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8622, 12, 2890, 16, 290, 4672, 327, 2144, 12, 82, 636, 22, 13, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if hasattr(self, 'aq_base'): self=self.aq_base if default is _marker: return getattr(self, id) try: return getattr(self, id) except: return default
if hasattr(self, 'aq_base'): base=self.aq_base else: base=self if not hasattr(base, id): if default is _marker: raise AttributeError, id return default return getattr(self, id)
def _getOb(self, id, default=_marker): if hasattr(self, 'aq_base'): self=self.aq_base if default is _marker: return getattr(self, id) try: return getattr(self, id) except: return default
c2d20afee07325cf00f4f6e6a8fc15d79ba301df /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/c2d20afee07325cf00f4f6e6a8fc15d79ba301df/ObjectManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 10516, 12, 2890, 16, 612, 16, 805, 33, 67, 11145, 4672, 309, 3859, 12, 2890, 16, 296, 69, 85, 67, 1969, 11, 4672, 365, 33, 2890, 18, 69, 85, 67, 1969, 309, 805, 353, 389, 11145, 30, 327, 3869, 12, 2890, 16, 612, 13, 775, 30, 327, 3869, 12, 2890, 16, 612, 13, 1335, 30, 327, 805, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 588, 10516, 12, 2890, 16, 612, 16, 805, 33, 67, 11145, 4672, 309, 3859, 12, 2890, 16, 296, 69, 85, 67, 1969, 11, 4672, 365, 33, 2890, 18, 69, 85, 67, 1969, 309, 805, 353, 389, 11145, 30, 327, 3869, 12, 2890, 16, 612, 13, 775, 30, 327, 3869, 12, 2890, 16, 612, 13, 1335, 30, 327, 805, 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, -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, -100, -100, -100, -100, -100, -100, -100 ]
sage: x <= Mod(2,5)
sage: x <= Mod(2,5)
def __le__(self, right): r""" Construct the symbolic inequality \code{self <= right}.
61570ec939f5d28f1d473a6111bc69678d16e9b5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/61570ec939f5d28f1d473a6111bc69678d16e9b5/calculus.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 298, 972, 12, 2890, 16, 2145, 4672, 436, 8395, 14291, 326, 16754, 316, 9729, 560, 521, 710, 95, 2890, 1648, 2145, 5496, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 298, 972, 12, 2890, 16, 2145, 4672, 436, 8395, 14291, 326, 16754, 316, 9729, 560, 521, 710, 95, 2890, 1648, 2145, 5496, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
SQLStorageConfig, Folder):
SQLStorageConfig, Folder, ReferenceEngine):
def __call__(self): __traceback_info__ = self._args return renderer.render(**self._args)
007e8c3f4e79f019befd6180292339a943b6f81d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/007e8c3f4e79f019befd6180292339a943b6f81d/ArchetypeTool.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 4672, 1001, 21696, 67, 1376, 972, 273, 365, 6315, 1968, 327, 5690, 18, 5902, 12, 636, 2890, 6315, 1968, 13, 2, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1991, 972, 12, 2890, 4672, 1001, 21696, 67, 1376, 972, 273, 365, 6315, 1968, 327, 5690, 18, 5902, 12, 636, 2890, 6315, 1968, 13, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
treestore.append(None, [False, pkg_name, local_version,\
text = '<b>%s</b>\n<small><i>%s</i></small>' % (pkg_name, desc) treestore.append(None, [False, text, local_version,\
def alpm_fill_treestore_with_pkgs_and_grps(self, treeview, treestore, pkgs, groups, repo_name = None): treeview.set_model(None) already_visited_pkgs = {} already_visited_grps = {}
406465af1625206c1b85268c2a144f8c51a0f1af /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2759/406465af1625206c1b85268c2a144f8c51a0f1af/gui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 524, 7755, 67, 5935, 67, 27427, 25626, 67, 1918, 67, 25376, 67, 464, 67, 3197, 1121, 12, 2890, 16, 2151, 1945, 16, 9787, 25626, 16, 16922, 16, 3252, 16, 3538, 67, 529, 273, 599, 4672, 2151, 1945, 18, 542, 67, 2284, 12, 7036, 13, 1818, 67, 30129, 67, 25376, 273, 2618, 1818, 67, 30129, 67, 3197, 1121, 273, 2618, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 524, 7755, 67, 5935, 67, 27427, 25626, 67, 1918, 67, 25376, 67, 464, 67, 3197, 1121, 12, 2890, 16, 2151, 1945, 16, 9787, 25626, 16, 16922, 16, 3252, 16, 3538, 67, 529, 273, 599, 4672, 2151, 1945, 18, 542, 67, 2284, 12, 7036, 13, 1818, 67, 30129, 67, 25376, 273, 2618, 1818, 67, 30129, 67, 3197, 1121, 273, 2618, 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, -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, -100, -100, -100, -100, -100, -100, -100 ]
pass
return
def parseLine (self, line): #self.lock.acquire() parts = multiWs.split(line.strip()) if self.features["sigint"]: self.engine.sigint() # Illegal Move elif parts[0].lower().find("illegal") >= 0: if parts[-2] == "sd" and parts[-1].isdigit(): self.sd = False self.setDepth (int(parts[-1])) # A Move elif self.history: if parts[0] == "move": movestr = parts[1] # Old Variation elif d_plus_dot_expr.match(parts[0]) and parts[1] == "...": movestr = parts[2] else: movestr = False if movestr: move = self.parseMove(movestr) self.history = None self.emit("move", move) # Analyzing elif len(parts) >= 5 and self.forced and isdigits(parts[1:4]): if parts[:4] == ["0","0","0","0"]: # Crafty don't analyze untill it is out of book print >> self.engine, "book off" return his2 = self.history.clone() moves = [] for m in movre.findall(" ".join(parts[4:])+" "): try: moves.append(self.parseMove(m, his2)) except Exception, e: continue if moves: his2.add(moves[-1], mvlist=False) if moves: self.emit("analyze", moves) # Offers draw elif parts[0] == "offer" and parts[1] == "draw": self.emit("draw_offer") # Resigns elif line.find("resign") >= 0: self.emit("resign") #Tell User Error elif parts[0] in ("tellusererror", "Error"): print "Tell User Error", repr(" ".join(parts[1:])) # Tell Somebody elif parts[0][:4] == "tell" and \ parts[0][4:] in ("others", "all", "ics", "icsnoalias"): pass #print "Tell", parts[0][4:], repr(" ".join(parts[1:])) # Error elif parts[0].lower() in ("illegal", "error"): self.__del__() self.emit('dead') # Features elif parts.count("feature") > 0: for i, pair in enumerate(parts[j+1:]): if pair.find("=") < 0: continue key, value = pair.split("=") if value.startswith("\"") and value.endswith("\""): value = value[1:-1] elif value.startswith("\"") and not value.endswith("\""): rest = value[1:]+" "+" ".join(parts[2+i+j:]) i = rest.find("\"") if i >= 0: value = rest[:i] else: value[1:] else: value = int(value) self.features[key] = value #self.lock.release()
9f4908570592caedccdbd02503f0323e274e2545 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5339/9f4908570592caedccdbd02503f0323e274e2545/CECP.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 1670, 261, 2890, 16, 980, 4672, 468, 2890, 18, 739, 18, 1077, 1039, 1435, 225, 2140, 273, 3309, 15444, 18, 4939, 12, 1369, 18, 6406, 10756, 309, 365, 18, 7139, 9614, 7340, 474, 11929, 30, 365, 18, 8944, 18, 7340, 474, 1435, 225, 468, 2141, 9933, 1327, 2140, 63, 20, 8009, 8167, 7675, 4720, 2932, 31751, 7923, 1545, 374, 30, 309, 2140, 18919, 22, 65, 422, 315, 6427, 6, 471, 2140, 18919, 21, 8009, 291, 11052, 13332, 365, 18, 6427, 273, 1083, 365, 18, 542, 6148, 261, 474, 12, 6019, 18919, 21, 22643, 225, 468, 432, 9933, 1327, 365, 18, 8189, 30, 309, 2140, 63, 20, 65, 422, 315, 8501, 6877, 13934, 313, 273, 2140, 63, 21, 65, 468, 18613, 4562, 7072, 1327, 302, 67, 10103, 67, 9811, 67, 8638, 18, 1916, 12, 6019, 63, 20, 5717, 471, 2140, 63, 21, 65, 422, 26456, 30, 13934, 313, 273, 2140, 63, 22, 65, 469, 30, 13934, 313, 273, 1083, 225, 309, 13934, 313, 30, 3635, 273, 365, 18, 2670, 7607, 12, 81, 10829, 313, 13, 365, 18, 8189, 273, 599, 365, 18, 18356, 2932, 8501, 3113, 3635, 13, 225, 468, 1922, 4647, 310, 1327, 562, 12, 6019, 13, 1545, 1381, 471, 365, 18, 19778, 471, 353, 16649, 12, 6019, 63, 21, 30, 24, 65, 4672, 309, 2140, 10531, 24, 65, 422, 8247, 20, 15937, 20, 15937, 20, 15937, 20, 11929, 30, 468, 15602, 2727, 1404, 12375, 640, 88, 737, 518, 353, 596, 434, 6978, 1172, 1671, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1670, 261, 2890, 16, 980, 4672, 468, 2890, 18, 739, 18, 1077, 1039, 1435, 225, 2140, 273, 3309, 15444, 18, 4939, 12, 1369, 18, 6406, 10756, 309, 365, 18, 7139, 9614, 7340, 474, 11929, 30, 365, 18, 8944, 18, 7340, 474, 1435, 225, 468, 2141, 9933, 1327, 2140, 63, 20, 8009, 8167, 7675, 4720, 2932, 31751, 7923, 1545, 374, 30, 309, 2140, 18919, 22, 65, 422, 315, 6427, 6, 471, 2140, 18919, 21, 8009, 291, 11052, 13332, 365, 18, 6427, 273, 1083, 365, 18, 542, 6148, 261, 474, 12, 6019, 18919, 21, 22643, 225, 468, 432, 9933, 1327, 365, 18, 8189, 30, 309, 2140, 63, 20, 65, 422, 315, 8501, 6877, 13934, 313, 273, 2140, 63, 21, 2 ]
return (cmd, i[0], args, options, cmdoptions)
return (cmd, cmd and i[0] or None, args, options, cmdoptions)
def parse(args): options = {} cmdoptions = {} try: args = fancyopts.fancyopts(args, globalopts, options) except fancyopts.getopt.GetoptError, inst: raise ParseError(None, inst) if options["version"]: return ("version", show_version, [], options, cmdoptions) elif not args: return ("help", help_, ["shortlist"], options, cmdoptions) else: cmd, args = args[0], args[1:] i = find(cmd)[1] # combine global options into local c = list(i[1]) for o in globalopts: c.append((o[0], o[1], options[o[1]], o[3])) try: args = fancyopts.fancyopts(args, c, cmdoptions) except fancyopts.getopt.GetoptError, inst: raise ParseError(cmd, inst) # separate global options back out for o in globalopts: n = o[1] options[n] = cmdoptions[n] del cmdoptions[n] return (cmd, i[0], args, options, cmdoptions)
34faed6951e09ce6f6cd354ca60e1184df333695 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/34faed6951e09ce6f6cd354ca60e1184df333695/commands.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 1968, 4672, 702, 273, 2618, 1797, 2116, 273, 2618, 225, 775, 30, 833, 273, 31701, 4952, 18, 74, 12514, 4952, 12, 1968, 16, 2552, 4952, 16, 702, 13, 1335, 31701, 4952, 18, 588, 3838, 18, 967, 3838, 668, 16, 1804, 30, 1002, 17372, 12, 7036, 16, 1804, 13, 225, 309, 702, 9614, 1589, 11929, 30, 327, 7566, 1589, 3113, 2405, 67, 1589, 16, 5378, 16, 702, 16, 1797, 2116, 13, 1327, 486, 833, 30, 327, 7566, 5201, 3113, 2809, 67, 16, 8247, 6620, 1098, 6, 6487, 702, 16, 1797, 2116, 13, 469, 30, 1797, 16, 833, 273, 833, 63, 20, 6487, 833, 63, 21, 26894, 225, 277, 273, 1104, 12, 4172, 25146, 21, 65, 225, 468, 8661, 2552, 702, 1368, 1191, 276, 273, 666, 12, 77, 63, 21, 5717, 364, 320, 316, 2552, 4952, 30, 276, 18, 6923, 12443, 83, 63, 20, 6487, 320, 63, 21, 6487, 702, 63, 83, 63, 21, 65, 6487, 320, 63, 23, 22643, 225, 775, 30, 833, 273, 31701, 4952, 18, 74, 12514, 4952, 12, 1968, 16, 276, 16, 1797, 2116, 13, 1335, 31701, 4952, 18, 588, 3838, 18, 967, 3838, 668, 16, 1804, 30, 1002, 17372, 12, 4172, 16, 1804, 13, 225, 468, 9004, 2552, 702, 1473, 596, 364, 320, 316, 2552, 4952, 30, 290, 273, 320, 63, 21, 65, 702, 63, 82, 65, 273, 1797, 2116, 63, 82, 65, 1464, 1797, 2116, 63, 82, 65, 225, 327, 261, 4172, 16, 1797, 471, 277, 63, 20, 65, 578, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 1968, 4672, 702, 273, 2618, 1797, 2116, 273, 2618, 225, 775, 30, 833, 273, 31701, 4952, 18, 74, 12514, 4952, 12, 1968, 16, 2552, 4952, 16, 702, 13, 1335, 31701, 4952, 18, 588, 3838, 18, 967, 3838, 668, 16, 1804, 30, 1002, 17372, 12, 7036, 16, 1804, 13, 225, 309, 702, 9614, 1589, 11929, 30, 327, 7566, 1589, 3113, 2405, 67, 1589, 16, 5378, 16, 702, 16, 1797, 2116, 13, 1327, 486, 833, 30, 327, 7566, 5201, 3113, 2809, 67, 16, 8247, 6620, 1098, 6, 6487, 702, 16, 1797, 2116, 13, 469, 30, 1797, 16, 833, 273, 833, 63, 20, 6487, 833, 63, 21, 26894, 225, 277, 273, 1104, 12, 4172, 25146, 21, 65, 225, 468, 2 ]
print >> out, "prefix = /%s"%env['prefix'] print >> out, "libdir = /%s/lib"%env['prefix'] print >> out, "includedir = /%s/include"%env['prefix']
print >> out, "prefix = %s"%env['prefix'] print >> out, "libdir = ${prefix}/lib" print >> out, "includedir = ${prefix}/include"
def linux_create_pkg_descriptor( self, env, out_file ) : out = open(out_file, 'w') print >> out, "prefix = /%s"%env['prefix'] print >> out, "libdir = /%s/lib"%env['prefix'] print >> out, "includedir = /%s/include"%env['prefix'] print >> out print >> out, "Name: %s"%self.name print >> out, "Version: %s"%self.version print >> out, "Description: C++ Framework for analysis, synthesis and transformation of music audio signals" print >> out, "Requires: %s"%" ".join(self.depends) print >> out, "Conflicts: " print >> out, "Libs: -L${libdir} -l%s"%self.name edict = env.Dictionary() cppflags = edict.get('CPPFLAGS', ['']) cppaths = edict.get('CPPPATH', ['']) cpppaths = [ '-I'+path for path in cppaths ] print >> out, "Cflags: -I${includedir} %s"%" ".join(cppflags+cpppaths)
3b05ca69c75975b4ec1fba5fa216ba0ad4fd55b0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1456/3b05ca69c75975b4ec1fba5fa216ba0ad4fd55b0/clam_build_helpers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19725, 67, 2640, 67, 10657, 67, 12628, 12, 365, 16, 1550, 16, 596, 67, 768, 262, 294, 596, 273, 1696, 12, 659, 67, 768, 16, 296, 91, 6134, 225, 1172, 1671, 596, 16, 315, 3239, 273, 738, 87, 28385, 3074, 3292, 3239, 3546, 1172, 1671, 596, 16, 315, 2941, 1214, 273, 3531, 3239, 4004, 2941, 6, 1172, 1671, 596, 16, 315, 20405, 481, 273, 3531, 3239, 4004, 6702, 6, 1172, 1671, 596, 1172, 1671, 596, 16, 315, 461, 30, 738, 87, 28385, 2890, 18, 529, 1172, 1671, 596, 16, 315, 1444, 30, 738, 87, 28385, 2890, 18, 1589, 1172, 1671, 596, 16, 315, 3291, 30, 385, 9904, 13472, 364, 6285, 16, 6194, 20432, 471, 8620, 434, 26225, 7447, 11505, 6, 1172, 1671, 596, 16, 315, 21671, 30, 738, 87, 6, 16407, 3552, 5701, 12, 2890, 18, 27360, 13, 1172, 1671, 596, 16, 315, 30897, 30, 315, 1172, 1671, 596, 16, 315, 5664, 87, 30, 300, 48, 18498, 2941, 1214, 97, 300, 80, 9, 87, 28385, 2890, 18, 529, 1675, 933, 273, 1550, 18, 10905, 1435, 3283, 84, 7133, 273, 1675, 933, 18, 588, 2668, 4258, 52, 17836, 2187, 10228, 19486, 3283, 4481, 273, 1675, 933, 18, 588, 2668, 4258, 52, 4211, 2187, 10228, 19486, 3283, 84, 4481, 273, 306, 2400, 45, 11, 15, 803, 364, 589, 316, 3283, 4481, 308, 1172, 1671, 596, 16, 315, 39, 7133, 30, 300, 45, 18498, 20405, 481, 97, 738, 87, 6, 16407, 3552, 5701, 12, 4057, 84, 7133, 15, 4057, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19725, 67, 2640, 67, 10657, 67, 12628, 12, 365, 16, 1550, 16, 596, 67, 768, 262, 294, 596, 273, 1696, 12, 659, 67, 768, 16, 296, 91, 6134, 225, 1172, 1671, 596, 16, 315, 3239, 273, 738, 87, 28385, 3074, 3292, 3239, 3546, 1172, 1671, 596, 16, 315, 2941, 1214, 273, 3531, 3239, 4004, 2941, 6, 1172, 1671, 596, 16, 315, 20405, 481, 273, 3531, 3239, 4004, 6702, 6, 1172, 1671, 596, 1172, 1671, 596, 16, 315, 461, 30, 738, 87, 28385, 2890, 18, 529, 1172, 1671, 596, 16, 315, 1444, 30, 738, 87, 28385, 2890, 18, 1589, 1172, 1671, 596, 16, 315, 3291, 30, 385, 9904, 13472, 364, 6285, 16, 6194, 20432, 471, 8620, 434, 26225, 7447, 2 ]
if USE_CODEMIRROR: result.append(u"""
result.append(u"""
def render(self, name, value, attrs=None): result = [] result.append( super(CodeMirrorTextArea, self).render(name, value, attrs)) if USE_CODEMIRROR: result.append(u"""
9953ac8069c9b5e668fb744e1c71ce32bce4fc81 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1201/9953ac8069c9b5e668fb744e1c71ce32bce4fc81/admin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 508, 16, 460, 16, 3422, 33, 7036, 4672, 563, 273, 5378, 563, 18, 6923, 12, 2240, 12, 1085, 13035, 1528, 5484, 16, 365, 2934, 5902, 12, 529, 16, 460, 16, 3422, 3719, 309, 14988, 67, 5572, 7492, 54, 2784, 30, 563, 18, 6923, 12, 89, 8395, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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902, 12, 529, 16, 460, 16, 3422, 3719, 309, 14988, 67, 5572, 7492, 54, 2784, 30, 563, 18, 6923, 12, 89, 8395, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
recipient = sp.getProperty('listserv_email', siteadmin) sender = emailaddress if name: sender = "%s <%s>" % (name, sender) subject = '' try: self.context.MailHost.secureSend(message=mesg , mto=recipient, mfrom=sender, subject=subject) except Exception, e: mssg = "Your subscription could not be sent. Please try again. " +str(e)
def subscribe(self, emailaddress, name=''): """ helper method to enable mail subscription to anonymous user """ ptool = getToolByName(self.context, 'portal_url') portal = ptool.getPortalObject() pp = getToolByName(portal, 'portal_properties') sp = getattr(pp, 'site_properties', None) siteadmin = getattr(portal, 'email_from_address') reg_tool = getToolByName(self.context, 'portal_registration')
6c5864e829ff9539464f60c69676315e739a127d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10561/6c5864e829ff9539464f60c69676315e739a127d/newsletter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9129, 12, 2890, 16, 2699, 2867, 16, 508, 2218, 11, 4672, 3536, 4222, 707, 358, 4237, 4791, 4915, 358, 13236, 729, 3536, 293, 6738, 273, 336, 6364, 5911, 12, 2890, 18, 2472, 16, 296, 24386, 67, 718, 6134, 11899, 273, 293, 6738, 18, 588, 24395, 921, 1435, 8228, 273, 336, 6364, 5911, 12, 24386, 16, 296, 24386, 67, 4738, 6134, 1694, 273, 3869, 12, 11858, 16, 296, 4256, 67, 4738, 2187, 599, 13, 10982, 684, 1154, 273, 3869, 12, 24386, 16, 296, 3652, 67, 2080, 67, 2867, 6134, 960, 67, 6738, 273, 336, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9129, 12, 2890, 16, 2699, 2867, 16, 508, 2218, 11, 4672, 3536, 4222, 707, 358, 4237, 4791, 4915, 358, 13236, 729, 3536, 293, 6738, 273, 336, 6364, 5911, 12, 2890, 18, 2472, 16, 296, 24386, 67, 718, 6134, 11899, 273, 293, 6738, 18, 588, 24395, 921, 1435, 8228, 273, 336, 6364, 5911, 12, 24386, 16, 296, 24386, 67, 4738, 6134, 1694, 273, 3869, 12, 11858, 16, 296, 4256, 67, 4738, 2187, 599, 13, 10982, 684, 1154, 273, 3869, 12, 24386, 16, 296, 3652, 67, 2080, 67, 2867, 6134, 960, 67, 6738, 273, 336, 6364, 5911, 12, 2890, 18, 2472, 16, 296, 24386, 67, 14170, 6134, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
subprocess.Popen(_cmd, stdin=subprocess.PIPE).communicate(str(unicode(string)))
subprocess.Popen(_cmd, stdin=subprocess.PIPE).communicate(unicode(string))
def copy(string): """Copy given string into system clipboard.""" try: _cmd = ["xclip", "-selection", "clipboard"] subprocess.Popen(_cmd, stdin=subprocess.PIPE).communicate(str(unicode(string))) return except Exception, why: raise XclipNotFound
296adc4a9fb6c8a2ed7d2c8b86768d82c37f4a80 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14995/296adc4a9fb6c8a2ed7d2c8b86768d82c37f4a80/linux.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 12, 1080, 4672, 3536, 2951, 864, 533, 1368, 2619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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1610, 12, 1080, 4672, 3536, 2951, 864, 533, 1368, 2619, 20304, 12123, 775, 30, 389, 4172, 273, 8247, 6511, 3169, 3113, 3701, 10705, 3113, 315, 14161, 3752, 11929, 6652, 18, 52, 3190, 24899, 4172, 16, 8801, 33, 1717, 2567, 18, 27602, 2934, 5702, 318, 2659, 12, 9124, 12, 1080, 3719, 327, 1335, 1185, 16, 11598, 30, 1002, 1139, 14161, 2768, 225, 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, -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, -100, -100, -100, -100, -100 ]
instance.__class__.__history_table__.insert().execute(colvalues) instance.version += 1 instance.timestamp = datetime.now()
history = instance.__class__.__history_table__ values = history.select(get_history_where(instance), order_by=[desc(history.c.timestamp)]).execute().fetchone() if not values: instance.version = 1 instance.timestamp = datetime.now() colvalues = dict([(key, getattr(instance, key)) for key in instance.c.keys()]) history.insert().execute(colvalues) return EXT_PASS new = False for key in instance.c.keys(): if key in ['version', 'timestamp']: continue if getattr(instance, key) != values[key]: new = True break if new: instance.version += 1 instance.timestamp = datetime.now() colvalues = dict([(key, getattr(instance, key)) for key in instance.c.keys()]) history.insert().execute(colvalues)
def before_update(self, mapper, connection, instance): # In SQLAlchemy 0.3.X, and possibly 0.4 (unknown), objects can # sometimes be implicated to be saved when in fact they haven't been # updated. If we've already inserted this version, we don't need to # insert it again. values = instance.__class__.__history_table__.select(get_entity_where(instance), order_by=[desc(instance.c.timestamp)]).execute().fetchone() if values and instance.version == values['version']: return EXT_PASS colvalues = dict([(key, getattr(instance, key)) for key in instance.c.keys()]) instance.__class__.__history_table__.insert().execute(colvalues) instance.version += 1 instance.timestamp = datetime.now() return EXT_PASS
b88fec8671c5ddfc97df47664867dfbb3adf9bce /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11921/b88fec8671c5ddfc97df47664867dfbb3adf9bce/versioned.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1865, 67, 2725, 12, 2890, 16, 5815, 16, 1459, 16, 791, 4672, 468, 657, 3063, 1067, 17192, 374, 18, 23, 18, 60, 16, 471, 10016, 374, 18, 24, 261, 8172, 3631, 2184, 848, 468, 16594, 506, 709, 20140, 358, 506, 5198, 1347, 316, 5410, 2898, 15032, 1404, 2118, 468, 3526, 18, 971, 732, 8081, 1818, 9564, 333, 1177, 16, 732, 2727, 1404, 1608, 358, 468, 2243, 518, 3382, 18, 924, 273, 791, 16186, 1106, 972, 16186, 8189, 67, 2121, 25648, 4025, 12, 588, 67, 1096, 67, 6051, 12, 1336, 3631, 1353, 67, 1637, 22850, 5569, 12, 1336, 18, 71, 18, 5508, 25887, 2934, 8837, 7675, 5754, 476, 1435, 309, 924, 471, 791, 18, 1589, 422, 924, 3292, 1589, 3546, 30, 327, 11112, 67, 10884, 225, 645, 2372, 273, 2065, 3816, 12, 856, 16, 3869, 12, 1336, 16, 498, 3719, 364, 498, 316, 791, 18, 71, 18, 2452, 1435, 5717, 4927, 273, 791, 16186, 1106, 972, 16186, 8189, 67, 2121, 972, 225, 924, 273, 4927, 18, 4025, 12, 588, 67, 8189, 67, 6051, 12, 1336, 3631, 1353, 67, 1637, 22850, 5569, 12, 8189, 18, 71, 18, 5508, 25887, 2934, 8837, 7675, 5754, 476, 1435, 282, 309, 486, 924, 30, 791, 18, 1589, 273, 404, 791, 18, 5508, 273, 3314, 18, 3338, 1435, 645, 2372, 273, 2065, 3816, 12, 856, 16, 3869, 12, 1336, 16, 498, 3719, 364, 498, 316, 791, 18, 71, 18, 2452, 1435, 5717, 4927, 18, 6387, 7675, 8837, 12, 1293, 2372, 13, 327, 11112, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1865, 67, 2725, 12, 2890, 16, 5815, 16, 1459, 16, 791, 4672, 468, 657, 3063, 1067, 17192, 374, 18, 23, 18, 60, 16, 471, 10016, 374, 18, 24, 261, 8172, 3631, 2184, 848, 468, 16594, 506, 709, 20140, 358, 506, 5198, 1347, 316, 5410, 2898, 15032, 1404, 2118, 468, 3526, 18, 971, 732, 8081, 1818, 9564, 333, 1177, 16, 732, 2727, 1404, 1608, 358, 468, 2243, 518, 3382, 18, 924, 273, 791, 16186, 1106, 972, 16186, 8189, 67, 2121, 25648, 4025, 12, 588, 67, 1096, 67, 6051, 12, 1336, 3631, 1353, 67, 1637, 22850, 5569, 12, 1336, 18, 71, 18, 5508, 25887, 2934, 8837, 7675, 5754, 476, 1435, 309, 924, 471, 791, 18, 1589, 422, 924, 3292, 1589, 2 ]
pass
test_support.threading_cleanup(*self._threads)
def tearDown (self): pass
5e3703b840021f39f424b370b274cd773c533acb /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8125/5e3703b840021f39f424b370b274cd773c533acb/test_asynchat.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 268, 2091, 4164, 261, 2890, 4672, 1342, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 268, 2091, 4164, 261, 2890, 4672, 1342, 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, -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, -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, -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, -100, -100, -100, -100, -100, -100, -100 ]
self.attach_file_to_task(cr, uid, task['transformation_id'][0], context['input_filename'], '[FILE IN] FILE IMPORTED ' + context['start_date'], True, context)
self.attach_file_to_task(cr, uid, id, context['input_filename'], '[FILE IN] FILE IMPORTED ' + context['start_date'], True, context)
def start_kettle_task(self, cr, uid, ids, context=None): logger = netsvc.Logger() user = self.pool.get('res.users').browse(cr, uid, uid, context) for id in ids: context.update({'default_res_id' : id, 'default_res_model': 'kettle.task', 'start_date' : time.strftime('%d-%m-%Y %H:%M:%S')}) log_file_name = 'TASK LOG ' + context['start_date'] attachment_id = self.pool.get('ir.attachment').create(cr, uid, {'name': log_file_name}, context) cr.commit() context['filter'] = { 'AUTO_REP_db_erp': str(cr.dbname), 'AUTO_REP_user_erp': str(user.login), 'AUTO_REP_db_pass_erp': str(user.password), 'AUTO_REP_kettle_task_id' : str(id), 'AUTO_REP_kettle_task_attachment_id' : str(attachment_id), } task = self.read(cr, uid, id, ['upload_file', 'parameters', 'transformation_id'], context) if task['upload_file']: if not (context and context.get('input_filename',False)): logger.notifyChannel('kettle-connector', netsvc.LOG_INFO, "the task " + task['name'] + " can't be executed because the anyone File was uploaded") continue else: context['filter'].update({'AUTO_REP_file_in' : str(context['input_filename'])}) context = self.execute_python_code(cr, uid, id, 'before', context) context['filter'].update(eval('{' + str(task['parameters'] or '')+ '}')) self.pool.get('kettle.transformation').execute_transformation(cr, uid, id, log_file_name, attachment_id, context)
cf94f35ac680108835947de442cd81e891a4aec9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7339/cf94f35ac680108835947de442cd81e891a4aec9/kettle.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 67, 79, 278, 5929, 67, 4146, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 33, 7036, 4672, 1194, 273, 21954, 4227, 18, 3328, 1435, 729, 273, 365, 18, 6011, 18, 588, 2668, 455, 18, 5577, 16063, 25731, 12, 3353, 16, 4555, 16, 4555, 16, 819, 13, 364, 612, 316, 3258, 30, 819, 18, 2725, 12590, 11, 1886, 67, 455, 67, 350, 11, 294, 612, 16, 296, 1886, 67, 455, 67, 2284, 4278, 296, 79, 278, 5929, 18, 4146, 2187, 296, 1937, 67, 712, 11, 294, 813, 18, 701, 9982, 29909, 72, 6456, 81, 6456, 61, 738, 44, 5319, 49, 5319, 55, 6134, 6792, 613, 67, 768, 67, 529, 273, 296, 15580, 2018, 296, 397, 819, 3292, 1937, 67, 712, 3546, 6042, 67, 350, 273, 365, 18, 6011, 18, 588, 2668, 481, 18, 11461, 16063, 2640, 12, 3353, 16, 4555, 16, 13666, 529, 4278, 613, 67, 768, 67, 529, 5779, 819, 13, 4422, 18, 7371, 1435, 225, 819, 3292, 2188, 3546, 273, 288, 296, 18909, 67, 28879, 67, 1966, 67, 264, 84, 4278, 609, 12, 3353, 18, 20979, 3631, 296, 18909, 67, 28879, 67, 1355, 67, 264, 84, 4278, 609, 12, 1355, 18, 5819, 3631, 296, 18909, 67, 28879, 67, 1966, 67, 5466, 67, 264, 84, 4278, 609, 12, 1355, 18, 3664, 3631, 296, 18909, 67, 28879, 67, 79, 278, 5929, 67, 4146, 67, 350, 11, 294, 609, 12, 350, 3631, 296, 18909, 67, 28879, 67, 79, 278, 5929, 67, 4146, 67, 11461, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 787, 67, 79, 278, 5929, 67, 4146, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 33, 7036, 4672, 1194, 273, 21954, 4227, 18, 3328, 1435, 729, 273, 365, 18, 6011, 18, 588, 2668, 455, 18, 5577, 16063, 25731, 12, 3353, 16, 4555, 16, 4555, 16, 819, 13, 364, 612, 316, 3258, 30, 819, 18, 2725, 12590, 11, 1886, 67, 455, 67, 350, 11, 294, 612, 16, 296, 1886, 67, 455, 67, 2284, 4278, 296, 79, 278, 5929, 18, 4146, 2187, 296, 1937, 67, 712, 11, 294, 813, 18, 701, 9982, 29909, 72, 6456, 81, 6456, 61, 738, 44, 5319, 49, 5319, 55, 6134, 6792, 613, 67, 768, 67, 529, 273, 296, 15580, 2018, 296, 397, 819, 2 ]
(x,y,z)=matrix.transform(x,y,z)
if self.matrix[-1]: (x,y,z)=self.matrix[-1].transform(x,y,z)
def makepoly(self, haveuv, vtx, idx=None): if self.t==None: return False # Only care about textured polygons if not self.loc: return False # Not for library objects if self.debug: self.debug.write("Poly: %s %s %s %d " % (basename(self.tex[self.t]), self.alt, self.layer, self.zbias))
d87ee6f81b21f2c4fda5318c88bdcdd71b150057 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11663/d87ee6f81b21f2c4fda5318c88bdcdd71b150057/convbgl.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 29796, 881, 355, 93, 12, 2890, 16, 1240, 16303, 16, 331, 978, 16, 2067, 33, 7036, 4672, 309, 365, 18, 88, 631, 7036, 30, 327, 1083, 202, 7, 5098, 7671, 2973, 977, 2862, 17294, 309, 486, 365, 18, 1829, 30, 327, 1083, 202, 7, 2288, 364, 5313, 2184, 309, 365, 18, 4148, 30, 365, 18, 4148, 18, 2626, 2932, 12487, 30, 738, 87, 738, 87, 738, 87, 738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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 29796, 881, 355, 93, 12, 2890, 16, 1240, 16303, 16, 331, 978, 16, 2067, 33, 7036, 4672, 309, 365, 18, 88, 631, 7036, 30, 327, 1083, 202, 7, 5098, 7671, 2973, 977, 2862, 17294, 309, 486, 365, 18, 1829, 30, 327, 1083, 202, 7, 2288, 364, 5313, 2184, 309, 365, 18, 4148, 30, 365, 18, 4148, 18, 2626, 2932, 12487, 30, 738, 87, 738, 87, 738, 87, 738, 72, 315, 738, 261, 13909, 12, 2890, 18, 21763, 63, 2890, 18, 88, 65, 3631, 365, 18, 2390, 16, 365, 18, 6363, 16, 365, 18, 94, 13931, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
""" fl_create_dial(type, x, y, w, h, label) -> object ref.
""" fl_create_dial(type, x, y, w, h, label) -> object
def fl_create_dial(type, x, y, w, h, label): """ fl_create_dial(type, x, y, w, h, label) -> object ref. """ retval = _fl_create_dial(type, x, y, w, h, label) return retval
8765c710f695de392f6fc7c664c746ec98668b1d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/8765c710f695de392f6fc7c664c746ec98668b1d/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 2640, 67, 25909, 12, 723, 16, 619, 16, 677, 16, 341,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1183, 67, 2640, 67, 25909, 12, 723, 16, 619, 16, 677, 16, 341, 16, 366, 16, 1433, 4672, 3536, 1183, 67, 2640, 67, 25909, 12, 723, 16, 619, 16, 677, 16, 341, 16, 366, 16, 1433, 13, 317, 733, 3536, 225, 5221, 273, 389, 2242, 67, 2640, 67, 25909, 12, 723, 16, 619, 16, 677, 16, 341, 16, 366, 16, 1433, 13, 327, 5221, 282, 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, -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, -100 ]
writeIncludesForInterface(iface)
resulttypes.extend(writeIncludesForInterface(iface))
def writeIncludesForInterface(iface): assert iface.kind == 'interface' for member in iface.stubMembers: writeIncludesForMember(member) includeType(iface)
77f7c863c783916adfbfd3df09dc83b3fe318e54 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11102/77f7c863c783916adfbfd3df09dc83b3fe318e54/qsgen.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 16815, 1290, 1358, 12, 31479, 4672, 1815, 9751, 18, 9224, 422, 296, 5831, 11, 364, 3140, 316, 9751, 18, 12847, 6918, 30, 1045, 16815, 1290, 4419, 12, 5990, 13, 2341, 559, 12, 31479, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 16815, 1290, 1358, 12, 31479, 4672, 1815, 9751, 18, 9224, 422, 296, 5831, 11, 364, 3140, 316, 9751, 18, 12847, 6918, 30, 1045, 16815, 1290, 4419, 12, 5990, 13, 2341, 559, 12, 31479, 13, 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, -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, -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, -100, -100, -100, -100, -100 ]
oscmd("ln -s "+prefix+libdir+"/panda3d/nppanda3d.so "+destdir+prefix+"/lib/mozilla/plugins/nppanda3d.so") oscmd("ln -s "+prefix+libdir+"/panda3d/nppanda3d.so "+destdir+prefix+"/lib/mozilla-firefox/plugins/nppanda3d.so") oscmd("ln -s "+prefix+libdir+"/panda3d/nppanda3d.so "+destdir+prefix+"/lib/xulrunner-addons/plugins/nppanda3d.so")
oscmd("ln -s "+prefix+libdir+"/panda3d/nppanda3d.so "+destdir+prefix+libdir+"/mozilla/plugins/nppanda3d.so") oscmd("ln -s "+prefix+libdir+"/panda3d/nppanda3d.so "+destdir+prefix+libdir+"/mozilla-firefox/plugins/nppanda3d.so") oscmd("ln -s "+prefix+libdir+"/panda3d/nppanda3d.so "+destdir+prefix+libdir+"/xulrunner-addons/plugins/nppanda3d.so")
def InstallPanda(destdir="", prefix="/usr", outputdir="built"): if (not prefix.startswith("/")): prefix = "/" + prefix PPATH=get_python_lib() oscmd("mkdir -p "+destdir+prefix+"/bin") oscmd("mkdir -p "+destdir+prefix+"/include") oscmd("mkdir -p "+destdir+prefix+"/share/panda3d") oscmd("mkdir -p "+destdir+prefix+"/share/panda3d/direct") oscmd("mkdir -p "+destdir+prefix+"/share/mime-info") oscmd("mkdir -p "+destdir+prefix+"/share/mime/packages") oscmd("mkdir -p "+destdir+prefix+"/share/application-registry") oscmd("mkdir -p "+destdir+prefix+"/share/applications") oscmd("mkdir -p "+destdir+prefix+libdir+"/panda3d") oscmd("mkdir -p "+destdir+PPATH) oscmd("mkdir -p "+destdir+"/etc/ld.so.conf.d") WriteFile(destdir+prefix+"/share/panda3d/direct/__init__.py", "") Configrc = ReadFile(outputdir+"/etc/Config.prc") Configrc.replace("model-path $THIS_PRC_DIR/..", "model-path "+destdir+prefix+"/share/panda3d") WriteFile(destdir+"/etc/Config.prc", Configrc) oscmd("cp "+outputdir+"/etc/Config.prc "+destdir+"/etc/Config.prc") oscmd("cp "+outputdir+"/etc/Confauto.prc "+destdir+"/etc/Confauto.prc") oscmd("cp -R "+outputdir+"/include "+destdir+prefix+"/include/panda3d") oscmd("cp -R direct/src/* "+destdir+prefix+"/share/panda3d/direct") oscmd("cp -R "+outputdir+"/pandac "+destdir+prefix+"/share/panda3d/pandac") oscmd("cp -R "+outputdir+"/models "+destdir+prefix+"/share/panda3d/models") if os.path.isdir("samples"): oscmd("cp -R samples "+destdir+prefix+"/share/panda3d/samples") if os.path.isdir(outputdir+"/Pmw"): oscmd("cp -R "+outputdir+"/Pmw "+destdir+prefix+"/share/panda3d/Pmw") if os.path.isdir(outputdir+"/plugins"): oscmd("cp -R "+outputdir+"/plugins "+destdir+prefix+"/share/panda3d/plugins") WriteMimeFile(destdir+prefix+"/share/mime-info/panda3d.mime", MIME_INFO) WriteKeysFile(destdir+prefix+"/share/mime-info/panda3d.keys", MIME_INFO) WriteMimeXMLFile(destdir+prefix+"/share/mime/packages/panda3d.xml", MIME_INFO) WriteApplicationsFile(destdir+prefix+"/share/application-registry/panda3d.applications", APP_INFO, MIME_INFO) oscmd("cp makepanda/pview.desktop "+destdir+prefix+"/share/applications/pview.desktop") if (os.path.exists(outputdir+"/lib/nppanda3d.so")): oscmd("ln -s "+prefix+libdir+"/panda3d/nppanda3d.so "+destdir+prefix+"/lib/mozilla/plugins/nppanda3d.so") oscmd("ln -s "+prefix+libdir+"/panda3d/nppanda3d.so "+destdir+prefix+"/lib/mozilla-firefox/plugins/nppanda3d.so") oscmd("ln -s "+prefix+libdir+"/panda3d/nppanda3d.so "+destdir+prefix+"/lib/xulrunner-addons/plugins/nppanda3d.so") oscmd("cp doc/LICENSE "+destdir+prefix+"/share/panda3d/LICENSE") oscmd("cp doc/LICENSE "+destdir+prefix+"/include/panda3d/LICENSE") oscmd("cp doc/ReleaseNotes "+destdir+prefix+"/share/panda3d/ReleaseNotes") oscmd("echo '"+prefix+libdir+"/panda3d'> "+destdir+"/etc/ld.so.conf.d/panda3d.conf") oscmd("echo '"+prefix+"/share/panda3d' > "+destdir+PPATH+"/panda3d.pth") oscmd("echo '"+prefix+libdir+"/panda3d'>> "+destdir+PPATH+"/panda3d.pth") oscmd("cp "+outputdir+"/bin/* "+destdir+prefix+"/bin/") for base in os.listdir(outputdir+"/lib"): if (not base.endswith(".a")): oscmd("cp "+outputdir+"/lib/"+base+" "+destdir+prefix+libdir+"/panda3d/"+base) # rpmlint doesn't like it if we compile pyc. #for base in os.listdir(destdir+prefix+"/share/panda3d/direct"): # if ((base != "extensions") and (base != "extensions_native")): # compileall.compile_dir(destdir+prefix+"/share/panda3d/direct/"+base) #compileall.compile_dir(destdir+prefix+"/share/panda3d/Pmw") DeleteCVS(destdir+prefix+"/include/panda3d") DeleteCVS(destdir+prefix+"/share/panda3d") # rpmlint doesn't like these files, for some reason. DeleteBuildFiles(destdir+prefix+"/share/panda3d") if (os.path.isfile(destdir+prefix+"/share/panda3d/direct/leveleditor/copyfiles.pl")): os.remove(destdir+prefix+"/share/panda3d/direct/leveleditor/copyfiles.pl")
89e5c85930fbe29392c86f54d0274134bd48f125 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7242/89e5c85930fbe29392c86f54d0274134bd48f125/installpanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10284, 52, 464, 69, 12, 10488, 1214, 1546, 3113, 1633, 1546, 19, 13640, 3113, 876, 1214, 1546, 12406, 6, 4672, 309, 261, 902, 1633, 18, 17514, 1918, 2932, 4898, 3719, 30, 1633, 273, 4016, 397, 1633, 453, 4211, 33, 588, 67, 8103, 67, 2941, 1435, 31476, 1264, 2932, 26686, 300, 84, 13773, 10488, 1214, 15, 3239, 9078, 19, 4757, 7923, 31476, 1264, 2932, 26686, 300, 84, 13773, 10488, 1214, 15, 3239, 9078, 19, 6702, 7923, 31476, 1264, 2932, 26686, 300, 84, 13773, 10488, 1214, 15, 3239, 9078, 19, 14419, 19, 84, 464, 69, 23, 72, 7923, 31476, 1264, 2932, 26686, 300, 84, 13773, 10488, 1214, 15, 3239, 9078, 19, 14419, 19, 84, 464, 69, 23, 72, 19, 7205, 7923, 31476, 1264, 2932, 26686, 300, 84, 13773, 10488, 1214, 15, 3239, 9078, 19, 14419, 19, 11757, 17, 1376, 7923, 31476, 1264, 2932, 26686, 300, 84, 13773, 10488, 1214, 15, 3239, 9078, 19, 14419, 19, 11757, 19, 10308, 7923, 31476, 1264, 2932, 26686, 300, 84, 13773, 10488, 1214, 15, 3239, 9078, 19, 14419, 19, 3685, 17, 9893, 7923, 31476, 1264, 2932, 26686, 300, 84, 13773, 10488, 1214, 15, 3239, 9078, 19, 14419, 19, 3685, 87, 7923, 31476, 1264, 2932, 26686, 300, 84, 13773, 10488, 1214, 15, 3239, 15, 2941, 1214, 9078, 19, 84, 464, 69, 23, 72, 7923, 31476, 1264, 2932, 26686, 300, 84, 13773, 10488, 1214, 15, 52, 4211, 13, 31476, 1264, 2932, 26686, 300, 84, 13773, 10488, 1214, 9078, 19, 14175, 19, 1236, 18, 2048, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10284, 52, 464, 69, 12, 10488, 1214, 1546, 3113, 1633, 1546, 19, 13640, 3113, 876, 1214, 1546, 12406, 6, 4672, 309, 261, 902, 1633, 18, 17514, 1918, 2932, 4898, 3719, 30, 1633, 273, 4016, 397, 1633, 453, 4211, 33, 588, 67, 8103, 67, 2941, 1435, 31476, 1264, 2932, 26686, 300, 84, 13773, 10488, 1214, 15, 3239, 9078, 19, 4757, 7923, 31476, 1264, 2932, 26686, 300, 84, 13773, 10488, 1214, 15, 3239, 9078, 19, 6702, 7923, 31476, 1264, 2932, 26686, 300, 84, 13773, 10488, 1214, 15, 3239, 9078, 19, 14419, 19, 84, 464, 69, 23, 72, 7923, 31476, 1264, 2932, 26686, 300, 84, 13773, 10488, 1214, 15, 3239, 9078, 19, 14419, 19, 84, 464, 69, 23, 72, 19, 7205, 2 ]
if not hasattr(self, "prevTime"): self.prevTime = time() snow = time()
def _loop(self, starttime, count, interval): if hasattr(self, "call"): del self.call if not hasattr(self, "prevTime"): self.prevTime = time() snow = time() self.f(*self.a, **self.kw) now = time() while self.running: count += 1 fromStart = count * interval fromNow = starttime - now delay = fromNow + fromStart if delay > 0: self.call = reactor.callLater(delay, self._loop, starttime, count, interval) t = time() self.prevTime = t return
0aa116d0ba2630ded195bc2234086a188b089535 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1265/0aa116d0ba2630ded195bc2234086a188b089535/rtp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6498, 12, 2890, 16, 23437, 16, 1056, 16, 3673, 4672, 309, 3859, 12, 2890, 16, 315, 1991, 6, 4672, 1464, 365, 18, 1991, 365, 18, 74, 30857, 2890, 18, 69, 16, 2826, 2890, 18, 9987, 13, 2037, 273, 813, 1435, 1323, 365, 18, 8704, 30, 1056, 1011, 404, 628, 1685, 273, 1056, 380, 3673, 628, 8674, 273, 23437, 300, 2037, 4624, 273, 628, 8674, 397, 628, 1685, 309, 4624, 405, 374, 30, 365, 18, 1991, 273, 19178, 18, 1991, 20607, 12, 10790, 16, 365, 6315, 6498, 16, 23437, 16, 1056, 16, 3673, 13, 268, 273, 813, 1435, 365, 18, 10001, 950, 273, 268, 327, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6498, 12, 2890, 16, 23437, 16, 1056, 16, 3673, 4672, 309, 3859, 12, 2890, 16, 315, 1991, 6, 4672, 1464, 365, 18, 1991, 365, 18, 74, 30857, 2890, 18, 69, 16, 2826, 2890, 18, 9987, 13, 2037, 273, 813, 1435, 1323, 365, 18, 8704, 30, 1056, 1011, 404, 628, 1685, 273, 1056, 380, 3673, 628, 8674, 273, 23437, 300, 2037, 4624, 273, 628, 8674, 397, 628, 1685, 309, 4624, 405, 374, 30, 365, 18, 1991, 273, 19178, 18, 1991, 20607, 12, 10790, 16, 365, 6315, 6498, 16, 23437, 16, 1056, 16, 3673, 13, 268, 273, 813, 1435, 365, 18, 10001, 950, 273, 268, 327, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return self._endExposure(imageRequest) def _endExposure(self, request):
print time.time(), "end" return self._endExposure(imageRequest, status) def _endExposure(self, request, status):
def _expose(self, imageRequest): shutterRequest = imageRequest['shutter'] if shutterRequest == Shutter.OPEN: shutter = SBIGDrv.openShutter elif shutterRequest == Shutter.CLOSE: shutter = SBIGDrv.closeShutter elif shutterRequest == Shutter.LEAVE_AS_IS: shutter = SBIGDrv.leaveShutter else: self.log.warning("Incorrect shutter option (%s)." " Leaving shutter intact" % shutterRequest) shutter = SBIGDrv.leaveShutter # ok, start it self.exposeBegin(imageRequest) self.drv.startExposure(self.ccd, int(imageRequest["exptime"]*100), shutter) # save time exposure started self.lastFrameStartTime = dt.datetime.utcnow() self.lastFrameTemp = self.getTemperature()
638e60fab47d94aa85772d5e40d8a5a116505d95 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3749/638e60fab47d94aa85772d5e40d8a5a116505d95/sbig.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 338, 4150, 12, 2890, 16, 1316, 691, 4672, 225, 9171, 387, 691, 273, 1316, 691, 3292, 674, 18220, 3546, 225, 309, 9171, 387, 691, 422, 2638, 18220, 18, 11437, 30, 9171, 387, 273, 348, 19044, 40, 4962, 18, 3190, 1555, 18220, 1327, 9171, 387, 691, 422, 2638, 18220, 18, 13384, 30, 9171, 387, 273, 348, 19044, 40, 4962, 18, 4412, 1555, 18220, 1327, 9171, 387, 691, 422, 2638, 18220, 18, 900, 26714, 67, 3033, 67, 5127, 30, 9171, 387, 273, 348, 19044, 40, 4962, 18, 19574, 1555, 18220, 469, 30, 365, 18, 1330, 18, 8551, 2932, 16268, 9171, 387, 1456, 6142, 87, 14944, 315, 3519, 5339, 9171, 387, 509, 621, 6, 738, 9171, 387, 691, 13, 9171, 387, 273, 348, 19044, 40, 4962, 18, 19574, 1555, 18220, 225, 468, 1529, 16, 787, 518, 365, 18, 338, 4150, 8149, 12, 2730, 691, 13, 225, 365, 18, 3069, 90, 18, 1937, 424, 11291, 12, 2890, 18, 952, 72, 16, 509, 12, 2730, 691, 9614, 338, 10650, 6, 5772, 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0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 338, 4150, 12, 2890, 16, 1316, 691, 4672, 225, 9171, 387, 691, 273, 1316, 691, 3292, 674, 18220, 3546, 225, 309, 9171, 387, 691, 422, 2638, 18220, 18, 11437, 30, 9171, 387, 273, 348, 19044, 40, 4962, 18, 3190, 1555, 18220, 1327, 9171, 387, 691, 422, 2638, 18220, 18, 13384, 30, 9171, 387, 273, 348, 19044, 40, 4962, 18, 4412, 1555, 18220, 1327, 9171, 387, 691, 422, 2638, 18220, 18, 900, 26714, 67, 3033, 67, 5127, 30, 9171, 387, 273, 348, 19044, 40, 4962, 18, 19574, 1555, 18220, 469, 30, 365, 18, 1330, 18, 8551, 2932, 16268, 9171, 387, 1456, 6142, 87, 14944, 315, 3519, 5339, 9171, 387, 509, 621, 6, 738, 9171, 387, 691, 13, 9171, 2 ]
p2=string.atoi(mynewver[1][3:])
p2=string.atof(mynewver[1][3:])
def relparse(myver): number=0 p1=0 p2=0 mynewver=string.split(myver,"_") if len(mynewver)==2: #alpha,beta or pre number=string.atoi(mynewver[0]) if "beta" == mynewver[1][:4]: p1=-2 try: p2=string.atoi(mynewver[1][4:]) except: p2=0 elif "alpha" == mynewver[1][:5]: p1=-3 try: p2=string.atoi(mynewver[1][5:]) except: p2=0 elif "pre" ==mynewver[1][:3]: p1=-1 try: p2=string.atoi(mynewver[1][3:]) except: p2=0 else: #normal number or number with letter at end divider=len(myver)-1 if myver[divider:] not in "1234567890": #letter at end p1=ord(myver[divider:]) number=string.atoi(myver[0:divider]) else: number=string.atoi(myver) return [number,p1,p2]
35704d4f9e9c7b95c1657cbe1612b7bfdea07605 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9957/35704d4f9e9c7b95c1657cbe1612b7bfdea07605/portage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1279, 2670, 12, 4811, 502, 4672, 1300, 33, 20, 293, 21, 33, 20, 293, 22, 33, 20, 312, 878, 359, 502, 33, 1080, 18, 4939, 12, 4811, 502, 10837, 67, 7923, 309, 562, 12, 81, 878, 359, 502, 13, 631, 22, 30, 468, 5429, 16, 5758, 578, 675, 1300, 33, 1080, 18, 270, 11359, 12, 81, 878, 359, 502, 63, 20, 5717, 309, 315, 5758, 6, 422, 312, 878, 359, 502, 63, 21, 6362, 30, 24, 14542, 293, 21, 29711, 22, 775, 30, 293, 22, 33, 1080, 18, 270, 11359, 12, 81, 878, 359, 502, 63, 21, 6362, 24, 30, 5717, 1335, 30, 293, 22, 33, 20, 1327, 315, 5429, 6, 422, 312, 878, 359, 502, 63, 21, 6362, 30, 25, 14542, 293, 21, 29711, 23, 775, 30, 293, 22, 33, 1080, 18, 270, 11359, 12, 81, 878, 359, 502, 63, 21, 6362, 25, 30, 5717, 1335, 30, 293, 22, 33, 20, 1327, 315, 1484, 6, 422, 81, 878, 359, 502, 63, 21, 6362, 30, 23, 14542, 293, 21, 29711, 21, 775, 30, 293, 22, 33, 1080, 18, 270, 792, 12, 81, 878, 359, 502, 63, 21, 6362, 23, 30, 5717, 1335, 30, 293, 22, 33, 20, 469, 30, 468, 6130, 1300, 578, 1300, 598, 9471, 622, 679, 21713, 33, 1897, 12, 4811, 502, 24950, 21, 309, 3399, 502, 63, 2892, 3585, 26894, 486, 316, 315, 28462, 20277, 20, 6877, 468, 13449, 622, 679, 293, 21, 33, 517, 12, 4811, 502, 63, 2892, 3585, 30, 5717, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1279, 2670, 12, 4811, 502, 4672, 1300, 33, 20, 293, 21, 33, 20, 293, 22, 33, 20, 312, 878, 359, 502, 33, 1080, 18, 4939, 12, 4811, 502, 10837, 67, 7923, 309, 562, 12, 81, 878, 359, 502, 13, 631, 22, 30, 468, 5429, 16, 5758, 578, 675, 1300, 33, 1080, 18, 270, 11359, 12, 81, 878, 359, 502, 63, 20, 5717, 309, 315, 5758, 6, 422, 312, 878, 359, 502, 63, 21, 6362, 30, 24, 14542, 293, 21, 29711, 22, 775, 30, 293, 22, 33, 1080, 18, 270, 11359, 12, 81, 878, 359, 502, 63, 21, 6362, 24, 30, 5717, 1335, 30, 293, 22, 33, 20, 1327, 315, 5429, 6, 422, 312, 878, 359, 502, 63, 21, 2 ]
if not option.startswith("_"):
if not option.startswith("_") and getattr(options, option) != None:
def run(): # Command line parser options. parser = optparse.OptionParser(usage = "usage: %prog [options] urls") parser.add_option("--open", dest="open", help="Metalink file to open and modify") parser.add_option("-o", dest="output", help="Binary file name") parser.add_option("-d", dest="download", action="store_true", help="Don't download the file again") parser.add_option("--clear_urls", dest="clear_urls", action="store_true", help="Remove any existing urls when opening a file") parser.add_option("-i", dest="identity", help="Identity") parser.add_option("-v", dest="version", help="Version Number") parser.add_option("--os", dest="os", help="Operating System") parser.add_option("--publisher-name", dest="publisher_name", help="Publisher Name") parser.add_option("--publisher-url", dest="publisher_url", help="Publisher URL") parser.add_option("-c", "--copyright", dest="copyright", help="Copyright") parser.add_option("--description", dest="description", help="Description") parser.add_option("--license-name", dest="license_name", help="License Name") parser.add_option("--license-url", dest="license_url", help="License URL") parser.add_option("-l", "--language", dest="language", help="The language the file is in, per ISO-639/3166. \"en-US\" for Standard American English") parser.add_option("--maxconn", dest="maxconn_total", help="Maximum number of connections for downloading") parser.add_option("--origin", dest="origin", help="URL for the finished metalink file to check for updates") #parser.add_option("-s", "--size", dest="size", help="File size") parser.set_defaults(identity="",version="",os="",publisher_name="",publisher_url="",copyright="",description="",license_name="",license_url="",language="",maxconn_total="",origin="") (options, args) = parser.parse_args() if len(args) <= 0: print "ERROR: Specify a URL." parser.print_help() return xml = metalink.Metalink() if options.open != None: xml.load_file(options.open) if options.clear_urls: xml.clear_res() for option in dir(options): if not option.startswith("_"): try: getattr(xml, option) except AttributeError: continue setattr(xml, option, getattr(options, option)) download = True if options.download: download = False build(xml, args, None, options.output, download)
f4dc6c94a5fbddbea48d096d63129b329dfb6edb /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6425/f4dc6c94a5fbddbea48d096d63129b329dfb6edb/meditor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 13332, 468, 3498, 980, 2082, 702, 18, 2082, 273, 2153, 2670, 18, 1895, 2678, 12, 9167, 273, 315, 9167, 30, 738, 14654, 306, 2116, 65, 6903, 7923, 2082, 18, 1289, 67, 3482, 2932, 413, 3190, 3113, 1570, 1546, 3190, 3113, 2809, 1546, 12244, 16194, 585, 358, 1696, 471, 5612, 7923, 2082, 18, 1289, 67, 3482, 2932, 17, 83, 3113, 1570, 1546, 2844, 3113, 2809, 1546, 5905, 585, 508, 7923, 2082, 18, 1289, 67, 3482, 2932, 17, 72, 3113, 1570, 1546, 7813, 3113, 1301, 1546, 2233, 67, 3767, 3113, 2809, 1546, 22293, 1404, 4224, 326, 585, 3382, 7923, 2082, 18, 1289, 67, 3482, 2932, 413, 8507, 67, 10518, 3113, 1570, 1546, 8507, 67, 10518, 3113, 1301, 1546, 2233, 67, 3767, 3113, 2809, 1546, 3288, 1281, 2062, 6903, 1347, 10890, 279, 585, 7923, 225, 2082, 18, 1289, 67, 3482, 2932, 17, 77, 3113, 1570, 1546, 10781, 3113, 2809, 1546, 4334, 7923, 2082, 18, 1289, 67, 3482, 2932, 17, 90, 3113, 1570, 1546, 1589, 3113, 2809, 1546, 1444, 3588, 7923, 2082, 18, 1289, 67, 3482, 2932, 413, 538, 3113, 1570, 1546, 538, 3113, 2809, 1546, 3542, 1776, 2332, 7923, 2082, 18, 1289, 67, 3482, 2932, 413, 26018, 17, 529, 3113, 1570, 1546, 26018, 67, 529, 3113, 2809, 1546, 15960, 1770, 7923, 2082, 18, 1289, 67, 3482, 2932, 413, 26018, 17, 718, 3113, 1570, 1546, 26018, 67, 718, 3113, 2809, 1546, 15960, 1976, 7923, 2082, 18, 1289, 67, 3482, 2932, 17, 71, 3113, 5238, 29187, 3113, 1570, 1546, 29187, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13332, 468, 3498, 980, 2082, 702, 18, 2082, 273, 2153, 2670, 18, 1895, 2678, 12, 9167, 273, 315, 9167, 30, 738, 14654, 306, 2116, 65, 6903, 7923, 2082, 18, 1289, 67, 3482, 2932, 413, 3190, 3113, 1570, 1546, 3190, 3113, 2809, 1546, 12244, 16194, 585, 358, 1696, 471, 5612, 7923, 2082, 18, 1289, 67, 3482, 2932, 17, 83, 3113, 1570, 1546, 2844, 3113, 2809, 1546, 5905, 585, 508, 7923, 2082, 18, 1289, 67, 3482, 2932, 17, 72, 3113, 1570, 1546, 7813, 3113, 1301, 1546, 2233, 67, 3767, 3113, 2809, 1546, 22293, 1404, 4224, 326, 585, 3382, 7923, 2082, 18, 1289, 67, 3482, 2932, 413, 8507, 67, 10518, 3113, 1570, 1546, 8507, 67, 10518, 3113, 1301, 1546, 2233, 2 ]
cmd = "condor_glidein -count "+self.nodeCount+" -setup_jobmanager=jobmanager-fork -arch=7.4.0-i686-pc-Linux-2.4 -idletime 5 grid-abe.ncsa.teragrid.org/jobmanager-pbs"
cmd = "condor_glidein -count %d -setup_jobmanager=jobmanager-fork -arch=7.4.0-i686-pc-Linux-2.4 -idletime 5 grid-abe.ncsa.teragrid.org/jobmanager-pbs" % self.nodeCount print "running cmd = "+cmd
def runPipelines(self):
c6f0f88861917323b6807d9619af21437a1d3595 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6549/c6f0f88861917323b6807d9619af21437a1d3595/DagmanProductionRunner.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 24925, 14567, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1086, 24925, 14567, 12, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100 ]
'parent.currency'])
'_parent_sale.currency'])
def ignore_packing_exception(self, cursor, user, sale_id, context=None): line_obj = self.pool.get('sale.line')
63ab9b352113f550a19cea3cf8f4525ee1ffdbe6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9306/63ab9b352113f550a19cea3cf8f4525ee1ffdbe6/sale.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2305, 67, 2920, 310, 67, 4064, 12, 2890, 16, 3347, 16, 729, 16, 272, 5349, 67, 350, 16, 819, 33, 7036, 4672, 980, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 87, 5349, 18, 1369, 6134, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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369, 6134, 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, -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, -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, -100, -100, -100 ]
print 'Connected by', addr r = Redirector(ser, connection)
sys.stderr.write('Connected by %s\n' % (addr,)) r = Redirector( ser, connection, options.convert and ser_newline or None, options.convert and net_newline or None, options.spy, )
def stop(self): """Stop copying""" if self.alive: self.alive = False self.thread_read.join()
4ecea3dab2a6a60d58f5e81772097e13990d8140 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2937/4ecea3dab2a6a60d58f5e81772097e13990d8140/tcp_serial_redirect.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2132, 12, 2890, 4672, 3536, 4947, 8933, 8395, 309, 365, 18, 11462, 30, 365, 18, 11462, 273, 1083, 365, 18, 5930, 67, 896, 18, 5701, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2132, 12, 2890, 4672, 3536, 4947, 8933, 8395, 309, 365, 18, 11462, 30, 365, 18, 11462, 273, 1083, 365, 18, 5930, 67, 896, 18, 5701, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return http.Response(stream=s)
return HTMLResponse(stream=s)
def render(self, ctx=None): # Create a live Sage worksheet out of self.path and render it. doc_page_html = open(self.docpath).read() from docHTMLProcessor import SphinxHTMLProcessor doc_page = SphinxHTMLProcessor().process_doc_html(doc_page_html)
5da3b1cd72cd4a94421b8bc914d7957cdbe6b56d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/5da3b1cd72cd4a94421b8bc914d7957cdbe6b56d/twist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 1103, 33, 7036, 4672, 468, 1788, 279, 8429, 348, 410, 13622, 596, 434, 365, 18, 803, 471, 1743, 518, 18, 997, 67, 2433, 67, 2620, 273, 1696, 12, 2890, 18, 2434, 803, 2934, 896, 1435, 628, 997, 4870, 5164, 1930, 348, 15922, 4870, 5164, 997, 67, 2433, 273, 348, 15922, 4870, 5164, 7675, 2567, 67, 2434, 67, 2620, 12, 2434, 67, 2433, 67, 2620, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1103, 33, 7036, 4672, 468, 1788, 279, 8429, 348, 410, 13622, 596, 434, 365, 18, 803, 471, 1743, 518, 18, 997, 67, 2433, 67, 2620, 273, 1696, 12, 2890, 18, 2434, 803, 2934, 896, 1435, 628, 997, 4870, 5164, 1930, 348, 15922, 4870, 5164, 997, 67, 2433, 273, 348, 15922, 4870, 5164, 7675, 2567, 67, 2434, 67, 2620, 12, 2434, 67, 2433, 67, 2620, 13, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return self.seconds
return self.__seconds
def __int__(self): """ Return the integer part (seconds) of a LIGOTimeGPS as an int.
64e3217d9e86a7f50114bba7adfdee1638e21ac0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3589/64e3217d9e86a7f50114bba7adfdee1638e21ac0/lal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 474, 972, 12, 2890, 4672, 3536, 2000, 326, 3571, 1087, 261, 7572, 13, 434, 279, 511, 3047, 51, 950, 28983, 487, 392, 509, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 474, 972, 12, 2890, 4672, 3536, 2000, 326, 3571, 1087, 261, 7572, 13, 434, 279, 511, 3047, 51, 950, 28983, 487, 392, 509, 18, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
obj = self.data['objects'][target]
obj = self.data['objects'][name]
def _create_refnode(expr): target = unicode(expr) if target not in self.data['objects']: return None obj = self.data['objects'][target] if obj[1] != typ: return None return make_refnode(builder, fromdocname, obj[0], target, contnode, target)
c6a6cc5c5f3f964470f65eb62ab41d1a38199c9f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5532/c6a6cc5c5f3f964470f65eb62ab41d1a38199c9f/cpp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2640, 67, 1734, 2159, 12, 8638, 4672, 1018, 273, 5252, 12, 8638, 13, 309, 1018, 486, 316, 365, 18, 892, 3292, 6911, 3546, 30, 327, 599, 1081, 273, 365, 18, 892, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2640, 67, 1734, 2159, 12, 8638, 4672, 1018, 273, 5252, 12, 8638, 13, 309, 1018, 486, 316, 365, 18, 892, 3292, 6911, 3546, 30, 327, 599, 1081, 273, 365, 18, 892, 3292, 6911, 3546, 63, 529, 65, 309, 1081, 63, 21, 65, 480, 3815, 30, 327, 599, 327, 1221, 67, 1734, 2159, 12, 9574, 16, 628, 2434, 529, 16, 1081, 63, 20, 6487, 1018, 16, 466, 2159, 16, 1018, 13, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
str = '<h3>Modules</h3>\n<ul>\n'
str = self._table_header('Submodules', 'details')
def _module_list(self, modules, sortorder): """ @return: The HTML code for the module hierarchy tree, containing the given modules. This is used by L{_module_to_html} to list the submodules of a package. @rtype: C{string} """ if len(modules) == 0: return '' str = '<h3>Modules</h3>\n<ul>\n' modules = self._filtersort_links(modules, sortorder) for link in modules: str += self._module_tree_item(link.target()) return str + '</ul>\n'
36d55ba570a7b20eabb1f20282f2d10ee3127367 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/36d55ba570a7b20eabb1f20282f2d10ee3127367/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2978, 67, 1098, 12, 2890, 16, 4381, 16, 1524, 1019, 4672, 3536, 632, 2463, 30, 1021, 3982, 981, 364, 326, 1605, 9360, 2151, 16, 4191, 326, 864, 4381, 18, 225, 1220, 353, 1399, 635, 511, 95, 67, 2978, 67, 869, 67, 2620, 97, 358, 666, 326, 720, 6400, 434, 279, 2181, 18, 632, 86, 723, 30, 385, 95, 1080, 97, 3536, 309, 562, 12, 6400, 13, 422, 374, 30, 327, 875, 609, 273, 365, 6315, 2121, 67, 3374, 2668, 1676, 6400, 2187, 296, 6395, 6134, 4381, 273, 365, 6315, 2188, 3804, 67, 7135, 12, 6400, 16, 1524, 1019, 13, 225, 364, 1692, 316, 4381, 30, 609, 1011, 365, 6315, 2978, 67, 3413, 67, 1726, 12, 1232, 18, 3299, 10756, 327, 609, 397, 4357, 332, 5333, 82, 11, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2978, 67, 1098, 12, 2890, 16, 4381, 16, 1524, 1019, 4672, 3536, 632, 2463, 30, 1021, 3982, 981, 364, 326, 1605, 9360, 2151, 16, 4191, 326, 864, 4381, 18, 225, 1220, 353, 1399, 635, 511, 95, 67, 2978, 67, 869, 67, 2620, 97, 358, 666, 326, 720, 6400, 434, 279, 2181, 18, 632, 86, 723, 30, 385, 95, 1080, 97, 3536, 309, 562, 12, 6400, 13, 422, 374, 30, 327, 875, 609, 273, 365, 6315, 2121, 67, 3374, 2668, 1676, 6400, 2187, 296, 6395, 6134, 4381, 273, 365, 6315, 2188, 3804, 67, 7135, 12, 6400, 16, 1524, 1019, 13, 225, 364, 1692, 316, 4381, 30, 609, 1011, 365, 6315, 2978, 67, 3413, 67, 1726, 12, 1232, 18, 2 ]
lwork = calc_lwork.getri(getri.prefix,a1.shape[0])[1]
lwork = calc_lwork.getri(getri.prefix,a1.shape[0]) lwork = lwork[1] lwork = int(1.01*lwork)
def inv(a, overwrite_a=0): """Return inverse of square matrix a. """ a1 = asarray(a) if len(a1.shape) != 2 or a1.shape[0] != a1.shape[1]: raise ValueError, 'expected square matrix' overwrite_a = overwrite_a or a1 is not a #XXX: I found no advantage or disadvantage of using finv.
d2289b8c0d6dbe549538e64771e1bd75fab2ee06 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/d2289b8c0d6dbe549538e64771e1bd75fab2ee06/basic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2198, 12, 69, 16, 6156, 67, 69, 33, 20, 4672, 3536, 990, 8322, 434, 8576, 3148, 279, 18, 3536, 279, 21, 273, 10455, 12, 69, 13, 309, 562, 12, 69, 21, 18, 4867, 13, 480, 576, 578, 279, 21, 18, 4867, 63, 20, 65, 480, 279, 21, 18, 4867, 63, 21, 14542, 1002, 2068, 16, 296, 3825, 8576, 3148, 11, 6156, 67, 69, 273, 6156, 67, 69, 578, 279, 21, 353, 486, 279, 468, 15639, 30, 467, 1392, 1158, 1261, 7445, 410, 578, 1015, 361, 7445, 410, 434, 1450, 574, 90, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 6156, 67, 69, 33, 20, 4672, 3536, 990, 8322, 434, 8576, 3148, 279, 18, 3536, 279, 21, 273, 10455, 12, 69, 13, 309, 562, 12, 69, 21, 18, 4867, 13, 480, 576, 578, 279, 21, 18, 4867, 63, 20, 65, 480, 279, 21, 18, 4867, 63, 21, 14542, 1002, 2068, 16, 296, 3825, 8576, 3148, 11, 6156, 67, 69, 273, 6156, 67, 69, 578, 279, 21, 353, 486, 279, 468, 15639, 30, 467, 1392, 1158, 1261, 7445, 410, 578, 1015, 361, 7445, 410, 434, 1450, 574, 90, 18, 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 ]
c = compile(code, _encode_filename(filename), 'exec')
c = self._compile(code, _encode_filename(filename))
def write_file(filename, data, mode): if zip: info = ZipInfo(filename) info.external_attr = 0755 << 16L zip_file.writestr(info, data) else: f = open(os.path.join(target, filename), mode) try: f.write(data) finally: f.close()
78efe7401b1f49fc1a72fc33ed6b6b97767cec44 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14446/78efe7401b1f49fc1a72fc33ed6b6b97767cec44/environment.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 768, 12, 3459, 16, 501, 16, 1965, 4672, 309, 3144, 30, 1123, 273, 8603, 966, 12, 3459, 13, 1123, 18, 9375, 67, 1747, 273, 18641, 2296, 2872, 48, 3144, 67, 768, 18, 13284, 313, 12, 1376, 16, 501, 13, 469, 30, 284, 273, 1696, 12, 538, 18, 803, 18, 5701, 12, 3299, 16, 1544, 3631, 1965, 13, 775, 30, 284, 18, 2626, 12, 892, 13, 3095, 30, 284, 18, 4412, 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, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 768, 12, 3459, 16, 501, 16, 1965, 4672, 309, 3144, 30, 1123, 273, 8603, 966, 12, 3459, 13, 1123, 18, 9375, 67, 1747, 273, 18641, 2296, 2872, 48, 3144, 67, 768, 18, 13284, 313, 12, 1376, 16, 501, 13, 469, 30, 284, 273, 1696, 12, 538, 18, 803, 18, 5701, 12, 3299, 16, 1544, 3631, 1965, 13, 775, 30, 284, 18, 2626, 12, 892, 13, 3095, 30, 284, 18, 4412, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if self._poll.active and not self._preview:
if self._poll.active and not self._previewing:
def draw_poll_details_box(self): """(Re)draw the poll details box self.poll_details_box should be already defined on the canvas. """ poll_details_box = self.poll_details_box poll_details_box.remove_all()
96d7a3e2e2c337e1e11897013d8080b5b48f1a0d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6691/96d7a3e2e2c337e1e11897013d8080b5b48f1a0d/poll.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 67, 13835, 67, 6395, 67, 2147, 12, 2890, 4672, 3536, 12, 426, 13, 9446, 326, 7672, 3189, 3919, 225, 365, 18, 13835, 67, 6395, 67, 2147, 1410, 506, 1818, 2553, 603, 326, 5953, 18, 3536, 7672, 67, 6395, 67, 2147, 273, 365, 18, 13835, 67, 6395, 67, 2147, 7672, 67, 6395, 67, 2147, 18, 4479, 67, 454, 1435, 2, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3724, 67, 13835, 67, 6395, 67, 2147, 12, 2890, 4672, 3536, 12, 426, 13, 9446, 326, 7672, 3189, 3919, 225, 365, 18, 13835, 67, 6395, 67, 2147, 1410, 506, 1818, 2553, 603, 326, 5953, 18, 3536, 7672, 67, 6395, 67, 2147, 273, 365, 18, 13835, 67, 6395, 67, 2147, 7672, 67, 6395, 67, 2147, 18, 4479, 67, 454, 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, -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, -100, -100, -100, -100, -100, -100, -100 ]
g_message_board[self.address[0]] = message
g_message_board[self.ip] = message
def run(self): running = 1 while running: message = self.client.recv(self.size)
9c1cadc3cf0a802150d579af45f298117b3dfe7d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/228/9c1cadc3cf0a802150d579af45f298117b3dfe7d/server.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 3549, 273, 404, 1323, 3549, 30, 883, 273, 365, 18, 2625, 18, 18334, 12, 2890, 18, 1467, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1086, 12, 2890, 4672, 3549, 273, 404, 1323, 3549, 30, 883, 273, 365, 18, 2625, 18, 18334, 12, 2890, 18, 1467, 13, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.id.write(h5s.ALL, h5s.ALL, data)
id.write(h5s.ALL, h5s.ALL, data) HLObject.__init__(self, id)
def __init__(self, group, name, shape=None, dtype=None, data=None, chunks=None, compression=None, shuffle=None, fletcher32=None, maxshape=None, compression_opts=None, _rawid = None): """ Open or create a new dataset in the file.
b1a598a2d723040490bcce9fa07057de259dfbab /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10380/b1a598a2d723040490bcce9fa07057de259dfbab/highlevel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1041, 16, 508, 16, 2179, 33, 7036, 16, 3182, 33, 7036, 16, 501, 33, 7036, 16, 6055, 33, 7036, 16, 9154, 33, 7036, 16, 12552, 33, 7036, 16, 1183, 1593, 264, 1578, 33, 7036, 16, 943, 4867, 33, 7036, 16, 9154, 67, 4952, 33, 7036, 16, 389, 1899, 350, 273, 599, 4672, 3536, 3502, 578, 752, 279, 394, 3709, 316, 326, 585, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1041, 16, 508, 16, 2179, 33, 7036, 16, 3182, 33, 7036, 16, 501, 33, 7036, 16, 6055, 33, 7036, 16, 9154, 33, 7036, 16, 12552, 33, 7036, 16, 1183, 1593, 264, 1578, 33, 7036, 16, 943, 4867, 33, 7036, 16, 9154, 67, 4952, 33, 7036, 16, 389, 1899, 350, 273, 599, 4672, 3536, 3502, 578, 752, 279, 394, 3709, 316, 326, 585, 18, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
obj._auto_update = True
def get_object_from_doc(self, cls, id, doc): obj_node = doc.getElementsByTagName('object')[0] if not cls: class_name = obj_node.getAttribute('class') cls = find_class(class_name) if not id: id = obj_node.getAttribute('id') obj = cls(id) obj._auto_update = False for prop_node in obj_node.getElementsByTagName('property'): prop_name = prop_node.getAttribute('name') prop = obj.find_property(prop_name) if prop.data_type != Key: if hasattr(prop, 'item_type'): value = self.get_list(prop_node, prop.item_type) else: prop_value = self.get_text_value(prop_node) value = self.decode_value(prop, prop_value) value = prop.make_value_from_datastore(value) setattr(obj, prop.name, value) obj._auto_update = True return obj
88c9f552a156ee972c88891a1fdc79060dffec5d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1098/88c9f552a156ee972c88891a1fdc79060dffec5d/xmlmanager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1612, 67, 2080, 67, 2434, 12, 2890, 16, 2028, 16, 612, 16, 997, 4672, 1081, 67, 2159, 273, 997, 18, 588, 3471, 10401, 2668, 1612, 6134, 63, 20, 65, 309, 486, 2028, 30, 667, 67, 529, 273, 1081, 67, 2159, 18, 588, 1499, 2668, 1106, 6134, 2028, 273, 1104, 67, 1106, 12, 1106, 67, 529, 13, 309, 486, 612, 30, 612, 273, 1081, 67, 2159, 18, 588, 1499, 2668, 350, 6134, 1081, 273, 2028, 12, 350, 13, 1081, 6315, 6079, 67, 2725, 273, 1083, 364, 2270, 67, 2159, 316, 1081, 67, 2159, 18, 588, 3471, 10401, 2668, 4468, 11, 4672, 2270, 67, 529, 273, 2270, 67, 2159, 18, 588, 1499, 2668, 529, 6134, 2270, 273, 1081, 18, 4720, 67, 4468, 12, 5986, 67, 529, 13, 309, 2270, 18, 892, 67, 723, 480, 1929, 30, 309, 3859, 12, 5986, 16, 296, 1726, 67, 723, 11, 4672, 460, 273, 365, 18, 588, 67, 1098, 12, 5986, 67, 2159, 16, 2270, 18, 1726, 67, 723, 13, 469, 30, 2270, 67, 1132, 273, 365, 18, 588, 67, 955, 67, 1132, 12, 5986, 67, 2159, 13, 460, 273, 365, 18, 3922, 67, 1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, 16, 2028, 16, 612, 16, 997, 4672, 1081, 67, 2159, 273, 997, 18, 588, 3471, 10401, 2668, 1612, 6134, 63, 20, 65, 309, 486, 2028, 30, 667, 67, 529, 273, 1081, 67, 2159, 18, 588, 1499, 2668, 1106, 6134, 2028, 273, 1104, 67, 1106, 12, 1106, 67, 529, 13, 309, 486, 612, 30, 612, 273, 1081, 67, 2159, 18, 588, 1499, 2668, 350, 6134, 1081, 273, 2028, 12, 350, 13, 1081, 6315, 6079, 67, 2725, 273, 1083, 364, 2270, 67, 2159, 316, 1081, 67, 2159, 18, 588, 3471, 10401, 2668, 4468, 11, 4672, 2270, 67, 529, 273, 2270, 67, 2159, 18, 588, 1499, 2668, 529, 6134, 2270, 273, 1081, 2 ]
def hpy_d7a6d791d7a2(hpy_d7a6d791d7a2): """שנה את צבע העט""" turtle.color(hpy_d7a6d791d7a2d799d79d[hpy_d7a6d791d7a2])
def hpy_d7a6d791d7a2(*hpy_d790d7a8d792): """שנה את צבע העט.
def hpy_d7a6d791d7a2(hpy_d7a6d791d7a2): """שנה את צבע העט""" turtle.color(hpy_d7a6d791d7a2d799d79d[hpy_d7a6d791d7a2])
b7172c683d993fc190f5a8e2a730bccdcdc130f8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8187/b7172c683d993fc190f5a8e2a730bccdcdc130f8/hturtle.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 366, 2074, 67, 72, 27, 69, 26, 72, 7235, 21, 72, 27, 69, 22, 30857, 76, 2074, 67, 72, 7235, 20, 72, 27, 69, 28, 72, 7235, 22, 4672, 3536, 152, 107, 152, 259, 152, 247, 225, 152, 243, 152, 108, 225, 152, 104, 152, 244, 152, 100, 225, 152, 247, 152, 100, 152, 251, 18, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 366, 2074, 67, 72, 27, 69, 26, 72, 7235, 21, 72, 27, 69, 22, 30857, 76, 2074, 67, 72, 7235, 20, 72, 27, 69, 28, 72, 7235, 22, 4672, 3536, 152, 107, 152, 259, 152, 247, 225, 152, 243, 152, 108, 225, 152, 104, 152, 244, 152, 100, 225, 152, 247, 152, 100, 152, 251, 18, 225, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
data[k] = Array([], "s")
data[k] = dbus.Array([], "s")
def dsanitize(data): # Clean up a dict so that it can be transmitted through D-Bus for k, v in data.items(): # Manually specify an arbitrary content type for empty Python arrays # because D-Bus can't handle the type conversion for empty arrays if not v and isinstance(v, list): data[k] = Array([], "s") # D-Bus has no concept of a null or empty value so we have to convert # None types to something else. I use an empty string because it has # the same behavior as None in a Python conditional expression elif v == None: data[k] = "" return data
c1ca5f821788e5eb0bddb76b4c6d3faa83e2c396 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7036/c1ca5f821788e5eb0bddb76b4c6d3faa83e2c396/dbuswrapper.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3780, 13502, 12, 892, 4672, 468, 9645, 731, 279, 2065, 1427, 716, 518, 848, 506, 906, 7948, 3059, 463, 17, 7086, 364, 417, 16, 331, 316, 501, 18, 3319, 13332, 468, 8660, 3452, 4800, 392, 11078, 913, 618, 364, 1008, 6600, 5352, 468, 2724, 463, 17, 7086, 848, 1404, 1640, 326, 618, 4105, 364, 1008, 5352, 309, 486, 331, 471, 1549, 12, 90, 16, 666, 4672, 501, 63, 79, 65, 273, 21866, 18, 1076, 3816, 6487, 315, 87, 7923, 468, 463, 17, 7086, 711, 1158, 12402, 434, 279, 446, 578, 1008, 460, 1427, 732, 1240, 358, 1765, 468, 599, 1953, 358, 5943, 469, 18, 467, 999, 392, 1008, 533, 2724, 518, 711, 468, 326, 1967, 6885, 487, 599, 316, 279, 6600, 11139, 2652, 1327, 331, 422, 599, 30, 501, 63, 79, 65, 273, 1408, 225, 327, 501, 282, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3780, 13502, 12, 892, 4672, 468, 9645, 731, 279, 2065, 1427, 716, 518, 848, 506, 906, 7948, 3059, 463, 17, 7086, 364, 417, 16, 331, 316, 501, 18, 3319, 13332, 468, 8660, 3452, 4800, 392, 11078, 913, 618, 364, 1008, 6600, 5352, 468, 2724, 463, 17, 7086, 848, 1404, 1640, 326, 618, 4105, 364, 1008, 5352, 309, 486, 331, 471, 1549, 12, 90, 16, 666, 4672, 501, 63, 79, 65, 273, 21866, 18, 1076, 3816, 6487, 315, 87, 7923, 468, 463, 17, 7086, 711, 1158, 12402, 434, 279, 446, 578, 1008, 460, 1427, 732, 1240, 358, 1765, 468, 599, 1953, 358, 5943, 469, 18, 467, 999, 392, 1008, 533, 2724, 518, 711, 468, 326, 1967, 6885, 487, 599, 2 ]
return guid return ''
return guid return ''
def getGuidByPfn(self,pfn): for guid,pfile in self.files.items(): for p in pfile.pfns: if pfn == p[0]: return guid return ''
15bf7dd6204f2cdb3b3b2146d62e93fe210c8af4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12864/15bf7dd6204f2cdb3b3b2146d62e93fe210c8af4/PoolXMLCatalog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7162, 1911, 858, 52, 4293, 12, 2890, 16, 84, 4293, 4672, 225, 364, 9875, 16, 84, 768, 316, 365, 18, 2354, 18, 3319, 13332, 364, 293, 316, 293, 768, 18, 14241, 2387, 30, 309, 293, 4293, 422, 293, 63, 20, 14542, 327, 9875, 225, 327, 875, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7162, 1911, 858, 52, 4293, 12, 2890, 16, 84, 4293, 4672, 225, 364, 9875, 16, 84, 768, 316, 365, 18, 2354, 18, 3319, 13332, 364, 293, 316, 293, 768, 18, 14241, 2387, 30, 309, 293, 4293, 422, 293, 63, 20, 14542, 327, 9875, 225, 327, 875, 225, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
university = [et for et in entity_types if et.source == 'oxpoints'] public = [et for et in entity_types if et.source != 'oxpoints'] return { 'university': university, 'public': public,
return { 'entity_types': entity_types,
def initial_context(cls, request): entity_types = EntityType.objects.filter(show_in_category_list=True) university = [et for et in entity_types if et.source == 'oxpoints'] public = [et for et in entity_types if et.source != 'oxpoints']
3cd8c78e193cd999601c7269605a7d43cfb07068 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14173/3cd8c78e193cd999601c7269605a7d43cfb07068/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2172, 67, 2472, 12, 6429, 16, 590, 4672, 1522, 67, 2352, 273, 23517, 18, 6911, 18, 2188, 12, 4500, 67, 267, 67, 4743, 67, 1098, 33, 5510, 13, 640, 6760, 560, 273, 306, 278, 364, 3393, 316, 1522, 67, 2352, 309, 3393, 18, 3168, 422, 296, 2409, 4139, 3546, 1071, 273, 306, 278, 364, 3393, 316, 1522, 67, 2352, 309, 3393, 18, 3168, 480, 296, 2409, 4139, 3546, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2172, 67, 2472, 12, 6429, 16, 590, 4672, 1522, 67, 2352, 273, 23517, 18, 6911, 18, 2188, 12, 4500, 67, 267, 67, 4743, 67, 1098, 33, 5510, 13, 640, 6760, 560, 273, 306, 278, 364, 3393, 316, 1522, 67, 2352, 309, 3393, 18, 3168, 422, 296, 2409, 4139, 3546, 1071, 273, 306, 278, 364, 3393, 316, 1522, 67, 2352, 309, 3393, 18, 3168, 480, 296, 2409, 4139, 3546, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.outstream.write("*\n")
self.outstream.write("*" + os.linesep)
def write(self, record): id = record.id assert "\n" not in id description = record.description assert "\n" not in description self.outstream.write(">P1;%s %s\n" % (id, description))
842c7d3d15f376ed24a8bb00f08fad9db98860e9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7167/842c7d3d15f376ed24a8bb00f08fad9db98860e9/generic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 1409, 4672, 612, 273, 1409, 18, 350, 1815, 1548, 82, 6, 486, 316, 612, 2477, 273, 1409, 18, 3384, 1815, 1548, 82, 6, 486, 316, 2477, 225, 365, 18, 659, 3256, 18, 2626, 2932, 34, 52, 21, 31, 9, 87, 738, 87, 64, 82, 6, 738, 261, 350, 16, 2477, 3719, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 486, 316, 612, 2477, 273, 1409, 18, 3384, 1815, 1548, 82, 6, 486, 316, 2477, 225, 365, 18, 659, 3256, 18, 2626, 2932, 34, 52, 21, 31, 9, 87, 738, 87, 64, 82, 6, 738, 261, 350, 16, 2477, 3719, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def fl_show_object(ob): """ fl_show_object(ob) """ _fl_show_object(ob)
def fl_show_object(pObject): """ fl_show_object(pObject) """ _fl_show_object(pObject)
def fl_show_object(ob): """ fl_show_object(ob) """ _fl_show_object(ob)
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 4500, 67, 1612, 12, 84, 921, 4672, 3536, 1183, 67, 4500, 67, 1612, 12, 84, 921, 13, 3536, 225, 389, 2242, 67, 4500, 67, 1612, 12, 84, 921, 13, 282, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 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, 1183, 67, 4500, 67, 1612, 12, 84, 921, 4672, 3536, 1183, 67, 4500, 67, 1612, 12, 84, 921, 13, 3536, 225, 389, 2242, 67, 4500, 67, 1612, 12, 84, 921, 13, 282, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100 ]
self._info.log("Adjusting topology for fault '%s'." % interface.label)
self._info.log("Adjusting topology for fault '%s' of size %d." % (interface.label, interface.faultSize(mesh)))
def _adjustTopology(self, mesh, interfaces): """ Adjust topology for interface implementation. """ logEvent = "%sadjTopo" % self._loggingPrefix self._eventLogger.eventBegin(logEvent) if not interfaces is None: firstFaultVertex = 0 firstFaultCell = 0 for interface in interfaces: firstFaultCell += interface.faultSize(mesh) if interface.useLagrangeConstraints(): firstFaultCell += interface.faultSize(mesh) for interface in interfaces: self._info.log("Adjusting topology for fault '%s'." % interface.label) firstFaultVertex, firstFaultCell = interface.adjustTopology(mesh, firstFaultVertex, firstFaultCell)
d7e28cec81445820827a38d7adedbb7adab67c5d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8645/d7e28cec81445820827a38d7adedbb7adab67c5d/MeshGenerator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 13362, 18618, 12, 2890, 16, 6986, 16, 7349, 4672, 3536, 17720, 9442, 364, 1560, 4471, 18, 3536, 25424, 273, 2213, 87, 13829, 3401, 83, 6, 738, 365, 6315, 11167, 2244, 365, 6315, 2575, 3328, 18, 2575, 8149, 12, 1330, 1133, 13, 225, 309, 486, 7349, 353, 599, 30, 1122, 7083, 6475, 273, 374, 1122, 7083, 4020, 282, 273, 374, 364, 1560, 316, 7349, 30, 1122, 7083, 4020, 1011, 1560, 18, 643, 1225, 12, 15557, 13, 309, 1560, 18, 1202, 26093, 3676, 4878, 13332, 1122, 7083, 4020, 1011, 1560, 18, 643, 1225, 12, 15557, 13, 364, 1560, 316, 7349, 30, 365, 6315, 1376, 18, 1330, 2932, 10952, 310, 9442, 364, 12530, 1995, 87, 11, 434, 963, 738, 72, 1199, 738, 261, 5831, 18, 1925, 16, 1560, 18, 643, 1225, 12, 15557, 20349, 1122, 7083, 6475, 16, 1122, 7083, 4020, 273, 1560, 18, 13362, 18618, 12, 15557, 16, 1122, 7083, 6475, 16, 1122, 7083, 4020, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13362, 18618, 12, 2890, 16, 6986, 16, 7349, 4672, 3536, 17720, 9442, 364, 1560, 4471, 18, 3536, 25424, 273, 2213, 87, 13829, 3401, 83, 6, 738, 365, 6315, 11167, 2244, 365, 6315, 2575, 3328, 18, 2575, 8149, 12, 1330, 1133, 13, 225, 309, 486, 7349, 353, 599, 30, 1122, 7083, 6475, 273, 374, 1122, 7083, 4020, 282, 273, 374, 364, 1560, 316, 7349, 30, 1122, 7083, 4020, 1011, 1560, 18, 643, 1225, 12, 15557, 13, 309, 1560, 18, 1202, 26093, 3676, 4878, 13332, 1122, 7083, 4020, 1011, 1560, 18, 643, 1225, 12, 15557, 13, 364, 1560, 316, 7349, 30, 365, 6315, 1376, 18, 1330, 2932, 10952, 310, 9442, 364, 12530, 1995, 87, 11, 434, 963, 738, 72, 2 ]
def _check_certificat(self, cr, uid, ids):
def _check_certificate(self, cr, uid, ids):
def _check_certificat(self, cr, uid, ids): if not ids: return True
63d6e4443f732e89575e572aa847fb865fb79aa7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12853/63d6e4443f732e89575e572aa847fb865fb79aa7/module.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1893, 67, 14108, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 4672, 309, 486, 3258, 30, 327, 1053, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1893, 67, 14108, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 4672, 309, 486, 3258, 30, 327, 1053, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
fp = None
infp = None
def _loop(self, starttime, count, interval): if hasattr(self, "call"): del self.call self.f(*self.a, **self.kw) now = time() while self.running: count += 1 fromStart = count * interval fromNow = starttime - now delay = fromNow + fromStart if delay > 0: self.call = reactor.callLater(delay, self._loop, starttime, count, interval) return
bb9c0b2f3df3403578e2de28d8b74fd768f2cc32 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1265/bb9c0b2f3df3403578e2de28d8b74fd768f2cc32/rtp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6498, 12, 2890, 16, 23437, 16, 1056, 16, 3673, 4672, 309, 3859, 12, 2890, 16, 315, 1991, 6, 4672, 1464, 365, 18, 1991, 365, 18, 74, 30857, 2890, 18, 69, 16, 2826, 2890, 18, 9987, 13, 2037, 273, 813, 1435, 1323, 365, 18, 8704, 30, 1056, 1011, 404, 628, 1685, 273, 1056, 380, 3673, 628, 8674, 273, 23437, 300, 2037, 4624, 273, 628, 8674, 397, 628, 1685, 309, 4624, 405, 374, 30, 365, 18, 1991, 273, 19178, 18, 1991, 20607, 12, 10790, 16, 365, 6315, 6498, 16, 23437, 16, 1056, 16, 3673, 13, 327, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6498, 12, 2890, 16, 23437, 16, 1056, 16, 3673, 4672, 309, 3859, 12, 2890, 16, 315, 1991, 6, 4672, 1464, 365, 18, 1991, 365, 18, 74, 30857, 2890, 18, 69, 16, 2826, 2890, 18, 9987, 13, 2037, 273, 813, 1435, 1323, 365, 18, 8704, 30, 1056, 1011, 404, 628, 1685, 273, 1056, 380, 3673, 628, 8674, 273, 23437, 300, 2037, 4624, 273, 628, 8674, 397, 628, 1685, 309, 4624, 405, 374, 30, 365, 18, 1991, 273, 19178, 18, 1991, 20607, 12, 10790, 16, 365, 6315, 6498, 16, 23437, 16, 1056, 16, 3673, 13, 327, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
print "Usage %s <opts>" % sys.argv[0]
print __doc__.split( '\n' )[1] print "Usage:\n %s [options]..." % sys.argv[0] print "Options:"
def fixAbsoluteLinks( path ): for entry in os.listdir( path ): entryPath = os.path.join( path, entry ) if os.path.islink( entryPath ): destPath = os.readlink( entryPath ) if os.path.isabs( destPath ): absLinkDirSplit = [ d for d in os.path.abspath( path ).split( "/" ) if d.strip() ] absDestDirSplit = [ d for d in destPath.split( "/" ) if d.strip() ] common = -1 for i in range( min( len( absLinkDirSplit ), len( absDestDirSplit ) ) ): if absLinkDirSplit[ i ] == absDestDirSplit[ i ]: common = i else: break absLinkDirSplit = absLinkDirSplit[ common + 1: ] absDestDirSplit = absDestDirSplit[ common + 1: ] finalDestination = [ ".." for d in absLinkDirSplit ] finalDestination.extend( absDestDirSplit ) finalDestination = os.path.join( *finalDestination ) print "Relinking %s" % entryPath print " %s -> %s" % ( destPath, finalDestination ) os.unlink( entryPath ) os.symlink( finalDestination, entryPath ) elif os.path.isdir( entryPath ): fixAbsoluteLinks( entryPath )
eae2de6b07eebbb079598c001145f786278160d6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/eae2de6b07eebbb079598c001145f786278160d6/dirac-compile-externals.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2917, 10368, 7100, 12, 589, 262, 30, 364, 1241, 316, 1140, 18, 1098, 1214, 12, 589, 262, 30, 1241, 743, 273, 1140, 18, 803, 18, 5701, 12, 589, 16, 1241, 262, 309, 1140, 18, 803, 18, 291, 1232, 12, 1241, 743, 262, 30, 22459, 273, 1140, 18, 896, 1232, 12, 1241, 743, 262, 309, 1140, 18, 803, 18, 291, 5113, 12, 22459, 262, 30, 2417, 2098, 1621, 5521, 273, 306, 302, 364, 302, 316, 1140, 18, 803, 18, 5113, 803, 12, 589, 262, 18, 4939, 12, 4016, 262, 309, 302, 18, 6406, 1435, 308, 2417, 9378, 1621, 5521, 273, 306, 302, 364, 302, 316, 22459, 18, 4939, 12, 4016, 262, 309, 302, 18, 6406, 1435, 308, 2975, 273, 300, 21, 364, 277, 316, 1048, 12, 1131, 12, 562, 12, 2417, 2098, 1621, 5521, 262, 16, 562, 12, 2417, 9378, 1621, 5521, 262, 262, 262, 30, 309, 2417, 2098, 1621, 5521, 63, 277, 308, 422, 2417, 9378, 1621, 5521, 63, 277, 308, 30, 2975, 273, 277, 469, 30, 898, 2417, 2098, 1621, 5521, 273, 2417, 2098, 1621, 5521, 63, 2975, 397, 404, 30, 308, 2417, 9378, 1621, 5521, 273, 2417, 9378, 1621, 5521, 63, 2975, 397, 404, 30, 308, 727, 5683, 273, 306, 24119, 364, 302, 316, 2417, 2098, 1621, 5521, 308, 727, 5683, 18, 14313, 12, 2417, 9378, 1621, 5521, 262, 727, 5683, 273, 1140, 18, 803, 18, 5701, 12, 380, 6385, 5683, 262, 1172, 315, 1971, 754, 310, 738, 87, 6, 738, 1241, 743, 1172, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2917, 10368, 7100, 12, 589, 262, 30, 364, 1241, 316, 1140, 18, 1098, 1214, 12, 589, 262, 30, 1241, 743, 273, 1140, 18, 803, 18, 5701, 12, 589, 16, 1241, 262, 309, 1140, 18, 803, 18, 291, 1232, 12, 1241, 743, 262, 30, 22459, 273, 1140, 18, 896, 1232, 12, 1241, 743, 262, 309, 1140, 18, 803, 18, 291, 5113, 12, 22459, 262, 30, 2417, 2098, 1621, 5521, 273, 306, 302, 364, 302, 316, 1140, 18, 803, 18, 5113, 803, 12, 589, 262, 18, 4939, 12, 4016, 262, 309, 302, 18, 6406, 1435, 308, 2417, 9378, 1621, 5521, 273, 306, 302, 364, 302, 316, 22459, 18, 4939, 12, 4016, 262, 309, 302, 18, 6406, 1435, 308, 2975, 273, 2 ]
tag=None, magmom=None, mass=None, momentum=None, charge=None):
tag=None, momentum=None, mass=None, magmom=None, charge=None): """Construct Atom object. Parameters ---------- symbol : str or int Can be a chemical symbol (str) or an atomic number (int). position : sequence of 3 floats Atomi position. tag : int Special purpose tag. momentum: sequence of 3 floats Momentum for atom. mass : float Atomic mass in atomic units. magmom: float Magnetic moment. charge : float Atomic charge. Examples -------- The first two are equivalent: >>> a = Atom('O', charge=-2) >>> b = Atom(8, charge=-2) >>> c = Atom('H', position=(1, 2, 3), magmom=1) >>> print a.charge, a.position -2, (0, 0, 0) >>> print c.position (1, 2, 3) >>> print b.symbol 'O' """
def __init__(self, symbol, position=(0, 0, 0), tag=None, magmom=None, mass=None, momentum=None, charge=None): if isinstance(symbol, str): self.number = atomic_numbers[symbol] self.symbol = symbol else: self.number = symbol self.symbol = chemical_symbols[symbol] self.position = position self.tag = tag self.momentum = momentum self.mass = mass self.magmom = magmom self.charge = charge
4f53c765c1e0026359605da5aba1d414cddb5674 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5572/4f53c765c1e0026359605da5aba1d414cddb5674/atoms.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 3273, 16, 1754, 28657, 20, 16, 374, 16, 374, 3631, 1047, 33, 7036, 16, 10382, 379, 33, 7036, 16, 8039, 33, 7036, 16, 4447, 81, 362, 33, 7036, 16, 13765, 33, 7036, 4672, 3536, 7249, 7149, 733, 18, 225, 7012, 12181, 3273, 294, 609, 578, 509, 4480, 506, 279, 19028, 1706, 3273, 261, 701, 13, 578, 392, 7960, 1300, 261, 474, 2934, 1754, 294, 3102, 434, 890, 19172, 7149, 77, 1754, 18, 1047, 294, 509, 13409, 13115, 1047, 18, 10382, 379, 30, 3102, 434, 890, 19172, 490, 7970, 379, 364, 3179, 18, 8039, 294, 1431, 11553, 8039, 316, 7960, 4971, 18, 4447, 81, 362, 30, 1431, 12342, 27235, 10382, 18, 13765, 294, 1431, 11553, 13765, 18, 225, 19830, 27093, 1021, 1122, 2795, 854, 7680, 30, 225, 4080, 279, 273, 7149, 2668, 51, 2187, 13765, 29711, 22, 13, 4080, 324, 273, 7149, 12, 28, 16, 13765, 29711, 22, 13, 4080, 276, 273, 7149, 2668, 44, 2187, 1754, 28657, 21, 16, 576, 16, 890, 3631, 4447, 81, 362, 33, 21, 13, 4080, 1172, 279, 18, 16385, 16, 279, 18, 3276, 300, 22, 16, 261, 20, 16, 374, 16, 374, 13, 4080, 1172, 276, 18, 3276, 261, 21, 16, 576, 16, 890, 13, 4080, 1172, 324, 18, 7175, 296, 51, 11, 225, 3536, 309, 1549, 12, 7175, 16, 609, 4672, 365, 18, 2696, 273, 7960, 67, 13851, 63, 7175, 65, 365, 18, 7175, 273, 3273, 469, 30, 365, 18, 2696, 273, 3273, 365, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3273, 16, 1754, 28657, 20, 16, 374, 16, 374, 3631, 1047, 33, 7036, 16, 10382, 379, 33, 7036, 16, 8039, 33, 7036, 16, 4447, 81, 362, 33, 7036, 16, 13765, 33, 7036, 4672, 3536, 7249, 7149, 733, 18, 225, 7012, 12181, 3273, 294, 609, 578, 509, 4480, 506, 279, 19028, 1706, 3273, 261, 701, 13, 578, 392, 7960, 1300, 261, 474, 2934, 1754, 294, 3102, 434, 890, 19172, 7149, 77, 1754, 18, 1047, 294, 509, 13409, 13115, 1047, 18, 10382, 379, 30, 3102, 434, 890, 19172, 490, 7970, 379, 364, 3179, 18, 8039, 294, 1431, 11553, 8039, 316, 7960, 4971, 18, 4447, 81, 362, 30, 1431, 12342, 27235, 10382, 18, 13765, 294, 2 ]
self.lfmter = {False: LatexFormatter(style=style), True: LatexFormatter(style=style, linenos=True)}
self.lfmter = {False: LatexFormatter(style=style, commandprefix='PYG'), True: LatexFormatter(style=style, linenos=True, commandprefix='PYG')}
def __init__(self, dest='html', stylename='sphinx'): self.dest = dest if not pygments: return if stylename == 'sphinx': style = SphinxStyle elif '.' in stylename: module, stylename = stylename.rsplit('.', 1) style = getattr(__import__(module, None, None, ['']), stylename) else: style = get_style_by_name(stylename) self.hfmter = {False: HtmlFormatter(style=style), True: HtmlFormatter(style=style, linenos=True)} self.lfmter = {False: LatexFormatter(style=style), True: LatexFormatter(style=style, linenos=True)}
0ea5c0da4f9bb23fab6017167f1f15d6a9dc3dee /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5532/0ea5c0da4f9bb23fab6017167f1f15d6a9dc3dee/highlighting.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1570, 2218, 2620, 2187, 16253, 14724, 2218, 87, 15922, 11, 4672, 365, 18, 10488, 273, 1570, 309, 486, 2395, 75, 1346, 30, 327, 309, 16253, 14724, 422, 296, 87, 15922, 4278, 2154, 273, 348, 15922, 2885, 1327, 2611, 316, 16253, 14724, 30, 1605, 16, 16253, 14724, 273, 16253, 14724, 18, 86, 4939, 2668, 1093, 16, 404, 13, 2154, 273, 3869, 12, 972, 5666, 972, 12, 2978, 16, 599, 16, 599, 16, 10228, 3546, 3631, 16253, 14724, 13, 469, 30, 2154, 273, 336, 67, 4060, 67, 1637, 67, 529, 12, 334, 93, 14724, 13, 365, 18, 76, 25089, 387, 273, 288, 8381, 30, 5430, 5074, 12, 4060, 33, 4060, 3631, 1053, 30, 5430, 5074, 12, 4060, 33, 4060, 16, 4739, 275, 538, 33, 5510, 16869, 365, 18, 20850, 81, 387, 273, 288, 8381, 30, 11134, 338, 5074, 12, 4060, 33, 4060, 3631, 1053, 30, 11134, 338, 5074, 12, 4060, 33, 4060, 16, 4739, 275, 538, 33, 5510, 16869, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1570, 2218, 2620, 2187, 16253, 14724, 2218, 87, 15922, 11, 4672, 365, 18, 10488, 273, 1570, 309, 486, 2395, 75, 1346, 30, 327, 309, 16253, 14724, 422, 296, 87, 15922, 4278, 2154, 273, 348, 15922, 2885, 1327, 2611, 316, 16253, 14724, 30, 1605, 16, 16253, 14724, 273, 16253, 14724, 18, 86, 4939, 2668, 1093, 16, 404, 13, 2154, 273, 3869, 12, 972, 5666, 972, 12, 2978, 16, 599, 16, 599, 16, 10228, 3546, 3631, 16253, 14724, 13, 469, 30, 2154, 273, 336, 67, 4060, 67, 1637, 67, 529, 12, 334, 93, 14724, 13, 365, 18, 76, 25089, 387, 273, 288, 8381, 30, 5430, 5074, 12, 4060, 33, 4060, 3631, 1053, 30, 5430, 2 ]
return tools.ustr(body.encode('ascii', 'replace'))
return tools.ustr((body or '').encode('ascii', 'replace'))
def format_body(self, body): return tools.ustr(body.encode('ascii', 'replace'))
cb1a819d76e6ad860c5454a9dbf2c79b756095ee /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/cb1a819d76e6ad860c5454a9dbf2c79b756095ee/crm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 67, 3432, 12, 2890, 16, 1417, 4672, 327, 8513, 18, 27008, 12, 3432, 18, 3015, 2668, 9184, 2187, 296, 2079, 26112, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 740, 67, 3432, 12, 2890, 16, 1417, 4672, 327, 8513, 18, 27008, 12, 3432, 18, 3015, 2668, 9184, 2187, 296, 2079, 26112, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if isinstance(read, bytes): read = read.decode('ascii')
def _recv(self, which, maxsize): conn, maxsize = self.get_conn_maxsize(which, maxsize) if conn is None: return None try: x = msvcrt.get_osfhandle(conn.fileno()) (read, nAvail, nMessage) = PeekNamedPipe(x, 0) if maxsize < nAvail: nAvail = maxsize if nAvail > 0: (errCode, read) = ReadFile(x, nAvail, None) if isinstance(read, bytes): read = read.decode('ascii') except ValueError: return self._close(which) except (subprocess.pywintypes.error, Exception): if geterror()[0] in (109, errno.ESHUTDOWN): return self._close(which) raise if self.universal_newlines: # Translate newlines. For Python 3.x assume read is text. # If bytes then another solution is needed.
49b7f1af67d5a2c26db49b356a3d35a7324f6cb3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1298/49b7f1af67d5a2c26db49b356a3d35a7324f6cb3/async_sub.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 18334, 12, 2890, 16, 1492, 16, 22959, 4672, 1487, 16, 22959, 273, 365, 18, 588, 67, 4646, 67, 1896, 1467, 12, 12784, 16, 22959, 13, 309, 1487, 353, 599, 30, 327, 599, 225, 775, 30, 619, 273, 4086, 90, 3353, 88, 18, 588, 67, 538, 74, 4110, 12, 4646, 18, 7540, 5764, 10756, 261, 896, 16, 290, 3769, 671, 16, 290, 1079, 13, 273, 22173, 7604, 11546, 12, 92, 16, 374, 13, 309, 22959, 411, 290, 3769, 671, 30, 290, 3769, 671, 273, 22959, 309, 290, 3769, 671, 405, 374, 30, 261, 370, 1085, 16, 855, 13, 273, 15773, 12, 92, 16, 290, 3769, 671, 16, 599, 13, 1335, 2068, 30, 327, 365, 6315, 4412, 12, 12784, 13, 1335, 261, 1717, 2567, 18, 2074, 91, 474, 989, 18, 1636, 16, 1185, 4672, 309, 336, 1636, 1435, 63, 20, 65, 316, 261, 22267, 16, 8402, 18, 41, 2664, 1693, 12711, 4672, 327, 365, 6315, 4412, 12, 12784, 13, 1002, 225, 309, 365, 18, 318, 14651, 67, 31276, 30, 468, 16820, 19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326, 22398, 316, 326, 981, 30, 1652, 389, 18334, 12, 2890, 16, 1492, 16, 22959, 4672, 1487, 16, 22959, 273, 365, 18, 588, 67, 4646, 67, 1896, 1467, 12, 12784, 16, 22959, 13, 309, 1487, 353, 599, 30, 327, 599, 225, 775, 30, 619, 273, 4086, 90, 3353, 88, 18, 588, 67, 538, 74, 4110, 12, 4646, 18, 7540, 5764, 10756, 261, 896, 16, 290, 3769, 671, 16, 290, 1079, 13, 273, 22173, 7604, 11546, 12, 92, 16, 374, 13, 309, 22959, 411, 290, 3769, 671, 30, 290, 3769, 671, 273, 22959, 309, 290, 3769, 671, 405, 374, 30, 261, 370, 1085, 16, 855, 13, 273, 15773, 12, 92, 16, 290, 3769, 671, 16, 599, 13, 1335, 2068, 30, 327, 365, 6315, 4412, 12, 12784, 2 ]
def __noopSubst(func, name): return '$(%s)' % name
try: utils.checkBakefileVersion('0.1.5') def __noopSubst(name, func, caller): return '$(%s)' % name except AttributeError: def __noopSubst(func, name): return '$(%s)' % name
def __noopSubst(func, name): return '$(%s)' % name
6e6af2869a8131bd71d787f9a9fb0d6f51d889a0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/6e6af2869a8131bd71d787f9a9fb0d6f51d889a0/wxwin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2135, 556, 1676, 334, 12, 644, 16, 508, 4672, 327, 3365, 9275, 87, 2506, 738, 508, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2135, 556, 1676, 334, 12, 644, 16, 508, 4672, 327, 3365, 9275, 87, 2506, 738, 508, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
new_id = super(account_invoice,self).refund(cr, uid, ids, date=date, period_id=period_id, description=description)
new_id = super(account_invoice,self).refund(cr, uid, ids, date=date, period_id=period_id, description=description, journal_id=journal_id)
def refund(self, cr, uid, ids, date=None, period_id=None, description=None): map_old_new = {} refund_ids = [] for old_inv_id in ids: new_id = super(account_invoice,self).refund(cr, uid, ids, date=date, period_id=period_id, description=description) refund_ids += new_id map_old_new[old_inv_id] = new_id[0]
cbea6a2d9a37b768b84716ca85849f17c7ebc827 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/cbea6a2d9a37b768b84716ca85849f17c7ebc827/account_tax_include.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16255, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 1509, 33, 7036, 16, 3879, 67, 350, 33, 7036, 16, 2477, 33, 7036, 4672, 852, 67, 1673, 67, 2704, 273, 2618, 16255, 67, 2232, 273, 5378, 364, 1592, 67, 5768, 67, 350, 316, 3258, 30, 394, 67, 350, 273, 2240, 12, 4631, 67, 16119, 16, 2890, 2934, 1734, 1074, 12, 3353, 16, 4555, 16, 3258, 16, 1509, 33, 712, 16, 3879, 67, 350, 33, 6908, 67, 350, 16, 2477, 33, 3384, 16, 13001, 67, 350, 33, 22644, 67, 350, 13, 16255, 67, 2232, 1011, 394, 67, 350, 852, 67, 1673, 67, 2704, 63, 1673, 67, 5768, 67, 350, 65, 273, 394, 67, 350, 63, 20, 65, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16255, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 1509, 33, 7036, 16, 3879, 67, 350, 33, 7036, 16, 2477, 33, 7036, 4672, 852, 67, 1673, 67, 2704, 273, 2618, 16255, 67, 2232, 273, 5378, 364, 1592, 67, 5768, 67, 350, 316, 3258, 30, 394, 67, 350, 273, 2240, 12, 4631, 67, 16119, 16, 2890, 2934, 1734, 1074, 12, 3353, 16, 4555, 16, 3258, 16, 1509, 33, 712, 16, 3879, 67, 350, 33, 6908, 67, 350, 16, 2477, 33, 3384, 16, 13001, 67, 350, 33, 22644, 67, 350, 13, 16255, 67, 2232, 1011, 394, 67, 350, 852, 67, 1673, 67, 2704, 63, 1673, 67, 5768, 67, 350, 65, 273, 394, 67, 350, 63, 20, 65, 2, -100, -100 ]
pen = self.GetStatusPen(penColor)
pen = self.GetStatusPen(outlineColor)
def Draw(self, dc, boundingRect, styles, brushOffset, selected): item = self._item
614c6e0fec5358c7acde5bbf542101668445ed6a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/614c6e0fec5358c7acde5bbf542101668445ed6a/CalendarC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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10184, 12, 2890, 16, 6744, 16, 7552, 6120, 16, 5687, 16, 5186, 1218, 2335, 16, 3170, 4672, 761, 273, 365, 6315, 1726, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
uncache = collections.defaultdict(list)
uncache = collections.defaultdict(set)
def make_dns_cache(db): cursor = db.cursor() cursor.execute("SELECT DISTINCT(hostname) FROM shares") cache = dict([(share[0], socket.gethostbyname(share[0])) for share in cursor.fetchall()]) uncache = collections.defaultdict(list) for (k, v) in cache.iteritems(): uncache[v].append(k) return cache, uncache
279d17286a4950c91f806534b36abd057a1ac3a3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4762/279d17286a4950c91f806534b36abd057a1ac3a3/pinger.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 14926, 67, 2493, 12, 1966, 4672, 3347, 273, 1319, 18, 9216, 1435, 3347, 18, 8837, 2932, 4803, 23286, 12, 10358, 13, 4571, 24123, 7923, 1247, 273, 2065, 3816, 12, 14419, 63, 20, 6487, 2987, 18, 75, 546, 669, 1637, 529, 12, 14419, 63, 20, 22643, 364, 7433, 316, 3347, 18, 5754, 454, 1435, 5717, 6301, 807, 273, 6980, 18, 1886, 1576, 12, 542, 13, 364, 261, 79, 16, 331, 13, 316, 1247, 18, 2165, 3319, 13332, 6301, 807, 63, 90, 8009, 6923, 12, 79, 13, 327, 1247, 16, 6301, 807, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 67, 14926, 67, 2493, 12, 1966, 4672, 3347, 273, 1319, 18, 9216, 1435, 3347, 18, 8837, 2932, 4803, 23286, 12, 10358, 13, 4571, 24123, 7923, 1247, 273, 2065, 3816, 12, 14419, 63, 20, 6487, 2987, 18, 75, 546, 669, 1637, 529, 12, 14419, 63, 20, 22643, 364, 7433, 316, 3347, 18, 5754, 454, 1435, 5717, 6301, 807, 273, 6980, 18, 1886, 1576, 12, 542, 13, 364, 261, 79, 16, 331, 13, 316, 1247, 18, 2165, 3319, 13332, 6301, 807, 63, 90, 8009, 6923, 12, 79, 13, 327, 1247, 16, 6301, 807, 225, 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 ]
return 0
return ind
def dh_singVal( value, match ): """This function helps with matching a single value. formats['CurrEvents']['en'](0) => u'Current Events' formats['CurrEvents']['en'](u'Current Events') => 0""" if type(value) is int: if value == 0: return match else: raise ValueError("unknown value %d" % value) else: if value == match: return 0 else: raise ValueError()
32e5f5c1a30bc02fc3075b9c456f10fafab05a66 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4404/32e5f5c1a30bc02fc3075b9c456f10fafab05a66/date.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11007, 67, 2470, 3053, 12, 460, 16, 845, 262, 30, 3536, 2503, 445, 21814, 598, 3607, 279, 2202, 460, 18, 6449, 3292, 20143, 3783, 21712, 275, 3546, 12, 20, 13, 516, 582, 11, 3935, 9043, 11, 6449, 3292, 20143, 3783, 21712, 275, 3546, 12, 89, 11, 3935, 9043, 6134, 516, 374, 8395, 309, 618, 12, 1132, 13, 353, 509, 30, 309, 460, 422, 374, 30, 327, 845, 469, 30, 1002, 2068, 2932, 8172, 460, 738, 72, 6, 738, 460, 13, 469, 30, 309, 460, 422, 845, 30, 327, 1547, 469, 30, 1002, 2068, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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845, 262, 30, 3536, 2503, 445, 21814, 598, 3607, 279, 2202, 460, 18, 6449, 3292, 20143, 3783, 21712, 275, 3546, 12, 20, 13, 516, 582, 11, 3935, 9043, 11, 6449, 3292, 20143, 3783, 21712, 275, 3546, 12, 89, 11, 3935, 9043, 6134, 516, 374, 8395, 309, 618, 12, 1132, 13, 353, 509, 30, 309, 460, 422, 374, 30, 327, 845, 469, 30, 1002, 2068, 2932, 8172, 460, 738, 72, 6, 738, 460, 13, 469, 30, 309, 460, 422, 845, 30, 327, 1547, 469, 30, 1002, 2068, 1435, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
xi = XInfo(os.path.join(os.environ['XIA2_ROOT'], 'Data', 'Test', 'Xinfo', '1vr9.xinfo'))
xi = XInfo(os.path.join(os.environ['XIA2_ROOT'], 'Data', 'Test', 'Xinfo', '1vrm-post-scale.xinfo'))
def _parse_crystal(self, crystal_records): '''Parse the interesting information out of the crystal description.'''
6ffb5b650d7622d6e049131a8377d82fc2539589 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3290/6ffb5b650d7622d6e049131a8377d82fc2539589/XInfo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2670, 67, 3353, 31365, 12, 2890, 16, 4422, 31365, 67, 7094, 4672, 9163, 3201, 326, 26122, 1779, 596, 434, 326, 4422, 31365, 2477, 1093, 6309, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2670, 67, 3353, 31365, 12, 2890, 16, 4422, 31365, 67, 7094, 4672, 9163, 3201, 326, 26122, 1779, 596, 434, 326, 4422, 31365, 2477, 1093, 6309, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if self.setup['bundle'] and bundle not in self.setup['bundle']:
if self.setup['bundle'] and \ bundle.get('name') not in self.setup['bundle']:
def Install(self): '''Install all entries''' self.DispatchInstallCalls(self.whitelist) mods = self.modified mbundles = [struct for struct in self.config.findall('Bundle') if \ [mod for mod in mods if mod in struct]]
0eda10533870439315c9a749389a381558299eec /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11867/0eda10533870439315c9a749389a381558299eec/Frame.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10284, 12, 2890, 4672, 9163, 6410, 777, 3222, 26418, 365, 18, 5325, 6410, 10125, 12, 2890, 18, 20409, 13, 15546, 273, 365, 18, 7342, 4903, 7663, 273, 306, 1697, 364, 1958, 316, 365, 18, 1425, 18, 4720, 454, 2668, 3405, 6134, 309, 521, 306, 1711, 364, 681, 316, 15546, 309, 681, 316, 1958, 13563, 2, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10284, 12, 2890, 4672, 9163, 6410, 777, 3222, 26418, 365, 18, 5325, 6410, 10125, 12, 2890, 18, 20409, 13, 15546, 273, 365, 18, 7342, 4903, 7663, 273, 306, 1697, 364, 1958, 316, 365, 18, 1425, 18, 4720, 454, 2668, 3405, 6134, 309, 521, 306, 1711, 364, 681, 316, 15546, 309, 681, 316, 1958, 13563, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
141 sage: a.list(12) [6, 9, 10, 12, 14, 15, 18, 20, 21, 22, 24, 25] sage: a(1/3) Traceback (most recent call last): ... TypeError: Unable to coerce rational (=1/3) to an Integer.
3 sage: a(256) 1 sage: a(29) 2 sage: a.list(20) [1, 1, 2, 1, 2, 2, 2, 1, 3, 2, 2, 2, 2, 2, 4, 1, 2, 3, 2, 2] sage: a(-1) Traceback (most recent call last): ... ValueError: input n (=-1) must be a positive integer AUTHOR: - Jaap Spies (2007-01-14) """ def _repr_(self): return "Number of odd divisors of n" offset = 1 def _eval(self, n): return sum(i%2 for i in arith.divisors(n)) class A001694(SloaneSequence): r""" This function returns the $n$-th Powerful Number: A positive integer $n$ is powerful if for every prime $p$ dividing $n$, $p^2$ also divides $n$. INPUT: n -- positive integer OUTPUT: integer -- function value EXAMPLES: sage: a = sloane.A001694; a Powerful Numbers (also called squarefull, square-full or 2-full numbers). sage: a.offset 1 sage: a(1) 1 sage: a(4) 9 sage: a(100) 3136 sage: a(156) 7225 sage: a.list(19) [1, 4, 8, 9, 16, 25, 27, 32, 36, 49, 64, 72, 81, 100, 108, 121, 125, 128, 144] sage: a(-1) Traceback (most recent call last): ... ValueError: input n (=-1) must be a positive integer
def is_power_of_two(n): r""" This function returns True if and only if $n$ is a power of 2 INPUT: n -- integer OUTPUT: True -- if n is a power of 2 False -- if not EXAMPLES: sage: from sage.databases.sloane_functions import is_power_of_two sage: is_power_of_two(1024) True sage: is_power_of_two(1) True sage: is_power_of_two(24) False sage: is_power_of_two(0) False sage: is_power_of_two(-4) False AUTHOR: -- Jaap Spies (2006-12-09) """ # modification of is2pow(n) from the Programming Guide while n > 0 and n%2 == 0: n = n >> 1 return n == 1
e5d5b60c16d66a2bb879d4bdc18e2f9b3b075cd6 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/e5d5b60c16d66a2bb879d4bdc18e2f9b3b075cd6/sloane_functions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 12238, 67, 792, 67, 15415, 12, 82, 4672, 436, 8395, 1220, 445, 1135, 1053, 309, 471, 1338, 309, 271, 82, 8, 353, 279, 7212, 434, 576, 225, 12943, 30, 290, 1493, 3571, 225, 11550, 30, 1053, 1493, 309, 290, 353, 279, 7212, 434, 576, 1083, 1493, 309, 486, 225, 5675, 8900, 11386, 30, 272, 410, 30, 628, 272, 410, 18, 3404, 19684, 18, 87, 383, 8806, 67, 10722, 1930, 353, 67, 12238, 67, 792, 67, 15415, 225, 272, 410, 30, 353, 67, 12238, 67, 792, 67, 15415, 12, 2163, 3247, 13, 1053, 225, 272, 410, 30, 353, 67, 12238, 67, 792, 67, 15415, 12, 21, 13, 1053, 225, 272, 410, 30, 353, 67, 12238, 67, 792, 67, 15415, 12, 3247, 13, 1083, 225, 272, 410, 30, 353, 67, 12238, 67, 792, 67, 15415, 12, 20, 13, 1083, 225, 272, 410, 30, 353, 67, 12238, 67, 792, 67, 15415, 19236, 24, 13, 1083, 225, 12790, 916, 30, 1493, 804, 69, 438, 5878, 606, 261, 6976, 26, 17, 2138, 17, 5908, 13, 225, 3536, 468, 11544, 434, 353, 22, 23509, 12, 82, 13, 628, 326, 13586, 11987, 13018, 1323, 290, 405, 374, 471, 290, 9, 22, 422, 374, 30, 290, 273, 290, 1671, 404, 327, 290, 422, 404, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 353, 67, 12238, 67, 792, 67, 15415, 12, 82, 4672, 436, 8395, 1220, 445, 1135, 1053, 309, 471, 1338, 309, 271, 82, 8, 353, 279, 7212, 434, 576, 225, 12943, 30, 290, 1493, 3571, 225, 11550, 30, 1053, 1493, 309, 290, 353, 279, 7212, 434, 576, 1083, 1493, 309, 486, 225, 5675, 8900, 11386, 30, 272, 410, 30, 628, 272, 410, 18, 3404, 19684, 18, 87, 383, 8806, 67, 10722, 1930, 353, 67, 12238, 67, 792, 67, 15415, 225, 272, 410, 30, 353, 67, 12238, 67, 792, 67, 15415, 12, 2163, 3247, 13, 1053, 225, 272, 410, 30, 353, 67, 12238, 67, 792, 67, 15415, 12, 21, 13, 1053, 225, 272, 410, 30, 353, 67, 12238, 67, 792, 2 ]
rv = 0
rv = 0
def _quit(self):
1c147c23599653ee2cd664a4431b6089f0009cdd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/1c147c23599653ee2cd664a4431b6089f0009cdd/PackageManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 27176, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 27176, 12, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self._rbuf = data[left:] buffers[-1] = data[:left] break
buf.write(buffer(data, 0, left)) self._rbuf.write(buffer(data, left)) del data break buf.write(data)
def read(self, size=-1): data = self._rbuf if size < 0: # Read until EOF buffers = [] if data: buffers.append(data) self._rbuf = "" if self._rbufsize <= 1: recv_size = self.default_bufsize else: recv_size = self._rbufsize while True: data = self._sock.recv(recv_size) if not data: break buffers.append(data) return "".join(buffers) else: # Read until size bytes or EOF seen, whichever comes first buf_len = len(data) if buf_len >= size: self._rbuf = data[size:] return data[:size] buffers = [] if data: buffers.append(data) self._rbuf = "" while True: left = size - buf_len recv_size = min(self._rbufsize, left) data = self._sock.recv(recv_size) if not data: break buffers.append(data) n = len(data) if n >= left: self._rbuf = data[left:] buffers[-1] = data[:left] break buf_len += n return "".join(buffers)
f8cc64017ca0f33b1e21b1c9c9f5f30ebdc4da31 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8546/f8cc64017ca0f33b1e21b1c9c9f5f30ebdc4da31/socket.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 2890, 16, 963, 29711, 21, 4672, 501, 273, 365, 6315, 86, 4385, 309, 963, 411, 374, 30, 468, 2720, 3180, 6431, 9664, 273, 5378, 309, 501, 30, 9664, 18, 6923, 12, 892, 13, 365, 6315, 86, 4385, 273, 1408, 309, 365, 6315, 86, 4385, 1467, 1648, 404, 30, 10665, 67, 1467, 273, 365, 18, 1886, 67, 4385, 1467, 469, 30, 10665, 67, 1467, 273, 365, 6315, 86, 4385, 1467, 1323, 1053, 30, 501, 273, 365, 6315, 15031, 18, 18334, 12, 18334, 67, 1467, 13, 309, 486, 501, 30, 898, 9664, 18, 6923, 12, 892, 13, 327, 1408, 18, 5701, 12, 28101, 13, 469, 30, 468, 2720, 3180, 963, 1731, 578, 6431, 5881, 16, 600, 335, 580, 502, 14535, 1122, 1681, 67, 1897, 273, 562, 12, 892, 13, 309, 1681, 67, 1897, 1545, 963, 30, 365, 6315, 86, 4385, 273, 501, 63, 1467, 26894, 327, 501, 10531, 1467, 65, 9664, 273, 5378, 309, 501, 30, 9664, 18, 6923, 12, 892, 13, 365, 6315, 86, 4385, 273, 1408, 1323, 1053, 30, 2002, 273, 963, 300, 1681, 67, 1897, 10665, 67, 1467, 273, 1131, 12, 2890, 6315, 86, 4385, 1467, 16, 2002, 13, 501, 273, 365, 6315, 15031, 18, 18334, 12, 18334, 67, 1467, 13, 309, 486, 501, 30, 898, 9664, 18, 6923, 12, 892, 13, 290, 273, 562, 12, 892, 13, 309, 290, 1545, 2002, 30, 225, 1681, 18, 2626, 12, 4106, 12, 892, 16, 374, 16, 2002, 3719, 225, 365, 6315, 86, 4385, 18, 2626, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 2890, 16, 963, 29711, 21, 4672, 501, 273, 365, 6315, 86, 4385, 309, 963, 411, 374, 30, 468, 2720, 3180, 6431, 9664, 273, 5378, 309, 501, 30, 9664, 18, 6923, 12, 892, 13, 365, 6315, 86, 4385, 273, 1408, 309, 365, 6315, 86, 4385, 1467, 1648, 404, 30, 10665, 67, 1467, 273, 365, 18, 1886, 67, 4385, 1467, 469, 30, 10665, 67, 1467, 273, 365, 6315, 86, 4385, 1467, 1323, 1053, 30, 501, 273, 365, 6315, 15031, 18, 18334, 12, 18334, 67, 1467, 13, 309, 486, 501, 30, 898, 9664, 18, 6923, 12, 892, 13, 327, 1408, 18, 5701, 12, 28101, 13, 469, 30, 468, 2720, 3180, 963, 1731, 578, 6431, 5881, 16, 600, 335, 580, 2 ]
self.log.warn('Failed to get jobs for %s status with error:\n%s' %(result))
self.log.warn('Failed to get jobs for %s status with error:\n%s' %(state,result))
def __purgeCompletedJobs(self): """This method checks for jobs in the Successful/Failed status and conveys updates to the job state service and job monitoring. """ toPurge = [] statusList = [('Successful','Waiting','Pilot Agent Submission'),('Failed','Failed','Exceeded Max Staging Retry')] for state,status,minorStatus in statusList: result = self.stagerClient.getJobsForSystemAndState(state,self.system,self.jobSelectLimit) if not result['OK']: self.log.warn('Failed to get jobs for %s status with error:\n%s' %(result)) return result if result['JobIDs']: self.log.verbose('%s %s jobs available to update' %(len(result['JobIDs']),state)) for jobID in result['JobIDs']: result = self.__updateJobProgress(jobID,status,minorStatus) if not result['OK']: return result toPurge.append(jobID) else: self.log.verbose('No %s jobs available to update' %state)
189a79eb1c6258be874a42176d7742a092feef64 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/189a79eb1c6258be874a42176d7742a092feef64/StagerMonitorWMS.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 26422, 9556, 7276, 12, 2890, 4672, 3536, 2503, 707, 4271, 364, 6550, 316, 326, 11958, 2706, 19, 2925, 1267, 471, 6292, 402, 87, 4533, 358, 326, 1719, 919, 1156, 471, 1719, 16309, 18, 3536, 358, 21422, 273, 5378, 1267, 682, 273, 306, 2668, 14277, 17023, 15946, 17023, 52, 22797, 8669, 2592, 3951, 19899, 2668, 2925, 17023, 2925, 17023, 10069, 4238, 934, 5755, 9954, 6134, 65, 364, 919, 16, 2327, 16, 17364, 1482, 316, 1267, 682, 30, 563, 273, 365, 18, 334, 6817, 1227, 18, 588, 7276, 1290, 3163, 1876, 1119, 12, 2019, 16, 2890, 18, 4299, 16, 2890, 18, 4688, 3391, 3039, 13, 309, 486, 563, 3292, 3141, 3546, 30, 365, 18, 1330, 18, 8935, 2668, 2925, 358, 336, 6550, 364, 738, 87, 1267, 598, 555, 5581, 82, 9, 87, 11, 8975, 2019, 16, 2088, 3719, 327, 563, 309, 563, 3292, 2278, 5103, 3546, 30, 365, 18, 1330, 18, 11369, 29909, 87, 738, 87, 6550, 2319, 358, 1089, 11, 8975, 1897, 12, 2088, 3292, 2278, 5103, 3546, 3631, 2019, 3719, 364, 28913, 316, 563, 3292, 2278, 5103, 3546, 30, 563, 273, 365, 16186, 2725, 2278, 5491, 12, 4688, 734, 16, 2327, 16, 17364, 1482, 13, 309, 486, 563, 3292, 3141, 3546, 30, 327, 563, 358, 21422, 18, 6923, 12, 4688, 734, 13, 469, 30, 365, 18, 1330, 18, 11369, 2668, 2279, 738, 87, 6550, 2319, 358, 1089, 11, 738, 2019, 13, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26422, 9556, 7276, 12, 2890, 4672, 3536, 2503, 707, 4271, 364, 6550, 316, 326, 11958, 2706, 19, 2925, 1267, 471, 6292, 402, 87, 4533, 358, 326, 1719, 919, 1156, 471, 1719, 16309, 18, 3536, 358, 21422, 273, 5378, 1267, 682, 273, 306, 2668, 14277, 17023, 15946, 17023, 52, 22797, 8669, 2592, 3951, 19899, 2668, 2925, 17023, 2925, 17023, 10069, 4238, 934, 5755, 9954, 6134, 65, 364, 919, 16, 2327, 16, 17364, 1482, 316, 1267, 682, 30, 563, 273, 365, 18, 334, 6817, 1227, 18, 588, 7276, 1290, 3163, 1876, 1119, 12, 2019, 16, 2890, 18, 4299, 16, 2890, 18, 4688, 3391, 3039, 13, 309, 486, 563, 3292, 3141, 3546, 30, 365, 18, 1330, 18, 8935, 2668, 2925, 2 ]
shape = image.GetDimensions()
shape = image.GetDimension(0) * image.GetDimension(1), pf.GetSamplesPerPixel() if image.GetNumberOfDimensions() == 3: d = d[0] * image.GetDimension(2), d[1]
def gdcm_to_numpy(image): """Converts a GDCM image to a numpy array. """ pf = image.GetPixelFormat().GetScalarType() assert pf in get_gdcm_to_numpy_typemap().keys(), \ "Unsupported array type %s"%pf shape = image.GetDimensions() dtype = get_numpy_array_type(pf) gdcm_array = image.GetBuffer() result = numpy.frombuffer(gdcm_array, dtype=dtype) #result.shape = shape return result
ec68a0835326855803d85024517ea39834a04d74 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13995/ec68a0835326855803d85024517ea39834a04d74/ConvertNumpy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 314, 7201, 81, 67, 869, 67, 15974, 12, 2730, 4672, 3536, 5692, 279, 611, 5528, 49, 1316, 358, 279, 3972, 526, 18, 3536, 10811, 273, 1316, 18, 967, 9037, 1630, 7675, 967, 13639, 559, 1435, 1815, 10811, 316, 336, 67, 75, 7201, 81, 67, 869, 67, 15974, 67, 723, 1458, 7675, 2452, 9334, 521, 315, 8544, 526, 618, 738, 87, 28385, 14241, 225, 2179, 273, 1316, 18, 967, 8611, 12, 20, 13, 380, 1316, 18, 967, 8611, 12, 21, 3631, 10811, 18, 967, 13239, 2173, 9037, 1435, 309, 1316, 18, 967, 9226, 10796, 1435, 422, 890, 30, 302, 273, 302, 63, 20, 65, 380, 1316, 18, 967, 8611, 12, 22, 3631, 302, 63, 21, 65, 225, 3182, 273, 336, 67, 15974, 67, 1126, 67, 723, 12, 14241, 13, 314, 7201, 81, 67, 1126, 273, 1316, 18, 967, 1892, 1435, 563, 273, 3972, 18, 2080, 4106, 12, 75, 7201, 81, 67, 1126, 16, 3182, 33, 8972, 13, 468, 2088, 18, 4867, 273, 2179, 327, 563, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 314, 7201, 81, 67, 869, 67, 15974, 12, 2730, 4672, 3536, 5692, 279, 611, 5528, 49, 1316, 358, 279, 3972, 526, 18, 3536, 10811, 273, 1316, 18, 967, 9037, 1630, 7675, 967, 13639, 559, 1435, 1815, 10811, 316, 336, 67, 75, 7201, 81, 67, 869, 67, 15974, 67, 723, 1458, 7675, 2452, 9334, 521, 315, 8544, 526, 618, 738, 87, 28385, 14241, 225, 2179, 273, 1316, 18, 967, 8611, 12, 20, 13, 380, 1316, 18, 967, 8611, 12, 21, 3631, 10811, 18, 967, 13239, 2173, 9037, 1435, 309, 1316, 18, 967, 9226, 10796, 1435, 422, 890, 30, 302, 273, 302, 63, 20, 65, 380, 1316, 18, 967, 8611, 12, 22, 3631, 302, 63, 21, 65, 225, 3182, 273, 2 ]
self.mainFrame.Layout()
sizer.Layout()
def RenderMainView (self): mainViewRoot = Globals.mainViewRoot mainViewRoot.lastDynamicBlock = False assert len (Globals.views) == 0 mainViewRoot.render() """ We have to wire up the block mainViewRoot, it's widget and sizer to a new sizer that we add to the mainFrame. """ sizer = wx.BoxSizer (wx.HORIZONTAL) self.mainFrame.SetSizer (sizer) from osaf.framework.blocks.Block import wxRectangularChild sizer.Add (mainViewRoot.widget, mainViewRoot.stretchFactor, wxRectangularChild.CalculateWXFlag(mainViewRoot), wxRectangularChild.CalculateWXBorder(mainViewRoot)) self.mainFrame.Layout()
197c5ce021f29a2d8022abef1b77f305c3ca78c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/197c5ce021f29a2d8022abef1b77f305c3ca78c3/Application.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6987, 6376, 1767, 261, 2890, 4672, 2774, 1767, 2375, 273, 18901, 1031, 18, 5254, 1767, 2375, 2774, 1767, 2375, 18, 2722, 9791, 1768, 273, 1083, 1815, 562, 261, 19834, 18, 7061, 13, 422, 374, 2774, 1767, 2375, 18, 5902, 1435, 3536, 1660, 1240, 358, 6636, 731, 326, 1203, 2774, 1767, 2375, 16, 518, 1807, 3604, 471, 272, 1824, 358, 279, 394, 272, 1824, 716, 732, 527, 358, 326, 2774, 3219, 18, 3536, 272, 1824, 273, 7075, 18, 3514, 20512, 261, 27226, 18, 44, 20344, 13, 365, 18, 5254, 3219, 18, 694, 20512, 261, 87, 1824, 13, 628, 1140, 1727, 18, 12303, 18, 7996, 18, 1768, 1930, 7075, 6120, 13077, 1763, 272, 1824, 18, 986, 261, 5254, 1767, 2375, 18, 6587, 16, 2774, 1767, 2375, 18, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6987, 6376, 1767, 261, 2890, 4672, 2774, 1767, 2375, 273, 18901, 1031, 18, 5254, 1767, 2375, 2774, 1767, 2375, 18, 2722, 9791, 1768, 273, 1083, 1815, 562, 261, 19834, 18, 7061, 13, 422, 374, 2774, 1767, 2375, 18, 5902, 1435, 3536, 1660, 1240, 358, 6636, 731, 326, 1203, 2774, 1767, 2375, 16, 518, 1807, 3604, 471, 272, 1824, 358, 279, 394, 272, 1824, 716, 732, 527, 358, 326, 2774, 3219, 18, 3536, 272, 1824, 273, 7075, 18, 3514, 20512, 261, 27226, 18, 44, 20344, 13, 365, 18, 5254, 3219, 18, 694, 20512, 261, 87, 1824, 13, 628, 1140, 1727, 18, 12303, 18, 7996, 18, 1768, 1930, 7075, 6120, 13077, 1763, 272, 1824, 18, 986, 261, 5254, 1767, 2375, 2 ]
self.lastEvent = eg.EventGhostEvent()
self.lastEvent = None
def Setup(self, plugin, waitTime): """ This will be called inside the thread at the beginning. """ self.plugin = plugin self.waitTime = waitTime self.timer = Timer(0, self.OnTimeOut) self.lastEvent = eg.EventGhostEvent() wc = WNDCLASS() wc.hInstance = GetModuleHandle(None) wc.lpszClassName = "HiddenMceMessageReceiver" wc.lpfnWndProc = WNDPROC(self.MyWndProc) if not RegisterClass(byref(wc)): raise WinError() self.hwnd = CreateWindowEx( 0, wc.lpszClassName, "MCE Remote Message Receiver", WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, 0, 0, wc.hInstance, None ) if not self.hwnd: raise WinError() self.wc = wc self.hinst = wc.hInstance self.dll = WinDLL(os.path.join(PLUGIN_DIR, "MceIr.dll")) if not self.dll.MceIrRegisterEvents(self.hwnd): raise self.plugin.Exceptions.DeviceNotFound self.dll.MceIrSetRepeatTimes(1,1)
99135a1202cf49af9227b1169784fd9f9a7e175a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8076/99135a1202cf49af9227b1169784fd9f9a7e175a/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10939, 12, 2890, 16, 1909, 16, 30452, 4672, 3536, 1220, 903, 506, 2566, 4832, 326, 2650, 622, 326, 8435, 18, 3536, 365, 18, 4094, 273, 1909, 365, 18, 7048, 950, 273, 30452, 365, 18, 12542, 273, 12290, 12, 20, 16, 365, 18, 1398, 950, 1182, 13, 365, 18, 2722, 1133, 273, 599, 225, 14310, 273, 678, 2908, 5237, 1435, 14310, 18, 76, 1442, 273, 968, 3120, 3259, 12, 7036, 13, 14310, 18, 80, 1121, 94, 3834, 273, 315, 9345, 49, 311, 1079, 12952, 6, 14310, 18, 9953, 4293, 59, 4880, 15417, 273, 678, 2908, 3373, 39, 12, 2890, 18, 12062, 59, 4880, 15417, 13, 309, 486, 5433, 797, 12, 1637, 1734, 12, 27594, 3719, 30, 1002, 21628, 668, 1435, 365, 18, 20701, 4880, 273, 1788, 3829, 424, 12, 374, 16, 14310, 18, 80, 1121, 94, 3834, 16, 315, 49, 1441, 6304, 2350, 31020, 3113, 7649, 67, 12959, 48, 2203, 12120, 23407, 16, 385, 59, 67, 8001, 5280, 16, 385, 59, 67, 8001, 5280, 16, 385, 59, 67, 8001, 5280, 16, 385, 59, 67, 8001, 5280, 16, 374, 16, 374, 16, 14310, 18, 76, 1442, 16, 599, 262, 309, 486, 365, 18, 20701, 4880, 30, 1002, 21628, 668, 1435, 365, 18, 27594, 273, 14310, 365, 18, 76, 8591, 273, 14310, 18, 76, 1442, 225, 365, 18, 27670, 273, 21628, 40, 4503, 12, 538, 18, 803, 18, 5701, 12, 19415, 67, 4537, 16, 315, 49, 311, 45, 86, 18, 27670, 6, 3719, 309, 486, 365, 18, 27670, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10939, 12, 2890, 16, 1909, 16, 30452, 4672, 3536, 1220, 903, 506, 2566, 4832, 326, 2650, 622, 326, 8435, 18, 3536, 365, 18, 4094, 273, 1909, 365, 18, 7048, 950, 273, 30452, 365, 18, 12542, 273, 12290, 12, 20, 16, 365, 18, 1398, 950, 1182, 13, 365, 18, 2722, 1133, 273, 599, 225, 14310, 273, 678, 2908, 5237, 1435, 14310, 18, 76, 1442, 273, 968, 3120, 3259, 12, 7036, 13, 14310, 18, 80, 1121, 94, 3834, 273, 315, 9345, 49, 311, 1079, 12952, 6, 14310, 18, 9953, 4293, 59, 4880, 15417, 273, 678, 2908, 3373, 39, 12, 2890, 18, 12062, 59, 4880, 15417, 13, 309, 486, 5433, 797, 12, 1637, 1734, 12, 27594, 3719, 30, 1002, 21628, 668, 2 ]
SMTPRecipientsRefused The server rejected for ALL recipients
SMTPRecipientsRefused The server rejected ALL recipients
def sendmail(self, from_addr, to_addrs, msg, mail_options=[], rcpt_options=[]): """This command performs an entire mail transaction.
e01b9711d468595d7e3ccadaae7ba2cc3df096ae /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/e01b9711d468595d7e3ccadaae7ba2cc3df096ae/smtplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 4408, 12, 2890, 16, 628, 67, 4793, 16, 358, 67, 23305, 16, 1234, 16, 4791, 67, 2116, 22850, 6487, 4519, 337, 67, 2116, 33, 8526, 4672, 3536, 2503, 1296, 11199, 392, 7278, 4791, 2492, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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628, 67, 4793, 16, 358, 67, 23305, 16, 1234, 16, 4791, 67, 2116, 22850, 6487, 4519, 337, 67, 2116, 33, 8526, 4672, 3536, 2503, 1296, 11199, 392, 7278, 4791, 2492, 18, 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, -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, -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, -100, -100, -100, -100 ]
cmd += ' -cdrom-device %s -dvd-device %s' % \ (self.media.devicename, self.media.devicename)
if self.media: cmd += ' -cdrom-device %s -dvd-device %s' % \ (self.media.devicename, self.media.devicename)
def dvd_vcd_title_menu(self, arg=None, menuw=None): """ Generate special menu for DVD/VCD/SVCD content """ pop = None
c9987217b0a3654296c92fabcb5a2828b0fe7b1b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/c9987217b0a3654296c92fabcb5a2828b0fe7b1b/videoitem.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12494, 72, 67, 4227, 72, 67, 2649, 67, 5414, 12, 2890, 16, 1501, 33, 7036, 16, 3824, 91, 33, 7036, 4672, 3536, 6654, 4582, 3824, 364, 463, 21544, 19, 58, 10160, 19, 23927, 10160, 913, 3536, 1843, 273, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12494, 72, 67, 4227, 72, 67, 2649, 67, 5414, 12, 2890, 16, 1501, 33, 7036, 16, 3824, 91, 33, 7036, 4672, 3536, 6654, 4582, 3824, 364, 463, 21544, 19, 58, 10160, 19, 23927, 10160, 913, 3536, 1843, 273, 599, 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, -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, -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, -100 ]
connect_ring(first_r, first_ring, prev_r, prev_ring, rz_closure_marker) return points, facets, markers, holelists
connect_ring(len(rz_points)-1, 0, rz_closure_marker) return points, facets, holelists, markers
def connect_ring(r, z, ring, prev_r, prev_z, prev_ring, marker): if _is_same_float(z, prev_z): assert not _is_same_float(r, prev_r) # we're moving purely outward--this doesn't need fans, only plane # surfaces. Special casing this leads to more freedom for TetGen # and hence better meshes.
3ced297c55913885e4b6094b0c0e25c20e66ad10 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11985/3ced297c55913885e4b6094b0c0e25c20e66ad10/tet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3077, 67, 8022, 12, 86, 16, 998, 16, 9221, 16, 2807, 67, 86, 16, 2807, 67, 94, 16, 2807, 67, 8022, 16, 5373, 4672, 309, 389, 291, 67, 14307, 67, 5659, 12, 94, 16, 2807, 67, 94, 4672, 1815, 486, 389, 291, 67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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3077, 67, 8022, 12, 86, 16, 998, 16, 9221, 16, 2807, 67, 86, 16, 2807, 67, 94, 16, 2807, 67, 8022, 16, 5373, 4672, 309, 389, 291, 67, 14307, 67, 5659, 12, 94, 16, 2807, 67, 94, 4672, 1815, 486, 389, 291, 67, 14307, 67, 5659, 12, 86, 16, 2807, 67, 86, 13, 468, 732, 4565, 12499, 16618, 715, 596, 2913, 413, 2211, 3302, 1404, 1608, 284, 634, 16, 1338, 11017, 468, 5056, 4601, 18, 13409, 8697, 310, 333, 5871, 87, 358, 1898, 28004, 362, 364, 399, 278, 7642, 468, 471, 20356, 7844, 6986, 281, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
project_name, db_str, repository_dir, templates_dir = arg[0:3]
project_name, db_str, repository_dir, templates_dir = arg[:4]
def do_initenv(self, line): if self.env_check(): print "Initenv for '%s' failed.\nDoes an environment already exist?" % self.envname return arg = self.arg_tokenize(line) project_name = None db_str = None repository_dir = None templates_dir = None if len(arg) == 1: returnvals = self.get_initenv_args() project_name, db_str, repository_dir, templates_dir = returnvals elif len(arg)!= 3: print 'Wrong number of arguments to initenv %d' % len(arg) return else: project_name, db_str, repository_dir, templates_dir = arg[0:3]
c946c1f1ddb50dc28f0af65848e63a83fe66445c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/c946c1f1ddb50dc28f0af65848e63a83fe66445c/admin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 2738, 3074, 12, 2890, 16, 980, 4672, 309, 365, 18, 3074, 67, 1893, 13332, 1172, 315, 2570, 3074, 364, 1995, 87, 11, 2535, 8403, 82, 10154, 392, 3330, 1818, 1005, 7225, 738, 365, 18, 3074, 529, 327, 1501, 273, 365, 18, 3175, 67, 2316, 554, 12, 1369, 13, 1984, 67, 529, 273, 599, 1319, 67, 701, 273, 599, 3352, 67, 1214, 273, 599, 5539, 67, 1214, 273, 599, 309, 562, 12, 3175, 13, 422, 404, 30, 327, 4524, 273, 365, 18, 588, 67, 2738, 3074, 67, 1968, 1435, 1984, 67, 529, 16, 1319, 67, 701, 16, 3352, 67, 1214, 16, 5539, 67, 1214, 273, 327, 4524, 1327, 562, 12, 3175, 13, 5, 33, 890, 30, 1172, 296, 13634, 1300, 434, 1775, 358, 1208, 3074, 738, 72, 11, 738, 562, 12, 3175, 13, 327, 469, 30, 1984, 67, 529, 16, 1319, 67, 701, 16, 3352, 67, 1214, 16, 5539, 67, 1214, 273, 1501, 63, 20, 30, 23, 65, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 741, 67, 2738, 3074, 12, 2890, 16, 980, 4672, 309, 365, 18, 3074, 67, 1893, 13332, 1172, 315, 2570, 3074, 364, 1995, 87, 11, 2535, 8403, 82, 10154, 392, 3330, 1818, 1005, 7225, 738, 365, 18, 3074, 529, 327, 1501, 273, 365, 18, 3175, 67, 2316, 554, 12, 1369, 13, 1984, 67, 529, 273, 599, 1319, 67, 701, 273, 599, 3352, 67, 1214, 273, 599, 5539, 67, 1214, 273, 599, 309, 562, 12, 3175, 13, 422, 404, 30, 327, 4524, 273, 365, 18, 588, 67, 2738, 3074, 67, 1968, 1435, 1984, 67, 529, 16, 1319, 67, 701, 16, 3352, 67, 1214, 16, 5539, 67, 1214, 273, 327, 4524, 1327, 562, 12, 3175, 13, 5, 33, 890, 30, 1172, 2 ]
for x in ipath: cmd = cmd + " /I \"" + x + "\"";
for x in ipath: cmd = cmd + " /I \"" + x + "\""
def CompileC(obj=0,src=0,ipath=[],opts=[]): if ((obj==0)|(src==0)): sys.exit("syntax error in CompileC directive"); ipath = ["built/tmp"] + ipath + ["built/include"] fullsrc = CxxFindSource(src, ipath) if (fullsrc == 0): sys.exit("Cannot find source file "+src) dep = CxxCalcDependencies(fullsrc, ipath, []) if (COMPILER=="MSVC7"): wobj = "built/tmp/"+obj if (older(wobj, dep)): global VERBOSE if VERBOSE >= 0: checkIfNewDir(ipath[1]) cmd = 'cl.exe /Fo"' + wobj + '" /nologo /c'; cmd = cmd + " /I\"built/python/include\"" if (opts.count("DXSDK")): cmd = cmd + ' /I"' + DirectXSDK + '/include"' if (opts.count("MAYA5")): cmd = cmd + ' /I"' + Maya5SDK + 'include"' if (opts.count("MAYA6")): cmd = cmd + ' /I"' + Maya6SDK + 'include"' for max in ["MAX5","MAX6","MAX7"]: if (PkgSelected(opts,max)): cmd = cmd + ' /I"' + MAXSDK[max] + 'include" /I"' + MAXSDKCS[max] + '" /D' + max for pkg in PACKAGES: if (pkg != "MAYA5") and (pkg != "MAYA6") and PkgSelected(opts,pkg): cmd = cmd + ' /I"' + THIRDPARTY + pkg.lower() + "/include" + '"' for x in ipath: cmd = cmd + " /I \"" + x + "\""; if (opts.count('NOFLOATWARN')): cmd = cmd + ' /wd4244 /wd4305' if (opts.count("WITHINPANDA")): cmd = cmd + ' /DWITHIN_PANDA' if (OPTIMIZE==1): cmd = cmd + " /D_DEBUG /Zc:forScope /MDd /Zi /RTCs /GS " if (OPTIMIZE==2): cmd = cmd + " /D_DEBUG /Zc:forScope /MDd /Zi /RTCs /GS " if (OPTIMIZE==3): cmd = cmd + " /Zc:forScope /MD /O2 /Ob2 /G6 /Zi /DFORCE_INLINING " if (OPTIMIZE==4): cmd = cmd + " /Zc:forScope /MD /O2 /Ob2 /G6 /GL /Zi /DFORCE_INLINING /DNDEBUG " cmd = cmd + " /Fd\"" + wobj[:-4] + ".pdb\""; building = buildingwhat(opts) if (building): cmd = cmd + " /DBUILDING_"+building cmd = cmd + " /EHsc /Zm300 /DWIN32_VC /DWIN32 /W3 \"" + fullsrc + "\"" oscmd(cmd) updatefiledate(wobj) if (COMPILER=="LINUXA"): wobj = "built/tmp/" + obj[:-4] + ".o" if (older(wobj, dep)): global VERBOSE if VERBOSE >= 0: checkIfNewDir(ipath[1]) if (src[-2:]==".c"): cmd = "gcc -c -o "+wobj else: cmd = "g++ -ftemplate-depth-30 -c -o "+wobj cmd = cmd + ' -I"' + PythonSDK + '"' if (PkgSelected(opts,"VRPN")): cmd = cmd + ' -I"' + THIRDPARTY + 'vrpn/include"' if (PkgSelected(opts,"FFTW")): cmd = cmd + ' -I"' + THIRDPARTY + 'fftw/include"' if (PkgSelected(opts,"FMOD")): cmd = cmd + ' -I"' + THIRDPARTY + 'fmod/include"' if (PkgSelected(opts,"NVIDIACG")): cmd = cmd + ' -I"' + THIRDPARTY + 'nvidiacg/include"' if (PkgSelected(opts,"NSPR")): cmd = cmd + ' -I"' + THIRDPARTY + 'nspr/include"' if (PkgSelected(opts,"FREETYPE")): cmd = cmd + ' -I/usr/include/freetype2' for x in ipath: cmd = cmd + ' -I"' + x + '"' if (opts.count("WITHINPANDA")): cmd = cmd + ' -DWITHIN_PANDA' if (OPTIMIZE==1): cmd = cmd + " -g" if (OPTIMIZE==2): cmd = cmd + " -O1" if (OPTIMIZE==3): cmd = cmd + " -O2" if (OPTIMIZE==4): cmd = cmd + " -O2" building = buildingwhat(opts) if (building): cmd = cmd + " -DBUILDING_" + building cmd = cmd + " " + fullsrc oscmd(cmd) updatefiledate(wobj)
4a71a3ad56d88a79d9aba6c9d9fa1abc8c3a885e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8543/4a71a3ad56d88a79d9aba6c9d9fa1abc8c3a885e/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16143, 39, 12, 2603, 33, 20, 16, 4816, 33, 20, 16, 625, 421, 22850, 6487, 4952, 33, 8526, 4672, 309, 14015, 2603, 631, 20, 14047, 12, 4816, 631, 20, 3719, 30, 2589, 18, 8593, 2932, 14308, 555, 316, 16143, 39, 8655, 8863, 277, 803, 273, 8247, 12406, 19, 5645, 11929, 397, 277, 803, 397, 8247, 12406, 19, 6702, 11929, 1983, 4816, 273, 385, 5279, 3125, 1830, 12, 4816, 16, 277, 803, 13, 309, 261, 2854, 4816, 422, 374, 4672, 2589, 18, 8593, 2932, 4515, 1104, 1084, 585, 13773, 4816, 13, 5993, 273, 385, 5279, 25779, 8053, 12, 2854, 4816, 16, 277, 803, 16, 5378, 13, 225, 309, 261, 31075, 14668, 31713, 3537, 13464, 27, 6, 4672, 341, 2603, 273, 315, 12406, 19, 5645, 4898, 15, 2603, 309, 261, 1498, 12, 91, 2603, 16, 5993, 3719, 30, 2552, 27857, 309, 27857, 1545, 374, 30, 19130, 1908, 1621, 12, 625, 421, 63, 21, 5717, 1797, 273, 296, 830, 18, 14880, 342, 42, 83, 5187, 397, 341, 2603, 397, 2119, 342, 82, 3966, 83, 342, 71, 13506, 1797, 273, 1797, 397, 315, 342, 45, 2412, 12406, 19, 8103, 19, 6702, 8530, 309, 261, 4952, 18, 1883, 2932, 28826, 22625, 6, 3719, 30, 1797, 273, 1797, 397, 296, 342, 45, 5187, 397, 9908, 60, 22625, 397, 1173, 6702, 5187, 309, 261, 4952, 18, 1883, 2932, 49, 5255, 37, 25, 6, 3719, 30, 1797, 273, 1797, 397, 296, 342, 45, 5187, 397, 16734, 69, 25, 22625, 397, 296, 6702, 5187, 309, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16143, 39, 12, 2603, 33, 20, 16, 4816, 33, 20, 16, 625, 421, 22850, 6487, 4952, 33, 8526, 4672, 309, 14015, 2603, 631, 20, 14047, 12, 4816, 631, 20, 3719, 30, 2589, 18, 8593, 2932, 14308, 555, 316, 16143, 39, 8655, 8863, 277, 803, 273, 8247, 12406, 19, 5645, 11929, 397, 277, 803, 397, 8247, 12406, 19, 6702, 11929, 1983, 4816, 273, 385, 5279, 3125, 1830, 12, 4816, 16, 277, 803, 13, 309, 261, 2854, 4816, 422, 374, 4672, 2589, 18, 8593, 2932, 4515, 1104, 1084, 585, 13773, 4816, 13, 5993, 273, 385, 5279, 25779, 8053, 12, 2854, 4816, 16, 277, 803, 16, 5378, 13, 225, 309, 261, 31075, 14668, 31713, 3537, 13464, 27, 6, 4672, 341, 2603, 2 ]
if PROP_TYPE(headers_tag)==PT_STRING8: self.headers = headers has_headers = True else: has_headers = PROP_TYPE(headers_tag)==PT_ERROR and \ headers==mapi.MAPI_E_NOT_ENOUGH_MEMORY self.headers = None
has_headers = PROP_TYPE(headers_tag)==PT_STRING8
def __init__(self, msgstore, prop_row): self.msgstore = msgstore self.mapi_object = None
93381a32ba635ab0977515e7f962bc00151b09d8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9857/93381a32ba635ab0977515e7f962bc00151b09d8/msgstore.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1234, 2233, 16, 2270, 67, 492, 4672, 365, 18, 3576, 2233, 273, 1234, 2233, 365, 18, 1458, 77, 67, 1612, 273, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 2233, 16, 2270, 67, 492, 4672, 365, 18, 3576, 2233, 273, 1234, 2233, 365, 18, 1458, 77, 67, 1612, 273, 599, 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, -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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
map.addMergeFacesCallbacks(self.preMergeFaces, self.confirm), map.addRemoveBridgeCallbacks(self.preRemoveBridge, self.confirm), map.addMergeEdgesCallbacks(self.preMergeEdges, self.confirm),
self._map().addMergeFacesCallbacks(self.preMergeFaces, self.confirm), self._map().addRemoveBridgeCallbacks(self.preRemoveBridge, self.confirm), self._map().addMergeEdgesCallbacks(self.preMergeEdges, self.confirm),
def __init__(self, map): self._attachedHooks = ( map.addMergeFacesCallbacks(self.preMergeFaces, self.confirm), map.addRemoveBridgeCallbacks(self.preRemoveBridge, self.confirm), map.addMergeEdgesCallbacks(self.preMergeEdges, self.confirm), )
242031941f5d1265da84d5257d9b193749300383 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10394/242031941f5d1265da84d5257d9b193749300383/maputils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 852, 4672, 365, 6315, 24157, 13620, 273, 261, 365, 6315, 1458, 7675, 1289, 6786, 17268, 10617, 12, 2890, 18, 1484, 6786, 17268, 16, 365, 18, 10927, 3631, 365, 6315, 1458, 7675, 1289, 3288, 13691, 10617, 12, 2890, 18, 1484, 3288, 13691, 16, 365, 18, 10927, 3631, 365, 6315, 1458, 7675, 1289, 6786, 10697, 10617, 12, 2890, 18, 1484, 6786, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 852, 4672, 365, 6315, 24157, 13620, 273, 261, 365, 6315, 1458, 7675, 1289, 6786, 17268, 10617, 12, 2890, 18, 1484, 6786, 17268, 16, 365, 18, 10927, 3631, 365, 6315, 1458, 7675, 1289, 3288, 13691, 10617, 12, 2890, 18, 1484, 3288, 13691, 16, 365, 18, 10927, 3631, 365, 6315, 1458, 7675, 1289, 6786, 10697, 10617, 12, 2890, 18, 1484, 6786, 10697, 16, 365, 18, 10927, 3631, 262, 225, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IX.is_unique as [unique],
IX.is_unique as [unique],
def get_indexes(self, cursor, table_name):
672a3bf79aaf9caebe9d1386b47cf42345466cd3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1254/672a3bf79aaf9caebe9d1386b47cf42345466cd3/introspection.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 11265, 12, 2890, 16, 3347, 16, 1014, 67, 529, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 336, 67, 11265, 12, 2890, 16, 3347, 16, 1014, 67, 529, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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, -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, -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, -100, -100 ]
self.write_file(migration, data.replace('next-version', self.target_version))
self.write_file(migration, data.replace('next-version', self.next_version))
def run(self, options, base_dir): # setup directory configuration
7a1a0971f55a8a0f0026343d8f2a85aea4ac8ee1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/760/7a1a0971f55a8a0f0026343d8f2a85aea4ac8ee1/dvstool_oracle.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 16, 702, 16, 1026, 67, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1086, 12, 2890, 16, 702, 16, 1026, 67, 1214, 4672, 468, 3875, 1867, 1664, 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, -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, -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, -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 ]
sys.exit(1)
sys.exit(0)
def main(options, args): directory = args[0] success = True for file in os.listdir(directory): path = os.path.abspath(os.path.join(directory, file)) if not IsPEFile(path): continue pe = pefile.PE(path, fast_load=True) # Check for /DYNAMICBASE. if pe.OPTIONAL_HEADER.DllCharacteristics & DYNAMICBASE_FLAG: if options.verbose: print "Checking %s for /DYNAMICBASE... PASS" % path else: success = False print "Checking %s for /DYNAMICBASE... FAIL" % path # Check for /NXCOMPAT. if pe.OPTIONAL_HEADER.DllCharacteristics & NXCOMPAT_FLAG: if options.verbose: print "Checking %s for /NXCOMPAT... PASS" % path else: success = False print "Checking %s for /NXCOMPAT... FAIL" % path if not success: sys.exit(1)
9c0b0aee86c9fd8b93a8e85141d60fbcc04b42d2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9392/9c0b0aee86c9fd8b93a8e85141d60fbcc04b42d2/checkbins.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 2116, 16, 833, 4672, 1867, 273, 833, 63, 20, 65, 2216, 273, 1053, 225, 364, 585, 316, 1140, 18, 1098, 1214, 12, 5149, 4672, 589, 273, 1140, 18, 803, 18, 5113, 803, 12, 538, 18, 803, 18, 5701, 12, 5149, 16, 585, 3719, 309, 486, 2585, 1423, 812, 12, 803, 4672, 1324, 2804, 273, 2804, 768, 18, 1423, 12, 803, 16, 4797, 67, 945, 33, 5510, 13, 225, 468, 2073, 364, 342, 40, 25145, 8369, 18, 309, 2804, 18, 14165, 67, 7557, 18, 40, 2906, 7069, 4287, 473, 463, 25145, 8369, 67, 9651, 30, 309, 702, 18, 11369, 30, 1172, 315, 14294, 738, 87, 364, 342, 40, 25145, 8369, 2777, 17882, 6, 738, 589, 469, 30, 2216, 273, 1083, 1172, 315, 14294, 738, 87, 364, 342, 40, 25145, 8369, 2777, 15806, 6, 738, 589, 225, 468, 2073, 364, 342, 17106, 28249, 18, 309, 2804, 18, 14165, 67, 7557, 18, 40, 2906, 7069, 4287, 473, 29569, 28249, 67, 9651, 30, 309, 702, 18, 11369, 30, 1172, 315, 14294, 738, 87, 364, 342, 17106, 28249, 2777, 17882, 6, 738, 589, 469, 30, 2216, 273, 1083, 1172, 315, 14294, 738, 87, 364, 342, 17106, 28249, 2777, 15806, 6, 738, 589, 225, 309, 486, 2216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 5149, 4672, 589, 273, 1140, 18, 803, 18, 5113, 803, 12, 538, 18, 803, 18, 5701, 12, 5149, 16, 585, 3719, 309, 486, 2585, 1423, 812, 12, 803, 4672, 1324, 2804, 273, 2804, 768, 18, 1423, 12, 803, 16, 4797, 67, 945, 33, 5510, 13, 225, 468, 2073, 364, 342, 40, 25145, 8369, 18, 309, 2804, 18, 14165, 67, 7557, 18, 40, 2906, 7069, 4287, 473, 463, 25145, 8369, 67, 9651, 30, 309, 702, 18, 11369, 30, 1172, 315, 14294, 738, 87, 364, 342, 40, 25145, 8369, 2777, 17882, 6, 738, 589, 469, 30, 2 ]
yield "<h2>No error log available</h2>"
yield "<h2>No error log available</h2>\n"
def view_build(myself, tree, host, compiler, rev, plain_logs=False): """view one build in detail""" # ensure the params are valid before using them assert host in hosts, "unknown host %s" % host assert compiler in compilers, "unknown compiler %s" % compiler assert tree in trees, "not a build tree %s" % tree uname = "" cflags = "" config = "" build = db.get_build(tree, host, compiler, rev) age_mtime = build.age_mtime() (revision, revision_time) = build.revision_details() status = build_status(myself, tree, host, compiler, rev) if rev: assert re.match("^[0-9a-fA-F]*$", rev) log = build.read_log() err = build.read_err() if log: log = cgi.escape(log) m = re.search("(.*)", log) if m: uname = m.group(1) m = re.search("CFLAGS=(.*)", log) if m: cflags = m.group(1) m = re.search("configure options: (.*)", log) if m: config = m.group(1) if err: err = cgi.escape(err) yield '<h2>Host information:</h2>' host_web_file = "../web/%s.html" % host if os.path.exists(host_web_file): yield util.FileLoad(host_web_file) yield "<table class='real'>" yield "<tr><td>Host:</td><td><a href='%s?function=View+Host;host=%s;tree=%s;"\ "compiler=%s#'>%s</a> - %s</td></tr>" % (myself, host, tree, compiler, host, hosts[host]) yield "<tr><td>Uname:</td><td>%s</td></tr>" % uname yield "<tr><td>Tree:</td><td>%s</td></tr>" % tree_link(myself, tree) yield "<tr><td>Build Revision:</td><td>%s</td></tr>" % revision_link(myself, revision, tree) yield "<tr><td>Build age:</td><td><div class='age'>%s</div></td></tr>" % red_age(age_mtime) yield "<tr><td>Status:</td><td>%s</td></tr>" % status yield "<tr><td>Compiler:</td><td>%s</td></tr>" % compiler yield "<tr><td>CFLAGS:</td><td>%s</td></tr>" % cflags yield "<tr><td>configure options:</td><td>%s</td></tr>" % config yield "".join(show_oldrevs(myself, tree, host, compiler)) # check the head of the output for our magic string rev_var = "" if rev: rev_var = ";revision=%s" % rev yield "<div id='log'>" if not plain_logs: yield "<p>Switch to the <a href='%s?function=View+Build;host=%s;tree=%s"\ ";compiler=%s%s;plain=true' title='Switch to bland, non-javascript,"\ " unstyled view'>Plain View</a></p>" % (myself, host, tree, compiler, rev_var) yield "<div id='actionList'>" # These can be pretty wide -- perhaps we need to # allow them to wrap in some way? if err == "": yield "<h2>No error log available</h2>" else: yield "<h2>Error log:</h2>" yield make_collapsible_html('action', "Error Output", "\n%s" % err, "stderr-0") if log == "": yield "<h2>No build log available</h2>" else: yield "<h2>Build log:</h2>" yield print_log_pretty(log) yield "<p><small>Some of the above icons derived from the <a href='http://www.gnome.org'>Gnome Project</a>'s stock icons.</small></p>" yield "</div>" else: yield "<p>Switch to the <a href='%s?function=View+Build;host=%s;tree=%s;"\ "compiler=%s%s' title='Switch to colourful, javascript-enabled, styled"\ " view'>Enhanced View</a></p>" % (myself, host, tree, compiler, rev_var) if err == "": yield "<h2>No error log available</h2>" else: yield '<h2>Error log:</h2>' yield '<div id="errorLog"><pre>%s</pre></div>' % err if log == "": yield '<h2>No build log available</h2>' else: yield '<h2>Build log:</h2>' yield '<div id="buildLog"><pre>%s</pre></div>' % log yield '</div>'
aded61733b040c3e2918f7cb5990b12cebe2244e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7314/aded61733b040c3e2918f7cb5990b12cebe2244e/build.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1476, 67, 3510, 12, 4811, 2890, 16, 2151, 16, 1479, 16, 5274, 16, 5588, 16, 7351, 67, 10011, 33, 8381, 4672, 3536, 1945, 1245, 1361, 316, 7664, 8395, 468, 3387, 326, 859, 854, 923, 1865, 1450, 2182, 1815, 1479, 316, 7206, 16, 315, 8172, 1479, 738, 87, 6, 738, 1479, 1815, 5274, 316, 1161, 330, 414, 16, 315, 8172, 5274, 738, 87, 6, 738, 5274, 1815, 2151, 316, 11491, 16, 315, 902, 279, 1361, 2151, 738, 87, 6, 738, 2151, 225, 31444, 273, 1408, 276, 7133, 273, 1408, 642, 273, 1408, 1361, 273, 1319, 18, 588, 67, 3510, 12, 3413, 16, 1479, 16, 5274, 16, 5588, 13, 9388, 67, 10838, 273, 1361, 18, 410, 67, 10838, 1435, 261, 13057, 16, 6350, 67, 957, 13, 273, 1361, 18, 13057, 67, 6395, 1435, 1267, 273, 1361, 67, 2327, 12, 4811, 2890, 16, 2151, 16, 1479, 16, 5274, 16, 5588, 13, 225, 309, 5588, 30, 1815, 283, 18, 1916, 2932, 66, 63, 20, 17, 29, 69, 17, 29534, 17, 42, 5772, 8, 3113, 5588, 13, 225, 613, 273, 1361, 18, 896, 67, 1330, 1435, 393, 273, 1361, 18, 896, 67, 370, 1435, 225, 309, 613, 30, 613, 273, 276, 10052, 18, 6939, 12, 1330, 13, 225, 312, 273, 283, 18, 3072, 2932, 7444, 2225, 16, 613, 13, 309, 312, 30, 31444, 273, 312, 18, 1655, 12, 21, 13, 312, 273, 283, 18, 3072, 2932, 8955, 6552, 55, 33, 7444, 2225, 16, 613, 13, 309, 312, 30, 276, 7133, 273, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1476, 67, 3510, 12, 4811, 2890, 16, 2151, 16, 1479, 16, 5274, 16, 5588, 16, 7351, 67, 10011, 33, 8381, 4672, 3536, 1945, 1245, 1361, 316, 7664, 8395, 468, 3387, 326, 859, 854, 923, 1865, 1450, 2182, 1815, 1479, 316, 7206, 16, 315, 8172, 1479, 738, 87, 6, 738, 1479, 1815, 5274, 316, 1161, 330, 414, 16, 315, 8172, 5274, 738, 87, 6, 738, 5274, 1815, 2151, 316, 11491, 16, 315, 902, 279, 1361, 2151, 738, 87, 6, 738, 2151, 225, 31444, 273, 1408, 276, 7133, 273, 1408, 642, 273, 1408, 1361, 273, 1319, 18, 588, 67, 3510, 12, 3413, 16, 1479, 16, 5274, 16, 5588, 13, 9388, 67, 10838, 273, 1361, 18, 410, 67, 10838, 1435, 261, 2 ]
validate(xhtml)
def test_math(): raw=r'''
7d3d5cfa21ebe29a131b11ca02a8ced6e7d7b4d2 /local1/tlutelli/issta_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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 15949, 13332, 1831, 33, 86, 26418, 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, -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, -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, -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, -100, -100, -100, -100, -100, -100 ]
transformation.invert() primitive.Transform(node, transformation)
primitive.Transform(node, transformation.inv)
def do(self): node = context.application.cache.node destination = context.application.cache.drag_destination if isinstance(node, GLTransformationMixin): transformation = destination.get_frame_relative_to(node.parent) transformation.invert() primitive.Transform(node, transformation) primitive.Move(node, destination, new_index=self.parameters.child_index)
e0fefa0af24d07ec5cbb5c9f27019f9b2f3fb7ba /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11052/e0fefa0af24d07ec5cbb5c9f27019f9b2f3fb7ba/drag.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 12, 2890, 4672, 756, 273, 819, 18, 3685, 18, 2493, 18, 2159, 2929, 273, 819, 18, 3685, 18, 2493, 18, 15997, 67, 10590, 309, 1549, 12, 2159, 16, 10252, 15292, 14439, 4672, 8620, 273, 2929, 18, 588, 67, 3789, 67, 11626, 67, 869, 12, 2159, 18, 2938, 13, 8225, 18, 4059, 12, 2159, 16, 8620, 18, 5768, 13, 8225, 18, 7607, 12, 2159, 16, 2929, 16, 394, 67, 1615, 33, 2890, 18, 3977, 18, 3624, 67, 1615, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 741, 12, 2890, 4672, 756, 273, 819, 18, 3685, 18, 2493, 18, 2159, 2929, 273, 819, 18, 3685, 18, 2493, 18, 15997, 67, 10590, 309, 1549, 12, 2159, 16, 10252, 15292, 14439, 4672, 8620, 273, 2929, 18, 588, 67, 3789, 67, 11626, 67, 869, 12, 2159, 18, 2938, 13, 8225, 18, 4059, 12, 2159, 16, 8620, 18, 5768, 13, 8225, 18, 7607, 12, 2159, 16, 2929, 16, 394, 67, 1615, 33, 2890, 18, 3977, 18, 3624, 67, 1615, 13, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
wikipedia.output("Skipping link %s to an ignored page"%page2)
wikipedia.output(u"Skipping link %s to an ignored page"%page2)
def workDone(self, counter): """This is called by a worker to tell us that the promised work was completed as far as possible. The only argument is an instance of a counter class, that has methods minus() and plus() to keep counts of the total work todo.""" # Loop over all the pages that should have been taken care of for pl in self.pending: # Mark the page as done self.done[pl] = pl.site()
f9828c7558db8adf4bff5df0144d8a01af3cdeee /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4404/f9828c7558db8adf4bff5df0144d8a01af3cdeee/interwiki.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1440, 7387, 12, 2890, 16, 3895, 4672, 3536, 2503, 353, 2566, 635, 279, 4322, 358, 9276, 584, 716, 326, 3012, 5918, 1440, 1703, 5951, 487, 10247, 487, 3323, 18, 1021, 1338, 1237, 353, 392, 791, 434, 279, 3895, 667, 16, 716, 711, 2590, 12647, 1435, 471, 8737, 1435, 358, 3455, 6880, 434, 326, 2078, 1440, 10621, 12123, 468, 9720, 1879, 777, 326, 4689, 716, 1410, 1240, 2118, 9830, 7671, 434, 364, 886, 316, 365, 18, 9561, 30, 468, 6622, 326, 1363, 487, 2731, 365, 18, 8734, 63, 412, 65, 273, 886, 18, 4256, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1440, 7387, 12, 2890, 16, 3895, 4672, 3536, 2503, 353, 2566, 635, 279, 4322, 358, 9276, 584, 716, 326, 3012, 5918, 1440, 1703, 5951, 487, 10247, 487, 3323, 18, 1021, 1338, 1237, 353, 392, 791, 434, 279, 3895, 667, 16, 716, 711, 2590, 12647, 1435, 471, 8737, 1435, 358, 3455, 6880, 434, 326, 2078, 1440, 10621, 12123, 468, 9720, 1879, 777, 326, 4689, 716, 1410, 1240, 2118, 9830, 7671, 434, 364, 886, 316, 365, 18, 9561, 30, 468, 6622, 326, 1363, 487, 2731, 365, 18, 8734, 63, 412, 65, 273, 886, 18, 4256, 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 ]
cancel.set_flags (CAN_DEFAULT)
cancel.set_flags (gtk.CAN_DEFAULT)
def __init__ (self, title, callback): gtk.Dialog.__init__ (self) self.set_transient_for (mainWindow) self.set_title (title) self.callback = callback ok = gtk.Button ("OK") ok.set_flags (CAN_DEFAULT) ok.connect ("clicked", self.okSignal) ok.show() self.action_area.pack_start (ok, TRUE, FALSE, 10) cancel = gtk.Button ("Cancel") cancel.set_flags (CAN_DEFAULT) cancel.connect ("clicked", self.cancelSignal) cancel.show() self.action_area.pack_start (cancel, TRUE, FALSE, 10) ok.grab_default() self.set_modal (TRUE)
44ba4a387d4167dedba8d083a763a0b3d1a1236b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4580/44ba4a387d4167dedba8d083a763a0b3d1a1236b/driconf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 16, 2077, 16, 1348, 4672, 22718, 18, 6353, 16186, 2738, 972, 261, 2890, 13, 365, 18, 542, 67, 22670, 67, 1884, 261, 5254, 3829, 13, 365, 18, 542, 67, 2649, 261, 2649, 13, 365, 18, 3394, 273, 1348, 1529, 273, 22718, 18, 3616, 7566, 3141, 7923, 1529, 18, 542, 67, 7133, 261, 39, 1258, 67, 5280, 13, 1529, 18, 3612, 7566, 7475, 329, 3113, 365, 18, 601, 11208, 13, 1529, 18, 4500, 1435, 365, 18, 1128, 67, 5036, 18, 2920, 67, 1937, 261, 601, 16, 5383, 16, 4934, 16, 1728, 13, 3755, 273, 22718, 18, 3616, 7566, 6691, 7923, 3755, 18, 542, 67, 7133, 261, 4521, 79, 18, 39, 1258, 67, 5280, 13, 3755, 18, 3612, 7566, 7475, 329, 3113, 365, 18, 10996, 11208, 13, 3755, 18, 4500, 1435, 365, 18, 1128, 67, 5036, 18, 2920, 67, 1937, 261, 10996, 16, 5383, 16, 4934, 16, 1728, 13, 1529, 18, 2752, 70, 67, 1886, 1435, 365, 18, 542, 67, 17638, 261, 18724, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 261, 2890, 16, 2077, 16, 1348, 4672, 22718, 18, 6353, 16186, 2738, 972, 261, 2890, 13, 365, 18, 542, 67, 22670, 67, 1884, 261, 5254, 3829, 13, 365, 18, 542, 67, 2649, 261, 2649, 13, 365, 18, 3394, 273, 1348, 1529, 273, 22718, 18, 3616, 7566, 3141, 7923, 1529, 18, 542, 67, 7133, 261, 39, 1258, 67, 5280, 13, 1529, 18, 3612, 7566, 7475, 329, 3113, 365, 18, 601, 11208, 13, 1529, 18, 4500, 1435, 365, 18, 1128, 67, 5036, 18, 2920, 67, 1937, 261, 601, 16, 5383, 16, 4934, 16, 1728, 13, 3755, 273, 22718, 18, 3616, 7566, 6691, 7923, 3755, 18, 542, 67, 7133, 261, 4521, 79, 18, 39, 1258, 67, 5280, 13, 2 ]
modules = [ModuleInfo(info) for info in find_files_named('info.txt', 'src')]
modules = dict([(mod.basename, mod) for mod in [ModuleInfo(info) for info in find_files_named('info.txt', 'src')]])
def find_files_named(desired_name, in_path): for (dirpath, dirnames, filenames) in os.walk(in_path): if desired_name in filenames: yield os.path.join(dirpath, desired_name)
83f29203e9914995d719535adb4acb85e59d53a7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9556/83f29203e9914995d719535adb4acb85e59d53a7/configure.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 2354, 67, 13188, 12, 30458, 67, 529, 16, 316, 67, 803, 4672, 364, 261, 1214, 803, 16, 1577, 1973, 16, 9066, 13, 316, 1140, 18, 11348, 12, 267, 67, 803, 4672, 309, 6049, 67, 529, 316, 9066, 30, 2824, 1140, 18, 803, 18, 5701, 12, 1214, 803, 16, 6049, 67, 529, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 2354, 67, 13188, 12, 30458, 67, 529, 16, 316, 67, 803, 4672, 364, 261, 1214, 803, 16, 1577, 1973, 16, 9066, 13, 316, 1140, 18, 11348, 12, 267, 67, 803, 4672, 309, 6049, 67, 529, 316, 9066, 30, 2824, 1140, 18, 803, 18, 5701, 12, 1214, 803, 16, 6049, 67, 529, 13, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
secDB = db.DB(self.env) secDB.set_flags(db.DB_DUP) secDB.open(self.filename, "secondary", db.DB_BTREE,
self.secDB = db.DB(self.env) self.secDB.set_flags(db.DB_DUP) self.secDB.open(self.filename, "secondary", db.DB_BTREE,
def test02_associateAfterDB(self): if verbose: print '\n', '-=' * 30 print "Running %s.test02_associateAfterDB..." % \ self.__class__.__name__
c9321ccdfc51bc5e6317151467eb008720a86fe7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/c9321ccdfc51bc5e6317151467eb008720a86fe7/test_associate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 3103, 67, 11577, 4436, 2290, 12, 2890, 4672, 309, 3988, 30, 1172, 2337, 82, 2187, 2400, 2218, 380, 5196, 1172, 315, 7051, 738, 87, 18, 3813, 3103, 67, 11577, 4436, 2290, 7070, 738, 521, 365, 16186, 1106, 972, 16186, 529, 972, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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436, 2290, 7070, 738, 521, 365, 16186, 1106, 972, 16186, 529, 972, 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, -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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
command = path_ffmpeg[0] + " -v 1 -i '%s' -r %s -target dvd -b 3000 -s %s -ab 192 -copyts " \
source = quoteFilename(source) command = path_ffmpeg[0] + " -v 1 -i %s -r %s -target dvd -b 3000 -s %s -ab 192 -copyts " \
def encodeVideoToMPEG2(source, destvideofile, video, audio1, audio2, aspectratio): """Encodes an unknown video source file eg. AVI to MPEG2 video and AC3 audio, use ffmpeg""" #MPEG-2 resolutions: 720x480, 720x576, 352x480, 352x576 if videomode=="ntsc": encoderesolution=dvdNTSCD1 else: encoderesolution=dvdPALD1 #192 is the kbit rate for the ac3 audio #3000 is the kbit rate for the MPEG2 video command = path_ffmpeg[0] + " -v 1 -i '%s' -r %s -target dvd -b 3000 -s %s -ab 192 -copyts " \ "-aspect %s %s" % (source, videomode, encoderesolution, aspectratio, destvideofile) #add second audio track if required if audio2[AUDIO_ID] != -1: command += " -newaudio" #make sure we get the correct stream(s) that we want command += " -map 0:%d -map 0:%d " % (video[VIDEO_INDEX], audio1[AUDIO_INDEX]) if audio2[AUDIO_ID] != -1: command += "-map 0:%d" % (audio2[AUDIO_INDEX]) write(command) result = runCommand(command) if result!=0: fatalError("Failed while running ffmpeg to re-encode video.\n" "Command was %s" % command)
fb525bce7d047ef02cae0f76cfdfc4906e765992 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/13713/fb525bce7d047ef02cae0f76cfdfc4906e765992/mythburn.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2017, 10083, 774, 49, 16533, 22, 12, 3168, 16, 1570, 9115, 768, 16, 6191, 16, 7447, 21, 16, 7447, 22, 16, 9648, 9847, 4672, 3536, 19771, 392, 5917, 6191, 1084, 585, 9130, 18, 432, 4136, 358, 490, 16533, 22, 6191, 471, 12048, 23, 7447, 16, 999, 6875, 19951, 8395, 468, 49, 16533, 17, 22, 1565, 6170, 30, 2371, 3462, 92, 24, 3672, 16, 2371, 3462, 92, 25, 6669, 16, 890, 9401, 92, 24, 3672, 16, 890, 9401, 92, 25, 6669, 225, 309, 331, 831, 362, 390, 31713, 496, 1017, 6877, 7261, 281, 5889, 33, 15679, 72, 1784, 2312, 40, 21, 469, 30, 7261, 281, 5889, 33, 15679, 72, 26497, 40, 21, 225, 468, 15561, 353, 326, 417, 3682, 4993, 364, 326, 1721, 23, 7447, 468, 23, 3784, 353, 326, 417, 3682, 4993, 364, 326, 490, 16533, 22, 6191, 225, 1084, 273, 3862, 5359, 12, 3168, 13, 225, 1296, 273, 589, 67, 1403, 19951, 63, 20, 65, 397, 315, 300, 90, 404, 300, 77, 738, 87, 300, 86, 738, 87, 300, 3299, 12494, 72, 300, 70, 29839, 300, 87, 738, 87, 300, 378, 20217, 300, 3530, 3428, 315, 282, 521, 3701, 23579, 738, 87, 738, 87, 6, 225, 738, 261, 3168, 16, 331, 831, 362, 390, 16, 7261, 281, 5889, 16, 9648, 9847, 16, 1570, 9115, 768, 13, 225, 468, 1289, 2205, 7447, 3298, 309, 1931, 309, 7447, 22, 63, 14237, 2565, 51, 67, 734, 65, 480, 300, 21, 30, 1296, 1011, 315, 300, 2704, 11509, 6, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2017, 10083, 774, 49, 16533, 22, 12, 3168, 16, 1570, 9115, 768, 16, 6191, 16, 7447, 21, 16, 7447, 22, 16, 9648, 9847, 4672, 3536, 19771, 392, 5917, 6191, 1084, 585, 9130, 18, 432, 4136, 358, 490, 16533, 22, 6191, 471, 12048, 23, 7447, 16, 999, 6875, 19951, 8395, 468, 49, 16533, 17, 22, 1565, 6170, 30, 2371, 3462, 92, 24, 3672, 16, 2371, 3462, 92, 25, 6669, 16, 890, 9401, 92, 24, 3672, 16, 890, 9401, 92, 25, 6669, 225, 309, 331, 831, 362, 390, 31713, 496, 1017, 6877, 7261, 281, 5889, 33, 15679, 72, 1784, 2312, 40, 21, 469, 30, 7261, 281, 5889, 33, 15679, 72, 26497, 40, 21, 225, 468, 15561, 353, 326, 417, 3682, 2 ]