rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
if 'email' in action: email = self.screen.current_model.expr_eval(action['email'] or '')
if action.get('email'): email = self.screen.current_model.expr_eval(action['email'])
def _action(self, action, atype): act = action.copy() obj_ids = self.screen.sel_ids_get() obj_id = self.screen.id_get() if not obj_ids and not obj_id: message(_('No record selected!'), self.window) return False email = {} if 'email' in action: email = self.screen.current_model.expr_eval(action['email'] or '') if not email: email = {} email['subject'] = action['name'].replace('_', '') act['email'] = email data = { 'model': self.screen.name, 'id': obj_id, 'ids': obj_ids, } value = Action._exec_action(act, self.window, data, {}) self.screen.reload() return value
f1759b1639d11a5ffbc555c28ad18b5bbcfa340d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9151/f1759b1639d11a5ffbc555c28ad18b5bbcfa340d/list.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1128, 12, 2890, 16, 1301, 16, 30965, 4672, 1328, 273, 1301, 18, 3530, 1435, 1081, 67, 2232, 273, 365, 18, 9252, 18, 1786, 67, 2232, 67, 588, 1435, 1081, 67, 350, 273, 365, 18, 9252, 18, 350, 67, 588, 1435, 309, 486, 1081, 67, 2232, 471, 486, 1081, 67, 350, 30, 883, 24899, 2668, 2279, 1409, 3170, 5124, 3631, 365, 18, 5668, 13, 327, 1083, 2699, 273, 2618, 309, 1301, 18, 588, 2668, 3652, 11, 4672, 2699, 273, 365, 18, 9252, 18, 2972, 67, 2284, 18, 8638, 67, 8622, 12, 1128, 3292, 3652, 19486, 309, 486, 2699, 30, 2699, 273, 2618, 2699, 3292, 7857, 3546, 273, 1301, 3292, 529, 29489, 2079, 2668, 67, 2187, 28707, 1328, 3292, 3652, 3546, 273, 2699, 501, 273, 288, 296, 2284, 4278, 365, 18, 9252, 18, 529, 16, 296, 350, 4278, 1081, 67, 350, 16, 296, 2232, 4278, 1081, 67, 2232, 16, 289, 460, 273, 4382, 6315,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1128, 12, 2890, 16, 1301, 16, 30965, 4672, 1328, 273, 1301, 18, 3530, 1435, 1081, 67, 2232, 273, 365, 18, 9252, 18, 1786, 67, 2232, 67, 588, 1435, 1081, 67, 350, 273, 365, 18, 9252, 18, 350, 67, 588, 1435, 309, 486, 1081, 67, 2232, 471, 486, 1081, 67, 350, 30, 883, 24899, 2668, 2279, 1409, 3170, 5124, 3631, 365, 18, 5668, 13, 327, 1083, 2699, 273, 2618, 309, 1301, 18, 588, 2668, 3652, 11, 4672, 2699, 273, 365, 18, 9252, 18, 2972, 67, 2284, 18, 8638, 67, 8622, 12, 1128, 3292, 3652, 19486, 309, 486, 2699, 30, 2699, 273, 2618, 2699, 3292, 7857, 3546, 273, 1301, 3292, 529, 29489, 2079, 2668, 67, 2187, 28707, 1328, 3292, 2 ]
self._modifyLocation(-self.dx, -self.dy)
self._modifyLocation(-self.dx, 0) if self.dy != 0: needsUpdate = True self._modifyLocation(0, self.dy) for sprite in self.mapView: if self.collideFunc(self, sprite) and isImpassable(sprite.mapElement): self._modifyLocation(0, -self.dy) if needsUpdate:
def update(self, *args): #needsUpdate = False if self.dx != 0 or self.dy != 0: self._modifyLocation(self.dx, self.dy) for sprite in self.mapView: if self.collideFunc(self, sprite) and isImpassable(sprite.mapElement): self._modifyLocation(-self.dx, -self.dy) imWidth, imHeight = self.mapView.imageSize if self.mapView.view.right < self.mapView.map.width * imWidth and self.rect.right > self.screenRect.width-100: self.mapView.moveView(imWidth * 6, 0) self.rect.move_ip(imWidth * 6, 0) if self.mapView.view.bottom < self.mapView.map.height * imHeight and self.rect.bottom > self.screenRect.height-100: self.mapView.moveView(0, imHeight * 4) self.rect.move_ip(0, imHeight * 4) if self.mapView.offsetX > 0 and self.rect.left < 100: self.mapView.moveView(-imWidth * 6, 0) self.rect.move_ip(-imWidth * 6, 0) if self.mapView.offsetY > 0 and self.rect.top < 100: self.mapView.moveView(0, -imHeight * 4) self.rect.move_ip(0, -imHeight * 4)
aa6f9694a8ec1b2080db694285871ca092a6098c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14405/aa6f9694a8ec1b2080db694285871ca092a6098c/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 16, 380, 1968, 4672, 468, 20600, 1891, 273, 1083, 225, 309, 365, 18, 13437, 480, 374, 578, 365, 18, 15680, 480, 374, 30, 365, 6315, 17042, 2735, 12, 2890, 18, 13437, 16, 365, 18, 15680, 13, 225, 364, 16839, 316, 365, 18, 1458, 1767, 30, 309, 365, 18, 1293, 8130, 2622, 12, 2890, 16, 16839, 13, 471, 353, 1170, 5466, 429, 12, 1752, 796, 18, 1458, 1046, 4672, 365, 6315, 17042, 2735, 19236, 2890, 18, 13437, 16, 374, 13, 225, 309, 365, 18, 15680, 480, 374, 30, 4260, 1891, 273, 1053, 365, 6315, 17042, 2735, 12, 20, 16, 365, 18, 15680, 13, 225, 364, 16839, 316, 365, 18, 1458, 1767, 30, 309, 365, 18, 1293, 8130, 2622, 12, 2890, 16, 16839, 13, 471, 353, 1170, 5466, 429, 12, 1752, 796, 18, 1458, 1046, 4672, 365, 6315, 17042, 2735, 12, 20, 16, 300, 2890, 18, 15680, 13, 225, 309, 4260, 1891, 30, 709, 2384, 16, 709, 2686, 273, 365, 18, 1458, 1767, 18, 2730, 1225, 309, 365, 18, 1458, 1767, 18, 1945, 18, 4083, 411, 365, 18, 1458, 1767, 18, 1458, 18, 2819, 380, 709, 2384, 471, 365, 18, 2607, 18, 4083, 405, 365, 18, 9252, 6120, 18, 2819, 17, 6625, 30, 365, 18, 1458, 1767, 18, 8501, 1767, 12, 381, 2384, 380, 1666, 16, 374, 13, 365, 18, 2607, 18, 8501, 67, 625, 12, 381, 2384, 380, 1666, 16, 374, 13, 309, 365, 18, 1458, 1767, 18, 1945, 18, 9176, 411, 365, 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, 1089, 12, 2890, 16, 380, 1968, 4672, 468, 20600, 1891, 273, 1083, 225, 309, 365, 18, 13437, 480, 374, 578, 365, 18, 15680, 480, 374, 30, 365, 6315, 17042, 2735, 12, 2890, 18, 13437, 16, 365, 18, 15680, 13, 225, 364, 16839, 316, 365, 18, 1458, 1767, 30, 309, 365, 18, 1293, 8130, 2622, 12, 2890, 16, 16839, 13, 471, 353, 1170, 5466, 429, 12, 1752, 796, 18, 1458, 1046, 4672, 365, 6315, 17042, 2735, 19236, 2890, 18, 13437, 16, 374, 13, 225, 309, 365, 18, 15680, 480, 374, 30, 4260, 1891, 273, 1053, 365, 6315, 17042, 2735, 12, 20, 16, 365, 18, 15680, 13, 225, 364, 16839, 316, 365, 18, 1458, 1767, 30, 309, 365, 18, 1293, 2 ]
self._set('bitrate', fmt[3])
self._set('bitrate', fmt[3] / 125) self._set('byterate', fmt[3])
def _parseRIFFChunk(self,file): h = file.read(8) if len(h) < 4: return False name = h[:4] size = struct.unpack('<I',h[4:8])[0]
99548466a97b3f99eac50e900cc5b57cd0f76cae /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11721/99548466a97b3f99eac50e900cc5b57cd0f76cae/riff.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2670, 2259, 2246, 5579, 12, 2890, 16, 768, 4672, 366, 273, 585, 18, 896, 12, 28, 13, 309, 562, 12, 76, 13, 411, 1059, 30, 327, 1083, 508, 273, 366, 10531, 24, 65, 963, 273, 1958, 18, 17309, 2668, 32, 45, 2187, 76, 63, 24, 30, 28, 5717, 63, 20, 65, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 28, 13, 309, 562, 12, 76, 13, 411, 1059, 30, 327, 1083, 508, 273, 366, 10531, 24, 65, 963, 273, 1958, 18, 17309, 2668, 32, 45, 2187, 76, 63, 24, 30, 28, 5717, 63, 20, 65, 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 ]
link_basename = GroupsController.groups[gid]['name'].replace(strip_prefix, '', 1)
link_basename = \ GroupsController.groups[gid]['name'].replace(strip_prefix, '', 1)
def CheckGroupSymlinks(self, gid=None, group=None, oldname=None, delete=False, strip_prefix=None, batch=False, auto_answer=None): """For each member of a group, verify member has a symlink to the shared group dir inside his home (or under level 2 directory). If not, create the link. Eventually delete links pointing to the old group name if it is set."""
2c25685af98e96114695a04efeb86385220aeb9c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7650/2c25685af98e96114695a04efeb86385220aeb9c/groups.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2073, 1114, 18475, 87, 12, 2890, 16, 11399, 33, 7036, 16, 1041, 33, 7036, 16, 1592, 529, 33, 7036, 16, 1430, 33, 8381, 16, 2569, 67, 3239, 33, 7036, 16, 2581, 33, 8381, 16, 3656, 67, 13490, 33, 7036, 4672, 3536, 1290, 1517, 3140, 434, 279, 1041, 16, 3929, 3140, 711, 279, 10563, 358, 326, 5116, 1041, 1577, 4832, 18423, 6382, 261, 280, 3613, 1801, 576, 1867, 2934, 971, 486, 16, 752, 326, 1692, 18, 2587, 3452, 1430, 4716, 17022, 358, 326, 1592, 1041, 508, 309, 518, 353, 444, 12123, 2, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2073, 1114, 18475, 87, 12, 2890, 16, 11399, 33, 7036, 16, 1041, 33, 7036, 16, 1592, 529, 33, 7036, 16, 1430, 33, 8381, 16, 2569, 67, 3239, 33, 7036, 16, 2581, 33, 8381, 16, 3656, 67, 13490, 33, 7036, 4672, 3536, 1290, 1517, 3140, 434, 279, 1041, 16, 3929, 3140, 711, 279, 10563, 358, 326, 5116, 1041, 1577, 4832, 18423, 6382, 261, 280, 3613, 1801, 576, 1867, 2934, 971, 486, 16, 752, 326, 1692, 18, 2587, 3452, 1430, 4716, 17022, 358, 326, 1592, 1041, 508, 309, 518, 353, 444, 12123, 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 ]
del sys
def register(func, *targs, **kargs): """register a function to be executed upon normal program termination func - function to be called at exit targs - optional arguments to pass to func kargs - optional keyword arguments to pass to func """ _exithandlers.append((func, targs, kargs))
41c064e85ba2624d69748b41932511d2edf88653 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/41c064e85ba2624d69748b41932511d2edf88653/atexit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 12, 644, 16, 380, 88, 1968, 16, 2826, 79, 1968, 4672, 3536, 4861, 279, 445, 358, 506, 7120, 12318, 2212, 5402, 19650, 225, 1326, 300, 445, 358, 506, 2566, 622, 2427, 268, 1968, 300, 3129, 1775, 358, 1342, 358, 1326, 25916, 300, 3129, 4932, 1775, 358, 1342, 358, 1326, 3536, 389, 338, 483, 464, 3135, 18, 6923, 12443, 644, 16, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 12, 644, 16, 380, 88, 1968, 16, 2826, 79, 1968, 4672, 3536, 4861, 279, 445, 358, 506, 7120, 12318, 2212, 5402, 19650, 225, 1326, 300, 445, 358, 506, 2566, 622, 2427, 268, 1968, 300, 3129, 1775, 358, 1342, 358, 1326, 25916, 300, 3129, 4932, 1775, 358, 1342, 358, 1326, 3536, 389, 338, 483, 464, 3135, 18, 6923, 12443, 644, 16, 268, 1968, 16, 25916, 3719, 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 ]
print str[4]
def string_segmentation(args, cluster, ccs, string, groups, phrases, H_a, theta, R, hough_image, image): """This function should perform the string segmentation."""
69b5bb9017bd106b070f14f72121ba350eb10df5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2794/69b5bb9017bd106b070f14f72121ba350eb10df5/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 533, 67, 9273, 367, 12, 1968, 16, 2855, 16, 276, 2143, 16, 533, 16, 3252, 16, 31413, 16, 670, 67, 69, 16, 7338, 16, 534, 16, 366, 4966, 67, 2730,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 533, 67, 9273, 367, 12, 1968, 16, 2855, 16, 276, 2143, 16, 533, 16, 3252, 16, 31413, 16, 670, 67, 69, 16, 7338, 16, 534, 16, 366, 4966, 67, 2730, 16, 1316, 4672, 3536, 2503, 445, 1410, 3073, 326, 533, 25192, 12123, 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 ]
self._model.t = solver.t_cur self._model.real_x = solver.y_cur rhs = self._model.real_dx
if self._model.t != solver.t_cur: self._model.t = solver.t_cur self._model.real_x = solver.y_cur rhs = self._model.real_dx
def handle_event(self, solver, event_info): """ This method is called when Assimulo finds an event. """ #Moving data to the model self._model.t = solver.t_cur self._model.real_x = solver.y_cur #Evaluating the rhs (Have to evaluate the values in the model) rhs = self._model.real_dx eInfo = self._model.event_info eInfo.iterationConverged = False
7dbdb20f7e639808f29ecd84ddc2d9697e215117 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7711/7dbdb20f7e639808f29ecd84ddc2d9697e215117/assimulo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 2575, 12, 2890, 16, 12776, 16, 871, 67, 1376, 4672, 3536, 1220, 707, 353, 2566, 1347, 4725, 381, 26478, 13094, 392, 871, 18, 3536, 468, 49, 13767, 501, 358, 326, 938, 365, 6315, 2284, 18, 88, 273, 12776, 18, 88, 67, 1397, 365, 6315, 2284, 18, 7688, 67, 92, 273, 12776, 18, 93, 67, 1397, 468, 6644, 1776, 326, 7711, 261, 17944, 358, 5956, 326, 924, 316, 326, 938, 13, 7711, 273, 365, 6315, 2284, 18, 7688, 67, 13437, 225, 425, 966, 273, 365, 6315, 2284, 18, 2575, 67, 1376, 425, 966, 18, 16108, 442, 502, 2423, 273, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2575, 12, 2890, 16, 12776, 16, 871, 67, 1376, 4672, 3536, 1220, 707, 353, 2566, 1347, 4725, 381, 26478, 13094, 392, 871, 18, 3536, 468, 49, 13767, 501, 358, 326, 938, 365, 6315, 2284, 18, 88, 273, 12776, 18, 88, 67, 1397, 365, 6315, 2284, 18, 7688, 67, 92, 273, 12776, 18, 93, 67, 1397, 468, 6644, 1776, 326, 7711, 261, 17944, 358, 5956, 326, 924, 316, 326, 938, 13, 7711, 273, 365, 6315, 2284, 18, 7688, 67, 13437, 225, 425, 966, 273, 365, 6315, 2284, 18, 2575, 67, 1376, 425, 966, 18, 16108, 442, 502, 2423, 273, 1083, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def willblock(self,*args,**kwargs): return traced_call(self.sock,"socket.willblock",self.sock.willblock,args,kwargs)
def willblock(self,*args,**kwargs): return traced_call(self.sock,"socket.willblock",self.sock.willblock,args,kwargs)
73585345fe5f99a8f8f82c8c6e5fba2301440367 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7263/73585345fe5f99a8f8f82c8c6e5fba2301440367/strace.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 903, 2629, 12, 2890, 16, 14, 1968, 16, 636, 4333, 4672, 327, 2606, 72, 67, 1991, 12, 2890, 18, 15031, 10837, 7814, 18, 20194, 2629, 3113, 2890, 18, 15031, 18, 20194, 2629, 16, 1968, 16, 4333, 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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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 ]
if serie_config.min and min_index:
if serie_config.min and not min_index == None:
def render(self,data={}, context={}):
b63f55e65e0fbb6889d4b5df022da2c7246f162b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3323/b63f55e65e0fbb6889d4b5df022da2c7246f162b/chart.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 892, 28793, 819, 12938, 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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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 ]
self.selenium.open("/portal/admin_users_html", True)
self.selenium.open("/portal/admin_local_users_html", True)
def test_delete_user(self): self.selenium.open("/portal/admin_users_html", True) #Check the last user checkbox self.selenium.click( "//div[@class='datatable']/table/tbody/tr[last()]/td/input") username = self.selenium.get_text( "//div[@class='datatable']/table/tbody/tr[last()]/td[2]") self.selenium.click("//input[@value='Delete user']") self.selenium.wait_for_page_to_load("3000") assert self.selenium.is_text_present(username) is False
d2f8ead77568ae181bdec2c39ea8c0a00fc7c715 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3287/d2f8ead77568ae181bdec2c39ea8c0a00fc7c715/test_user_management.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 3733, 67, 1355, 12, 2890, 4672, 365, 18, 1786, 17327, 18, 3190, 2932, 19, 24386, 19, 3666, 67, 3729, 67, 5577, 67, 2620, 3113, 1053, 13, 468, 1564, 326, 1142, 729, 11832, 365, 18, 1786, 17327, 18, 7475, 12, 16177, 2892, 14782, 1106, 2218, 3404, 8163, 3546, 19, 2121, 19, 20779, 19, 313, 63, 2722, 1435, 18537, 4465, 19, 2630, 7923, 2718, 273, 365, 18, 1786, 17327, 18, 588, 67, 955, 12, 16177, 2892, 14782, 1106, 2218, 3404, 8163, 3546, 19, 2121, 19, 20779, 19, 313, 63, 2722, 1435, 18537, 4465, 63, 22, 4279, 13, 365, 18, 1786, 17327, 18, 7475, 2932, 759, 2630, 14782, 1132, 2218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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 3733, 67, 1355, 12, 2890, 4672, 365, 18, 1786, 17327, 18, 3190, 2932, 19, 24386, 19, 3666, 67, 3729, 67, 5577, 67, 2620, 3113, 1053, 13, 468, 1564, 326, 1142, 729, 11832, 365, 18, 1786, 17327, 18, 7475, 12, 16177, 2892, 14782, 1106, 2218, 3404, 8163, 3546, 19, 2121, 19, 20779, 19, 313, 63, 2722, 1435, 18537, 4465, 19, 2630, 7923, 2718, 273, 365, 18, 1786, 17327, 18, 588, 67, 955, 12, 16177, 2892, 14782, 1106, 2218, 3404, 8163, 3546, 19, 2121, 19, 20779, 19, 313, 63, 2722, 1435, 18537, 4465, 63, 22, 4279, 13, 365, 18, 1786, 17327, 18, 7475, 2932, 759, 2630, 14782, 1132, 2218, 2613, 729, 3546, 7923, 365, 18, 1786, 17327, 18, 2 ]
def locate(self, name, debug=1):
def locate(self, name, debug=0):
def locate(self, name, debug=1): """ Get a reference to an object with the given name which is somewhere on the path above us. """ return self._lookup(name, debug=debug)
ea0b08aa06fe462a957cfe0e88a4554a2bc285cc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/ea0b08aa06fe462a957cfe0e88a4554a2bc285cc/refpath.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10627, 12, 2890, 16, 508, 16, 1198, 33, 20, 4672, 3536, 968, 279, 2114, 358, 392, 733, 598, 326, 864, 508, 1492, 353, 22234, 603, 326, 589, 5721, 584, 18, 3536, 327, 365, 6315, 8664, 12, 529, 16, 1198, 33, 4148, 13, 2, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10627, 12, 2890, 16, 508, 16, 1198, 33, 20, 4672, 3536, 968, 279, 2114, 358, 392, 733, 598, 326, 864, 508, 1492, 353, 22234, 603, 326, 589, 5721, 584, 18, 3536, 327, 365, 6315, 8664, 12, 529, 16, 1198, 33, 4148, 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 ]
self.theConfigDB.read( theDefaultIniFileName )
self.theConfigDB.read( theDefaultIniFileName )
def __init__(self, aSimulator = None ): """sets up the osogo session, creates Mainwindow and other fundamental windows but doesn't show them"""
aa247f7afd59b4b5d1bf58d540590f0406a18938 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12724/aa247f7afd59b4b5d1bf58d540590f0406a18938/GtkSessionMonitor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 279, 7993, 11775, 273, 599, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 279, 7993, 11775, 273, 599, 262, 30, 3536, 4424, 731, 326, 1140, 717, 83, 1339, 16, 3414, 12740, 5668, 471, 1308, 284, 1074, 14773, 287, 9965, 1496, 3302, 1404, 2405, 2182, 8395, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.l0.SetLabel( "(%d): no item selected" %(ch.GetId()) )
self.l0.SetLabel( "(%d): no valid item selected" %(ch.GetId()) )
def OnTestResizeDivisionButton( self, event ): ch = self.ch2 itemIndex = ch.GetSelectedItem() if ((itemIndex > 0) and (itemIndex < ch.GetItemCount())): curExtent = ch.GetUIExtent( itemIndex ) ch.ResizeDivision( itemIndex, curExtent.x - 5 ) self.l0.SetLabel( "(%d): resized btw. %d and %d" %(ch.GetId(), itemIndex - 1, itemIndex) ) else: self.l0.SetLabel( "(%d): no item selected" %(ch.GetId()) )
8e00093ae4d0bf1a005a76b9785f4cd179e7b5d1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/8e00093ae4d0bf1a005a76b9785f4cd179e7b5d1/ColumnHeader.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 4709, 12182, 28223, 3616, 12, 365, 16, 871, 262, 30, 462, 273, 365, 18, 343, 22, 761, 1016, 273, 462, 18, 967, 7416, 1180, 1435, 309, 14015, 1726, 1016, 405, 374, 13, 471, 261, 1726, 1016, 411, 462, 18, 967, 30687, 1435, 3719, 30, 662, 17639, 273, 462, 18, 967, 5370, 17639, 12, 761, 1016, 262, 462, 18, 12182, 28223, 12, 761, 1016, 16, 662, 17639, 18, 92, 300, 1381, 262, 365, 18, 80, 20, 18, 694, 2224, 12, 7751, 9, 72, 4672, 21615, 10921, 91, 18, 738, 72, 471, 738, 72, 6, 8975, 343, 18, 967, 548, 9334, 761, 1016, 300, 404, 16, 761, 1016, 13, 262, 469, 30, 365, 18, 80, 20, 18, 694, 2224, 12, 7751, 9, 72, 4672, 1158, 761, 3170, 6, 8975, 343, 18, 967, 548, 10756, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2755, 4709, 12182, 28223, 3616, 12, 365, 16, 871, 262, 30, 462, 273, 365, 18, 343, 22, 761, 1016, 273, 462, 18, 967, 7416, 1180, 1435, 309, 14015, 1726, 1016, 405, 374, 13, 471, 261, 1726, 1016, 411, 462, 18, 967, 30687, 1435, 3719, 30, 662, 17639, 273, 462, 18, 967, 5370, 17639, 12, 761, 1016, 262, 462, 18, 12182, 28223, 12, 761, 1016, 16, 662, 17639, 18, 92, 300, 1381, 262, 365, 18, 80, 20, 18, 694, 2224, 12, 7751, 9, 72, 4672, 21615, 10921, 91, 18, 738, 72, 471, 738, 72, 6, 8975, 343, 18, 967, 548, 9334, 761, 1016, 300, 404, 16, 761, 1016, 13, 262, 469, 30, 365, 18, 80, 20, 18, 694, 2224, 2 ]
self.assertRaises(TypeError, list, ifilter(isEven, N(s)))
self.assertRaises(TypeError, ifilter, isEven, N(s))
def test_ifilter(self): for s in (range(10), range(0), range(1000), (7,11), xrange(2000,2200,5)): for g in (G, I, Ig, S, L, R): self.assertEqual(list(ifilter(isEven, g(s))), filter(isEven, g(s))) self.assertRaises(TypeError, ifilter, isEven, X(s)) self.assertRaises(TypeError, list, ifilter(isEven, N(s))) self.assertRaises(ZeroDivisionError, list, ifilter(isEven, E(s)))
8690c4ed3fa1f1889459249c7e50e11c2052b340 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/8690c4ed3fa1f1889459249c7e50e11c2052b340/test_itertools.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 430, 1088, 12, 2890, 4672, 364, 272, 316, 261, 3676, 12, 2163, 3631, 1048, 12, 20, 3631, 1048, 12, 18088, 3631, 261, 27, 16, 2499, 3631, 12314, 12, 17172, 16, 3787, 713, 16, 25, 3719, 30, 364, 314, 316, 261, 43, 16, 467, 16, 467, 75, 16, 348, 16, 511, 16, 534, 4672, 365, 18, 11231, 5812, 12, 1098, 12, 430, 1088, 12, 291, 8321, 16, 314, 12, 87, 3719, 3631, 1034, 12, 291, 8321, 16, 314, 12, 87, 20349, 365, 18, 11231, 12649, 6141, 12, 19030, 16, 309, 1088, 16, 353, 8321, 16, 1139, 12, 87, 3719, 365, 18, 11231, 12649, 6141, 12, 19030, 16, 309, 1088, 16, 353, 8321, 16, 423, 12, 87, 3719, 365, 18, 11231, 12649, 6141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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 430, 1088, 12, 2890, 4672, 364, 272, 316, 261, 3676, 12, 2163, 3631, 1048, 12, 20, 3631, 1048, 12, 18088, 3631, 261, 27, 16, 2499, 3631, 12314, 12, 17172, 16, 3787, 713, 16, 25, 3719, 30, 364, 314, 316, 261, 43, 16, 467, 16, 467, 75, 16, 348, 16, 511, 16, 534, 4672, 365, 18, 11231, 5812, 12, 1098, 12, 430, 1088, 12, 291, 8321, 16, 314, 12, 87, 3719, 3631, 1034, 12, 291, 8321, 16, 314, 12, 87, 20349, 365, 18, 11231, 12649, 6141, 12, 19030, 16, 309, 1088, 16, 353, 8321, 16, 1139, 12, 87, 3719, 365, 18, 11231, 12649, 6141, 12, 19030, 16, 309, 1088, 16, 353, 8321, 16, 423, 12, 87, 3719, 2 ]
if chunk.content_type.lower() == 'application/im-iscomposing+xml': data = IsComposingMessage.parse(chunk.data)
if content_type.lower() == 'application/im-iscomposing+xml': data = IsComposingMessage.parse(content)
def _handle_SEND(self, chunk): if self.direction=='sendonly': return if chunk.content_type.lower()=='message/cpim': cpim_headers, content = MessageCPIMParser.parse_string(chunk.data) content_type = cpim_headers.get('Content-Type') else: cpim_headers = {} content = chunk.data content_type = chunk.content_type # Note: success reports are issued by msrplib # TODO: check wrapped content-type and issue a report if it's invalid if chunk.content_type.lower() == 'application/im-iscomposing+xml': data = IsComposingMessage.parse(chunk.data) ndata = TimestampedNotificationData(state=data.state, refresh=data.refresh, content_type=data.contenttype, last_active=data.last_active) NotificationCenter().post_notification('ChatStreamGotComposingIndication', self, ndata) return ndata = TimestampedNotificationData(content=content, content_type=content_type, cpim_headers=cpim_headers, message=chunk) NotificationCenter().post_notification('ChatStreamGotMessage', self, ndata)
b5db2e1fa585458530b698bc5340815764741da7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3449/b5db2e1fa585458530b698bc5340815764741da7/msrp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4110, 67, 21675, 12, 2890, 16, 2441, 4672, 309, 365, 18, 9855, 18920, 4661, 3700, 4278, 327, 309, 2441, 18, 1745, 67, 723, 18, 8167, 1435, 18920, 2150, 19, 4057, 381, 4278, 3283, 381, 67, 2485, 16, 913, 273, 2350, 39, 1102, 49, 2678, 18, 2670, 67, 1080, 12, 6551, 18, 892, 13, 913, 67, 723, 273, 3283, 381, 67, 2485, 18, 588, 2668, 1350, 17, 559, 6134, 469, 30, 3283, 381, 67, 2485, 273, 2618, 913, 273, 2441, 18, 892, 913, 67, 723, 273, 2441, 18, 1745, 67, 723, 468, 3609, 30, 2216, 10557, 854, 16865, 635, 4086, 86, 6673, 468, 2660, 30, 866, 5805, 913, 17, 723, 471, 5672, 279, 2605, 309, 518, 1807, 2057, 309, 913, 67, 723, 18, 8167, 1435, 422, 296, 3685, 19, 381, 17, 291, 832, 24014, 15, 2902, 4278, 501, 273, 2585, 799, 24014, 1079, 18, 2670, 12, 1745, 13, 290, 892, 273, 8159, 329, 4386, 751, 12, 2019, 33, 892, 18, 2019, 16, 4460, 33, 892, 18, 9144, 16, 913, 67, 723, 33, 892, 18, 1745, 723, 16, 1142, 67, 3535, 33, 892, 18, 2722, 67, 3535, 13, 8050, 8449, 7675, 2767, 67, 9927, 2668, 14163, 1228, 15617, 799, 24014, 3866, 829, 2187, 365, 16, 290, 892, 13, 327, 290, 892, 273, 8159, 329, 4386, 751, 12, 1745, 33, 1745, 16, 913, 67, 723, 33, 1745, 67, 723, 16, 3283, 381, 67, 2485, 33, 4057, 381, 67, 2485, 16, 883, 33, 6551, 13, 8050, 8449, 7675, 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, 389, 4110, 67, 21675, 12, 2890, 16, 2441, 4672, 309, 365, 18, 9855, 18920, 4661, 3700, 4278, 327, 309, 2441, 18, 1745, 67, 723, 18, 8167, 1435, 18920, 2150, 19, 4057, 381, 4278, 3283, 381, 67, 2485, 16, 913, 273, 2350, 39, 1102, 49, 2678, 18, 2670, 67, 1080, 12, 6551, 18, 892, 13, 913, 67, 723, 273, 3283, 381, 67, 2485, 18, 588, 2668, 1350, 17, 559, 6134, 469, 30, 3283, 381, 67, 2485, 273, 2618, 913, 273, 2441, 18, 892, 913, 67, 723, 273, 2441, 18, 1745, 67, 723, 468, 3609, 30, 2216, 10557, 854, 16865, 635, 4086, 86, 6673, 468, 2660, 30, 866, 5805, 913, 17, 723, 471, 5672, 279, 2605, 309, 518, 1807, 2057, 2 ]
outname = os.path.join(cachePath,'srcs',os.path.basename(uri.path)) httpCmds += [ ['curl', '--create-dirs' ] \ + ['-o', outname, h ] ]
if context.value('distHost') == 'Darwin': httpCmds += [ ['curl', '--create-dirs', '-o', context.cachePath(uri.path), h ] ] else: httpCmds += [ [ '/usr/bin/wget', '-P', os.path.dirname(context.cachePath(uri.path)) , h ] ]
def remoteSyncCommand(filenames, cacheDir=None,admin=False,relative=False): '''returns a pair (downCmdline, upCmdline) where downCmdline can be used to download from the remote machine onto the local machine and upCmdline can be used to upload from the local machine to the remote machine. ''' downCmdline = None upCmdline = None cachePath = cacheDir if not cacheDir: cachePath = context.cachePath('') remoteCachePath = context.remoteCachePath() pathnames = [] for f in filenames: # Convert all filenames to absolute urls if f.startswith('http') or ':' in f: pathnames += [ f ] elif f.startswith('/'): pathnames += [ '/.' + f ] else: pathnames += [ context.remoteCachePath('./' + f) ] https = [] sshs = [] for p in pathnames: # Splits between files downloaded through http and ssh. if p.startswith('http'): https += [ p ] else: sshs += [ p ] httpCmds = [] for h in https: # create download commands for all http files # \todo We currently assume that all packages downloaded through # curl end-up in cachePath/srcs. uri = urlparse.urlparse(h) outname = os.path.join(cachePath,'srcs',os.path.basename(uri.path)) httpCmds += [ ['curl', '--create-dirs' ] \ + ['-o', outname, h ] ] # Create the rsync command uri = urlparse.urlparse(remoteCachePath) username = None # \todo find out how urlparse is parsing ssh uris. sources = [] for s in sshs: sources += [ s.replace(uri.netloc,'') ] # We are accessing the remote machine through a mounted # drive or through ssh. prefix = "" if username: prefix = prefix + username + '@' cmdline = [ findRSync(), '-avuzb' ] if relative or not cacheDir: cmdline = [ findRSync(), '-avuzbR' ] if uri.netloc: # We are accessing the remote machine through ssh prefix = prefix + uri.netloc + ':' cmdline += [ '--rsh=ssh' ] if admin: cmdline += [ '--rsync-path "sudo rsync"' ]
a0c6ec96af52deadeb9f1a0b39bbd056a6c1deff /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1360/a0c6ec96af52deadeb9f1a0b39bbd056a6c1deff/dws.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2632, 4047, 2189, 12, 19875, 16, 19946, 33, 7036, 16, 3666, 33, 8381, 16, 11626, 33, 8381, 4672, 9163, 6154, 279, 3082, 261, 2378, 5931, 1369, 16, 731, 5931, 1369, 13, 1625, 2588, 5931, 1369, 848, 506, 1399, 358, 4224, 628, 326, 2632, 5228, 10170, 326, 1191, 5228, 471, 731, 5931, 1369, 848, 506, 1399, 358, 3617, 628, 326, 1191, 5228, 358, 326, 2632, 5228, 18, 9163, 2588, 5931, 1369, 273, 599, 731, 5931, 1369, 273, 599, 23297, 273, 19946, 309, 486, 19946, 30, 23297, 273, 819, 18, 2493, 743, 2668, 6134, 2632, 1649, 743, 273, 819, 18, 7222, 1649, 743, 1435, 589, 1973, 273, 5378, 364, 284, 316, 9066, 30, 468, 4037, 777, 9066, 358, 4967, 6903, 309, 284, 18, 17514, 1918, 2668, 2505, 6134, 578, 3921, 316, 284, 30, 589, 1973, 1011, 306, 284, 308, 1327, 284, 18, 17514, 1918, 2668, 2473, 4672, 589, 1973, 1011, 306, 1173, 1093, 397, 284, 308, 469, 30, 589, 1973, 1011, 306, 819, 18, 7222, 1649, 743, 2668, 18, 2473, 397, 284, 13, 308, 2333, 273, 5378, 7056, 87, 273, 5378, 364, 293, 316, 589, 1973, 30, 468, 5385, 87, 3086, 1390, 13549, 3059, 1062, 471, 7056, 18, 309, 293, 18, 17514, 1918, 2668, 2505, 11, 4672, 2333, 1011, 306, 293, 308, 469, 30, 7056, 87, 1011, 306, 293, 308, 1062, 5931, 87, 273, 5378, 364, 366, 316, 2333, 30, 468, 752, 4224, 4364, 364, 777, 1062, 1390, 468, 521, 9012, 1660, 4551, 6750, 716, 777, 5907, 13549, 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, 2632, 4047, 2189, 12, 19875, 16, 19946, 33, 7036, 16, 3666, 33, 8381, 16, 11626, 33, 8381, 4672, 9163, 6154, 279, 3082, 261, 2378, 5931, 1369, 16, 731, 5931, 1369, 13, 1625, 2588, 5931, 1369, 848, 506, 1399, 358, 4224, 628, 326, 2632, 5228, 10170, 326, 1191, 5228, 471, 731, 5931, 1369, 848, 506, 1399, 358, 3617, 628, 326, 1191, 5228, 358, 326, 2632, 5228, 18, 9163, 2588, 5931, 1369, 273, 599, 731, 5931, 1369, 273, 599, 23297, 273, 19946, 309, 486, 19946, 30, 23297, 273, 819, 18, 2493, 743, 2668, 6134, 2632, 1649, 743, 273, 819, 18, 7222, 1649, 743, 1435, 589, 1973, 273, 5378, 364, 284, 316, 9066, 30, 468, 4037, 777, 9066, 358, 4967, 6903, 2 ]
if hasattr(os, 'system') and os.system('more %s' % filename) == 0:
if hasattr(os, 'system') and os.system('more "%s"' % filename) == 0:
def getpager(): """Decide what method to use for paging through text.""" if type(sys.stdout) is not types.FileType: return plainpager if not sys.stdin.isatty() or not sys.stdout.isatty(): return plainpager if 'PAGER' in os.environ: if sys.platform == 'win32': # pipes completely broken in Windows return lambda text: tempfilepager(plain(text), os.environ['PAGER']) elif os.environ.get('TERM') in ('dumb', 'emacs'): return lambda text: pipepager(plain(text), os.environ['PAGER']) else: return lambda text: pipepager(text, os.environ['PAGER']) if os.environ.get('TERM') in ('dumb', 'emacs'): return plainpager if sys.platform == 'win32' or sys.platform.startswith('os2'): return lambda text: tempfilepager(plain(text), 'more <') if hasattr(os, 'system') and os.system('(less) 2>/dev/null') == 0: return lambda text: pipepager(text, 'less') import tempfile (fd, filename) = tempfile.mkstemp() os.close(fd) try: if hasattr(os, 'system') and os.system('more %s' % filename) == 0: return lambda text: pipepager(text, 'more') else: return ttypager finally: os.unlink(filename)
9c67a896f019233b34932c55e6be3a96a01890c5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12029/9c67a896f019233b34932c55e6be3a96a01890c5/pydoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 24081, 13332, 3536, 1799, 831, 4121, 707, 358, 999, 364, 17859, 3059, 977, 12123, 309, 618, 12, 9499, 18, 10283, 13, 353, 486, 1953, 18, 28941, 30, 327, 7351, 24081, 309, 486, 2589, 18, 21772, 18, 291, 270, 4098, 1435, 578, 486, 2589, 18, 10283, 18, 291, 270, 4098, 13332, 327, 7351, 24081, 309, 296, 52, 16302, 11, 316, 1140, 18, 28684, 30, 309, 2589, 18, 9898, 422, 296, 8082, 1578, 4278, 468, 16062, 14416, 12933, 316, 8202, 327, 3195, 977, 30, 13275, 24081, 12, 7446, 12, 955, 3631, 1140, 18, 28684, 3292, 52, 16302, 19486, 1327, 1140, 18, 28684, 18, 588, 2668, 15176, 6134, 316, 7707, 72, 3592, 2187, 296, 351, 28965, 11, 4672, 327, 3195, 977, 30, 6010, 24081, 12, 7446, 12, 955, 3631, 1140, 18, 28684, 3292, 52, 16302, 19486, 469, 30, 327, 3195, 977, 30, 6010, 24081, 12, 955, 16, 1140, 18, 28684, 3292, 52, 16302, 19486, 309, 1140, 18, 28684, 18, 588, 2668, 15176, 6134, 316, 7707, 72, 3592, 2187, 296, 351, 28965, 11, 4672, 327, 7351, 24081, 309, 2589, 18, 9898, 422, 296, 8082, 1578, 11, 578, 2589, 18, 9898, 18, 17514, 1918, 2668, 538, 22, 11, 4672, 327, 3195, 977, 30, 13275, 24081, 12, 7446, 12, 955, 3631, 296, 10161, 411, 6134, 309, 3859, 12, 538, 16, 296, 4299, 6134, 471, 1140, 18, 4299, 2668, 12, 2656, 13, 576, 16893, 5206, 19, 2011, 6134, 422, 374, 30, 327, 3195, 977, 30, 6010, 24081, 12, 955, 16, 296, 2656, 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, 336, 24081, 13332, 3536, 1799, 831, 4121, 707, 358, 999, 364, 17859, 3059, 977, 12123, 309, 618, 12, 9499, 18, 10283, 13, 353, 486, 1953, 18, 28941, 30, 327, 7351, 24081, 309, 486, 2589, 18, 21772, 18, 291, 270, 4098, 1435, 578, 486, 2589, 18, 10283, 18, 291, 270, 4098, 13332, 327, 7351, 24081, 309, 296, 52, 16302, 11, 316, 1140, 18, 28684, 30, 309, 2589, 18, 9898, 422, 296, 8082, 1578, 4278, 468, 16062, 14416, 12933, 316, 8202, 327, 3195, 977, 30, 13275, 24081, 12, 7446, 12, 955, 3631, 1140, 18, 28684, 3292, 52, 16302, 19486, 1327, 1140, 18, 28684, 18, 588, 2668, 15176, 6134, 316, 7707, 72, 3592, 2187, 296, 351, 28965, 11, 4672, 327, 3195, 2 ]
__ac_cookie = self.request.cookies.get('__ac', ''),
cookie = self.request.cookies.get('__ac', ''),
def upload_settings(self): sp = getToolByName(self.context, "portal_properties").site_properties portal_url = getToolByName(self.context, 'portal_url')
534114a306f814244a5d46f68fa18fc4178e2aec /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9052/534114a306f814244a5d46f68fa18fc4178e2aec/finder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3617, 67, 4272, 12, 2890, 4672, 1694, 273, 336, 6364, 5911, 12, 2890, 18, 2472, 16, 315, 24386, 67, 4738, 20387, 4256, 67, 4738, 11899, 67, 718, 273, 336, 6364, 5911, 12, 2890, 18, 2472, 16, 296, 24386, 67, 718, 6134, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3617, 67, 4272, 12, 2890, 4672, 1694, 273, 336, 6364, 5911, 12, 2890, 18, 2472, 16, 315, 24386, 67, 4738, 20387, 4256, 67, 4738, 11899, 67, 718, 273, 336, 6364, 5911, 12, 2890, 18, 2472, 16, 296, 24386, 67, 718, 6134, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def fl_get_xyplot_data_pointer(ob, id, x, y, n): """ fl_get_xyplot_data_pointer(ob, id, x, y, n) """ _fl_get_xyplot_data_pointer(ob, id, x, y, n)
def fl_get_xyplot_data_pointer(obj, id, x, y, n): """ fl_get_xyplot_data_pointer(obj, id, x, y, n) """ _fl_get_xyplot_data_pointer(obj, id, x, y, n)
def fl_get_xyplot_data_pointer(ob, id, x, y, n): """ fl_get_xyplot_data_pointer(ob, id, x, y, n) """ _fl_get_xyplot_data_pointer(ob, id, x, y, n)
8765c710f695de392f6fc7c664c746ec98668b1d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/8765c710f695de392f6fc7c664c746ec98668b1d/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 588, 67, 1698, 4032, 67, 892, 67, 10437, 12, 2603, 16, 612, 16, 619, 16, 677, 16, 290, 4672, 3536, 1183, 67, 588, 67, 1698, 4032, 67, 892, 67, 10437, 12, 2603, 16, 612, 16, 619, 16, 677, 16, 290, 13, 3536, 225, 389, 2242, 67, 588, 67, 1698, 4032, 67, 892, 67, 10437, 12, 2603, 16, 612, 16, 619, 16, 677, 16, 290, 13, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 1183, 67, 588, 67, 1698, 4032, 67, 892, 67, 10437, 12, 2603, 16, 612, 16, 619, 16, 677, 16, 290, 13, 3536, 225, 389, 2242, 67, 588, 67, 1698, 4032, 67, 892, 67, 10437, 12, 2603, 16, 612, 16, 619, 16, 677, 16, 290, 13, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
guide = views.guides.getObjectByID(int(id)).setSawIntro()
try: guide = views.guides.getObjectByID(int(id)).setSawIntro() except database.ObjectNotFoundError: return
def doneWithIntro(self, id): guide = views.guides.getObjectByID(int(id)).setSawIntro() self.goToGuide(id)
7566ae05aec4990c189d9013e51ebf0530f240cf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12354/7566ae05aec4990c189d9013e51ebf0530f240cf/app.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2731, 1190, 1702, 303, 12, 2890, 16, 612, 4672, 775, 30, 7343, 273, 7361, 18, 14066, 281, 18, 588, 921, 13331, 12, 474, 12, 350, 13, 2934, 542, 55, 2219, 1702, 303, 1435, 1335, 2063, 18, 921, 13276, 30, 225, 327, 365, 18, 3240, 774, 17424, 12, 350, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2731, 1190, 1702, 303, 12, 2890, 16, 612, 4672, 775, 30, 7343, 273, 7361, 18, 14066, 281, 18, 588, 921, 13331, 12, 474, 12, 350, 13, 2934, 542, 55, 2219, 1702, 303, 1435, 1335, 2063, 18, 921, 13276, 30, 225, 327, 365, 18, 3240, 774, 17424, 12, 350, 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 ]
wx.Panel.__init__ (self, parent, id, pos, size, style)
wx.Panel.__init__ (self, parent, id, pos, size, style, name)
def createDialog(self, parent, id, pos, size, style): """Setup the graphic representation of the dialog""" wx.Panel.__init__ (self, parent, id, pos, size, style) self.SetMinSize(size) # play nice with sizers box = wx.BoxSizer(wx.HORIZONTAL) self.textControl = self.createTextControl() box.Add(self.textControl, 1, wx.CENTER, 5) self.browseButton = self.createBrowseButton() box.Add(self.browseButton, 0, wx.LEFT|wx.CENTER, 5) self.SetAutoLayout(True) self.SetSizer(box) self.Layout() if type(size) == types.TupleType: size = apply(wx.Size, size) self.SetDimensions(-1, -1, size.width, size.height, wx.SIZE_USE_EXISTING)
c5543160f8d29783113dd781a5d029c75cdb053c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8076/c5543160f8d29783113dd781a5d029c75cdb053c/FileBrowseButton.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 6353, 12, 2890, 16, 982, 16, 612, 16, 949, 16, 963, 16, 2154, 4672, 3536, 7365, 326, 19548, 4335, 434, 326, 6176, 8395, 7075, 18, 5537, 16186, 2738, 972, 261, 2890, 16, 982, 16, 612, 16, 949, 16, 963, 16, 2154, 16, 508, 13, 365, 18, 694, 2930, 1225, 12, 1467, 13, 468, 6599, 13752, 598, 272, 8426, 225, 3919, 273, 7075, 18, 3514, 20512, 12, 27226, 18, 44, 20344, 13, 225, 365, 18, 955, 3367, 273, 365, 18, 2640, 1528, 3367, 1435, 3919, 18, 986, 12, 2890, 18, 955, 3367, 16, 404, 16, 7075, 18, 19835, 16, 1381, 13, 225, 365, 18, 25731, 3616, 273, 365, 18, 2640, 27304, 3616, 1435, 3919, 18, 986, 12, 2890, 18, 25731, 3616, 16, 374, 16, 7075, 18, 10066, 96, 27226, 18, 19835, 16, 1381, 13, 225, 365, 18, 694, 4965, 3744, 12, 5510, 13, 365, 18, 694, 20512, 12, 2147, 13, 365, 18, 3744, 1435, 309, 618, 12, 1467, 13, 422, 1953, 18, 9038, 559, 30, 963, 273, 2230, 12, 27226, 18, 1225, 16, 963, 13, 365, 18, 694, 10796, 19236, 21, 16, 300, 21, 16, 963, 18, 2819, 16, 963, 18, 4210, 16, 7075, 18, 4574, 67, 8001, 67, 11838, 1360, 13, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 6353, 12, 2890, 16, 982, 16, 612, 16, 949, 16, 963, 16, 2154, 4672, 3536, 7365, 326, 19548, 4335, 434, 326, 6176, 8395, 7075, 18, 5537, 16186, 2738, 972, 261, 2890, 16, 982, 16, 612, 16, 949, 16, 963, 16, 2154, 16, 508, 13, 365, 18, 694, 2930, 1225, 12, 1467, 13, 468, 6599, 13752, 598, 272, 8426, 225, 3919, 273, 7075, 18, 3514, 20512, 12, 27226, 18, 44, 20344, 13, 225, 365, 18, 955, 3367, 273, 365, 18, 2640, 1528, 3367, 1435, 3919, 18, 986, 12, 2890, 18, 955, 3367, 16, 404, 16, 7075, 18, 19835, 16, 1381, 13, 225, 365, 18, 25731, 3616, 273, 365, 18, 2640, 27304, 3616, 1435, 3919, 18, 986, 12, 2890, 2 ]
TESTS:
TESTS::
def plot3d(self): r""" TESTS:
3153e8a6f77fbbdaab12733027eebc09b8e0b429 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/3153e8a6f77fbbdaab12733027eebc09b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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3207, 23, 72, 12, 2890, 4672, 436, 8395, 22130, 55, 30, 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 ]
if (not RUNTIME and PkgSkip("OPENGL")==0): OPTS=['DIR:panda/src/glgsg', 'DIR:panda/src/glstuff', 'DIR:panda/src/gobj', 'BUILDING:PANDAGL', 'NVIDIACG']
if (not RUNTIME and PkgSkip("GL")==0): OPTS=['DIR:panda/src/glgsg', 'DIR:panda/src/glstuff', 'BUILDING:PANDAGL', 'NVIDIACG']
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n"
4d498acfe5ebc9517e624dc710c2b46a7217beb8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7242/4d498acfe5ebc9517e624dc710c2b46a7217beb8/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 293, 464, 842, 722, 67, 76, 1011, 1548, 82, 7, 318, 536, 225, 453, 4307, 37, 67, 3932, 1653, 39, 6365, 67, 5757, 64, 82, 6, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 293, 464, 842, 722, 67, 76, 1011, 1548, 82, 7, 318, 536, 225, 453, 4307, 37, 67, 3932, 1653, 39, 6365, 67, 5757, 64, 82, 6, 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 ]
"""
If you pass a vector, it is assumed to be the coordinate vector of a point:: sage: P = Polyhedron(vertices=[[1,1],[1,-1],[-1,1],[-1,-1]]) sage: p = vector(ZZ, [1,0] ) sage: [ ieq.interior_contains(p) for ieq in P.inequality_generator() ] [True, True, True, False] """ try: if Vobj.is_vector(): return self.polyhedron()._is_positive( self.eval(Vobj) ) except AttributeError: pass
def interior_contains(self, Vobj): """ Tests whether the interior of the halfspace (excluding its boundary) defined by the inequality contains the given vertex/ray/line.
f28b5c2df8e3e2d20574c3cf9161e1889b95d754 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/f28b5c2df8e3e2d20574c3cf9161e1889b95d754/polyhedra.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26230, 67, 12298, 12, 2890, 16, 776, 2603, 4672, 225, 971, 1846, 1342, 279, 3806, 16, 518, 353, 12034, 358, 506, 326, 7799, 3806, 434, 279, 1634, 2866, 225, 272, 410, 30, 453, 273, 18394, 18550, 1949, 12, 17476, 22850, 63, 21, 16, 21, 6487, 63, 21, 16, 17, 21, 6487, 18919, 21, 16, 21, 6487, 18919, 21, 16, 17, 21, 65, 5717, 272, 410, 30, 293, 273, 3806, 12, 27096, 16, 306, 21, 16, 20, 65, 262, 272, 410, 30, 306, 9228, 85, 18, 2761, 9659, 67, 12298, 12, 84, 13, 364, 9228, 85, 316, 453, 18, 558, 16495, 67, 8812, 1435, 308, 306, 5510, 16, 1053, 16, 1053, 16, 1083, 65, 3536, 775, 30, 309, 776, 2603, 18, 291, 67, 7737, 13332, 327, 365, 18, 16353, 18550, 1949, 1435, 6315, 291, 67, 21094, 12, 365, 18, 8622, 12, 58, 2603, 13, 262, 1335, 6394, 30, 1342, 225, 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, 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, 26230, 67, 12298, 12, 2890, 16, 776, 2603, 4672, 225, 971, 1846, 1342, 279, 3806, 16, 518, 353, 12034, 358, 506, 326, 7799, 3806, 434, 279, 1634, 2866, 225, 272, 410, 30, 453, 273, 18394, 18550, 1949, 12, 17476, 22850, 63, 21, 16, 21, 6487, 63, 21, 16, 17, 21, 6487, 18919, 21, 16, 21, 6487, 18919, 21, 16, 17, 21, 65, 5717, 272, 410, 30, 293, 273, 3806, 12, 27096, 16, 306, 21, 16, 20, 65, 262, 272, 410, 30, 306, 9228, 85, 18, 2761, 9659, 67, 12298, 12, 84, 13, 364, 9228, 85, 316, 453, 18, 558, 16495, 67, 8812, 1435, 308, 306, 5510, 16, 1053, 16, 1053, 16, 1083, 65, 3536, 775, 30, 309, 776, 2 ]
assert major==2 and minor==5 extra = (upgrade_code, start, "2.5.2", None, migrate_features, None, "REMOVEOLDVERSION")
assert major=='2' and minor=='5' extra = [(upgrade_code, start, "2.5.2000", None, migrate_features, None, "REMOVEOLDVERSION")]
def remove_old_versions(db): "Fill the upgrade table." start = "%s.%s.0" % (major, minor) # This requests that feature selection states of an older # installation should be forwarded into this one. Upgrading # requires that both the old and the new installation are # either both per-machine or per-user. migrate_features = 1 # See "Upgrade Table". We remove releases with the same major and # minor version. For an snapshot, we remove all earlier snapshots. For # a release, we remove all snapshots, and all earlier releases. if snapshot: add_data(db, "Upgrade", [(upgrade_code_snapshot, start, current_version, None, # Ignore language migrate_features, None, # Migrate ALL features "REMOVEOLDSNAPSHOT")]) props = "REMOVEOLDSNAPSHOT" else: if msilib.Win64: uc = upgrade_code_64 # For 2.5, also upgrade installation with upgrade_code # of 2.5.0 and 2.5.1, since they used the same code for # 64-bit versions assert major==2 and minor==5 extra = (upgrade_code, start, "2.5.2", None, migrate_features, None, "REMOVEOLDVERSION") else: uc = upgrade_code extra = [] add_data(db, "Upgrade", [(uc, start, current_version, None, migrate_features, None, "REMOVEOLDVERSION"), (upgrade_code_snapshot, start, "%s.%d.0" % (major, int(minor)+1), None, migrate_features, None, "REMOVEOLDSNAPSHOT")+extra]) props = "REMOVEOLDSNAPSHOT;REMOVEOLDVERSION" # Installer collects the product codes of the earlier releases in # these properties. In order to allow modification of the properties, # they must be declared as secure. See "SecureCustomProperties Property" add_data(db, "Property", [("SecureCustomProperties", props)])
a5648609fabf0a737645eec2ad6ba468c0fc324e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12029/a5648609fabf0a737645eec2ad6ba468c0fc324e/msi.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 67, 1673, 67, 10169, 12, 1966, 4672, 315, 8026, 326, 8400, 1014, 1199, 787, 273, 2213, 87, 7866, 87, 18, 20, 6, 738, 261, 14019, 16, 8439, 13, 468, 1220, 3285, 716, 2572, 4421, 5493, 434, 392, 12156, 468, 13193, 1410, 506, 19683, 1368, 333, 1245, 18, 1948, 15210, 468, 4991, 716, 3937, 326, 1592, 471, 326, 394, 13193, 854, 468, 3344, 3937, 1534, 17, 9149, 578, 1534, 17, 1355, 18, 13187, 67, 7139, 273, 404, 468, 2164, 315, 10784, 3555, 9654, 1660, 1206, 14824, 598, 326, 1967, 7888, 471, 468, 8439, 1177, 18, 2457, 392, 4439, 16, 732, 1206, 777, 13805, 12808, 18, 2457, 468, 279, 3992, 16, 732, 1206, 777, 12808, 16, 471, 777, 13805, 14824, 18, 309, 4439, 30, 527, 67, 892, 12, 1966, 16, 315, 10784, 3113, 306, 12, 15097, 67, 710, 67, 11171, 16, 787, 16, 783, 67, 1589, 16, 599, 16, 5397, 468, 8049, 2653, 13187, 67, 7139, 16, 599, 16, 5397, 468, 26507, 8061, 4467, 315, 22122, 1741, 3948, 50, 31667, 7923, 5717, 3458, 273, 315, 22122, 1741, 3948, 50, 31667, 6, 469, 30, 309, 4086, 330, 495, 18, 18049, 1105, 30, 6232, 273, 8400, 67, 710, 67, 1105, 468, 2457, 576, 18, 25, 16, 2546, 8400, 13193, 598, 8400, 67, 710, 468, 434, 576, 18, 25, 18, 20, 471, 576, 18, 25, 18, 21, 16, 3241, 2898, 1399, 326, 1967, 981, 364, 468, 5178, 17, 3682, 5244, 1815, 7888, 18920, 22, 11, 471, 8439, 18920, 25, 11, 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, 1206, 67, 1673, 67, 10169, 12, 1966, 4672, 315, 8026, 326, 8400, 1014, 1199, 787, 273, 2213, 87, 7866, 87, 18, 20, 6, 738, 261, 14019, 16, 8439, 13, 468, 1220, 3285, 716, 2572, 4421, 5493, 434, 392, 12156, 468, 13193, 1410, 506, 19683, 1368, 333, 1245, 18, 1948, 15210, 468, 4991, 716, 3937, 326, 1592, 471, 326, 394, 13193, 854, 468, 3344, 3937, 1534, 17, 9149, 578, 1534, 17, 1355, 18, 13187, 67, 7139, 273, 404, 468, 2164, 315, 10784, 3555, 9654, 1660, 1206, 14824, 598, 326, 1967, 7888, 471, 468, 8439, 1177, 18, 2457, 392, 4439, 16, 732, 1206, 777, 13805, 12808, 18, 2457, 468, 279, 3992, 16, 732, 1206, 777, 12808, 16, 471, 777, 13805, 2 ]
env.log.debug('Loading plugin %s from %s', name,
env.log.debug('Loading egg plugin %s from %s', name,
def flatten(dists): for dist in dists: if dist in memo: continue memo.add(dist) try: predecessors = ws.resolve([dist.as_requirement()]) for predecessor in flatten(predecessors): yield predecessor yield dist except pkg_resources.DistributionNotFound, e: env.log.error('Skipping "%s" ("%s" not found)', dist, e) except pkg_resources.VersionConflict, e: env.log.error('Skipping "%s" (version conflict: "%s")', dist, e)
42ac7772c042fe373f965030fcbfecd4d5430aed /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/42ac7772c042fe373f965030fcbfecd4d5430aed/loader.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5341, 12, 30467, 4672, 364, 2411, 316, 16871, 30, 309, 2411, 316, 11063, 30, 1324, 11063, 18, 1289, 12, 4413, 13, 775, 30, 18522, 1383, 273, 4945, 18, 10828, 3816, 4413, 18, 345, 67, 30848, 1435, 5717, 364, 24282, 316, 5341, 12, 1484, 14258, 1383, 4672, 2824, 24282, 2824, 2411, 1335, 3475, 67, 4683, 18, 9003, 2768, 16, 425, 30, 1550, 18, 1330, 18, 1636, 2668, 16877, 2213, 87, 6, 7566, 9, 87, 6, 486, 1392, 13, 2187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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5341, 12, 30467, 4672, 364, 2411, 316, 16871, 30, 309, 2411, 316, 11063, 30, 1324, 11063, 18, 1289, 12, 4413, 13, 775, 30, 18522, 1383, 273, 4945, 18, 10828, 3816, 4413, 18, 345, 67, 30848, 1435, 5717, 364, 24282, 316, 5341, 12, 1484, 14258, 1383, 4672, 2824, 24282, 2824, 2411, 1335, 3475, 67, 4683, 18, 9003, 2768, 16, 425, 30, 1550, 18, 1330, 18, 1636, 2668, 16877, 2213, 87, 6, 7566, 9, 87, 6, 486, 1392, 13, 2187, 2411, 16, 425, 13, 1335, 3475, 67, 4683, 18, 1444, 10732, 16, 425, 30, 1550, 18, 1330, 18, 1636, 2668, 16877, 2213, 87, 6, 261, 1589, 7546, 30, 2213, 87, 7923, 2187, 2411, 16, 425, 13, 2, -100, -100, -100, -100 ]
now = int(time.time() - 1) self._last_read = time.time() - 1
self._last_read = now
def update_dir (subdir): path = os.path.join(self._path, subdir) for entry in os.listdir(path): p = os.path.join(path, entry) if os.path.isdir(p): continue uniq = entry.split(self.colon)[0] self._toc[uniq] = os.path.join(subdir, entry)
956fffe61d369528e9be21d3b6d62edaa475a183 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8125/956fffe61d369528e9be21d3b6d62edaa475a183/mailbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 1214, 261, 1717, 1214, 4672, 589, 273, 1140, 18, 803, 18, 5701, 12, 2890, 6315, 803, 16, 16921, 13, 364, 1241, 316, 1140, 18, 1098, 1214, 12, 803, 4672, 293, 273, 1140, 18, 803, 18, 5701, 12, 803, 16, 1241, 13, 309, 1140, 18, 803, 18, 291, 1214, 12, 84, 4672, 1324, 10748, 273, 1241, 18, 4939, 12, 2890, 18, 22667, 25146, 20, 65, 365, 6315, 1391, 63, 31649, 65, 273, 1140, 18, 803, 18, 5701, 12, 1717, 1214, 16, 1241, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 1214, 261, 1717, 1214, 4672, 589, 273, 1140, 18, 803, 18, 5701, 12, 2890, 6315, 803, 16, 16921, 13, 364, 1241, 316, 1140, 18, 1098, 1214, 12, 803, 4672, 293, 273, 1140, 18, 803, 18, 5701, 12, 803, 16, 1241, 13, 309, 1140, 18, 803, 18, 291, 1214, 12, 84, 4672, 1324, 10748, 273, 1241, 18, 4939, 12, 2890, 18, 22667, 25146, 20, 65, 365, 6315, 1391, 63, 31649, 65, 273, 1140, 18, 803, 18, 5701, 12, 1717, 1214, 16, 1241, 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 ]
f_use = field.get("use",'').encode('ascii') or 'id'
f_use = field.get("use",'').encode('utf-8') or 'id'
def _tag_record(self, cr, rec, data_node=None): rec_model = rec.get("model").encode('ascii') model = self.pool.get(rec_model) assert model, "The model %s does not exist !" % (rec_model,) rec_id = rec.get("id",'').encode('ascii') rec_context = rec.get("context", None) if rec_context: rec_context = unsafe_eval(rec_context) self._test_xml_id(rec_id) if self.isnoupdate(data_node) and self.mode != 'init': # check if the xml record has an id string if rec_id: if '.' in rec_id: module,rec_id2 = rec_id.split('.') else: module = self.module rec_id2 = rec_id id = self.pool.get('ir.model.data')._update_dummy(cr, self.uid, rec_model, module, rec_id2) # check if the resource already existed at the last update if id: # if it existed, we don't update the data, but we need to # know the id of the existing record anyway self.idref[rec_id] = int(id) return None else: # if the resource didn't exist if not self.nodeattr2bool(rec, 'forcecreate', True): # we don't want to create it, so we skip it return None # else, we let the record to be created
fdabe0f0dbaca61e1dcb395b5df9ce609b1cc6e2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/fdabe0f0dbaca61e1dcb395b5df9ce609b1cc6e2/convert.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2692, 67, 3366, 12, 2890, 16, 4422, 16, 1950, 16, 501, 67, 2159, 33, 7036, 4672, 1950, 67, 2284, 273, 1950, 18, 588, 2932, 2284, 20387, 3015, 2668, 9184, 6134, 938, 273, 365, 18, 6011, 18, 588, 12, 3927, 67, 2284, 13, 1815, 938, 16, 315, 1986, 938, 738, 87, 1552, 486, 1005, 29054, 738, 261, 3927, 67, 2284, 16, 13, 1950, 67, 350, 273, 1950, 18, 588, 2932, 350, 3113, 6309, 2934, 3015, 2668, 9184, 6134, 1950, 67, 2472, 273, 1950, 18, 588, 2932, 2472, 3113, 599, 13, 309, 1950, 67, 2472, 30, 1950, 67, 2472, 273, 7127, 67, 8622, 12, 3927, 67, 2472, 13, 365, 6315, 3813, 67, 2902, 67, 350, 12, 3927, 67, 350, 13, 309, 365, 18, 291, 2135, 2725, 12, 892, 67, 2159, 13, 471, 365, 18, 3188, 480, 296, 2738, 4278, 468, 866, 309, 326, 2025, 1409, 711, 392, 612, 533, 309, 1950, 67, 350, 30, 309, 2611, 316, 1950, 67, 350, 30, 1605, 16, 3927, 67, 350, 22, 273, 1950, 67, 350, 18, 4939, 2668, 1093, 13, 469, 30, 1605, 273, 365, 18, 2978, 1950, 67, 350, 22, 273, 1950, 67, 350, 612, 273, 365, 18, 6011, 18, 588, 2668, 481, 18, 2284, 18, 892, 16063, 67, 2725, 67, 21050, 12, 3353, 16, 365, 18, 1911, 16, 1950, 67, 2284, 16, 1605, 16, 1950, 67, 350, 22, 13, 468, 866, 309, 326, 1058, 1818, 20419, 622, 326, 1142, 1089, 309, 612, 30, 468, 309, 518, 20419, 16, 732, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2692, 67, 3366, 12, 2890, 16, 4422, 16, 1950, 16, 501, 67, 2159, 33, 7036, 4672, 1950, 67, 2284, 273, 1950, 18, 588, 2932, 2284, 20387, 3015, 2668, 9184, 6134, 938, 273, 365, 18, 6011, 18, 588, 12, 3927, 67, 2284, 13, 1815, 938, 16, 315, 1986, 938, 738, 87, 1552, 486, 1005, 29054, 738, 261, 3927, 67, 2284, 16, 13, 1950, 67, 350, 273, 1950, 18, 588, 2932, 350, 3113, 6309, 2934, 3015, 2668, 9184, 6134, 1950, 67, 2472, 273, 1950, 18, 588, 2932, 2472, 3113, 599, 13, 309, 1950, 67, 2472, 30, 1950, 67, 2472, 273, 7127, 67, 8622, 12, 3927, 67, 2472, 13, 365, 6315, 3813, 67, 2902, 67, 350, 12, 3927, 67, 350, 2 ]
def fit_item_in_rectangle(self, rectangle, width, height):
def fit_item_in_rectangle(self, rectangle, width, height, font_h):
def fit_item_in_rectangle(self, rectangle, width, height): """ calculates the rectangle geometry and fits it into the area """ x = 0 y = 0 r = self.get_item_rectangle(rectangle, width, height)[2] if r.width > width: r.width, width = width, width - (r.width - width) if r.height > height: r.height, height = height, height - (r.height - height) if r.x < 0: r.x, x = 0, -r.x width -= x if r.y < 0: r.y, y = 0, -r.y height -= y
ec09a89abffc006a16c2262aef73f463346519b4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/ec09a89abffc006a16c2262aef73f463346519b4/tvlisting_area.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4845, 67, 1726, 67, 267, 67, 2607, 4341, 12, 2890, 16, 11845, 16, 1835, 16, 2072, 16, 3512, 67, 76, 4672, 3536, 17264, 326, 11845, 5316, 471, 13351, 518, 1368, 326, 5091, 3536, 619, 273, 374, 677, 273, 374, 436, 273, 365, 18, 588, 67, 1726, 67, 2607, 4341, 12, 2607, 4341, 16, 1835, 16, 2072, 25146, 22, 65, 309, 436, 18, 2819, 405, 1835, 30, 436, 18, 2819, 16, 1835, 273, 1835, 16, 1835, 300, 261, 86, 18, 2819, 300, 1835, 13, 309, 436, 18, 4210, 405, 2072, 30, 436, 18, 4210, 16, 2072, 273, 2072, 16, 2072, 300, 261, 86, 18, 4210, 300, 2072, 13, 309, 436, 18, 92, 411, 374, 30, 436, 18, 92, 16, 619, 273, 374, 16, 300, 86, 18, 92, 1835, 3947, 619, 309, 436, 18, 93, 411, 374, 30, 436, 18, 93, 16, 677, 273, 374, 16, 300, 86, 18, 93, 2072, 3947, 677, 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, 4845, 67, 1726, 67, 267, 67, 2607, 4341, 12, 2890, 16, 11845, 16, 1835, 16, 2072, 16, 3512, 67, 76, 4672, 3536, 17264, 326, 11845, 5316, 471, 13351, 518, 1368, 326, 5091, 3536, 619, 273, 374, 677, 273, 374, 436, 273, 365, 18, 588, 67, 1726, 67, 2607, 4341, 12, 2607, 4341, 16, 1835, 16, 2072, 25146, 22, 65, 309, 436, 18, 2819, 405, 1835, 30, 436, 18, 2819, 16, 1835, 273, 1835, 16, 1835, 300, 261, 86, 18, 2819, 300, 1835, 13, 309, 436, 18, 4210, 405, 2072, 30, 436, 18, 4210, 16, 2072, 273, 2072, 16, 2072, 300, 261, 86, 18, 4210, 300, 2072, 13, 309, 436, 18, 92, 411, 374, 30, 436, 18, 92, 16, 2 ]
import imp, sys, os for p in sys.path: path = os.path.join(p, "%(filename)s") if os.path.exists(path): break else: assert 0, "file not found: %(filename)s" mod = imp.load_dynamic("%(name)s", path) sys.modules["%(name)s"] = mod
def __load(): import imp, sys, os for p in sys.path: path = os.path.join(p, "%(filename)s") if os.path.exists(path): break else: assert 0, "file not found: %(filename)s" mod = imp.load_dynamic("%(name)s", path) __load() del __load
def report(self): # XXX something decent pass
fe0a44eba5386cceb89f4dbb183ff48b4d42426e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/fe0a44eba5386cceb89f4dbb183ff48b4d42426e/bundlebuilder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2605, 12, 2890, 4672, 468, 11329, 5943, 2109, 319, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2605, 12, 2890, 4672, 468, 11329, 5943, 2109, 319, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
pos = pos - 1
pos -= 1
def beginPage(self) : """Indicates the beginning of a new page, and extracts media information.""" self.pagecount += 1 # Default values mediatypelabel = "Plain" mediasourcelabel = "Main" mediasizelabel = "Default" orientationlabel = "Portrait" duplexmode = None # Now go upstream to decode media type, size, source, and orientation # this saves time because we don't need a complete parser ! minfile = self.minfile pos = self.pos - 2 while pos > 0 : # safety check : don't go back to far ! val = ord(minfile[pos]) if val in (0x44, 0x48, 0x41) : # if previous endPage or openDataSource or beginSession (first page) break if val == 0x26 : mediasource = ord(minfile[pos - 2]) mediasourcelabel = self.mediasources.get(mediasource, str(mediasource)) pos = pos - 4 elif val == 0x25 : mediasize = ord(minfile[pos - 2]) mediasizelabel = self.mediasizes.get(mediasize, str(mediasize)) pos = pos - 4 elif val == 0x28 : orientation = ord(minfile[pos - 2]) orientationlabel = self.orientations.get(orientation, str(orientation)) pos = pos - 4 elif val == 0x27 : savepos = pos pos = pos - 1 startpos = size = None while pos > 0 : # safety check : don't go back to far ! val = ord(minfile[pos]) pos -= 1 if val == 0xc8 : length = self.tags[ord(minfile[pos+2])] # will probably always be a byte or uint16 if length == 1 : startpos = pos + 4 size = unpack("B", self.minfile[pos+3:startpos])[0] elif length == 2 : startpos = pos + 5 size = unpack(self.endianness + "H", self.minfile[pos+3:startpos])[0] elif length == 4 : startpos = pos + 7 size = unpack(self.endianness + "I", self.minfile[pos+3:startpos])[0] else : raise pdlparser.PDLParserError, "Error on size at %s : %s" % (pos+2, length) break mediatypelabel = minfile[startpos:startpos+size] elif val == 0x34 : duplexmode = "Simplex" pos = pos - 2 elif val in (0x35, 0x36) : duplexmode = "Duplex" pos = pos - 2 # else : TODO : CUSTOM MEDIA SIZE AND UNIT ! else : pos = pos - 2 # ignored self.pages[self.pagecount] = { "copies" : 1, "orientation" : orientationlabel, "mediatype" : mediatypelabel, "mediasize" : mediasizelabel, "mediasource" : mediasourcelabel, "duplex" : duplexmode, } return 0
197d53f6b2cec7da0cadce09072491fb0d0bb60f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/486/197d53f6b2cec7da0cadce09072491fb0d0bb60f/pclxl.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2376, 1964, 12, 2890, 13, 294, 3536, 23741, 326, 8435, 434, 279, 394, 1363, 16, 471, 16469, 3539, 1779, 12123, 365, 18, 2433, 1883, 1011, 404, 225, 468, 2989, 924, 20623, 270, 879, 292, 873, 273, 315, 13360, 6, 6735, 1795, 477, 2183, 873, 273, 315, 6376, 6, 6735, 1795, 452, 292, 873, 273, 315, 1868, 6, 9820, 1925, 273, 315, 52, 280, 22513, 6, 302, 2268, 92, 3188, 273, 599, 225, 468, 4494, 1960, 13505, 358, 2495, 3539, 618, 16, 963, 16, 1084, 16, 471, 9820, 468, 333, 14649, 813, 2724, 732, 2727, 1404, 1608, 279, 3912, 2082, 401, 1131, 768, 273, 365, 18, 1154, 768, 949, 273, 365, 18, 917, 300, 576, 1323, 949, 405, 374, 294, 468, 24179, 866, 294, 2727, 1404, 1960, 1473, 358, 10247, 401, 1244, 273, 4642, 12, 1154, 768, 63, 917, 5717, 309, 1244, 316, 261, 20, 92, 6334, 16, 374, 92, 8875, 16, 374, 92, 9803, 13, 294, 468, 309, 2416, 679, 1964, 578, 1696, 8597, 578, 2376, 2157, 261, 3645, 1363, 13, 898, 309, 1244, 422, 374, 92, 5558, 294, 6735, 1795, 552, 273, 4642, 12, 1154, 768, 63, 917, 300, 576, 5717, 6735, 1795, 477, 2183, 873, 273, 365, 18, 2937, 1795, 1418, 18, 588, 12, 2937, 1795, 552, 16, 609, 12, 2937, 1795, 552, 3719, 949, 273, 949, 300, 1059, 1327, 1244, 422, 374, 92, 2947, 294, 6735, 1795, 554, 273, 4642, 12, 1154, 768, 63, 917, 300, 576, 5717, 6735, 1795, 452, 292, 873, 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, 2376, 1964, 12, 2890, 13, 294, 3536, 23741, 326, 8435, 434, 279, 394, 1363, 16, 471, 16469, 3539, 1779, 12123, 365, 18, 2433, 1883, 1011, 404, 225, 468, 2989, 924, 20623, 270, 879, 292, 873, 273, 315, 13360, 6, 6735, 1795, 477, 2183, 873, 273, 315, 6376, 6, 6735, 1795, 452, 292, 873, 273, 315, 1868, 6, 9820, 1925, 273, 315, 52, 280, 22513, 6, 302, 2268, 92, 3188, 273, 599, 225, 468, 4494, 1960, 13505, 358, 2495, 3539, 618, 16, 963, 16, 1084, 16, 471, 9820, 468, 333, 14649, 813, 2724, 732, 2727, 1404, 1608, 279, 3912, 2082, 401, 1131, 768, 273, 365, 18, 1154, 768, 949, 273, 365, 18, 917, 300, 576, 1323, 949, 405, 374, 2 ]
return ("""def %(setter_name)s(self, val):
return ("""def %(setter_name)s(self, val):
return ("""def %(setter_name)s(self, val):
58dc2fb516629b074638c0917bee1caa903c1c84 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4095/58dc2fb516629b074638c0917bee1caa903c1c84/metaclasses.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 327, 261, 8395, 536, 8975, 18062, 67, 529, 13, 87, 12, 2890, 16, 1244, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 327, 261, 8395, 536, 8975, 18062, 67, 529, 13, 87, 12, 2890, 16, 1244, 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 ]
variant = self.model.data(self.model.index(0,0,QtCore.QModelIndex()), QtCore.Qt.CheckStateRole)
variant = self.model.data(self.model.index(0, 0, QtCore.QModelIndex()), QtCore.Qt.CheckStateRole)
def data(self): """ Tests self.model's implementation of QtCore.QAbstractItemModel::data() """ # Invalid index should return an invalid qvariant assert( not self.model.data(QtCore.QModelIndex(), QtCore.Qt.DisplayRole).isValid())
ed4ea4fec39587cca2aeb18d36a0fa5f722ca150 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1679/ed4ea4fec39587cca2aeb18d36a0fa5f722ca150/modeltest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 501, 12, 2890, 4672, 3536, 7766, 87, 365, 18, 2284, 1807, 4471, 434, 20193, 18, 53, 7469, 1180, 1488, 2866, 892, 1435, 3536, 468, 1962, 770, 1410, 327, 392, 2057, 1043, 8688, 1815, 12, 486, 365, 18, 2284, 18, 892, 12, 23310, 4670, 18, 53, 1488, 1016, 9334, 20193, 18, 23310, 18, 4236, 2996, 2934, 26810, 10756, 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, 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 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 501, 12, 2890, 4672, 3536, 7766, 87, 365, 18, 2284, 1807, 4471, 434, 20193, 18, 53, 7469, 1180, 1488, 2866, 892, 1435, 3536, 468, 1962, 770, 1410, 327, 392, 2057, 1043, 8688, 1815, 12, 486, 365, 18, 2284, 18, 892, 12, 23310, 4670, 18, 53, 1488, 1016, 9334, 20193, 18, 23310, 18, 4236, 2996, 2934, 26810, 10756, 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 ]
libraries=libraries
libraries=libraries
def get_source_files(path, ext="cpp"): return glob.glob(os.path.join(path, "*." + ext))
ad3fbdbed0c9703748367731c313d3ee909fdecd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6366/ad3fbdbed0c9703748367731c313d3ee909fdecd/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 3168, 67, 2354, 12, 803, 16, 1110, 1546, 4057, 84, 6, 4672, 327, 4715, 18, 10581, 12, 538, 18, 803, 18, 5701, 12, 803, 16, 15902, 1199, 397, 1110, 3719, 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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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 3168, 67, 2354, 12, 803, 16, 1110, 1546, 4057, 84, 6, 4672, 327, 4715, 18, 10581, 12, 538, 18, 803, 18, 5701, 12, 803, 16, 15902, 1199, 397, 1110, 3719, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
"universe":"vanilla"
"universe":"vanilla",
def checkInjections(self,cp): try: if len(string.strip(cp.get('followup-triggers','injection-file'))) > 0: injectionFile = string.strip(cp.get('followup-triggers','injection-file')) else: injectionFile = None return(injectionFile) except: print >> sys.stderr, "ERROR: failure in followUpInspNode.checkInjections()" return None
9e152961c57c114ca32f6d71b76f936ddd7c7b79 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5758/9e152961c57c114ca32f6d71b76f936ddd7c7b79/fu_Condor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 12039, 87, 12, 2890, 16, 4057, 4672, 775, 30, 309, 562, 12, 1080, 18, 6406, 12, 4057, 18, 588, 2668, 14641, 416, 17, 313, 8060, 17023, 31969, 17, 768, 11, 20349, 405, 374, 30, 10380, 812, 273, 533, 18, 6406, 12, 4057, 18, 588, 2668, 14641, 416, 17, 313, 8060, 17023, 31969, 17, 768, 26112, 469, 30, 10380, 812, 273, 599, 327, 12, 31969, 812, 13, 1335, 30, 1172,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 12039, 87, 12, 2890, 16, 4057, 4672, 775, 30, 309, 562, 12, 1080, 18, 6406, 12, 4057, 18, 588, 2668, 14641, 416, 17, 313, 8060, 17023, 31969, 17, 768, 11, 20349, 405, 374, 30, 10380, 812, 273, 533, 18, 6406, 12, 4057, 18, 588, 2668, 14641, 416, 17, 313, 8060, 17023, 31969, 17, 768, 26112, 469, 30, 10380, 812, 273, 599, 327, 12, 31969, 812, 13, 1335, 30, 1172, 1671, 2589, 18, 11241, 16, 315, 3589, 30, 5166, 316, 2805, 1211, 382, 1752, 907, 18, 1893, 12039, 87, 10031, 327, 599, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Like itermonthdates(), but will yield day numbers tuples. For days outside the specified month the day number is 0.
Like itermonthdates(), but will yield day numbers. For days outside the specified month the day number is 0.
def itermonthdays(self, year, month): """ Like itermonthdates(), but will yield day numbers tuples. For days outside the specified month the day number is 0. """ for date in self.itermonthdates(year, month): if date.month != month: yield 0 else: yield date.day
ebc39e91b9062b35659f65241f0786e820734bb1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3187/ebc39e91b9062b35659f65241f0786e820734bb1/calendar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1400, 7496, 9810, 12, 2890, 16, 3286, 16, 3138, 4672, 3536, 23078, 1400, 7496, 9683, 9334, 1496, 903, 2824, 2548, 5600, 18, 2457, 4681, 8220, 326, 1269, 3138, 326, 2548, 1300, 353, 374, 18, 3536, 364, 1509, 316, 365, 18, 305, 1035, 2152, 9683, 12, 6874, 16, 3138, 4672, 309, 1509, 18, 7496, 480, 3138, 30, 2824, 374, 469, 30, 2824, 1509, 18, 2881, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1400, 7496, 9810, 12, 2890, 16, 3286, 16, 3138, 4672, 3536, 23078, 1400, 7496, 9683, 9334, 1496, 903, 2824, 2548, 5600, 18, 2457, 4681, 8220, 326, 1269, 3138, 326, 2548, 1300, 353, 374, 18, 3536, 364, 1509, 316, 365, 18, 305, 1035, 2152, 9683, 12, 6874, 16, 3138, 4672, 309, 1509, 18, 7496, 480, 3138, 30, 2824, 374, 469, 30, 2824, 1509, 18, 2881, 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 ]
comment = comment + str else: if paren: comment = comment + str
cur.append(token[1]) else: name = [] addr = [] for token in tokens: if token[1] == '': continue if token[0] == 2: name.append(token[1]) elif token[0] == 1: if specials.search(token[1]) >= 0: addr.append(quote(token[1])) else: addr.append(token[1])
def parseaddr(address): import string str = '' email = '' comment = '' backslash = 0 dquote = 0 space = 0 paren = 0 bracket = 0 seen_bracket = 0 for c in address: if backslash: str = str + c backslash = 0 continue if c == '\\': backslash = 1 continue if dquote: if c == '"': dquote = 0 else: str = str + c continue if c == '"': dquote = 1 continue if c in string.whitespace: space = 1 continue if space: str = str + ' ' space = 0 if paren: if c == '(': paren = paren + 1 str = str + c continue if c == ')': paren = paren - 1 if paren == 0: comment = comment + str str = '' continue if c == '(': paren = paren + 1 if bracket: email = email + str str = '' elif not seen_bracket: email = email + str str = '' continue if bracket: if c == '>': bracket = 0 email = email + str str = '' continue if c == '<': bracket = 1 seen_bracket = 1 comment = comment + str str = '' email = '' continue if c == '#' and not bracket and not paren: # rest is comment break str = str + c if str: if seen_bracket: if bracket: email = str else: comment = comment + str else: if paren: comment = comment + str else: email = email + str return string.strip(comment), string.strip(email)
ad36df39a17a332d23f762ca1cf22c7316382793 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/ad36df39a17a332d23f762ca1cf22c7316382793/rfc822.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 4793, 12, 2867, 4672, 1930, 533, 609, 273, 875, 2699, 273, 875, 2879, 273, 875, 23253, 273, 374, 302, 6889, 273, 374, 3476, 273, 374, 22146, 273, 374, 9843, 273, 374, 5881, 67, 21025, 273, 374, 364, 276, 316, 1758, 30, 309, 23253, 30, 609, 273, 609, 397, 276, 23253, 273, 374, 1324, 309, 276, 422, 3718, 4278, 23253, 273, 404, 1324, 309, 302, 6889, 30, 309, 276, 422, 2119, 4278, 302, 6889, 273, 374, 469, 30, 609, 273, 609, 397, 276, 1324, 309, 276, 422, 2119, 4278, 302, 6889, 273, 404, 1324, 309, 276, 316, 533, 18, 18777, 30, 3476, 273, 404, 1324, 309, 3476, 30, 609, 273, 609, 397, 296, 296, 3476, 273, 374, 309, 22146, 30, 309, 276, 422, 7321, 30, 22146, 273, 22146, 397, 404, 609, 273, 609, 397, 276, 1324, 309, 276, 422, 5777, 30, 22146, 273, 22146, 300, 404, 309, 22146, 422, 374, 30, 2879, 273, 2879, 397, 609, 609, 273, 875, 1324, 309, 276, 422, 7321, 30, 22146, 273, 22146, 397, 404, 309, 9843, 30, 2699, 273, 2699, 397, 609, 609, 273, 875, 1327, 486, 5881, 67, 21025, 30, 2699, 273, 2699, 397, 609, 609, 273, 875, 1324, 309, 9843, 30, 309, 276, 422, 7481, 30, 9843, 273, 374, 2699, 273, 2699, 397, 609, 609, 273, 875, 1324, 309, 276, 422, 2368, 4278, 9843, 273, 404, 5881, 67, 21025, 273, 404, 2879, 273, 2879, 397, 609, 609, 273, 875, 2699, 273, 875, 1324, 309, 276, 422, 6501, 471, 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, 4793, 12, 2867, 4672, 1930, 533, 609, 273, 875, 2699, 273, 875, 2879, 273, 875, 23253, 273, 374, 302, 6889, 273, 374, 3476, 273, 374, 22146, 273, 374, 9843, 273, 374, 5881, 67, 21025, 273, 374, 364, 276, 316, 1758, 30, 309, 23253, 30, 609, 273, 609, 397, 276, 23253, 273, 374, 1324, 309, 276, 422, 3718, 4278, 23253, 273, 404, 1324, 309, 302, 6889, 30, 309, 276, 422, 2119, 4278, 302, 6889, 273, 374, 469, 30, 609, 273, 609, 397, 276, 1324, 309, 276, 422, 2119, 4278, 302, 6889, 273, 404, 1324, 309, 276, 316, 533, 18, 18777, 30, 3476, 273, 404, 1324, 309, 3476, 30, 609, 273, 609, 397, 296, 296, 3476, 273, 374, 309, 2 ]
sync_path = find_synctree(filename)
sync_path = find_synctree('overlay', filename)
def diff_files(filename): '''display a diff of the file''' if not synctool_config.DIFF_CMD: stderr('error: diff_cmd is undefined in %s' % synctool_config.CONF_FILE) return synctool_lib.DRY_RUN = 1 # be sure that it doesn't do any updates sync_path = find_synctree(filename) if not sync_path: return if synctool_lib.UNIX_CMD: unix_out('%s %s %s' % (synctool_config.DIFF_CMD, filename, sync_path)) else: verbose('%s %s %s' % (synctool_config.DIFF_CMD, filename, sync_path)) os.system('%s %s %s' % (synctool_config.DIFF_CMD, filename, sync_path))
2ff62496ba18171e59c468a7bcdf30fdc7e15d7e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13401/2ff62496ba18171e59c468a7bcdf30fdc7e15d7e/synctool.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3122, 67, 2354, 12, 3459, 4672, 9163, 5417, 279, 3122, 434, 326, 585, 26418, 225, 309, 486, 6194, 299, 1371, 67, 1425, 18, 2565, 2246, 67, 19473, 30, 4514, 2668, 1636, 30, 3122, 67, 4172, 353, 3109, 316, 738, 87, 11, 738, 6194, 299, 1371, 67, 1425, 18, 14497, 67, 3776, 13, 327, 225, 6194, 299, 1371, 67, 2941, 18, 6331, 61, 67, 15238, 273, 404, 25083, 202, 7, 506, 3071, 716, 518, 3302, 1404, 741, 1281, 4533, 225, 3792, 67, 803, 273, 1104, 67, 11982, 299, 992, 2668, 17312, 2187, 1544, 13, 309, 486, 3792, 67, 803, 30, 327, 225, 309, 6194, 299, 1371, 67, 2941, 18, 10377, 60, 67, 19473, 30, 9753, 67, 659, 29909, 87, 738, 87, 738, 87, 11, 738, 261, 11982, 299, 1371, 67, 1425, 18, 2565, 2246, 67, 19473, 16, 1544, 16, 3792, 67, 803, 3719, 469, 30, 3988, 29909, 87, 738, 87, 738, 87, 11, 738, 261, 11982, 299, 1371, 67, 1425, 18, 2565, 2246, 67, 19473, 16, 1544, 16, 3792, 67, 803, 3719, 1140, 18, 4299, 29909, 87, 738, 87, 738, 87, 11, 738, 261, 11982, 299, 1371, 67, 1425, 18, 2565, 2246, 67, 19473, 16, 1544, 16, 3792, 67, 803, 3719, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3122, 67, 2354, 12, 3459, 4672, 9163, 5417, 279, 3122, 434, 326, 585, 26418, 225, 309, 486, 6194, 299, 1371, 67, 1425, 18, 2565, 2246, 67, 19473, 30, 4514, 2668, 1636, 30, 3122, 67, 4172, 353, 3109, 316, 738, 87, 11, 738, 6194, 299, 1371, 67, 1425, 18, 14497, 67, 3776, 13, 327, 225, 6194, 299, 1371, 67, 2941, 18, 6331, 61, 67, 15238, 273, 404, 25083, 202, 7, 506, 3071, 716, 518, 3302, 1404, 741, 1281, 4533, 225, 3792, 67, 803, 273, 1104, 67, 11982, 299, 992, 2668, 17312, 2187, 1544, 13, 309, 486, 3792, 67, 803, 30, 327, 225, 309, 6194, 299, 1371, 67, 2941, 18, 10377, 60, 67, 19473, 30, 9753, 67, 659, 29909, 87, 2 ]
out = property(default_output,
out = property(default_output,
def default_output(self): """Returns the default output for this node. :rtype: Variable instance
8963a02fce2adfaa5a561e13a296f58d5647b16e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/8963a02fce2adfaa5a561e13a296f58d5647b16e/graph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 805, 67, 2844, 12, 2890, 4672, 3536, 1356, 326, 805, 876, 364, 333, 756, 18, 225, 294, 86, 723, 30, 7110, 791, 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, 805, 67, 2844, 12, 2890, 4672, 3536, 1356, 326, 805, 876, 364, 333, 756, 18, 225, 294, 86, 723, 30, 7110, 791, 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 ]
__id__ = "$Id: Solver.py,v 1.10 2003/08/28 23:04:19 ces74 Exp $"
__id__ = "$Id: Solver.py,v 1.11 2003/08/28 23:18:10 ces74 Exp $"
def setProperties(self):
4fef9a6761d1326e9f94fb1d9bde218561a31f14 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8488/4fef9a6761d1326e9f94fb1d9bde218561a31f14/Solver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23126, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 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, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23126, 12, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
stdout_thread.setDaemon(True)
stdout_thread.set_daemon(True)
def _communicate(self, input): stdout = None # Return stderr = None # Return
494f8ddc14b5c97fcbcb4a191b090335725f0785 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8125/494f8ddc14b5c97fcbcb4a191b090335725f0785/subprocess.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5702, 318, 2659, 12, 2890, 16, 810, 4672, 3909, 273, 599, 468, 2000, 4514, 273, 599, 468, 2000, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5702, 318, 2659, 12, 2890, 16, 810, 4672, 3909, 273, 599, 468, 2000, 4514, 273, 599, 468, 2000, 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 ]
msd[dt+1] += ((b-a)**2).sum() mqd[dt+1] += ((b-a)**4).sum() msd /= av * A.shape[1] * A.shape[2] * (self.xp.radius*2)**2 mqd /= av * A.shape[1] * A.shape[2] * (self.xp.radius*2)**4 mqd[1:] /= (3 * msd[1:]**2)
diff = (b-a)**2 msd[dt+1] += diff.sum() mqd[dt+1] += (diff.sum(axis=-1)**2).sum() mqd *= av * A.shape[1] * A.shape[2] mqd[1:] /= 3*(5 * msd[1:]**2)
def nonGaussian(self,start,stop,av): """ Non gaussian parameter If av is 0 (Default), the calculation will act greedily, averaging over all the avilabe intervals of a given length. Example : start=1 stop=4 av=0 alpha[dt=0] = 1 alpha[dt=1] = ( alpha([1,2]) + alpha([2,3]) + alpha([3,4]))/3 alpha[dt=2] = ( alpha([1,3]) + alpha([2,4]) )/2 alpha[dt=3] = msd([1,4]) If av>0, the average will be done over av time intervals starting from start, start+1,...,start+av-1 Example : start=1 stop=4 av=2 alpha[dt=0] = 1 alpha[dt=1] = ( alpha([1,2]) + alpha([2,3]) )/2 alpha[dt=2] = ( alpha([1,3]) + alpha([2,4]) )/2 alpha[dt=3] = ( alpha([1,4]) + alpha([2,5]) )/2
87cf025e08ad4dcbd7da5deccd0b80baaf9872d3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3150/87cf025e08ad4dcbd7da5deccd0b80baaf9872d3/experiment.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1661, 43, 12086, 12, 2890, 16, 1937, 16, 5681, 16, 842, 4672, 3536, 3858, 21490, 1569, 971, 1712, 353, 374, 261, 1868, 3631, 326, 11096, 903, 1328, 5174, 329, 3220, 16, 23713, 5755, 1879, 777, 326, 1712, 330, 378, 73, 10389, 434, 279, 864, 769, 18, 5090, 294, 787, 33, 21, 2132, 33, 24, 1712, 33, 20, 4190, 63, 7510, 33, 20, 65, 273, 404, 4190, 63, 7510, 33, 21, 65, 273, 261, 4190, 3816, 21, 16, 22, 5717, 397, 4190, 3816, 22, 16, 23, 5717, 397, 4190, 3816, 23, 16, 24, 22643, 19, 23, 4190, 63, 7510, 33, 22, 65, 273, 261, 4190, 3816, 21, 16, 23, 5717, 397, 4190, 3816, 22, 16, 24, 5717, 262, 19, 22, 4190, 63, 7510, 33, 23, 65, 273, 4086, 72, 3816, 21, 16, 24, 5717, 971, 1712, 34, 20, 16, 326, 8164, 903, 506, 2731, 1879, 1712, 813, 10389, 5023, 628, 787, 16, 787, 15, 21, 16, 2777, 16, 1937, 15, 842, 17, 21, 5090, 294, 787, 33, 21, 2132, 33, 24, 1712, 33, 22, 4190, 63, 7510, 33, 20, 65, 273, 404, 4190, 63, 7510, 33, 21, 65, 273, 261, 4190, 3816, 21, 16, 22, 5717, 397, 4190, 3816, 22, 16, 23, 5717, 262, 19, 22, 4190, 63, 7510, 33, 22, 65, 273, 261, 4190, 3816, 21, 16, 23, 5717, 397, 4190, 3816, 22, 16, 24, 5717, 262, 19, 22, 4190, 63, 7510, 33, 23, 65, 273, 261, 4190, 3816, 21, 16, 24, 5717, 397, 4190, 3816, 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, 1661, 43, 12086, 12, 2890, 16, 1937, 16, 5681, 16, 842, 4672, 3536, 3858, 21490, 1569, 971, 1712, 353, 374, 261, 1868, 3631, 326, 11096, 903, 1328, 5174, 329, 3220, 16, 23713, 5755, 1879, 777, 326, 1712, 330, 378, 73, 10389, 434, 279, 864, 769, 18, 5090, 294, 787, 33, 21, 2132, 33, 24, 1712, 33, 20, 4190, 63, 7510, 33, 20, 65, 273, 404, 4190, 63, 7510, 33, 21, 65, 273, 261, 4190, 3816, 21, 16, 22, 5717, 397, 4190, 3816, 22, 16, 23, 5717, 397, 4190, 3816, 23, 16, 24, 22643, 19, 23, 4190, 63, 7510, 33, 22, 65, 273, 261, 4190, 3816, 21, 16, 23, 5717, 397, 4190, 3816, 22, 16, 24, 5717, 262, 19, 2 ]
flavor = cls._flavorToString(version)
flavor = cls._flavorToString(flavor)
def _troveTupToStrings(cls, name, version, flavor=None): """ Turns a (name, version, flavor) tuple with strings or objects as elements, and converts it to a (name, version, flavor) tuple with only strings, to avoid unnecessarily exporting conary objects into the rbuild API. @param name: trove name @type name: string @param version: trove version @type version: string or B{opaque} C{conary.versions.Version} @param flavor: trove flavor @type flavor: None, string, or B{opaque} C{conary.deps.deps.Flavor} @return: (name, version, flavor) tuple @rtype: (string, string, string) """ version = cls._versionToString(version) flavor = cls._flavorToString(version) return (name, version, flavor)
bc1c2eb4b2ea81bcfe9036e4c537b36e34e2cb9e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8748/bc1c2eb4b2ea81bcfe9036e4c537b36e34e2cb9e/conaryfacade.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 88, 303, 537, 56, 416, 5808, 87, 12, 6429, 16, 508, 16, 1177, 16, 19496, 33, 7036, 4672, 3536, 22425, 87, 279, 261, 529, 16, 1177, 16, 19496, 13, 3193, 598, 2064, 578, 2184, 487, 2186, 16, 471, 7759, 518, 358, 279, 261, 529, 16, 1177, 16, 19496, 13, 3193, 598, 1338, 2064, 16, 358, 4543, 16209, 21513, 3359, 310, 356, 814, 2184, 1368, 326, 436, 3510, 1491, 18, 632, 891, 508, 30, 23432, 537, 508, 632, 723, 508, 30, 533, 632, 891, 1177, 30, 23432, 537, 1177, 632, 723, 1177, 30, 533, 578, 605, 95, 556, 14886, 97, 385, 95, 591, 814, 18, 10169, 18, 1444, 97, 632, 891, 19496, 30, 23432, 537, 19496, 632, 723, 19496, 30, 599, 16, 533, 16, 578, 605, 95, 556, 14886, 97, 385, 95, 591, 814, 18, 14877, 18, 14877, 18, 2340, 9444, 97, 632, 2463, 30, 261, 529, 16, 1177, 16, 19496, 13, 3193, 632, 86, 723, 30, 261, 1080, 16, 533, 16, 533, 13, 3536, 1177, 273, 2028, 6315, 1589, 5808, 12, 1589, 13, 19496, 273, 2028, 6315, 2242, 9444, 5808, 12, 2242, 9444, 13, 327, 261, 529, 16, 1177, 16, 19496, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 1177, 16, 19496, 13, 3193, 598, 2064, 578, 2184, 487, 2186, 16, 471, 7759, 518, 358, 279, 261, 529, 16, 1177, 16, 19496, 13, 3193, 598, 1338, 2064, 16, 358, 4543, 16209, 21513, 3359, 310, 356, 814, 2184, 1368, 326, 436, 3510, 1491, 18, 632, 891, 508, 30, 23432, 537, 508, 632, 723, 508, 30, 533, 632, 891, 1177, 30, 23432, 537, 1177, 632, 723, 1177, 30, 533, 578, 605, 95, 556, 14886, 97, 385, 95, 591, 814, 18, 10169, 18, 1444, 97, 632, 891, 19496, 30, 23432, 537, 19496, 632, 723, 2 ]
if self.subwidget_list.has_key(name): self.tk.call(self._w, 'invoke', name)
if self.subwidget_list.has_key(name): self.tk.call(self._w, 'invoke', name)
def invoke(self, name):
86af7ef7e3f4448abc89aa941517a84075d99a38 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/86af7ef7e3f4448abc89aa941517a84075d99a38/Tix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4356, 12, 2890, 16, 508, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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585, 326, 22398, 316, 326, 981, 30, 1652, 4356, 12, 2890, 16, 508, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Returns the new head.
Returns the new head. Also clears parent references.
def roots_reverse(h): """Reverse the heap root list. Returns the new head. """ if not h: return None tail = None next = h while h.next: next = h.next h.next = tail tail = h h = next h.next = tail return h
c8eb620289fa36a3908b979331cf5b34d9f40d5d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11446/c8eb620289fa36a3908b979331cf5b34d9f40d5d/bh.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12876, 67, 9845, 12, 76, 4672, 3536, 12650, 326, 10500, 1365, 666, 18, 2860, 326, 394, 910, 18, 8080, 22655, 982, 5351, 18, 3536, 309, 486, 366, 30, 327, 599, 5798, 273, 599, 1024, 273, 366, 1323, 366, 18, 4285, 30, 1024, 273, 366, 18, 4285, 366, 18, 4285, 273, 5798, 5798, 282, 273, 366, 366, 273, 1024, 366, 18, 4285, 273, 5798, 327, 366, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12876, 67, 9845, 12, 76, 4672, 3536, 12650, 326, 10500, 1365, 666, 18, 2860, 326, 394, 910, 18, 8080, 22655, 982, 5351, 18, 3536, 309, 486, 366, 30, 327, 599, 5798, 273, 599, 1024, 273, 366, 1323, 366, 18, 4285, 30, 1024, 273, 366, 18, 4285, 366, 18, 4285, 273, 5798, 5798, 282, 273, 366, 366, 273, 1024, 366, 18, 4285, 273, 5798, 327, 366, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.eau = ExpandAsymmetricUnit(self.spacegroup, corepos, coreUijs)
self.eau = ExpandAsymmetricUnit(self.spacegroup, corepos, coreUijs, eps = 0.001)
def _expandAsymmetricUnit(self): """Perform symmetry expansion of self.stru using self.spacegroup. This method updates data in stru and eau.
808c34766a52c0b655d7fe65226e40d10e57ee47 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/578/808c34766a52c0b655d7fe65226e40d10e57ee47/P_cif.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12320, 1463, 2942, 6899, 2802, 12, 2890, 4672, 3536, 4990, 26144, 17965, 434, 365, 18, 701, 89, 1450, 365, 18, 2981, 1655, 18, 1220, 707, 4533, 501, 316, 609, 89, 471, 425, 8377, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12320, 1463, 2942, 6899, 2802, 12, 2890, 4672, 3536, 4990, 26144, 17965, 434, 365, 18, 701, 89, 1450, 365, 18, 2981, 1655, 18, 1220, 707, 4533, 501, 316, 609, 89, 471, 425, 8377, 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 ]
sage: def h1(x): return sqrt(x^3 - 1) sage: def h2(x): return -sqrt(x^3 - 1) sage: plot([h1, h2], 1,4)
sage: def h1(x): return abs(sqrt(x^3 - 1)) sage: def h2(x): return -abs(sqrt(x^3 - 1)) sage: plot([h1, h2], 1,4)
sage: def h1(x): return sqrt(x^3 - 1)
6e12275fe86cd497b8f5b962e866e73e417637be /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/6e12275fe86cd497b8f5b962e866e73e417637be/plot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 272, 410, 30, 1652, 366, 21, 12, 92, 4672, 327, 5700, 12, 92, 66, 23, 225, 300, 404, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 272, 410, 30, 1652, 366, 21, 12, 92, 4672, 327, 5700, 12, 92, 66, 23, 225, 300, 404, 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 ]
self.autoResolveLabelPath = labelPath cfg.installLabelPath = self.autoResolveLabelPath
resolveLabelPath = labelPath else: resolveLabelPath = [versions.Label(x) for x in self.autoResolveLabelPath] cfg.installLabelPath = resolveLabelPath
def _findTroves(addTroveList): validSize = True troveList = [] flavorMap = {} findTroveList = [] size = 0 troveVersionFlavors = {} for (name, versionStr, flavor, source, byDefault) in addTroveList: desFlavor = cfg.buildFlavor.copy() if flavor is not None: desFlavor = deps.overrideFlavor(desFlavor, flavor) findTroveList.append((name, versionStr, desFlavor)) flavorMap[flavor] = desFlavor try: results = repos.findTroves(labelPath, findTroveList) except repository.TroveNotFound, e: raise RecipeFileError, str(e) for (name, versionStr, flavor, source, byDefault) in addTroveList: desFlavor = flavorMap[flavor] pkgList = results[name, versionStr, desFlavor] troveList.append((pkgList[0], byDefault)) assert(desFlavor.score(pkgList[0][2]) is not False)
9aa1e34cd7569e028d9ba9f98e28f465cc219030 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/9aa1e34cd7569e028d9ba9f98e28f465cc219030/recipe.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4720, 56, 303, 3324, 12, 1289, 56, 303, 537, 682, 4672, 923, 1225, 273, 1053, 23432, 537, 682, 273, 5378, 19496, 863, 273, 2618, 1104, 56, 303, 537, 682, 273, 5378, 963, 273, 374, 23432, 537, 1444, 2340, 842, 1383, 273, 2618, 364, 261, 529, 16, 1177, 1585, 16, 19496, 16, 1084, 16, 635, 1868, 13, 316, 527, 56, 303, 537, 682, 30, 2832, 2340, 9444, 273, 2776, 18, 3510, 2340, 9444, 18, 3530, 1435, 309, 19496, 353, 486, 599, 30, 2832, 2340, 9444, 273, 8740, 18, 10601, 2340, 9444, 12, 5489, 2340, 9444, 16, 19496, 13, 1104, 56, 303, 537, 682, 18, 6923, 12443, 529, 16, 1177, 1585, 16, 2832, 2340, 9444, 3719, 19496, 863, 63, 2242, 9444, 65, 273, 2832, 2340, 9444, 775, 30, 1686, 273, 13686, 18, 4720, 56, 303, 3324, 12, 1925, 743, 16, 1104, 56, 303, 537, 682, 13, 1335, 3352, 18, 56, 303, 537, 2768, 16, 425, 30, 1002, 7776, 3151, 812, 668, 16, 609, 12, 73, 13, 364, 261, 529, 16, 1177, 1585, 16, 19496, 16, 1084, 16, 635, 1868, 13, 316, 527, 56, 303, 537, 682, 30, 2832, 2340, 9444, 273, 19496, 863, 63, 2242, 9444, 65, 3475, 682, 273, 1686, 63, 529, 16, 1177, 1585, 16, 2832, 2340, 9444, 65, 23432, 537, 682, 18, 6923, 12443, 10657, 682, 63, 20, 6487, 635, 1868, 3719, 1815, 12, 5489, 2340, 9444, 18, 6355, 12, 10657, 682, 63, 20, 6362, 22, 5717, 353, 486, 1083, 13, 2, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4720, 56, 303, 3324, 12, 1289, 56, 303, 537, 682, 4672, 923, 1225, 273, 1053, 23432, 537, 682, 273, 5378, 19496, 863, 273, 2618, 1104, 56, 303, 537, 682, 273, 5378, 963, 273, 374, 23432, 537, 1444, 2340, 842, 1383, 273, 2618, 364, 261, 529, 16, 1177, 1585, 16, 19496, 16, 1084, 16, 635, 1868, 13, 316, 527, 56, 303, 537, 682, 30, 2832, 2340, 9444, 273, 2776, 18, 3510, 2340, 9444, 18, 3530, 1435, 309, 19496, 353, 486, 599, 30, 2832, 2340, 9444, 273, 8740, 18, 10601, 2340, 9444, 12, 5489, 2340, 9444, 16, 19496, 13, 1104, 56, 303, 537, 682, 18, 6923, 12443, 529, 16, 1177, 1585, 16, 2832, 2340, 9444, 3719, 19496, 863, 63, 2 ]
EnqueueCxx(ipath=IPATH, opts=OPTS, src='pnmFileTypeTIFF.cxx', obj='pnmimagetypes_pnmFileTypeTIFF.obj')
def CreatePandaVersionFiles(): version1=int(VERSION.split(".")[0]) version2=int(VERSION.split(".")[1]) version3=int(VERSION.split(".")[2]) nversion=version1*1000000+version2*1000+version3 pandaversion_h = PANDAVERSION_H.replace("VERSION1",str(version1)) pandaversion_h = pandaversion_h.replace("VERSION2",str(version2)) pandaversion_h = pandaversion_h.replace("VERSION3",str(version3)) pandaversion_h = pandaversion_h.replace("NVERSION",str(nversion)) checkpandaversion_cxx = CHECKPANDAVERSION_CXX.replace("VERSION1",str(version1)) checkpandaversion_cxx = checkpandaversion_cxx.replace("VERSION2",str(version2)) checkpandaversion_cxx = checkpandaversion_cxx.replace("VERSION3",str(version3)) checkpandaversion_cxx = checkpandaversion_cxx.replace("NVERSION",str(nversion)) checkpandaversion_h = CHECKPANDAVERSION_H.replace("VERSION1",str(version1)) checkpandaversion_h = checkpandaversion_h.replace("VERSION2",str(version2)) checkpandaversion_h = checkpandaversion_h.replace("VERSION3",str(version3)) checkpandaversion_h = checkpandaversion_h.replace("NVERSION",str(nversion)) ConditionalWriteFile('built/include/pandaVersion.h', pandaversion_h) ConditionalWriteFile('built/include/checkPandaVersion.cxx', checkpandaversion_cxx) ConditionalWriteFile('built/include/checkPandaVersion.h', checkpandaversion_h) if (OMIT.count("PYTHON")==0): ConditionalWriteFile("built/tmp/pythonversion", os.path.basename(PYTHONSDK)) ConditionalWriteFile("built/tmp/null.cxx","")
4ecd027408ee81a6771bc41746cadba3bc55b7b9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8543/4ecd027408ee81a6771bc41746cadba3bc55b7b9/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1788, 52, 464, 69, 1444, 2697, 13332, 1177, 21, 33, 474, 12, 5757, 18, 4939, 2932, 1199, 25146, 20, 5717, 1177, 22, 33, 474, 12, 5757, 18, 4939, 2932, 1199, 25146, 21, 5717, 1177, 23, 33, 474, 12, 5757, 18, 4939, 2932, 1199, 25146, 22, 5717, 290, 1589, 33, 1589, 21, 14, 21, 9449, 15, 1589, 22, 14, 18088, 15, 1589, 23, 225, 293, 464, 842, 722, 67, 76, 273, 453, 4307, 37, 5757, 67, 44, 18, 2079, 2932, 5757, 21, 3113, 701, 12, 1589, 21, 3719, 293, 464, 842, 722, 67, 76, 273, 293, 464, 842, 722, 67, 76, 18, 2079, 2932, 5757, 22, 3113, 701, 12, 1589, 22, 3719, 293, 464, 842, 722, 67, 76, 273, 293, 464, 842, 722, 67, 76, 18, 2079, 2932, 5757, 23, 3113, 701, 12, 1589, 23, 3719, 293, 464, 842, 722, 67, 76, 273, 293, 464, 842, 722, 67, 76, 18, 2079, 2932, 50, 5757, 3113, 701, 12, 82, 1589, 3719, 225, 866, 84, 464, 842, 722, 67, 71, 5279, 273, 14565, 52, 4307, 37, 5757, 67, 39, 5619, 18, 2079, 2932, 5757, 21, 3113, 701, 12, 1589, 21, 3719, 866, 84, 464, 842, 722, 67, 71, 5279, 273, 866, 84, 464, 842, 722, 67, 71, 5279, 18, 2079, 2932, 5757, 22, 3113, 701, 12, 1589, 22, 3719, 866, 84, 464, 842, 722, 67, 71, 5279, 273, 866, 84, 464, 842, 722, 67, 71, 5279, 18, 2079, 2932, 5757, 23, 3113, 701, 12, 1589, 23, 3719, 866, 84, 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, 1788, 52, 464, 69, 1444, 2697, 13332, 1177, 21, 33, 474, 12, 5757, 18, 4939, 2932, 1199, 25146, 20, 5717, 1177, 22, 33, 474, 12, 5757, 18, 4939, 2932, 1199, 25146, 21, 5717, 1177, 23, 33, 474, 12, 5757, 18, 4939, 2932, 1199, 25146, 22, 5717, 290, 1589, 33, 1589, 21, 14, 21, 9449, 15, 1589, 22, 14, 18088, 15, 1589, 23, 225, 293, 464, 842, 722, 67, 76, 273, 453, 4307, 37, 5757, 67, 44, 18, 2079, 2932, 5757, 21, 3113, 701, 12, 1589, 21, 3719, 293, 464, 842, 722, 67, 76, 273, 293, 464, 842, 722, 67, 76, 18, 2079, 2932, 5757, 22, 3113, 701, 12, 1589, 22, 3719, 293, 464, 842, 722, 67, 76, 273, 2 ]
return run_sql(query1 % int(bskid))[0][0]
return run_sql(query1 % int(bskid))[0][0]
def __count_records(bskid): query1 = "SELECT count(id_record) FROM basket_record WHERE id_basket=%i GROUP BY id_basket" return run_sql(query1 % int(bskid))[0][0]
23370cd5b3382ad593a3d1e4f21772a0aeacc4a8 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12027/23370cd5b3382ad593a3d1e4f21772a0aeacc4a8/webbasket_migration_kit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1883, 67, 7094, 12, 2038, 79, 350, 4672, 843, 21, 273, 315, 4803, 1056, 12, 350, 67, 3366, 13, 4571, 12886, 67, 3366, 4852, 612, 67, 26219, 5095, 77, 13839, 6953, 612, 67, 26219, 6, 327, 1086, 67, 4669, 12, 2271, 21, 738, 509, 12, 2038, 79, 350, 3719, 63, 20, 6362, 20, 65, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1883, 67, 7094, 12, 2038, 79, 350, 4672, 843, 21, 273, 315, 4803, 1056, 12, 350, 67, 3366, 13, 4571, 12886, 67, 3366, 4852, 612, 67, 26219, 5095, 77, 13839, 6953, 612, 67, 26219, 6, 327, 1086, 67, 4669, 12, 2271, 21, 738, 509, 12, 2038, 79, 350, 3719, 63, 20, 6362, 20, 65, 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 ]
if tab != '' or ((of != '' or of.lower() != 'hd') and of != 'hb'):
if (tab != '' or ((of != '' or of.lower() != 'hd') and of != 'hb')) and \ recID != -1:
def page_start(req, of, cc, as, ln, uid, title_message=None, description='', keywords='', recID=-1, tab=''): "Start page according to given output format." _ = gettext_set_language(ln) if not title_message: title_message = _("Search Results") if not req: return # we were called from CLI content_type = get_output_format_content_type(of) if of.startswith('x'): if of == 'xr': # we are doing RSS output req.content_type = "application/rss+xml" req.send_http_header() req.write("""<?xml version="1.0" encoding="UTF-8"?>\n""") else: # we are doing XML output: req.content_type = "text/xml" req.send_http_header() req.write("""<?xml version="1.0" encoding="UTF-8"?>\n""") elif of.startswith('t') or str(of[0:3]).isdigit(): # we are doing plain text output: req.content_type = "text/plain" req.send_http_header() elif of == "id": pass # nothing to do, we shall only return list of recIDs elif content_type == 'text/html': # we are doing HTML output: req.content_type = "text/html" req.send_http_header() if not description: description = "%s %s." % (cc, _("Search Results")) if not keywords: keywords = "%s, WebSearch, %s" % (get_coll_i18nname(CFG_SITE_NAME, ln), get_coll_i18nname(cc, ln)) argd = {} if req.args: argd = cgi.parse_qs(req.args) rssurl = websearch_templates.build_rss_url(argd) navtrail = create_navtrail_links(cc, as, ln) navtrail_append_title_p = 1 # FIXME: Find a good point to put this code. # This is a nice hack to trigger jsMath only when displaying single # records. if of.lower() in CFG_WEBSEARCH_USE_JSMATH_FOR_FORMATS: metaheaderadd = """ <script type='text/javascript'> jsMath = { styles: {'#jsMath_button': 'display: none'}, Controls: {cookie: {printwarn: 0}} }; </script> <script src='/jsMath/easy/invenio-jsmath.js' type='text/javascript'></script>
99d05df2f651ccbc08f6d39a68e3f0aa4eee3f33 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2139/99d05df2f651ccbc08f6d39a68e3f0aa4eee3f33/search_engine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1363, 67, 1937, 12, 3658, 16, 434, 16, 4946, 16, 487, 16, 7211, 16, 4555, 16, 2077, 67, 2150, 33, 7036, 16, 2477, 2218, 2187, 7093, 2218, 2187, 1950, 734, 29711, 21, 16, 3246, 2218, 11, 4672, 315, 1685, 1363, 4888, 358, 864, 876, 740, 1199, 389, 273, 24972, 67, 542, 67, 4923, 12, 2370, 13, 225, 309, 486, 2077, 67, 2150, 30, 2077, 67, 2150, 273, 389, 2932, 2979, 10351, 7923, 225, 309, 486, 1111, 30, 327, 468, 732, 4591, 2566, 628, 8276, 225, 913, 67, 723, 273, 336, 67, 2844, 67, 2139, 67, 1745, 67, 723, 12, 792, 13, 225, 309, 434, 18, 17514, 1918, 2668, 92, 11, 4672, 309, 434, 422, 296, 92, 86, 4278, 468, 732, 854, 9957, 31481, 876, 1111, 18, 1745, 67, 723, 273, 315, 3685, 19, 25151, 15, 2902, 6, 1111, 18, 4661, 67, 2505, 67, 3374, 1435, 1111, 18, 2626, 2932, 3660, 12880, 2902, 1177, 1546, 21, 18, 20, 6, 2688, 1546, 5159, 17, 28, 6, 35, 5333, 82, 3660, 7923, 469, 30, 468, 732, 854, 9957, 3167, 876, 30, 1111, 18, 1745, 67, 723, 273, 315, 955, 19, 2902, 6, 1111, 18, 4661, 67, 2505, 67, 3374, 1435, 1111, 18, 2626, 2932, 3660, 12880, 2902, 1177, 1546, 21, 18, 20, 6, 2688, 1546, 5159, 17, 28, 6, 35, 5333, 82, 3660, 7923, 1327, 434, 18, 17514, 1918, 2668, 88, 6134, 578, 609, 12, 792, 63, 20, 30, 23, 65, 2934, 291, 11052, 13332, 468, 732, 854, 9957, 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, 1363, 67, 1937, 12, 3658, 16, 434, 16, 4946, 16, 487, 16, 7211, 16, 4555, 16, 2077, 67, 2150, 33, 7036, 16, 2477, 2218, 2187, 7093, 2218, 2187, 1950, 734, 29711, 21, 16, 3246, 2218, 11, 4672, 315, 1685, 1363, 4888, 358, 864, 876, 740, 1199, 389, 273, 24972, 67, 542, 67, 4923, 12, 2370, 13, 225, 309, 486, 2077, 67, 2150, 30, 2077, 67, 2150, 273, 389, 2932, 2979, 10351, 7923, 225, 309, 486, 1111, 30, 327, 468, 732, 4591, 2566, 628, 8276, 225, 913, 67, 723, 273, 336, 67, 2844, 67, 2139, 67, 1745, 67, 723, 12, 792, 13, 225, 309, 434, 18, 17514, 1918, 2668, 92, 11, 4672, 309, 434, 422, 296, 92, 86, 4278, 2 ]
def __init__(self, newarg=1, *args, **kwargs): bytearray.__init__(self, *args, **kwargs)
def __init__(me, newarg=1, *args, **kwargs): bytearray.__init__(me, *args, **kwargs) x = subclass(4, b"abcd")
def __init__(self, newarg=1, *args, **kwargs): bytearray.__init__(self, *args, **kwargs)
be728c442e022977b20c856887b3fb0f20396547 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3187/be728c442e022977b20c856887b3fb0f20396547/test_bytes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 394, 3175, 33, 21, 16, 380, 1968, 16, 2826, 4333, 4672, 14552, 16186, 2738, 972, 12, 2890, 16, 380, 1968, 16, 2826, 4333, 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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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 394, 3175, 33, 21, 16, 380, 1968, 16, 2826, 4333, 4672, 14552, 16186, 2738, 972, 12, 2890, 16, 380, 1968, 16, 2826, 4333, 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 ]
type=getattr(self, "type", "auto")
dtype=getattr(self, "type", "auto")
def __call__(self, data, weight=0): import orngWrap type=getattr(self, "type", "auto")
d9070630f95cd1bf8f5ad1ea8eb6f15097493d46 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6366/d9070630f95cd1bf8f5ad1ea8eb6f15097493d46/orngCI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 501, 16, 3119, 33, 20, 4672, 1930, 578, 3368, 2964, 225, 618, 33, 588, 1747, 12, 2890, 16, 315, 723, 3113, 315, 6079, 7923, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 501, 16, 3119, 33, 20, 4672, 1930, 578, 3368, 2964, 225, 618, 33, 588, 1747, 12, 2890, 16, 315, 723, 3113, 315, 6079, 7923, 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 ]
source = self._makeOne(directory='transmogrify.filesystem.tests:empty')
source = self._makeOne(directory='transmogrify.filesystem.tests:empty', ignored='re:.*\.svn.*\nre:.*\.DS_Store\n')
def test_empty_directory(self): source = self._makeOne(directory='transmogrify.filesystem.tests:empty') self.assertEquals([], list(source))
94f52c25ba87683a69682af2a0eaad497aca5a2d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11638/94f52c25ba87683a69682af2a0eaad497aca5a2d/test_source.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 5531, 67, 5149, 12, 2890, 4672, 1084, 273, 365, 6315, 6540, 3335, 12, 5149, 2218, 2338, 81, 717, 86, 1164, 18, 17846, 18, 16341, 30,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 5531, 67, 5149, 12, 2890, 4672, 1084, 273, 365, 6315, 6540, 3335, 12, 5149, 2218, 2338, 81, 717, 86, 1164, 18, 17846, 18, 16341, 30, 5531, 2187, 5455, 2218, 266, 30, 4509, 5834, 31505, 4509, 64, 82, 266, 30, 4509, 5834, 3948, 67, 2257, 64, 82, 6134, 365, 18, 11231, 8867, 3816, 6487, 666, 12, 3168, 3719, 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 ]
except socket.error: self.handle_error () return '', None
except socket.error, why: if why[0] in [ECONNRESET, ENOTCONN, ESHUTDOWN]: self.handle_close() return '', None else: raise
def recvfrom (self, datagram_size): "try to receive bytes from a datagram socket or handle close" try: return self.socket.recvfrom (datagram_size)
f9a3d11a35c08daf8091aaf7c60f3597181cbd56 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2577/f9a3d11a35c08daf8091aaf7c60f3597181cbd56/async_core.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10665, 2080, 261, 2890, 16, 1150, 17049, 67, 1467, 4672, 315, 698, 358, 6798, 1731, 628, 279, 1150, 17049, 2987, 578, 1640, 1746, 6, 775, 30, 327, 365, 18, 7814, 18, 18334, 2080, 261, 3404, 17049, 67, 1467, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10665, 2080, 261, 2890, 16, 1150, 17049, 67, 1467, 4672, 315, 698, 358, 6798, 1731, 628, 279, 1150, 17049, 2987, 578, 1640, 1746, 6, 775, 30, 327, 365, 18, 7814, 18, 18334, 2080, 261, 3404, 17049, 67, 1467, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
layerBtns.append(Draw.Toggle(" ", layerBase + layerBtn, xpos, ypos, btnSize, btnSize, layers[layerBtn])) if (col+1) % 5: xpos += btnSize else: xpos += btnSize * 2
layerBtns.append(Draw.Toggle(" ", layerBase + layerBtn, expWidth + xpos, ypos, btnSize, btnSize, layers[layerBtn])) xpos += btnSize
def drawGUI(): global rppBtn, layers, layerBtns, projectName, projectButton ## Set background color BGL.glClearColor(0.7, 0.7, 0.6, 1) BGL.glClear(BGL.GL_COLOR_BUFFER_BIT) ## Set text color BGL.glColor3f(0, 0, 0) xPad = 10 height = 18 yLoc = xPad + 10 yDelta = height binWidth = Draw.GetStringWidth("Binary Format", 'normal') + 30 aniWidth = Draw.GetStringWidth("Save All Frames", 'normal') + 30 expWidth = Draw.GetStringWidth("Export", 'normal') + 40 Draw.Button("Export", 1, xPad, yLoc, expWidth, 2*height, "Export Scene to Disk") projectButton = Draw.String("Project Name:", 8, expWidth + xPad, yLoc, binWidth + aniWidth, height, projectName, 32, "Project Name") yLoc += yDelta Draw.Toggle("Save All Frames", 4, expWidth + binWidth + xPad, yLoc, aniWidth, height, aniVal, "Select Binary Format") yLoc += yDelta Draw.Button("Render", 2, xPad, yLoc, expWidth, height, "Render exported scene") rppBtn = Draw.Number("RPP:", 5, expWidth + xPad, yLoc, binWidth + aniWidth, height, rppVal, 1, 8, "Number of rays (squared) per pixel") yLoc += yDelta + 1 xVal = 61 Draw.Toggle("Scene", 10, xPad + 0 * xVal, yLoc, xVal, height, sceneVal) Draw.Toggle("Meshes", 11, xPad + 1 * xVal, yLoc, xVal, height, meshVal) Draw.Toggle("Materials", 12, xPad + 2 * xVal, yLoc, xVal, height, materVal) Draw.Toggle("Frames", 13, xPad + 3 * xVal, yLoc, xVal, height, frameVal) yLoc += yDelta + 1 # Draw the layer buttons layerBtn = 0 # start with the bottom row btnSize = height for row in range(2): ypos = yLoc + (1-row) * btnSize xpos = xPad for col in range(10): layerBtns.append(Draw.Toggle(" ", layerBase + layerBtn, xpos, ypos, btnSize, btnSize, layers[layerBtn])) if (col+1) % 5: xpos += btnSize else: xpos += btnSize * 2 layerBtn += 1 Draw.Button("All", 6, 12*btnSize + xPad, yLoc, btnSize*5, height, "Deselect all Layers") Draw.Button("None", 7, 12*btnSize + xPad, yLoc+btnSize, btnSize*5, height, "Select all Layers")
4592ac1c6506933737691ef09136834b05443979 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1122/4592ac1c6506933737691ef09136834b05443979/adrt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 43, 5370, 13332, 2552, 202, 86, 11858, 20541, 16, 6623, 16, 3018, 38, 88, 2387, 16, 17234, 16, 1984, 3616, 225, 7541, 1000, 5412, 2036, 605, 11261, 18, 7043, 9094, 2957, 12, 20, 18, 27, 16, 374, 18, 27, 16, 374, 18, 26, 16, 404, 13, 605, 11261, 18, 7043, 9094, 12, 38, 11261, 18, 11261, 67, 10989, 67, 11302, 67, 15650, 13, 7541, 1000, 977, 2036, 605, 11261, 18, 7043, 2957, 23, 74, 12, 20, 16, 374, 16, 374, 13, 225, 619, 14878, 273, 1728, 2072, 273, 6549, 677, 1333, 273, 619, 14878, 397, 1728, 677, 9242, 273, 2072, 282, 4158, 2384, 273, 10184, 18, 967, 780, 2384, 2932, 5905, 4077, 3113, 296, 6130, 6134, 397, 5196, 392, 77, 2384, 273, 10184, 18, 967, 780, 2384, 2932, 4755, 4826, 13363, 753, 3113, 296, 6130, 6134, 397, 5196, 1329, 2384, 273, 10184, 18, 967, 780, 2384, 2932, 6144, 3113, 296, 6130, 6134, 397, 8063, 225, 10184, 18, 3616, 2932, 6144, 3113, 404, 16, 619, 14878, 16, 677, 1333, 16, 1329, 2384, 16, 576, 14, 4210, 16, 315, 6144, 29347, 358, 12951, 7923, 225, 1984, 3616, 273, 10184, 18, 780, 2932, 4109, 1770, 2773, 16, 1725, 16, 1329, 2384, 397, 619, 14878, 16, 677, 1333, 16, 4158, 2384, 397, 392, 77, 2384, 16, 2072, 16, 17234, 16, 3847, 16, 315, 4109, 1770, 7923, 225, 677, 1333, 1011, 677, 9242, 225, 10184, 18, 17986, 2932, 4755, 4826, 13363, 753, 3113, 1059, 16, 1329, 2384, 397, 4158, 2384, 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, 3724, 43, 5370, 13332, 2552, 202, 86, 11858, 20541, 16, 6623, 16, 3018, 38, 88, 2387, 16, 17234, 16, 1984, 3616, 225, 7541, 1000, 5412, 2036, 605, 11261, 18, 7043, 9094, 2957, 12, 20, 18, 27, 16, 374, 18, 27, 16, 374, 18, 26, 16, 404, 13, 605, 11261, 18, 7043, 9094, 12, 38, 11261, 18, 11261, 67, 10989, 67, 11302, 67, 15650, 13, 7541, 1000, 977, 2036, 605, 11261, 18, 7043, 2957, 23, 74, 12, 20, 16, 374, 16, 374, 13, 225, 619, 14878, 273, 1728, 2072, 273, 6549, 677, 1333, 273, 619, 14878, 397, 1728, 677, 9242, 273, 2072, 282, 4158, 2384, 273, 10184, 18, 967, 780, 2384, 2932, 5905, 4077, 3113, 296, 6130, 6134, 397, 2 ]
src_root)
src_root)) logging.info('Conversion to lcov complete')
def Upload(self, coverage_file, upload_path, sym_path=None, src_root=None): """Upload the results to the dashboard.
3039e8499d9e67b0f9d59f0c0c4a6fe541e073c5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9392/3039e8499d9e67b0f9d59f0c0c4a6fe541e073c5/coverage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9414, 12, 2890, 16, 11196, 67, 768, 16, 3617, 67, 803, 16, 5382, 67, 803, 33, 7036, 16, 1705, 67, 3085, 33, 7036, 4672, 3536, 4777, 326, 1686, 358, 326, 11825, 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, 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]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9414, 12, 2890, 16, 11196, 67, 768, 16, 3617, 67, 803, 16, 5382, 67, 803, 33, 7036, 16, 1705, 67, 3085, 33, 7036, 4672, 3536, 4777, 326, 1686, 358, 326, 11825, 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 ]
sage: cmp(G, Gamma0(8)) 1
sage: cmp(G, Gamma0(8)) in [-1,1] True
def __cmp__(self, other): r""" Compare self to other.
415b8504ba0f2243dc12dfd6f0c633a723016630 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/415b8504ba0f2243dc12dfd6f0c633a723016630/arithgroup_perm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 9625, 972, 12, 2890, 16, 1308, 4672, 436, 8395, 11051, 365, 358, 1308, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 9625, 972, 12, 2890, 16, 1308, 4672, 436, 8395, 11051, 365, 358, 1308, 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 ]
OUTPUT: - a quaternion algebra
OUTPUT: a quaternion algebra
def quaternion_algebra(self): """ Return the ambient quaternion algebra that contains this fractional ideal.
1ec65dfa0c3aab294b8ecca3f5f5493e154b7172 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/1ec65dfa0c3aab294b8ecca3f5f5493e154b7172/quaternion_algebra.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26774, 67, 287, 29087, 12, 2890, 4672, 3536, 2000, 326, 13232, 1979, 26774, 524, 29087, 716, 1914, 333, 20462, 23349, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26774, 67, 287, 29087, 12, 2890, 4672, 3536, 2000, 326, 13232, 1979, 26774, 524, 29087, 716, 1914, 333, 20462, 23349, 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 ]
log.debug('Event: %s', repr(d))
def _event(self, data): "Handle a JSON stream event, data is the JSON" d = json.loads(data) log.debug('Event: %s', repr(d))
01634de008075e37c027702edb7bcbf4bcc9cdae /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12048/01634de008075e37c027702edb7bcbf4bcc9cdae/campfirewords.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2575, 12, 2890, 16, 501, 4672, 315, 3259, 279, 1796, 1407, 871, 16, 501, 353, 326, 1796, 6, 302, 273, 1163, 18, 17135, 12, 892, 13, 613, 18, 4148, 2668, 1133, 30, 738, 87, 2187, 8480, 12, 72, 3719, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2575, 12, 2890, 16, 501, 4672, 315, 3259, 279, 1796, 1407, 871, 16, 501, 353, 326, 1796, 6, 302, 273, 1163, 18, 17135, 12, 892, 13, 613, 18, 4148, 2668, 1133, 30, 738, 87, 2187, 8480, 12, 72, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
c = Column(name or self.name, self.type, key = name or self.key, primary_key = self.primary_key, foreign_key = self.foreign_key, sequence = self.sequence, hidden=self.hidden)
c = Column(name or self.name, self.type, self.foreign_key, self.sequence, key = name or self.key, primary_key = self.primary_key, hidden=self.hidden)
def _make_proxy(self, selectable, name = None): """creates a copy of this Column, initialized the way this Column is""" # using copy.copy(c) seems to add a full second to the select.py unittest package #c = copy.copy(self) #if name is not None: # c.name = name # c.key = name # TODO: do we want the same foreign_key object here ? c = Column(name or self.name, self.type, key = name or self.key, primary_key = self.primary_key, foreign_key = self.foreign_key, sequence = self.sequence, hidden=self.hidden) c.table = selectable c._orig = self.original if not c.hidden: selectable.columns[c.key] = c c._impl = self.engine.columnimpl(c) return c
ba1e7878ecf96f68bd73903768469cb3b57a1516 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1074/ba1e7878ecf96f68bd73903768469cb3b57a1516/schema.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6540, 67, 5656, 12, 2890, 16, 26208, 16, 508, 273, 599, 4672, 3536, 19787, 279, 1610, 434, 333, 4753, 16, 6454, 326, 4031, 333, 4753, 353, 8395, 468, 1450, 1610, 18, 3530, 12, 71, 13, 12001, 358, 527, 279, 1983, 2205, 358, 326, 2027, 18, 2074, 2836, 3813, 2181, 468, 71, 273, 1610, 18, 3530, 12, 2890, 13, 468, 430, 508, 353, 486, 599, 30, 468, 282, 276, 18, 529, 273, 508, 468, 282, 276, 18, 856, 273, 508, 468, 2660, 30, 741, 732, 2545, 326, 1967, 5523, 67, 856, 733, 2674, 692, 276, 273, 4753, 12, 529, 578, 365, 18, 529, 16, 365, 18, 723, 16, 498, 273, 508, 578, 365, 18, 856, 16, 3354, 67, 856, 273, 365, 18, 8258, 67, 856, 16, 5523, 67, 856, 273, 365, 18, 12774, 67, 856, 16, 3102, 273, 365, 18, 6178, 16, 5949, 33, 2890, 18, 6345, 13, 276, 18, 2121, 273, 26208, 276, 6315, 4949, 273, 365, 18, 8830, 309, 486, 276, 18, 6345, 30, 26208, 18, 5112, 63, 71, 18, 856, 65, 273, 276, 276, 6315, 11299, 273, 365, 18, 8944, 18, 2827, 11299, 12, 71, 13, 327, 276, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6540, 67, 5656, 12, 2890, 16, 26208, 16, 508, 273, 599, 4672, 3536, 19787, 279, 1610, 434, 333, 4753, 16, 6454, 326, 4031, 333, 4753, 353, 8395, 468, 1450, 1610, 18, 3530, 12, 71, 13, 12001, 358, 527, 279, 1983, 2205, 358, 326, 2027, 18, 2074, 2836, 3813, 2181, 468, 71, 273, 1610, 18, 3530, 12, 2890, 13, 468, 430, 508, 353, 486, 599, 30, 468, 282, 276, 18, 529, 273, 508, 468, 282, 276, 18, 856, 273, 508, 468, 2660, 30, 741, 732, 2545, 326, 1967, 5523, 67, 856, 733, 2674, 692, 276, 273, 4753, 12, 529, 578, 365, 18, 529, 16, 365, 18, 723, 16, 498, 273, 508, 578, 365, 18, 856, 16, 3354, 67, 2 ]
self.__prog__ = 'followUpChiaJob'
def __init__(self, options, cp, dir='', tag_base='CHIA'): """ """ self.__conditionalLoadDefaults__(followUpChiaJob.defaults,cp) self.__prog__ = 'followUpChiaJob' self.__executable = string.strip(cp.get('condor','chia')) self.__universe = "standard" pipeline.CondorDAGJob.__init__(self,self.__universe,self.__executable) self.add_condor_cmd('getenv','True') self._InspiralAnalysisNode__pad_data = 0 self.setupJob(self.__prog__,tag_base)
4f059de02ba49cc10932529819f1976c7ed0ae64 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5758/4f059de02ba49cc10932529819f1976c7ed0ae64/stfu_pipe.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 702, 16, 3283, 16, 1577, 2218, 2187, 1047, 67, 1969, 2218, 1792, 15188, 11, 4672, 3536, 3536, 365, 16186, 22019, 2563, 7019, 972, 12, 14641, 1211, 782, 1155, 2278, 18, 7606, 16, 4057, 13, 225, 365, 16186, 17751, 273, 533, 18, 6406, 12, 4057, 18, 588, 2668, 10013, 280, 17023, 343, 1155, 26112, 365, 16186, 318, 17488, 273, 315, 10005, 6, 5873, 18, 12441, 280, 40, 1781, 2278, 16186, 2738, 972, 12, 2890, 16, 2890, 16186, 318, 17488, 16, 2890, 16186, 17751, 13, 365, 18, 1289, 67, 10013, 280, 67, 4172, 2668, 588, 3074, 17023, 5510, 6134, 365, 6315, 382, 1752, 481, 287, 9418, 907, 972, 6982, 67, 892, 273, 374, 365, 18, 8401, 2278, 12, 2890, 16186, 14654, 972, 16, 2692, 67, 1969, 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, 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 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 702, 16, 3283, 16, 1577, 2218, 2187, 1047, 67, 1969, 2218, 1792, 15188, 11, 4672, 3536, 3536, 365, 16186, 22019, 2563, 7019, 972, 12, 14641, 1211, 782, 1155, 2278, 18, 7606, 16, 4057, 13, 225, 365, 16186, 17751, 273, 533, 18, 6406, 12, 4057, 18, 588, 2668, 10013, 280, 17023, 343, 1155, 26112, 365, 16186, 318, 17488, 273, 315, 10005, 6, 5873, 18, 12441, 280, 40, 1781, 2278, 16186, 2738, 972, 12, 2890, 16, 2890, 16186, 318, 17488, 16, 2890, 16186, 17751, 13, 365, 18, 1289, 67, 10013, 280, 67, 4172, 2668, 588, 3074, 17023, 5510, 6134, 365, 6315, 382, 1752, 481, 287, 9418, 907, 972, 6982, 67, 892, 273, 374, 365, 2 ]
self.addr_local = ('127.0.0.1', 25339)
self.localhost = '127.0.0.1'
def setUp(self): self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.addr_remote = ('www.python.org.', 80) self.addr_local = ('127.0.0.1', 25339)
6f98841f97d9eb358547b23dc6fc32376198e99d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3187/6f98841f97d9eb358547b23dc6fc32376198e99d/test_timeout.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 365, 18, 15031, 273, 2987, 18, 7814, 12, 7814, 18, 6799, 67, 18819, 16, 2987, 18, 3584, 3507, 67, 13693, 13, 365, 18, 4793, 67, 7222, 273, 7707, 5591, 18, 8103, 18, 3341, 1093, 16, 8958, 13, 365, 18, 4793, 67, 3729, 225, 273, 7707, 14260, 18, 20, 18, 20, 18, 21, 2187, 6969, 3707, 29, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 365, 18, 15031, 273, 2987, 18, 7814, 12, 7814, 18, 6799, 67, 18819, 16, 2987, 18, 3584, 3507, 67, 13693, 13, 365, 18, 4793, 67, 7222, 273, 7707, 5591, 18, 8103, 18, 3341, 1093, 16, 8958, 13, 365, 18, 4793, 67, 3729, 225, 273, 7707, 14260, 18, 20, 18, 20, 18, 21, 2187, 6969, 3707, 29, 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 ]
return platform
return [platform]
def shippedlocales2buildbot(platform): try: return [k for k, v in sl_platform_map.iteritems() if v == platform][0] except IndexError: return platform
69e58cb7ddefa586fd6f6473e1a9d1519c6b3814 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6206/69e58cb7ddefa586fd6f6473e1a9d1519c6b3814/platforms.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24316, 1845, 22638, 22, 3510, 4819, 12, 9898, 4672, 775, 30, 327, 306, 79, 364, 417, 16, 331, 316, 2020, 67, 9898, 67, 1458, 18, 2165, 3319, 1435, 309, 331, 422, 4072, 6362, 20, 65, 1335, 10195, 30, 327, 306, 9898, 65, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24316, 1845, 22638, 22, 3510, 4819, 12, 9898, 4672, 775, 30, 327, 306, 79, 364, 417, 16, 331, 316, 2020, 67, 9898, 67, 1458, 18, 2165, 3319, 1435, 309, 331, 422, 4072, 6362, 20, 65, 1335, 10195, 30, 327, 306, 9898, 65, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if data == u"-":
if data == "-":
def commentState(self): data = self.stream.char() if data == u"-": self.state = self.states["commentDash"] elif data == EOF: # XXX parse error self.tokenQueue.append(self.currentToken) self.state = self.states["data"] else: self.currentToken["data"] += data + self.stream.charsUntil(u"-") return True
95e0cecd40c4a4fea32ebe9b5374fdcf7f5911bb /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5042/95e0cecd40c4a4fea32ebe9b5374fdcf7f5911bb/tokenizer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2879, 1119, 12, 2890, 4672, 501, 273, 365, 18, 3256, 18, 3001, 1435, 309, 501, 422, 3701, 6877, 365, 18, 2019, 273, 365, 18, 7992, 9614, 3469, 21893, 11929, 1327, 501, 422, 6431, 30, 468, 11329, 1109, 555, 365, 18, 2316, 3183, 18, 6923, 12, 2890, 18, 2972, 1345, 13, 365, 18, 2019, 273, 365, 18, 7992, 9614, 892, 11929, 469, 30, 365, 18, 2972, 1345, 9614, 892, 11929, 1011, 501, 397, 365, 18, 3256, 18, 7549, 9716, 12, 89, 6, 17, 7923, 327, 1053, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2879, 1119, 12, 2890, 4672, 501, 273, 365, 18, 3256, 18, 3001, 1435, 309, 501, 422, 3701, 6877, 365, 18, 2019, 273, 365, 18, 7992, 9614, 3469, 21893, 11929, 1327, 501, 422, 6431, 30, 468, 11329, 1109, 555, 365, 18, 2316, 3183, 18, 6923, 12, 2890, 18, 2972, 1345, 13, 365, 18, 2019, 273, 365, 18, 7992, 9614, 892, 11929, 469, 30, 365, 18, 2972, 1345, 9614, 892, 11929, 1011, 501, 397, 365, 18, 3256, 18, 7549, 9716, 12, 89, 6, 17, 7923, 327, 1053, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
c.todense().I * np.arange(4)[:, np.newaxis])
(c.todense().I * np.arange(4)[:, np.newaxis]).ravel())
def test_complex(): c = complex_matrix() fc = cholesky(c) r = real_matrix() fr = cholesky(r) assert factor_of(fc, c) assert np.allclose(fc(np.arange(4)), c.todense().I * np.arange(4)[:, np.newaxis]) assert np.allclose(fc(np.arange(4) * 1j), c.todense().I * (np.arange(4) * 1j)[:, np.newaxis]) assert np.allclose(fr(np.arange(4)), r.todense().I * np.arange(4)[:, np.newaxis]) # If we did a real factorization, we can't do solves on complex arrays: assert_raises(CholmodError, fr, np.arange(4) * 1j)
7d582eb175c1d3250874504a26b02e1ab3908bdf /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10342/7d582eb175c1d3250874504a26b02e1ab3908bdf/test_cholmod.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 14259, 13332, 276, 273, 7233, 67, 5667, 1435, 8036, 273, 462, 9112, 18465, 12, 71, 13, 436, 273, 2863, 67, 5667, 1435, 3812, 273, 462, 9112, 18465, 12, 86, 13, 225, 1815, 5578, 67, 792, 12, 7142, 16, 276, 13, 225, 1815, 1130, 18, 454, 4412, 12, 7142, 12, 6782, 18, 297, 726, 12, 24, 13, 3631, 261, 71, 18, 88, 369, 3558, 7675, 45, 380, 1130, 18, 297, 726, 12, 24, 13, 10531, 16, 1130, 18, 2704, 4890, 65, 2934, 354, 941, 10756, 1815, 1130, 18, 454, 4412, 12, 7142, 12, 6782, 18, 297, 726, 12, 24, 13, 380, 404, 78, 3631, 276, 18, 88, 369, 3558, 7675, 45, 380, 261, 6782, 18, 297, 726, 12, 24, 13, 380, 404, 78, 13, 10531, 16, 1130, 18, 2704, 4890, 5717, 1815, 1130, 18, 454, 4412, 12, 4840, 12, 6782, 18, 297, 726, 12, 24, 13, 3631, 436, 18, 88, 369, 3558, 7675, 45, 380, 1130, 18, 297, 726, 12, 24, 13, 10531, 16, 1130, 18, 2704, 4890, 5717, 468, 971, 732, 5061, 279, 2863, 5578, 1588, 16, 732, 848, 1404, 741, 3704, 3324, 603, 7233, 5352, 30, 1815, 67, 354, 6141, 12, 782, 355, 1711, 668, 16, 3812, 16, 1130, 18, 297, 726, 12, 24, 13,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18465, 12, 86, 13, 225, 1815, 5578, 67, 792, 12, 7142, 16, 276, 13, 225, 1815, 1130, 18, 454, 4412, 12, 7142, 12, 6782, 18, 297, 726, 12, 24, 13, 3631, 261, 71, 18, 88, 369, 3558, 7675, 45, 380, 1130, 18, 297, 726, 12, 24, 13, 10531, 16, 1130, 18, 2704, 4890, 65, 2934, 354, 941, 10756, 1815, 1130, 18, 454, 4412, 12, 7142, 12, 6782, 18, 297, 726, 12, 24, 13, 380, 404, 78, 3631, 276, 18, 88, 369, 3558, 7675, 45, 380, 261, 6782, 18, 297, 726, 2 ]
name = data.name_str
def set_item_text(self, item, value): if (self.in_destroy): return data = self.treedata[item] name = data.name_str if (value == None): self.tree.hlist.item_configure(item, 1, style=self.inactive_style, text="") pass else: self.tree.hlist.item_configure(item, 1, text=value) if (hasattr(data, "active")): if (data.active): self.set_item_color(item) pass pass else: self.tree.hlist.item_configure(item, 0, style=self.active_style) pass pass return
fbe5fc81995c6b05c180d6093c4523ede6f843ac /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3867/fbe5fc81995c6b05c180d6093c4523ede6f843ac/gui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 1726, 67, 955, 12, 2890, 16, 761, 16, 460, 4672, 309, 261, 2890, 18, 267, 67, 11662, 4672, 327, 501, 273, 365, 18, 88, 15656, 396, 63, 1726, 65, 309, 261, 1132, 422, 599, 4672, 365, 18, 3413, 18, 76, 1098, 18, 1726, 67, 14895, 12, 1726, 16, 404, 16, 2154, 33, 2890, 18, 27366, 67, 4060, 16, 977, 1546, 7923, 1342, 469, 30, 365, 18, 3413, 18, 76, 1098, 18, 1726, 67, 14895, 12, 1726, 16, 404, 16, 977, 33, 1132, 13, 309, 261, 5332, 1747, 12, 892, 16, 315, 3535, 6, 3719, 30, 309, 261, 892, 18, 3535, 4672, 365, 18, 542, 67, 1726, 67, 3266, 12, 1726, 13, 1342, 1342, 469, 30, 365, 18, 3413, 18, 76, 1098, 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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, 444, 67, 1726, 67, 955, 12, 2890, 16, 761, 16, 460, 4672, 309, 261, 2890, 18, 267, 67, 11662, 4672, 327, 501, 273, 365, 18, 88, 15656, 396, 63, 1726, 65, 309, 261, 1132, 422, 599, 4672, 365, 18, 3413, 18, 76, 1098, 18, 1726, 67, 14895, 12, 1726, 16, 404, 16, 2154, 33, 2890, 18, 27366, 67, 4060, 16, 977, 1546, 7923, 1342, 469, 30, 365, 18, 3413, 18, 76, 1098, 18, 1726, 67, 14895, 12, 1726, 16, 404, 16, 977, 33, 1132, 13, 309, 261, 5332, 1747, 12, 892, 16, 315, 3535, 6, 3719, 30, 309, 261, 892, 18, 3535, 4672, 365, 18, 542, 67, 1726, 67, 3266, 12, 1726, 13, 1342, 1342, 469, 30, 365, 2 ]
for mname, entrylist in Bindings.menudefs: menu = menudict.get(mname) if not menu: continue for entry in entrylist: if not entry: menu.add_separator()
tkversion = root.tk.eval('info patchlevel') if tkversion >= '8.4.14': Bindings.menudefs[0] = ('application', [ ('About IDLE', '<<about-idle>>'), None, ]) root.createcommand('::tk::mac::ShowPreferences', config_dialog) else: for mname, entrylist in Bindings.menudefs: menu = menudict.get(mname) if not menu: continue
def config_dialog(event=None): import configDialog configDialog.ConfigDialog(root, 'Settings')
47f29a67e5e909f38db69f598b8dd345ad56934e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/47f29a67e5e909f38db69f598b8dd345ad56934e/macosxSupport.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 642, 67, 12730, 12, 2575, 33, 7036, 4672, 1930, 642, 6353, 642, 6353, 18, 809, 6353, 12, 3085, 16, 296, 2628, 6134, 2, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 642, 67, 12730, 12, 2575, 33, 7036, 4672, 1930, 642, 6353, 642, 6353, 18, 809, 6353, 12, 3085, 16, 296, 2628, 6134, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
fh = file(name+'_object.pkl', 'w')
fh = file(name+'_object.pkl', 'wb')
def pickle_object(name,data_object,diagnostic_level): fh = file(name+'_object.pkl', 'w') cP.dump(data_object, fh, protocol=2) fh.close() if diagnostic_level >= 3: print "Wrote to "+name+"_object.pkl"
cd5bcf95b3e7ad99ecc11d95afdb5cb7a61c41ff /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12/cd5bcf95b3e7ad99ecc11d95afdb5cb7a61c41ff/pyrograph_parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13379, 67, 1612, 12, 529, 16, 892, 67, 1612, 16, 12264, 11388, 67, 2815, 4672, 7625, 273, 585, 12, 529, 6797, 67, 1612, 18, 5465, 80, 2187, 296, 9464, 6134, 276, 52, 18, 8481, 12, 892, 67, 1612, 16, 7625, 16, 1771, 33, 22, 13, 7625, 18, 4412, 1435, 309, 21396, 67, 2815, 1545, 890, 30, 1172, 315, 59, 21436, 358, 13773, 529, 9078, 67, 1612, 18, 5465, 80, 6, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13379, 67, 1612, 12, 529, 16, 892, 67, 1612, 16, 12264, 11388, 67, 2815, 4672, 7625, 273, 585, 12, 529, 6797, 67, 1612, 18, 5465, 80, 2187, 296, 9464, 6134, 276, 52, 18, 8481, 12, 892, 67, 1612, 16, 7625, 16, 1771, 33, 22, 13, 7625, 18, 4412, 1435, 309, 21396, 67, 2815, 1545, 890, 30, 1172, 315, 59, 21436, 358, 13773, 529, 9078, 67, 1612, 18, 5465, 80, 6, 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 ]
f = r.get_field('035') if f:
oclc = [] for f in r.get_fields('035'): if 'a' not in f.contents: continue
def find_oclc(r, edition): f = r.get_field('035') if f: assert len(f.contents['a']) == 1 m = re_oclc.match(f.contents['a'][0]) if m: edition['oclc'] = m.group(1)
3fee476d3cbd5a47aee5bf4252db8b9af8150d77 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3913/3fee476d3cbd5a47aee5bf4252db8b9af8150d77/parse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 504, 17704, 12, 86, 16, 28432, 4672, 320, 830, 71, 273, 5378, 364, 284, 316, 436, 18, 588, 67, 2821, 2668, 4630, 25, 11, 4672, 309, 296, 69, 11, 486, 316, 284, 18, 3980, 30, 1324, 1815, 562, 12, 74, 18, 3980, 3292, 69, 19486, 422, 404, 312, 273, 283, 67, 504, 17704, 18, 1916, 12, 74, 18, 3980, 3292, 69, 3546, 63, 20, 5717, 309, 312, 30, 28432, 3292, 504, 17704, 3546, 273, 312, 18, 1655, 12, 21, 13, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 504, 17704, 12, 86, 16, 28432, 4672, 320, 830, 71, 273, 5378, 364, 284, 316, 436, 18, 588, 67, 2821, 2668, 4630, 25, 11, 4672, 309, 296, 69, 11, 486, 316, 284, 18, 3980, 30, 1324, 1815, 562, 12, 74, 18, 3980, 3292, 69, 19486, 422, 404, 312, 273, 283, 67, 504, 17704, 18, 1916, 12, 74, 18, 3980, 3292, 69, 3546, 63, 20, 5717, 309, 312, 30, 28432, 3292, 504, 17704, 3546, 273, 312, 18, 1655, 12, 21, 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 ]
look.j = next.j + krawlj
look.j = goto.j + krawlj
def movebaddy(enemy): "Tactical movement for the bad guys." next = coord(); look = coord() irun = False # This should probably be just (game.quadrant in game.state.kcmdr) + (game.state.kscmdr==game.quadrant) if game.skill >= SKILL_EXPERT: nbaddys = (((game.quadrant in game.state.kcmdr)*2 + (game.state.kscmdr==game.quadrant)*2+game.klhere*1.23+game.irhere*1.5)/2.0) else: nbaddys = (game.quadrant in game.state.kcmdr) + (game.state.kscmdr==game.quadrant) dist1 = enemy.kdist mdist = int(dist1 + 0.5); # Nearest integer distance # If SC, check with spy to see if should hi-tail it if enemy.type=='S' and \ (enemy.power <= 500.0 or (game.condition=="docked" and not damaged(DPHOTON))): irun = True motion = -QUADSIZE else: # decide whether to advance, retreat, or hold position forces = enemy.power+100.0*len(game.enemies)+400*(nbaddys-1) if not game.shldup: forces += 1000; # Good for enemy if shield is down! if not damaged(DPHASER) or not damaged(DPHOTON): if damaged(DPHASER): # phasers damaged forces += 300.0 else: forces -= 0.2*(game.energy - 2500.0) if damaged(DPHOTON): # photon torpedoes damaged forces += 300.0 else: forces -= 50.0*game.torps else: # phasers and photon tubes both out! forces += 1000.0 motion = 0 if forces <= 1000.0 and game.condition != "docked": # Typical situation motion = ((forces + randreal(200))/150.0) - 5.0 else: if forces > 1000.0: # Very strong -- move in for kill motion = (1.0 - randreal())**2 * dist1 + 1.0 if game.condition=="docked" and (game.options & OPTION_BASE): # protected by base -- back off ! motion -= game.skill*(2.0-randreal()**2) if idebug: proutn("=== MOTION = %d, FORCES = %1.2f, " % (motion, forces)) # don't move if no motion if motion==0: return # Limit motion according to skill if abs(motion) > game.skill: if motion < 0: motion = -game.skill else: motion = game.skill # calculate preferred number of steps nsteps = abs(int(motion)) if motion > 0 and nsteps > mdist: nsteps = mdist; # don't overshoot if nsteps > QUADSIZE: nsteps = QUADSIZE; # This shouldn't be necessary if nsteps < 1: nsteps = 1; # This shouldn't be necessary if idebug: proutn("NSTEPS = %d:" % nsteps) # Compute preferred values of delta X and Y m = game.sector - enemy.location if 2.0 * abs(m.i) < abs(m.j): m.i = 0 if 2.0 * abs(m.j) < abs(game.sector.i-enemy.location.i): m.j = 0 m = (motion * m).sgn() next = enemy.location # main move loop for ll in range(nsteps): if idebug: proutn(" %d" % (ll+1)) # Check if preferred position available look = next + m if m.i < 0: krawli = 1 else: krawli = -1 if m.j < 0: krawlj = 1 else: krawlj = -1 success = False attempts = 0; # Settle mysterious hang problem while attempts < 20 and not success: attempts += 1 if look.i < 0 or look.i >= QUADSIZE: if motion < 0 and tryexit(enemy, look, irun): return if krawli == m.i or m.j == 0: break look.i = next.i + krawli krawli = -krawli elif look.j < 0 or look.j >= QUADSIZE: if motion < 0 and tryexit(enemy, look, irun): return if krawlj == m.j or m.i == 0: break look.j = next.j + krawlj krawlj = -krawlj elif (game.options & OPTION_RAMMING) and game.quad[look.i][look.j] != '.': # See if enemy should ram ship if game.quad[look.i][look.j] == game.ship and \ (enemy.type == 'C' or enemy.type == 'S'): collision(rammed=True, enemy=enemy) return if krawli != m.i and m.j != 0: look.i = next.i + krawli krawli = -krawli elif krawlj != m.j and m.i != 0: look.j = next.j + krawlj krawlj = -krawlj else: break; # we have failed else: success = True if success: next = look if idebug: proutn(`next`) else: break; # done early if idebug: skip(1) if enemy.move(next): if not damaged(DSRSENS) or game.condition == "docked": proutn(_("*** %s from Sector %s") % (cramen(enemy.type), enemy.location)) if enemy.kdist < dist1: proutn(_(" advances to ")) else: proutn(_(" retreats to ")) prout("Sector %s." % next)
eafdd35f1af1e4e93d3609a0adbe768b562907e0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3176/eafdd35f1af1e4e93d3609a0adbe768b562907e0/sst.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3635, 70, 31934, 12, 275, 351, 93, 4672, 315, 56, 621, 1706, 26017, 364, 326, 5570, 3058, 1900, 1199, 1024, 273, 2745, 5621, 2324, 273, 2745, 1435, 277, 2681, 273, 1083, 468, 1220, 1410, 8656, 506, 2537, 261, 13957, 18, 21733, 6890, 316, 7920, 18, 2019, 18, 79, 4172, 86, 13, 397, 261, 13957, 18, 2019, 18, 79, 1017, 1264, 86, 631, 13957, 18, 21733, 6890, 13, 309, 7920, 18, 7771, 737, 1545, 12038, 15125, 67, 2294, 3194, 56, 30, 4264, 1289, 1900, 273, 261, 12443, 13957, 18, 21733, 6890, 316, 7920, 18, 2019, 18, 79, 4172, 86, 17653, 22, 397, 261, 13957, 18, 2019, 18, 79, 1017, 1264, 86, 631, 13957, 18, 21733, 6890, 17653, 22, 15, 13957, 18, 16391, 14852, 14, 21, 18, 4366, 15, 13957, 18, 481, 14852, 14, 21, 18, 25, 13176, 22, 18, 20, 13, 469, 30, 4264, 1289, 1900, 273, 261, 13957, 18, 21733, 6890, 316, 7920, 18, 2019, 18, 79, 4172, 86, 13, 397, 261, 13957, 18, 2019, 18, 79, 1017, 1264, 86, 631, 13957, 18, 21733, 6890, 13, 2411, 21, 273, 570, 351, 93, 18, 79, 4413, 3481, 376, 273, 509, 12, 4413, 21, 397, 374, 18, 25, 1769, 468, 7455, 8945, 3571, 3888, 468, 971, 8795, 16, 866, 598, 21459, 358, 2621, 309, 1410, 10118, 17, 13101, 518, 309, 570, 351, 93, 18, 723, 18920, 55, 11, 471, 521, 261, 275, 351, 93, 18, 12238, 1648, 6604, 18, 20, 578, 261, 13957, 18, 4175, 31713, 72, 975, 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, 3635, 70, 31934, 12, 275, 351, 93, 4672, 315, 56, 621, 1706, 26017, 364, 326, 5570, 3058, 1900, 1199, 1024, 273, 2745, 5621, 2324, 273, 2745, 1435, 277, 2681, 273, 1083, 468, 1220, 1410, 8656, 506, 2537, 261, 13957, 18, 21733, 6890, 316, 7920, 18, 2019, 18, 79, 4172, 86, 13, 397, 261, 13957, 18, 2019, 18, 79, 1017, 1264, 86, 631, 13957, 18, 21733, 6890, 13, 309, 7920, 18, 7771, 737, 1545, 12038, 15125, 67, 2294, 3194, 56, 30, 4264, 1289, 1900, 273, 261, 12443, 13957, 18, 21733, 6890, 316, 7920, 18, 2019, 18, 79, 4172, 86, 17653, 22, 397, 261, 13957, 18, 2019, 18, 79, 1017, 1264, 86, 631, 13957, 18, 21733, 6890, 17653, 22, 15, 2 ]
run_configure(configure, do_script)
def main(): build_all = "-a" in sys.argv if sys.argv[1] == "Release": arch = "x86" debug = False configure = "VC-WIN32" do_script = "ms\\do_masm" makefile = "ms\\nt.mak" elif sys.argv[1] == "Debug": arch = "x86" debug = True configure = "VC-WIN32" do_script = "ms\\do_masm" makefile="ms\\d32.mak" elif sys.argv[1] == "ReleaseItanium": arch = "ia64" debug = False configure = "VC-WIN64I" do_script = "ms\\do_win64i" makefile = "ms\\nt.mak" os.environ["VSEXTCOMP_USECL"] = "MS_ITANIUM" elif sys.argv[1] == "ReleaseAMD64": arch="amd64" debug=False configure = "VC-WIN64A" do_script = "ms\\do_win64a" makefile = "ms\\nt.mak" os.environ["VSEXTCOMP_USECL"] = "MS_OPTERON" make_flags = "" if build_all: make_flags = "-a" # perl should be on the path, but we also look in "\perl" and "c:\\perl" # as "well known" locations perls = find_all_on_path("perl.exe", ["\\perl\\bin", "C:\\perl\\bin"]) perl = find_working_perl(perls) if perl is None: sys.exit(1) print "Found a working perl at '%s'" % (perl,) sys.stdout.flush() # Look for SSL 2 levels up from pcbuild - ie, same place zlib etc all live. ssl_dir = find_best_ssl_dir(("..\\..",)) if ssl_dir is None: sys.exit(1) old_cd = os.getcwd() try: os.chdir(ssl_dir) # If the ssl makefiles do not exist, we invoke Perl to generate them. if not os.path.isfile(makefile): print "Creating the makefiles..." sys.stdout.flush() # Put our working Perl at the front of our path os.environ["PATH"] = os.path.dirname(perl) + \ os.pathsep + \ os.environ["PATH"] if arch=="x86" and debug: # the do_masm script in openssl doesn't generate a debug # build makefile so we generate it here: os.system("perl util\mk1mf.pl debug "+configure+" >"+makefile) run_configure(configure, do_script) # Now run make. print "Executing nmake over the ssl makefiles..." sys.stdout.flush() rc = os.system("nmake /nologo PERL=\"%s\" -f \"%s\"" %(perl, makefile)) if rc: print "Executing "+makefile+" failed" print rc sys.exit(rc) finally: os.chdir(old_cd) # And finally, we can build the _ssl module itself for Python. defs = "SSL_DIR=\"%s\"" % (ssl_dir,) if debug: defs = defs + " " + "DEBUG=1" makeCommand = 'nmake /nologo -f _ssl.mak ' + defs + " " + make_flags print "Executing:", makeCommand sys.stdout.flush() rc = os.system(makeCommand) sys.exit(rc)
97c9c4da589881962e8d374bd9fa7476153bcc44 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/97c9c4da589881962e8d374bd9fa7476153bcc44/build_ssl.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 1361, 67, 454, 273, 3701, 69, 6, 316, 2589, 18, 19485, 309, 2589, 18, 19485, 63, 21, 65, 422, 315, 7391, 6877, 6637, 273, 315, 92, 5292, 6, 1198, 273, 1083, 5068, 273, 315, 13464, 17, 24572, 1578, 6, 741, 67, 4263, 273, 315, 959, 1695, 2896, 67, 15260, 81, 6, 1221, 768, 273, 315, 959, 1695, 496, 18, 81, 581, 6, 1327, 2589, 18, 19485, 63, 21, 65, 422, 315, 2829, 6877, 6637, 273, 315, 92, 5292, 6, 1198, 273, 1053, 5068, 273, 315, 13464, 17, 24572, 1578, 6, 741, 67, 4263, 273, 315, 959, 1695, 2896, 67, 15260, 81, 6, 1221, 768, 1546, 959, 1695, 72, 1578, 18, 81, 581, 6, 1327, 2589, 18, 19485, 63, 21, 65, 422, 315, 7391, 7193, 304, 5077, 6877, 6637, 273, 315, 1155, 1105, 6, 1198, 273, 1083, 5068, 273, 315, 13464, 17, 24572, 1105, 45, 6, 741, 67, 4263, 273, 315, 959, 1695, 2896, 67, 8082, 1105, 77, 6, 1221, 768, 273, 315, 959, 1695, 496, 18, 81, 581, 6, 1140, 18, 28684, 9614, 58, 1090, 3983, 10057, 67, 8001, 5017, 11929, 273, 315, 3537, 67, 1285, 1258, 22619, 6, 1327, 2589, 18, 19485, 63, 21, 65, 422, 315, 7391, 2192, 40, 1105, 6877, 6637, 1546, 301, 72, 1105, 6, 1198, 33, 8381, 5068, 273, 315, 13464, 17, 24572, 1105, 37, 6, 741, 67, 4263, 273, 315, 959, 1695, 2896, 67, 8082, 1105, 69, 6, 1221, 768, 273, 315, 959, 1695, 496, 18, 81, 581, 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, 2774, 13332, 1361, 67, 454, 273, 3701, 69, 6, 316, 2589, 18, 19485, 309, 2589, 18, 19485, 63, 21, 65, 422, 315, 7391, 6877, 6637, 273, 315, 92, 5292, 6, 1198, 273, 1083, 5068, 273, 315, 13464, 17, 24572, 1578, 6, 741, 67, 4263, 273, 315, 959, 1695, 2896, 67, 15260, 81, 6, 1221, 768, 273, 315, 959, 1695, 496, 18, 81, 581, 6, 1327, 2589, 18, 19485, 63, 21, 65, 422, 315, 2829, 6877, 6637, 273, 315, 92, 5292, 6, 1198, 273, 1053, 5068, 273, 315, 13464, 17, 24572, 1578, 6, 741, 67, 4263, 273, 315, 959, 1695, 2896, 67, 15260, 81, 6, 1221, 768, 1546, 959, 1695, 72, 1578, 18, 81, 581, 6, 1327, 2589, 18, 2 ]
value+=": %s" % (c.serialize(),)
value += ": %s" % (c.serialize(), )
def info_presence(self,k,v): if not v: return None
ed2720a863a0afcf460f4a25be432bee15507f8c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12768/ed2720a863a0afcf460f4a25be432bee15507f8c/presence.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1123, 67, 21731, 12, 2890, 16, 79, 16, 90, 4672, 309, 486, 331, 30, 327, 599, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 21731, 12, 2890, 16, 79, 16, 90, 4672, 309, 486, 331, 30, 327, 599, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (values[-1] == True and p.has_key('jump')) or \ (values[-1] == False and p.has_key('jumpIfFalse')):
if (p['value'] == True and p.has_key('jump')) or \ (p['value'] == False and p.has_key('jumpIfFalse')):
def __termGetParam(self, options, useDefault=False, checkUnprocessedArgs=False): ''' using user input to get param ''' # get param from short arg self.processedArgs = [] # process all options goto = 0 # get from config file if self.configFile is not None: self.loadConfig(self.configFile) # get from command line options, these may override values from config file self.__getParamLongArg() self.__getParamShortArg() # for opt in range(0, len(options)): p = options[opt] # validate p if p.has_key('separator'): continue # val = p['value'] if val == None: if (useDefault or (not p.has_key('label')) or (p.has_key('useDefault') and p['useDefault'])) and p.has_key('default'): val = p['default'] elif opt >= goto: val = self.__getParamUserInput(p) # these parameters are skipped, but still processed to check unprocessed args if opt < goto: p['value'] = val elif val == None: # should have a valid value now. raise exceptions.ValueError("Failed to get parameter " + p.setdefault("label",'') + " " + p.setdefault("longarg",'')) else: p['value'] = _getParamValue(p, val) # now we really should have something not None, unless the default is None # if a string is fine # now, deal with jump option if (values[-1] == True and p.has_key('jump')) or \ (values[-1] == False and p.has_key('jumpIfFalse')): if p.has_key('jump'): jumpTo = p['jump'] else: jumpTo = p['jumpIfFalse'] if jumpTo in [-1, None, '']: # go to last goto = len(options) elif type(jumpTo) == type(''): # go to another parameter goto = -1 for s_idx in range(opt + 1, len(options)): s_arg = options[s_idx] if ((s_arg['longarg'].endswith('=') and s_arg['longarg'][:-1] == jumpTo) or \ (not s_arg['longarg'].endswith('=') and s_arg['longarg'] == jumpTo)): goto = s_idx; break if goto == -1: raise ValueError('Failed to jump to option %s.' % jumpTo) elif jumpTo <= opt: raise ValueError("Can not stay or jump backwards when processing options.") else: goto = jumpTo # look if any argument was not processed if checkUnprocessedArgs: for i in range(1, len(sys.argv)): if (not sys.argv[i] in self.allowed_commandline_options) and (not i in self.processedArgs): raise exceptions.ValueError("Unprocessed command line argument: " + sys.argv[i])
84f4cb18ad1ca1b3b2af57319388a364da1f8f6a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/401/84f4cb18ad1ca1b3b2af57319388a364da1f8f6a/simuOpt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 6408, 967, 786, 12, 2890, 16, 702, 16, 999, 1868, 33, 8381, 16, 866, 984, 11005, 2615, 33, 8381, 4672, 9163, 1450, 729, 810, 358, 336, 579, 9163, 468, 336, 579, 628, 3025, 1501, 365, 18, 11005, 2615, 273, 5378, 468, 1207, 777, 702, 2897, 273, 374, 468, 336, 628, 642, 585, 309, 365, 18, 1425, 812, 353, 486, 599, 30, 365, 18, 945, 809, 12, 2890, 18, 1425, 812, 13, 468, 336, 628, 1296, 980, 702, 16, 4259, 2026, 3849, 924, 628, 642, 585, 365, 16186, 588, 786, 3708, 4117, 1435, 365, 16186, 588, 786, 4897, 4117, 1435, 468, 364, 2153, 316, 1048, 12, 20, 16, 562, 12, 2116, 3719, 30, 293, 273, 702, 63, 3838, 65, 468, 1954, 293, 309, 293, 18, 5332, 67, 856, 2668, 11287, 11, 4672, 1324, 468, 1244, 273, 293, 3292, 1132, 3546, 309, 1244, 422, 599, 30, 309, 261, 1202, 1868, 578, 261, 902, 293, 18, 5332, 67, 856, 2668, 1925, 26112, 578, 261, 84, 18, 5332, 67, 856, 2668, 1202, 1868, 6134, 471, 293, 3292, 1202, 1868, 3546, 3719, 471, 293, 18, 5332, 67, 856, 2668, 1886, 11, 4672, 1244, 273, 293, 3292, 1886, 3546, 1327, 2153, 1545, 2897, 30, 1244, 273, 365, 16186, 588, 786, 29423, 12, 84, 13, 468, 4259, 1472, 854, 9700, 16, 1496, 4859, 5204, 358, 866, 26663, 833, 309, 2153, 411, 2897, 30, 293, 3292, 1132, 3546, 273, 1244, 1327, 1244, 422, 599, 30, 468, 1410, 1240, 279, 923, 460, 2037, 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, 1001, 6408, 967, 786, 12, 2890, 16, 702, 16, 999, 1868, 33, 8381, 16, 866, 984, 11005, 2615, 33, 8381, 4672, 9163, 1450, 729, 810, 358, 336, 579, 9163, 468, 336, 579, 628, 3025, 1501, 365, 18, 11005, 2615, 273, 5378, 468, 1207, 777, 702, 2897, 273, 374, 468, 336, 628, 642, 585, 309, 365, 18, 1425, 812, 353, 486, 599, 30, 365, 18, 945, 809, 12, 2890, 18, 1425, 812, 13, 468, 336, 628, 1296, 980, 702, 16, 4259, 2026, 3849, 924, 628, 642, 585, 365, 16186, 588, 786, 3708, 4117, 1435, 365, 16186, 588, 786, 4897, 4117, 1435, 468, 364, 2153, 316, 1048, 12, 20, 16, 562, 12, 2116, 3719, 30, 293, 273, 702, 63, 3838, 2 ]
out_fn = string.replace (f, '.py', '.pyc')
out_fn = f + (__debug__ and "c" or "o") compile_msg = "byte-compiling %s to %s" % \ (f, os.path.basename (out_fn)) skip_msg = "byte-compilation of %s skipped" % f
def run (self):
ed8a0e0f21360abbe907a3b80e47c854a443eb13 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/ed8a0e0f21360abbe907a3b80e47c854a443eb13/install_lib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 261, 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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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 261, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
gnome20.addmod('gdl', dependencies=['libgnomeui']) gnome20.addmod('gnome-build', dependencies=['gdl', 'gtkhtml2'])
gnome20.addmod('gdl', dependencies=['libgnomeui', 'librsvg']) gnome20.addmod('gnome-build', dependencies=['gdl', 'gnome-vfs', 'gtkhtml2'])
def sfcvsroot(project): return ':pserver:anonymous@cvs.%s.sourceforge.net:/cvsroot/%s' % \ (project, project)
1313ce25b25375f2a61e4bae05f42bab2f5dba2d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4596/1313ce25b25375f2a61e4bae05f42bab2f5dba2d/moduleinfo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 272, 7142, 6904, 3085, 12, 4406, 4672, 327, 4290, 84, 3567, 30, 19070, 36, 71, 6904, 7866, 87, 18, 3168, 1884, 908, 18, 2758, 27824, 71, 6904, 3085, 5258, 87, 11, 738, 521, 261, 4406, 16, 1984, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 272, 7142, 6904, 3085, 12, 4406, 4672, 327, 4290, 84, 3567, 30, 19070, 36, 71, 6904, 7866, 87, 18, 3168, 1884, 908, 18, 2758, 27824, 71, 6904, 3085, 5258, 87, 11, 738, 521, 261, 4406, 16, 1984, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
dir_chrome = os.path.join(self._source_dir, "sconsbuild", "Debug")
builddir = { 'darwin': 'xcodebuild', 'linux2': 'sconsbuild' }[sys.platform] dir_chrome = os.path.join(self._source_dir, builddir, "Debug")
def _DefaultCommand(self, module, exe=None, valgrind_test_args=None): '''Generates the default command array that most tests will use.''' module_dir = os.path.join(self._source_dir, module)
52ad61fbc85a83b590867bbf525dca9dbe81179b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5060/52ad61fbc85a83b590867bbf525dca9dbe81179b/chrome_tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1868, 2189, 12, 2890, 16, 1605, 16, 15073, 33, 7036, 16, 1244, 3197, 728, 67, 3813, 67, 1968, 33, 7036, 4672, 9163, 6653, 326, 805, 1296, 526, 716, 4486, 7434, 903, 999, 1093, 6309, 1605, 67, 1214, 273, 1140, 18, 803, 18, 5701, 12, 2890, 6315, 3168, 67, 1214, 16, 1605, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1868, 2189, 12, 2890, 16, 1605, 16, 15073, 33, 7036, 16, 1244, 3197, 728, 67, 3813, 67, 1968, 33, 7036, 4672, 9163, 6653, 326, 805, 1296, 526, 716, 4486, 7434, 903, 999, 1093, 6309, 1605, 67, 1214, 273, 1140, 18, 803, 18, 5701, 12, 2890, 6315, 3168, 67, 1214, 16, 1605, 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 ]
def getAEClass (typeName, readOnly=False, format=None):
def getAEClass(typeName, cardinality='single', readOnly=False, format=None):
def getAEClass (typeName, readOnly=False, format=None): """ Decide which attribute editor class to use for this type. We'll try several ways to find an appropriate editor: - If we're readOnly, try "+readOnly" before we try without it. - If we have a format, try "+format" before we try without it. - If those fail, just try the type itself. - Failing that, use _default. @param typeName: The type name (or MIME type) of the type we'll be editing. @type typeName: String @param readOnly: True if this attribute is readOnly. @type readOnly: Boolean @param format: Format customization string, if any. @return: the attribute editor class to use. @rtype: class """ def generateEditorTags(): if format is not None: if readOnly: yield "%s+%s+readOnly" % (typeName, format) yield "%s+%s" % (typeName, format) if readOnly: yield "%s+readOnly" % typeName yield typeName logger.warn("AttributeEditors.getAEClass: using _default for %s/%s", typeName, format) yield "_default" uiView = wx.GetApp().UIRepositoryView aeMappings = schema.ns("osaf.framework.attributeEditors", uiView).aeMappings classPath = None for key in generateEditorTags(): key = aeMappings.editors.resolveAlias(key) # either a UUID or None if key is not None: classPath = aeMappings.editors[key].className break assert classPath is not None parts = classPath.split (".") assert len(parts) >= 2, " %s isn't a module and class" % classPath className = parts.pop () module = __import__ ('.'.join(parts), globals(), locals(), className) assert module.__dict__[className], "Class %s doesn't exist" % classPath aeClass = module.__dict__[className] return aeClass
82c3942c394e9e18bd17af58344195ec12fe1d4c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/82c3942c394e9e18bd17af58344195ec12fe1d4c/AttributeEditors.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4506, 5720, 12, 723, 461, 16, 14379, 2218, 7526, 2187, 15075, 33, 8381, 16, 740, 33, 7036, 4672, 3536, 3416, 831, 1492, 1566, 4858, 667, 358, 999, 364, 333, 618, 18, 225, 1660, 5614, 775, 11392, 16226, 358, 1104, 392, 5505, 4858, 30, 300, 971, 732, 4565, 15075, 16, 775, 13773, 896, 3386, 6, 1865, 732, 775, 2887, 518, 18, 300, 971, 732, 1240, 279, 740, 16, 775, 13773, 2139, 6, 1865, 732, 775, 2887, 518, 18, 300, 971, 5348, 2321, 16, 2537, 775, 326, 618, 6174, 18, 300, 8911, 310, 716, 16, 999, 389, 1886, 18, 225, 632, 891, 8173, 30, 1021, 618, 508, 261, 280, 13195, 618, 13, 434, 326, 618, 732, 5614, 506, 15755, 18, 632, 723, 8173, 30, 514, 632, 891, 15075, 30, 1053, 309, 333, 1566, 353, 15075, 18, 632, 723, 15075, 30, 3411, 632, 891, 740, 30, 4077, 1679, 1588, 533, 16, 309, 1281, 18, 632, 2463, 30, 326, 1566, 4858, 667, 358, 999, 18, 632, 86, 723, 30, 667, 3536, 1652, 2103, 6946, 3453, 13332, 309, 740, 353, 486, 599, 30, 309, 15075, 30, 2824, 2213, 87, 15, 9, 87, 15, 896, 3386, 6, 738, 261, 723, 461, 16, 740, 13, 2824, 2213, 87, 15, 9, 87, 6, 738, 261, 723, 461, 16, 740, 13, 309, 15075, 30, 2824, 2213, 87, 15, 896, 3386, 6, 738, 8173, 2824, 8173, 1194, 18, 8935, 2932, 1499, 4666, 1383, 18, 588, 37, 5720, 30, 1450, 389, 1886, 364, 738, 87, 5258, 87, 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, 4506, 5720, 12, 723, 461, 16, 14379, 2218, 7526, 2187, 15075, 33, 8381, 16, 740, 33, 7036, 4672, 3536, 3416, 831, 1492, 1566, 4858, 667, 358, 999, 364, 333, 618, 18, 225, 1660, 5614, 775, 11392, 16226, 358, 1104, 392, 5505, 4858, 30, 300, 971, 732, 4565, 15075, 16, 775, 13773, 896, 3386, 6, 1865, 732, 775, 2887, 518, 18, 300, 971, 732, 1240, 279, 740, 16, 775, 13773, 2139, 6, 1865, 732, 775, 2887, 518, 18, 300, 971, 5348, 2321, 16, 2537, 775, 326, 618, 6174, 18, 300, 8911, 310, 716, 16, 999, 389, 1886, 18, 225, 632, 891, 8173, 30, 1021, 618, 508, 261, 280, 13195, 618, 13, 434, 326, 618, 732, 5614, 506, 15755, 18, 2 ]
val = None attr = None
kw = dict(itsView=item.itsView) reminderFactory = None
def do(item): if record.trigger not in noChangeOrMissing: # trigger translates to either EventStamp.userReminderInterval, # or Remindable.userReminderTime, depending on whether trigger # is a duration or a date(time). val = None attr = None try: val = fromICalendarDateTime(record.trigger)[0] except: pass else: attr = pim.Remindable.userReminderTime if val is None: try: val = stringToDurations(record.trigger)[0] except: pass else: attr = EventStamp.userReminderInterval if attr is not None: setattr(item, attr.name, val) reminder = item.getUserReminder() if reminder is not None: if record.description not in noChangeOrMissing: reminder.description = record.description if record.duration not in noChangeOrMissing: reminder.duration = stringToDurations(record.duration)[0] if record.repeat not in noChangeOrMissing: reminder.repeat = record.repeat
a87153867fbff80466850b0a8f1f9ab83a76204c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/a87153867fbff80466850b0a8f1f9ab83a76204c/translator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 12, 1726, 4672, 309, 1409, 18, 10668, 486, 316, 1158, 3043, 1162, 4841, 30, 468, 3080, 2162, 815, 358, 3344, 2587, 8860, 18, 1355, 1933, 14055, 4006, 16, 468, 578, 2663, 728, 429, 18, 1355, 1933, 14055, 950, 16, 8353, 603, 2856, 3080, 468, 353, 279, 3734, 578, 279, 1509, 12, 957, 2934, 1244, 273, 599, 1604, 273, 599, 225, 775, 30, 1244, 273, 628, 2871, 287, 2843, 5096, 12, 3366, 18, 10668, 25146, 20, 65, 1335, 30, 1342, 469, 30, 1604, 273, 293, 381, 18, 1933, 728, 429, 18, 1355, 1933, 14055, 950, 225, 309, 1244, 353, 599, 30, 775, 30, 1244, 273, 14134, 5326, 87, 12, 3366, 18, 10668, 25146, 20, 65, 1335, 30, 1342, 469, 30, 1604, 273, 2587, 8860, 18, 1355, 1933, 14055, 4006, 225, 309, 1604, 353, 486, 599, 30, 9241, 12, 1726, 16, 1604, 18, 529, 16, 1244, 13, 282, 849, 14055, 273, 761, 18, 588, 1299, 1933, 14055, 1435, 309, 849, 14055, 353, 486, 599, 30, 225, 309, 1409, 18, 3384, 486, 316, 1158, 3043, 1162, 4841, 30, 849, 14055, 18, 3384, 273, 1409, 18, 3384, 225, 309, 1409, 18, 8760, 486, 316, 1158, 3043, 1162, 4841, 30, 849, 14055, 18, 8760, 273, 14134, 5326, 87, 12, 3366, 18, 8760, 25146, 20, 65, 225, 309, 1409, 18, 9374, 486, 316, 1158, 3043, 1162, 4841, 30, 849, 14055, 18, 9374, 273, 1409, 18, 9374, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 12, 1726, 4672, 309, 1409, 18, 10668, 486, 316, 1158, 3043, 1162, 4841, 30, 468, 3080, 2162, 815, 358, 3344, 2587, 8860, 18, 1355, 1933, 14055, 4006, 16, 468, 578, 2663, 728, 429, 18, 1355, 1933, 14055, 950, 16, 8353, 603, 2856, 3080, 468, 353, 279, 3734, 578, 279, 1509, 12, 957, 2934, 1244, 273, 599, 1604, 273, 599, 225, 775, 30, 1244, 273, 628, 2871, 287, 2843, 5096, 12, 3366, 18, 10668, 25146, 20, 65, 1335, 30, 1342, 469, 30, 1604, 273, 293, 381, 18, 1933, 728, 429, 18, 1355, 1933, 14055, 950, 225, 309, 1244, 353, 599, 30, 775, 30, 1244, 273, 14134, 5326, 87, 12, 3366, 18, 10668, 25146, 20, 65, 1335, 30, 1342, 2 ]
valid_identifier_chars = string.letters + string.digits + "_"
valid_identifier_chars = string.ascii_letters + string.digits + "_"
def _BuildArgList(fdesc, names): "Builds list of args to the underlying Invoke method." # Word has TypeInfo for Insert() method, but says "no args" numArgs = max(fdesc[6], len(fdesc[2])) names = list(names) while None in names: i = names.index(None) names[i] = "arg%d" % (i,) names = map(MakePublicAttributeName, names[1:]) name_num = 0 while len(names) < numArgs: names.append("arg%d" % (len(names),)) # As per BuildCallList(), avoid huge lines. # Hack a "\n" at the end of every 5th name - "strides" would be handy # here but don't exist in 2.2 for i in range(0, len(names), 5): names[i] = names[i] + "\n\t\t\t" return "," + string.join(names, ", ")
a6c5ceab5b5f0affce7c8af8386587ae4df6513c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/992/a6c5ceab5b5f0affce7c8af8386587ae4df6513c/build.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3116, 4117, 682, 12, 74, 5569, 16, 1257, 4672, 315, 7746, 666, 434, 833, 358, 326, 6808, 14373, 707, 1199, 468, 9926, 711, 1412, 966, 364, 8040, 1435, 707, 16, 1496, 20185, 315, 2135, 833, 6, 818, 2615, 273, 943, 12, 74, 5569, 63, 26, 6487, 562, 12, 74, 5569, 63, 22, 22643, 1257, 273, 666, 12, 1973, 13, 1323, 599, 316, 1257, 30, 277, 273, 1257, 18, 1615, 12, 7036, 13, 1257, 63, 77, 65, 273, 315, 3175, 9, 72, 6, 738, 261, 77, 16, 13, 1257, 273, 852, 12, 6464, 4782, 19240, 16, 1257, 63, 21, 30, 5717, 508, 67, 2107, 273, 374, 1323, 562, 12, 1973, 13, 411, 818, 2615, 30, 1257, 18, 6923, 2932, 3175, 9, 72, 6, 738, 261, 1897, 12, 1973, 3631, 3719, 468, 2970, 1534, 3998, 1477, 682, 9334, 4543, 366, 21627, 2362, 18, 468, 670, 484, 279, 1548, 82, 6, 622, 326, 679, 434, 3614, 1381, 451, 508, 300, 315, 701, 4369, 6, 4102, 506, 948, 93, 468, 2674, 1496, 2727, 1404, 1005, 316, 576, 18, 22, 364, 277, 316, 1048, 12, 20, 16, 562, 12, 1973, 3631, 1381, 4672, 1257, 63, 77, 65, 273, 1257, 63, 77, 65, 397, 1548, 82, 64, 88, 64, 88, 64, 88, 6, 327, 5753, 397, 533, 18, 5701, 12, 1973, 16, 3104, 9369, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3116, 4117, 682, 12, 74, 5569, 16, 1257, 4672, 315, 7746, 666, 434, 833, 358, 326, 6808, 14373, 707, 1199, 468, 9926, 711, 1412, 966, 364, 8040, 1435, 707, 16, 1496, 20185, 315, 2135, 833, 6, 818, 2615, 273, 943, 12, 74, 5569, 63, 26, 6487, 562, 12, 74, 5569, 63, 22, 22643, 1257, 273, 666, 12, 1973, 13, 1323, 599, 316, 1257, 30, 277, 273, 1257, 18, 1615, 12, 7036, 13, 1257, 63, 77, 65, 273, 315, 3175, 9, 72, 6, 738, 261, 77, 16, 13, 1257, 273, 852, 12, 6464, 4782, 19240, 16, 1257, 63, 21, 30, 5717, 508, 67, 2107, 273, 374, 1323, 562, 12, 1973, 13, 411, 818, 2615, 30, 1257, 18, 6923, 2 ]
for i, identifier in enumerate(name[1:]):
for i, identifier in enumerate(name):
def get_value_from_name(name): """ Given a name, return the corresponding value. """ name = DottedName(name) # Import the module containing `name`. for i in range(len(name)): module = _import('.'.join(name[:i+1])) if (hasattr(module, name[i]) and not isinstance(getattr(module, name[i]), ModuleType)): break # Look up `name` in the module val = module for i, identifier in enumerate(name[1:]): try: val = getattr(val, identifier) except AttributeError: exc_msg = ('Could not import %s:\nNo variable named %s in %s' % (name, identifier, '.'.join(name[:1+i]))) raise ImportError(exc_msg) return val
708e0abc22ee255482cf6bcdefbffbaf9fb9f184 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/708e0abc22ee255482cf6bcdefbffbaf9fb9f184/docinspector.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1132, 67, 2080, 67, 529, 12, 529, 4672, 3536, 16803, 279, 508, 16, 327, 326, 4656, 460, 18, 3536, 508, 273, 17502, 2344, 461, 12, 529, 13, 225, 468, 6164, 326, 1605, 4191, 1375, 529, 8338, 364, 277, 316, 1048, 12, 1897, 12, 529, 3719, 30, 1605, 273, 389, 5666, 2668, 1093, 18, 5701, 12, 529, 10531, 77, 15, 21, 22643, 309, 261, 5332, 1747, 12, 2978, 16, 508, 63, 77, 5717, 471, 486, 1549, 12, 588, 1747, 12, 2978, 16, 508, 63, 77, 65, 3631, 5924, 559, 3719, 30, 898, 225, 468, 10176, 731, 1375, 529, 68, 316, 326, 1605, 1244, 273, 1605, 364, 277, 16, 2756, 316, 4241, 12, 529, 4672, 775, 30, 1244, 273, 3869, 12, 1125, 16, 2756, 13, 1335, 6394, 30, 3533, 67, 3576, 273, 7707, 4445, 486, 1930, 738, 87, 5581, 82, 2279, 2190, 4141, 738, 87, 316, 738, 87, 11, 738, 261, 529, 16, 2756, 16, 2611, 18, 5701, 12, 529, 10531, 21, 15, 77, 65, 20349, 1002, 11308, 12, 10075, 67, 3576, 13, 327, 1244, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1132, 67, 2080, 67, 529, 12, 529, 4672, 3536, 16803, 279, 508, 16, 327, 326, 4656, 460, 18, 3536, 508, 273, 17502, 2344, 461, 12, 529, 13, 225, 468, 6164, 326, 1605, 4191, 1375, 529, 8338, 364, 277, 316, 1048, 12, 1897, 12, 529, 3719, 30, 1605, 273, 389, 5666, 2668, 1093, 18, 5701, 12, 529, 10531, 77, 15, 21, 22643, 309, 261, 5332, 1747, 12, 2978, 16, 508, 63, 77, 5717, 471, 486, 1549, 12, 588, 1747, 12, 2978, 16, 508, 63, 77, 65, 3631, 5924, 559, 3719, 30, 898, 225, 468, 10176, 731, 1375, 529, 68, 316, 326, 1605, 1244, 273, 1605, 364, 277, 16, 2756, 316, 4241, 12, 529, 4672, 775, 30, 1244, 2 ]
pid, status = os.wait()
exited_pid, status = os.waitpid(pid, 0)
def test_lock_conflict(self): # Fork off a subprocess that will lock the file for 2 seconds, # unlock it, and then exit. if not hasattr(os, 'fork'): return pid = os.fork() if pid == 0: # In the child, lock the mailbox. self._box.lock() time.sleep(2) self._box.unlock() os._exit(0)
f86e3c5b8c30095ccd7a7c51c30e39aee0558475 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/f86e3c5b8c30095ccd7a7c51c30e39aee0558475/test_mailbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 739, 67, 20340, 12, 2890, 4672, 468, 27599, 3397, 279, 6652, 716, 903, 2176, 326, 585, 364, 576, 3974, 16, 468, 7186, 518, 16, 471, 1508, 2427, 18, 309, 486, 3859, 12, 538, 16, 296, 23335, 11, 4672, 327, 4231, 273, 1140, 18, 23335, 1435, 309, 4231, 422, 374, 30, 468, 657, 326, 1151, 16, 2176, 326, 14187, 18, 365, 6315, 2147, 18, 739, 1435, 813, 18, 19607, 12, 22, 13, 365, 6315, 2147, 18, 26226, 1435, 1140, 6315, 8593, 12, 20, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1435, 309, 4231, 422, 374, 30, 468, 657, 326, 1151, 16, 2176, 326, 14187, 18, 365, 6315, 2147, 18, 739, 1435, 813, 18, 19607, 12, 22, 13, 365, 6315, 2147, 18, 26226, 1435, 1140, 6315, 8593, 12, 20, 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 ]
return self.__count
return self._count
def __len__(self): """ @rtype: int @return: Count of L{Crash} elements in the container. """ return self.__count
9a9ad459c3708948326e6a88c2e71486063105f6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7261/9a9ad459c3708948326e6a88c2e71486063105f6/crash.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1897, 972, 12, 2890, 4672, 3536, 632, 86, 723, 30, 225, 509, 632, 2463, 30, 6974, 434, 511, 95, 12893, 961, 97, 2186, 316, 326, 1478, 18, 3536, 327, 365, 16186, 1883, 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, 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, 97, 2186, 316, 326, 1478, 18, 3536, 327, 365, 16186, 1883, 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 ]
def _generate_auth_token(self):
def _generate_auth_token(self, usr): """Generate a token that can be used to authorize next requests @type usr: MoinMoin.user """
def _generate_auth_token(self): token = random_string(32, 'abcdefghijklmnopqrstuvwxyz0123456789') centry = caching.CacheEntry(self.request, 'xmlrpc-session', token, scope='farm', use_pickle=True) centry.update((time.time() + 15*3600, u.id)) return token
477a3d6f40a54e801c98a0f0d3444db9a61b4c35 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/888/477a3d6f40a54e801c98a0f0d3444db9a61b4c35/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 7163, 67, 1944, 67, 2316, 12, 2890, 16, 16575, 4672, 3536, 4625, 279, 1147, 716, 848, 506, 1399, 358, 12229, 1024, 3285, 225, 632, 723, 16575, 30, 490, 885, 49, 885, 18, 1355, 225, 3536, 1147, 273, 2744, 67, 1080, 12, 1578, 16, 296, 28953, 17680, 8302, 16391, 13607, 556, 85, 16114, 30900, 17177, 26684, 6134, 276, 4099, 273, 11393, 18, 27630, 12, 2890, 18, 2293, 16, 296, 2902, 7452, 17, 3184, 2187, 1147, 16, 2146, 2218, 74, 4610, 2187, 999, 67, 20847, 33, 5510, 13, 276, 4099, 18, 2725, 12443, 957, 18, 957, 1435, 397, 4711, 14, 5718, 713, 16, 582, 18, 350, 3719, 327, 1147, 2, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 7163, 67, 1944, 67, 2316, 12, 2890, 16, 16575, 4672, 3536, 4625, 279, 1147, 716, 848, 506, 1399, 358, 12229, 1024, 3285, 225, 632, 723, 16575, 30, 490, 885, 49, 885, 18, 1355, 225, 3536, 1147, 273, 2744, 67, 1080, 12, 1578, 16, 296, 28953, 17680, 8302, 16391, 13607, 556, 85, 16114, 30900, 17177, 26684, 6134, 276, 4099, 273, 11393, 18, 27630, 12, 2890, 18, 2293, 16, 296, 2902, 7452, 17, 3184, 2187, 1147, 16, 2146, 2218, 74, 4610, 2187, 999, 67, 20847, 33, 5510, 13, 276, 4099, 18, 2725, 12443, 957, 18, 957, 1435, 397, 4711, 14, 5718, 713, 16, 582, 18, 350, 3719, 327, 1147, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return self.filter(active=True, variations=variations, **kwargs)
if not variations: kwargs['productvariation__parent__isnull'] = True return self.filter(active=True, **kwargs)
def active(self, variations=True, **kwargs): return self.filter(active=True, variations=variations, **kwargs)
63de183935f46bf957cc54f28a1ba7959d6d22f9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/171/63de183935f46bf957cc54f28a1ba7959d6d22f9/models.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2695, 12, 2890, 16, 28401, 33, 5510, 16, 2826, 4333, 4672, 327, 365, 18, 2188, 12, 3535, 33, 5510, 16, 28401, 33, 4093, 1012, 16, 2826, 4333, 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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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, 2695, 12, 2890, 16, 28401, 33, 5510, 16, 2826, 4333, 4672, 327, 365, 18, 2188, 12, 3535, 33, 5510, 16, 28401, 33, 4093, 1012, 16, 2826, 4333, 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 ]
self.re_nm = re.compile(r'External\s+\|\s+_(' + self.generator.export_symbols_regex + r')\b') s = self.filter(self.generator.bld.cmd_and_log(['dumpbin', '/symbols', x.abspath()], quiet=STDOUT))
re_nm = re.compile(r'External\s+\|\s+_(' + self.generator.export_symbols_regex + r')\b') cmd = ['dumpbin', '/symbols', x.abspath()]
def run(self): syms = [] for x in self.inputs: if 'msvc' in (self.env.CC_NAME, self.env.CXX_NAME): self.re_nm = re.compile(r'External\s+\|\s+_(' + self.generator.export_symbols_regex + r')\b') s = self.filter(self.generator.bld.cmd_and_log(['dumpbin', '/symbols', x.abspath()], quiet=STDOUT)) else: if self.generator.bld.get_dest_binfmt() == 'pe': #gcc uses nm, and has a preceding _ on windows self.re_nm = re.compile(r'T\s+_(' + self.generator.export_symbols_regex + r')\b') else: self.re_nm = re.compile(r'T\s+(' + self.generator.export_symbols_regex + r')\b') s = self.filter(self.generator.bld.cmd_and_log(['nm', x.abspath()], quiet=STDOUT)) s and syms.append(s) if self.generator.bld.get_dest_binfmt() == 'pe': self.outputs[0].write('EXPORTS\n' + '\n'.join(syms)) elif self.generator.bld.get_dest_binfmt() == 'elf': self.outputs[0].write('{ global:\n' + ';\n'.join(syms) + ";\nlocal: *; };\n") else: raise NotImplemented
b1e5bc5bedba26fff7e0ac5baa242ef0ad393efe /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2886/b1e5bc5bedba26fff7e0ac5baa242ef0ad393efe/syms.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 24367, 273, 5378, 364, 619, 316, 365, 18, 10029, 30, 309, 296, 959, 4227, 11, 316, 261, 2890, 18, 3074, 18, 6743, 67, 1985, 16, 365, 18, 3074, 18, 39, 5619, 67, 1985, 4672, 283, 67, 15094, 273, 283, 18, 11100, 12, 86, 11, 6841, 64, 87, 16971, 8960, 87, 15, 67, 2668, 397, 365, 18, 8812, 18, 6530, 67, 15536, 67, 7584, 397, 436, 11, 5153, 70, 6134, 1797, 273, 10228, 8481, 4757, 2187, 1173, 15536, 2187, 619, 18, 5113, 803, 1435, 65, 469, 30, 309, 365, 18, 8812, 18, 70, 1236, 18, 588, 67, 10488, 67, 4757, 8666, 1435, 422, 296, 347, 4278, 468, 75, 952, 4692, 8442, 16, 471, 711, 279, 19969, 389, 603, 9965, 365, 18, 266, 67, 15094, 273, 283, 18, 11100, 12, 86, 11, 56, 64, 87, 15, 67, 2668, 397, 365, 18, 8812, 18, 6530, 67, 15536, 67, 7584, 397, 436, 11, 5153, 70, 6134, 469, 30, 365, 18, 266, 67, 15094, 273, 283, 18, 11100, 12, 86, 11, 56, 64, 87, 15, 2668, 397, 365, 18, 8812, 18, 6530, 67, 15536, 67, 7584, 397, 436, 11, 5153, 70, 6134, 272, 273, 365, 18, 2188, 12, 2890, 18, 8812, 18, 70, 1236, 18, 4172, 67, 464, 67, 1330, 12, 3292, 15094, 2187, 619, 18, 5113, 803, 1435, 6487, 10902, 33, 882, 16864, 3719, 272, 471, 24367, 18, 6923, 12, 87, 13, 309, 365, 18, 8812, 18, 70, 1236, 18, 588, 67, 10488, 67, 4757, 8666, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 24367, 273, 5378, 364, 619, 316, 365, 18, 10029, 30, 309, 296, 959, 4227, 11, 316, 261, 2890, 18, 3074, 18, 6743, 67, 1985, 16, 365, 18, 3074, 18, 39, 5619, 67, 1985, 4672, 283, 67, 15094, 273, 283, 18, 11100, 12, 86, 11, 6841, 64, 87, 16971, 8960, 87, 15, 67, 2668, 397, 365, 18, 8812, 18, 6530, 67, 15536, 67, 7584, 397, 436, 11, 5153, 70, 6134, 1797, 273, 10228, 8481, 4757, 2187, 1173, 15536, 2187, 619, 18, 5113, 803, 1435, 65, 469, 30, 309, 365, 18, 8812, 18, 70, 1236, 18, 588, 67, 10488, 67, 4757, 8666, 1435, 422, 296, 347, 4278, 468, 75, 952, 4692, 8442, 16, 471, 711, 279, 2 ]
log.debug('length of editor variable >= %d, skipping goodbye message: %s', max_length, goodbye, v=3)
log.debug('length of editor variable >= %d, skipping goodbye message', max_length, v=3)
def gen_template(editor_type, max_length=256, *args, **kwargs): f = _gen_template_mapping[editor_type] editor_args = f(*args, **kwargs) if len(editor_args) < max_length: return editor_args log.debug('length of editor variable >= %d, skipping goodbye message: %s', max_length, goodbye, v=3) kwargs['goodbye'] = u'' editor_args = f(*args, **kwargs) if len(editor_args) < max_length: return editor_args log.debug('length of editor variable >= %d, skipping greeting message: %s', max_length, greeting, v=3) kwargs['greeting'] = u'' editor_args = f(*args, **kwargs) if len(editor_args) < max_length: return editor_args log.debug('length of editor variable STILL >= %d, skipping', max_length, v=3) return None
9466a33b5c75c702438b0ec805aca8f1ebeee18b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13988/9466a33b5c75c702438b0ec805aca8f1ebeee18b/output.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3157, 67, 3202, 12, 9177, 67, 723, 16, 943, 67, 2469, 33, 5034, 16, 380, 1968, 16, 2826, 4333, 4672, 284, 273, 389, 4507, 67, 3202, 67, 6770, 63, 9177, 67, 723, 65, 4858, 67, 1968, 273, 284, 30857, 1968, 16, 2826, 4333, 13, 309, 562, 12, 9177, 67, 1968, 13, 411, 943, 67, 2469, 30, 327, 4858, 67, 1968, 613, 18, 4148, 2668, 2469, 434, 4858, 2190, 1545, 738, 72, 16, 14195, 7494, 1637, 73, 883, 2187, 943, 67, 2469, 16, 331, 33, 23, 13, 1205, 3292, 19747, 1637, 73, 3546, 273, 582, 6309, 4858, 67, 1968, 273, 284, 30857, 1968, 16, 2826, 4333, 13, 309, 562, 12, 9177, 67, 1968, 13, 411, 943, 67, 2469, 30, 327, 4858, 67, 1968, 613, 18, 4148, 2668, 2469, 434, 4858, 2190, 1545, 738, 72, 16, 14195, 5174, 21747, 883, 30, 738, 87, 2187, 943, 67, 2469, 16, 5174, 21747, 16, 331, 33, 23, 13, 1205, 3292, 75, 9015, 310, 3546, 273, 582, 6309, 4858, 67, 1968, 273, 284, 30857, 1968, 16, 2826, 4333, 13, 309, 562, 12, 9177, 67, 1968, 13, 411, 943, 67, 2469, 30, 327, 4858, 67, 1968, 613, 18, 4148, 2668, 2469, 434, 4858, 2190, 2347, 15125, 1545, 738, 72, 16, 14195, 2187, 943, 67, 2469, 16, 331, 33, 23, 13, 327, 599, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3157, 67, 3202, 12, 9177, 67, 723, 16, 943, 67, 2469, 33, 5034, 16, 380, 1968, 16, 2826, 4333, 4672, 284, 273, 389, 4507, 67, 3202, 67, 6770, 63, 9177, 67, 723, 65, 4858, 67, 1968, 273, 284, 30857, 1968, 16, 2826, 4333, 13, 309, 562, 12, 9177, 67, 1968, 13, 411, 943, 67, 2469, 30, 327, 4858, 67, 1968, 613, 18, 4148, 2668, 2469, 434, 4858, 2190, 1545, 738, 72, 16, 14195, 7494, 1637, 73, 883, 2187, 943, 67, 2469, 16, 331, 33, 23, 13, 1205, 3292, 19747, 1637, 73, 3546, 273, 582, 6309, 4858, 67, 1968, 273, 284, 30857, 1968, 16, 2826, 4333, 13, 309, 562, 12, 9177, 67, 1968, 13, 411, 943, 67, 2469, 30, 2 ]
control = QtGui.QPlainTextEdit()
control = ConsolePlainTextEdit()
def _create_page_control(self): """ Creates and connects the underlying paging widget. """ control = QtGui.QPlainTextEdit() control.installEventFilter(self) control.setReadOnly(True) control.setUndoRedoEnabled(False) control.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn) return control
4a81ff91f3d0e29f82274635146715cff4a62256 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4217/4a81ff91f3d0e29f82274635146715cff4a62256/console_widget.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2640, 67, 2433, 67, 7098, 12, 2890, 4672, 3536, 10210, 471, 23441, 326, 6808, 17859, 3604, 18, 3536, 3325, 273, 9657, 13360, 1528, 4666, 1435, 3325, 18, 5425, 1133, 1586, 12, 2890, 13, 3325, 18, 542, 12066, 12, 5510, 13, 3325, 18, 542, 31224, 3715, 83, 1526, 12, 8381, 13, 3325, 18, 542, 15704, 6806, 5190, 2582, 12, 23310, 4670, 18, 23310, 18, 6806, 5190, 18806, 1398, 13, 327, 3325, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2640, 67, 2433, 67, 7098, 12, 2890, 4672, 3536, 10210, 471, 23441, 326, 6808, 17859, 3604, 18, 3536, 3325, 273, 9657, 13360, 1528, 4666, 1435, 3325, 18, 5425, 1133, 1586, 12, 2890, 13, 3325, 18, 542, 12066, 12, 5510, 13, 3325, 18, 542, 31224, 3715, 83, 1526, 12, 8381, 13, 3325, 18, 542, 15704, 6806, 5190, 2582, 12, 23310, 4670, 18, 23310, 18, 6806, 5190, 18806, 1398, 13, 327, 3325, 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 ]
self.tmpDC.SetUserScale(self.scaling, self.scaling) if (y + h > self.image.nrows):
self.tmpDC.SetUserScale(scaling, scaling) if (y + h >= self.height):
def PaintArea(self, x, y, w, h, check=1): dc = wxPaintDC(self) dc.SetLogicalFunction(wxCOPY) origin = [a * self.scroll_amount for a in self.GetViewStart()] origin_scaled = [a / self.scaling for a in origin] size_scaled = [a / self.scaling for a in self.GetSizeTuple()] if check: if ((x + w < origin_scaled[0]) and (y + h < origin_scaled[1]) or (x > origin_scaled[0] + size_scaled[0] and y > origin_scaled[1] + size_scaled[1]) or (w == 0 or h == 0)): return self.tmpDC.SetUserScale(self.scaling, self.scaling) if (y + h > self.image.nrows): h = self.image.nrows - y - 2 if (x + w > self.image.ncols): w = self.image.ncols - x - 2 subimage = SubImage(self.image, y, x, h + 1, w + 1) image = wxEmptyImage(w + 1, h + 1) apply(self.to_string_function, (subimage, image.GetDataBuffer())) bmp = wxBitmapFromImage(image) self.tmpDC.DrawBitmap(bmp, 0, 0, 0)
6eb1cae57ca1773babed2c1c4d12cf475259fce5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9927/6eb1cae57ca1773babed2c1c4d12cf475259fce5/gamera_display.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 30001, 5484, 12, 2890, 16, 619, 16, 677, 16, 341, 16, 366, 16, 866, 33, 21, 4672, 6744, 273, 7075, 12699, 5528, 12, 2890, 13, 6744, 18, 694, 17955, 2083, 12, 91, 14626, 16505, 13, 4026, 273, 306, 69, 380, 365, 18, 12033, 67, 8949, 364, 279, 316, 365, 18, 967, 1767, 1685, 1435, 65, 4026, 67, 20665, 273, 306, 69, 342, 365, 18, 24576, 364, 279, 316, 4026, 65, 963, 67, 20665, 273, 306, 69, 342, 365, 18, 24576, 364, 279, 316, 365, 18, 967, 1225, 9038, 1435, 65, 309, 866, 30, 309, 14015, 92, 397, 341, 411, 4026, 67, 20665, 63, 20, 5717, 471, 261, 93, 397, 366, 411, 4026, 67, 20665, 63, 21, 5717, 578, 261, 92, 405, 4026, 67, 20665, 63, 20, 65, 397, 963, 67, 20665, 63, 20, 65, 471, 677, 405, 4026, 67, 20665, 63, 21, 65, 397, 963, 67, 20665, 63, 21, 5717, 578, 261, 91, 422, 374, 578, 366, 422, 374, 3719, 30, 327, 365, 18, 5645, 5528, 18, 694, 1299, 5587, 12, 24576, 16, 10612, 13, 309, 261, 93, 397, 366, 1545, 365, 18, 4210, 4672, 366, 273, 365, 18, 2730, 18, 82, 3870, 300, 677, 300, 576, 309, 261, 92, 397, 341, 405, 365, 18, 2730, 18, 82, 6842, 4672, 341, 273, 365, 18, 2730, 18, 82, 6842, 300, 619, 300, 576, 720, 2730, 273, 2592, 2040, 12, 2890, 18, 2730, 16, 677, 16, 619, 16, 366, 397, 404, 16, 341, 397, 404, 13, 1316, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 30001, 5484, 12, 2890, 16, 619, 16, 677, 16, 341, 16, 366, 16, 866, 33, 21, 4672, 6744, 273, 7075, 12699, 5528, 12, 2890, 13, 6744, 18, 694, 17955, 2083, 12, 91, 14626, 16505, 13, 4026, 273, 306, 69, 380, 365, 18, 12033, 67, 8949, 364, 279, 316, 365, 18, 967, 1767, 1685, 1435, 65, 4026, 67, 20665, 273, 306, 69, 342, 365, 18, 24576, 364, 279, 316, 4026, 65, 963, 67, 20665, 273, 306, 69, 342, 365, 18, 24576, 364, 279, 316, 365, 18, 967, 1225, 9038, 1435, 65, 309, 866, 30, 309, 14015, 92, 397, 341, 411, 4026, 67, 20665, 63, 20, 5717, 471, 261, 93, 397, 366, 411, 4026, 67, 20665, 63, 21, 5717, 578, 2 ]
a URL similar to this one, but with a '/' and the %(adj)s
enter a URL similar to this one, but with a '/' and the %(adj)s
def listinfo_overview(msg=''): # Present the general listinfo overview hostname = Utils.get_domain() # Set up the document and assign it the correct language. The only one we # know about at the moment is the server's default. doc = Document() doc.set_language(mm_cfg.DEFAULT_SERVER_LANGUAGE) legend = _("%(hostname)s Mailing Lists") doc.SetTitle(legend) table = Table(border=0, width="100%") table.AddRow([Center(Header(2, legend))]) table.AddCellInfo(table.GetCurrentRowIndex(), 0, colspan=2, bgcolor=mm_cfg.WEB_HEADER_COLOR) # Skip any mailing lists that isn't advertised. advertised = [] listnames = Utils.list_names() listnames.sort() for name in listnames: mlist = MailList.MailList(name, lock=0) if mlist.advertised: if mm_cfg.VIRTUAL_HOST_OVERVIEW and \ mlist.web_page_url.find(hostname) == -1: # List is for different identity of this host - skip it. continue else: advertised.append(mlist) if msg: greeting = FontAttr(msg, color="ff5060", size="+1") else: greeting = FontAttr(_('Welcome!'), size='+2') welcome = [greeting] mailmanlink = Link(mm_cfg.MAILMAN_URL, _('Mailman')).Format() if not advertised: welcome.extend( _('''<p>There currently are no publicly-advertised %(mailmanlink)s mailing lists on %(hostname)s.''')) else: welcome.append( _('''<p>Below is a listing of all the public mailing lists on %(hostname)s. Click on a list name to get more information about the list, or to subscribe, unsubscribe, and change the preferences on your subscription.''')) # set up some local variables adj = msg and _('right') or '' siteowner = Utils.get_site_email() welcome.extend( (_(''' To visit the info page for an unadvertised list, a URL similar to this one, but with a '/' and the %(adj)s list name appended. <p>List administrators, you can visit '''), Link(Utils.ScriptURL('admin'), _('the list admin overview page')), _(''' to find the management interface for your list. <p>Send questions or comments to '''), Link('mailto:' + siteowner, siteowner), '.<p>')) table.AddRow([apply(Container, welcome)]) table.AddCellInfo(max(table.GetCurrentRowIndex(), 0), 0, colspan=2) if advertised: table.AddRow(['&nbsp;', '&nbsp;']) table.AddRow([Bold(FontAttr(_('List'), size='+2')), Bold(FontAttr(_('Description'), size='+2')) ]) highlight = 1 for mlist in advertised: table.AddRow( [Link(mlist.GetScriptURL('listinfo'), Bold(mlist.real_name)), mlist.description or Italic(_('[no description available]'))]) if highlight and mm_cfg.WEB_HIGHLIGHT_COLOR: table.AddRowInfo(table.GetCurrentRowIndex(), bgcolor=mm_cfg.WEB_HIGHLIGHT_COLOR) highlight = not highlight doc.AddItem(table) doc.AddItem('<hr>') doc.AddItem(MailmanLogo()) print doc.Format()
0409babacc3d8527621e35f62f4fefef8703b240 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2120/0409babacc3d8527621e35f62f4fefef8703b240/listinfo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 666, 1376, 67, 26081, 12, 3576, 2218, 11, 4672, 468, 25130, 326, 7470, 666, 1376, 18471, 5199, 273, 6091, 18, 588, 67, 4308, 1435, 468, 1000, 731, 326, 1668, 471, 2683, 518, 326, 3434, 2653, 18, 225, 1021, 1338, 1245, 732, 468, 5055, 2973, 622, 326, 10382, 353, 326, 1438, 1807, 805, 18, 997, 273, 4319, 1435, 997, 18, 542, 67, 4923, 12, 7020, 67, 7066, 18, 5280, 67, 4370, 67, 15547, 13, 225, 7241, 273, 389, 2932, 17105, 10358, 13, 87, 11542, 310, 11592, 7923, 997, 18, 694, 4247, 12, 16292, 13, 225, 1014, 273, 3555, 12, 8815, 33, 20, 16, 1835, 1546, 6625, 9, 7923, 1014, 18, 986, 1999, 3816, 8449, 12, 1864, 12, 22, 16, 7241, 3719, 5717, 1014, 18, 986, 4020, 966, 12, 2121, 18, 967, 3935, 21769, 9334, 374, 16, 20856, 33, 22, 16, 31509, 33, 7020, 67, 7066, 18, 14778, 67, 7557, 67, 10989, 13, 225, 468, 6611, 1281, 4791, 310, 6035, 716, 5177, 1404, 16738, 5918, 18, 16738, 5918, 273, 5378, 666, 1973, 273, 6091, 18, 1098, 67, 1973, 1435, 666, 1973, 18, 3804, 1435, 225, 364, 508, 316, 666, 1973, 30, 312, 1098, 273, 11542, 682, 18, 6759, 682, 12, 529, 16, 2176, 33, 20, 13, 309, 312, 1098, 18, 361, 1097, 5918, 30, 309, 9740, 67, 7066, 18, 26854, 67, 8908, 67, 12959, 12145, 471, 521, 312, 1098, 18, 4875, 67, 2433, 67, 718, 18, 4720, 12, 10358, 13, 422, 300, 21, 30, 468, 987, 353, 364, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 666, 1376, 67, 26081, 12, 3576, 2218, 11, 4672, 468, 25130, 326, 7470, 666, 1376, 18471, 5199, 273, 6091, 18, 588, 67, 4308, 1435, 468, 1000, 731, 326, 1668, 471, 2683, 518, 326, 3434, 2653, 18, 225, 1021, 1338, 1245, 732, 468, 5055, 2973, 622, 326, 10382, 353, 326, 1438, 1807, 805, 18, 997, 273, 4319, 1435, 997, 18, 542, 67, 4923, 12, 7020, 67, 7066, 18, 5280, 67, 4370, 67, 15547, 13, 225, 7241, 273, 389, 2932, 17105, 10358, 13, 87, 11542, 310, 11592, 7923, 997, 18, 694, 4247, 12, 16292, 13, 225, 1014, 273, 3555, 12, 8815, 33, 20, 16, 1835, 1546, 6625, 9, 7923, 1014, 18, 986, 1999, 3816, 8449, 12, 1864, 12, 22, 16, 2 ]
return idaapi.add_idc_hotkey(hotkey, idcfunc)
return idaapi.add_idc_hotkey(hotkey, idcfunc)
def AddHotkey(hotkey, idcfunc): """ Add hotkey for IDC function @param hotkey: hotkey name ('a', "Alt-A", etc) @param idcfunc: IDC function name @note: GUI version doesn't support hotkeys @return: None """ return idaapi.add_idc_hotkey(hotkey, idcfunc)
f6eb09ba783822659c8520f1385c89f40cdd4a71 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6984/f6eb09ba783822659c8520f1385c89f40cdd4a71/idc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1436, 25270, 856, 12, 15224, 856, 16, 612, 71, 644, 4672, 3536, 1436, 12811, 856, 364, 1599, 39, 445, 225, 632, 891, 12811, 856, 30, 12811, 856, 508, 7707, 69, 2187, 315, 10655, 17, 37, 3113, 5527, 13, 632, 891, 612, 71, 644, 30, 1599, 39, 445, 508, 225, 632, 7652, 30, 10978, 1177, 3302, 1404, 2865, 12811, 2452, 225, 632, 2463, 30, 599, 3536, 327, 612, 69, 2425, 18, 1289, 67, 350, 71, 67, 15224, 856, 12, 15224, 856, 16, 612, 71, 644, 13, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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811, 856, 30, 12811, 856, 508, 7707, 69, 2187, 315, 10655, 17, 37, 3113, 5527, 13, 632, 891, 612, 71, 644, 30, 1599, 39, 445, 508, 225, 632, 7652, 30, 10978, 1177, 3302, 1404, 2865, 12811, 2452, 225, 632, 2463, 30, 599, 3536, 327, 612, 69, 2425, 18, 1289, 67, 350, 71, 67, 15224, 856, 12, 15224, 856, 16, 612, 71, 644, 13, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
print 'warning: unknown bugzilla userid %d, recording as anonymous' % userid loginName = 'anonymous'
print """WARNING: unknown bugzilla userid %d, recording as anonymous""" % (userid) loginName = "anonymous" loginName = LOGIN_MAP.get(loginName, loginName)
def getLoginName(self, cursor, userid): if userid not in self.loginNameCache: cursor.execute("SELECT * FROM profiles WHERE userid = %s" % userid) loginName = cursor.fetchall()
d0a718cdc641402f4871e728629c7ce1e81b3158 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/d0a718cdc641402f4871e728629c7ce1e81b3158/bugzilla2trac.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25128, 461, 12, 2890, 16, 3347, 16, 6709, 4672, 309, 6709, 486, 316, 365, 18, 5819, 461, 1649, 30, 3347, 18, 8837, 2932, 4803, 380, 4571, 11788, 4852, 6709, 273, 738, 87, 6, 738, 6709, 13, 3925, 461, 273, 3347, 18, 5754, 454, 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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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25128, 461, 12, 2890, 16, 3347, 16, 6709, 4672, 309, 6709, 486, 316, 365, 18, 5819, 461, 1649, 30, 3347, 18, 8837, 2932, 4803, 380, 4571, 11788, 4852, 6709, 273, 738, 87, 6, 738, 6709, 13, 3925, 461, 273, 3347, 18, 5754, 454, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return S_OK(paramDict) def __deleteTransformationParameters(self,transID,parameters=[],connection=False):
return S_OK( paramDict ) def __deleteTransformationParameters( self, transID, parameters = [], connection = False ):
def __getAdditionalParameters(self,transID,connection=False): req = "SELECT ParameterName,ParameterValue,ParameterType FROM AdditionalParameters WHERE TransformationID = %d" % transID res = self._query(req,connection) if not res['OK']: return res paramDict = {} for parameterName,parameterValue,parameterType in res['Value']: parameterType = eval(parameterType) if parameterType in [IntType,LongType]: parameterValue = int(parameterValue) paramDict[parameterName] = parameterValue return S_OK(paramDict)
9ad007ea503b29694fc081c1646b7c5ecd07b1f2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/9ad007ea503b29694fc081c1646b7c5ecd07b1f2/TransformationDB.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 10552, 2402, 12, 2890, 16, 2338, 734, 16, 4071, 33, 8381, 4672, 1111, 273, 315, 4803, 5498, 461, 16, 29655, 16, 28460, 4571, 15119, 2402, 4852, 21274, 734, 273, 738, 72, 6, 738, 906, 734, 400, 273, 365, 6315, 2271, 12, 3658, 16, 4071, 13, 309, 486, 400, 3292, 3141, 3546, 30, 327, 400, 579, 5014, 273, 2618, 364, 15524, 16, 6775, 620, 16, 6775, 559, 316, 400, 3292, 620, 3546, 30, 28240, 273, 5302, 12, 6775, 559, 13, 309, 28240, 316, 306, 1702, 559, 16, 3708, 559, 14542, 31147, 273, 509, 12, 6775, 620, 13, 579, 5014, 63, 6775, 461, 65, 273, 31147, 327, 348, 67, 3141, 12, 891, 5014, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 10552, 2402, 12, 2890, 16, 2338, 734, 16, 4071, 33, 8381, 4672, 1111, 273, 315, 4803, 5498, 461, 16, 29655, 16, 28460, 4571, 15119, 2402, 4852, 21274, 734, 273, 738, 72, 6, 738, 906, 734, 400, 273, 365, 6315, 2271, 12, 3658, 16, 4071, 13, 309, 486, 400, 3292, 3141, 3546, 30, 327, 400, 579, 5014, 273, 2618, 364, 15524, 16, 6775, 620, 16, 6775, 559, 316, 400, 3292, 620, 3546, 30, 28240, 273, 5302, 12, 6775, 559, 13, 309, 28240, 316, 306, 1702, 559, 16, 3708, 559, 14542, 31147, 273, 509, 12, 6775, 620, 13, 579, 5014, 63, 6775, 461, 65, 273, 31147, 327, 348, 67, 3141, 12, 891, 5014, 13, 2, -100, -100, -100, -100 ]
self._group
def __init__(self): U = "( 1, 3, 8, 6)( 2, 5, 7, 4)( 9,33,25,17)(10,34,26,18)(11,35,27,19)" ## U = top L = "( 9,11,16,14)(10,13,15,12)( 1,17,41,40)( 4,20,44,37)( 6,22,46,35)" ## L = left F = "(17,19,24,22)(18,21,23,20)( 6,25,43,16)( 7,28,42,13)( 8,30,41,11)" ## F = front R = "(25,27,32,30)(26,29,31,28)( 3,38,43,19)( 5,36,45,21)( 8,33,48,24)" ## R = right B = "(33,35,40,38)(34,37,39,36)( 3, 9,46,32)( 2,12,47,29)( 1,14,48,27)" ## B = back or rear D = "(41,43,48,46)(42,45,47,44)(14,22,30,38)(15,23,31,39)(16,24,32,40)" ## D = down or bottom self.__gens = [B,D,F,L,R,U] self._group = PermutationGroup([B,D,F,L,R,U])
133aab4efc40d89956fe966fe878ee765bc1184e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/133aab4efc40d89956fe966fe878ee765bc1184e/cubegroup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 587, 273, 7751, 404, 16, 890, 16, 1725, 16, 1666, 21433, 576, 16, 1381, 16, 2371, 16, 1059, 21433, 2468, 16, 3707, 16, 2947, 16, 4033, 21433, 2163, 16, 5026, 16, 5558, 16, 2643, 21433, 2499, 16, 4763, 16, 5324, 16, 3657, 2225, 7541, 587, 273, 1760, 511, 273, 7751, 2468, 16, 2499, 16, 2313, 16, 3461, 21433, 2163, 16, 3437, 16, 3600, 16, 2138, 21433, 404, 16, 4033, 16, 9803, 16, 7132, 21433, 1059, 16, 3462, 16, 6334, 16, 6418, 21433, 1666, 16, 3787, 16, 8749, 16, 4763, 2225, 7541, 511, 273, 2002, 478, 273, 7751, 4033, 16, 3657, 16, 3247, 16, 3787, 21433, 2643, 16, 5340, 16, 4366, 16, 3462, 21433, 1666, 16, 2947, 16, 8942, 16, 2313, 21433, 2371, 16, 6030, 16, 9452, 16, 3437, 21433, 1725, 16, 5082, 16, 9803, 16, 2499, 2225, 7541, 478, 273, 6641, 534, 273, 7751, 2947, 16, 5324, 16, 1578, 16, 5082, 21433, 5558, 16, 5540, 16, 6938, 16, 6030, 21433, 890, 16, 7414, 16, 8942, 16, 3657, 21433, 1381, 16, 5718, 16, 7950, 16, 5340, 21433, 1725, 16, 3707, 16, 8875, 16, 3247, 2225, 7541, 534, 273, 2145, 605, 273, 7751, 3707, 16, 4763, 16, 7132, 16, 7414, 21433, 5026, 16, 6418, 16, 5520, 16, 5718, 21433, 890, 16, 2468, 16, 8749, 16, 1578, 21433, 576, 16, 2138, 16, 9462, 16, 5540, 21433, 404, 16, 3461, 16, 8875, 16, 5324, 2225, 7541, 605, 273, 1473, 578, 283, 297, 463, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 587, 273, 7751, 404, 16, 890, 16, 1725, 16, 1666, 21433, 576, 16, 1381, 16, 2371, 16, 1059, 21433, 2468, 16, 3707, 16, 2947, 16, 4033, 21433, 2163, 16, 5026, 16, 5558, 16, 2643, 21433, 2499, 16, 4763, 16, 5324, 16, 3657, 2225, 7541, 587, 273, 1760, 511, 273, 7751, 2468, 16, 2499, 16, 2313, 16, 3461, 21433, 2163, 16, 3437, 16, 3600, 16, 2138, 21433, 404, 16, 4033, 16, 9803, 16, 7132, 21433, 1059, 16, 3462, 16, 6334, 16, 6418, 21433, 1666, 16, 3787, 16, 8749, 16, 4763, 2225, 7541, 511, 273, 2002, 478, 273, 7751, 4033, 16, 3657, 16, 3247, 16, 3787, 21433, 2643, 16, 5340, 16, 4366, 16, 3462, 2 ]
def assertArgIsCFRetained(self, method, argno, message = None):
def assertArgIsNotCFRetained(self, method, argno, message = None):
def assertArgIsCFRetained(self, method, argno, message = None): if isinstance(method, objc.selector): offset = 2 else: offset = 0 info = method.__metadata__() if info['arguments'][argno+offset]['already_cfretained']: self.fail(message or "%r is cfretained"%(method,))
3a808b9c8387f924da9c55fd50b1b854f173c37c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/97/3a808b9c8387f924da9c55fd50b1b854f173c37c/TestSupport.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1815, 4117, 28041, 8955, 7055, 8707, 12, 2890, 16, 707, 16, 1501, 2135, 16, 883, 273, 599, 4672, 309, 1549, 12, 2039, 16, 1081, 71, 18, 9663, 4672, 1384, 273, 576, 469, 30, 1384, 273, 374, 1123, 273, 707, 16186, 4165, 972, 1435, 309, 1123, 3292, 7099, 3546, 63, 297, 1600, 83, 15, 3348, 23962, 17583, 67, 8522, 1349, 8707, 3546, 30, 365, 18, 6870, 12, 2150, 578, 2213, 86, 353, 6080, 1349, 8707,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1815, 4117, 28041, 8955, 7055, 8707, 12, 2890, 16, 707, 16, 1501, 2135, 16, 883, 273, 599, 4672, 309, 1549, 12, 2039, 16, 1081, 71, 18, 9663, 4672, 1384, 273, 576, 469, 30, 1384, 273, 374, 1123, 273, 707, 16186, 4165, 972, 1435, 309, 1123, 3292, 7099, 3546, 63, 297, 1600, 83, 15, 3348, 23962, 17583, 67, 8522, 1349, 8707, 3546, 30, 365, 18, 6870, 12, 2150, 578, 2213, 86, 353, 6080, 1349, 8707, 6, 17105, 2039, 16, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
values = [part.strip() for part in value.split(',')]
values = [part.strip() for part in value.split(sep)]
def getcsv(self, key, sep=','): "return comma separated values as a list" value = self.get(key) values = [part.strip() for part in value.split(',')] # remove empty strings values = [part for part in values if part] return values
d0b60be0d0936dd9e707f2e5793fe4f9c7e17d6f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2558/d0b60be0d0936dd9e707f2e5793fe4f9c7e17d6f/toolkit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 6715, 12, 2890, 16, 498, 16, 5478, 33, 17023, 4672, 315, 2463, 8716, 8936, 924, 487, 279, 666, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 6715, 12, 2890, 16, 498, 16, 5478, 33, 17023, 4672, 315, 2463, 8716, 8936, 924, 487, 279, 666, 6, 460, 273, 365, 18, 588, 12, 856, 13, 924, 273, 306, 2680, 18, 6406, 1435, 364, 1087, 316, 460, 18, 4939, 12, 10814, 25887, 468, 1206, 1008, 2064, 924, 273, 306, 2680, 364, 1087, 316, 924, 309, 1087, 65, 327, 924, 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 ]
session_id=id) if id is None or session is None:
session_id=sessid) if sessid is None or session is None:
def get_session (self, request): """get_session(request : HTTPRequest) -> Session
26d2ecde87643091805a7b214e68c325315efc1e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12027/26d2ecde87643091805a7b214e68c325315efc1e/session.py
[ 1, 8585, 326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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 3184, 261, 2890, 16, 590, 4672, 3536, 588, 67, 3184, 12, 2293, 294, 25238, 13, 317, 3877, 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 ]
properties.append({'name': 'owner', 'type': 'text', 'label': 'Owner'})
restrict_owner = self.config.get('ticket', 'restrict_owner', '') if restrict_owner.lower() in TRUE: usernames = [escape(u[0]) for u in self.env.get_known_users()] properties.append({'name': 'owner', 'type': 'select', 'label': 'Owner', 'options': usernames}) else: properties.append({'name': 'owner', 'type': 'text', 'label': 'Owner'})
def rows_to_list(sql): list = [] cursor.execute(sql) while 1: row = cursor.fetchone() if not row: break list.append(row[0]) return list
da5e6d0276192eeb4b8ab0eb1367601f08f27d2c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/da5e6d0276192eeb4b8ab0eb1367601f08f27d2c/Query.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2595, 67, 869, 67, 1098, 12, 4669, 4672, 666, 273, 5378, 3347, 18, 8837, 12, 4669, 13, 1323, 404, 30, 1027, 273, 3347, 18, 5754, 476, 1435, 309, 486, 1027, 30, 898, 666, 18, 6923, 12, 492, 63, 20, 5717, 327, 666, 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, 2595, 67, 869, 67, 1098, 12, 4669, 4672, 666, 273, 5378, 3347, 18, 8837, 12, 4669, 13, 1323, 404, 30, 1027, 273, 3347, 18, 5754, 476, 1435, 309, 486, 1027, 30, 898, 666, 18, 6923, 12, 492, 63, 20, 5717, 327, 666, 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 ]
rospy.loginfo("IMU accel: " + str(canonicalAccel) + "; IMU angular rate: " + str(canonicalAngleRate))
rospy.logdebug("IMU accel: " + str(canonicalAccel) + "; IMU angular rate: " + str(canonicalAngleRate))
def run(self): """Loop that obtains the latest wiimote state, publishes the IMU data, and sleeps. The IMU message, if fully filled in, contains information on orientation, acceleration (in m/s^2), and angular rate (in radians/sec). For each of these quantities, the IMU message format also wants the corresponding covariance matrix. Wiimote only gives us acceleration and angular rate. So we ensure that the orientation data entry is marked invalid. We do this by setting the first entry of its associated covariance matrix to -1. The covariance matrices are the 3x3 matrix with the axes' variance in the diagonal. We obtain the variance from the Wiimote instance. """ while True: (canonicalAccel, canonicalAngleRate) = self.obtainWiimoteData() msg = Imu(header=None, orientation=None, # will default to [0.,0.,0.,0], orientation_covariance=[-1,0.,0.,0.,0.,0.,0.,0.,0], # -1 indicates that orientation is unknown angular_velocity=None, angular_velocity_covariance=self.angular_velocity_covariance, linear_acceleration=None, linear_acceleration_covariance=self.linear_acceleration_covariance) msg.angular_velocity.x = canonicalAngleRate[PHI] msg.angular_velocity.y = canonicalAngleRate[THETA] msg.angular_velocity.z = canonicalAngleRate[PSI] msg.linear_acceleration.x = canonicalAccel[X] msg.linear_acceleration.y = canonicalAccel[Y] msg.linear_acceleration.z = canonicalAccel[Z] measureTime = self.wiistate.time timeSecs = int(measureTime) timeNSecs = int(abs(timeSecs - measureTime) * 10**9) msg.header.stamp.secs = timeSecs msg.header.stamp.nsecs = timeNSecs self.pub.publish(msg) rospy.loginfo("IMU accel: " + str(canonicalAccel) + "; IMU angular rate: " + str(canonicalAngleRate)) rospy.sleep(self.sleepDuration)
8b2a732dda6fa2d06688b9e1f8726ac12e97aa38 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/917/8b2a732dda6fa2d06688b9e1f8726ac12e97aa38/wiimote_node.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 3536, 6452, 716, 3768, 16598, 326, 4891, 16138, 381, 1168, 919, 16, 17060, 326, 6246, 57, 501, 16, 471, 5329, 87, 18, 225, 1021, 6246, 57, 883, 16, 309, 7418, 6300, 316, 16, 1914, 1779, 603, 9820, 16, 28925, 261, 267, 312, 19, 87, 66, 22, 3631, 471, 11759, 4993, 261, 267, 13703, 19, 3321, 2934, 2457, 1517, 434, 4259, 10251, 1961, 16, 326, 6246, 57, 883, 740, 2546, 14805, 326, 4656, 17366, 3148, 18, 225, 678, 77, 381, 1168, 1338, 14758, 584, 28925, 471, 11759, 4993, 18, 6155, 732, 3387, 716, 326, 9820, 501, 1241, 353, 9350, 2057, 18, 1660, 741, 333, 635, 3637, 326, 1122, 1241, 434, 2097, 3627, 17366, 3148, 358, 300, 21, 18, 1021, 17366, 16415, 854, 326, 890, 92, 23, 3148, 598, 326, 6515, 11, 12380, 316, 326, 15425, 18, 1660, 7161, 326, 12380, 628, 326, 678, 77, 381, 1168, 791, 18, 3536, 225, 1323, 1053, 30, 261, 18288, 18019, 16, 7378, 8467, 4727, 13, 273, 365, 18, 947, 5977, 59, 77, 381, 1168, 751, 1435, 225, 1234, 273, 2221, 89, 12, 3374, 33, 7036, 16, 9820, 33, 7036, 16, 4766, 4202, 468, 903, 805, 358, 306, 20, 12990, 20, 12990, 20, 12990, 20, 6487, 9820, 67, 2894, 11721, 33, 18919, 21, 16, 20, 12990, 20, 12990, 20, 12990, 20, 12990, 20, 12990, 20, 12990, 20, 12990, 20, 6487, 377, 468, 300, 21, 8527, 716, 9820, 353, 5917, 11759, 67, 29418, 560, 33, 7036, 16, 11759, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 3536, 6452, 716, 3768, 16598, 326, 4891, 16138, 381, 1168, 919, 16, 17060, 326, 6246, 57, 501, 16, 471, 5329, 87, 18, 225, 1021, 6246, 57, 883, 16, 309, 7418, 6300, 316, 16, 1914, 1779, 603, 9820, 16, 28925, 261, 267, 312, 19, 87, 66, 22, 3631, 471, 11759, 4993, 261, 267, 13703, 19, 3321, 2934, 2457, 1517, 434, 4259, 10251, 1961, 16, 326, 6246, 57, 883, 740, 2546, 14805, 326, 4656, 17366, 3148, 18, 225, 678, 77, 381, 1168, 1338, 14758, 584, 28925, 471, 11759, 4993, 18, 6155, 732, 3387, 716, 326, 9820, 501, 1241, 353, 9350, 2057, 18, 1660, 741, 333, 635, 3637, 326, 1122, 1241, 434, 2097, 3627, 17366, 3148, 358, 2 ]
debug(" cookie with unspecified domain does not string-compare " "equal to request domain")
_debug(" cookie with unspecified domain does not string-compare " "equal to request domain")
def return_ok_domain(self, cookie, request): req_host, erhn = eff_request_host(request) domain = cookie.domain
7fde00696ae6c872310a407df8b8923ab907f247 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/7fde00696ae6c872310a407df8b8923ab907f247/cookielib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 327, 67, 601, 67, 4308, 12, 2890, 16, 3878, 16, 590, 4672, 1111, 67, 2564, 16, 6445, 76, 82, 273, 16419, 67, 2293, 67, 2564, 12, 2293, 13, 2461, 273, 3878, 18, 4308, 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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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 ]