rem
stringlengths 1
226k
| add
stringlengths 0
227k
| context
stringlengths 6
326k
| meta
stringlengths 143
403
| input_ids
sequencelengths 256
256
| attention_mask
sequencelengths 256
256
| labels
sequencelengths 128
128
|
---|---|---|---|---|---|---|
if not self.links.has_key(widgetFrom): return [] for (widget, signalNameFrom, signalNameTo, enabled) in self.links[widgetFrom]: | for (widget, signalNameFrom, signalNameTo, enabled) in self.links.get(widgetFrom, []): | def findSignals(self, widgetFrom, widgetTo): signals = [] if not self.links.has_key(widgetFrom): return [] for (widget, signalNameFrom, signalNameTo, enabled) in self.links[widgetFrom]: if widget == widgetTo: signals.append((signalNameFrom, signalNameTo)) return signals | a5e916dd00f1cb9502a205aed42f7fac807dd48a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/a5e916dd00f1cb9502a205aed42f7fac807dd48a/orngSignalManager.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1104,
23346,
12,
2890,
16,
3604,
1265,
16,
3604,
774,
4672,
11505,
273,
5378,
364,
261,
6587,
16,
4277,
461,
1265,
16,
4277,
28455,
16,
3696,
13,
316,
365,
18,
7135,
18,
588,
12,
6587,
1265,
16,
5378,
4672,
309,
3604,
422,
3604,
774,
30,
11505,
18,
6923,
12443,
10420,
461,
1265,
16,
4277,
28455,
3719,
327,
11505,
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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
1104,
23346,
12,
2890,
16,
3604,
1265,
16,
3604,
774,
4672,
11505,
273,
5378,
364,
261,
6587,
16,
4277,
461,
1265,
16,
4277,
28455,
16,
3696,
13,
316,
365,
18,
7135,
18,
588,
12,
6587,
1265,
16,
5378,
4672,
309,
3604,
422,
3604,
774,
30,
11505,
18,
6923,
12443,
10420,
461,
1265,
16,
4277,
28455,
3719,
327,
11505,
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
] |
if 1==1: | name = "name" if table == "rnkMETHOD": name = "NAME" try: | def get_current_name(ID, ln, rtype, table): """Returns a list of the names, either with the name in the current language, the default language, or just the name from the given table ln - a language supported by cdsware type - the type of value wanted, like 'ln', 'sn'""" #try: if 1==1: res = "" if ID: res = run_sql("SELECT id_%s,value FROM %sname where type='%s' and ln='%s' and id_%s=%s" % (table, table, rtype,ln, table, ID)) else: res = run_sql("SELECT id_%s,value FROM %sname where type='%s' and ln='%s'" % (table, table, rtype,ln)) if ln != cdslang: if ID: res1 = run_sql("SELECT id_%s,value FROM %sname WHERE ln='%s' and type='%s' and id_%s=%s" % (table, table, cdslang, rtype, table, ID)) else: res1 = run_sql("SELECT id_%s,value FROM %sname WHERE ln='%s' and type='%s'" % (table, table, cdslang, rtype)) res2 = dict(res) result = filter(lambda x: not res2.has_key(x[0]), res1) res = res + result if ID: res1 = run_sql("SELECT id,name FROM %s where id=%s" % (table, ID)) else: res1 = run_sql("SELECT id,name FROM %s" % table) res2 = dict(res) result = filter(lambda x: not res2.has_key(x[0]), res1) res = res + result res = list(res) return res | d3b4def0c6be332e560be397eaf8d7d8fca46237 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12027/d3b4def0c6be332e560be397eaf8d7d8fca46237/bibrankadminlib.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
2972,
67,
529,
12,
734,
16,
7211,
16,
9328,
16,
1014,
4672,
3536,
1356,
279,
666,
434,
326,
1257,
16,
3344,
598,
326,
508,
316,
326,
783,
2653,
16,
326,
805,
2653,
16,
578,
2537,
326,
508,
628,
326,
864,
1014,
7211,
300,
279,
2653,
3260,
635,
19697,
2726,
618,
300,
326,
618,
434,
460,
15504,
16,
3007,
296,
2370,
2187,
296,
8134,
11,
8395,
225,
468,
698,
30,
309,
404,
631,
21,
30,
400,
273,
1408,
309,
1599,
30,
400,
273,
1086,
67,
4669,
2932,
4803,
612,
10185,
87,
16,
1132,
4571,
738,
87,
529,
1625,
618,
28713,
87,
11,
471,
7211,
28713,
87,
11,
471,
612,
10185,
87,
5095,
87,
6,
738,
261,
2121,
16,
1014,
16,
9328,
16,
2370,
16,
1014,
16,
1599,
3719,
469,
30,
400,
273,
1086,
67,
4669,
2932,
4803,
612,
10185,
87,
16,
1132,
4571,
738,
87,
529,
1625,
618,
28713,
87,
11,
471,
7211,
28713,
87,
4970,
738,
261,
2121,
16,
1014,
16,
9328,
16,
2370,
3719,
309,
7211,
480,
7976,
2069,
539,
30,
309,
1599,
30,
400,
21,
273,
1086,
67,
4669,
2932,
4803,
612,
10185,
87,
16,
1132,
4571,
738,
87,
529,
4852,
7211,
28713,
87,
11,
471,
618,
28713,
87,
11,
471,
612,
10185,
87,
5095,
87,
6,
225,
738,
261,
2121,
16,
1014,
16,
7976,
2069,
539,
16,
9328,
16,
1014,
16,
1599,
3719,
469,
30,
400,
21,
273,
1086,
67,
4669,
2932,
4803,
612,
10185,
87,
16,
1132,
4571,
738,
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,
67,
2972,
67,
529,
12,
734,
16,
7211,
16,
9328,
16,
1014,
4672,
3536,
1356,
279,
666,
434,
326,
1257,
16,
3344,
598,
326,
508,
316,
326,
783,
2653,
16,
326,
805,
2653,
16,
578,
2537,
326,
508,
628,
326,
864,
1014,
7211,
300,
279,
2653,
3260,
635,
19697,
2726,
618,
300,
326,
618,
434,
460,
15504,
16,
3007,
296,
2370,
2187,
296,
8134,
11,
8395,
225,
468,
698,
30,
309,
404,
631,
21,
30,
400,
273,
1408,
309,
1599,
30,
400,
273,
1086,
67,
4669,
2932,
4803,
612,
10185,
87,
16,
1132,
4571,
738,
87,
529,
1625,
618,
28713,
87,
11,
471,
7211,
28713,
87,
11,
471,
612,
10185,
87,
5095,
87,
6,
738,
261,
2121,
2
] |
if (%(_zout)s) { Py_DECREF(%(_zout)s); } | def c_validate_update(self, (_z, _a, _x, _y, _b), (_zout, ), sub): return """ if (%(_zout)s) { Py_DECREF(%(_zout)s); } if (%(_zout)s != %(_z)s) { %(_zout)s = %(_z)s; Py_INCREF(%(_zout)s); } """ % locals() | aeca4a2512dc27209cba1de2797998611b11d789 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12438/aeca4a2512dc27209cba1de2797998611b11d789/tensor.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
276,
67,
5662,
67,
2725,
12,
2890,
16,
261,
67,
94,
16,
389,
69,
16,
389,
92,
16,
389,
93,
16,
389,
70,
3631,
261,
67,
94,
659,
16,
262,
16,
720,
4672,
327,
3536,
309,
6142,
24899,
94,
659,
13,
87,
480,
8975,
67,
94,
13,
87,
13,
288,
8975,
67,
94,
659,
13,
87,
273,
8975,
67,
94,
13,
87,
31,
4707,
67,
706,
5458,
42,
9275,
24899,
94,
659,
13,
87,
1769,
289,
3536,
738,
8985,
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,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,
3536,
309,
6142,
24899,
94,
659,
13,
87,
480,
8975,
67,
94,
13,
87,
13,
288,
8975,
67,
94,
659,
13,
87,
273,
8975,
67,
94,
13,
87,
31,
4707,
67,
706,
5458,
42,
9275,
24899,
94,
659,
13,
87,
1769,
289,
3536,
738,
8985,
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
] |
|
elif isize != self.size: | elif isize != LOWU32(self.size): | def _read_eof(self): # We've read to the end of the file, so we have to rewind in order # to reread the 8 bytes containing the CRC and the file size. # We check the that the computed CRC and size of the # uncompressed data matches the stored values. self.fileobj.seek(-8, 1) crc32 = read32(self.fileobj) isize = U32(read32(self.fileobj)) # may exceed 2GB if U32(crc32) != U32(self.crc): raise ValueError, "CRC check failed" elif isize != self.size: raise ValueError, "Incorrect length of data produced" | d6ad56784fff03262669945b5e9b0ecb41948b2c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/d6ad56784fff03262669945b5e9b0ecb41948b2c/gzip.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
896,
67,
9339,
12,
2890,
4672,
468,
1660,
8081,
855,
358,
326,
679,
434,
326,
585,
16,
1427,
732,
1240,
358,
12881,
316,
1353,
468,
358,
436,
264,
684,
326,
1725,
1731,
4191,
326,
21773,
471,
326,
585,
963,
18,
468,
1660,
866,
326,
716,
326,
8470,
21773,
471,
963,
434,
326,
468,
20560,
501,
1885,
326,
4041,
924,
18,
365,
18,
768,
2603,
18,
16508,
19236,
28,
16,
404,
13,
10619,
1578,
273,
855,
1578,
12,
2890,
18,
768,
2603,
13,
353,
554,
273,
587,
1578,
12,
896,
1578,
12,
2890,
18,
768,
2603,
3719,
282,
468,
2026,
9943,
576,
5887,
309,
587,
1578,
12,
22988,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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,
389,
896,
67,
9339,
12,
2890,
4672,
468,
1660,
8081,
855,
358,
326,
679,
434,
326,
585,
16,
1427,
732,
1240,
358,
12881,
316,
1353,
468,
358,
436,
264,
684,
326,
1725,
1731,
4191,
326,
21773,
471,
326,
585,
963,
18,
468,
1660,
866,
326,
716,
326,
8470,
21773,
471,
963,
434,
326,
468,
20560,
501,
1885,
326,
4041,
924,
18,
365,
18,
768,
2603,
18,
16508,
19236,
28,
16,
404,
13,
10619,
1578,
273,
855,
1578,
12,
2890,
18,
768,
2603,
13,
353,
554,
273,
587,
1578,
12,
896,
1578,
12,
2890,
18,
768,
2603,
3719,
282,
468,
2026,
9943,
576,
5887,
309,
587,
1578,
12,
22988,
1578,
13,
480,
587,
1578,
12,
2890,
18,
22988,
4672,
2
] |
pos = 0 while 1: m = includeRE.search(isa_desc, pos) if not m: break filename = m.group('filename') print 'Including file "%s"' % filename try: isa_desc = isa_desc[:m.start()] + \ ' open(filename).read() + \ ' isa_desc[m.end():] except IOError: error(0, 'Error including file "%s"' % (filename)) pos = m.start() return isa_desc | contents = includeRE.sub(lambda m: replace_include(m, current_dir), contents) fileNameStack.pop() return contents | def preprocess_isa_desc(isa_desc): # Find any includes and include them pos = 0 while 1: m = includeRE.search(isa_desc, pos) if not m: break filename = m.group('filename') print 'Including file "%s"' % filename try: isa_desc = isa_desc[:m.start()] + \ '##newfile "' + filename + '"\n' + \ open(filename).read() + \ '##endfile\n' + \ isa_desc[m.end():] except IOError: error(0, 'Error including file "%s"' % (filename)) pos = m.start() return isa_desc | 7427708b85741136c3f5dde5099a64bcd8fbcdc8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7385/7427708b85741136c3f5dde5099a64bcd8fbcdc8/isa_parser.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
17942,
67,
291,
69,
67,
5569,
12,
291,
69,
67,
5569,
4672,
468,
4163,
1281,
6104,
471,
2341,
2182,
949,
273,
374,
1323,
404,
30,
312,
273,
2341,
862,
18,
3072,
12,
291,
69,
67,
5569,
16,
949,
13,
309,
486,
312,
30,
898,
1544,
273,
312,
18,
1655,
2668,
3459,
6134,
1172,
296,
382,
18596,
585,
2213,
87,
5187,
738,
1544,
775,
30,
353,
69,
67,
5569,
273,
353,
69,
67,
5569,
10531,
81,
18,
1937,
1435,
65,
397,
521,
296,
1189,
2704,
768,
2491,
397,
1544,
397,
2119,
64,
82,
11,
397,
521,
1696,
12,
3459,
2934,
896,
1435,
397,
521,
296,
1189,
409,
768,
64,
82,
11,
397,
521,
353,
69,
67,
5569,
63,
81,
18,
409,
13332,
65,
1335,
8340,
30,
555,
12,
20,
16,
296,
668,
6508,
585,
2213,
87,
5187,
738,
261,
3459,
3719,
949,
273,
312,
18,
1937,
1435,
327,
353,
69,
67,
5569,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
17942,
67,
291,
69,
67,
5569,
12,
291,
69,
67,
5569,
4672,
468,
4163,
1281,
6104,
471,
2341,
2182,
949,
273,
374,
1323,
404,
30,
312,
273,
2341,
862,
18,
3072,
12,
291,
69,
67,
5569,
16,
949,
13,
309,
486,
312,
30,
898,
1544,
273,
312,
18,
1655,
2668,
3459,
6134,
1172,
296,
382,
18596,
585,
2213,
87,
5187,
738,
1544,
775,
30,
353,
69,
67,
5569,
273,
353,
69,
67,
5569,
10531,
81,
18,
1937,
1435,
65,
397,
521,
296,
1189,
2704,
768,
2491,
397,
1544,
397,
2119,
64,
82,
11,
397,
521,
1696,
12,
3459,
2934,
896,
1435,
397,
521,
296,
1189,
409,
768,
64,
82,
11,
397,
521,
353,
69,
67,
5569,
63,
81,
2
] |
self.line_color = pack.getAttribute( 'line_color') or self.line_color | for attr in ("line_color",): if pack.getAttributeNode( attr): setattr( self, attr, pack.getAttribute( 'area_color')) | def read_package( self, pack): """reads the dom element pack and sets internal state according to it""" self.points = [] for p in pack.getElementsByTagName( 'point'): self.points.append( classes.point( self.paper, arrow=self, package=p)) | 6ce7a8feaff516b449f0fddc5799fa8940cdbcc7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4298/6ce7a8feaff516b449f0fddc5799fa8940cdbcc7/graphics.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
67,
5610,
12,
365,
16,
2298,
4672,
3536,
11904,
326,
4092,
930,
2298,
471,
1678,
2713,
919,
4888,
358,
518,
8395,
365,
18,
4139,
273,
5378,
364,
293,
316,
2298,
18,
588,
3471,
10401,
12,
296,
1153,
11,
4672,
365,
18,
4139,
18,
6923,
12,
3318,
18,
1153,
12,
365,
18,
27400,
16,
12274,
33,
2890,
16,
2181,
33,
84,
3719,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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10401,
12,
296,
1153,
11,
4672,
365,
18,
4139,
18,
6923,
12,
3318,
18,
1153,
12,
365,
18,
27400,
16,
12274,
33,
2890,
16,
2181,
33,
84,
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
] |
return self( permutation.Permutation( (i, i+1) ) ) | return self.term(self.basis().keys()(permutation.Permutation( (i, i+1) ) )) | def t(self, i): """ EXAMPLES:: sage: H3 = HeckeAlgebraSymmetricGroupT(QQ,3) sage: H3.t(1) T[2, 1, 3] sage: H3.t(2) T[1, 3, 2] sage: H3.t(0) Traceback (most recent call last): ... ValueError: i must be between 1 and n-1 (= 2) """ if i not in range(1, self.n): raise ValueError, "i must be between 1 and n-1 (= %s)"%(self.n-1) | 7d92d20e015467b29ad364626f147d8053e41098 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/7d92d20e015467b29ad364626f147d8053e41098/symmetric_group_algebra.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
268,
12,
2890,
16,
277,
4672,
3536,
5675,
8900,
11386,
2866,
225,
272,
410,
30,
670,
23,
273,
670,
762,
73,
1067,
29087,
29496,
1114,
56,
12,
53,
53,
16,
23,
13,
272,
410,
30,
670,
23,
18,
88,
12,
21,
13,
399,
63,
22,
16,
404,
16,
890,
65,
272,
410,
30,
670,
23,
18,
88,
12,
22,
13,
399,
63,
21,
16,
890,
16,
576,
65,
272,
410,
30,
670,
23,
18,
88,
12,
20,
13,
2677,
823,
261,
10329,
8399,
745,
1142,
4672,
1372,
2068,
30,
277,
1297,
506,
3086,
404,
471,
290,
17,
21,
261,
33,
576,
13,
3536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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,
268,
12,
2890,
16,
277,
4672,
3536,
5675,
8900,
11386,
2866,
225,
272,
410,
30,
670,
23,
273,
670,
762,
73,
1067,
29087,
29496,
1114,
56,
12,
53,
53,
16,
23,
13,
272,
410,
30,
670,
23,
18,
88,
12,
21,
13,
399,
63,
22,
16,
404,
16,
890,
65,
272,
410,
30,
670,
23,
18,
88,
12,
22,
13,
399,
63,
21,
16,
890,
16,
576,
65,
272,
410,
30,
670,
23,
18,
88,
12,
20,
13,
2677,
823,
261,
10329,
8399,
745,
1142,
4672,
1372,
2068,
30,
277,
1297,
506,
3086,
404,
471,
290,
17,
21,
261,
33,
576,
13,
3536,
309,
277,
486,
316,
1048,
12,
21,
16,
365,
18,
82,
4672,
1002,
2068,
16,
2
] |
matrix = zeros((N, T+1), MATCODE) | matrix = numpy.zeros((N, T+1)) | def _forward(N, T, lp_initial, lp_transition, lp_emission, outputs): # Implement the forward algorithm. This actually calculates a # Nx(T+1) matrix, where the last column is the total probability # of the output. matrix = zeros((N, T+1), MATCODE) # Initialize the first column to be the initial values. matrix[:,0] = lp_initial for t in range(1, T+1): k = outputs[t-1] for j in range(N): # The probability of the state is the sum of the # transitions from all the states from time t-1. lprob = LOG0 for i in range(N): lp = matrix[i][t-1] + \ lp_transition[i][j] + \ lp_emission[i][k] lprob = _logadd(lprob, lp) matrix[j][t] = lprob return matrix | 9f6ccc18a75e2a2d3871e2b69f0ac7d071a00baf /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7167/9f6ccc18a75e2a2d3871e2b69f0ac7d071a00baf/MarkovModel.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
11565,
12,
50,
16,
399,
16,
12423,
67,
6769,
16,
12423,
67,
14936,
16,
12423,
67,
351,
19710,
16,
6729,
4672,
468,
10886,
326,
5104,
4886,
18,
225,
1220,
6013,
17264,
279,
468,
423,
92,
12,
56,
15,
21,
13,
3148,
16,
1625,
326,
1142,
1057,
353,
326,
2078,
11331,
468,
434,
326,
876,
18,
225,
3148,
273,
3972,
18,
22008,
12443,
50,
16,
399,
15,
21,
3719,
225,
468,
9190,
326,
1122,
1057,
358,
506,
326,
2172,
924,
18,
3148,
10531,
16,
20,
65,
273,
12423,
67,
6769,
364,
268,
316,
1048,
12,
21,
16,
399,
15,
21,
4672,
417,
273,
6729,
63,
88,
17,
21,
65,
364,
525,
316,
1048,
12,
50,
4672,
468,
1021,
11331,
434,
326,
919,
353,
326,
2142,
434,
326,
468,
13136,
628,
777,
326,
5493,
628,
813,
268,
17,
21,
18,
328,
7748,
273,
2018,
20,
364,
277,
316,
1048,
12,
50,
4672,
12423,
273,
3148,
63,
77,
6362,
88,
17,
21,
65,
397,
521,
12423,
67,
14936,
63,
77,
6362,
78,
65,
397,
521,
12423,
67,
351,
19710,
63,
77,
6362,
79,
65,
328,
7748,
273,
389,
1330,
1289,
12,
80,
7748,
16,
12423,
13,
3148,
63,
78,
6362,
88,
65,
273,
328,
7748,
327,
3148,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
11565,
12,
50,
16,
399,
16,
12423,
67,
6769,
16,
12423,
67,
14936,
16,
12423,
67,
351,
19710,
16,
6729,
4672,
468,
10886,
326,
5104,
4886,
18,
225,
1220,
6013,
17264,
279,
468,
423,
92,
12,
56,
15,
21,
13,
3148,
16,
1625,
326,
1142,
1057,
353,
326,
2078,
11331,
468,
434,
326,
876,
18,
225,
3148,
273,
3972,
18,
22008,
12443,
50,
16,
399,
15,
21,
3719,
225,
468,
9190,
326,
1122,
1057,
358,
506,
326,
2172,
924,
18,
3148,
10531,
16,
20,
65,
273,
12423,
67,
6769,
364,
268,
316,
1048,
12,
21,
16,
399,
15,
21,
4672,
417,
273,
6729,
63,
88,
17,
21,
65,
364,
525,
316,
1048,
12,
50,
4672,
468,
1021,
2
] |
elif type(cls) == type(PyMooseBase): | elif isinstance(cls, PyMooseBase): | def doc(cls): """Return documentation string from MOOSE""" if (type(cls).__name__ == "classobj") or (type(cls).__name__ == "type"): return PyMooseBase.getContext().doc(cls.__name__) elif type(cls) == type(PyMooseBase): return PyMooseBase.getContext().doc(cls.className) elif type(cls).__name__ == "str": return PyMooseBase.getContext().doc(cls) | 4e214869e1938e1dbe7f45f26f31c0c6b712589c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2961/4e214869e1938e1dbe7f45f26f31c0c6b712589c/moose.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
997,
12,
6429,
4672,
3536,
990,
7323,
533,
628,
16070,
51,
1090,
8395,
309,
261,
723,
12,
6429,
2934,
972,
529,
972,
422,
315,
1106,
2603,
7923,
578,
261,
723,
12,
6429,
2934,
972,
529,
972,
422,
315,
723,
6,
4672,
327,
4707,
16727,
2584,
2171,
18,
29120,
7675,
2434,
12,
6429,
16186,
529,
972,
13,
1327,
1549,
12,
6429,
16,
4707,
16727,
2584,
2171,
4672,
327,
4707,
16727,
2584,
2171,
18,
29120,
7675,
2434,
12,
6429,
18,
12434,
13,
1327,
618,
12,
6429,
2934,
972,
529,
972,
422,
315,
701,
6877,
327,
4707,
16727,
2584,
2171,
18,
29120,
7675,
2434,
12,
6429,
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,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672,
327,
4707,
16727,
2584,
2171,
18,
29120,
7675,
2434,
12,
6429,
16186,
529,
972,
13,
1327,
1549,
12,
6429,
16,
4707,
16727,
2584,
2171,
4672,
327,
4707,
16727,
2584,
2171,
18,
29120,
7675,
2434,
12,
6429,
18,
12434,
13,
1327,
618,
12,
6429,
2934,
972,
529,
972,
422,
315,
701,
6877,
327,
4707,
16727,
2584,
2171,
18,
29120,
7675,
2434,
12,
6429,
13,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
'' | empty | def write_dispatch_waybill_compass(self,waybill_id): db = cx_Oracle.Connection("TESTJERX001/TESTJERX001@//10.11.216.4:1521/JERX001") cursor = db.cursor()#connections['compas'].cursor() self.ErrorMessages = '' self.ErrorCodes = '' # gather wb info the_waybill = Waybill.objects.get(id=waybill_id) lineItems = the_waybill.loadingdetail_set.select_related() LTI= lineItems[0].siNo dispatch_person = EpicPerson.objects.get(person_pk = the_waybill.dispatcherName) # make dispatch remarks:::: dispatch_remarks = the_waybill.dispatchRemarks CODE = the_waybill.waybillNumber DOCUMENT_CODE = 'wb' DISPATCH_DATE=the_waybill.dateOfDispatch.strftime("%Y%m%d") ORIGIN_TYPE=LTI.ORIGIN_TYPE ORIGIN_LOCATION_CODE=LTI.ORIGIN_LOCATION_CODE ORIGIN_CODE=LTI.ORIGIN_WH_CODE ORIGIN_DESCR='' DESTINATION_LOCATION_CODE=LTI.DESTINATION_LOCATION_CODE DESTINATION_CODE=str(the_waybill.destinationWarehouse.ORG_CODE) PRO_ACTIVITY_CODE="" ACTIVITY_OUC="" LNDARRM_CODE="" LTI_ID=LTI.LTI_ID LOADING_DATE=the_waybill.dateOfLoading.strftime("%Y%m%d") ORGANIZATION_ID=LTI.CONSEGNEE_CODE TRAN_TYPE_CODE=the_waybill.transactionType TRAN_TYPE_DESCR=the_waybill.transportVehicleRegistration MODETRANS_CODE=the_waybill.transportType COMMENTS= dispatch_remarks PERSON_CODE=dispatch_person.code PERSON_OUC=dispatch_person.org_unit_code CERTIFING_TITLE=dispatch_person.title TRANS_CONTRACTOR_CODE=LTI.TRANSPORT_CODE SUPPLIER1_OUC=LTI.TRANSPORT_OUC DRIVER_NAME=the_waybill.transportDriverName LICENSE=the_waybill.transportDriverLicenceID VEHICLE_REGISTRATION=the_waybill.transportVehicleRegistration TRAILER_PLATE=the_waybill.transportTrailerRegistration CONTAINER_NUMBER=the_waybill.containerOneNumber ## For each lineItems all_ok = True db.begin() for lineItem in lineItems: COMM_CATEGORY_CODE = lineItem.siNo.COMM_CATEGORY_CODE COMM_CODE = lineItem.siNo.COMMODITY_CODE COI_CODE = lineItem.siNo.coi_code() #get stock TheStockItems = EpicStock.objects.filter(origin_id__contains=COI_CODE) PCKKCODE = TheStockItems[0].package_code ALLCODE = TheStockItems[0].allocation_code QUALITY = TheStockItems[0].qualitycode #'G' UnitsLoaded = lineItem.numberUnitsLoaded UnitNet= lineItem.siNo.UNIT_WEIGHT_NET UnitGross = lineItem.siNo.UNIT_WEIGHT_GROSS NetTotal =(UnitNet * UnitsLoaded) / 1000 strNetTotal = "%.3f" % NetTotal GrossTotal = (UnitGross * UnitsLoaded) / 1000 strGrossTotal = "%.3f" % GrossTotal | c497ff3c7ca806866130c41e5403acfcbf770652 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12559/c497ff3c7ca806866130c41e5403acfcbf770652/compas.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1045,
67,
10739,
67,
1888,
17240,
67,
2919,
428,
12,
2890,
16,
1888,
17240,
67,
350,
4672,
1319,
273,
9494,
67,
23601,
18,
1952,
2932,
16961,
46,
654,
60,
11664,
19,
16961,
46,
654,
60,
11664,
36,
759,
2163,
18,
2499,
18,
22,
2313,
18,
24,
30,
3600,
5340,
19,
46,
654,
60,
11664,
7923,
3347,
273,
225,
1319,
18,
9216,
1435,
7,
13313,
3292,
2919,
345,
29489,
9216,
1435,
365,
18,
668,
5058,
273,
1008,
365,
18,
668,
6295,
273,
1008,
225,
468,
11090,
17298,
1123,
326,
67,
1888,
17240,
273,
678,
528,
17240,
18,
6911,
18,
588,
12,
350,
33,
1888,
17240,
67,
350,
13,
980,
3126,
273,
326,
67,
1888,
17240,
18,
15174,
8992,
67,
542,
18,
4025,
67,
9243,
1435,
11807,
45,
33,
980,
3126,
63,
20,
8009,
7722,
2279,
3435,
67,
12479,
273,
512,
20003,
8346,
18,
6911,
18,
588,
12,
12479,
67,
5465,
273,
326,
67,
1888,
17240,
18,
18495,
461,
13,
468,
1221,
3435,
849,
27943,
2866,
2866,
3435,
67,
2764,
27943,
273,
326,
67,
1888,
17240,
18,
10739,
1933,
27943,
11128,
273,
326,
67,
1888,
17240,
18,
1888,
17240,
1854,
18057,
67,
5572,
273,
296,
9464,
11,
3690,
3118,
5858,
67,
4594,
33,
5787,
67,
1888,
17240,
18,
712,
951,
5325,
18,
701,
9982,
27188,
61,
9,
81,
9,
72,
7923,
24069,
7702,
67,
2399,
33,
12050,
45,
18,
24685,
67,
2399,
24069,
7702,
67,
15277,
67,
5572,
33,
12050,
45,
18,
24685,
67,
15277,
67,
5572,
24069,
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,
1045,
67,
10739,
67,
1888,
17240,
67,
2919,
428,
12,
2890,
16,
1888,
17240,
67,
350,
4672,
1319,
273,
9494,
67,
23601,
18,
1952,
2932,
16961,
46,
654,
60,
11664,
19,
16961,
46,
654,
60,
11664,
36,
759,
2163,
18,
2499,
18,
22,
2313,
18,
24,
30,
3600,
5340,
19,
46,
654,
60,
11664,
7923,
3347,
273,
225,
1319,
18,
9216,
1435,
7,
13313,
3292,
2919,
345,
29489,
9216,
1435,
365,
18,
668,
5058,
273,
1008,
365,
18,
668,
6295,
273,
1008,
225,
468,
11090,
17298,
1123,
326,
67,
1888,
17240,
273,
678,
528,
17240,
18,
6911,
18,
588,
12,
350,
33,
1888,
17240,
67,
350,
13,
980,
3126,
273,
326,
67,
1888,
17240,
18,
15174,
8992,
67,
2
] |
'amount': vals['debit'] or vals['credit'], | 'amount': vals.get('debit', False) or vals.get('credit', False) or 0.0, | def create(self, cr, uid, vals, context=None, check=True): if not context: context={} account_obj = self.pool.get('account.account') tax_obj=self.pool.get('account.tax') if ('account_id' in vals) and not account_obj.read(cr, uid, vals['account_id'], ['active'])['active']: raise osv.except_osv(_('Bad account!'), _('You can not use an inactive account!')) if 'journal_id' in vals and 'journal_id' not in context: context['journal_id'] = vals['journal_id'] if 'period_id' in vals and 'period_id' not in context: context['period_id'] = vals['period_id'] if ('journal_id' not in context) and ('move_id' in vals) and vals['move_id']: m = self.pool.get('account.move').browse(cr, uid, vals['move_id']) context['journal_id'] = m.journal_id.id context['period_id'] = m.period_id.id | ff2277ac3020d8bb9f0f84356b8df589385954b5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/ff2277ac3020d8bb9f0f84356b8df589385954b5/account_move_line.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
12,
2890,
16,
4422,
16,
4555,
16,
5773,
16,
819,
33,
7036,
16,
866,
33,
5510,
4672,
309,
486,
819,
30,
819,
12938,
2236,
67,
2603,
273,
365,
18,
6011,
18,
588,
2668,
4631,
18,
4631,
6134,
5320,
67,
2603,
33,
2890,
18,
6011,
18,
588,
2668,
4631,
18,
8066,
6134,
309,
7707,
4631,
67,
350,
11,
316,
5773,
13,
471,
486,
2236,
67,
2603,
18,
896,
12,
3353,
16,
4555,
16,
5773,
3292,
4631,
67,
350,
17337,
10228,
3535,
19486,
3292,
3535,
3546,
30,
1002,
1140,
90,
18,
14137,
67,
538,
90,
24899,
2668,
6434,
2236,
5124,
3631,
389,
2668,
6225,
848,
486,
999,
392,
16838,
2236,
5124,
3719,
309,
296,
22644,
67,
350,
11,
316,
5773,
471,
296,
22644,
67,
350,
11,
486,
316,
819,
30,
819,
3292,
22644,
67,
350,
3546,
273,
5773,
3292,
22644,
67,
350,
3546,
309,
296,
6908,
67,
350,
11,
316,
5773,
471,
296,
6908,
67,
350,
11,
486,
316,
819,
30,
819,
3292,
6908,
67,
350,
3546,
273,
5773,
3292,
6908,
67,
350,
3546,
309,
7707,
22644,
67,
350,
11,
486,
316,
819,
13,
471,
7707,
8501,
67,
350,
11,
316,
5773,
13,
471,
5773,
3292,
8501,
67,
350,
3546,
30,
312,
273,
365,
18,
6011,
18,
588,
2668,
4631,
18,
8501,
16063,
25731,
12,
3353,
16,
4555,
16,
5773,
3292,
8501,
67,
350,
19486,
819,
3292,
22644,
67,
350,
3546,
273,
312,
18,
22644,
67,
350,
18,
350,
819,
3292,
6908,
67,
350,
3546,
273,
312,
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,
752,
12,
2890,
16,
4422,
16,
4555,
16,
5773,
16,
819,
33,
7036,
16,
866,
33,
5510,
4672,
309,
486,
819,
30,
819,
12938,
2236,
67,
2603,
273,
365,
18,
6011,
18,
588,
2668,
4631,
18,
4631,
6134,
5320,
67,
2603,
33,
2890,
18,
6011,
18,
588,
2668,
4631,
18,
8066,
6134,
309,
7707,
4631,
67,
350,
11,
316,
5773,
13,
471,
486,
2236,
67,
2603,
18,
896,
12,
3353,
16,
4555,
16,
5773,
3292,
4631,
67,
350,
17337,
10228,
3535,
19486,
3292,
3535,
3546,
30,
1002,
1140,
90,
18,
14137,
67,
538,
90,
24899,
2668,
6434,
2236,
5124,
3631,
389,
2668,
6225,
848,
486,
999,
392,
16838,
2236,
5124,
3719,
309,
296,
22644,
67,
350,
11,
316,
2
] |
self.path = path | self.path = path | def __init__(self, path, authz, log): self.path = path self.log = log if core.SVN_VER_MAJOR < 1: raise TracError("Subversion >= 1.0 required: Found %d.%d.%d" % \ (core.SVN_VER_MAJOR, core.SVN_VER_MINOR, core.SVN_VER_MICRO)) self.pool = Pool() # Remove any trailing slash or else subversion might abort path = os.path.normpath(path).replace('\\', '/') self.path = repos.svn_repos_find_root_path(path, self.pool()) if self.path is None: raise TracError("%s does not appear to be a Subversion repository." \ % path) | 1e7fbc587c7afba5631f3ae6002cef1e3992ec11 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/1e7fbc587c7afba5631f3ae6002cef1e3992ec11/svn_fs.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
589,
16,
18686,
16,
613,
4672,
365,
18,
803,
273,
589,
365,
18,
1330,
273,
613,
309,
2922,
18,
23927,
50,
67,
2204,
67,
26976,
916,
411,
404,
30,
1002,
2197,
71,
668,
2932,
1676,
1589,
1545,
404,
18,
20,
1931,
30,
10750,
738,
72,
7866,
72,
7866,
72,
6,
738,
521,
261,
3644,
18,
23927,
50,
67,
2204,
67,
26976,
916,
16,
2922,
18,
23927,
50,
67,
2204,
67,
6236,
916,
16,
2922,
18,
23927,
50,
67,
2204,
67,
22972,
1457,
3719,
365,
18,
6011,
273,
8828,
1435,
225,
468,
3581,
1281,
7341,
9026,
578,
469,
720,
1589,
4825,
6263,
589,
273,
1140,
18,
803,
18,
7959,
803,
12,
803,
2934,
2079,
2668,
1695,
2187,
2023,
13,
365,
18,
803,
273,
13686,
18,
31505,
67,
15564,
67,
4720,
67,
3085,
67,
803,
12,
803,
16,
365,
18,
6011,
10756,
309,
365,
18,
803,
353,
599,
30,
1002,
2197,
71,
668,
27188,
87,
1552,
486,
9788,
358,
506,
279,
2592,
1589,
3352,
1199,
521,
738,
589,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
589,
16,
18686,
16,
613,
4672,
365,
18,
803,
273,
589,
365,
18,
1330,
273,
613,
309,
2922,
18,
23927,
50,
67,
2204,
67,
26976,
916,
411,
404,
30,
1002,
2197,
71,
668,
2932,
1676,
1589,
1545,
404,
18,
20,
1931,
30,
10750,
738,
72,
7866,
72,
7866,
72,
6,
738,
521,
261,
3644,
18,
23927,
50,
67,
2204,
67,
26976,
916,
16,
2922,
18,
23927,
50,
67,
2204,
67,
6236,
916,
16,
2922,
18,
23927,
50,
67,
2204,
67,
22972,
1457,
3719,
365,
18,
6011,
273,
8828,
1435,
225,
468,
3581,
1281,
7341,
9026,
578,
469,
720,
1589,
4825,
6263,
589,
273,
1140,
18,
803,
18,
7959,
803,
12,
803,
2934,
2
] |
return file.content_type | return getattr(file, 'content_type', self.default_content_type) | def getContentType(self, instance, fromBaseUnit=True): file = self.get(instance) return file.content_type | 4cf0e46d18e3dc9d985c78c7437abaeaed326feb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/4cf0e46d18e3dc9d985c78c7437abaeaed326feb/Field.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
17470,
12,
2890,
16,
791,
16,
628,
2171,
2802,
33,
5510,
4672,
585,
273,
365,
18,
588,
12,
1336,
13,
327,
585,
18,
1745,
67,
723,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
17470,
12,
2890,
16,
791,
16,
628,
2171,
2802,
33,
5510,
4672,
585,
273,
365,
18,
588,
12,
1336,
13,
327,
585,
18,
1745,
67,
723,
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
] |
self.announce ("swigging %s to %s" % (src, obj)) self.spawn(swig_cmd + ["-o", swig_targets[source], source]) | target = swig_targets[source] self.announce ("swigging %s to %s" % (source, target)) self.spawn(swig_cmd + ["-o", target, source]) | def swig_sources (self, sources): | 2d9479c1fc4cccefa7f9ca72d93d67e6130aa129 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/2d9479c1fc4cccefa7f9ca72d93d67e6130aa129/build_ext.py | [
1,
8585,
326,
22398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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1352,
360,
67,
10141,
261,
2890,
16,
5550,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
rows.sort(key=itemgetter(sortby), reverse=(sortorder=='down')) | records.sort(key=itemgetter(sortby), reverse=(sortorder=='down')) | def view(self, context): namespace = {} | ea76d631b134cd26755e19b7103b4b83b4587377 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12681/ea76d631b134cd26755e19b7103b4b83b4587377/table.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1476,
12,
2890,
16,
819,
4672,
1981,
273,
2618,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1476,
12,
2890,
16,
819,
4672,
1981,
273,
2618,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
st t1, ds, [scale, index, base], disp | st t1, ds, [0, t0, t7], disp | def macroop ADD_P_I | dd95f0468c599f30303740527ce19d810f43aca6 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7385/dd95f0468c599f30303740527ce19d810f43aca6/add_and_subtract.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11522,
556,
11689,
67,
52,
67,
45,
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,
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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
] |
router.add_backend(conf.pop("type"), name, conf) | router.add_backend(conf.pop("ENGINE"), name, conf) | def handle_noargs(self, **options): | e68452e860572f97062347a754efdb6b93194e55 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11809/e68452e860572f97062347a754efdb6b93194e55/route.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1640,
67,
2135,
1968,
12,
2890,
16,
2826,
2116,
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,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
67,
2135,
1968,
12,
2890,
16,
2826,
2116,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if value != self.expected_response: for i in range(len(value)): if len(self.expected_response) <= i: print `value[i-5:i+10]`, `self.expected_response[i-5:i+10]` elif value[i] != self.expected_response[i]: print `value[i-5:i+10]`, `self.expected_response[i-5:i+10]` break print '---VALUE---' print repr(value) print '---EXPECTED---' print repr(self.expected_response) raise AssertionError | self.assertEquals(value, self.expected_response) | def testBuffer(self): b = StringIOWithoutClosing() a = http.HTTPChannel() a.requestFactory = DummyHTTPHandler a.makeConnection(protocol.FileWrapper(b)) # one byte at a time, to stress it. for byte in self.requests: a.dataReceived(byte) a.connectionLost(IOError("all one")) value = b.getvalue() if value != self.expected_response: for i in range(len(value)): if len(self.expected_response) <= i: print `value[i-5:i+10]`, `self.expected_response[i-5:i+10]` elif value[i] != self.expected_response[i]: print `value[i-5:i+10]`, `self.expected_response[i-5:i+10]` break print '---VALUE---' print repr(value) print '---EXPECTED---' print repr(self.expected_response) raise AssertionError | e882ab6950563f69b462446b4b54179d8c120c2b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12595/e882ab6950563f69b462446b4b54179d8c120c2b/test_http.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
1892,
12,
2890,
4672,
324,
273,
15777,
8073,
15745,
1435,
279,
273,
1062,
18,
3693,
2909,
1435,
279,
18,
2293,
1733,
273,
28622,
3693,
1503,
279,
18,
6540,
1952,
12,
8373,
18,
812,
3611,
12,
70,
3719,
468,
1245,
1160,
622,
279,
813,
16,
358,
384,
663,
518,
18,
364,
1160,
316,
365,
18,
11420,
30,
279,
18,
892,
8872,
12,
7229,
13,
279,
18,
4071,
19024,
12,
4294,
668,
2932,
454,
1245,
6,
3719,
460,
273,
324,
18,
588,
1132,
1435,
309,
460,
480,
365,
18,
3825,
67,
2740,
30,
364,
277,
316,
1048,
12,
1897,
12,
1132,
3719,
30,
309,
562,
12,
2890,
18,
3825,
67,
2740,
13,
1648,
277,
30,
1172,
1375,
1132,
63,
77,
17,
25,
30,
77,
15,
2163,
65,
9191,
1375,
2890,
18,
3825,
67,
2740,
63,
77,
17,
25,
30,
77,
15,
2163,
65,
68,
1327,
460,
63,
77,
65,
480,
365,
18,
3825,
67,
2740,
63,
77,
14542,
1172,
1375,
1132,
63,
77,
17,
25,
30,
77,
15,
2163,
65,
9191,
1375,
2890,
18,
3825,
67,
2740,
63,
77,
17,
25,
30,
77,
15,
2163,
65,
68,
898,
1172,
3534,
17,
4051,
6062,
11,
1172,
8480,
12,
1132,
13,
1172,
3534,
17,
27409,
6062,
11,
1172,
8480,
12,
2890,
18,
3825,
67,
2740,
13,
1002,
12068,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
1892,
12,
2890,
4672,
324,
273,
15777,
8073,
15745,
1435,
279,
273,
1062,
18,
3693,
2909,
1435,
279,
18,
2293,
1733,
273,
28622,
3693,
1503,
279,
18,
6540,
1952,
12,
8373,
18,
812,
3611,
12,
70,
3719,
468,
1245,
1160,
622,
279,
813,
16,
358,
384,
663,
518,
18,
364,
1160,
316,
365,
18,
11420,
30,
279,
18,
892,
8872,
12,
7229,
13,
279,
18,
4071,
19024,
12,
4294,
668,
2932,
454,
1245,
6,
3719,
460,
273,
324,
18,
588,
1132,
1435,
309,
460,
480,
365,
18,
3825,
67,
2740,
30,
364,
277,
316,
1048,
12,
1897,
12,
1132,
3719,
30,
309,
562,
12,
2890,
18,
3825,
67,
2740,
13,
1648,
277,
30,
1172,
1375,
1132,
63,
2
] |
"""Toggle hasExtraData flag on installer.""" def AppendToMenu(self,menu,window,data): Link.AppendToMenu(self,menu,window,data) menuItem = wx.MenuItem(menu,self.id,_('Has Extra Directories'),kind=wx.ITEM_CHECK) menu.AppendItem(menuItem) menuItem.Enable(self.isSingle()) if self.isSingle(): installer = self.data[self.selected[0]] menuItem.Check(installer.hasExtraData) def Execute(self,event): """Handle selection.""" installer = self.data[self.selected[0]] installer.hasExtraData ^= True installer.refreshDataSizeCrc() installer.refreshStatus(self.data) self.data.refresh(what='N') self.gTank.RefreshUI() | """Toggle hasExtraData flag on installer.""" def AppendToMenu(self,menu,window,data): Link.AppendToMenu(self,menu,window,data) menuItem = wx.MenuItem(menu,self.id,_('Has Extra Directories'),kind=wx.ITEM_CHECK) menu.AppendItem(menuItem) menuItem.Enable(self.isSingle()) if self.isSingle(): installer = self.data[self.selected[0]] menuItem.Check(installer.hasExtraData) def Execute(self,event): """Handle selection.""" installer = self.data[self.selected[0]] installer.hasExtraData ^= True installer.refreshDataSizeCrc() installer.refreshStatus(self.data) self.data.refresh(what='N') self.gTank.RefreshUI() | def Execute(self,event): """Handle selection.""" curName = self.selected[0] isdir = self.data.dir.join(curName).isdir() if isdir: root,ext = curName,'' else: root,ext = curName.rootExt newName = root+' Copy'+ext index = 0 while newName in self.data: newName = root + (_(' Copy (%d)') % index) + ext index += 1 result = balt.askText(self.gTank,_("Duplicate %s to:") % curName.s, self.title,newName.s) result = (result or '').strip() if not result: return #--Error checking newName = GPath(result).tail if not newName.s: balt.ShowWarning(self.gTank,_("%s is not a valid name.") % result) return if newName in self.data: balt.ShowWarning(self.gTank,_("%s already exists.") % newName.s) return if self.data.dir.join(curName).isfile() and curName.cext != newName.cext: balt.ShowWarning(self.gTank, _("%s does not have correct extension (%s).") % (newName.s,curName.ext)) return #--Duplicate try: wx.BeginBusyCursor() self.data.copy(curName,newName) finally: wx.EndBusyCursor() self.data.refresh(what='N') self.gTank.RefreshUI() | 3ac43907fa076fea1e8d682219e2b28fc7419f7b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6682/3ac43907fa076fea1e8d682219e2b28fc7419f7b/basher.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
7903,
12,
2890,
16,
2575,
4672,
3536,
3259,
4421,
12123,
662,
461,
273,
365,
18,
8109,
63,
20,
65,
9783,
273,
365,
18,
892,
18,
1214,
18,
5701,
12,
1397,
461,
2934,
291,
1214,
1435,
309,
9783,
30,
1365,
16,
408,
273,
662,
461,
16,
6309,
469,
30,
1365,
16,
408,
273,
662,
461,
18,
3085,
2482,
13253,
273,
1365,
6797,
5631,
11,
15,
408,
770,
273,
374,
1323,
13253,
316,
365,
18,
892,
30,
13253,
273,
1365,
397,
261,
67,
2668,
5631,
6142,
72,
2506,
13,
738,
770,
13,
397,
1110,
770,
1011,
404,
563,
273,
324,
2390,
18,
835,
1528,
12,
2890,
18,
75,
56,
2304,
16,
67,
2932,
11826,
738,
87,
358,
2773,
13,
738,
662,
461,
18,
87,
16,
365,
18,
2649,
16,
2704,
461,
18,
87,
13,
563,
273,
261,
2088,
578,
875,
2934,
6406,
1435,
309,
486,
563,
30,
327,
468,
413,
668,
6728,
13253,
273,
611,
743,
12,
2088,
2934,
13101,
309,
486,
13253,
18,
87,
30,
324,
2390,
18,
5706,
6210,
12,
2890,
18,
75,
56,
2304,
16,
67,
27188,
87,
353,
486,
279,
923,
508,
1199,
13,
738,
563,
13,
327,
309,
13253,
316,
365,
18,
892,
30,
324,
2390,
18,
5706,
6210,
12,
2890,
18,
75,
56,
2304,
16,
67,
27188,
87,
1818,
1704,
1199,
13,
738,
13253,
18,
87,
13,
327,
309,
365,
18,
892,
18,
1214,
18,
5701,
12,
1397,
461,
2934,
291,
768,
1435,
471,
662,
461,
18,
311,
15239,
480,
13253,
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,
7903,
12,
2890,
16,
2575,
4672,
3536,
3259,
4421,
12123,
662,
461,
273,
365,
18,
8109,
63,
20,
65,
9783,
273,
365,
18,
892,
18,
1214,
18,
5701,
12,
1397,
461,
2934,
291,
1214,
1435,
309,
9783,
30,
1365,
16,
408,
273,
662,
461,
16,
6309,
469,
30,
1365,
16,
408,
273,
662,
461,
18,
3085,
2482,
13253,
273,
1365,
6797,
5631,
11,
15,
408,
770,
273,
374,
1323,
13253,
316,
365,
18,
892,
30,
13253,
273,
1365,
397,
261,
67,
2668,
5631,
6142,
72,
2506,
13,
738,
770,
13,
397,
1110,
770,
1011,
404,
563,
273,
324,
2390,
18,
835,
1528,
12,
2890,
18,
75,
56,
2304,
16,
67,
2932,
11826,
738,
87,
358,
2773,
13,
738,
2
] |
logger = netsvc.Logger() logger.notifyChannel('orm', netsvc.LOG_ERROR, "Programming error: field '%s' does not exist in object '%s' !" % (name, self._table._name)) return None | self.logger.notifyChannel("browse_record", netsvc.LOG_WARNING, "Field '%s' does not exist in object '%s': \n%s" % ( name, self, ''.join(traceback.format_trace()))) raise KeyError("Field '%s' does not exist in object '%s'" % ( name, self)) | def __getitem__(self, name): if name == 'id': return self._id if name not in self._data[self._id]: # build the list of fields we will fetch | a62d77fa115760328a1fb133b2ddc3f2846849b9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/a62d77fa115760328a1fb133b2ddc3f2846849b9/orm.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
31571,
972,
12,
2890,
16,
508,
4672,
309,
508,
422,
296,
350,
4278,
327,
365,
6315,
350,
309,
508,
486,
316,
365,
6315,
892,
63,
2890,
6315,
350,
14542,
468,
1361,
326,
666,
434,
1466,
732,
903,
2158,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
16,
508,
4672,
309,
508,
422,
296,
350,
4278,
327,
365,
6315,
350,
309,
508,
486,
316,
365,
6315,
892,
63,
2890,
6315,
350,
14542,
468,
1361,
326,
666,
434,
1466,
732,
903,
2158,
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
] |
if self.ModuleType == "DXE_SMM_DRIVER": self._DepexExpressionList["DXE_DRIVER"] = '' self._DepexExpressionList["SMM_DRIVER"] = '' else: self._DepexExpressionList[self.ModuleType] = '' | self._DepexExpressionList[self.ModuleType] = '' | def _GetDepexExpressionTokenList(self): if self._DepexExpressionList == None: self._DepexExpressionList = {} if self.IsLibrary or TAB_DEPENDENCY_EXPRESSION_FILE in self.FileTypes: return self._DepexExpressionList | 9bb496c547cded520142c4d0922f8af5717f9dc8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/914/9bb496c547cded520142c4d0922f8af5717f9dc8/AutoGen.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
967,
16316,
338,
2300,
1345,
682,
12,
2890,
4672,
309,
365,
6315,
16316,
338,
2300,
682,
422,
599,
30,
365,
6315,
16316,
338,
2300,
682,
273,
2618,
309,
365,
18,
2520,
9313,
578,
26158,
67,
1639,
25690,
26325,
67,
19111,
67,
3776,
316,
365,
18,
812,
2016,
30,
327,
365,
6315,
16316,
338,
2300,
682,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
967,
16316,
338,
2300,
1345,
682,
12,
2890,
4672,
309,
365,
6315,
16316,
338,
2300,
682,
422,
599,
30,
365,
6315,
16316,
338,
2300,
682,
273,
2618,
309,
365,
18,
2520,
9313,
578,
26158,
67,
1639,
25690,
26325,
67,
19111,
67,
3776,
316,
365,
18,
812,
2016,
30,
327,
365,
6315,
16316,
338,
2300,
682,
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
] |
self.submit_option = '--config-vo %s' % self.config['ConfigVO'] | submit_option = '--config-vo %s' % self.config['ConfigVO'] | def __set_submit_option__(self): | b539a73c73d4945301e6c2635eafd6fab1a0dda4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1488/b539a73c73d4945301e6c2635eafd6fab1a0dda4/Grid.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
542,
67,
9297,
67,
3482,
972,
12,
2890,
4672,
2,
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,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
542,
67,
9297,
67,
3482,
972,
12,
2890,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
"""A utility to patch an object and return a handle for later restoration. | """A utility to patch an object and return :class:`fudge.PatchHandler` for later restoration. | def patch_object(obj, attr_name, patched_value): """A utility to patch an object and return a handle for later restoration. You can use more convenient wrappers :func:`with_patched_object` and :func:`patched_context` """ if isinstance(obj, (str, unicode)): obj_path = obj obj = __import__(obj_path) for part in obj_path.split('.')[1:]: obj = getattr(obj, part) handle = PatchHandler(obj, attr_name) handle.patch(patched_value) return handle | 6998d3b9bc8f5c723c59e95ed4b3ecdd4943ab3e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3602/6998d3b9bc8f5c723c59e95ed4b3ecdd4943ab3e/patcher.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4729,
67,
1612,
12,
2603,
16,
1604,
67,
529,
16,
25786,
67,
1132,
4672,
3536,
37,
12788,
358,
4729,
392,
733,
471,
327,
294,
1106,
28288,
74,
27110,
18,
7332,
1503,
68,
364,
5137,
3127,
22226,
18,
225,
4554,
848,
999,
1898,
26375,
21589,
294,
644,
28288,
1918,
67,
2272,
329,
67,
1612,
68,
471,
294,
644,
28288,
2272,
329,
67,
2472,
68,
3536,
309,
1549,
12,
2603,
16,
261,
701,
16,
5252,
3719,
30,
1081,
67,
803,
273,
1081,
1081,
273,
1001,
5666,
972,
12,
2603,
67,
803,
13,
364,
1087,
316,
1081,
67,
803,
18,
4939,
2668,
1093,
25146,
21,
30,
14542,
1081,
273,
3869,
12,
2603,
16,
1087,
13,
225,
1640,
273,
12042,
1503,
12,
2603,
16,
1604,
67,
529,
13,
1640,
18,
2272,
12,
2272,
329,
67,
1132,
13,
327,
1640,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4729,
67,
1612,
12,
2603,
16,
1604,
67,
529,
16,
25786,
67,
1132,
4672,
3536,
37,
12788,
358,
4729,
392,
733,
471,
327,
294,
1106,
28288,
74,
27110,
18,
7332,
1503,
68,
364,
5137,
3127,
22226,
18,
225,
4554,
848,
999,
1898,
26375,
21589,
294,
644,
28288,
1918,
67,
2272,
329,
67,
1612,
68,
471,
294,
644,
28288,
2272,
329,
67,
2472,
68,
3536,
309,
1549,
12,
2603,
16,
261,
701,
16,
5252,
3719,
30,
1081,
67,
803,
273,
1081,
1081,
273,
1001,
5666,
972,
12,
2603,
67,
803,
13,
364,
1087,
316,
1081,
67,
803,
18,
4939,
2668,
1093,
25146,
21,
30,
14542,
1081,
273,
3869,
12,
2603,
16,
1087,
13,
225,
1640,
273,
12042,
1503,
12,
2
] |
if info != {}: | if info: | def __get_info(self, info_id): retval = self.__run_boottool('--info=%s' % info_id).stdout | 340a00d3ad01aceff412f3b7c2d1578788cd4dd2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12268/340a00d3ad01aceff412f3b7c2d1578788cd4dd2/bootloader.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
588,
67,
1376,
12,
2890,
16,
1123,
67,
350,
4672,
5221,
273,
365,
16186,
2681,
67,
7137,
6738,
2668,
413,
1376,
5095,
87,
11,
738,
1123,
67,
350,
2934,
10283,
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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,
2668,
413,
1376,
5095,
87,
11,
738,
1123,
67,
350,
2934,
10283,
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
] |
] | lambda self, selectors: self.assertEqual( selectors.test_run.time_check_performed, False), lambda self, selectors: self.assertEqual( selectors.test_run.attributes, {}), lambda self, selectors: self.assertEqual( selectors.test_run.attachments, {}), lambda self, selectors: self.assertEqual( selectors.test_run.sw_context, None), lambda self, selectors: self.assertEqual( selectors.test_run.hw_context, None), ] | def test_deserialize_clears_old_error_on_success(self): BundleDeserializationError.objects.create( bundle = self.bundle, error_message="not important").save() mock = self.mocker.patch(self.bundle) expect(mock._do_deserialize()) self.mocker.replay() self.bundle.deserialize() # note we cannot check for self.bundle.deserialization_error # directly due to the way django handles operations that affect # existing instances (it does not touch them like storm would # IIRC). self.assertRaises( BundleDeserializationError.DoesNotExist, BundleDeserializationError.objects.get, bundle=self.bundle) | cb7777d5c58a90f038d8ca059654803230429d22 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7382/cb7777d5c58a90f038d8ca059654803230429d22/tests.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
18109,
67,
2131,
5913,
67,
1673,
67,
1636,
67,
265,
67,
4768,
12,
2890,
4672,
8539,
20765,
1588,
668,
18,
6911,
18,
2640,
12,
3440,
273,
365,
18,
9991,
16,
555,
67,
2150,
1546,
902,
10802,
20387,
5688,
1435,
5416,
273,
365,
18,
81,
6203,
18,
2272,
12,
2890,
18,
9991,
13,
4489,
12,
22851,
6315,
2896,
67,
18109,
10756,
365,
18,
81,
6203,
18,
266,
1601,
1435,
365,
18,
9991,
18,
18109,
1435,
468,
4721,
732,
2780,
866,
364,
365,
18,
9991,
18,
5489,
24662,
1588,
67,
1636,
468,
5122,
6541,
358,
326,
4031,
13710,
7372,
5295,
716,
13418,
468,
2062,
3884,
261,
305,
1552,
486,
6920,
2182,
3007,
26792,
4102,
468,
467,
30240,
2934,
365,
18,
11231,
12649,
6141,
12,
8539,
20765,
1588,
668,
18,
15264,
16,
8539,
20765,
1588,
668,
18,
6911,
18,
588,
16,
3440,
33,
2890,
18,
9991,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
18109,
67,
2131,
5913,
67,
1673,
67,
1636,
67,
265,
67,
4768,
12,
2890,
4672,
8539,
20765,
1588,
668,
18,
6911,
18,
2640,
12,
3440,
273,
365,
18,
9991,
16,
555,
67,
2150,
1546,
902,
10802,
20387,
5688,
1435,
5416,
273,
365,
18,
81,
6203,
18,
2272,
12,
2890,
18,
9991,
13,
4489,
12,
22851,
6315,
2896,
67,
18109,
10756,
365,
18,
81,
6203,
18,
266,
1601,
1435,
365,
18,
9991,
18,
18109,
1435,
468,
4721,
732,
2780,
866,
364,
365,
18,
9991,
18,
5489,
24662,
1588,
67,
1636,
468,
5122,
6541,
358,
326,
4031,
13710,
7372,
5295,
716,
13418,
468,
2062,
3884,
261,
305,
1552,
486,
6920,
2182,
3007,
26792,
4102,
468,
467,
30240,
2934,
2
] |
journaldate = str(date.Date(journaldate)) | journaldate = date.Date(journaldate) | def add_new_columns_v2(self): '''While we're adding the actor column, we need to update the tables to have the correct datatypes.''' for klass in self.classes.values(): cn = klass.classname properties = klass.getprops() old_spec = self.database_schema['tables'][cn] | 5f95dd34105d9fa54d471617dd14823905eabd07 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1906/5f95dd34105d9fa54d471617dd14823905eabd07/back_mysql.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
67,
2704,
67,
5112,
67,
90,
22,
12,
2890,
4672,
9163,
15151,
732,
4565,
6534,
326,
8327,
1057,
16,
732,
1608,
358,
1089,
326,
4606,
358,
1240,
326,
3434,
14760,
1093,
6309,
364,
7352,
316,
365,
18,
4701,
18,
2372,
13332,
6227,
273,
7352,
18,
18340,
1790,
273,
7352,
18,
588,
9693,
1435,
1592,
67,
2793,
273,
365,
18,
6231,
67,
4821,
3292,
9373,
3546,
63,
10305,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
67,
2704,
67,
5112,
67,
90,
22,
12,
2890,
4672,
9163,
15151,
732,
4565,
6534,
326,
8327,
1057,
16,
732,
1608,
358,
1089,
326,
4606,
358,
1240,
326,
3434,
14760,
1093,
6309,
364,
7352,
316,
365,
18,
4701,
18,
2372,
13332,
6227,
273,
7352,
18,
18340,
1790,
273,
7352,
18,
588,
9693,
1435,
1592,
67,
2793,
273,
365,
18,
6231,
67,
4821,
3292,
9373,
3546,
63,
10305,
65,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
== [inplace.log1p_inplace, alloc] | == [T.log1p, alloc] | def test_log1p(): m = theano.config.mode if m == 'FAST_COMPILE': m = 'FAST_RUN' m = compile.mode.get_mode(m) m = m.excluding('fusion') # check some basic cases x = dvector() f = function([x], T.log(1+(x)), mode=m) assert [node.op for node in f.maker.env.toposort()] == [T.log1p] f = function([x], T.log(1+(-x)), mode=m) assert [node.op for node in f.maker.env.toposort()] == [T.neg, inplace.log1p_inplace] f = function([x], -T.log(1+(-x)), mode=m) assert [node.op for node in f.maker.env.toposort()] == [T.neg, inplace.log1p_inplace, inplace.neg_inplace] # check trickier cases (and use different dtype) y = fmatrix() f = function([x,y], T.log(fill(y,1)+(x)), mode=m) print f.maker.env.toposort() # the first three ops are Shape_i, Shape_i, and Dimshuffle theano.printing.debugprint(f) assert [node.op for node in f.maker.env.toposort()][3:] \ == [inplace.log1p_inplace, alloc] f = function([x,y], T.log(0+(x) + fill(y,1.0)), mode=m) theano.printing.debugprint(f) assert [node.op for node in f.maker.env.toposort()][3:] \ == [inplace.log1p_inplace, alloc] f = function([x,y], T.log(2+(x) - fill(y,1.0)), mode=m) theano.printing.debugprint(f) assert [node.op for node in f.maker.env.toposort()][3:] \ == [inplace.log1p_inplace, alloc] f([1e-7, 10], [[0, 0], [0, 0]]) #debugmode will verify values if 0: # at one point this worked, but it has been broken since # the constant up-casting made 1 -> 1.0+0.0j # I was never sure if this optimization should work on complex numbers or not. z = zmatrix() f = function([z], T.log(1+(z)), mode=m) theano.printing.debugprint(f) assert [node.op for node in f.maker.env.toposort()] == [T.log1p] if 1: # should work for int z = imatrix() f = function([z], T.log(1+(z)), mode=m) theano.printing.debugprint(f) assert [node.op for node in f.maker.env.toposort()] == [T.log1p] | 6efb14d5b50778175ec5c937b5269ee07a6dbce3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/6efb14d5b50778175ec5c937b5269ee07a6dbce3/test_opt.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
1330,
21,
84,
13332,
312,
273,
326,
31922,
18,
1425,
18,
3188,
309,
312,
422,
296,
2046,
882,
67,
31075,
900,
4278,
312,
273,
296,
2046,
882,
67,
15238,
11,
312,
273,
4074,
18,
3188,
18,
588,
67,
3188,
12,
81,
13,
312,
273,
312,
18,
338,
18596,
2668,
74,
7063,
6134,
468,
866,
2690,
5337,
6088,
619,
273,
302,
7737,
1435,
284,
273,
445,
3816,
92,
6487,
399,
18,
1330,
12,
21,
15,
12,
92,
13,
3631,
1965,
33,
81,
13,
1815,
306,
2159,
18,
556,
364,
756,
316,
284,
18,
29261,
18,
3074,
18,
3669,
538,
499,
1435,
65,
422,
306,
56,
18,
1330,
21,
84,
65,
284,
273,
445,
3816,
92,
6487,
399,
18,
1330,
12,
21,
15,
19236,
92,
13,
3631,
1965,
33,
81,
13,
1815,
306,
2159,
18,
556,
364,
756,
316,
284,
18,
29261,
18,
3074,
18,
3669,
538,
499,
1435,
65,
422,
306,
56,
18,
14518,
16,
11783,
18,
1330,
21,
84,
67,
267,
964,
65,
284,
273,
445,
3816,
92,
6487,
300,
56,
18,
1330,
12,
21,
15,
19236,
92,
13,
3631,
1965,
33,
81,
13,
1815,
306,
2159,
18,
556,
364,
756,
316,
284,
18,
29261,
18,
3074,
18,
3669,
538,
499,
1435,
65,
422,
306,
56,
18,
14518,
16,
11783,
18,
1330,
21,
84,
67,
267,
964,
16,
11783,
18,
14518,
67,
267,
964,
65,
282,
468,
866,
28837,
2453,
6088,
261,
464,
999,
3775,
3182,
13,
677,
273,
284,
5667,
1435,
284,
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,
1842,
67,
1330,
21,
84,
13332,
312,
273,
326,
31922,
18,
1425,
18,
3188,
309,
312,
422,
296,
2046,
882,
67,
31075,
900,
4278,
312,
273,
296,
2046,
882,
67,
15238,
11,
312,
273,
4074,
18,
3188,
18,
588,
67,
3188,
12,
81,
13,
312,
273,
312,
18,
338,
18596,
2668,
74,
7063,
6134,
468,
866,
2690,
5337,
6088,
619,
273,
302,
7737,
1435,
284,
273,
445,
3816,
92,
6487,
399,
18,
1330,
12,
21,
15,
12,
92,
13,
3631,
1965,
33,
81,
13,
1815,
306,
2159,
18,
556,
364,
756,
316,
284,
18,
29261,
18,
3074,
18,
3669,
538,
499,
1435,
65,
422,
306,
56,
18,
1330,
21,
84,
65,
284,
273,
445,
3816,
92,
6487,
399,
2
] |
('i', 'ignored', None, _('show ignored files')), | ('i', 'ignored', None, _('show only ignored files')), | def version_(ui): """output version and copyright information""" ui.write(_("Mercurial Distributed SCM (version %s)\n") % version.get_version()) ui.status(_( "\nCopyright (C) 2005, 2006 Matt Mackall <[email protected]>\n" "This is free software; see the source for copying conditions. " "There is NO\nwarranty; " "not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" )) | a6bad45f4978d1e344f3e88045b9ebfa16739626 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11312/a6bad45f4978d1e344f3e88045b9ebfa16739626/commands.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1177,
67,
12,
4881,
4672,
3536,
2844,
1177,
471,
22245,
1779,
8395,
5915,
18,
2626,
24899,
2932,
8478,
1397,
649,
27877,
8795,
49,
261,
1589,
738,
87,
5153,
82,
7923,
738,
1177,
18,
588,
67,
1589,
10756,
5915,
18,
2327,
24899,
12,
1548,
82,
2951,
4083,
261,
39,
13,
4044,
25,
16,
27212,
490,
4558,
490,
484,
454,
411,
1291,
81,
36,
1786,
275,
335,
18,
832,
5333,
82,
6,
315,
2503,
353,
4843,
17888,
31,
2621,
326,
1084,
364,
8933,
4636,
18,
315,
315,
9828,
353,
3741,
64,
82,
905,
6890,
93,
31,
315,
315,
902,
5456,
364,
490,
654,
1792,
6856,
22879,
578,
478,
1285,
5407,
1260,
12108,
432,
20814,
2871,
19545,
30817,
8403,
82,
6,
8623,
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,
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,
5915,
18,
2626,
24899,
2932,
8478,
1397,
649,
27877,
8795,
49,
261,
1589,
738,
87,
5153,
82,
7923,
738,
1177,
18,
588,
67,
1589,
10756,
5915,
18,
2327,
24899,
12,
1548,
82,
2951,
4083,
261,
39,
13,
4044,
25,
16,
27212,
490,
4558,
490,
484,
454,
411,
1291,
81,
36,
1786,
275,
335,
18,
832,
5333,
82,
6,
315,
2503,
353,
4843,
17888,
31,
2621,
326,
1084,
364,
8933,
4636,
18,
315,
315,
9828,
353,
3741,
64,
82,
905,
6890,
93,
31,
315,
315,
902,
5456,
364,
490,
654,
1792,
6856,
22879,
578,
478,
1285,
5407,
1260,
12108,
432,
20814,
2871,
19545,
30817,
8403,
82,
6,
2
] |
x = 20 + col*120 | x = 20 + col*d | def test(): D = Drawing(450,650) for row in range(5): y = 530 - row*120 if row == 0: for col in range(3): x = 20 + col*120 g = Grid0() g.x = x g.y = y g.useRects = 0 g.useLines = 1 if col == 0: pass elif col == 1: g.delta0 = 10 elif col == 2: g.orientation = 'horizontal' g.demo() D.add(g) elif row == 1: for col in range(3): x = 20 + col*120 g = Grid0() g.y = y g.x = x if col == 0: pass elif col == 1: g.delta0 = 10 elif col == 2: g.orientation = 'horizontal' g.demo() D.add(g) elif row == 2: for col in range(3): x = 20 + col*120 g = Grid0() g.x = x g.y = y g.useLines = 1 g.useRects = 1 if col == 0: pass elif col == 1: g.delta0 = 10 elif col == 2: g.orientation = 'horizontal' g.demo() D.add(g) elif row == 3: for col in range(3): x = 20 + col*120 sr = ShadedRect0() sr.x = x sr.y = y sr.fillColorStart = colors.Color(0, 0, 0) sr.fillColorEnd = colors.Color(1, 1, 1) if col == 0: sr.numShades = 5 elif col == 1: sr.numShades = 2 elif col == 2: sr.numShades = 1 sr.demo() D.add(sr) elif row == 4: for col in range(3): x = 20 + col*120 sr = ShadedRect0() sr.x = x sr.y = y sr.fillColorStart = colors.red sr.fillColorEnd = colors.blue sr.orientation = 'horizontal' if col == 0: sr.numShades = 10 elif col == 1: sr.numShades = 20 elif col == 2: sr.numShades = 50 sr.demo() D.add(sr) renderPDF.drawToFile(D, 'grids.pdf', 'grids.py') print 'wrote file: grids.pdf' | 2153c6f9f7afc55d87d741aa392569b7c2232d19 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/2153c6f9f7afc55d87d741aa392569b7c2232d19/grids.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
13332,
463,
273,
10184,
310,
12,
24,
3361,
16,
26,
3361,
13,
225,
364,
1027,
316,
1048,
12,
25,
4672,
677,
273,
1381,
5082,
300,
1027,
14,
22343,
309,
1027,
422,
374,
30,
364,
645,
316,
1048,
12,
23,
4672,
619,
273,
4200,
397,
645,
14,
72,
314,
273,
7145,
20,
1435,
314,
18,
92,
273,
619,
314,
18,
93,
273,
677,
314,
18,
1202,
6120,
87,
273,
374,
314,
18,
1202,
5763,
273,
404,
309,
645,
422,
374,
30,
1342,
1327,
645,
422,
404,
30,
314,
18,
9878,
20,
273,
1728,
1327,
645,
422,
576,
30,
314,
18,
19235,
273,
296,
18396,
11,
314,
18,
27928,
1435,
463,
18,
1289,
12,
75,
13,
1327,
1027,
422,
404,
30,
364,
645,
316,
1048,
12,
23,
4672,
619,
273,
4200,
397,
645,
14,
72,
314,
273,
7145,
20,
1435,
314,
18,
93,
273,
677,
314,
18,
92,
273,
619,
309,
645,
422,
374,
30,
1342,
1327,
645,
422,
404,
30,
314,
18,
9878,
20,
273,
1728,
1327,
645,
422,
576,
30,
314,
18,
19235,
273,
296,
18396,
11,
314,
18,
27928,
1435,
463,
18,
1289,
12,
75,
13,
1327,
1027,
422,
576,
30,
364,
645,
316,
1048,
12,
23,
4672,
619,
273,
4200,
397,
645,
14,
72,
314,
273,
7145,
20,
1435,
314,
18,
92,
273,
619,
314,
18,
93,
273,
677,
314,
18,
1202,
5763,
273,
404,
314,
18,
1202,
6120,
87,
273,
404,
309,
645,
422,
374,
30,
1342,
1327,
645,
422,
404,
30,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
13332,
463,
273,
10184,
310,
12,
24,
3361,
16,
26,
3361,
13,
225,
364,
1027,
316,
1048,
12,
25,
4672,
677,
273,
1381,
5082,
300,
1027,
14,
22343,
309,
1027,
422,
374,
30,
364,
645,
316,
1048,
12,
23,
4672,
619,
273,
4200,
397,
645,
14,
72,
314,
273,
7145,
20,
1435,
314,
18,
92,
273,
619,
314,
18,
93,
273,
677,
314,
18,
1202,
6120,
87,
273,
374,
314,
18,
1202,
5763,
273,
404,
309,
645,
422,
374,
30,
1342,
1327,
645,
422,
404,
30,
314,
18,
9878,
20,
273,
1728,
1327,
645,
422,
576,
30,
314,
18,
19235,
273,
296,
18396,
11,
314,
18,
27928,
1435,
463,
18,
1289,
12,
75,
13,
1327,
1027,
422,
2
] |
sys.stderr = test.globs['oldstderr'] | sys.stderr = test.globs['oldstderr'] | def tearDown(test): sys.stderr = test.globs['oldstderr'] zope.deferredimport.__path__.pop() shutil.rmtree(test.globs['tmp_d']) for name in test.globs['created_modules']: sys.modules.pop(name, None) warnings.warn = test.globs['saved_warn'] | 1e57035f6a851bd4df39f40857d2a410de3df967 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9638/1e57035f6a851bd4df39f40857d2a410de3df967/tests.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
268,
2091,
4164,
12,
3813,
4672,
2589,
18,
11241,
273,
1842,
18,
10581,
87,
3292,
1673,
11241,
3546,
225,
998,
1306,
18,
26622,
5666,
16186,
803,
25648,
5120,
1435,
11060,
18,
86,
17371,
12,
3813,
18,
10581,
87,
3292,
5645,
67,
72,
19486,
364,
508,
316,
1842,
18,
10581,
87,
3292,
4824,
67,
6400,
3546,
30,
2589,
18,
6400,
18,
5120,
12,
529,
16,
599,
13,
5599,
18,
8935,
273,
1842,
18,
10581,
87,
3292,
14077,
67,
8935,
3546,
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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
4672,
2589,
18,
11241,
273,
1842,
18,
10581,
87,
3292,
1673,
11241,
3546,
225,
998,
1306,
18,
26622,
5666,
16186,
803,
25648,
5120,
1435,
11060,
18,
86,
17371,
12,
3813,
18,
10581,
87,
3292,
5645,
67,
72,
19486,
364,
508,
316,
1842,
18,
10581,
87,
3292,
4824,
67,
6400,
3546,
30,
2589,
18,
6400,
18,
5120,
12,
529,
16,
599,
13,
5599,
18,
8935,
273,
1842,
18,
10581,
87,
3292,
14077,
67,
8935,
3546,
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
] |
returns 'modelRoot' NOTE: returns parts of first LOD""" | returns 'modelRoot' NOTE: returns parts of arbitrary LOD""" | def getPartNames(self): """getPartNames(self): Return list of Actor part names. If not an multipart actor, returns 'modelRoot' NOTE: returns parts of first LOD""" return self.__partBundleDict.values()[0].keys() | b906b53bfb8134931cc86a27e39666665bcc2f42 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7242/b906b53bfb8134931cc86a27e39666665bcc2f42/Actor.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
13657,
1557,
12,
2890,
4672,
3536,
588,
1988,
1557,
12,
2890,
4672,
2000,
666,
434,
21142,
1087,
1257,
18,
971,
486,
392,
10263,
8327,
16,
1135,
296,
2284,
2375,
11,
5219,
30,
1135,
2140,
434,
11078,
511,
1212,
8395,
327,
365,
16186,
2680,
3405,
5014,
18,
2372,
1435,
63,
20,
8009,
2452,
1435,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
13657,
1557,
12,
2890,
4672,
3536,
588,
1988,
1557,
12,
2890,
4672,
2000,
666,
434,
21142,
1087,
1257,
18,
971,
486,
392,
10263,
8327,
16,
1135,
296,
2284,
2375,
11,
5219,
30,
1135,
2140,
434,
11078,
511,
1212,
8395,
327,
365,
16186,
2680,
3405,
5014,
18,
2372,
1435,
63,
20,
8009,
2452,
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
] |
def delete_menu(self, arg=None, menuw=None): | def delete_menu(self, arg=None, menuw=None, allow_reload=True): | def delete_menu(self, arg=None, menuw=None): if len(self.menustack) > 1: self.menustack = self.menustack[:-1] menu = self.menustack[-1] | ae6399f1b1861a828b01e49d82fb3db0ac6ea475 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/ae6399f1b1861a828b01e49d82fb3db0ac6ea475/menu.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1430,
67,
5414,
12,
2890,
16,
1501,
33,
7036,
16,
3824,
91,
33,
7036,
16,
1699,
67,
17517,
33,
5510,
4672,
309,
562,
12,
2890,
18,
27617,
641,
484,
13,
405,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1430,
67,
5414,
12,
2890,
16,
1501,
33,
7036,
16,
3824,
91,
33,
7036,
16,
1699,
67,
17517,
33,
5510,
4672,
309,
562,
12,
2890,
18,
27617,
641,
484,
13,
405,
404,
30,
365,
18,
27617,
641,
484,
273,
365,
18,
27617,
641,
484,
10531,
17,
21,
65,
3824,
273,
365,
18,
27617,
641,
484,
18919,
21,
65,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
def getEvalStrGen(self): | def getEvalStrGen(self, getInstance=False): | def getEvalStrGen(self): str = '' prevIndirection = None curIndirection = None nextIndirection = None # make sure the indirections don't go away on us indirections = self._indirections for indirection in indirections: indirection.acquire() for i in xrange(len(indirections)): yield None if i > 0: prevIndirection = indirections[i-1] else: prevIndirection = None curIndirection = indirections[i] if i < len(indirections)-1: nextIndirection = indirections[i+1] else: nextIndirection = None str += curIndirection.getString(prevIndirection=prevIndirection, nextIndirection=nextIndirection) for indirection in indirections: yield None indirection.release() yield str | 4b0c19f61ad7b72d770281f09de1f398289fc892 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8543/4b0c19f61ad7b72d770281f09de1f398289fc892/ContainerLeakDetector.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4774,
1125,
1585,
7642,
12,
2890,
16,
3694,
33,
8381,
4672,
609,
273,
875,
2807,
3866,
2769,
273,
599,
662,
3866,
2769,
273,
599,
1024,
3866,
2769,
273,
599,
468,
1221,
3071,
326,
1547,
2769,
87,
2727,
1404,
1960,
10804,
603,
584,
1547,
2769,
87,
273,
365,
6315,
728,
2769,
87,
364,
1547,
2769,
316,
1547,
2769,
87,
30,
1547,
2769,
18,
1077,
1039,
1435,
364,
277,
316,
12314,
12,
1897,
12,
728,
2769,
87,
3719,
30,
2824,
599,
309,
277,
405,
374,
30,
2807,
3866,
2769,
273,
1547,
2769,
87,
63,
77,
17,
21,
65,
469,
30,
2807,
3866,
2769,
273,
599,
662,
3866,
2769,
273,
1547,
2769,
87,
63,
77,
65,
309,
277,
411,
562,
12,
728,
2769,
87,
24950,
21,
30,
1024,
3866,
2769,
273,
1547,
2769,
87,
63,
77,
15,
21,
65,
469,
30,
1024,
3866,
2769,
273,
599,
609,
1011,
662,
3866,
2769,
18,
588,
780,
12,
10001,
3866,
2769,
33,
10001,
3866,
2769,
16,
1024,
3866,
2769,
33,
4285,
3866,
2769,
13,
364,
1547,
2769,
316,
1547,
2769,
87,
30,
2824,
599,
1547,
2769,
18,
9340,
1435,
2824,
609,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4774,
1125,
1585,
7642,
12,
2890,
16,
3694,
33,
8381,
4672,
609,
273,
875,
2807,
3866,
2769,
273,
599,
662,
3866,
2769,
273,
599,
1024,
3866,
2769,
273,
599,
468,
1221,
3071,
326,
1547,
2769,
87,
2727,
1404,
1960,
10804,
603,
584,
1547,
2769,
87,
273,
365,
6315,
728,
2769,
87,
364,
1547,
2769,
316,
1547,
2769,
87,
30,
1547,
2769,
18,
1077,
1039,
1435,
364,
277,
316,
12314,
12,
1897,
12,
728,
2769,
87,
3719,
30,
2824,
599,
309,
277,
405,
374,
30,
2807,
3866,
2769,
273,
1547,
2769,
87,
63,
77,
17,
21,
65,
469,
30,
2807,
3866,
2769,
273,
599,
662,
3866,
2769,
273,
1547,
2769,
87,
63,
77,
65,
309,
277,
411,
562,
12,
2
] |
if self.browser.wd != "/": self.browse(None, self.browserdata.get_value(self.browserdata.get_iter((1,)), 1)) | if self.browser.is_focus(): if self.browser.wd != "/": self.browse(None, self.browserdata.get_value(self.browserdata.get_iter((1,)), 1)) return | def parent_dir(self, action): if self.notebook.get_current_page() == 1: if self.browser.wd != "/": self.browse(None, self.browserdata.get_value(self.browserdata.get_iter((1,)), 1)) | 9a1189ef0a6c014f0c3d64fa26fdc291b0f3a6e6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2312/9a1189ef0a6c014f0c3d64fa26fdc291b0f3a6e6/sonata.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
982,
67,
1214,
12,
2890,
16,
1301,
4672,
309,
365,
18,
24422,
18,
588,
67,
2972,
67,
2433,
1435,
422,
404,
30,
309,
365,
18,
11213,
18,
3623,
480,
4016,
30,
365,
18,
25731,
12,
7036,
16,
365,
18,
11213,
892,
18,
588,
67,
1132,
12,
2890,
18,
11213,
892,
18,
588,
67,
2165,
12443,
21,
16,
13,
3631,
404,
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,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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,
982,
67,
1214,
12,
2890,
16,
1301,
4672,
309,
365,
18,
24422,
18,
588,
67,
2972,
67,
2433,
1435,
422,
404,
30,
309,
365,
18,
11213,
18,
3623,
480,
4016,
30,
365,
18,
25731,
12,
7036,
16,
365,
18,
11213,
892,
18,
588,
67,
1132,
12,
2890,
18,
11213,
892,
18,
588,
67,
2165,
12443,
21,
16,
13,
3631,
404,
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
] |
help_pages = ["file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-basic.html", "file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-bootloader.html", "file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-install.html", "file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-partitions.html", "file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-network.html", "file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-auth.html", "file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-firewall.html", "file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-xconfig.html", "file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-pkgs.html", "file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-prescript.html", "file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-postscript.html", | help_pages = ["file:///usr/share/doc/ksconfig-" + VERSION + "/ksconfig-basic.html", "file:///usr/share/doc/ksconfig-" + VERSION + "/ksconfig-bootloader.html", "file:///usr/share/doc/ksconfig-" + VERSION + "/ksconfig-install.html", "file:///usr/share/doc/ksconfig-" + VERSION + "/ksconfig-partitions.html", "file:///usr/share/doc/ksconfig-" + VERSION + "/ksconfig-network.html", "file:///usr/share/doc/ksconfig-" + VERSION + "/ksconfig-auth.html", "file:///usr/share/doc/ksconfig-" + VERSION + "/ksconfig-firewall.html", "file:///usr/share/doc/ksconfig-" + VERSION + "/ksconfig-xconfig.html", "file:///usr/share/doc/ksconfig-" + VERSION + "/ksconfig-pkgs.html", "file:///usr/share/doc/ksconfig-" + VERSION + "/ksconfig-prescript.html", "file:///usr/share/doc/ksconfig-" + VERSION + "/ksconfig-postinstall.html", | def on_help_button_clicked (self, args): help_pages = ["file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-basic.html", "file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-bootloader.html", "file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-install.html", "file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-partitions.html", "file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-network.html", "file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-auth.html", "file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-firewall.html", "file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-xconfig.html", "file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-pkgs.html", "file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-prescript.html", "file:///usr/share/doc/ksconfig-" + VERSION + "ksconfig-postscript.html", ] print self.options_notebook.get_current_page () gnome.help.goto (help_pages [self.options_notebook.get_current_page ()]) | 87883f841cef7d62366a66790513f7b1a5acd2ca /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5376/87883f841cef7d62366a66790513f7b1a5acd2ca/ksconfig_gui.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
603,
67,
5201,
67,
5391,
67,
7475,
329,
261,
2890,
16,
833,
4672,
225,
2809,
67,
7267,
273,
8247,
768,
2207,
19,
13640,
19,
14419,
19,
2434,
19,
7904,
1425,
10951,
397,
8456,
397,
2206,
7904,
1425,
17,
13240,
18,
2620,
3113,
315,
768,
2207,
19,
13640,
19,
14419,
19,
2434,
19,
7904,
1425,
10951,
397,
8456,
397,
2206,
7904,
1425,
17,
7137,
6714,
18,
2620,
3113,
315,
768,
2207,
19,
13640,
19,
14419,
19,
2434,
19,
7904,
1425,
10951,
397,
8456,
397,
2206,
7904,
1425,
17,
5425,
18,
2620,
3113,
315,
768,
2207,
19,
13640,
19,
14419,
19,
2434,
19,
7904,
1425,
10951,
397,
8456,
397,
2206,
7904,
1425,
17,
21275,
18,
2620,
3113,
315,
768,
2207,
19,
13640,
19,
14419,
19,
2434,
19,
7904,
1425,
10951,
397,
8456,
397,
2206,
7904,
1425,
17,
5185,
18,
2620,
3113,
315,
768,
2207,
19,
13640,
19,
14419,
19,
2434,
19,
7904,
1425,
10951,
397,
8456,
397,
2206,
7904,
1425,
17,
1944,
18,
2620,
3113,
315,
768,
2207,
19,
13640,
19,
14419,
19,
2434,
19,
7904,
1425,
10951,
397,
8456,
397,
2206,
7904,
1425,
17,
27295,
18,
2620,
3113,
315,
768,
2207,
19,
13640,
19,
14419,
19,
2434,
19,
7904,
1425,
10951,
397,
8456,
397,
2206,
7904,
1425,
17,
92,
1425,
18,
2620,
3113,
315,
768,
2207,
19,
13640,
19,
14419,
19,
2434,
19,
7904,
1425,
10951,
397,
8456,
397,
2206,
7904,
1425,
17,
25376,
18,
2620,
3113,
315,
768,
2207,
19,
13640,
19,
14419,
19,
2434,
19,
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,
67,
5201,
67,
5391,
67,
7475,
329,
261,
2890,
16,
833,
4672,
225,
2809,
67,
7267,
273,
8247,
768,
2207,
19,
13640,
19,
14419,
19,
2434,
19,
7904,
1425,
10951,
397,
8456,
397,
2206,
7904,
1425,
17,
13240,
18,
2620,
3113,
315,
768,
2207,
19,
13640,
19,
14419,
19,
2434,
19,
7904,
1425,
10951,
397,
8456,
397,
2206,
7904,
1425,
17,
7137,
6714,
18,
2620,
3113,
315,
768,
2207,
19,
13640,
19,
14419,
19,
2434,
19,
7904,
1425,
10951,
397,
8456,
397,
2206,
7904,
1425,
17,
5425,
18,
2620,
3113,
315,
768,
2207,
19,
13640,
19,
14419,
19,
2434,
19,
7904,
1425,
10951,
397,
8456,
397,
2206,
7904,
1425,
17,
21275,
18,
2620,
3113,
315,
768,
2207,
2
] |
xmlfile = os.path.join( cachedir, '%s_%d.xhtml' % (self.name, self.id) ) | xmlfile = cachefile + '.xhtml' | def pdf_generate(self): """ Generates the PDF for this snip and stores it into cachedir. """ cachefile = self.pdf_get_cachefile() xmlfile = os.path.join( cachedir, '%s_%d.xhtml' % (self.name, self.id) ) | fb71f95bf6a8512919a57c29f1e8c9d1394f2020 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11563/fb71f95bf6a8512919a57c29f1e8c9d1394f2020/models.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8169,
67,
7163,
12,
2890,
4672,
3536,
31902,
326,
12667,
364,
333,
4556,
625,
471,
9064,
518,
1368,
3472,
481,
18,
3536,
1247,
768,
273,
365,
18,
7699,
67,
588,
67,
2493,
768,
1435,
2025,
768,
273,
1140,
18,
803,
18,
5701,
12,
3472,
481,
16,
1995,
87,
10185,
72,
18,
26341,
11,
738,
261,
2890,
18,
529,
16,
365,
18,
350,
13,
262,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8169,
67,
7163,
12,
2890,
4672,
3536,
31902,
326,
12667,
364,
333,
4556,
625,
471,
9064,
518,
1368,
3472,
481,
18,
3536,
1247,
768,
273,
365,
18,
7699,
67,
588,
67,
2493,
768,
1435,
2025,
768,
273,
1140,
18,
803,
18,
5701,
12,
3472,
481,
16,
1995,
87,
10185,
72,
18,
26341,
11,
738,
261,
2890,
18,
529,
16,
365,
18,
350,
13,
262,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
missing = [ x for x in targets if not group.hasTrove(*x) ] if missing: l = missingTargets.setdefault(trv, []) l += missing | missing = [ x for x in targets if not group.hasTrove(*x) ] if missing: l = missingTargets.setdefault(trv, []) l += missing | def checkForRedirects(group, repos, troveCache): redirectTups = [] for troveTup in group.iterTroveList(strongRefs=True, weakRefs=False): if troveCache.isRedirect(troveTup): redirectTups.append(troveTup) if not redirectTups: return redirectTroves = repos.getTroves(redirectTups) missingTargets = {} for trv in redirectTroves: targets = [] name = trv.getName() for (subName, subVersion, subFlavor) in trv.iterTroveList( strongRefs=True): if (":" not in subName and ":" not in name) or \ (":" in subName and ":" in name): targets.append((subName, subVersion, subFlavor)) missing = [ x for x in targets if not group.hasTrove(*x) ] if missing: l = missingTargets.setdefault(trv, []) l += missing errmsg = [] if not missingTargets: for troveTup in redirectTups: group.delTrove(*troveTup) return for trv in sorted(missingTargets): (n,v,f) = (trv.getName(),trv.getVersion(),trv.getFlavor()) errmsg.append('\n%s=%s[%s]:' % (n, v.asString(), deps.formatFlavor(f))) errmsg.extend([(' -> %s=%s[%s]' % (n, v.asString(), deps.formatFlavor(f))) for (n,v,f) in sorted(missingTargets[trv])]) raise RecipeFileError, ("""\ | 694593e124170eaa52844d1f294d71d9550fb016 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/694593e124170eaa52844d1f294d71d9550fb016/grouprecipe.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
13855,
21978,
12,
1655,
16,
13686,
16,
23432,
537,
1649,
4672,
3136,
56,
18294,
273,
5378,
364,
23432,
537,
56,
416,
316,
1041,
18,
2165,
56,
303,
537,
682,
12,
9110,
9837,
33,
5510,
16,
16046,
9837,
33,
8381,
4672,
309,
23432,
537,
1649,
18,
291,
5961,
12,
88,
303,
537,
56,
416,
4672,
3136,
56,
18294,
18,
6923,
12,
88,
303,
537,
56,
416,
13,
225,
309,
486,
3136,
56,
18294,
30,
327,
225,
3136,
56,
303,
3324,
273,
13686,
18,
588,
56,
303,
3324,
12,
7590,
56,
18294,
13,
3315,
9432,
273,
2618,
364,
433,
90,
316,
3136,
56,
303,
3324,
30,
5774,
273,
5378,
508,
273,
433,
90,
18,
17994,
1435,
364,
261,
1717,
461,
16,
720,
1444,
16,
720,
2340,
9444,
13,
316,
433,
90,
18,
2165,
56,
303,
537,
682,
12,
11773,
9837,
33,
5510,
4672,
309,
7566,
2773,
486,
316,
720,
461,
471,
6153,
486,
316,
508,
13,
578,
521,
7566,
2773,
377,
316,
720,
461,
471,
6153,
377,
316,
508,
4672,
5774,
18,
6923,
12443,
1717,
461,
16,
720,
1444,
16,
720,
2340,
9444,
3719,
3315,
273,
306,
619,
364,
619,
316,
5774,
309,
486,
1041,
18,
5332,
56,
303,
537,
30857,
92,
13,
308,
309,
3315,
30,
328,
273,
3315,
9432,
18,
542,
1886,
12,
313,
90,
16,
5378,
13,
328,
1011,
3315,
225,
17460,
273,
5378,
309,
486,
3315,
9432,
30,
364,
23432,
537,
56,
416,
316,
3136,
56,
18294,
30,
1041,
18,
3771,
56,
303,
537,
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,
13855,
21978,
12,
1655,
16,
13686,
16,
23432,
537,
1649,
4672,
3136,
56,
18294,
273,
5378,
364,
23432,
537,
56,
416,
316,
1041,
18,
2165,
56,
303,
537,
682,
12,
9110,
9837,
33,
5510,
16,
16046,
9837,
33,
8381,
4672,
309,
23432,
537,
1649,
18,
291,
5961,
12,
88,
303,
537,
56,
416,
4672,
3136,
56,
18294,
18,
6923,
12,
88,
303,
537,
56,
416,
13,
225,
309,
486,
3136,
56,
18294,
30,
327,
225,
3136,
56,
303,
3324,
273,
13686,
18,
588,
56,
303,
3324,
12,
7590,
56,
18294,
13,
3315,
9432,
273,
2618,
364,
433,
90,
316,
3136,
56,
303,
3324,
30,
5774,
273,
5378,
508,
273,
433,
90,
18,
17994,
1435,
364,
261,
1717,
461,
2
] |
if (query.has_key("open_tree") and query['open_tree'] != '/'): br = query['open_tree'] else: br = '/' tmp=result.__class__(result) dbh.execute("select from_unixtime(modified) as time from reg_%s where path=%r",(tablename,br)) row=dbh.fetch() try: tmp.text("Last modified %s " % row['time'],color='red') result.row(tmp) except TypeError: pass | def tree_notebook_cb(query,result): if (query.has_key("open_tree") and query['open_tree'] != '/'): br = query['open_tree'] else: br = '/' tmp=result.__class__(result) dbh.execute("select from_unixtime(modified) as time from reg_%s where path=%r",(tablename,br)) row=dbh.fetch() try: tmp.text("Last modified %s " % row['time'],color='red') result.row(tmp) except TypeError: pass def pane_cb(branch,table): path = FlagFramework.normpath('/'.join(branch)) | 58c8a3dc398fe0908d35f4f71199984226b442f0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5568/58c8a3dc398fe0908d35f4f71199984226b442f0/RegScan.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2151,
67,
24422,
67,
7358,
12,
2271,
16,
2088,
4672,
225,
1652,
13618,
67,
7358,
12,
7500,
16,
2121,
4672,
589,
273,
9960,
13701,
18,
7959,
803,
2668,
2473,
18,
5701,
12,
7500,
3719,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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225,
1652,
13618,
67,
7358,
12,
7500,
16,
2121,
4672,
589,
273,
9960,
13701,
18,
7959,
803,
2668,
2473,
18,
5701,
12,
7500,
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
] |
|
def mergeFonts(firstFont, secondFont, result): | def mergeFonts(firstFont, secondFont, result, setinfos=0): | def mergeFonts(firstFont, secondFont, result): global scriptNum fscript=open("merge-gregoria-%d.pe" % scriptNum, 'w') fscript.write("#!/usr/local/bin/fontforge\n\n") fscript.write("Open(\"%s.sfd\");\n" % firstFont) fscript.write("MergeFonts(\"%s.sfd\");\n" % secondFont) fscript.write("Reencode(\"compacted\");\n") fscript.write("Reencode(\"original\",1);\n") fscript.write("Save(\"%s.sfd\");\n" % result) fscript.write("Close();\n") fscript.write("Quit(0);\n") scriptNum = scriptNum +1 fscript.close() | 5793a8d9c69a539fd28403473bebf475356c4700 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7096/5793a8d9c69a539fd28403473bebf475356c4700/gregoria2gregorio.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2691,
5711,
87,
12,
3645,
5711,
16,
2205,
5711,
16,
563,
16,
444,
18227,
33,
20,
4672,
2552,
2728,
2578,
284,
4263,
33,
3190,
2932,
2702,
17,
2810,
280,
1155,
6456,
72,
18,
347,
6,
738,
2728,
2578,
16,
296,
91,
6134,
284,
4263,
18,
2626,
2932,
7,
5,
19,
13640,
19,
3729,
19,
4757,
19,
5776,
1884,
908,
64,
82,
64,
82,
7923,
284,
4263,
18,
2626,
2932,
3678,
23031,
9,
87,
18,
87,
8313,
2412,
20472,
82,
6,
738,
1122,
5711,
13,
284,
4263,
18,
2626,
2932,
6786,
5711,
87,
23031,
9,
87,
18,
87,
8313,
2412,
20472,
82,
6,
738,
2205,
5711,
13,
284,
4263,
18,
2626,
2932,
426,
3015,
23031,
21038,
329,
2412,
20472,
82,
7923,
284,
4263,
18,
2626,
2932,
426,
3015,
23031,
8830,
22564,
21,
20472,
82,
7923,
284,
4263,
18,
2626,
2932,
4755,
23031,
9,
87,
18,
87,
8313,
2412,
20472,
82,
6,
738,
563,
13,
284,
4263,
18,
2626,
2932,
4605,
5621,
64,
82,
7923,
284,
4263,
18,
2626,
2932,
25365,
12,
20,
20472,
82,
7923,
2728,
2578,
273,
2728,
2578,
397,
21,
284,
4263,
18,
4412,
1435,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2691,
5711,
87,
12,
3645,
5711,
16,
2205,
5711,
16,
563,
16,
444,
18227,
33,
20,
4672,
2552,
2728,
2578,
284,
4263,
33,
3190,
2932,
2702,
17,
2810,
280,
1155,
6456,
72,
18,
347,
6,
738,
2728,
2578,
16,
296,
91,
6134,
284,
4263,
18,
2626,
2932,
7,
5,
19,
13640,
19,
3729,
19,
4757,
19,
5776,
1884,
908,
64,
82,
64,
82,
7923,
284,
4263,
18,
2626,
2932,
3678,
23031,
9,
87,
18,
87,
8313,
2412,
20472,
82,
6,
738,
1122,
5711,
13,
284,
4263,
18,
2626,
2932,
6786,
5711,
87,
23031,
9,
87,
18,
87,
8313,
2412,
20472,
82,
6,
738,
2205,
5711,
13,
284,
4263,
18,
2626,
2932,
426,
3015,
23031,
21038,
329,
2412,
20472,
2
] |
elif info_sort == COL_TITLE: | elif info_sort == COL_TITLE_SORT: | def save_sorting(self, node): """Save sorting information into node""" info_sort, sort_dir = self.model.get_sort_column_id() | a13cb9f852c20f9fdb97cec601c502c69605ab04 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4738/a13cb9f852c20f9fdb97cec601c502c69605ab04/noteselector.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1923,
67,
28751,
12,
2890,
16,
756,
4672,
3536,
4755,
9602,
1779,
1368,
756,
8395,
225,
1123,
67,
3804,
16,
1524,
67,
1214,
273,
365,
18,
2284,
18,
588,
67,
3804,
67,
2827,
67,
350,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1923,
67,
28751,
12,
2890,
16,
756,
4672,
3536,
4755,
9602,
1779,
1368,
756,
8395,
225,
1123,
67,
3804,
16,
1524,
67,
1214,
273,
365,
18,
2284,
18,
588,
67,
3804,
67,
2827,
67,
350,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
match = map(decode, re.findall(conf.strings["imdb_mpaa_re"], page, re.MULTILINE)) if match: self.mpaa = decode(match[0]) self.__setitem__("mpaa", self.mpaa) | def __parsePage(self, page): | 94b2b16fd1c061001a6110209b8adf873a6b2c81 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13971/94b2b16fd1c061001a6110209b8adf873a6b2c81/pythonbits.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2670,
1964,
12,
2890,
16,
1363,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2670,
1964,
12,
2890,
16,
1363,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
dest='find_mode', action='store_Const', const='small') | dest='find_mode', action='store_Const', const='small'), | def redirecting_stdout(self, action, filter_name, filter_args): '''Calls the given _action_ with stdout temporarily redirected to _self.output_file_ or | 6c274fdfc4e866cb11e8f3cf3816bdd7ba3a5dfa /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8383/6c274fdfc4e866cb11e8f3cf3816bdd7ba3a5dfa/cmd.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3136,
310,
67,
10283,
12,
2890,
16,
1301,
16,
1034,
67,
529,
16,
1034,
67,
1968,
4672,
9163,
10125,
326,
864,
389,
1128,
67,
598,
3909,
18917,
21808,
358,
389,
2890,
18,
2844,
67,
768,
67,
578,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
67,
10283,
12,
2890,
16,
1301,
16,
1034,
67,
529,
16,
1034,
67,
1968,
4672,
9163,
10125,
326,
864,
389,
1128,
67,
598,
3909,
18917,
21808,
358,
389,
2890,
18,
2844,
67,
768,
67,
578,
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
] |
elif res >= dtstart: yield res if count: count -= 1 if not count: | else: for i in set[start:end]: if i is not None: date = datetime.date.fromordinal(ii.yearordinal+i) for time in self._time: res = datetime.datetime.combine(date, time) if self._until and res > until: | def iter(self, dtstart): year, month, day, hour, minute, second, weekday, yearday, _ = \ dtstart.timetuple() | b6d02321017f6062893e0b89e3c8b0dbc1bba103 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8441/b6d02321017f6062893e0b89e3c8b0dbc1bba103/rrule.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1400,
12,
2890,
16,
3681,
1937,
4672,
3286,
16,
3138,
16,
2548,
16,
6126,
16,
8044,
16,
2205,
16,
7560,
16,
677,
73,
1060,
528,
16,
389,
273,
521,
3681,
1937,
18,
8584,
278,
2268,
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,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1400,
12,
2890,
16,
3681,
1937,
4672,
3286,
16,
3138,
16,
2548,
16,
6126,
16,
8044,
16,
2205,
16,
7560,
16,
677,
73,
1060,
528,
16,
389,
273,
521,
3681,
1937,
18,
8584,
278,
2268,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if urlDict.has_key('surl') and urlDict['surl']: pathSURL = self.getUrl(urlDict['surl'])['Value'] | if urlDict.has_key( 'surl' ) and urlDict['surl']: pathSURL = self.getUrl( urlDict['surl'] )['Value'] | def prestageFile(self,path,lifetime=60*60*24): """ Issue prestage request for file """ res = self.checkArgumentFormat(path) if not res['OK']: return res urls = res['Value'] | 70e66af095cb6701e39b1e701e4a2ce4d012b4f7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/70e66af095cb6701e39b1e701e4a2ce4d012b4f7/SRM2Storage.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
675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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
675,
12869,
812,
12,
2890,
16,
803,
16,
17155,
33,
4848,
14,
4848,
14,
3247,
4672,
3536,
11820,
675,
12869,
590,
364,
585,
3536,
400,
273,
365,
18,
1893,
1379,
1630,
12,
803,
13,
309,
486,
400,
3292,
3141,
3546,
30,
327,
400,
6903,
273,
400,
3292,
620,
3546,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
random.seed(time.time()) | def __getRandomContentNodeList(self, au, minCount, maxCount): """Return a randomly sized list of nodes with content, between min and max in length. If there are fewer than 'max' nodes, this will return a list between 'min' and 'len(allnodes)'.""" nodes = self.getAuNodesWithContent(au) maxCount = min(maxCount, len(nodes)) | cb9a70c7bbdce1e09c351d60188d3e6bda051e84 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/766/cb9a70c7bbdce1e09c351d60188d3e6bda051e84/lockss_daemon.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
588,
8529,
1350,
19914,
12,
2890,
16,
20309,
16,
1131,
1380,
16,
943,
1380,
4672,
3536,
990,
279,
20153,
26046,
666,
434,
2199,
598,
913,
16,
3086,
1131,
471,
943,
316,
769,
18,
971,
1915,
854,
27886,
2353,
296,
1896,
11,
2199,
16,
333,
903,
327,
279,
666,
3086,
296,
1154,
11,
471,
296,
1897,
12,
454,
4690,
2506,
12123,
2199,
273,
365,
18,
588,
37,
89,
3205,
1190,
1350,
12,
8377,
13,
943,
1380,
273,
1131,
12,
1896,
1380,
16,
562,
12,
4690,
3719,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
588,
8529,
1350,
19914,
12,
2890,
16,
20309,
16,
1131,
1380,
16,
943,
1380,
4672,
3536,
990,
279,
20153,
26046,
666,
434,
2199,
598,
913,
16,
3086,
1131,
471,
943,
316,
769,
18,
971,
1915,
854,
27886,
2353,
296,
1896,
11,
2199,
16,
333,
903,
327,
279,
666,
3086,
296,
1154,
11,
471,
296,
1897,
12,
454,
4690,
2506,
12123,
2199,
273,
365,
18,
588,
37,
89,
3205,
1190,
1350,
12,
8377,
13,
943,
1380,
273,
1131,
12,
1896,
1380,
16,
562,
12,
4690,
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
] |
|
self.prot = None def buildProtocol(self, addr): self.prot = Factory.buildProtocol(self, addr) return self.prot def reply(self, reply): if self.prot: self.prot.transport.write(reply + "\r\n") | class RelayError(Exception): pass | def __init__(self, dispatcher): self.dispatcher = dispatcher self.prot = None | 52c591872af75930b633f50641d72f593784ac59 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3445/52c591872af75930b633f50641d72f593784ac59/dispatcher.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
7393,
4672,
365,
18,
18495,
273,
7393,
365,
18,
11815,
273,
599,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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365,
18,
11815,
273,
599,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.reason = 'dxr3 output' | self.reason = 'dxr3 or dfbmga output' | def __init__(self): if config.CONF.display == 'dxr3': print 'For some strange reason, the starting of the webserver inside' print 'Freevo messes up with the DXR3 output. The webserver plugin' print 'will be disabled. Start it from outside Freevo with' print 'freevo webserver [start|stop]' self.reason = 'dxr3 output' return plugin.DaemonPlugin.__init__(self) self.pid = None os.system('%s webserver start' % os.environ['FREEVO_SCRIPT']) | 8689d91b39c26cb146caa77e484961ac2b4c17b1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/8689d91b39c26cb146caa77e484961ac2b4c17b1/__init__.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
309,
642,
18,
14497,
18,
5417,
422,
296,
13437,
86,
23,
4278,
1172,
296,
1290,
2690,
609,
726,
3971,
16,
326,
5023,
434,
326,
732,
2266,
502,
4832,
11,
1172,
296,
9194,
12307,
12755,
281,
731,
598,
326,
26634,
54,
23,
876,
18,
1021,
732,
2266,
502,
1909,
11,
1172,
296,
20194,
506,
5673,
18,
3603,
518,
628,
8220,
15217,
12307,
598,
11,
1172,
296,
9156,
12307,
732,
2266,
502,
306,
1937,
96,
5681,
3864,
365,
18,
10579,
273,
296,
13437,
86,
23,
578,
3013,
25709,
15833,
876,
11,
327,
1909,
18,
12858,
3773,
16186,
2738,
972,
12,
2890,
13,
365,
18,
6610,
273,
599,
1140,
18,
4299,
29909,
87,
732,
2266,
502,
787,
11,
738,
1140,
18,
28684,
3292,
28104,
16169,
67,
10885,
19486,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
309,
642,
18,
14497,
18,
5417,
422,
296,
13437,
86,
23,
4278,
1172,
296,
1290,
2690,
609,
726,
3971,
16,
326,
5023,
434,
326,
732,
2266,
502,
4832,
11,
1172,
296,
9194,
12307,
12755,
281,
731,
598,
326,
26634,
54,
23,
876,
18,
1021,
732,
2266,
502,
1909,
11,
1172,
296,
20194,
506,
5673,
18,
3603,
518,
628,
8220,
15217,
12307,
598,
11,
1172,
296,
9156,
12307,
732,
2266,
502,
306,
1937,
96,
5681,
3864,
365,
18,
10579,
273,
296,
13437,
86,
23,
578,
3013,
25709,
15833,
876,
11,
327,
1909,
18,
12858,
3773,
16186,
2738,
972,
12,
2890,
13,
365,
18,
6610,
273,
599,
1140,
18,
4299,
29909,
87,
732,
2266,
2
] |
format = unicode(path) path = self.view.model().db.format_abspath(self.current_row, format) | path = self.view.model().db.format_abspath(self.current_row, path) | def open_book_path(self, path): if os.sep in unicode(path): open_local_file(path) else: format = unicode(path) path = self.view.model().db.format_abspath(self.current_row, format) if path is not None: open_local_file(path) | 233baa63c6de7f2f45ad23cd53a4e74929330e3b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/233baa63c6de7f2f45ad23cd53a4e74929330e3b/book_info.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1696,
67,
3618,
67,
803,
12,
2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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,
1696,
67,
3618,
67,
803,
12,
2890,
16,
589,
4672,
309,
1140,
18,
10814,
316,
5252,
12,
803,
4672,
1696,
67,
3729,
67,
768,
12,
803,
13,
469,
30,
589,
273,
365,
18,
1945,
18,
2284,
7675,
1966,
18,
2139,
67,
5113,
803,
12,
2890,
18,
2972,
67,
492,
16,
589,
13,
309,
589,
353,
486,
599,
30,
1696,
67,
3729,
67,
768,
12,
803,
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
] |
return command | return cmd | def complete(self, text, state): idx = 0 for command in self.commands: if command.startswith(text): idx += 1 if idx > state: return command #print "text: '%s', state '%d'" % (text, state) | d5af29786f36313ce7c47a3b5fe963033faa2dd7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2811/d5af29786f36313ce7c47a3b5fe963033faa2dd7/hatari-console.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3912,
12,
2890,
16,
977,
16,
919,
4672,
2067,
273,
374,
364,
1296,
316,
365,
18,
7847,
30,
309,
1296,
18,
17514,
1918,
12,
955,
4672,
2067,
1011,
404,
309,
2067,
405,
919,
30,
327,
1797,
468,
1188,
315,
955,
30,
1995,
87,
2187,
919,
1995,
72,
4970,
738,
261,
955,
16,
919,
13,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3912,
12,
2890,
16,
977,
16,
919,
4672,
2067,
273,
374,
364,
1296,
316,
365,
18,
7847,
30,
309,
1296,
18,
17514,
1918,
12,
955,
4672,
2067,
1011,
404,
309,
2067,
405,
919,
30,
327,
1797,
468,
1188,
315,
955,
30,
1995,
87,
2187,
919,
1995,
72,
4970,
738,
261,
955,
16,
919,
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
] |
directive = None data = self.sendCMD(['info', 'quit'], sleep = 1) if (data is None): return None data = self.stripPrompt(data) result = {} if directive: result[directive] = data.split('\n') for i in range(len(result[directive])): if (len(result[directive][i]) != 0): result[directive][i] = result[directive][i].strip() result[directive].remove('') else: lines = data.split('\n') result['id'] = lines[0] result['os'] = lines[1] result['systime'] = lines[2] result['uptime'] = lines[3] result['screen'] = lines[4] result['memory'] = lines[5] if (lines[6] == 'Power status'): tmp = [] for i in range(4): tmp.append(line[7 + i]) result['power'] = tmp tmp = [] linenum = 11 for j in range(len(lines) - linenum): if (lines[j + linenum].strip() != ''): procline = lines[j + linenum].split('\t') if len(procline) == 2: tmp.append([procline[0], procline[1]]) elif len(procline) == 3: tmp.append([procline[1], procline[2], procline[0]]) result['process'] = tmp return result | return True """ Uninstalls the named application from device and causes a reboot. Takes an optional argument of installation path - the path to where the application was installed. Returns True, but it doesn't mean anything other than the command was sent, the reboot happens and we don't know if this succeeds or not. """ def uninstallAppAndReboot(self, appName, installPath=None): cmd = 'uninst ' + appName if installPath: cmd += ' ' + installPath self.sendCMD([cmd]) return True | def getInfo(self, directive): data = None if (directive in ('os','id','uptime','systime','screen','memory','process', 'disk','power')): data = self.sendCMD(['info ' + directive, 'quit'], sleep = 1) else: directive = None data = self.sendCMD(['info', 'quit'], sleep = 1) | 02223128cd056cb013609966605554a83eff291d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11102/02223128cd056cb013609966605554a83eff291d/devicemanager.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
17142,
12,
2890,
16,
8655,
4672,
501,
273,
599,
309,
261,
22347,
316,
7707,
538,
17023,
350,
17023,
3648,
494,
17023,
87,
1094,
494,
17023,
9252,
17023,
7858,
17023,
2567,
2187,
296,
10863,
17023,
12238,
26112,
30,
501,
273,
365,
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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
17142,
12,
2890,
16,
8655,
4672,
501,
273,
599,
309,
261,
22347,
316,
7707,
538,
17023,
350,
17023,
3648,
494,
17023,
87,
1094,
494,
17023,
9252,
17023,
7858,
17023,
2567,
2187,
296,
10863,
17023,
12238,
26112,
30,
501,
273,
365,
18,
4661,
19473,
12,
3292,
1376,
296,
397,
8655,
16,
296,
27176,
17337,
5329,
273,
404,
13,
469,
30,
8655,
273,
599,
501,
273,
365,
18,
4661,
19473,
12,
3292,
1376,
2187,
296,
27176,
17337,
5329,
273,
404,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
thumbList+="%s," % starttime | if starttime==0: if thumboffset < segment: thumbList+="%s," % thumboffset else: thumbList+="%s," % starttime else: thumbList+="%s," % starttime | def createVideoChapters(itemnum, numofchapters, lengthofvideo, getthumbnails): """Returns numofchapters chapter marks even spaced through a certain time period""" segment=int(lengthofvideo / numofchapters) write( "Video length is %s seconds. Each chapter will be %s seconds" % (lengthofvideo,segment)) chapters="" thumbList="" starttime=0 count=1 while count<=numofchapters: chapters+=time.strftime("%H:%M:%S",time.gmtime(starttime)) thumbList+="%s," % starttime if numofchapters>1: chapters+="," starttime+=segment count+=1 if getthumbnails==True: extractVideoFrames( os.path.join(getItemTempPath(itemnum),"stream.mv2"), os.path.join(getItemTempPath(itemnum),"chapter-%1.jpg"), thumbList) return chapters | 18622f0e94a0b3f152e7c2cec8074260206e63c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/13713/18622f0e94a0b3f152e7c2cec8074260206e63c3/mythburn.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
10083,
782,
1657,
414,
12,
1726,
2107,
16,
818,
792,
343,
1657,
414,
16,
769,
792,
9115,
16,
336,
14904,
87,
4672,
3536,
1356,
818,
792,
343,
1657,
414,
23580,
13999,
5456,
3476,
72,
3059,
279,
8626,
813,
3879,
8395,
3267,
33,
474,
12,
2469,
792,
9115,
342,
818,
792,
343,
1657,
414,
13,
225,
1045,
12,
315,
10083,
769,
353,
738,
87,
3974,
18,
8315,
23580,
903,
506,
738,
87,
3974,
6,
738,
261,
2469,
792,
9115,
16,
9273,
3719,
225,
462,
1657,
414,
1546,
6,
11156,
682,
1546,
6,
23437,
33,
20,
1056,
33,
21,
1323,
1056,
32,
33,
2107,
792,
343,
1657,
414,
30,
462,
1657,
414,
15,
33,
957,
18,
701,
9982,
27188,
44,
5319,
49,
5319,
55,
3113,
957,
18,
75,
10838,
12,
1937,
957,
3719,
225,
309,
23437,
631,
20,
30,
309,
11156,
3348,
411,
3267,
30,
11156,
682,
15,
11613,
87,
10837,
738,
11156,
3348,
469,
30,
11156,
682,
15,
11613,
87,
10837,
738,
23437,
469,
30,
11156,
682,
15,
11613,
87,
10837,
738,
23437,
225,
309,
818,
792,
343,
1657,
414,
34,
21,
30,
462,
1657,
414,
15,
1546,
10837,
23437,
15,
33,
9273,
1056,
15,
33,
21,
225,
309,
336,
14904,
87,
631,
5510,
30,
2608,
10083,
15162,
12,
1140,
18,
803,
18,
5701,
12,
588,
1180,
7185,
743,
12,
1726,
2107,
3631,
6,
3256,
18,
17509,
22,
6,
3631,
1140,
18,
803,
18,
5701,
12,
588,
1180,
7185,
743,
12,
1726,
2107,
3631,
6,
31254,
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,
752,
10083,
782,
1657,
414,
12,
1726,
2107,
16,
818,
792,
343,
1657,
414,
16,
769,
792,
9115,
16,
336,
14904,
87,
4672,
3536,
1356,
818,
792,
343,
1657,
414,
23580,
13999,
5456,
3476,
72,
3059,
279,
8626,
813,
3879,
8395,
3267,
33,
474,
12,
2469,
792,
9115,
342,
818,
792,
343,
1657,
414,
13,
225,
1045,
12,
315,
10083,
769,
353,
738,
87,
3974,
18,
8315,
23580,
903,
506,
738,
87,
3974,
6,
738,
261,
2469,
792,
9115,
16,
9273,
3719,
225,
462,
1657,
414,
1546,
6,
11156,
682,
1546,
6,
23437,
33,
20,
1056,
33,
21,
1323,
1056,
32,
33,
2107,
792,
343,
1657,
414,
30,
462,
1657,
414,
15,
33,
957,
18,
701,
9982,
27188,
2
] |
plot(chisq_time - duration/2.,chisqNorm_vector) | plot(chisq_time - chisq_position,chisqNorm_vector) xlim(-duration/2., duration/2.) | def plotsnrchisq(gpsTime,frameFile,ligoName,chisqBins,chisqDelta,outputPath): # BE CAREFUL ! The length of the frame file itself (without taking into account the path) is supposed to be 30 characters ! ind1 = len(frameFile) - 30 # this variable is also used in the definition of the plot title ind2 = ind1 + 2 ifoName = frameFile[ind1:ind2] print ifoName chanString = ifoName + ':' + ligoName + '_SNRSQ_0' print chanString # find the start time of the first channel # BE CAREFUL ! it is assumed that the sampling frequency is higher than 200 Hz testOnFirstChannel = frgetvect.frgetvect(frameFile,chanString,-1,0.01,0) gpsStart = testOnFirstChannel[3] # This actually prints only one digit after the . print gpsStart # find the channel which contains the data we want to look at # BE CAREFUL ! it is assumed that the segment length is 128 s segmentLength = 128. position = (float(gpsTime) - float(gpsStart) - segmentLength/2.)/segmentLength position = int(position) chanNumber = str(position) chanNameSnr = ifoName + ':' + ligoName + '_SNRSQ_' + chanNumber print chanNameSnr chanNameChisq = ifoName + ':' + ligoName + '_CHISQ_' + chanNumber # now, read the data !! # The window width should be an input argument maybe ? duration = 2.0 startWindow = float(gpsTime) - duration/2. squareSnr_tuple = frgetvect.frgetvect(frameFile,chanNameSnr,startWindow,duration,0) print squareSnr_tuple[0] squareChisq_tuple = frgetvect.frgetvect(frameFile,chanNameChisq,startWindow,duration,0) # compute the snr vector snr_vector = sqrt(squareSnr_tuple[0]) print snr_vector snr_time = squareSnr_tuple[1] print snr_time # compute the r^2 rsq_vector = squareChisq_tuple[0] chisq_time = squareChisq_tuple[1] print rsq_vector # compute the normalized chisq chisqNorm_vector = rsq_vector/(1 + chisqDelta/chisqBins*squareSnr_tuple[0]) print chisqNorm_vector # Now plot the snr time serie !! figure(1) plot(snr_time - duration/2.,snr_vector) xlabel('time (s)',size='x-large') ylabel(r'$\rho$',size='x-large') grid(1) title(ifoName + ' trigger: ' + gpsTime) savefig(ifoName + '_' + str(int(float(gpsTime))) + '_snr.png') # Now plot the r^2 time serie !! figure(2) plot(chisq_time - duration/2.,rsq_vector) xlabel('time (s)',size='x-large') ylabel(r'$r^2$',size='x-large') grid(1) title(ifoName + ' trigger: ' + gpsTime) savefig(ifoName + '_' + str(int(float(gpsTime))) + '_rsq.png') # Now plot the normalized chisq time serie !! figure(3) plot(chisq_time - duration/2.,chisqNorm_vector) xlabel('time (s)',size='x-large') ylabel(r'$\chi^2 / (p + \delta^2\rho^2)$',size='x-large') grid(1) title(ifoName + ' trigger: ' + gpsTime) savefig(ifoName + '_' + str(int(float(gpsTime))) + '_chisq.png') | 5500c5862e20bba832c1849255466b92ac551b52 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3592/5500c5862e20bba832c1849255466b92ac551b52/plotsnrchisq_pipe.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3207,
8134,
86,
343,
291,
85,
12,
75,
1121,
950,
16,
3789,
812,
16,
80,
17626,
461,
16,
343,
291,
85,
38,
2679,
16,
343,
291,
85,
9242,
16,
2844,
743,
4672,
225,
468,
9722,
6425,
10771,
1506,
401,
1021,
769,
434,
326,
2623,
585,
6174,
261,
13299,
13763,
1368,
2236,
326,
589,
13,
353,
18405,
358,
506,
5196,
3949,
401,
1547,
21,
273,
562,
12,
3789,
812,
13,
300,
5196,
225,
468,
333,
2190,
353,
2546,
1399,
316,
326,
2379,
434,
326,
3207,
2077,
1547,
22,
273,
1547,
21,
397,
576,
21479,
461,
273,
2623,
812,
63,
728,
21,
30,
728,
22,
65,
1172,
21479,
461,
225,
3861,
780,
273,
21479,
461,
397,
3921,
397,
16917,
83,
461,
397,
2070,
13653,
13225,
53,
67,
20,
11,
1172,
3861,
780,
225,
468,
1104,
326,
787,
813,
434,
326,
1122,
1904,
468,
9722,
6425,
10771,
1506,
401,
518,
353,
12034,
716,
326,
11558,
8670,
353,
10478,
2353,
4044,
670,
94,
1842,
1398,
3759,
2909,
273,
3812,
588,
29959,
18,
4840,
588,
29959,
12,
3789,
812,
16,
7472,
780,
16,
17,
21,
16,
20,
18,
1611,
16,
20,
13,
20985,
1685,
273,
1842,
1398,
3759,
2909,
63,
23,
65,
225,
468,
1220,
6013,
14971,
1338,
1245,
8035,
1839,
326,
263,
1172,
20985,
1685,
225,
468,
1104,
326,
1904,
1492,
1914,
326,
501,
732,
2545,
358,
2324,
622,
468,
9722,
6425,
10771,
1506,
401,
518,
353,
12034,
716,
326,
3267,
769,
353,
8038,
272,
3267,
1782,
273,
8038,
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,
3207,
8134,
86,
343,
291,
85,
12,
75,
1121,
950,
16,
3789,
812,
16,
80,
17626,
461,
16,
343,
291,
85,
38,
2679,
16,
343,
291,
85,
9242,
16,
2844,
743,
4672,
225,
468,
9722,
6425,
10771,
1506,
401,
1021,
769,
434,
326,
2623,
585,
6174,
261,
13299,
13763,
1368,
2236,
326,
589,
13,
353,
18405,
358,
506,
5196,
3949,
401,
1547,
21,
273,
562,
12,
3789,
812,
13,
300,
5196,
225,
468,
333,
2190,
353,
2546,
1399,
316,
326,
2379,
434,
326,
3207,
2077,
1547,
22,
273,
1547,
21,
397,
576,
21479,
461,
273,
2623,
812,
63,
728,
21,
30,
728,
22,
65,
1172,
21479,
461,
225,
3861,
780,
273,
21479,
461,
397,
3921,
397,
16917,
83,
2
] |
m = B.PDBModel( T.testRoot() + '/com/1BGS.pdb' ) x = Intervor( m, [0], debug=1, verbose=0, catch_err=1 ) x.run() pm = x.visualize( profile='so_min', xwat=[2], wat=[3] ) pm.run() | BT.localTest(debug=1) | def visualize( self, profile='so_min', wat=None, xwat=None ): """ Create a receptor / ligand / water view with a profile color-coded on it. @param profile: name of the profile to color-project ['so_min'] @type profile: str @param wat: chain ids of water molecules (default: None) These will end up as spheres in group 'water' @type wat: [ int ] @param xwat: chain ids of crystal water molecules (default: None) These will end up as spheres in group 'xwater' @type xwat: [ int ] | 600a99d513b19994aab9fb8dd567b3ad90dc7ad1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/482/600a99d513b19994aab9fb8dd567b3ad90dc7ad1/Intervor.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11623,
554,
12,
365,
16,
3042,
2218,
2048,
67,
1154,
2187,
341,
270,
33,
7036,
16,
619,
91,
270,
33,
7036,
262,
30,
3536,
1788,
279,
283,
6757,
342,
31388,
342,
16313,
1476,
598,
279,
3042,
2036,
17,
24808,
603,
518,
18,
225,
632,
891,
3042,
30,
508,
434,
326,
3042,
358,
2036,
17,
4406,
10228,
2048,
67,
1154,
3546,
632,
723,
225,
3042,
30,
609,
632,
891,
341,
270,
30,
2687,
3258,
434,
16313,
312,
29466,
261,
1886,
30,
599,
13,
8646,
903,
679,
731,
487,
272,
844,
11737,
316,
1041,
296,
91,
2045,
11,
632,
723,
225,
341,
270,
30,
306,
509,
308,
632,
891,
619,
91,
270,
30,
2687,
3258,
434,
4422,
31365,
16313,
312,
29466,
261,
1886,
30,
599,
13,
8646,
903,
679,
731,
487,
272,
844,
11737,
316,
1041,
296,
92,
91,
2045,
11,
632,
723,
225,
619,
91,
270,
30,
306,
509,
308,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11623,
554,
12,
365,
16,
3042,
2218,
2048,
67,
1154,
2187,
341,
270,
33,
7036,
16,
619,
91,
270,
33,
7036,
262,
30,
3536,
1788,
279,
283,
6757,
342,
31388,
342,
16313,
1476,
598,
279,
3042,
2036,
17,
24808,
603,
518,
18,
225,
632,
891,
3042,
30,
508,
434,
326,
3042,
358,
2036,
17,
4406,
10228,
2048,
67,
1154,
3546,
632,
723,
225,
3042,
30,
609,
632,
891,
341,
270,
30,
2687,
3258,
434,
16313,
312,
29466,
261,
1886,
30,
599,
13,
8646,
903,
679,
731,
487,
272,
844,
11737,
316,
1041,
296,
91,
2045,
11,
632,
723,
225,
341,
270,
30,
306,
509,
308,
632,
891,
619,
91,
270,
30,
2687,
3258,
434,
4422,
31365,
16313,
312,
2
] |
def delTrove(self, name, version): | def delTrove(self, name, version, forUpdate = False): | def delTrove(self, name, version): | ebbc3d6eb81d8e07f56bc42485f3fd47386b41b7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/ebbc3d6eb81d8e07f56bc42485f3fd47386b41b7/trovedb.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1464,
56,
303,
537,
12,
2890,
16,
508,
16,
1177,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1464,
56,
303,
537,
12,
2890,
16,
508,
16,
1177,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
p -- integer (default: 0); if nonzero, compute the p-new subspace. | p -- integer (default: 0); if nonzero, compute the $p$-new subspace. | def dimension_new_cusp_forms_H(G,k, p=0): """ Return the dimension of the space of new (or $p$-new) weight $k$ cusp forms for $G$. INPUT: G -- group of the form Gamma_H(N) k -- an integer at least 2 (the weight) p -- integer (default: 0); if nonzero, compute the p-new subspace. OUTPUT: Integer EXAMPLES: sage: from sage.modular.dims import * sage: dimension_new_cusp_forms_H(GammaH(33,[2]), 2) 3 """ N = G.level() if p==0 or N%p!=0: return sum([dimension_cusp_forms_H(H,k) * mumu(N // H.level()) \ for H in G.divisor_subgroups()]) else: return dimension_cusp_forms_H(G,k) - \ 2*dimension_new_cusp_forms_H(G.restrict(N//p),k) | c82112a889c87779a875085f7c30d0e045ec245d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/c82112a889c87779a875085f7c30d0e045ec245d/dims.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4968,
67,
2704,
67,
71,
407,
84,
67,
9741,
67,
44,
12,
43,
16,
79,
16,
293,
33,
20,
4672,
3536,
2000,
326,
4968,
434,
326,
3476,
434,
394,
261,
280,
271,
84,
8,
17,
2704,
13,
3119,
271,
79,
8,
27964,
84,
10138,
364,
271,
43,
8,
18,
225,
12943,
30,
611,
1493,
1041,
434,
326,
646,
25409,
67,
44,
12,
50,
13,
417,
1493,
392,
3571,
622,
4520,
576,
261,
5787,
3119,
13,
293,
1493,
3571,
261,
1886,
30,
374,
1769,
309,
16966,
16,
3671,
326,
271,
84,
8,
17,
2704,
720,
2981,
18,
225,
11550,
30,
2144,
225,
5675,
8900,
11386,
30,
272,
410,
30,
628,
272,
410,
18,
1711,
2490,
18,
8550,
1930,
380,
272,
410,
30,
4968,
67,
2704,
67,
71,
407,
84,
67,
9741,
67,
44,
12,
31300,
44,
12,
3707,
16,
63,
22,
65,
3631,
576,
13,
890,
3536,
423,
273,
611,
18,
2815,
1435,
309,
293,
631,
20,
578,
423,
9,
84,
5,
33,
20,
30,
327,
2142,
3816,
11808,
67,
71,
407,
84,
67,
9741,
67,
44,
12,
44,
16,
79,
13,
380,
312,
379,
89,
12,
50,
368,
670,
18,
2815,
10756,
521,
364,
670,
316,
611,
18,
2892,
12385,
67,
1717,
4650,
1435,
5717,
469,
30,
327,
4968,
67,
71,
407,
84,
67,
9741,
67,
44,
12,
43,
16,
79,
13,
300,
521,
576,
14,
11808,
67,
2704,
67,
71,
407,
84,
67,
9741,
67,
44,
12,
43,
18,
30604,
12,
50,
759,
84,
3631,
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,
4968,
67,
2704,
67,
71,
407,
84,
67,
9741,
67,
44,
12,
43,
16,
79,
16,
293,
33,
20,
4672,
3536,
2000,
326,
4968,
434,
326,
3476,
434,
394,
261,
280,
271,
84,
8,
17,
2704,
13,
3119,
271,
79,
8,
27964,
84,
10138,
364,
271,
43,
8,
18,
225,
12943,
30,
611,
1493,
1041,
434,
326,
646,
25409,
67,
44,
12,
50,
13,
417,
1493,
392,
3571,
622,
4520,
576,
261,
5787,
3119,
13,
293,
1493,
3571,
261,
1886,
30,
374,
1769,
309,
16966,
16,
3671,
326,
271,
84,
8,
17,
2704,
720,
2981,
18,
225,
11550,
30,
2144,
225,
5675,
8900,
11386,
30,
272,
410,
30,
628,
272,
410,
18,
1711,
2490,
18,
8550,
1930,
380,
2
] |
def __unicode__(self): return self.value or '' | def __repr__(self): short = self._get_repr_value() return '<%s \'%s\' at 0x%07x>' % (self._get_repr_name(), short, id(self)) | 16b9b09222313e6cf45cd4daa313fd0f951f6a94 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11268/16b9b09222313e6cf45cd4daa313fd0f951f6a94/sql.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
12715,
972,
12,
2890,
4672,
3025,
273,
365,
6315,
588,
67,
12715,
67,
1132,
1435,
327,
2368,
9,
87,
15413,
87,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
12715,
972,
12,
2890,
4672,
3025,
273,
365,
6315,
588,
67,
12715,
67,
1132,
1435,
327,
2368,
9,
87,
15413,
87,
3730,
622,
374,
92,
9,
8642,
92,
1870,
738,
261,
2890,
6315,
588,
67,
12715,
67,
529,
9334,
3025,
16,
612,
12,
2890,
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
] |
|
attributes = {} | sliver_attributes = [] attributes = [] | def call(self, auth, node_filter = None): | 3d5a85d267e89ad9412199fb93251958e2b9f837 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7598/3d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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,
745,
12,
2890,
16,
1357,
16,
756,
67,
2188,
273,
599,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
tz_offset1 = database.doSQL("select tz_offset from bottime "\ "where nick = '%s'" % qnick) if tz_offset1: self.Debug(tz_offset1) tz_offset = tz_offset1[0][0] elif not tz_is_valid: return "You have no timezone setting, "\ "current server time is: %s" % time.asctime() | tz_offset = database.doSQL("select tz_offset from bottime "\ "where nick = '%s'" % self.sqlEscape(qnick)) if tz_offset: tz_offset = tz_offset[0][0] tz_is_valid = True if not tz_is_valid: return "%s have no timezone setting, "\ "current server time is: %s" % (qnick, time.asctime()) | def get_time(self, input, request_nick): """return the requested time string | b4584c763d1c30d99f2200f65f570aabe0a3e501 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10749/b4584c763d1c30d99f2200f65f570aabe0a3e501/bottime.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
957,
12,
2890,
16,
810,
16,
590,
67,
17091,
4672,
3536,
2463,
326,
3764,
813,
533,
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,
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,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
""" Used for pickling. We throw away all cached information. EXAMPLES:: sage: type(units.__getstate__()[0]) <type 'str'> sage: type(units.__getstate__()[1]) <type 'dict'> sage: loads(dumps(units)) == units True sage: loads(dumps(units.area)) == units.area True sage: bool(loads(dumps(units.area.acre)) == units.area.acre) True """ return (self.__name, self.__data) | """ Used for pickling. We throw away all cached information. EXAMPLES:: sage: type(units.__getstate__()[0]) <type 'str'> sage: type(units.__getstate__()[1]) <type 'dict'> sage: loads(dumps(units)) == units True sage: loads(dumps(units.area)) == units.area True sage: bool(loads(dumps(units.area.acre)) == units.area.acre) True """ return (self.__name, self.__data) | def __getstate__(self): | d9145e61c2e167a847618a21778e0e532a04af5d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/d9145e61c2e167a847618a21778e0e532a04af5d/units.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
588,
2019,
972,
12,
2890,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
588,
2019,
972,
12,
2890,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return None | raise Warning, "input to __patchFrameTypeDef__ included a \ gps time argument specified as None\n" return frametype | def __patchFrameTypeDef__(frametype=None,ifo=None,gpstime=None): """ Temporary patch function, to adjust specfied frame type used in searching the filesystem for files to display in followup. """ if frametype == None: return None if gpstime == None: return None if ifo == None: return None endOfS5=int(875232014) new=None if int(gpstime)<=endOfS5: if not frametype.lower().startswith(ifo.lower()): orig=frametype new=ifo+"_"+frametype return new | 3e5232562c1f2bb3d38508d79878dd6063b06863 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3592/3e5232562c1f2bb3d38508d79878dd6063b06863/makeCheckListWiki.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2272,
3219,
559,
3262,
972,
12,
74,
1940,
5872,
33,
7036,
16,
20299,
33,
7036,
16,
6403,
334,
494,
33,
7036,
4672,
3536,
22791,
4729,
445,
16,
358,
5765,
857,
74,
2092,
2623,
618,
1399,
316,
15300,
326,
6496,
364,
1390,
358,
2562,
316,
2805,
416,
18,
3536,
309,
21799,
5872,
422,
599,
30,
1002,
9728,
16,
315,
2630,
358,
1001,
2272,
3219,
559,
3262,
972,
5849,
279,
521,
20985,
813,
1237,
1269,
487,
599,
64,
82,
6,
327,
21799,
5872,
309,
4178,
334,
494,
422,
599,
30,
1002,
9728,
16,
315,
2630,
358,
1001,
2272,
3219,
559,
3262,
972,
5849,
279,
521,
20985,
813,
1237,
1269,
487,
599,
64,
82,
6,
327,
21799,
5872,
309,
21479,
422,
599,
30,
1002,
9728,
16,
315,
2630,
358,
1001,
2272,
3219,
559,
3262,
972,
5849,
279,
521,
20985,
813,
1237,
1269,
487,
599,
64,
82,
6,
327,
21799,
5872,
20706,
55,
25,
33,
474,
12,
28,
5877,
22,
1578,
1611,
24,
13,
394,
33,
7036,
309,
509,
12,
6403,
334,
494,
13,
32,
33,
409,
951,
55,
25,
30,
309,
486,
21799,
5872,
18,
8167,
7675,
17514,
1918,
12,
20299,
18,
8167,
1435,
4672,
1647,
33,
74,
1940,
5872,
394,
33,
20299,
9078,
9548,
15,
74,
1940,
5872,
327,
394,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2272,
3219,
559,
3262,
972,
12,
74,
1940,
5872,
33,
7036,
16,
20299,
33,
7036,
16,
6403,
334,
494,
33,
7036,
4672,
3536,
22791,
4729,
445,
16,
358,
5765,
857,
74,
2092,
2623,
618,
1399,
316,
15300,
326,
6496,
364,
1390,
358,
2562,
316,
2805,
416,
18,
3536,
309,
21799,
5872,
422,
599,
30,
1002,
9728,
16,
315,
2630,
358,
1001,
2272,
3219,
559,
3262,
972,
5849,
279,
521,
20985,
813,
1237,
1269,
487,
599,
64,
82,
6,
327,
21799,
5872,
309,
4178,
334,
494,
422,
599,
30,
1002,
9728,
16,
315,
2630,
358,
1001,
2272,
3219,
559,
3262,
972,
5849,
279,
521,
20985,
813,
1237,
1269,
487,
599,
64,
82,
6,
327,
21799,
5872,
309,
21479,
2
] |
while (not gotSession) and (tryCount < retries): try: time.sleep(interval) | while tryCount < retries: try: | def internal_service_factory(self, communicator, user="root", group=None, retries=6, interval=10, client_uuid=None): """ Try to return a ServiceFactory from the grid. Try a number of times then give up and raise the last exception returned. This method will only work internally to the grid, i.e. behind the Glacier2 firewall. It is intended for internal servers to be able to create sessions for accessing the database. communicator := Ice.Communicator used to find the registry user := Username which should have a session created group := Group into which the session should be logged retries := Number of session creation retries before throwing interval := Seconds between retries client_uuid := Uuid of the client which should be used """ log = logging.getLogger("omero.utils") gotSession = False tryCount = 0 excpt = None query = communicator.stringToProxy("IceGrid/Query") query = IceGrid.QueryPrx.checkedCast(query) if client_uuid is None: client_uuid = str(uuid.uuid4()) while (not gotSession) and (tryCount < retries): try: time.sleep(interval) blitz = query.findAllObjectsByType("::Glacier2::SessionManager")[0] blitz = Glacier2.SessionManagerPrx.checkedCast(blitz) sf = blitz.create(user, None, {"omero.client.uuid":client_uuid}) # Group currently unused. sf = omero.api.ServiceFactoryPrx.checkedCast(sf) gotSession = True except Exception, e: tryCount += 1 log.info("Failed to get session on attempt %s", str(tryCount)) excpt = e if gotSession: return sf else: log.info("Reason: %s", str(excpt)) raise Exception | 3d21ac5dbe1104b4cabef36f2e9a9730d15fae19 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12409/3d21ac5dbe1104b4cabef36f2e9a9730d15fae19/__init__.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2713,
67,
3278,
67,
6848,
12,
2890,
16,
8391,
8844,
16,
729,
1546,
3085,
3113,
1041,
33,
7036,
16,
9453,
33,
26,
16,
3673,
33,
2163,
16,
1004,
67,
7080,
33,
7036,
4672,
3536,
6161,
358,
327,
279,
1956,
1733,
628,
326,
3068,
18,
225,
6161,
279,
1300,
434,
4124,
1508,
8492,
731,
471,
1002,
326,
1142,
1520,
2106,
18,
1220,
707,
903,
1338,
1440,
12963,
358,
326,
3068,
16,
277,
18,
73,
18,
21478,
326,
15157,
26121,
22,
14973,
18,
2597,
353,
12613,
364,
2713,
7084,
358,
506,
7752,
358,
752,
8856,
364,
19531,
326,
2063,
18,
225,
8391,
8844,
519,
467,
311,
18,
12136,
318,
8844,
1399,
358,
1104,
326,
4023,
729,
540,
519,
11313,
1492,
1410,
1240,
279,
1339,
2522,
1041,
3639,
519,
3756,
1368,
1492,
326,
1339,
1410,
506,
7545,
9453,
1377,
519,
3588,
434,
1339,
6710,
9453,
1865,
19440,
3673,
377,
519,
18301,
3086,
9453,
1004,
67,
7080,
225,
519,
29339,
434,
326,
1004,
1492,
1410,
506,
1399,
225,
3536,
613,
273,
2907,
18,
588,
3328,
2932,
362,
2439,
18,
5471,
7923,
2363,
2157,
273,
1083,
775,
1380,
273,
374,
3533,
337,
273,
599,
843,
273,
8391,
8844,
18,
1080,
774,
3886,
2932,
45,
311,
6313,
19,
1138,
7923,
843,
273,
467,
311,
6313,
18,
1138,
2050,
92,
18,
4532,
9735,
12,
2271,
13,
225,
309,
1004,
67,
7080,
353,
599,
30,
1004,
67,
7080,
273,
609,
12,
7080,
18,
7080,
24,
10756,
225,
1323,
775,
1380,
411,
9453,
30,
775,
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,
2713,
67,
3278,
67,
6848,
12,
2890,
16,
8391,
8844,
16,
729,
1546,
3085,
3113,
1041,
33,
7036,
16,
9453,
33,
26,
16,
3673,
33,
2163,
16,
1004,
67,
7080,
33,
7036,
4672,
3536,
6161,
358,
327,
279,
1956,
1733,
628,
326,
3068,
18,
225,
6161,
279,
1300,
434,
4124,
1508,
8492,
731,
471,
1002,
326,
1142,
1520,
2106,
18,
1220,
707,
903,
1338,
1440,
12963,
358,
326,
3068,
16,
277,
18,
73,
18,
21478,
326,
15157,
26121,
22,
14973,
18,
2597,
353,
12613,
364,
2713,
7084,
358,
506,
7752,
358,
752,
8856,
364,
19531,
326,
2063,
18,
225,
8391,
8844,
519,
467,
311,
18,
12136,
318,
8844,
1399,
358,
1104,
326,
4023,
729,
540,
519,
11313,
1492,
2
] |
res = eval(r'u"\N{%s}"' % name) | res = eval(r'"\N{%s}"' % name) | def checkletter(self, name, code): # Helper that put all \N escapes inside eval'd raw strings, # to make sure this script runs even if the compiler # chokes on \N escapes res = eval(r'u"\N{%s}"' % name) self.assertEqual(res, code) return res | bf4806bac5697bd50e6ca41fcf6838f93ed9a511 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/bf4806bac5697bd50e6ca41fcf6838f93ed9a511/test_ucn.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
13449,
12,
2890,
16,
508,
16,
981,
4672,
468,
9705,
716,
1378,
777,
521,
50,
23802,
4832,
5302,
14271,
1831,
2064,
16,
468,
358,
1221,
3071,
333,
2728,
7597,
5456,
309,
326,
5274,
468,
462,
601,
281,
603,
521,
50,
23802,
400,
273,
5302,
12,
86,
4970,
64,
50,
95,
9,
87,
19395,
738,
508,
13,
365,
18,
11231,
5812,
12,
455,
16,
981,
13,
327,
400,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
13449,
12,
2890,
16,
508,
16,
981,
4672,
468,
9705,
716,
1378,
777,
521,
50,
23802,
4832,
5302,
14271,
1831,
2064,
16,
468,
358,
1221,
3071,
333,
2728,
7597,
5456,
309,
326,
5274,
468,
462,
601,
281,
603,
521,
50,
23802,
400,
273,
5302,
12,
86,
4970,
64,
50,
95,
9,
87,
19395,
738,
508,
13,
365,
18,
11231,
5812,
12,
455,
16,
981,
13,
327,
400,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.assert_(self._box._toc == {key0: os.path.join('new', key0)}) | self.assertEqual(self._box._toc, {key0: os.path.join('new', key0)}) | def test_lookup(self): # Look up message subpaths in the TOC self.assertRaises(KeyError, lambda: self._box._lookup('foo')) key0 = self._box.add(self._template % 0) self.assert_(self._box._lookup(key0) == os.path.join('new', key0)) os.remove(os.path.join(self._path, 'new', key0)) self.assert_(self._box._toc == {key0: os.path.join('new', key0)}) self.assertRaises(KeyError, lambda: self._box._lookup(key0)) self.assertEqual(self._box._toc, {}) | 9d1fae6c21b9661e8074aa8a166635ba69122b4b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12029/9d1fae6c21b9661e8074aa8a166635ba69122b4b/test_mailbox.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
8664,
12,
2890,
4672,
468,
10176,
731,
883,
720,
4481,
316,
326,
8493,
39,
365,
18,
11231,
12649,
6141,
12,
653,
668,
16,
3195,
30,
365,
6315,
2147,
6315,
8664,
2668,
11351,
26112,
498,
20,
273,
365,
6315,
2147,
18,
1289,
12,
2890,
6315,
3202,
738,
374,
13,
365,
18,
11231,
67,
12,
2890,
6315,
2147,
6315,
8664,
12,
856,
20,
13,
422,
1140,
18,
803,
18,
5701,
2668,
2704,
2187,
498,
20,
3719,
1140,
18,
4479,
12,
538,
18,
803,
18,
5701,
12,
2890,
6315,
803,
16,
296,
2704,
2187,
498,
20,
3719,
365,
18,
11231,
5812,
12,
2890,
6315,
2147,
6315,
1391,
16,
288,
856,
20,
30,
1140,
18,
803,
18,
5701,
2668,
2704,
2187,
498,
20,
13,
6792,
365,
18,
11231,
12649,
6141,
12,
653,
668,
16,
3195,
30,
365,
6315,
2147,
6315,
8664,
12,
856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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
8664,
12,
2890,
4672,
468,
10176,
731,
883,
720,
4481,
316,
326,
8493,
39,
365,
18,
11231,
12649,
6141,
12,
653,
668,
16,
3195,
30,
365,
6315,
2147,
6315,
8664,
2668,
11351,
26112,
498,
20,
273,
365,
6315,
2147,
18,
1289,
12,
2890,
6315,
3202,
738,
374,
13,
365,
18,
11231,
67,
12,
2890,
6315,
2147,
6315,
8664,
12,
856,
20,
13,
422,
1140,
18,
803,
18,
5701,
2668,
2704,
2187,
498,
20,
3719,
1140,
18,
4479,
12,
538,
18,
803,
18,
5701,
12,
2890,
6315,
803,
16,
296,
2704,
2187,
498,
20,
3719,
365,
18,
11231,
5812,
12,
2890,
6315,
2147,
6315,
1391,
16,
288,
856,
20,
30,
1140,
18,
803,
18,
5701,
2668,
2704,
2
] |
elif o in ('--title'): | elif o in ('--title',): | def do_obj(self, argv): | 67b8280e3e3a5fcdde21a536adf595f1d889e4da /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12817/67b8280e3e3a5fcdde21a536adf595f1d889e4da/scons-time.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
2603,
12,
2890,
16,
5261,
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,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
2603,
12,
2890,
16,
5261,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
'company_id': lambda self,cr,uid,c: self.pool.get('res.company')._company_default_get(cr, uid, 'stock.planning', context=c), | 'company_id': lambda self, cr, uid, c: self.pool.get('res.company')._company_default_get(cr, uid, 'stock.planning', context=c), | def onchange_company(self, cr, uid, ids, company_id): result = {} if company_id: result['warehouse_id2'] = False return {'value': result} | 6a21b5d661b74602c870fac41f3c8c42e8bc6c33 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/6a21b5d661b74602c870fac41f3c8c42e8bc6c33/stock_planning.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
603,
3427,
67,
16840,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
9395,
67,
350,
4672,
563,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
603,
3427,
67,
16840,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
9395,
67,
350,
4672,
563,
273,
2618,
309,
9395,
67,
350,
30,
563,
3292,
2726,
13028,
67,
350,
22,
3546,
273,
1083,
327,
13666,
1132,
4278,
563,
97,
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
] |
state.proxyPort = int(arg) | state.proxyPorts = [int(arg)] | def runProxy(): # Name the database in case it ever gets auto-flushed to disk. UserInterfaceListener(8881) BayesProxyListener('localhost', 8110, 8111) state.bayes.learn(tokenizer.tokenize(spam1), True) state.bayes.learn(tokenizer.tokenize(good1), False) proxyReady.set() asyncore.loop() | b4db8e8cff9ae2da9617fcf4ec43e2aa8aa06995 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6126/b4db8e8cff9ae2da9617fcf4ec43e2aa8aa06995/pop3proxy.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
3886,
13332,
468,
1770,
326,
2063,
316,
648,
518,
14103,
5571,
3656,
17,
11330,
329,
358,
4234,
18,
21369,
2223,
12,
5482,
11861,
13,
605,
528,
281,
3886,
2223,
2668,
13014,
2187,
1725,
17506,
16,
1725,
20227,
13,
919,
18,
70,
528,
281,
18,
21346,
12,
2316,
1824,
18,
2316,
554,
12,
1752,
301,
21,
3631,
1053,
13,
919,
18,
70,
528,
281,
18,
21346,
12,
2316,
1824,
18,
2316,
554,
12,
19747,
21,
3631,
1083,
13,
2889,
8367,
18,
542,
1435,
4326,
479,
18,
6498,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
3886,
13332,
468,
1770,
326,
2063,
316,
648,
518,
14103,
5571,
3656,
17,
11330,
329,
358,
4234,
18,
21369,
2223,
12,
5482,
11861,
13,
605,
528,
281,
3886,
2223,
2668,
13014,
2187,
1725,
17506,
16,
1725,
20227,
13,
919,
18,
70,
528,
281,
18,
21346,
12,
2316,
1824,
18,
2316,
554,
12,
1752,
301,
21,
3631,
1053,
13,
919,
18,
70,
528,
281,
18,
21346,
12,
2316,
1824,
18,
2316,
554,
12,
19747,
21,
3631,
1083,
13,
2889,
8367,
18,
542,
1435,
4326,
479,
18,
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
] |
for key, value in dict(*args, **kwargs).iteritems() | for key, value in d.iteritems() | def do_xmlattr(_environment, d, autospace=True): """Create an SGML/XML attribute string based on the items in a dict. All values that are neither `none` nor `undefined` are automatically escaped: .. sourcecode:: html+jinja <ul{{ {'class': 'my_list', 'missing': None, 'id': 'list-%d'|format(variable)}|xmlattr }}> ... </ul> Results in something like this: .. sourcecode:: html <ul class="my_list" id="list-42"> ... </ul> As you can see it automatically prepends a space in front of the item if the filter returned something unless the second parameter is false. """ rv = u' '.join( u'%s="%s"' % (escape(key), escape(value)) for key, value in dict(*args, **kwargs).iteritems() if value is not None and not isinstance(value, Undefined) ) if autospace and rv: rv = u' ' + rv if _environment.autoescape: rv = Markup(rv) return rv | 8b085c350aa62e0ea860a3823d1688a0f6d49313 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/14446/8b085c350aa62e0ea860a3823d1688a0f6d49313/filters.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
2902,
1747,
24899,
10274,
16,
302,
16,
13133,
909,
33,
5510,
4672,
3536,
1684,
392,
348,
43,
1495,
19,
4201,
1566,
533,
2511,
603,
326,
1516,
316,
279,
2065,
18,
4826,
924,
716,
854,
15826,
1375,
6102,
68,
12517,
1375,
5978,
68,
854,
6635,
8345,
30,
225,
6116,
1084,
710,
2866,
1729,
15,
78,
17614,
225,
411,
332,
12187,
13666,
1106,
4278,
296,
4811,
67,
1098,
2187,
296,
7337,
4278,
599,
16,
296,
350,
4278,
296,
1098,
6456,
72,
11,
96,
2139,
12,
6105,
16869,
96,
2902,
1747,
10523,
34,
1372,
7765,
332,
34,
225,
10351,
316,
5943,
3007,
333,
30,
225,
6116,
1084,
710,
2866,
1729,
225,
411,
332,
667,
1546,
4811,
67,
1098,
6,
612,
1546,
1098,
17,
9452,
6441,
1372,
7765,
332,
34,
225,
2970,
1846,
848,
2621,
518,
6635,
8254,
87,
279,
3476,
316,
6641,
434,
326,
761,
309,
326,
1034,
2106,
5943,
3308,
326,
2205,
1569,
353,
629,
18,
3536,
5633,
273,
582,
11,
2418,
5701,
12,
582,
11,
9,
87,
11613,
87,
5187,
738,
261,
6939,
12,
856,
3631,
4114,
12,
1132,
3719,
364,
498,
16,
460,
316,
302,
18,
2165,
3319,
1435,
309,
460,
353,
486,
599,
471,
486,
1549,
12,
1132,
16,
22243,
13,
262,
309,
13133,
909,
471,
5633,
30,
5633,
273,
582,
11,
296,
397,
5633,
309,
389,
10274,
18,
6079,
6939,
30,
5633,
273,
26420,
12,
4962,
13,
327,
5633,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
2902,
1747,
24899,
10274,
16,
302,
16,
13133,
909,
33,
5510,
4672,
3536,
1684,
392,
348,
43,
1495,
19,
4201,
1566,
533,
2511,
603,
326,
1516,
316,
279,
2065,
18,
4826,
924,
716,
854,
15826,
1375,
6102,
68,
12517,
1375,
5978,
68,
854,
6635,
8345,
30,
225,
6116,
1084,
710,
2866,
1729,
15,
78,
17614,
225,
411,
332,
12187,
13666,
1106,
4278,
296,
4811,
67,
1098,
2187,
296,
7337,
4278,
599,
16,
296,
350,
4278,
296,
1098,
6456,
72,
11,
96,
2139,
12,
6105,
16869,
96,
2902,
1747,
10523,
34,
1372,
7765,
332,
34,
225,
10351,
316,
5943,
3007,
333,
30,
225,
6116,
1084,
710,
2866,
1729,
225,
411,
332,
667,
1546,
4811,
67,
1098,
6,
2
] |
if operation == OP_UPDATE and \ (pkg2 in self.pkg_updates or pkg2 in self.pkg_obsoletes): | fi = pkg2.getRpmFileInfo(filename) if pkg1.getNEVR() == pkg2.getNEVR() and \ buildarchtranslate[pkg1["arch"]] != \ buildarchtranslate[pkg2["arch"]] and \ pkg1["arch"] != "noarch" and \ pkg2["arch"] != "noarch" and \ pkg1_fi.filecolor != fi.filecolor and \ pkg1_fi.filecolor > 0 and fi.filecolor > 0: | def _hasFileConflict(self, pkg1, pkg2, filename, pkg1_fi, operation=OP_INSTALL): """RpmPackage's pkg1 and pkg2 share filename. | efef11aae58f2bceb029f0b6812cd5e55e5f40ff /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1143/efef11aae58f2bceb029f0b6812cd5e55e5f40ff/resolver.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
5332,
812,
10732,
12,
2890,
16,
3475,
21,
16,
3475,
22,
16,
1544,
16,
3475,
21,
67,
22056,
16,
1674,
33,
3665,
67,
28865,
4672,
3536,
54,
7755,
2261,
1807,
3475,
21,
471,
3475,
22,
7433,
1544,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
5332,
812,
10732,
12,
2890,
16,
3475,
21,
16,
3475,
22,
16,
1544,
16,
3475,
21,
67,
22056,
16,
1674,
33,
3665,
67,
28865,
4672,
3536,
54,
7755,
2261,
1807,
3475,
21,
471,
3475,
22,
7433,
1544,
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
] |
self.Cost_5, | def initialize(self): | 9b9b7c34569ffc477a96095d7c898b6c89cfacf3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6671/9b9b7c34569ffc477a96095d7c898b6c89cfacf3/ScWindow.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4046,
12,
2890,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4046,
12,
2890,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
ph += ', '+par.sqltype+' '+par.name | ph += ', ' + par.name | def CreateHyperlinkedSourceFilePages(): """ Generates pages with the complete source code of each file, including link targets (A NAME=) for each line. This way we can link directly to the line starting the definition of an object, or where it is called (used) from. Very basic syntax highlighting is performed here as well if code is included. """ printProgress("Creating hyperlinked source file pages") fileInfoList = metaInfo.fileInfoList html_dir = metaInfo.htmlDir top_level_directory = metaInfo.topLevelDirectory sqlkeywords = [] sqltypes = [] for line in fileinput.input(os.path.split(sys.argv[0])[0] + os.sep + 'sql.keywords'): if line.strip()[0]=='#': continue sqlkeywords.append(line.strip()) for line in fileinput.input(os.path.split(sys.argv[0])[0] + os.sep + 'sql.types'): if line.strip()[0]=='#': continue sqltypes.append(line.strip()) dot_count = 1 for file_info in fileInfoList: # skip all non-sql files if file_info.fileType != "sql": continue # print a . every file dotProgress(dot_count) dot_count += 1 # read up the source file infile = open(file_info.fileName, "r") infile_line_list = infile.readlines() infile.close() # generate a file name for us to write to (+1 for delimiter) outfilename = os.path.split(file_info.fileName)[1].replace(".", "_") outfilename += "_" + `file_info.uniqueNumber` + ".html" outfile = open(html_dir + outfilename, "w") outfile.write(MakeHTMLHeader(file_info.fileName[len(top_level_directory)+1:])) outfile.write("<H1>" + file_info.fileName[len(top_level_directory)+1:] + "</H1>\n") # ===[ JAVADOC STARTS HERE ]=== # Do we have views in this file? viewdetails = '\n\n' #if len(file_info.viewInfoList) > 0: #print 'We have views here' # Do we have to introduce JavaDoc here as well? # *!* # Do we have packages in this file? packagedetails = '\n\n' if len(file_info.packageInfoList) > 0: outfile.write('<H2 CLASS="api">Package Overview</H2>\n') outfile.write('<TABLE CLASS="apilist">\n') for p in range(len(file_info.packageInfoList)): jdoc = file_info.packageInfoList[p].javadoc outfile.write(' <TR><TH COLSPAN="2">' + file_info.packageInfoList[p].name + '</TH></TR>\n') outfile.write(' <TR><TD COLSPAN="2">') outfile.write( jdoc.getHtml(0) ) outfile.write('</TD></TR>\n') # Check the packages for functions if len(file_info.packageInfoList[p].functionInfoList) > 0: packagedetails += '<A NAME="funcs"></A><H2>Functions</H2>\n'; outfile.write(' <TR><TH CLASS="sub" COLSPAN="2">Functions</TH></TR>\n') for item in file_info.packageInfoList[p].functionInfoList: if not item.javadoc.isDefault(): if item.javadoc.private: iname = 'private ' else: iname = 'public ' else: iname = '' if item.javadoc.name != '': iname += '<A HREF="#'+item.javadoc.name+'_'+str(item.uniqueNumber)+'">'+item.javadoc.name+'</A>' idesc = item.javadoc.getShortDesc() else: iname += item.name idesc = '' outfile.write(' <TR><TD><DIV STYLE="margin-left:15px;text-indent:-15px;">'+iname) if metaInfo.includeSource: outfile.write(' <SUP><A HREF="#'+str(item.lineNumber)+'">#</A></SUP>') outfile.write(' (') if len(item.javadoc.params) > 0: ph = '' for par in item.javadoc.params: ph += ', '+par.sqltype+' '+par.name outfile.write(ph[2:]) outfile.write(')</DIV></TD><TD>'+idesc+'</TD></TR>\n') packagedetails += item.javadoc.getHtml(item.uniqueNumber) # Check the packages for procedures if len(file_info.packageInfoList[p].procedureInfoList) > 0: packagedetails += '<A NAME="procs"></A><H2>Procedures</H2>\n'; outfile.write(' <TR><TH CLASS="sub" COLSPAN="2">Procedures</TH></TR>\n') for item in file_info.packageInfoList[p].procedureInfoList: iname = item.javadoc.getVisibility() if item.javadoc.name != '': iname += '<A HREF="#'+item.javadoc.name+'_'+str(item.uniqueNumber)+'">'+item.javadoc.name+'</A>' idesc = item.javadoc.getShortDesc() else: iname += item.name idesc = '' outfile.write(' <TR><TD><DIV STYLE="margin-left:15px;text-indent:-15px;">'+iname) if metaInfo.includeSource: outfile.write(' <SUP><A HREF="#'+str(item.lineNumber)+'">#</A></SUP>') outfile.write(' (') if len(item.javadoc.params) > 0: ph = '' for par in item.javadoc.params: ph += ', '+par.sqltype+' '+par.name outfile.write(ph[2:]) outfile.write(')</DIV></TD><TD>'+idesc+'</TD></TR>\n') packagedetails += item.javadoc.getHtml(item.uniqueNumber) outfile.write('</TABLE>\n\n') outfile.write(viewdetails) outfile.write(packagedetails) # ===[ JAVADOC END ]=== # include the source itself if metaInfo.includeSource: outfile.write('\n<H2>Source</H2>\n') outfile.write('<code><pre>') outfile.write( hypercode(infile_line_list, sqlkeywords, sqltypes) ) outfile.write("</pre></code>\n") outfile.write('<DIV CLASS="toppagelink"><A HREF="#topOfPage">^ Top</A></DIV><BR>\n') outfile.write(MakeHTMLFooter(file_info.fileName[len(top_level_directory)+1:])) outfile.close() # print carriage return after last dot dotFlush() | 6b7f5d84e8b5afd2cbe4c2f86930cd5e251c2eaa /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5976/6b7f5d84e8b5afd2cbe4c2f86930cd5e251c2eaa/HyperSQL.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1788,
15996,
17738,
31150,
5716,
13332,
3536,
31902,
4689,
598,
326,
3912,
1084,
981,
434,
1517,
585,
16,
6508,
1692,
5774,
261,
37,
6048,
33,
13,
364,
1517,
980,
18,
1220,
4031,
732,
848,
1692,
5122,
358,
326,
980,
5023,
326,
2379,
434,
392,
733,
16,
578,
1625,
518,
353,
2566,
261,
3668,
13,
628,
18,
776,
627,
5337,
6279,
8839,
310,
353,
9591,
2674,
487,
5492,
309,
981,
353,
5849,
18,
3536,
1172,
5491,
2932,
11092,
9512,
17738,
1084,
585,
4689,
7923,
225,
12538,
682,
273,
2191,
966,
18,
768,
17914,
1729,
67,
1214,
273,
2191,
966,
18,
2620,
1621,
1760,
67,
2815,
67,
5149,
273,
2191,
966,
18,
3669,
2355,
2853,
225,
1847,
11771,
273,
5378,
21899,
565,
273,
5378,
364,
980,
316,
585,
2630,
18,
2630,
12,
538,
18,
803,
18,
4939,
12,
9499,
18,
19485,
63,
20,
5717,
63,
20,
65,
397,
1140,
18,
10814,
397,
296,
4669,
18,
11771,
11,
4672,
309,
980,
18,
6406,
1435,
63,
20,
65,
18920,
7,
4278,
1324,
1847,
11771,
18,
6923,
12,
1369,
18,
6406,
10756,
364,
980,
316,
585,
2630,
18,
2630,
12,
538,
18,
803,
18,
4939,
12,
9499,
18,
19485,
63,
20,
5717,
63,
20,
65,
397,
1140,
18,
10814,
397,
296,
4669,
18,
2352,
11,
4672,
309,
980,
18,
6406,
1435,
63,
20,
65,
18920,
7,
4278,
1324,
21899,
18,
6923,
12,
1369,
18,
6406,
10756,
225,
3928,
67,
1883,
273,
404,
364,
585,
67,
1376,
316,
12538,
682,
30,
468,
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,
15996,
17738,
31150,
5716,
13332,
3536,
31902,
4689,
598,
326,
3912,
1084,
981,
434,
1517,
585,
16,
6508,
1692,
5774,
261,
37,
6048,
33,
13,
364,
1517,
980,
18,
1220,
4031,
732,
848,
1692,
5122,
358,
326,
980,
5023,
326,
2379,
434,
392,
733,
16,
578,
1625,
518,
353,
2566,
261,
3668,
13,
628,
18,
776,
627,
5337,
6279,
8839,
310,
353,
9591,
2674,
487,
5492,
309,
981,
353,
5849,
18,
3536,
1172,
5491,
2932,
11092,
9512,
17738,
1084,
585,
4689,
7923,
225,
12538,
682,
273,
2191,
966,
18,
768,
17914,
1729,
67,
1214,
273,
2191,
966,
18,
2620,
1621,
1760,
67,
2815,
67,
5149,
273,
2191,
966,
18,
3669,
2355,
2853,
225,
1847,
11771,
273,
5378,
2
] |
req.args['path'] = match.group(2) | req.args['path'] = match.group(2).replace(':', '/') | def match_request(self, req): match = re.match(r'^/attachment/(ticket|wiki)(?:/(.*))?$', req.path_info) if match: req.args['type'] = match.group(1) req.args['path'] = match.group(2) return 1 | 1ce7c0e71e112e806f4306aa8c7c8a668545da43 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/1ce7c0e71e112e806f4306aa8c7c8a668545da43/attachment.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
845,
67,
2293,
12,
2890,
16,
1111,
4672,
845,
273,
283,
18,
1916,
12,
86,
19856,
19,
11461,
19,
12,
16282,
96,
13044,
13,
6503,
19,
7444,
24783,
8,
2187,
1111,
18,
803,
67,
1376,
13,
309,
845,
30,
1111,
18,
1968,
3292,
723,
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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,
845,
67,
2293,
12,
2890,
16,
1111,
4672,
845,
273,
283,
18,
1916,
12,
86,
19856,
19,
11461,
19,
12,
16282,
96,
13044,
13,
6503,
19,
7444,
24783,
8,
2187,
1111,
18,
803,
67,
1376,
13,
309,
845,
30,
1111,
18,
1968,
3292,
723,
3546,
273,
845,
18,
1655,
12,
21,
13,
1111,
18,
1968,
3292,
803,
3546,
273,
845,
18,
1655,
12,
22,
2934,
2079,
2668,
30,
2187,
2023,
13,
327,
404,
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
] |
self.pbase = doc.src_base | def __init__ (self, doc, source, target, transcript): """ Initialize the index, by specifying the source file (generated by LaTeX), the target file (the output of makeindex) and the transcript (e.g. .ilg) file. Transcript is used by glosstex.py. """ self.doc = doc self.pbase = doc.src_base self.source = doc.src_base + "." + source self.target = doc.src_base + "." + target self.transcript = doc.src_base + "." + transcript if os.path.exists(self.source): self.md5 = md5_file(self.source) else: self.md5 = None | 83e15aff8f37055b316114051eb562a884eee441 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10102/83e15aff8f37055b316114051eb562a884eee441/index.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
261,
2890,
16,
997,
16,
1084,
16,
1018,
16,
15194,
4672,
3536,
9190,
326,
770,
16,
635,
13664,
326,
1084,
585,
261,
11168,
635,
21072,
21575,
60,
3631,
326,
1018,
585,
261,
5787,
876,
434,
1221,
1615,
13,
471,
326,
15194,
261,
73,
18,
75,
18,
263,
330,
75,
13,
585,
18,
225,
2604,
9118,
353,
1399,
635,
314,
383,
87,
334,
338,
18,
2074,
18,
3536,
365,
18,
2434,
273,
997,
365,
18,
3168,
273,
997,
18,
4816,
67,
1969,
397,
4585,
397,
1084,
365,
18,
3299,
273,
997,
18,
4816,
67,
1969,
397,
4585,
397,
1018,
365,
18,
27257,
273,
997,
18,
4816,
67,
1969,
397,
4585,
397,
15194,
309,
1140,
18,
803,
18,
1808,
12,
2890,
18,
3168,
4672,
365,
18,
1264,
25,
273,
3481,
25,
67,
768,
12,
2890,
18,
3168,
13,
469,
30,
365,
18,
1264,
25,
273,
599,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
261,
2890,
16,
997,
16,
1084,
16,
1018,
16,
15194,
4672,
3536,
9190,
326,
770,
16,
635,
13664,
326,
1084,
585,
261,
11168,
635,
21072,
21575,
60,
3631,
326,
1018,
585,
261,
5787,
876,
434,
1221,
1615,
13,
471,
326,
15194,
261,
73,
18,
75,
18,
263,
330,
75,
13,
585,
18,
225,
2604,
9118,
353,
1399,
635,
314,
383,
87,
334,
338,
18,
2074,
18,
3536,
365,
18,
2434,
273,
997,
365,
18,
3168,
273,
997,
18,
4816,
67,
1969,
397,
4585,
397,
1084,
365,
18,
3299,
273,
997,
18,
4816,
67,
1969,
397,
4585,
397,
1018,
365,
18,
27257,
273,
997,
18,
4816,
67,
1969,
397,
4585,
397,
15194,
309,
1140,
18,
803,
2
] |
|
self.basector.set('\n\n%s%s.__init__(self,pname=name, aname="%%s" %% name, **kw)' % (ID3,tpc)) | self.basector.set('\n\n%s%s.__init__(self,pname=name, aname="%s" %% name, **kw)' % (ID3,tpc,self.aname_func("%s"))) | self.initdef.set('\n\n%sdef __init__(self, name=None, ns=None, **kw):' \ % ID2) | f062f4cd5d2c50539a63020b5dfd9d6370b8a9a7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/f062f4cd5d2c50539a63020b5dfd9d6370b8a9a7/wsdl2python.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
365,
18,
2738,
536,
18,
542,
2668,
64,
82,
64,
82,
9,
87,
536,
1001,
2738,
972,
12,
2890,
16,
508,
33,
7036,
16,
3153,
33,
7036,
16,
2826,
9987,
13,
2497,
521,
738,
1599,
22,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
521,
738,
1599,
22,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
t0 = time.time() | def write_sourcecode(self, out, doc, name_to_docs): t0 = time.time() filename = doc.filename name = str(doc.canonical_name) # Header self.write_header(out, name) self.write_navbar(out, doc) self.write_breadcrumbs(out, doc, self.pysrc_url(doc)) | cb605e2f15ea3ea524e831c0c4175f23a8a00731 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/cb605e2f15ea3ea524e831c0c4175f23a8a00731/html.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1045,
67,
3168,
710,
12,
2890,
16,
596,
16,
997,
16,
508,
67,
869,
67,
8532,
4672,
282,
1544,
273,
997,
18,
3459,
508,
273,
609,
12,
2434,
18,
18288,
67,
529,
13,
225,
468,
4304,
365,
18,
2626,
67,
3374,
12,
659,
16,
508,
13,
365,
18,
2626,
67,
11589,
3215,
12,
659,
16,
997,
13,
365,
18,
2626,
67,
31603,
12,
659,
16,
997,
16,
365,
18,
84,
1900,
1310,
67,
718,
12,
2434,
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,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1045,
67,
3168,
710,
12,
2890,
16,
596,
16,
997,
16,
508,
67,
869,
67,
8532,
4672,
282,
1544,
273,
997,
18,
3459,
508,
273,
609,
12,
2434,
18,
18288,
67,
529,
13,
225,
468,
4304,
365,
18,
2626,
67,
3374,
12,
659,
16,
508,
13,
365,
18,
2626,
67,
11589,
3215,
12,
659,
16,
997,
13,
365,
18,
2626,
67,
31603,
12,
659,
16,
997,
16,
365,
18,
84,
1900,
1310,
67,
718,
12,
2434,
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
] |
|
self.write_file(c_file, 'void init_foo(void) {};\n') | self.write_file(c_file, 'void initfoo(void) {};\n') | def test_get_outputs(self): tmp_dir = self.mkdtemp() c_file = os.path.join(tmp_dir, 'foo.c') self.write_file(c_file, 'void init_foo(void) {};\n') ext = Extension('foo', [c_file], optional=False) dist = Distribution({'name': 'xx', 'ext_modules': [ext]}) cmd = build_ext(dist) cmd.ensure_finalized() self.assertEquals(len(cmd.get_outputs()), 1) | 62c56c206d96dcbb252cf01b5e378d19886655b3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8125/62c56c206d96dcbb252cf01b5e378d19886655b3/test_build_ext.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
588,
67,
12295,
12,
2890,
4672,
1853,
67,
1214,
273,
365,
18,
24816,
72,
5814,
1435,
276,
67,
768,
273,
1140,
18,
803,
18,
5701,
12,
5645,
67,
1214,
16,
296,
11351,
18,
71,
6134,
365,
18,
2626,
67,
768,
12,
71,
67,
768,
16,
296,
6459,
1208,
11351,
12,
6459,
13,
2618,
9747,
82,
6134,
1110,
273,
10021,
2668,
11351,
2187,
306,
71,
67,
768,
6487,
3129,
33,
8381,
13,
2411,
273,
17547,
12590,
11,
529,
4278,
296,
5279,
2187,
296,
408,
67,
6400,
4278,
306,
408,
65,
6792,
1797,
273,
1361,
67,
408,
12,
4413,
13,
1797,
18,
15735,
67,
6385,
1235,
1435,
365,
18,
11231,
8867,
12,
1897,
12,
4172,
18,
588,
67,
12295,
1435,
3631,
404,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
588,
67,
12295,
12,
2890,
4672,
1853,
67,
1214,
273,
365,
18,
24816,
72,
5814,
1435,
276,
67,
768,
273,
1140,
18,
803,
18,
5701,
12,
5645,
67,
1214,
16,
296,
11351,
18,
71,
6134,
365,
18,
2626,
67,
768,
12,
71,
67,
768,
16,
296,
6459,
1208,
11351,
12,
6459,
13,
2618,
9747,
82,
6134,
1110,
273,
10021,
2668,
11351,
2187,
306,
71,
67,
768,
6487,
3129,
33,
8381,
13,
2411,
273,
17547,
12590,
11,
529,
4278,
296,
5279,
2187,
296,
408,
67,
6400,
4278,
306,
408,
65,
6792,
1797,
273,
1361,
67,
408,
12,
4413,
13,
1797,
18,
15735,
67,
6385,
1235,
1435,
365,
18,
11231,
8867,
12,
1897,
12,
4172,
18,
588,
67,
2
] |
self.button_press(widget, event) | if self.button_press(widget, event): return True | def streams_button_press(self, widget, event): self.button_press(widget, event) | 948c569be2d2e6bdaff07b41c989446a5e274f47 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2312/948c569be2d2e6bdaff07b41c989446a5e274f47/sonata.py | [
1,
8585,
326,
22398,
316,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8205,
67,
5391,
67,
1028,
12,
2890,
16,
3604,
16,
871,
4672,
365,
18,
5391,
67,
1028,
12,
6587,
16,
871,
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
] |
('Object|list|List|Map|args|Sequence|Coroutine|File', Name.Builtin), | ('(Object|list|List|Map|args|Sequence|Coroutine|File)\b', Name.Builtin), | def get_tokens_unprocessed(self, text): for index, token, value in \ RegexLexer.get_tokens_unprocessed(self, text): if token is Name: if value in self._functions: yield index, Name.Builtin, value continue elif '.' in value: a, b = value.split('.') yield index, Name, a yield index + len(a), Punctuation, u'.' yield index + len(a) + 1, Name, b continue yield index, token, value | b6aaea5d8fe2c82efa385284dda7c08210ef77e9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2885/b6aaea5d8fe2c82efa385284dda7c08210ef77e9/agile.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
7860,
67,
318,
11005,
12,
2890,
16,
977,
4672,
364,
770,
16,
1147,
16,
460,
316,
521,
15078,
13356,
18,
588,
67,
7860,
67,
318,
11005,
12,
2890,
16,
977,
4672,
309,
1147,
353,
1770,
30,
309,
460,
316,
365,
6315,
10722,
30,
2824,
770,
16,
1770,
18,
28032,
16,
460,
1324,
1327,
2611,
316,
460,
30,
279,
16,
324,
273,
460,
18,
4939,
2668,
1093,
13,
2824,
770,
16,
1770,
16,
279,
2824,
770,
397,
562,
12,
69,
3631,
453,
15726,
16,
582,
11,
1093,
2824,
770,
397,
562,
12,
69,
13,
397,
404,
16,
1770,
16,
324,
1324,
2824,
770,
16,
1147,
16,
460,
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,
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460,
316,
365,
6315,
10722,
30,
2824,
770,
16,
1770,
18,
28032,
16,
460,
1324,
1327,
2611,
316,
460,
30,
279,
16,
324,
273,
460,
18,
4939,
2668,
1093,
13,
2824,
770,
16,
1770,
16,
279,
2824,
770,
397,
562,
12,
69,
3631,
453,
15726,
16,
582,
11,
1093,
2824,
770,
397,
562,
12,
69,
13,
397,
404,
16,
1770,
16,
324,
1324,
2824,
770,
16,
1147,
16,
460,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
os.system('asq -doc "%s"'%s) | e = os.system('asq -doc "%s"'%s) if e: print "Help system not available." | def example(self, s): if sage.server.support.EMBEDDED_MODE: os.system('asq -doc "%s" < /dev/null'%s) else: os.system('asq -doc "%s"'%s) | 0024e3d6e2e182d4eb67b1e9bb08b4eb9dbe85bb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/0024e3d6e2e182d4eb67b1e9bb08b4eb9dbe85bb/axiom.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3454,
12,
2890,
16,
272,
4672,
309,
272,
410,
18,
3567,
18,
13261,
18,
3375,
22235,
7660,
67,
7038,
30,
1140,
18,
4299,
2668,
345,
85,
300,
2434,
2213,
87,
6,
411,
342,
5206,
19,
2011,
11,
9,
87,
13,
469,
30,
1140,
18,
4299,
2668,
345,
85,
300,
2434,
2213,
87,
5187,
9,
87,
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,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0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3454,
12,
2890,
16,
272,
4672,
309,
272,
410,
18,
3567,
18,
13261,
18,
3375,
22235,
7660,
67,
7038,
30,
1140,
18,
4299,
2668,
345,
85,
300,
2434,
2213,
87,
6,
411,
342,
5206,
19,
2011,
11,
9,
87,
13,
469,
30,
1140,
18,
4299,
2668,
345,
85,
300,
2434,
2213,
87,
5187,
9,
87,
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
] |
"De-compression requires the (missing) zlib module" | "De-compression requires the (missing) zlib module" | def read(self, name): "Return file bytes (as a string) for name" if self.mode not in ("r", "a"): raise RuntimeError, 'read() requires mode "r" or "a"' if not self.fp: raise RuntimeError, \ "Attempt to read ZIP archive that was already closed" zinfo = self.getinfo(name) filepos = self.fp.tell() self.fp.seek(zinfo.file_offset, 0) bytes = self.fp.read(zinfo.compress_size) self.fp.seek(filepos, 0) if zinfo.compress_type == ZIP_STORED: pass elif zinfo.compress_type == ZIP_DEFLATED: if not zlib: raise RuntimeError, \ "De-compression requires the (missing) zlib module" # zlib compress/decompress code by Jeremy Hylton of CNRI dc = zlib.decompressobj(-15) bytes = dc.decompress(bytes) # need to feed in unused pad byte so that zlib won't choke ex = dc.decompress('Z') + dc.flush() if ex: bytes = bytes + ex else: raise BadZipfile, \ "Unsupported compression method %d for file %s" % \ (zinfo.compress_type, name) crc = binascii.crc32(bytes) if crc != zinfo.CRC: raise BadZipfile, "Bad CRC-32 for file %s" % name return bytes | 22171cafae2345fe7bc544232932e6979cc26f17 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/22171cafae2345fe7bc544232932e6979cc26f17/zipfile.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
12,
2890,
16,
508,
4672,
315,
990,
585,
1731,
261,
345,
279,
533,
13,
364,
508,
6,
309,
365,
18,
3188,
486,
316,
7566,
86,
3113,
315,
69,
6,
4672,
1002,
7265,
16,
296,
896,
1435,
4991,
1965,
315,
86,
6,
578,
315,
69,
5187,
309,
486,
365,
18,
7944,
30,
1002,
7265,
16,
521,
315,
7744,
358,
855,
18277,
5052,
716,
1703,
1818,
4375,
6,
998,
1376,
273,
365,
18,
22281,
12,
529,
13,
585,
917,
273,
365,
18,
7944,
18,
88,
1165,
1435,
365,
18,
7944,
18,
16508,
12,
94,
1376,
18,
768,
67,
3348,
16,
374,
13,
1731,
273,
365,
18,
7944,
18,
896,
12,
94,
1376,
18,
14706,
67,
1467,
13,
365,
18,
7944,
18,
16508,
12,
768,
917,
16,
374,
13,
309,
998,
1376,
18,
14706,
67,
723,
422,
18277,
67,
31487,
5879,
30,
1342,
1327,
998,
1376,
18,
14706,
67,
723,
422,
18277,
67,
12904,
48,
6344,
30,
309,
486,
24220,
30,
1002,
7265,
16,
521,
315,
758,
17,
23766,
4991,
326,
261,
7337,
13,
24220,
1605,
6,
468,
24220,
8099,
19,
323,
14706,
981,
635,
804,
264,
351,
93,
14881,
80,
1917,
434,
13326,
2259,
6744,
273,
24220,
18,
323,
14706,
2603,
19236,
3600,
13,
1731,
273,
6744,
18,
323,
14706,
12,
3890,
13,
468,
1608,
358,
4746,
316,
10197,
4627,
1160,
1427,
716,
24220,
8462,
1404,
462,
3056,
431,
273,
6744,
18,
323,
14706,
2668,
62,
6134,
397,
6744,
18,
11330,
1435,
309,
431,
30,
1731,
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,
855,
12,
2890,
16,
508,
4672,
315,
990,
585,
1731,
261,
345,
279,
533,
13,
364,
508,
6,
309,
365,
18,
3188,
486,
316,
7566,
86,
3113,
315,
69,
6,
4672,
1002,
7265,
16,
296,
896,
1435,
4991,
1965,
315,
86,
6,
578,
315,
69,
5187,
309,
486,
365,
18,
7944,
30,
1002,
7265,
16,
521,
315,
7744,
358,
855,
18277,
5052,
716,
1703,
1818,
4375,
6,
998,
1376,
273,
365,
18,
22281,
12,
529,
13,
585,
917,
273,
365,
18,
7944,
18,
88,
1165,
1435,
365,
18,
7944,
18,
16508,
12,
94,
1376,
18,
768,
67,
3348,
16,
374,
13,
1731,
273,
365,
18,
7944,
18,
896,
12,
94,
1376,
18,
14706,
67,
1467,
13,
365,
18,
2
] |
(milestone.encode('utf-8'))) | (milestone.encode('utf-8'),)) | def setMilestoneList(self, m, key): """Remove all milestones, set them to `m`""" self.assertNoTickets() c = self.db().cursor() c.execute("DELETE FROM milestone") for ms in m: milestone = ms[key] print " inserting milestone '%s'" % (milestone) c.execute("INSERT INTO milestone (name) VALUES (%s)", (milestone.encode('utf-8'))) self.db().commit() | a2f7e3cad12eaefaeb90c1c79ec0c2afb2d9063a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/a2f7e3cad12eaefaeb90c1c79ec0c2afb2d9063a/bugzilla2trac.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
15430,
18270,
682,
12,
2890,
16,
312,
16,
498,
4672,
3536,
3288,
777,
312,
14849,
5322,
16,
444,
2182,
358,
1375,
81,
68,
8395,
365,
18,
11231,
2279,
6264,
2413,
1435,
225,
276,
273,
365,
18,
1966,
7675,
9216,
1435,
276,
18,
8837,
2932,
6460,
4571,
28664,
7923,
364,
4086,
316,
312,
30,
28664,
273,
4086,
63,
856,
65,
1172,
315,
225,
21079,
28664,
1995,
87,
4970,
738,
261,
81,
18270,
13,
276,
18,
8837,
2932,
11356,
12421,
28664,
261,
529,
13,
13477,
6142,
87,
2225,
16,
261,
81,
18270,
18,
3015,
2668,
3158,
17,
28,
19899,
3719,
365,
18,
1966,
7675,
7371,
1435,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
498,
4672,
3536,
3288,
777,
312,
14849,
5322,
16,
444,
2182,
358,
1375,
81,
68,
8395,
365,
18,
11231,
2279,
6264,
2413,
1435,
225,
276,
273,
365,
18,
1966,
7675,
9216,
1435,
276,
18,
8837,
2932,
6460,
4571,
28664,
7923,
364,
4086,
316,
312,
30,
28664,
273,
4086,
63,
856,
65,
1172,
315,
225,
21079,
28664,
1995,
87,
4970,
738,
261,
81,
18270,
13,
276,
18,
8837,
2932,
11356,
12421,
28664,
261,
529,
13,
13477,
6142,
87,
2225,
16,
261,
81,
18270,
18,
3015,
2668,
3158,
17,
28,
19899,
3719,
365,
18,
1966,
7675,
7371,
1435,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
for item in self.list: if item.name == key: return True return False | return any(item.name == key for item in self.list) | def __contains__(self, key): """Dictionary style __contains__ method.""" if self.list is None: raise TypeError, "not indexable" for item in self.list: if item.name == key: return True return False | 61088280799041cf1abdd526255d9a2c61b3dafb /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8125/61088280799041cf1abdd526255d9a2c61b3dafb/cgi.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
12298,
972,
12,
2890,
16,
498,
4672,
3536,
10905,
2154,
1001,
12298,
972,
707,
12123,
309,
365,
18,
1098,
353,
599,
30,
1002,
3580,
16,
315,
902,
770,
429,
6,
364,
761,
316,
365,
18,
1098,
30,
309,
761,
18,
529,
422,
498,
30,
327,
1053,
327,
1083,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
12298,
972,
12,
2890,
16,
498,
4672,
3536,
10905,
2154,
1001,
12298,
972,
707,
12123,
309,
365,
18,
1098,
353,
599,
30,
1002,
3580,
16,
315,
902,
770,
429,
6,
364,
761,
316,
365,
18,
1098,
30,
309,
761,
18,
529,
422,
498,
30,
327,
1053,
327,
1083,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return "%i-%02i-01 00:00:00" % (dt.year, dt.month) | return "%i-%02i-01 00:00:00" % (date.year, date.month) | def date_trunc(_type, date): if _type == 'second': return date try: date = mx.DateTime.strptime(date, '%Y-%m-%d %H:%M:%S') except: return None if _type == 'year': return "%i-01-01 00:00:00" % dt.year elif _type == 'month': return "%i-%02i-01 00:00:00" % (dt.year, dt.month) elif _type == 'day': return "%i-%02i-%02i 00:00:00" % (dt.year, dt.month, dt.day) | b557f2b913375e34db813504994392fa7b97f509 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9266/b557f2b913375e34db813504994392fa7b97f509/database.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1509,
67,
23558,
24899,
723,
16,
1509,
4672,
309,
389,
723,
422,
296,
8538,
4278,
327,
1509,
775,
30,
1509,
273,
7938,
18,
5096,
18,
701,
10650,
12,
712,
16,
1995,
61,
6456,
81,
6456,
72,
738,
44,
5319,
49,
5319,
55,
6134,
1335,
30,
327,
599,
309,
389,
723,
422,
296,
6874,
4278,
327,
2213,
77,
17,
1611,
17,
1611,
9631,
30,
713,
30,
713,
6,
738,
3681,
18,
6874,
1327,
389,
723,
422,
296,
7496,
4278,
327,
2213,
77,
6456,
3103,
77,
17,
1611,
9631,
30,
713,
30,
713,
6,
738,
261,
712,
18,
6874,
16,
1509,
18,
7496,
13,
1327,
389,
723,
422,
296,
2881,
4278,
327,
2213,
77,
6456,
3103,
77,
6456,
3103,
77,
9631,
30,
713,
30,
713,
6,
738,
261,
7510,
18,
6874,
16,
3681,
18,
7496,
16,
3681,
18,
2881,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1509,
67,
23558,
24899,
723,
16,
1509,
4672,
309,
389,
723,
422,
296,
8538,
4278,
327,
1509,
775,
30,
1509,
273,
7938,
18,
5096,
18,
701,
10650,
12,
712,
16,
1995,
61,
6456,
81,
6456,
72,
738,
44,
5319,
49,
5319,
55,
6134,
1335,
30,
327,
599,
309,
389,
723,
422,
296,
6874,
4278,
327,
2213,
77,
17,
1611,
17,
1611,
9631,
30,
713,
30,
713,
6,
738,
3681,
18,
6874,
1327,
389,
723,
422,
296,
7496,
4278,
327,
2213,
77,
6456,
3103,
77,
17,
1611,
9631,
30,
713,
30,
713,
6,
738,
261,
712,
18,
6874,
16,
1509,
18,
7496,
13,
1327,
389,
723,
422,
296,
2881,
4278,
327,
2213,
77,
6456,
3103,
77,
6456,
3103,
77,
2
] |
elif user.posts.count() >= forum_settings.FORUM_STAR_0_HALF: | elif posts >= forum_settings.FORUM_STAR_0_HALF: | def forum_stars(user): if user.posts.count() >= forum_settings.FORUM_STAR_5: return mark_safe('<img src="%sforum/img/stars/Star_5.gif" alt="" >' % (settings.MEDIA_URL)) elif user.posts.count() >= forum_settings.FORUM_STAR_4_HALF: return mark_safe('<img src="%sforum/img/stars/Star_4_Half.gif" alt="" >' % (settings.MEDIA_URL)) elif user.posts.count() >= forum_settings.FORUM_STAR_4: return mark_safe('<img src="%sforum/img/stars/Star_4.gif" alt="" >' % (settings.MEDIA_URL)) elif user.posts.count() >= forum_settings.FORUM_STAR_3_HALF: return mark_safe('<img src="%sforum/img/stars/Star_3_Half.gif" alt="" >' % (settings.MEDIA_URL)) elif user.posts.count() >= forum_settings.FORUM_STAR_3: return mark_safe('<img src="%sforum/img/stars/Star_3.gif" alt="" >' % (settings.MEDIA_URL)) elif user.posts.count() >= forum_settings.FORUM_STAR_2_HALF: return mark_safe('<img src="%sforum/img/stars/Star_2_Half.gif" alt="" >' % (settings.MEDIA_URL)) elif user.posts.count() >= forum_settings.FORUM_STAR_2: return mark_safe('<img src="%sforum/img/stars/Star_2.gif" alt="" >' % (settings.MEDIA_URL)) elif user.posts.count() >= forum_settings.FORUM_STAR_1_HALF: return mark_safe('<img src="%sforum/img/stars/Star_1_Half.gif" alt="" >' % (settings.MEDIA_URL)) elif user.posts.count() >= forum_settings.FORUM_STAR_1: return mark_safe('<img src="%sforum/img/stars/Star_1.gif" alt="" >' % (settings.MEDIA_URL)) elif user.posts.count() >= forum_settings.FORUM_STAR_0_HALF: return mark_safe('<img src="%sforum/img/stars/Star_0_Half.gif" alt="" >' % (settings.MEDIA_URL)) else: return mark_safe('<img src="%sforum/img/stars/Star_0.gif" alt="" >' % (settings.MEDIA_URL)) | 3b86f217ff6e6ad464cca6ec2419884f35c2355f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13701/3b86f217ff6e6ad464cca6ec2419884f35c2355f/forum_extras.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11283,
67,
334,
5913,
12,
1355,
4672,
309,
729,
18,
11660,
18,
1883,
1435,
1545,
11283,
67,
4272,
18,
7473,
2799,
67,
20943,
67,
25,
30,
327,
2267,
67,
4626,
2668,
32,
6081,
1705,
11613,
87,
11725,
19,
6081,
19,
334,
5913,
19,
18379,
67,
25,
18,
13905,
6,
3770,
1546,
6,
23752,
738,
261,
4272,
18,
26368,
67,
1785,
3719,
1327,
729,
18,
11660,
18,
1883,
1435,
1545,
11283,
67,
4272,
18,
7473,
2799,
67,
20943,
67,
24,
67,
44,
21497,
30,
327,
2267,
67,
4626,
2668,
32,
6081,
1705,
11613,
87,
11725,
19,
6081,
19,
334,
5913,
19,
18379,
67,
24,
67,
16168,
18,
13905,
6,
3770,
1546,
6,
23752,
738,
261,
4272,
18,
26368,
67,
1785,
3719,
1327,
729,
18,
11660,
18,
1883,
1435,
1545,
11283,
67,
4272,
18,
7473,
2799,
67,
20943,
67,
24,
30,
327,
2267,
67,
4626,
2668,
32,
6081,
1705,
11613,
87,
11725,
19,
6081,
19,
334,
5913,
19,
18379,
67,
24,
18,
13905,
6,
3770,
1546,
6,
23752,
738,
261,
4272,
18,
26368,
67,
1785,
3719,
1327,
729,
18,
11660,
18,
1883,
1435,
1545,
11283,
67,
4272,
18,
7473,
2799,
67,
20943,
67,
23,
67,
44,
21497,
30,
327,
2267,
67,
4626,
2668,
32,
6081,
1705,
11613,
87,
11725,
19,
6081,
19,
334,
5913,
19,
18379,
67,
23,
67,
16168,
18,
13905,
6,
3770,
1546,
6,
23752,
738,
261,
4272,
18,
26368,
67,
1785,
3719,
1327,
729,
18,
11660,
18,
1883,
1435,
1545,
11283,
67,
4272,
18,
7473,
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,
11283,
67,
334,
5913,
12,
1355,
4672,
309,
729,
18,
11660,
18,
1883,
1435,
1545,
11283,
67,
4272,
18,
7473,
2799,
67,
20943,
67,
25,
30,
327,
2267,
67,
4626,
2668,
32,
6081,
1705,
11613,
87,
11725,
19,
6081,
19,
334,
5913,
19,
18379,
67,
25,
18,
13905,
6,
3770,
1546,
6,
23752,
738,
261,
4272,
18,
26368,
67,
1785,
3719,
1327,
729,
18,
11660,
18,
1883,
1435,
1545,
11283,
67,
4272,
18,
7473,
2799,
67,
20943,
67,
24,
67,
44,
21497,
30,
327,
2267,
67,
4626,
2668,
32,
6081,
1705,
11613,
87,
11725,
19,
6081,
19,
334,
5913,
19,
18379,
67,
24,
67,
16168,
18,
13905,
6,
3770,
1546,
6,
23752,
738,
261,
4272,
18,
26368,
67,
2
] |
print ">", self.section_level | def visit_section(self, node): self.section_level += 1 print ">", self.section_level | 5b088a1f4b8ffea86b98a70d67077426700acda3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11821/5b088a1f4b8ffea86b98a70d67077426700acda3/manpage.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3757,
67,
3464,
12,
2890,
16,
756,
4672,
365,
18,
3464,
67,
2815,
1011,
404,
1172,
14675,
16,
365,
18,
3464,
67,
2815,
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,
3757,
67,
3464,
12,
2890,
16,
756,
4672,
365,
18,
3464,
67,
2815,
1011,
404,
1172,
14675,
16,
365,
18,
3464,
67,
2815,
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
] |
|
exec code | try: exec code except "CacheNeedsUpdate": raise Exception("CacheNeedsUpdate") | def execute(self, request, parser, code): """ Write page content by executing cache code """ formatter = self.formatter from MoinMoin.macro import Macro macro_obj = Macro(parser) # Fix __file__ when running from a zip package import MoinMoin if hasattr(MoinMoin, '__loader__'): __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy') exec code | bba001c094ed67078bbd647db8cc2a66fc3d55f3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/888/bba001c094ed67078bbd647db8cc2a66fc3d55f3/Page.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1836,
12,
2890,
16,
590,
16,
2082,
16,
981,
4672,
3536,
2598,
1363,
913,
635,
11274,
1247,
981,
3536,
4453,
273,
365,
18,
12354,
628,
490,
885,
49,
885,
18,
26448,
1930,
31203,
11522,
67,
2603,
273,
31203,
12,
4288,
13,
468,
12139,
1001,
768,
972,
1347,
3549,
628,
279,
3144,
2181,
1930,
490,
885,
49,
885,
309,
3859,
12,
49,
885,
49,
885,
16,
4940,
6714,
7250,
4672,
1001,
768,
972,
273,
1140,
18,
803,
18,
5701,
12,
49,
885,
49,
885,
16186,
6714,
25648,
10686,
16,
296,
21050,
6134,
1196,
981,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
3536,
4453,
273,
365,
18,
12354,
628,
490,
885,
49,
885,
18,
26448,
1930,
31203,
11522,
67,
2603,
273,
31203,
12,
4288,
13,
468,
12139,
1001,
768,
972,
1347,
3549,
628,
279,
3144,
2181,
1930,
490,
885,
49,
885,
309,
3859,
12,
49,
885,
49,
885,
16,
4940,
6714,
7250,
4672,
1001,
768,
972,
273,
1140,
18,
803,
18,
5701,
12,
49,
885,
49,
885,
16186,
6714,
25648,
10686,
16,
296,
21050,
6134,
1196,
981,
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
] |
msg.warn(_("dependency '%s' not found") % arg, **pos) | msg.warn(_("dependency '%s' not found") % arg, **self.vars) | def do_depend (self, *args): for arg in args: file = self.env.find_file(arg) if file: self.sources[file] = DependLeaf(self.env, file) else: msg.warn(_("dependency '%s' not found") % arg, **pos) | e4864d9634be4f6abd17ad90a93368930cf7802f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10102/e4864d9634be4f6abd17ad90a93368930cf7802f/__init__.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
5817,
261,
2890,
16,
380,
1968,
4672,
364,
1501,
316,
833,
30,
585,
273,
365,
18,
3074,
18,
4720,
67,
768,
12,
3175,
13,
309,
585,
30,
365,
18,
10141,
63,
768,
65,
273,
10532,
9858,
12,
2890,
18,
3074,
16,
585,
13,
469,
30,
1234,
18,
8935,
24899,
2932,
15896,
1995,
87,
11,
486,
1392,
7923,
738,
1501,
16,
2826,
917,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
5817,
261,
2890,
16,
380,
1968,
4672,
364,
1501,
316,
833,
30,
585,
273,
365,
18,
3074,
18,
4720,
67,
768,
12,
3175,
13,
309,
585,
30,
365,
18,
10141,
63,
768,
65,
273,
10532,
9858,
12,
2890,
18,
3074,
16,
585,
13,
469,
30,
1234,
18,
8935,
24899,
2932,
15896,
1995,
87,
11,
486,
1392,
7923,
738,
1501,
16,
2826,
917,
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
] |
print "Error running pyrexc." sys.exit(ret) | print "sage: Error running pyrexc." sys.exit(1) | def process_pyrex_file(f, m): # This is a pyrex file, so process accordingly. g = os.path.splitext(f)[0] pyx_inst_file = '%s/%s'%(SITE_PACKAGES, f) if need_to_create(f, pyx_inst_file): print "%s --> %s"%(f, pyx_inst_file) os.system('cp %s %s 2>/dev/null'%(f, pyx_inst_file)) out_file = f[:-4] + ".c" if m.language == 'c++': out_file += 'pp' if need_to_create(f, out_file) or need_to_create(g + '.pxd', out_file): cmd = "pyrexc -I%s %s"%(os.getcwd(),f) print cmd ret = os.system(cmd) if ret != 0: print "Error running pyrexc." sys.exit(ret) # If the language for the extension is C++, # then move the resulting output file to have the correct extension. # (I don't know how to tell Pyrex to do this automatically.) if m.language == 'c++': os.system('mv %s.c %s'%(f[:-4], out_file)) return [out_file] | 7f11d4cc501b77bb872b17a06cddc05b4f06163d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/7f11d4cc501b77bb872b17a06cddc05b4f06163d/setup.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1207,
67,
2074,
266,
92,
67,
768,
12,
74,
16,
312,
4672,
468,
1220,
353,
279,
2395,
266,
92,
585,
16,
1427,
1207,
15905,
18,
314,
273,
1140,
18,
803,
18,
4939,
408,
12,
74,
25146,
20,
65,
2395,
92,
67,
8591,
67,
768,
273,
1995,
87,
5258,
87,
11,
17105,
20609,
67,
19077,
55,
16,
284,
13,
309,
1608,
67,
869,
67,
2640,
12,
74,
16,
2395,
92,
67,
8591,
67,
768,
4672,
1172,
2213,
87,
15431,
738,
87,
6,
17105,
74,
16,
2395,
92,
67,
8591,
67,
768,
13,
1140,
18,
4299,
2668,
4057,
738,
87,
738,
87,
576,
16893,
5206,
19,
2011,
11,
17105,
74,
16,
2395,
92,
67,
8591,
67,
768,
3719,
596,
67,
768,
273,
284,
10531,
17,
24,
65,
397,
3552,
71,
6,
309,
312,
18,
4923,
422,
296,
71,
9904,
4278,
596,
67,
768,
1011,
296,
11858,
11,
309,
1608,
67,
869,
67,
2640,
12,
74,
16,
596,
67,
768,
13,
578,
1608,
67,
869,
67,
2640,
12,
75,
397,
2418,
4430,
72,
2187,
596,
67,
768,
4672,
1797,
273,
315,
2074,
266,
6511,
300,
45,
9,
87,
738,
87,
6,
17105,
538,
18,
588,
11089,
9334,
74,
13,
1172,
1797,
325,
273,
1140,
18,
4299,
12,
4172,
13,
309,
325,
480,
374,
30,
1172,
315,
87,
410,
30,
1068,
3549,
2395,
266,
6511,
1199,
2589,
18,
8593,
12,
21,
13,
468,
971,
326,
2653,
364,
326,
2710,
353,
385,
9904,
16,
468,
1508,
3635,
326,
8156,
876,
585,
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,
1207,
67,
2074,
266,
92,
67,
768,
12,
74,
16,
312,
4672,
468,
1220,
353,
279,
2395,
266,
92,
585,
16,
1427,
1207,
15905,
18,
314,
273,
1140,
18,
803,
18,
4939,
408,
12,
74,
25146,
20,
65,
2395,
92,
67,
8591,
67,
768,
273,
1995,
87,
5258,
87,
11,
17105,
20609,
67,
19077,
55,
16,
284,
13,
309,
1608,
67,
869,
67,
2640,
12,
74,
16,
2395,
92,
67,
8591,
67,
768,
4672,
1172,
2213,
87,
15431,
738,
87,
6,
17105,
74,
16,
2395,
92,
67,
8591,
67,
768,
13,
1140,
18,
4299,
2668,
4057,
738,
87,
738,
87,
576,
16893,
5206,
19,
2011,
11,
17105,
74,
16,
2395,
92,
67,
8591,
67,
768,
3719,
596,
67,
2
] |
parts = parts[1:] | parts = parts[1:] | def loadTestsFromName(self, name, module=None): """Return a suite of all tests cases given a string specifier. | 1b3c04b510c875fd3e31d13b73e76d3702bf99a0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/1b3c04b510c875fd3e31d13b73e76d3702bf99a0/unittest.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1262,
14650,
29732,
12,
2890,
16,
508,
16,
1605,
33,
7036,
4672,
3536,
990,
279,
11371,
434,
777,
7434,
6088,
864,
279,
533,
24562,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1262,
14650,
29732,
12,
2890,
16,
508,
16,
1605,
33,
7036,
4672,
3536,
990,
279,
11371,
434,
777,
7434,
6088,
864,
279,
533,
24562,
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
] |
s = idaapi.get_struc(id) | s = idaapi.get_struc(sid) | def DelStrucMember(id, member_offset): """ Delete structure member @param id: structure type ID @param member_offset: offset of the member @return: != 0 - ok. @note: IDA allows 'holes' between members of a structure. It treats these 'holes' as unnamed arrays of bytes. """ s = idaapi.get_struc(id) if not s: return 0 return idaapi.del_struc_member(s, member_offset) | 244a3cd02a580c0095170004ec30e922f0d1a8a6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6984/244a3cd02a580c0095170004ec30e922f0d1a8a6/idc.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6603,
1585,
5286,
4419,
12,
350,
16,
3140,
67,
3348,
4672,
3536,
2504,
3695,
3140,
225,
632,
891,
612,
30,
3695,
618,
1599,
632,
891,
3140,
67,
3348,
30,
1384,
434,
326,
3140,
225,
632,
2463,
30,
480,
374,
300,
1529,
18,
225,
632,
7652,
30,
1599,
37,
5360,
296,
76,
9112,
11,
3086,
4833,
434,
279,
3695,
18,
2597,
9787,
2323,
4259,
296,
76,
9112,
11,
487,
640,
13188,
5352,
434,
1731,
18,
3536,
272,
273,
612,
69,
2425,
18,
588,
67,
701,
5286,
12,
7453,
13,
309,
486,
272,
30,
327,
374,
225,
327,
612,
69,
2425,
18,
3771,
67,
701,
5286,
67,
5990,
12,
87,
16,
3140,
67,
3348,
13,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6603,
1585,
5286,
4419,
12,
350,
16,
3140,
67,
3348,
4672,
3536,
2504,
3695,
3140,
225,
632,
891,
612,
30,
3695,
618,
1599,
632,
891,
3140,
67,
3348,
30,
1384,
434,
326,
3140,
225,
632,
2463,
30,
480,
374,
300,
1529,
18,
225,
632,
7652,
30,
1599,
37,
5360,
296,
76,
9112,
11,
3086,
4833,
434,
279,
3695,
18,
2597,
9787,
2323,
4259,
296,
76,
9112,
11,
487,
640,
13188,
5352,
434,
1731,
18,
3536,
272,
273,
612,
69,
2425,
18,
588,
67,
701,
5286,
12,
7453,
13,
309,
486,
272,
30,
327,
374,
225,
327,
612,
69,
2425,
18,
3771,
67,
701,
5286,
67,
5990,
12,
87,
16,
3140,
67,
3348,
13,
282,
2,
-100,
-100,
-100,
-100
] |
print "Can't test select easily" | print "Can't test select easily on", sys.platform | def test(): import sys if sys.platform in ('win', 'mac'): if verbose: print "Can't test select easily" return cmd = 'for i in 0 1 2 3 4 5 6 7 8 9; do echo testing...; sleep 1; done' p = os.popen(cmd, 'r') for tout in (0, 1, 2, 4, 8, 16) + (None,)*10: if verbose: print 'timeout =', tout rfd, wfd, xfd = select.select([p], [], [], tout) | 4a0694d23578559cefb49c92ba4107e9997e93ca /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/4a0694d23578559cefb49c92ba4107e9997e93ca/test_select.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
13332,
1930,
2589,
309,
2589,
18,
9898,
316,
7707,
8082,
2187,
296,
5821,
11,
4672,
309,
3988,
30,
1172,
315,
2568,
1404,
1842,
2027,
17997,
603,
3113,
2589,
18,
9898,
327,
1797,
273,
296,
1884,
277,
316,
374,
404,
576,
890,
1059,
1381,
1666,
2371,
1725,
2468,
31,
741,
3376,
7769,
2777,
31,
5329,
404,
31,
2731,
11,
293,
273,
1140,
18,
84,
3190,
12,
4172,
16,
296,
86,
6134,
364,
358,
322,
316,
261,
20,
16,
404,
16,
576,
16,
1059,
16,
1725,
16,
2872,
13,
397,
261,
7036,
16,
17653,
2163,
30,
309,
3988,
30,
1172,
296,
4538,
273,
2187,
358,
322,
436,
8313,
16,
341,
8313,
16,
619,
8313,
273,
2027,
18,
4025,
3816,
84,
6487,
5378,
16,
5378,
16,
358,
322,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
13332,
1930,
2589,
309,
2589,
18,
9898,
316,
7707,
8082,
2187,
296,
5821,
11,
4672,
309,
3988,
30,
1172,
315,
2568,
1404,
1842,
2027,
17997,
603,
3113,
2589,
18,
9898,
327,
1797,
273,
296,
1884,
277,
316,
374,
404,
576,
890,
1059,
1381,
1666,
2371,
1725,
2468,
31,
741,
3376,
7769,
2777,
31,
5329,
404,
31,
2731,
11,
293,
273,
1140,
18,
84,
3190,
12,
4172,
16,
296,
86,
6134,
364,
358,
322,
316,
261,
20,
16,
404,
16,
576,
16,
1059,
16,
1725,
16,
2872,
13,
397,
261,
7036,
16,
17653,
2163,
30,
309,
3988,
30,
1172,
296,
4538,
273,
2187,
358,
322,
436,
8313,
16,
341,
8313,
16,
619,
8313,
273,
2027,
18,
4025,
3816,
2
] |
except: | except NotImplementedError: | def script_reportCurrentLine(self,keyPress): obj=api.getFocusObject() virtualBuffer=obj.virtualBuffer if hasattr(virtualBuffer,'TextInfo') and not virtualBuffer.passThrough: obj=virtualBuffer try: info=obj.makeTextInfo(textHandler.POSITION_CARET) except: info=obj.makeTextInfo(textHandler.POSITION_FIRST) info.expand(textHandler.UNIT_LINE) if scriptHandler.getLastScriptRepeatCount()==0: speech.speakTextInfo(info,reason=speech.REASON_CARET) else: speech.speakSpelling(info.text) | 786b53788eb5a108404f4ba26da4bd3656f8fa15 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9340/786b53788eb5a108404f4ba26da4bd3656f8fa15/_default.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2728,
67,
6006,
3935,
1670,
12,
2890,
16,
856,
11840,
4672,
1081,
33,
2425,
18,
588,
9233,
921,
1435,
5024,
1892,
33,
2603,
18,
12384,
1892,
309,
3859,
12,
12384,
1892,
11189,
1528,
966,
6134,
471,
486,
5024,
1892,
18,
5466,
14287,
30,
1081,
33,
12384,
1892,
775,
30,
1123,
33,
2603,
18,
6540,
1528,
966,
12,
955,
1503,
18,
15258,
67,
3587,
10238,
13,
1335,
11206,
30,
1123,
33,
2603,
18,
6540,
1528,
966,
12,
955,
1503,
18,
15258,
67,
15354,
13,
1123,
18,
12320,
12,
955,
1503,
18,
15736,
67,
5997,
13,
309,
2728,
1503,
18,
588,
3024,
3651,
16750,
1380,
1435,
631,
20,
30,
24556,
18,
87,
10244,
1528,
966,
12,
1376,
16,
10579,
33,
87,
12510,
18,
29416,
1413,
67,
3587,
10238,
13,
469,
30,
24556,
18,
87,
10244,
3389,
1165,
310,
12,
1376,
18,
955,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2728,
67,
6006,
3935,
1670,
12,
2890,
16,
856,
11840,
4672,
1081,
33,
2425,
18,
588,
9233,
921,
1435,
5024,
1892,
33,
2603,
18,
12384,
1892,
309,
3859,
12,
12384,
1892,
11189,
1528,
966,
6134,
471,
486,
5024,
1892,
18,
5466,
14287,
30,
1081,
33,
12384,
1892,
775,
30,
1123,
33,
2603,
18,
6540,
1528,
966,
12,
955,
1503,
18,
15258,
67,
3587,
10238,
13,
1335,
11206,
30,
1123,
33,
2603,
18,
6540,
1528,
966,
12,
955,
1503,
18,
15258,
67,
15354,
13,
1123,
18,
12320,
12,
955,
1503,
18,
15736,
67,
5997,
13,
309,
2728,
1503,
18,
588,
3024,
3651,
16750,
1380,
1435,
631,
20,
30,
24556,
18,
87,
10244,
1528,
966,
12,
1376,
16,
10579,
33,
2
] |
def callback (*args): | def callback (window, *args): | def callback (*args): window.disconnect(handle_id) loadPosition(window) window.set_size_request(-1, -1) | 1d20bf18140fe711d86a7ff894e729aa5b586980 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5339/1d20bf18140fe711d86a7ff894e729aa5b586980/Main.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1348,
261,
5668,
16,
380,
1968,
4672,
2742,
18,
20177,
12,
4110,
67,
350,
13,
1262,
2555,
12,
5668,
13,
2742,
18,
542,
67,
1467,
67,
2293,
19236,
21,
16,
300,
21,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] |
if os.path.isfile(terp_file) or zipfile.is_zipfile(mod_path): | if os.path.isfile(terp_file) or zipfile.is_zipfile(mod_path+'.zip'): | def create_graph(module_list, force=None): if not force: force=[] graph = Graph() packages = [] for module in module_list: if module[-4:]=='.zip': module = module[:-4] try: mod_path = get_module_path(module) if not mod_path: continue except IOError: continue terp_file = get_module_resource(module, '__terp__.py') if not terp_file: continue if os.path.isfile(terp_file) or zipfile.is_zipfile(mod_path): try: info = eval(tools.file_open(terp_file).read()) except: logger.notifyChannel('init', netsvc.LOG_ERROR, 'addon:%s:eval file %s' % (module, terp_file)) raise if info.get('installable', True): packages.append((module, info.get('depends', []), info)) current,later = Set([p for p, dep, data in packages]), Set() while packages and current > later: package, deps, datas = packages[0] # if all dependencies of 'package' are already in the graph, add 'package' in the graph if reduce(lambda x,y: x and y in graph, deps, True): if not package in current: packages.pop(0) continue later.clear() current.remove(package) graph.addNode(package, deps) node = Node(package, graph) node.datas = datas for kind in ('init', 'demo', 'update'): if package in tools.config[kind] or 'all' in tools.config[kind] or kind in force: setattr(node, kind, True) else: later.add(package) packages.append((package, deps, datas)) packages.pop(0) for package in later: logger.notifyChannel('init', netsvc.LOG_ERROR, 'addon:%s:Unmet dependency' % package) return graph | 808d552be8360d02485572b2543f757a32980f23 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7397/808d552be8360d02485572b2543f757a32980f23/__init__.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
67,
4660,
12,
2978,
67,
1098,
16,
2944,
33,
7036,
4672,
309,
486,
2944,
30,
2944,
33,
8526,
2667,
273,
5601,
1435,
5907,
273,
5378,
225,
364,
1605,
316,
1605,
67,
1098,
30,
309,
1605,
18919,
24,
26894,
631,
10332,
4450,
4278,
1605,
273,
1605,
10531,
17,
24,
65,
775,
30,
681,
67,
803,
273,
336,
67,
2978,
67,
803,
12,
2978,
13,
309,
486,
681,
67,
803,
30,
1324,
1335,
8340,
30,
1324,
19272,
84,
67,
768,
273,
336,
67,
2978,
67,
3146,
12,
2978,
16,
4940,
387,
84,
25648,
2074,
6134,
309,
486,
19272,
84,
67,
768,
30,
1324,
309,
1140,
18,
803,
18,
291,
768,
12,
387,
84,
67,
768,
13,
578,
18823,
18,
291,
67,
4450,
768,
12,
1711,
67,
803,
6797,
18,
4450,
11,
4672,
775,
30,
1123,
273,
5302,
12,
6642,
18,
768,
67,
3190,
12,
387,
84,
67,
768,
2934,
896,
10756,
1335,
30,
1194,
18,
12336,
2909,
2668,
2738,
2187,
21954,
4227,
18,
4842,
67,
3589,
16,
296,
24390,
5319,
87,
30,
8622,
585,
738,
87,
11,
738,
261,
2978,
16,
19272,
84,
67,
768,
3719,
1002,
309,
1123,
18,
588,
2668,
5425,
429,
2187,
1053,
4672,
5907,
18,
6923,
12443,
2978,
16,
1123,
18,
588,
2668,
27360,
2187,
5378,
3631,
1123,
3719,
225,
783,
16,
29082,
273,
1000,
3816,
84,
364,
293,
16,
5993,
16,
501,
316,
5907,
65,
3631,
1000,
1435,
1323,
5907,
471,
783,
405,
5137,
30,
2181,
16,
8740,
16,
5386,
273,
5907,
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,
752,
67,
4660,
12,
2978,
67,
1098,
16,
2944,
33,
7036,
4672,
309,
486,
2944,
30,
2944,
33,
8526,
2667,
273,
5601,
1435,
5907,
273,
5378,
225,
364,
1605,
316,
1605,
67,
1098,
30,
309,
1605,
18919,
24,
26894,
631,
10332,
4450,
4278,
1605,
273,
1605,
10531,
17,
24,
65,
775,
30,
681,
67,
803,
273,
336,
67,
2978,
67,
803,
12,
2978,
13,
309,
486,
681,
67,
803,
30,
1324,
1335,
8340,
30,
1324,
19272,
84,
67,
768,
273,
336,
67,
2978,
67,
3146,
12,
2978,
16,
4940,
387,
84,
25648,
2074,
6134,
309,
486,
19272,
84,
67,
768,
30,
1324,
309,
1140,
18,
803,
18,
291,
768,
12,
387,
84,
67,
768,
13,
578,
18823,
18,
2
] |
if s[turtle:turtle+len(macro_name)+1] == "\\"+macro_name : | if s[turtle:turtle+len(macro_name)] == macro_name : | def NextMacroCandidate(s,macro_name): turtle = 0 while turtle < len(s): if s[turtle:turtle+len(macro_name)+1] == "\\"+macro_name : return True,turtle if s[turtle]=="%": a=s[turtle:] pos = a.find("\n") if pos == -1: return False,-1 turtle = turtle+pos turtle=turtle+1 | c9d7fa43b31ce3e98a6588012e23c4225758db6f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5109/c9d7fa43b31ce3e98a6588012e23c4225758db6f/__init__.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4804,
17392,
11910,
12,
87,
16,
26448,
67,
529,
4672,
268,
295,
5929,
273,
374,
1323,
268,
295,
5929,
411,
562,
12,
87,
4672,
309,
272,
63,
25271,
5929,
30,
25271,
5929,
15,
1897,
12,
26448,
67,
529,
25887,
422,
11522,
67,
529,
294,
327,
1053,
16,
25271,
5929,
309,
272,
63,
25271,
5929,
65,
631,
28385,
6877,
279,
33,
87,
63,
25271,
5929,
26894,
949,
273,
279,
18,
4720,
31458,
82,
7923,
309,
949,
422,
300,
21,
30,
327,
1083,
16,
17,
21,
268,
295,
5929,
273,
268,
295,
5929,
15,
917,
268,
295,
5929,
33,
25271,
5929,
15,
21,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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,
12,
26448,
67,
529,
25887,
422,
11522,
67,
529,
294,
327,
1053,
16,
25271,
5929,
309,
272,
63,
25271,
5929,
65,
631,
28385,
6877,
279,
33,
87,
63,
25271,
5929,
26894,
949,
273,
279,
18,
4720,
31458,
82,
7923,
309,
949,
422,
300,
21,
30,
327,
1083,
16,
17,
21,
268,
295,
5929,
273,
268,
295,
5929,
15,
917,
268,
295,
5929,
33,
25271,
5929,
15,
21,
282,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
print 'key', key | def __getitem__(self, key): self=self.aq_parent | a150bc65d31f8513a75ea91d1ff34b54973ad182 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/a150bc65d31f8513a75ea91d1ff34b54973ad182/History.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
31571,
972,
12,
2890,
16,
498,
4672,
365,
33,
2890,
18,
69,
85,
67,
2938,
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,
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
67,
2938,
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
] |
|
TabPageLayout_5.addItem(spacer10,2,0) | TabPageLayout_6.addItem(spacer10,2,0) | def __init__(self,parent = None,name = None,modal = 0,fl = 0): QDialog.__init__(self,parent,name,modal,fl) | 7cc18611a6df93ebc9707a8878e31fb8451f8ff6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/7cc18611a6df93ebc9707a8878e31fb8451f8ff6/UserPrefsDialog.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2938,
273,
599,
16,
529,
273,
599,
16,
17638,
273,
374,
16,
2242,
273,
374,
4672,
2238,
6353,
16186,
2738,
972,
12,
2890,
16,
2938,
16,
529,
16,
17638,
16,
2242,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2938,
273,
599,
16,
529,
273,
599,
16,
17638,
273,
374,
16,
2242,
273,
374,
4672,
2238,
6353,
16186,
2738,
972,
12,
2890,
16,
2938,
16,
529,
16,
17638,
16,
2242,
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
] |
new_line = Line(source=source) | new_line = objects.Line(source=source) | def _cb_btn_add_clicked(self, sender): selection = self.treeview.get_selection() model, pathlist = selection.get_selected_rows() | 9c32eac186439f07092e593414a8822590fd0705 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2510/9c32eac186439f07092e593414a8822590fd0705/layerwin.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
7358,
67,
11898,
67,
1289,
67,
7475,
329,
12,
2890,
16,
5793,
4672,
4421,
273,
365,
18,
3413,
1945,
18,
588,
67,
10705,
1435,
938,
16,
589,
1098,
273,
4421,
18,
588,
67,
8109,
67,
3870,
1435,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
7358,
67,
11898,
67,
1289,
67,
7475,
329,
12,
2890,
16,
5793,
4672,
4421,
273,
365,
18,
3413,
1945,
18,
588,
67,
10705,
1435,
938,
16,
589,
1098,
273,
4421,
18,
588,
67,
8109,
67,
3870,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
raise MarkupMismatch | raise rst.states.MarkupMismatch | def standalone_refs(self, match, lineno): text = match.group(0) if text.startswith('pep-'): ref = os.path.splitext(text)[0] + ".html" elif text.startswith('PEP'): pepnum = int(match.group('pepnum')) ref = self.pep_url % pepnum elif text.startswith('RFC'): rfcnum = int(match.group('rfcnum')) ref = self.rfc_url % rfcnum else: raise MarkupMismatch unescaped = rst.states.unescape(text, 0) return [nodes.reference(rst.states.unescape(text, 1), unescaped, refuri=ref)] | d672fdc85a387737c3fa6a37e40fb2e48f0d4e07 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5620/d672fdc85a387737c3fa6a37e40fb2e48f0d4e07/pep.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
17676,
67,
9316,
12,
2890,
16,
845,
16,
7586,
4672,
977,
273,
845,
18,
1655,
12,
20,
13,
309,
977,
18,
17514,
1918,
2668,
29363,
6627,
4672,
1278,
273,
1140,
18,
803,
18,
4939,
408,
12,
955,
25146,
20,
65,
397,
3552,
2620,
6,
1327,
977,
18,
17514,
1918,
2668,
1423,
52,
11,
4672,
293,
881,
2107,
273,
509,
12,
1916,
18,
1655,
2668,
29363,
2107,
26112,
1278,
273,
365,
18,
29363,
67,
718,
738,
293,
881,
2107,
1327,
977,
18,
17514,
1918,
2668,
17926,
11,
4672,
16590,
2107,
273,
509,
12,
1916,
18,
1655,
2668,
16784,
2107,
26112,
1278,
273,
365,
18,
16784,
67,
718,
738,
16590,
2107,
469,
30,
1002,
13978,
18,
7992,
18,
13111,
16901,
27869,
273,
13978,
18,
7992,
18,
318,
6939,
12,
955,
16,
374,
13,
327,
306,
4690,
18,
6180,
12,
16114,
18,
7992,
18,
318,
6939,
12,
955,
16,
404,
3631,
27869,
16,
1278,
1650,
33,
1734,
25887,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
17676,
67,
9316,
12,
2890,
16,
845,
16,
7586,
4672,
977,
273,
845,
18,
1655,
12,
20,
13,
309,
977,
18,
17514,
1918,
2668,
29363,
6627,
4672,
1278,
273,
1140,
18,
803,
18,
4939,
408,
12,
955,
25146,
20,
65,
397,
3552,
2620,
6,
1327,
977,
18,
17514,
1918,
2668,
1423,
52,
11,
4672,
293,
881,
2107,
273,
509,
12,
1916,
18,
1655,
2668,
29363,
2107,
26112,
1278,
273,
365,
18,
29363,
67,
718,
738,
293,
881,
2107,
1327,
977,
18,
17514,
1918,
2668,
17926,
11,
4672,
16590,
2107,
273,
509,
12,
1916,
18,
1655,
2668,
16784,
2107,
26112,
1278,
273,
365,
18,
16784,
67,
718,
738,
16590,
2107,
469,
30,
1002,
13978,
18,
7992,
18,
13111,
16901,
2
] |
cmd = "cmp -l "+name1 + " " + name2 + " | wc --lines" | cmd = "cmp -l "+name1 + " " + name2 + " | wc -l" | def fdiff(name1,name2): cmd = "cmp -l "+name1 + " " + name2 + " | wc --lines" out = commands.getoutput(cmd) out = split(out,"\n") out=out[-1] if (-1==find(out,"No")): diff = atof(out) size1 = os.path.getsize(name1) size2 = os.path.getsize(name2) diff = diff + abs(size1-size2) size = max(size1,size2) else: diff = -1 size = 0 return (diff,size) | 611374b8cc133cd7a401781b4bb8aef9324775c8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1520/611374b8cc133cd7a401781b4bb8aef9324775c8/lametest.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5194,
3048,
12,
529,
21,
16,
529,
22,
4672,
1797,
273,
315,
9625,
300,
80,
13773,
529,
21,
397,
315,
315,
397,
508,
22,
397,
315,
571,
14310,
300,
80,
6,
596,
273,
4364,
18,
588,
2844,
12,
4172,
13,
596,
273,
1416,
12,
659,
10837,
64,
82,
7923,
596,
33,
659,
18919,
21,
65,
309,
24927,
21,
631,
4720,
12,
659,
10837,
2279,
6,
3719,
30,
3122,
273,
622,
792,
12,
659,
13,
963,
21,
273,
1140,
18,
803,
18,
588,
1467,
12,
529,
21,
13,
963,
22,
273,
1140,
18,
803,
18,
588,
1467,
12,
529,
22,
13,
3122,
273,
3122,
397,
2417,
12,
1467,
21,
17,
1467,
22,
13,
963,
273,
943,
12,
1467,
21,
16,
1467,
22,
13,
469,
30,
3122,
273,
300,
21,
963,
273,
374,
327,
261,
5413,
16,
1467,
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,
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585,
326,
22398,
316,
326,
981,
30,
1652,
5194,
3048,
12,
529,
21,
16,
529,
22,
4672,
1797,
273,
315,
9625,
300,
80,
13773,
529,
21,
397,
315,
315,
397,
508,
22,
397,
315,
571,
14310,
300,
80,
6,
596,
273,
4364,
18,
588,
2844,
12,
4172,
13,
596,
273,
1416,
12,
659,
10837,
64,
82,
7923,
596,
33,
659,
18919,
21,
65,
309,
24927,
21,
631,
4720,
12,
659,
10837,
2279,
6,
3719,
30,
3122,
273,
622,
792,
12,
659,
13,
963,
21,
273,
1140,
18,
803,
18,
588,
1467,
12,
529,
21,
13,
963,
22,
273,
1140,
18,
803,
18,
588,
1467,
12,
529,
22,
13,
3122,
273,
3122,
397,
2417,
12,
1467,
21,
17,
1467,
22,
13,
963,
273,
943,
12,
1467,
21,
2
] |
if hasattr(self, idattr): id=getattr(self, idattr) | if hasattr(item, idattr): id=getattr(item, idattr) | def tpValuesIds(self, branches, args, simple_type={type(''):0, type(1):0, type(1.0):0}.has_key, ): # This should build the ids of subitems which are # expandable (non-empty). Leaves should never be # in the state - it will screw the colspan counting. r=[] idattr=args['id'] try: try: items=getattr(self, branches)() except AttributeError: items=() for item in items: try: if getattr(item, branches)(): if hasattr(self, idattr): id=getattr(self, idattr) if not simple_type(type(id)): id=id() elif hasattr(item, '_p_oid'): id=oid(item) else: id=pyid(item) e=tpValuesIds(item, branches, args) if e: id=[id,e] else: id=[id] r.append(id) except: pass except: pass return r | e04cc3d9225693282bb2a306ea5d4af2951b770e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/e04cc3d9225693282bb2a306ea5d4af2951b770e/TreeTag.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8071,
1972,
2673,
12,
2890,
16,
11483,
16,
833,
16,
4143,
67,
723,
5899,
723,
2668,
11,
4672,
20,
16,
618,
12,
21,
4672,
20,
16,
618,
12,
21,
18,
20,
4672,
20,
5496,
5332,
67,
856,
16,
262,
30,
468,
1220,
1410,
1361,
326,
3258,
434,
720,
3319,
1492,
854,
468,
4542,
429,
261,
5836,
17,
5531,
2934,
3519,
6606,
1410,
5903,
506,
468,
316,
326,
919,
300,
518,
903,
888,
16052,
326,
20856,
22075,
18,
436,
33,
8526,
612,
1747,
33,
1968,
3292,
350,
3546,
775,
30,
775,
30,
1516,
33,
588,
1747,
12,
2890,
16,
11483,
13,
1435,
1335,
6394,
30,
1516,
33,
1435,
364,
761,
316,
1516,
30,
775,
30,
309,
3869,
12,
1726,
16,
11483,
13,
13332,
225,
309,
3859,
12,
1726,
16,
612,
1747,
4672,
612,
33,
588,
1747,
12,
1726,
16,
612,
1747,
13,
309,
486,
4143,
67,
723,
12,
723,
12,
350,
3719,
30,
612,
33,
350,
1435,
1327,
3859,
12,
1726,
16,
2070,
84,
67,
839,
11,
4672,
612,
33,
839,
12,
1726,
13,
469,
30,
612,
33,
2074,
350,
12,
1726,
13,
225,
425,
33,
6834,
1972,
2673,
12,
1726,
16,
11483,
16,
833,
13,
309,
425,
30,
612,
22850,
350,
16,
73,
65,
469,
30,
612,
22850,
350,
65,
436,
18,
6923,
12,
350,
13,
1335,
30,
1342,
1335,
30,
1342,
327,
436,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8071,
1972,
2673,
12,
2890,
16,
11483,
16,
833,
16,
4143,
67,
723,
5899,
723,
2668,
11,
4672,
20,
16,
618,
12,
21,
4672,
20,
16,
618,
12,
21,
18,
20,
4672,
20,
5496,
5332,
67,
856,
16,
262,
30,
468,
1220,
1410,
1361,
326,
3258,
434,
720,
3319,
1492,
854,
468,
4542,
429,
261,
5836,
17,
5531,
2934,
3519,
6606,
1410,
5903,
506,
468,
316,
326,
919,
300,
518,
903,
888,
16052,
326,
20856,
22075,
18,
436,
33,
8526,
612,
1747,
33,
1968,
3292,
350,
3546,
775,
30,
775,
30,
1516,
33,
588,
1747,
12,
2890,
16,
11483,
13,
1435,
1335,
6394,
30,
1516,
33,
1435,
364,
761,
316,
1516,
30,
775,
30,
309,
3869,
12,
1726,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.