rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
Returns a group character of from ``values``, where ``values`` is
Returns a group character from ``values``, where ``values`` is
def character(self, values): r""" Returns a group character of from ``values``, where ``values`` is a list of the values of the character evaluated on the conjugacy classes. EXAMPLES:: sage: G = AlternatingGroup(4) sage: n = len(G.conjugacy_classes_representatives()) sage: G.character([1]*n) Character of Alternating group of order 4!/2 as a permutation group """ return ClassFunction(self,values)
317c35fede8b7240fbdacb4dd62bbce96157450d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/317c35fede8b7240fbdacb4dd62bbce96157450d/permgroup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3351, 12, 2890, 16, 924, 4672, 436, 8395, 2860, 279, 1041, 3351, 628, 12176, 2372, 68, 9191, 1625, 12176, 2372, 10335, 353, 279, 666, 434, 326, 924, 434, 326, 3351, 12697, 603, 326, 10550, 637, 3505, 3318, 18, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 30, 611, 273, 21498, 1776, 1114, 12, 24, 13, 272, 410, 30, 290, 273, 562, 12, 43, 18, 591, 78, 637, 3505, 67, 4701, 67, 28205, 8785, 10756, 272, 410, 30, 611, 18, 11560, 3816, 21, 5772, 82, 13, 6577, 434, 21498, 1776, 1041, 434, 1353, 1059, 5, 19, 22, 487, 279, 17440, 1041, 3536, 327, 1659, 2083, 12, 2890, 16, 2372, 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,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625, 12176, 2372, 10335, 353, 279, 666, 434, 326, 924, 434, 326, 3351, 12697, 603, 326, 10550, 637, 3505, 3318, 18, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 30, 611, 273, 21498, 1776, 1114, 12, 24, 13, 272, 410, 30, 290, 273, 562, 12, 43, 18, 591, 78, 637, 3505, 67, 4701, 67, 28205, 8785, 10756, 272, 410, 30, 611, 18, 11560, 3816, 21, 5772, 82, 13, 6577, 434, 21498, 1776, 1041, 434, 1353, 1059, 5, 19, 22, 487, 279, 17440, 1041, 3536, 327, 1659, 2083, 12, 2890, 16, 2372, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
elif n == 14:
elif number == 14:
def number_mayan(self, n): x = 42.5 x1, x2, xc, x3, x4 = x + 5, x + 15, x + 20, x + 25, x + 35 y = 60 y1s, y5s, y10s, y20s = y, y - 10, y - 20, y - 40 if n == 5: svg_string = self._svg_bar(x, y1s) elif n == 7: svg_string = self._svg_bar(x, y1s) svg_string += self._svg_circle(x2, y5s, 3) svg_string += self._svg_circle(x3, y5s, 3) elif n == 10: svg_string = self._svg_bar(x, y1s) svg_string += self._svg_bar(x, y5s) elif n == 11: svg_string = self._svg_bar(x, y1s) svg_string += self._svg_bar(x, y5s) svg_string += self._svg_circle(x+20, y10s, 3) elif n == 14: svg_string = self._svg_bar(x, y1s) svg_string += self._svg_bar(x, y5s) svg_string += self._svg_circle(x1, y10s, 3) svg_string += self._svg_circle(x2, y10s, 3) svg_string += self._svg_circle(x3, y10s, 3) svg_string += self._svg_circle(x4, y10s, 3) elif n == 15: svg_string = self._svg_bar(x, y1s) svg_string += self._svg_bar(x, y5s) svg_string += self._svg_bar(x, y10s) elif n == 21: svg_string = self._svg_circle(xc, y1s, 3) svg_string += self._svg_circle(xc, y20s, 3) elif n == 22: svg_string = self._svg_circle(x2, y1s, 3) svg_string += self._svg_circle(x3, y1s, 3) svg_string += self._svg_circle(xc, y20s, 3) elif n == 33: svg_string = self._svg_bar(x, y1s) svg_string += self._svg_bar(x, y5s) svg_string += self._svg_circle(x1, y10s, 3) svg_string += self._svg_circle(xc, y10s, 3) svg_string += self._svg_circle(x4, y10s, 3) svg_string += self._svg_circle(xc, y20s, 3) return svg_string
3abdde2d4415b99e072401aa95cc310d13046e05 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7609/3abdde2d4415b99e072401aa95cc310d13046e05/gencards.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1300, 67, 24877, 304, 12, 2890, 16, 290, 4672, 619, 273, 14856, 18, 25, 619, 21, 16, 619, 22, 16, 15192, 16, 619, 23, 16, 619, 24, 273, 619, 397, 1381, 16, 619, 397, 4711, 16, 619, 397, 4200, 16, 619, 397, 6969, 16, 619, 397, 13191, 677, 273, 4752, 677, 21, 87, 16, 677, 25, 87, 16, 677, 2163, 87, 16, 677, 3462, 87, 273, 677, 16, 677, 300, 1728, 16, 677, 300, 4200, 16, 677, 300, 8063, 309, 290, 422, 1381, 30, 9804, 67, 1080, 273, 365, 6315, 11451, 67, 3215, 12, 92, 16, 677, 21, 87, 13, 1327, 290, 422, 2371, 30, 9804, 67, 1080, 273, 365, 6315, 11451, 67, 3215, 12, 92, 16, 677, 21, 87, 13, 9804, 67, 1080, 1011, 365, 6315, 11451, 67, 18970, 12, 92, 22, 16, 677, 25, 87, 16, 890, 13, 9804, 67, 1080, 1011, 365, 6315, 11451, 67, 18970, 12, 92, 23, 16, 677, 25, 87, 16, 890, 13, 1327, 290, 422, 1728, 30, 9804, 67, 1080, 273, 365, 6315, 11451, 67, 3215, 12, 92, 16, 677, 21, 87, 13, 9804, 67, 1080, 1011, 365, 6315, 11451, 67, 3215, 12, 92, 16, 677, 25, 87, 13, 1327, 290, 422, 4648, 30, 9804, 67, 1080, 273, 365, 6315, 11451, 67, 3215, 12, 92, 16, 677, 21, 87, 13, 9804, 67, 1080, 1011, 365, 6315, 11451, 67, 3215, 12, 92, 16, 677, 25, 87, 13, 9804, 67, 1080, 1011, 365, 6315, 11451, 67, 18970, 12, 92, 15, 3462, 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, 1300, 67, 24877, 304, 12, 2890, 16, 290, 4672, 619, 273, 14856, 18, 25, 619, 21, 16, 619, 22, 16, 15192, 16, 619, 23, 16, 619, 24, 273, 619, 397, 1381, 16, 619, 397, 4711, 16, 619, 397, 4200, 16, 619, 397, 6969, 16, 619, 397, 13191, 677, 273, 4752, 677, 21, 87, 16, 677, 25, 87, 16, 677, 2163, 87, 16, 677, 3462, 87, 273, 677, 16, 677, 300, 1728, 16, 677, 300, 4200, 16, 677, 300, 8063, 309, 290, 422, 1381, 30, 9804, 67, 1080, 273, 365, 6315, 11451, 67, 3215, 12, 92, 16, 677, 21, 87, 13, 1327, 290, 422, 2371, 30, 9804, 67, 1080, 273, 365, 6315, 11451, 67, 3215, 12, 92, 16, 677, 2 ]
retry = wifi_details.getRetry() except IOError, (errno, strerror): return None else: return "Retry limit:%s " % (wifi.getRetrylimit(), )
retry = wifi.wireless_info.getRetry() except IOError, (errno, strerror): return None else: return "Retry limit:%s " % (wifi.getRetrylimit(), )
def getRetrylimit(wifi, wifi_details): """ Return formatted string with Retry info. """ try: retry = wifi_details.getRetry() except IOError, (errno, strerror): return None else: return "Retry limit:%s " % (wifi.getRetrylimit(), )
00a2b457b7ea878745c9bf3776fc596fe42089a9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3159/00a2b457b7ea878745c9bf3776fc596fe42089a9/iwconfig.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4170, 2559, 3595, 12, 91, 704, 16, 341, 704, 67, 6395, 4672, 3536, 2000, 4955, 533, 598, 9954, 1123, 18, 3536, 775, 30, 3300, 273, 341, 704, 18, 14538, 2656, 67, 1376, 18, 588, 7539, 1435, 1335, 8340, 16, 261, 19088, 16, 609, 1636, 4672, 327, 599, 469, 30, 327, 315, 7539, 1800, 5319, 87, 282, 315, 738, 261, 91, 704, 18, 588, 7539, 3595, 9334, 262, 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,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, 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, 4170, 2559, 3595, 12, 91, 704, 16, 341, 704, 67, 6395, 4672, 3536, 2000, 4955, 533, 598, 9954, 1123, 18, 3536, 775, 30, 3300, 273, 341, 704, 18, 14538, 2656, 67, 1376, 18, 588, 7539, 1435, 1335, 8340, 16, 261, 19088, 16, 609, 1636, 4672, 327, 599, 469, 30, 327, 315, 7539, 1800, 5319, 87, 282, 315, 738, 261, 91, 704, 18, 588, 7539, 3595, 9334, 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, -100, -100, -100, -100, -100 ]
def log_state_default(self, params=None):
def log_state_default(self, params):
def log_state_default(self, params=None): pass
41fb2db3ffe117821b63c00171517cea74eb3e5a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3449/41fb2db3ffe117821b63c00171517cea74eb3e5a/engine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 613, 67, 2019, 67, 1886, 12, 2890, 16, 859, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 613, 67, 2019, 67, 1886, 12, 2890, 16, 859, 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 ]
>>> class A:
>>> class A:
... def setx(self, x):
aac857e07e983cfb7c1a2faaa8aec9409d49a30a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/aac857e07e983cfb7c1a2faaa8aec9409d49a30a/test_descrtut.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1372, 377, 1652, 444, 92, 12, 2890, 16, 619, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1372, 377, 1652, 444, 92, 12, 2890, 16, 619, 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 ]
res = ''.join(res)
res = u''.join(res)
def raw_unicode_escape_decode( data,errors='strict'): """None """ res = PyUnicode_DecodeRawUnicodeEscape(data, len(data), errors) res = ''.join(res) return res,len(res)
43ce23feb40aadc6a6a9c31d19c968e0351f9245 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/43ce23feb40aadc6a6a9c31d19c968e0351f9245/inprogress__codecs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1831, 67, 9124, 67, 6939, 67, 3922, 12, 501, 16, 4324, 2218, 13948, 11, 4672, 3536, 7036, 3536, 400, 273, 4707, 16532, 67, 6615, 4809, 16532, 8448, 12, 892, 16, 562, 12, 892, 3631, 1334, 13, 400, 273, 582, 6309, 18, 5701, 12, 455, 13, 327, 400, 16, 1897, 12, 455, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1831, 67, 9124, 67, 6939, 67, 3922, 12, 501, 16, 4324, 2218, 13948, 11, 4672, 3536, 7036, 3536, 400, 273, 4707, 16532, 67, 6615, 4809, 16532, 8448, 12, 892, 16, 562, 12, 892, 3631, 1334, 13, 400, 273, 582, 6309, 18, 5701, 12, 455, 13, 327, 400, 16, 1897, 12, 455, 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, -100, -100, -100 ]
def testConnect(self):
def test_connect(self):
def testConnect(self): s = ssl.wrap_socket(socket.socket(socket.AF_INET), cert_reqs=ssl.CERT_NONE) s.connect(("svn.python.org", 443)) c = s.getpeercert() if c: self.fail("Peer cert %s shouldn't be here!") s.close()
cb62a4cb12d8f0f9904d111d93c76ea857434a52 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8125/cb62a4cb12d8f0f9904d111d93c76ea857434a52/test_ssl.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 3612, 12, 2890, 4672, 272, 273, 5832, 18, 4113, 67, 7814, 12, 7814, 18, 7814, 12, 7814, 18, 6799, 67, 18819, 3631, 3320, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 3612, 12, 2890, 4672, 272, 273, 5832, 18, 4113, 67, 7814, 12, 7814, 18, 7814, 12, 7814, 18, 6799, 67, 18819, 3631, 3320, 67, 25782, 33, 8157, 18, 22367, 67, 9826, 13, 272, 18, 3612, 12, 2932, 31505, 18, 8103, 18, 3341, 3113, 23796, 3719, 276, 273, 272, 18, 588, 12210, 7593, 1435, 309, 276, 30, 365, 18, 6870, 2932, 6813, 3320, 738, 87, 12044, 1404, 506, 2674, 4442, 13, 272, 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 ]
fmts = [f.strip().upper() for f in self.data[self.data.row(id)][FIELD_MAP['formats']].split(',')] fmts.remove(format.upper()) self.data.set(id, FIELD_MAP['formats'], ','.join(fmts), row_is_id=True)
self.refresh_ids([id])
def remove_format(self, index, format, index_is_id=False, notify=True): id = index if index_is_id else self.id(index) path = os.path.join(self.library_path, self.path(id, index_is_id=True)) name = self.conn.get('SELECT name FROM data WHERE book=? AND format=?', (id, format), all=False) name = name[0] if name else False if name: ext = ('.' + format.lower()) if format else '' path = os.path.join(path, name+ext) try: os.remove(path) except: pass self.conn.execute('DELETE FROM data WHERE book=? AND format=?', (id, format.upper())) self.conn.commit() fmts = [f.strip().upper() for f in self.data[self.data.row(id)][FIELD_MAP['formats']].split(',')] fmts.remove(format.upper()) self.data.set(id, FIELD_MAP['formats'], ','.join(fmts), row_is_id=True) if notify: self.notify('metadata', [id])
7931a9d2bd4dbc97f770b83bcc35f9584814e45c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9125/7931a9d2bd4dbc97f770b83bcc35f9584814e45c/database2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 67, 2139, 12, 2890, 16, 770, 16, 740, 16, 770, 67, 291, 67, 350, 33, 8381, 16, 5066, 33, 5510, 4672, 612, 273, 770, 309, 770, 67, 291, 67, 350, 469, 365, 18, 350, 12, 1615, 13, 589, 273, 1140, 18, 803, 18, 5701, 12, 2890, 18, 12083, 67, 803, 16, 365, 18, 803, 12, 350, 16, 770, 67, 291, 67, 350, 33, 5510, 3719, 508, 273, 365, 18, 4646, 18, 588, 2668, 4803, 508, 4571, 501, 4852, 6978, 17282, 4116, 740, 17282, 2187, 261, 350, 16, 740, 3631, 777, 33, 8381, 13, 508, 273, 508, 63, 20, 65, 309, 508, 469, 1083, 309, 508, 30, 1110, 273, 7707, 1093, 397, 740, 18, 8167, 10756, 309, 740, 469, 875, 589, 273, 1140, 18, 803, 18, 5701, 12, 803, 16, 508, 15, 408, 13, 775, 30, 1140, 18, 4479, 12, 803, 13, 1335, 30, 1342, 365, 18, 4646, 18, 8837, 2668, 6460, 4571, 501, 4852, 6978, 17282, 4116, 740, 17282, 2187, 261, 350, 16, 740, 18, 5797, 1435, 3719, 365, 18, 4646, 18, 7371, 1435, 365, 18, 9144, 67, 2232, 3816, 350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, 2890, 16, 770, 16, 740, 16, 770, 67, 291, 67, 350, 33, 8381, 16, 5066, 33, 5510, 4672, 612, 273, 770, 309, 770, 67, 291, 67, 350, 469, 365, 18, 350, 12, 1615, 13, 589, 273, 1140, 18, 803, 18, 5701, 12, 2890, 18, 12083, 67, 803, 16, 365, 18, 803, 12, 350, 16, 770, 67, 291, 67, 350, 33, 5510, 3719, 508, 273, 365, 18, 4646, 18, 588, 2668, 4803, 508, 4571, 501, 4852, 6978, 17282, 4116, 740, 17282, 2187, 261, 350, 16, 740, 3631, 777, 33, 8381, 13, 508, 273, 508, 63, 20, 65, 309, 508, 469, 1083, 309, 508, 30, 1110, 273, 7707, 1093, 397, 740, 18, 8167, 10756, 309, 740, 2 ]
raise KeyError( item ) def bounds( self ):
raise KeyError(item) def bounds(self):
def _find_first_match_( self, keys, item ): is_match = lambda k: self.match( item, k ) # use of ifilter here would be more efficent matches = filter( is_match, keys ) if matches: return matches[0] raise KeyError( item )
c68039a3f4004e3fe46621e4c6512fd2401398fc /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/677/c68039a3f4004e3fe46621e4c6512fd2401398fc/win32timezone.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4720, 67, 3645, 67, 1916, 67, 12, 365, 16, 1311, 16, 761, 262, 30, 353, 67, 1916, 273, 3195, 417, 30, 365, 18, 1916, 12, 761, 16, 417, 262, 468, 999, 434, 309, 1088, 2674, 4102, 506, 1898, 425, 4493, 319, 1885, 273, 1034, 12, 353, 67, 1916, 16, 1311, 262, 309, 1885, 30, 327, 1885, 63, 20, 65, 1002, 4999, 12, 761, 262, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4720, 67, 3645, 67, 1916, 67, 12, 365, 16, 1311, 16, 761, 262, 30, 353, 67, 1916, 273, 3195, 417, 30, 365, 18, 1916, 12, 761, 16, 417, 262, 468, 999, 434, 309, 1088, 2674, 4102, 506, 1898, 425, 4493, 319, 1885, 273, 1034, 12, 353, 67, 1916, 16, 1311, 262, 309, 1885, 30, 327, 1885, 63, 20, 65, 1002, 4999, 12, 761, 262, 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 ]
if (command == ' ') != last_type: last_type = command == ' ' blocks.append({'type': last_type and 'unmod' or 'mod', 'base.offset': fromline - 1, 'base.lines': [], 'changed.offset': toline - 1, 'changed.lines': []}) if command == ' ': blocks[-1]['changed.lines'].append(line) blocks[-1]['base.lines'].append(line) fromline += 1 toline += 1 elif command == '+': blocks[-1]['changed.lines'].append(line) toline += 1 elif command == '-': blocks[-1]['base.lines'].append(line) fromline += 1 else: return None
while fromline < fromend or toline < toend: line = lines.next() command, line = line[0], line[1:] if (command == ' ') != last_type: last_type = command == ' ' blocks.append({'type': last_type and 'unmod' or 'mod', 'base.offset': fromline - 1, 'base.lines': [], 'changed.offset': toline - 1, 'changed.lines': []}) if command == ' ': blocks[-1]['changed.lines'].append(line) blocks[-1]['base.lines'].append(line) fromline += 1 toline += 1 elif command == '+': blocks[-1]['changed.lines'].append(line) toline += 1 elif command == '-': blocks[-1]['base.lines'].append(line) fromline += 1 else: return None
def htmlify(match): div, mod = divmod(len(match.group(0)), 2) return div * '&nbsp; ' + mod * '&nbsp;'
81b657b816d8b094d2886fe500c5decefefc5342 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/81b657b816d8b094d2886fe500c5decefefc5342/patch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1729, 1164, 12, 1916, 4672, 3739, 16, 681, 273, 26105, 12, 1897, 12, 1916, 18, 1655, 12, 20, 13, 3631, 576, 13, 327, 3739, 380, 5183, 10600, 31, 296, 397, 681, 380, 5183, 10600, 4359, 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, 1729, 1164, 12, 1916, 4672, 3739, 16, 681, 273, 26105, 12, 1897, 12, 1916, 18, 1655, 12, 20, 13, 3631, 576, 13, 327, 3739, 380, 5183, 10600, 31, 296, 397, 681, 380, 5183, 10600, 4359, 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 ]
remaining = self.GetSize().width - widthMinusLastColumn """ Big fat hack. Since the grid is a scrolled window we set a border equal to the size of the scrollbar so the scroll bars won't show. Instead we should consider modifying grid adding a new style for not showing scrollbars. Bug """ remaining = remaining - wx.SystemSettings_GetMetric(wx.SYS_VSCROLL_X)
remaining = self.GetClientSize().width - widthMinusLastColumn remaining -= self._colBorderSize
def wxSynchronizeWidget(self): """ A Grid can't easily redisplay its contents, so we write the following helper function to readjust everything after the contents change """ #Trim/extend the control's rows and update all values
f21edc0009ce00e11db682294e1d907846620696 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/f21edc0009ce00e11db682294e1d907846620696/ControlBlocks.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7075, 19298, 554, 4609, 12, 2890, 4672, 3536, 432, 7145, 848, 1404, 17997, 5813, 1601, 2097, 2939, 16, 1427, 732, 1045, 326, 3751, 4222, 445, 358, 855, 3732, 7756, 1839, 326, 2939, 2549, 3536, 468, 14795, 19, 14313, 326, 3325, 1807, 2595, 471, 1089, 777, 924, 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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 17997, 5813, 1601, 2097, 2939, 16, 1427, 732, 1045, 326, 3751, 4222, 445, 358, 855, 3732, 7756, 1839, 326, 2939, 2549, 3536, 468, 14795, 19, 14313, 326, 3325, 1807, 2595, 471, 1089, 777, 924, 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 ]
tablist.add(info, info.parent_id)
if hasattr(info, "parent_id"): tablist.add(info, info.parent_id) else: tablist.add(info)
def handle_tabs_changed(self, message): if message.type == 'guide': for info in list(message.changed): if info.default: self.update_default_guide(info) message.changed.remove(info) break tablist = self.tablist_for_message(message) if message.removed: tablist.remove(message.removed) for info in message.changed: tablist.update(info) for info in message.added: tablist.add(info, info.parent_id) tablist.model_changed() app.info_updater.handle_tabs_changed(message)
6515bbee77b9cd60445565df291ed797c032fac6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12354/6515bbee77b9cd60445565df291ed797c032fac6/application.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 16056, 67, 6703, 12, 2890, 16, 883, 4672, 309, 883, 18, 723, 422, 296, 12118, 4278, 364, 1123, 316, 666, 12, 2150, 18, 6703, 4672, 309, 1123, 18, 1886, 30, 365, 18, 2725, 67, 1886, 67, 12118, 12, 1376, 13, 883, 18, 6703, 18, 4479, 12, 1376, 13, 898, 3246, 1098, 273, 365, 18, 7032, 1098, 67, 1884, 67, 2150, 12, 2150, 13, 309, 883, 18, 14923, 30, 3246, 1098, 18, 4479, 12, 2150, 18, 14923, 13, 364, 1123, 316, 883, 18, 6703, 30, 3246, 1098, 18, 2725, 12, 1376, 13, 364, 1123, 316, 883, 18, 9665, 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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, 1640, 67, 16056, 67, 6703, 12, 2890, 16, 883, 4672, 309, 883, 18, 723, 422, 296, 12118, 4278, 364, 1123, 316, 666, 12, 2150, 18, 6703, 4672, 309, 1123, 18, 1886, 30, 365, 18, 2725, 67, 1886, 67, 12118, 12, 1376, 13, 883, 18, 6703, 18, 4479, 12, 1376, 13, 898, 3246, 1098, 273, 365, 18, 7032, 1098, 67, 1884, 67, 2150, 12, 2150, 13, 309, 883, 18, 14923, 30, 3246, 1098, 18, 4479, 12, 2150, 18, 14923, 13, 364, 1123, 316, 883, 18, 6703, 30, 3246, 1098, 18, 2725, 12, 1376, 13, 364, 1123, 316, 883, 18, 9665, 30, 225, 309, 3859, 12, 1376, 16, 315, 2938, 67, 350, 6, 4672, 3246, 1098, 18, 1289, 12, 1376, 2 ]
as = atom.service.AtomService('code.google.com') self.assertEquals(as.server, 'code.google.com') (host, port, ssl, path) = atom.service.ProcessUrl(as,
atom_service = atom.service.AtomService('code.google.com') self.assertEquals(atom_service.server, 'code.google.com') (host, port, ssl, path) = atom.service.ProcessUrl(atom_service,
def testParseHttpUrl(self): as = atom.service.AtomService('code.google.com') self.assertEquals(as.server, 'code.google.com') (host, port, ssl, path) = atom.service.ProcessUrl(as, 'http://www.google.com/service/subservice?name=value')
c04c73a782840c833cb2436bbf4e5d652abedbfc /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5609/c04c73a782840c833cb2436bbf4e5d652abedbfc/service_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 3201, 2940, 1489, 12, 2890, 4672, 3179, 67, 3278, 273, 3179, 18, 3278, 18, 3641, 1179, 2668, 710, 18, 9536, 18, 832, 6134, 365, 18, 11231, 8867, 12, 7466, 67, 3278, 18, 3567, 16, 296, 710, 18, 9536, 18, 832, 6134, 261, 2564, 16, 1756, 16, 5832, 16, 589, 13, 273, 225, 3179, 18, 3278, 18, 2227, 1489, 12, 7466, 67, 3278, 16, 296, 2505, 2207, 5591, 18, 9536, 18, 832, 19, 3278, 19, 1717, 3278, 35, 529, 33, 1132, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 3201, 2940, 1489, 12, 2890, 4672, 3179, 67, 3278, 273, 3179, 18, 3278, 18, 3641, 1179, 2668, 710, 18, 9536, 18, 832, 6134, 365, 18, 11231, 8867, 12, 7466, 67, 3278, 18, 3567, 16, 296, 710, 18, 9536, 18, 832, 6134, 261, 2564, 16, 1756, 16, 5832, 16, 589, 13, 273, 225, 3179, 18, 3278, 18, 2227, 1489, 12, 7466, 67, 3278, 16, 296, 2505, 2207, 5591, 18, 9536, 18, 832, 19, 3278, 19, 1717, 3278, 35, 529, 33, 1132, 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 ]
else: x = '0'
def begin_text(self, attrs): if self.in_defs: id = attrs.get('id', '') if id: self.named_objects[id] = ('object', 'text', attrs) return
20f97a1a1862b824365b83f00419d19bd29be2c5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3123/20f97a1a1862b824365b83f00419d19bd29be2c5/svgloader.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2376, 67, 955, 12, 2890, 16, 3422, 4672, 309, 365, 18, 267, 67, 12537, 30, 612, 273, 3422, 18, 588, 2668, 350, 2187, 28707, 309, 612, 30, 365, 18, 13188, 67, 6911, 63, 350, 65, 273, 7707, 1612, 2187, 296, 955, 2187, 3422, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2376, 67, 955, 12, 2890, 16, 3422, 4672, 309, 365, 18, 267, 67, 12537, 30, 612, 273, 3422, 18, 588, 2668, 350, 2187, 28707, 309, 612, 30, 365, 18, 13188, 67, 6911, 63, 350, 65, 273, 7707, 1612, 2187, 296, 955, 2187, 3422, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 __init__(self,lang,term,relatedwords=[],label=''):
def __init__(self,lang,term,relatedwords=[]):
def __init__(self,lang,term,relatedwords=[],label=''): """ Constructor Generally called with two parameters: - The language of the term - The term (string)
1b1b4569b6745a15f68c338b63248732b0b8fe0d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4404/1b1b4569b6745a15f68c338b63248732b0b8fe0d/wiktionary.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4936, 16, 6408, 16, 9243, 3753, 33, 8526, 4672, 3536, 11417, 3055, 1230, 2566, 598, 2795, 1472, 30, 300, 1021, 2653, 434, 326, 2481, 300, 1021, 2481, 261, 1080, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4936, 16, 6408, 16, 9243, 3753, 33, 8526, 4672, 3536, 11417, 3055, 1230, 2566, 598, 2795, 1472, 30, 300, 1021, 2653, 434, 326, 2481, 300, 1021, 2481, 261, 1080, 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 ]
print >> env_file, " setenv LD_LIBRARY_PATH " + self.install_platlib + ":${LD_LIBRARY_PATH}"
print >> env_file, " setenv LD_LIBRARY_PATH " + glue_install_platlib + ":${LD_LIBRARY_PATH}"
def run(self):
ae44075ce5df81f6404c737cc4720f6c045115d1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3589/ae44075ce5df81f6404c737cc4720f6c045115d1/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 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,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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
class DummyScheduler: def __init__(self): self.c = [] def __call__(self, func, delay, args = []): self.c.append((func, delay, args))
def start_connection(self, ip): self.c.append(ip)
e515f2d77bfcdfdf465f07113b3fb94b00f492ad /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4538/e515f2d77bfcdfdf465f07113b3fb94b00f492ad/Connecter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 67, 4071, 12, 2890, 16, 2359, 4672, 365, 18, 71, 18, 6923, 12, 625, 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, 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, 16, 2359, 4672, 365, 18, 71, 18, 6923, 12, 625, 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 ]
if max_queued and (len(self.downloads) >= max_queued):
if max_queued and (len(self.get_downloads()) >= max_queued):
def add_download(self, d): max_queued = int(self.get_setting('max_queued', 0)) if max_queued and (len(self.downloads) >= max_queued): raise Exception('Too many downloads queued (see "max_queued" config var)')
a1911aafcb90976a58220f7b22d873526957c643 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12636/a1911aafcb90976a58220f7b22d873526957c643/manager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 7813, 12, 2890, 16, 302, 4672, 943, 67, 19499, 273, 509, 12, 2890, 18, 588, 67, 8920, 2668, 1896, 67, 19499, 2187, 374, 3719, 309, 943, 67, 19499, 471, 261, 1897, 12, 2890, 18, 588, 67, 7813, 87, 10756, 1545, 943, 67, 19499, 4672, 1002, 1185, 2668, 10703, 4906, 23011, 12234, 261, 5946, 315, 1896, 67, 19499, 6, 642, 569, 2506, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 7813, 12, 2890, 16, 302, 4672, 943, 67, 19499, 273, 509, 12, 2890, 18, 588, 67, 8920, 2668, 1896, 67, 19499, 2187, 374, 3719, 309, 943, 67, 19499, 471, 261, 1897, 12, 2890, 18, 588, 67, 7813, 87, 10756, 1545, 943, 67, 19499, 4672, 1002, 1185, 2668, 10703, 4906, 23011, 12234, 261, 5946, 315, 1896, 67, 19499, 6, 642, 569, 2506, 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 ]
path = gnomevfs.get_local_path_from_uri(item.get_uri())
path = realpath(gnomevfs.get_local_path_from_uri(item.get_uri()))
def get_background_items(self, window, item): """ Menu activated on entering a directory. Builds context menu for File menu and for window background. @type window: NautilusNavigationWindow @param window: @type item: NautilusVFSFile @param item: @rtype: list of MenuItems @return: The context menu entries to add to the menu. """ if not item.get_uri().startswith("file://"): return path = gnomevfs.get_local_path_from_uri(item.get_uri()) setcwd(os.path.split(path)[0]) self.nautilusVFSFile_table[path] = item return MainContextMenu([path], self).construct_menu()
3e52df1110523c743b8fffdc71032c706f762465 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5119/3e52df1110523c743b8fffdc71032c706f762465/NautilusSvn.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 9342, 67, 3319, 12, 2890, 16, 2742, 16, 761, 4672, 225, 3536, 9809, 14892, 603, 19014, 279, 1867, 18, 3998, 87, 819, 3824, 364, 1387, 3824, 471, 364, 2742, 5412, 18, 225, 632, 723, 282, 2742, 30, 16350, 1367, 407, 14301, 3829, 632, 891, 225, 2742, 30, 225, 632, 723, 282, 761, 30, 282, 16350, 1367, 407, 58, 4931, 812, 632, 891, 225, 761, 30, 225, 632, 86, 723, 30, 540, 666, 434, 9809, 3126, 632, 2463, 30, 3639, 1021, 819, 3824, 3222, 358, 527, 358, 326, 3824, 18, 225, 3536, 225, 309, 486, 761, 18, 588, 67, 1650, 7675, 17514, 1918, 2932, 768, 14334, 4672, 327, 589, 273, 9098, 12, 1600, 1742, 90, 2556, 18, 588, 67, 3729, 67, 803, 67, 2080, 67, 1650, 12, 1726, 18, 588, 67, 1650, 1435, 3719, 444, 11089, 12, 538, 18, 803, 18, 4939, 12, 803, 25146, 20, 5717, 225, 365, 18, 6582, 1367, 407, 58, 4931, 812, 67, 2121, 63, 803, 65, 273, 761, 225, 327, 12740, 27315, 3816, 803, 6487, 365, 2934, 10062, 67, 5414, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 9342, 67, 3319, 12, 2890, 16, 2742, 16, 761, 4672, 225, 3536, 9809, 14892, 603, 19014, 279, 1867, 18, 3998, 87, 819, 3824, 364, 1387, 3824, 471, 364, 2742, 5412, 18, 225, 632, 723, 282, 2742, 30, 16350, 1367, 407, 14301, 3829, 632, 891, 225, 2742, 30, 225, 632, 723, 282, 761, 30, 282, 16350, 1367, 407, 58, 4931, 812, 632, 891, 225, 761, 30, 225, 632, 86, 723, 30, 540, 666, 434, 9809, 3126, 632, 2463, 30, 3639, 1021, 819, 3824, 3222, 358, 527, 358, 326, 3824, 18, 225, 3536, 225, 309, 486, 761, 18, 588, 67, 1650, 7675, 17514, 1918, 2932, 768, 14334, 4672, 327, 589, 273, 9098, 12, 1600, 1742, 90, 2556, 18, 2 ]
if (rev in self.commits or (revnum < self.lastrevs.get(self.module, 0))): return
if (rev in self.commits or revnum < to_revnum): return None
def parselogentry(orig_paths, revnum, author, date, message): self.ui.debug("parsing revision %d (%d changes)\n" % (revnum, len(orig_paths)))
1dc7f27002cdbb31b8f5fa4ea02313fc66ff16ee /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11312/1dc7f27002cdbb31b8f5fa4ea02313fc66ff16ee/subversion.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 779, 1786, 717, 4099, 12, 4949, 67, 4481, 16, 5588, 2107, 16, 2869, 16, 1509, 16, 883, 4672, 365, 18, 4881, 18, 4148, 2932, 24979, 6350, 738, 72, 6142, 72, 3478, 5153, 82, 6, 738, 261, 9083, 2107, 16, 562, 12, 4949, 67, 4481, 20349, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 779, 1786, 717, 4099, 12, 4949, 67, 4481, 16, 5588, 2107, 16, 2869, 16, 1509, 16, 883, 4672, 365, 18, 4881, 18, 4148, 2932, 24979, 6350, 738, 72, 6142, 72, 3478, 5153, 82, 6, 738, 261, 9083, 2107, 16, 562, 12, 4949, 67, 4481, 20349, 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 ]
st.append("%02X"%(int(str(M[x,y].int_repr()))))
st.append("%02X"%(int(str(M[x, y].int_repr()))))
def hex_str_vector(self, M): """ Return a one dimensional AES like representation of the matrix M.
62424369e932ac59629cb4d40b7e47ae2a712293 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/62424369e932ac59629cb4d40b7e47ae2a712293/sr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3827, 67, 701, 67, 7737, 12, 2890, 16, 490, 4672, 3536, 2000, 279, 1245, 17469, 15986, 3007, 4335, 434, 326, 3148, 490, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3827, 67, 701, 67, 7737, 12, 2890, 16, 490, 4672, 3536, 2000, 279, 1245, 17469, 15986, 3007, 4335, 434, 326, 3148, 490, 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 ]
Interval.__init__(self, name, duration)
Interval.__init__(self, name, self.duration)
def __init__(self, node, startPos = None, endPos = None, duration = None, startVel = None, endZ = None, gravityMult = None, name = None): """ You may specify several different sets of input parameters. (If startPos is not provided, it will be obtained from the node.) # go from startPos to endPos in duration seconds startPos, endPos, duration # given a starting velocity, go for a specific time period startPos, startVel, duration # given a starting velocity, go until you hit a given Z plane (TODO) startPos, startVel, endZ You may alter gravity by providing a multiplier in 'gravityMult'. '2.' will make gravity twice as strong, '.5' twice as weak. '-1.' will reverse gravity """ self.node = node
ca6e9716d8ec52f509566e08cd7787d4ab72c732 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8543/ca6e9716d8ec52f509566e08cd7787d4ab72c732/ProjectileInterval.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 756, 16, 16013, 273, 599, 16, 19809, 273, 599, 16, 3734, 273, 599, 16, 787, 58, 292, 273, 599, 16, 679, 62, 273, 599, 16, 26189, 5049, 273, 599, 16, 508, 273, 599, 4672, 3536, 4554, 2026, 4800, 11392, 3775, 1678, 434, 810, 1472, 18, 261, 2047, 16013, 353, 486, 2112, 16, 518, 903, 506, 12700, 628, 326, 756, 12998, 225, 468, 1960, 628, 16013, 358, 19809, 316, 3734, 3974, 16013, 16, 19809, 16, 3734, 468, 864, 279, 5023, 14767, 16, 1960, 364, 279, 2923, 813, 3879, 16013, 16, 787, 58, 292, 16, 3734, 468, 864, 279, 5023, 14767, 16, 1960, 3180, 1846, 6800, 279, 864, 2285, 11017, 261, 6241, 13, 16013, 16, 787, 58, 292, 16, 679, 62, 225, 4554, 2026, 10182, 26189, 635, 17721, 279, 15027, 316, 296, 2752, 16438, 5049, 10332, 296, 22, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 756, 16, 16013, 273, 599, 16, 19809, 273, 599, 16, 3734, 273, 599, 16, 787, 58, 292, 273, 599, 16, 679, 62, 273, 599, 16, 26189, 5049, 273, 599, 16, 508, 273, 599, 4672, 3536, 4554, 2026, 4800, 11392, 3775, 1678, 434, 810, 1472, 18, 261, 2047, 16013, 353, 486, 2112, 16, 518, 903, 506, 12700, 628, 326, 756, 12998, 225, 468, 1960, 628, 16013, 358, 19809, 316, 3734, 3974, 16013, 16, 19809, 16, 3734, 468, 864, 279, 5023, 14767, 16, 1960, 364, 279, 2923, 813, 3879, 16013, 16, 787, 58, 292, 16, 3734, 468, 864, 279, 5023, 14767, 16, 1960, 3180, 1846, 6800, 279, 864, 2285, 11017, 261, 6241, 13, 16013, 2 ]
if self.getNewFlavor():
if not self.getNewFlavor().isEmpty():
def depformat(name, dep, f): f.write('\t%s: %s\n' %(name, str(dep).replace('\n', '\n\t%s' %(' '* (len(name)+2)))))
16c7d8d09535ba6a109bdcfdd00a820bbb0535cf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/16c7d8d09535ba6a109bdcfdd00a820bbb0535cf/trove.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5993, 2139, 12, 529, 16, 5993, 16, 284, 4672, 284, 18, 2626, 2668, 64, 88, 9, 87, 30, 738, 87, 64, 82, 11, 8975, 529, 16, 609, 12, 15037, 2934, 2079, 2668, 64, 82, 2187, 2337, 82, 64, 88, 9, 87, 11, 738, 2668, 14609, 261, 1897, 12, 529, 27921, 22, 3719, 20349, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5993, 2139, 12, 529, 16, 5993, 16, 284, 4672, 284, 18, 2626, 2668, 64, 88, 9, 87, 30, 738, 87, 64, 82, 11, 8975, 529, 16, 609, 12, 15037, 2934, 2079, 2668, 64, 82, 2187, 2337, 82, 64, 88, 9, 87, 11, 738, 2668, 14609, 261, 1897, 12, 529, 27921, 22, 3719, 20349, 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 ]
logger.debug("Override encoding of template to %s" % self.encoding)
if self.encoding != 'ascii': logger.debug("Override encoding of %s TGenshi template to %s" % (self.name, self.encoding))
def bind_entry(self, entry, metadata): '''Build literal file information''' fname = entry.get('realname', entry.get('name')) try: stream = self.template.generate( \ name=fname, metadata=metadata, path=self.name, properties=self.properties).filter(removecomment) if isinstance(self.template, TextTemplate): textdata = stream.render('text') if type(textdata) == unicode: entry.text = textdata else: logger.debug("Override encoding of template to %s" % self.encoding) entry.text = unicode(textdata, self.encoding) else: xmldata = stream.render('xml') if type(xmldata) == unicode: entry.text = xmldata else: logger.debug("Override encoding of template to %s" % self.encoding) entry.text = unicode(xmldata, self.encoding) except TemplateError, terror: logger.error('Genshi template error: %s' % terror) raise Bcfg2.Server.Plugin.PluginExecutionError
ad6ac403ada75067c3858d19f16be97ef971c84d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11867/ad6ac403ada75067c3858d19f16be97ef971c84d/TGenshi.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1993, 67, 4099, 12, 2890, 16, 1241, 16, 1982, 4672, 9163, 3116, 7158, 585, 1779, 26418, 5299, 273, 1241, 18, 588, 2668, 7688, 529, 2187, 1241, 18, 588, 2668, 529, 26112, 775, 30, 1407, 273, 365, 18, 3202, 18, 7163, 12, 521, 508, 33, 12749, 16, 1982, 33, 4165, 16, 589, 33, 2890, 18, 529, 16, 1790, 33, 2890, 18, 4738, 2934, 2188, 12, 4479, 3469, 13, 309, 1549, 12, 2890, 18, 3202, 16, 3867, 2283, 4672, 977, 892, 273, 1407, 18, 5902, 2668, 955, 6134, 309, 618, 12, 955, 892, 13, 422, 5252, 30, 1241, 18, 955, 273, 977, 892, 469, 30, 309, 365, 18, 5999, 480, 296, 9184, 4278, 1194, 18, 4148, 2932, 6618, 2688, 434, 738, 87, 399, 7642, 674, 77, 1542, 358, 738, 87, 6, 738, 261, 2890, 18, 529, 16, 365, 18, 5999, 3719, 1241, 18, 955, 273, 5252, 12, 955, 892, 16, 365, 18, 5999, 13, 469, 30, 2025, 892, 273, 1407, 18, 5902, 2668, 2902, 6134, 309, 618, 12, 2902, 892, 13, 422, 5252, 30, 1241, 18, 955, 273, 2025, 892, 469, 30, 309, 365, 18, 5999, 480, 296, 9184, 4278, 1194, 18, 4148, 2932, 6618, 2688, 434, 738, 87, 399, 7642, 674, 77, 1542, 358, 738, 87, 6, 738, 261, 2890, 18, 529, 16, 365, 18, 5999, 3719, 1241, 18, 955, 273, 5252, 12, 2902, 892, 16, 365, 18, 5999, 13, 1335, 5035, 668, 16, 268, 1636, 30, 1194, 18, 1636, 2668, 7642, 674, 77, 1542, 555, 30, 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, 1993, 67, 4099, 12, 2890, 16, 1241, 16, 1982, 4672, 9163, 3116, 7158, 585, 1779, 26418, 5299, 273, 1241, 18, 588, 2668, 7688, 529, 2187, 1241, 18, 588, 2668, 529, 26112, 775, 30, 1407, 273, 365, 18, 3202, 18, 7163, 12, 521, 508, 33, 12749, 16, 1982, 33, 4165, 16, 589, 33, 2890, 18, 529, 16, 1790, 33, 2890, 18, 4738, 2934, 2188, 12, 4479, 3469, 13, 309, 1549, 12, 2890, 18, 3202, 16, 3867, 2283, 4672, 977, 892, 273, 1407, 18, 5902, 2668, 955, 6134, 309, 618, 12, 955, 892, 13, 422, 5252, 30, 1241, 18, 955, 273, 977, 892, 469, 30, 309, 365, 18, 5999, 480, 296, 9184, 4278, 1194, 18, 4148, 2932, 6618, 2688, 434, 2 ]
edgesCurveObject = UnconnectedLinesCurve(self, QPen(QColor(224,224,224)), self.xData, self.yData)
edgesCurveObject = UnconnectedLinesCurve(self, QPen(QColor(192,192,192)), self.xData, self.yData)
def updateData(self): self.removeDrawingCurves(removeLegendItems = 0) self.removeMarkers() self.tips.removeAll() self.xData = [] self.yData = [] edgesCount = 0 # draw edges for e in range(self.nEdges): (key,i,j) = self.edges[e] x1 = self.visualizer.xCoors[i] x2 = self.visualizer.xCoors[j] y1 = self.visualizer.yCoors[i] y2 = self.visualizer.yCoors[j] fillColor = Qt.blue#self.discPalette[classValueIndices[self.rawdata[i].getclass().value], 255*insideData[j]] edgeColor = Qt.blue#self.discPalette[classValueIndices[self.rawdata[i].getclass().value]]
1555c438c2f1bad035c168abae34e16c922522a8 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6366/1555c438c2f1bad035c168abae34e16c922522a8/OWGraphDrawerCanvas.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 751, 12, 2890, 4672, 365, 18, 4479, 26885, 2408, 3324, 12, 4479, 16812, 3126, 273, 374, 13, 365, 18, 4479, 21644, 1435, 365, 18, 88, 7146, 18, 4479, 1595, 1435, 225, 365, 18, 92, 751, 273, 5378, 365, 18, 93, 751, 273, 5378, 5231, 1380, 273, 374, 225, 468, 3724, 5231, 364, 425, 316, 1048, 12, 2890, 18, 82, 10697, 4672, 261, 856, 16, 77, 16, 78, 13, 273, 365, 18, 8746, 63, 73, 65, 225, 619, 21, 273, 365, 18, 26671, 1824, 18, 92, 4249, 1383, 63, 77, 65, 619, 22, 273, 365, 18, 26671, 1824, 18, 92, 4249, 1383, 63, 78, 65, 677, 21, 273, 365, 18, 26671, 1824, 18, 93, 4249, 1383, 63, 77, 65, 677, 22, 273, 365, 18, 26671, 1824, 18, 93, 4249, 1383, 63, 78, 65, 225, 3636, 2957, 273, 7354, 18, 14081, 7, 2890, 18, 2251, 71, 25863, 63, 1106, 620, 8776, 63, 2890, 18, 1899, 892, 63, 77, 8009, 588, 1106, 7675, 1132, 6487, 4561, 14, 28091, 751, 63, 78, 13563, 3591, 2957, 273, 7354, 18, 14081, 7, 2890, 18, 2251, 71, 25863, 63, 1106, 620, 8776, 63, 2890, 18, 1899, 892, 63, 77, 8009, 588, 1106, 7675, 1132, 13563, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 751, 12, 2890, 4672, 365, 18, 4479, 26885, 2408, 3324, 12, 4479, 16812, 3126, 273, 374, 13, 365, 18, 4479, 21644, 1435, 365, 18, 88, 7146, 18, 4479, 1595, 1435, 225, 365, 18, 92, 751, 273, 5378, 365, 18, 93, 751, 273, 5378, 5231, 1380, 273, 374, 225, 468, 3724, 5231, 364, 425, 316, 1048, 12, 2890, 18, 82, 10697, 4672, 261, 856, 16, 77, 16, 78, 13, 273, 365, 18, 8746, 63, 73, 65, 225, 619, 21, 273, 365, 18, 26671, 1824, 18, 92, 4249, 1383, 63, 77, 65, 619, 22, 273, 365, 18, 26671, 1824, 18, 92, 4249, 1383, 63, 78, 65, 677, 21, 273, 365, 18, 26671, 1824, 18, 93, 4249, 1383, 63, 77, 2 ]
newnode.append(contnode) else: newnode.append(contnode.__class__(dispname, dispname))
dispname = target newnode.append(contnode.__class__(dispname, dispname))
def missing_reference(app, env, node, contnode): """Attempt to resolve a missing reference via intersphinx references.""" domain = node.get('refdomain') if not domain: # only objects in domains are in the inventory return target = node['reftarget'] objtypes = env.domains[domain].objtypes_for_role(node['reftype']) if not objtypes: return objtypes = ['%s:%s' % (domain, objtype) for objtype in objtypes] to_try = [(env.intersphinx_inventory, target)] if ':' in target: # first part may be the foreign doc set name setname, newtarget = target.split(':', 1) if setname in env.intersphinx_named_inventory: to_try.append((env.intersphinx_named_inventory[setname], newtarget)) for inventory, target in to_try: for objtype in objtypes: if objtype not in inventory or target not in inventory[objtype]: continue proj, version, uri, dispname = inventory[objtype][target] newnode = nodes.reference('', '', internal=False, refuri=uri, reftitle='(in %s v%s)' % (proj, version)) if dispname == '-': newnode.append(contnode) else: newnode.append(contnode.__class__(dispname, dispname)) return newnode
bf71b0b2fad1a802d0cb4a23aa9dfa568fbd9393 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5532/bf71b0b2fad1a802d0cb4a23aa9dfa568fbd9393/intersphinx.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3315, 67, 6180, 12, 2910, 16, 1550, 16, 756, 16, 466, 2159, 4672, 3536, 7744, 358, 2245, 279, 3315, 2114, 3970, 1554, 87, 15922, 5351, 12123, 2461, 273, 756, 18, 588, 2668, 1734, 4308, 6134, 309, 486, 2461, 30, 468, 1338, 2184, 316, 10128, 854, 316, 326, 13086, 327, 1018, 273, 756, 3292, 266, 1222, 826, 3546, 1081, 2352, 273, 1550, 18, 14180, 63, 4308, 8009, 2603, 2352, 67, 1884, 67, 4615, 12, 2159, 3292, 1734, 723, 19486, 309, 486, 1081, 2352, 30, 327, 1081, 2352, 273, 10228, 9, 87, 5319, 87, 11, 738, 261, 4308, 16, 1081, 723, 13, 364, 1081, 723, 316, 1081, 2352, 65, 358, 67, 698, 273, 306, 12, 3074, 18, 2761, 87, 15922, 67, 26024, 16, 1018, 25887, 309, 3921, 316, 1018, 30, 468, 1122, 1087, 2026, 506, 326, 5523, 997, 444, 508, 444, 529, 16, 394, 3299, 273, 1018, 18, 4939, 2668, 30, 2187, 404, 13, 309, 444, 529, 316, 1550, 18, 2761, 87, 15922, 67, 13188, 67, 26024, 30, 358, 67, 698, 18, 6923, 12443, 3074, 18, 2761, 87, 15922, 67, 13188, 67, 26024, 63, 542, 529, 6487, 394, 3299, 3719, 364, 13086, 16, 1018, 316, 358, 67, 698, 30, 364, 1081, 723, 316, 1081, 2352, 30, 309, 1081, 723, 486, 316, 13086, 578, 1018, 486, 316, 13086, 63, 2603, 723, 14542, 1324, 10296, 16, 1177, 16, 2003, 16, 16232, 529, 273, 13086, 63, 2603, 723, 6362, 3299, 65, 29267, 273, 2199, 18, 6180, 2668, 2187, 10226, 2713, 33, 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, 3315, 67, 6180, 12, 2910, 16, 1550, 16, 756, 16, 466, 2159, 4672, 3536, 7744, 358, 2245, 279, 3315, 2114, 3970, 1554, 87, 15922, 5351, 12123, 2461, 273, 756, 18, 588, 2668, 1734, 4308, 6134, 309, 486, 2461, 30, 468, 1338, 2184, 316, 10128, 854, 316, 326, 13086, 327, 1018, 273, 756, 3292, 266, 1222, 826, 3546, 1081, 2352, 273, 1550, 18, 14180, 63, 4308, 8009, 2603, 2352, 67, 1884, 67, 4615, 12, 2159, 3292, 1734, 723, 19486, 309, 486, 1081, 2352, 30, 327, 1081, 2352, 273, 10228, 9, 87, 5319, 87, 11, 738, 261, 4308, 16, 1081, 723, 13, 364, 1081, 723, 316, 1081, 2352, 65, 358, 67, 698, 273, 306, 12, 3074, 18, 2761, 87, 15922, 2 ]
fs = fs.decode(stream.encoding)
ufs = fs.decode(stream.encoding)
def emit(self, record): """ Emit a record.
dc323b1e942a87d12db8e101bb735470f6743b07 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12029/dc323b1e942a87d12db8e101bb735470f6743b07/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3626, 12, 2890, 16, 1409, 4672, 3536, 16008, 279, 1409, 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, 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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 if self._p_jar.db is not Globals.Bobobase._jar.db: raise 'Version Error', ( '''You may not change the database cache size while working in a <em>version</em>''') self._cache_size=Globals.Bobobase._jar.cache.cache_size=value
def manage_cache_size(self,value,REQUEST): "set cache size" try: v=self._p_jar.getVersion() except: pass else: if v: self._vcache_size=value self._p_jar.db().setVersionCacheSize(value) else: self._cache_size=value self._p_jar.db().setCacheSize(value) return
6d93a7b72c3e0200f057e85e4a55eac1c82d9241 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/6d93a7b72c3e0200f057e85e4a55eac1c82d9241/CacheManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10680, 67, 2493, 67, 1467, 12, 2890, 16, 1132, 16, 5519, 4672, 315, 542, 1247, 963, 6, 775, 30, 331, 33, 2890, 6315, 84, 67, 11930, 18, 588, 1444, 1435, 1335, 30, 1342, 469, 30, 309, 331, 30, 365, 6315, 90, 2493, 67, 1467, 33, 1132, 365, 6315, 84, 67, 11930, 18, 1966, 7675, 542, 1444, 24019, 12, 1132, 13, 469, 30, 365, 6315, 2493, 67, 1467, 33, 1132, 365, 6315, 84, 67, 11930, 18, 1966, 7675, 542, 24019, 12, 1132, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10680, 67, 2493, 67, 1467, 12, 2890, 16, 1132, 16, 5519, 4672, 315, 542, 1247, 963, 6, 775, 30, 331, 33, 2890, 6315, 84, 67, 11930, 18, 588, 1444, 1435, 1335, 30, 1342, 469, 30, 309, 331, 30, 365, 6315, 90, 2493, 67, 1467, 33, 1132, 365, 6315, 84, 67, 11930, 18, 1966, 7675, 542, 1444, 24019, 12, 1132, 13, 469, 30, 365, 6315, 2493, 67, 1467, 33, 1132, 365, 6315, 84, 67, 11930, 18, 1966, 7675, 542, 24019, 12, 1132, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
time.room = saveRoom(meeting[5] if len(meeting) > 5
time.room = saveRoom(meeting[5] if len(meeting) > 5
def saveSections(groups, course): for groupnum, group in enumerate(groups): for sectInfo in group: section = Section() section.course = course section.sectionnum = sectInfo['num'] section.group = groupnum section.save() for prof in sectInfo['instructor'].split('/'): section.professors.add(saveProfessor(sectInfo['instructor'])) section.save() for meeting in sectInfo['meetings']: for day in meeting[1]: time = MeetingTime() time.section = section time.type = meeting[0] time.day = day (start, end) = timeinfo_to_times(meeting[2], meeting[3], meeting[4]) time.start = start time.end = end time.room = saveRoom(meeting[5] if len(meeting) > 5 else "TBA") time.save()
0fe435bd9d02146203e7296ae17fd11ab25f4c33 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14941/0fe435bd9d02146203e7296ae17fd11ab25f4c33/uploadcourses.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 15965, 12, 4650, 16, 4362, 4672, 364, 1041, 2107, 16, 1041, 316, 4241, 12, 4650, 4672, 364, 29140, 966, 316, 1041, 30, 2442, 273, 10092, 1435, 2442, 18, 5566, 377, 273, 4362, 2442, 18, 3464, 2107, 273, 29140, 966, 3292, 2107, 3546, 2442, 18, 1655, 273, 1041, 2107, 2442, 18, 5688, 1435, 364, 9214, 316, 29140, 966, 3292, 267, 2732, 29489, 4939, 2668, 2473, 4672, 2442, 18, 16121, 403, 1383, 18, 1289, 12, 5688, 27012, 403, 280, 12, 5709, 966, 3292, 267, 2732, 3546, 3719, 2442, 18, 5688, 1435, 225, 364, 18721, 310, 316, 29140, 966, 3292, 3501, 278, 899, 3546, 30, 364, 2548, 316, 18721, 310, 63, 21, 14542, 813, 273, 7499, 21747, 950, 1435, 813, 18, 3464, 273, 2442, 813, 18, 723, 565, 273, 18721, 310, 63, 20, 65, 813, 18, 2881, 377, 273, 2548, 261, 1937, 16, 679, 13, 273, 813, 1376, 67, 869, 67, 8293, 12, 3501, 21747, 63, 22, 6487, 18721, 310, 63, 23, 6487, 18721, 310, 63, 24, 5717, 813, 18, 1937, 282, 273, 787, 813, 18, 409, 377, 273, 679, 813, 18, 13924, 565, 273, 1923, 13646, 12, 3501, 21747, 63, 25, 65, 309, 562, 12, 3501, 21747, 13, 405, 1381, 469, 315, 56, 12536, 7923, 813, 18, 5688, 1435, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1923, 15965, 12, 4650, 16, 4362, 4672, 364, 1041, 2107, 16, 1041, 316, 4241, 12, 4650, 4672, 364, 29140, 966, 316, 1041, 30, 2442, 273, 10092, 1435, 2442, 18, 5566, 377, 273, 4362, 2442, 18, 3464, 2107, 273, 29140, 966, 3292, 2107, 3546, 2442, 18, 1655, 273, 1041, 2107, 2442, 18, 5688, 1435, 364, 9214, 316, 29140, 966, 3292, 267, 2732, 29489, 4939, 2668, 2473, 4672, 2442, 18, 16121, 403, 1383, 18, 1289, 12, 5688, 27012, 403, 280, 12, 5709, 966, 3292, 267, 2732, 3546, 3719, 2442, 18, 5688, 1435, 225, 364, 18721, 310, 316, 29140, 966, 3292, 3501, 278, 899, 3546, 30, 364, 2548, 316, 18721, 310, 63, 21, 14542, 813, 273, 7499, 21747, 950, 1435, 813, 2 ]
if new_edge > edge:
if new_edge >= edge:
def _match_right (self, current_geo, possible_geo, best_geo): '''We want to find terminals that are fully to the right of the right-side border, but closest in the x direction, breaking ties via the closest cursor y position.''' #print "matching right..." # right-side edge of the current terminal edge = current_geo['origin_x']+current_geo['span_x'] # left-side edge of the possible target new_edge = possible_geo['origin_x'] #print "edge: %d new_edge: %d" % (edge, new_edge)
10a464c2d3c0c95e1f43f0d4fb4a4b4ab4ed08b2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6502/10a464c2d3c0c95e1f43f0d4fb4a4b4ab4ed08b2/terminator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1916, 67, 4083, 261, 2890, 16, 783, 67, 12376, 16, 3323, 67, 12376, 16, 3796, 67, 12376, 4672, 9163, 3218, 2545, 358, 1104, 16122, 1031, 716, 854, 7418, 358, 326, 2145, 434, 326, 2145, 17, 5564, 5795, 16, 1496, 9219, 316, 326, 619, 4068, 16, 24412, 268, 606, 3970, 326, 9219, 3347, 677, 1754, 1093, 6309, 468, 1188, 315, 16271, 2145, 7070, 468, 2145, 17, 5564, 3591, 434, 326, 783, 8651, 3591, 273, 783, 67, 12376, 3292, 10012, 67, 92, 3546, 15, 2972, 67, 12376, 3292, 3969, 67, 92, 3546, 468, 2002, 17, 5564, 3591, 434, 326, 3323, 1018, 394, 67, 7126, 273, 3323, 67, 12376, 3292, 10012, 67, 92, 3546, 468, 1188, 315, 7126, 30, 738, 72, 394, 67, 7126, 30, 738, 72, 6, 738, 261, 7126, 16, 394, 67, 7126, 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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67, 12376, 4672, 9163, 3218, 2545, 358, 1104, 16122, 1031, 716, 854, 7418, 358, 326, 2145, 434, 326, 2145, 17, 5564, 5795, 16, 1496, 9219, 316, 326, 619, 4068, 16, 24412, 268, 606, 3970, 326, 9219, 3347, 677, 1754, 1093, 6309, 468, 1188, 315, 16271, 2145, 7070, 468, 2145, 17, 5564, 3591, 434, 326, 783, 8651, 3591, 273, 783, 67, 12376, 3292, 10012, 67, 92, 3546, 15, 2972, 67, 12376, 3292, 3969, 67, 92, 3546, 468, 2002, 17, 5564, 3591, 434, 326, 3323, 1018, 394, 67, 7126, 273, 3323, 67, 12376, 3292, 10012, 67, 92, 3546, 468, 1188, 315, 7126, 30, 738, 2 ]
self.client.db.security.hasPermission = lambda a,b,c: True
self.client.db.security.hasPermission = lambda *args, **kwargs: True
def testCorrectLogin(self): self.client.db.security.hasPermission = lambda a,b,c: True
d9b97716a39025bf48047fde83911de0fb5cd15e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1906/d9b97716a39025bf48047fde83911de0fb5cd15e/test_actions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 16147, 5358, 12, 2890, 4672, 365, 18, 2625, 18, 1966, 18, 7462, 18, 5332, 5041, 273, 3195, 279, 16, 70, 16, 71, 30, 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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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, 16147, 5358, 12, 2890, 4672, 365, 18, 2625, 18, 1966, 18, 7462, 18, 5332, 5041, 273, 3195, 279, 16, 70, 16, 71, 30, 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 ]
httpd = TCPServer(('127.0.0.1', _http_port), HTTPRequestHandler)
while True : try : httpd = TCPServer(('127.0.0.1', _http_port), HTTPRequestHandler) break except socket.error, e : if e[0] == 98 : logging.warning("%s/webadmin: socket alreadyin use. waiting 5 seconds." % pname) time.sleep(5) else : logging.error("%s/webadmin: socket error %s." % (pname, e)) return
def fork_http_server() : try: if os.fork() == 0 : # FIXME: drop_privileges() → become setuid('licorn:licorn') open(wpid_path,'w').write("%s\n" % os.getpid()) process.set_name('%s/webadmin' % pname) logging.progress("%s/webadmin: starting (pid %d)." % (pname, os.getpid())) httpd = TCPServer(('127.0.0.1', _http_port), HTTPRequestHandler) httpd.serve_forever() except OSError, e: logging.error("%s/webadmin: fork failed: errno %d (%s)." % (pname, e.errno, e.strerror)) except socket.error, e : logging.error("%s/webadmin: socket error %s." % (pname, e)) except KeyboardInterrupt : logging.warning('%s/webadmin: terminating on interrupt signal.' % pname) raise SystemExit
80798a2d55860e49f654c6effbffdb873b80102c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7650/80798a2d55860e49f654c6effbffdb873b80102c/internals.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12515, 67, 2505, 67, 3567, 1435, 294, 775, 30, 309, 1140, 18, 23335, 1435, 422, 374, 294, 468, 9852, 30, 3640, 67, 28459, 2852, 1435, 225, 163, 233, 245, 12561, 444, 1911, 2668, 80, 335, 14245, 30, 80, 335, 14245, 6134, 225, 1696, 12, 91, 6610, 67, 803, 11189, 91, 16063, 2626, 27188, 87, 64, 82, 6, 738, 1140, 18, 588, 6610, 10756, 1207, 18, 542, 67, 529, 29909, 87, 19, 4875, 3666, 11, 738, 19952, 13, 2907, 18, 8298, 27188, 87, 19, 4875, 3666, 30, 5023, 261, 6610, 738, 72, 14944, 738, 261, 84, 529, 16, 1140, 18, 588, 6610, 1435, 3719, 1323, 1053, 294, 775, 294, 1062, 72, 273, 9911, 2081, 12, 2668, 14260, 18, 20, 18, 20, 18, 21, 2187, 389, 2505, 67, 655, 3631, 25238, 1503, 13, 898, 1335, 2987, 18, 1636, 16, 425, 294, 309, 425, 63, 20, 65, 422, 24645, 294, 2907, 18, 8551, 27188, 87, 19, 4875, 3666, 30, 2987, 1818, 267, 999, 18, 7336, 1381, 3974, 1199, 738, 19952, 13, 813, 18, 19607, 12, 25, 13, 469, 294, 2907, 18, 1636, 27188, 87, 19, 4875, 3666, 30, 2987, 555, 738, 87, 1199, 738, 261, 84, 529, 16, 425, 3719, 327, 1062, 72, 18, 30104, 67, 1405, 502, 1435, 1335, 10002, 16, 425, 30, 2907, 18, 1636, 27188, 87, 19, 4875, 3666, 30, 12515, 2535, 30, 8402, 738, 72, 6142, 87, 14944, 738, 261, 84, 529, 16, 425, 18, 19088, 16, 425, 18, 701, 1636, 3719, 1335, 2987, 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, 12515, 67, 2505, 67, 3567, 1435, 294, 775, 30, 309, 1140, 18, 23335, 1435, 422, 374, 294, 468, 9852, 30, 3640, 67, 28459, 2852, 1435, 225, 163, 233, 245, 12561, 444, 1911, 2668, 80, 335, 14245, 30, 80, 335, 14245, 6134, 225, 1696, 12, 91, 6610, 67, 803, 11189, 91, 16063, 2626, 27188, 87, 64, 82, 6, 738, 1140, 18, 588, 6610, 10756, 1207, 18, 542, 67, 529, 29909, 87, 19, 4875, 3666, 11, 738, 19952, 13, 2907, 18, 8298, 27188, 87, 19, 4875, 3666, 30, 5023, 261, 6610, 738, 72, 14944, 738, 261, 84, 529, 16, 1140, 18, 588, 6610, 1435, 3719, 1323, 1053, 294, 775, 294, 1062, 72, 273, 9911, 2081, 12, 2668, 14260, 18, 20, 2 ]
def __init__(self, worksheet_name): self.name = worksheet_name self.worksheet = notebook.get_worksheet_with_name(worksheet_name)
def __init__(self, name): self.name = name try: self.worksheet = notebook.get_worksheet_with_id(name) except KeyError: self.worksheet = notebook.create_new_worksheet(name)
def __init__(self, worksheet_name): self.name = worksheet_name self.worksheet = notebook.get_worksheet_with_name(worksheet_name)
4c7bcd9d8bd55210ea8607271d6d96f158f400a8 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/4c7bcd9d8bd55210ea8607271d6d96f158f400a8/twist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 13622, 67, 529, 4672, 365, 18, 529, 273, 13622, 67, 529, 365, 18, 1252, 8118, 273, 14718, 18, 588, 67, 1252, 8118, 67, 1918, 67, 529, 12, 1252, 8118, 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, 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, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
sage: K.hilbert_class_polynomial()
sage: K.hilbert_class_field_defining_polynomial()
def hilbert_class_polynomial(self): r""" Returns a polynomial over $\QQ$ whose roots generate the Hilbert class field of this quadratic field.
2a259e3659e2fbb631c618303984449cc23e8057 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/2a259e3659e2fbb631c618303984449cc23e8057/number_field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 366, 330, 25925, 67, 1106, 67, 3915, 13602, 12, 2890, 4672, 436, 8395, 2860, 279, 16991, 1879, 271, 64, 53, 53, 8, 8272, 12876, 2103, 326, 670, 330, 25925, 667, 652, 434, 333, 26146, 652, 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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67, 1106, 67, 3915, 13602, 12, 2890, 4672, 436, 8395, 2860, 279, 16991, 1879, 271, 64, 53, 53, 8, 8272, 12876, 2103, 326, 670, 330, 25925, 667, 652, 434, 333, 26146, 652, 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 ]
test(tests)
def calltip_show(self, event): self.calltip.showtip("Hello world") def calltip_hide(self, event): self.calltip.hidetip() def main(): c=container() if __name__=='__main__': main()
def test( tests ): failed=[] for t in tests: if get_arg_text(t) != t.__doc__: failed.append(t) print "%s - expected %s, but got %s" % (t, `t.__doc__`, `get_arg_text(t)`) print "%d of %d tests failed" % (len(failed), len(tests))
85b973576887f174f4f12fa643eeb232dba2be66 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/85b973576887f174f4f12fa643eeb232dba2be66/CallTipWindow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 12, 7434, 262, 30, 2535, 33, 8526, 364, 268, 316, 7434, 30, 309, 336, 67, 3175, 67, 955, 12, 88, 13, 480, 268, 16186, 2434, 972, 30, 2535, 18, 6923, 12, 88, 13, 1172, 2213, 87, 300, 2665, 738, 87, 16, 1496, 2363, 738, 87, 6, 738, 261, 88, 16, 1375, 88, 16186, 2434, 972, 9191, 1375, 588, 67, 3175, 67, 955, 12, 88, 22025, 13, 1172, 2213, 72, 434, 738, 72, 7434, 2535, 6, 738, 261, 1897, 12, 7307, 3631, 562, 12, 16341, 3719, 2, 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, 1842, 12, 7434, 262, 30, 2535, 33, 8526, 364, 268, 316, 7434, 30, 309, 336, 67, 3175, 67, 955, 12, 88, 13, 480, 268, 16186, 2434, 972, 30, 2535, 18, 6923, 12, 88, 13, 1172, 2213, 87, 300, 2665, 738, 87, 16, 1496, 2363, 738, 87, 6, 738, 261, 88, 16, 1375, 88, 16186, 2434, 972, 9191, 1375, 588, 67, 3175, 67, 955, 12, 88, 22025, 13, 1172, 2213, 72, 434, 738, 72, 7434, 2535, 6, 738, 261, 1897, 12, 7307, 3631, 562, 12, 16341, 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 ]
ParseDbg.add("parse_expression, start buffer: \"%s\"" % self.buffer) match = re_start_fun.match(self.buffer)
self.pdbg("parse_expression, start buffer: \"%s\"" % self.buffer) match = re_fun.match(self.buffer)
def parse_expression(self, prune=False): self.buffer = self.buffer.strip() if self.buffer == "": if self.readline(): if re_rule.match(self.buffer): ParseDbg.add("parse_expression new line started new rule, returning None") return(None, None) self.buffer = self.buffer.strip() else: ParseDbg.add("parse_expression EOF, returning None") return(None, None) ParseDbg.add("parse_expression, start buffer: \"%s\"" % self.buffer) match = re_start_fun.match(self.buffer) if match: fun = match.group(1).upper() if fun == "DESC": ParseDbg.add("parse_expression calling parse_desc()") return(self.parse_desc()) elif fun == "VER": ParseDbg.add("parse_expression calling parse_ver()") return(self.parse_ver()) # otherwise it's a boolean function ... ParseDbg.add("parse_expression parsing expression: \"%s\"" % self.buffer) p = match.span(0)[1] self.buffer = self.buffer[p:] ParseDbg.add("fun = %s" % fun) vals = [] exprs = [] bool_end = re_end_fun.match(self.buffer) ParseDbg.add("self.buffer 1 =\"%s\"" % self.buffer) while not bool_end: (bool, expr) = self.parse_expression(prune) exprs.append(expr) vals.append(bool) ParseDbg.add("self.buffer 2 =\"%s\"" % self.buffer) bool_end = re_end_fun.match(self.buffer) pos = bool_end.span(0)[1] self.buffer = self.buffer[pos:] ParseDbg.add("self.buffer 3 =\"%s\"" % self.buffer) if fun == "ALL": # prune out uninteresting expressions from ANY results exprs = [e for e in exprs if not(isinstance(e, list) and e == [])] return(all(vals), exprs[0] if len(exprs) == 1 else ["ALL"] + exprs) if fun == "ANY": # prune out uninteresting expressions from ANY results if prune: exprs = [e for e in exprs if not(isinstance(e, str) and e[0:8] == "MISSING(")] return(any(vals), exprs[0] if len(exprs) == 1 else ["ANY"] + exprs) if fun == "NOT": return(not(all(vals)), ["NOT"] + exprs) else: # should not be reached due to match on re_start_fun Msg.add(_["Program Error: %s: expected Boolean function (ALL, ANY, NOT): \"%s\""] % (self.where(), buff)) return(None, None) ParseDbg.add("parse_expression NOTREACHED") else: ParseDbg.add("parse_expression parsing plugin: \"%s\"" % self.buffer) (exists, p) = self.parse_plugin_name() if exists != None and p != None: p = C.truename(p) if exists else ("MISSING(%s)" % C.truename(p)) return(exists, p) ParseDbg.add("parse_expression NOTREACHED(2)")
57b9dbd56a9e011788ef60900e9a91776ddbb48d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2827/57b9dbd56a9e011788ef60900e9a91776ddbb48d/mlox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 8692, 12, 2890, 16, 13293, 33, 8381, 4672, 365, 18, 4106, 273, 365, 18, 4106, 18, 6406, 1435, 309, 365, 18, 4106, 422, 1408, 30, 309, 365, 18, 896, 1369, 13332, 309, 283, 67, 5345, 18, 1916, 12, 2890, 18, 4106, 4672, 2884, 4331, 75, 18, 1289, 2932, 2670, 67, 8692, 394, 980, 5746, 394, 1720, 16, 5785, 599, 7923, 327, 12, 7036, 16, 599, 13, 365, 18, 4106, 273, 365, 18, 4106, 18, 6406, 1435, 469, 30, 2884, 4331, 75, 18, 1289, 2932, 2670, 67, 8692, 6431, 16, 5785, 599, 7923, 327, 12, 7036, 16, 599, 13, 365, 18, 17414, 75, 2932, 2670, 67, 8692, 16, 787, 1613, 30, 22049, 87, 8530, 738, 365, 18, 4106, 13, 845, 273, 283, 67, 12125, 18, 1916, 12, 2890, 18, 4106, 13, 309, 845, 30, 9831, 273, 845, 18, 1655, 12, 21, 2934, 5797, 1435, 309, 9831, 422, 315, 10964, 6877, 2884, 4331, 75, 18, 1289, 2932, 2670, 67, 8692, 4440, 1109, 67, 5569, 1435, 7923, 327, 12, 2890, 18, 2670, 67, 5569, 10756, 1327, 9831, 422, 315, 2204, 6877, 2884, 4331, 75, 18, 1289, 2932, 2670, 67, 8692, 4440, 1109, 67, 502, 1435, 7923, 327, 12, 2890, 18, 2670, 67, 502, 10756, 468, 3541, 518, 1807, 279, 1250, 445, 1372, 2884, 4331, 75, 18, 1289, 2932, 2670, 67, 8692, 5811, 2652, 30, 22049, 87, 8530, 738, 365, 18, 4106, 13, 293, 273, 845, 18, 3969, 12, 20, 25146, 21, 65, 365, 18, 4106, 273, 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, 1109, 67, 8692, 12, 2890, 16, 13293, 33, 8381, 4672, 365, 18, 4106, 273, 365, 18, 4106, 18, 6406, 1435, 309, 365, 18, 4106, 422, 1408, 30, 309, 365, 18, 896, 1369, 13332, 309, 283, 67, 5345, 18, 1916, 12, 2890, 18, 4106, 4672, 2884, 4331, 75, 18, 1289, 2932, 2670, 67, 8692, 394, 980, 5746, 394, 1720, 16, 5785, 599, 7923, 327, 12, 7036, 16, 599, 13, 365, 18, 4106, 273, 365, 18, 4106, 18, 6406, 1435, 469, 30, 2884, 4331, 75, 18, 1289, 2932, 2670, 67, 8692, 6431, 16, 5785, 599, 7923, 327, 12, 7036, 16, 599, 13, 365, 18, 17414, 75, 2932, 2670, 67, 8692, 16, 787, 1613, 30, 22049, 87, 8530, 738, 365, 18, 2 ]
q = Queue.Queue(1)
def run(self): self.conf = self.get_conf_dict() #print self.conf
f301a42ec88d17568c5e38c8fe8c40e8d96caaea /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12047/f301a42ec88d17568c5e38c8fe8c40e8d96caaea/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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, 1086, 12, 2890, 4672, 365, 18, 3923, 273, 365, 18, 588, 67, 3923, 67, 1576, 1435, 468, 1188, 365, 18, 3923, 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 ]
if WIN32: command = '"%s"' % command
if WIN32: command = '"%s"' % command
def quote_command(command): print " ".join(command) # Quote the program name, so it works even if it contains spaces command = " ".join(['"%s"' % x for x in command]) if WIN32: # odd, but true: the windows cmd processor can't handle more than # one quoted item per string unless you add quotes around the # whole line. command = '"%s"' % command return command
641b7da821a0c98bf91514ee688d4f4c7b8a24b0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12227/641b7da821a0c98bf91514ee688d4f4c7b8a24b0/ctl.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3862, 67, 3076, 12, 3076, 4672, 1172, 315, 3552, 5701, 12, 3076, 13, 468, 21695, 326, 5402, 508, 16, 1427, 518, 6330, 5456, 309, 518, 1914, 7292, 1296, 273, 315, 3552, 5701, 12, 3292, 28385, 87, 5187, 738, 619, 364, 619, 316, 1296, 5717, 309, 678, 706, 1578, 30, 468, 14800, 16, 1496, 638, 30, 326, 9965, 1797, 6659, 848, 1404, 1640, 1898, 2353, 468, 1245, 9298, 761, 1534, 533, 3308, 1846, 527, 10681, 6740, 326, 468, 7339, 980, 18, 1296, 273, 22563, 87, 5187, 738, 1296, 327, 1296, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3862, 67, 3076, 12, 3076, 4672, 1172, 315, 3552, 5701, 12, 3076, 13, 468, 21695, 326, 5402, 508, 16, 1427, 518, 6330, 5456, 309, 518, 1914, 7292, 1296, 273, 315, 3552, 5701, 12, 3292, 28385, 87, 5187, 738, 619, 364, 619, 316, 1296, 5717, 309, 678, 706, 1578, 30, 468, 14800, 16, 1496, 638, 30, 326, 9965, 1797, 6659, 848, 1404, 1640, 1898, 2353, 468, 1245, 9298, 761, 1534, 533, 3308, 1846, 527, 10681, 6740, 326, 468, 7339, 980, 18, 1296, 273, 22563, 87, 5187, 738, 1296, 327, 1296, 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 ]
rc_entry = [ r'''\Format pdf pdf "PDF (ps2pdf)" P "%%" "" "document"
rc_entry = [r'''\Format pdf pdf "PDF (ps2pdf)" P "%%" "" "document"
def checkFormatEntries(): ''' Check all formats (\Format entries) ''' checkProg('a Tgif viewer and editor', ['tgif'], rc_entry = [ r'\Format tgif obj Tgif "" "%%" "%%" ""']) # checkProg('a FIG viewer and editor', ['xfig'], rc_entry = [ r'\Format fig fig FIG "" "%%" "%%" ""'] ) # checkProg('a Grace viewer and editor', ['xmgrace'], rc_entry = [ r'\Format agr agr Grace "" "%%" "%%" ""'] ) # checkProg('a FEN viewer and editor', ['xboard -lpf $$i -mode EditPosition'], rc_entry = [ r'\Format fen fen FEN "" "%%" "%%" ""' ]) # path, iv = checkProg('a raster image viewer', ['xv', 'kview', 'gimp']) path, ie = checkProg('a raster image editor', ['gimp']) addToRC(r'''\Format bmp bmp BMP "" "%s" "%s" ""
d5443737342903de489d527802cd2cdd38987d74 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7514/d5443737342903de489d527802cd2cdd38987d74/configure.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 1630, 5400, 13332, 9163, 2073, 777, 6449, 17938, 1630, 3222, 13, 9163, 866, 626, 75, 2668, 69, 399, 13905, 14157, 471, 4858, 2187, 10228, 88, 13905, 17337, 4519, 67, 4099, 273, 306, 436, 8314, 1630, 268, 13905, 4202, 1081, 377, 399, 13905, 10402, 1408, 2213, 16407, 202, 6, 11438, 6, 202, 3660, 19486, 468, 866, 626, 75, 2668, 69, 478, 3047, 14157, 471, 4858, 2187, 10228, 92, 470, 17337, 4519, 67, 4099, 273, 306, 436, 8314, 1630, 4291, 3639, 4291, 377, 478, 3047, 10792, 1408, 2213, 16407, 202, 6, 11438, 6, 202, 3660, 3546, 262, 468, 866, 626, 75, 2668, 69, 611, 9963, 14157, 471, 4858, 2187, 10228, 92, 81, 2752, 311, 17337, 4519, 67, 4099, 273, 306, 436, 8314, 1630, 1737, 86, 3639, 1737, 86, 377, 611, 9963, 5375, 1408, 2213, 16407, 202, 6, 11438, 6, 202, 3660, 3546, 262, 468, 866, 626, 75, 2668, 69, 478, 1157, 14157, 471, 4858, 2187, 10228, 92, 3752, 300, 9953, 74, 5366, 77, 300, 3188, 15328, 2555, 17337, 4519, 67, 4099, 273, 306, 436, 8314, 1630, 284, 275, 3639, 284, 275, 377, 478, 1157, 10792, 1408, 2213, 16407, 202, 6, 11438, 6, 202, 3660, 11, 308, 13, 468, 589, 16, 4674, 273, 866, 626, 75, 2668, 69, 12553, 1316, 14157, 2187, 10228, 92, 90, 2187, 296, 79, 1945, 2187, 296, 75, 14532, 19486, 589, 16, 9228, 273, 866, 626, 75, 2668, 69, 12553, 1316, 4858, 2187, 10228, 75, 14532, 19486, 9604, 11529, 12, 86, 6309, 8314, 1630, 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, 866, 1630, 5400, 13332, 9163, 2073, 777, 6449, 17938, 1630, 3222, 13, 9163, 866, 626, 75, 2668, 69, 399, 13905, 14157, 471, 4858, 2187, 10228, 88, 13905, 17337, 4519, 67, 4099, 273, 306, 436, 8314, 1630, 268, 13905, 4202, 1081, 377, 399, 13905, 10402, 1408, 2213, 16407, 202, 6, 11438, 6, 202, 3660, 19486, 468, 866, 626, 75, 2668, 69, 478, 3047, 14157, 471, 4858, 2187, 10228, 92, 470, 17337, 4519, 67, 4099, 273, 306, 436, 8314, 1630, 4291, 3639, 4291, 377, 478, 3047, 10792, 1408, 2213, 16407, 202, 6, 11438, 6, 202, 3660, 3546, 262, 468, 866, 626, 75, 2668, 69, 611, 9963, 14157, 471, 4858, 2187, 10228, 92, 81, 2752, 311, 17337, 4519, 67, 4099, 273, 2 ]
elif ' ' in params[0]: nicks = params[0].split(' ') else: nicks = params[0]
else: nicks = params
def text_command(self,cmdstring,window): if not cmdstring: return # is raising a exception necessary? # in a debug window, do nothing if hasattr(window, "get_channelname") and \ window.get_channelname() == "debug": return
0dbeb27338ea0516012ebbac32c21016326f116b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2718/0dbeb27338ea0516012ebbac32c21016326f116b/wxserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 977, 67, 3076, 12, 2890, 16, 4172, 1080, 16, 5668, 4672, 309, 486, 1797, 1080, 30, 327, 468, 353, 28014, 279, 1520, 4573, 35, 225, 468, 316, 279, 1198, 2742, 16, 741, 5083, 309, 3859, 12, 5668, 16, 315, 588, 67, 4327, 529, 7923, 471, 521, 2742, 18, 588, 67, 4327, 529, 1435, 422, 315, 4148, 6877, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 977, 67, 3076, 12, 2890, 16, 4172, 1080, 16, 5668, 4672, 309, 486, 1797, 1080, 30, 327, 468, 353, 28014, 279, 1520, 4573, 35, 225, 468, 316, 279, 1198, 2742, 16, 741, 5083, 309, 3859, 12, 5668, 16, 315, 588, 67, 4327, 529, 7923, 471, 521, 2742, 18, 588, 67, 4327, 529, 1435, 422, 315, 4148, 6877, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
fillColor, strokeColor = style[self.level]
fillColor, strokeColor = styleFor(self.level)
def label(self, lab, x, y, dx, dy, flipped, opacity=1.0):
e4d979c4296cd0e14b4bf1e9438cfdf27e240481 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3308/e4d979c4296cd0e14b4bf1e9438cfdf27e240481/du-svg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1433, 12, 2890, 16, 11814, 16, 619, 16, 677, 16, 6633, 16, 7732, 16, 28821, 16, 12636, 33, 21, 18, 20, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 1433, 12, 2890, 16, 11814, 16, 619, 16, 677, 16, 6633, 16, 7732, 16, 28821, 16, 12636, 33, 21, 18, 20, 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 ]
sage: os.listdir(nb.directory() + '/worksheets/' + W.filename())
sage: sorted(os.listdir(nb.directory() + '/worksheets/' + W.filename()))
def filename(self): """ Return the filename (really directory) where the files associated to this worksheet are stored.
d313604fd20d8e178abfdc9d30684d263fcbef76 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/d313604fd20d8e178abfdc9d30684d263fcbef76/worksheet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1544, 12, 2890, 4672, 3536, 2000, 326, 1544, 261, 266, 1230, 1867, 13, 1625, 326, 1390, 3627, 358, 333, 13622, 854, 4041, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1544, 12, 2890, 4672, 3536, 2000, 326, 1544, 261, 266, 1230, 1867, 13, 1625, 326, 1390, 3627, 358, 333, 13622, 854, 4041, 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 ]
self.assertIsInstance(keys, list) self.assertIsInstance(keys[0], int)
self.assertTrue(isinstance(keys, list)) self.assertTrue(isinstance(keys[0], int))
def test01_basic(self): d = db.DB()
cf864ec6d7865633f1d8454ba2cc4580bd219b8a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3187/cf864ec6d7865633f1d8454ba2cc4580bd219b8a/test_recno.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1611, 67, 13240, 12, 2890, 4672, 302, 273, 1319, 18, 2290, 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, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1611, 67, 13240, 12, 2890, 4672, 302, 273, 1319, 18, 2290, 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, -100, -100, -100, -100 ]
'MSIECookieJar'. only mechanize supports MSIECookieJar.
'MSIECookieJar', 'Firefox3'. Only mechanize supports MSIECookieJar.
def delItem(self, x=0): u"""returns what should be the last added item to the rss feed. Or specify which item to return""" self.itemsQuaDict.pop(x)
203bc63458d62ab6656919aebe481575d28d7a74 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1664/203bc63458d62ab6656919aebe481575d28d7a74/rssdler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1464, 1180, 12, 2890, 16, 619, 33, 20, 4672, 582, 8395, 6154, 4121, 1410, 506, 326, 1142, 3096, 761, 358, 326, 18817, 4746, 18, 2965, 4800, 1492, 761, 358, 327, 8395, 365, 18, 3319, 928, 69, 5014, 18, 5120, 12, 92, 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, 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16, 619, 33, 20, 4672, 582, 8395, 6154, 4121, 1410, 506, 326, 1142, 3096, 761, 358, 326, 18817, 4746, 18, 2965, 4800, 1492, 761, 358, 327, 8395, 365, 18, 3319, 928, 69, 5014, 18, 5120, 12, 92, 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 ]
'x-amz-meta-project.name': 'Spring Extensions',
'x-amz-meta-project.name': 'Spring Python',
def publish(filepath, s3bucket, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, version): filename = filepath.split("/")[-1] s3key = "/".join([ p['release.type'], p['project.key'], p['natural.name'], filename ]) print "Reading in content from %s" % filepath filedata = open(filepath, "rb").read() filehash = _sha(filedata).hexdigest() print "Preparing to upload %s to %s/%s" % (filename, s3bucket, s3key) content_type = mimetypes.guess_type(filename)[0] if content_type is None: content_type = 'text/plain' print "File appears to be %s" % content_type print "Connecting to S3..." conn = S3.AWSAuthConnection(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY) print "Checking if bucket %s exists..." % s3bucket check = conn.check_bucket_exists(s3bucket) if (check.status == 200): print "Uploading %s to %s/%s" % (filename, s3bucket, s3key) print conn.put( s3bucket, s3key, S3.S3Object(filedata), { 'Content-Type': content_type, 'x-amz-acl': 'public-read', 'x-amz-meta-project.name': 'Spring Extensions', 'x-amz-meta-release.type': p['release.type'], 'x-amz-meta-bundle.version': version, 'x-amz-meta-package.file.name': filename } ).message print "Uploading SHA1 digest to %s/%s" % (s3bucket, s3key + '.sha1') print conn.put( s3bucket, s3key + '.sha1', S3.S3Object(filehash + ' ' + filename + "\n" ), { 'Content-Type': content_type, 'x-amz-acl': 'public-read'}).message else: print "Error code %s: Unable to publish" % check.status
402ef6a62ae0803902eab3b483034665a49967b3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7713/402ef6a62ae0803902eab3b483034665a49967b3/build.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3808, 12, 10561, 16, 272, 23, 7242, 16, 3279, 67, 13204, 67, 3297, 67, 734, 16, 3279, 67, 20455, 67, 13204, 67, 3297, 16, 1177, 4672, 1544, 273, 3608, 18, 4939, 2932, 4898, 13, 18919, 21, 65, 272, 23, 856, 273, 4016, 18, 5701, 3816, 293, 3292, 9340, 18, 723, 17337, 293, 3292, 4406, 18, 856, 17337, 293, 3292, 18757, 3766, 18, 529, 17337, 1544, 308, 13, 225, 1172, 315, 15714, 316, 913, 628, 738, 87, 6, 738, 3608, 585, 892, 273, 1696, 12, 10561, 16, 315, 6731, 20387, 896, 1435, 225, 585, 2816, 273, 389, 7819, 12, 768, 892, 2934, 7118, 10171, 1435, 225, 1172, 315, 1386, 12583, 358, 3617, 738, 87, 358, 738, 87, 5258, 87, 6, 738, 261, 3459, 16, 272, 23, 7242, 16, 272, 23, 856, 13, 225, 913, 67, 723, 273, 20369, 15180, 18, 20885, 67, 723, 12, 3459, 25146, 20, 65, 309, 913, 67, 723, 353, 599, 30, 913, 67, 723, 273, 296, 955, 19, 7446, 11, 225, 1172, 315, 812, 14606, 358, 506, 738, 87, 6, 738, 913, 67, 723, 225, 1172, 315, 30049, 358, 348, 23, 7070, 1487, 273, 348, 23, 18, 10800, 1730, 1952, 12, 10800, 67, 13204, 67, 3297, 67, 734, 16, 3279, 67, 20455, 67, 13204, 67, 3297, 13, 225, 1172, 315, 14294, 309, 2783, 738, 87, 1704, 7070, 738, 272, 23, 7242, 866, 273, 1487, 18, 1893, 67, 7242, 67, 1808, 12, 87, 23, 7242, 13, 309, 261, 1893, 18, 2327, 422, 4044, 4672, 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, 3808, 12, 10561, 16, 272, 23, 7242, 16, 3279, 67, 13204, 67, 3297, 67, 734, 16, 3279, 67, 20455, 67, 13204, 67, 3297, 16, 1177, 4672, 1544, 273, 3608, 18, 4939, 2932, 4898, 13, 18919, 21, 65, 272, 23, 856, 273, 4016, 18, 5701, 3816, 293, 3292, 9340, 18, 723, 17337, 293, 3292, 4406, 18, 856, 17337, 293, 3292, 18757, 3766, 18, 529, 17337, 1544, 308, 13, 225, 1172, 315, 15714, 316, 913, 628, 738, 87, 6, 738, 3608, 585, 892, 273, 1696, 12, 10561, 16, 315, 6731, 20387, 896, 1435, 225, 585, 2816, 273, 389, 7819, 12, 768, 892, 2934, 7118, 10171, 1435, 225, 1172, 315, 1386, 12583, 358, 3617, 738, 87, 358, 738, 87, 5258, 87, 2 ]
if not incl_dirs: return
if not incl_dirs: incl_dirs = [prefix]
def calc_info(self,prefix): lib_dirs = filter(os.path.isdir, combine_paths(prefix,'lib',['fftw*','FFTW*'])) if not lib_dirs: lib_dirs = filter(os.path.isdir, combine_paths(prefix,['fftw*','FFTW*'],'lib')) if not lib_dirs: lib_dirs = filter(os.path.isdir, combine_paths(prefix,['lib','fftw*','FFTW*'])) if not lib_dirs: return incl_dirs = filter(os.path.isdir, combine_paths(prefix,'include',['fftw*','FFTW*'])) if not incl_dirs: incl_dirs = filter(os.path.isdir, combine_paths(prefix,['fftw*','FFTW*'],'include')) if not incl_dirs: incl_dirs = filter(os.path.isdir, combine_paths(prefix,['include','fftw*','FFTW*'])) if not incl_dirs: return incl_dir = None
51f44ff4f1e50db5c51c3d3114500a01810505ec /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14925/51f44ff4f1e50db5c51c3d3114500a01810505ec/system_info.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7029, 67, 1376, 12, 2890, 16, 3239, 4672, 2561, 67, 8291, 273, 1034, 12, 538, 18, 803, 18, 291, 1214, 16, 8661, 67, 4481, 12, 3239, 11189, 2941, 2187, 3292, 25174, 91, 14, 17023, 2246, 18869, 14, 3546, 3719, 309, 486, 2561, 67, 8291, 30, 2561, 67, 8291, 273, 1034, 12, 538, 18, 803, 18, 291, 1214, 16, 8661, 67, 4481, 12, 3239, 16, 3292, 25174, 91, 14, 17023, 2246, 18869, 14, 3546, 11189, 2941, 26112, 309, 486, 2561, 67, 8291, 30, 2561, 67, 8291, 273, 1034, 12, 538, 18, 803, 18, 291, 1214, 16, 8661, 67, 4481, 12, 3239, 16, 3292, 2941, 17023, 25174, 91, 14, 17023, 2246, 18869, 14, 3546, 3719, 225, 309, 486, 2561, 67, 8291, 30, 327, 2823, 67, 8291, 273, 1034, 12, 538, 18, 803, 18, 291, 1214, 16, 8661, 67, 4481, 12, 3239, 11189, 6702, 2187, 3292, 25174, 91, 14, 17023, 2246, 18869, 14, 3546, 3719, 309, 486, 2823, 67, 8291, 30, 2823, 67, 8291, 273, 1034, 12, 538, 18, 803, 18, 291, 1214, 16, 8661, 67, 4481, 12, 3239, 16, 3292, 25174, 91, 14, 17023, 2246, 18869, 14, 3546, 11189, 6702, 26112, 309, 486, 2823, 67, 8291, 30, 2823, 67, 8291, 273, 1034, 12, 538, 18, 803, 18, 291, 1214, 16, 8661, 67, 4481, 12, 3239, 16, 3292, 6702, 17023, 25174, 91, 14, 17023, 2246, 18869, 14, 3546, 3719, 309, 486, 2823, 67, 8291, 30, 2823, 67, 8291, 273, 306, 3239, 65, 2823, 67, 1214, 273, 599, 2, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7029, 67, 1376, 12, 2890, 16, 3239, 4672, 2561, 67, 8291, 273, 1034, 12, 538, 18, 803, 18, 291, 1214, 16, 8661, 67, 4481, 12, 3239, 11189, 2941, 2187, 3292, 25174, 91, 14, 17023, 2246, 18869, 14, 3546, 3719, 309, 486, 2561, 67, 8291, 30, 2561, 67, 8291, 273, 1034, 12, 538, 18, 803, 18, 291, 1214, 16, 8661, 67, 4481, 12, 3239, 16, 3292, 25174, 91, 14, 17023, 2246, 18869, 14, 3546, 11189, 2941, 26112, 309, 486, 2561, 67, 8291, 30, 2561, 67, 8291, 273, 1034, 12, 538, 18, 803, 18, 291, 1214, 16, 8661, 67, 4481, 12, 3239, 16, 3292, 2941, 17023, 25174, 91, 14, 17023, 2246, 18869, 14, 3546, 3719, 225, 309, 486, 2561, 67, 2 ]
import pdb pdb.set_trace()
def getDimensions(self): """ Created 20.07.2007, LP Description: Returns the (x,y,z) dimensions of the dataset this dataunit contains """ if not self.dimensions: self.dimensions = self.reader.GetImageDims() import pdb pdb.set_trace() # Make sure that every dimension is at least 1. This prevents # software from crashing with weird datasets like xt-series. if self.dimensions[0] <= 0: self.dimensions = (1,self.dimensions[1],self.dimensions[2],self.dimensions[3]) if self.dimensions[1] <= 0: self.dimensions = (self.dimensions[0],1,self.dimensions[2],self.dimensions[3]) if self.dimensions[2] <= 0: self.dimensions = (self.dimensions[0],self.dimensions[1],1,self.dimensions[3]) if self.dimensions[3] <= 0: self.dimensions = (self.dimensions[0],self.dimensions[1],self.dimensions[2],1)
2286bf0a0e2ea7e43262a2409bd4aa77152afde6 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2877/2286bf0a0e2ea7e43262a2409bd4aa77152afde6/LIFDataSource.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2343, 23124, 12, 2890, 4672, 3536, 12953, 4200, 18, 8642, 18, 6976, 27, 16, 511, 52, 6507, 30, 2860, 326, 261, 92, 16, 93, 16, 94, 13, 5769, 434, 326, 3709, 333, 501, 4873, 1914, 3536, 309, 486, 365, 18, 14797, 30, 365, 18, 14797, 273, 365, 18, 10530, 18, 967, 2040, 25006, 1435, 225, 468, 4344, 3071, 716, 3614, 4968, 353, 622, 4520, 404, 18, 1220, 17793, 468, 17888, 628, 17053, 310, 598, 20843, 11109, 3007, 26508, 17, 10222, 18, 309, 365, 18, 14797, 63, 20, 65, 1648, 374, 30, 365, 18, 14797, 273, 261, 21, 16, 2890, 18, 14797, 63, 21, 6487, 2890, 18, 14797, 63, 22, 6487, 2890, 18, 14797, 63, 23, 5717, 309, 365, 18, 14797, 63, 21, 65, 1648, 374, 30, 365, 18, 14797, 273, 261, 2890, 18, 14797, 63, 20, 6487, 21, 16, 2890, 18, 14797, 63, 22, 6487, 2890, 18, 14797, 63, 23, 5717, 309, 365, 18, 14797, 63, 22, 65, 1648, 374, 30, 365, 18, 14797, 273, 261, 2890, 18, 14797, 63, 20, 6487, 2890, 18, 14797, 63, 21, 6487, 21, 16, 2890, 18, 14797, 63, 23, 5717, 309, 365, 18, 14797, 63, 23, 65, 1648, 374, 30, 365, 18, 14797, 273, 261, 2890, 18, 14797, 63, 20, 6487, 2890, 18, 14797, 63, 21, 6487, 2890, 18, 14797, 63, 22, 6487, 21, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2343, 23124, 12, 2890, 4672, 3536, 12953, 4200, 18, 8642, 18, 6976, 27, 16, 511, 52, 6507, 30, 2860, 326, 261, 92, 16, 93, 16, 94, 13, 5769, 434, 326, 3709, 333, 501, 4873, 1914, 3536, 309, 486, 365, 18, 14797, 30, 365, 18, 14797, 273, 365, 18, 10530, 18, 967, 2040, 25006, 1435, 225, 468, 4344, 3071, 716, 3614, 4968, 353, 622, 4520, 404, 18, 1220, 17793, 468, 17888, 628, 17053, 310, 598, 20843, 11109, 3007, 26508, 17, 10222, 18, 309, 365, 18, 14797, 63, 20, 65, 1648, 374, 30, 365, 18, 14797, 273, 261, 21, 16, 2890, 18, 14797, 63, 21, 6487, 2890, 18, 14797, 63, 22, 6487, 2890, 18, 14797, 63, 23, 5717, 309, 365, 2 ]
msg = '*' else: msg = ' '
msg = '*' else: msg = ' '
def print_summary_(fct_name, compile_time, fct_call_time, fct_call, apply_time, op_cimpl, message, outputs_size, n_apply_to_print=15, n_ops_to_print=20, print_apply=True): """ do the actual printing of print_summary and print_diff_summary.
2ac3c664b014e300edd2c12fc42f3fd49c1c8931 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/2ac3c664b014e300edd2c12fc42f3fd49c1c8931/profilemode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1172, 67, 7687, 67, 12, 74, 299, 67, 529, 16, 4074, 67, 957, 16, 28478, 67, 1991, 67, 957, 16, 28478, 67, 1991, 16, 2230, 67, 957, 16, 1061, 67, 71, 11299, 16, 883, 16, 6729, 67, 1467, 16, 290, 67, 9010, 67, 869, 67, 1188, 33, 3600, 16, 290, 67, 4473, 67, 869, 67, 1188, 33, 3462, 16, 1172, 67, 9010, 33, 5510, 4672, 3536, 741, 326, 3214, 19171, 434, 1172, 67, 7687, 471, 1172, 67, 5413, 67, 7687, 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, 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, 67, 529, 16, 4074, 67, 957, 16, 28478, 67, 1991, 67, 957, 16, 28478, 67, 1991, 16, 2230, 67, 957, 16, 1061, 67, 71, 11299, 16, 883, 16, 6729, 67, 1467, 16, 290, 67, 9010, 67, 869, 67, 1188, 33, 3600, 16, 290, 67, 4473, 67, 869, 67, 1188, 33, 3462, 16, 1172, 67, 9010, 33, 5510, 4672, 3536, 741, 326, 3214, 19171, 434, 1172, 67, 7687, 471, 1172, 67, 5413, 67, 7687, 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 ]
""" Get the IP address of the interface.
""" Get the IP address of the interface.
def GetIP(self): """ Get the IP address of the interface.
6f0faa1ac2c9bae4d122f4d6babe96248aee11b5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12280/6f0faa1ac2c9bae4d122f4d6babe96248aee11b5/wnettools.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 2579, 12, 2890, 4672, 3536, 968, 326, 2971, 1758, 434, 326, 1560, 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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0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 2579, 12, 2890, 4672, 3536, 968, 326, 2971, 1758, 434, 326, 1560, 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, -100 ]
wx.MessageBox(e, "Error")
wx.MessageBox(e.__str__(), "Error")
def write(self, s): txt = s.strip().translate(None, "\b") if txt: (keepgoing, skip) = dialog.Update(scriptnum - 1, msg + "\n" + txt) if not keepgoing: raise UserAborted if skip: raise UserSkipped
56d9aad6f16d55c618bdb3c6e9d195e6e81dd777 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12606/56d9aad6f16d55c618bdb3c6e9d195e6e81dd777/dbtk_ui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 272, 4672, 6463, 273, 272, 18, 6406, 7675, 13929, 12, 7036, 16, 1548, 70, 7923, 309, 6463, 30, 261, 10102, 8162, 16, 2488, 13, 273, 6176, 18, 1891, 12, 4263, 2107, 300, 404, 16, 1234, 397, 1548, 82, 6, 397, 6463, 13, 309, 486, 3455, 8162, 30, 1002, 2177, 27821, 309, 2488, 30, 1002, 2177, 16425, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 272, 4672, 6463, 273, 272, 18, 6406, 7675, 13929, 12, 7036, 16, 1548, 70, 7923, 309, 6463, 30, 261, 10102, 8162, 16, 2488, 13, 273, 6176, 18, 1891, 12, 4263, 2107, 300, 404, 16, 1234, 397, 1548, 82, 6, 397, 6463, 13, 309, 486, 3455, 8162, 30, 1002, 2177, 27821, 309, 2488, 30, 1002, 2177, 16425, 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 ]
"""
r"""
def __iter__(self): """ Returns an iterator on the elements of self.
0c5cb94bdc0dba9150cb164c00100196aa13fa7e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/0c5cb94bdc0dba9150cb164c00100196aa13fa7e/backtrack.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2165, 972, 12, 2890, 4672, 436, 8395, 2860, 392, 2775, 603, 326, 2186, 434, 365, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2165, 972, 12, 2890, 4672, 436, 8395, 2860, 392, 2775, 603, 326, 2186, 434, 365, 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 ]
if mol.hidden: continue
if mol.hidden or mol.display == diINVISIBLE: continue
def find_bondable_pairs(self, chunk_list = None): '''Checks the bondpoints of the selected chunk to see if they are close enough to bond with any other bondpoints in a list of chunks. Hidden chunks are skipped. ''' self.bondable_pairs = [] self.ways_of_bonding = {} if not chunk_list: chunk_list = self.o.assy.molecules for chunk in self.o.assy.selmols: # Loop through all the mols in the part to search for bondable pairs of singlets. # for mol in self.o.assy.molecules: for mol in chunk_list: if chunk is mol: continue # Skip itself if mol.hidden: continue # Skip hidden chunks if mol.picked: continue # Skip selected chunks # Skip this mol if it's bounding box does not overlap the selected chunk's bbox. # Remember: chunk = a selected chunk, mol = a non-selected chunk. if not chunk.overlapping_chunk(mol, self.tol): # print "Skipping ", mol.name continue else:
36ecf86cd310caee386f9f47f59775c487387178 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/36ecf86cd310caee386f9f47f59775c487387178/fusechunksMode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 26425, 429, 67, 11545, 12, 2890, 16, 2441, 67, 1098, 273, 599, 4672, 9163, 4081, 326, 8427, 4139, 434, 326, 3170, 2441, 358, 2621, 309, 2898, 854, 1746, 7304, 358, 8427, 598, 1281, 1308, 8427, 4139, 316, 279, 666, 434, 6055, 18, 225, 22479, 6055, 854, 9700, 18, 9163, 365, 18, 26425, 429, 67, 11545, 273, 5378, 365, 18, 3052, 67, 792, 67, 26425, 310, 273, 2618, 225, 309, 486, 2441, 67, 1098, 30, 2441, 67, 1098, 273, 365, 18, 83, 18, 428, 93, 18, 81, 29466, 225, 364, 2441, 316, 365, 18, 83, 18, 428, 93, 18, 1786, 81, 3528, 30, 225, 468, 9720, 3059, 777, 326, 312, 3528, 316, 326, 1087, 358, 1623, 364, 8427, 429, 5574, 434, 4864, 17307, 18, 468, 364, 12629, 316, 365, 18, 83, 18, 428, 93, 18, 81, 29466, 30, 364, 12629, 316, 2441, 67, 1098, 30, 309, 2441, 353, 12629, 30, 1324, 468, 6611, 6174, 309, 12629, 18, 6345, 578, 12629, 18, 5417, 422, 4314, 706, 29588, 30, 1324, 468, 6611, 5949, 6055, 309, 12629, 18, 11503, 329, 30, 1324, 468, 6611, 3170, 6055, 225, 468, 6611, 333, 12629, 309, 518, 1807, 7552, 3919, 1552, 486, 7227, 326, 3170, 2441, 1807, 8472, 18, 468, 23133, 30, 2441, 273, 279, 3170, 2441, 16, 12629, 273, 279, 1661, 17, 8109, 2441, 18, 309, 486, 2441, 18, 17946, 1382, 67, 6551, 12, 21260, 16, 365, 18, 3490, 4672, 468, 1172, 315, 16877, 3104, 12629, 18, 529, 1324, 469, 30, 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, 1104, 67, 26425, 429, 67, 11545, 12, 2890, 16, 2441, 67, 1098, 273, 599, 4672, 9163, 4081, 326, 8427, 4139, 434, 326, 3170, 2441, 358, 2621, 309, 2898, 854, 1746, 7304, 358, 8427, 598, 1281, 1308, 8427, 4139, 316, 279, 666, 434, 6055, 18, 225, 22479, 6055, 854, 9700, 18, 9163, 365, 18, 26425, 429, 67, 11545, 273, 5378, 365, 18, 3052, 67, 792, 67, 26425, 310, 273, 2618, 225, 309, 486, 2441, 67, 1098, 30, 2441, 67, 1098, 273, 365, 18, 83, 18, 428, 93, 18, 81, 29466, 225, 364, 2441, 316, 365, 18, 83, 18, 428, 93, 18, 1786, 81, 3528, 30, 225, 468, 9720, 3059, 777, 326, 312, 3528, 316, 326, 1087, 358, 1623, 364, 2 ]
self._recaclulate_hidden_items()
self._recalculate_hidden_items()
def toggle_unwatched_only(self): self.unwatched_only = not self.unwatched_only self._recaclulate_hidden_items()
50f7cf243721f70bea2282d173a65bd053cf9525 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/50f7cf243721f70bea2282d173a65bd053cf9525/itemlist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10486, 67, 318, 7585, 329, 67, 3700, 12, 2890, 4672, 365, 18, 318, 7585, 329, 67, 3700, 273, 486, 365, 18, 318, 7585, 329, 67, 3700, 365, 6315, 3927, 10150, 6243, 67, 6345, 67, 3319, 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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435, 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 ]
db.dialect.ddl_compiler(db.dialect, schema.CreateTable(testTable)).\ get_column_specification(aCol))
db.dialect.ddl_compiler( db.dialect, schema.CreateTable(testTable)). get_column_specification(aCol) )
def testcolumns(self): expectedResults = { 'int_column': 'int_column INTEGER', 'smallint_column': 'smallint_column SMALLINT', 'varchar_column': 'varchar_column VARCHAR(20)', 'numeric_column': 'numeric_column NUMERIC(12, 3)', 'float_column': 'float_column FLOAT(25)', }
12a323eb0c4f90230016da8a2bd66928b448c142 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1074/12a323eb0c4f90230016da8a2bd66928b448c142/test_types.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 5112, 12, 2890, 4672, 2665, 3447, 273, 288, 296, 474, 67, 2827, 4278, 296, 474, 67, 2827, 16481, 2187, 296, 12019, 474, 67, 2827, 4278, 296, 12019, 474, 67, 2827, 17918, 3217, 2187, 296, 90, 22483, 67, 2827, 4278, 296, 90, 22483, 67, 2827, 27915, 12, 3462, 13, 2187, 296, 5246, 67, 2827, 4278, 296, 5246, 67, 2827, 31288, 12, 2138, 16, 890, 13, 2187, 296, 5659, 67, 2827, 4278, 296, 5659, 67, 2827, 15483, 12, 2947, 13, 2187, 289, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 5112, 12, 2890, 4672, 2665, 3447, 273, 288, 296, 474, 67, 2827, 4278, 296, 474, 67, 2827, 16481, 2187, 296, 12019, 474, 67, 2827, 4278, 296, 12019, 474, 67, 2827, 17918, 3217, 2187, 296, 90, 22483, 67, 2827, 4278, 296, 90, 22483, 67, 2827, 27915, 12, 3462, 13, 2187, 296, 5246, 67, 2827, 4278, 296, 5246, 67, 2827, 31288, 12, 2138, 16, 890, 13, 2187, 296, 5659, 67, 2827, 4278, 296, 5659, 67, 2827, 15483, 12, 2947, 13, 2187, 289, 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 ]
for arg in args: if removeSecurityProxy(arg) is not arg: args = map(removeSecurityProxy, args) adapter = self.factory(*args) if (ILocation.providedBy(adapter) and adapter.__parent__ is None): adapter.__parent__ = args[0] return ProxyFactory(adapter)
def __call__(self, *args): for arg in args: if removeSecurityProxy(arg) is not arg: args = map(removeSecurityProxy, args) adapter = self.factory(*args) if (ILocation.providedBy(adapter) and adapter.__parent__ is None): adapter.__parent__ = args[0] return ProxyFactory(adapter)
c4df19b7123c032c70b5860013f9a3c864759b7f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9520/c4df19b7123c032c70b5860013f9a3c864759b7f/adapter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 380, 1968, 4672, 364, 1501, 316, 833, 30, 309, 1206, 4368, 3886, 12, 3175, 13, 353, 486, 1501, 30, 833, 273, 852, 12, 4479, 4368, 3886, 16, 833, 13,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 380, 1968, 4672, 364, 1501, 316, 833, 30, 309, 1206, 4368, 3886, 12, 3175, 13, 353, 486, 1501, 30, 833, 273, 852, 12, 4479, 4368, 3886, 16, 833, 13, 4516, 273, 365, 18, 6848, 30857, 1968, 13, 309, 261, 45, 2735, 18, 29206, 858, 12, 10204, 13, 471, 4516, 16186, 2938, 972, 353, 599, 4672, 4516, 16186, 2938, 972, 273, 833, 63, 20, 65, 327, 7659, 1733, 12, 10204, 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 ]
self.recent_button.set_active(page_num == self.RECENT_BUTTON)
self.recent_button.set_active(page_num == self.RECENT_PAGE)
def on_notebook_switch_page(self, notebook, page, page_num): self.app.config['ui_page'] = int(page_num)
91f39d525aa754f73fbd6f2def7ecf4c4df6f560 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14744/91f39d525aa754f73fbd6f2def7ecf4c4df6f560/main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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 24422, 67, 9610, 67, 2433, 12, 2890, 16, 14718, 16, 1363, 16, 1363, 67, 2107, 4672, 365, 18, 2910, 18, 1425, 3292, 4881, 67, 2433, 3546, 273, 509, 12, 2433, 67, 2107, 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 ]
skip_name = self.skip_name
def runPath(self, pathname): """Run all tests found in the directory named by pathname and all subdirectories.""" names=os.listdir(pathname) skip_name = self.skip_name for name in names: fname, ext=os.path.splitext(name) if name[:4]=='test' and name[-3:]=='.py' and \ (not skip_name(name)): filepath=os.path.join(pathname, name) self.runFile(filepath) for name in names: fullpath=os.path.join(pathname, name) if os.path.isdir(fullpath): self.runPath(fullpath)
b26ccc00e07a9e28efae6443a91327ceedcfb9fe /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/b26ccc00e07a9e28efae6443a91327ceedcfb9fe/testrunner.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 743, 12, 2890, 16, 9806, 4672, 3536, 1997, 777, 7434, 1392, 316, 326, 1867, 4141, 635, 9806, 471, 777, 31220, 12123, 1257, 33, 538, 18, 1098, 1214, 12, 28336, 13, 364, 508, 316, 1257, 30, 5299, 16, 1110, 33, 538, 18, 803, 18, 4939, 408, 12, 529, 13, 309, 508, 10531, 24, 65, 18920, 3813, 11, 471, 508, 18919, 23, 26894, 631, 10332, 2074, 11, 471, 521, 261, 902, 2488, 67, 529, 12, 529, 3719, 30, 3608, 33, 538, 18, 803, 18, 5701, 12, 28336, 16, 508, 13, 365, 18, 2681, 812, 12, 10561, 13, 364, 508, 316, 1257, 30, 15170, 33, 538, 18, 803, 18, 5701, 12, 28336, 16, 508, 13, 309, 1140, 18, 803, 18, 291, 1214, 12, 2854, 803, 4672, 365, 18, 2681, 743, 12, 2854, 803, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 743, 12, 2890, 16, 9806, 4672, 3536, 1997, 777, 7434, 1392, 316, 326, 1867, 4141, 635, 9806, 471, 777, 31220, 12123, 1257, 33, 538, 18, 1098, 1214, 12, 28336, 13, 364, 508, 316, 1257, 30, 5299, 16, 1110, 33, 538, 18, 803, 18, 4939, 408, 12, 529, 13, 309, 508, 10531, 24, 65, 18920, 3813, 11, 471, 508, 18919, 23, 26894, 631, 10332, 2074, 11, 471, 521, 261, 902, 2488, 67, 529, 12, 529, 3719, 30, 3608, 33, 538, 18, 803, 18, 5701, 12, 28336, 16, 508, 13, 365, 18, 2681, 812, 12, 10561, 13, 364, 508, 316, 1257, 30, 15170, 33, 538, 18, 803, 18, 5701, 12, 28336, 16, 508, 13, 309, 1140, 18, 803, 18, 2 ]
pass inputs[unicode2] = [unicode(), unicode("123")] for func in funcs: for (cls, inps) in inputs.iteritems(): for inp in inps: out = filter(func, cls(inp)) self.assertEqual(inp, out) self.assert_(not isinstance(out, cls))
def __getitem__(self, index): return 2*unicode.__getitem__(self, index) inputs[unicode2] = { unicode(): unicode(), unicode("123"): unicode("112233") } for (cls, inps) in inputs.iteritems(): for (inp, exp) in inps.iteritems(): self.assertEqual( filter(funcs[0], cls(inp)), filter(funcs[1], cls(inp)) ) for func in funcs: outp = filter(func, cls(inp)) self.assertEqual(outp, exp) self.assert_(not isinstance(outp, cls))
def test_filter_subclasses(self): # test, that filter() never returns tuple, str or unicode subclasses funcs = (None, lambda x: True) class tuple2(tuple): pass class str2(str): pass inputs = { tuple2: [(), (1,2,3)], str2: ["", "123"] } if have_unicode: class unicode2(unicode): pass inputs[unicode2] = [unicode(), unicode("123")]
464c07adeb55a85567c8d810f2eda662bfd6131e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/464c07adeb55a85567c8d810f2eda662bfd6131e/test_builtin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2188, 67, 1717, 4701, 12, 2890, 4672, 468, 1842, 16, 716, 1034, 1435, 5903, 1135, 3193, 16, 609, 578, 5252, 15320, 15630, 273, 261, 7036, 16, 3195, 619, 30, 1053, 13, 667, 3193, 22, 12, 8052, 4672, 1342, 667, 609, 22, 12, 701, 4672, 1342, 4540, 273, 288, 3193, 22, 30, 306, 9334, 261, 21, 16, 22, 16, 23, 13, 6487, 609, 22, 30, 282, 8247, 3113, 315,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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, 1842, 67, 2188, 67, 1717, 4701, 12, 2890, 4672, 468, 1842, 16, 716, 1034, 1435, 5903, 1135, 3193, 16, 609, 578, 5252, 15320, 15630, 273, 261, 7036, 16, 3195, 619, 30, 1053, 13, 667, 3193, 22, 12, 8052, 4672, 1342, 667, 609, 22, 12, 701, 4672, 1342, 4540, 273, 288, 3193, 22, 30, 306, 9334, 261, 21, 16, 22, 16, 23, 13, 6487, 609, 22, 30, 282, 8247, 3113, 315, 12936, 11929, 289, 309, 1240, 67, 9124, 30, 667, 5252, 22, 12, 9124, 4672, 1342, 4540, 63, 9124, 22, 65, 273, 306, 9124, 9334, 5252, 2932, 12936, 7923, 65, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
height = int(round(3*size)) width = int(round(17*size))
height = int(round(3.6*size)) width = int(round(16.51*size))
def sysbox(size): canvas = {} # The system box of the computer. height = int(round(3*size)) width = int(round(17*size)) depth = int(round(2*size)) highlight = int(round(1*size)) bothighlight = int(round(0.49*size)) floppystart = int(round(19*size)) # measured in half-pixels floppyend = int(round(29*size)) # measured in half-pixels floppybottom = height - bothighlight floppyrheight = 0.7 * size floppyheight = int(round(floppyrheight)) if floppyheight < 1: floppyheight = 1 floppytop = floppybottom - floppyheight # The front panel is rectangular. for x in range(width): for y in range(height): grey = 3 if x < highlight or y < highlight: grey = grey + 1 if x >= width-highlight or y >= height-bothighlight: grey = grey - 1 if y < highlight and x >= width-highlight: v = (highlight-1-y) - (x-(width-highlight)) if v < 0: grey = grey - 1 elif v > 0: grey = grey + 1 if y >= floppytop and y < floppybottom and \ 2*x+2 > floppystart and 2*x < floppyend: if 2*x >= floppystart and 2*x+2 <= floppyend and \ floppyrheight >= 0.7: grey = 0 else: grey = 2 pixel(x, y, greypix(grey/4.0), canvas) # The side panel is a parallelogram. for x in range(depth): for y in range(height+1): pixel(x+width, y-(x+1), greypix(0.5), canvas) # The top panel is another parallelogram. for x in range(width-1): for y in range(depth): grey = 3 if x >= width-1 - highlight: grey = grey + 1 pixel(x+(y+1), -(y+1), greypix(grey/4.0), canvas) # And draw a border. border(canvas, size, []) return canvas
f3ddd15caee6adbcc98dcf72f6332664cf7e8c12 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7420/f3ddd15caee6adbcc98dcf72f6332664cf7e8c12/mkicon.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2589, 2147, 12, 1467, 4672, 5953, 273, 2618, 225, 468, 1021, 2619, 3919, 434, 326, 26579, 18, 225, 2072, 273, 509, 12, 2260, 12, 23, 18, 26, 14, 1467, 3719, 1835, 273, 509, 12, 2260, 12, 2313, 18, 10593, 14, 1467, 3719, 3598, 273, 509, 12, 2260, 12, 22, 14, 1467, 3719, 8839, 273, 509, 12, 2260, 12, 21, 14, 1467, 3719, 3937, 2031, 5099, 273, 509, 12, 2260, 12, 20, 18, 7616, 14, 1467, 3719, 225, 20802, 11858, 1094, 485, 273, 509, 12, 2260, 12, 3657, 14, 1467, 3719, 468, 22221, 316, 8816, 17, 21084, 284, 16884, 2074, 409, 273, 509, 12, 2260, 12, 5540, 14, 1467, 3719, 468, 22221, 316, 8816, 17, 21084, 284, 16884, 2074, 9176, 273, 2072, 300, 3937, 2031, 5099, 284, 16884, 2074, 86, 4210, 273, 374, 18, 27, 380, 963, 284, 16884, 2074, 4210, 273, 509, 12, 2260, 12, 74, 16884, 2074, 86, 4210, 3719, 309, 284, 16884, 2074, 4210, 411, 404, 30, 284, 16884, 2074, 4210, 273, 404, 284, 16884, 2074, 3669, 273, 284, 16884, 2074, 9176, 300, 284, 16884, 2074, 4210, 225, 468, 1021, 6641, 6594, 353, 4917, 13077, 18, 364, 619, 316, 1048, 12, 2819, 4672, 364, 677, 316, 1048, 12, 4210, 4672, 5174, 93, 273, 890, 309, 619, 411, 8839, 578, 677, 411, 8839, 30, 5174, 93, 273, 5174, 93, 397, 404, 309, 619, 1545, 1835, 17, 15978, 578, 677, 1545, 2072, 17, 4819, 15978, 30, 5174, 93, 273, 5174, 93, 300, 404, 309, 677, 411, 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, 2589, 2147, 12, 1467, 4672, 5953, 273, 2618, 225, 468, 1021, 2619, 3919, 434, 326, 26579, 18, 225, 2072, 273, 509, 12, 2260, 12, 23, 18, 26, 14, 1467, 3719, 1835, 273, 509, 12, 2260, 12, 2313, 18, 10593, 14, 1467, 3719, 3598, 273, 509, 12, 2260, 12, 22, 14, 1467, 3719, 8839, 273, 509, 12, 2260, 12, 21, 14, 1467, 3719, 3937, 2031, 5099, 273, 509, 12, 2260, 12, 20, 18, 7616, 14, 1467, 3719, 225, 20802, 11858, 1094, 485, 273, 509, 12, 2260, 12, 3657, 14, 1467, 3719, 468, 22221, 316, 8816, 17, 21084, 284, 16884, 2074, 409, 273, 509, 12, 2260, 12, 5540, 14, 1467, 3719, 468, 22221, 316, 8816, 17, 21084, 284, 16884, 2074, 2 ]
qtReq = '4.3'
def convert_qt_version(version): version = '%x'%version temp = [] while len(version) > 0: version, chunk = version[:-2], version[-2:] temp.insert(0, str(int(chunk, 16))) return '.'.join(temp)
265b261e9eb6cc5931d7dcd9567cfbf8c96ad22f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/14949/265b261e9eb6cc5931d7dcd9567cfbf8c96ad22f/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 67, 23311, 67, 1589, 12, 1589, 4672, 1177, 273, 1995, 92, 11, 9, 1589, 1906, 273, 5378, 1323, 562, 12, 1589, 13, 405, 374, 30, 1177, 16, 2441, 273, 1177, 10531, 17, 22, 6487, 1177, 18919, 22, 26894, 1906, 18, 6387, 12, 20, 16, 609, 12, 474, 12, 6551, 16, 2872, 20349, 327, 2611, 18, 5701, 12, 5814, 13, 225, 2, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 67, 23311, 67, 1589, 12, 1589, 4672, 1177, 273, 1995, 92, 11, 9, 1589, 1906, 273, 5378, 1323, 562, 12, 1589, 13, 405, 374, 30, 1177, 16, 2441, 273, 1177, 10531, 17, 22, 6487, 1177, 18919, 22, 26894, 1906, 18, 6387, 12, 20, 16, 609, 12, 474, 12, 6551, 16, 2872, 20349, 327, 2611, 18, 5701, 12, 5814, 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 ]
port = logging.handlers.DEFAULT_TCP_LOGGING_PORT while port < logging.handlers.DEFAULT_TCP_LOGGING_PORT+100: try: tcpserver = LogRecordSocketReceiver(port=port) except socket.error: port += 1 else: break else: raise ImportError, "Could not find unused port"
tcpserver = LogRecordSocketReceiver(port=0) port = tcpserver.socket.getsockname()[1]
def test_main_inner(): rootLogger = logging.getLogger("") rootLogger.setLevel(logging.DEBUG) # Find an unused port number port = logging.handlers.DEFAULT_TCP_LOGGING_PORT while port < logging.handlers.DEFAULT_TCP_LOGGING_PORT+100: try: tcpserver = LogRecordSocketReceiver(port=port) except socket.error: port += 1 else: break else: raise ImportError, "Could not find unused port" #Set up a handler such that all events are sent via a socket to the log #receiver (logrecv). #The handler will only be added to the rootLogger for some of the tests shdlr = logging.handlers.SocketHandler('localhost', port) rootLogger.addHandler(shdlr) #Configure the logger for logrecv so events do not propagate beyond it. #The sockLogger output is buffered in memory until the end of the test, #and printed at the end. sockOut = cStringIO.StringIO() sockLogger = logging.getLogger("logrecv") sockLogger.setLevel(logging.DEBUG) sockhdlr = logging.StreamHandler(sockOut) sockhdlr.setFormatter(logging.Formatter( "%(name)s -> %(levelname)s: %(message)s")) sockLogger.addHandler(sockhdlr) sockLogger.propagate = 0 #Set up servers threads = [] #sys.stdout.write("About to start TCP server...\n") threads.append(threading.Thread(target=runTCP, args=(tcpserver,))) for thread in threads: thread.start() try: test0() # XXX(nnorwitz): Try to fix timing related test failures. # This sleep gives us some extra time to read messages. # The test generally only fails on Solaris without this sleep. #time.sleep(2.0) shdlr.close() rootLogger.removeHandler(shdlr) finally: #wait for TCP receiver to terminate
84fce9c90bb6222402db988213192cd89a3f917b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3187/84fce9c90bb6222402db988213192cd89a3f917b/test_logging.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 5254, 67, 7872, 13332, 1365, 3328, 273, 2907, 18, 588, 3328, 2932, 7923, 1365, 3328, 18, 542, 2355, 12, 11167, 18, 9394, 13, 225, 468, 4163, 392, 10197, 1756, 1300, 1756, 273, 2907, 18, 11046, 18, 5280, 67, 13891, 67, 28162, 67, 6354, 1323, 1756, 411, 2907, 18, 11046, 18, 5280, 67, 13891, 67, 28162, 67, 6354, 15, 6625, 30, 775, 30, 9658, 3567, 273, 25612, 4534, 12952, 12, 655, 33, 655, 13, 1335, 2987, 18, 1636, 30, 1756, 1011, 404, 469, 30, 898, 469, 30, 1002, 11308, 16, 315, 4445, 486, 1104, 10197, 1756, 6, 282, 468, 694, 731, 279, 1838, 4123, 716, 777, 2641, 854, 3271, 3970, 279, 2987, 358, 326, 613, 468, 24454, 261, 1330, 18334, 2934, 468, 1986, 1838, 903, 1338, 506, 3096, 358, 326, 1365, 3328, 364, 2690, 434, 326, 7434, 699, 5761, 86, 273, 2907, 18, 11046, 18, 4534, 1503, 2668, 13014, 2187, 1756, 13, 1365, 3328, 18, 1289, 1503, 12, 674, 5761, 86, 13, 225, 468, 11207, 326, 1194, 364, 613, 18334, 1427, 2641, 741, 486, 13551, 17940, 518, 18, 468, 1986, 7313, 3328, 876, 353, 11445, 316, 3778, 3180, 326, 679, 434, 326, 1842, 16, 468, 464, 14099, 622, 326, 679, 18, 7313, 1182, 273, 276, 780, 4294, 18, 780, 4294, 1435, 7313, 3328, 273, 2907, 18, 588, 3328, 2932, 1330, 18334, 7923, 7313, 3328, 18, 542, 2355, 12, 11167, 18, 9394, 13, 7313, 76, 5761, 86, 273, 2907, 18, 1228, 1503, 12, 15031, 1182, 13, 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, 1842, 67, 5254, 67, 7872, 13332, 1365, 3328, 273, 2907, 18, 588, 3328, 2932, 7923, 1365, 3328, 18, 542, 2355, 12, 11167, 18, 9394, 13, 225, 468, 4163, 392, 10197, 1756, 1300, 1756, 273, 2907, 18, 11046, 18, 5280, 67, 13891, 67, 28162, 67, 6354, 1323, 1756, 411, 2907, 18, 11046, 18, 5280, 67, 13891, 67, 28162, 67, 6354, 15, 6625, 30, 775, 30, 9658, 3567, 273, 25612, 4534, 12952, 12, 655, 33, 655, 13, 1335, 2987, 18, 1636, 30, 1756, 1011, 404, 469, 30, 898, 469, 30, 1002, 11308, 16, 315, 4445, 486, 1104, 10197, 1756, 6, 282, 468, 694, 731, 279, 1838, 4123, 716, 777, 2641, 854, 3271, 3970, 279, 2987, 358, 326, 613, 468, 24454, 2 ]
self.bname = bname
self.bname[name] = bname
def badNameFilter(self, name, force = False): if not globalvar.filtBadName: return False
6e1a27796fa520d54fa473b224be0c3db7fd9cbd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4404/6e1a27796fa520d54fa473b224be0c3db7fd9cbd/welcome.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5570, 461, 1586, 12, 2890, 16, 508, 16, 2944, 273, 1083, 4672, 309, 486, 2552, 1401, 18, 30991, 6434, 461, 30, 327, 1083, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5570, 461, 1586, 12, 2890, 16, 508, 16, 2944, 273, 1083, 4672, 309, 486, 2552, 1401, 18, 30991, 6434, 461, 30, 327, 1083, 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 ]
obj = attrgetter('next')(self._cls)(self)
obj = self._fetch_function_iterator.next()
def _cache_next_element(self): """ a) retrieves the next element from the fetch function b) writes the data to the cache c) passes the data through to the calling element """ self._cache_miss += 1 try: obj = attrgetter('next')(self._cls)(self) self._pickle_iterator.dump( obj ) return obj except StopIteration: self._pickle_iterator.close() raise StopIteration
2355828a58c7929e11ae58a88a6ffb902ba065ba /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6604/2355828a58c7929e11ae58a88a6ffb902ba065ba/cache.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2493, 67, 4285, 67, 2956, 12, 2890, 4672, 3536, 279, 13, 9023, 326, 1024, 930, 628, 326, 2158, 445, 324, 13, 7262, 326, 501, 358, 326, 1247, 276, 13, 11656, 326, 501, 3059, 358, 326, 4440, 930, 3536, 365, 6315, 2493, 67, 3105, 1011, 404, 775, 30, 1081, 273, 365, 6315, 5754, 67, 915, 67, 9838, 18, 4285, 1435, 365, 6315, 20847, 67, 9838, 18, 8481, 12, 1081, 262, 327, 1081, 1335, 16179, 30, 365, 6315, 20847, 67, 9838, 18, 4412, 1435, 1002, 16179, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2493, 67, 4285, 67, 2956, 12, 2890, 4672, 3536, 279, 13, 9023, 326, 1024, 930, 628, 326, 2158, 445, 324, 13, 7262, 326, 501, 358, 326, 1247, 276, 13, 11656, 326, 501, 3059, 358, 326, 4440, 930, 3536, 365, 6315, 2493, 67, 3105, 1011, 404, 775, 30, 1081, 273, 365, 6315, 5754, 67, 915, 67, 9838, 18, 4285, 1435, 365, 6315, 20847, 67, 9838, 18, 8481, 12, 1081, 262, 327, 1081, 1335, 16179, 30, 365, 6315, 20847, 67, 9838, 18, 4412, 1435, 1002, 16179, 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 ]
You may want to <A href="../"> start a new search</A>
def perform_display_account(req,data,bask,aler,sear): uid = getUid(req) #your account if isGuestUser(uid): user ="guest" accBody = """You are logged in as guest. You may want to <A href="../youraccount.py/login">login</A> as a regular user <BR><BR> You may want to <A href="../"> start a new search</A> """ bask=aler="""The <strong class=headline>guest</strong> users need to <A href="../youraccount.py/login">register</A>&nbspfirst""" sear="No queries found" else: user = data[0] accBody ="""You are logged in as %s. You may want to <A href="../youraccount.py/logout">logout</A><BR><BR> You may want to <A href="../"> start a new search</A> """%user out ="" out +=template_account("Your Account",accBody) #your baskets out +=template_account("Your Baskets",bask) out +=template_account("Your Alert Searches",aler) out +=template_account("Your Searches",sear) return out
2ae2a95b8eafc93b9613c323150293b0683afbb1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12027/2ae2a95b8eafc93b9613c323150293b0683afbb1/webaccount.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 5417, 67, 4631, 12, 3658, 16, 892, 16, 70, 835, 16, 6774, 16, 307, 297, 4672, 4555, 273, 31652, 12, 3658, 13, 468, 93, 477, 2236, 309, 353, 12978, 1299, 12, 1911, 4672, 729, 273, 6, 18908, 6, 4078, 2250, 273, 3536, 6225, 854, 7545, 316, 487, 13051, 18, 4554, 2026, 2545, 358, 411, 37, 3897, 1546, 6216, 93, 477, 4631, 18, 2074, 19, 5819, 6441, 5819, 1757, 37, 34, 487, 279, 6736, 729, 411, 7192, 4438, 7192, 34, 3536, 324, 835, 33, 6774, 1546, 3660, 1986, 411, 9110, 667, 33, 1978, 1369, 34, 18908, 1757, 9110, 34, 3677, 1608, 358, 411, 37, 3897, 1546, 6216, 93, 477, 4631, 18, 2074, 19, 5819, 6441, 4861, 1757, 37, 22393, 10600, 3645, 8395, 695, 297, 1546, 2279, 6218, 1392, 6, 469, 30, 729, 273, 501, 63, 20, 65, 4078, 2250, 273, 8395, 6225, 854, 7545, 316, 487, 738, 87, 18, 4554, 2026, 2545, 358, 411, 37, 3897, 1546, 6216, 93, 477, 4631, 18, 2074, 19, 21229, 6441, 21229, 1757, 37, 4438, 7192, 4438, 7192, 34, 3536, 9, 1355, 596, 273, 3660, 596, 1011, 3202, 67, 4631, 2932, 15446, 6590, 3113, 8981, 2250, 13, 468, 93, 477, 324, 835, 2413, 596, 1011, 3202, 67, 4631, 2932, 15446, 605, 835, 2413, 3113, 70, 835, 13, 596, 1011, 3202, 67, 4631, 2932, 15446, 17913, 5167, 281, 3113, 6774, 13, 596, 1011, 3202, 67, 4631, 2932, 15446, 5167, 281, 3113, 307, 297, 13, 327, 596, 225, 2, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 5417, 67, 4631, 12, 3658, 16, 892, 16, 70, 835, 16, 6774, 16, 307, 297, 4672, 4555, 273, 31652, 12, 3658, 13, 468, 93, 477, 2236, 309, 353, 12978, 1299, 12, 1911, 4672, 729, 273, 6, 18908, 6, 4078, 2250, 273, 3536, 6225, 854, 7545, 316, 487, 13051, 18, 4554, 2026, 2545, 358, 411, 37, 3897, 1546, 6216, 93, 477, 4631, 18, 2074, 19, 5819, 6441, 5819, 1757, 37, 34, 487, 279, 6736, 729, 411, 7192, 4438, 7192, 34, 3536, 324, 835, 33, 6774, 1546, 3660, 1986, 411, 9110, 667, 33, 1978, 1369, 34, 18908, 1757, 9110, 34, 3677, 1608, 358, 411, 37, 3897, 1546, 6216, 93, 477, 4631, 18, 2074, 19, 5819, 6441, 4861, 1757, 2 ]
blocs = set_partition_ordered.OrderedSetPartitions(copy.copy(set), taillesblocs).list()
blocs = set_partition_ordered.OrderedSetPartitions(copy.copy(set), taillesblocs)
def __iterator_part(self, part): set = self.set
0c5829b64e83939f27e78ee2d1eb9d2d6d5fe63a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/0c5829b64e83939f27e78ee2d1eb9d2d6d5fe63a/set_partition.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 9838, 67, 2680, 12, 2890, 16, 1087, 4672, 444, 273, 365, 18, 542, 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,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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, 1001, 9838, 67, 2680, 12, 2890, 16, 1087, 4672, 444, 273, 365, 18, 542, 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 ]
cmd.deferred.addBoth(close) d = DeferredList([cmd.deferred, protocol.deferred], fireOnOneErrback=1)
d.addBoth(close)
def close(x, m=_mutable): m[0] and m[0].disconnect() return x
0b32993f650133174c7471dcae011c638fd3fade /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/0b32993f650133174c7471dcae011c638fd3fade/ftp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1746, 12, 92, 16, 312, 33, 67, 5146, 4672, 312, 63, 20, 65, 471, 312, 63, 20, 8009, 20177, 1435, 327, 619, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1746, 12, 92, 16, 312, 33, 67, 5146, 4672, 312, 63, 20, 65, 471, 312, 63, 20, 8009, 20177, 1435, 327, 619, 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 ]
def getPackageObject(self, pkgtup):
def getPackageObject(self, pkgtup, allow_missing=False):
def getPackageObject(self, pkgtup): """retrieves a packageObject from a pkgtuple - if we need to pick and choose which one is best we better call out to some method from here to pick the best pkgobj if there are more than one response - right now it's more rudimentary.""" # look it up in the self.localPackages first: for po in self.localPackages: if po.pkgtup == pkgtup: return po pkgs = self.pkgSack.searchPkgTuple(pkgtup)
17068d8e299ab477d8c6a5bc566e5f62d7b34759 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5445/17068d8e299ab477d8c6a5bc566e5f62d7b34759/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11506, 921, 12, 2890, 16, 3475, 88, 416, 16, 1699, 67, 7337, 33, 8381, 4672, 3536, 14580, 3324, 279, 2181, 921, 628, 279, 3475, 8052, 300, 309, 732, 1608, 358, 6002, 471, 9876, 1492, 1245, 353, 3796, 732, 7844, 745, 596, 358, 2690, 707, 628, 2674, 358, 6002, 326, 3796, 3475, 2603, 309, 1915, 854, 1898, 2353, 1245, 766, 300, 2145, 2037, 518, 1807, 1898, 436, 1100, 5670, 814, 12123, 282, 468, 2324, 518, 731, 316, 326, 365, 18, 3729, 11425, 1122, 30, 364, 8275, 316, 365, 18, 3729, 11425, 30, 309, 8275, 18, 5465, 4521, 416, 422, 3475, 88, 416, 30, 327, 8275, 225, 16922, 273, 365, 18, 10657, 55, 484, 18, 3072, 11264, 9038, 12, 5465, 4521, 416, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11506, 921, 12, 2890, 16, 3475, 88, 416, 16, 1699, 67, 7337, 33, 8381, 4672, 3536, 14580, 3324, 279, 2181, 921, 628, 279, 3475, 8052, 300, 309, 732, 1608, 358, 6002, 471, 9876, 1492, 1245, 353, 3796, 732, 7844, 745, 596, 358, 2690, 707, 628, 2674, 358, 6002, 326, 3796, 3475, 2603, 309, 1915, 854, 1898, 2353, 1245, 766, 300, 2145, 2037, 518, 1807, 1898, 436, 1100, 5670, 814, 12123, 282, 468, 2324, 518, 731, 316, 326, 365, 18, 3729, 11425, 1122, 30, 364, 8275, 316, 365, 18, 3729, 11425, 30, 309, 8275, 18, 5465, 4521, 416, 422, 3475, 88, 416, 30, 327, 8275, 225, 16922, 273, 365, 18, 10657, 55, 484, 18, 3072, 11264, 9038, 12, 5465, 2 ]
return self.keyname
return self.key
def getkey(self): return self.keyname
8a26f1933d2876e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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, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 856, 12, 2890, 4672, 327, 365, 18, 856, 529, 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 ]
self.folder = self.doclist.CreateFolder(self.folder_name)
self.folder = self.client.CreateFolder(self.folder_name)
def setUp(self): client_login() self.doclist = client self.folder_name = 'TestFolder' self.folder = self.doclist.CreateFolder(self.folder_name)
dcc46816af19bac967f4b588353a3ee4514dd5d2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6580/dcc46816af19bac967f4b588353a3ee4514dd5d2/service_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 1004, 67, 5819, 1435, 365, 18, 2434, 1098, 273, 1004, 365, 18, 5609, 67, 529, 273, 296, 4709, 3899, 11, 365, 18, 5609, 273, 365, 18, 2434, 1098, 18, 1684, 3899, 12, 2890, 18, 5609, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 24292, 12, 2890, 4672, 1004, 67, 5819, 1435, 365, 18, 2434, 1098, 273, 1004, 365, 18, 5609, 67, 529, 273, 296, 4709, 3899, 11, 365, 18, 5609, 273, 365, 18, 2434, 1098, 18, 1684, 3899, 12, 2890, 18, 5609, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
or band_3.GetMaskFlags() != band.GetMaskFlags() \ or str(band_2.GetMaskBand()) != str(band.GetMaskBand()) \ or str(band_3.GetMaskBand()) != str(band.GetMaskBand()):
or band_3.GetMaskFlags() != band.GetMaskFlags():
def mask_3(): if gdaltest.have_ng == 0: return 'skip' ds = gdal.Open( 'data/stefan_full_rgba.png' ) if ds is None: gdaltest.post_reason( 'Failed to open test dataset.' ) return 'fail' # Test first mask. band = ds.GetRasterBand(1) if band.GetMaskFlags() != gdal.GMF_ALPHA + gdal.GMF_PER_DATASET: gdaltest.post_reason( 'Did not get expected mask.' ) return 'fail' cs = band.GetMaskBand().Checksum() if cs != 10807: gdaltest.post_reason( 'Got wrong mask checksum' ) print cs return 'fail' # Verify second and third same as first. band_2 = ds.GetRasterBand(2) band_3 = ds.GetRasterBand(3) if band_2.GetMaskFlags() != band.GetMaskFlags() \ or band_3.GetMaskFlags() != band.GetMaskFlags() \ or str(band_2.GetMaskBand()) != str(band.GetMaskBand()) \ or str(band_3.GetMaskBand()) != str(band.GetMaskBand()): gdaltest.post_reason( 'Band 2 or 3 does not seem to match first mask') return 'fail' # Verify alpha has no mask. band = ds.GetRasterBand(4) if band.GetMaskFlags() != gdal.GMF_ALL_VALID: gdaltest.post_reason( 'Did not get expected mask for alpha.' ) return 'fail' cs = band.GetMaskBand().Checksum() if cs != 36074: gdaltest.post_reason( 'Got wrong alpha mask checksum' ) print cs return 'fail' return 'success'
f798bec6a692d22e45ea35cbfd351214db6f1f7d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10290/f798bec6a692d22e45ea35cbfd351214db6f1f7d/mask.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3066, 67, 23, 13332, 225, 309, 15551, 2390, 395, 18, 21516, 67, 3368, 422, 374, 30, 327, 296, 7457, 11, 225, 3780, 273, 15551, 287, 18, 3678, 12, 296, 892, 19, 334, 10241, 304, 67, 2854, 67, 26198, 18, 6446, 11, 262, 225, 309, 3780, 353, 599, 30, 15551, 2390, 395, 18, 2767, 67, 10579, 12, 296, 2925, 358, 1696, 1842, 3709, 1093, 262, 327, 296, 6870, 11, 225, 468, 7766, 1122, 3066, 18, 225, 8937, 273, 3780, 18, 967, 18637, 14231, 12, 21, 13, 225, 309, 8937, 18, 967, 5796, 5094, 1435, 480, 15551, 287, 18, 43, 13542, 67, 26313, 397, 15551, 287, 18, 43, 13542, 67, 3194, 67, 4883, 4043, 30, 15551, 2390, 395, 18, 2767, 67, 10579, 12, 296, 18250, 486, 336, 2665, 3066, 1093, 262, 327, 296, 6870, 11, 225, 2873, 273, 8937, 18, 967, 5796, 14231, 7675, 10723, 1435, 309, 2873, 480, 1728, 3672, 27, 30, 15551, 2390, 395, 18, 2767, 67, 10579, 12, 296, 15617, 7194, 3066, 6697, 11, 262, 1172, 2873, 327, 296, 6870, 11, 225, 468, 8553, 2205, 471, 12126, 1967, 487, 1122, 18, 225, 8937, 67, 22, 273, 3780, 18, 967, 18637, 14231, 12, 22, 13, 8937, 67, 23, 273, 3780, 18, 967, 18637, 14231, 12, 23, 13, 225, 309, 8937, 67, 22, 18, 967, 5796, 5094, 1435, 480, 8937, 18, 967, 5796, 5094, 1435, 521, 578, 8937, 67, 23, 18, 967, 5796, 5094, 1435, 480, 8937, 18, 967, 5796, 5094, 13332, 15551, 2390, 395, 18, 2767, 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, 3066, 67, 23, 13332, 225, 309, 15551, 2390, 395, 18, 21516, 67, 3368, 422, 374, 30, 327, 296, 7457, 11, 225, 3780, 273, 15551, 287, 18, 3678, 12, 296, 892, 19, 334, 10241, 304, 67, 2854, 67, 26198, 18, 6446, 11, 262, 225, 309, 3780, 353, 599, 30, 15551, 2390, 395, 18, 2767, 67, 10579, 12, 296, 2925, 358, 1696, 1842, 3709, 1093, 262, 327, 296, 6870, 11, 225, 468, 7766, 1122, 3066, 18, 225, 8937, 273, 3780, 18, 967, 18637, 14231, 12, 21, 13, 225, 309, 8937, 18, 967, 5796, 5094, 1435, 480, 15551, 287, 18, 43, 13542, 67, 26313, 397, 15551, 287, 18, 43, 13542, 67, 3194, 67, 4883, 4043, 30, 15551, 2390, 395, 18, 2767, 2 ]
nodeDeps = getNodeDeps(node) fileDeps.data['require'].extend(nodeDeps)
nodeDeps = getNodeDeps(node, inFunction) field = 'use' if inFunction else 'require' fileDeps.data[field].extend(nodeDeps) elif node.type == "body" and node.parent.type == "function": inFunction = True
def analyzeNodeDeps(node, fileDeps):
e75c23a655ca9ec96cd3e7688c44053910d135e8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5718/e75c23a655ca9ec96cd3e7688c44053910d135e8/Class.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12375, 907, 14430, 12, 2159, 16, 585, 14430, 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 ]
[ 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, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12375, 907, 14430, 12, 2159, 16, 585, 14430, 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 ]
(1 - np.sign(Uvar[uB]) * bnd_rel) * Uvar[uB] + bnd_abs)
(1-np.sign(Uvar[uB]) * bnd_rel)*Uvar[uB] + bnd_abs)
def StartingPoint(self, **kwargs): """ Compute a strictly feasible initial primal-dual estimate (x,z). By default, x is taken as the starting point given in `nlp` and moved strictly into the bounds, and z is taken as the vector of ones. """ n = self.nlp.n Lvar = self.nlp.Lvar ; lB = self.lowerB Uvar = self.nlp.Uvar ; uB = self.upperB ; rB = self.rangeB bnd_rel = self.bound_rel_factor ; bnd_abs = self.bound_abs_factor
9a6c4f472b4224b483cf355221f1a3acafaa6be3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13857/9a6c4f472b4224b483cf355221f1a3acafaa6be3/pdmerit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24591, 2148, 12, 2890, 16, 2826, 4333, 4672, 3536, 8155, 279, 23457, 1656, 30711, 2172, 846, 2840, 17, 72, 1462, 11108, 261, 92, 16, 94, 2934, 2525, 805, 16, 619, 353, 9830, 487, 326, 5023, 1634, 864, 316, 1375, 24853, 68, 471, 10456, 23457, 1368, 326, 4972, 16, 471, 998, 353, 9830, 487, 326, 3806, 434, 5945, 18, 3536, 290, 273, 365, 18, 24853, 18, 82, 511, 1401, 273, 365, 18, 24853, 18, 48, 1401, 274, 328, 38, 273, 365, 18, 8167, 38, 587, 1401, 273, 365, 18, 24853, 18, 57, 1401, 274, 582, 38, 273, 365, 18, 5797, 38, 274, 436, 38, 273, 365, 18, 3676, 38, 324, 4880, 67, 2878, 273, 365, 18, 3653, 67, 2878, 67, 6812, 274, 324, 4880, 67, 5113, 273, 365, 18, 3653, 67, 5113, 67, 6812, 2, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24591, 2148, 12, 2890, 16, 2826, 4333, 4672, 3536, 8155, 279, 23457, 1656, 30711, 2172, 846, 2840, 17, 72, 1462, 11108, 261, 92, 16, 94, 2934, 2525, 805, 16, 619, 353, 9830, 487, 326, 5023, 1634, 864, 316, 1375, 24853, 68, 471, 10456, 23457, 1368, 326, 4972, 16, 471, 998, 353, 9830, 487, 326, 3806, 434, 5945, 18, 3536, 290, 273, 365, 18, 24853, 18, 82, 511, 1401, 273, 365, 18, 24853, 18, 48, 1401, 274, 328, 38, 273, 365, 18, 8167, 38, 587, 1401, 273, 365, 18, 24853, 18, 57, 1401, 274, 582, 38, 273, 365, 18, 5797, 38, 274, 436, 38, 273, 365, 18, 3676, 38, 324, 4880, 67, 2878, 273, 365, 18, 3653, 67, 2878, 2 ]
template_dict = {'organization': 'SAGE (at %s)'%(socket.gethostname()),
template_dict = {'organization': 'SAGE (at %s)'%(socket.getfqdn()),
def setup_server(template=None): check_dsage_dir() template_dict = {'organization': 'SAGE (at %s)'%(socket.gethostname()), 'unit': '389', 'locality': None, 'state': 'Washington', 'country': 'US', 'cn': socket.gethostname(), 'uid': 'sage_user', 'dn_oid': None, 'serial': str(random.randint(1,2**31)), 'dns_name': None, 'crl_dist_points': None, 'ip_address': None, 'expiration_days': 10000, 'email': '[email protected]', 'ca': None, 'tls_www_client': None, 'tls_www_server': True, 'signing_key': True, 'encryption_key': True, } if isinstance(template, dict): template_dict.update(template) s = "" for key, val in template_dict.iteritems(): if val is None: continue if val == True: w = '' elif isinstance(val, list): w = ' '.join(['"%s"'%x for x in val]) else: w = '"%s"'%val s += '%s = %s \n'%(key, w) template_file = os.path.join(DSAGE_DIR, 'cert.cfg') f = open(template_file, 'w') f.write(s) f.close() # Disable certificate generation -- not used right now anyways privkey_file = os.path.join(DSAGE_DIR, 'cacert.pem') pubkey_file = os.path.join(DSAGE_DIR, 'pubcert.pem') print DELIMITER print "Generating SSL certificate for server..." if os.uname()[0] != 'Darwin' and cmd_exists('openssl'): # We use openssl by default if it exists, since it is *vastly* # faster on Linux. cmd = ['openssl genrsa > %s' % privkey_file] print "Using openssl to generate key" print cmd[0] subprocess.call(cmd, shell=True) else: cmd = ['certtool --generate-privkey --outfile %s' % privkey_file] print "Using certtool to generate key" print cmd[0] # cmd = ['openssl genrsa > %s' % privkey_file] subprocess.call(cmd, shell=True) # cmd = ['openssl req -config %s -new -x509 -key %s -out %s -days \ # 1000' % (os.path.join(SAGE_ROOT,'local/openssl/openssl.cnf'), # privkey_file, pubkey_file)] cmd = ['certtool --generate-self-signed --template %s --load-privkey %s \ --outfile %s' % (template_file, privkey_file, pubkey_file)] subprocess.call(cmd, shell=True) print DELIMITER os.chmod(os.path.join(DSAGE_DIR, 'cacert.pem'), 0600) # conf_file = os.path.join(DSAGE_DIR, 'server.conf') # config.write(open(conf_file, 'w')) # add default user from twisted.conch.ssh import keys import base64 # c = ConfigParser.ConfigParser() # c.read(os.path.join(DSAGE_DIR, 'client.conf')) from getpass import getuser username = getuser() pubkey_file = os.path.join(DSAGE_DIR, 'dsage_key.pub') clientdb = ClientDatabase() pubkey = base64.encodestring( keys.getPublicKeyString(filename=pubkey_file).strip()) if clientdb.get_user(username) is None: clientdb.add_user(username, pubkey) print 'Added user %s.\n' % (username) else: user, key = clientdb.get_user_and_key(username) if key != pubkey: clientdb.del_user(username) clientdb.add_user(username, pubkey) print "User %s's pubkey changed, setting to new one." % (username) else: print 'User %s already exists.' % (username) print "Server configuration finished.\n\n"
2d1c151f4f759a4d6c6b6208e8ce8db303a98218 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/2d1c151f4f759a4d6c6b6208e8ce8db303a98218/dsage_setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 67, 3567, 12, 3202, 33, 7036, 4672, 866, 67, 2377, 410, 67, 1214, 1435, 1542, 67, 1576, 273, 13666, 15336, 4278, 296, 55, 2833, 261, 270, 738, 87, 2506, 17105, 7814, 18, 588, 19206, 5176, 1435, 3631, 296, 4873, 4278, 296, 23, 6675, 2187, 296, 3729, 560, 4278, 599, 16, 296, 2019, 4278, 296, 59, 961, 310, 1917, 2187, 296, 9082, 4278, 296, 3378, 2187, 296, 10305, 4278, 2987, 18, 75, 546, 669, 529, 9334, 296, 1911, 4278, 296, 87, 410, 67, 1355, 2187, 296, 5176, 67, 839, 4278, 599, 16, 296, 8818, 4278, 609, 12, 9188, 18, 7884, 474, 12, 21, 16, 22, 636, 6938, 13, 3631, 296, 14926, 67, 529, 4278, 599, 16, 296, 71, 1321, 67, 4413, 67, 4139, 4278, 599, 16, 296, 625, 67, 2867, 4278, 599, 16, 296, 19519, 67, 9810, 4278, 12619, 16, 296, 3652, 4278, 296, 87, 410, 36, 87, 346, 351, 421, 18, 3341, 2187, 296, 5353, 4278, 599, 16, 296, 17116, 67, 5591, 67, 2625, 4278, 599, 16, 296, 17116, 67, 5591, 67, 3567, 4278, 1053, 16, 296, 26907, 67, 856, 4278, 1053, 16, 296, 16646, 67, 856, 4278, 1053, 16, 289, 225, 309, 1549, 12, 3202, 16, 2065, 4672, 1542, 67, 1576, 18, 2725, 12, 3202, 13, 225, 272, 273, 1408, 364, 498, 16, 1244, 316, 1542, 67, 1576, 18, 2165, 3319, 13332, 309, 1244, 353, 599, 30, 1324, 309, 1244, 422, 1053, 30, 341, 273, 875, 1327, 1549, 12, 1125, 16, 666, 4672, 341, 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, 3875, 67, 3567, 12, 3202, 33, 7036, 4672, 866, 67, 2377, 410, 67, 1214, 1435, 1542, 67, 1576, 273, 13666, 15336, 4278, 296, 55, 2833, 261, 270, 738, 87, 2506, 17105, 7814, 18, 588, 19206, 5176, 1435, 3631, 296, 4873, 4278, 296, 23, 6675, 2187, 296, 3729, 560, 4278, 599, 16, 296, 2019, 4278, 296, 59, 961, 310, 1917, 2187, 296, 9082, 4278, 296, 3378, 2187, 296, 10305, 4278, 2987, 18, 75, 546, 669, 529, 9334, 296, 1911, 4278, 296, 87, 410, 67, 1355, 2187, 296, 5176, 67, 839, 4278, 599, 16, 296, 8818, 4278, 609, 12, 9188, 18, 7884, 474, 12, 21, 16, 22, 636, 6938, 13, 3631, 296, 14926, 67, 529, 4278, 599, 16, 296, 71, 2 ]
WHERE tt_user = '%(tt_user)s' AND tt_name = '%(tt_name)s'
WHERE tt_user = %s AND tt_name = %s
def fetchAll(cls, env, data): """Retrieve an existing tt from the database by ID. result: { "field_value_mapping":{ "default":{ "summary":"aaa", "description":"bbb", },
fc81cb214b3f9b6f118c64a88c1ca66803e73c85 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5628/fc81cb214b3f9b6f118c64a88c1ca66803e73c85/model.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12817, 12, 6429, 16, 1550, 16, 501, 4672, 3536, 5767, 392, 2062, 3574, 628, 326, 2063, 635, 1599, 18, 563, 30, 288, 315, 1518, 67, 1132, 67, 6770, 6877, 95, 315, 1886, 6877, 95, 315, 7687, 15563, 26676, 3113, 315, 3384, 15563, 9897, 70, 3113, 19879, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12817, 12, 6429, 16, 1550, 16, 501, 4672, 3536, 5767, 392, 2062, 3574, 628, 326, 2063, 635, 1599, 18, 563, 30, 288, 315, 1518, 67, 1132, 67, 6770, 6877, 95, 315, 1886, 6877, 95, 315, 7687, 15563, 26676, 3113, 315, 3384, 15563, 9897, 70, 3113, 19879, 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 ]
sub.__parent = self
sub.__parent = wkref(self)
def __setitem__( self, k, v ): if isinstance(v,ParseResultsWithOffset): self.__tokdict[k] = self.__tokdict.get(k,list()) + [v] sub = v[0] elif isinstance(k,int): self.__toklist[k] = v sub = v else: self.__tokdict[k] = self.__tokdict.get(k,list()) + [(v,0)] sub = v if isinstance(sub,ParseResults): sub.__parent = self
fe4553e6ec2935041dca80d29446568e2932ed31 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3693/fe4553e6ec2935041dca80d29446568e2932ed31/pyparsing.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 542, 1726, 972, 12, 365, 16, 417, 16, 331, 262, 30, 309, 1549, 12, 90, 16, 3201, 3447, 1190, 2335, 4672, 365, 16186, 17692, 1576, 63, 79, 65, 273, 365, 16186, 17692, 1576, 18, 588, 12, 79, 16, 1098, 10756, 397, 306, 90, 65, 720, 273, 331, 63, 20, 65, 1327, 1549, 12, 79, 16, 474, 4672, 365, 16186, 17692, 1098, 63, 79, 65, 273, 331, 720, 273, 331, 469, 30, 365, 16186, 17692, 1576, 63, 79, 65, 273, 365, 16186, 17692, 1576, 18, 588, 12, 79, 16, 1098, 10756, 397, 306, 12, 90, 16, 20, 25887, 720, 273, 331, 309, 1549, 12, 1717, 16, 3201, 3447, 4672, 720, 16186, 2938, 273, 26987, 1734, 12, 2890, 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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 365, 16, 417, 16, 331, 262, 30, 309, 1549, 12, 90, 16, 3201, 3447, 1190, 2335, 4672, 365, 16186, 17692, 1576, 63, 79, 65, 273, 365, 16186, 17692, 1576, 18, 588, 12, 79, 16, 1098, 10756, 397, 306, 90, 65, 720, 273, 331, 63, 20, 65, 1327, 1549, 12, 79, 16, 474, 4672, 365, 16186, 17692, 1098, 63, 79, 65, 273, 331, 720, 273, 331, 469, 30, 365, 16186, 17692, 1576, 63, 79, 65, 273, 365, 16186, 17692, 1576, 18, 588, 12, 79, 16, 1098, 10756, 397, 306, 12, 90, 16, 20, 25887, 720, 273, 331, 309, 1549, 12, 1717, 16, 3201, 3447, 4672, 720, 16186, 2938, 273, 26987, 1734, 12, 2890, 13, 2 ]
def __init__(self, name, is_dc=True, formatter=None, none_is=None):
def __init__(self, name, is_dc=True, formatter=None, none_is=None, renderer=lambda x: unicode(x)):
def __init__(self, name, is_dc=True, formatter=None, none_is=None): self.name = name self.is_dc = is_dc self.formatter = formatter self.none_is = none_is
199d870b191ab863f21a4f55341501cbacd5c51b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/199d870b191ab863f21a4f55341501cbacd5c51b/opf2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 508, 16, 353, 67, 7201, 33, 5510, 16, 4453, 33, 7036, 16, 6555, 67, 291, 33, 7036, 16, 5690, 33, 14661, 619, 30, 5252, 12, 92, 3719, 30, 365, 18, 529, 1377, 273, 508, 365, 18, 291, 67, 7201, 377, 273, 353, 67, 7201, 365, 18, 12354, 273, 4453, 365, 18, 6102, 67, 291, 282, 273, 6555, 67, 291, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 508, 16, 353, 67, 7201, 33, 5510, 16, 4453, 33, 7036, 16, 6555, 67, 291, 33, 7036, 16, 5690, 33, 14661, 619, 30, 5252, 12, 92, 3719, 30, 365, 18, 529, 1377, 273, 508, 365, 18, 291, 67, 7201, 377, 273, 353, 67, 7201, 365, 18, 12354, 273, 4453, 365, 18, 6102, 67, 291, 282, 273, 6555, 67, 291, 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 ]
self.assertEqual(str(waiter), "<Waiter greenlet=None exc_info=(<type 'exceptions.ZeroDivisionError'>,)>")
assert re.match('^<Waiter greenlet=None exc_info=.*ZeroDivisionError.*$', str(waiter)), str(waiter)
def test(self): waiter = self.waiter self.assertEqual(str(waiter), '<Waiter greenlet=None>') waiter.switch(25) self.assertEqual(str(waiter), '<Waiter greenlet=None value=25>') self.assertEqual(waiter.get(), 25)
e0ae1fdf139bbcb327466e8444a5035944425079 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10423/e0ae1fdf139bbcb327466e8444a5035944425079/test__hub.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 12, 2890, 4672, 17522, 273, 365, 18, 7048, 264, 365, 18, 11231, 5812, 12, 701, 12, 7048, 264, 3631, 2368, 5480, 264, 10004, 1810, 33, 7036, 1870, 13, 17522, 18, 9610, 12, 2947, 13, 365, 18, 11231, 5812, 12, 701, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 12, 2890, 4672, 17522, 273, 365, 18, 7048, 264, 365, 18, 11231, 5812, 12, 701, 12, 7048, 264, 3631, 2368, 5480, 264, 10004, 1810, 33, 7036, 1870, 13, 17522, 18, 9610, 12, 2947, 13, 365, 18, 11231, 5812, 12, 701, 12, 7048, 264, 3631, 2368, 5480, 264, 10004, 1810, 33, 7036, 460, 33, 2947, 1870, 13, 365, 18, 11231, 5812, 12, 7048, 264, 18, 588, 9334, 6969, 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 ]
self.filepath, self.child = '', None
self.filename, self.filepath = "", '' self.child, self.fullscreen = None, False self.keyConfig = loadMplayerInputConf()
def __init__(self, playlist): self.playlist = playlist self.filepath, self.child = '', None # Set up the window self.window = gtk.Window() self.window.set_icon_name('video') self.window.set_default_size(*START_SIZE) self.window.set_position(gtk.WIN_POS_CENTER) self.window.show() self.socket = gtk.Socket() self.window.add(self.socket) self.socket.show()
efc3b07bbba04bedff98b4a30a0b717cf4b50c5a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/13137/efc3b07bbba04bedff98b4a30a0b717cf4b50c5a/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 16428, 4672, 365, 18, 1601, 1098, 273, 16428, 365, 18, 3459, 16, 365, 18, 10561, 273, 23453, 875, 365, 18, 3624, 16, 365, 18, 2854, 9252, 273, 599, 16, 1083, 282, 365, 18, 856, 809, 273, 1262, 49, 14872, 1210, 3976, 1435, 225, 468, 1000, 731, 326, 2742, 365, 18, 5668, 273, 22718, 18, 3829, 1435, 365, 18, 5668, 18, 542, 67, 3950, 67, 529, 2668, 9115, 6134, 365, 18, 5668, 18, 542, 67, 1886, 67, 1467, 30857, 7570, 67, 4574, 13, 365, 18, 5668, 18, 542, 67, 3276, 12, 4521, 79, 18, 24572, 67, 7057, 67, 19835, 13, 365, 18, 5668, 18, 4500, 1435, 225, 365, 18, 7814, 273, 22718, 18, 4534, 1435, 365, 18, 5668, 18, 1289, 12, 2890, 18, 7814, 13, 365, 18, 7814, 18, 4500, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 16428, 4672, 365, 18, 1601, 1098, 273, 16428, 365, 18, 3459, 16, 365, 18, 10561, 273, 23453, 875, 365, 18, 3624, 16, 365, 18, 2854, 9252, 273, 599, 16, 1083, 282, 365, 18, 856, 809, 273, 1262, 49, 14872, 1210, 3976, 1435, 225, 468, 1000, 731, 326, 2742, 365, 18, 5668, 273, 22718, 18, 3829, 1435, 365, 18, 5668, 18, 542, 67, 3950, 67, 529, 2668, 9115, 6134, 365, 18, 5668, 18, 542, 67, 1886, 67, 1467, 30857, 7570, 67, 4574, 13, 365, 18, 5668, 18, 542, 67, 3276, 12, 4521, 79, 18, 24572, 67, 7057, 67, 19835, 13, 365, 18, 5668, 18, 4500, 1435, 225, 365, 18, 7814, 273, 22718, 18, 2 ]
self.build_list_params(params, instances, 'instances.member.%d')
self.build_list_params(params, instances, 'Instances.member.%d')
def describe_instance_health(self, load_balancer_name, instances=None): """ Get current state of all Instances registered to an Load Balancer.
8eb9753cc2e5cd3bb853fdb8b1324b77450a9548 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1098/8eb9753cc2e5cd3bb853fdb8b1324b77450a9548/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6401, 67, 1336, 67, 13267, 12, 2890, 16, 1262, 67, 18770, 67, 529, 16, 3884, 33, 7036, 4672, 3536, 968, 783, 919, 434, 777, 18357, 4104, 358, 392, 4444, 605, 5191, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6401, 67, 1336, 67, 13267, 12, 2890, 16, 1262, 67, 18770, 67, 529, 16, 3884, 33, 7036, 4672, 3536, 968, 783, 919, 434, 777, 18357, 4104, 358, 392, 4444, 605, 5191, 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 ]
resultDict[key] = value else: resultDict[key] = value return S_OK(resultDict)
resultDict[key] = value else: resultDict[key] = value return S_OK( resultDict )
def getMetadataSet(self,metaSetName,expandFlag,credDict): """ Get fully expanded contents of the metadata set """ result = self.getMetadataFields(credDict) if not result['OK']: return result metaTypeDict = result['Value'] req = "SELECT S.MetaKey,S.MetaValue FROM FC_MetaSets as S, FC_MetaSetNames as N WHERE N.MetaSetName='%s' AND N.MetaSetID=S.MetaSetID" % metaSetName result = self._query(req) if not result['OK']: return result if not result['Value']: return S_OK({})
127f98379e5064d0a5d5df2ba7ce74c780770faa /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/127f98379e5064d0a5d5df2ba7ce74c780770faa/DirectoryMetadata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11159, 694, 12, 2890, 16, 3901, 11924, 16, 12320, 4678, 16, 20610, 5014, 4672, 3536, 968, 7418, 8406, 2939, 434, 326, 1982, 444, 3536, 563, 273, 365, 18, 588, 2277, 2314, 12, 20610, 5014, 13, 309, 486, 563, 3292, 3141, 3546, 30, 327, 563, 2191, 559, 5014, 273, 563, 3292, 620, 3546, 225, 1111, 273, 315, 4803, 348, 18, 2781, 653, 16, 55, 18, 2781, 620, 4571, 478, 39, 67, 2781, 2785, 487, 348, 16, 478, 39, 67, 2781, 694, 1557, 487, 423, 4852, 423, 18, 2781, 11924, 28713, 87, 11, 4116, 423, 18, 2781, 694, 734, 33, 55, 18, 2781, 694, 734, 6, 738, 2191, 11924, 563, 273, 365, 6315, 2271, 12, 3658, 13, 309, 486, 563, 3292, 3141,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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, 11159, 694, 12, 2890, 16, 3901, 11924, 16, 12320, 4678, 16, 20610, 5014, 4672, 3536, 968, 7418, 8406, 2939, 434, 326, 1982, 444, 3536, 563, 273, 365, 18, 588, 2277, 2314, 12, 20610, 5014, 13, 309, 486, 563, 3292, 3141, 3546, 30, 327, 563, 2191, 559, 5014, 273, 563, 3292, 620, 3546, 225, 1111, 273, 315, 4803, 348, 18, 2781, 653, 16, 55, 18, 2781, 620, 4571, 478, 39, 67, 2781, 2785, 487, 348, 16, 478, 39, 67, 2781, 694, 1557, 487, 423, 4852, 423, 18, 2781, 11924, 28713, 87, 11, 4116, 423, 18, 2781, 694, 734, 33, 55, 18, 2781, 694, 734, 6, 738, 2191, 11924, 563, 273, 365, 6315, 2271, 12, 3658, 13, 309, 486, 563, 2 ]
class TestCacheManager(CachingComponentsTestCase): def test_markerhandling(self): cm = CacheManager(self.workdir) marker_string = cm._getMarker( 'somefakedhash', 3) self.assertEqual(marker_string, 'somefakedhash_3') hash = cm._getHashFromMarker('somefakedhash_3') self.assertEqual(hash, 'somefakedhash') self.assertEqual(cm._getHashFromMarker('asd'), None) self.assertEqual(cm._getHashFromMarker(object()), None) return def test_init(self): cm = CacheManager(self.workdir) self.assertEqual(cm.level, 1) self.assertEqual(cm.cache_dir, self.workdir) shutil.rmtree(self.workdir) cm = CacheManager(self.workdir) self.assertTrue(os.path.isdir(self.workdir)) def test_init_broken_cache_dir(self): broken_cache_dir = os.path.join(self.workdir, 'not-a-dir') open(broken_cache_dir, 'wb').write('i am a file') self.assertRaises(IOError, CacheManager, broken_cache_dir)
def setUp(self): self.workdir = tempfile.mkdtemp() self.inputdir = tempfile.mkdtemp() self.src_path1 = os.path.join(self.inputdir, 'srcfile1') self.src_path2 = os.path.join(self.inputdir, 'srcfile2') self.result_path1 = os.path.join(self.inputdir, 'resultfile1') self.result_path2 = os.path.join(self.inputdir, 'resultfile2') open(self.src_path1, 'wb').write('source1\n') open(self.src_path2, 'wb').write('source2\n') open(self.result_path1, 'wb').write('result1\n') open(self.result_path2, 'wb').write('result2\n')
dc8f5fb045b3be0c0611ea58c3b37e99aab059e8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9162/dc8f5fb045b3be0c0611ea58c3b37e99aab059e8/test_cachemanager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 365, 18, 1252, 1214, 273, 13275, 18, 24816, 72, 5814, 1435, 365, 18, 2630, 1214, 273, 13275, 18, 24816, 72, 5814, 1435, 365, 18, 4816, 67, 803, 21, 273, 1140, 18, 803, 18, 5701, 12, 2890, 18, 2630, 1214, 16, 296, 4816, 768, 21, 6134, 365, 18, 4816, 67, 803, 22, 273, 1140, 18, 803, 18, 5701, 12, 2890, 18, 2630, 1214, 16, 296, 4816, 768, 22, 6134, 365, 18, 2088, 67, 803, 21, 273, 1140, 18, 803, 18, 5701, 12, 2890, 18, 2630, 1214, 16, 296, 2088, 768, 21, 6134, 365, 18, 2088, 67, 803, 22, 273, 1140, 18, 803, 18, 5701, 12, 2890, 18, 2630, 1214, 16, 296, 2088, 768, 22, 6134, 1696, 12, 2890, 18, 4816, 67, 803, 21, 16, 296, 9464, 16063, 2626, 2668, 3168, 21, 64, 82, 6134, 1696, 12, 2890, 18, 4816, 67, 803, 22, 16, 296, 9464, 16063, 2626, 2668, 3168, 22, 64, 82, 6134, 1696, 12, 2890, 18, 2088, 67, 803, 21, 16, 296, 9464, 16063, 2626, 2668, 2088, 21, 64, 82, 6134, 1696, 12, 2890, 18, 2088, 67, 803, 22, 16, 296, 9464, 16063, 2626, 2668, 2088, 22, 64, 82, 6134, 2, 0, 0, 0, 0, 0, 0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, 24816, 72, 5814, 1435, 365, 18, 4816, 67, 803, 21, 273, 1140, 18, 803, 18, 5701, 12, 2890, 18, 2630, 1214, 16, 296, 4816, 768, 21, 6134, 365, 18, 4816, 67, 803, 22, 273, 1140, 18, 803, 18, 5701, 12, 2890, 18, 2630, 1214, 16, 296, 4816, 768, 22, 6134, 365, 18, 2088, 67, 803, 21, 273, 1140, 18, 803, 18, 5701, 12, 2890, 18, 2630, 1214, 16, 296, 2088, 768, 21, 6134, 365, 18, 2088, 67, 803, 22, 273, 1140, 18, 803, 18, 5701, 12, 2890, 18, 2630, 1214, 16, 296, 2088, 768, 22, 6134, 2 ]
print _('Editing entry %s\n'
print _('Editing entry %r\n'
def edit(self, entry=None): """Edits the specified `entry`. If `entry` is None, a new entry is created.
4a1b0e39c0e8f9263a36e8e53943e18224245734 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2215/4a1b0e39c0e8f9263a36e8e53943e18224245734/tel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3874, 12, 2890, 16, 1241, 33, 7036, 4672, 3536, 2671, 1282, 326, 1269, 1375, 4099, 8338, 971, 1375, 4099, 68, 353, 599, 16, 279, 394, 1241, 353, 2522, 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, 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 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3874, 12, 2890, 16, 1241, 33, 7036, 4672, 3536, 2671, 1282, 326, 1269, 1375, 4099, 8338, 971, 1375, 4099, 68, 353, 599, 16, 279, 394, 1241, 353, 2522, 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 ]
for reqInfo, depSet, provInfo in cannotResolve:
for reqInfo, depSet, provInfo in sorted(cannotResolve):
def checkDeps(self, uJob, jobSet, trvSrc, findOrdering, resolveDeps, ineligible, keepRequired = True, criticalUpdateInfo = None): """ Given a jobSet, use its dependencies to determine an ordering, resolve problems with jobs that have difficult dependency problems immediately, and determine any missing dependencies. """
ee8e3f7e7259b9fa13fdf6605d38435a6109f022 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/ee8e3f7e7259b9fa13fdf6605d38435a6109f022/resolve.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 14430, 12, 2890, 16, 582, 2278, 16, 1719, 694, 16, 433, 90, 7740, 16, 1104, 20493, 16, 2245, 14430, 16, 316, 292, 16057, 16, 3455, 3705, 273, 1053, 16, 11239, 1891, 966, 273, 599, 4672, 3536, 16803, 279, 1719, 694, 16, 999, 2097, 5030, 358, 4199, 392, 9543, 16, 2245, 9688, 598, 6550, 716, 1240, 3122, 17551, 4904, 9688, 7636, 16, 471, 4199, 1281, 3315, 5030, 18, 3536, 2, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 14430, 12, 2890, 16, 582, 2278, 16, 1719, 694, 16, 433, 90, 7740, 16, 1104, 20493, 16, 2245, 14430, 16, 316, 292, 16057, 16, 3455, 3705, 273, 1053, 16, 11239, 1891, 966, 273, 599, 4672, 3536, 16803, 279, 1719, 694, 16, 999, 2097, 5030, 358, 4199, 392, 9543, 16, 2245, 9688, 598, 6550, 716, 1240, 3122, 17551, 4904, 9688, 7636, 16, 471, 4199, 1281, 3315, 5030, 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 ]
self.attr_content.append(LocalAttributeDeclaration(self))
content.append(LocalAttributeDeclaration(self))
def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node)
66c6baf2288f065b45db940b63cfc5dba1aa9fb0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/13054/66c6baf2288f065b45db940b63cfc5dba1aa9fb0/XMLSchema.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 628, 8832, 12, 2890, 16, 756, 4672, 365, 18, 542, 2498, 12, 2159, 13, 2939, 273, 365, 18, 588, 6323, 12, 2159, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 628, 8832, 12, 2890, 16, 756, 4672, 365, 18, 542, 2498, 12, 2159, 13, 2939, 273, 365, 18, 588, 6323, 12, 2159, 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 ]
return '(%s CROSS JOIN %s)' % (fixed, optional)
return ('(', fixed, ' CROSS JOIN ', optional, ')')
def LeftJoin(self, expr, fixed, optional, cond=None): if cond is not None: return '(%s LEFT JOIN %s ON (%s))' % (fixed, optional, cond) else: # If no condition is available, this is actually a cross # join. return '(%s CROSS JOIN %s)' % (fixed, optional)
d865e4bb2a2ccd72870204a5984403ca535a7525 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5223/d865e4bb2a2ccd72870204a5984403ca535a7525/emit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13338, 4572, 12, 2890, 16, 3065, 16, 5499, 16, 3129, 16, 6941, 33, 7036, 4672, 309, 6941, 353, 486, 599, 30, 327, 7747, 9, 87, 9686, 7645, 738, 87, 6229, 6142, 87, 13, 2506, 738, 261, 12429, 16, 3129, 16, 6941, 13, 469, 30, 468, 971, 1158, 2269, 353, 2319, 16, 333, 353, 6013, 279, 6828, 468, 1233, 18, 327, 7747, 9, 87, 385, 1457, 1260, 7645, 738, 87, 2506, 738, 261, 12429, 16, 3129, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13338, 4572, 12, 2890, 16, 3065, 16, 5499, 16, 3129, 16, 6941, 33, 7036, 4672, 309, 6941, 353, 486, 599, 30, 327, 7747, 9, 87, 9686, 7645, 738, 87, 6229, 6142, 87, 13, 2506, 738, 261, 12429, 16, 3129, 16, 6941, 13, 469, 30, 468, 971, 1158, 2269, 353, 2319, 16, 333, 353, 6013, 279, 6828, 468, 1233, 18, 327, 7747, 9, 87, 385, 1457, 1260, 7645, 738, 87, 2506, 738, 261, 12429, 16, 3129, 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 ]
url = zapi.absoluteURL(app, request)
app_url = zapi.absoluteURL(app, request) query_string = request.getHeader('QUERY_STRING') if query_string: query_string = "?%s" % query_string else: query_string = "" full_url = "%s%s" % (str(request.URL), query_string)
def unauthorized(self, id, request): """Signal an authorization failure.""" if not IBrowserRequest.providedBy(request) or request.method == 'PUT': next = getNextUtility(self, IAuthentication) return next.unauthorized(id, request) if str(request.URL).endswith('.ics'): # Special case: testing shows that Mozilla Calendar does not send # the Authorization header unless challenged. It is pointless # to redirect an iCalendar client to an HTML login form. next = getNextUtility(self, IAuthentication) return next.unauthorized(id, request) app = getSchoolToolApplication() url = zapi.absoluteURL(app, request)
e0bc02dcf7875f8ec119554896e956abb8b0c838 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7127/e0bc02dcf7875f8ec119554896e956abb8b0c838/security.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 640, 8434, 12, 2890, 16, 612, 16, 590, 4672, 3536, 11208, 392, 6093, 5166, 12123, 309, 486, 467, 9132, 691, 18, 29206, 858, 12, 2293, 13, 578, 590, 18, 2039, 422, 296, 4762, 4278, 1024, 273, 6927, 6497, 12, 2890, 16, 467, 6492, 13, 327, 1024, 18, 318, 8434, 12, 350, 16, 590, 13, 309, 609, 12, 2293, 18, 1785, 2934, 5839, 1918, 2668, 18, 2102, 11, 4672, 468, 13409, 648, 30, 7769, 17975, 716, 19058, 10745, 5542, 1552, 486, 1366, 468, 326, 10234, 1446, 3308, 462, 7862, 2423, 18, 225, 2597, 353, 1634, 2656, 468, 358, 3136, 392, 277, 7335, 1004, 358, 392, 3982, 3925, 646, 18, 1024, 273, 6927, 6497, 12, 2890, 16, 467, 6492, 13, 327, 1024, 18, 318, 8434, 12, 350, 16, 590, 13, 595, 273, 1322, 343, 1371, 6364, 3208, 1435, 880, 273, 998, 2425, 18, 12547, 1785, 12, 2910, 16, 590, 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,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, 11208, 392, 6093, 5166, 12123, 309, 486, 467, 9132, 691, 18, 29206, 858, 12, 2293, 13, 578, 590, 18, 2039, 422, 296, 4762, 4278, 1024, 273, 6927, 6497, 12, 2890, 16, 467, 6492, 13, 327, 1024, 18, 318, 8434, 12, 350, 16, 590, 13, 309, 609, 12, 2293, 18, 1785, 2934, 5839, 1918, 2668, 18, 2102, 11, 4672, 468, 13409, 648, 30, 7769, 17975, 716, 19058, 10745, 5542, 1552, 486, 1366, 468, 326, 10234, 1446, 3308, 462, 7862, 2423, 18, 225, 2597, 353, 1634, 2656, 468, 358, 3136, 392, 277, 7335, 1004, 358, 392, 3982, 3925, 646, 18, 1024, 273, 6927, 6497, 12, 2890, 16, 467, 6492, 13, 2 ]
if _debug: print "\t%s: Called Plot.__init__()" % rendererName pass def setData(self,*dataList):
Item.__init__(self) debugMsg(" Called Plot.__init__()") self.renderer = scene.renderer self.title = None self.xlabel = None self.ylabel = None self.zlabel = None def setData(self, *dataList):
def __init__(self,scene): """ Initialisation of the abstract Plot class @param scene: The Scene to render the plot in @type scene: Scene object """ if _debug: print "\t%s: Called Plot.__init__()" % rendererName pass
525240b057c0121c2cab7772950af46d6399ad7e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8476/525240b057c0121c2cab7772950af46d6399ad7e/plot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 23694, 4672, 3536, 10188, 10742, 434, 326, 8770, 15211, 667, 225, 632, 891, 9065, 30, 1021, 29347, 358, 1743, 326, 3207, 316, 632, 723, 9065, 30, 29347, 733, 3536, 309, 389, 4148, 30, 1172, 1548, 88, 9, 87, 30, 11782, 15211, 16186, 2738, 972, 10031, 738, 5690, 461, 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, 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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, 1001, 2738, 972, 12, 2890, 16, 23694, 4672, 3536, 10188, 10742, 434, 326, 8770, 15211, 667, 225, 632, 891, 9065, 30, 1021, 29347, 358, 1743, 326, 3207, 316, 632, 723, 9065, 30, 29347, 733, 3536, 309, 389, 4148, 30, 1172, 1548, 88, 9, 87, 30, 11782, 15211, 16186, 2738, 972, 10031, 738, 5690, 461, 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 ]
new_items, del_items, self.play_items)
new_items, del_items, \ self.play_items)
def update(self, new_files, del_files, all_files): """ update the current item set. Maybe this function can share some code with cwd in the future, but it's easier now the way it is """ new_items = [] del_items = []
c597eabb07d1d19996e3517901c2c154305ed589 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/c597eabb07d1d19996e3517901c2c154305ed589/mediamenu.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 16, 394, 67, 2354, 16, 1464, 67, 2354, 16, 777, 67, 2354, 4672, 3536, 1089, 326, 783, 761, 444, 18, 14024, 333, 445, 848, 7433, 2690, 981, 598, 7239, 316, 326, 3563, 16, 1496, 518, 1807, 15857, 2037, 326, 4031, 518, 353, 3536, 394, 67, 3319, 273, 5378, 1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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 16, 394, 67, 2354, 16, 1464, 67, 2354, 16, 777, 67, 2354, 4672, 3536, 1089, 326, 783, 761, 444, 18, 14024, 333, 445, 848, 7433, 2690, 981, 598, 7239, 316, 326, 3563, 16, 1496, 518, 1807, 15857, 2037, 326, 4031, 518, 353, 3536, 394, 67, 3319, 273, 5378, 1464, 67, 3319, 273, 5378, 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 ]
res = prefac * sumres * (-1) ** (int(aa + bb + cc + dd))
res = prefac * sumres * (-1) ** int(aa + bb + cc + dd)
def racah(aa, bb, cc, dd, ee, ff, prec=None): r""" Calculate the Racah symbol `W(a,b,c,d;e,f)`. INPUT: - ``a``, ..., ``f`` - integer or half integer - ``prec`` - precision, default: None. Providing a precision can drastically speed up the calculation. OUTPUT: rational number times the square root of a rational number (if prec=None), or real number if a precision is given EXAMPLES:: sage: racah(3,3,3,3,3,3) -1/14 NOTES: The Racah symbol is related to the Wigner 6j symbol: .. math:: Wigner6j(j_1,j_2,j_3,j_4,j_5,j_6) =(-1)^{j_1+j_2+j_4+j_5} W(j_1,j_2,j_5,j_4,j_3,j_6) Please see the 6j symbol for its much richer symmetries and for additional properties. ALGORITHM: This function uses the algorithm of [Edmonds74] to calculate the value of the 6j symbol exactly. Note that the formula contains alternating sums over large factorials and is therefore unsuitable for finite precision arithmetic and only useful for a computer algebra system [Rasch03]. REFERENCES: - [Edmonds74] 'Angular Momentum in Quantum Mechanics', A. R. Edmonds, Princeton University Press (1974) - [Rasch03] 'Efficient Storage Scheme for Pre-calculated Wigner 3j, 6j and Gaunt Coefficients', J. Rasch and A. C. H. Yu, SIAM J. Sci. Comput. Volume 25, Issue 4, pp. 1416-1428 (2003) AUTHORS: - Jens Rasch (2009-03-24): initial version """ prefac = _big_delta_coeff(aa, bb, ee, prec) * \ _big_delta_coeff(cc, dd, ee, prec) * \ _big_delta_coeff(aa, cc, ff, prec) * \ _big_delta_coeff(bb, dd, ff, prec) if prefac == 0: return 0 imin = max(aa + bb + ee, cc + dd + ee, aa + cc + ff, bb + dd + ff) imax = min(aa + bb + cc + dd, aa + dd + ee + ff, bb + cc + ee + ff) maxfact = max(imax + 1, aa + bb + cc + dd, aa + dd + ee + ff, \ bb + cc + ee + ff) _calc_factlist(maxfact) sumres = 0 for kk in range(imin, imax + 1): den = _Factlist[int(kk - aa - bb - ee)] * \ _Factlist[int(kk - cc - dd - ee)] * \ _Factlist[int(kk - aa - cc - ff)] * \ _Factlist[int(kk - bb - dd - ff)] * \ _Factlist[int(aa + bb + cc + dd - kk)] * \ _Factlist[int(aa + dd + ee + ff - kk)] * \ _Factlist[int(bb + cc + ee + ff - kk)] sumres = sumres + Integer((-1) ** kk * _Factlist[kk + 1]) / den res = prefac * sumres * (-1) ** (int(aa + bb + cc + dd)) return res
7df69c5c6f107763eb9f25a2174930b0961c0f48 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/7df69c5c6f107763eb9f25a2174930b0961c0f48/wigner.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 767, 5353, 76, 12, 7598, 16, 7129, 16, 4946, 16, 6957, 16, 14657, 16, 6875, 16, 13382, 33, 7036, 4672, 436, 8395, 9029, 326, 534, 1077, 9795, 3273, 1375, 59, 12, 69, 16, 70, 16, 71, 16, 72, 31, 73, 16, 74, 13, 8338, 225, 12943, 30, 225, 300, 225, 12176, 69, 68, 9191, 1372, 16, 12176, 74, 10335, 300, 3571, 578, 8816, 3571, 225, 300, 225, 12176, 4036, 10335, 300, 6039, 16, 805, 30, 599, 18, 1186, 1246, 310, 279, 6039, 848, 302, 354, 334, 6478, 8632, 731, 326, 11096, 18, 225, 11550, 30, 225, 436, 8371, 1300, 4124, 326, 8576, 1365, 434, 279, 436, 8371, 1300, 261, 430, 13382, 33, 7036, 3631, 578, 2863, 1300, 309, 279, 6039, 353, 864, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 30, 767, 5353, 76, 12, 23, 16, 23, 16, 23, 16, 23, 16, 23, 16, 23, 13, 300, 21, 19, 3461, 225, 5219, 55, 30, 225, 1021, 534, 1077, 9795, 3273, 353, 3746, 358, 326, 678, 724, 264, 1666, 78, 3273, 30, 225, 6116, 4233, 2866, 225, 678, 724, 264, 26, 78, 12, 78, 67, 21, 16, 78, 67, 22, 16, 78, 67, 23, 16, 78, 67, 24, 16, 78, 67, 25, 16, 78, 67, 26, 13, 273, 19236, 21, 13, 66, 95, 78, 67, 21, 15, 78, 67, 22, 15, 78, 67, 24, 15, 78, 67, 25, 97, 678, 12, 78, 67, 21, 16, 78, 67, 22, 16, 78, 67, 25, 16, 78, 67, 24, 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, 767, 5353, 76, 12, 7598, 16, 7129, 16, 4946, 16, 6957, 16, 14657, 16, 6875, 16, 13382, 33, 7036, 4672, 436, 8395, 9029, 326, 534, 1077, 9795, 3273, 1375, 59, 12, 69, 16, 70, 16, 71, 16, 72, 31, 73, 16, 74, 13, 8338, 225, 12943, 30, 225, 300, 225, 12176, 69, 68, 9191, 1372, 16, 12176, 74, 10335, 300, 3571, 578, 8816, 3571, 225, 300, 225, 12176, 4036, 10335, 300, 6039, 16, 805, 30, 599, 18, 1186, 1246, 310, 279, 6039, 848, 302, 354, 334, 6478, 8632, 731, 326, 11096, 18, 225, 11550, 30, 225, 436, 8371, 1300, 4124, 326, 8576, 1365, 434, 279, 436, 8371, 1300, 261, 430, 13382, 33, 7036, 3631, 578, 2863, 1300, 309, 2 ]
print "\nStopping Server..."
print "\nShutting down..."
def quit(): global server global commandLine
e31bc9a2c87a67a97d76f41fc1eb65d098c86d2a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11436/e31bc9a2c87a67a97d76f41fc1eb65d098c86d2a/crossfire_test_client.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9706, 13332, 2552, 1438, 2552, 20894, 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, 9706, 13332, 2552, 1438, 2552, 20894, 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 ]
output)
output, 'FAIL')
def PrintRegressions(self, output): """Write the regressions computed by _CalculateRegressions() to output. """
4cbe0a9c3971f44c85c837d71040dcb37f112b1c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5060/4cbe0a9c3971f44c85c837d71040dcb37f112b1c/compare_failures.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3038, 1617, 663, 1115, 12, 2890, 16, 876, 4672, 3536, 3067, 326, 960, 663, 1115, 8470, 635, 389, 8695, 1617, 663, 1115, 1435, 358, 876, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3038, 1617, 663, 1115, 12, 2890, 16, 876, 4672, 3536, 3067, 326, 960, 663, 1115, 8470, 635, 389, 8695, 1617, 663, 1115, 1435, 358, 876, 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 ]
command="darcs add --case-ok --recursive"
command="darcs add --case-ok --not-recursive"
def _addEntries(self, root, entries): """ Add a sequence of entries. """
d31c2def0d385e9ca38ac3d7ef6bb662f7170efc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5981/d31c2def0d385e9ca38ac3d7ef6bb662f7170efc/darcs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1289, 5400, 12, 2890, 16, 1365, 16, 3222, 4672, 3536, 1436, 279, 3102, 434, 3222, 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 ]
[ 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1289, 5400, 12, 2890, 16, 1365, 16, 3222, 4672, 3536, 1436, 279, 3102, 434, 3222, 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 ]
>>> translate_stacktrace(file('infolog.txt').read())
>>> translate_stacktrace(file('infolog.txt').read())
def translate_stacktrace(infolog): r'''\ Translate a complete stacktrace to (module, address, filename, lineno) tuples. The input string may be a complete infolog (i.e. infolog.txt). At the very least it must contain the 'Spring XXX has crashed.' or 'Hang detection triggered for Spring XXX.' line and at least one stack frame. The output is a list of (module, address, filename, lineno) tuples, or (module, address, '??', 0) for each frame that could not be translated. Example of a remote call to the service in Python: (Note that tuples have become lists) >>> from xmlrpclib import ServerProxy #doctest:+SKIP ... proxy = ServerProxy('http://springrts.com:8000/') ... proxy.translate_stacktrace(file('infolog.txt').read()) [['C:\\Program Files\\Spring\\spring.exe', '0x0080F6F8', 'rts/Rendering/Env/GrassDrawer.cpp', 229], ['C:\\Program Files\\Spring\\spring.exe', '0x008125DF', 'rts/Rendering/Env/GrassDrawer.cpp', 136], ['C:\\Program Files\\Spring\\spring.exe', '0x00837E8C', 'rts/Rendering/Env/AdvTreeDrawer.cpp', 54], ['C:\\Program Files\\Spring\\spring.exe', '0x0084189E', 'rts/Rendering/Env/BaseTreeDrawer.cpp', 57], ['C:\\Program Files\\Spring\\spring.exe', '0x00402AA8', 'rts/Game/Game.cpp', 527], ... ['C:\\WINDOWS\\system32\\kernel32.dll(RegisterWaitForInputIdle+0x49)', '0x7C7E7077', '??', 0]] Example of a local call: >>> translate_stacktrace(file('infolog.txt').read()) [('C:\\Program Files\\Spring\\spring.exe', '0x0080F6F8', 'rts/Rendering/Env/GrassDrawer.cpp', 229), ('C:\\Program Files\\Spring\\spring.exe', '0x008125DF', 'rts/Rendering/Env/GrassDrawer.cpp', 136), ('C:\\Program Files\\Spring\\spring.exe', '0x00837E8C', 'rts/Rendering/Env/AdvTreeDrawer.cpp', 54), ('C:\\Program Files\\Spring\\spring.exe', '0x0084189E', 'rts/Rendering/Env/BaseTreeDrawer.cpp', 57), ('C:\\Program Files\\Spring\\spring.exe', '0x00402AA8', 'rts/Game/Game.cpp', 527), ... ('C:\\WINDOWS\\system32\\kernel32.dll(RegisterWaitForInputIdle+0x49)', '0x7C7E7077', '??', 0)] ''' log.info('----- Start of translation process -----') # TODO: add module checksum dump to spring, add code here to parse those. # With checksums, the idea is: # 1) put module_names and module_checksums in a dict which maps name to checksum # 2) use best_matching_module to find best matching item from module_names # 3) get its checksum # 4) download debugging symbols from ##/#############################, which # shall be a symlink to the correct 7z file containing debugging symbols. # 5) perform translation.. # Without checksums, the idea is: # 1) look in config/branch/rev folder # 2) build a list of modules based on *_dbg.7z files available in this folder # (there's no guarantee of course that AI's, unitsync, etc. are of the # same version as Spring.., but we'll have to live with that.) # 3) download debugging symbols for a module directly from config/branch/rev/... # 4) perform translation try: # Detected old style version string? buildserv = False try: config, branch, rev = detect_version_details(infolog) except FatalError: # Try old version string, we might have debug symbols for some of them config, branch, rev = detect_old_version_details(infolog) buildserv = True module_frames, frame_count = collect_stackframes(infolog) modules = collect_modules(config, branch, rev, buildserv) translated_stacktrace = translate_(module_frames, frame_count, modules) except FatalError: # FatalError is intended to reach the client => re-raise raise except Exception: # Log the real exception log.critical(traceback.format_exc()) # Throw a new exception without leaking too much information raise FatalError('unhandled exception') log.info('----- End of translation process -----') return translated_stacktrace
7dc5a98fa74ee085e0e58fb0f326bdea30111f1d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1030/7dc5a98fa74ee085e0e58fb0f326bdea30111f1d/stacktrace_translator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4204, 67, 3772, 5129, 12, 10625, 3966, 4672, 436, 6309, 8314, 16820, 279, 3912, 26934, 358, 261, 2978, 16, 1758, 16, 1544, 16, 7586, 13, 10384, 18, 225, 1021, 810, 533, 2026, 506, 279, 3912, 8286, 3966, 261, 77, 18, 73, 18, 8286, 3966, 18, 5830, 2934, 2380, 326, 8572, 4520, 518, 1297, 912, 326, 296, 55, 11638, 11329, 711, 4422, 13912, 1093, 578, 296, 44, 539, 11649, 10861, 364, 22751, 11329, 1093, 980, 471, 622, 4520, 1245, 2110, 2623, 18, 225, 1021, 876, 353, 279, 666, 434, 261, 2978, 16, 1758, 16, 1544, 16, 7586, 13, 10384, 16, 578, 261, 2978, 16, 1758, 16, 13023, 35, 2187, 374, 13, 364, 1517, 2623, 716, 3377, 486, 506, 9955, 18, 225, 5090, 434, 279, 2632, 745, 358, 326, 1156, 316, 6600, 30, 261, 8067, 716, 10384, 1240, 12561, 6035, 13, 225, 4080, 628, 2025, 13832, 830, 495, 1930, 3224, 3886, 282, 468, 2896, 299, 395, 30, 15, 22589, 1372, 2889, 273, 3224, 3886, 2668, 2505, 2207, 87, 11638, 86, 3428, 18, 832, 30, 26021, 2473, 13, 1372, 2889, 18, 13929, 67, 3772, 5129, 12, 768, 2668, 10625, 3966, 18, 5830, 16063, 896, 10756, 306, 3292, 39, 31027, 9459, 6471, 1695, 55, 11638, 1695, 87, 11638, 18, 14880, 2187, 296, 20, 92, 713, 3672, 42, 26, 42, 28, 2187, 296, 86, 3428, 19, 14261, 19, 3491, 19, 20799, 428, 21631, 18, 4057, 84, 2187, 576, 5540, 6487, 10228, 39, 31027, 9459, 6471, 1695, 55, 11638, 1695, 87, 11638, 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, 4204, 67, 3772, 5129, 12, 10625, 3966, 4672, 436, 6309, 8314, 16820, 279, 3912, 26934, 358, 261, 2978, 16, 1758, 16, 1544, 16, 7586, 13, 10384, 18, 225, 1021, 810, 533, 2026, 506, 279, 3912, 8286, 3966, 261, 77, 18, 73, 18, 8286, 3966, 18, 5830, 2934, 2380, 326, 8572, 4520, 518, 1297, 912, 326, 296, 55, 11638, 11329, 711, 4422, 13912, 1093, 578, 296, 44, 539, 11649, 10861, 364, 22751, 11329, 1093, 980, 471, 622, 4520, 1245, 2110, 2623, 18, 225, 1021, 876, 353, 279, 666, 434, 261, 2978, 16, 1758, 16, 1544, 16, 7586, 13, 10384, 16, 578, 261, 2978, 16, 1758, 16, 13023, 35, 2187, 374, 13, 364, 1517, 2623, 716, 3377, 486, 506, 9955, 2 ]
buffering. Sublcasses should however, if possible, try to
buffering. Subclasses should however, if possible, try to
def readline(self, size=None):
7f3ed74643dd87ef9b6f54c235e4c562179cfb33 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/7f3ed74643dd87ef9b6f54c235e4c562179cfb33/codecs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12023, 12, 2890, 16, 963, 33, 7036, 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 ]
[ 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, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12023, 12, 2890, 16, 963, 33, 7036, 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 ]
self.assertEqual(fcmp(float(" .25e-1 "), .025), 0)
self.assertEqual(test_support.fcmp(float(" .25e-1 "), .025), 0)
def test_float_with_comma(self): # set locale to something that doesn't use '.' for the decimal point # float must not accept the locale specific decimal point but # it still has to accept the normal python syntac import locale if not locale.localeconv()['decimal_point'] == ',': return
a853a89dc3c57941a15a7463cf59dfad775a7e5f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8546/a853a89dc3c57941a15a7463cf59dfad775a7e5f/test_float.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 5659, 67, 1918, 67, 25034, 12, 2890, 4672, 468, 444, 2573, 358, 5943, 716, 3302, 1404, 999, 2611, 364, 326, 6970, 1634, 468, 1431, 1297, 486, 2791, 326, 2573, 2923, 6970, 1634, 1496, 468, 518, 4859, 711, 358, 2791, 326, 2212, 5790, 1393, 496, 1077, 1930, 2573, 309, 486, 2573, 18, 3729, 17181, 90, 1435, 3292, 12586, 67, 1153, 3546, 422, 3316, 30, 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, 0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, 4859, 711, 358, 2791, 326, 2212, 5790, 1393, 496, 1077, 1930, 2573, 309, 486, 2573, 18, 3729, 17181, 90, 1435, 3292, 12586, 67, 1153, 3546, 422, 3316, 30, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
conversation = self.context
conversation = context
def __call__(self):
f088cb946e301737ef8c848c7891dfbdfe4abf56 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12197/f088cb946e301737ef8c848c7891dfbdfe4abf56/comments.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 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, 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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
content.append(Sequence())
content.append(Sequence(self))
def fromDom(self, node): self.setAttributes(node) contents = self.getContents(node) content = []
0f22280071ba54237b2f9c645f8fa9542d57d244 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/0f22280071ba54237b2f9c645f8fa9542d57d244/XMLSchema.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 628, 8832, 12, 2890, 16, 756, 4672, 365, 18, 542, 2498, 12, 2159, 13, 2939, 273, 365, 18, 588, 6323, 12, 2159, 13, 913, 273, 5378, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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, 4672, 365, 18, 542, 2498, 12, 2159, 13, 2939, 273, 365, 18, 588, 6323, 12, 2159, 13, 913, 273, 5378, 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 ]
def processEndTag(self, tagname, attributes):
def processEndTag(self, tagname):
def processEndTag(self, tagname, attributes): self.parser.parseError()
b1506b097484802495bf8cc4bd05649a3c331d23 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10463/b1506b097484802495bf8cc4bd05649a3c331d23/parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 25633, 12, 2890, 16, 25586, 4672, 365, 18, 4288, 18, 2670, 668, 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, 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 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 25633, 12, 2890, 16, 25586, 4672, 365, 18, 4288, 18, 2670, 668, 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, -100, -100, -100 ]
name = forms.CharField(max_length=100, widget=forms.TextInput(attrs={'size':25})) description = forms.CharField(max_length=250, widget=forms.TextInput(attrs={'size':25}), required=False)
name = forms.CharField(max_length=100, widget=forms.TextInput(attrs={'size':25, 'autocomplete': 'off'})) description = forms.CharField(max_length=250, widget=forms.TextInput(attrs={'size':25, 'autocomplete': 'off'}), required=False)
def __init__(self, name_check=False, *args, **kwargs): super(GroupForm, self).__init__(*args, **kwargs) self.name_check=name_check try: if kwargs['initial']['owners']: pass self.fields['owners'] = ExperimenterModelMultipleChoiceField(queryset=kwargs['initial']['experimenters'], initial=kwargs['initial']['owner'], required=False) except: self.fields['owners'] = ExperimenterModelMultipleChoiceField(queryset=kwargs['initial']['experimenters'], required=False) self.fields.keyOrder = ['name', 'description', 'owners', 'access_controll', 'readonly']
1b34cc31fcc05c09bec2e5557c02c3a370c77a12 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12409/1b34cc31fcc05c09bec2e5557c02c3a370c77a12/forms.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 508, 67, 1893, 33, 8381, 16, 380, 1968, 16, 2826, 4333, 4672, 2240, 12, 1114, 1204, 16, 365, 2934, 972, 2738, 972, 30857, 1968, 16, 2826, 4333, 13, 365, 18, 529, 67, 1893, 33, 529, 67, 1893, 775, 30, 309, 1205, 3292, 6769, 21712, 995, 414, 3546, 30, 1342, 365, 18, 2821, 3292, 995, 414, 3546, 273, 1312, 457, 381, 2328, 1488, 8438, 10538, 974, 12, 21729, 33, 4333, 3292, 6769, 21712, 18142, 414, 17337, 2172, 33, 4333, 3292, 6769, 21712, 8443, 17337, 1931, 33, 8381, 13, 1335, 30, 365, 18, 2821, 3292, 995, 414, 3546, 273, 1312, 457, 381, 2328, 1488, 8438, 10538, 974, 12, 21729, 33, 4333, 3292, 6769, 21712, 18142, 414, 17337, 1931, 33, 8381, 13, 365, 18, 2821, 18, 856, 2448, 273, 10228, 529, 2187, 296, 3384, 2187, 296, 995, 414, 2187, 296, 3860, 67, 1213, 2693, 2187, 296, 16365, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 508, 67, 1893, 33, 8381, 16, 380, 1968, 16, 2826, 4333, 4672, 2240, 12, 1114, 1204, 16, 365, 2934, 972, 2738, 972, 30857, 1968, 16, 2826, 4333, 13, 365, 18, 529, 67, 1893, 33, 529, 67, 1893, 775, 30, 309, 1205, 3292, 6769, 21712, 995, 414, 3546, 30, 1342, 365, 18, 2821, 3292, 995, 414, 3546, 273, 1312, 457, 381, 2328, 1488, 8438, 10538, 974, 12, 21729, 33, 4333, 3292, 6769, 21712, 18142, 414, 17337, 2172, 33, 4333, 3292, 6769, 21712, 8443, 17337, 1931, 33, 8381, 13, 1335, 30, 365, 18, 2821, 3292, 995, 414, 3546, 273, 1312, 457, 381, 2328, 1488, 8438, 10538, 974, 12, 21729, 33, 4333, 3292, 6769, 21712, 2 ]
self.open_feedback_msg(dev.get_gui_name(), e.feedback_msg)
if dev not in self.ejected_devices: self.open_feedback_msg(dev.get_gui_name(), e.feedback_msg) self.ejected_devices.add(dev)
def do_connect(self, connected_devices, device_kind): for dev, detected_device in connected_devices: if dev.OPEN_FEEDBACK_MESSAGE is not None: self.open_feedback_slot(dev.OPEN_FEEDBACK_MESSAGE) try: dev.reset(detected_device=detected_device, report_progress=self.report_progress) dev.open() except OpenFeedback, e: self.open_feedback_msg(dev.get_gui_name(), e.feedback_msg) continue except: tb = traceback.format_exc() if DEBUG or tb not in self.reported_errors: self.reported_errors.add(tb) prints('Unable to open device', str(dev)) prints(tb) continue self.connected_device = dev self.connected_device_kind = device_kind self.connected_slot(True, device_kind) return True return False
5dacd76a4e89935ac3e2ce334f784aeda6d65eec /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/5dacd76a4e89935ac3e2ce334f784aeda6d65eec/device.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 3612, 12, 2890, 16, 5840, 67, 12506, 16, 2346, 67, 9224, 4672, 364, 4461, 16, 8316, 67, 5964, 316, 5840, 67, 12506, 30, 309, 4461, 18, 11437, 67, 29195, 8720, 67, 8723, 353, 486, 599, 30, 365, 18, 3190, 67, 12571, 67, 14194, 12, 5206, 18, 11437, 67, 29195, 8720, 67, 8723, 13, 775, 30, 4461, 18, 6208, 12, 8238, 828, 67, 5964, 33, 8238, 828, 67, 5964, 16, 2605, 67, 8298, 33, 2890, 18, 6006, 67, 8298, 13, 4461, 18, 3190, 1435, 1335, 3502, 15888, 16, 425, 30, 309, 4461, 486, 316, 365, 18, 73, 6059, 67, 12506, 30, 365, 18, 3190, 67, 12571, 67, 3576, 12, 5206, 18, 588, 67, 20292, 67, 529, 9334, 425, 18, 12571, 67, 3576, 13, 365, 18, 73, 6059, 67, 12506, 18, 1289, 12, 5206, 13, 1324, 1335, 30, 8739, 273, 10820, 18, 2139, 67, 10075, 1435, 309, 6369, 578, 8739, 486, 316, 365, 18, 266, 1798, 67, 4324, 30, 365, 18, 266, 1798, 67, 4324, 18, 1289, 12, 18587, 13, 14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, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 3612, 12, 2890, 16, 5840, 67, 12506, 16, 2346, 67, 9224, 4672, 364, 4461, 16, 8316, 67, 5964, 316, 5840, 67, 12506, 30, 309, 4461, 18, 11437, 67, 29195, 8720, 67, 8723, 353, 486, 599, 30, 365, 18, 3190, 67, 12571, 67, 14194, 12, 5206, 18, 11437, 67, 29195, 8720, 67, 8723, 13, 775, 30, 4461, 18, 6208, 12, 8238, 828, 67, 5964, 33, 8238, 828, 67, 5964, 16, 2605, 67, 8298, 33, 2890, 18, 6006, 67, 8298, 13, 4461, 18, 3190, 1435, 1335, 3502, 15888, 16, 425, 30, 309, 4461, 486, 316, 365, 18, 73, 6059, 67, 12506, 30, 365, 18, 3190, 67, 12571, 67, 3576, 12, 5206, 18, 588, 67, 20292, 67, 529, 9334, 2 ]