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 exact: z = self.getLevel(res, self.size) else: z = self.getClosestLevel(res)
|
z = self.getLevel(res, self.size)
|
def getCell (self, (minx, miny, maxx, maxy), exact = True): if exact and self.extent_type == "strict" and not self.contains((minx, miny)): raise TileCacheException("Lower left corner (%f, %f) is outside layer bounds %s. \nTo remove this condition, set extent_type=loose in your configuration." % (minx, miny, self.bbox)) return None
|
86cfe892e9a7aa7e7bca1489a75042a1f12b3c49 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6188/86cfe892e9a7aa7e7bca1489a75042a1f12b3c49/Layer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
16458,
261,
2890,
16,
261,
1154,
92,
16,
1131,
93,
16,
943,
92,
16,
943,
93,
3631,
5565,
273,
1053,
4672,
309,
5565,
471,
365,
18,
18181,
67,
723,
422,
315,
13948,
6,
471,
486,
365,
18,
12298,
12443,
1154,
92,
16,
1131,
93,
3719,
30,
1002,
13791,
1649,
503,
2932,
4070,
2002,
11055,
6142,
74,
16,
738,
74,
13,
353,
8220,
3018,
4972,
738,
87,
18,
521,
82,
774,
1206,
333,
2269,
16,
444,
11933,
67,
723,
33,
383,
2584,
316,
3433,
1664,
1199,
738,
261,
1154,
92,
16,
1131,
93,
16,
365,
18,
20737,
3719,
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,
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,
943,
93,
3631,
5565,
273,
1053,
4672,
309,
5565,
471,
365,
18,
18181,
67,
723,
422,
315,
13948,
6,
471,
486,
365,
18,
12298,
12443,
1154,
92,
16,
1131,
93,
3719,
30,
1002,
13791,
1649,
503,
2932,
4070,
2002,
11055,
6142,
74,
16,
738,
74,
13,
353,
8220,
3018,
4972,
738,
87,
18,
521,
82,
774,
1206,
333,
2269,
16,
444,
11933,
67,
723,
33,
383,
2584,
316,
3433,
1664,
1199,
738,
261,
1154,
92,
16,
1131,
93,
16,
365,
18,
20737,
3719,
327,
599,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return [a.get('contact', '') for a in self.getAttendees()]
|
users = list(set([a.get('contact', '') for a in self.getAttendees()] + [a.get('contact', '') for a in self.getResponsibility()])) return users
|
def getAttendeesOrUsers(self): if self.getMeeting_type() == 'poodle_additional': return self.getUsers() elif self.getMeeting_type() == 'meeting_dates_additional': return [a.get('contact', '') for a in self.getAttendees()] else: return
|
de507eabcdb826f3df63f0736aea68286c37b98a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11898/de507eabcdb826f3df63f0736aea68286c37b98a/meeting.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
3075,
275,
323,
281,
1162,
6588,
12,
2890,
4672,
309,
365,
18,
588,
4667,
21747,
67,
723,
1435,
422,
296,
1631,
369,
298,
67,
13996,
4278,
327,
365,
18,
588,
6588,
1435,
1327,
365,
18,
588,
4667,
21747,
67,
723,
1435,
422,
296,
3501,
21747,
67,
9683,
67,
13996,
4278,
3677,
273,
666,
12,
542,
3816,
69,
18,
588,
2668,
8994,
2187,
28707,
364,
279,
316,
365,
18,
588,
3075,
275,
323,
281,
1435,
65,
397,
306,
69,
18,
588,
2668,
8994,
2187,
28707,
364,
279,
316,
365,
18,
588,
607,
500,
17349,
1435,
22643,
327,
3677,
469,
30,
327,
2,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
3075,
275,
323,
281,
1162,
6588,
12,
2890,
4672,
309,
365,
18,
588,
4667,
21747,
67,
723,
1435,
422,
296,
1631,
369,
298,
67,
13996,
4278,
327,
365,
18,
588,
6588,
1435,
1327,
365,
18,
588,
4667,
21747,
67,
723,
1435,
422,
296,
3501,
21747,
67,
9683,
67,
13996,
4278,
3677,
273,
666,
12,
542,
3816,
69,
18,
588,
2668,
8994,
2187,
28707,
364,
279,
316,
365,
18,
588,
3075,
275,
323,
281,
1435,
65,
397,
306,
69,
18,
588,
2668,
8994,
2187,
28707,
364,
279,
316,
365,
18,
588,
607,
500,
17349,
1435,
22643,
327,
3677,
469,
30,
327,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
dependToDated=True, **kwargs):
|
dependToDated=True, uploadCompleteMar=True, **kwargs):
|
def __init__(self, objdir, username, milestone, platform, remoteHost, remoteBasePath, group=None, chmodMode=755, sshKey=None, releaseToDated=True, releaseToLatest=True, releaseToTinderboxBuilds=True, tinderboxBuildsDir=None, dependToDated=True, **kwargs): """ @type objdir: string @param objdir: The obj directory used for the build. This is needed to find the packages in the source tree.
|
e014b77d52e1cd2daf9603df55c398336990097c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13067/e014b77d52e1cd2daf9603df55c398336990097c/transfer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
1081,
1214,
16,
2718,
16,
28664,
16,
4072,
16,
2632,
2594,
16,
2632,
15912,
16,
1041,
33,
7036,
16,
13413,
2309,
33,
21761,
16,
7056,
653,
33,
7036,
16,
3992,
774,
40,
690,
33,
5510,
16,
3992,
774,
18650,
33,
5510,
16,
3992,
774,
56,
14055,
2147,
7746,
33,
5510,
16,
268,
14055,
2147,
7746,
1621,
33,
7036,
16,
2447,
774,
40,
690,
33,
5510,
16,
3617,
6322,
49,
297,
33,
5510,
16,
2826,
4333,
4672,
3536,
632,
723,
225,
1081,
1214,
30,
533,
632,
891,
1081,
1214,
30,
1021,
1081,
1867,
1399,
364,
326,
1361,
18,
1220,
353,
3577,
358,
1104,
326,
5907,
316,
326,
1084,
2151,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
1081,
1214,
16,
2718,
16,
28664,
16,
4072,
16,
2632,
2594,
16,
2632,
15912,
16,
1041,
33,
7036,
16,
13413,
2309,
33,
21761,
16,
7056,
653,
33,
7036,
16,
3992,
774,
40,
690,
33,
5510,
16,
3992,
774,
18650,
33,
5510,
16,
3992,
774,
56,
14055,
2147,
7746,
33,
5510,
16,
268,
14055,
2147,
7746,
1621,
33,
7036,
16,
2447,
774,
40,
690,
33,
5510,
16,
3617,
6322,
49,
297,
33,
5510,
16,
2826,
4333,
4672,
3536,
632,
723,
225,
1081,
1214,
30,
533,
632,
891,
1081,
1214,
30,
1021,
1081,
1867,
1399,
364,
326,
1361,
18,
1220,
353,
3577,
358,
1104,
326,
5907,
316,
326,
1084,
2151,
18,
2,
-100,
-100,
-100
] |
res = self.wmsClient.getJobsStatus(wmsIDs)
|
res = self.jobMonitoringClient.getJobsStatus(wmsIDs)
|
def getSubmittedTaskStatus(self,taskDicts): wmsIDs = [] for taskDict in taskDicts: wmsID = taskDict['JobWmsID'] wmsIDs.append(wmsID) res = self.wmsClient.getJobsStatus(wmsIDs) if not res['OK']: self.log.warn("Failed to get job status from the WMS system") return res updateDict = {} statusDict = result['Value'] for taskDict in taskDicts: transID = taskDict['TransformationID'] taskID = taskDict['JobID'] wmsID = int(taskDict['JobWmsID']) if not wmsID: continue oldStatus = taskDict['WmsStatus'] newStatus = "Removed" if wmsID in statusDict.keys(): newStatus = statusDict[wmsID]['Status'] if oldStatus != newStatus: if status == "Removed": self.log.verbose('Production/Job %d/%d removed from WMS while it is in %s status' % (transID,taskID,oldStatus)) status = "Failed" self.log.verbose('Setting job status for Production/Job %d/%d to %s' % (transID,jobID,status)) if not updateDict.has_key(status): updateDict[status] = [] updateDict[status].append(taskID) return S_OK(updateDict)
|
83b9db9976066289db9fe646975e00b42ef78b0a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/83b9db9976066289db9fe646975e00b42ef78b0a/TaskManager.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
7040,
7948,
2174,
1482,
12,
2890,
16,
4146,
5014,
87,
4672,
341,
959,
5103,
273,
5378,
364,
1562,
5014,
316,
1562,
5014,
87,
30,
341,
959,
734,
273,
1562,
5014,
3292,
2278,
59,
959,
734,
3546,
341,
959,
5103,
18,
6923,
12,
91,
959,
734,
13,
400,
273,
365,
18,
4688,
18410,
1227,
18,
588,
7276,
1482,
12,
91,
959,
5103,
13,
309,
486,
400,
3292,
3141,
3546,
30,
365,
18,
1330,
18,
8935,
2932,
2925,
358,
336,
1719,
1267,
628,
326,
678,
3537,
2619,
7923,
327,
400,
1089,
5014,
273,
2618,
1267,
5014,
273,
563,
3292,
620,
3546,
364,
1562,
5014,
316,
1562,
5014,
87,
30,
906,
734,
273,
1562,
5014,
3292,
15292,
734,
3546,
29772,
273,
1562,
5014,
3292,
2278,
734,
3546,
341,
959,
734,
273,
509,
12,
4146,
5014,
3292,
2278,
59,
959,
734,
19486,
309,
486,
341,
959,
734,
30,
1324,
1592,
1482,
273,
1562,
5014,
3292,
59,
959,
1482,
3546,
394,
1482,
273,
315,
10026,
6,
309,
341,
959,
734,
316,
1267,
5014,
18,
2452,
13332,
394,
1482,
273,
1267,
5014,
63,
91,
959,
734,
23962,
1482,
3546,
309,
1592,
1482,
480,
394,
1482,
30,
309,
1267,
422,
315,
10026,
6877,
365,
18,
1330,
18,
11369,
2668,
31590,
19,
2278,
738,
72,
5258,
72,
3723,
628,
678,
3537,
1323,
518,
353,
316,
738,
87,
1267,
11,
738,
261,
2338,
734,
16,
4146,
734,
16,
1673,
1482,
3719,
1267,
273,
315,
2925,
6,
365,
18,
1330,
18,
11369,
2668,
5568,
1719,
1267,
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,
7040,
7948,
2174,
1482,
12,
2890,
16,
4146,
5014,
87,
4672,
341,
959,
5103,
273,
5378,
364,
1562,
5014,
316,
1562,
5014,
87,
30,
341,
959,
734,
273,
1562,
5014,
3292,
2278,
59,
959,
734,
3546,
341,
959,
5103,
18,
6923,
12,
91,
959,
734,
13,
400,
273,
365,
18,
4688,
18410,
1227,
18,
588,
7276,
1482,
12,
91,
959,
5103,
13,
309,
486,
400,
3292,
3141,
3546,
30,
365,
18,
1330,
18,
8935,
2932,
2925,
358,
336,
1719,
1267,
628,
326,
678,
3537,
2619,
7923,
327,
400,
1089,
5014,
273,
2618,
1267,
5014,
273,
563,
3292,
620,
3546,
364,
1562,
5014,
316,
1562,
5014,
87,
30,
906,
734,
273,
1562,
5014,
3292,
15292,
734,
3546,
29772,
273,
2
] |
stream = XMLParser(data) stream.next() para = paragraph_stream(stream, 'p', {}, Contexteters)
|
stream = XMLParser(data, NAMESPACES) stream.next() para = paragraph_stream(stream, 'p', {}, context)
|
def test_formatting(self): Contexteters = Context() data = '<p>TXT <i>TEXT<u>TEXT</u></i></p>' stream = XMLParser(data) stream.next() para = paragraph_stream(stream, 'p', {}, Contexteters) self.assertEqual(para.text, '<para>TXT <i>TEXT<u>TEXT</u></i></para>')
|
3f5572cf3ff452e63a9867d97740e432a5973b1d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12681/3f5572cf3ff452e63a9867d97740e432a5973b1d/test_rml2.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
2139,
1787,
12,
2890,
4672,
1772,
1032,
273,
1772,
1435,
501,
273,
2368,
84,
34,
29399,
411,
77,
34,
5151,
32,
89,
34,
5151,
1757,
89,
4695,
77,
4695,
84,
1870,
1407,
273,
3167,
2678,
12,
892,
16,
18494,
55,
13,
1407,
18,
4285,
1435,
12602,
273,
10190,
67,
3256,
12,
3256,
16,
296,
84,
2187,
10615,
819,
13,
365,
18,
11231,
5812,
12,
25072,
18,
955,
16,
2368,
25072,
34,
29399,
411,
77,
34,
5151,
32,
89,
34,
5151,
1757,
89,
4695,
77,
4695,
25072,
1870,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
2139,
1787,
12,
2890,
4672,
1772,
1032,
273,
1772,
1435,
501,
273,
2368,
84,
34,
29399,
411,
77,
34,
5151,
32,
89,
34,
5151,
1757,
89,
4695,
77,
4695,
84,
1870,
1407,
273,
3167,
2678,
12,
892,
16,
18494,
55,
13,
1407,
18,
4285,
1435,
12602,
273,
10190,
67,
3256,
12,
3256,
16,
296,
84,
2187,
10615,
819,
13,
365,
18,
11231,
5812,
12,
25072,
18,
955,
16,
2368,
25072,
34,
29399,
411,
77,
34,
5151,
32,
89,
34,
5151,
1757,
89,
4695,
77,
4695,
25072,
1870,
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
] |
""" Get coordinate array.
|
"""Get coordinate array.
|
def getXyz( self ): """ Get coordinate array. @return: coordinates, N.array( N x 3, 'f') @rtype: array @raise ParseError: if can't interprete second line """ if not self.xyz:
|
6561fff7ef3f1bdce874a4f2653fa69f6a6cb913 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/482/6561fff7ef3f1bdce874a4f2653fa69f6a6cb913/AmberRstParser.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6538,
93,
94,
12,
365,
262,
30,
3536,
967,
7799,
526,
18,
225,
632,
2463,
30,
5513,
16,
423,
18,
1126,
12,
423,
619,
890,
16,
296,
74,
6134,
632,
86,
723,
30,
526,
225,
632,
11628,
17372,
30,
309,
848,
1404,
1554,
1484,
736,
2205,
980,
3536,
309,
486,
365,
18,
17177,
30,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6538,
93,
94,
12,
365,
262,
30,
3536,
967,
7799,
526,
18,
225,
632,
2463,
30,
5513,
16,
423,
18,
1126,
12,
423,
619,
890,
16,
296,
74,
6134,
632,
86,
723,
30,
526,
225,
632,
11628,
17372,
30,
309,
848,
1404,
1554,
1484,
736,
2205,
980,
3536,
309,
486,
365,
18,
17177,
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
] |
((1, 3), 4) ((1, 0), 4) ((0, 2), 6)
|
def degree_iterator(self, vertices=None, labels=False): """ INPUT: labels=False: returns an iterator over degrees. labels=True: returns an iterator over tuples (vertex, degree). vertices -- if specified, restrict to this subset. EXAMPLE: sage: D = graphs.Grid2dGraph(2,4).to_directed() sage: for i in D.degree_iterator(): ... print i 6 6 4 4 6 4 4 6
|
c6ee9b8c95a50319119e91b8cfe37d340af4ae88 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/c6ee9b8c95a50319119e91b8cfe37d340af4ae88/graph.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10782,
67,
9838,
12,
2890,
16,
6928,
33,
7036,
16,
3249,
33,
8381,
4672,
3536,
12943,
30,
3249,
33,
8381,
30,
1135,
392,
2775,
1879,
10904,
18,
3249,
33,
5510,
30,
1135,
392,
2775,
1879,
10384,
261,
15281,
16,
10782,
2934,
6928,
1493,
309,
1269,
16,
13108,
358,
333,
7931,
18,
225,
5675,
21373,
30,
272,
410,
30,
463,
273,
19422,
18,
6313,
22,
72,
4137,
12,
22,
16,
24,
2934,
869,
67,
26830,
1435,
272,
410,
30,
364,
277,
316,
463,
18,
21361,
67,
9838,
13332,
1372,
565,
1172,
277,
1666,
1666,
1059,
1059,
1666,
1059,
1059,
1666,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
12943,
30,
3249,
33,
8381,
30,
1135,
392,
2775,
1879,
10904,
18,
3249,
33,
5510,
30,
1135,
392,
2775,
1879,
10384,
261,
15281,
16,
10782,
2934,
6928,
1493,
309,
1269,
16,
13108,
358,
333,
7931,
18,
225,
5675,
21373,
30,
272,
410,
30,
463,
273,
19422,
18,
6313,
22,
72,
4137,
12,
22,
16,
24,
2934,
869,
67,
26830,
1435,
272,
410,
30,
364,
277,
316,
463,
18,
21361,
67,
9838,
13332,
1372,
565,
1172,
277,
1666,
1666,
1059,
1059,
1666,
1059,
1059,
1666,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
def maketables():
|
def maketables(trace=0):
|
def maketables(): unicode = UnicodeData(UNICODE_DATA) # extract unicode properties dummy = (0, 0, 0, 0) table = [dummy] cache = {0: dummy} index = [0] * len(unicode.chars) # 1) database properties for char in unicode.chars: record = unicode.table[char] if record: # extract database properties category = CATEGORY_NAMES.index(record[2]) combining = int(record[3]) bidirectional = BIDIRECTIONAL_NAMES.index(record[4]) mirrored = record[9] == "Y" item = ( category, combining, bidirectional, mirrored ) # add entry to index and item tables i = cache.get(item) if i is None: cache[item] = i = len(table) table.append(item) index[char] = i # 2) decomposition data # FIXME: <fl> using the encoding stuff from unidb would save # another 50k or so, but I'll leave that for 2.1... decomp_data = [""] decomp_index = [0] * len(unicode.chars) for char in unicode.chars: record = unicode.table[char] if record: if record[5]: try: i = decomp_data.index(record[5]) except ValueError: i = len(decomp_data) decomp_data.append(record[5]) else: i = 0 decomp_index[char] = i FILE = "Modules/unicodedata_db.h" fp = open(FILE, "w") print >>fp, "/* this file was generated by %s %s */" % (SCRIPT, VERSION) print >>fp print >>fp, "/* a list of unique database records */" print >>fp, \ "const _PyUnicode_DatabaseRecord _PyUnicode_Database_Records[] = {" for item in table: print >>fp, " {%d, %d, %d, %d}," % item print >>fp, "};" print >>fp # FIXME: the following tables should be made static, and # the support code moved into unicodedatabase.c print >>fp, "/* string literals */" print >>fp, "const char *_PyUnicode_CategoryNames[] = {" for name in CATEGORY_NAMES: print >>fp, " \"%s\"," % name print >>fp, " NULL" print >>fp, "};" print >>fp, "const char *_PyUnicode_BidirectionalNames[] = {" for name in BIDIRECTIONAL_NAMES: print >>fp, " \"%s\"," % name print >>fp, " NULL" print >>fp, "};" print >>fp, "static const char *decomp_data[] = {" for name in decomp_data: print >>fp, " \"%s\"," % name print >>fp, " NULL" print >>fp, "};" # split record index table index1, index2, shift = splitbins(index) print >>fp, "/* index tables for the database records */" print >>fp, "#define SHIFT", shift Array("index1", index1).dump(fp) Array("index2", index2).dump(fp) # split decomposition index table index1, index2, shift = splitbins(decomp_index) print >>fp, "/* index tables for the decomposition data */" print >>fp, "#define DECOMP_SHIFT", shift Array("decomp_index1", index1).dump(fp) Array("decomp_index2", index2).dump(fp) # # 3) unicode type data # extract unicode types dummy = (0, 0, 0, 0, 0, 0) table = [dummy] cache = {0: dummy} index = [0] * len(unicode.chars) for char in unicode.chars: record = unicode.table[char] if record: # extract database properties category = record[2] bidirectional = record[4] flags = 0 if category in ["Lm", "Lt", "Lu", "Ll", "Lo"]: flags |= ALPHA_MASK if category == "Ll": flags |= LOWER_MASK if category == "Zl" or bidirectional == "B": flags |= LINEBREAK_MASK if category == "Zs" or bidirectional in ("WS", "B", "S"): flags |= SPACE_MASK if category == "Lt": flags |= TITLE_MASK if category == "Lu": flags |= UPPER_MASK # use delta predictor for upper/lower/title if record[12]: upper = (int(record[12], 16) - char) & 0xffff else: upper = 0 if record[13]: lower = (int(record[13], 16) - char) & 0xffff else: lower = 0 if record[14]: title = (int(record[14], 16) - char) & 0xffff else: title = 0 # decimal digit, integer digit decimal = 0 if record[6]: flags |= DECIMAL_MASK decimal = int(record[6]) digit = 0 if record[7]: flags |= DIGIT_MASK digit = int(record[7]) item = ( flags, upper, lower, title, decimal, digit ) # add entry to index and item tables i = cache.get(item) if i is None: cache[item] = i = len(table) table.append(item) index[char] = i print len(table), "ctype entries" FILE = "Objects/unicodetype_db.h" fp = open(FILE, "w") print >>fp, "/* this file was generated by %s %s */" % (SCRIPT, VERSION) print >>fp print >>fp, "/* a list of unique character type descriptors */" print >>fp, "const _PyUnicode_TypeRecord _PyUnicode_TypeRecords[] = {" for item in table: print >>fp, " {%d, %d, %d, %d, %d, %d}," % item print >>fp, "};" print >>fp # split decomposition index table index1, index2, shift = splitbins(index) print >>fp, "/* type indexes */" print >>fp, "#define SHIFT", shift Array("index1", index1).dump(fp) Array("index2", index2).dump(fp)
|
2622eef694d130c649bfad1efd483f3876f83f54 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/2622eef694d130c649bfad1efd483f3876f83f54/makeunicodedata.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
29796,
278,
1538,
12,
5129,
33,
20,
4672,
225,
5252,
273,
9633,
751,
12,
26642,
67,
4883,
13,
225,
468,
2608,
5252,
1790,
9609,
273,
261,
20,
16,
374,
16,
374,
16,
374,
13,
1014,
273,
306,
21050,
65,
1247,
273,
288,
20,
30,
9609,
97,
770,
273,
306,
20,
65,
380,
562,
12,
9124,
18,
7549,
13,
225,
468,
404,
13,
2063,
1790,
364,
1149,
316,
5252,
18,
7549,
30,
1409,
273,
5252,
18,
2121,
63,
3001,
65,
309,
1409,
30,
468,
2608,
2063,
1790,
3150,
273,
31524,
19281,
67,
16257,
18,
1615,
12,
3366,
63,
22,
5717,
29189,
273,
509,
12,
3366,
63,
23,
5717,
9949,
24699,
273,
605,
30218,
18934,
1013,
67,
16257,
18,
1615,
12,
3366,
63,
24,
5717,
312,
481,
23226,
273,
1409,
63,
29,
65,
422,
315,
61,
6,
761,
273,
261,
3150,
16,
29189,
16,
9949,
24699,
16,
312,
481,
23226,
262,
468,
527,
1241,
358,
770,
471,
761,
4606,
277,
273,
1247,
18,
588,
12,
1726,
13,
309,
277,
353,
599,
30,
1247,
63,
1726,
65,
273,
277,
273,
562,
12,
2121,
13,
1014,
18,
6923,
12,
1726,
13,
770,
63,
3001,
65,
273,
277,
225,
468,
576,
13,
26288,
501,
225,
468,
9852,
30,
411,
2242,
34,
1450,
326,
2688,
10769,
628,
640,
350,
70,
4102,
1923,
468,
4042,
6437,
79,
578,
1427,
16,
1496,
467,
5614,
8851,
716,
364,
576,
18,
21,
2777,
225,
443,
2919,
67,
892,
273,
306,
3660,
65,
443,
2919,
67,
1615,
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,
29796,
278,
1538,
12,
5129,
33,
20,
4672,
225,
5252,
273,
9633,
751,
12,
26642,
67,
4883,
13,
225,
468,
2608,
5252,
1790,
9609,
273,
261,
20,
16,
374,
16,
374,
16,
374,
13,
1014,
273,
306,
21050,
65,
1247,
273,
288,
20,
30,
9609,
97,
770,
273,
306,
20,
65,
380,
562,
12,
9124,
18,
7549,
13,
225,
468,
404,
13,
2063,
1790,
364,
1149,
316,
5252,
18,
7549,
30,
1409,
273,
5252,
18,
2121,
63,
3001,
65,
309,
1409,
30,
468,
2608,
2063,
1790,
3150,
273,
31524,
19281,
67,
16257,
18,
1615,
12,
3366,
63,
22,
5717,
29189,
273,
509,
12,
3366,
63,
23,
5717,
9949,
24699,
273,
605,
30218,
18934,
1013,
67,
16257,
18,
1615,
2
] |
v = getattr(obj, k)
|
v = getattr(obj, k, AttributeError)
|
def trace_one(self, req, typename, objid): rows = [] objid = int(objid) all_objs = gc.get_objects() for obj in all_objs: if id(obj) == objid: objtype = type(obj) if objtype.__module__ + "." + objtype.__name__ != typename: rows = ["<h3>The object you requested is no longer " "of the correct type.</h3>"] else: # Attributes rows.append('<div class="obj"><h3>Attributes</h3>') for k in dir(obj): v = getattr(obj, k) if type(v) not in method_types: rows.append('<p class="attr"><b>%s:</b> %s</p>' % (k, get_repr(v))) del v rows.append('</div>') # Referrers rows.append('<div class="refs"><h3>Referrers (Parents)</h3>') rows.append('<p class="desc"><a href="%s">Show the ' 'entire tree</a> of reachable objects</p>' % url(req, "/tree/%s/%s" % (typename, objid))) tree = ReferrerTree(obj, req) tree.ignore(all_objs) for depth, parentid, parentrepr in tree.walk(maxdepth=1): if parentid: rows.append("<p class='obj'>%s</p>" % parentrepr) rows.append('</div>') # Referents rows.append('<div class="refs"><h3>Referents (Children)</h3>') for child in gc.get_referents(obj): rows.append("<p class='obj'>%s</p>" % tree.get_repr(child)) rows.append('</div>') break if not rows: rows = ["<h3>The object you requested was not found.</h3>"] return rows
|
1f746dbb218375700e6e80f65ff139df2f1cc4dd /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1012/1f746dbb218375700e6e80f65ff139df2f1cc4dd/__init__.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2606,
67,
476,
12,
2890,
16,
1111,
16,
26735,
16,
1081,
350,
4672,
2595,
273,
5378,
1081,
350,
273,
509,
12,
2603,
350,
13,
777,
67,
18093,
273,
8859,
18,
588,
67,
6911,
1435,
364,
1081,
316,
777,
67,
18093,
30,
309,
612,
12,
2603,
13,
422,
1081,
350,
30,
1081,
723,
273,
618,
12,
2603,
13,
309,
1081,
723,
16186,
2978,
972,
397,
4585,
397,
1081,
723,
16186,
529,
972,
480,
26735,
30,
2595,
273,
8247,
32,
76,
23,
34,
1986,
733,
1846,
3764,
353,
1158,
7144,
315,
315,
792,
326,
3434,
618,
17347,
76,
23,
2984,
65,
469,
30,
468,
9055,
2595,
18,
6923,
2668,
32,
2892,
667,
1546,
2603,
14050,
76,
23,
34,
2498,
1757,
76,
23,
1870,
13,
364,
417,
316,
1577,
12,
2603,
4672,
331,
273,
3869,
12,
2603,
16,
417,
16,
6394,
13,
309,
618,
12,
90,
13,
486,
316,
707,
67,
2352,
30,
2595,
18,
6923,
2668,
32,
84,
667,
1546,
1747,
14050,
70,
9822,
87,
19814,
70,
34,
738,
87,
1757,
84,
1870,
738,
261,
79,
16,
336,
67,
12715,
12,
90,
20349,
1464,
331,
2595,
18,
6923,
2668,
1757,
2892,
1870,
13,
225,
468,
3941,
370,
414,
2595,
18,
6923,
2668,
32,
2892,
667,
1546,
9316,
14050,
76,
23,
34,
1957,
370,
414,
261,
13733,
13,
1757,
76,
23,
1870,
13,
2595,
18,
6923,
2668,
32,
84,
667,
1546,
5569,
14050,
69,
3897,
11613,
87,
6441,
5706,
326,
296,
296,
319,
577,
2151,
1757,
69,
34,
434,
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,
2606,
67,
476,
12,
2890,
16,
1111,
16,
26735,
16,
1081,
350,
4672,
2595,
273,
5378,
1081,
350,
273,
509,
12,
2603,
350,
13,
777,
67,
18093,
273,
8859,
18,
588,
67,
6911,
1435,
364,
1081,
316,
777,
67,
18093,
30,
309,
612,
12,
2603,
13,
422,
1081,
350,
30,
1081,
723,
273,
618,
12,
2603,
13,
309,
1081,
723,
16186,
2978,
972,
397,
4585,
397,
1081,
723,
16186,
529,
972,
480,
26735,
30,
2595,
273,
8247,
32,
76,
23,
34,
1986,
733,
1846,
3764,
353,
1158,
7144,
315,
315,
792,
326,
3434,
618,
17347,
76,
23,
2984,
65,
469,
30,
468,
9055,
2595,
18,
6923,
2668,
32,
2892,
667,
1546,
2603,
14050,
76,
23,
34,
2498,
1757,
2
] |
"""Starts the SchoolTool HTTP server.
|
"""Start the SchoolTool HTTP server.
|
def main(self, args): """Starts the SchoolTool HTTP server.
|
da1dca3f77b894f6d64135657128f461356526df /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7127/da1dca3f77b894f6d64135657128f461356526df/main.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
12,
2890,
16,
833,
4672,
3536,
11203,
326,
348,
343,
1371,
6364,
2239,
1438,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2774,
12,
2890,
16,
833,
4672,
3536,
11203,
326,
348,
343,
1371,
6364,
2239,
1438,
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
] |
format = '%(message)s'
|
msg_format = '%(message)s'
|
def setup_logger(options): """Setup the global (root, basic) configuration for logging.""" format = '%(message)s' if options.debug: level = logging.DEBUG format = '%(levelname)s:%(name)s:%(message)s' elif options.verbose: level = logging.DEBUG elif options.quiet: level = logging.ERROR else: level = logging.INFO logging.basicConfig(level=level, format=format) # XXX: Inappropriate location (style-wise). if options.debug or options.verbose: import gdata LOG.debug('Gdata will be imported from ' + gdata.__file__)
|
d06210e4550685a6f56af05f975818b155b4b91e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2899/d06210e4550685a6f56af05f975818b155b4b91e/google.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3875,
67,
4901,
12,
2116,
4672,
3536,
7365,
326,
2552,
261,
3085,
16,
5337,
13,
1664,
364,
2907,
12123,
1234,
67,
2139,
273,
21063,
2150,
13,
87,
11,
309,
702,
18,
4148,
30,
1801,
273,
2907,
18,
9394,
740,
273,
21063,
31994,
13,
87,
5319,
12,
529,
13,
87,
5319,
12,
2150,
13,
87,
11,
1327,
702,
18,
11369,
30,
1801,
273,
2907,
18,
9394,
1327,
702,
18,
20380,
30,
1801,
273,
2907,
18,
3589,
469,
30,
1801,
273,
2907,
18,
5923,
2907,
18,
13240,
809,
12,
2815,
33,
2815,
16,
740,
33,
2139,
13,
225,
468,
11329,
30,
657,
438,
5986,
566,
340,
2117,
261,
4060,
17,
2460,
2934,
309,
702,
18,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3875,
67,
4901,
12,
2116,
4672,
3536,
7365,
326,
2552,
261,
3085,
16,
5337,
13,
1664,
364,
2907,
12123,
1234,
67,
2139,
273,
21063,
2150,
13,
87,
11,
309,
702,
18,
4148,
30,
1801,
273,
2907,
18,
9394,
740,
273,
21063,
31994,
13,
87,
5319,
12,
529,
13,
87,
5319,
12,
2150,
13,
87,
11,
1327,
702,
18,
11369,
30,
1801,
273,
2907,
18,
9394,
1327,
702,
18,
20380,
30,
1801,
273,
2907,
18,
3589,
469,
30,
1801,
273,
2907,
18,
5923,
2907,
18,
13240,
809,
12,
2815,
33,
2815,
16,
740,
33,
2139,
13,
225,
468,
11329,
30,
657,
438,
5986,
566,
340,
2117,
261,
4060,
17,
2460,
2934,
309,
702,
18,
4148,
578,
702,
18,
11369,
2
] |
q = self.get_table().insert() self.assertRaisesAny(q.execute, coldata)
|
query = self.get_table().insert() self.assertRaisesAny(query.execute, coldata)
|
def not_nullable(self): """Check that certain columns of a table are not nullable. Specify the ``not_nullables`` class variable with a list of column names that must not be null, and this method will insert into the table rows with each set to null and test for an exception from the database layer. """
|
e26115b12b8916821fc089470a71b177e9807d0e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12856/e26115b12b8916821fc089470a71b177e9807d0e/__init__.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
486,
67,
20247,
12,
2890,
4672,
3536,
1564,
716,
8626,
2168,
434,
279,
1014,
854,
486,
8413,
18,
225,
21664,
326,
12176,
902,
67,
2011,
1538,
10335,
667,
2190,
598,
279,
666,
434,
1057,
1257,
716,
1297,
486,
506,
446,
16,
471,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
486,
67,
20247,
12,
2890,
4672,
3536,
1564,
716,
8626,
2168,
434,
279,
1014,
854,
486,
8413,
18,
225,
21664,
326,
12176,
902,
67,
2011,
1538,
10335,
667,
2190,
598,
279,
666,
434,
1057,
1257,
716,
1297,
486,
506,
446,
16,
471,
333,
707,
903,
2243,
1368,
326,
1014,
2595,
598,
1517,
444,
358,
446,
471,
1842,
364,
392,
1520,
628,
326,
2063,
3018,
18,
3536,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
"Change view so that the entire model fits in the glpane." part = self.part part.computeBoundingBox() scale = float( part.bbox.scale() * .75)
|
"Change view so that the entire model fits in the glpane. If <fast> is True, then snap to the view (i.e. don't animate)" bbox = BBox() for mol in self.assy.molecules: if mol.hidden or mol.display == diINVISIBLE: continue bbox.merge(mol.bbox) center = bbox.center() scale = float( bbox.scale() * .75)
|
def setViewFitToWindow(self, fast=False): "Change view so that the entire model fits in the glpane." #Recalculate center and bounding box for the current part part = self.part part.computeBoundingBox() scale = float( part.bbox.scale() * .75) #bruce 050616 added float() as a precaution, probably not needed # appropriate height to show everything, for square or wide glpane [bruce 050616 comment] aspect = float(self.width) / self.height if aspect < 1.0: # tall (narrow) glpane -- need to increase self.scale # (defined in terms of glpane height) so part bbox fits in width # [bruce 050616 comment] scale /= aspect pov = V(-part.center[0], -part.center[1], -part.center[2]) if fast: self.snapToView(self.quat, scale, pov, 1.0) else: self.animateToView(self.quat, scale, pov, 1.0)
|
724d682b036849f840cb9e8a7bea953ecce28880 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/724d682b036849f840cb9e8a7bea953ecce28880/GLPane.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
19923,
14219,
774,
3829,
12,
2890,
16,
4797,
33,
8381,
4672,
315,
3043,
1476,
1427,
716,
326,
7278,
938,
13351,
316,
326,
5118,
29009,
1199,
468,
426,
11162,
4617,
471,
7552,
3919,
364,
326,
783,
1087,
1087,
273,
365,
18,
2680,
1087,
18,
9200,
19020,
1435,
3159,
273,
1431,
12,
1087,
18,
20737,
18,
5864,
1435,
380,
263,
5877,
13,
468,
2848,
3965,
374,
3361,
26,
2313,
3096,
1431,
1435,
487,
279,
675,
5353,
1421,
16,
8656,
486,
3577,
468,
5505,
2072,
358,
2405,
7756,
16,
364,
8576,
578,
14812,
5118,
29009,
306,
2848,
3965,
374,
3361,
26,
2313,
2879,
65,
9648,
273,
1431,
12,
2890,
18,
2819,
13,
342,
365,
18,
4210,
309,
9648,
411,
404,
18,
20,
30,
468,
268,
454,
261,
82,
7815,
13,
5118,
29009,
1493,
1608,
358,
10929,
365,
18,
5864,
468,
261,
2178,
316,
6548,
434,
5118,
29009,
2072,
13,
1427,
1087,
8472,
13351,
316,
1835,
468,
306,
2848,
3965,
374,
3361,
26,
2313,
2879,
65,
3159,
9531,
9648,
293,
1527,
273,
776,
19236,
2680,
18,
5693,
63,
20,
6487,
300,
2680,
18,
5693,
63,
21,
6487,
300,
2680,
18,
5693,
63,
22,
5717,
309,
4797,
30,
365,
18,
28449,
774,
1767,
12,
2890,
18,
372,
270,
16,
3159,
16,
293,
1527,
16,
404,
18,
20,
13,
469,
30,
365,
18,
304,
4988,
774,
1767,
12,
2890,
18,
372,
270,
16,
3159,
16,
293,
1527,
16,
404,
18,
20,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
19923,
14219,
774,
3829,
12,
2890,
16,
4797,
33,
8381,
4672,
315,
3043,
1476,
1427,
716,
326,
7278,
938,
13351,
316,
326,
5118,
29009,
1199,
468,
426,
11162,
4617,
471,
7552,
3919,
364,
326,
783,
1087,
1087,
273,
365,
18,
2680,
1087,
18,
9200,
19020,
1435,
3159,
273,
1431,
12,
1087,
18,
20737,
18,
5864,
1435,
380,
263,
5877,
13,
468,
2848,
3965,
374,
3361,
26,
2313,
3096,
1431,
1435,
487,
279,
675,
5353,
1421,
16,
8656,
486,
3577,
468,
5505,
2072,
358,
2405,
7756,
16,
364,
8576,
578,
14812,
5118,
29009,
306,
2848,
3965,
374,
3361,
26,
2313,
2879,
65,
9648,
273,
1431,
12,
2890,
18,
2819,
13,
342,
365,
18,
4210,
309,
9648,
411,
404,
18,
2
] |
default alt_loc. The iteration is preformed in order according to
|
default alt_loc. The iteration is preformed in order according to
|
def iter_atoms(self): """Iterates over all Atom objects in the default Model, using the default alt_loc. The iteration is preformed in order according to the Chain and Fragment ordering rules the Atom object is a part of. """ if self.default_model is None: raise StopIteration for chain in self.default_model.chain_list: for frag in chain.fragment_list: for atm in frag.atom_list: yield atm
|
a181eacbeb3c68b8f7caba918a821d3f3e6c50f6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10674/a181eacbeb3c68b8f7caba918a821d3f3e6c50f6/Structure.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1400,
67,
14937,
12,
2890,
4672,
3536,
22051,
1879,
777,
7149,
2184,
316,
326,
805,
3164,
16,
1450,
326,
805,
3770,
67,
1829,
18,
1021,
6532,
353,
675,
7312,
316,
1353,
4888,
358,
326,
7824,
471,
18009,
9543,
2931,
326,
7149,
733,
353,
279,
1087,
434,
18,
3536,
309,
365,
18,
1886,
67,
2284,
353,
599,
30,
1002,
16179,
225,
364,
2687,
316,
365,
18,
1886,
67,
2284,
18,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
67,
14937,
12,
2890,
4672,
3536,
22051,
1879,
777,
7149,
2184,
316,
326,
805,
3164,
16,
1450,
326,
805,
3770,
67,
1829,
18,
1021,
6532,
353,
675,
7312,
316,
1353,
4888,
358,
326,
7824,
471,
18009,
9543,
2931,
326,
7149,
733,
353,
279,
1087,
434,
18,
3536,
309,
365,
18,
1886,
67,
2284,
353,
599,
30,
1002,
16179,
225,
364,
2687,
316,
365,
18,
1886,
67,
2284,
18,
5639,
67,
1098,
30,
364,
10111,
316,
2687,
18,
11956,
67,
1098,
30,
364,
622,
81,
316,
10111,
18,
7466,
67,
1098,
30,
2824,
622,
81,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
(step, self.linesearch_stop_code)
|
(step, ('energy decreased' if new_energy < cur_energy else 'iteration limit reached')) if not dostep: p.restore(bup)
|
def _step_direction(self, p): grad, step_coeff = \ super(gd_linesearch_update, self)._step_direction(p) feval = self.feval states = p.states bup = p.backup() stop = self.max_line_steps step = 0 cur_energy = feval() new_energy = np.infty while new_energy > cur_energy and step != stop: for (g, state) in zip(grad,states): state.x += step_coeff * g new_energy = feval()
|
0ba80740ba1ae1f95289a79fc05208c58ebe6f01 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9024/0ba80740ba1ae1f95289a79fc05208c58ebe6f01/parameter.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4119,
67,
9855,
12,
2890,
16,
293,
4672,
6058,
16,
2235,
67,
18132,
273,
521,
2240,
12,
19016,
67,
3548,
73,
991,
67,
2725,
16,
365,
2934,
67,
4119,
67,
9855,
12,
84,
13,
225,
1656,
1125,
225,
273,
365,
18,
3030,
1125,
5493,
273,
293,
18,
7992,
324,
416,
565,
273,
293,
18,
9572,
1435,
2132,
282,
273,
365,
18,
1896,
67,
1369,
67,
8986,
2235,
282,
273,
374,
225,
662,
67,
15358,
273,
1656,
1125,
1435,
394,
67,
15358,
273,
1130,
18,
267,
1222,
93,
225,
1323,
394,
67,
15358,
405,
662,
67,
15358,
471,
2235,
480,
2132,
30,
364,
261,
75,
16,
919,
13,
316,
3144,
12,
9974,
16,
7992,
4672,
919,
18,
92,
1011,
2235,
67,
18132,
380,
314,
225,
394,
67,
15358,
273,
1656,
1125,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4119,
67,
9855,
12,
2890,
16,
293,
4672,
6058,
16,
2235,
67,
18132,
273,
521,
2240,
12,
19016,
67,
3548,
73,
991,
67,
2725,
16,
365,
2934,
67,
4119,
67,
9855,
12,
84,
13,
225,
1656,
1125,
225,
273,
365,
18,
3030,
1125,
5493,
273,
293,
18,
7992,
324,
416,
565,
273,
293,
18,
9572,
1435,
2132,
282,
273,
365,
18,
1896,
67,
1369,
67,
8986,
2235,
282,
273,
374,
225,
662,
67,
15358,
273,
1656,
1125,
1435,
394,
67,
15358,
273,
1130,
18,
267,
1222,
93,
225,
1323,
394,
67,
15358,
405,
662,
67,
15358,
471,
2235,
480,
2132,
30,
364,
261,
75,
16,
919,
13,
316,
3144,
12,
9974,
16,
7992,
4672,
919,
18,
92,
2
] |
self.has_changed = True
|
self.has_changed = True
|
def touch_handler(self, key, handler=None): key = self.normalize_key(key)
|
c96c012a52029f61b08814f16a9993e67153d063 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12681/c96c012a52029f61b08814f16a9993e67153d063/database.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6920,
67,
4176,
12,
2890,
16,
498,
16,
1838,
33,
7036,
4672,
498,
273,
365,
18,
12237,
67,
856,
12,
856,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
6920,
67,
4176,
12,
2890,
16,
498,
16,
1838,
33,
7036,
4672,
498,
273,
365,
18,
12237,
67,
856,
12,
856,
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
] |
else:
|
elif style == 'arrowhead-to-bp':
|
"#doc [dispdef can be None if not known to caller]"
|
cd79836bc81615ff8f163132777c1b0ff2d5f998 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11221/cd79836bc81615ff8f163132777c1b0ff2d5f998/chem.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
6619,
2434,
306,
25453,
536,
848,
506,
599,
309,
486,
4846,
358,
4894,
4279,
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,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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
] |
bayes_options_filename = os.path.join(self.data_directory, "default_bayes_customize.ini") import_core_spambayes_stuff(bayes_options_filename)
|
bayes_option_filenames = [] for look_dir in [self.application_directory, self.data_directory]: look_file = os.path.join(look_dir, "default_bayes_customize.ini") if os.path.isfile(look_file): bayes_option_filenames.append(look_file) import_core_spambayes_stuff(bayes_option_filenames)
|
def __init__(self, config_base="default", outlook=None, verbose=0): self.never_configured = True self.reported_error_map = {} self.reported_startup_error = False self.config = self.options = None self.addin = None self.verbose = verbose self.outlook = outlook self.dialog_parser = None self.test_suite_running = False
|
f61459525c99550a047f75d3bfd18c27348ca55b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9857/f61459525c99550a047f75d3bfd18c27348ca55b/manager.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
642,
67,
1969,
1546,
1886,
3113,
596,
7330,
33,
7036,
16,
3988,
33,
20,
4672,
365,
18,
4644,
502,
67,
16449,
273,
1053,
365,
18,
266,
1798,
67,
1636,
67,
1458,
273,
2618,
365,
18,
266,
1798,
67,
23939,
67,
1636,
273,
1083,
365,
18,
1425,
273,
365,
18,
2116,
273,
599,
365,
18,
1289,
267,
273,
599,
365,
18,
11369,
273,
3988,
365,
18,
659,
7330,
273,
596,
7330,
365,
18,
12730,
67,
4288,
273,
599,
365,
18,
3813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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
642,
67,
1969,
1546,
1886,
3113,
596,
7330,
33,
7036,
16,
3988,
33,
20,
4672,
365,
18,
4644,
502,
67,
16449,
273,
1053,
365,
18,
266,
1798,
67,
1636,
67,
1458,
273,
2618,
365,
18,
266,
1798,
67,
23939,
67,
1636,
273,
1083,
365,
18,
1425,
273,
365,
18,
2116,
273,
599,
365,
18,
1289,
267,
273,
599,
365,
18,
11369,
273,
3988,
365,
18,
659,
7330,
273,
596,
7330,
365,
18,
12730,
67,
4288,
273,
599,
365,
18,
3813,
67,
30676,
67,
8704,
273,
1083,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
os.removedirs(path)
|
shutil.rmtree(path)
|
def read_data(path): f = open(path) data = f.read() f.close() return data
|
cdeda9aab24854e9c13f72b2b392a3a482b0afbe /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8125/cdeda9aab24854e9c13f72b2b392a3a482b0afbe/test_shutil.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
67,
892,
12,
803,
4672,
284,
273,
1696,
12,
803,
13,
501,
273,
284,
18,
896,
1435,
284,
18,
4412,
1435,
327,
501,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
67,
892,
12,
803,
4672,
284,
273,
1696,
12,
803,
13,
501,
273,
284,
18,
896,
1435,
284,
18,
4412,
1435,
327,
501,
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
] |
if self._prop['hold']: if not None in self._prop['xlim']: xlim = self._check_lim(self._prop['xlim'], xlim) if not None in self._prop['ylim']: ylim = self._check_lim(self._prop['ylim'], ylim) if not None in self._prop['zlim']: zlim = self._check_lim(self._prop['zlim'], zlim)
|
if not None in self._prop['xlim']: xlim = self._check_lim(self._prop['xlim'], xlim) if not None in self._prop['ylim']: ylim = self._check_lim(self._prop['ylim'], ylim) if not None in self._prop['zlim']: zlim = self._check_lim(self._prop['zlim'], zlim)
|
def _update_limits(self, item): """ Update axis limits according to the PlotProperties given in 'item'. """ xlim = item.get('xlim') ylim = item.get('ylim') zlim = item.get('zlim') if self._prop['hold']: # update limits as necessary: if not None in self._prop['xlim']: xlim = self._check_lim(self._prop['xlim'], xlim) if not None in self._prop['ylim']: ylim = self._check_lim(self._prop['ylim'], ylim) if not None in self._prop['zlim']: zlim = self._check_lim(self._prop['zlim'], zlim) self._prop['xlim'] = xlim self._prop['ylim'] = ylim self._prop['zlim'] = zlim
|
c8ea790ab23e6d82a1828cb8b3aa7a907ce1cb8d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4727/c8ea790ab23e6d82a1828cb8b3aa7a907ce1cb8d/common.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2725,
67,
14270,
12,
2890,
16,
761,
4672,
3536,
2315,
2654,
8181,
4888,
358,
326,
15211,
2297,
864,
316,
296,
1726,
10332,
3536,
19744,
273,
761,
18,
588,
2668,
21611,
6134,
18447,
273,
761,
18,
588,
2668,
20435,
6134,
998,
7091,
273,
761,
18,
588,
2668,
94,
7091,
6134,
309,
365,
6315,
5986,
3292,
21056,
3546,
30,
468,
1089,
8181,
487,
4573,
30,
309,
486,
599,
316,
365,
6315,
5986,
3292,
21611,
3546,
30,
19744,
273,
365,
6315,
1893,
67,
7091,
12,
2890,
6315,
5986,
3292,
21611,
17337,
19744,
13,
309,
486,
599,
316,
365,
6315,
5986,
3292,
20435,
3546,
30,
18447,
273,
365,
6315,
1893,
67,
7091,
12,
2890,
6315,
5986,
3292,
20435,
17337,
18447,
13,
309,
486,
599,
316,
365,
6315,
5986,
3292,
94,
7091,
3546,
30,
998,
7091,
273,
365,
6315,
1893,
67,
7091,
12,
2890,
6315,
5986,
3292,
94,
7091,
17337,
998,
7091,
13,
365,
6315,
5986,
3292,
21611,
3546,
273,
19744,
365,
6315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
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2725,
67,
14270,
12,
2890,
16,
761,
4672,
3536,
2315,
2654,
8181,
4888,
358,
326,
15211,
2297,
864,
316,
296,
1726,
10332,
3536,
19744,
273,
761,
18,
588,
2668,
21611,
6134,
18447,
273,
761,
18,
588,
2668,
20435,
6134,
998,
7091,
273,
761,
18,
588,
2668,
94,
7091,
6134,
309,
365,
6315,
5986,
3292,
21056,
3546,
30,
468,
1089,
8181,
487,
4573,
30,
309,
486,
599,
316,
365,
6315,
5986,
3292,
21611,
3546,
30,
19744,
273,
365,
6315,
1893,
67,
7091,
12,
2890,
6315,
5986,
3292,
21611,
17337,
19744,
13,
309,
486,
599,
316,
365,
6315,
5986,
3292,
20435,
3546,
30,
18447,
273,
365,
6315,
1893,
67,
7091,
12,
2890,
6315,
5986,
3292,
20435,
17337,
18447,
13,
2
] |
except core.SubversionException, e:
|
except (core.SubversionException, AttributeError), e:
|
def blame_receiver(line_no, revision, author, date, line, pool): annotations.append(revision)
|
ff15ef4d4eedea2f1d3941e7bf7b557714b90644 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2831/ff15ef4d4eedea2f1d3941e7bf7b557714b90644/svn_fs.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2811,
339,
67,
24454,
12,
1369,
67,
2135,
16,
6350,
16,
2869,
16,
1509,
16,
980,
16,
2845,
4672,
5617,
18,
6923,
12,
13057,
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,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2811,
339,
67,
24454,
12,
1369,
67,
2135,
16,
6350,
16,
2869,
16,
1509,
16,
980,
16,
2845,
4672,
5617,
18,
6923,
12,
13057,
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
] |
if valign != 'BOTTOM' or just != 'LEFT': W = [] w, h = _listCellGeom(cellval,colwidth,cellstyle,W=W)
|
W = [] H = [] w, h = _listCellGeom(cellval,colwidth,cellstyle,W=W, H=H) if valign=='TOP': y = rowpos + rowheight - cellstyle.topPadding elif valign=='BOTTOM': y = rowpos+cellstyle.bottomPadding + h
|
def _drawCell(self, cellval, cellstyle, (colpos, rowpos), (colwidth, rowheight)): if self._curcellstyle is not cellstyle: cur = self._curcellstyle if cur is None or cellstyle.color != cur.color: self.canv.setFillColor(cellstyle.color) if cur is None or cellstyle.leading != cur.leading or cellstyle.fontname != cur.fontname or cellstyle.fontsize != cur.fontsize: self.canv.setFont(cellstyle.fontname, cellstyle.fontsize, cellstyle.leading) self._curcellstyle = cellstyle
|
9f5a788184a7139b9b717f8b6082af233464645d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/9f5a788184a7139b9b717f8b6082af233464645d/tables.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
9446,
4020,
12,
2890,
16,
2484,
1125,
16,
2484,
4060,
16,
261,
1293,
917,
16,
1027,
917,
3631,
261,
1293,
2819,
16,
1027,
4210,
3719,
30,
309,
365,
6315,
1397,
3855,
4060,
353,
486,
2484,
4060,
30,
662,
273,
365,
6315,
1397,
3855,
4060,
309,
662,
353,
599,
578,
2484,
4060,
18,
3266,
480,
662,
18,
3266,
30,
365,
18,
4169,
90,
18,
542,
8026,
2957,
12,
3855,
4060,
18,
3266,
13,
309,
662,
353,
599,
578,
2484,
4060,
18,
27200,
480,
662,
18,
27200,
578,
2484,
4060,
18,
5776,
529,
480,
662,
18,
5776,
529,
578,
2484,
4060,
18,
23055,
480,
662,
18,
23055,
30,
365,
18,
4169,
90,
18,
542,
5711,
12,
3855,
4060,
18,
5776,
529,
16,
2484,
4060,
18,
23055,
16,
2484,
4060,
18,
27200,
13,
365,
6315,
1397,
3855,
4060,
273,
2484,
4060,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
9446,
4020,
12,
2890,
16,
2484,
1125,
16,
2484,
4060,
16,
261,
1293,
917,
16,
1027,
917,
3631,
261,
1293,
2819,
16,
1027,
4210,
3719,
30,
309,
365,
6315,
1397,
3855,
4060,
353,
486,
2484,
4060,
30,
662,
273,
365,
6315,
1397,
3855,
4060,
309,
662,
353,
599,
578,
2484,
4060,
18,
3266,
480,
662,
18,
3266,
30,
365,
18,
4169,
90,
18,
542,
8026,
2957,
12,
3855,
4060,
18,
3266,
13,
309,
662,
353,
599,
578,
2484,
4060,
18,
27200,
480,
662,
18,
27200,
578,
2484,
4060,
18,
5776,
529,
480,
662,
18,
5776,
529,
578,
2484,
4060,
18,
23055,
480,
662,
18,
23055,
30,
365,
18,
4169,
90,
18,
542,
5711,
12,
3855,
4060,
18,
2
] |
if resp[0] != '3':
|
if not resp.startswith(b'3'):
|
def post(self, f): """Process a POST command. Arguments: - f: file containing the article Returns: - resp: server response if successful"""
|
17de0ac39e028b8777529030dfc984cdf592a543 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12029/17de0ac39e028b8777529030dfc984cdf592a543/nntplib.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1603,
12,
2890,
16,
284,
4672,
3536,
2227,
279,
5485,
1296,
18,
225,
13599,
30,
300,
284,
30,
585,
4191,
326,
7559,
2860,
30,
300,
1718,
30,
1438,
766,
309,
6873,
8395,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] |
content = mg.content
|
self.logger.debug("ModelGroup(%r) contents(%r): %s" % (mg, mg.content, self._item.getItemTrace()))
|
def _setTypecodeList(self): """generates ofwhat content, minOccurs/maxOccurs facet generation. Dependency instance attribute: mgContent -- expected to be either a complex definition with model group content, a model group, or model group content. TODO: should only support the first two. localTypes -- produce local class definitions later tcListElements -- elements, local/global """ flattened = [] content = self.mgContent if type(self.mgContent) is not tuple: mg = self.mgContent if not mg.isModelGroup(): mg = mg.content content = mg.content if mg.isAll(): flattend = content content = [] elif mg.isModelGroup() and mg.isDefinition(): mg = mg.content content = mg.content idx = 0 content = list(content) while idx < len(content): c = orig = content[idx] if c.isElement(): flattened.append(c) idx += 1 continue if c.isReference() and c.isModelGroup(): c = c.getModelGroupReference() if c.isDefinition() and c.isModelGroup(): c = c.content if c.isSequence() or c.isChoice(): begIdx = idx endIdx = begIdx + len(c.content) for i in range(begIdx, endIdx): content.insert(i, c.content[i-begIdx]) content.remove(orig) continue raise ContainerError, 'unexpected schema item: %s' %c.getItemTrace()
|
5a63ff860ff4ca34a4be7e3546b2601faf89cfd7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/5a63ff860ff4ca34a4be7e3546b2601faf89cfd7/containers.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
542,
559,
710,
682,
12,
2890,
4672,
3536,
3441,
815,
434,
23770,
913,
16,
1131,
31084,
19,
1896,
31084,
11082,
9377,
18,
11993,
791,
1566,
30,
11174,
1350,
1493,
2665,
358,
506,
3344,
279,
7233,
2379,
598,
938,
1041,
913,
16,
279,
938,
1041,
16,
578,
938,
1041,
913,
18,
225,
2660,
30,
1410,
1338,
2865,
326,
1122,
2795,
18,
1191,
2016,
1493,
11402,
1191,
667,
6377,
5137,
1715,
682,
3471,
1493,
2186,
16,
1191,
19,
6347,
3536,
14171,
273,
5378,
913,
273,
365,
18,
81,
75,
1350,
309,
618,
12,
2890,
18,
81,
75,
1350,
13,
353,
486,
3193,
30,
11174,
273,
365,
18,
81,
75,
1350,
309,
486,
11174,
18,
291,
1488,
1114,
13332,
11174,
273,
11174,
18,
1745,
225,
365,
18,
4901,
18,
4148,
2932,
1488,
1114,
9275,
86,
13,
2939,
9275,
86,
4672,
738,
87,
6,
738,
261,
81,
75,
16,
11174,
18,
1745,
16,
365,
6315,
1726,
18,
588,
1180,
3448,
1435,
3719,
282,
309,
11174,
18,
291,
1595,
13332,
3569,
17445,
273,
913,
913,
273,
5378,
1327,
11174,
18,
291,
1488,
1114,
1435,
471,
11174,
18,
291,
1852,
13332,
11174,
273,
11174,
18,
1745,
365,
18,
4901,
18,
4148,
2932,
1488,
1114,
9275,
86,
13,
2939,
9275,
86,
4672,
738,
87,
6,
738,
261,
81,
75,
16,
11174,
18,
1745,
16,
365,
6315,
1726,
18,
588,
1180,
3448,
1435,
3719,
565,
2067,
273,
374,
913,
273,
666,
12,
1745,
13,
1323,
2067,
411,
562,
12,
1745,
4672,
276,
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,
389,
542,
559,
710,
682,
12,
2890,
4672,
3536,
3441,
815,
434,
23770,
913,
16,
1131,
31084,
19,
1896,
31084,
11082,
9377,
18,
11993,
791,
1566,
30,
11174,
1350,
1493,
2665,
358,
506,
3344,
279,
7233,
2379,
598,
938,
1041,
913,
16,
279,
938,
1041,
16,
578,
938,
1041,
913,
18,
225,
2660,
30,
1410,
1338,
2865,
326,
1122,
2795,
18,
1191,
2016,
1493,
11402,
1191,
667,
6377,
5137,
1715,
682,
3471,
1493,
2186,
16,
1191,
19,
6347,
3536,
14171,
273,
5378,
913,
273,
365,
18,
81,
75,
1350,
309,
618,
12,
2890,
18,
81,
75,
1350,
13,
353,
486,
3193,
30,
11174,
273,
365,
18,
81,
75,
1350,
309,
486,
11174,
18,
291,
1488,
1114,
13332,
11174,
2
] |
print 'MAKING q2q service for', certificateEntity
|
def _makeQ2QService(self, certificateEntity, pff=None): print 'MAKING q2q service for', certificateEntity svc = q2q.Q2QService(pff, q2qPortnum=0, inboundTCPPortnum=self.inboundTCPPortnum) svc.udpEnabled = self.udpEnabled svc.virtualEnabled = self.virtualEnabled if '@' not in certificateEntity: svc.certificateStorage.addPrivateCertificate(certificateEntity) svc.debugName = certificateEntity return svc
|
e56dcf564dc442d95c85eb44f592b6672bad21ad /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8962/e56dcf564dc442d95c85eb44f592b6672bad21ad/test_q2q.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
6540,
53,
22,
53,
1179,
12,
2890,
16,
4944,
1943,
16,
293,
1403,
33,
7036,
4672,
7538,
273,
1043,
22,
85,
18,
53,
22,
53,
1179,
12,
84,
1403,
16,
1043,
22,
85,
2617,
2107,
33,
20,
16,
13357,
13891,
2617,
2107,
33,
2890,
18,
267,
3653,
13891,
2617,
2107,
13,
7538,
18,
26029,
1526,
273,
365,
18,
26029,
1526,
7538,
18,
12384,
1526,
273,
365,
18,
12384,
1526,
309,
9175,
486,
316,
4944,
1943,
30,
7538,
18,
14108,
3245,
18,
1289,
6014,
4719,
12,
14108,
1943,
13,
7538,
18,
4148,
461,
273,
4944,
1943,
327,
7538,
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,
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891,
2617,
2107,
33,
2890,
18,
267,
3653,
13891,
2617,
2107,
13,
7538,
18,
26029,
1526,
273,
365,
18,
26029,
1526,
7538,
18,
12384,
1526,
273,
365,
18,
12384,
1526,
309,
9175,
486,
316,
4944,
1943,
30,
7538,
18,
14108,
3245,
18,
1289,
6014,
4719,
12,
14108,
1943,
13,
7538,
18,
4148,
461,
273,
4944,
1943,
327,
7538,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
vbox.pack_start(hbox, False, False)
|
vbox.pack_start(hbox1, False, False) vbox.pack_start(hbox2, False, False)
|
def __init__(self, in_path = None): rox.Window.__init__(self) self.set_title(APP_NAME) self.set_default_size(550, 500) self.cancel = False self.running = False self.selected = False self.path = '' self.what = '' self.where = '' toolbar = gtk.Toolbar() toolbar.set_style(gtk.TOOLBAR_ICONS) toolbar.insert_stock(gtk.STOCK_CLOSE, _('Close'), None, self.close, None, -1) self.show_btn = toolbar.insert_stock(gtk.STOCK_GO_UP, _('Show file'), None, self.show_dir, None, -1) self.find_btn = toolbar.insert_stock(gtk.STOCK_EXECUTE, _('Find'), None, self.start_find, None, -1) self.clear_btn = toolbar.insert_stock(gtk.STOCK_CLEAR, _('Clear'), None, self.clear, None, -1) self.cancel_btn = toolbar.insert_stock(gtk.STOCK_STOP, _('Cancel'), None, self.cancel_find, None, -1) toolbar.insert_stock(gtk.STOCK_PREFERENCES, _('Settings'), None, self.edit_options, None, -1)
|
438364b32a747fe39be6e8f2ea68669bc697db81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5002/438364b32a747fe39be6e8f2ea68669bc697db81/filefind.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
316,
67,
803,
273,
599,
4672,
721,
92,
18,
3829,
16186,
2738,
972,
12,
2890,
13,
365,
18,
542,
67,
2649,
12,
7215,
67,
1985,
13,
365,
18,
542,
67,
1886,
67,
1467,
12,
2539,
20,
16,
6604,
13,
225,
365,
18,
10996,
273,
1083,
365,
18,
8704,
273,
1083,
365,
18,
8109,
273,
1083,
365,
18,
803,
273,
875,
365,
18,
23770,
273,
875,
365,
18,
6051,
273,
875,
225,
12748,
273,
22718,
18,
17907,
1435,
12748,
18,
542,
67,
4060,
12,
4521,
79,
18,
26263,
21908,
67,
21745,
55,
13,
12748,
18,
6387,
67,
15381,
12,
4521,
79,
18,
31487,
3507,
67,
13384,
16,
389,
2668,
4605,
19899,
599,
16,
365,
18,
4412,
16,
599,
16,
300,
21,
13,
365,
18,
4500,
67,
11898,
273,
12748,
18,
6387,
67,
15381,
12,
4521,
79,
18,
31487,
3507,
67,
16387,
67,
3079,
16,
389,
2668,
5706,
585,
19899,
599,
16,
365,
18,
4500,
67,
1214,
16,
599,
16,
300,
21,
13,
365,
18,
4720,
67,
11898,
273,
12748,
18,
6387,
67,
15381,
12,
4521,
79,
18,
31487,
3507,
67,
15271,
9099,
16,
389,
2668,
3125,
19899,
599,
16,
365,
18,
1937,
67,
4720,
16,
599,
16,
300,
21,
13,
365,
18,
8507,
67,
11898,
273,
12748,
18,
6387,
67,
15381,
12,
4521,
79,
18,
31487,
3507,
67,
23181,
985,
16,
389,
2668,
9094,
19899,
599,
16,
365,
18,
8507,
16,
599,
16,
300,
21,
13,
365,
18,
10996,
67,
11898,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
316,
67,
803,
273,
599,
4672,
721,
92,
18,
3829,
16186,
2738,
972,
12,
2890,
13,
365,
18,
542,
67,
2649,
12,
7215,
67,
1985,
13,
365,
18,
542,
67,
1886,
67,
1467,
12,
2539,
20,
16,
6604,
13,
225,
365,
18,
10996,
273,
1083,
365,
18,
8704,
273,
1083,
365,
18,
8109,
273,
1083,
365,
18,
803,
273,
875,
365,
18,
23770,
273,
875,
365,
18,
6051,
273,
875,
225,
12748,
273,
22718,
18,
17907,
1435,
12748,
18,
542,
67,
4060,
12,
4521,
79,
18,
26263,
21908,
67,
21745,
55,
13,
12748,
18,
6387,
67,
15381,
12,
4521,
79,
18,
31487,
3507,
67,
13384,
16,
389,
2668,
4605,
19899,
599,
16,
2
] |
else
|
else:
|
def __init__(data = None) if data == None: quickfix.DoubleField.__init__(self, 861) else quickfix.DoubleField.__init__(self, 861, data)
|
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
892,
273,
599,
13,
309,
501,
422,
599,
30,
9549,
904,
18,
5265,
974,
16186,
2738,
972,
12,
2890,
16,
1725,
9498,
13,
469,
30,
9549,
904,
18,
5265,
974,
16186,
2738,
972,
12,
2890,
16,
1725,
9498,
16,
501,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
892,
273,
599,
13,
309,
501,
422,
599,
30,
9549,
904,
18,
5265,
974,
16186,
2738,
972,
12,
2890,
16,
1725,
9498,
13,
469,
30,
9549,
904,
18,
5265,
974,
16186,
2738,
972,
12,
2890,
16,
1725,
9498,
16,
501,
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
] |
selected = self.NetworkNodes.GetSelection() if self.HelpBar and selected >= 0: window = self.NetworkNodes.GetPage(selected) selection = window.GetSelection() if selection: index, subIndex = selection if self.NodeList.IsCurrentEntry(index): self.HelpBar.SetStatusText("Index: 0x%04X"%index, 0) self.HelpBar.SetStatusText("Subindex: 0x%02X"%subIndex, 1) entryinfos = self.NodeList.GetEntryInfos(index) name = entryinfos["name"] category = "Optional" if entryinfos["need"]: category = "Mandatory" struct = "VAR" number = "" if entryinfos["struct"] & OD_IdenticalIndexes: number = " possibly defined %d times"%entryinfos["nbmax"] if entryinfos["struct"] & OD_IdenticalSubindexes: struct = "REC" elif entryinfos["struct"] & OD_MultipleSubindexes: struct = "ARRAY" text = "%s: %s entry of struct %s%s."%(name,category,struct,number) self.HelpBar.SetStatusText(text, 2)
|
if self: selected = self.NetworkNodes.GetSelection() if self.HelpBar and selected >= 0: window = self.NetworkNodes.GetPage(selected) selection = window.GetSelection() if selection: index, subIndex = selection if self.NodeList.IsCurrentEntry(index): self.HelpBar.SetStatusText("Index: 0x%04X"%index, 0) self.HelpBar.SetStatusText("Subindex: 0x%02X"%subIndex, 1) entryinfos = self.NodeList.GetEntryInfos(index) name = entryinfos["name"] category = "Optional" if entryinfos["need"]: category = "Mandatory" struct = "VAR" number = "" if entryinfos["struct"] & OD_IdenticalIndexes: number = " possibly defined %d times"%entryinfos["nbmax"] if entryinfos["struct"] & OD_IdenticalSubindexes: struct = "REC" elif entryinfos["struct"] & OD_MultipleSubindexes: struct = "ARRAY" text = "%s: %s entry of struct %s%s."%(name,category,struct,number) self.HelpBar.SetStatusText(text, 2) else: for i in xrange(3): self.HelpBar.SetStatusText("", i)
|
def RefreshStatusBar(self): selected = self.NetworkNodes.GetSelection() if self.HelpBar and selected >= 0: window = self.NetworkNodes.GetPage(selected) selection = window.GetSelection() if selection: index, subIndex = selection if self.NodeList.IsCurrentEntry(index): self.HelpBar.SetStatusText("Index: 0x%04X"%index, 0) self.HelpBar.SetStatusText("Subindex: 0x%02X"%subIndex, 1) entryinfos = self.NodeList.GetEntryInfos(index) name = entryinfos["name"] category = "Optional" if entryinfos["need"]: category = "Mandatory" struct = "VAR" number = "" if entryinfos["struct"] & OD_IdenticalIndexes: number = " possibly defined %d times"%entryinfos["nbmax"] if entryinfos["struct"] & OD_IdenticalSubindexes: struct = "REC" elif entryinfos["struct"] & OD_MultipleSubindexes: struct = "ARRAY" text = "%s: %s entry of struct %s%s."%(name,category,struct,number) self.HelpBar.SetStatusText(text, 2) else: for i in xrange(3): self.HelpBar.SetStatusText("", i) else: for i in xrange(3): self.HelpBar.SetStatusText("", i)
|
2b7fbb1fac6a6a375a61ad7642e1cab62481cb8d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/116/2b7fbb1fac6a6a375a61ad7642e1cab62481cb8d/networkedit.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
14179,
1482,
5190,
12,
2890,
4672,
309,
365,
30,
3170,
273,
365,
18,
3906,
3205,
18,
967,
6233,
1435,
309,
365,
18,
6696,
5190,
471,
3170,
1545,
374,
30,
2742,
273,
365,
18,
3906,
3205,
18,
967,
1964,
12,
8109,
13,
4421,
273,
2742,
18,
967,
6233,
1435,
309,
4421,
30,
770,
16,
720,
1016,
273,
4421,
309,
365,
18,
19914,
18,
2520,
3935,
1622,
12,
1615,
4672,
365,
18,
6696,
5190,
18,
20547,
1528,
2932,
1016,
30,
374,
92,
9,
3028,
60,
28385,
1615,
16,
374,
13,
365,
18,
6696,
5190,
18,
20547,
1528,
2932,
1676,
1615,
30,
374,
92,
9,
3103,
60,
28385,
1717,
1016,
16,
404,
13,
1241,
18227,
273,
365,
18,
19914,
18,
967,
1622,
7655,
12,
1615,
13,
508,
273,
1241,
18227,
9614,
529,
11929,
3150,
273,
315,
6542,
6,
309,
1241,
18227,
9614,
14891,
11929,
30,
3150,
273,
315,
49,
10018,
6,
1958,
273,
315,
7716,
6,
1300,
273,
1408,
309,
1241,
18227,
9614,
1697,
11929,
473,
531,
40,
67,
6106,
1706,
8639,
30,
1300,
273,
315,
10016,
2553,
738,
72,
4124,
28385,
4099,
18227,
9614,
6423,
1896,
11929,
309,
1241,
18227,
9614,
1697,
11929,
473,
531,
40,
67,
6106,
1706,
1676,
11265,
30,
1958,
273,
315,
862,
39,
6,
1327,
1241,
18227,
9614,
1697,
11929,
473,
531,
40,
67,
8438,
1676,
11265,
30,
1958,
273,
315,
8552,
6,
977,
273,
2213,
87,
30,
738,
87,
1241,
434,
1958,
738,
87,
9,
87,
1199,
17105,
529,
16,
4743,
16,
1697,
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,
14179,
1482,
5190,
12,
2890,
4672,
309,
365,
30,
3170,
273,
365,
18,
3906,
3205,
18,
967,
6233,
1435,
309,
365,
18,
6696,
5190,
471,
3170,
1545,
374,
30,
2742,
273,
365,
18,
3906,
3205,
18,
967,
1964,
12,
8109,
13,
4421,
273,
2742,
18,
967,
6233,
1435,
309,
4421,
30,
770,
16,
720,
1016,
273,
4421,
309,
365,
18,
19914,
18,
2520,
3935,
1622,
12,
1615,
4672,
365,
18,
6696,
5190,
18,
20547,
1528,
2932,
1016,
30,
374,
92,
9,
3028,
60,
28385,
1615,
16,
374,
13,
365,
18,
6696,
5190,
18,
20547,
1528,
2932,
1676,
1615,
30,
374,
92,
9,
3103,
60,
28385,
1717,
1016,
16,
404,
13,
1241,
18227,
273,
365,
18,
19914,
18,
967,
2
] |
if not node.dad.__class__.__name__ == 'DnaStrand':
|
if node.parent_node_of_class(self.assy.DnaStrand) is None:
|
def filterStrands(node): if node.__class__.__name__ == 'DnaStrand': strandList.append(node) elif isinstance(node, Chunk) and node.isStrandChunk(): if not node.dad.__class__.__name__ == 'DnaStrand': strandList.append(node)
|
1058407c629b533c5228002ab0b2b3aae47673e7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/1058407c629b533c5228002ab0b2b3aae47673e7/DnaGroup.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1034,
1585,
5708,
12,
2159,
4672,
309,
756,
16186,
1106,
972,
16186,
529,
972,
422,
296,
40,
6582,
1585,
464,
4278,
16706,
682,
18,
6923,
12,
2159,
13,
1327,
1549,
12,
2159,
16,
13021,
13,
471,
756,
18,
291,
1585,
464,
5579,
13332,
309,
756,
18,
2938,
67,
2159,
67,
792,
67,
1106,
12,
2890,
18,
428,
93,
18,
40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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1034,
1585,
5708,
12,
2159,
4672,
309,
756,
16186,
1106,
972,
16186,
529,
972,
422,
296,
40,
6582,
1585,
464,
4278,
16706,
682,
18,
6923,
12,
2159,
13,
1327,
1549,
12,
2159,
16,
13021,
13,
471,
756,
18,
291,
1585,
464,
5579,
13332,
309,
756,
18,
2938,
67,
2159,
67,
792,
67,
1106,
12,
2890,
18,
428,
93,
18,
40,
6582,
1585,
464,
13,
353,
599,
30,
16706,
682,
18,
6923,
12,
2159,
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
] |
drive_num:: An integer specifying a drive number. path:: A unicode string specifying the path.
|
@param drive_num:: An integer specifying a drive number. @param path:: A unicode string specifying the path.
|
def create_drive_subst(drive_num, path): """ Assigns a path to a drive letter. To clear an existing substitution, specify an empty string as the path. drive_num:: An integer specifying a drive number. path:: A unicode string specifying the path. """ pass
|
88b8a1bd1deaae376f22144e433e9a82abe1b629 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12774/88b8a1bd1deaae376f22144e433e9a82abe1b629/miso.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
67,
25431,
67,
1717,
334,
12,
25431,
67,
2107,
16,
589,
4672,
3536,
12093,
87,
279,
589,
358,
279,
14316,
9471,
18,
2974,
2424,
392,
2062,
12785,
16,
4800,
392,
1008,
533,
487,
326,
589,
18,
225,
632,
891,
14316,
67,
2107,
2866,
1922,
3571,
13664,
279,
14316,
1300,
18,
632,
891,
589,
2866,
432,
5252,
533,
13664,
326,
589,
18,
3536,
1342,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
67,
25431,
67,
1717,
334,
12,
25431,
67,
2107,
16,
589,
4672,
3536,
12093,
87,
279,
589,
358,
279,
14316,
9471,
18,
2974,
2424,
392,
2062,
12785,
16,
4800,
392,
1008,
533,
487,
326,
589,
18,
225,
632,
891,
14316,
67,
2107,
2866,
1922,
3571,
13664,
279,
14316,
1300,
18,
632,
891,
589,
2866,
432,
5252,
533,
13664,
326,
589,
18,
3536,
1342,
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
] |
def __init__(self, wesnoth_exe):
|
def __init__(self, wesnoth_exe, userdir, datadir):
|
def __init__(self, wesnoth_exe): self.images = {} self.paths_per_campaign = {} self.ipaths = {} self.notfound = {} self.id = 0 self.verbose = 0 self.datadir = get_datadir(wesnoth_exe) self.userdir = get_userdir(wesnoth_exe)
|
779ff4bbee41d48088a235ef744a4ffcc3c17be1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9355/779ff4bbee41d48088a235ef744a4ffcc3c17be1/helpers.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
341,
281,
902,
76,
67,
14880,
16,
729,
1214,
16,
22034,
481,
4672,
365,
18,
7369,
273,
2618,
365,
18,
4481,
67,
457,
67,
14608,
273,
2618,
365,
18,
625,
421,
87,
273,
2618,
365,
18,
902,
7015,
273,
2618,
365,
18,
350,
273,
374,
365,
18,
11369,
273,
374,
225,
365,
18,
3404,
361,
481,
273,
336,
67,
3404,
361,
481,
12,
91,
281,
902,
76,
67,
14880,
13,
365,
18,
1355,
1214,
273,
336,
67,
1355,
1214,
12,
91,
281,
902,
76,
67,
14880,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
341,
281,
902,
76,
67,
14880,
16,
729,
1214,
16,
22034,
481,
4672,
365,
18,
7369,
273,
2618,
365,
18,
4481,
67,
457,
67,
14608,
273,
2618,
365,
18,
625,
421,
87,
273,
2618,
365,
18,
902,
7015,
273,
2618,
365,
18,
350,
273,
374,
365,
18,
11369,
273,
374,
225,
365,
18,
3404,
361,
481,
273,
336,
67,
3404,
361,
481,
12,
91,
281,
902,
76,
67,
14880,
13,
365,
18,
1355,
1214,
273,
336,
67,
1355,
1214,
12,
91,
281,
902,
76,
67,
14880,
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
] |
if (getattr(self,'mailout_policy',getattr(self.folder(),'mailout_policy','')) == 'edits' and
|
if (getattr(self,'mailout_policy','') == 'edits' and
|
def rename(self,pagename, leaveplaceholder=LEAVE_PLACEHOLDER, updatebacklinks=1, sendmail=1, REQUEST=None): """ Rename this page, if permissions allow.
|
2e83b9c4b17347c8be766d29eab24dc3ad9fb75b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5225/2e83b9c4b17347c8be766d29eab24dc3ad9fb75b/Editing.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6472,
12,
2890,
16,
9095,
1069,
16,
8851,
12988,
33,
900,
26714,
67,
12134,
21424,
16,
1089,
823,
7135,
33,
21,
16,
1366,
4408,
33,
21,
16,
12492,
33,
7036,
4672,
3536,
19996,
333,
1363,
16,
309,
4371,
1699,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6472,
12,
2890,
16,
9095,
1069,
16,
8851,
12988,
33,
900,
26714,
67,
12134,
21424,
16,
1089,
823,
7135,
33,
21,
16,
1366,
4408,
33,
21,
16,
12492,
33,
7036,
4672,
3536,
19996,
333,
1363,
16,
309,
4371,
1699,
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
] |
if (filename is None) or inspect:
|
if (not files) or inspect:
|
def main(inspect=False, files=[]): jsi = JSInterpreter() for filename in files: jsi.runcodefromfile(filename) if (filename is None) or inspect: jsi.interact()
|
474bed2efeb95fbc008ca8cb10f1ee61d63a9664 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6934/474bed2efeb95fbc008ca8cb10f1ee61d63a9664/js_interactive.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
12,
12009,
33,
8381,
16,
1390,
33,
8526,
4672,
3828,
77,
273,
6756,
30010,
1435,
364,
1544,
316,
1390,
30,
3828,
77,
18,
86,
551,
390,
2080,
768,
12,
3459,
13,
309,
261,
902,
1390,
13,
578,
5334,
30,
3828,
77,
18,
2761,
621,
1435,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
12,
12009,
33,
8381,
16,
1390,
33,
8526,
4672,
3828,
77,
273,
6756,
30010,
1435,
364,
1544,
316,
1390,
30,
3828,
77,
18,
86,
551,
390,
2080,
768,
12,
3459,
13,
309,
261,
902,
1390,
13,
578,
5334,
30,
3828,
77,
18,
2761,
621,
1435,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
from pypy.translator.tool.pygame.graphviewer import GraphDisplay GraphDisplay(self, functions).run()
|
from pypy.translator.tool.pygame.flowviewer import FlowGraphLayout from pypy.translator.tool.pygame.graphdisplay import GraphDisplay GraphDisplay(FlowGraphLayout(self, list(functions))).run()
|
def view(self, *functions): """Shows the control flow graph with annotations if computed. Requires 'dot' and pygame.""" from pypy.translator.tool.pygame.graphviewer import GraphDisplay GraphDisplay(self, functions).run()
|
b65ccc8d2b21c24dd22352a9374db30b46c95725 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/b65ccc8d2b21c24dd22352a9374db30b46c95725/translator.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1476,
12,
2890,
16,
380,
10722,
4672,
3536,
24548,
326,
3325,
4693,
2667,
598,
5617,
309,
8470,
18,
16412,
296,
9811,
11,
471,
2395,
13957,
12123,
628,
18951,
93,
18,
17879,
18,
6738,
18,
2074,
13957,
18,
4660,
25256,
1930,
5601,
4236,
5601,
4236,
12,
2890,
16,
4186,
2934,
2681,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1476,
12,
2890,
16,
380,
10722,
4672,
3536,
24548,
326,
3325,
4693,
2667,
598,
5617,
309,
8470,
18,
16412,
296,
9811,
11,
471,
2395,
13957,
12123,
628,
18951,
93,
18,
17879,
18,
6738,
18,
2074,
13957,
18,
4660,
25256,
1930,
5601,
4236,
5601,
4236,
12,
2890,
16,
4186,
2934,
2681,
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
] |
self.dispname = None
|
def _post_init(self): ''' Set attributes based on self.form ''' # extract the index display information from the form self.columns = [] for name in ':columns @columns'.split(): if self.form.has_key(name): self.special_char = name[0] self.columns = handleListCGIValue(self.form[name]) break self.show = support.TruthDict(self.columns)
|
24452e4ed554aa8c3faf5f32818c6e6fa7d553d8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1906/24452e4ed554aa8c3faf5f32818c6e6fa7d553d8/templating.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2767,
67,
2738,
12,
2890,
4672,
9163,
1000,
1677,
2511,
603,
365,
18,
687,
9163,
468,
2608,
326,
770,
2562,
1779,
628,
326,
646,
365,
18,
5112,
273,
5378,
364,
508,
316,
4290,
5112,
632,
5112,
10332,
4939,
13332,
309,
365,
18,
687,
18,
5332,
67,
856,
12,
529,
4672,
365,
18,
9371,
67,
3001,
273,
508,
63,
20,
65,
365,
18,
5112,
273,
1640,
682,
39,
13797,
620,
12,
2890,
18,
687,
63,
529,
5717,
898,
365,
18,
4500,
273,
2865,
18,
1070,
795,
5014,
12,
2890,
18,
5112,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2767,
67,
2738,
12,
2890,
4672,
9163,
1000,
1677,
2511,
603,
365,
18,
687,
9163,
468,
2608,
326,
770,
2562,
1779,
628,
326,
646,
365,
18,
5112,
273,
5378,
364,
508,
316,
4290,
5112,
632,
5112,
10332,
4939,
13332,
309,
365,
18,
687,
18,
5332,
67,
856,
12,
529,
4672,
365,
18,
9371,
67,
3001,
273,
508,
63,
20,
65,
365,
18,
5112,
273,
1640,
682,
39,
13797,
620,
12,
2890,
18,
687,
63,
529,
5717,
898,
365,
18,
4500,
273,
2865,
18,
1070,
795,
5014,
12,
2890,
18,
5112,
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
] |
|
def timeofbto():
|
def timeofbto(self):
|
def timeofbto(): return datetime.datetime(datetime.date.today().year, datetime.date.today().month, datetime.date.today().day, self.bto, 0, 0)
|
fe3f7e131b15d1d29b93fafe521facd5a896eb6a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1574/fe3f7e131b15d1d29b93fafe521facd5a896eb6a/timekpr-client.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
813,
792,
70,
869,
12,
2890,
4672,
327,
3314,
18,
6585,
12,
6585,
18,
712,
18,
30064,
7675,
6874,
16,
3314,
18,
712,
18,
30064,
7675,
7496,
16,
3314,
18,
712,
18,
30064,
7675,
2881,
16,
365,
18,
70,
869,
16,
374,
16,
374,
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,
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327,
3314,
18,
6585,
12,
6585,
18,
712,
18,
30064,
7675,
6874,
16,
3314,
18,
712,
18,
30064,
7675,
7496,
16,
3314,
18,
712,
18,
30064,
7675,
2881,
16,
365,
18,
70,
869,
16,
374,
16,
374,
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
] |
if fieldset is not None:
|
if fieldsets is not None: schemata = instance.Schemata() for fieldset in fieldsets: fields += [(field.getName(), field) for field in schemata[fieldset].fields()] elif fieldset is not None:
|
def validate(self, instance=None, REQUEST=None, errors=None, data=None, metadata=None): """Validate the state of the entire object.
|
56cb458ec676f3ad5f698729f1ef14aecf96d5a7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12165/56cb458ec676f3ad5f698729f1ef14aecf96d5a7/__init__.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1954,
12,
2890,
16,
791,
33,
7036,
16,
12492,
33,
7036,
16,
1334,
33,
7036,
16,
501,
33,
7036,
16,
1982,
33,
7036,
4672,
3536,
4270,
326,
919,
434,
326,
7278,
733,
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,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1954,
12,
2890,
16,
791,
33,
7036,
16,
12492,
33,
7036,
16,
1334,
33,
7036,
16,
501,
33,
7036,
16,
1982,
33,
7036,
4672,
3536,
4270,
326,
919,
434,
326,
7278,
733,
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
] |
RW.exec_loop()
|
RW.exec_()
|
def openConfigReport(self): RW = ReportWindow.ReportWindow(self, '', 1) RW.parseConfigReport(self.reportFile, self.itemattrlist) RW.exec_loop()
|
b02b1b3c3ce350ce2866d80a832fd61c5ae3b6c0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6671/b02b1b3c3ce350ce2866d80a832fd61c5ae3b6c0/ScWindow.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1696,
809,
4820,
12,
2890,
4672,
25920,
273,
8706,
3829,
18,
4820,
3829,
12,
2890,
16,
10226,
404,
13,
25920,
18,
2670,
809,
4820,
12,
2890,
18,
6006,
812,
16,
365,
18,
1726,
1747,
1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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1696,
809,
4820,
12,
2890,
4672,
25920,
273,
8706,
3829,
18,
4820,
3829,
12,
2890,
16,
10226,
404,
13,
25920,
18,
2670,
809,
4820,
12,
2890,
18,
6006,
812,
16,
365,
18,
1726,
1747,
1098,
13,
25920,
18,
4177,
67,
6498,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
e=find(text,';',args)
|
e=find(text,';',n)
|
def search(self, text, start=0, name_match=regex.compile('[\0- ]*[a-zA-Z]+[\0- ]*').match, end_match=regex.compile('[\0- ]*\(/\|end\)', regex.casefold).match, start_search=regex.compile('[<&]').search, ent_name=regex.compile('[-a-zA-Z0-9_.]+').match, find=find, strip=strip ):
|
626960a1479cc325517d37bcbdbb2eb488e228f2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/626960a1479cc325517d37bcbdbb2eb488e228f2/DT_HTML.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1623,
12,
2890,
16,
977,
16,
787,
33,
20,
16,
508,
67,
1916,
33,
7584,
18,
11100,
2668,
7438,
20,
17,
308,
26625,
69,
17,
9600,
17,
62,
3737,
7438,
20,
17,
308,
4035,
2934,
1916,
16,
679,
67,
1916,
33,
7584,
18,
11100,
2668,
7438,
20,
17,
308,
12174,
22624,
64,
96,
409,
64,
13,
2187,
3936,
18,
3593,
16007,
2934,
1916,
16,
787,
67,
3072,
33,
7584,
18,
11100,
2668,
63,
32,
10,
3864,
2934,
3072,
16,
3281,
67,
529,
33,
7584,
18,
11100,
2668,
18919,
69,
17,
9600,
17,
62,
20,
17,
29,
27799,
3737,
16063,
1916,
16,
1104,
33,
4720,
16,
2569,
33,
6406,
262,
30,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1623,
12,
2890,
16,
977,
16,
787,
33,
20,
16,
508,
67,
1916,
33,
7584,
18,
11100,
2668,
7438,
20,
17,
308,
26625,
69,
17,
9600,
17,
62,
3737,
7438,
20,
17,
308,
4035,
2934,
1916,
16,
679,
67,
1916,
33,
7584,
18,
11100,
2668,
7438,
20,
17,
308,
12174,
22624,
64,
96,
409,
64,
13,
2187,
3936,
18,
3593,
16007,
2934,
1916,
16,
787,
67,
3072,
33,
7584,
18,
11100,
2668,
63,
32,
10,
3864,
2934,
3072,
16,
3281,
67,
529,
33,
7584,
18,
11100,
2668,
18919,
69,
17,
9600,
17,
62,
20,
17,
29,
27799,
3737,
16063,
1916,
16,
1104,
33,
4720,
16,
2569,
33,
6406,
262,
30,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
(self.resIndex(), m.resIndex() + self.lenResidues()))
|
(self.resIndex(), m.resIndex() + self.lenAtoms()))
|
def concat( self, *models ): """ Concatenate atoms, coordinates and profiles. source and fileName are lost, so are profiles that are not available in all models. model0.concat( model1 [, model2, ..]) -> single PDBModel.
|
ae0011291eb32d1b604dbfd281044d071f4bd703 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/482/ae0011291eb32d1b604dbfd281044d071f4bd703/PDBModel.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3835,
12,
365,
16,
380,
7665,
262,
30,
3536,
23873,
275,
340,
9006,
16,
5513,
471,
11788,
18,
1084,
471,
3968,
854,
13557,
16,
1427,
854,
11788,
716,
854,
486,
2319,
316,
777,
3679,
18,
938,
20,
18,
16426,
12,
938,
21,
306,
16,
938,
22,
16,
6116,
5717,
317,
2202,
21601,
1488,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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11788,
716,
854,
486,
2319,
316,
777,
3679,
18,
938,
20,
18,
16426,
12,
938,
21,
306,
16,
938,
22,
16,
6116,
5717,
317,
2202,
21601,
1488,
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
] |
mod = getattr(__import__("Bcfg2.Server.Generators.%s" % (generator)).Server.Generators, generator)
|
try: mod = getattr(__import__("Bcfg2.Server.Generators.%s" % (generator)).Server.Generators, generator) except ImportError: syslog(LOG_ERR, 'Failed to load generator %s' % (generator)) continue
|
def __init__(self, repository, structures, generators): object.__init__(self) self.datastore = repository self.fam = fam() self.pubspace = {} self.structures = [] self.cron = {} for structure in structures: mod = getattr(__import__("Bcfg2.Server.Structures.%s" % (structure)).Server.Structures, structure) struct = getattr(mod, structure) self.structures.append(struct(self, self.datastore)) self.generators = [] for generator in generators: mod = getattr(__import__("Bcfg2.Server.Generators.%s" % (generator)).Server.Generators, generator) gen = getattr(mod, generator) self.generators.append(gen(self, self.datastore)) # we need to inventory and setup generators # Process generator requirements for gen in self.generators: for prq in gen.__requires__: if not self.pubspace.has_key(prq): raise GeneratorError, (gen.name, prq) gen.CompleteSetup()
|
14f9ef1c442fdf8c03df85186a8825cae35ac99f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11867/14f9ef1c442fdf8c03df85186a8825cae35ac99f/Core.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
3352,
16,
12597,
16,
13327,
4672,
733,
16186,
2738,
972,
12,
2890,
13,
365,
18,
24522,
273,
3352,
365,
18,
74,
301,
273,
26688,
1435,
365,
18,
10174,
2981,
273,
2618,
365,
18,
27979,
273,
5378,
365,
18,
18041,
273,
2618,
364,
3695,
316,
12597,
30,
681,
273,
3869,
12,
972,
5666,
972,
2932,
38,
7066,
22,
18,
2081,
18,
3823,
1823,
7866,
87,
6,
738,
261,
7627,
13,
2934,
2081,
18,
3823,
1823,
16,
3695,
13,
1958,
273,
3869,
12,
1711,
16,
3695,
13,
365,
18,
27979,
18,
6923,
12,
1697,
12,
2890,
16,
365,
18,
24522,
3719,
365,
18,
25959,
273,
5378,
364,
4456,
316,
13327,
30,
775,
30,
681,
273,
3869,
12,
972,
5666,
972,
2932,
38,
7066,
22,
18,
2081,
18,
31452,
7866,
87,
6,
738,
261,
8812,
13,
2934,
2081,
18,
31452,
16,
4456,
13,
1335,
11308,
30,
16718,
12,
4842,
67,
9712,
16,
296,
2925,
358,
1262,
4456,
738,
87,
11,
738,
261,
8812,
3719,
1324,
3157,
273,
3869,
12,
1711,
16,
4456,
13,
365,
18,
25959,
18,
6923,
12,
4507,
12,
2890,
16,
365,
18,
24522,
3719,
468,
732,
1608,
358,
13086,
471,
3875,
13327,
468,
4389,
4456,
8433,
364,
3157,
316,
365,
18,
25959,
30,
364,
846,
85,
316,
3157,
16186,
18942,
972,
30,
309,
486,
365,
18,
10174,
2981,
18,
5332,
67,
856,
12,
683,
85,
4672,
1002,
10159,
668,
16,
261,
4507,
18,
529,
16,
846,
85,
13,
3157,
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,
2738,
972,
12,
2890,
16,
3352,
16,
12597,
16,
13327,
4672,
733,
16186,
2738,
972,
12,
2890,
13,
365,
18,
24522,
273,
3352,
365,
18,
74,
301,
273,
26688,
1435,
365,
18,
10174,
2981,
273,
2618,
365,
18,
27979,
273,
5378,
365,
18,
18041,
273,
2618,
364,
3695,
316,
12597,
30,
681,
273,
3869,
12,
972,
5666,
972,
2932,
38,
7066,
22,
18,
2081,
18,
3823,
1823,
7866,
87,
6,
738,
261,
7627,
13,
2934,
2081,
18,
3823,
1823,
16,
3695,
13,
1958,
273,
3869,
12,
1711,
16,
3695,
13,
365,
18,
27979,
18,
6923,
12,
1697,
12,
2890,
16,
365,
18,
24522,
3719,
365,
18,
25959,
273,
5378,
364,
4456,
316,
13327,
30,
775,
30,
681,
2
] |
def __init__(self, design, rho=0, **keywords): LikelihoodModel.__init__(self, **keywords)
|
def __init__(self, design, rho=0):
|
def __init__(self, design, rho=0, **keywords): LikelihoodModel.__init__(self, **keywords) self.rho = rho self.initialize(design)
|
9ddff40881d697c0b8f7657aabf6bd401fbfe489 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/9ddff40881d697c0b8f7657aabf6bd401fbfe489/regression.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
8281,
16,
10360,
33,
20,
4672,
365,
18,
25603,
273,
10360,
365,
18,
11160,
12,
16934,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
8281,
16,
10360,
33,
20,
4672,
365,
18,
25603,
273,
10360,
365,
18,
11160,
12,
16934,
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
] |
elif isinstance(programChain.container, dvdread.LangUnit):
|
elif self.inMenu():
|
def updateSubpicture(self): """Send a subpicture event corresponding to the current logical subpicture stream.""" programChain = self.currentProgramChain()
|
acc6f37c3b6853d283dea498765bf920453b9abc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5222/acc6f37c3b6853d283dea498765bf920453b9abc/machine.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
1676,
21126,
12,
2890,
4672,
3536,
3826,
279,
720,
21126,
871,
4656,
358,
326,
783,
6374,
720,
21126,
1407,
12123,
5402,
3893,
273,
365,
18,
2972,
9459,
3893,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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
] |
temp = func.runFunction(val, audio, state, audio_str)
|
temp = func.runFunction(val, audio, state)
|
def runAction(funcs, audio, state = None, quick_action=None): """Runs an action on audio funcs can be a list of Function objects or a filename of an action file (see getAction). audio must dictionary-like object.""" if isinstance(funcs, basestring): funcs = getAction(funcs)[0] if state is None: state = {} audio_str = stringtags(audio) if hasattr(audio, 'tags'): audio = deepcopy(audio.tags) else: audio = deepcopy(audio) changed = set() for func in funcs: if quick_action is None: fields = func.tag else: fields = quick_action ret = {} if fields[0] == u"__all": fields = [key for key in audio if key not in NOT_ALL] for field in fields: val = audio.get(field, u'') temp = func.runFunction(val, audio, state, audio_str) if temp is None: continue if isinstance(temp, basestring): ret[field] = temp elif hasattr(temp, 'items'): ret.update(temp) break elif hasattr(temp[0], 'items'): [ret.update(z) for z in temp] break elif isinstance(temp[0], basestring): if field in FILETAGS: ret[field] = temp[0] else: ret[field] = temp else: ret[field] = temp[0] ret = dict([z for z in ret.items() if z[1] is not None]) if ret: [changed.add(z) for z in ret] audio.update(ret) return dict([(z,audio[z]) for z in changed])
|
369fc32e9c7b6f40115e708fde31e7238e87e79a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3907/369fc32e9c7b6f40115e708fde31e7238e87e79a/findfunc.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
1803,
12,
17728,
16,
7447,
16,
919,
273,
599,
16,
9549,
67,
1128,
33,
7036,
4672,
3536,
9361,
392,
1301,
603,
7447,
225,
15630,
848,
506,
279,
666,
434,
4284,
2184,
578,
279,
1544,
434,
392,
1301,
585,
261,
5946,
12473,
2934,
7447,
1297,
3880,
17,
5625,
733,
12123,
309,
1549,
12,
17728,
16,
10699,
4672,
15630,
273,
12473,
12,
17728,
25146,
20,
65,
225,
309,
919,
353,
599,
30,
919,
273,
2618,
225,
7447,
67,
701,
273,
533,
4156,
12,
11509,
13,
309,
3859,
12,
11509,
16,
296,
4156,
11,
4672,
7447,
273,
7217,
12,
11509,
18,
4156,
13,
469,
30,
7447,
273,
7217,
12,
11509,
13,
225,
3550,
273,
444,
1435,
364,
1326,
316,
15630,
30,
309,
9549,
67,
1128,
353,
599,
30,
1466,
273,
1326,
18,
2692,
469,
30,
1466,
273,
9549,
67,
1128,
325,
273,
2618,
309,
1466,
63,
20,
65,
422,
582,
6,
972,
454,
6877,
1466,
273,
306,
856,
364,
498,
316,
7447,
309,
498,
486,
316,
4269,
67,
4685,
65,
364,
652,
316,
1466,
30,
1244,
273,
7447,
18,
588,
12,
1518,
16,
582,
11,
6134,
1906,
273,
1326,
18,
2681,
2083,
12,
1125,
16,
7447,
16,
919,
13,
309,
1906,
353,
599,
30,
1324,
309,
1549,
12,
5814,
16,
10699,
4672,
325,
63,
1518,
65,
273,
1906,
1327,
3859,
12,
5814,
16,
296,
3319,
11,
4672,
325,
18,
2725,
12,
5814,
13,
898,
1327,
3859,
12,
5814,
63,
20,
6487,
296,
3319,
11,
4672,
306,
1349,
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,
1086,
1803,
12,
17728,
16,
7447,
16,
919,
273,
599,
16,
9549,
67,
1128,
33,
7036,
4672,
3536,
9361,
392,
1301,
603,
7447,
225,
15630,
848,
506,
279,
666,
434,
4284,
2184,
578,
279,
1544,
434,
392,
1301,
585,
261,
5946,
12473,
2934,
7447,
1297,
3880,
17,
5625,
733,
12123,
309,
1549,
12,
17728,
16,
10699,
4672,
15630,
273,
12473,
12,
17728,
25146,
20,
65,
225,
309,
919,
353,
599,
30,
919,
273,
2618,
225,
7447,
67,
701,
273,
533,
4156,
12,
11509,
13,
309,
3859,
12,
11509,
16,
296,
4156,
11,
4672,
7447,
273,
7217,
12,
11509,
18,
4156,
13,
469,
30,
7447,
273,
7217,
12,
11509,
13,
225,
3550,
273,
444,
1435,
364,
1326,
316,
15630,
2
] |
def get_library_dirs(self): opt = [] if sys.platform[:5] != 'linux': d = self.get_libgcc_dir() if d: if sys.platform == 'win32' and not d.startswith('/usr/lib'): d = os.path.normpath(d) if not os.path.exists(os.path.join(d, "lib%s.a" % self.g2c)): d2 = os.path.abspath(os.path.join(d, '../../../../lib')) if os.path.exists(os.path.join(d2, "lib%s.a" % self.g2c)): opt.append(d2) opt.append(d) return opt def get_libraries(self): opt = [] d = self.get_libgcc_dir() if d is not None: g2c = self.g2c + '-pic' f = self.static_lib_format % (g2c, self.static_lib_extension) if not os.path.isfile(os.path.join(d,f)): g2c = self.g2c
|
compiler = klass(verbose=verbose, dry_run=dry_run, force=force) compiler.c_compiler = c_compiler return compiler def show_fcompilers(dist=None): """Print list of available compilers (used by the "--help-fcompiler" option to "config_fc"). """ if dist is None: from distutils.dist import Distribution from numpy.distutils.command.config_compiler import config_fc dist = Distribution() dist.script_name = os.path.basename(sys.argv[0]) dist.script_args = ['config_fc'] + sys.argv[1:] try: dist.script_args.remove('--help-fcompiler') except ValueError: pass dist.cmdclass['config_fc'] = config_fc dist.parse_config_files() dist.parse_command_line() compilers = [] compilers_na = [] compilers_ni = [] if not fcompiler_class: load_all_fcompiler_classes() platform_compilers = available_fcompilers_for_platform() for compiler in platform_compilers: v = None log.set_verbosity(-2) try: c = new_fcompiler(compiler=compiler, verbose=dist.verbose) c.customize(dist) v = c.get_version() except (DistutilsModuleError, CompilerNotFound), e: log.debug("show_fcompilers: %s not found" % (compiler,)) log.debug(repr(e)) if v is None: compilers_na.append(("fcompiler="+compiler, None, fcompiler_class[compiler][2]))
|
def get_library_dirs(self): opt = [] if sys.platform[:5] != 'linux': d = self.get_libgcc_dir() if d: # if windows and not cygwin, libg2c lies in a different folder if sys.platform == 'win32' and not d.startswith('/usr/lib'): d = os.path.normpath(d) if not os.path.exists(os.path.join(d, "lib%s.a" % self.g2c)): d2 = os.path.abspath(os.path.join(d, '../../../../lib')) if os.path.exists(os.path.join(d2, "lib%s.a" % self.g2c)): opt.append(d2) opt.append(d) return opt
|
88d8906f7b729e50947606558b12f05e24421e4d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9417/88d8906f7b729e50947606558b12f05e24421e4d/gnu.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
12083,
67,
8291,
12,
2890,
4672,
2153,
273,
5378,
309,
2589,
18,
9898,
10531,
25,
65,
480,
296,
20132,
4278,
302,
273,
365,
18,
588,
67,
2941,
75,
952,
67,
1214,
1435,
309,
302,
30,
468,
309,
9965,
471,
486,
276,
4338,
8082,
16,
2561,
75,
22,
71,
328,
606,
316,
279,
3775,
3009,
309,
2589,
18,
9898,
422,
296,
8082,
1578,
11,
471,
486,
302,
18,
17514,
1918,
2668,
19,
13640,
19,
2941,
11,
4672,
302,
273,
1140,
18,
803,
18,
7959,
803,
12,
72,
13,
309,
486,
1140,
18,
803,
18,
1808,
12,
538,
18,
803,
18,
5701,
12,
72,
16,
315,
2941,
9,
87,
18,
69,
6,
738,
365,
18,
75,
22,
71,
3719,
30,
302,
22,
273,
1140,
18,
803,
18,
5113,
803,
12,
538,
18,
803,
18,
5701,
12,
72,
16,
296,
16644,
16644,
2941,
26112,
309,
1140,
18,
803,
18,
1808,
12,
538,
18,
803,
18,
5701,
12,
72,
22,
16,
315,
2941,
9,
87,
18,
69,
6,
738,
365,
18,
75,
22,
71,
3719,
30,
2153,
18,
6923,
12,
72,
22,
13,
2153,
18,
6923,
12,
72,
13,
327,
2153,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
12083,
67,
8291,
12,
2890,
4672,
2153,
273,
5378,
309,
2589,
18,
9898,
10531,
25,
65,
480,
296,
20132,
4278,
302,
273,
365,
18,
588,
67,
2941,
75,
952,
67,
1214,
1435,
309,
302,
30,
468,
309,
9965,
471,
486,
276,
4338,
8082,
16,
2561,
75,
22,
71,
328,
606,
316,
279,
3775,
3009,
309,
2589,
18,
9898,
422,
296,
8082,
1578,
11,
471,
486,
302,
18,
17514,
1918,
2668,
19,
13640,
19,
2941,
11,
4672,
302,
273,
1140,
18,
803,
18,
7959,
803,
12,
72,
13,
309,
486,
1140,
18,
803,
18,
1808,
12,
538,
18,
803,
18,
5701,
12,
72,
16,
315,
2941,
9,
87,
18,
69,
6,
738,
365,
18,
75,
22,
71,
2
] |
We solve an simple equation modulo 2::
|
We solve a simple equation modulo 2::
|
def solve_mod(eqns, modulus, solution_dict = False): r""" Return all solutions to an equation or list of equations modulo the given integer modulus. Each equation must involve only polynomials in 1 or many variables. By default the solutions are returned as `n`-tuples, where `n` is the number of variables appearing anywhere in the given equations. The variables are in alphabetical order. INPUT: - ``eqns`` - equation or list of equations - ``modulus`` - an integer - ``solution_dict`` - (default: False) if True, return a list of dictionaries containing the solutions. EXAMPLES:: sage: var('x,y') (x, y) sage: solve_mod([x^2 + 2 == x, x^2 + y == y^2], 14) [(4, 2), (4, 6), (4, 9), (4, 13)] sage: solve_mod([x^2 == 1, 4*x == 11], 15) [(14,)] Fermat's equation modulo 3 with exponent 5:: sage: var('x,y,z') (x, y, z) sage: solve_mod([x^5 + y^5 == z^5], 3) [(0, 0, 0), (0, 1, 1), (0, 2, 2), (1, 0, 1), (1, 1, 2), (1, 2, 0), (2, 0, 2), (2, 1, 0), (2, 2, 1)] We can solve with respect to a bigger modulus if it consists only of small prime factors:: sage: [d] = solve_mod([5*x + y == 3, 2*x - 3*y == 9], 3*5*7*11*19*23*29, solution_dict = True) sage: d[x] 12915279 sage: d[y] 8610183 We solve an simple equation modulo 2:: sage: x,y = var('x,y') sage: solve_mod([x == y], 2) [(0, 0), (1, 1)] .. warning:: The current implementation splits the modulus into prime powers, then naively enumerates all possible solutions and finally combines the solution using the Chinese Remainder Theorem. The interface is good, but the algorithm is horrible if the modulus has some larger prime factors! Sage *does* have the ability to do something much faster in certain cases at least by using Groebner basis, linear algebra techniques, etc. But for a lot of toy problems this function as is might be useful. At least it establishes an interface. """ from sage.rings.all import Integer, Integers, PolynomialRing, factor, crt_basis from sage.misc.all import cartesian_product_iterator from sage.modules.all import vector from sage.matrix.all import matrix if not isinstance(eqns, (list, tuple)): eqns = [eqns] modulus = Integer(modulus) if modulus < 1: raise ValueError, "the modulus must be a positive integer" vars = list(set(sum([list(e.variables()) for e in eqns], []))) vars.sort(cmp = lambda x,y: cmp(repr(x), repr(y))) n = len(vars) factors = [p**i for p,i in factor(modulus)] crt_basis = vector(Integers(modulus), crt_basis(factors)) solutions = [solve_mod_enumerate(eqns, p) for p in factors] ans = [] for solution in cartesian_product_iterator(solutions): solution_mat = matrix(Integers(modulus), solution) ans.append(tuple(c.dot_product(crt_basis) for c in solution_mat.columns())) if solution_dict == True: sol_dict = [dict(zip(vars, solution)) for solution in ans] return sol_dict else: return ans
|
289f5b4d9eb95aca379cac874aa709bc2e2631eb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9417/289f5b4d9eb95aca379cac874aa709bc2e2631eb/relation.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
12439,
67,
1711,
12,
11253,
2387,
16,
24770,
16,
6959,
67,
1576,
273,
1083,
4672,
436,
8395,
2000,
777,
22567,
358,
392,
15778,
578,
666,
434,
30369,
26109,
326,
864,
3571,
24770,
18,
8315,
15778,
1297,
2198,
5390,
1338,
16991,
87,
316,
404,
578,
4906,
3152,
18,
225,
2525,
805,
326,
22567,
854,
2106,
487,
1375,
82,
68,
17,
17705,
16,
1625,
1375,
82,
68,
353,
326,
1300,
434,
3152,
7226,
5968,
25651,
316,
326,
864,
30369,
18,
1021,
3152,
854,
316,
10877,
1706,
1353,
18,
225,
12943,
30,
225,
300,
225,
12176,
11253,
2387,
10335,
300,
15778,
578,
666,
434,
30369,
225,
300,
225,
12176,
1711,
17284,
10335,
300,
392,
3571,
225,
300,
225,
12176,
13385,
67,
1576,
10335,
300,
261,
1886,
30,
1083,
13,
309,
1053,
16,
225,
327,
279,
666,
434,
16176,
4191,
326,
22567,
18,
225,
5675,
8900,
11386,
2866,
225,
272,
410,
30,
569,
2668,
92,
16,
93,
6134,
261,
92,
16,
677,
13,
272,
410,
30,
12439,
67,
1711,
3816,
92,
66,
22,
397,
576,
422,
619,
16,
619,
66,
22,
397,
677,
422,
677,
66,
22,
6487,
5045,
13,
306,
12,
24,
16,
576,
3631,
261,
24,
16,
1666,
3631,
261,
24,
16,
2468,
3631,
261,
24,
16,
5958,
25887,
272,
410,
30,
12439,
67,
1711,
3816,
92,
66,
22,
422,
404,
16,
1059,
14,
92,
225,
422,
4648,
6487,
4711,
13,
306,
12,
3461,
16,
25887,
225,
478,
1035,
270,
1807,
15778,
26109,
890,
598,
9100,
1381,
2866,
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,
12439,
67,
1711,
12,
11253,
2387,
16,
24770,
16,
6959,
67,
1576,
273,
1083,
4672,
436,
8395,
2000,
777,
22567,
358,
392,
15778,
578,
666,
434,
30369,
26109,
326,
864,
3571,
24770,
18,
8315,
15778,
1297,
2198,
5390,
1338,
16991,
87,
316,
404,
578,
4906,
3152,
18,
225,
2525,
805,
326,
22567,
854,
2106,
487,
1375,
82,
68,
17,
17705,
16,
1625,
1375,
82,
68,
353,
326,
1300,
434,
3152,
7226,
5968,
25651,
316,
326,
864,
30369,
18,
1021,
3152,
854,
316,
10877,
1706,
1353,
18,
225,
12943,
30,
225,
300,
225,
12176,
11253,
2387,
10335,
300,
15778,
578,
666,
434,
30369,
225,
300,
225,
12176,
1711,
17284,
10335,
300,
392,
3571,
225,
300,
225,
12176,
13385,
67,
2
] |
this = apply(_quickfix.new_SettlPrice, args)
|
this = _quickfix.new_SettlPrice(*args)
|
def __init__(self, *args): this = apply(_quickfix.new_SettlPrice, args) try: self.this.append(this) except: self.this = this
|
7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
380,
1968,
4672,
333,
273,
389,
19525,
904,
18,
2704,
67,
694,
6172,
5147,
30857,
1968,
13,
775,
30,
365,
18,
2211,
18,
6923,
12,
2211,
13,
1335,
30,
365,
18,
2211,
273,
333,
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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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
380,
1968,
4672,
333,
273,
389,
19525,
904,
18,
2704,
67,
694,
6172,
5147,
30857,
1968,
13,
775,
30,
365,
18,
2211,
18,
6923,
12,
2211,
13,
1335,
30,
365,
18,
2211,
273,
333,
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
] |
return hex(self.i2h(pkt,x))
|
return lhex(self.i2h(pkt,x))
|
def i2repr(self, pkt, x): return hex(self.i2h(pkt,x))
|
28c56dd1d633fbcec3ae911ffb4ed8d85a784c40 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7311/28c56dd1d633fbcec3ae911ffb4ed8d85a784c40/scapy.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
277,
22,
12715,
12,
2890,
16,
11536,
16,
619,
4672,
327,
3827,
12,
2890,
18,
77,
22,
76,
12,
5465,
88,
16,
92,
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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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,
277,
22,
12715,
12,
2890,
16,
11536,
16,
619,
4672,
327,
3827,
12,
2890,
18,
77,
22,
76,
12,
5465,
88,
16,
92,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
def __call__(self, index):
|
def __call__(self, index, mir_rorp = None):
|
def __call__(self, index): """Given rpath, change permissions up to and including index""" old_index = self.current_index self.current_index = index if not index or index <= old_index: return self.restore_old(index) self.add_new(old_index, index)
|
5e2f4cf96e473b8bdfc69f590da7fc2d7b90761f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6202/5e2f4cf96e473b8bdfc69f590da7fc2d7b90761f/restore.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
1991,
972,
12,
2890,
16,
770,
16,
312,
481,
67,
86,
280,
84,
273,
599,
4672,
3536,
6083,
436,
803,
16,
2549,
4371,
731,
358,
471,
6508,
770,
8395,
1592,
67,
1615,
273,
365,
18,
2972,
67,
1615,
365,
18,
2972,
67,
1615,
273,
770,
309,
486,
770,
578,
770,
1648,
1592,
67,
1615,
30,
327,
365,
18,
13991,
67,
1673,
12,
1615,
13,
365,
18,
1289,
67,
2704,
12,
1673,
67,
1615,
16,
770,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
1991,
972,
12,
2890,
16,
770,
16,
312,
481,
67,
86,
280,
84,
273,
599,
4672,
3536,
6083,
436,
803,
16,
2549,
4371,
731,
358,
471,
6508,
770,
8395,
1592,
67,
1615,
273,
365,
18,
2972,
67,
1615,
365,
18,
2972,
67,
1615,
273,
770,
309,
486,
770,
578,
770,
1648,
1592,
67,
1615,
30,
327,
365,
18,
13991,
67,
1673,
12,
1615,
13,
365,
18,
1289,
67,
2704,
12,
1673,
67,
1615,
16,
770,
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
] |
pass
|
print("Gamin or Fam not found. Loading Pseudo FileMonitor.")
|
def AddMonitor(self, path, obj): '''add a monitor to path, installing a callback to obj.HandleEvent''' handleID = len(self.handles.keys()) mode = os.stat(path)[stat.ST_MODE] handle = GaminEvent(handleID, path, 'exists') if stat.S_ISDIR(mode): dirList = os.listdir(path) self.pending_events.append(handle) for includedFile in dirList: self.pending_events.append(GaminEvent(handleID, includedFile, 'exists')) self.pending_events.append(GaminEvent(handleID, path, 'endExist')) else: self.pending_events.append(GaminEvent(handleID, path, 'exists')) if obj != None: self.handles[handleID] = obj return handleID
|
6ec4573ccd6f67234b81a8aa9a6dc1ca024a21d6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11867/6ec4573ccd6f67234b81a8aa9a6dc1ca024a21d6/FileMonitor.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1436,
7187,
12,
2890,
16,
589,
16,
1081,
4672,
9163,
1289,
279,
6438,
358,
589,
16,
3799,
310,
279,
1348,
358,
1081,
18,
3259,
1133,
26418,
1640,
734,
273,
562,
12,
2890,
18,
24111,
18,
2452,
10756,
1965,
273,
1140,
18,
5642,
12,
803,
25146,
5642,
18,
882,
67,
7038,
65,
1640,
273,
611,
301,
267,
1133,
12,
4110,
734,
16,
589,
16,
296,
1808,
6134,
309,
610,
18,
55,
67,
5127,
4537,
12,
3188,
4672,
1577,
682,
273,
1140,
18,
1098,
1214,
12,
803,
13,
365,
18,
9561,
67,
5989,
18,
6923,
12,
4110,
13,
364,
5849,
812,
316,
1577,
682,
30,
365,
18,
9561,
67,
5989,
18,
6923,
12,
43,
301,
267,
1133,
12,
4110,
734,
16,
5849,
812,
16,
296,
1808,
26112,
365,
18,
9561,
67,
5989,
18,
6923,
12,
43,
301,
267,
1133,
12,
4110,
734,
16,
589,
16,
296,
409,
4786,
26112,
469,
30,
365,
18,
9561,
67,
5989,
18,
6923,
12,
43,
301,
267,
1133,
12,
4110,
734,
16,
589,
16,
296,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8585,
326,
22398,
316,
326,
981,
30,
1652,
1436,
7187,
12,
2890,
16,
589,
16,
1081,
4672,
9163,
1289,
279,
6438,
358,
589,
16,
3799,
310,
279,
1348,
358,
1081,
18,
3259,
1133,
26418,
1640,
734,
273,
562,
12,
2890,
18,
24111,
18,
2452,
10756,
1965,
273,
1140,
18,
5642,
12,
803,
25146,
5642,
18,
882,
67,
7038,
65,
1640,
273,
611,
301,
267,
1133,
12,
4110,
734,
16,
589,
16,
296,
1808,
6134,
309,
610,
18,
55,
67,
5127,
4537,
12,
3188,
4672,
1577,
682,
273,
1140,
18,
1098,
1214,
12,
803,
13,
365,
18,
9561,
67,
5989,
18,
6923,
12,
4110,
13,
364,
5849,
812,
316,
1577,
682,
30,
365,
18,
9561,
67,
5989,
18,
6923,
12,
43,
301,
267,
1133,
12,
4110,
734,
2
] |
self.group.addtag_withtag(self.__rect) self.group.addtag_withtag(self.__text) self.reset()
|
def __init__(self, game, suit, value):
|
a9b383de5cc662464dfbac36854b1d4ca07c0a0c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/a9b383de5cc662464dfbac36854b1d4ca07c0a0c/solitaire.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
7920,
16,
1597,
305,
16,
460,
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,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
7920,
16,
1597,
305,
16,
460,
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
] |
|
FL_COLOR, [cty.POINTER(FL_OBJECT)],
|
FL_COLOR, [cty.POINTER(FL_OBJECT)],
|
def fl_get_select_item_by_text(obj, p2): """ fl_get_select_item_by_text(obj, p2) -> popup_entry """ retval = _fl_get_select_item_by_text(obj, p2) return retval
|
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1183,
67,
588,
67,
4025,
67,
1726,
67,
1637,
67,
955,
12,
2603,
16,
293,
22,
4672,
3536,
1183,
67,
588,
67,
4025,
67,
1726,
67,
1637,
67,
955,
12,
2603,
16,
293,
22,
13,
317,
10431,
67,
4099,
3536,
225,
5221,
273,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1183,
67,
588,
67,
4025,
67,
1726,
67,
1637,
67,
955,
12,
2603,
16,
293,
22,
4672,
3536,
1183,
67,
588,
67,
4025,
67,
1726,
67,
1637,
67,
955,
12,
2603,
16,
293,
22,
13,
317,
10431,
67,
4099,
3536,
225,
5221,
273,
389,
2242,
67,
588,
67,
4025,
67,
1726,
67,
1637,
67,
955,
12,
2603,
16,
293,
22,
13,
327,
5221,
282,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
items = items_dict.keys()
|
items = map(str, items_dict.keys())
|
def list2dict(l): ret={} for i in l: ret[i] = None return ret
|
a62ac6a6678578b05eb0921d942508054232b9f6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/677/a62ac6a6678578b05eb0921d942508054232b9f6/view.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
666,
22,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
666,
22,
1576,
12,
80,
4672,
325,
12938,
364,
277,
316,
328,
30,
325,
63,
77,
65,
273,
599,
327,
325,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if type(value) is types.TupleType: return value if type(value) is not types.StringType: return tuple(value) r = [] for element in filter(None, string.split(value, '.')): try: r.append(string.atoi(element, 0)) except string.atoi_error:
|
if isinstance(value, self.__class__): return tuple(value) elif type(value) is types.StringType: r = [] for element in filter(None, string.split(value, '.')):
|
def prettyIn(self, value): """Dotted -> tuple of numerics OID converter""" if type(value) is types.TupleType: return value if type(value) is not types.StringType: return tuple(value) r = [] for element in filter(None, string.split(value, '.')): try: r.append(string.atoi(element, 0)) except string.atoi_error: try: r.append(string.atol(element, 0)) except string.atol_error, why: raise error.PyAsn1Error( 'Malformed Object ID %s at %s: %s' % (str(value), self.__class__.__name__, why) ) return tuple(r)
|
d3c38c46334edc85e1e31ed4c8f5114a77ff0ad9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4168/d3c38c46334edc85e1e31ed4c8f5114a77ff0ad9/univ.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
7517,
382,
12,
2890,
16,
460,
4672,
3536,
10412,
2344,
317,
3193,
434,
26511,
2102,
18026,
6027,
8395,
309,
1549,
12,
1132,
16,
365,
16186,
1106,
972,
4672,
327,
3193,
12,
1132,
13,
1327,
618,
12,
1132,
13,
353,
1953,
18,
780,
559,
30,
436,
273,
5378,
364,
930,
316,
1034,
12,
7036,
16,
533,
18,
4939,
12,
1132,
16,
2611,
3719,
30,
775,
30,
436,
18,
6923,
12,
1080,
18,
270,
355,
12,
2956,
16,
374,
3719,
1335,
533,
18,
270,
355,
67,
1636,
16,
11598,
30,
1002,
555,
18,
9413,
1463,
82,
21,
668,
12,
296,
18695,
1033,
1599,
738,
87,
622,
738,
87,
30,
738,
87,
11,
738,
261,
701,
12,
1132,
3631,
365,
16186,
1106,
972,
16186,
529,
972,
16,
11598,
13,
262,
327,
3193,
12,
86,
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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
2890,
16,
460,
4672,
3536,
10412,
2344,
317,
3193,
434,
26511,
2102,
18026,
6027,
8395,
309,
1549,
12,
1132,
16,
365,
16186,
1106,
972,
4672,
327,
3193,
12,
1132,
13,
1327,
618,
12,
1132,
13,
353,
1953,
18,
780,
559,
30,
436,
273,
5378,
364,
930,
316,
1034,
12,
7036,
16,
533,
18,
4939,
12,
1132,
16,
2611,
3719,
30,
775,
30,
436,
18,
6923,
12,
1080,
18,
270,
355,
12,
2956,
16,
374,
3719,
1335,
533,
18,
270,
355,
67,
1636,
16,
11598,
30,
1002,
555,
18,
9413,
1463,
82,
21,
668,
12,
296,
18695,
1033,
1599,
738,
87,
622,
738,
87,
30,
738,
87,
11,
738,
261,
701,
12,
1132,
3631,
365,
16186,
2
] |
st t1, ds, [scale, index, base], disp
|
st t1, ds, [0, t0, t7], disp
|
def macroop SBB_P_R
|
edaaf1ebf1461b20c0bfa06472d5188a975e47c7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6787/edaaf1ebf1461b20c0bfa06472d5188a975e47c7/add_and_subtract.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11522,
556,
348,
9676,
67,
52,
67,
54,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
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,
11522,
556,
348,
9676,
67,
52,
67,
54,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.domid = None
|
def destroyDomain(self): log.debug("XendDomainInfo.destroyDomain(%s)", str(self.domid))
|
e71828acbc5e939713fb093add6b8a79a8190c5b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6195/e71828acbc5e939713fb093add6b8a79a8190c5b/XendDomainInfo.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5546,
3748,
12,
2890,
4672,
613,
18,
4148,
2932,
60,
409,
3748,
966,
18,
11662,
3748,
9275,
87,
2225,
16,
609,
12,
2890,
18,
9859,
350,
3719,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5546,
3748,
12,
2890,
4672,
613,
18,
4148,
2932,
60,
409,
3748,
966,
18,
11662,
3748,
9275,
87,
2225,
16,
609,
12,
2890,
18,
9859,
350,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
Login to a new session:
|
Login to a new session::
|
sage: def get_url(url): h = urllib.urlopen(url); data = h.read(); h.close(); return data
|
146729e9e69da928a4db0f6148da09de78a043c5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/146729e9e69da928a4db0f6148da09de78a043c5/twist.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
272,
410,
30,
1652,
336,
67,
718,
12,
718,
4672,
366,
273,
11527,
18,
295,
18589,
12,
718,
1769,
501,
273,
366,
18,
896,
5621,
366,
18,
4412,
5621,
327,
501,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
272,
410,
30,
1652,
336,
67,
718,
12,
718,
4672,
366,
273,
11527,
18,
295,
18589,
12,
718,
1769,
501,
273,
366,
18,
896,
5621,
366,
18,
4412,
5621,
327,
501,
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
] |
href = url_encode(self.linker.link(element.attrib['href']))
|
href = self.linker.link(element.attrib['href'])
|
def dump_children(self, list, output, list_level = -1): if list.text: output.append(list.text)
|
ac41eeba50a29c9fd21ae17bc66b910ea7d1d577 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4103/ac41eeba50a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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4657,
67,
5906,
12,
2890,
16,
666,
16,
876,
16,
666,
67,
2815,
273,
300,
21,
4672,
309,
666,
18,
955,
30,
876,
18,
6923,
12,
1098,
18,
955,
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
] |
SpecializedSetup<%(name)s, 0>();
|
SpecializedSetup<%(name)s, 0>(true);
|
def WriteServiceUnitTest(self, func, file): """Overrriden from TypeHandler.""" valid_test = """
|
c09b66fa6c9b1cbe85cad7ac28eacb107f5b988d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5060/c09b66fa6c9b1cbe85cad7ac28eacb107f5b988d/build_gles2_cmd_buffer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2598,
1179,
2802,
4709,
12,
2890,
16,
1326,
16,
585,
4672,
3536,
22042,
1691,
275,
628,
1412,
1503,
12123,
923,
67,
3813,
273,
3536,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2598,
1179,
2802,
4709,
12,
2890,
16,
1326,
16,
585,
4672,
3536,
22042,
1691,
275,
628,
1412,
1503,
12123,
923,
67,
3813,
273,
3536,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
applets_list.append(s)
|
applets_list.append(s)
|
def _apply (self): applets_list = []
|
30bb56994f49caaea99383c3cdc7f4e2a2d375f1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8416/30bb56994f49caaea99383c3cdc7f4e2a2d375f1/awnClass.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
9010,
261,
2890,
4672,
513,
20773,
67,
1098,
273,
5378,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
ident = self.ItemTexts().index(ident) -1
|
ident = self.ItemTexts().index(ident)
|
def _get_item_index(self, ident): if isinstance(ident, (int, long)):
|
b368e4bc6cc8fb09eed959528c3165dbd21331c4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6953/b368e4bc6cc8fb09eed959528c3165dbd21331c4/win32_controls.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
588,
67,
1726,
67,
1615,
12,
2890,
16,
3390,
4672,
309,
1549,
12,
6392,
16,
261,
474,
16,
1525,
3719,
30,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
588,
67,
1726,
67,
1615,
12,
2890,
16,
3390,
4672,
309,
1549,
12,
6392,
16,
261,
474,
16,
1525,
3719,
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
] |
security.declareProtected(permissions.View, 'get_portal_metadata')
|
security.declareProtected(CMFCorePermissions.View, 'get_portal_metadata')
|
def getPrimaryField(self): """The primary field is some object that responds to PUT/manage_FTPget events. """ fields = self.Schema().filterFields(primary=1) if fields: return fields[0] return None
|
460696da815e0d1149ab34005370b03bdbb656a6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/460696da815e0d1149ab34005370b03bdbb656a6/BaseObject.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11398,
974,
12,
2890,
4672,
3536,
1986,
3354,
652,
353,
2690,
733,
716,
26617,
358,
11443,
19,
12633,
67,
17104,
588,
2641,
18,
3536,
1466,
273,
365,
18,
3078,
7675,
2188,
2314,
12,
8258,
33,
21,
13,
309,
1466,
30,
327,
1466,
63,
20,
65,
327,
599,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11398,
974,
12,
2890,
4672,
3536,
1986,
3354,
652,
353,
2690,
733,
716,
26617,
358,
11443,
19,
12633,
67,
17104,
588,
2641,
18,
3536,
1466,
273,
365,
18,
3078,
7675,
2188,
2314,
12,
8258,
33,
21,
13,
309,
1466,
30,
327,
1466,
63,
20,
65,
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
] |
labelRunTitle=Label(frameRun,text='Startup Preferences')
|
def CreatePageGeneral(self): #tkVars self.winWidth=StringVar(self) self.winHeight=StringVar(self) self.paraWidth=StringVar(self) self.startupEdit=IntVar(self) self.autoSave=IntVar(self) self.encoding=StringVar(self) self.userHelpBrowser=BooleanVar(self) self.helpBrowser=StringVar(self) #widget creation #body frame=self.tabPages.pages['General']['page'] #body section frames frameRun=Frame(frame,borderwidth=2,relief=GROOVE) frameSave=Frame(frame,borderwidth=2,relief=GROOVE) frameWinSize=Frame(frame,borderwidth=2,relief=GROOVE) frameParaSize=Frame(frame,borderwidth=2,relief=GROOVE) frameEncoding=Frame(frame,borderwidth=2,relief=GROOVE) frameHelp=Frame(frame,borderwidth=2,relief=GROOVE) #frameRun labelRunTitle=Label(frameRun,text='Startup Preferences') labelRunChoiceTitle=Label(frameRun,text='At Startup') radioStartupEdit=Radiobutton(frameRun,variable=self.startupEdit, value=1,command=self.SetKeysType,text="Open Edit Window") radioStartupShell=Radiobutton(frameRun,variable=self.startupEdit, value=0,command=self.SetKeysType,text='Open Shell Window') #frameSave labelSaveTitle=Label(frameSave,text='Autosave Preference') labelRunSaveTitle=Label(frameSave,text='At Start of Run (F5) ') radioSaveAsk=Radiobutton(frameSave,variable=self.autoSave, value=0,command=self.SetKeysType,text="Prompt to Save") radioSaveAuto=Radiobutton(frameSave,variable=self.autoSave, value=1,command=self.SetKeysType,text='No Prompt') #frameWinSize labelWinSizeTitle=Label(frameWinSize,text='Initial Window Size'+ ' (in characters)') labelWinWidthTitle=Label(frameWinSize,text='Width') entryWinWidth=Entry(frameWinSize,textvariable=self.winWidth, width=3) labelWinHeightTitle=Label(frameWinSize,text='Height') entryWinHeight=Entry(frameWinSize,textvariable=self.winHeight, width=3) #paragraphFormatWidth labelParaWidthTitle=Label(frameParaSize,text='Paragraph reformat'+ ' width (in characters)') entryParaWidth=Entry(frameParaSize,textvariable=self.paraWidth, width=3) #frameEncoding labelEncodingTitle=Label(frameEncoding,text="Default Source Encoding") radioEncLocale=Radiobutton(frameEncoding,variable=self.encoding, value="locale",text="Locale-defined") radioEncUTF8=Radiobutton(frameEncoding,variable=self.encoding, value="utf-8",text="UTF-8") radioEncNone=Radiobutton(frameEncoding,variable=self.encoding, value="none",text="None") #frameHelp frameHelpList=Frame(frameHelp) frameHelpListButtons=Frame(frameHelpList) labelHelpListTitle=Label(frameHelpList,text='Additional Help Sources:') scrollHelpList=Scrollbar(frameHelpList) self.listHelp=Listbox(frameHelpList,height=5,takefocus=FALSE, exportselection=FALSE) scrollHelpList.config(command=self.listHelp.yview) self.listHelp.config(yscrollcommand=scrollHelpList.set) self.listHelp.bind('<ButtonRelease-1>',self.HelpSourceSelected) self.buttonHelpListEdit=Button(frameHelpListButtons,text='Edit', state=DISABLED,width=8,command=self.HelpListItemEdit) self.buttonHelpListAdd=Button(frameHelpListButtons,text='Add', width=8,command=self.HelpListItemAdd) self.buttonHelpListRemove=Button(frameHelpListButtons,text='Remove', state=DISABLED,width=8,command=self.HelpListItemRemove) #widget packing #body frameRun.pack(side=TOP,padx=5,pady=5,fill=X) frameSave.pack(side=TOP,padx=5,pady=5,fill=X) frameWinSize.pack(side=TOP,padx=5,pady=5,fill=X) frameParaSize.pack(side=TOP,padx=5,pady=5,fill=X) frameEncoding.pack(side=TOP,padx=5,pady=5,fill=X) frameHelp.pack(side=TOP,padx=5,pady=5,expand=TRUE,fill=BOTH) #frameRun labelRunTitle.pack(side=TOP,anchor=W,padx=5,pady=5) labelRunChoiceTitle.pack(side=LEFT,anchor=W,padx=5,pady=5) radioStartupShell.pack(side=RIGHT,anchor=W,padx=5,pady=5) radioStartupEdit.pack(side=RIGHT,anchor=W,padx=5,pady=5) #frameSave labelSaveTitle.pack(side=TOP,anchor=W,padx=5,pady=5) labelRunSaveTitle.pack(side=LEFT,anchor=W,padx=5,pady=5) radioSaveAuto.pack(side=RIGHT,anchor=W,padx=5,pady=5) radioSaveAsk.pack(side=RIGHT,anchor=W,padx=5,pady=5) #frameWinSize labelWinSizeTitle.pack(side=LEFT,anchor=W,padx=5,pady=5) entryWinHeight.pack(side=RIGHT,anchor=E,padx=10,pady=5) labelWinHeightTitle.pack(side=RIGHT,anchor=E,pady=5) entryWinWidth.pack(side=RIGHT,anchor=E,padx=10,pady=5) labelWinWidthTitle.pack(side=RIGHT,anchor=E,pady=5) #paragraphFormatWidth labelParaWidthTitle.pack(side=LEFT,anchor=W,padx=5,pady=5) entryParaWidth.pack(side=RIGHT,anchor=E,padx=10,pady=5) #frameEncoding labelEncodingTitle.pack(side=LEFT,anchor=W,padx=5,pady=5) radioEncNone.pack(side=RIGHT,anchor=E,pady=5) radioEncUTF8.pack(side=RIGHT,anchor=E,pady=5) radioEncLocale.pack(side=RIGHT,anchor=E,pady=5) #frameHelp frameHelpListButtons.pack(side=RIGHT,padx=5,pady=5,fill=Y) frameHelpList.pack(side=TOP,padx=5,pady=5,expand=TRUE,fill=BOTH) labelHelpListTitle.pack(side=TOP,anchor=W) scrollHelpList.pack(side=RIGHT,anchor=W,fill=Y) self.listHelp.pack(side=LEFT,anchor=E,expand=TRUE,fill=BOTH) self.buttonHelpListEdit.pack(side=TOP,anchor=W,pady=5) self.buttonHelpListAdd.pack(side=TOP,anchor=W) self.buttonHelpListRemove.pack(side=TOP,anchor=W,pady=5) return frame
|
ed15565253c2cb817c68ed89e22c7a6c7707ab66 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12029/ed15565253c2cb817c68ed89e22c7a6c7707ab66/configDialog.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1788,
1964,
12580,
12,
2890,
4672,
468,
16099,
5555,
365,
18,
8082,
2384,
33,
780,
1537,
12,
2890,
13,
365,
18,
8082,
2686,
33,
780,
1537,
12,
2890,
13,
365,
18,
25072,
2384,
33,
780,
1537,
12,
2890,
13,
365,
18,
23939,
4666,
33,
1702,
1537,
12,
2890,
13,
365,
18,
6079,
4755,
33,
1702,
1537,
12,
2890,
13,
365,
18,
5999,
33,
780,
1537,
12,
2890,
13,
365,
18,
1355,
6696,
9132,
33,
5507,
1537,
12,
2890,
13,
365,
18,
5201,
9132,
33,
780,
1537,
12,
2890,
13,
468,
6587,
6710,
468,
3432,
2623,
33,
2890,
18,
7032,
5716,
18,
7267,
3292,
12580,
21712,
2433,
3546,
468,
3432,
2442,
7793,
2623,
1997,
33,
3219,
12,
3789,
16,
8815,
2819,
33,
22,
16,
266,
549,
10241,
33,
43,
1457,
51,
3412,
13,
2623,
4755,
33,
3219,
12,
3789,
16,
8815,
2819,
33,
22,
16,
266,
549,
10241,
33,
43,
1457,
51,
3412,
13,
2623,
18049,
1225,
33,
3219,
12,
3789,
16,
8815,
2819,
33,
22,
16,
266,
549,
10241,
33,
43,
1457,
51,
3412,
13,
2623,
23529,
1225,
33,
3219,
12,
3789,
16,
8815,
2819,
33,
22,
16,
266,
549,
10241,
33,
43,
1457,
51,
3412,
13,
2623,
4705,
33,
3219,
12,
3789,
16,
8815,
2819,
33,
22,
16,
266,
549,
10241,
33,
43,
1457,
51,
3412,
13,
2623,
6696,
33,
3219,
12,
3789,
16,
8815,
2819,
33,
22,
16,
266,
549,
10241,
33,
43,
1457,
51,
3412,
13,
468,
3789,
1997,
1433,
1997,
10538,
4247,
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,
1964,
12580,
12,
2890,
4672,
468,
16099,
5555,
365,
18,
8082,
2384,
33,
780,
1537,
12,
2890,
13,
365,
18,
8082,
2686,
33,
780,
1537,
12,
2890,
13,
365,
18,
25072,
2384,
33,
780,
1537,
12,
2890,
13,
365,
18,
23939,
4666,
33,
1702,
1537,
12,
2890,
13,
365,
18,
6079,
4755,
33,
1702,
1537,
12,
2890,
13,
365,
18,
5999,
33,
780,
1537,
12,
2890,
13,
365,
18,
1355,
6696,
9132,
33,
5507,
1537,
12,
2890,
13,
365,
18,
5201,
9132,
33,
780,
1537,
12,
2890,
13,
468,
6587,
6710,
468,
3432,
2623,
33,
2890,
18,
7032,
5716,
18,
7267,
3292,
12580,
21712,
2433,
3546,
468,
3432,
2442,
7793,
2623,
1997,
33,
3219,
12,
3789,
16,
2
] |
|
catlib.change_category(article, original_cat, None)
|
catlib.change_category(article, original_cat.catname(), None)
|
def move_to_subcategory(article, original_cat, current_cat): print print 'Treating page ' + article.ascii_linkname() + ', currently in category ' + current_cat.ascii_linkname() subcatlist = get_subcats(current_cat) print if len(subcatlist) == 0: print 'This category has no subcategories.' print # show subcategories as possible choices (with numbers) for i in range(len(subcatlist)): print '%d - Move to %s' % (i, subcatlist[i]) print 'j - Jump to another category' print 's - Skip this article' print 'r - Remove this category tag' print '? - Read the page' print 'Enter - Save category as ' + current_cat.ascii_linkname()
|
182596a0eafb007bcd0d00be114cf7f8f327e1cf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4404/182596a0eafb007bcd0d00be114cf7f8f327e1cf/category.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3635,
67,
869,
67,
1717,
4743,
12,
11480,
16,
2282,
67,
2574,
16,
783,
67,
2574,
4672,
1172,
1172,
296,
56,
266,
1776,
1363,
296,
397,
7559,
18,
9184,
67,
1232,
529,
1435,
397,
2265,
4551,
316,
3150,
296,
397,
783,
67,
2574,
18,
9184,
67,
1232,
529,
1435,
720,
2574,
1098,
273,
336,
67,
1717,
24750,
12,
2972,
67,
2574,
13,
1172,
309,
562,
12,
1717,
2574,
1098,
13,
422,
374,
30,
1172,
296,
2503,
3150,
711,
1158,
720,
8995,
1093,
1172,
468,
2405,
720,
8995,
487,
3323,
7246,
261,
1918,
5600,
13,
364,
277,
316,
1048,
12,
1897,
12,
1717,
2574,
1098,
3719,
30,
1172,
1995,
72,
300,
9933,
358,
738,
87,
11,
738,
261,
77,
16,
720,
2574,
1098,
63,
77,
5717,
1172,
296,
78,
300,
804,
2801,
358,
4042,
3150,
11,
1172,
296,
87,
300,
6611,
333,
7559,
11,
1172,
296,
86,
300,
3581,
333,
3150,
1047,
11,
1172,
13023,
300,
2720,
326,
1363,
11,
1172,
296,
10237,
300,
7074,
3150,
487,
296,
397,
783,
67,
2574,
18,
9184,
67,
1232,
529,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3635,
67,
869,
67,
1717,
4743,
12,
11480,
16,
2282,
67,
2574,
16,
783,
67,
2574,
4672,
1172,
1172,
296,
56,
266,
1776,
1363,
296,
397,
7559,
18,
9184,
67,
1232,
529,
1435,
397,
2265,
4551,
316,
3150,
296,
397,
783,
67,
2574,
18,
9184,
67,
1232,
529,
1435,
720,
2574,
1098,
273,
336,
67,
1717,
24750,
12,
2972,
67,
2574,
13,
1172,
309,
562,
12,
1717,
2574,
1098,
13,
422,
374,
30,
1172,
296,
2503,
3150,
711,
1158,
720,
8995,
1093,
1172,
468,
2405,
720,
8995,
487,
3323,
7246,
261,
1918,
5600,
13,
364,
277,
316,
1048,
12,
1897,
12,
1717,
2574,
1098,
3719,
30,
1172,
1995,
72,
300,
9933,
358,
738,
87,
11,
738,
261,
77,
2
] |
def __init__(self, master, labels=None, frames=None, packopts=None): """Create a tab bar with: master: Tkinter widget to hold the Tabs frame labels: List of string labels to put on the tabs frames: List of tk.Frames to switch between (one for each label) packopts: Dictionary of options to give to pack() (this is a hack to work around pack(in_=...) apparently not working properly)
|
def __init__(self, master, side='top'): """Create a tabbed frame widget. master: Tkinter widget that will contain the tabs widget side: Side to show the tab controls on ('top', 'bottom', 'left', or 'right') Tabs are added to the tab bar via the add() method. The added frames should have the Tabs frame as their master. For example: tabs = Tabs(self) spam = tk.Frame(tabs, ...) tabs.add("Spam", spam) eggs = tk.Frame(tabs, ...) tabs.add("Eggs", eggs) tabs.draw() tabs.pack(...) Tabs are drawn in the order they are added, with the first being initially active.
|
def __init__(self, master, labels=None, frames=None, packopts=None): """Create a tab bar with: master: Tkinter widget to hold the Tabs frame labels: List of string labels to put on the tabs frames: List of tk.Frames to switch between (one for each label) packopts: Dictionary of options to give to pack() (this is a hack to work around pack(in_=...) apparently not working properly) """ tk.Frame.__init__(self, master) # Enforce the rules if not isinstance(labels, list) or \ not isinstance(labels[0], str): raise "labels must be a list of text strings." if not isinstance(frames, list) or \ not isinstance(frames[0], tk.Frame): raise "frames must be a list of Tkinter Frames." if len(labels) != len(frames): raise "labels and frames must be the same length." # Save attributes self.labels = labels or [] self.frames = frames or [] self.packopts = packopts self.selected = tk.IntVar() self.index = 0 self.draw()
|
8403a395d70cb6e78009f1226c55376cfb4b8eb5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4675/8403a395d70cb6e78009f1226c55376cfb4b8eb5/meta.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
4171,
16,
4889,
2218,
3669,
11,
4672,
3536,
1684,
279,
3246,
2992,
2623,
3604,
18,
225,
4171,
30,
399,
79,
2761,
3604,
716,
903,
912,
326,
10920,
3604,
4889,
30,
282,
26248,
358,
2405,
326,
3246,
11022,
603,
7707,
3669,
2187,
296,
9176,
2187,
296,
4482,
2187,
578,
296,
4083,
6134,
225,
399,
5113,
854,
3096,
358,
326,
3246,
4653,
3970,
326,
527,
1435,
707,
18,
1021,
3096,
7793,
1410,
1240,
326,
399,
5113,
2623,
487,
3675,
4171,
18,
2457,
3454,
30,
225,
10920,
273,
399,
5113,
12,
2890,
13,
24824,
273,
13030,
18,
3219,
12,
16056,
16,
1372,
13,
10920,
18,
1289,
2932,
3389,
301,
3113,
24824,
13,
9130,
564,
273,
13030,
18,
3219,
12,
16056,
16,
1372,
13,
10920,
18,
1289,
2932,
41,
75,
564,
3113,
9130,
564,
13,
10920,
18,
9446,
1435,
10920,
18,
2920,
5825,
13,
225,
399,
5113,
854,
19377,
316,
326,
1353,
2898,
854,
3096,
16,
598,
326,
1122,
3832,
22458,
2695,
18,
3536,
13030,
18,
3219,
16186,
2738,
972,
12,
2890,
16,
4171,
13,
468,
31716,
326,
2931,
309,
486,
1549,
12,
5336,
16,
666,
13,
578,
521,
486,
1549,
12,
5336,
63,
20,
6487,
609,
4672,
1002,
315,
5336,
1297,
506,
279,
666,
434,
977,
2064,
1199,
309,
486,
1549,
12,
10278,
16,
666,
13,
578,
521,
486,
1549,
12,
10278,
63,
20,
6487,
13030,
18,
3219,
4672,
1002,
315,
10278,
1297,
506,
279,
666,
434,
399,
79,
2761,
13363,
753,
1199,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
4171,
16,
4889,
2218,
3669,
11,
4672,
3536,
1684,
279,
3246,
2992,
2623,
3604,
18,
225,
4171,
30,
399,
79,
2761,
3604,
716,
903,
912,
326,
10920,
3604,
4889,
30,
282,
26248,
358,
2405,
326,
3246,
11022,
603,
7707,
3669,
2187,
296,
9176,
2187,
296,
4482,
2187,
578,
296,
4083,
6134,
225,
399,
5113,
854,
3096,
358,
326,
3246,
4653,
3970,
326,
527,
1435,
707,
18,
1021,
3096,
7793,
1410,
1240,
326,
399,
5113,
2623,
487,
3675,
4171,
18,
2457,
3454,
30,
225,
10920,
273,
399,
5113,
12,
2890,
13,
24824,
273,
13030,
18,
3219,
12,
16056,
16,
1372,
13,
10920,
18,
1289,
2932,
3389,
301,
3113,
24824,
13,
9130,
564,
273,
2
] |
self.current_view.set_cursor()
|
def display_prev(self): self.current_view.set_value() if self.current_model in self.models.models: idx = self.models.models.index(self.current_model)-1 if idx < 0: idx = len(self.models.models)-1 self.current_model = self.models.models[idx] else: self.current_model = len(self.models.models) \ and self.models.models[-1]
|
1e8ef1b5465400ce1978f5200f738f65ce0a1698 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9151/1e8ef1b5465400ce1978f5200f738f65ce0a1698/screen.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2562,
67,
10001,
12,
2890,
4672,
365,
18,
2972,
67,
1945,
18,
542,
67,
1132,
1435,
309,
365,
18,
2972,
67,
2284,
316,
365,
18,
7665,
18,
7665,
30,
2067,
273,
365,
18,
7665,
18,
7665,
18,
1615,
12,
2890,
18,
2972,
67,
2284,
24950,
21,
309,
2067,
411,
374,
30,
2067,
273,
562,
12,
2890,
18,
7665,
18,
7665,
24950,
21,
365,
18,
2972,
67,
2284,
273,
365,
18,
7665,
18,
7665,
63,
3465,
65,
469,
30,
365,
18,
2972,
67,
2284,
273,
562,
12,
2890,
18,
7665,
18,
7665,
13,
521,
471,
365,
18,
7665,
18,
7665,
18919,
21,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2562,
67,
10001,
12,
2890,
4672,
365,
18,
2972,
67,
1945,
18,
542,
67,
1132,
1435,
309,
365,
18,
2972,
67,
2284,
316,
365,
18,
7665,
18,
7665,
30,
2067,
273,
365,
18,
7665,
18,
7665,
18,
1615,
12,
2890,
18,
2972,
67,
2284,
24950,
21,
309,
2067,
411,
374,
30,
2067,
273,
562,
12,
2890,
18,
7665,
18,
7665,
24950,
21,
365,
18,
2972,
67,
2284,
273,
365,
18,
7665,
18,
7665,
63,
3465,
65,
469,
30,
365,
18,
2972,
67,
2284,
273,
562,
12,
2890,
18,
7665,
18,
7665,
13,
521,
471,
365,
18,
7665,
18,
7665,
18919,
21,
65,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
arguments={} for name, arg in q._searchable_arguments().items(): arguments["%s/%s" % (id,name)]=arg
|
if input_id: for name, arg in q._searchable_arguments().items(): if len(qs) > 1: key="%s/%s" % (id,name) else: key=name arguments[key]=arg keys.append(key)
|
def add(self, report_id, report_title, report_style, input_id, input_title, queries=[], REQUEST=None): 'add a report' if not queries: raise ValueError, ( 'No <em>searchable objects</em> were selected') if not report_id: raise ValueError, ( 'No <em>report id</em> were specified') if input_title and not input_id: raise ValueError, ( 'No <em>input id</em> were specified') qs=map(lambda q, self=self: _getquery(self, q), queries) for q in qs: id=q.id arguments={} for name, arg in q._searchable_arguments().items(): arguments["%s/%s" % (id,name)]=arg if q._searchable_result_columns() is None: raise 'Unusable Searchable Error',( """The input searchable object, <em>%s</em>, has not been tested. Until it has been tested, it\'s outpuit schema is unknown, and a report cannot be generated. Before creating a report from this query, you must try out the query. To try out the query, <a href="%s">click hear</a>. """ % (q.title_and_id(), q.id)) if input_id: self.manage_addDocument( input_id,input_title, default_input_form(arguments, report_id)) self.manage_addDocument( report_id,report_title, ('<!--#var standard_html_header-->\n%s\n' '<!--#var standard_html_footer-->' % join(map(lambda q, report_style=report_style: custom_default_report(q.id, q, no_table=report_style), qs), '\n<hr>\n'))) if REQUEST: return self.manage_main(self,REQUEST)
|
a6d40fd549fb346036b773f454c104713d9bb0d5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/a6d40fd549fb346036b773f454c104713d9bb0d5/Search.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
12,
2890,
16,
2605,
67,
350,
16,
2605,
67,
2649,
16,
2605,
67,
4060,
16,
810,
67,
350,
16,
810,
67,
2649,
16,
6218,
22850,
6487,
12492,
33,
7036,
4672,
296,
1289,
279,
2605,
11,
225,
309,
486,
6218,
30,
1002,
2068,
16,
261,
296,
2279,
411,
351,
34,
3072,
429,
2184,
1757,
351,
34,
4591,
3170,
6134,
225,
309,
486,
2605,
67,
350,
30,
1002,
2068,
16,
261,
296,
2279,
411,
351,
34,
6006,
612,
1757,
351,
34,
4591,
1269,
6134,
225,
309,
810,
67,
2649,
471,
486,
810,
67,
350,
30,
1002,
2068,
16,
261,
296,
2279,
411,
351,
34,
2630,
612,
1757,
351,
34,
4591,
1269,
6134,
225,
8719,
33,
1458,
12,
14661,
1043,
16,
365,
33,
2890,
30,
389,
588,
2271,
12,
2890,
16,
1043,
3631,
6218,
13,
364,
1043,
316,
8719,
30,
612,
33,
85,
18,
350,
309,
810,
67,
350,
30,
364,
508,
16,
1501,
316,
1043,
6315,
3072,
429,
67,
7099,
7675,
3319,
13332,
309,
562,
12,
12926,
13,
405,
404,
30,
498,
11613,
87,
5258,
87,
6,
738,
261,
350,
16,
529,
13,
469,
30,
498,
33,
529,
1775,
63,
856,
65,
33,
3175,
1311,
18,
6923,
12,
856,
13,
309,
1043,
6315,
3072,
429,
67,
2088,
67,
5112,
1435,
353,
599,
30,
1002,
296,
984,
16665,
5167,
429,
1068,
2187,
12,
3536,
1986,
810,
23721,
733,
16,
411,
351,
9822,
87,
1757,
351,
20401,
711,
486,
2118,
18432,
18,
225,
30608,
518,
711,
2118,
18432,
16,
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,
527,
12,
2890,
16,
2605,
67,
350,
16,
2605,
67,
2649,
16,
2605,
67,
4060,
16,
810,
67,
350,
16,
810,
67,
2649,
16,
6218,
22850,
6487,
12492,
33,
7036,
4672,
296,
1289,
279,
2605,
11,
225,
309,
486,
6218,
30,
1002,
2068,
16,
261,
296,
2279,
411,
351,
34,
3072,
429,
2184,
1757,
351,
34,
4591,
3170,
6134,
225,
309,
486,
2605,
67,
350,
30,
1002,
2068,
16,
261,
296,
2279,
411,
351,
34,
6006,
612,
1757,
351,
34,
4591,
1269,
6134,
225,
309,
810,
67,
2649,
471,
486,
810,
67,
350,
30,
1002,
2068,
16,
261,
296,
2279,
411,
351,
34,
2630,
612,
1757,
351,
34,
4591,
1269,
6134,
225,
8719,
33,
1458,
12,
14661,
1043,
2
] |
layer = svc.layers[sys.argv[2]] if len(sys.argv) == 5: seed(svc, base, layer, map(int, sys.argv[3:]))
|
layer = svc.layers[sys.argv[1]] if len(sys.argv) == 4: seed(svc, layer, map(int, sys.argv[2:])) elif len(sys.argv) == 5: seed(svc, layer, map(int, sys.argv[2:4]), map(float, sys.argv[4].split(",")))
|
def main (): from Service import Service, cfgfiles from Layer import Layer base = sys.argv[1] svc = Service.load(*cfgfiles) layer = svc.layers[sys.argv[2]] if len(sys.argv) == 5: seed(svc, base, layer, map(int, sys.argv[3:])) elif len(sys.argv) == 6: seed(svc, base, layer, map(int, sys.argv[3:5]), map(float, sys.argv[5].split(","))) else: for line in sys.stdin.readlines(): lat, lon, delta = map(float, line.split(",")) bbox = (lon - delta, lat - delta, lon + delta, lat + delta) print "===> %s <===" % (bbox,) seed(svc, base, layer, (5, 17), bbox)
|
7c03b938be9179453d0fd8f6bb9a4360ab61083e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6188/7c03b938be9179453d0fd8f6bb9a4360ab61083e/Client.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
1832,
30,
628,
1956,
1930,
1956,
16,
2776,
2354,
628,
12112,
1930,
12112,
1026,
225,
273,
2589,
18,
19485,
63,
21,
65,
7538,
273,
1956,
18,
945,
30857,
7066,
2354,
13,
3018,
273,
7538,
18,
10396,
63,
9499,
18,
19485,
63,
21,
13563,
309,
562,
12,
9499,
18,
19485,
13,
422,
1059,
30,
5009,
12,
30992,
16,
3018,
16,
852,
12,
474,
16,
2589,
18,
19485,
63,
22,
30,
22643,
1327,
562,
12,
9499,
18,
19485,
13,
422,
1381,
30,
5009,
12,
30992,
16,
3018,
16,
852,
12,
474,
16,
2589,
18,
19485,
63,
22,
30,
24,
65,
3631,
852,
12,
5659,
16,
2589,
18,
19485,
63,
24,
8009,
4939,
2932,
10837,
20349,
1327,
562,
12,
9499,
18,
19485,
13,
422,
1666,
30,
5009,
12,
30992,
16,
1026,
16,
3018,
16,
852,
12,
474,
16,
2589,
18,
19485,
63,
23,
30,
25,
65,
3631,
852,
12,
5659,
16,
2589,
18,
19485,
63,
25,
8009,
4939,
2932,
10837,
20349,
469,
30,
364,
980,
316,
2589,
18,
21772,
18,
896,
3548,
13332,
2516,
16,
4281,
16,
3622,
273,
852,
12,
5659,
16,
980,
18,
4939,
2932,
10837,
3719,
8472,
273,
261,
9379,
300,
3622,
16,
2516,
300,
3622,
16,
4281,
397,
3622,
16,
2516,
397,
3622,
13,
1172,
315,
631,
9207,
738,
87,
411,
631,
1546,
738,
261,
20737,
16,
13,
5009,
12,
30992,
16,
1026,
16,
3018,
16,
261,
25,
16,
8043,
3631,
8472,
13,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
1832,
30,
628,
1956,
1930,
1956,
16,
2776,
2354,
628,
12112,
1930,
12112,
1026,
225,
273,
2589,
18,
19485,
63,
21,
65,
7538,
273,
1956,
18,
945,
30857,
7066,
2354,
13,
3018,
273,
7538,
18,
10396,
63,
9499,
18,
19485,
63,
21,
13563,
309,
562,
12,
9499,
18,
19485,
13,
422,
1059,
30,
5009,
12,
30992,
16,
3018,
16,
852,
12,
474,
16,
2589,
18,
19485,
63,
22,
30,
22643,
1327,
562,
12,
9499,
18,
19485,
13,
422,
1381,
30,
5009,
12,
30992,
16,
3018,
16,
852,
12,
474,
16,
2589,
18,
19485,
63,
22,
30,
24,
65,
3631,
852,
12,
5659,
16,
2589,
18,
19485,
63,
24,
8009,
4939,
2932,
10837,
20349,
1327,
562,
12,
9499,
2
] |
language='c++'
|
depends = ['sage/combinat/partitions_c.h'], language='c++'
|
def is_newer(file1, file2): """ Return True if either file2 does not exist or is older than file1. If file1 does not exist, always return False. """ if not os.path.exists(file1): return False if not os.path.exists(file2): return True if os.path.getmtime(file2) < os.path.getmtime(file1): return True return False
|
1566a0251d3192d0d1c090cbeb6e117ad663da4f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/1566a0251d3192d0d1c090cbeb6e117ad663da4f/setup.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
353,
67,
2704,
264,
12,
768,
21,
16,
585,
22,
4672,
3536,
2000,
1053,
309,
3344,
585,
22,
1552,
486,
1005,
578,
353,
12156,
2353,
585,
21,
18,
225,
971,
585,
21,
1552,
486,
1005,
16,
3712,
327,
1083,
18,
3536,
309,
486,
1140,
18,
803,
18,
1808,
12,
768,
21,
4672,
327,
1083,
309,
486,
1140,
18,
803,
18,
1808,
12,
768,
22,
4672,
327,
1053,
309,
1140,
18,
803,
18,
588,
10838,
12,
768,
22,
13,
411,
1140,
18,
803,
18,
588,
10838,
12,
768,
21,
4672,
327,
1053,
327,
1083,
225,
2,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
353,
67,
2704,
264,
12,
768,
21,
16,
585,
22,
4672,
3536,
2000,
1053,
309,
3344,
585,
22,
1552,
486,
1005,
578,
353,
12156,
2353,
585,
21,
18,
225,
971,
585,
21,
1552,
486,
1005,
16,
3712,
327,
1083,
18,
3536,
309,
486,
1140,
18,
803,
18,
1808,
12,
768,
21,
4672,
327,
1083,
309,
486,
1140,
18,
803,
18,
1808,
12,
768,
22,
4672,
327,
1053,
309,
1140,
18,
803,
18,
588,
10838,
12,
768,
22,
13,
411,
1140,
18,
803,
18,
588,
10838,
12,
768,
21,
4672,
327,
1053,
327,
1083,
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
] |
print '\t\tcp.Unadvise(cookie)'
|
print '\t\t\tcp.Unadvise(cookie)'
|
print '\tdef close(self):'
|
c1e3238fc978a75546f68a02cd5245ac27b9d9c8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/677/c1e3238fc978a75546f68a02cd5245ac27b9d9c8/genpy.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1172,
2337,
88,
536,
1746,
12,
2890,
13,
2497,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1172,
2337,
88,
536,
1746,
12,
2890,
13,
2497,
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
] |
For infinite periodic words (resp. for finite words of type `u^i u[0:j]`), the reduced Rauzy graph of order `n` (resp. for `n` smaller or equal to `(i-1)|u|+j`) is the directed graph whose unique vertex is the prefix `p` of length `n` of self and which has an only edge which is a loop on `p` labelled by `w[n+1:|w|] p` where `w` is the unique return word to `p`. In other cases, it is the directed graph defined as followed. Let `G_n` be the Rauzy graph of order `n` of self. The vertices are the vertices of `G_n` that are either special or not prolongable to the right of to the left. For each couple (`u`, `v`) of such vertices and each directed path in `G_n` from `u` to `v` that contains no other vertices that are special, there is an edge from `u` to `v` in the reduced Rauzy graph of order `n` whose label is the label of the path in `G_n`. NOTE: In the case of infinite recurrent non periodic words, this definition correspond to the following one that can be found in [1] and [2] where a simple path is a path that begins with a special factor, ends with a special factor and contains no other vertices that are special: The reduced Rauzy graph of factors of length `n` is obtained from `G_n` by replacing each simple path `P=v_1 v_2 ... v_{\ell}` with an edge `v_1 v_{\ell}` whose label is the concatenation of the labels of the edges of `P`. INPUT: - ``n`` - integer OUTPUT: Digraph
|
For infinite periodic words (resp. for finite words of type `u^i u[0:j]`), the reduced Rauzy graph of order `n` (resp. for `n` smaller or equal to `(i-1)|u|+j`) is the directed graph whose unique vertex is the prefix `p` of length `n` of self and which has an only edge which is a loop on `p` labelled by `w[n+1:|w|] p` where `w` is the unique return word to `p`. In other cases, it is the directed graph defined as followed. Let `G_n` be the Rauzy graph of order `n` of self. The vertices are the vertices of `G_n` that are either special or not prolongable to the right or to the left. For each couple (`u`, `v`) of such vertices and each directed path in `G_n` from `u` to `v` that contains no other vertices that are special, there is an edge from `u` to `v` in the reduced Rauzy graph of order `n` whose label is the label of the path in `G_n`. .. NOTE:: In the case of infinite recurrent non periodic words, this definition correspond to the following one that can be found in [1] and [2] where a simple path is a path that begins with a special factor, ends with a special factor and contains no other vertices that are special: The reduced Rauzy graph of factors of length `n` is obtained from `G_n` by replacing each simple path `P=v_1 v_2 ... v_{\ell}` with an edge `v_1 v_{\ell}` whose label is the concatenation of the labels of the edges of `P`.
|
def reduced_rauzy_graph(self, n): r""" Returns the reduced Rauzy graph of order `n` of self.
|
2eab66e63556bda27359db7a54db5c47986fb336 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9417/2eab66e63556bda27359db7a54db5c47986fb336/word.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
13162,
67,
354,
89,
21832,
67,
4660,
12,
2890,
16,
290,
4672,
436,
8395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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
13162,
67,
354,
89,
21832,
67,
4660,
12,
2890,
16,
290,
4672,
436,
8395,
2860,
326,
13162,
534,
8377,
21832,
2667,
434,
1353,
1375,
82,
68,
434,
365,
18,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
profileDir = os.path.join(dataDir, '.chandler', '0.7')
|
profileDir = os.path.join(dataDir, '.chandler', version.release)
|
def _makeRandomProfileDir(pattern): chars = string.letters + string.digits name = ''.join([chars[ord(c) % len(chars)] for c in os.urandom(8)]) profileDir = pattern.replace('*', '%s') %(name) createProfileDir(profileDir) return profileDir
|
8d62c8fd4c30437862ec4217f11d7d1054d1a354 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/8d62c8fd4c30437862ec4217f11d7d1054d1a354/Utility.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
6540,
8529,
4029,
1621,
12,
4951,
4672,
5230,
273,
533,
18,
26054,
397,
533,
18,
16649,
508,
273,
875,
18,
5701,
3816,
7549,
63,
517,
12,
71,
13,
738,
562,
12,
7549,
25887,
364,
276,
316,
1140,
18,
295,
2111,
12,
28,
13,
5717,
3042,
1621,
273,
1936,
18,
2079,
2668,
14,
2187,
1995,
87,
6134,
8975,
529,
13,
752,
4029,
1621,
12,
5040,
1621,
13,
327,
3042,
1621,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
6540,
8529,
4029,
1621,
12,
4951,
4672,
5230,
273,
533,
18,
26054,
397,
533,
18,
16649,
508,
273,
875,
18,
5701,
3816,
7549,
63,
517,
12,
71,
13,
738,
562,
12,
7549,
25887,
364,
276,
316,
1140,
18,
295,
2111,
12,
28,
13,
5717,
3042,
1621,
273,
1936,
18,
2079,
2668,
14,
2187,
1995,
87,
6134,
8975,
529,
13,
752,
4029,
1621,
12,
5040,
1621,
13,
327,
3042,
1621,
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
] |
self.releaseDateObj = datetime.fromtimestamp( fileutil.getmtime(filename))
|
def set_release_date(self): try: self.releaseDateObj = datetime.fromtimestamp( fileutil.getmtime(self.filename)) except OSError: self.releaseDateObj = datetime.now()
|
def set_filename(self, filename): Item.set_filename(self, filename) self.releaseDateObj = datetime.fromtimestamp( fileutil.getmtime(filename))
|
34c4cb6b3e061618ee5b07d65f51368158674611 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/34c4cb6b3e061618ee5b07d65f51368158674611/item.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
67,
3459,
12,
2890,
16,
1544,
4672,
4342,
18,
542,
67,
3459,
12,
2890,
16,
1544,
13,
365,
18,
9340,
1626,
2675,
273,
3314,
18,
2080,
5508,
12,
585,
1367,
18,
588,
10838,
12,
3459,
3719,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
30,
1652,
444,
67,
3459,
12,
2890,
16,
1544,
4672,
4342,
18,
542,
67,
3459,
12,
2890,
16,
1544,
13,
365,
18,
9340,
1626,
2675,
273,
3314,
18,
2080,
5508,
12,
585,
1367,
18,
588,
10838,
12,
3459,
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,
-100,
-100,
-100
] |
clam_env.Append( CPPFLAGS = ['-DWIN32', '-D_DEBUG'] ) clam_env.Append( CCFLAGS = '/D /FD /GR /GX /GZ /MDd /Od /W3 /ZI /Zm1000' ) clam_env.Append( LINKFLAGS = ['/OPT:NOREF', '/OPT:NOICF', '/DEBUG'] ) for includePath in clam_env['CPPPATH'] : print('include before pthread checking: ' + includePath )
|
env.Append( CPPFLAGS = ['-DWIN32', '-D_DEBUG'] ) env.Append( CCFLAGS = '/D /FD /GR /GX /GZ /MDd /Od /W3 /ZI /Zm1000' ) env.Append( LINKFLAGS = ['/OPT:NOREF', '/OPT:NOICF', '/DEBUG'] )
|
def setup_global_environment( clam_env, conf ) : # clam env # check for pkg-config, compiler support, bash features, et. if sys.platform == 'linux2' : if not conf.check_pkg_config( conf ) : print 'WARNING: pkg-config is not installed' clam_env['pkg_config_available'] = False else : clam_env['pkg_config_available'] = True if clam_env['double'] : clam_env.Append( CPPFLAGS=['-DCLAM_DOUBLE'] ) else : clam_env.Append( CPPFLAGS=['-DCLAM_FLOAT'] ) if not clam_env['checks'] : clam_env.Append( CPPFLAGS=['-DCLAM_DISABLE_CHECKS'] ) if clam_env['release_asserts'] : clam_env.Append( CPPFLAGS=['-DCLAM_USE_RELEASE_ASSERTS'] ) if clam_env['optimize_and_lose_precision'] : clam_env.Append( CPPFLAGS=['-DCLAM_OPTIMIZE'] ) if sys.platform != 'win32' : if clam_env['release'] : clam_env.Append( CCFLAGS='-g -O2 -fomit-frame-pointer -Wall'.split(' ') ) else : clam_env.Append( CCFLAGS='-g -Wall'.split(' ') ) else : if clam_env['release'] : clam_env.Append( CPPFLAGS = ['-DWIN32'] ) clam_env.Append( CCFLAGS = '/FD /GR /GX /MD /O2 /Og /G7 /GL /W3 /Zm1000' ) clam_env.Append( LINKFLAGS = ['/OPT:NOREF'] ) else : clam_env.Append( CPPFLAGS = ['-DWIN32', '-D_DEBUG'] ) clam_env.Append( CCFLAGS = '/D /FD /GR /GX /GZ /MDd /Od /W3 /ZI /Zm1000' ) clam_env.Append( LINKFLAGS = ['/OPT:NOREF', '/OPT:NOICF', '/DEBUG'] ) for includePath in clam_env['CPPPATH'] : print('include before pthread checking: ' + includePath ) # pthreads testing result = conf.CheckCHeader('pthread.h') if not result : print "Could not find pthread (Posix Threads) library headers!" return False if sys.platform == 'win32' : result = conf.CheckLib( 'pthreadVCE', 'pthread_join' ) else: result = conf.CheckLib( 'pthread', 'pthread_join' ) if not result : print "Could not find pthread (Posix Threads) library binaries!" return False result = conf.check_pthread() if not result : print "Thorough pthread check failed! Check config.log for details..." return False if result : clam_env.Append( CPPFLAGS=['-DUSE_PTHREADS=1'] ) #clam_env.Append( LIBS=['pthread'] ) if sys.platform == 'win32' : clam_env.Append( CPPFLAGS=['-DWIN32'] ) #if not sys.platform == 'win32' : if sys.platform == 'linux2' : clam_env.Append(LIBPATH=['/usr/local/lib','/opt/lib']) elif sys.platform == 'darwin' : clam_env.Append(LIBPATH=['/usr/local/lib','/usr/lib','/opt/local/lib']) return True
|
3b2775acdc54a677de237741e3af8ce52371f3d0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1456/3b2775acdc54a677de237741e3af8ce52371f3d0/clam_dependent_libs_checks.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3875,
67,
6347,
67,
10274,
12,
927,
301,
67,
3074,
16,
2195,
262,
294,
468,
927,
301,
1550,
468,
866,
364,
3475,
17,
1425,
16,
5274,
2865,
16,
24817,
4467,
16,
3393,
18,
309,
2589,
18,
9898,
422,
296,
20132,
22,
11,
294,
309,
486,
2195,
18,
1893,
67,
10657,
67,
1425,
12,
2195,
262,
294,
1172,
296,
9511,
30,
3475,
17,
1425,
353,
486,
5876,
11,
927,
301,
67,
3074,
3292,
10657,
67,
1425,
67,
5699,
3546,
273,
1083,
469,
294,
927,
301,
67,
3074,
3292,
10657,
67,
1425,
67,
5699,
3546,
273,
1053,
225,
309,
927,
301,
67,
3074,
3292,
9056,
3546,
294,
927,
301,
67,
3074,
18,
5736,
12,
5181,
52,
17836,
33,
3292,
17,
40,
5017,
2192,
67,
17088,
3546,
262,
469,
294,
927,
301,
67,
3074,
18,
5736,
12,
5181,
52,
17836,
33,
3292,
17,
40,
5017,
2192,
67,
15640,
3546,
262,
225,
309,
486,
927,
301,
67,
3074,
3292,
12366,
3546,
294,
927,
301,
67,
3074,
18,
5736,
12,
5181,
52,
17836,
33,
3292,
17,
40,
5017,
2192,
67,
13498,
2782,
67,
10687,
55,
3546,
262,
225,
309,
927,
301,
67,
3074,
3292,
9340,
67,
11231,
87,
3546,
294,
927,
301,
67,
3074,
18,
5736,
12,
5181,
52,
17836,
33,
3292,
17,
40,
5017,
2192,
67,
8001,
67,
30762,
67,
8423,
654,
8047,
3546,
262,
309,
927,
301,
67,
3074,
3292,
29155,
67,
464,
67,
2061,
67,
14548,
3546,
294,
927,
301,
67,
3074,
18,
5736,
12,
5181,
52,
17836,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3875,
67,
6347,
67,
10274,
12,
927,
301,
67,
3074,
16,
2195,
262,
294,
468,
927,
301,
1550,
468,
866,
364,
3475,
17,
1425,
16,
5274,
2865,
16,
24817,
4467,
16,
3393,
18,
309,
2589,
18,
9898,
422,
296,
20132,
22,
11,
294,
309,
486,
2195,
18,
1893,
67,
10657,
67,
1425,
12,
2195,
262,
294,
1172,
296,
9511,
30,
3475,
17,
1425,
353,
486,
5876,
11,
927,
301,
67,
3074,
3292,
10657,
67,
1425,
67,
5699,
3546,
273,
1083,
469,
294,
927,
301,
67,
3074,
3292,
10657,
67,
1425,
67,
5699,
3546,
273,
1053,
225,
309,
927,
301,
67,
3074,
3292,
9056,
3546,
294,
927,
301,
67,
3074,
18,
5736,
12,
5181,
52,
17836,
33,
3292,
17,
2
] |
recv_size = max(self._rbufsize, left)
|
recv_size = min(self._rbufsize, left)
|
def read(self, size=-1): data = self._rbuf if size < 0: # Read until EOF buffers = [] if data: buffers.append(data) self._rbuf = "" if self._rbufsize <= 1: recv_size = self.default_bufsize else: recv_size = self._rbufsize while True: data = self._sock.recv(recv_size) if not data: break buffers.append(data) return "".join(buffers) else: # Read until size bytes or EOF seen, whichever comes first buf_len = len(data) if buf_len >= size: self._rbuf = data[size:] return data[:size] buffers = [] if data: buffers.append(data) self._rbuf = "" while True: left = size - buf_len recv_size = max(self._rbufsize, left) data = self._sock.recv(recv_size) if not data: break buffers.append(data) n = len(data) if n >= left: self._rbuf = data[left:] buffers[-1] = data[:left] break buf_len += n return "".join(buffers)
|
37c5d8c7a95f58c24ab8da93a76323fe88cd20c5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12029/37c5d8c7a95f58c24ab8da93a76323fe88cd20c5/socket.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
12,
2890,
16,
963,
29711,
21,
4672,
501,
273,
365,
6315,
86,
4385,
309,
963,
411,
374,
30,
468,
2720,
3180,
6431,
9664,
273,
5378,
309,
501,
30,
9664,
18,
6923,
12,
892,
13,
365,
6315,
86,
4385,
273,
1408,
309,
365,
6315,
86,
4385,
1467,
1648,
404,
30,
10665,
67,
1467,
273,
365,
18,
1886,
67,
4385,
1467,
469,
30,
10665,
67,
1467,
273,
365,
6315,
86,
4385,
1467,
1323,
1053,
30,
501,
273,
365,
6315,
15031,
18,
18334,
12,
18334,
67,
1467,
13,
309,
486,
501,
30,
898,
9664,
18,
6923,
12,
892,
13,
327,
1408,
18,
5701,
12,
28101,
13,
469,
30,
468,
2720,
3180,
963,
1731,
578,
6431,
5881,
16,
600,
335,
580,
502,
14535,
1122,
1681,
67,
1897,
273,
562,
12,
892,
13,
309,
1681,
67,
1897,
1545,
963,
30,
365,
6315,
86,
4385,
273,
501,
63,
1467,
26894,
327,
501,
10531,
1467,
65,
9664,
273,
5378,
309,
501,
30,
9664,
18,
6923,
12,
892,
13,
365,
6315,
86,
4385,
273,
1408,
1323,
1053,
30,
2002,
273,
963,
300,
1681,
67,
1897,
10665,
67,
1467,
273,
1131,
12,
2890,
6315,
86,
4385,
1467,
16,
2002,
13,
501,
273,
365,
6315,
15031,
18,
18334,
12,
18334,
67,
1467,
13,
309,
486,
501,
30,
898,
9664,
18,
6923,
12,
892,
13,
290,
273,
562,
12,
892,
13,
309,
290,
1545,
2002,
30,
365,
6315,
86,
4385,
273,
501,
63,
4482,
26894,
9664,
18919,
21,
65,
273,
501,
10531,
4482,
65,
898,
1681,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
12,
2890,
16,
963,
29711,
21,
4672,
501,
273,
365,
6315,
86,
4385,
309,
963,
411,
374,
30,
468,
2720,
3180,
6431,
9664,
273,
5378,
309,
501,
30,
9664,
18,
6923,
12,
892,
13,
365,
6315,
86,
4385,
273,
1408,
309,
365,
6315,
86,
4385,
1467,
1648,
404,
30,
10665,
67,
1467,
273,
365,
18,
1886,
67,
4385,
1467,
469,
30,
10665,
67,
1467,
273,
365,
6315,
86,
4385,
1467,
1323,
1053,
30,
501,
273,
365,
6315,
15031,
18,
18334,
12,
18334,
67,
1467,
13,
309,
486,
501,
30,
898,
9664,
18,
6923,
12,
892,
13,
327,
1408,
18,
5701,
12,
28101,
13,
469,
30,
468,
2720,
3180,
963,
1731,
578,
6431,
5881,
16,
600,
335,
580,
2
] |
self.req = pyfile.m.core.requestFactory.getRequest(self.__name__)
|
def __init__(self, pyfile): self.config = pyfile.m.core.config self.core = pyfile.m.core
|
03e179e217d000f729d3384d99b185e750e1c3d9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9838/03e179e217d000f729d3384d99b185e750e1c3d9/Plugin.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2395,
768,
4672,
365,
18,
1425,
273,
2395,
768,
18,
81,
18,
3644,
18,
1425,
365,
18,
3644,
273,
2395,
768,
18,
81,
18,
3644,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2395,
768,
4672,
365,
18,
1425,
273,
2395,
768,
18,
81,
18,
3644,
18,
1425,
365,
18,
3644,
273,
2395,
768,
18,
81,
18,
3644,
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
] |
|
if "BODY.PEEK[]" in msg_parts:
|
if msg_parts.find("BODY.PEEK[]") != -1:
|
def onFetch(self, id, command, args, uid=False): msg_nums, msg_parts = args.split(None, 1) msg_nums = msg_nums.split() response = {} for msg in msg_nums: response[msg] = [] if "UID" in msg_parts: if uid: for msg in msg_nums: response[msg].append("FETCH (UID %s)" % (msg,)) else: for msg in msg_nums: response[msg].append("FETCH (UID %s)" % (IMAP_UIDS[int(msg)])) if "BODY.PEEK[]" in msg_parts: for msg in msg_nums: if uid: msg_uid = int(msg) else: msg_uid = IMAP_UIDS[int(msg)] response[msg].append(("FETCH (BODY[] {%s}" % (len(IMAP_MESSAGES[msg_uid])), IMAP_MESSAGES[msg_uid])) if "RFC822.HEADER" in msg_parts: for msg in msg_nums: if uid: msg_uid = int(msg) else: msg_uid = IMAP_UIDS[int(msg)] msg_text = IMAP_MESSAGES[msg_uid] headers, unused = msg_text.split('\r\n\r\n', 1) response[msg].append(("FETCH (RFC822.HEADER {%s}" % (len(headers),), headers)) if "FLAGS INTERNALDATE" in msg_parts: # We make up flags & dates. for msg in msg_nums: response[msg].append('FETCH (FLAGS (\Seen \Deleted) ' 'INTERNALDATE "27-Jul-2004 13:1' '1:56 +1200') for msg in msg_nums: try: simple = " ".join(response[msg]) except TypeError: simple = [] for part in response[msg]: if isinstance(part, types.StringTypes): simple.append(part) else: simple.append('%s\r\n%s)' % (part[0], part[1])) simple = " ".join(simple) response[msg] = "* %s %s" % (msg, simple) response_text = "\r\n".join(response.values()) return "%s\r\n%s OK FETCH completed\r\n" % (response_text, id)
|
e95d9caa455233c9752498a5155fdea947abf6b3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6126/e95d9caa455233c9752498a5155fdea947abf6b3/test_sb_imapfilter.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
603,
5005,
12,
2890,
16,
612,
16,
1296,
16,
833,
16,
4555,
33,
8381,
4672,
1234,
67,
21180,
16,
1234,
67,
6019,
273,
833,
18,
4939,
12,
7036,
16,
404,
13,
1234,
67,
21180,
273,
1234,
67,
21180,
18,
4939,
1435,
766,
273,
2618,
364,
1234,
316,
1234,
67,
21180,
30,
766,
63,
3576,
65,
273,
5378,
309,
315,
3060,
6,
316,
1234,
67,
6019,
30,
309,
4555,
30,
364,
1234,
316,
1234,
67,
21180,
30,
766,
63,
3576,
8009,
6923,
2932,
20231,
261,
3060,
738,
87,
2225,
738,
261,
3576,
16,
3719,
469,
30,
364,
1234,
316,
1234,
67,
21180,
30,
766,
63,
3576,
8009,
6923,
2932,
20231,
261,
3060,
738,
87,
2225,
738,
261,
3445,
2203,
67,
3060,
55,
63,
474,
12,
3576,
13,
22643,
309,
1234,
67,
6019,
18,
4720,
2932,
16691,
18,
1423,
11325,
63,
4279,
13,
480,
300,
21,
30,
364,
1234,
316,
1234,
67,
21180,
30,
309,
4555,
30,
1234,
67,
1911,
273,
509,
12,
3576,
13,
469,
30,
1234,
67,
1911,
273,
6246,
2203,
67,
3060,
55,
63,
474,
12,
3576,
25887,
766,
63,
3576,
8009,
6923,
12,
2932,
20231,
261,
16691,
8526,
288,
9,
87,
1532,
738,
261,
1897,
12,
3445,
2203,
67,
26195,
63,
3576,
67,
1911,
5717,
3631,
6246,
2203,
67,
26195,
63,
3576,
67,
1911,
22643,
309,
315,
17926,
24532,
18,
7557,
6,
316,
1234,
67,
6019,
30,
364,
1234,
316,
1234,
67,
21180,
30,
309,
4555,
30,
1234,
67,
1911,
273,
509,
12,
3576,
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,
603,
5005,
12,
2890,
16,
612,
16,
1296,
16,
833,
16,
4555,
33,
8381,
4672,
1234,
67,
21180,
16,
1234,
67,
6019,
273,
833,
18,
4939,
12,
7036,
16,
404,
13,
1234,
67,
21180,
273,
1234,
67,
21180,
18,
4939,
1435,
766,
273,
2618,
364,
1234,
316,
1234,
67,
21180,
30,
766,
63,
3576,
65,
273,
5378,
309,
315,
3060,
6,
316,
1234,
67,
6019,
30,
309,
4555,
30,
364,
1234,
316,
1234,
67,
21180,
30,
766,
63,
3576,
8009,
6923,
2932,
20231,
261,
3060,
738,
87,
2225,
738,
261,
3576,
16,
3719,
469,
30,
364,
1234,
316,
1234,
67,
21180,
30,
766,
63,
3576,
8009,
6923,
2932,
20231,
261,
3060,
738,
87,
2225,
738,
261,
3445,
2203,
2
] |
def getCESiteMapping(gridName=''):
|
def getCESiteMapping( gridName = '' ):
|
def getCESiteMapping(gridName=''): """ Returns a dictionary of all CEs and their associated site, e.g. {'ce101.cern.ch':'LCG.CERN.ch', ...]} Assumes CS structure of: /Resources/Sites/<GRIDNAME>/<SITENAME> """ ceSiteMapping = {} gridTypes = gConfig.getSections('/Resources/Sites/',[]) if not gridTypes['OK']: gLogger.warn('Problem retrieving sections in /Resources/Sites') return gridTypes gridTypes = gridTypes['Value'] if gridName: if not gridName in gridTypes: return S_ERROR('Could not get sections for /Resources/Sites/%s' %gridName) gridTypes = [gridName] gLogger.debug('Grid Types are: %s' %(string.join(gridTypes,', '))) for grid in gridTypes: sites = gConfig.getSections('/Resources/Sites/%s' %grid,[]) if not sites['OK']: #gConfig returns S_ERROR for empty sections until version gLogger.warn('Problem retrieving /Resources/Sites/%s section' %grid) return sites if sites: for candidate in sites['Value']: siteCEs = gConfig.getValue('/Resources/Sites/%s/%s/CE' %(grid,candidate),[]) for ce in siteCEs: if ceSiteMapping.has_key(ce): current = ceSiteMapping[ce] gLogger.warn('CE %s already has a defined site %s but it is also defined for %s' %(ce,current,candidate)) else: ceSiteMapping[ce]=candidate return S_OK(ceSiteMapping)
|
22589f96877819f2316c9c3a130752773212d632 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/22589f96877819f2316c9c3a130752773212d632/SiteCEMapping.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
1441,
4956,
3233,
12,
3068,
461,
273,
875,
262,
30,
3536,
2860,
279,
3880,
434,
777,
385,
6705,
471,
3675,
3627,
2834,
16,
425,
18,
75,
18,
13666,
311,
15168,
18,
14770,
18,
343,
11,
2497,
13394,
43,
18,
39,
654,
50,
18,
343,
2187,
1372,
18322,
25374,
6761,
3695,
434,
30,
342,
3805,
19,
17055,
28177,
6997,
734,
1985,
16893,
32,
55,
1285,
21150,
34,
3536,
5898,
4956,
3233,
273,
2618,
3068,
2016,
273,
314,
809,
18,
588,
15965,
2668,
19,
3805,
19,
17055,
19,
2187,
63,
5717,
309,
486,
3068,
2016,
3292,
3141,
3546,
30,
314,
3328,
18,
8935,
2668,
13719,
17146,
7178,
316,
342,
3805,
19,
17055,
6134,
327,
3068,
2016,
225,
3068,
2016,
273,
3068,
2016,
3292,
620,
3546,
309,
3068,
461,
30,
309,
486,
3068,
461,
316,
3068,
2016,
30,
327,
348,
67,
3589,
2668,
4445,
486,
336,
7178,
364,
342,
3805,
19,
17055,
5258,
87,
11,
738,
5222,
461,
13,
3068,
2016,
273,
306,
5222,
461,
65,
225,
314,
3328,
18,
4148,
2668,
6313,
7658,
854,
30,
738,
87,
11,
8975,
1080,
18,
5701,
12,
5222,
2016,
16,
2187,
296,
20349,
364,
3068,
316,
3068,
2016,
30,
9180,
273,
314,
809,
18,
588,
15965,
2668,
19,
3805,
19,
17055,
5258,
87,
11,
738,
5222,
16,
63,
5717,
309,
486,
9180,
3292,
3141,
3546,
30,
468,
75,
809,
1135,
348,
67,
3589,
364,
1008,
7178,
3180,
1177,
314,
3328,
18,
8935,
2668,
13719,
17146,
342,
3805,
19,
17055,
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,
336,
1441,
4956,
3233,
12,
3068,
461,
273,
875,
262,
30,
3536,
2860,
279,
3880,
434,
777,
385,
6705,
471,
3675,
3627,
2834,
16,
425,
18,
75,
18,
13666,
311,
15168,
18,
14770,
18,
343,
11,
2497,
13394,
43,
18,
39,
654,
50,
18,
343,
2187,
1372,
18322,
25374,
6761,
3695,
434,
30,
342,
3805,
19,
17055,
28177,
6997,
734,
1985,
16893,
32,
55,
1285,
21150,
34,
3536,
5898,
4956,
3233,
273,
2618,
3068,
2016,
273,
314,
809,
18,
588,
15965,
2668,
19,
3805,
19,
17055,
19,
2187,
63,
5717,
309,
486,
3068,
2016,
3292,
3141,
3546,
30,
314,
3328,
18,
8935,
2668,
13719,
17146,
7178,
316,
342,
3805,
19,
17055,
6134,
327,
3068,
2016,
225,
3068,
2016,
2
] |
def __init__(self, fp):
|
seekable = 0 def __init__(self, fp, seekable=1):
|
def __init__(self, fp): self.fp = fp self.stack = [] # Grows down self.level = 0 self.last = 0 self.start = self.fp.tell() self.posstack = [] # Grows down
|
24234bcdb14b276abecfb44b3b4afc5b093c0c3e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/24234bcdb14b276abecfb44b3b4afc5b093c0c3e/multifile.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
6520,
429,
273,
374,
1652,
1001,
2738,
972,
12,
2890,
16,
4253,
16,
6520,
429,
33,
21,
4672,
365,
18,
7944,
273,
4253,
365,
18,
3772,
273,
5378,
468,
611,
3870,
2588,
365,
18,
2815,
273,
374,
365,
18,
2722,
273,
374,
365,
18,
1937,
273,
365,
18,
7944,
18,
88,
1165,
1435,
365,
18,
917,
3772,
273,
5378,
468,
611,
3870,
2588,
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,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
6520,
429,
273,
374,
1652,
1001,
2738,
972,
12,
2890,
16,
4253,
16,
6520,
429,
33,
21,
4672,
365,
18,
7944,
273,
4253,
365,
18,
3772,
273,
5378,
468,
611,
3870,
2588,
365,
18,
2815,
273,
374,
365,
18,
2722,
273,
374,
365,
18,
1937,
273,
365,
18,
7944,
18,
88,
1165,
1435,
365,
18,
917,
3772,
273,
5378,
468,
611,
3870,
2588,
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
] |
ConditionalWriteFile(PREFIX+'/direct/__init__.py', DIRECTINIT)
|
if (OMIT.count("PYTHON")==0): ConditionalWriteFile(PREFIX+'/direct/__init__.py', DIRECTINIT)
|
# ifndef WIN32
|
a7a6d72930ad9abe29a3a3863f5e83ab3573bc1a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7242/a7a6d72930ad9abe29a3a3863f5e83ab3573bc1a/makepanda.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
468,
309,
82,
536,
678,
706,
1578,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
468,
309,
82,
536,
678,
706,
1578,
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
] |
IPv4('192.168.1.1') == IPv4(3232235777).
|
IPv4('192.168.1.1') == IPv4(3232235777).
|
def __init__(self, ipaddr): """Instantiate a new IPv4 object.
|
24d86d232c2c338090416f343c6ffddb8dc97766 /local1/tlutelli/issta_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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2359,
4793,
4672,
3536,
22438,
279,
394,
7853,
24,
733,
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
] |
for line in dopen('/sys/devices/system/cpu/'+cpu+'/cpufreq/cpuinfo_cur_freq').readlines():
|
for line in dopen('/sys/devices/system/cpu/'+cpu+'/cpufreq/scaling_cur_freq').readlines():
|
def extract(self): for cpu in self.vars: for line in dopen('/sys/devices/system/cpu/'+cpu+'/cpufreq/cpuinfo_max_freq').readlines(): l = string.split(line) max = int(l[0]) for line in dopen('/sys/devices/system/cpu/'+cpu+'/cpufreq/cpuinfo_cur_freq').readlines(): l = string.split(line) cur = int(l[0]) ### Need to close because of bug in sysfs (?) dclose('/sys/devices/system/cpu/'+cpu+'/cpufreq/cpuinfo_cur_freq') self.val[cpu] = cur * 100.0 / max
|
9d2e2733ac83a295050df3131b55bf63dede6678 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1442/9d2e2733ac83a295050df3131b55bf63dede6678/dstat_cpufreq.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2608,
12,
2890,
4672,
364,
8326,
316,
365,
18,
4699,
30,
364,
980,
316,
302,
3190,
2668,
19,
9499,
19,
12506,
19,
4299,
19,
11447,
2473,
15,
11447,
6797,
19,
4057,
696,
3658,
19,
11447,
1376,
67,
1896,
67,
10212,
16063,
896,
3548,
13332,
328,
273,
533,
18,
4939,
12,
1369,
13,
943,
273,
509,
12,
80,
63,
20,
5717,
364,
980,
316,
302,
3190,
2668,
19,
9499,
19,
12506,
19,
4299,
19,
11447,
2473,
15,
11447,
6797,
19,
4057,
696,
3658,
19,
24576,
67,
1397,
67,
10212,
16063,
896,
3548,
13332,
328,
273,
533,
18,
4939,
12,
1369,
13,
662,
273,
509,
12,
80,
63,
20,
5717,
11849,
12324,
358,
1746,
2724,
434,
7934,
316,
2589,
2556,
261,
8535,
302,
4412,
2668,
19,
9499,
19,
12506,
19,
4299,
19,
11447,
2473,
15,
11447,
6797,
19,
4057,
696,
3658,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2608,
12,
2890,
4672,
364,
8326,
316,
365,
18,
4699,
30,
364,
980,
316,
302,
3190,
2668,
19,
9499,
19,
12506,
19,
4299,
19,
11447,
2473,
15,
11447,
6797,
19,
4057,
696,
3658,
19,
11447,
1376,
67,
1896,
67,
10212,
16063,
896,
3548,
13332,
328,
273,
533,
18,
4939,
12,
1369,
13,
943,
273,
509,
12,
80,
63,
20,
5717,
364,
980,
316,
302,
3190,
2668,
19,
9499,
19,
12506,
19,
4299,
19,
11447,
2473,
15,
11447,
6797,
19,
4057,
696,
3658,
19,
24576,
67,
1397,
67,
10212,
16063,
896,
3548,
13332,
328,
273,
533,
18,
4939,
12,
1369,
13,
662,
273,
509,
12,
80,
63,
20,
5717,
11849,
12324,
358,
1746,
2724,
434,
7934,
316,
2589,
2556,
2
] |
open(f+'~', 'w').write(contents) open(f, 'w').write(fix_includes(contents))
|
new = fix_includes(contents) if new <> contents: open(f+'~', 'w').write(contents) open(f, 'w').write(fix_includes(contents))
|
def fix_includes(bulk): eol = re.search("[\r\n]+", bulk).group() for heading, keywords in data: if bulk.find(heading) == -1: for word in keywords: if bulk.find(word) <> -1: bulk = "#include <%s>%s%s" % (heading, eol, bulk) break return bulk
|
9680a3aa371618d85986dbafb926ad9ce7a8b65e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4662/9680a3aa371618d85986dbafb926ad9ce7a8b65e/fixc_includes.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2917,
67,
18499,
12,
14597,
4672,
14775,
273,
283,
18,
3072,
2932,
7438,
86,
64,
82,
3737,
3113,
8280,
2934,
1655,
1435,
364,
11053,
16,
7093,
316,
501,
30,
309,
8280,
18,
4720,
12,
19948,
13,
422,
300,
21,
30,
364,
2076,
316,
7093,
30,
309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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2917,
67,
18499,
12,
14597,
4672,
14775,
273,
283,
18,
3072,
2932,
7438,
86,
64,
82,
3737,
3113,
8280,
2934,
1655,
1435,
364,
11053,
16,
7093,
316,
501,
30,
309,
8280,
18,
4720,
12,
19948,
13,
422,
300,
21,
30,
364,
2076,
316,
7093,
30,
309,
8280,
18,
4720,
12,
1095,
13,
2813,
300,
21,
30,
8280,
273,
6619,
6702,
23930,
87,
9822,
87,
9,
87,
6,
738,
261,
19948,
16,
14775,
16,
8280,
13,
898,
327,
8280,
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
] |
arch = _TARGET_ARCH_TO_BAT_ARCH[target_platform] debug('use_script 2 %s, args:%s\n' % (repr(script), arch)) d = script_env(script, args=arch)
|
arg = _HOST_TARGET_ARCH_TO_BAT_ARCH[(host_platform, target_platform)] debug('use_script 2 %s, args:%s\n' % (repr(script), arg)) d = script_env(script, args=arg)
|
def msvc_setup_env(env): debug('msvc_setup_env()') version = get_default_version(env) host_platform, target_platform = get_host_target(env) debug('msvc_setup_env: using specified MSVC version %s\n' % repr(version)) env['MSVC_VERSION'] = version msvc = InstalledVCMap.get(version) if not msvc: msg = 'VC version %s not installed' % version debug('msv %s\n' % repr(msg)) SCons.Warnings.warn(SCons.Warnings.VisualCMissingWarning, msg) return None use_script = env.get('MSVC_USE_SCRIPT', True) if SCons.Util.is_String(use_script): debug('use_script 1 %s\n' % repr(use_script)) d = script_env(use_script) elif use_script: # XXX: this is VS 2008 specific, fix this script = os.path.join(msvc.find_vc_dir(), "vcvarsall.bat") arch = _TARGET_ARCH_TO_BAT_ARCH[target_platform] debug('use_script 2 %s, args:%s\n' % (repr(script), arch)) d = script_env(script, args=arch) else: debug('msvc.get_default_env()\n') d = msvc.get_default_env() for k, v in d.items(): env.PrependENVPath(k, v, delete_existing=True)
|
47fb589099019154d690cd56598c98cb5baf9825 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12817/47fb589099019154d690cd56598c98cb5baf9825/vc.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4086,
4227,
67,
8401,
67,
3074,
12,
3074,
4672,
1198,
2668,
959,
4227,
67,
8401,
67,
3074,
1435,
6134,
225,
1177,
273,
336,
67,
1886,
67,
1589,
12,
3074,
13,
1479,
67,
9898,
16,
1018,
67,
9898,
273,
336,
67,
2564,
67,
3299,
12,
3074,
13,
1198,
2668,
959,
4227,
67,
8401,
67,
3074,
30,
1450,
1269,
9238,
13464,
1177,
738,
87,
64,
82,
11,
738,
8480,
12,
1589,
3719,
1550,
3292,
3537,
13464,
67,
5757,
3546,
273,
1177,
225,
4086,
4227,
273,
13448,
4502,
13464,
863,
18,
588,
12,
1589,
13,
309,
486,
4086,
4227,
30,
1234,
273,
296,
13464,
1177,
738,
87,
486,
5876,
11,
738,
1177,
1198,
2668,
959,
90,
738,
87,
64,
82,
11,
738,
8480,
12,
3576,
3719,
20487,
18,
4312,
18,
8935,
12,
55,
9054,
18,
4312,
18,
25780,
39,
4841,
6210,
16,
1234,
13,
327,
599,
225,
999,
67,
4263,
273,
1550,
18,
588,
2668,
3537,
13464,
67,
8001,
67,
10885,
2187,
1053,
13,
309,
20487,
18,
1304,
18,
291,
67,
780,
12,
1202,
67,
4263,
4672,
1198,
2668,
1202,
67,
4263,
404,
738,
87,
64,
82,
11,
738,
8480,
12,
1202,
67,
4263,
3719,
302,
273,
2728,
67,
3074,
12,
1202,
67,
4263,
13,
1327,
999,
67,
4263,
30,
468,
11329,
30,
333,
353,
776,
55,
4044,
28,
2923,
16,
2917,
333,
2728,
273,
1140,
18,
803,
18,
5701,
12,
959,
4227,
18,
4720,
67,
4227,
67,
1214,
9334,
315,
4227,
4699,
454,
18,
28260,
7923,
225,
1501,
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,
4086,
4227,
67,
8401,
67,
3074,
12,
3074,
4672,
1198,
2668,
959,
4227,
67,
8401,
67,
3074,
1435,
6134,
225,
1177,
273,
336,
67,
1886,
67,
1589,
12,
3074,
13,
1479,
67,
9898,
16,
1018,
67,
9898,
273,
336,
67,
2564,
67,
3299,
12,
3074,
13,
1198,
2668,
959,
4227,
67,
8401,
67,
3074,
30,
1450,
1269,
9238,
13464,
1177,
738,
87,
64,
82,
11,
738,
8480,
12,
1589,
3719,
1550,
3292,
3537,
13464,
67,
5757,
3546,
273,
1177,
225,
4086,
4227,
273,
13448,
4502,
13464,
863,
18,
588,
12,
1589,
13,
309,
486,
4086,
4227,
30,
1234,
273,
296,
13464,
1177,
738,
87,
486,
5876,
11,
738,
1177,
1198,
2668,
959,
90,
738,
87,
64,
82,
11,
2
] |
handler = build_handler(file)
|
handler_class = get_object_class(mimetype) handler = handler_class() handler.load_state_from_string(body)
|
def upload_file(self, context): file = context.get_form_value('file') if file is None: return context.come_back(u'The file must be entered')
|
56664389e561f220588b848bd83b4e113024842f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12681/56664389e561f220588b848bd83b4e113024842f/Folder.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3617,
67,
768,
12,
2890,
16,
819,
4672,
585,
273,
819,
18,
588,
67,
687,
67,
1132,
2668,
768,
6134,
309,
585,
353,
599,
30,
327,
819,
18,
5624,
67,
823,
12,
89,
11,
1986,
585,
1297,
506,
16219,
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,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3617,
67,
768,
12,
2890,
16,
819,
4672,
585,
273,
819,
18,
588,
67,
687,
67,
1132,
2668,
768,
6134,
309,
585,
353,
599,
30,
327,
819,
18,
5624,
67,
823,
12,
89,
11,
1986,
585,
1297,
506,
16219,
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
] |
hard_formulas = []
|
self.hard_formulas = []
|
def __init__(self, filename_or_list=None, defaultInferenceMethod=InferenceMethods.MCSAT, parameterType='weights', verbose=False, mlnContent=None): ''' constructs an MLN object at least one of the arguments filename_or_list: either a single filename or a list of filenames (.mln files) mlnContent: string containing an MLN must be given (both possible) ''' t_start = time.time() self.domains = {} self.predicates = {} self.rigidPredicates = [] self.formulas = [] self.blocks = {} self.domDecls = [] self.evidenceBackup = {} self.probreqs = [] self.posteriorProbReqs = [] self.softEvidence = self.posteriorProbReqs # !!!! should get rid of this --- we treat soft evidence as constraints on posterior probabilities self.evidence = {} self.defaultInferenceMethod = defaultInferenceMethod self.probabilityFittingInferenceMethod = InferenceMethods.exact self.probabilityFittingThreshold = DYNAMIC_SCALING_THRESHOLD self.probabilityFittingMaxSteps = DYNAMIC_SCALING_MAX_STEPS self.parameterType = parameterType self.formulaGroups = [] self.closedWorldPreds = [] formulatemplates = [] # read MLN file text = "" if filename_or_list is not None: if not type(filename_or_list) == list: filename_or_list = [filename_or_list] for filename in filename_or_list: print filename f = file(filename) text += f.read() f.close() if mlnContent is not None: text += "\n" text += mlnContent if text == "": raise Exception("No MLN content to construct model from was given; must specify either file/list of files or content string!") # replace some meta-directives in comments text = re.compile(r'//\s*<group>\s*$', re.MULTILINE).sub("#group", text) text = re.compile(r'//\s*</group>\s*$', re.MULTILINE).sub("#group.", text) # remove comments text = stripComments(text) # read lines hard_formulas = [] max_weight = -1000000 if verbose: print "reading MLN..." templateIdx2GroupIdx = {} inGroup = False idxGroup = -1 for line in text.split("\n"): line = line.strip() try: if len(line) == 0: continue # meta directives if line == "#group": idxGroup += 1 inGroup = True continue elif line == "#group.": inGroup = False continue # domain decl if '{' in line: domName, constants = parseDomDecl(line) if domName in self.domains: raise Exception("Domain redefinition: '%s' already defined" % domName) self.domains[domName] = constants self.domDecls.append(line) continue # prior probability requirement if line.startswith("P("): m = re.match(r"P\((.*?)\)\s*=\s*([\.\de]+)", line) if m is None: raise Exception("Prior probability constraint formatted incorrectly: %s" % line) self.probreqs.append({"expr": strFormula(FOL.parseFormula(m.group(1))).replace(" ", ""), "p": float(m.group(2))}) continue # posterior probability requirement/soft evidence if line.startswith("R(") or line.startswith("SE("): m = re.match(r"(?:R|SE)\((.*?)\)\s*=\s*([\.\de]+)", line) if m is None: raise Exception("Posterior probability constraint formatted incorrectly: %s" % line) self.posteriorProbReqs.append({"expr": strFormula(FOL.parseFormula(m.group(1))).replace(" ", ""), "p": float(m.group(2))}) continue # mutex constraint if re.search(r"[a-z_][-_'a-zA-Z0-9]*\!", line) != None: pred = parsePredicate(line) mutex = [] for param in pred[1]: if param[-1] == '!': mutex.append(True) else: mutex.append(False) self.blocks[pred[0]] = mutex # if the corresponding predicate is not yet declared, take this to be the declaration if not pred[0] in self.predicates: argTypes = map(lambda x: x.strip("!"), pred[1]) self.predicates[pred[0]] = argTypes continue # predicate decl or formula with weight else: # try predicate declaration isPredDecl = True try: pred = FOL.predDecl.parseString(line)[0] except: isPredDecl = False if isPredDecl: predName = pred[0] if predName in self.predicates: raise Exception("Predicate redefinition: '%s' already defined" % predName) self.predicates[predName] = pred[1] continue # formula (template) with weight or terminated by '.' else: isHard = False if line[-1] == '.': # hard (without explicit weight -> determine later) isHard = True formula = line[:-1] else: # with weight spacepos = line.find(' ') try: #weight = eval(line[:spacepos]) weight = line[:spacepos] except: raise Exception("Could not evaluate weight '%s'" % (line[:spacepos])) try: max_weight = max(max_weight, eval(weight)) except: pass formula = line[spacepos:].strip() try: formula = FOL.parseFormula(formula) if not isHard: formula.weight = weight else: hard_formulas.append(formula) idxTemplate = len(formulatemplates) formulatemplates.append(formula) if inGroup: templateIdx2GroupIdx[idxTemplate] = idxGroup except ParseException, e: sys.stderr.write("Error parsing formula '%s'\n" % formula) except: sys.stderr.write("Error processing line '%s'\n" % line) cls, e, tb = sys.exc_info() traceback.print_tb(tb) raise e # set weights of hard formula/templates hard_weight = max(20, max_weight+20) for formula in hard_formulas: formula.weight = hard_weight # materialize formula templates if verbose: print "materializing formula templates..." idxGroup = None prevIdxGroup = None group = [] for idxTemplate,tf in enumerate(formulatemplates): idxGroup = templateIdx2GroupIdx.get(idxTemplate) if idxGroup != None: if idxGroup != prevIdxGroup: # starting new group self.formulaGroups.append(group) group = [] prevIdxGroup = idxGroup # get template variants fl = tf.getTemplateVariants(self) # add them to the list of formulas and set index for f in fl: f.weight = tf.weight idxFormula = len(self.formulas) self.formulas.append(f) f.idxFormula = idxFormula # add the formula indices to the group if any if idxGroup != None: group.append(idxFormula) if group != []: # add the last group (if any) self.formulaGroups.append(group) #print "time taken: %fs" % (time.time()-t_start)
|
e27983aa6194036a52cf699aa3e4c8e2cb5a2a5a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10261/e27983aa6194036a52cf699aa3e4c8e2cb5a2a5a/MLN.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
1544,
67,
280,
67,
1098,
33,
7036,
16,
805,
28543,
1305,
33,
28543,
4712,
18,
49,
4596,
789,
16,
28240,
2218,
9727,
2187,
3988,
33,
8381,
16,
312,
2370,
1350,
33,
7036,
4672,
9163,
15725,
392,
22383,
50,
733,
622,
4520,
1245,
434,
326,
1775,
1544,
67,
280,
67,
1098,
30,
3344,
279,
2202,
1544,
578,
279,
666,
434,
9066,
261,
18,
781,
82,
1390,
13,
312,
2370,
1350,
30,
533,
4191,
392,
22383,
50,
1297,
506,
864,
261,
18237,
3323,
13,
9163,
268,
67,
1937,
273,
813,
18,
957,
1435,
365,
18,
14180,
273,
2618,
365,
18,
6510,
8242,
273,
2618,
365,
18,
86,
28542,
26916,
273,
5378,
365,
18,
687,
24857,
273,
5378,
365,
18,
7996,
273,
2618,
365,
18,
9859,
1799,
3251,
273,
5378,
365,
18,
23431,
6248,
273,
2618,
365,
18,
7748,
25782,
273,
5378,
365,
18,
2767,
17818,
9152,
6113,
87,
273,
5378,
365,
18,
9269,
30465,
273,
365,
18,
2767,
17818,
9152,
6113,
87,
468,
401,
25885,
1410,
336,
10911,
434,
333,
9948,
732,
10116,
8971,
14481,
487,
6237,
603,
22089,
17958,
365,
18,
23431,
273,
2618,
365,
18,
1886,
28543,
1305,
273,
805,
28543,
1305,
365,
18,
22390,
14219,
1787,
28543,
1305,
273,
657,
1134,
4712,
18,
17165,
365,
18,
22390,
14219,
1787,
7614,
273,
463,
25145,
67,
2312,
1013,
1360,
67,
23840,
365,
18,
22390,
14219,
1787,
2747,
11811,
273,
463,
25145,
67,
2312,
1013,
1360,
67,
6694,
67,
882,
41,
5857,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
1544,
67,
280,
67,
1098,
33,
7036,
16,
805,
28543,
1305,
33,
28543,
4712,
18,
49,
4596,
789,
16,
28240,
2218,
9727,
2187,
3988,
33,
8381,
16,
312,
2370,
1350,
33,
7036,
4672,
9163,
15725,
392,
22383,
50,
733,
622,
4520,
1245,
434,
326,
1775,
1544,
67,
280,
67,
1098,
30,
3344,
279,
2202,
1544,
578,
279,
666,
434,
9066,
261,
18,
781,
82,
1390,
13,
312,
2370,
1350,
30,
533,
4191,
392,
22383,
50,
1297,
506,
864,
261,
18237,
3323,
13,
9163,
268,
67,
1937,
273,
813,
18,
957,
1435,
365,
18,
14180,
273,
2618,
365,
18,
6510,
8242,
273,
2618,
365,
18,
86,
28542,
26916,
273,
5378,
365,
18,
687,
2
] |
def circle(self, radius, extent=None):
|
def circle(self, radius, extent = None):
|
def circle(self, radius, extent=None): """ Draw a circle with given radius. The center is radius units left of the turtle; extent determines which part of the circle is drawn. If not given, the entire circle is drawn.
|
2dbd76aa3f559923b75db4e55239b73aec0d1f7b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/2dbd76aa3f559923b75db4e55239b73aec0d1f7b/turtle.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
12470,
12,
2890,
16,
5725,
16,
11933,
273,
599,
4672,
3536,
10184,
279,
12470,
598,
864,
5725,
18,
1021,
4617,
353,
5725,
4971,
2002,
434,
326,
268,
295,
5929,
31,
11933,
12949,
1492,
1087,
434,
326,
12470,
353,
19377,
18,
971,
486,
864,
16,
326,
7278,
12470,
353,
19377,
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,
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16,
5725,
16,
11933,
273,
599,
4672,
3536,
10184,
279,
12470,
598,
864,
5725,
18,
1021,
4617,
353,
5725,
4971,
2002,
434,
326,
268,
295,
5929,
31,
11933,
12949,
1492,
1087,
434,
326,
12470,
353,
19377,
18,
971,
486,
864,
16,
326,
7278,
12470,
353,
19377,
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
] |
for val in (msg(46),msg(47),msg(70),msg(48),msg(74),msg(49),msg(50)): option14.append_text(val)
|
for x in (46, 47, 70, 48, 74, 49, 50): option14.append_text(msg(x))
|
def bouyaka(widget,targets): """Set list size widgets sensitive state according to answer mode widget selected param. """ for x in targets: x.set_sensitive(not widget.get_active())
|
64cfb9e0b60a3a976c72fa9d5d722987641133b9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3073/64cfb9e0b60a3a976c72fa9d5d722987641133b9/gtk_gui.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
800,
9835,
581,
69,
12,
6587,
16,
11358,
4672,
3536,
694,
666,
963,
10965,
16692,
919,
4888,
358,
5803,
1965,
3604,
3170,
579,
18,
225,
3536,
364,
619,
316,
5774,
30,
619,
18,
542,
67,
23481,
12,
902,
3604,
18,
588,
67,
3535,
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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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
800,
9835,
581,
69,
12,
6587,
16,
11358,
4672,
3536,
694,
666,
963,
10965,
16692,
919,
4888,
358,
5803,
1965,
3604,
3170,
579,
18,
225,
3536,
364,
619,
316,
5774,
30,
619,
18,
542,
67,
23481,
12,
902,
3604,
18,
588,
67,
3535,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
none_list = [ None for x in xrange(l, self.current_x) ]
|
none_list = [ None for x in range(l, self.current_x) ]
|
def next_line(self): # Add span if first line if not self.current_y: while self.span_stack: start, stop = self.span_stack.pop() self.add_span(start, stop) l = len(self.colWidths) none_list = [ None for x in xrange(l, self.current_x) ] self.colWidths.extend(none_list) # Next line self.current_x = 0 self.current_y += 1
|
f79fed1eac0b46c62cce01199e548b30ebc9188f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12681/f79fed1eac0b46c62cce01199e548b30ebc9188f/pml.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1024,
67,
1369,
12,
2890,
4672,
468,
1436,
4548,
309,
1122,
980,
309,
486,
365,
18,
2972,
67,
93,
30,
1323,
365,
18,
3969,
67,
3772,
30,
787,
16,
2132,
273,
365,
18,
3969,
67,
3772,
18,
5120,
1435,
365,
18,
1289,
67,
3969,
12,
1937,
16,
2132,
13,
328,
273,
562,
12,
2890,
18,
1293,
22407,
13,
6555,
67,
1098,
273,
306,
599,
364,
619,
316,
1048,
12,
80,
16,
365,
18,
2972,
67,
92,
13,
308,
365,
18,
1293,
22407,
18,
14313,
12,
6102,
67,
1098,
13,
468,
4804,
980,
365,
18,
2972,
67,
92,
273,
374,
365,
18,
2972,
67,
93,
1011,
404,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1024,
67,
1369,
12,
2890,
4672,
468,
1436,
4548,
309,
1122,
980,
309,
486,
365,
18,
2972,
67,
93,
30,
1323,
365,
18,
3969,
67,
3772,
30,
787,
16,
2132,
273,
365,
18,
3969,
67,
3772,
18,
5120,
1435,
365,
18,
1289,
67,
3969,
12,
1937,
16,
2132,
13,
328,
273,
562,
12,
2890,
18,
1293,
22407,
13,
6555,
67,
1098,
273,
306,
599,
364,
619,
316,
1048,
12,
80,
16,
365,
18,
2972,
67,
92,
13,
308,
365,
18,
1293,
22407,
18,
14313,
12,
6102,
67,
1098,
13,
468,
4804,
980,
365,
18,
2972,
67,
92,
273,
374,
365,
18,
2972,
67,
93,
1011,
404,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
win32con.WM_USER+20 : self.OnTaskbarNotify,
|
WM_TASKBAR_NOTIFY : self.OnTaskbarNotify,
|
def __init__(self): # The ordering here is important - it is the order that they will # appear in the menu. As dicts don't have an order, this means # that the order is controlled by the id. Any items were the # function is None will appear as separators. self.control_functions = {1024 : ("Start SpamBayes", self.StartStop), 1025 : ("-", None), 1026 : ("View information ...", self.OpenInterface), 1027 : ("Configure ...", self.OpenConfig), 1028 : ("-", None), 1029 : ("Exit SpamBayes", self.OnExit), } message_map = { win32con.WM_DESTROY: self.OnDestroy, win32con.WM_COMMAND: self.OnCommand, win32con.WM_USER+20 : self.OnTaskbarNotify, }
|
0254a2f4a8a68361bc59fecaadbe2435c61fa306 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6126/0254a2f4a8a68361bc59fecaadbe2435c61fa306/pop3proxy_tray.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
468,
1021,
9543,
2674,
353,
10802,
300,
518,
353,
326,
1353,
716,
2898,
903,
468,
9788,
316,
326,
3824,
18,
225,
2970,
15838,
2727,
1404,
1240,
392,
1353,
16,
333,
4696,
468,
716,
326,
1353,
353,
25934,
635,
326,
612,
18,
225,
5502,
1516,
4591,
326,
468,
445,
353,
599,
903,
9788,
487,
14815,
18,
365,
18,
7098,
67,
10722,
273,
288,
2163,
3247,
294,
7566,
1685,
5878,
301,
38,
528,
281,
3113,
365,
18,
1685,
4947,
3631,
1728,
2947,
294,
7566,
17,
3113,
599,
3631,
1728,
5558,
294,
7566,
1767,
1779,
1372,
3113,
365,
18,
3678,
1358,
3631,
1728,
5324,
294,
7566,
11207,
1372,
3113,
365,
18,
3678,
809,
3631,
1728,
6030,
294,
7566,
17,
3113,
599,
3631,
1728,
5540,
294,
7566,
6767,
5878,
301,
38,
528,
281,
3113,
365,
18,
1398,
6767,
3631,
289,
883,
67,
1458,
273,
288,
5657,
1578,
591,
18,
25173,
67,
1639,
25870,
61,
30,
365,
18,
1398,
10740,
16,
5657,
1578,
591,
18,
25173,
67,
19104,
30,
365,
18,
1398,
2189,
16,
678,
49,
67,
15580,
21908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,
12,
2890,
4672,
468,
1021,
9543,
2674,
353,
10802,
300,
518,
353,
326,
1353,
716,
2898,
903,
468,
9788,
316,
326,
3824,
18,
225,
2970,
15838,
2727,
1404,
1240,
392,
1353,
16,
333,
4696,
468,
716,
326,
1353,
353,
25934,
635,
326,
612,
18,
225,
5502,
1516,
4591,
326,
468,
445,
353,
599,
903,
9788,
487,
14815,
18,
365,
18,
7098,
67,
10722,
273,
288,
2163,
3247,
294,
7566,
1685,
5878,
301,
38,
528,
281,
3113,
365,
18,
1685,
4947,
3631,
1728,
2947,
294,
7566,
17,
3113,
599,
3631,
1728,
5558,
294,
7566,
1767,
1779,
1372,
3113,
365,
18,
3678,
1358,
3631,
1728,
5324,
294,
7566,
11207,
1372,
3113,
365,
18,
3678,
809,
3631,
1728,
2
] |
tcl_version = self.tk.getvar('tcl_version')
|
tcl_version = str(self.tk.getvar('tcl_version'))
|
def __init__(self, screenName=None, baseName=None, className='Tk'): """Return a new Toplevel widget on screen SCREENNAME. A new Tcl interpreter will be created. BASENAME will be used for the identification of the profile file (see readprofile). It is constructed from sys.argv[0] without extensions if None is given. CLASSNAME is the name of the widget class.""" global _default_root self.master = None self.children = {} if baseName is None: import sys, os baseName = os.path.basename(sys.argv[0]) baseName, ext = os.path.splitext(baseName) if ext not in ('.py', '.pyc', '.pyo'): baseName = baseName + ext self.tk = _tkinter.create(screenName, baseName, className) self.tk.wantobjects(wantobjects) if _MacOS and hasattr(_MacOS, 'SchedParams'): # Disable event scanning except for Command-Period _MacOS.SchedParams(1, 0) # Work around nasty MacTk bug # XXX Is this one still needed? self.update() # Version sanity checks tk_version = self.tk.getvar('tk_version') if tk_version != _tkinter.TK_VERSION: raise RuntimeError, \ "tk.h version (%s) doesn't match libtk.a version (%s)" \ % (_tkinter.TK_VERSION, tk_version) tcl_version = self.tk.getvar('tcl_version') if tcl_version != _tkinter.TCL_VERSION: raise RuntimeError, \ "tcl.h version (%s) doesn't match libtcl.a version (%s)" \ % (_tkinter.TCL_VERSION, tcl_version) if TkVersion < 4.0: raise RuntimeError, \ "Tk 4.0 or higher is required; found Tk %s" \ % str(TkVersion) self.tk.createcommand('tkerror', _tkerror) self.tk.createcommand('exit', _exit) self.readprofile(baseName, className) if _support_default_root and not _default_root: _default_root = self self.protocol("WM_DELETE_WINDOW", self.destroy)
|
5cf7f9afbfca310aa252496d2eb6ba7875c0e4cc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/5cf7f9afbfca310aa252496d2eb6ba7875c0e4cc/Tkinter.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
5518,
461,
33,
7036,
16,
16162,
33,
7036,
16,
2658,
2218,
56,
79,
11,
4672,
3536,
990,
279,
394,
7202,
2815,
3604,
603,
5518,
348,
5458,
1157,
1985,
18,
432,
394,
399,
830,
16048,
903,
506,
2522,
18,
10250,
1985,
903,
506,
1399,
364,
326,
24739,
434,
326,
3042,
585,
261,
5946,
855,
5040,
2934,
2597,
353,
15688,
628,
2589,
18,
19485,
63,
20,
65,
2887,
4418,
309,
599,
353,
864,
18,
7383,
1985,
353,
326,
508,
434,
326,
3604,
667,
12123,
2552,
389,
1886,
67,
3085,
365,
18,
7525,
273,
599,
365,
18,
5906,
273,
2618,
309,
16162,
353,
599,
30,
1930,
2589,
16,
1140,
16162,
273,
1140,
18,
803,
18,
13909,
12,
9499,
18,
19485,
63,
20,
5717,
16162,
16,
1110,
273,
1140,
18,
803,
18,
4939,
408,
12,
1969,
461,
13,
309,
1110,
486,
316,
7707,
18,
2074,
2187,
2418,
2074,
71,
2187,
2418,
2074,
83,
11,
4672,
16162,
273,
16162,
397,
1110,
365,
18,
16099,
273,
389,
16099,
2761,
18,
2640,
12,
9252,
461,
16,
16162,
16,
2658,
13,
365,
18,
16099,
18,
91,
304,
869,
489,
87,
12,
91,
304,
869,
489,
87,
13,
309,
389,
9990,
4618,
471,
3859,
24899,
9990,
4618,
16,
296,
55,
2049,
1370,
11,
4672,
468,
10639,
871,
21138,
1335,
364,
3498,
17,
5027,
389,
9990,
4618,
18,
55,
2049,
1370,
12,
21,
16,
374,
13,
468,
4147,
6740,
290,
689,
93,
13217,
56,
79,
7934,
468,
11329,
2585,
333,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
5518,
461,
33,
7036,
16,
16162,
33,
7036,
16,
2658,
2218,
56,
79,
11,
4672,
3536,
990,
279,
394,
7202,
2815,
3604,
603,
5518,
348,
5458,
1157,
1985,
18,
432,
394,
399,
830,
16048,
903,
506,
2522,
18,
10250,
1985,
903,
506,
1399,
364,
326,
24739,
434,
326,
3042,
585,
261,
5946,
855,
5040,
2934,
2597,
353,
15688,
628,
2589,
18,
19485,
63,
20,
65,
2887,
4418,
309,
599,
353,
864,
18,
7383,
1985,
353,
326,
508,
434,
326,
3604,
667,
12123,
2552,
389,
1886,
67,
3085,
365,
18,
7525,
273,
599,
365,
18,
5906,
273,
2618,
309,
16162,
353,
599,
30,
1930,
2589,
16,
1140,
16162,
273,
1140,
18,
803,
18,
2
] |
default='False', cmd='-r', )
|
default='False', cmd='-r', odesc="<entry type|all>")
|
def parse(self, argv, do_getopt=True): '''Parse options''' ret = {} if do_getopt: try: opts, args = getopt.getopt(argv, self.buildGetopt(), []) except getopt.GetoptError, err: self.helpExit(err) if '-h' in argv: self.helpExit('', 0) for key in self.keys(): option = self[key] if do_getopt: option.parse(opts, []) else: option.parse([], argv) if hasattr(option, '_value'): val = option.value self[key] = val
|
388ae76f595adfa23b4b04f1a567d2cb66c684b3 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11867/388ae76f595adfa23b4b04f1a567d2cb66c684b3/Options.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
12,
2890,
16,
5261,
16,
741,
67,
588,
3838,
33,
5510,
4672,
9163,
3201,
702,
26418,
325,
273,
2618,
309,
741,
67,
588,
3838,
30,
775,
30,
1500,
16,
833,
273,
336,
3838,
18,
588,
3838,
12,
19485,
16,
365,
18,
3510,
967,
3838,
9334,
5378,
13,
1335,
336,
3838,
18,
967,
3838,
668,
16,
393,
30,
365,
18,
5201,
6767,
12,
370,
13,
309,
2400,
76,
11,
316,
5261,
30,
365,
18,
5201,
6767,
2668,
2187,
374,
13,
364,
498,
316,
365,
18,
2452,
13332,
1456,
273,
365,
63,
856,
65,
309,
741,
67,
588,
3838,
30,
1456,
18,
2670,
12,
4952,
16,
5378,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
12,
2890,
16,
5261,
16,
741,
67,
588,
3838,
33,
5510,
4672,
9163,
3201,
702,
26418,
325,
273,
2618,
309,
741,
67,
588,
3838,
30,
775,
30,
1500,
16,
833,
273,
336,
3838,
18,
588,
3838,
12,
19485,
16,
365,
18,
3510,
967,
3838,
9334,
5378,
13,
1335,
336,
3838,
18,
967,
3838,
668,
16,
393,
30,
365,
18,
5201,
6767,
12,
370,
13,
309,
2400,
76,
11,
316,
5261,
30,
365,
18,
5201,
6767,
2668,
2187,
374,
13,
364,
498,
316,
365,
18,
2452,
13332,
1456,
273,
365,
63,
856,
65,
309,
741,
67,
588,
3838,
30,
1456,
18,
2670,
12,
4952,
16,
5378,
13,
469,
30,
1456,
18,
2670,
3816,
6487,
5261,
13,
309,
3859,
2
] |
def dump(src, length = 8): N=0; result=''
|
def dump(src, length=8): FILTER = ''.join([(len(repr(chr(x))) == 3) and chr(x) or '.' for x in range(256)]) N = 0 result = ''
|
def dump(src, length = 8): N=0; result='' while src: s,src = src[:length],src[length:] hexa = ' '.join(["%02X"%ord(x) for x in s]) s = s.translate(FILTER) result += "%04X %-*s %s\n" % (N, length*3, hexa, s) N += length return result
|
2d93b4a31ad99bdee3a54ba6dc8e4e7060e13a86 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6899/2d93b4a31ad99bdee3a54ba6dc8e4e7060e13a86/dumpit.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4657,
12,
4816,
16,
769,
33,
28,
4672,
8919,
273,
875,
18,
5701,
3816,
12,
1897,
12,
12715,
12,
15182,
12,
92,
20349,
422,
890,
13,
471,
4513,
12,
92,
13,
578,
2611,
364,
619,
316,
1048,
12,
5034,
13,
5717,
423,
273,
374,
563,
273,
875,
1323,
1705,
30,
272,
16,
4816,
273,
1705,
10531,
2469,
6487,
4816,
63,
2469,
26894,
3827,
69,
273,
296,
2418,
5701,
3816,
28385,
3103,
60,
28385,
517,
12,
92,
13,
364,
619,
316,
272,
5717,
272,
273,
272,
18,
13929,
12,
11126,
13,
563,
1011,
2213,
3028,
60,
282,
738,
17,
14,
87,
282,
738,
87,
64,
82,
6,
738,
261,
50,
16,
769,
14,
23,
16,
3827,
69,
16,
272,
13,
423,
1011,
769,
327,
563,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4657,
12,
4816,
16,
769,
33,
28,
4672,
8919,
273,
875,
18,
5701,
3816,
12,
1897,
12,
12715,
12,
15182,
12,
92,
20349,
422,
890,
13,
471,
4513,
12,
92,
13,
578,
2611,
364,
619,
316,
1048,
12,
5034,
13,
5717,
423,
273,
374,
563,
273,
875,
1323,
1705,
30,
272,
16,
4816,
273,
1705,
10531,
2469,
6487,
4816,
63,
2469,
26894,
3827,
69,
273,
296,
2418,
5701,
3816,
28385,
3103,
60,
28385,
517,
12,
92,
13,
364,
619,
316,
272,
5717,
272,
273,
272,
18,
13929,
12,
11126,
13,
563,
1011,
2213,
3028,
60,
282,
738,
17,
14,
87,
282,
738,
87,
64,
82,
6,
738,
261,
50,
16,
769,
14,
23,
16,
3827,
69,
16,
272,
2
] |
data_files.append ((destpath % name, [mopath % name]))
|
data_files.append ((destpath % name, [mopath % name]))
|
def filter_images (image): return image.startswith ("plugin-") or image.startswith ("category-")
|
111c0c74d135965550b8dce6951aa010382e3abb /local1/tlutelli/issta_data/temp/all_python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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1034,
67,
7369,
261,
2730,
4672,
327,
1316,
18,
17514,
1918,
7566,
4094,
17,
7923,
578,
1316,
18,
17514,
1918,
7566,
4743,
17,
7923,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
def _debug(self, args): """ Quick method to output some debugging information which states the thread name, a colon, and whatever arguments have been passed to it. Args: args: a list of additional arguments to pass, much like what print() takes. """ if tsumufs.debugMode: syslog.syslog("nfsmount: "+ args)
|
def unmount(self): """ Quick and dirty method to actually UNmount the real NFS connection somewhere else on the filesystem. """
|
bd12851c8e8414f0f1f5f5d515bd47a9833637ce /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10739/bd12851c8e8414f0f1f5f5d515bd47a9833637ce/nfsmount.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
25670,
12,
2890,
4672,
3536,
19884,
471,
9603,
707,
358,
6013,
5019,
4778,
326,
2863,
31924,
1459,
22234,
469,
603,
326,
6496,
18,
3536,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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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
] |
|
s_full = float(info['7_Sigma'][j])
|
s_full = float(info['7_SigmaFull'][j])
|
def _refine_sd_parameters_remerge(self, scales_file, sdadd_f, sdb_f): '''Actually compute the RMS deviation from scatter / sigma = 1.0 from unity.''' epochs = self._sweep_information.keys() epochs.sort()
|
92b9e8c915238baa49f3b215dfc25645dfe22971 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3290/92b9e8c915238baa49f3b215dfc25645dfe22971/XDSScaler.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1734,
558,
67,
6427,
67,
3977,
67,
266,
2702,
12,
2890,
16,
18211,
67,
768,
16,
8349,
1289,
67,
74,
16,
272,
1966,
67,
74,
4672,
9163,
2459,
3452,
3671,
326,
534,
3537,
17585,
628,
14644,
342,
7299,
273,
404,
18,
20,
628,
640,
560,
1093,
6309,
225,
25480,
273,
365,
6315,
87,
25236,
67,
13117,
18,
2452,
1435,
25480,
18,
3804,
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,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1734,
558,
67,
6427,
67,
3977,
67,
266,
2702,
12,
2890,
16,
18211,
67,
768,
16,
8349,
1289,
67,
74,
16,
272,
1966,
67,
74,
4672,
9163,
2459,
3452,
3671,
326,
534,
3537,
17585,
628,
14644,
342,
7299,
273,
404,
18,
20,
628,
640,
560,
1093,
6309,
225,
25480,
273,
365,
6315,
87,
25236,
67,
13117,
18,
2452,
1435,
25480,
18,
3804,
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
] |
None means use an actual sphere; other values distinguish the special cases encoded into draw_atom_sphere.
|
Return value "" (not None) means to use an actual sphere; other values distinguish the special cases encoded into draw_atom_sphere (and a few other calling methods).
|
def _draw_atom_style(self): #bruce 070409 split this out of draw_atom_sphere """[private helper method for draw_atom_sphere, and perhaps related methods like draw_wirespheres] Return a short hardcoded string (known to draw_atom_sphere) saying in what style to draw the atom's sphere. None means use an actual sphere; other values distinguish the special cases encoded into draw_atom_sphere. We check not only the desirability of the special cases, but all their correctness conditions, making sure that those don't depend on the other parameters of draw_atom_sphere (like abs_coords), and making it easier for draw_atom_sphere to fallback to its default style when those conditions fail. """ # WARNING: various routines make use of this return value in different ways, # but these ways are not independent (eg one might draw a cone and one might estimate its size), # so changes in any of the uses need to be reviewed for possibly needing changes in the others. [bruce 070409] if self.element is Singlet and len(self.bonds) == 1: if 0 and debug_pref("draw Pl-bondpoints as arrowheads", Choice_boolean_False): #bruce 070409, revised/deprecated 070415 other = self.bonds[0].other(self) if other.element.symbol == 'Pl' and len(other.bonds) == 2: if len(other.singNeighbors()) == 1: # at end, but not isolated return 'arrowhead-away1' ###e REVIEW: does Bond.draw need to be updated due to this, if "draw bondpoints as stubs" is True? if debug_pref("draw bondpoints as stubs", Choice_boolean_False, prefs_key = True): # current implem has cosmetic bugs (details commented there), so don't say non_debug = True return 'bondpoint-stub' #k this might need to correspond with related code in Bond.draw if 0 and self.element.symbol == 'Pe' and len(self.bonds) == 1 and \ debug_pref("draw Pe as arrowhead", Choice_boolean_False): #bruce 070409, revised/deprecated 070415 other = self.bonds[0].other(self) # other is a bondpoint or a real pseudoatom, in either case farther away than self # from the end of the strand (arrow should point other way). # (We want to draw even an isolated Pe (with bondpoint) as a cone, in case it's in MMKit, # since it always looks like a cone when in use.) if other.molecule is not self.molecule: # It's too hard to support this case for now; a bug report (bruce, A9) should be filed. # The implem issues are (1) baseposns are in different coord systems; (2) self.molecule display list # would need updating if self -> other direction (in self's coordsys) changed. return None return 'arrowhead-away1' if 0 and self.element.symbol == 'Pl' and len(self.bonds) == 2 and \ debug_pref("draw Pl at end as arrowhead", Choice_boolean_False): #bruce 070409, revised/deprecated 070415 if len(self.singNeighbors()) == 1: # at end, but not isolated return 'arrowhead-to-bp' if self.element.symbol in DIRECTIONAL_BOND_ELEMENTS: #bruce 070415, correct end-arrowheads, replacing the prefs above bond = self.strand_end_bond() if bond is not None: direction = bond.bond_direction_from(self) if direction == 1 and debug_pref("draw 5' ends as in-arrowheads?", Choice_boolean_True, prefs_key = True, non_debug = True): return 'arrowhead-in' if direction == -1 and debug_pref("draw 3' ends as out-arrowheads?", Choice_boolean_True, prefs_key = True, non_debug = True): return 'arrowhead-out' #e add option to draw the dir == 0 case too, to point out you ought to propogate the direction return None
|
f173d4f674c49f0d7aca31b944ec94c5b3d48291 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11221/f173d4f674c49f0d7aca31b944ec94c5b3d48291/chem.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
9446,
67,
7466,
67,
4060,
12,
2890,
4672,
468,
2848,
3965,
10934,
3028,
5908,
1416,
333,
596,
434,
3724,
67,
7466,
67,
87,
9346,
3536,
63,
1152,
4222,
707,
364,
3724,
67,
7466,
67,
87,
9346,
16,
471,
26282,
3746,
2590,
3007,
3724,
67,
91,
2814,
844,
11737,
65,
2000,
279,
3025,
7877,
24808,
533,
261,
2994,
358,
3724,
67,
7466,
67,
87,
9346,
13,
12532,
310,
316,
4121,
2154,
358,
3724,
326,
3179,
1807,
20041,
18,
2000,
460,
1408,
261,
902,
599,
13,
4696,
358,
999,
392,
3214,
20041,
31,
1308,
924,
23926,
326,
4582,
6088,
3749,
1368,
3724,
67,
7466,
67,
87,
9346,
261,
464,
279,
11315,
1308,
4440,
2590,
2934,
1660,
866,
486,
1338,
326,
2832,
11547,
70,
1889,
434,
326,
4582,
6088,
16,
1496,
777,
3675,
3434,
4496,
4636,
16,
10480,
3071,
716,
5348,
2727,
1404,
2447,
603,
326,
1308,
1472,
434,
3724,
67,
7466,
67,
87,
9346,
261,
5625,
2417,
67,
9076,
3631,
471,
10480,
518,
15857,
364,
3724,
67,
7466,
67,
87,
9346,
358,
5922,
358,
2097,
805,
2154,
1347,
5348,
4636,
2321,
18,
3536,
468,
9744,
30,
11191,
28580,
1221,
999,
434,
333,
327,
460,
316,
3775,
16226,
16,
468,
1496,
4259,
16226,
854,
486,
14807,
261,
1332,
1245,
4825,
3724,
279,
356,
73,
471,
1245,
4825,
11108,
2097,
963,
3631,
468,
1427,
3478,
316,
1281,
434,
326,
4692,
1608,
358,
506,
10725,
329,
364,
10016,
1608,
310,
3478,
316,
326,
10654,
18,
306,
2848,
3965,
10934,
3028,
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,
9446,
67,
7466,
67,
4060,
12,
2890,
4672,
468,
2848,
3965,
10934,
3028,
5908,
1416,
333,
596,
434,
3724,
67,
7466,
67,
87,
9346,
3536,
63,
1152,
4222,
707,
364,
3724,
67,
7466,
67,
87,
9346,
16,
471,
26282,
3746,
2590,
3007,
3724,
67,
91,
2814,
844,
11737,
65,
2000,
279,
3025,
7877,
24808,
533,
261,
2994,
358,
3724,
67,
7466,
67,
87,
9346,
13,
12532,
310,
316,
4121,
2154,
358,
3724,
326,
3179,
1807,
20041,
18,
2000,
460,
1408,
261,
902,
599,
13,
4696,
358,
999,
392,
3214,
20041,
31,
1308,
924,
23926,
326,
4582,
6088,
3749,
1368,
3724,
67,
7466,
67,
87,
9346,
261,
464,
279,
11315,
1308,
4440,
2590,
2934,
1660,
866,
486,
1338,
2
] |
ddate_col.add_attribute (render_text, "markup", self.TASK_MODEL_DDATE)
|
ddate_col.add_attribute (render_text, "markup", self.TASK_MODEL_DDATE_STR)
|
def __create_task_tview(self):
|
c5a0b65696467294e7b6a10bde93ac3f353da81b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7036/c5a0b65696467294e7b6a10bde93ac3f353da81b/browser.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2640,
67,
4146,
67,
88,
1945,
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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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
] |
sidebar = grid.blockItem
|
def drawButton (name): imagePrefix = "Sidebar" + name imageSuffix = ".png" if (row == getattr (grid, 'hoverImageRow', wx.NOT_FOUND) and name != "SharingIcon"): imagePrefix += "MouseOver" if grid.buttonState[name]['screenChecked']: imageSuffix = "Checked" + imageSuffix else: imageSuffix = sidebar.getButtonState (name, item) + imageSuffix
|
5610c6ef519c7cd7d9c793cc9ba01dbb0baa09ca /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/5610c6ef519c7cd7d9c793cc9ba01dbb0baa09ca/SideBar.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3724,
3616,
261,
529,
4672,
1316,
2244,
273,
315,
8895,
3215,
6,
397,
508,
1316,
5791,
273,
3552,
6446,
6,
309,
261,
492,
422,
3869,
261,
5222,
16,
296,
24969,
2040,
1999,
2187,
7075,
18,
4400,
67,
9294,
13,
471,
508,
480,
315,
22897,
5554,
6,
4672,
1316,
2244,
1011,
315,
9186,
4851,
6,
309,
3068,
18,
5391,
1119,
63,
529,
23962,
9252,
11454,
3546,
30,
1316,
5791,
273,
315,
11454,
6,
397,
1316,
5791,
469,
30,
1316,
5791,
273,
23364,
18,
588,
3616,
1119,
261,
529,
16,
761,
13,
397,
1316,
5791,
2,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3724,
3616,
261,
529,
4672,
1316,
2244,
273,
315,
8895,
3215,
6,
397,
508,
1316,
5791,
273,
3552,
6446,
6,
309,
261,
492,
422,
3869,
261,
5222,
16,
296,
24969,
2040,
1999,
2187,
7075,
18,
4400,
67,
9294,
13,
471,
508,
480,
315,
22897,
5554,
6,
4672,
1316,
2244,
1011,
315,
9186,
4851,
6,
309,
3068,
18,
5391,
1119,
63,
529,
23962,
9252,
11454,
3546,
30,
1316,
5791,
273,
315,
11454,
6,
397,
1316,
5791,
469,
30,
1316,
5791,
273,
23364,
18,
588,
3616,
1119,
261,
529,
16,
761,
13,
397,
1316,
5791,
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
] |
|
''' A version of strtime that returns unicode strings. '''
|
''' A version of strtime that returns unicode strings and tries to handle dates before 1900 '''
|
def strftime(fmt, t=None): ''' A version of strtime that returns unicode strings. ''' if t is None: t = time.localtime() if iswindows: if isinstance(fmt, unicode): fmt = fmt.encode('mbcs') return plugins['winutil'][0].strftime(fmt, t) return time.strftime(fmt, t).decode(preferred_encoding, 'replace')
|
a625a9f6ea2c332ed77abf1b7662894067563b91 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9125/a625a9f6ea2c332ed77abf1b7662894067563b91/__init__.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10405,
12,
8666,
16,
268,
33,
7036,
4672,
9163,
432,
1177,
434,
609,
957,
716,
1135,
5252,
2064,
471,
9327,
358,
1640,
7811,
1865,
5342,
713,
9163,
309,
268,
353,
599,
30,
268,
273,
813,
18,
3729,
957,
1435,
309,
353,
13226,
30,
309,
1549,
12,
8666,
16,
5252,
4672,
1325,
273,
1325,
18,
3015,
2668,
1627,
2143,
6134,
327,
4799,
3292,
8082,
1367,
3546,
63,
20,
8009,
701,
9982,
12,
8666,
16,
268,
13,
327,
813,
18,
701,
9982,
12,
8666,
16,
268,
2934,
3922,
12,
23616,
67,
5999,
16,
296,
2079,
6134,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10405,
12,
8666,
16,
268,
33,
7036,
4672,
9163,
432,
1177,
434,
609,
957,
716,
1135,
5252,
2064,
471,
9327,
358,
1640,
7811,
1865,
5342,
713,
9163,
309,
268,
353,
599,
30,
268,
273,
813,
18,
3729,
957,
1435,
309,
353,
13226,
30,
309,
1549,
12,
8666,
16,
5252,
4672,
1325,
273,
1325,
18,
3015,
2668,
1627,
2143,
6134,
327,
4799,
3292,
8082,
1367,
3546,
63,
20,
8009,
701,
9982,
12,
8666,
16,
268,
13,
327,
813,
18,
701,
9982,
12,
8666,
16,
268,
2934,
3922,
12,
23616,
67,
5999,
16,
296,
2079,
6134,
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
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.