rem
stringlengths 2
226k
| add
stringlengths 0
227k
| context
stringlengths 8
228k
| meta
stringlengths 156
215
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
my_bus = dbus.SystemBus() name = dbus.service.BusName('edu.duke.linux.Yum', bus=my_bus) yum_dbus = YumDbusInterface(name)
|
if not self.dbusintf: return
|
def emit_dbus(self, num_updates): """method to emit a dbus event for notice of updates""" # setup the dbus interface my_bus = dbus.SystemBus() name = dbus.service.BusName('edu.duke.linux.Yum', bus=my_bus) yum_dbus = YumDbusInterface(name) if num_updates > 0: msg = "%d updates available" % num_updates yum_dbus.UpdatesAvailableSignal(msg) else: msg = "No Updates Available" yum_dbus.NoUpdatesAvailableSignal(msg) del yum_dbus del name del my_bus
|
e2d410c6d27e539632284c34aafe0b0bf67c6b04 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5445/e2d410c6d27e539632284c34aafe0b0bf67c6b04/yum-updatesd.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3626,
67,
1966,
407,
12,
2890,
16,
818,
67,
14703,
4672,
3536,
2039,
358,
3626,
279,
21866,
871,
364,
11690,
434,
4533,
8395,
468,
3875,
326,
21866,
1560,
430,
486,
365,
18,
1966,
407,
17655,
30,
225,
327,
309,
818,
67,
14703,
405,
374,
30,
1234,
273,
2213,
72,
4533,
2319,
6,
738,
818,
67,
14703,
677,
379,
67,
1966,
407,
18,
5121,
5268,
11208,
12,
3576,
13,
469,
30,
1234,
273,
315,
2279,
15419,
15633,
6,
677,
379,
67,
1966,
407,
18,
2279,
5121,
5268,
11208,
12,
3576,
13,
225,
1464,
677,
379,
67,
1966,
407,
1464,
508,
1464,
3399,
67,
9274,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3626,
67,
1966,
407,
12,
2890,
16,
818,
67,
14703,
4672,
3536,
2039,
358,
3626,
279,
21866,
871,
364,
11690,
434,
4533,
8395,
468,
3875,
326,
21866,
1560,
430,
486,
365,
18,
1966,
407,
17655,
30,
225,
327,
309,
818,
67,
14703,
405,
374,
30,
1234,
273,
2213,
72,
4533,
2319,
6,
738,
818,
67,
14703,
677,
379,
67,
1966,
407,
18,
5121,
5268,
11208,
12,
3576,
13,
469,
30,
1234,
273,
315,
2279,
15419,
15633,
6,
677,
379,
67,
1966,
407,
18,
2279,
5121,
5268,
11208,
12,
3576,
13,
225,
1464,
677,
379,
67,
1966,
407,
1464,
508,
1464,
3399,
67,
9274,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
def test_diff_parser(self): parser = diff_parser.DiffParser(self._PATCH) self.assertEquals(2, len(parser.files)) self.assertTrue('WebCore/rendering/style/StyleFlexibleBoxData.h' in parser.files) diff = parser.files['WebCore/rendering/style/StyleFlexibleBoxData.h'] self.assertEquals(7, len(diff.lines)) self.assertEquals((47, 47), diff.lines[0][0:2]) self.assertEquals('', diff.lines[0][2]) self.assertEquals((48, 48), diff.lines[1][0:2]) self.assertEquals(' unsigned align : 3; // EBoxAlignment', diff.lines[1][2]) self.assertEquals((50, 0), diff.lines[3][0:2]) self.assertEquals(' unsigned orient: 1; // EBoxOrient', diff.lines[3][2]) self.assertTrue('WebCore/rendering/style/StyleRareInheritedData.cpp' in parser.files) diff = parser.files['WebCore/rendering/style/StyleRareInheritedData.cpp'] self.assertEquals(7 + 7 + 9, len(diff.lines)) self.assertEquals((60, 61), diff.lines[9][0:2]) self.assertEquals((0, 62), diff.lines[10][0:2]) self.assertEquals((61, 63), diff.lines[11][0:2]) self.assertEquals((81, 83), diff.lines[14][0:2]) self.assertEquals((82, 84), diff.lines[15][0:2]) self.assertEquals((83, 85), diff.lines[16][0:2]) self.assertEquals((84, 0), diff.lines[17][0:2]) self.assertEquals((0, 86), diff.lines[18][0:2]) self.assertEquals((0, 87), diff.lines[19][0:2]) self.assertEquals((85, 88), diff.lines[20][0:2]) self.assertEquals((86, 89), diff.lines[21][0:2]) self.assertEquals((87, 90), diff.lines[22][0:2])
|
def match(pattern, string): """Matches the string with the pattern, caching the compiled regexp.""" if not pattern in _regexp_compile_cache: _regexp_compile_cache[pattern] = re.compile(pattern) return _regexp_compile_cache[pattern].match(string)
|
def test_diff_parser(self): parser = diff_parser.DiffParser(self._PATCH) self.assertEquals(2, len(parser.files))
|
167c85fb814b276a732d1ac61199e0f136195eb8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9392/167c85fb814b276a732d1ac61199e0f136195eb8/diff_parser.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
5413,
67,
4288,
12,
2890,
4672,
2082,
273,
3122,
67,
4288,
18,
5938,
2678,
12,
2890,
6315,
20366,
13,
365,
18,
11231,
8867,
12,
22,
16,
562,
12,
4288,
18,
2354,
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,
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413,
67,
4288,
12,
2890,
4672,
2082,
273,
3122,
67,
4288,
18,
5938,
2678,
12,
2890,
6315,
20366,
13,
365,
18,
11231,
8867,
12,
22,
16,
562,
12,
4288,
18,
2354,
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
] |
message(' ' + line)
|
message(line.rstrip()) message(' ' * (offset) + '^')
|
def check_lines(argument_name, lines, filename): """ Find all checks with matching first argument name and run all of them on each line. """ global state state = {} # {'previous_line': None} error_count = 0 checks = find_checks(argument_name) for location, line in lines: line_muted = mute_comment(mute_strings(line)) for name, check, args in checks: if args[0].endswith('_line'): line_arg = line elif args[0].endswith('_muted'): line_arg = line_muted else: raise NotImplementedError('unsupported argument %s' % args[0]) if len(args) == 1: result = check(line_arg) elif len(args) == 2 and args[1] == 'indent_level': # print line_arg, location[0] result = check(line_arg, location[0][2]) if result is not None: error_count += 1 offset, text = result # print name, text if options.testsuite: code = text[:4] base = os.path.basename(filename)[:4] if base == code: continue if base[0] == 'E' and code[0] == 'W': continue # print location, offset error(filename, location, offset, text) if options.show_source: message(' ' + line) # state['previous_line'] = line return error_count
|
adda59986218256322a485e046eba115a24e34d1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3111/adda59986218256322a485e046eba115a24e34d1/pep8.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
67,
3548,
12,
3446,
67,
529,
16,
2362,
16,
1544,
4672,
3536,
4163,
777,
4271,
598,
3607,
1122,
1237,
508,
471,
1086,
777,
434,
2182,
603,
1517,
980,
18,
3536,
2552,
919,
919,
273,
2618,
468,
13666,
11515,
67,
1369,
4278,
599,
97,
555,
67,
1883,
273,
374,
4271,
273,
1104,
67,
12366,
12,
3446,
67,
529,
13,
364,
2117,
16,
980,
316,
2362,
30,
980,
67,
81,
4817,
273,
312,
624,
67,
3469,
12,
81,
624,
67,
10219,
12,
1369,
3719,
364,
508,
16,
866,
16,
833,
316,
4271,
30,
309,
833,
63,
20,
8009,
5839,
1918,
2668,
67,
1369,
11,
4672,
980,
67,
3175,
273,
980,
1327,
833,
63,
20,
8009,
5839,
1918,
2668,
67,
81,
4817,
11,
4672,
980,
67,
3175,
273,
980,
67,
81,
4817,
469,
30,
1002,
11206,
2668,
24666,
1237,
738,
87,
11,
738,
833,
63,
20,
5717,
309,
562,
12,
1968,
13,
422,
404,
30,
563,
273,
866,
12,
1369,
67,
3175,
13,
1327,
562,
12,
1968,
13,
422,
576,
471,
833,
63,
21,
65,
422,
296,
9355,
67,
2815,
4278,
468,
1172,
980,
67,
3175,
16,
2117,
63,
20,
65,
563,
273,
866,
12,
1369,
67,
3175,
16,
2117,
63,
20,
6362,
22,
5717,
309,
563,
353,
486,
599,
30,
555,
67,
1883,
1011,
404,
1384,
16,
977,
273,
563,
468,
1172,
508,
16,
977,
309,
702,
18,
16341,
9519,
30,
981,
273,
977,
10531,
24,
65,
1026,
273,
1140,
18,
803,
18,
13909,
12,
3459,
13,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
67,
3548,
12,
3446,
67,
529,
16,
2362,
16,
1544,
4672,
3536,
4163,
777,
4271,
598,
3607,
1122,
1237,
508,
471,
1086,
777,
434,
2182,
603,
1517,
980,
18,
3536,
2552,
919,
919,
273,
2618,
468,
13666,
11515,
67,
1369,
4278,
599,
97,
555,
67,
1883,
273,
374,
4271,
273,
1104,
67,
12366,
12,
3446,
67,
529,
13,
364,
2117,
16,
980,
316,
2362,
30,
980,
67,
81,
4817,
273,
312,
624,
67,
3469,
12,
81,
624,
67,
10219,
12,
1369,
3719,
364,
508,
16,
866,
16,
833,
316,
4271,
30,
309,
833,
63,
20,
8009,
5839,
1918,
2668,
67,
1369,
11,
4672,
980,
67,
3175,
273,
980,
1327,
833,
63,
20,
8009,
5839,
1918,
2668,
67,
2
] |
self.state.__name__)
|
self.state_name())
|
def join(self, event): if self.state != self.prestart: log.debug(u'Not joining: already in state %s.', self.state.__name__) return
|
3f73253d963ee79b32d6c937d7e6fe5dcc6350be /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12048/3f73253d963ee79b32d6c937d7e6fe5dcc6350be/games.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1233,
12,
2890,
16,
871,
4672,
309,
365,
18,
2019,
480,
365,
18,
1484,
1937,
30,
613,
18,
4148,
12,
89,
11,
1248,
21239,
30,
1818,
316,
919,
738,
87,
1093,
16,
365,
18,
2019,
67,
529,
10756,
327,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1233,
12,
2890,
16,
871,
4672,
309,
365,
18,
2019,
480,
365,
18,
1484,
1937,
30,
613,
18,
4148,
12,
89,
11,
1248,
21239,
30,
1818,
316,
919,
738,
87,
1093,
16,
365,
18,
2019,
67,
529,
10756,
327,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if type(p) == Integer:
|
if type(p) == Integer or type(p) == int:
|
def isotopism(p): """ Returns a Permutation object that represents an isotopism (for rows, columns or symbols of a partial latin square). Since matrices in Sage are indexed from 0, this function translates +1 to agree with the Permutation class. We also handle PermutationGroupElements: EXAMPLES: sage: from sage.combinat.matrices.latin import * sage: isotopism(5) # identity on 5 points [1, 2, 3, 4, 5] sage: G = PermutationGroup(['(1,2,3)(4,5)']) sage: g = G.gen(0) sage: isotopism(g) [2, 3, 1, 5, 4] sage: isotopism([0,3,2,1]) # 0 goes to 0, 1 goes to 3, etc. [1, 4, 3, 2] sage: isotopism( (0,1,2) ) # single cycle, presented as a tuple [2, 3, 1] sage: x = isotopism( ((0,1,2), (3,4)) ) # tuple of cycles sage: print x [2, 3, 1, 5, 4] sage: x.to_cycles() [(1, 2, 3), (4, 5)] """ # Identity isotopism on p points: if type(p) == Integer: return Permutation(range(1, p+1)) if type(p) == PermutationGroupElement: # fixme Ask the Sage mailing list about the tuple/list issue! return Permutation(list(p.tuple())) if type(p) == list: # We expect a list like [0,3,2,1] which means # that 0 goes to 0, 1 goes to 3, etc. return Permutation(map(lambda x: x+1, p)) if type(p) == tuple: # We have a single cycle: if type(p[0]) == Integer: return Permutation(tuple(map(lambda x: x+1, p))) # We have a tuple of cycles: if type(p[0]) == tuple: x = isotopism(p[0]) for i in range(1, len(p)): x = x * isotopism(p[i]) return x # Not sure what we got! raise NotImplemented
|
9087d14f978c663baae98e9a365c4a3aa2a6f24c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/9087d14f978c663baae98e9a365c4a3aa2a6f24c/latin.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
29677,
556,
6228,
12,
84,
4672,
3536,
2860,
279,
13813,
9245,
733,
716,
8686,
392,
29677,
556,
6228,
261,
1884,
2595,
16,
2168,
578,
7963,
434,
279,
4702,
30486,
8576,
2934,
7897,
16415,
316,
348,
410,
854,
8808,
628,
374,
16,
333,
445,
2162,
815,
397,
21,
358,
1737,
992,
598,
326,
13813,
9245,
667,
18,
1660,
2546,
1640,
13813,
9245,
1114,
3471,
30,
225,
5675,
8900,
11386,
30,
272,
410,
30,
628,
272,
410,
18,
832,
4757,
270,
18,
7373,
12660,
18,
26578,
1930,
380,
272,
410,
30,
29677,
556,
6228,
12,
25,
13,
468,
4215,
603,
1381,
3143,
306,
21,
16,
576,
16,
890,
16,
1059,
16,
1381,
65,
225,
272,
410,
30,
611,
273,
13813,
9245,
1114,
12,
3292,
12,
21,
16,
22,
16,
23,
21433,
24,
16,
25,
2506,
5717,
272,
410,
30,
314,
273,
611,
18,
4507,
12,
20,
13,
272,
410,
30,
29677,
556,
6228,
12,
75,
13,
306,
22,
16,
890,
16,
404,
16,
1381,
16,
1059,
65,
225,
272,
410,
30,
29677,
556,
6228,
3816,
20,
16,
23,
16,
22,
16,
21,
5717,
468,
374,
13998,
358,
374,
16,
404,
13998,
358,
890,
16,
5527,
18,
306,
21,
16,
1059,
16,
890,
16,
576,
65,
225,
272,
410,
30,
29677,
556,
6228,
12,
261,
20,
16,
21,
16,
22,
13,
262,
468,
2202,
8589,
16,
31280,
487,
279,
3193,
306,
22,
16,
890,
16,
404,
65,
225,
272,
410,
30,
619,
273,
29677,
556,
6228,
12,
14015,
20,
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,
29677,
556,
6228,
12,
84,
4672,
3536,
2860,
279,
13813,
9245,
733,
716,
8686,
392,
29677,
556,
6228,
261,
1884,
2595,
16,
2168,
578,
7963,
434,
279,
4702,
30486,
8576,
2934,
7897,
16415,
316,
348,
410,
854,
8808,
628,
374,
16,
333,
445,
2162,
815,
397,
21,
358,
1737,
992,
598,
326,
13813,
9245,
667,
18,
1660,
2546,
1640,
13813,
9245,
1114,
3471,
30,
225,
5675,
8900,
11386,
30,
272,
410,
30,
628,
272,
410,
18,
832,
4757,
270,
18,
7373,
12660,
18,
26578,
1930,
380,
272,
410,
30,
29677,
556,
6228,
12,
25,
13,
468,
4215,
603,
1381,
3143,
306,
21,
16,
576,
16,
890,
16,
1059,
16,
1381,
65,
225,
272,
410,
30,
611,
273,
13813,
2
] |
if not mapper.extensions or self not in mapper.extensions: mapper.extensions.append( self)
|
if not mapper.extension or self not in mapper.extension: mapper.extension.append( self)
|
def __init__( self, *aggregations, **kargs): """ *aggregations - _Aggregation-subclass instances, to be maintained for this mapper """ self.off = False self.aggregations_by_table = groups = dict()
|
ad0416625eaa9aa9db3c69a115e5a24876289843 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10808/ad0416625eaa9aa9db3c69a115e5a24876289843/aggregation.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
365,
16,
380,
10751,
1012,
16,
2826,
79,
1968,
4672,
3536,
380,
10751,
1012,
300,
389,
12089,
17,
10678,
3884,
16,
358,
506,
11566,
8707,
364,
333,
5815,
3536,
365,
18,
3674,
273,
1083,
365,
18,
10751,
1012,
67,
1637,
67,
2121,
273,
3252,
273,
2065,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
365,
16,
380,
10751,
1012,
16,
2826,
79,
1968,
4672,
3536,
380,
10751,
1012,
300,
389,
12089,
17,
10678,
3884,
16,
358,
506,
11566,
8707,
364,
333,
5815,
3536,
365,
18,
3674,
273,
1083,
365,
18,
10751,
1012,
67,
1637,
67,
2121,
273,
3252,
273,
2065,
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
] |
def close(self):
|
def close(self):
|
def close(self):
|
d9300e7ae7f704ad263013ec13346104b4bba7ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/d9300e7ae7f704ad263013ec13346104b4bba7ba/binhex.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1746,
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,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
words.append(w[0] + ":*")
|
words.append(w[0])
|
def __init__(self, query): self.options = dict() self.options['matchlimit'] = default_match_limit self.options['scale'] = 1 self.options['tsquery'] = 'name' self.order = "shares.state" self.error = "" self.userquery = query self.sqlcond = [] self.sqlcount_joinpath = False; self.sqlcount_joinshares = False; qext = { 'type': self.parse_option_type, 'max': self.parse_option_max, 'min': self.parse_option_min, 'match': self.parse_option_match, 'host': self.parse_option_host, 'proto': self.parse_option_proto, 'port': self.parse_option_port, 'net': self.parse_option_net, 'avl': self.parse_option_avl, 'order': self.parse_option_order, 'scale': self.parse_option_scale, } qext_executed = dict() words = [] for w in re.findall(r'(?u)(\w+)(:(?:\w|\.|\,)*)?', query, re.UNICODE): if w[1] == "": ## prefix search in postgres 8.4, for postgres 8.3 use #words.append(w[0]) words.append(w[0] + ":*") elif qext.get(w[0]): option = w[0].encode("ascii") arg = w[1][1:] if arg != "": qext[option](option,arg) qext[option] = self.parse_option_onlyonce_plug else: self.error += "No arguments for query option '%s'.\n" % w[0] else: self.error += "Unknown query option: '%s'.\n" % w[0] if self.options['scale'] == 0: self.sqltsquery = qopt_match['unlimited'][self.options['tsquery']] else: self.sqltsquery = qopt_match['scaled'][self.options['tsquery']] self.options['matchlimit'] *= self.options['scale'] self.options['query'] = string.join(words, " & ") equery = re.search(r'(?u)(?P<equery>[^:]*) \w+:', query, re.UNICODE) self.options['equery'] = equery.group('equery') if equery else "NULL" ## if you want to allow empty queries... #if len(words) > 0: # self.sqlcond.append(self.sqltsquery) self.sqlcond.append(self.sqltsquery) if len(self.sqlcond) > 0: self.sqlquery = "WHERE " + string.join(self.sqlcond, " AND ") else: self.sqlquery = ""
|
58746403d8deb7fce9265ecb1352f32d08012a55 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4762/58746403d8deb7fce9265ecb1352f32d08012a55/views.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
843,
4672,
365,
18,
2116,
273,
2065,
1435,
365,
18,
2116,
3292,
1916,
3595,
3546,
273,
805,
67,
1916,
67,
3595,
365,
18,
2116,
3292,
5864,
3546,
273,
404,
365,
18,
2116,
3292,
3428,
2271,
3546,
273,
296,
529,
11,
365,
18,
1019,
273,
315,
30720,
18,
2019,
6,
365,
18,
1636,
273,
1408,
365,
18,
1355,
2271,
273,
843,
365,
18,
4669,
10013,
273,
5378,
365,
18,
4669,
1883,
67,
5701,
803,
273,
1083,
31,
365,
18,
4669,
1883,
67,
5701,
30720,
273,
1083,
31,
1043,
408,
273,
288,
296,
723,
4278,
225,
365,
18,
2670,
67,
3482,
67,
723,
16,
296,
1896,
4278,
282,
365,
18,
2670,
67,
3482,
67,
1896,
16,
296,
1154,
4278,
282,
365,
18,
2670,
67,
3482,
67,
1154,
16,
296,
1916,
4278,
225,
365,
18,
2670,
67,
3482,
67,
1916,
16,
296,
2564,
4278,
225,
365,
18,
2670,
67,
3482,
67,
2564,
16,
296,
9393,
4278,
365,
18,
2670,
67,
3482,
67,
9393,
16,
296,
655,
4278,
225,
365,
18,
2670,
67,
3482,
67,
655,
16,
296,
2758,
4278,
282,
365,
18,
2670,
67,
3482,
67,
2758,
16,
296,
842,
80,
4278,
282,
365,
18,
2670,
67,
3482,
67,
842,
80,
16,
296,
1019,
4278,
365,
18,
2670,
67,
3482,
67,
1019,
16,
296,
5864,
4278,
365,
18,
2670,
67,
3482,
67,
5864,
16,
289,
1043,
408,
67,
4177,
4817,
273,
2065,
1435,
4511,
273,
5378,
364,
341,
316,
283,
18,
4720,
454,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
843,
4672,
365,
18,
2116,
273,
2065,
1435,
365,
18,
2116,
3292,
1916,
3595,
3546,
273,
805,
67,
1916,
67,
3595,
365,
18,
2116,
3292,
5864,
3546,
273,
404,
365,
18,
2116,
3292,
3428,
2271,
3546,
273,
296,
529,
11,
365,
18,
1019,
273,
315,
30720,
18,
2019,
6,
365,
18,
1636,
273,
1408,
365,
18,
1355,
2271,
273,
843,
365,
18,
4669,
10013,
273,
5378,
365,
18,
4669,
1883,
67,
5701,
803,
273,
1083,
31,
365,
18,
4669,
1883,
67,
5701,
30720,
273,
1083,
31,
1043,
408,
273,
288,
296,
723,
4278,
225,
365,
18,
2670,
67,
3482,
67,
723,
16,
296,
1896,
4278,
282,
365,
18,
2670,
67,
3482,
67,
2
] |
print hg.hex(n) + parentstr
|
print hg.short(n) + parentstr
|
def is_reachable(ar, reachable, sha): if len(ar) == 0: return 1 mask = 0 for i in range(len(ar)): if sha in reachable[i]: mask |= 1 << i
|
1c5a771c9609237f9deb3e7d05682937d58d4a9e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/1c5a771c9609237f9deb3e7d05682937d58d4a9e/hgk.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
353,
67,
17246,
12,
297,
16,
19234,
16,
6056,
4672,
309,
562,
12,
297,
13,
422,
374,
30,
327,
404,
3066,
273,
374,
364,
277,
316,
1048,
12,
1897,
12,
297,
3719,
30,
309,
6056,
316,
19234,
63,
77,
14542,
3066,
5626,
404,
2296,
277,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
353,
67,
17246,
12,
297,
16,
19234,
16,
6056,
4672,
309,
562,
12,
297,
13,
422,
374,
30,
327,
404,
3066,
273,
374,
364,
277,
316,
1048,
12,
1897,
12,
297,
3719,
30,
309,
6056,
316,
19234,
63,
77,
14542,
3066,
5626,
404,
2296,
277,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
skipyes = len(code); emit(0)
|
skipyes = _len(code); emit(0)
|
def fixup(literal, flags=flags): return _sre.getlower(literal, flags)
|
01c9f8c35f583338e3638906ceeef9d2f29a0254 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/01c9f8c35f583338e3638906ceeef9d2f29a0254/sre_compile.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2917,
416,
12,
13107,
16,
2943,
33,
7133,
4672,
327,
389,
87,
266,
18,
588,
8167,
12,
13107,
16,
2943,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2917,
416,
12,
13107,
16,
2943,
33,
7133,
4672,
327,
389,
87,
266,
18,
588,
8167,
12,
13107,
16,
2943,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
raise ValueError("illegal content-type")
|
raise ValueError("illegal content-type: %s" % value)
|
def __new__(cls, value): if value == '*': return value try: type, subtype = value.split('/') except ValueError: raise ValueError("illegal content-type") else: if type == '*': raise ValueError("illegal content-type") return value
|
3cae613772a4d83540db51ff77665fd8d690f701 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5703/3cae613772a4d83540db51ff77665fd8d690f701/datatypes.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2704,
972,
12,
6429,
16,
460,
4672,
309,
460,
422,
5306,
30,
327,
460,
775,
30,
618,
16,
12308,
273,
460,
18,
4939,
2668,
2473,
13,
1335,
2068,
30,
1002,
2068,
2932,
31751,
913,
17,
723,
30,
738,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2704,
972,
12,
6429,
16,
460,
4672,
309,
460,
422,
5306,
30,
327,
460,
775,
30,
618,
16,
12308,
273,
460,
18,
4939,
2668,
2473,
13,
1335,
2068,
30,
1002,
2068,
2932,
31751,
913,
17,
723,
30,
738,
87,
6,
738,
460,
13,
469,
30,
309,
618,
422,
5306,
30,
1002,
2068,
2932,
31751,
913,
17,
723,
30,
738,
87,
6,
738,
460,
13,
327,
460,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 instance._get_pk_val() is None: return getattr(instance, "__%s_save_defered_tags" % self.name, "") elif instance is not None: tags = Tag.objects.get_for_object(instance) else: tags = Tag.objects.usage_for_model(type(instance)) return " ".join(map(str, tags))
|
if instance is None: return tags2str(Tag.objects.usage_for_model(owner)) tags = self._get_instance_tag_cache(instance) if tags is None: if instance._get_pk_val() is None: self._set_instance_tag_cache(instance, "") else: self._set_instance_tag_cache(instance, tags2str(Tag.objects.get_for_object(instance))) return self._get_instance_tag_cache(instance)
|
def __get__(self, instance, owner=None): """ Tag getter. Returns an instance's tags if accessed on an instance, and all of a model's tags if called on a class. That is, this model::
|
c9e78313901ad0ac40f84965bfc1dc47b3f3bc48 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4290/c9e78313901ad0ac40f84965bfc1dc47b3f3bc48/fields.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
588,
972,
12,
2890,
16,
791,
16,
3410,
33,
7036,
4672,
3536,
4034,
7060,
18,
2860,
392,
791,
1807,
2342,
309,
15539,
603,
392,
791,
16,
471,
777,
434,
279,
938,
1807,
2342,
309,
2566,
603,
279,
667,
18,
12466,
353,
16,
333,
938,
2866,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
588,
972,
12,
2890,
16,
791,
16,
3410,
33,
7036,
4672,
3536,
4034,
7060,
18,
2860,
392,
791,
1807,
2342,
309,
15539,
603,
392,
791,
16,
471,
777,
434,
279,
938,
1807,
2342,
309,
2566,
603,
279,
667,
18,
12466,
353,
16,
333,
938,
2866,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
_tryorder = os.environ["BROWSER"].split(":")
|
_tryorder = os.environ["BROWSER"].split(os.pathsep)
|
def open_new(self, url): self.open(url)
|
2d32e43217940fb526b9674167b3fce5054cac8c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/2d32e43217940fb526b9674167b3fce5054cac8c/webbrowser.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1696,
67,
2704,
12,
2890,
16,
880,
4672,
365,
18,
3190,
12,
718,
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,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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
debug(" effective request-host %s does not domain-match " "%s", erhn, domain)
|
_debug(" effective request-host %s does not domain-match " "%s", erhn, domain)
|
def set_ok_domain(self, cookie, request): if self.is_blocked(cookie.domain): debug(" domain %s is in user block-list", cookie.domain) return False if self.is_not_allowed(cookie.domain): debug(" domain %s is not in user allow-list", cookie.domain) return False if cookie.domain_specified: req_host, erhn = eff_request_host(request) domain = cookie.domain if self.strict_domain and (domain.count(".") >= 2): # XXX This should probably be compared with the Konqueror # (kcookiejar.cpp) and Mozilla implementations, but it's a # losing battle. i = domain.rfind(".") j = domain.rfind(".", 0, i) if j == 0: # domain like .foo.bar tld = domain[i+1:] sld = domain[j+1:i] if sld.lower() in ("co", "ac", "com", "edu", "org", "net", "gov", "mil", "int", "aero", "biz", "cat", "coop", "info", "jobs", "mobi", "museum", "name", "pro", "travel", "eu") and len(tld) == 2: # domain like .co.uk debug(" country-code second level domain %s", domain) return False if domain.startswith("."): undotted_domain = domain[1:] else: undotted_domain = domain embedded_dots = (undotted_domain.find(".") >= 0) if not embedded_dots and domain != ".local": debug(" non-local domain %s contains no embedded dot", domain) return False if cookie.version == 0: if (not erhn.endswith(domain) and (not erhn.startswith(".") and not ("."+erhn).endswith(domain))): debug(" effective request-host %s (even with added " "initial dot) does not end end with %s", erhn, domain) return False if (cookie.version > 0 or (self.strict_ns_domain & self.DomainRFC2965Match)): if not domain_match(erhn, domain): debug(" effective request-host %s does not domain-match " "%s", erhn, domain) return False if (cookie.version > 0 or (self.strict_ns_domain & self.DomainStrictNoDots)): host_prefix = req_host[:-len(domain)] if (host_prefix.find(".") >= 0 and not IPV4_RE.search(req_host)): debug(" host prefix %s for domain %s contains a dot", host_prefix, domain) return False return True
|
e3485b205e7bc77f437c4e5fc2d8b00eefb7fc77 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/e3485b205e7bc77f437c4e5fc2d8b00eefb7fc77/cookielib.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
67,
601,
67,
4308,
12,
2890,
16,
3878,
16,
590,
4672,
309,
365,
18,
291,
67,
23156,
12,
8417,
18,
4308,
4672,
1198,
2932,
282,
2461,
738,
87,
353,
316,
729,
1203,
17,
1098,
3113,
3878,
18,
4308,
13,
327,
1083,
309,
365,
18,
291,
67,
902,
67,
8151,
12,
8417,
18,
4308,
4672,
1198,
2932,
282,
2461,
738,
87,
353,
486,
316,
729,
1699,
17,
1098,
3113,
3878,
18,
4308,
13,
327,
1083,
309,
3878,
18,
4308,
67,
13827,
30,
1111,
67,
2564,
16,
6445,
76,
82,
273,
16419,
67,
2293,
67,
2564,
12,
2293,
13,
2461,
273,
3878,
18,
4308,
309,
365,
18,
13948,
67,
4308,
471,
261,
4308,
18,
1883,
2932,
1199,
13,
1545,
576,
4672,
468,
11329,
1220,
1410,
8656,
506,
15843,
598,
326,
1475,
265,
25734,
280,
468,
261,
79,
8417,
11930,
18,
4057,
84,
13,
471,
19058,
10745,
16164,
16,
1496,
518,
1807,
279,
468,
437,
2470,
324,
4558,
298,
18,
277,
273,
2461,
18,
86,
4720,
2932,
1199,
13,
525,
273,
2461,
18,
86,
4720,
2932,
1199,
16,
374,
16,
277,
13,
309,
525,
422,
374,
30,
225,
468,
2461,
3007,
263,
11351,
18,
3215,
23373,
273,
2461,
63,
77,
15,
21,
26894,
272,
1236,
273,
2461,
63,
78,
15,
21,
30,
77,
65,
309,
272,
1236,
18,
8167,
1435,
316,
7566,
2894,
3113,
315,
1077,
3113,
315,
832,
3113,
315,
28049,
3113,
315,
3341,
3113,
315,
2758,
3113,
315,
75,
1527,
3113,
315,
81,
330,
3113,
315,
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,
444,
67,
601,
67,
4308,
12,
2890,
16,
3878,
16,
590,
4672,
309,
365,
18,
291,
67,
23156,
12,
8417,
18,
4308,
4672,
1198,
2932,
282,
2461,
738,
87,
353,
316,
729,
1203,
17,
1098,
3113,
3878,
18,
4308,
13,
327,
1083,
309,
365,
18,
291,
67,
902,
67,
8151,
12,
8417,
18,
4308,
4672,
1198,
2932,
282,
2461,
738,
87,
353,
486,
316,
729,
1699,
17,
1098,
3113,
3878,
18,
4308,
13,
327,
1083,
309,
3878,
18,
4308,
67,
13827,
30,
1111,
67,
2564,
16,
6445,
76,
82,
273,
16419,
67,
2293,
67,
2564,
12,
2293,
13,
2461,
273,
3878,
18,
4308,
309,
365,
18,
13948,
67,
4308,
471,
261,
4308,
18,
1883,
2932,
1199,
13,
1545,
2
] |
populate_pkg(pkg, p)
|
populate_pkg(pkg, p, timestamp=timestamp)
|
def db_update(archname, pkgs): """ Parses a list and updates the Arch dev database accordingly. Arguments: pkgs -- A list of Pkg objects. """ logger.info('Updating Arch: %s' % archname) repository = Repo.objects.get(name__iexact=pkgs[0].repo) architecture = Arch.objects.get(name__iexact=archname) dbpkgs = Package.objects.filter(arch=architecture, repo=repository) # It makes sense to fully evaluate our DB query now because we will # be using 99% of the objects in our "in both sets" loop. Force eval # by calling list() on the QuerySet. list(dbpkgs) # This makes our inner loop where we find packages by name *way* more # efficient by not having to go to the database for each package to # SELECT them by name. dbdict = dict([(pkg.pkgname, pkg) for pkg in dbpkgs]) # go go set theory! # thank you python for having a set class <3 logger.debug("Creating sets") dbset = set([pkg.pkgname for pkg in dbpkgs]) syncset = set([pkg.name for pkg in pkgs]) logger.info("%d packages in current web DB" % len(dbset)) logger.info("%d packages in new updating db" % len(syncset)) # packages in syncdb and not in database (add to database) logger.debug("Set theory: Packages in syncdb not in database") in_sync_not_db = syncset - dbset logger.info("%d packages in sync not db" % len(in_sync_not_db)) # Try to catch those random orphaning issues that make Eric so unhappy. if len(dbset) > 20: dbpercent = 100.0 * len(syncset) / len(dbset) else: # we don't have 20 packages in this repo/arch, so this check could # produce a lot of false positives (or a div by zero). fake it dbpercent = 100.0 logger.info("DB package ratio: %.1f%%" % dbpercent) if dbpercent < 50.0 and repository.name.lower().find('testing') == -1: logger.error(".db.tar.gz has %.1f%% the number of packages in the web database" % dbpercent) raise SomethingFishyException( 'It looks like the syncdb is less than half the size of the web db. WTF?') if dbpercent < 75.0: logger.warning(".db.tar.gz has %.1f%% the number of packages in the web database." % dbpercent) for p in [x for x in pkgs if x.name in in_sync_not_db]: logger.info("Adding package %s", p.name) pkg = Package(pkgname = p.name, arch = architecture, repo = repository) populate_pkg(pkg, p) # packages in database and not in syncdb (remove from database) logger.debug("Set theory: Packages in database not in syncdb") in_db_not_sync = dbset - syncset for p in in_db_not_sync: logger.info("Removing package %s from database", p) Package.objects.get( pkgname=p, arch=architecture, repo=repository).delete() # packages in both database and in syncdb (update in database) logger.debug("Set theory: Packages in database and syncdb") pkg_in_both = syncset & dbset for p in [x for x in pkgs if x.name in pkg_in_both]: logger.debug("Looking for package updates") dbp = dbdict[p.name] if ''.join((p.ver,p.rel)) == ''.join((dbp.pkgver,dbp.pkgrel)): continue logger.info("Updating package %s in database", p.name) pkg = Package.objects.get( pkgname=p.name,arch=architecture, repo=repository) populate_pkg(pkg, p) logger.info('Finished updating Arch: %s' % archname)
|
655b3db1b7a8a78cfd74723bd9ed17011ed0c935 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11256/655b3db1b7a8a78cfd74723bd9ed17011ed0c935/reporead.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1319,
67,
2725,
12,
991,
529,
16,
16922,
4672,
3536,
2280,
2420,
279,
666,
471,
4533,
326,
16959,
4461,
2063,
15905,
18,
225,
13599,
30,
16922,
1493,
432,
666,
434,
453,
14931,
2184,
18,
225,
3536,
1194,
18,
1376,
2668,
17858,
16959,
30,
738,
87,
11,
738,
6637,
529,
13,
3352,
273,
15118,
18,
6911,
18,
588,
12,
529,
972,
77,
17165,
33,
25376,
63,
20,
8009,
7422,
13,
27418,
273,
16959,
18,
6911,
18,
588,
12,
529,
972,
77,
17165,
33,
991,
529,
13,
1319,
25376,
273,
7508,
18,
6911,
18,
2188,
12,
991,
33,
991,
18123,
16,
3538,
33,
9071,
13,
468,
2597,
7297,
12764,
358,
7418,
5956,
3134,
2383,
843,
2037,
2724,
732,
903,
468,
506,
1450,
14605,
9,
434,
326,
2184,
316,
3134,
315,
267,
3937,
1678,
6,
2798,
18,
11889,
5302,
468,
635,
4440,
666,
1435,
603,
326,
2770,
694,
18,
666,
12,
1966,
25376,
13,
468,
1220,
7297,
3134,
3443,
2798,
1625,
732,
1104,
5907,
635,
508,
380,
1888,
14,
1898,
468,
14382,
635,
486,
7999,
358,
1960,
358,
326,
2063,
364,
1517,
2181,
358,
468,
9111,
2182,
635,
508,
18,
1319,
1576,
273,
2065,
3816,
12,
10657,
18,
10657,
529,
16,
3475,
13,
364,
3475,
316,
1319,
25376,
5717,
225,
468,
1960,
1960,
444,
326,
630,
5,
468,
286,
2304,
1846,
5790,
364,
7999,
279,
444,
667,
411,
23,
1194,
18,
4148,
2932,
11092,
1678,
7923,
1319,
542,
273,
444,
3816,
10657,
18,
10657,
529,
364,
3475,
316,
1319,
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,
1319,
67,
2725,
12,
991,
529,
16,
16922,
4672,
3536,
2280,
2420,
279,
666,
471,
4533,
326,
16959,
4461,
2063,
15905,
18,
225,
13599,
30,
16922,
1493,
432,
666,
434,
453,
14931,
2184,
18,
225,
3536,
1194,
18,
1376,
2668,
17858,
16959,
30,
738,
87,
11,
738,
6637,
529,
13,
3352,
273,
15118,
18,
6911,
18,
588,
12,
529,
972,
77,
17165,
33,
25376,
63,
20,
8009,
7422,
13,
27418,
273,
16959,
18,
6911,
18,
588,
12,
529,
972,
77,
17165,
33,
991,
529,
13,
1319,
25376,
273,
7508,
18,
6911,
18,
2188,
12,
991,
33,
991,
18123,
16,
3538,
33,
9071,
13,
468,
2597,
7297,
12764,
358,
7418,
5956,
3134,
2383,
843,
2037,
2724,
732,
903,
468,
2
] |
if pygments and self.settings.add_syntax_highlighting and \ self.syntaxhighlighting: source = self._add_syntax_highlighting(source)
|
if (pygments and self.settings.add_syntax_highlighting and node.get('hilight', False)): language = node.get('language', 'python') source = self._add_syntax_highlighting(source, language)
|
def visit_literal_block(self, node): #ipshell('At visit_literal_block') source = node.astext() if pygments and self.settings.add_syntax_highlighting and \ self.syntaxhighlighting: source = self._add_syntax_highlighting(source) else: source = escape_cdata(source) lines = source.split('\n') lines1 = ['<wrappertag1 xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0">']
|
9f7a68885ccb5e448f0e1dc04a35bcae79a4721a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5620/9f7a68885ccb5e448f0e1dc04a35bcae79a4721a/__init__.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3757,
67,
13107,
67,
2629,
12,
2890,
16,
756,
4672,
468,
625,
10304,
2668,
861,
3757,
67,
13107,
67,
2629,
6134,
1084,
273,
756,
18,
689,
408,
1435,
309,
261,
2074,
75,
1346,
471,
365,
18,
4272,
18,
1289,
67,
14308,
67,
15978,
310,
471,
756,
18,
588,
2668,
76,
330,
750,
2187,
1083,
3719,
30,
2653,
273,
756,
18,
588,
2668,
4923,
2187,
296,
8103,
6134,
1084,
273,
365,
6315,
1289,
67,
14308,
67,
15978,
310,
12,
3168,
16,
2653,
13,
469,
30,
1084,
273,
4114,
67,
71,
892,
12,
3168,
13,
2362,
273,
1084,
18,
4939,
2668,
64,
82,
6134,
2362,
21,
273,
10228,
32,
4113,
672,
346,
21,
12302,
30,
955,
1546,
321,
30,
26501,
30,
1973,
30,
5111,
30,
556,
409,
504,
650,
30,
16741,
30,
955,
30,
21,
18,
20,
7918,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3757,
67,
13107,
67,
2629,
12,
2890,
16,
756,
4672,
468,
625,
10304,
2668,
861,
3757,
67,
13107,
67,
2629,
6134,
1084,
273,
756,
18,
689,
408,
1435,
309,
261,
2074,
75,
1346,
471,
365,
18,
4272,
18,
1289,
67,
14308,
67,
15978,
310,
471,
756,
18,
588,
2668,
76,
330,
750,
2187,
1083,
3719,
30,
2653,
273,
756,
18,
588,
2668,
4923,
2187,
296,
8103,
6134,
1084,
273,
365,
6315,
1289,
67,
14308,
67,
15978,
310,
12,
3168,
16,
2653,
13,
469,
30,
1084,
273,
4114,
67,
71,
892,
12,
3168,
13,
2362,
273,
1084,
18,
4939,
2668,
64,
82,
6134,
2362,
21,
273,
10228,
32,
4113,
672,
346,
21,
12302,
30,
955,
1546,
321,
30,
26501,
2
] |
buf = BIO.MemoryBuffer(cleartext)
|
buf = BIO.MemoryBuffer(self.cleartext)
|
def check_5_signEncrypt(self): global signedEncrypted s = SMIME.SMIME() buf = BIO.MemoryBuffer(cleartext) s.load_key('signer_key.pem', 'signer.pem') p7 = s.sign(buf) x509 = X509.load_cert('recipient.pem') sk = X509.X509_Stack() sk.push(x509) s.set_x509_stack(sk) s.set_cipher(SMIME.Cipher('des_ede3_cbc')) tmp = BIO.MemoryBuffer() s.write(tmp, p7) p7 = s.encrypt(tmp) # XXX Hmm, how to get PKCS7_SIGNED_ENVELOPED? assert p7.type() == SMIME.PKCS7_ENVELOPED, p7.type() out = BIO.MemoryBuffer() s.write(out, p7) signedEncrypted = out
|
35dd3ef04f86b49ce0a8c8dd259c6162e42f8b28 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10522/35dd3ef04f86b49ce0a8c8dd259c6162e42f8b28/test_smime.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
67,
25,
67,
2977,
13129,
12,
2890,
4672,
2552,
6726,
14678,
225,
272,
273,
12014,
3114,
18,
7303,
3114,
1435,
225,
1681,
273,
605,
4294,
18,
6031,
1892,
12,
2890,
18,
2131,
485,
408,
13,
225,
272,
18,
945,
67,
856,
2668,
2977,
264,
67,
856,
18,
20313,
2187,
296,
2977,
264,
18,
20313,
6134,
293,
27,
273,
272,
18,
2977,
12,
4385,
13,
225,
619,
5995,
273,
1139,
5995,
18,
945,
67,
7593,
2668,
20367,
18,
20313,
6134,
4343,
273,
1139,
5995,
18,
60,
5995,
67,
2624,
1435,
4343,
18,
6206,
12,
92,
5995,
13,
272,
18,
542,
67,
92,
5995,
67,
3772,
12,
7771,
13,
225,
272,
18,
542,
67,
17094,
12,
7303,
3114,
18,
13896,
2668,
5489,
67,
73,
323,
23,
67,
28409,
26112,
225,
1853,
273,
605,
4294,
18,
6031,
1892,
1435,
225,
272,
18,
2626,
12,
5645,
16,
293,
27,
13,
225,
293,
27,
273,
272,
18,
15890,
12,
5645,
13,
468,
11329,
670,
7020,
16,
3661,
358,
336,
21234,
27,
67,
21049,
67,
1157,
24397,
12120,
35,
1815,
293,
27,
18,
723,
1435,
422,
12014,
3114,
18,
26044,
27,
67,
1157,
24397,
12120,
16,
293,
27,
18,
723,
1435,
225,
596,
273,
605,
4294,
18,
6031,
1892,
1435,
272,
18,
2626,
12,
659,
16,
293,
27,
13,
225,
6726,
14678,
273,
596,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
67,
25,
67,
2977,
13129,
12,
2890,
4672,
2552,
6726,
14678,
225,
272,
273,
12014,
3114,
18,
7303,
3114,
1435,
225,
1681,
273,
605,
4294,
18,
6031,
1892,
12,
2890,
18,
2131,
485,
408,
13,
225,
272,
18,
945,
67,
856,
2668,
2977,
264,
67,
856,
18,
20313,
2187,
296,
2977,
264,
18,
20313,
6134,
293,
27,
273,
272,
18,
2977,
12,
4385,
13,
225,
619,
5995,
273,
1139,
5995,
18,
945,
67,
7593,
2668,
20367,
18,
20313,
6134,
4343,
273,
1139,
5995,
18,
60,
5995,
67,
2624,
1435,
4343,
18,
6206,
12,
92,
5995,
13,
272,
18,
542,
67,
92,
5995,
67,
3772,
12,
7771,
13,
225,
272,
18,
542,
67,
17094,
12,
7303,
3114,
18,
2
] |
packages=['formalchemy', 'formalchemy.tempita', 'formalchemy.ext'], package_data={'formalchemy': ['i18n/*/LC_MESSAGES/formalchemy.mo']},
|
packages=['formalchemy', 'formalchemy.tempita', 'formalchemy.ext', 'formalchemy.ext.pylons'], package_data={'formalchemy': ['i18n/*/LC_MESSAGES/formalchemy.mo', 'ext/pylons/*.tmpl']},
|
def read(filename): text = open(filename).read() text = unicode(text, 'utf-8').encode('ascii', 'xmlcharrefreplace') return xml.sax.saxutils.escape(text)
|
5da82edd76e31a86da0c2fc959de7ec8a6823d7c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13203/5da82edd76e31a86da0c2fc959de7ec8a6823d7c/setup.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
12,
3459,
4672,
977,
273,
1696,
12,
3459,
2934,
896,
1435,
977,
273,
5252,
12,
955,
16,
296,
3158,
17,
28,
16063,
3015,
2668,
9184,
2187,
296,
2902,
3001,
1734,
2079,
6134,
327,
2025,
18,
87,
651,
18,
87,
651,
5471,
18,
6939,
12,
955,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
12,
3459,
4672,
977,
273,
1696,
12,
3459,
2934,
896,
1435,
977,
273,
5252,
12,
955,
16,
296,
3158,
17,
28,
16063,
3015,
2668,
9184,
2187,
296,
2902,
3001,
1734,
2079,
6134,
327,
2025,
18,
87,
651,
18,
87,
651,
5471,
18,
6939,
12,
955,
13,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
except KeyError:
|
except KeyError, AttributeError:
|
def paginate(context, window=DEFAULT_WINDOW): """ Renders the ``pagination/pagination.html`` template, resulting in a Digg-like display of the available pages, given the current page. If there are too many pages to be displayed before and after the current page, then elipses will be used to indicate the undisplayed gap between page numbers. Requires one argument, ``context``, which should be a dictionary-like data structure and must contain the following keys: ``paginator`` A ``Paginator`` or ``QuerySetPaginator`` object. ``page_obj`` This should be the result of calling the page method on the aforementioned ``Paginator`` or ``QuerySetPaginator`` object, given the current page. This same ``context`` dictionary-like data structure may also include: ``getvars`` A dictionary of all of the **GET** parameters in the current request. This is useful to maintain certain types of state, even when requesting a different page. """ try: paginator = context['paginator'] page_obj = context['page_obj'] page_range = paginator.page_range # First and last are simply the first *n* pages and the last *n* pages, # where *n* is the current window size. first = set(page_range[:window]) last = set(page_range[-window:]) # Now we look around our current page, making sure that we don't wrap # around. current_start = page_obj.number-1-window if current_start < 0: current_start = 0 current_end = page_obj.number-1+window if current_end < 0: current_end = 0 current = set(page_range[current_start:current_end]) pages = [] # If there's no overlap between the first set of pages and the current # set of pages, then there's a possible need for elusion. if len(first.intersection(current)) == 0: first_list = list(first) first_list.sort() second_list = list(second) second_list.sort() pages.extend(first_list) diff = second_list[0] - first_list[-1] # If there is a gap of two, between the last page of the first # set and the first page of the current set, then we're missing a # page. if diff == 2: pages.append(second_list[0] - 1) # If the difference is just one, then there's nothing to be done, # as the pages need no elusion and are correct. elif diff == 1: pass # Otherwise, there's a bigger gap which needs to be signaled for # elusion, by pushing a None value to the page list. else: pages.append(None) pages.extend(second_list) else: unioned = list(first.union(current)) unioned.sort() pages.extend(unioned) # If there's no overlap between the current set of pages and the last # set of pages, then there's a possible need for elusion. if len(current.intersection(last)) == 0: second_list = list(last) second_list.sort() diff = second_list[0] - pages[-1] # If there is a gap of two, between the last page of the current # set and the first page of the last set, then we're missing a # page. if diff == 2: pages.append(second_list[0] - 1) # If the difference is just one, then there's nothing to be done, # as the pages need no elusion and are correct. elif diff == 1: pass # Otherwise, there's a bigger gap which needs to be signaled for # elusion, by pushing a None value to the page list. else: pages.append(None) pages.extend(second_list) else: differenced = list(last.difference(current)) differenced.sort() pages.extend(differenced) to_return = { 'pages': pages, 'page_obj': page_obj, 'paginator': paginator, 'is_paginated': paginator.count > paginator.per_page, } if 'request' in context: getvars = context['request'].GET.copy() if 'page' in getvars: del getvars['page'] if len(getvars.keys()) > 0: to_return['getvars'] = "&%s" % getvars.urlencode() else: to_return['getvars'] = '' return to_return except KeyError: return {}
|
777f6631eeb51a9f8abeeab561b0ff0c93bbbe6f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4362/777f6631eeb51a9f8abeeab561b0ff0c93bbbe6f/pagination_tags.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
15171,
12,
2472,
16,
2742,
33,
5280,
67,
23407,
4672,
3536,
534,
10130,
326,
12176,
17202,
19,
17202,
18,
2620,
10335,
1542,
16,
8156,
316,
279,
11678,
75,
17,
5625,
2562,
434,
326,
2319,
4689,
16,
864,
326,
783,
1363,
18,
225,
971,
1915,
854,
4885,
4906,
4689,
358,
506,
10453,
1865,
471,
1839,
326,
783,
1363,
16,
1508,
415,
625,
2420,
903,
506,
1399,
358,
10768,
326,
640,
5417,
329,
9300,
3086,
1363,
5600,
18,
225,
16412,
1245,
1237,
16,
12176,
2472,
68,
9191,
1492,
1410,
506,
279,
3880,
17,
5625,
501,
3695,
471,
1297,
912,
326,
3751,
1311,
30,
225,
12176,
9095,
4240,
10335,
432,
12176,
25041,
10335,
578,
12176,
1138,
694,
25041,
10335,
733,
18,
225,
12176,
2433,
67,
2603,
10335,
1220,
1410,
506,
326,
563,
434,
4440,
326,
1363,
707,
603,
326,
279,
1405,
475,
285,
329,
12176,
25041,
10335,
578,
12176,
1138,
694,
25041,
10335,
733,
16,
864,
326,
783,
1363,
18,
225,
1220,
1967,
12176,
2472,
10335,
3880,
17,
5625,
501,
3695,
2026,
2546,
2341,
30,
225,
12176,
588,
4699,
10335,
432,
3880,
434,
777,
434,
326,
2826,
3264,
636,
1472,
316,
326,
783,
590,
18,
1220,
353,
5301,
358,
17505,
8626,
1953,
434,
919,
16,
5456,
1347,
18709,
279,
3775,
1363,
18,
3536,
775,
30,
13755,
273,
819,
3292,
9095,
4240,
3546,
1363,
67,
2603,
273,
819,
3292,
2433,
67,
2603,
3546,
1363,
67,
3676,
273,
13755,
18,
2433,
67,
3676,
468,
5783,
471,
1142,
854,
8616,
326,
1122,
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,
15171,
12,
2472,
16,
2742,
33,
5280,
67,
23407,
4672,
3536,
534,
10130,
326,
12176,
17202,
19,
17202,
18,
2620,
10335,
1542,
16,
8156,
316,
279,
11678,
75,
17,
5625,
2562,
434,
326,
2319,
4689,
16,
864,
326,
783,
1363,
18,
225,
971,
1915,
854,
4885,
4906,
4689,
358,
506,
10453,
1865,
471,
1839,
326,
783,
1363,
16,
1508,
415,
625,
2420,
903,
506,
1399,
358,
10768,
326,
640,
5417,
329,
9300,
3086,
1363,
5600,
18,
225,
16412,
1245,
1237,
16,
12176,
2472,
68,
9191,
1492,
1410,
506,
279,
3880,
17,
5625,
501,
3695,
471,
1297,
912,
326,
3751,
1311,
30,
225,
12176,
9095,
4240,
10335,
432,
12176,
25041,
10335,
578,
12176,
1138,
694,
25041,
10335,
733,
18,
2
] |
now = time()
|
def run(self) : if self.watchDogTime == 0 : return False plugin = self.plugin CoInitialize()
|
531fa2a5a972f08eda5305028606976138012f04 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8076/531fa2a5a972f08eda5305028606976138012f04/__init__.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
12,
2890,
13,
294,
309,
365,
18,
7585,
40,
717,
950,
422,
374,
294,
327,
1083,
1909,
273,
365,
18,
4094,
7695,
7520,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
12,
2890,
13,
294,
309,
365,
18,
7585,
40,
717,
950,
422,
374,
294,
327,
1083,
1909,
273,
365,
18,
4094,
7695,
7520,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
self.log.info('%s is a symlink, attempting to copy link target' % subdir)
|
self.log.info('%s is a symlink, attempting to create link target' % subdir)
|
def exec_rsync_keep_links(self, source_dir, dst_loc, exclude_list): """rsync a potentially symlinked directory under PGDATA""" keep_symlinks = self.cf.getint("keep_symlinks", 1)
|
c488b698c160c235e1be01295c1f3d2724872c98 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14597/c488b698c160c235e1be01295c1f3d2724872c98/walmgr.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1196,
67,
5453,
1209,
67,
10102,
67,
7135,
12,
2890,
16,
1084,
67,
1214,
16,
3046,
67,
1829,
16,
4433,
67,
1098,
4672,
3536,
5453,
1209,
279,
13935,
10563,
329,
1867,
3613,
22116,
4883,
8395,
3455,
67,
21278,
87,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1196,
67,
5453,
1209,
67,
10102,
67,
7135,
12,
2890,
16,
1084,
67,
1214,
16,
3046,
67,
1829,
16,
4433,
67,
1098,
4672,
3536,
5453,
1209,
279,
13935,
10563,
329,
1867,
3613,
22116,
4883,
8395,
3455,
67,
21278,
87,
273,
365,
18,
8522,
18,
588,
474,
2932,
10102,
67,
21278,
87,
3113,
404,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
raise ApplicationConfigurationError(None, 'Container dataset %s has no replica on one site and backend. Please specify individual tid datasets!' % (ds, ds))
|
raise ApplicationConfigurationError(None, 'Container dataset %s has no replica on one site and backend. Please specify individual tid datasets!' % (ds))
|
def check(self): super(AnaTransform,self).check() if not self.inputdata.dataset: return if not self.backend: logger.warning("Determining backend and cloud...")
|
3d3a1b2bdb5bed8bd3d82bbfd7d7de38b93a33cb /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1488/3d3a1b2bdb5bed8bd3d82bbfd7d7de38b93a33cb/AnaTransform.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
12,
2890,
4672,
2240,
12,
979,
69,
4059,
16,
2890,
2934,
1893,
1435,
309,
486,
365,
18,
2630,
892,
18,
8682,
30,
327,
309,
486,
365,
18,
9993,
30,
1194,
18,
8551,
2932,
9139,
310,
4221,
471,
5051,
7070,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
12,
2890,
4672,
2240,
12,
979,
69,
4059,
16,
2890,
2934,
1893,
1435,
309,
486,
365,
18,
2630,
892,
18,
8682,
30,
327,
309,
486,
365,
18,
9993,
30,
1194,
18,
8551,
2932,
9139,
310,
4221,
471,
5051,
7070,
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
] |
_reportTotalNumberOfJobsName = "Share of executed jobs"
|
_reportTotalNumberOfJobsName = "Pie plot of executed jobs"
|
def _plotNumberOfJobs( self, reportRequest, plotInfo, filename ): metadata = { 'title' : 'Jobs by %s' % reportRequest[ 'grouping' ], 'starttime' : reportRequest[ 'startTime' ], 'endtime' : reportRequest[ 'endTime' ], 'span' : plotInfo[ 'granularity' ], 'ylabel' : plotInfo[ 'unit' ] } return self._generateStackedLinePlot( filename, plotInfo[ 'data'], metadata )
|
7420772aa36b86a744bdb1d0bcf5158d506a729b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/7420772aa36b86a744bdb1d0bcf5158d506a729b/JobPlotter.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4032,
9226,
7276,
12,
365,
16,
2605,
691,
16,
3207,
966,
16,
1544,
262,
30,
1982,
273,
288,
296,
2649,
11,
294,
296,
7276,
635,
738,
87,
11,
738,
2605,
691,
63,
296,
25592,
11,
308,
16,
296,
1937,
957,
11,
294,
2605,
691,
63,
296,
1937,
950,
11,
308,
16,
296,
409,
957,
11,
294,
2605,
691,
63,
296,
409,
950,
11,
308,
16,
296,
3969,
11,
294,
3207,
966,
63,
296,
75,
27234,
11,
308,
16,
296,
19806,
11,
294,
3207,
966,
63,
296,
4873,
11,
308,
225,
289,
327,
365,
6315,
7163,
2624,
329,
1670,
11532,
12,
1544,
16,
3207,
966,
63,
296,
892,
17337,
1982,
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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,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4032,
9226,
7276,
12,
365,
16,
2605,
691,
16,
3207,
966,
16,
1544,
262,
30,
1982,
273,
288,
296,
2649,
11,
294,
296,
7276,
635,
738,
87,
11,
738,
2605,
691,
63,
296,
25592,
11,
308,
16,
296,
1937,
957,
11,
294,
2605,
691,
63,
296,
1937,
950,
11,
308,
16,
296,
409,
957,
11,
294,
2605,
691,
63,
296,
409,
950,
11,
308,
16,
296,
3969,
11,
294,
3207,
966,
63,
296,
75,
27234,
11,
308,
16,
296,
19806,
11,
294,
3207,
966,
63,
296,
4873,
11,
308,
225,
289,
327,
365,
6315,
7163,
2624,
329,
1670,
11532,
12,
1544,
16,
3207,
966,
63,
296,
892,
17337,
1982,
262,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
def runAdobeCS5PatchInstaller(dmgpath):
|
def runAdobeCS5PatchInstaller(dmgpath, copylocal=False):
|
def runAdobeCS5PatchInstaller(dmgpath): munkicommon.display_status("Mounting disk image %s" % os.path.basename(dmgpath)) mountpoints = mountAdobeDmg(dmgpath) if mountpoints: patchinstaller = findAdobePatchInstallerApp(mountpoints[0]) if patchinstaller: # try to find and count the number of payloads # so we can give a rough progress indicator number_of_payloads = countPayloads(mountpoints[0]) munkicommon.display_status("Running Adobe Patch Installer") install_cmd = [ patchinstaller, '--mode=silent', '--skipProcessCheck=1' ] retcode = runAdobeInstallTool(install_cmd, number_of_payloads) else: munkicommon.display_error( "%s doesn't appear to contain AdobePatchInstaller.app." % os.path.basename(dmgpath)) retcode = -1 munkicommon.unmountdmg(mountpoints[0]) return retcode else: munkicommon.display_error("No mountable filesystems on %s" % dmgpath) return -1
|
d017f8be802d57d1f1e35025b468e64fd1d43ce9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6241/d017f8be802d57d1f1e35025b468e64fd1d43ce9/adobeutils.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
1871,
947,
73,
4596,
25,
7332,
18678,
12,
10956,
75,
803,
16,
1610,
3729,
33,
8381,
4672,
312,
1683,
335,
362,
2586,
18,
5417,
67,
2327,
2932,
8725,
310,
4234,
1316,
738,
87,
6,
738,
1140,
18,
803,
18,
13909,
12,
10956,
75,
803,
3719,
5344,
4139,
273,
5344,
1871,
947,
73,
40,
81,
75,
12,
10956,
75,
803,
13,
309,
5344,
4139,
30,
4729,
20163,
273,
1104,
1871,
947,
73,
7332,
18678,
3371,
12,
4778,
4139,
63,
20,
5717,
309,
4729,
20163,
30,
468,
775,
358,
1104,
471,
1056,
326,
1300,
434,
22790,
468,
1427,
732,
848,
8492,
279,
23909,
4007,
10664,
1300,
67,
792,
67,
7648,
87,
273,
1056,
6110,
87,
12,
4778,
4139,
63,
20,
5717,
312,
1683,
335,
362,
2586,
18,
5417,
67,
2327,
2932,
7051,
4052,
947,
73,
12042,
10284,
264,
7923,
3799,
67,
4172,
273,
306,
4729,
20163,
16,
3534,
3188,
33,
21862,
2187,
3534,
7457,
2227,
1564,
33,
21,
11,
308,
22115,
273,
1086,
1871,
947,
73,
6410,
6364,
12,
5425,
67,
4172,
16,
1300,
67,
792,
67,
7648,
87,
13,
469,
30,
312,
1683,
335,
362,
2586,
18,
5417,
67,
1636,
12,
2213,
87,
3302,
1404,
9788,
358,
912,
4052,
947,
73,
7332,
18678,
18,
2910,
1199,
738,
1140,
18,
803,
18,
13909,
12,
10956,
75,
803,
3719,
22115,
273,
300,
21,
312,
1683,
335,
362,
2586,
18,
318,
4778,
10956,
75,
12,
4778,
4139,
63,
20,
5717,
327,
22115,
469,
30,
312,
1683,
335,
362,
2586,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
1871,
947,
73,
4596,
25,
7332,
18678,
12,
10956,
75,
803,
16,
1610,
3729,
33,
8381,
4672,
312,
1683,
335,
362,
2586,
18,
5417,
67,
2327,
2932,
8725,
310,
4234,
1316,
738,
87,
6,
738,
1140,
18,
803,
18,
13909,
12,
10956,
75,
803,
3719,
5344,
4139,
273,
5344,
1871,
947,
73,
40,
81,
75,
12,
10956,
75,
803,
13,
309,
5344,
4139,
30,
4729,
20163,
273,
1104,
1871,
947,
73,
7332,
18678,
3371,
12,
4778,
4139,
63,
20,
5717,
309,
4729,
20163,
30,
468,
775,
358,
1104,
471,
1056,
326,
1300,
434,
22790,
468,
1427,
732,
848,
8492,
279,
23909,
4007,
10664,
1300,
67,
792,
67,
7648,
87,
273,
1056,
6110,
87,
12,
4778,
4139,
63,
2
] |
help()
|
print __doc__ return
|
def main(): try: opts, args = getopt.getopt(sys.argv[1:], "h") except getopt.error, msg: usage(2, msg) for o, a in opts: if o == "-h": help() if not args: usage(2, "at least one file argument is required") if args[1:]: sys.stderr.write("%s: extra file arguments ignored\n", sys.argv[0]) readwarnings(args[0])
|
1411e89cd48fda4dab58a672e67677772c9670ec /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/1411e89cd48fda4dab58a672e67677772c9670ec/fixdiv.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
13332,
775,
30,
1500,
16,
833,
273,
336,
3838,
18,
588,
3838,
12,
9499,
18,
19485,
63,
21,
30,
6487,
315,
76,
7923,
1335,
336,
3838,
18,
1636,
16,
1234,
30,
4084,
12,
22,
16,
1234,
13,
364,
320,
16,
279,
316,
1500,
30,
309,
320,
422,
3701,
76,
6877,
1172,
1001,
2434,
972,
327,
309,
486,
833,
30,
4084,
12,
22,
16,
315,
270,
4520,
1245,
585,
1237,
353,
1931,
7923,
309,
833,
63,
21,
30,
14542,
2589,
18,
11241,
18,
2626,
27188,
87,
30,
2870,
585,
1775,
5455,
64,
82,
3113,
2589,
18,
19485,
63,
20,
5717,
855,
12103,
12,
1968,
63,
20,
5717,
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,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320,
422,
3701,
76,
6877,
1172,
1001,
2434,
972,
327,
309,
486,
833,
30,
4084,
12,
22,
16,
315,
270,
4520,
1245,
585,
1237,
353,
1931,
7923,
309,
833,
63,
21,
30,
14542,
2589,
18,
11241,
18,
2626,
27188,
87,
30,
2870,
585,
1775,
5455,
64,
82,
3113,
2589,
18,
19485,
63,
20,
5717,
855,
12103,
12,
1968,
63,
20,
5717,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
xdata = lxml.etree.parse(self.data + '/config.xml').getroot()
|
try: xdata = lxml.etree.parse(self.data + '/config.xml').getroot() except IOError, e: print("Failed to read Packages configuration. Have you" " created your config.xml file?") raise Bcfg2.Server.Plugin.PluginInitError
|
def __init__(self, core, datastore): Bcfg2.Server.Plugin.Plugin.__init__(self, core, datastore) Bcfg2.Server.Plugin.StructureValidator.__init__(self) Bcfg2.Server.Plugin.Generator.__init__(self) cachepath = self.data + '/cache' self.sentinels = set() if not os.path.exists(cachepath): # create cache directory if needed os.makedirs(cachepath) xdata = lxml.etree.parse(self.data + '/config.xml').getroot() self.sources = [] for s in xdata.findall('APTSource'): self.sources.append(APTSource(cachepath, **source_from_xml(s))) for s in xdata.findall('YUMSource'): self.sources.append(YUMSource(cachepath, **source_from_xml(s))) for source in self.sources: try: source.read_files() except: self.logger.info("File read failed; updating sources", exc_info=1) try: source.update() source.read_files() except IOError, e: self.logger.error("Failed to update sources: " + str(e.code)) self.sentinels.update(source.basegroups)
|
ffff02894d23210fb8d60f85cbdb33ada5b26859 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11867/ffff02894d23210fb8d60f85cbdb33ada5b26859/Packages.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2922,
16,
9290,
4672,
605,
7066,
22,
18,
2081,
18,
3773,
18,
3773,
16186,
2738,
972,
12,
2890,
16,
2922,
16,
9290,
13,
605,
7066,
22,
18,
2081,
18,
3773,
18,
6999,
5126,
16186,
2738,
972,
12,
2890,
13,
605,
7066,
22,
18,
2081,
18,
3773,
18,
3908,
16186,
2738,
972,
12,
2890,
13,
1247,
803,
273,
365,
18,
892,
397,
1173,
2493,
11,
365,
18,
7569,
267,
10558,
273,
444,
1435,
309,
486,
1140,
18,
803,
18,
1808,
12,
2493,
803,
4672,
468,
752,
1247,
1867,
309,
3577,
1140,
18,
81,
9477,
10539,
12,
2493,
803,
13,
775,
30,
25363,
273,
328,
2902,
18,
31303,
18,
2670,
12,
2890,
18,
892,
397,
1173,
1425,
18,
2902,
16063,
588,
3085,
1435,
1335,
8340,
16,
425,
30,
1172,
2932,
2925,
358,
855,
7930,
1023,
1664,
18,
21940,
1846,
6,
315,
2522,
3433,
642,
18,
2902,
585,
7225,
13,
1002,
605,
7066,
22,
18,
2081,
18,
3773,
18,
3773,
2570,
668,
365,
18,
10141,
273,
5378,
364,
272,
316,
25363,
18,
4720,
454,
2668,
37,
1856,
1830,
11,
4672,
365,
18,
10141,
18,
6923,
12,
37,
1856,
1830,
12,
2493,
803,
16,
2826,
3168,
67,
2080,
67,
2902,
12,
87,
20349,
364,
272,
316,
25363,
18,
4720,
454,
2668,
61,
2799,
1830,
11,
4672,
365,
18,
10141,
18,
6923,
12,
61,
2799,
1830,
12,
2493,
803,
16,
2826,
3168,
67,
2080,
67,
2902,
12,
87,
20349,
364,
1084,
316,
365,
18,
10141,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2922,
16,
9290,
4672,
605,
7066,
22,
18,
2081,
18,
3773,
18,
3773,
16186,
2738,
972,
12,
2890,
16,
2922,
16,
9290,
13,
605,
7066,
22,
18,
2081,
18,
3773,
18,
6999,
5126,
16186,
2738,
972,
12,
2890,
13,
605,
7066,
22,
18,
2081,
18,
3773,
18,
3908,
16186,
2738,
972,
12,
2890,
13,
1247,
803,
273,
365,
18,
892,
397,
1173,
2493,
11,
365,
18,
7569,
267,
10558,
273,
444,
1435,
309,
486,
1140,
18,
803,
18,
1808,
12,
2493,
803,
4672,
468,
752,
1247,
1867,
309,
3577,
1140,
18,
81,
9477,
10539,
12,
2493,
803,
13,
775,
30,
25363,
273,
328,
2902,
18,
31303,
18,
2670,
12,
2890,
18,
892,
2
] |
QString error, QString message)
|
const QString &error, const QString &message)
|
def do_ifacenode(self, ifacenode): # Extract info name = ifacenode.getAttribute('name').replace('/', '').replace('_', '') + 'Interface' iface, = get_by_path(ifacenode, 'interface') dbusname = iface.getAttribute('name')
|
4e350c2e7680904b86e98f60cd563263d899fa5a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7593/4e350c2e7680904b86e98f60cd563263d899fa5a/qt4-client-gen.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
430,
1077,
20680,
12,
2890,
16,
309,
1077,
20680,
4672,
468,
8152,
1123,
508,
273,
309,
1077,
20680,
18,
588,
1499,
2668,
529,
16063,
2079,
2668,
19,
2187,
875,
2934,
2079,
2668,
67,
2187,
28707,
397,
296,
1358,
11,
9751,
16,
273,
336,
67,
1637,
67,
803,
12,
430,
1077,
20680,
16,
296,
5831,
6134,
21866,
529,
273,
9751,
18,
588,
1499,
2668,
529,
6134,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
430,
1077,
20680,
12,
2890,
16,
309,
1077,
20680,
4672,
468,
8152,
1123,
508,
273,
309,
1077,
20680,
18,
588,
1499,
2668,
529,
16063,
2079,
2668,
19,
2187,
875,
2934,
2079,
2668,
67,
2187,
28707,
397,
296,
1358,
11,
9751,
16,
273,
336,
67,
1637,
67,
803,
12,
430,
1077,
20680,
16,
296,
5831,
6134,
21866,
529,
273,
9751,
18,
588,
1499,
2668,
529,
6134,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if bulletRight > style.firstLineIndent:
|
indent = style.leftIndent+style.firstLineIndent if bulletRight > indent:
|
def _handleBulletWidth(bulletText,style,maxWidths): '''work out bullet width and adjust maxWidths[0] if neccessary ''' if bulletText <> None: if type(bulletText) is StringType: bulletWidth = stringWidth( bulletText, style.bulletFontName, style.bulletFontSize) else: #it's a list of fragments bulletWidth = 0 for f in bulletText: bulletWidth = bulletWidth + stringWidth(f.text, f.fontName, f.fontSize) bulletRight = style.bulletIndent + bulletWidth if bulletRight > style.firstLineIndent: #..then it overruns, and we have less space available on line 1 maxWidths[0] = maxWidths[0] - (bulletRight - style.firstLineIndent)
|
b2cf1e4f93a7f349035e282e7cc45fb5c48720b0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/b2cf1e4f93a7f349035e282e7cc45fb5c48720b0/paragraph.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4110,
38,
19994,
2384,
12,
70,
19994,
1528,
16,
4060,
16,
1896,
22407,
4672,
9163,
1252,
596,
31650,
1835,
471,
5765,
17681,
87,
63,
20,
65,
309,
290,
557,
614,
814,
9163,
309,
31650,
1528,
2813,
599,
30,
309,
618,
12,
70,
19994,
1528,
13,
353,
31570,
30,
31650,
2384,
273,
533,
2384,
12,
31650,
1528,
16,
2154,
18,
70,
19994,
5711,
461,
16,
2154,
18,
70,
19994,
22688,
13,
469,
30,
468,
305,
1807,
279,
666,
434,
14656,
31650,
2384,
273,
374,
364,
284,
316,
31650,
1528,
30,
31650,
2384,
273,
31650,
2384,
397,
533,
2384,
12,
74,
18,
955,
16,
284,
18,
5776,
461,
16,
284,
18,
5776,
1225,
13,
31650,
4726,
273,
2154,
18,
70,
19994,
7790,
397,
31650,
2384,
3504,
273,
2154,
18,
4482,
7790,
15,
4060,
18,
3645,
1670,
7790,
309,
31650,
4726,
405,
3504,
30,
468,
838,
15991,
518,
5713,
27595,
16,
471,
732,
1240,
5242,
3476,
2319,
603,
980,
404,
17681,
87,
63,
20,
65,
273,
17681,
87,
63,
20,
65,
300,
261,
70,
19994,
4726,
300,
2154,
18,
3645,
1670,
7790,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4110,
38,
19994,
2384,
12,
70,
19994,
1528,
16,
4060,
16,
1896,
22407,
4672,
9163,
1252,
596,
31650,
1835,
471,
5765,
17681,
87,
63,
20,
65,
309,
290,
557,
614,
814,
9163,
309,
31650,
1528,
2813,
599,
30,
309,
618,
12,
70,
19994,
1528,
13,
353,
31570,
30,
31650,
2384,
273,
533,
2384,
12,
31650,
1528,
16,
2154,
18,
70,
19994,
5711,
461,
16,
2154,
18,
70,
19994,
22688,
13,
469,
30,
468,
305,
1807,
279,
666,
434,
14656,
31650,
2384,
273,
374,
364,
284,
316,
31650,
1528,
30,
31650,
2384,
273,
31650,
2384,
397,
533,
2384,
12,
74,
18,
955,
16,
284,
18,
5776,
461,
16,
284,
18,
5776,
1225,
13,
31650,
4726,
273,
2154,
18,
2
] |
ge = group[-1][2]
|
ge = group[-1][3]
|
def combineLoci(record, min_distance): '''combined adjacent loci - this is somewhat cumbersome due to the format of the matches returned from msat (a dict with keys = motif). Essentially, we are running a pairwise comparison across all motifs located to determine which are within a predetermined distance from one another''' record.combined = {} if record.matches: temp_combined = [] reorder = () # turn our dict into something more useful for this purpose for motif in record.matches: for pos,val in enumerate(record.matches[motif]): reorder += ((motif, pos, val[0][0], val[0][1], val[1], val[2]),) # sort it reorder = sorted(reorder, key=operator.itemgetter(2)) # combine adjacent loci at < min_distance for i in reorder: included = False if not temp_combined: temp_combined.append([i]) else: for gp, g in enumerate(temp_combined): for elem in g: if i[2] - elem[3] <= min_distance: temp_combined[gp].append(i) included = True break if not included: temp_combined.append([i]) #if len(temp_combined[0]) > 1: # pdb.set_trace() # re-key for group in temp_combined: motifs = [] if len(group) > 1: gs = group[0][2] ge = group[-1][2] gp = group[0][4] gf = group[-1][5] else: gs, ge = group[0][2], group[0][3] gp, gf = group[0][4], group[0][5] name = '' member_count = 0 for pos,member in enumerate(group): if pos + 1 < len(group): dist = group[pos + 1][3] - group[pos][3] if dist > 1: spacer = '...' else: spacer = '' else: spacer = '' length = (member[3]-member[2])/len(member[0]) name += '%s(%s)%s' % (member[0], length, spacer) motifs.append([member[0],length]) member_count += 1 record.combined[name] = (((gs, ge), gp, gf, member_count, motifs),) return record
|
0a78b509b15b65a3bba6c888139b7e8b058a0280 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10703/0a78b509b15b65a3bba6c888139b7e8b058a0280/microsatellites.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8661,
1333,
77,
12,
3366,
16,
1131,
67,
8969,
4672,
9163,
27458,
16335,
1515,
77,
300,
333,
353,
18016,
11304,
14471,
2210,
1742,
6541,
358,
326,
740,
434,
326,
1885,
2106,
628,
4086,
270,
261,
69,
2065,
598,
1311,
273,
23686,
2934,
512,
1049,
11220,
16,
732,
854,
3549,
279,
21886,
5826,
10279,
777,
11310,
17249,
13801,
358,
4199,
1492,
854,
3470,
279,
3479,
4443,
329,
3888,
628,
1245,
4042,
26418,
1409,
18,
27458,
273,
2618,
309,
1409,
18,
8436,
30,
1906,
67,
27458,
273,
5378,
19427,
273,
1832,
468,
7005,
3134,
2065,
1368,
5943,
1898,
5301,
364,
333,
13115,
364,
23686,
316,
1409,
18,
8436,
30,
364,
949,
16,
1125,
316,
4241,
12,
3366,
18,
8436,
63,
18313,
430,
65,
4672,
19427,
1011,
14015,
18313,
430,
16,
949,
16,
1244,
63,
20,
6362,
20,
6487,
1244,
63,
20,
6362,
21,
6487,
1244,
63,
21,
6487,
1244,
63,
22,
65,
3631,
13,
468,
1524,
518,
19427,
273,
3115,
12,
266,
1019,
16,
498,
33,
9497,
18,
1726,
11990,
12,
22,
3719,
468,
8661,
16335,
1515,
77,
622,
411,
1131,
67,
8969,
364,
277,
316,
19427,
30,
5849,
273,
1083,
309,
486,
1906,
67,
27458,
30,
1906,
67,
27458,
18,
6923,
3816,
77,
5717,
469,
30,
364,
4178,
16,
314,
316,
4241,
12,
5814,
67,
27458,
4672,
364,
3659,
316,
314,
30,
309,
277,
63,
22,
65,
300,
3659,
63,
23,
65,
1648,
1131,
67,
8969,
30,
1906,
67,
27458,
63,
6403,
8009,
6923,
12,
77,
13,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8661,
1333,
77,
12,
3366,
16,
1131,
67,
8969,
4672,
9163,
27458,
16335,
1515,
77,
300,
333,
353,
18016,
11304,
14471,
2210,
1742,
6541,
358,
326,
740,
434,
326,
1885,
2106,
628,
4086,
270,
261,
69,
2065,
598,
1311,
273,
23686,
2934,
512,
1049,
11220,
16,
732,
854,
3549,
279,
21886,
5826,
10279,
777,
11310,
17249,
13801,
358,
4199,
1492,
854,
3470,
279,
3479,
4443,
329,
3888,
628,
1245,
4042,
26418,
1409,
18,
27458,
273,
2618,
309,
1409,
18,
8436,
30,
1906,
67,
27458,
273,
5378,
19427,
273,
1832,
468,
7005,
3134,
2065,
1368,
5943,
1898,
5301,
364,
333,
13115,
364,
23686,
316,
1409,
18,
8436,
30,
364,
949,
16,
1125,
316,
4241,
12,
3366,
18,
8436,
63,
2
] |
if ifile == '' :
|
if ifile.strip() == '' :
|
def collectionApiJdl( self, task, requirements='' ): """ build a collection jdl easy to be handled by the wmproxy API interface and gives back the list of input files for a better handling """
|
f8f39e00833147df894cf46d83a4d378392d15c3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8886/f8f39e00833147df894cf46d83a4d378392d15c3/SchedulerGLiteAPI.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1849,
3064,
46,
5761,
12,
365,
16,
1562,
16,
8433,
2218,
11,
262,
30,
3536,
1361,
279,
1849,
525,
5761,
12779,
358,
506,
7681,
635,
326,
18200,
5656,
1491,
1560,
471,
14758,
1473,
326,
666,
434,
810,
1390,
364,
279,
7844,
5057,
3536,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1849,
3064,
46,
5761,
12,
365,
16,
1562,
16,
8433,
2218,
11,
262,
30,
3536,
1361,
279,
1849,
525,
5761,
12779,
358,
506,
7681,
635,
326,
18200,
5656,
1491,
1560,
471,
14758,
1473,
326,
666,
434,
810,
1390,
364,
279,
7844,
5057,
3536,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
logger.notifyChannel('init', netsvc.LOG_ERROR, e) logger.notifyChannel('init', netsvc.LOG_ERROR, 'Could not delete id: %d of model %s\nThere should be some relation that points to this resource\nYou should manually fix this and restart --update=module' % (res_id, model))
|
self.__logger.exception( 'Could not delete id: %d of model %s\nThere ' 'should be some relation that points to this ' 'resource\nYou should manually fix this and ' 'restart with --update=module', res_id, model)
|
def _process_end(self, cr, uid, modules): if not modules: return True modules = list(modules) module_in = ",".join(["%s"] * len(modules)) cr.execute('select id,name,model,res_id,module from ir_model_data where module in (' + module_in + ') and noupdate=%s', modules + [False]) wkf_todo = [] for (id, name, model, res_id,module) in cr.fetchall(): if (module,name) not in self.loads: self.unlink_mark[(model,res_id)] = id if model=='workflow.activity': cr.execute('select res_type,res_id from wkf_instance where id in (select inst_id from wkf_workitem where act_id=%s)', (res_id,)) wkf_todo.extend(cr.fetchall()) cr.execute("update wkf_transition set condition='True', role_id=NULL, signal=NULL,act_to=act_from,act_from=%s where act_to=%s", (res_id,res_id)) cr.execute("delete from wkf_transition where act_to=%s", (res_id,))
|
ca39947d11c1a94ded13d4bd9b683cec4c6eaab0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/ca39947d11c1a94ded13d4bd9b683cec4c6eaab0/ir_model.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2567,
67,
409,
12,
2890,
16,
4422,
16,
4555,
16,
4381,
4672,
309,
486,
4381,
30,
327,
1053,
4381,
273,
666,
12,
6400,
13,
1605,
67,
267,
273,
5753,
18,
5701,
3816,
28385,
87,
11929,
380,
562,
12,
6400,
3719,
4422,
18,
8837,
2668,
4025,
612,
16,
529,
16,
2284,
16,
455,
67,
350,
16,
2978,
628,
9482,
67,
2284,
67,
892,
1625,
1605,
316,
7707,
397,
1605,
67,
267,
397,
8624,
471,
1158,
2725,
5095,
87,
2187,
4381,
397,
306,
8381,
5717,
26987,
74,
67,
9012,
273,
5378,
364,
261,
350,
16,
508,
16,
938,
16,
400,
67,
350,
16,
2978,
13,
316,
4422,
18,
5754,
454,
13332,
309,
261,
2978,
16,
529,
13,
486,
316,
365,
18,
17135,
30,
365,
18,
318,
1232,
67,
3355,
63,
12,
2284,
16,
455,
67,
350,
25887,
273,
612,
309,
938,
18920,
13815,
18,
9653,
4278,
4422,
18,
8837,
2668,
4025,
400,
67,
723,
16,
455,
67,
350,
628,
26987,
74,
67,
1336,
1625,
612,
316,
261,
4025,
1804,
67,
350,
628,
26987,
74,
67,
1252,
1726,
1625,
1328,
67,
350,
5095,
87,
13,
2187,
261,
455,
67,
350,
16,
3719,
26987,
74,
67,
9012,
18,
14313,
12,
3353,
18,
5754,
454,
10756,
4422,
18,
8837,
2932,
2725,
26987,
74,
67,
14936,
444,
2269,
2218,
5510,
2187,
2478,
67,
350,
33,
8560,
16,
4277,
33,
8560,
16,
621,
67,
869,
33,
621,
67,
2080,
16,
621,
67,
2080,
5095,
87,
1625,
1328,
67,
869,
5095,
87,
3113,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2567,
67,
409,
12,
2890,
16,
4422,
16,
4555,
16,
4381,
4672,
309,
486,
4381,
30,
327,
1053,
4381,
273,
666,
12,
6400,
13,
1605,
67,
267,
273,
5753,
18,
5701,
3816,
28385,
87,
11929,
380,
562,
12,
6400,
3719,
4422,
18,
8837,
2668,
4025,
612,
16,
529,
16,
2284,
16,
455,
67,
350,
16,
2978,
628,
9482,
67,
2284,
67,
892,
1625,
1605,
316,
7707,
397,
1605,
67,
267,
397,
8624,
471,
1158,
2725,
5095,
87,
2187,
4381,
397,
306,
8381,
5717,
26987,
74,
67,
9012,
273,
5378,
364,
261,
350,
16,
508,
16,
938,
16,
400,
67,
350,
16,
2978,
13,
316,
4422,
18,
5754,
454,
13332,
309,
261,
2978,
16,
529,
13,
486,
316,
2
] |
print 'builtin theme'
|
def LoadThemeCfg(self): ##current theme type radiobutton self.themeIsBuiltin.set(idleConf.GetOption('main','Theme','default', type='bool',default=1)) ##currently set theme currentOption=idleConf.CurrentTheme() print 'current option',currentOption ##load available theme option menus if self.themeIsBuiltin.get(): #default theme selected print 'builtin theme' itemList=idleConf.GetSectionList('default','highlight') itemList.sort() print 'builtin items:',itemList self.optMenuThemeBuiltin.SetMenu(itemList,currentOption) itemList=idleConf.GetSectionList('user','highlight') itemList.sort() print 'user items:',itemList if not itemList: self.radioThemeCustom.config(state=DISABLED) self.customTheme.set('- no custom themes -') else: self.optMenuThemeCustom.SetMenu(itemList,itemList[0]) else: #user theme selected print 'user theme' itemList=idleConf.GetSectionList('user','highlight') itemList.sort() print 'user items:',itemList self.optMenuThemeCustom.SetMenu(itemList,currentOption) itemList=idleConf.GetSectionList('default','highlight') itemList.sort() print 'builtin items:',itemList self.optMenuThemeBuiltin.SetMenu(itemList,itemList[0]) self.SetThemeType() ##load theme element option menu themeNames=self.themeElements.keys() themeNames.sort(self.__ThemeNameIndexCompare) self.optMenuHighlightTarget.SetMenu(themeNames,themeNames[0]) self.PaintThemeSample() self.SetHighlightTarget()
|
dfd0b296d766645bd2e01955a61f52643a483922 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/dfd0b296d766645bd2e01955a61f52643a483922/configDialog.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4444,
8335,
8198,
12,
2890,
4672,
7541,
2972,
5006,
618,
12094,
947,
2644,
365,
18,
7997,
2520,
28032,
18,
542,
12,
20390,
3976,
18,
967,
1895,
2668,
5254,
17023,
8335,
17023,
1886,
2187,
618,
2218,
6430,
2187,
1886,
33,
21,
3719,
7541,
2972,
715,
444,
5006,
783,
1895,
33,
20390,
3976,
18,
3935,
8335,
1435,
1172,
296,
2972,
1456,
2187,
2972,
1895,
7541,
945,
2319,
5006,
1456,
21374,
309,
365,
18,
7997,
2520,
28032,
18,
588,
13332,
468,
1886,
5006,
3170,
761,
682,
33,
20390,
3976,
18,
967,
5285,
682,
2668,
1886,
17023,
15978,
6134,
761,
682,
18,
3804,
1435,
1172,
296,
24553,
1516,
30,
2187,
1726,
682,
365,
18,
3838,
4599,
8335,
28032,
18,
694,
4599,
12,
1726,
682,
16,
2972,
1895,
13,
761,
682,
33,
20390,
3976,
18,
967,
5285,
682,
2668,
1355,
17023,
15978,
6134,
761,
682,
18,
3804,
1435,
1172,
296,
1355,
1516,
30,
2187,
1726,
682,
309,
486,
761,
682,
30,
365,
18,
17006,
8335,
3802,
18,
1425,
12,
2019,
33,
24493,
13,
365,
18,
3662,
8335,
18,
542,
2668,
17,
1158,
1679,
15455,
300,
6134,
469,
30,
365,
18,
3838,
4599,
8335,
3802,
18,
694,
4599,
12,
1726,
682,
16,
1726,
682,
63,
20,
5717,
469,
30,
468,
1355,
5006,
3170,
1172,
296,
1355,
5006,
11,
761,
682,
33,
20390,
3976,
18,
967,
5285,
682,
2668,
1355,
17023,
15978,
6134,
761,
682,
18,
3804,
1435,
1172,
296,
1355,
1516,
30,
2187,
1726,
682,
365,
18,
3838,
4599,
8335,
3802,
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,
4444,
8335,
8198,
12,
2890,
4672,
7541,
2972,
5006,
618,
12094,
947,
2644,
365,
18,
7997,
2520,
28032,
18,
542,
12,
20390,
3976,
18,
967,
1895,
2668,
5254,
17023,
8335,
17023,
1886,
2187,
618,
2218,
6430,
2187,
1886,
33,
21,
3719,
7541,
2972,
715,
444,
5006,
783,
1895,
33,
20390,
3976,
18,
3935,
8335,
1435,
1172,
296,
2972,
1456,
2187,
2972,
1895,
7541,
945,
2319,
5006,
1456,
21374,
309,
365,
18,
7997,
2520,
28032,
18,
588,
13332,
468,
1886,
5006,
3170,
761,
682,
33,
20390,
3976,
18,
967,
5285,
682,
2668,
1886,
17023,
15978,
6134,
761,
682,
18,
3804,
1435,
1172,
296,
24553,
1516,
30,
2187,
1726,
682,
365,
18,
3838,
4599,
8335,
28032,
18,
694,
4599,
12,
2
] |
|
iRFmod.setChannel(configElement.value);
|
iRFmod.setChannel(configElement.value + 30);
|
def setChannel(configElement): iRFmod.setChannel(configElement.value);
|
0a2ebc75611941d43114f7cd07fb944ae098bf7f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/0a2ebc75611941d43114f7cd07fb944ae098bf7f/RFmod.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
2909,
12,
1425,
1046,
4672,
277,
12918,
1711,
18,
542,
2909,
12,
1425,
1046,
18,
1132,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
2909,
12,
1425,
1046,
4672,
277,
12918,
1711,
18,
542,
2909,
12,
1425,
1046,
18,
1132,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 True
|
return 'comaintainer'
|
def _user_can_set_acls(self, userid, pkg): '''Check that the current user can set acls. ''' # Find the approved statuscode status = model.StatusTranslation.get_by(statusname='Approved')
|
baf9463fcca5ed33311fe33d72de3761db871f7e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9953/baf9463fcca5ed33311fe33d72de3761db871f7e/dispatcher.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1355,
67,
4169,
67,
542,
67,
69,
6429,
12,
2890,
16,
6709,
16,
3475,
4672,
9163,
1564,
716,
326,
783,
729,
848,
444,
30906,
18,
9163,
468,
4163,
326,
20412,
1267,
710,
1267,
273,
938,
18,
1482,
6717,
18,
588,
67,
1637,
12,
2327,
529,
2218,
31639,
6134,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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,
389,
1355,
67,
4169,
67,
542,
67,
69,
6429,
12,
2890,
16,
6709,
16,
3475,
4672,
9163,
1564,
716,
326,
783,
729,
848,
444,
30906,
18,
9163,
468,
4163,
326,
20412,
1267,
710,
1267,
273,
938,
18,
1482,
6717,
18,
588,
67,
1637,
12,
2327,
529,
2218,
31639,
6134,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
p = subprocess.Popen([sys.executable, "-c", "import os; os.abort()"])
|
old_limit = self._suppress_core_files() try: p = subprocess.Popen([sys.executable, "-c", "import os; os.abort()"]) finally: self._unsuppress_core_files(old_limit)
|
def test_run_abort(self): # returncode handles signal termination p = subprocess.Popen([sys.executable, "-c", "import os; os.abort()"]) p.wait() self.assertEqual(-p.returncode, signal.SIGABRT)
|
4633b74048f94164f8ab26e90df035094f59dadd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/4633b74048f94164f8ab26e90df035094f59dadd/test_subprocess.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
2681,
67,
18623,
12,
2890,
4672,
468,
18125,
7372,
4277,
19650,
1592,
67,
3595,
273,
365,
6315,
10840,
67,
3644,
67,
2354,
1435,
775,
30,
293,
273,
6652,
18,
52,
3190,
3816,
9499,
18,
17751,
16,
3701,
71,
3113,
315,
5666,
1140,
31,
1140,
18,
18623,
10031,
5717,
3095,
30,
365,
6315,
318,
10840,
67,
3644,
67,
2354,
12,
1673,
67,
3595,
13,
293,
18,
7048,
1435,
365,
18,
11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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
2681,
67,
18623,
12,
2890,
4672,
468,
18125,
7372,
4277,
19650,
1592,
67,
3595,
273,
365,
6315,
10840,
67,
3644,
67,
2354,
1435,
775,
30,
293,
273,
6652,
18,
52,
3190,
3816,
9499,
18,
17751,
16,
3701,
71,
3113,
315,
5666,
1140,
31,
1140,
18,
18623,
10031,
5717,
3095,
30,
365,
6315,
318,
10840,
67,
3644,
67,
2354,
12,
1673,
67,
3595,
13,
293,
18,
7048,
1435,
365,
18,
11231,
5812,
19236,
84,
18,
2463,
710,
16,
4277,
18,
18513,
2090,
12185,
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
] |
def gradient(self):
|
def gradient(self, variables=None):
|
def gradient(self): r""" Compute the gradient of a symbolic function. This function returns a vector whose components are the derivatives of the original function.
|
b2d24bfd9f40633dd4a53e6d0baf9f476708ffd0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/b2d24bfd9f40633dd4a53e6d0baf9f476708ffd0/calculus.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10292,
12,
2890,
16,
3152,
33,
7036,
4672,
436,
8395,
8155,
326,
10292,
434,
279,
16754,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10292,
12,
2890,
16,
3152,
33,
7036,
4672,
436,
8395,
8155,
326,
10292,
434,
279,
16754,
445,
18,
1220,
445,
1135,
279,
3806,
8272,
4085,
854,
326,
9630,
8785,
434,
326,
2282,
445,
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
] |
print "pyiwlist.py: unknown command '%s' (check 'pyiwlist.py --help')." % (option, )
|
print "iwlist.py: unknown command `%s' (check 'iwlist.py --help')." % (option, )
|
def main(): if len(sys.argv) < 1: usage() sys.exit(1) try: # Get the interface and command from command line ifname, option = sys.argv[1:] except ValueError: usage() sys.exit(2) # Make sure provided interface is a wireless device try: ifnames = getNICnames() except IOError, (errno, strerror): print "Error: %s" % (strerror, ) sys.exit(0) if ifnames == []: print "No wireless devices present or incompatible OS." sys.exit(0) try: ifnames.index(ifname) except ValueError: print "%s is not a wireless device." % (ifname, ) sys.exit(0) # build dictionary of commands and functions iwcommands = { "s" : ("scanning", print_scanning_results), "c" : ("channel", print_channels), "f" : ("frequency", print_channels), "b" : ("bitrate", print_bitrates), "ra" : ("rate", print_bitrates), "en" : ("encryption", print_encryption), "k" : ("keys", print_encryption), "po" : ("power", print_power), "t" : ("txpower", print_power), #"re" : ("retry", print_retry), #"ap" : ("ap", print_aps), #"ac" : ("accesspoints", print_aps), #"pe" : ("peers", print_aps), #"ev" : ("event", print_event), #"au" : ("auth", print_auth), #"w" : ("wpakeys", print_wpa), #"g" : ("genie", print_genie), #"m" : ("modulation", print_modulation), } wifi = Wireless(ifname) for command in iwcommands.keys(): if option.startswith(command): if iwcommands[command][0].startswith(option): iwcommands[command][1](wifi) sys.exit(0) print "pyiwlist.py: unknown command '%s' (check 'pyiwlist.py --help')." % (option, )
|
48376e374c4bd9e1b0646f7fe9461a8b4c60b492 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3159/48376e374c4bd9e1b0646f7fe9461a8b4c60b492/iwlist.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
13332,
309,
562,
12,
9499,
18,
19485,
13,
411,
404,
30,
4084,
1435,
2589,
18,
8593,
12,
21,
13,
775,
30,
468,
968,
326,
1560,
471,
1296,
628,
1296,
980,
309,
529,
16,
1456,
273,
2589,
18,
19485,
63,
21,
26894,
1335,
2068,
30,
4084,
1435,
2589,
18,
8593,
12,
22,
13,
225,
468,
4344,
3071,
2112,
1560,
353,
279,
6636,
2656,
2346,
775,
30,
309,
1973,
273,
11069,
2871,
1973,
1435,
1335,
8340,
16,
261,
19088,
16,
609,
1636,
4672,
1172,
315,
668,
30,
738,
87,
6,
738,
261,
701,
1636,
16,
262,
2589,
18,
8593,
12,
20,
13,
309,
309,
1973,
422,
5378,
30,
1172,
315,
2279,
6636,
2656,
7166,
3430,
578,
24430,
5932,
1199,
2589,
18,
8593,
12,
20,
13,
775,
30,
309,
1973,
18,
1615,
12,
430,
529,
13,
1335,
2068,
30,
1172,
2213,
87,
353,
486,
279,
6636,
2656,
2346,
1199,
738,
261,
430,
529,
16,
262,
2589,
18,
8593,
12,
20,
13,
225,
468,
1361,
3880,
434,
4364,
471,
4186,
25522,
7847,
273,
288,
315,
87,
6,
282,
294,
7566,
1017,
10903,
3113,
1172,
67,
1017,
10903,
67,
4717,
3631,
315,
71,
6,
282,
294,
7566,
4327,
3113,
1172,
67,
9114,
3631,
315,
74,
6,
282,
294,
7566,
14092,
3113,
1172,
67,
9114,
3631,
315,
70,
6,
282,
294,
7566,
3682,
5141,
3113,
1172,
67,
3682,
24285,
3631,
315,
354,
6,
225,
294,
7566,
5141,
3113,
1172,
67,
3682,
24285,
3631,
315,
275,
6,
225,
294,
7566,
16646,
3113,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
13332,
309,
562,
12,
9499,
18,
19485,
13,
411,
404,
30,
4084,
1435,
2589,
18,
8593,
12,
21,
13,
775,
30,
468,
968,
326,
1560,
471,
1296,
628,
1296,
980,
309,
529,
16,
1456,
273,
2589,
18,
19485,
63,
21,
26894,
1335,
2068,
30,
4084,
1435,
2589,
18,
8593,
12,
22,
13,
225,
468,
4344,
3071,
2112,
1560,
353,
279,
6636,
2656,
2346,
775,
30,
309,
1973,
273,
11069,
2871,
1973,
1435,
1335,
8340,
16,
261,
19088,
16,
609,
1636,
4672,
1172,
315,
668,
30,
738,
87,
6,
738,
261,
701,
1636,
16,
262,
2589,
18,
8593,
12,
20,
13,
309,
309,
1973,
422,
5378,
30,
1172,
315,
2279,
6636,
2656,
7166,
3430,
578,
24430,
5932,
1199,
2
] |
dm.pushFile(zipName, '/tests/xpcshell.7z') dm.unpackFile('xpcshell.7z')
|
if dm.pushFile(zipName, '/tests/xpcshell.7z') == None: raise devicemanager.FileError("failed to copy xpcshell.7z to device") if dm.unpackFile('xpcshell.7z') == None: raise devicemanager.FileError("failed to unpack xpcshell.7z on the device")
|
def main(): parser = RemoteXPCShellOptions() options, args = parser.parse_args() if len(args) < 2 and options.manifest is None or \ (len(args) < 1 and options.manifest is not None): print "len(args): " + str(len(args)) print >>sys.stderr, """Usage: %s <path to xpcshell> <test dirs> or: %s --manifest=test.manifest <path to xpcshell>""" % (sys.argv[0], sys.argv[0]) sys.exit(1) if (options.device == ''): print >>sys.stderr, "Error: Please provide an ip address for the remote device with the --device option" sys.exit(1) dm = devicemanager.DeviceManager(options.device, 20701) xpcsh = XPCShellRemote(dm) debuggerInfo = getDebuggerInfo(xpcsh.oldcwd, options.debugger, options.debuggerArgs, options.debuggerInteractive); if options.interactive and not options.testPath: print >>sys.stderr, "Error: You must specify a test filename in interactive mode!" sys.exit(1) # Zip up the xpcshell directory: 7z a <zipName> xpcshell/*, assuming we are in the xpcshell directory zipName = 'xpcshell.7z' try: Popen(['7z', 'a', zipName, '../xpcshell']).wait() except: print "to run these tests remotely, we require 7z to be installed and in your path" sys.exit(1) dm.pushFile(zipName, '/tests/xpcshell.7z') dm.unpackFile('xpcshell.7z') if not xpcsh.runTests(args[0], xrePath=options.xrePath, symbolsPath=options.symbolsPath, manifest=options.manifest, testdirs=args[1:], testPath=options.testPath, interactive=options.interactive, logfiles=options.logfiles, debuggerInfo=debuggerInfo): sys.exit(1)
|
8739f00757cb63b2bf8673366c0d4d7737fa2d46 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11102/8739f00757cb63b2bf8673366c0d4d7737fa2d46/remotexpcshelltests.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
13332,
225,
2082,
273,
6304,
60,
3513,
13220,
1320,
1435,
702,
16,
833,
273,
2082,
18,
2670,
67,
1968,
1435,
225,
309,
562,
12,
1968,
13,
411,
576,
471,
702,
18,
14357,
353,
599,
578,
521,
261,
1897,
12,
1968,
13,
411,
404,
471,
702,
18,
14357,
353,
486,
599,
4672,
1172,
315,
1897,
12,
1968,
4672,
315,
397,
609,
12,
1897,
12,
1968,
3719,
1172,
1671,
9499,
18,
11241,
16,
3536,
5357,
30,
738,
87,
411,
803,
358,
619,
2436,
10304,
34,
411,
3813,
7717,
34,
578,
30,
738,
87,
1493,
14357,
33,
3813,
18,
14357,
411,
803,
358,
619,
2436,
10304,
2984,
3660,
738,
261,
9499,
18,
19485,
63,
20,
6487,
2589,
18,
19485,
63,
20,
5717,
2589,
18,
8593,
12,
21,
13,
225,
309,
261,
2116,
18,
5964,
422,
875,
4672,
1172,
1671,
9499,
18,
11241,
16,
315,
668,
30,
7801,
5615,
392,
2359,
1758,
364,
326,
2632,
2346,
598,
326,
1493,
5964,
1456,
6,
2589,
18,
8593,
12,
21,
13,
282,
9113,
273,
2346,
4181,
18,
3654,
1318,
12,
2116,
18,
5964,
16,
4200,
27,
1611,
13,
619,
2436,
674,
273,
1139,
3513,
13220,
5169,
12,
10956,
13,
19977,
966,
273,
336,
24113,
966,
12,
92,
2436,
674,
18,
1673,
11089,
16,
702,
18,
4148,
693,
16,
702,
18,
4148,
693,
2615,
16,
702,
18,
4148,
693,
26442,
1769,
225,
309,
702,
18,
24761,
471,
486,
702,
18,
3813,
743,
30,
1172,
1671,
9499,
18,
11241,
16,
315,
668,
30,
4554,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
13332,
225,
2082,
273,
6304,
60,
3513,
13220,
1320,
1435,
702,
16,
833,
273,
2082,
18,
2670,
67,
1968,
1435,
225,
309,
562,
12,
1968,
13,
411,
576,
471,
702,
18,
14357,
353,
599,
578,
521,
261,
1897,
12,
1968,
13,
411,
404,
471,
702,
18,
14357,
353,
486,
599,
4672,
1172,
315,
1897,
12,
1968,
4672,
315,
397,
609,
12,
1897,
12,
1968,
3719,
1172,
1671,
9499,
18,
11241,
16,
3536,
5357,
30,
738,
87,
411,
803,
358,
619,
2436,
10304,
34,
411,
3813,
7717,
34,
578,
30,
738,
87,
1493,
14357,
33,
3813,
18,
14357,
411,
803,
358,
619,
2436,
10304,
2984,
3660,
738,
261,
9499,
18,
19485,
63,
20,
6487,
2589,
18,
19485,
63,
2
] |
self.wprefix = self.repo.wjoin('')
|
self.wprefix = join(repo.root, '') self.prefixlen = len(self.wprefix)
|
def __init__(self, ui, repo): self.ui = ui self.repo = repo self.wprefix = self.repo.wjoin('') try: self.watcher = watcher.watcher() except OSError, err: raise util.Abort(_('inotify service not available: %s') % err.strerror) self.threshold = watcher.threshold(self.watcher) self.fileno = self.watcher.fileno
|
6ff83483504ce4a234866df36ef34927cd9c7a4f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11312/6ff83483504ce4a234866df36ef34927cd9c7a4f/server.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
5915,
16,
3538,
4672,
365,
18,
4881,
273,
5915,
365,
18,
7422,
273,
3538,
365,
18,
91,
3239,
273,
1233,
12,
7422,
18,
3085,
16,
28707,
365,
18,
3239,
1897,
273,
562,
12,
2890,
18,
91,
3239,
13,
775,
30,
365,
18,
23894,
273,
9527,
18,
23894,
1435,
1335,
10002,
16,
393,
30,
1002,
1709,
18,
13572,
24899,
2668,
267,
352,
1164,
1156,
486,
2319,
30,
738,
87,
6134,
738,
393,
18,
701,
1636,
13,
365,
18,
8699,
273,
9527,
18,
8699,
12,
2890,
18,
23894,
13,
365,
18,
7540,
5764,
273,
365,
18,
23894,
18,
7540,
5764,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
5915,
16,
3538,
4672,
365,
18,
4881,
273,
5915,
365,
18,
7422,
273,
3538,
365,
18,
91,
3239,
273,
1233,
12,
7422,
18,
3085,
16,
28707,
365,
18,
3239,
1897,
273,
562,
12,
2890,
18,
91,
3239,
13,
775,
30,
365,
18,
23894,
273,
9527,
18,
23894,
1435,
1335,
10002,
16,
393,
30,
1002,
1709,
18,
13572,
24899,
2668,
267,
352,
1164,
1156,
486,
2319,
30,
738,
87,
6134,
738,
393,
18,
701,
1636,
13,
365,
18,
8699,
273,
9527,
18,
8699,
12,
2890,
18,
23894,
13,
365,
18,
7540,
5764,
273,
365,
18,
23894,
18,
7540,
5764,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return unicode(item, *args)
|
return unicodedata.normalize("NFC",unicode(item, *args))
|
def unic(item, *args): # Based on a recipe from http://code.activestate.com/recipes/466341 try: return unicode(item, *args) except UnicodeError: try: ascii_text = str(item).encode('string_escape') except UnicodeError: return "<unrepresentable object '%s'>" % item.__class__.__name__ else: return unicode(ascii_text)
|
431c43694fa3edc1e74c53ef264397f78cd46090 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7408/431c43694fa3edc1e74c53ef264397f78cd46090/unic.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
640,
335,
12,
1726,
16,
380,
1968,
4672,
468,
25935,
603,
279,
16100,
628,
1062,
2207,
710,
18,
11422,
395,
340,
18,
832,
19,
266,
3449,
281,
19,
8749,
4449,
9803,
775,
30,
327,
5252,
892,
18,
12237,
2932,
50,
4488,
3113,
9124,
12,
1726,
16,
380,
1968,
3719,
1335,
9633,
668,
30,
775,
30,
11384,
67,
955,
273,
609,
12,
1726,
2934,
3015,
2668,
1080,
67,
6939,
6134,
1335,
9633,
668,
30,
327,
3532,
318,
28205,
429,
733,
1995,
87,
28533,
738,
761,
16186,
1106,
972,
16186,
529,
972,
469,
30,
327,
5252,
12,
9184,
67,
955,
13,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
640,
335,
12,
1726,
16,
380,
1968,
4672,
468,
25935,
603,
279,
16100,
628,
1062,
2207,
710,
18,
11422,
395,
340,
18,
832,
19,
266,
3449,
281,
19,
8749,
4449,
9803,
775,
30,
327,
5252,
892,
18,
12237,
2932,
50,
4488,
3113,
9124,
12,
1726,
16,
380,
1968,
3719,
1335,
9633,
668,
30,
775,
30,
11384,
67,
955,
273,
609,
12,
1726,
2934,
3015,
2668,
1080,
67,
6939,
6134,
1335,
9633,
668,
30,
327,
3532,
318,
28205,
429,
733,
1995,
87,
28533,
738,
761,
16186,
1106,
972,
16186,
529,
972,
469,
30,
327,
5252,
12,
9184,
67,
955,
13,
282,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self._content += '<title type="text">%s</title>' % _title self._content += "<id>%s</id>" % self.revision self._content += "<updated>%s</updated>" % self.date self._content += "<author><name>%s</name></author>" % self.author _summary = escape('<p>%s</p><p>Files:<ul>%s</ul></p>' %
|
self._content += u'<title type="text">%s</title>' % _title self._content += u"<id>%s:%s</id>" % (ATOM_ID, self.revision) self._content += u"<updated>%s</updated>" % self.date self._content += u'<link rel="alternate" href=" self._content += u"<author><name>%s</name></author>" % self.author _summary = escape(u'<p>%s</p><p>Files:<ul>%s</ul></p>' %
|
def endElement(self, name): """Reset all the element flags and generate Atom XML if we have reached the end of a logentry.""" if name == 'logentry': self._content += "<entry>" _title = escape("%s: %s" % (self.revision, self.msg.replace('\n', ' '))) self._content += '<title type="text">%s</title>' % _title self._content += "<id>%s</id>" % self.revision self._content += "<updated>%s</updated>" % self.date self._content += "<author><name>%s</name></author>" % self.author _summary = escape('<p>%s</p><p>Files:<ul>%s</ul></p>' % (self.msg.replace('\n', '<br/>'), ''.join(["<li>%s %s</li>" % (a,p) for a,p in self.paths]))) self._content += ('<summary type="html" xml:space="preserve">%s' '</summary>' % _summary) self._content += "</entry>" self.paths = [] self.msg = '' elif name == 'msg': self.is_msg = False elif name == 'author': self.is_author = False elif name == 'date': self.is_date = False elif name == 'path': self.is_path = False
|
be2976e66a12ae1668007813c2bfe7c4b375aa89 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4674/be2976e66a12ae1668007813c2bfe7c4b375aa89/svnlogatom.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
14840,
12,
2890,
16,
508,
4672,
3536,
7013,
777,
326,
930,
2943,
471,
2103,
7149,
3167,
309,
732,
1240,
8675,
326,
679,
434,
279,
613,
4099,
12123,
309,
508,
422,
296,
1330,
4099,
4278,
365,
6315,
1745,
1011,
3532,
4099,
2984,
389,
2649,
273,
4114,
27188,
87,
30,
738,
87,
6,
738,
261,
2890,
18,
13057,
16,
365,
18,
3576,
18,
2079,
2668,
64,
82,
2187,
296,
296,
20349,
365,
6315,
1745,
1011,
582,
11,
32,
2649,
618,
1546,
955,
24038,
87,
1757,
2649,
1870,
738,
389,
2649,
365,
6315,
1745,
1011,
582,
6,
32,
350,
9822,
87,
5319,
87,
1757,
350,
2984,
738,
261,
28146,
67,
734,
16,
365,
18,
13057,
13,
365,
6315,
1745,
1011,
582,
6,
32,
7007,
9822,
87,
1757,
7007,
2984,
738,
365,
18,
712,
365,
6315,
1745,
1011,
582,
11,
32,
1232,
1279,
1546,
16025,
340,
6,
3897,
1546,
365,
6315,
1745,
1011,
582,
6,
32,
4161,
4438,
529,
9822,
87,
1757,
529,
4695,
4161,
2984,
738,
365,
18,
4161,
389,
7687,
273,
4114,
12,
89,
11,
32,
84,
9822,
87,
1757,
84,
4438,
84,
34,
2697,
22292,
332,
9822,
87,
1757,
332,
4695,
84,
1870,
738,
261,
2890,
18,
3576,
18,
2079,
2668,
64,
82,
2187,
2368,
2848,
18280,
3631,
875,
18,
5701,
3816,
6,
32,
549,
9822,
87,
738,
87,
1757,
549,
2984,
738,
261,
69,
16,
84,
13,
364,
279,
16,
84,
316,
365,
18,
4481,
65,
20349,
365,
6315,
1745,
1011,
7707,
32,
7687,
618,
1546,
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,
14840,
12,
2890,
16,
508,
4672,
3536,
7013,
777,
326,
930,
2943,
471,
2103,
7149,
3167,
309,
732,
1240,
8675,
326,
679,
434,
279,
613,
4099,
12123,
309,
508,
422,
296,
1330,
4099,
4278,
365,
6315,
1745,
1011,
3532,
4099,
2984,
389,
2649,
273,
4114,
27188,
87,
30,
738,
87,
6,
738,
261,
2890,
18,
13057,
16,
365,
18,
3576,
18,
2079,
2668,
64,
82,
2187,
296,
296,
20349,
365,
6315,
1745,
1011,
582,
11,
32,
2649,
618,
1546,
955,
24038,
87,
1757,
2649,
1870,
738,
389,
2649,
365,
6315,
1745,
1011,
582,
6,
32,
350,
9822,
87,
5319,
87,
1757,
350,
2984,
738,
261,
28146,
67,
734,
16,
365,
18,
13057,
13,
365,
6315,
1745,
1011,
582,
2
] |
if x[1] != 'in':
|
if x[1] == 'inselect': qu1.append('(%s.%s in (%s))' % (table._table, x[0], x[2][0])) qu2 += x[2][1] elif x[1] != 'in':
|
def _rec_get(ids, table, parent): if not ids: return [] ids2 = table.search(cr, user, [(parent, 'in', ids)], context=context) return ids + _rec_get(ids2, table, parent)
|
a3c9ba0b90a1e475cede0355ac8d0065165cc44d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7397/a3c9ba0b90a1e475cede0355ac8d0065165cc44d/orm.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
3927,
67,
588,
12,
2232,
16,
1014,
16,
982,
4672,
309,
486,
3258,
30,
327,
5378,
3258,
22,
273,
1014,
18,
3072,
12,
3353,
16,
729,
16,
306,
12,
2938,
16,
296,
267,
2187,
3258,
13,
6487,
819,
33,
2472,
13,
327,
3258,
397,
389,
3927,
67,
588,
12,
2232,
22,
16,
1014,
16,
982,
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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3258,
397,
389,
3927,
67,
588,
12,
2232,
22,
16,
1014,
16,
982,
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
] |
class DbEvaluationExporter(bulkloader.Exporter):
|
class AppEngineDbEvaluationExporter(bulkloader.Exporter):
|
def __init__(self): bulkloader.Loader.__init__(self, 'DbEvaluation', [('who', str), ('designation', str), ('comment', str), ('when', long), ('invocation', db.Key) ])
|
f52986380d28d283aa7e99a55fe860d0af45b9b6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10256/f52986380d28d283aa7e99a55fe860d0af45b9b6/models.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
8280,
6714,
18,
2886,
16186,
2738,
972,
12,
2890,
16,
296,
4331,
13468,
2187,
306,
2668,
3350,
83,
2187,
609,
3631,
7707,
16934,
367,
2187,
609,
3631,
7707,
3469,
2187,
609,
3631,
7707,
13723,
2187,
1525,
3631,
7707,
5768,
4431,
2187,
1319,
18,
653,
13,
308,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
8280,
6714,
18,
2886,
16186,
2738,
972,
12,
2890,
16,
296,
4331,
13468,
2187,
306,
2668,
3350,
83,
2187,
609,
3631,
7707,
16934,
367,
2187,
609,
3631,
7707,
3469,
2187,
609,
3631,
7707,
13723,
2187,
1525,
3631,
7707,
5768,
4431,
2187,
1319,
18,
653,
13,
308,
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
] |
print "showing 'global' help; commands=", self.commands
|
def parse_command_line (self, args): """Parse the setup script's command line. 'args' must be a list of command-line arguments, most likely 'sys.argv[1:]' (see the 'setup()' function). This list is first processed for "global options" -- options that set attributes of the Distribution instance. Then, it is alternately scanned for Distutils commands and options for that command. Each new command terminates the options for the previous command. The allowed options for a command are determined by the 'user_options' attribute of the command class -- thus, we have to be able to load command classes in order to parse the command line. Any error in that 'options' attribute raises DistutilsGetoptError; any error on the command-line raises DistutilsArgError. If no Distutils commands were found on the command line, raises DistutilsArgError. Return true if command-line were successfully parsed and we should carry on with executing commands; false if no errors but we shouldn't execute commands (currently, this only happens if user asks for help). """ # We have to parse the command line a bit at a time -- global # options, then the first command, then its options, and so on -- # because each command will be handled by a different class, and # the options that are valid for a particular class aren't known # until we have loaded the command class, which doesn't happen # until we know what the command is.
|
6f70fdef014f1bda41dd34d1f0df3e698606f2ed /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/6f70fdef014f1bda41dd34d1f0df3e698606f2ed/dist.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
67,
3076,
67,
1369,
261,
2890,
16,
833,
4672,
3536,
3201,
326,
3875,
2728,
1807,
1296,
980,
18,
225,
296,
1968,
11,
1297,
506,
279,
666,
434,
1296,
17,
1369,
1775,
16,
4486,
10374,
296,
9499,
18,
19485,
63,
21,
30,
3864,
261,
5946,
326,
296,
8401,
11866,
445,
2934,
225,
1220,
666,
353,
1122,
5204,
364,
315,
6347,
702,
6,
1493,
702,
716,
444,
1677,
434,
326,
17547,
791,
18,
225,
9697,
16,
518,
353,
6416,
5173,
22711,
364,
19893,
5471,
4364,
471,
702,
364,
716,
1296,
18,
225,
8315,
394,
1296,
30559,
326,
702,
364,
326,
2416,
1296,
18,
225,
1021,
2935,
702,
364,
279,
1296,
854,
11383,
635,
326,
296,
1355,
67,
2116,
11,
1566,
434,
326,
1296,
667,
1493,
12493,
16,
732,
1240,
358,
506,
7752,
358,
1262,
1296,
3318,
316,
1353,
358,
1109,
326,
1296,
980,
18,
225,
5502,
555,
316,
716,
296,
2116,
11,
1566,
14183,
19893,
5471,
967,
3838,
668,
31,
1281,
555,
603,
326,
1296,
17,
1369,
14183,
19893,
5471,
4117,
668,
18,
225,
971,
1158,
19893,
5471,
4364,
4591,
1392,
603,
326,
1296,
980,
16,
14183,
19893,
5471,
4117,
668,
18,
225,
2000,
638,
309,
1296,
17,
1369,
4591,
4985,
2707,
471,
732,
1410,
9331,
603,
598,
11274,
4364,
31,
629,
309,
1158,
1334,
1496,
732,
12044,
1404,
1836,
4364,
261,
2972,
715,
16,
333,
1338,
10555,
309,
729,
6827,
87,
364,
2809,
2934,
3536,
468,
1660,
1240,
358,
1109,
326,
1296,
980,
279,
2831,
622,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
67,
3076,
67,
1369,
261,
2890,
16,
833,
4672,
3536,
3201,
326,
3875,
2728,
1807,
1296,
980,
18,
225,
296,
1968,
11,
1297,
506,
279,
666,
434,
1296,
17,
1369,
1775,
16,
4486,
10374,
296,
9499,
18,
19485,
63,
21,
30,
3864,
261,
5946,
326,
296,
8401,
11866,
445,
2934,
225,
1220,
666,
353,
1122,
5204,
364,
315,
6347,
702,
6,
1493,
702,
716,
444,
1677,
434,
326,
17547,
791,
18,
225,
9697,
16,
518,
353,
6416,
5173,
22711,
364,
19893,
5471,
4364,
471,
702,
364,
716,
1296,
18,
225,
8315,
394,
1296,
30559,
326,
702,
364,
326,
2416,
1296,
18,
225,
1021,
2935,
702,
364,
279,
1296,
854,
11383,
635,
326,
296,
1355,
67,
2116,
11,
2
] |
|
log.error('imported schema (%s) not-found', self.imp.ns[1])
|
log.debug('imported schema (%s) not-found', self.imp.ns[1])
|
def __import_local(self): """ import (local) xsd content using a namespace lookup """ result = self.schema.locate(self.imp.ns) if result is None: log.error('imported schema (%s) not-found', self.imp.ns[1]) return result
|
e9a3ccf9805514277d16bd1382dc58b373c2f22f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5377/e9a3ccf9805514277d16bd1382dc58b373c2f22f/sxbasic.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
5666,
67,
3729,
12,
2890,
4672,
3536,
1930,
261,
3729,
13,
14802,
913,
1450,
279,
1981,
3689,
3536,
563,
273,
365,
18,
4821,
18,
25450,
12,
2890,
18,
14532,
18,
2387,
13,
309,
563,
353,
599,
30,
613,
18,
4148,
2668,
29266,
1963,
6142,
87,
13,
486,
17,
7015,
2187,
365,
18,
14532,
18,
2387,
63,
21,
5717,
327,
563,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
25450,
12,
2890,
18,
14532,
18,
2387,
13,
309,
563,
353,
599,
30,
613,
18,
4148,
2668,
29266,
1963,
6142,
87,
13,
486,
17,
7015,
2187,
365,
18,
14532,
18,
2387,
63,
21,
5717,
327,
563,
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
] |
return string.join(traceback.format_exception(*err), '')
|
return ''.join(traceback.format_exception(*err))
|
def _exc_info_to_string(self, err): """Converts a sys.exc_info()-style tuple of values into a string.""" return string.join(traceback.format_exception(*err), '')
|
0f10f8b8ab4e454af2afa444bd55397be9910a03 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7167/0f10f8b8ab4e454af2afa444bd55397be9910a03/unittest.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
10075,
67,
1376,
67,
869,
67,
1080,
12,
2890,
16,
393,
4672,
3536,
5692,
279,
2589,
18,
10075,
67,
1376,
1435,
17,
4060,
3193,
434,
924,
1368,
279,
533,
12123,
327,
533,
18,
5701,
12,
21696,
18,
2139,
67,
4064,
30857,
370,
3631,
28707,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
10075,
67,
1376,
67,
869,
67,
1080,
12,
2890,
16,
393,
4672,
3536,
5692,
279,
2589,
18,
10075,
67,
1376,
1435,
17,
4060,
3193,
434,
924,
1368,
279,
533,
12123,
327,
533,
18,
5701,
12,
21696,
18,
2139,
67,
4064,
30857,
370,
3631,
28707,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 extension: filename = '%s.%s'%(name, extension) else: filename = name src = os.path.join(self.dir, filename) if not os.path.exists(src): filename = filename + '.html' src = os.path.join(self.dir, filename) if not os.path.exists(src): if not extension: raise NoTemplate, 'Template file "%s" doesn\'t exist'%name generic = '_generic.%s'%extension src = os.path.join(self.dir, generic) if not os.path.exists(src): generic = '_generic.%s.html'%extension src = os.path.join(self.dir, generic) if not os.path.exists(src): raise NoTemplate, 'No template file exists for '\ 'templating "%s" with template "%s" (neither '\ '"%s" nor "%s")'%(name, extension, filename, generic) filename = generic
|
src, filename = find_template(self.dir, name, extension)
|
def get(self, name, extension=None): ''' Interface to get a template, possibly loading a compiled template.
|
df205a5557c8fb8ce29017ee92bf2509810c4afa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1906/df205a5557c8fb8ce29017ee92bf2509810c4afa/templating.py
|
[
1,
8585,
326,
22398,
316,
326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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
12,
2890,
16,
508,
16,
2710,
33,
7036,
4672,
9163,
6682,
358,
336,
279,
1542,
16,
10016,
7153,
279,
7743,
1542,
18,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
'categ_id': _get_categ,
|
def _get_categ(self, cursor, user, context={}): md = self.pool.get('ir.model.data') return md._get_id(cr, uid, 'product', 'cat0') or False
|
56e1d1784b52fe7d3eab8bf5db21901d2c53d53a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/56e1d1784b52fe7d3eab8bf5db21901d2c53d53a/product.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
588,
67,
71,
1287,
12,
2890,
16,
3347,
16,
729,
16,
819,
12938,
4672,
3481,
273,
365,
18,
6011,
18,
588,
2668,
481,
18,
2284,
18,
892,
6134,
327,
3481,
6315,
588,
67,
350,
12,
3353,
16,
4555,
16,
296,
5896,
2187,
296,
2574,
20,
6134,
578,
1083,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
588,
67,
71,
1287,
12,
2890,
16,
3347,
16,
729,
16,
819,
12938,
4672,
3481,
273,
365,
18,
6011,
18,
588,
2668,
481,
18,
2284,
18,
892,
6134,
327,
3481,
6315,
588,
67,
350,
12,
3353,
16,
4555,
16,
296,
5896,
2187,
296,
2574,
20,
6134,
578,
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
] |
|
self.merge_id = self.ui_manager.add_ui_from_string(outstream.getvalue())
|
self._merge_id = self.ui_manager.add_ui_from_string(outstream.getvalue())
|
def _populate_subtitles_menu(self, tracks): if self.merge_id: self.ui_manager.remove_ui(self.merge_id) self.merge_id = 0
|
50a403627892a40143e4db434a55ee7aa3984402 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12354/50a403627892a40143e4db434a55ee7aa3984402/window.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
19936,
67,
1717,
17643,
67,
5414,
12,
2890,
16,
13933,
4672,
309,
365,
18,
2702,
67,
350,
30,
365,
18,
4881,
67,
4181,
18,
4479,
67,
4881,
12,
2890,
18,
2702,
67,
350,
13,
365,
18,
2702,
67,
350,
273,
374,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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,
4881,
67,
4181,
18,
4479,
67,
4881,
12,
2890,
18,
2702,
67,
350,
13,
365,
18,
2702,
67,
350,
273,
374,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 user, tag in self.tag_users.items(): if user in self.users: color = self.changecolour(tag, self.getUserStatusColor(self.usersmodel.get_value(self.users[user], 4)) ) else: self.changecolour(tag, "useroffline")
|
for user in self.tag_users: self.getUserTag(user)
|
def Rejoined(self, users): # Update user list with an inexpensive sorting function self.usersmodel.set_default_sort_func(lambda *args: -1) self.usersmodel.set_sort_column_id(-1, gtk.SORT_ASCENDING) for user in users.keys(): if user in self.users: self.usersmodel.remove(self.users[user]) img = self.frame.GetStatusImage(users[user].status) hspeed = Humanize(users[user].avgspeed) hfiles = Humanize(users[user].files) iter = self.usersmodel.append([img, user, hspeed, hfiles, users[user].status, users[user].avgspeed, users[user].files]) self.users[user] = iter self.UserList.set_sensitive(True) # Reinitialize sorting after loop is complet self.usersmodel.set_sort_column_id(1, gtk.SORT_ASCENDING) # Spit this line into chat log AppendLine(self.ChatScroll, _("--- reconnected ---"), self.tag_hilite) # Update user count self.CountUsers() # Build completion list self.GetCompletionList() # Update all username tags in chat log for user, tag in self.tag_users.items(): if user in self.users: color = self.changecolour(tag, self.getUserStatusColor(self.usersmodel.get_value(self.users[user], 4)) ) else: self.changecolour(tag, "useroffline")
|
1db4621cd68a94f597ac8b46bb362cb67542ba1b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8738/1db4621cd68a94f597ac8b46bb362cb67542ba1b/chatrooms.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
868,
5701,
329,
12,
2890,
16,
3677,
4672,
468,
2315,
729,
666,
598,
392,
316,
2749,
14315,
9602,
445,
365,
18,
5577,
2284,
18,
542,
67,
1886,
67,
3804,
67,
644,
12,
14661,
380,
1968,
30,
300,
21,
13,
365,
18,
5577,
2284,
18,
542,
67,
3804,
67,
2827,
67,
350,
19236,
21,
16,
22718,
18,
23988,
67,
8633,
12280,
13,
364,
729,
316,
3677,
18,
2452,
13332,
309,
729,
316,
365,
18,
5577,
30,
365,
18,
5577,
2284,
18,
4479,
12,
2890,
18,
5577,
63,
1355,
5717,
3774,
273,
365,
18,
3789,
18,
967,
1482,
2040,
12,
5577,
63,
1355,
8009,
2327,
13,
12670,
5868,
273,
670,
6925,
554,
12,
5577,
63,
1355,
8009,
842,
564,
5868,
13,
366,
2354,
273,
670,
6925,
554,
12,
5577,
63,
1355,
8009,
2354,
13,
1400,
273,
365,
18,
5577,
2284,
18,
6923,
3816,
6081,
16,
729,
16,
12670,
5868,
16,
366,
2354,
16,
3677,
63,
1355,
8009,
2327,
16,
3677,
63,
1355,
8009,
842,
564,
5868,
16,
3677,
63,
1355,
8009,
2354,
5717,
365,
18,
5577,
63,
1355,
65,
273,
1400,
365,
18,
1299,
682,
18,
542,
67,
23481,
12,
5510,
13,
468,
868,
11160,
9602,
1839,
2798,
353,
2302,
365,
18,
5577,
2284,
18,
542,
67,
3804,
67,
2827,
67,
350,
12,
21,
16,
22718,
18,
23988,
67,
8633,
12280,
13,
468,
5878,
305,
333,
980,
1368,
7916,
613,
6181,
1670,
12,
2890,
18,
14163,
6806,
16,
389,
2932,
6062,
283,
8537,
9948,
6,
3631,
365,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
868,
5701,
329,
12,
2890,
16,
3677,
4672,
468,
2315,
729,
666,
598,
392,
316,
2749,
14315,
9602,
445,
365,
18,
5577,
2284,
18,
542,
67,
1886,
67,
3804,
67,
644,
12,
14661,
380,
1968,
30,
300,
21,
13,
365,
18,
5577,
2284,
18,
542,
67,
3804,
67,
2827,
67,
350,
19236,
21,
16,
22718,
18,
23988,
67,
8633,
12280,
13,
364,
729,
316,
3677,
18,
2452,
13332,
309,
729,
316,
365,
18,
5577,
30,
365,
18,
5577,
2284,
18,
4479,
12,
2890,
18,
5577,
63,
1355,
5717,
3774,
273,
365,
18,
3789,
18,
967,
1482,
2040,
12,
5577,
63,
1355,
8009,
2327,
13,
12670,
5868,
273,
670,
6925,
554,
12,
5577,
63,
1355,
8009,
842,
564,
5868,
2
] |
if BUILD_ARCHIVE_TYPE in ('linux', 'linux-64'):
|
if BUILD_ARCHIVE_TYPE in ('linux', 'linux-64', 'linux-chromiumos'):
|
def SetArchiveVars(archive): """Set a bunch of global variables appropriate for the specified archive.""" global BUILD_ARCHIVE_TYPE global BUILD_ARCHIVE_DIR global BUILD_ZIP_NAME global BUILD_DIR_NAME global BUILD_EXE_NAME global BUILD_BASE_URL BUILD_ARCHIVE_TYPE = archive BUILD_ARCHIVE_DIR = 'chromium-rel-' + BUILD_ARCHIVE_TYPE if BUILD_ARCHIVE_TYPE in ('linux', 'linux-64'): BUILD_ZIP_NAME = 'chrome-linux.zip' BUILD_DIR_NAME = 'chrome-linux' BUILD_EXE_NAME = 'chrome' elif BUILD_ARCHIVE_TYPE in ('mac'): BUILD_ZIP_NAME = 'chrome-mac.zip' BUILD_DIR_NAME = 'chrome-mac' BUILD_EXE_NAME = 'Chromium.app/Contents/MacOS/Chromium' elif BUILD_ARCHIVE_TYPE in ('xp'): BUILD_ZIP_NAME = 'chrome-win32.zip' BUILD_DIR_NAME = 'chrome-win32' BUILD_EXE_NAME = 'chrome.exe' BUILD_BASE_URL += BUILD_ARCHIVE_DIR
|
2bd3b91c6417d02027f746a4af2e97cde3f094e2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5060/2bd3b91c6417d02027f746a4af2e97cde3f094e2/build-bisect.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1000,
7465,
5555,
12,
10686,
4672,
3536,
694,
279,
25606,
434,
2552,
3152,
5505,
364,
326,
1269,
5052,
12123,
2552,
30054,
67,
10586,
5354,
67,
2399,
2552,
30054,
67,
10586,
5354,
67,
4537,
2552,
30054,
67,
13951,
67,
1985,
2552,
30054,
67,
4537,
67,
1985,
2552,
30054,
67,
2294,
41,
67,
1985,
2552,
30054,
67,
8369,
67,
1785,
225,
30054,
67,
10586,
5354,
67,
2399,
273,
5052,
30054,
67,
10586,
5354,
67,
4537,
273,
296,
16298,
5077,
17,
2878,
6627,
397,
30054,
67,
10586,
5354,
67,
2399,
225,
309,
30054,
67,
10586,
5354,
67,
2399,
316,
7707,
20132,
2187,
296,
20132,
17,
1105,
2187,
296,
20132,
17,
16298,
5077,
538,
11,
4672,
30054,
67,
13951,
67,
1985,
273,
296,
343,
10896,
17,
20132,
18,
4450,
11,
30054,
67,
4537,
67,
1985,
273,
296,
343,
10896,
17,
20132,
11,
30054,
67,
2294,
41,
67,
1985,
273,
296,
343,
10896,
11,
1327,
30054,
67,
10586,
5354,
67,
2399,
316,
7707,
5821,
11,
4672,
30054,
67,
13951,
67,
1985,
273,
296,
343,
10896,
17,
5821,
18,
4450,
11,
30054,
67,
4537,
67,
1985,
273,
296,
343,
10896,
17,
5821,
11,
30054,
67,
2294,
41,
67,
1985,
273,
296,
30761,
5077,
18,
2910,
19,
6323,
19,
9990,
4618,
19,
30761,
5077,
11,
1327,
30054,
67,
10586,
5354,
67,
2399,
316,
7707,
23829,
11,
4672,
30054,
67,
13951,
67,
1985,
273,
296,
343,
10896,
17,
8082,
1578,
18,
4450,
11,
30054,
67,
4537,
67,
1985,
273,
296,
343,
10896,
17,
8082,
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,
1000,
7465,
5555,
12,
10686,
4672,
3536,
694,
279,
25606,
434,
2552,
3152,
5505,
364,
326,
1269,
5052,
12123,
2552,
30054,
67,
10586,
5354,
67,
2399,
2552,
30054,
67,
10586,
5354,
67,
4537,
2552,
30054,
67,
13951,
67,
1985,
2552,
30054,
67,
4537,
67,
1985,
2552,
30054,
67,
2294,
41,
67,
1985,
2552,
30054,
67,
8369,
67,
1785,
225,
30054,
67,
10586,
5354,
67,
2399,
273,
5052,
30054,
67,
10586,
5354,
67,
4537,
273,
296,
16298,
5077,
17,
2878,
6627,
397,
30054,
67,
10586,
5354,
67,
2399,
225,
309,
30054,
67,
10586,
5354,
67,
2399,
316,
7707,
20132,
2187,
296,
20132,
17,
1105,
2187,
296,
20132,
17,
16298,
5077,
538,
11,
4672,
30054,
67,
13951,
67,
1985,
273,
2
] |
self.write(*args, type='sql', **kwargs)
|
kwargs['type'] = 'sql' self.write(*args, **kwargs)
|
def sql_write(self, *args, **kwargs): warnings.warn("WARNING: sql_write is deprecated; use write instead") self.write(*args, type='sql', **kwargs)
|
2c6a2a7294d59888de10c3350b7a4f182296f4df /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13233/2c6a2a7294d59888de10c3350b7a4f182296f4df/basetable.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1847,
67,
2626,
12,
2890,
16,
380,
1968,
16,
2826,
4333,
4672,
5599,
18,
8935,
2932,
9511,
30,
1847,
67,
2626,
353,
6849,
31,
999,
1045,
3560,
7923,
365,
18,
2626,
30857,
1968,
16,
618,
2218,
4669,
2187,
2826,
4333,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1847,
67,
2626,
12,
2890,
16,
380,
1968,
16,
2826,
4333,
4672,
5599,
18,
8935,
2932,
9511,
30,
1847,
67,
2626,
353,
6849,
31,
999,
1045,
3560,
7923,
365,
18,
2626,
30857,
1968,
16,
618,
2218,
4669,
2187,
2826,
4333,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.trace += " - - External delete of %s\n" %tid
|
if DEBUG: self.trace += " - - External delete of %s\n" %tid
|
def __execution_loop(self): while len(self.__updating_queue) > 0: tid,action = self.__updating_queue.pop(0)
|
d1e2e3781c819eab079c7a3534f1638eeb7d7317 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7036/d1e2e3781c819eab079c7a3534f1638eeb7d7317/filteredtree.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
16414,
67,
6498,
12,
2890,
4672,
1323,
562,
12,
2890,
16186,
5533,
1776,
67,
4000,
13,
405,
374,
30,
11594,
16,
1128,
273,
365,
16186,
5533,
1776,
67,
4000,
18,
5120,
12,
20,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
res_id = email_tool.process_email(cr, uid, server.object_id.model, data[0][1], attach=server.attach, context=context)
|
res_id = email_tool.process_email(cr, user, server.object_id.model, data[0][1], attach=server.attach, context=context)
|
def fetch_mail(self, cr, uid, ids, context={}): email_tool = self.pool.get('email.server.tools') action_pool = self.pool.get('ir.actions.server') context.update({'get_server': True}) for server in self.browse(cr, uid, ids, context): count = 0 try: if server.type == 'imap': imap_server = self.button_confirm_login(cr, uid, [server.id], context=context) imap_server.select() result, data = imap_server.search(None, '(UNSEEN)') for num in data[0].split(): result, data = imap_server.fetch(num, '(RFC822)') res_id = email_tool.process_email(cr, uid, server.object_id.model, data[0][1], attach=server.attach, context=context) if res_id and server.action_id: action_pool.run(cr, uid, [server.action_id.id], {'active_id': res_id, 'active_ids':[res_id]})
|
27360ddd7beb3a4fd7ec7cf2ffbc8c0f24a31dc1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/27360ddd7beb3a4fd7ec7cf2ffbc8c0f24a31dc1/fetchmail.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2158,
67,
4408,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
819,
12938,
4672,
2699,
67,
6738,
273,
365,
18,
6011,
18,
588,
2668,
3652,
18,
3567,
18,
6642,
6134,
1301,
67,
6011,
273,
365,
18,
6011,
18,
588,
2668,
481,
18,
4905,
18,
3567,
6134,
819,
18,
2725,
12590,
11,
588,
67,
3567,
4278,
1053,
6792,
364,
1438,
316,
365,
18,
25731,
12,
3353,
16,
4555,
16,
3258,
16,
819,
4672,
1056,
273,
374,
775,
30,
309,
1438,
18,
723,
422,
296,
12161,
4278,
20226,
67,
3567,
273,
365,
18,
5391,
67,
10927,
67,
5819,
12,
3353,
16,
4555,
16,
306,
3567,
18,
350,
6487,
819,
33,
2472,
13,
20226,
67,
3567,
18,
4025,
1435,
563,
16,
501,
273,
20226,
67,
3567,
18,
3072,
12,
7036,
16,
7747,
2124,
1090,
1157,
2506,
13,
364,
818,
316,
501,
63,
20,
8009,
4939,
13332,
563,
16,
501,
273,
20226,
67,
3567,
18,
5754,
12,
2107,
16,
7747,
17926,
24532,
2506,
13,
400,
67,
350,
273,
2699,
67,
6738,
18,
2567,
67,
3652,
12,
3353,
16,
729,
16,
1438,
18,
1612,
67,
350,
18,
2284,
16,
501,
63,
20,
6362,
21,
6487,
3306,
33,
3567,
18,
7331,
16,
819,
33,
2472,
13,
309,
400,
67,
350,
471,
1438,
18,
1128,
67,
350,
30,
1301,
67,
6011,
18,
2681,
12,
3353,
16,
4555,
16,
306,
3567,
18,
1128,
67,
350,
18,
350,
6487,
13666,
3535,
67,
350,
4278,
400,
67,
350,
16,
296,
3535,
67,
2232,
4278,
63,
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,
2158,
67,
4408,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
819,
12938,
4672,
2699,
67,
6738,
273,
365,
18,
6011,
18,
588,
2668,
3652,
18,
3567,
18,
6642,
6134,
1301,
67,
6011,
273,
365,
18,
6011,
18,
588,
2668,
481,
18,
4905,
18,
3567,
6134,
819,
18,
2725,
12590,
11,
588,
67,
3567,
4278,
1053,
6792,
364,
1438,
316,
365,
18,
25731,
12,
3353,
16,
4555,
16,
3258,
16,
819,
4672,
1056,
273,
374,
775,
30,
309,
1438,
18,
723,
422,
296,
12161,
4278,
20226,
67,
3567,
273,
365,
18,
5391,
67,
10927,
67,
5819,
12,
3353,
16,
4555,
16,
306,
3567,
18,
350,
6487,
819,
33,
2472,
13,
20226,
67,
3567,
18,
4025,
1435,
563,
2
] |
return abs(norm(mu=c,size=self._size))
|
return abs(norm.rvs(mu=c,size=self._size))
|
def _rvs(self, c): return abs(norm(mu=c,size=self._size))
|
946f237342bf50f49644a9813ca1ee8188f2aa5a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4962,
87,
12,
2890,
16,
276,
4672,
327,
2417,
12,
7959,
12,
13297,
33,
71,
16,
1467,
33,
2890,
6315,
1467,
3719,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
cast = "" self.emit("value = ast2obj_list(%s, %sast2obj_%s);" % (value, cast, field.type), depth)
|
self.emit("value = ast2obj_list(%s, ast2obj_%s);" % (value, field.type), depth)
|
def set(self, field, value, depth): if field.seq: if field.type.value == "cmpop": # XXX check that this cast is safe, i.e. works independent on whether # sizeof(cmpop_ty) != sizeof(void*) cast = "(PyObject*(*)(void*))" else: cast = "" self.emit("value = ast2obj_list(%s, %sast2obj_%s);" % (value, cast, field.type), depth) else: ctype = get_c_type(field.type) self.emit("value = ast2obj_%s(%s);" % (field.type, value), depth, reflow=False)
|
4ec5f347beb2f8d87f0fd07039b0a0614f25dc64 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/4ec5f347beb2f8d87f0fd07039b0a0614f25dc64/asdl_c.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
12,
2890,
16,
652,
16,
460,
16,
3598,
4672,
309,
652,
18,
5436,
30,
309,
652,
18,
723,
18,
1132,
422,
315,
9625,
556,
6877,
468,
11329,
866,
716,
333,
4812,
353,
4183,
16,
277,
18,
73,
18,
6330,
14807,
603,
2856,
468,
13726,
12,
9625,
556,
67,
4098,
13,
480,
13726,
12,
6459,
12437,
4812,
273,
7751,
9413,
921,
21556,
12437,
12,
6459,
12437,
2225,
469,
30,
365,
18,
18356,
2932,
1132,
273,
3364,
22,
2603,
67,
1098,
9275,
87,
16,
3364,
22,
2603,
10185,
87,
12171,
738,
261,
1132,
16,
652,
18,
723,
3631,
3598,
13,
469,
30,
11920,
273,
336,
67,
71,
67,
723,
12,
1518,
18,
723,
13,
365,
18,
18356,
2932,
1132,
273,
3364,
22,
2603,
10185,
87,
9275,
87,
12171,
738,
261,
1518,
18,
723,
16,
460,
3631,
3598,
16,
1278,
821,
33,
8381,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
12,
2890,
16,
652,
16,
460,
16,
3598,
4672,
309,
652,
18,
5436,
30,
309,
652,
18,
723,
18,
1132,
422,
315,
9625,
556,
6877,
468,
11329,
866,
716,
333,
4812,
353,
4183,
16,
277,
18,
73,
18,
6330,
14807,
603,
2856,
468,
13726,
12,
9625,
556,
67,
4098,
13,
480,
13726,
12,
6459,
12437,
4812,
273,
7751,
9413,
921,
21556,
12437,
12,
6459,
12437,
2225,
469,
30,
365,
18,
18356,
2932,
1132,
273,
3364,
22,
2603,
67,
1098,
9275,
87,
16,
3364,
22,
2603,
10185,
87,
12171,
738,
261,
1132,
16,
652,
18,
723,
3631,
3598,
13,
469,
30,
11920,
273,
336,
67,
71,
67,
723,
12,
1518,
18,
723,
13,
365,
18,
18356,
2932,
1132,
2
] |
'scn': u'Discussioni categoria',
|
'scn': u'Discussioni Catigurìa',
|
def __init__(self): self.name = None # Updated from http://meta.wikimedia.org/wiki/Interwiki_sorting_order self.alphabetic = [ 'aa','af','ak','als','am','ang','ab','ar','an','arc','roa-rup','frp','as', 'ast','gn','av','ay','az','bm','bn','zh-min-nan','map-bms','ba','be','be-x-old', 'bh','bi','bar','bo','bs','br','bg','bxr','ca','cv','ceb','cs','ch', 'ny','sn', 'tum','cho','co','za','cy','da','pdc','de','dv','nv','dz','mh', 'et','el','eml','en','es','eo','eu','ee','fa','fo','fr','fy','ff','fur','ga', 'gv','gd','gl','ki','glk','gu','got','zh-classical','hak','xal','ko','ha','haw','hy','hi','ho','hsb','hr', 'io','ig','ilo','bpy','id','ia','ie','iu','ik','os','xh','zu','is','it','he', 'jv','kl','pam','kn','kr','ka','ks','csb','kk','kw','rw','ky','rn', 'sw','kv','kg','ht','kj','ku','lad','lbe','lo','la','lv','lb','lij','lt', 'li','ln','jbo','lg','lmo','hu','mk','mg','ml','mt','mi','mr','mzn','ms','cdo', 'mo','mn','mus','my','nah','na','fj','nl','nds-nl','cr','ne','new','ja','nap', 'ce','pih','no','nn','nrm','nov','oc','or','om','ng','hz','ug','uz','pa','pi', 'pag','pap','ps','km','pms','nds','pl','pt','ty','ksh','ro','rmy','rm', 'qu','ru','se','sm','sa','sg','sc','sco','st','tn','sq','ru-sib','scn', 'si','simple','sd','ss','sk','sl','cu','so','sr','sh','su','fi','sv','tl', 'ta','kab','roa-tara','tt','te','tet','th','vi','ti','tg','tpi','to','chr','chy','ve', 'tr','tk','tw','udm','bug','uk','ur','vec','vo','fiu-vro','wa', 'vls','war','wo','wuu','ts','ii','yi','yo','zh-yue','cbk-zam','diq','zea','bat-smg','zh', 'zh-tw','zh-cn'] # knownlanguages is the same list but sorted by code self.knownlanguages = list(self.alphabetic) self.knownlanguages.sort() self.langs = {} # Translation used on all wikis for the different namespaces. # (Please sort languages alphabetically) # You only need to enter translations that differ from _default. self.namespaces = { -2: { '_default': u'Media', 'ab': u'Медиа', 'ar': u'ملف', 'av': u'Медиа', 'az': u'Mediya', 'ba': u'Медиа', 'bat-smg':u'Medija', 'be': u'Мультымедыя', 'be-x-old': u'Мэдыя', 'bg': u'Медия', 'bpy': u'মিডিয়া', 'bs': u'Medija', 'ce': u'Медиа', 'cs': u'Média', 'cu': u'Срѣдьства', 'cv': u'Медиа', 'el': u'Μέσον', 'et': u'Meedia', 'fa': u'مدیا', 'fiu-vro': u'Meediä', 'fo': u'Miðil', 'frp': u'Mèdia', 'ga': u'Meán', 'he': u'מדיה', 'hr': u'Mediji', 'ht': u'Medya', 'hu': u'Média', 'hy': u'Մեդիա', 'is': u'Miðill', 'ka': u'მედია', 'kk': u'Таспа', 'kn': u'ಮೀಡಿಯ', 'ksh':u'Medie', 'ku': u'Medya', 'kv': u'Медиа', 'lt': u'Medija', 'mk': u'Медија', 'ml': u'മീഡിയ', 'mzn': u'مدیا', 'new': u'माध्यम', 'nn': u'Filpeikar', 'no': u'Medium', 'pa': u'ਮੀਡੀਆ', 'rmy':u'Mediya', 'ru': u'Медиа', 'sk': u'Médiá', 'sr': u'Медија', 'su': u'Média', 'ta': u'ஊடகம்', 'te': u'మీడియా', 'tg': u'Медиа', 'th': u'สื่อ', 'udm': u'Медиа', 'uk': u'Медіа', 'ur': u'زریعہ', 'vi': u'Phương tiện', 'vo': u'Nünamakanäd', 'xal': u'Аһар', 'yi': u'מעדיע', }, -1: { '_default': u'Special', 'ab': u'Служебная', 'af': u'Spesiaal', 'als': u'Spezial', 'an': u'Espezial', 'ar': u'خاص', 'ast': u'Especial', 'av': u'Служебная', 'ay': u'Especial', 'az': u'Xüsusi', 'ba': u'Ярҙамсы', 'bar': u'Spezial', 'bat-smg':u'Specialus', 'be': u'Адмысловае', 'be-x-old': u'Спэцыяльныя', 'bg': u'Специални', 'bn': u'বিশেষ', 'bpy': u'বিশেষ', 'br': u'Dibar', 'bs': u'Posebno', 'ca': u'Especial', 'ce': u'Служебная', 'cs': u'Speciální', 'csb': u'Specjalnô', 'cu': u'Нарочьна', 'cv': u'Ятарлă', 'cy': u'Arbennig', 'da': u'Speciel', 'de': u'Spezial', 'el': u'Ειδικό', 'eo': u'Speciala', 'es': u'Especial', 'et': u'Eri', 'eu': u'Aparteko', 'fa': u'ویژه', 'fi': u'Toiminnot', 'fiu-vro': u'Tallituslehekülg', 'fo': u'Serstakur', 'frp': u'Spèciâl', 'fur': u'Speciâl', 'fy': u'Wiki', 'ga': u'Speisialta', 'gn': u'Especial', 'he': u'מיוחד', 'hi': u'विशेष', 'hr': u'Posebno', 'hsb': u'Specialnje', 'ht': u'Espesyal', 'hu': u'Speciális', 'hy': u'Սպասարկողէջ', 'id': u'Istimewa', 'is': u'Kerfissíða', 'it': u'Speciale', 'ja': u'特別', 'jv': u'Astamiwa', 'ka': u'სპეციალური', 'kab': u'Uslig', 'kk': u'Арнайы', 'kn': u'ವಿಶೇಷ', 'ko': u'특수기능', 'ksh':u'Spezial', 'ku': u'Taybet', 'kv': u'Служебная', 'la': u'Specialis', 'li': u'Speciaal', 'lt': u'Specialus', 'mk': u'Специјални', 'ml': u'പ്രത്യേകം', 'mr': u'विशेष', 'ms': u'Istimewa', 'mzn': u'ویژه', 'nah': u'Especial', 'nap': u'Speciale', 'nds': u'Spezial', 'nds-nl': u'Speciaal', 'new': u'विशेष', 'nl': u'Speciaal', 'nn': u'Spesial', 'no': u'Spesial', 'oc': u'Especial', 'os': u'Сæрмагонд', 'pa': u'ਖਾਸ', 'pl': u'Specjalna', 'pt': u'Especial', 'qu': u'Especial', 'rmy':u'Uzalutno', 'ru': u'Служебная', 'sc': u'Speciale', 'scn': u'Speciale', 'sk': u'Špeciálne', 'sl': u'Posebno', 'sq': u'Speciale', 'sr': u'Посебно', 'su': u'Husus', 'ta': u'சிறப்பு', 'te': u'ప్రత్యేక', 'tg': u'Вижа', 'th': u'พิเศษ', 'tr': u'Özel', 'tt': u'Maxsus', 'udm': u'Панель', 'uk': u'Спеціальні', 'ur': u'خاص', 'uz': u'Maxsus', 'vec':u'Speciale', 'vi': u'Đặc biệt', 'vls': u'Specioal', 'vo': u'Patikos', 'wa': u'Sipeciås', 'xal': u'Көдлхнə', 'yi': u'באַזונדער', 'zea': u'Speciaol', }, 0: { '_default': None, }, 1: { '_default': u'Talk', 'ab': u'Обсуждение', 'af': u'Bespreking', 'als': u'Diskussion', 'an': u'Descusión', 'ar': u'نقاش', 'ast': u'Discusión', 'av': u'Обсуждение', 'ay': u'Discusión', 'az': u'Müzakirə', 'ba': u'Фекер алышыу', 'bar': u'Diskussion', 'bat-smg':u'Aptarimas', 'be': u'Размовы', 'be-x-old': u'Абмеркаваньне', 'bg': u'Беседа', 'bm': u'Discuter', 'bn': u'আলাপ', 'bpy': u'য়্যারী', 'br': u'Kaozeal', 'bs': u'Razgovor', 'ca': u'Discussió', 'ce': u'Обсуждение', 'cs': u'Diskuse', 'csb': u'Diskùsëjô', 'cu': u'Бесѣда', 'cv': u'Сӳтсе явасси', 'cy': u'Sgwrs', 'da': u'Diskussion', 'de': u'Diskussion', 'el': u'Συζήτηση', 'eo': u'Diskuto', 'es': u'Discusión', 'et': u'Arutelu', 'eu': u'Eztabaida', 'fa': u'بحث', 'fi': u'Keskustelu', 'fiu-vro': u'Arotus', 'fo': u'Kjak', 'fr': u'Discuter', 'frp': u'Discutar', 'fur': u'Discussion', 'fy': u'Oerlis', 'ga': u'Plé', 'gn': u'Discusión', 'he': u'שיחה', 'hi': u'वार्ता', 'hr': u'Razgovor', 'hsb': u'Diskusija', 'ht': u'Diskite', 'hu': u'Vita', 'hy': u'Քննարկում', 'ia': u'Discussion', 'id': [u'Pembicaraan', u'Bicara'], 'is': u'Spjall', 'it': u'Discussione', 'ja': u'ノート', 'jv': u'Dhiskusi', 'ka': u'განხილვა', 'kab': u'Mmeslay', 'kk': u'Талқылау', 'kn': u'ಚರ್ಚೆಪುಟ', 'ko': u'토론', 'ksh': u'Klaaf', 'ku': u'Nîqaş', 'kv': u'Обсуждение', 'la': u'Disputatio', 'li': u'Euverlèk', 'lt': u'Aptarimas', 'lv': u'Diskusija', 'ml': u'സംവാദം', 'mk': u'Разговор', 'mr': u'चर्चा', 'ms': u'Perbualan', 'mzn': u'بحث', 'nah': u'Discusión', 'nap': u'Discussione', 'nds': u'Diskuschoon', 'nds-nl': u'Overleg', 'new': u'खँलाबँला', 'nl': u'Overleg', 'nn': u'Diskusjon', 'no': u'Diskusjon', 'nv': u"Naaltsoos baa yinísht'į́", 'oc': u'Discutir', 'os': u'Дискусси', 'pa': u'ਚਰਚਾ', 'pl': u'Dyskusja', 'pms':u'Discussion', 'pt': u'Discussão', 'qu': u'Discusión', 'ro': u'Discuţie', 'rmy': [u'Vakyarimata', u'Discuţie'], 'ru': u'Обсуждение', 'sa': u'संभाषणं', 'sc': u'Contièndha', 'scn': u'Discussione', 'sk': u'Diskusia', 'sl': u'Pogovor', 'sq': u'Diskutim', 'sr': u'Разговор', 'su': u'Obrolan', 'sv': u'Diskussion', 'ta': u'பேச்சு', 'te': u'చర్చ', 'tg': u'Баҳс', 'th': u'พูดคุย', 'tr': u'Tartışma', 'tt': u'Bäxäs', 'ty': u'Discuter', 'udm': u'Вераськон', 'uk': u'Обговорення', 'ur': u'تبادلۂ خیال', 'uz': u'Munozara', 'vec':u'Discussion', 'vi': u'Thảo luận', 'vls': u'Discuusje', 'vo': u'Bespik', 'wa': u'Copene', 'wo': u'Discuter', 'xal': u'Ухалвр', 'yi': u'רעדן', 'zea': u'Overleg', }, 2: { '_default': u'User', 'ab': u'Участник', 'af': u'Gebruiker', 'als': u'Benutzer', 'an': u'Usuario', 'ar': u'مستخدم', 'ast': u'Usuariu', 'av': u'Участник', 'ay': u'Usuario', 'az': u'İstifadəçi', 'ba': u'Ҡатнашыусы', 'bar': u'Benutzer', 'bat-smg':u'Naudotojas', 'be': u'Удзельнік', 'be-x-old': u'Удзельнік', 'bg': u'Потребител', 'bm': u'Utilisateur', 'bn': u'ব\u09cdযবহারকারী', 'bpy': u'আতাকুরা', 'br': u'Implijer', 'bs': u'Korisnik', 'ca': u'Usuari', 'ce': u'Участник', 'cs': u'Uživatel', 'csb': u'Brëkòwnik', 'cu': u'Польѕевател҄ь', 'cv': u'Хутшăнакан', 'cy': u'Defnyddiwr', 'da': u'Bruger', 'de': u'Benutzer', 'el': u'Χρήστης', 'eo': u'Vikipediisto', 'es': u'Usuario', 'et': u'Kasutaja', 'eu': u'Lankide', 'fa': u'کاربر', 'fi': u'Käyttäjä', 'fiu-vro': u'Pruukja', 'fo': u'Brúkari', 'fr': u'Utilisateur', 'frp': u'Utilisator', 'fur': u'Utent', 'fy': u'Meidogger', 'ga': u'Úsáideoir', 'gn': u'Usuario', 'he': u'משתמש', 'hi': u'सदस्य', 'hr': u'Suradnik', 'hsb': u'Wužiwar', 'ht': u'Itilizatè', 'hy': u'Մասնակից', 'ia': u'Usator', 'id': u'Pengguna', 'is': u'Notandi', 'it': u'Utente', 'ja': u'利用者', 'jv': u'Panganggo', 'ka': u'მომხმარებელი', 'kab': u'Amseqdac', 'kk': u'Қатысушы', 'kn': u'ಸದಸ್ಯ', 'ko': u'사용자', 'ksh': u'Metmaacher', 'ku': u'Bikarhêner', 'kv': u'Участник', 'la': u'Usor', 'li': u'Gebroeker', 'lt': u'Naudotojas', 'lv': u'Lietotājs', 'mk': u'Корисник', 'ml': u'ഉപയോക്താവ്', 'mr': u'सदस्य', 'ms': u'Pengguna', 'mzn': u'کاربر', 'nah': u'Usuario', 'nap': u'Utente', 'nds': u'Bruker', 'nds-nl': u'Gebruker', 'new': u'छ्येलेमि', 'nl': u'Gebruiker', 'nn': u'Brukar', 'no': u'Bruker', 'nv': u"Choinish'įįhí", 'oc': u'Utilizaire', 'os': u'Архайæг', 'pa': u'ਮੈਂਬਰ', 'pl': u'Wikipedysta', 'pms':u'Utent', 'pt': u'Usuário', 'qu': u'Usuario', 'ro': u'Utilizator', 'rmy':[u'Jeno', u'Utilizator'], 'ru': u'Участник', 'sa': u'योजकः', 'sc': u'Utente', 'scn': u'Utente', 'sk': u'Redaktor', 'sl': u'Uporabnik', 'sq': u'Përdoruesi', 'sr': u'Корисник', 'su': u'Pamaké', 'sv': u'Användare', 'ta': u'பயனர்', 'te': u'సభ్యుడు', 'tg': u'Корбар', 'th': u'ผู้ใช' + u'\u0e49', 'tr': u'Kullanıcı', 'tt': u'Äğzä', 'ty': u'Utilisateur', 'udm': u'Викиавтор', 'uk': u'Користувач', 'ur': u'صارف', 'uz': u'Foydalanuvchi', 'vec':u'Utente', 'vi': u'Thành viên', 'vls': u'Gebruker', 'vo': u'Geban', 'wa': u'Uzeu', 'wo': u'Utilisateur', 'xal': u'Орлцач', 'yi': u'באַניצער', 'zea': u'Gebruker', }, 3: { '_default': u'User talk', 'ab': u'Обсуждение участника', 'af': u'Gebruikerbespreking', 'als': u'Benutzer Diskussion', 'an': u'Descusión usuario', 'ar': u'نقاش المستخدم', 'ast': u'Usuariu discusión', 'av': u'Обсуждение участника', 'ay': u'Usuario Discusión', 'az': u'İstifadəçi müzakirəsi', 'ba': u'Ҡатнашыусы м-н фекер алышыу', 'bar': u'Benutzer Diskussion', 'bat-smg':u'Naudotojo aptarimas', 'be': u'Размовы з удзельнікам', 'be-x-old': u'Гутаркі ўдзельніка', 'bg': u'Потребител беседа', 'bm': u'Discussion Utilisateur', 'bn': u'ব্যবহারকারী আলাপ', 'bpy': u'আতাকুরার য়্যারী', 'br': u'Kaozeadenn Implijer', 'bs': u'Razgovor sa korisnikom', 'ca': u'Usuari Discussió', 'ce': u'Обсуждение участника', 'cs': u'Uživatel diskuse', 'csb': u'Diskùsëjô brëkòwnika', 'cu': u'Польѕевател бесѣда', 'cv': u'Хутшăнаканăн канашлу страници', 'cy': u'Sgwrs Defnyddiwr', 'da': u'Brugerdiskussion', 'de': u'Benutzer Diskussion', 'el': u'Συζήτηση χρήστη', 'eo': u'Vikipediista diskuto', 'es': u'Usuario Discusión', 'et': u'Kasutaja arutelu', 'eu': u'Lankide eztabaida', 'fa': u'بحث کاربر', 'fi': u'Keskustelu käyttäjästä', 'fiu-vro': u'Pruukja arotus', 'fo': u'Brúkari kjak', 'fr': u'Discussion Utilisateur', 'frp': u'Discussion Utilisator', 'fur': u'Discussion utent', 'fy': u'Meidogger oerlis', 'ga': u'Plé úsáideora', 'gn': u'Usuario Discusión', 'he': u'שיחת משתמש', 'hi': u'सदस्य वार्ता', 'hr': u'Razgovor sa suradnikom', 'hsb': u'Diskusija z wužiwarjom', 'ht': u'Diskisyon Itilizatè', 'hu': u'User vita', 'hy': u'Մասնակցի քննարկում', 'ia': u'Discussion Usator', 'id': u'Pembicaraan Pengguna', 'is': u'Notandaspjall', 'it': u'Discussioni utente', 'ja': u'利用者‐会話', 'jv': u'Dhiskusi Panganggo', 'ka': u'მომხმარებელი განხილვა', 'kab': u'Amyannan umsqedac', 'kk': u'Қатысушы талқылауы', 'kn': u'ಸದಸ್ಯರ ಚರ್ಚೆಪುಟ', 'ko': u'사용자토론', 'ksh': u'Metmaacher Klaaf', 'ku': u'Bikarhêner nîqaş', 'kv': u'Обсуждение участника', 'la': u'Disputatio Usoris', 'li': u'Euverlèk gebroeker', 'lt': u'Naudotojo aptarimas', 'lv': u'Lietotāja diskusija', 'mk': u'Разговор со корисник', 'ml': u'ഉപയോക്താവിന്റെ സംവാദം', 'mr': u'सदस्य चर्चा', 'ms': u'Perbualan Pengguna', 'mzn': u'بحث کاربر', 'nah': u'Usuario Discusión', 'nap': u'Discussioni utente', 'nds': u'Bruker Diskuschoon', 'nds-nl': u'Overleg gebruker', 'new': u'छ्येलेमि खँलाबँला', 'nl': u'Overleg gebruiker', 'nn': u'Brukardiskusjon', 'no': u'Brukerdiskusjon', 'nv': u"Choinish'įįhí baa yinísht'į́", 'oc': u'Discussion Utilizaire', 'os': u'Архайæджы дискусси', 'pa': u'ਮੈਂਬਰ ਚਰਚਾ', 'pl': u'Dyskusja wikipedysty', 'pms':u'Ciaciarade', 'pt': u'Usuário Discussão', 'qu': u'Usuario Discusión', 'rmy':[u'Jeno vakyarimata', u'Discuţie Utilizator'], 'ro': u'Discuţie Utilizator', 'ru': u'Обсуждение участника', 'sa': u'योजकसंभाषणं', 'sc': u'Utente discussioni', 'scn': u'Discussioni utente', 'sk': u'Diskusia s redaktorom', 'sl': u'Uporabniški pogovor', 'sq': u'Përdoruesi diskutim', 'sr': u'Разговор са корисником', 'su': u'Obrolan pamaké', 'sv': u'Användardiskussion', 'ta': u'பயனர் பேச்சு', 'te': u'సభ్యులపై చర్చ', 'tg': u'Баҳси корбар', 'th': u'คุยกับผู้ใช้', 'tr': u'Kullanıcı mesaj', 'tt': u'Äğzä bäxäse', 'ty': u'Discussion Utilisateur', 'udm': u'Викиавтор сярысь вераськон', 'uk': u'Обговорення користувача', 'ur': u'تبادلۂ خیال صارف', 'uz': u'Foydalanuvchi munozarasi', 'vec':u'Discussion utente', 'vi': u'Thảo luận Thành viên', 'vls': u'Discuusje gebruker', 'vo': u'Gebanibespik', 'wa': u'Uzeu copene', 'wo': u'Discussion Utilisateur', 'xal': u'Орлцачна тускар ухалвр', 'yi': u'באַניצער רעדן', 'zea': u'Overleg gebruker', }, 4: { '_default': u'Project', }, 5: { '_default': u'Project talk', }, 6: { '_default': u'Image', 'ab': u'Изображение', 'af': u'Beeld', 'als': u'Bild', 'an': u'Imachen', 'ar': u'صورة', 'ast': u'Imaxen', 'av': u'Изображение', 'ay': u'Imagen', 'az': u'Şəkil', 'ba': u'Рәсем', 'bar': u'Bild', 'bat-smg':u'Vaizdas', 'be': u'Выява', 'be-x-old': u'Выява', 'bg': u'Картинка', 'bn': u'চিত্র', 'bpy': u'ছবি', 'br': u'Skeudenn', 'bs': u'Slika', 'ca': u'Imatge', 'cbs': u'Òbrôzk', 'ce': u'Изображение', 'cs': u'Soubor', 'csb': u'Òbrôzk', 'cu': u'Видъ', 'cv': u'Ӳкерчĕк', 'cy': u'Delwedd', 'da': u'Billede', 'de': u'Bild', 'el': u'Εικόνα', 'eo': u'Dosiero', 'es': u'Imagen', 'et': u'Pilt', 'eu': u'Irudi', 'fa': u'تصویر', 'fi': u'Kuva', 'fiu-vro': u'Pilt', 'fo': u'Mynd', 'frp': u'Émâge', 'fur': u'Figure', 'fy': u'Ofbyld', 'ga': u'Íomhá', 'gn': u'Imagen', 'he': u'תמונה', 'hi': u'चित्र', 'hr': u'Slika', 'hsb': u'Wobraz', 'ht': u'Imaj', 'hu': u'Kép', 'hy': u'Պատկեր', 'ia': u'Imagine', 'id': [u'Berkas', u'Gambar'], 'is': u'Mynd', 'it': u'Immagine', 'ja': u'画像', 'jv': u'Gambar', 'ka': u'სურათი', 'kab': u'Tugna', 'kk': u'Сурет', 'kn': u'ಚಿತ್ರ', 'ko': u'그림', 'ksh':u'Beld', 'ku': u'Wêne', 'kv': u'Изображение', 'la': u'Imago', 'li': u'Plaetje', 'lt': u'Vaizdas', 'lv': u'Attēls', 'mk': u'Слика', 'ml': u'ചിത്രം', 'mr': u'चित्र', 'ms': u'Imej', 'mzn': u'تصویر', 'nah': u'Imagen', 'nap': u'Immagine', 'nds': u'Bild', 'nds-nl': u'Ofbeelding', 'new': u'किपा', 'nl': u'Afbeelding', 'nn': u'Fil', 'no': u'Bilde', 'nv': u"E'elyaaígíí", 'oc': u'Imatge', 'os': u'Ныв', 'pa': u'ਤਸਵੀਰ', 'pl': u'Grafika', 'pms':u'Figura', 'pt': u'Imagem', 'qu': u'Imagen', 'rmy':[u'Chitro', u'Imagine'], 'ro': u'Imagine', 'ru': u'Изображение', 'sa': u'चित्रं', 'sc': u'Immàgini', 'scn': u'Immagine', 'sk': u'Obrázok', 'sl': u'Slika', 'sq': u'Figura', 'sr': u'Слика', 'su': u'Gambar', 'sv': u'Bild', 'ta': u'படிமம்', 'te': u'బొమ్మ', 'tg': u'Акс', 'th': u'ภาพ', 'tr': u'Resim', 'tt': u'Räsem', 'udm': u'Суред', 'uk': u'Зображення', 'ur': u'تصویر', 'uz': u'Tasvir', 'vec':u'Imagine', 'vi': u'Hình', 'vls': u'Ofbeeldienge', 'vo': u'Magod', 'wa': u'Imådje', 'xal': u'Зург', 'yi': u'בילד', 'zea': u'Plaetje', }, 7: { '_default': u'Image talk', 'ab': u'Обсуждение изображения', 'af': u'Beeldbespreking', 'als': u'Bild Diskussion', 'an': u'Descusión imachen', 'ar': u'نقاش الصورة', 'ast': u'Imaxen discusión', 'av': u'Обсуждение изображения', 'ay': u'Imagen Discusión', 'az': u'Şəkil müzakirəsi', 'ba': u'Рәсем б-са фекер алышыу', 'bar': u'Bild Diskussion', 'bat-smg':u'Vaizdo aptarimas', 'be': u'Размовы пра выяву', 'be-x-old': u'Абмеркаваньне выявы', 'bg': u'Картинка беседа', 'bm': u'Discussion Image', 'bn': u'চিত্র আলাপ', 'bpy': u'ছবি য়্যারী', 'br': u'Kaozeadenn Skeudenn', 'bs': u'Razgovor o slici', 'ca': u'Imatge Discussió', 'ce': u'Обсуждение изображения', 'cs': u'Soubor diskuse', 'csb': u'Diskùsëjô òbrôzków', 'cu': u'Вида бесѣда', 'cv': u'Ӳкерчĕке сӳтсе явмалли', 'cy': u'Sgwrs Delwedd', 'da': u'Billeddiskussion', 'de': u'Bild Diskussion', 'el': u'Συζήτηση εικόνας', 'eo': u'Dosiera diskuto', 'es': u'Imagen Discusión', 'et': u'Pildi arutelu', 'eu': u'Irudi eztabaida', 'fa': u'بحث تصویر', 'fi': u'Keskustelu kuvasta', 'fiu-vro': u'Pildi arotus', 'fo': u'Mynd kjak', 'fr': u'Discussion Image', 'frp': u'Discussion Émâge', 'fur': u'Discussion figure', 'fy': u'Ofbyld oerlis', 'ga': u'Plé íomhá', 'gn': u'Imagen Discusión', 'he': u'שיחת תמונה', 'hi': u'चित्र वार्ता', 'hr': u'Razgovor o slici', 'hsb': u'Diskusija k wobrazej', 'ht': u'Diskisyon Imaj', 'hu': u'Kép vita', 'hy': u'Պատկերի քննարկում', 'ia': u'Discussion Imagine', 'id': [u'Pembicaraan Berkas', u'Pembicaraan Gambar'], 'is': u'Myndaspjall', 'it': u'Discussioni immagine', 'ja': u'画像‐ノート', 'jv': u'Dhiskusi Gambar', 'ka': u'სურათი განხილვა', 'kab': u'Amyannan n tugna', 'kk': u'Сурет талқылауы', 'kn': u'ಚಿತ್ರ ಚರ್ಚೆಪುಟ', 'ko': u'그림토론', 'ksh':u'Belder Klaaf', 'ku': u'Wêne nîqaş', 'kv': u'Обсуждение изображения', 'la': u'Disputatio Imaginis', 'li': u'Euverlèk plaetje', 'lt': u'Vaizdo aptarimas', 'lv': u'Attēla diskusija', 'mk': u'Разговор за слика', 'ml': u'ചിത്രത്തിന്റെ സംവാദം', 'mr': u'चित्र चर्चा', 'ms': u'Imej Perbualan', 'mzn': u'بحث تصویر', 'nah': u'Imagen Discusión', 'nap': u'Discussioni immagine', 'nds': u'Bild Diskuschoon', 'nds-nl': u'Overleg ofbeelding', 'new': u'किपा खँलाबँला', 'nl': u'Overleg afbeelding', 'nn': u'Fildiskusjon', 'no': u'Bildediskusjon', 'nv': u"E'elyaaígíí baa yinísht'į́", 'oc': u'Discussion Imatge', 'os': u'Нывы тыххæй дискусси', 'pa': u'ਤਸਵੀਰ ਚਰਚਾ', 'pl': u'Dyskusja grafiki', 'pms':u'Discussion dla figura', 'pt': u'Imagem Discussão', 'qu': u'Imagen Discusión', 'rmy':[u'Chitro vakyarimata', u'Discuţie Imagine'], 'ro': u'Discuţie Imagine', 'ru': u'Обсуждение изображения', 'sa': u'चित्रसंभाषणं', 'sc': u'Immàgini contièndha', 'scn': u'Discussioni immagine', 'sk': u'Diskusia k obrázku', 'sl': u'Pogovor o sliki', 'sq': u'Figura diskutim', 'sr': u'Разговор о слици', 'su': u'Obrolan gambar', 'sv': u'Bilddiskussion', 'ta': [u'படிமப் பேச்சு', u'உருவப் பேச்சு'], 'te': u'బొమ్మపై చర్చ', 'tg': u'Баҳси акс', 'th': u'คุยเรื่องภาพ', 'tr': u'Resim tartışma', 'tt': u'Räsem bäxäse', 'ty': u'Discussion Image', 'udm': u'Суред сярысь вераськон', 'uk': u'Обговорення зображення', 'ur': u'تبادلۂ خیال تصویر', 'uz': u'Tasvir munozarasi', 'vec':u'Discussion imagine', 'vi': u'Thảo luận Hình', 'vls': u'Discuusje ofbeeldienge', 'vo': u'Magodibespik', 'wa': u'Imådje copene', 'wo': u'Discussion Image', 'xal': u'Зургин тускар ухалвр', 'yi': u'בילד רעדן', 'zea': u'Overleg plaetje', }, 8: { '_default': u'MediaWiki', 'ar': u'ميدياويكي', 'az': u'MediyaViki', 'bg': u'МедияУики', 'bpy': u'মিডিয়াউইকি', 'bs': u'MedijaViki', 'cy': u'MediaWici', 'fa': u'مدیاویکی', 'fi': u'Järjestelmäviesti', 'fo': u'MidiaWiki', 'he': u'מדיה ויקי', 'ht': u'MedyaWiki', 'is': u'Melding', 'ka': u'მედიავიკი', 'kk': u'МедиаУики', 'kn': u'ಮೀಡಿಯವಿಕಿ', 'ksh':u'MediaWiki', 'mk': u'МедијаВики', 'ml': u'മീഡിയവിക്കി', 'mzn': u'مدیاویکی', 'new': u'मिडियाविकि', 'pa': u'ਮੀਡੀਆਵਿਕਿ', 'rmy':u'MediyaViki', 'sr': u'МедијаВики', 'ta': u'மீடியாவிக்கி', 'te': u'మీడియావికీ', 'tg': u'Медиавики', 'th': u'มีเดียวิกิ', 'tr': u'MedyaViki', 'ur': u'میڈیاوکی', 'vo': u'Sitanuns', 'yi': u'מעדיעװיקי', }, 9: { '_default': u'MediaWiki talk', 'ab': u'Обсуждение MediaWiki', 'af': u'MediaWikibespreking', 'als': u'MediaWiki Diskussion', 'an': u'Descusión MediaWiki', 'ar': u'نقاش ميدياويكي', 'ast': u'MediaWiki discusión', 'av': u'Обсуждение MediaWiki', 'ay': u'MediaWiki Discusión', 'az': u'MediyaViki müzakirəsi', 'ba': u'MediaWiki б-са фекер алышыу', 'bar': u'MediaWiki Diskussion', 'bat-smg':u'MediaWiki aptarimas', 'be': u'Размовы пра MediaWiki', 'be-x-old': u'Абмеркаваньне MediaWiki', 'bg': u'МедияУики беседа', 'bm': u'Discussion MediaWiki', 'bn': u'MediaWiki আলাপ', 'bpy': u'মিডিয়াউইকির য়্যারী', 'br': u'Kaozeadenn MediaWiki', 'bs': u'Razgovor o MedijaVikiju', 'ca': u'MediaWiki Discussió', 'ce': u'Обсуждение MediaWiki', 'cs': u'MediaWiki diskuse', 'csb': u'Diskùsëjô MediaWiki', 'cu': u'MediaWiki бесѣда', 'cv': u'MediaWiki сӳтсе явмалли', 'cy': u'Sgwrs MediaWici', 'da': u'MediaWiki-diskussion', 'de': u'MediaWiki Diskussion', 'eo': u'MediaWiki diskuto', 'es': u'MediaWiki Discusión', 'et': u'MediaWiki arutelu', 'eu': u'MediaWiki eztabaida', 'fa': u'بحث مدیاویکی', 'fi': u'Keskustelu järjestelmäviestistä', 'fiu-vro': u'MediaWiki arotus', 'fo': u'MidiaWiki kjak', 'fr': u'Discussion MediaWiki', 'frp': u'Discussion MediaWiki', 'fur': u'Discussion MediaWiki', 'fy': u'MediaWiki oerlis', 'ga': u'Plé MediaWiki', 'gn': u'MediaWiki Discusión', 'he': u'שיחת מדיה ויקי', 'hr': u'MediaWiki razgovor', 'hsb': u'MediaWiki diskusija', 'ht': u'Diskisyon MedyaWiki', 'hu': u'MediaWiki vita', 'hy': u'MediaWiki քննարկում', 'ia': u'Discussion MediaWiki', 'id': u'Pembicaraan MediaWiki', 'is': u'Meldingarspjall', 'it': u'Discussioni MediaWiki', 'ja': u'MediaWiki‐ノート', 'jv': u'Dhiskusi MediaWiki', 'ka': u'მედიავიკი განხილვა', 'kab': u'Amyannan n MediaWiki', 'kk': u'МедиаУики талқылауы', 'kn': u'ಮೀಡೀಯವಿಕಿ ಚರ್ಚೆ', 'ko': u'MediaWiki토론', 'ksh':u'MediaWiki Klaaf', 'ku': u'MediaWiki nîqaş', 'kv': u'Обсуждение MediaWiki', 'la': u'Disputatio MediaWiki', 'li': u'Euverlèk MediaWiki', 'lt': u'MediaWiki aptarimas', 'lv': u'MediaWiki diskusija', 'mk': u'Разговор за МедијаВики', 'ml': u'മീഡിയവിക്കി സംവാദം', 'ms': u'MediaWiki Perbualan', 'mzn': u'بحث مدیاویکی', 'nah': u'MediaWiki Discusión', 'nap': u'Discussioni MediaWiki', 'nds': u'MediaWiki Diskuschoon', 'nds-nl': u'Overleg MediaWiki', 'new': u'मिडियाविकि खँलाबँला', 'nl': u'Overleg MediaWiki', 'nn': u'MediaWiki-diskusjon', 'no': u'MediaWiki-diskusjon', 'nv': u"MediaWiki baa yinísht'į́", 'oc': u'Discussion MediaWiki', 'os': u'Дискусси MediaWiki', 'pa': u'ਮੀਡੀਆਵਿਕਿ ਚਰਚਾ', 'pl': u'Dyskusja MediaWiki', 'pms':u'Discussion dla MediaWiki', 'pt': u'MediaWiki Discussão', 'qu': u'MediaWiki Discusión', 'rmy':[u'MediyaViki vakyarimata', u'Discuţie MediaWiki'], 'ro': u'Discuţie MediaWiki', 'ru': u'Обсуждение MediaWiki', 'scn': u'Discussioni MediaWiki', 'sk': u'Diskusia k MediaWiki', 'sl': u'Pogovor o MediaWiki', 'sq': u'MediaWiki diskutim', 'sr': u'Разговор о МедијаВикију', 'su': u'Obrolan MediaWiki', 'sv': u'MediaWiki-diskussion', 'ta': u'மீடியாவிக்கி பேச்சு', 'te': u'మీడియావికీ చర్చ', 'tg': u'Баҳси медиавики', 'th': u'คุยเรื่องมีเดียวิกิ', 'tr': u'MedyaViki tartışma', 'tt': u'MediaWiki bäxäse', 'ty': u'Discussion MediaWiki', 'udm': u'MediaWiki сярысь вераськон', 'uk': u'Обговорення MediaWiki', 'ur': u'تبادلۂ خیال میڈیاوکی', 'uz': u'MediaWiki munozarasi', 'vec':u'Discussion MediaWiki', 'vi': u'Thảo luận MediaWiki', 'vls': u'Discuusje MediaWiki', 'vo': u'Bespik dö sitanuns', 'wa': u'MediaWiki copene', 'wo': u'Discussion MediaWiki', 'xal': u'MediaWiki тускар ухалвр', 'yi': u'מעדיעװיקי רעדן', 'zea': u'Overleg MediaWiki', }, 10: { '_default':u'Template', 'ab': u'Шаблон', 'af': u'Sjabloon', 'als': u'Vorlage', 'an': u'Plantilla', 'ar': u'قالب', 'ast': u'Plantilla', 'av': u'Шаблон', 'ay': u'Plantilla', 'az': u'Şablon', 'ba': u'Ҡалып', 'bar': u'Vorlage', 'bat-smg':u'Šablonas', 'be': u'Шаблон', 'be-x-old': u'Шаблён', 'bg': u'Шаблон', 'bm': u'Modèle', 'bpy': u'মডেল', 'br': u'Patrom', 'bs': u'Šablon', 'ca': u'Plantilla', 'cbs': u'Szablóna', 'ce': u'Шаблон', 'cs': u'Šablona', 'csb': u'Szablóna', 'cu': u'Образьць', 'cv': u'Шаблон', 'cy': u'Nodyn', 'da': u'Skabelon', 'de': u'Vorlage', 'el': u'Πρότυπο', 'eo': u'Ŝablono', 'es': u'Plantilla', 'et': u'Mall', 'eu': u'Txantiloi', 'fa': u'الگو', 'fi': u'Malline', 'fiu-vro': u'Näüdüs', 'fo': u'Fyrimynd', 'fr': u'Modèle', 'frp': u'Modèlo', 'fur': u'Model', 'fy': u'Berjocht', 'ga': u'Teimpléad', 'gn': u'Plantilla', 'he': u'תבנית', 'hi': u'साँचा', 'hr': u'Predložak', 'hsb': u'Předłoha', 'ht': u'Modèl', 'hu': u'Sablon', 'hy': u'Կաղապար', 'ia': u'Patrono', 'id': u'Templat', 'is': u'Snið', 'jv': u'Cithakan', 'ka': u'თარგი', 'kab': u'Talɣa', 'kk': u'Үлгі', 'kn': u'ಟೆಂಪ್ಲೇಟು', 'ko': u'틀', 'ksh':u'Schablon', 'ku': u'Şablon', 'kv': u'Шаблон', 'la': u'Formula', 'li': u'Sjabloon', 'lt': u'Šablonas', 'lv': u'Veidne', 'mk': u'Шаблон', 'ml': u'ഫലകം', 'mr': u'साचा', 'ms': u'Templat', 'mzn': u'الگو', 'nah': u'Plantilla', 'nds': u'Vörlaag', 'nds-nl': u'Sjabloon', 'nl': u'Sjabloon', 'nn': u'Mal', 'no': u'Mal', 'oc': u'Modèl', 'os': u'Шаблон', 'pa': u'ਨਮੂਨਾ', 'pl': u'Szablon', 'pms': u'Stamp', 'pt': u'Predefinição', 'qu': u'Plantilla', 'rmy':[u'Sikavno', u'Format'], 'ro': u'Format', 'ru': u'Шаблон', 'sk': u'Šablóna', 'sl': u'Predloga', 'sq': u'Stampa', 'sr': u'Шаблон', 'su': u'Citakan', 'sv': u'Mall', 'ta': u'வார்ப்புரு', 'te': u'మూస', 'tg': u'Шаблон', 'th': u'แม่แบบ', 'tr': u'Şablon', 'tt': u'Ürnäk', 'ty': u'Modèle', 'udm': u'Шаблон', 'uk': u'Шаблон', 'ur': u'سانچہ', 'uz': u'Shablon', 'vi': u'Tiêu bản', 'vls': u'Patrôon', 'vo': u'Samafomot', 'wa': u'Modele', 'wo': u'Modèle', 'xal': u'Зура', 'yi': u'מוסטער', 'zea': u'Sjabloon', }, 11: { '_default': u'Template talk', 'ab': u'Обсуждение шаблона', 'af': u'Sjabloonbespreking', 'als': u'Vorlage Diskussion', 'an': u'Descusión plantilla', 'ar': u'نقاش قالب', 'ast': u'Plantilla discusión', 'av': u'Обсуждение шаблона', 'ay': u'Plantilla Discusión', 'az': u'Şablon müzakirəsi', 'ba': u'Ҡалып б-са фекер алышыу', 'bar': u'Vorlage Diskussion', 'bat-smg':u'Šablono aptarimas', 'be': u'Размовы пра шаблон', 'be-x-old': u'Абмеркаваньне шаблёну', 'bg': u'Шаблон беседа', 'bm': u'Discussion Modèle', 'bpy': u'মডেলর য়্যারী', 'br': u'Kaozeadenn Patrom', 'bs': u'Razgovor o šablonu', 'ca': u'Plantilla Discussió', 'ce': u'Обсуждение шаблона', 'cs': u'Šablona diskuse', 'csb': u'Diskùsëjô Szablónë', 'cu': u'Образьца бесѣда', 'cv': u'Шаблона сӳтсе явмалли', 'cy': u'Sgwrs Nodyn', 'da': u'Skabelondiskussion', 'de': u'Vorlage Diskussion', 'el': u'Συζήτηση προτύπου', 'eo': u'Ŝablona diskuto', 'es': u'Plantilla Discusión', 'et': u'Malli arutelu', 'eu': u'Txantiloi eztabaida', 'fa': u'بحث الگو', 'fi': u'Keskustelu mallineesta', 'fiu-vro': u'Näüdüse arotus', 'fo': u'Fyrimynd kjak', 'fr': u'Discussion Modèle', 'frp': u'Discussion Modèlo', 'fur': u'Discussion model', 'fy': u'Berjocht oerlis', 'ga': u'Plé teimpléid', 'gn': u'Plantilla Discusión', 'he': u'שיחת תבנית', 'hi': u'साँचा वार्ता', 'hr': u'Razgovor o predlošku', 'hsb': u'Diskusija k předłoze', 'ht': u'Diskisyon Modèl', 'hu': u'Sablon vita', 'hy': u'Կաղապարի քննարկում', 'ia': u'Discussion Patrono', 'id': u'Pembicaraan Templat', 'is': u'Sniðaspjall', 'it': u'Discussioni template', 'ja': u'Template‐ノート', 'jv': u'Dhiskusi Cithakan', 'ka': u'თარგი განხილვა', 'kab': u'Amyannan n talɣa', 'kk': u'Үлгі талқылауы', 'kn': u'ಟೆಂಪ್ಲೇಟು ಚರ್ಚೆ', 'ko': u'틀토론', 'ksh':u'Schablone Klaaf', 'ku': u'Şablon nîqaş', 'kv': u'Обсуждение шаблона', 'la': u'Disputatio Formulae', 'li': u'Euverlèk sjabloon', 'lt': u'Šablono aptarimas', 'lv': u'Veidnes diskusija', 'mk': u'Разговор за шаблон', 'ml': u'ഫലകത്തിന്റെ സംവാദം', 'mr': u'साचा चर्चा', 'ms': u'Perbualan Templat', 'mzn': u'بحث الگو', 'nah': u'Plantilla Discusión', 'nap': u'Discussioni template', 'nds': u'Vörlaag Diskuschoon', 'nds-nl': u'Overleg sjabloon', 'nl': u'Overleg sjabloon', 'nn': u'Maldiskusjon', 'no': u'Maldiskusjon', 'oc': u'Discussion Modèl', 'os': u'Шаблоны тыххæй дискусси', 'pa': u'ਨਮੂਨਾ ਚਰਚਾ', 'pl': u'Dyskusja szablonu', 'pms':u'Discussion dlë stamp', 'pt': u'Predefinição Discussão', 'qu': u'Plantilla Discusión', 'rmy':[u'Sikavno vakyarimata', u'Discuţie Format'], 'ro': u'Discuţie Format', 'ru': u'Обсуждение шаблона', 'scn': u'Discussioni template', 'sk': u'Diskusia k šablóne', 'sl': u'Pogovor o predlogi', 'sq': u'Stampa diskutim', 'sr': u'Разговор о шаблону', 'su': u'Obrolan citakan', 'sv': u'Malldiskussion', 'ta': u'வார்ப்புரு பேச்சு', 'te': u'మూస చర్చ', 'tg': u'Баҳси шаблон', 'th': u'คุยเรื่องแม่แบบ', 'tr': u'Şablon tartışma', 'tt': u'Ürnäk bäxäse', 'ty': u'Discussion Modèle', 'udm': u'Шаблон сярысь вераськон', 'uk': u'Обговорення шаблону', 'ur': u'تبادلۂ خیال سانچہ', 'uz': u'Shablon munozarasi', 'vec':u'Discussion template', 'vi': u'Thảo luận Tiêu bản', 'vls': u'Discuusje patrôon', 'vo': u'Samafomotibespik', 'wa': u'Modele copene', 'wo': u'Discussion Modèle', 'xal': u'Зуран тускар ухалвр', 'yi': u'מוסטער רעדן', 'zea': u'Overleg sjabloon', }, 12: { '_default': u'Help', 'ab': u'Справка', 'af': u'Hulp', 'als': u'Hilfe', 'an': u'Aduya', 'ar': u'مساعدة', 'ast': u'Ayuda', 'av': u'Справка', 'ay': u'Ayuda', 'az': u'Kömək', 'ba': u'Белешмә', 'bar': u'Hilfe', 'bat-smg':u'Pagalba', 'be': u'Даведка', 'be-x-old': u'Дапамога', 'bg': u'Помощ', 'bm': u'Aide', 'bpy': u'পাংলাক', 'br': u'Skoazell', 'bs': u'Pomoć', 'ca': u'Ajuda', 'cbs': u'Pòmòc', 'ce': u'Справка', 'cs': u'Nápověda', 'csb': u'Pòmòc', 'cu': u'Помощь', 'cv': u'Пулăшу', 'cy': u'Cymorth', 'da': u'Hjælp', 'de': u'Hilfe', 'el': u'Βοήθεια', 'eo': u'Helpo', 'es': u'Ayuda', 'et': u'Juhend', 'eu': u'Laguntza', 'fa': u'راهنما', 'fi': u'Ohje', 'fiu-vro': u'Oppus', 'fo': u'Hjálp', 'fr': u'Aide', 'frp': u'Éde', 'fur': u'Jutori', 'fy': u'Hulp', 'ga': u'Cabhair', 'gn': u'Ayuda', 'he': u'עזרה', 'hr': u'Pomoć', 'hsb': u'Pomoc', 'ht': u'Èd', 'hu': u'Segítség', 'hy': u'Օգնություն', 'ia': u'Adjuta', 'id': u'Bantuan', 'is': u'Hjálp', 'it': u'Aiuto', 'jv': u'Pitulung', 'ka': u'დახმარება', 'kab': u'Tallat', 'kk': u'Анықтама', 'kn': u'ಸಹಾಯ', 'ko': u'도움말', 'ksh':u'Hölp', 'ku': u'Alîkarî', 'kv': u'Справка', 'la': u'Auxilium', 'lt': u'Pagalba', 'lv': u'Palīdzība', 'mk': u'Помош', 'ml': u'സഹായം', 'ms': u'Bantuan', 'mzn': u'راهنما', 'nah': u'Ayuda', 'nap': u'Aiuto', 'nds': u'Hülp', 'nds-nl': u'Hulpe', 'new': u'ग्वाहालि', 'nn': u'Hjelp', 'no': u'Hjelp', 'nv': u"Aná'álwo'", 'oc': u'Ajuda', 'os': u'Æххуыс', 'pa': u'ਮਦਦ', 'pl': u'Pomoc', 'pms':u'Agiut', 'pt': u'Ajuda', 'qu': u'Ayuda', 'rmy':[u'Zhutipen', u'Ajutor'], 'ro': u'Ajutor', 'ru': u'Справка', 'sa': u'उपकारः', 'scn': u'Aiuto', 'sk': u'Pomoc', 'sl': u'Pomoč', 'sq': u'Ndihmë', 'sr': u'Помоћ', 'su': u'Pitulung', 'sv': u'Hjälp', 'ta': u'உதவி', 'te': u'సహాయము', 'tg': u'Роҳнамо', 'th': u'วิธีใช้', 'tr': u'Yardım', 'tt': u'Yärdäm', 'ty': u'Aide', 'udm': u'Валэктон', 'uk': u'Довідка', 'ur': u'معاونت', 'uz': u'Yordam', 'vec':u'Aiuto', 'vi': u'Trợ giúp', 'vls': u'Ulpe', 'vo': u'Yuf', 'wa': u'Aidance', 'wo': u'Aide', 'xal': u'Цəəлһлһн', 'yi': u'הילף', 'zea': u'Ulpe', }, 13: { '_default': u'Help talk', 'ab': u'Обсуждение справки', 'af': u'Hulpbespreking', 'als': u'Hilfe Diskussion', 'an': u'Descusión aduya', 'ar': u'نقاش المساعدة', 'ast': u'Ayuda discusión', 'av': u'Обсуждение справки', 'ay': u'Ayuda Discusión', 'az': u'Kömək müzakirəsi', 'ba': u'Белешмә б-са фекер алышыу', 'bar': u'Hilfe Diskussion', 'bat-smg':u'Pagalbos aptarimas', 'be': u'Размовы пра даведку', 'be-x-old': u'Абмеркаваньне дапамогі', 'bg': u'Помощ беседа', 'bm': u'Discussion Aide', 'bpy': u'পাংলাকর য়্যারী', 'br': u'Kaozeadenn Skoazell', 'bs': u'Razgovor o pomoći', 'ca': u'Ajuda Discussió', 'ce': u'Обсуждение справки', 'cs': u'Nápověda diskuse', 'csb': u'Diskùsëjô Pòmòcë', 'cu': u'Помощи бесѣда', 'cv': u'Пулăшăва сӳтсе явмалли', 'cy': u'Sgwrs Cymorth', 'da': u'Hjælp-diskussion', 'de': u'Hilfe Diskussion', 'el': u'Συζήτηση βοήθειας', 'eo': u'Helpa diskuto', 'es': u'Ayuda Discusión', 'et': u'Juhendi arutelu', 'eu': u'Laguntza eztabaida', 'fa': u'بحث راهنما', 'fi': u'Keskustelu ohjeesta', 'fiu-vro': u'Oppusõ arotus', 'fo': u'Hjálp kjak', 'fr': u'Discussion Aide', 'frp': u'Discussion Éde', 'fur': u'Discussion jutori', 'fy': u'Hulp oerlis', 'ga': u'Plé cabhrach', 'gn': u'Ayuda Discusión', 'he': u'שיחת עזרה', 'hr': u'Razgovor o pomoći', 'hsb': u'Pomoc diskusija', 'ht': u'Diskisyon Èd', 'hu': u'Segítség vita', 'hy': u'Օգնության քննարկում', 'ia': u'Discussion Adjuta', 'id': u'Pembicaraan Bantuan', 'is': u'Hjálparspjall', 'it': u'Discussioni aiuto', 'ja': u'Help‐ノート', 'jv': u'Dhiskusi Pitulung', 'ka': u'დახმარება განხილვა', 'kab': u'Amyannan n tallat', 'kk': u'Анықтама талқылауы', 'kn': u'ಸಹಾಯ ಚರ್ಚೆ', 'ko': u'도움말토론', 'ksh':u'Hölp Klaaf', 'ku': u'Alîkarî nîqaş', 'kv': u'Обсуждение справки', 'la': u'Disputatio Auxilii', 'li': u'Euverlèk help', 'lt': u'Pagalbos aptarimas', 'lv': u'Palīdzības diskusija', 'mk': u'Разговор за помош', 'ml': u'സഹായത്തിന്റെ സംവാദം', 'ms': u'Perbualan Bantuan', 'mzn': u'بحث راهنما', 'nah': u'Ayuda Discusión', 'nap': u'Discussioni aiuto', 'nds': u'Hülp Diskuschoon', 'nds-nl': u'Overleg hulpe', 'new': u'ग्वाहालि खँलाबँला', 'nl': u'Overleg help', 'nn': u'Hjelpdiskusjon', 'no': u'Hjelpdiskusjon', 'nv': u"Aná'álwo' baa yinísht'į́", 'oc': u'Discussion Ajuda', 'os': u'Æххуысы тыххæй дискусси', 'pa': u'ਮਦਦ ਚਰਚਾ', 'pl': u'Dyskusja pomocy', 'pms':u"Discussion ant sl'agiut", 'pt': u'Ajuda Discussão', 'qu': u'Ayuda Discusión', 'rmy':[u'Zhutipen vakyarimata', u'Discuţie Ajutor'], 'ro': u'Discuţie Ajutor', 'ru': u'Обсуждение справки', 'sa': u'उपकारसंभाषणं', 'scn': u'Discussioni aiuto', 'sk': u'Diskusia k pomoci', 'sl': u'Pogovor o pomoči', 'sq': u'Ndihmë diskutim', 'sr': u'Разговор о помоћи', 'su': u'Obrolan pitulung', 'sv': u'Hjälpdiskussion', 'ta': u'உதவி பேச்சு', 'te': u'సహాయము చర్చ', 'tg': u'Баҳси роҳнамо', 'th': u'คุยเรื่องวิธีใช้', 'tr': u'Yardım tartışma', 'tt': u'Yärdäm bäxäse', 'ty': u'Discussion Aide', 'udm': u'Валэктон сярысь вераськон', 'uk': u'Обговорення довідки', 'ur': u'تبادلۂ خیال معاونت', 'uz': u'Yordam munozarasi', 'vec':u'Discussion aiuto', 'vi': u'Thảo luận Trợ giúp', 'vls': u'Discuusje ulpe', 'vo': u'Yufibespik', 'wa': u'Aidance copene', 'wo': u'Discussion Aide', 'xal': u'Цəəлһлһин тускар ухалвр', 'yi': u'הילף רעדן', 'zea': u'Overleg ulpe', }, 14: { '_default': u'Category', 'ab': u'Категория', 'af': u'Kategorie', 'als': u'Kategorie', 'an': u'Categoría', 'ar': u'تصنيف', 'ast': u'Categoría', 'av': u'Категория', 'ay': u'Categoría', 'az': u'Kateqoriya', 'ba': u'Категория', 'bar': u'Kategorie', 'bat-smg':u'Kategorija', 'be': u'Катэгорыя', 'be-x-old': u'Катэгорыя', 'bg': u'Категория', 'bm': u'Catégorie', 'bpy': u'থাক', 'br': u'Rummad', 'bs': u'Kategorija', 'ca': u'Categoria', 'ce': u'Категория', 'cs': u'Kategorie', 'csb': u'Kategòrëjô', 'cu': u'Катигорї', 'cv': u'Категори', 'cy': u'Categori', 'da': u'Kategori', 'de': u'Kategorie', 'el': u'Κατηγορία', 'eo': u'Kategorio', 'es': u'Categoría', 'et': u'Kategooria', 'eu': u'Kategoria', 'fa': u'رده', 'fi': u'Luokka', 'fiu-vro': u'Katõgooria', 'fo': u'Bólkur', 'fr': u'Catégorie', 'frp': u'Catègorie', 'fur': u'Categorie', 'fy': u'Kategory', 'ga': [u'Catagóir', u'Rang'], 'gn': u'Categoría', 'he': u'קטגוריה', 'hi': u'श्रेणी', 'hr': u'Kategorija', 'hsb': u'Kategorija', 'ht': u'Kategori', 'hu': u'Kategória', 'hy': u'Կատեգորիա', 'ia': u'Categoria', 'id': u'Kategori', 'is': u'Flokkur', 'it': u'Categoria', 'jv': u'Kategori', 'ka': u'კატეგორია', 'kab': u'Taggayt', 'kk': u'Санат', 'kn': u'ವರ್ಗ', 'ko': u'분류', 'ksh':[u'Saachjrupp', u'Saachjropp'], 'ku': u'Kategorî', 'kv': u'Категория', 'la': u'Categoria', 'li': [u'Categorie', u'Kategorie'], 'lt': u'Kategorija', 'lv': u'Kategorija', 'mk': u'Категорија', 'ml': u'വിഭാഗം', 'mr': u'वर्ग', 'ms': u'Kategori', 'mzn': u'رده', 'nah': u'Categoría', 'nap': u'Categoria', 'nds': u'Kategorie', 'nds-nl': [u'Kattegerie', u'Categorie'], 'new': u'पुचः', 'nl': u'Categorie', 'nn': u'Kategori', 'no': u'Kategori', 'nv': u"T'ááłáhági át'éego", 'oc': u'Categoria', 'os': u'Категори', 'pa': u'ਸ਼੍ਰੇਣੀ', 'pl': u'Kategoria', 'pms':u'Categorìa', 'pt': u'Categoria', 'qu': u'Categoría', 'rmy':[u'Shopni', u'Categorie'], 'ro': u'Categorie', 'ru': u'Категория', 'sa': u'वर्गः', 'scn': u'Categoria', 'sk': u'Kategória', 'sl': u'Kategorija', 'sr': u'Категорија', 'su': u'Kategori', 'sv': u'Kategori', 'ta': u'பகுப்பு', 'te': u'వర్గం', 'tg': u'Гурӯҳ', 'th': u'หมวดหมู่', 'tr': u'Kategori', 'tt': u'Törkem', 'ty': u'Catégorie', 'udm': u'Категория', 'uk': u'Категорія', 'ur': u'زمرہ', 'uz': u'Kategoriya', 'vec':u'Categoria', 'vi': u'Thể loại', 'vls': u'Categorie', 'vo': u'Klad', 'wa': u'Categoreye', 'wo': u'Catégorie', 'xal': u'Янз', 'yi': u'קאַטעגאָריע', 'zea': u'Categorie', }, 15: { '_default': u'Category talk', 'ab': u'Обсуждение категории', 'af': u'Kategoriebespreking', 'als': u'Kategorie Diskussion', 'an': u'Descusión categoría', 'ar': u'نقاش التصنيف', 'ast': u'Categoría discusión', 'av': u'Обсуждение категории', 'ay': u'Categoría Discusión', 'az': u'Kateqoriya müzakirəsi', 'ba': u'Категория б-са фекер алышыу', 'bar': u'Kategorie Diskussion', 'bat-smg':u'Kategorijos aptarimas', 'be': u'Размовы пра катэгорыю', 'be-x-old': u'Абмеркаваньне катэгорыі', 'bg': u'Категория беседа', 'bm': u'Discussion Catégorie', 'bpy': u'থাকর য়্যারী', 'br': u'Kaozeadenn Rummad', 'bs': u'Razgovor o kategoriji', 'ca': u'Categoria Discussió', 'ce': u'Обсуждение категории', 'cs': u'Kategorie diskuse', 'csb': u'Diskùsëjô Kategòrëji', 'cu': u'Катигорїѩ бесѣда', 'cv': u'Категорине сӳтсе явмалли', 'cy': u'Sgwrs Categori', 'da': u'Kategoridiskussion', 'de': u'Kategorie Diskussion', 'el': u'Συζήτηση κατηγορίας', 'eo': u'Kategoria diskuto', 'es': u'Categoría Discusión', 'et': u'Kategooria arutelu', 'eu': u'Kategoria eztabaida', 'fa': u'بحث رده', 'fi': u'Keskustelu luokasta', 'fiu-vro': u'Katõgooria arotus', 'fo': u'Bólkur kjak', 'fr': u'Discussion Catégorie', 'frp': u'Discussion Catègorie', 'fur': u'Discussion categorie', 'fy': u'Kategory oerlis', 'ga': u'Plé catagóire', 'gn': u'Categoría Discusión', 'he': u'שיחת קטגוריה', 'hi': u'श्रेणी वार्ता', 'hr': u'Razgovor o kategoriji', 'hsb': u'Diskusija ke kategoriji', 'ht': u'Diskisyon Kategori', 'hu': u'Kategória vita', 'hy': u'Կատեգորիայի քննարկում', 'ia': u'Discussion Categoria', 'id': u'Pembicaraan Kategori', 'is': u'Flokkaspjall', 'it': u'Discussioni categoria', 'ja': u'Category‐ノート', 'jv': u'Dhiskusi Kategori', 'ka': u'კატეგორია განხილვა', 'kab': u'Amyannan n taggayt', 'kk': u'Санат талқылауы', 'kn': u'ವರ್ಗ ಚರ್ಚೆ', 'ko': u'분류토론', 'ksh':u'Saachjrupp Klaaf', 'ku': u'Kategorî nîqaş', 'kv': u'Обсуждение категории', 'la': u'Disputatio Categoriae', 'li': [u'Euverlèk categorie', u'Euverlèk kategorie'], 'lt': u'Kategorijos aptarimas', 'lv': u'Kategorijas diskusija', 'mk': u'Разговор за категорија', 'ml': u'വിഭാഗത്തിന്റെ സംവാദം', 'mr': u'वर्ग चर्चा', 'ms': u'Perbualan Kategori', 'mzn': u'بحث رده', 'nah': u'Categoría Discusión', 'nap': u'Discussioni categoria', 'nds': u'Kategorie Diskuschoon', 'nds-nl': [u'Overleg kattegerie', 'Overleg categorie'], 'new': u'पुचः खँलाबँला', 'nl': u'Overleg categorie', 'nn': u'Kategoridiskusjon', 'no': u'Kategoridiskusjon', 'nv': u"T'ááłáhági át'éego baa yinísht'į́", 'oc': u'Discussion Categoria', 'os': u'Категорийы тыххæй дискусси', 'pa': u'ਸ਼੍ਰੇਣੀ ਚਰਚਾ', 'pl': u'Dyskusja kategorii', 'pms':u'Discussion ant sla categorìa', 'pt': u'Categoria Discussão', 'qu': u'Categoría Discusión', 'rmy':[u'Shopni vakyarimata', u'Discuţie Categorie'], 'ro': u'Discuţie Categorie', 'ru': u'Обсуждение категории', 'sa': u'वर्गसंभाषणं', 'scn': u'Discussioni categoria', 'sk': u'Diskusia ku kategórii', 'sl': u'Pogovor o kategoriji', 'sr': u'Разговор о категорији', 'su': u'Obrolan kategori', 'sv': u'Kategoridiskussion', 'ta': u'பகுப்பு பேச்சு', 'te': u'వర్గం చర్చ', 'tg': u'Баҳси гурӯҳ', 'th': u'คุยเรื่องหมวดหมู่', 'tr': u'Kategori tartışma', 'tt': u'Törkem bäxäse', 'ty': u'Discussion Catégorie', 'udm': u'Категория сярысь вераськон', 'uk': u'Обговорення категорії', 'ur': u'تبادلۂ خیال زمرہ', 'uz': u'Kategoriya munozarasi', 'vec':u'Discussion categoria', 'vi': u'Thảo luận Thể loại', 'vls': u'Discuusje categorie', 'vo': u'Kladibespik', 'wa': u'Categoreye copene', 'wo': u'Discussion Catégorie', 'xal': u'Янзин тускар ухалвр', 'yi': u'קאַטעגאָריע רעדן', 'zea': u'Overleg categorie', }, }
|
50e42863893a1a4a8cc03199dc0f8384b6016f55 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4404/50e42863893a1a4a8cc03199dc0f8384b6016f55/family.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
365,
18,
529,
273,
599,
468,
19301,
628,
1062,
2207,
3901,
18,
11999,
381,
1980,
18,
3341,
19,
13044,
19,
2465,
13044,
67,
28751,
67,
1019,
365,
18,
287,
8133,
7943,
273,
306,
296,
7598,
17023,
1727,
17023,
581,
17023,
1031,
17023,
301,
17023,
539,
17023,
378,
17023,
297,
17023,
304,
17023,
11828,
17023,
303,
69,
17,
86,
416,
17023,
4840,
84,
17023,
345,
2187,
296,
689,
17023,
1600,
17023,
842,
17023,
528,
17023,
1561,
17023,
25709,
17023,
13392,
17023,
23121,
17,
1154,
17,
13569,
17023,
1458,
17,
70,
959,
17023,
12124,
17023,
2196,
17023,
2196,
17,
92,
17,
1673,
2187,
296,
70,
76,
17023,
13266,
17023,
3215,
17023,
1075,
17023,
2038,
17023,
2848,
17023,
12370,
17023,
70,
92,
86,
17023,
5353,
17023,
19774,
17023,
311,
70,
17023,
2143,
17023,
343,
2187,
296,
18538,
17023,
8134,
2187,
296,
88,
379,
17023,
2599,
17023,
2894,
17023,
11939,
17023,
2431,
17023,
2414,
17023,
84,
7201,
17023,
323,
17023,
15679,
17023,
16588,
17023,
72,
94,
17023,
81,
76,
2187,
296,
278,
17023,
292,
17023,
351,
80,
17023,
275,
17023,
281,
17023,
4361,
17023,
73,
89,
17023,
1340,
17023,
507,
17023,
617,
17023,
4840,
17023,
74,
93,
17023,
1403,
17023,
74,
295,
17023,
15833,
2187,
296,
75,
90,
17023,
19016,
17023,
7043,
17023,
15299,
17023,
7043,
79,
17023,
6891,
17023,
13212,
17023,
23121,
17,
1106,
1706,
17023,
76,
581,
17023,
92,
287,
17023,
28179,
17023,
3395,
17023,
76,
2219,
17023,
18112,
17023,
12266,
17023,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
365,
18,
529,
273,
599,
468,
19301,
628,
1062,
2207,
3901,
18,
11999,
381,
1980,
18,
3341,
19,
13044,
19,
2465,
13044,
67,
28751,
67,
1019,
365,
18,
287,
8133,
7943,
273,
306,
296,
7598,
17023,
1727,
17023,
581,
17023,
1031,
17023,
301,
17023,
539,
17023,
378,
17023,
297,
17023,
304,
17023,
11828,
17023,
303,
69,
17,
86,
416,
17023,
4840,
84,
17023,
345,
2187,
296,
689,
17023,
1600,
17023,
842,
17023,
528,
17023,
1561,
17023,
25709,
17023,
13392,
17023,
23121,
17,
1154,
17,
13569,
17023,
1458,
17,
70,
959,
17023,
12124,
17023,
2196,
17023,
2196,
17,
92,
17,
1673,
2187,
296,
70,
76,
17023,
13266,
17023,
3215,
17023,
1075,
17023,
2038,
2
] |
if str[0] == '"' and str[-1:] == '"': return str[1:-1] if str[0] == '<' and str[-1:] == '>':
|
if str.startswith('"') and str.endswith('"'): return str[1:-1].replace('\\\\', '\\').replace('\\"', '"') if str.startswith('<') and str.endswith('>'):
|
def unquote(str): """Remove quotes from a string.""" if len(str) > 1: if str[0] == '"' and str[-1:] == '"': return str[1:-1] if str[0] == '<' and str[-1:] == '>': return str[1:-1] return str
|
b5085638d81a65b47afa7b8860fd544f68e52549 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/b5085638d81a65b47afa7b8860fd544f68e52549/rfc822.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
25611,
12,
701,
4672,
3536,
3288,
10681,
628,
279,
533,
12123,
309,
562,
12,
701,
13,
405,
404,
30,
309,
609,
18,
17514,
1918,
2668,
5187,
13,
471,
609,
18,
5839,
1918,
2668,
5187,
4672,
327,
609,
63,
21,
30,
17,
21,
8009,
2079,
2668,
13011,
2187,
5282,
2934,
2079,
2668,
27576,
2187,
4754,
13,
309,
609,
18,
17514,
1918,
2668,
32,
6134,
471,
609,
18,
5839,
1918,
2668,
1870,
4672,
327,
609,
63,
21,
30,
17,
21,
65,
327,
609,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
25611,
12,
701,
4672,
3536,
3288,
10681,
628,
279,
533,
12123,
309,
562,
12,
701,
13,
405,
404,
30,
309,
609,
18,
17514,
1918,
2668,
5187,
13,
471,
609,
18,
5839,
1918,
2668,
5187,
4672,
327,
609,
63,
21,
30,
17,
21,
8009,
2079,
2668,
13011,
2187,
5282,
2934,
2079,
2668,
27576,
2187,
4754,
13,
309,
609,
18,
17514,
1918,
2668,
32,
6134,
471,
609,
18,
5839,
1918,
2668,
1870,
4672,
327,
609,
63,
21,
30,
17,
21,
65,
327,
609,
282,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.on.append(n);
|
self.on.append(n);
|
def _handleNode(self,node,end): i = self.o.index(node.lid) self.on.pop(i) self.o.pop(i) self.c.append(node.lid)
|
6c6d84c3ad2857d8a0531038f79a0f65cf5df53e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6661/6c6d84c3ad2857d8a0531038f79a0f65cf5df53e/astar.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4110,
907,
12,
2890,
16,
2159,
16,
409,
4672,
277,
273,
365,
18,
83,
18,
1615,
12,
2159,
18,
80,
350,
13,
365,
18,
265,
18,
5120,
12,
77,
13,
365,
18,
83,
18,
5120,
12,
77,
13,
365,
18,
71,
18,
6923,
12,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4110,
907,
12,
2890,
16,
2159,
16,
409,
4672,
277,
273,
365,
18,
83,
18,
1615,
12,
2159,
18,
80,
350,
13,
365,
18,
265,
18,
5120,
12,
77,
13,
365,
18,
83,
18,
5120,
12,
77,
13,
365,
18,
71,
18,
6923,
12,
2159,
18,
80,
350,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if not hasattr(item, attrName) or \ (value != item.getAttributeValue(attrName)): logger.debug( "for %s setting %s to %s" % \ (item.getItemDisplayName().encode('utf8'), attrName, value)) item.setAttributeValue(attrName, value) else: logger.debug( "for %s skipping %s of %s" % \ (item.getItemDisplayName().encode('utf8'), attrName, value)) pass
|
logger.debug( "for %s setting %s to %s" % \ (item.getItemDisplayName().encode('utf8'), attrName, value)) item.setAttributeValue(attrName, value)
|
def __importNode(self, node, item=None):
|
d3a6a79fbf985ab1afb6b465877a01f09dc376ad /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/d3a6a79fbf985ab1afb6b465877a01f09dc376ad/Sharing.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
5666,
907,
12,
2890,
16,
756,
16,
761,
33,
7036,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
5666,
907,
12,
2890,
16,
756,
16,
761,
33,
7036,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
f = open ( filename, "r") s = f.read()
|
s = '' try: f = open ( filename, "r") s = f.read() except: s=''
|
def termlist(self): """Term List for html doc""" c_ids, p_ids = self.vocab.azlist() tl = """<div class="termlist">""" tl = """%s<h3>Classes and Properties (full detail)</h3><div class='termdetails'><br />\n\n""" % tl # first classes, then properties eg = """<div class="specterm" id="term_%s"> <h3>%s: foaf:%s</h3> <em>%s</em> - %s <br /><table style="th { float: top; }"> <tr><th>Status:</th> <td>%s</td></tr> %s %s </table> <p>%s</p> <p style="float: right; font-size: small;">[<a href="#glance">back to top</a>]</p> <br/> </div>"""
|
cf431c62d06b49c2e06bfe33939a73551ad1e137 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3661/cf431c62d06b49c2e06bfe33939a73551ad1e137/libvocab.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
19272,
781,
376,
12,
2890,
4672,
3536,
4065,
987,
364,
1729,
997,
8395,
276,
67,
2232,
16,
293,
67,
2232,
273,
365,
18,
15913,
18,
1561,
1098,
1435,
8332,
273,
3536,
32,
2892,
667,
1546,
387,
781,
376,
6,
2984,
3660,
8332,
273,
3536,
9,
87,
32,
76,
23,
34,
4818,
471,
6183,
261,
2854,
7664,
13,
1757,
76,
23,
4438,
2892,
667,
2218,
387,
1264,
1987,
11,
4438,
2848,
342,
5333,
82,
64,
82,
8395,
738,
8332,
468,
1122,
3318,
16,
1508,
1790,
9130,
273,
3536,
32,
2892,
667,
1546,
13234,
1035,
6,
612,
1546,
6408,
10185,
87,
6441,
411,
76,
23,
9822,
87,
30,
18261,
1727,
5319,
87,
1757,
76,
23,
34,
411,
351,
9822,
87,
1757,
351,
34,
300,
738,
87,
411,
2848,
342,
4438,
2121,
2154,
1546,
451,
288,
1431,
30,
1760,
31,
289,
6441,
411,
313,
4438,
451,
34,
1482,
19814,
451,
34,
411,
4465,
9822,
87,
1757,
4465,
4695,
313,
34,
738,
87,
738,
87,
7765,
2121,
34,
411,
84,
9822,
87,
1757,
84,
34,
411,
84,
2154,
1546,
5659,
30,
2145,
31,
3512,
17,
1467,
30,
5264,
4868,
23224,
32,
69,
3897,
1546,
7,
7043,
1359,
6441,
823,
358,
1760,
1757,
69,
34,
65,
1757,
84,
34,
411,
2848,
21259,
7765,
2892,
2984,
3660,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
19272,
781,
376,
12,
2890,
4672,
3536,
4065,
987,
364,
1729,
997,
8395,
276,
67,
2232,
16,
293,
67,
2232,
273,
365,
18,
15913,
18,
1561,
1098,
1435,
8332,
273,
3536,
32,
2892,
667,
1546,
387,
781,
376,
6,
2984,
3660,
8332,
273,
3536,
9,
87,
32,
76,
23,
34,
4818,
471,
6183,
261,
2854,
7664,
13,
1757,
76,
23,
4438,
2892,
667,
2218,
387,
1264,
1987,
11,
4438,
2848,
342,
5333,
82,
64,
82,
8395,
738,
8332,
468,
1122,
3318,
16,
1508,
1790,
9130,
273,
3536,
32,
2892,
667,
1546,
13234,
1035,
6,
612,
1546,
6408,
10185,
87,
6441,
411,
76,
23,
9822,
87,
30,
18261,
1727,
5319,
87,
1757,
76,
23,
34,
411,
351,
9822,
87,
2
] |
if values and field_name: self._field_get2(cr, uid, obj, context) relation = obj._name res = {} if type(ids) != type([]): ids=[ids] objlst = obj.browse(cr, uid, ids) for data in objlst: t_id = None t_data = data relation = obj._name for i in range(len(self.arg)): field_detail = self._relations[i] relation = field_detail['object'] if not t_data[self.arg[i]]: if self._type not in ('one2many', 'many2many'): t_id = t_data['id']
|
self._field_get2(cr, uid, obj, context) if type(ids) != type([]): ids=[ids] objlst = obj.browse(cr, uid, ids) for data in objlst: t_id = data.id t_data = data for i in range(len(self.arg)): if not t_data: break field_detail = self._relations[i] if not t_data[self.arg[i]]: if self._type not in ('one2many', 'many2many'): t_id = t_data['id'] t_data = False elif field_detail['type'] in ('one2many', 'many2many'): if self._type != "many2one": t_id = t_data.id t_data = t_data[self.arg[i]][0] else:
|
def _fnct_write(self,obj,cr, uid, ids, field_name, values, args, context=None): if values and field_name: self._field_get2(cr, uid, obj, context) relation = obj._name res = {} if type(ids) != type([]): ids=[ids] objlst = obj.browse(cr, uid, ids) for data in objlst: t_id = None t_data = data relation = obj._name for i in range(len(self.arg)): field_detail = self._relations[i] relation = field_detail['object'] if not t_data[self.arg[i]]: if self._type not in ('one2many', 'many2many'): t_id = t_data['id'] t_data = False break if field_detail['type'] in ('one2many', 'many2many'): if self._type != "many2one": t_id = t_data.id t_data = t_data[self.arg[i]][0] else: t_data = False break else: t_id = t_data['id'] t_data = t_data[self.arg[i]]
|
1a4ef0313f7c15ac4cc2e8528b92fad3b6eb021f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/1a4ef0313f7c15ac4cc2e8528b92fad3b6eb021f/fields.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4293,
299,
67,
2626,
12,
2890,
16,
2603,
16,
3353,
16,
4555,
16,
3258,
16,
652,
67,
529,
16,
924,
16,
833,
16,
819,
33,
7036,
4672,
365,
6315,
1518,
67,
588,
22,
12,
3353,
16,
4555,
16,
1081,
16,
819,
13,
309,
618,
12,
2232,
13,
480,
618,
3816,
65,
4672,
3258,
22850,
2232,
65,
1081,
16923,
273,
1081,
18,
25731,
12,
3353,
16,
4555,
16,
3258,
13,
364,
501,
316,
1081,
16923,
30,
268,
67,
350,
273,
501,
18,
350,
268,
67,
892,
273,
501,
364,
277,
316,
1048,
12,
1897,
12,
2890,
18,
3175,
3719,
30,
309,
486,
268,
67,
892,
30,
898,
652,
67,
8992,
273,
365,
6315,
15018,
63,
77,
65,
309,
486,
268,
67,
892,
63,
2890,
18,
3175,
63,
77,
13563,
30,
309,
365,
6315,
723,
486,
316,
7707,
476,
22,
9353,
2187,
296,
9353,
22,
9353,
11,
4672,
268,
67,
350,
273,
268,
67,
892,
3292,
350,
3546,
268,
67,
892,
273,
1083,
1327,
652,
67,
8992,
3292,
723,
3546,
316,
7707,
476,
22,
9353,
2187,
296,
9353,
22,
9353,
11,
4672,
309,
365,
6315,
723,
480,
315,
9353,
22,
476,
6877,
268,
67,
350,
273,
268,
67,
892,
18,
350,
268,
67,
892,
273,
268,
67,
892,
63,
2890,
18,
3175,
63,
77,
65,
6362,
20,
65,
469,
30,
268,
67,
892,
273,
1083,
898,
309,
652,
67,
8992,
3292,
723,
3546,
316,
7707,
476,
22,
9353,
2187,
296,
9353,
22,
9353,
11,
4672,
309,
365,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4293,
299,
67,
2626,
12,
2890,
16,
2603,
16,
3353,
16,
4555,
16,
3258,
16,
652,
67,
529,
16,
924,
16,
833,
16,
819,
33,
7036,
4672,
365,
6315,
1518,
67,
588,
22,
12,
3353,
16,
4555,
16,
1081,
16,
819,
13,
309,
618,
12,
2232,
13,
480,
618,
3816,
65,
4672,
3258,
22850,
2232,
65,
1081,
16923,
273,
1081,
18,
25731,
12,
3353,
16,
4555,
16,
3258,
13,
364,
501,
316,
1081,
16923,
30,
268,
67,
350,
273,
501,
18,
350,
268,
67,
892,
273,
501,
364,
277,
316,
1048,
12,
1897,
12,
2890,
18,
3175,
3719,
30,
309,
486,
268,
67,
892,
30,
898,
652,
67,
8992,
273,
365,
6315,
15018,
63,
77,
65,
309,
2
] |
reply.getQuerynode().addChild("feature", {"var":"http://jabber.org/protocol/si"}) reply.getQuerynode().addChild("feature", {"var":"http://jabber.org/protocol/si/profile/spade-p2p-messaging"})
|
reply.getTag("query").addChild("feature", {"var":"http://jabber.org/protocol/si"}) reply.getTag("query").addChild("feature", {"var":"http://jabber.org/protocol/si/profile/spade-p2p-messaging"})
|
def _process(self): self.msg = self._receive(False) if self.msg != None: if self.msg.getType() == "get": #print "DISCO Behaviour called" #print self.myAgent.getName(),": DISCO request from", str(self.msg.getFrom()) # Inform of services reply = self.msg.buildReply("result") if self.myAgent.p2p_ready: reply.getQuerynode().addChild("feature", {"var":"http://jabber.org/protocol/si"}) reply.getQuerynode().addChild("feature", {"var":"http://jabber.org/protocol/si/profile/spade-p2p-messaging"}) self.myAgent.jabber.send(reply) #print self.myAgent.getName(),": SENT DISCO REPLY TO", str(reply.getTo()) elif self.msg.getType() == "result": services = [] for child in self.msg.getQueryChildren(): services.append(str(child.getAttr("var"))) if "http://jabber.org/protocol/si/profile/spade-p2p-messaging" not in services: frm = self.msg.getFrom().getStripped() if str(frm) in self.myAgent.p2p_routes.keys(): # This agent does no longer support p2p
|
3fd3d787c8af9fa40be6b7e2507de52eb463020d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10121/3fd3d787c8af9fa40be6b7e2507de52eb463020d/Agent.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2567,
12,
2890,
4672,
365,
18,
3576,
273,
365,
6315,
18149,
12,
8381,
13,
309,
365,
18,
3576,
480,
599,
30,
309,
365,
18,
3576,
18,
588,
559,
1435,
422,
315,
588,
6877,
468,
1188,
315,
2565,
16224,
4823,
3962,
477,
2566,
6,
468,
1188,
365,
18,
4811,
3630,
18,
17994,
9334,
6877,
3690,
16224,
590,
628,
3113,
609,
12,
2890,
18,
3576,
18,
588,
1265,
10756,
468,
657,
687,
434,
4028,
4332,
273,
365,
18,
3576,
18,
3510,
7817,
2932,
2088,
7923,
309,
365,
18,
4811,
3630,
18,
84,
22,
84,
67,
1672,
30,
4332,
18,
588,
1805,
2932,
2271,
20387,
1289,
1763,
2932,
7238,
3113,
12528,
1401,
15563,
2505,
2207,
78,
378,
744,
18,
3341,
19,
8373,
19,
7722,
6,
6792,
4332,
18,
588,
1805,
2932,
2271,
20387,
1289,
1763,
2932,
7238,
3113,
12528,
1401,
15563,
2505,
2207,
78,
378,
744,
18,
3341,
19,
8373,
19,
7722,
19,
5040,
19,
1752,
2486,
17,
84,
22,
84,
17,
23208,
6,
6792,
365,
18,
4811,
3630,
18,
78,
378,
744,
18,
4661,
12,
10629,
13,
468,
1188,
365,
18,
4811,
3630,
18,
17994,
9334,
6877,
348,
2222,
3690,
16224,
2438,
23893,
8493,
3113,
609,
12,
10629,
18,
588,
774,
10756,
1327,
365,
18,
3576,
18,
588,
559,
1435,
422,
315,
2088,
6877,
4028,
273,
5378,
364,
1151,
316,
365,
18,
3576,
18,
588,
1138,
4212,
13332,
4028,
18,
6923,
12,
701,
12,
3624,
18,
588,
3843,
2932,
1401,
6,
20349,
309,
315,
2505,
2207,
78,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2567,
12,
2890,
4672,
365,
18,
3576,
273,
365,
6315,
18149,
12,
8381,
13,
309,
365,
18,
3576,
480,
599,
30,
309,
365,
18,
3576,
18,
588,
559,
1435,
422,
315,
588,
6877,
468,
1188,
315,
2565,
16224,
4823,
3962,
477,
2566,
6,
468,
1188,
365,
18,
4811,
3630,
18,
17994,
9334,
6877,
3690,
16224,
590,
628,
3113,
609,
12,
2890,
18,
3576,
18,
588,
1265,
10756,
468,
657,
687,
434,
4028,
4332,
273,
365,
18,
3576,
18,
3510,
7817,
2932,
2088,
7923,
309,
365,
18,
4811,
3630,
18,
84,
22,
84,
67,
1672,
30,
4332,
18,
588,
1805,
2932,
2271,
20387,
1289,
1763,
2932,
7238,
3113,
12528,
1401,
15563,
2505,
2207,
78,
378,
744,
18,
3341,
2
] |
if not self.useSubjectAltNameOnly and not hostValidationPassed:
|
if not hostValidationPassed:
|
def __call__(self, peerCert, host=None): if peerCert is None: raise NoCertificate('peer did not return certificate')
|
b9413f72d637e192919a806ed51af3844fb01f53 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8055/b9413f72d637e192919a806ed51af3844fb01f53/Checker.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
1991,
972,
12,
2890,
16,
4261,
5461,
16,
1479,
33,
7036,
4672,
309,
4261,
5461,
353,
599,
30,
1002,
2631,
4719,
2668,
12210,
5061,
486,
327,
4944,
6134,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if seenNames.has_key(tmlname): debugInspection('Seen %s already' % tmlname) continue seenNames[tmlname] = 1 if exists(tmlname): result.append(tmlname) debugInspection('Found ' + tmlname)
|
if isAModule(join((d,plugindir))): seenNames[plugindir] = 1 if exists(tmlname): result.append(tmlname) debugInspection('Found ' + tmlname) else: debugInspection('Failed ' + tmlname)
|
def getPluginFileList(debugInspection=None, showProgress=None): """Find plugin.tml files in subdirectories of paths in C{sys.path} @type debugInspection: C{None} or a callable taking one argument @param debugInspection: If not None, this is invoked with strings containing debug information about the loading process. If it is any other true value, this debug information is written to stdout (This behavior is deprecated). @type showProgress: C{None} or a callable taking one argument. @param showProgress: If not None, this is invoked with floating point values between 0 and 1 describing the progress of the loading process. If it is any other true value, this progress information is written to stdout. (This behavior is deprecated). @rtype: C{list} of C{str} @return: A list of the plugin.tml files found. """ if isinstance(debugInspection, types.IntType): warnings.warn( "int parameter for debugInspection is deprecated, pass None or " "a function that takes a single argument instead.", DeprecationWarning, 2 ) if isinstance(showProgress, types.IntType): warnings.warn( "int parameter for showProgress is deprecated, pass None or " "a function that takes a single argument instead.", DeprecationWarning, 2 ) debugInspection, showProgress = _prepCallbacks(debugInspection, showProgress) exists = os.path.exists join = os.sep.join result = [] loaded = {} seenNames = {} paths = filter(os.path.isdir, map(cacheTransform, sys.path)) # special case for commonly used directories we *know* shouldn't be checked # and really slow down mktap and such-like in real installations for p in ("/usr/bin", "/usr/local/bin"): try: paths.remove(p) except ValueError: pass progress = 0.0 increments = 1.0 / len(paths) for (index, d) in zip(range(len(paths)), paths): showProgress(progress) if loaded.has_key(d): debugInspection('Already saw ' + d) continue else: debugInspection('Recursing through ' + d) try: subDirs = listDirectories(d) except ListError, (err, s): # Permission denied, carry on if err == errno.EACCES: debugInspection('Permission denied on ' + d) else: raise else: # filter out files we obviously don't need to check - ones with '.' in them subDirs = [s for s in subDirs if "." not in s] if not subDirs: continue incr = increments * (1.0 / len(subDirs)) for plugindir in subDirs: tmlname = join((d, plugindir, "plugins.tml")) if seenNames.has_key(tmlname): debugInspection('Seen %s already' % tmlname) continue seenNames[tmlname] = 1 if exists(tmlname): result.append(tmlname) debugInspection('Found ' + tmlname) else: debugInspection('Failed ' + tmlname) progress = progress + incr showProgress(progress) if not result: raise IOError("Couldn't find a plugins file!") showProgress(1.0) return result
|
cf37cab2907c62030461b721de0c2aaaa2eb26fb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/cf37cab2907c62030461b721de0c2aaaa2eb26fb/plugin.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
16319,
26098,
12,
4148,
14985,
33,
7036,
16,
2405,
5491,
33,
7036,
4672,
3536,
3125,
1909,
18,
1419,
1390,
316,
31220,
434,
2953,
316,
385,
95,
9499,
18,
803,
97,
225,
632,
723,
1198,
14985,
30,
385,
95,
7036,
97,
578,
279,
4140,
13763,
1245,
1237,
632,
891,
1198,
14985,
30,
971,
486,
599,
16,
333,
353,
8187,
598,
2064,
4191,
1198,
1779,
2973,
326,
7153,
1207,
18,
225,
971,
518,
353,
1281,
1308,
638,
460,
16,
333,
1198,
1779,
353,
5941,
358,
3909,
261,
2503,
6885,
353,
6849,
2934,
225,
632,
723,
2405,
5491,
30,
385,
95,
7036,
97,
578,
279,
4140,
13763,
1245,
1237,
18,
632,
891,
2405,
5491,
30,
971,
486,
599,
16,
333,
353,
8187,
598,
13861,
1634,
924,
3086,
374,
471,
404,
16868,
326,
4007,
434,
326,
7153,
1207,
18,
971,
518,
353,
1281,
1308,
638,
460,
16,
333,
4007,
1779,
353,
5941,
358,
3909,
18,
225,
261,
2503,
6885,
353,
6849,
2934,
225,
632,
86,
723,
30,
385,
95,
1098,
97,
434,
385,
95,
701,
97,
632,
2463,
30,
432,
666,
434,
326,
1909,
18,
1419,
1390,
1392,
18,
3536,
309,
1549,
12,
4148,
14985,
16,
1953,
18,
1702,
559,
4672,
5599,
18,
8935,
12,
315,
474,
1569,
364,
1198,
14985,
353,
6849,
16,
1342,
599,
578,
315,
315,
69,
445,
716,
5530,
279,
2202,
1237,
3560,
1199,
16,
24041,
16,
576,
262,
309,
1549,
12,
4500,
5491,
16,
1953,
18,
1702,
559,
4672,
5599,
18,
8935,
12,
315,
474,
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,
16319,
26098,
12,
4148,
14985,
33,
7036,
16,
2405,
5491,
33,
7036,
4672,
3536,
3125,
1909,
18,
1419,
1390,
316,
31220,
434,
2953,
316,
385,
95,
9499,
18,
803,
97,
225,
632,
723,
1198,
14985,
30,
385,
95,
7036,
97,
578,
279,
4140,
13763,
1245,
1237,
632,
891,
1198,
14985,
30,
971,
486,
599,
16,
333,
353,
8187,
598,
2064,
4191,
1198,
1779,
2973,
326,
7153,
1207,
18,
225,
971,
518,
353,
1281,
1308,
638,
460,
16,
333,
1198,
1779,
353,
5941,
358,
3909,
261,
2503,
6885,
353,
6849,
2934,
225,
632,
723,
2405,
5491,
30,
385,
95,
7036,
97,
578,
279,
4140,
13763,
1245,
1237,
18,
632,
891,
2405,
5491,
30,
971,
486,
599,
16,
333,
353,
2
] |
print "%s watcher %s wants to subscribe to your presence information. Press (a) to allow, (d) to deny, (p) to polite block:" % (pending[0].status, pending[0])
|
print "%s watcher %s wants to subscribe to your presence information. Press (a) for allow, (d) for deny or (p) for polite blocking:" % (pending[0].status.capitalize(), pending[0])
|
def read_queue(e, username, domain, password, display_name, route, xcap_root, expires, do_siptrace, pjsip_logging): global user_quit, lock, queue, sip_uri, winfo, xcap_client lock.acquire() try: sip_uri = SIPURI(user=username, host=domain, display=display_name) sub = Subscription(Credentials(sip_uri, password), sip_uri, 'presence.winfo', route=route, expires=expires) winfo = WatcherInfo() if xcap_root is not None: xcap_client = XCAPClient(xcap_root, '%s@%s' % (sip_uri.user, sip_uri.host), password=password, auth=None) print 'Retrieving current presence rules from %s' % xcap_root get_prules() print 'Allowed list:' if allow_rule_identities is not None: for identity in allow_rule_identities: print '\t%s' % identity print 'Blocked list:' if block_rule_identities is not None: for identity in block_rule_identities: print '\t%s' % identity print 'Polite-blocked list:' if polite_block_rule_identities is not None: for identity in polite_block_rule_identities: print '\t%s' % identity print 'Subscribing to "%s@%s" for the presence.winfo event, at %s:%d' % (sip_uri.user, sip_uri.host, route.host, route.port) sub.subscribe() while True: command, data = queue.get() if command == "print": print data if len(pending) > 0: print "%s watcher %s wants to subscribe to your presence information. Press (a) to allow, (d) to deny, (p) to polite block:" % (pending[0].status, pending[0]) if command == "pypjua_event": event_name, args = data if command == "user_input": key = data if len(pending) > 0: if key == 'a': watcher = pending.popleft() allow_watcher(watcher) elif key == 'd': watcher = pending.popleft() block_watcher(watcher) elif key == 'p': watcher = pending.popleft() polite_block_watcher(watcher) else: print "Please select a valid choice. Press (a) to allow, (d) to deny, (p) to polite block" if len(pending) > 0: print "%s watcher %s wants to subscribe to your presence information. Press (a) to allow, (d) to deny, (p) to polite block:" % (pending[0].status, pending[0]) if command == "eof": command = "end" want_quit = True if command == "end": try: sub.unsubscribe() except: pass if command == "quit": user_quit = False break except: user_quit = False traceback.print_exc() finally: e.stop() if not user_quit: os.kill(os.getpid(), signal.SIGINT) lock.release()
|
b61b48f4af98bcbfee2f3264663db7993b4ea827 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5703/b61b48f4af98bcbfee2f3264663db7993b4ea827/sip_subscribe_winfo.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
67,
4000,
12,
73,
16,
2718,
16,
2461,
16,
2201,
16,
2562,
67,
529,
16,
1946,
16,
619,
5909,
67,
3085,
16,
7368,
16,
741,
67,
28477,
5129,
16,
293,
2924,
625,
67,
11167,
4672,
2552,
729,
67,
27176,
16,
2176,
16,
2389,
16,
10341,
67,
1650,
16,
341,
1376,
16,
619,
5909,
67,
2625,
2176,
18,
1077,
1039,
1435,
775,
30,
10341,
67,
1650,
273,
348,
2579,
3098,
12,
1355,
33,
5053,
16,
1479,
33,
4308,
16,
2562,
33,
5417,
67,
529,
13,
720,
273,
12132,
12,
6163,
12,
28477,
67,
1650,
16,
2201,
3631,
10341,
67,
1650,
16,
296,
21731,
18,
91,
1376,
2187,
1946,
33,
5547,
16,
7368,
33,
12431,
13,
341,
1376,
273,
24424,
966,
1435,
225,
309,
619,
5909,
67,
3085,
353,
486,
599,
30,
619,
5909,
67,
2625,
273,
1139,
17296,
1227,
12,
92,
5909,
67,
3085,
16,
1995,
87,
36,
9,
87,
11,
738,
261,
28477,
67,
1650,
18,
1355,
16,
10341,
67,
1650,
18,
2564,
3631,
2201,
33,
3664,
16,
1357,
33,
7036,
13,
1172,
296,
3848,
6282,
783,
9805,
2931,
628,
738,
87,
11,
738,
619,
5909,
67,
3085,
336,
67,
683,
1513,
1435,
1172,
296,
5042,
666,
2497,
309,
1699,
67,
5345,
67,
6392,
1961,
353,
486,
599,
30,
364,
4215,
316,
1699,
67,
5345,
67,
6392,
1961,
30,
1172,
2337,
88,
9,
87,
11,
738,
4215,
1172,
296,
23722,
666,
2497,
309,
1203,
67,
5345,
67,
6392,
1961,
353,
486,
599,
30,
364,
4215,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
67,
4000,
12,
73,
16,
2718,
16,
2461,
16,
2201,
16,
2562,
67,
529,
16,
1946,
16,
619,
5909,
67,
3085,
16,
7368,
16,
741,
67,
28477,
5129,
16,
293,
2924,
625,
67,
11167,
4672,
2552,
729,
67,
27176,
16,
2176,
16,
2389,
16,
10341,
67,
1650,
16,
341,
1376,
16,
619,
5909,
67,
2625,
2176,
18,
1077,
1039,
1435,
775,
30,
10341,
67,
1650,
273,
348,
2579,
3098,
12,
1355,
33,
5053,
16,
1479,
33,
4308,
16,
2562,
33,
5417,
67,
529,
13,
720,
273,
12132,
12,
6163,
12,
28477,
67,
1650,
16,
2201,
3631,
10341,
67,
1650,
16,
296,
21731,
18,
91,
1376,
2187,
1946,
33,
5547,
16,
7368,
33,
12431,
13,
341,
1376,
273,
2
] |
connection_callable = uowtransaction.mapper_flush_opts['connection_callable'] tups = [(state, _state_mapper(state), connection_callable(self, state.obj())) for state in _sort_states(states)]
|
connection_callable = \ uowtransaction.mapper_flush_opts['connection_callable']
|
def _delete_obj(self, states, uowtransaction): """Issue ``DELETE`` statements for a list of objects.
|
dfab13e9ae147a7112a23db5abc4e4b7addc00fa /local1/tlutelli/issta_data/temp/all_python//python/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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3733,
67,
2603,
12,
2890,
16,
5493,
16,
18215,
7958,
4672,
3536,
12956,
12176,
6460,
10335,
6317,
364,
279,
666,
434,
2184,
18,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
CallLater(5, auth_failed)
|
auth_failed()
|
def auth_failed(msg="Authentication failed."): if not self._closed: self.attempted_logins += 1 if self.attempted_logins >= self.max_login_attempts: msg = "530 " + msg + " Disconnecting." self.respond(msg) self.log(msg) self.close_when_done() else: self.respond("530 " + msg) self.log(msg) self.sleeping = False
|
788a0071ab45a8367ccf5fe97d060b43da1dd666 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5060/788a0071ab45a8367ccf5fe97d060b43da1dd666/ftpserver.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1357,
67,
7307,
12,
3576,
1546,
6492,
2535,
1199,
4672,
309,
486,
365,
6315,
12204,
30,
365,
18,
11764,
329,
67,
1330,
2679,
1011,
404,
309,
365,
18,
11764,
329,
67,
1330,
2679,
1545,
365,
18,
1896,
67,
5819,
67,
14359,
30,
1234,
273,
315,
25,
5082,
315,
397,
1234,
397,
315,
23957,
310,
1199,
365,
18,
17863,
12,
3576,
13,
365,
18,
1330,
12,
3576,
13,
365,
18,
4412,
67,
13723,
67,
8734,
1435,
469,
30,
365,
18,
17863,
2932,
25,
5082,
315,
397,
1234,
13,
365,
18,
1330,
12,
3576,
13,
365,
18,
19607,
310,
273,
1083,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2679,
1545,
365,
18,
1896,
67,
5819,
67,
14359,
30,
1234,
273,
315,
25,
5082,
315,
397,
1234,
397,
315,
23957,
310,
1199,
365,
18,
17863,
12,
3576,
13,
365,
18,
1330,
12,
3576,
13,
365,
18,
4412,
67,
13723,
67,
8734,
1435,
469,
30,
365,
18,
17863,
2932,
25,
5082,
315,
397,
1234,
13,
365,
18,
1330,
12,
3576,
13,
365,
18,
19607,
310,
273,
1083,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
cmd = "/sbin/fsck.ext3 -f -p " + self.partitionPath("1")
|
cmd = "fsck.ext3 -f -p " + self.partitionPath("1")
|
def fsck(self): # We autocorrect any failures # TODO: we could check if the fs is actually ext3 cmd = "/sbin/fsck.ext3 -f -p " + self.partitionPath("1") res = system(cmd) return (res >> 8)
|
6be8aade7cb66ee77fa3d7c5fb8002789e2efdef /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6652/6be8aade7cb66ee77fa3d7c5fb8002789e2efdef/Harddisk.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2662,
363,
12,
2890,
4672,
468,
1660,
23173,
280,
2607,
1281,
11720,
468,
2660,
30,
732,
3377,
866,
309,
326,
2662,
353,
6013,
1110,
23,
1797,
273,
315,
2556,
363,
18,
408,
23,
300,
74,
300,
84,
315,
397,
365,
18,
10534,
743,
2932,
21,
7923,
400,
273,
2619,
12,
4172,
13,
327,
261,
455,
1671,
1725,
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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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2662,
363,
12,
2890,
4672,
468,
1660,
23173,
280,
2607,
1281,
11720,
468,
2660,
30,
732,
3377,
866,
309,
326,
2662,
353,
6013,
1110,
23,
1797,
273,
315,
2556,
363,
18,
408,
23,
300,
74,
300,
84,
315,
397,
365,
18,
10534,
743,
2932,
21,
7923,
400,
273,
2619,
12,
4172,
13,
327,
261,
455,
1671,
1725,
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
] |
doc = etree.fromstring(xml, parser=parser)
|
try: doc = etree.fromstring(xml, parser=parser) except: self.log.warn('Failed to parse XML. Trying to recover') parser = etree.XMLParser(no_network=True, huge_tree=True, recover=True) doc = etree.fromstring(xml, parser=parser)
|
def convert(self, stream, options, file_ext, log, accelerators): self.log = log self.log('Generating XML') from calibre.ebooks.lrf.lrfparser import LRFDocument d = LRFDocument(stream) d.parse() xml = d.to_xml(write_files=True) if options.verbose > 2: open('lrs.xml', 'wb').write(xml.encode('utf-8')) parser = etree.XMLParser(no_network=True, huge_tree=True) doc = etree.fromstring(xml, parser=parser) char_button_map = {} for x in doc.xpath('//CharButton[@refobj]'): ro = x.get('refobj') jump_button = doc.xpath('//*[@objid="%s"]'%ro) if jump_button: jump_to = jump_button[0].xpath('descendant::JumpTo[@refpage and @refobj]') if jump_to: char_button_map[ro] = '%s.xhtml#%s'%(jump_to[0].get('refpage'), jump_to[0].get('refobj')) plot_map = {} for x in doc.xpath('//Plot[@refobj]'): ro = x.get('refobj') image = doc.xpath('//Image[@objid="%s" and @refstream]'%ro) if image: imgstr = doc.xpath('//ImageStream[@objid="%s" and @file]'% image[0].get('refstream')) if imgstr: plot_map[ro] = imgstr[0].get('file')
|
ed5b45164be7656a41c94b65e4acb9167e27c61c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/ed5b45164be7656a41c94b65e4acb9167e27c61c/input.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1765,
12,
2890,
16,
1407,
16,
702,
16,
585,
67,
408,
16,
613,
16,
15153,
264,
3062,
4672,
365,
18,
1330,
273,
613,
365,
18,
1330,
2668,
21755,
3167,
6134,
628,
26139,
266,
18,
73,
12567,
18,
80,
5809,
18,
80,
5809,
4288,
1930,
511,
12918,
2519,
302,
273,
511,
12918,
2519,
12,
3256,
13,
302,
18,
2670,
1435,
2025,
273,
302,
18,
869,
67,
2902,
12,
2626,
67,
2354,
33,
5510,
13,
309,
702,
18,
11369,
405,
576,
30,
1696,
2668,
80,
5453,
18,
2902,
2187,
296,
9464,
16063,
2626,
12,
2902,
18,
3015,
2668,
3158,
17,
28,
26112,
2082,
273,
12031,
18,
4201,
2678,
12,
2135,
67,
5185,
33,
5510,
16,
366,
21627,
67,
3413,
33,
5510,
13,
775,
30,
997,
273,
12031,
18,
2080,
1080,
12,
2902,
16,
2082,
33,
4288,
13,
1335,
30,
365,
18,
1330,
18,
8935,
2668,
2925,
358,
1109,
3167,
18,
6161,
310,
358,
5910,
6134,
2082,
273,
12031,
18,
4201,
2678,
12,
2135,
67,
5185,
33,
5510,
16,
366,
21627,
67,
3413,
33,
5510,
16,
5910,
33,
5510,
13,
997,
273,
12031,
18,
2080,
1080,
12,
2902,
16,
2082,
33,
4288,
13,
282,
1149,
67,
5391,
67,
1458,
273,
2618,
364,
619,
316,
997,
18,
18644,
2668,
759,
2156,
3616,
14782,
266,
27936,
3864,
4672,
721,
273,
619,
18,
588,
2668,
266,
27936,
6134,
11833,
67,
5391,
273,
997,
18,
18644,
2668,
759,
14,
14782,
2603,
350,
11613,
87,
24200,
9,
303,
13,
309,
11833,
67,
5391,
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,
1765,
12,
2890,
16,
1407,
16,
702,
16,
585,
67,
408,
16,
613,
16,
15153,
264,
3062,
4672,
365,
18,
1330,
273,
613,
365,
18,
1330,
2668,
21755,
3167,
6134,
628,
26139,
266,
18,
73,
12567,
18,
80,
5809,
18,
80,
5809,
4288,
1930,
511,
12918,
2519,
302,
273,
511,
12918,
2519,
12,
3256,
13,
302,
18,
2670,
1435,
2025,
273,
302,
18,
869,
67,
2902,
12,
2626,
67,
2354,
33,
5510,
13,
309,
702,
18,
11369,
405,
576,
30,
1696,
2668,
80,
5453,
18,
2902,
2187,
296,
9464,
16063,
2626,
12,
2902,
18,
3015,
2668,
3158,
17,
28,
26112,
2082,
273,
12031,
18,
4201,
2678,
12,
2135,
67,
5185,
33,
5510,
16,
366,
21627,
67,
3413,
33,
2
] |
if self.tray_open and self.info: self.tray_open = FALSE
|
def is_tray_open(self): if self.tray_open and self.info: # if we have an info, the tray can't be open self.tray_open = FALSE return self.tray_open
|
edee4f15b480e99ca8e08ab0a36353de07e1214d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/edee4f15b480e99ca8e08ab0a36353de07e1214d/rom_drives.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
353,
67,
313,
528,
67,
3190,
12,
2890,
4672,
309,
365,
18,
313,
528,
67,
3190,
471,
365,
18,
1376,
30,
468,
309,
732,
1240,
392,
1123,
16,
326,
268,
435,
848,
1404,
506,
1696,
365,
18,
313,
528,
67,
3190,
273,
4934,
327,
365,
18,
313,
528,
67,
3190,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
353,
67,
313,
528,
67,
3190,
12,
2890,
4672,
309,
365,
18,
313,
528,
67,
3190,
471,
365,
18,
1376,
30,
468,
309,
732,
1240,
392,
1123,
16,
326,
268,
435,
848,
1404,
506,
1696,
365,
18,
313,
528,
67,
3190,
273,
4934,
327,
365,
18,
313,
528,
67,
3190,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
'copyright': 'WM/Copyright',
|
'copyright': 'Copyright',
|
def pack_image(mime, data, type=3, description=""): """ Helper function to pack image data for a WM/Picture tag. See unpack_image for a description of the data format. """ tag_data = struct.pack("<bi", type, len(data)) tag_data += mime.encode("utf-16-le") + "\x00\x00" tag_data += description.encode("utf-16-le") + "\x00\x00" tag_data += data return tag_data
|
1f5fd7d5f52706b5109a1cf2cdd2d3b9cb5537e9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12415/1f5fd7d5f52706b5109a1cf2cdd2d3b9cb5537e9/asf.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2298,
67,
2730,
12,
11757,
16,
501,
16,
618,
33,
23,
16,
2477,
1546,
6,
4672,
3536,
9705,
445,
358,
2298,
1316,
501,
364,
279,
678,
49,
19,
24061,
1047,
18,
2164,
6167,
67,
2730,
364,
279,
2477,
434,
326,
501,
740,
18,
3536,
1047,
67,
892,
273,
1958,
18,
2920,
2932,
32,
13266,
3113,
618,
16,
562,
12,
892,
3719,
1047,
67,
892,
1011,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2298,
67,
2730,
12,
11757,
16,
501,
16,
618,
33,
23,
16,
2477,
1546,
6,
4672,
3536,
9705,
445,
358,
2298,
1316,
501,
364,
279,
678,
49,
19,
24061,
1047,
18,
2164,
6167,
67,
2730,
364,
279,
2477,
434,
326,
501,
740,
18,
3536,
1047,
67,
892,
273,
1958,
18,
2920,
2932,
32,
13266,
3113,
618,
16,
562,
12,
892,
3719,
1047,
67,
892,
1011,
4892,
18,
3015,
2932,
3158,
17,
2313,
17,
298,
7923,
397,
1548,
92,
713,
64,
92,
713,
6,
1047,
67,
892,
1011,
2477,
18,
3015,
2932,
3158,
17,
2313,
17,
298,
7923,
397,
1548,
92,
713,
64,
92,
713,
6,
1047,
67,
892,
1011,
501,
327,
1047,
67,
892,
225,
2,
-100,
-100,
-100
] |
print "***after, self.handlesphereRadius1 =", self.handleSphereRadius1 print "~~~~~~~~~~~"
|
def updateHandlePositions(self): """ Update handle positions """
|
338f2c14bed8b0958ed4d2c4161152fb760378b2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/338f2c14bed8b0958ed4d2c4161152fb760378b2/DnaSegment_EditCommand.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
3259,
11024,
12,
2890,
4672,
3536,
2315,
1640,
6865,
3536,
2,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
3259,
11024,
12,
2890,
4672,
3536,
2315,
1640,
6865,
3536,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
self.body.append (self.begin_frametag())
|
self.out.append (self.begin_frametag())
|
def visit_section (self, node): if has_sub_sections (node): temp = self.section_level + 1 if temp > self.frame_level: self.frame_level = temp else: self.body.append (self.begin_frametag()) LaTeXTranslator.visit_section (self, node)
|
37db8ffa549b63ebad9bbc3310aeafe2a276f03b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5620/37db8ffa549b63ebad9bbc3310aeafe2a276f03b/rst2beamer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3757,
67,
3464,
261,
2890,
16,
756,
4672,
309,
711,
67,
1717,
67,
11657,
261,
2159,
4672,
1906,
273,
365,
18,
3464,
67,
2815,
397,
404,
309,
1906,
405,
365,
18,
3789,
67,
2815,
30,
365,
18,
3789,
67,
2815,
273,
1906,
469,
30,
365,
18,
659,
18,
6923,
261,
2890,
18,
10086,
67,
74,
1940,
20788,
10756,
21072,
21575,
60,
12233,
18,
11658,
67,
3464,
261,
2890,
16,
756,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3757,
67,
3464,
261,
2890,
16,
756,
4672,
309,
711,
67,
1717,
67,
11657,
261,
2159,
4672,
1906,
273,
365,
18,
3464,
67,
2815,
397,
404,
309,
1906,
405,
365,
18,
3789,
67,
2815,
30,
365,
18,
3789,
67,
2815,
273,
1906,
469,
30,
365,
18,
659,
18,
6923,
261,
2890,
18,
10086,
67,
74,
1940,
20788,
10756,
21072,
21575,
60,
12233,
18,
11658,
67,
3464,
261,
2890,
16,
756,
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
] |
FixPostInst(options.mounted_dir) if (options.for_qemu == 'true'):
|
if (options.enable_tablet == 'true'):
|
def main(): parser = OptionParser(USAGE) parser.add_option('--mounted_dir', dest='mounted_dir', help='directory where the Chromium OS image is mounted') parser.add_option('--for_qemu', dest='for_qemu', default="true", help='fixup image for qemu') (options, args) = parser.parse_args() if not options.mounted_dir: parser.error("Please specify the mount point for the Chromium OS image"); if options.for_qemu not in ('true', 'false'): parser.error("Please specify either true or false for --for_qemu") FixPostInst(options.mounted_dir) if (options.for_qemu == 'true'): FixXorgConf(options.mounted_dir)
|
e79e88eb0ebd00998aa9feb256b8c6aaf21e4842 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9626/e79e88eb0ebd00998aa9feb256b8c6aaf21e4842/fixup_image_for_qemu.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
13332,
2082,
273,
18862,
12,
29550,
13,
2082,
18,
1289,
67,
3482,
2668,
413,
4778,
329,
67,
1214,
2187,
1570,
2218,
4778,
329,
67,
1214,
2187,
2809,
2218,
5149,
1625,
326,
1680,
520,
5077,
5932,
1316,
353,
20919,
6134,
2082,
18,
1289,
67,
3482,
2668,
413,
1884,
67,
85,
24995,
2187,
1570,
2218,
1884,
67,
85,
24995,
2187,
805,
1546,
3767,
3113,
2809,
2218,
904,
416,
1316,
364,
1043,
24995,
6134,
261,
2116,
16,
833,
13,
273,
2082,
18,
2670,
67,
1968,
1435,
225,
309,
486,
702,
18,
4778,
329,
67,
1214,
30,
2082,
18,
1636,
2932,
8496,
4800,
326,
5344,
1634,
364,
326,
1680,
520,
5077,
5932,
1316,
8863,
309,
702,
18,
1884,
67,
85,
24995,
486,
316,
7707,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
13332,
2082,
273,
18862,
12,
29550,
13,
2082,
18,
1289,
67,
3482,
2668,
413,
4778,
329,
67,
1214,
2187,
1570,
2218,
4778,
329,
67,
1214,
2187,
2809,
2218,
5149,
1625,
326,
1680,
520,
5077,
5932,
1316,
353,
20919,
6134,
2082,
18,
1289,
67,
3482,
2668,
413,
1884,
67,
85,
24995,
2187,
1570,
2218,
1884,
67,
85,
24995,
2187,
805,
1546,
3767,
3113,
2809,
2218,
904,
416,
1316,
364,
1043,
24995,
6134,
261,
2116,
16,
833,
13,
273,
2082,
18,
2670,
67,
1968,
1435,
225,
309,
486,
702,
18,
4778,
329,
67,
1214,
30,
2082,
18,
1636,
2932,
8496,
4800,
326,
5344,
1634,
364,
326,
1680,
520,
5077,
5932,
1316,
8863,
309,
702,
18,
1884,
67,
85,
24995,
2
] |
if self.pixbuf.get_height() >= size.height:
|
if self.pixbuf.get_height() == size.height:
|
def configure_event_cb(self, widget, size): if self.pixbuf and self.pixbuf.get_width() == size.width: if self.pixbuf.get_height() >= size.height: return self.redraw_thumbnails(size.width, size.height)
|
2dbb5d369e4b4c8c2e24744aec7c6232f4bbe6ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7129/2dbb5d369e4b4c8c2e24744aec7c6232f4bbe6ba/brushselectionwindow.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5068,
67,
2575,
67,
7358,
12,
2890,
16,
3604,
16,
963,
4672,
309,
365,
18,
14861,
4385,
471,
365,
18,
14861,
4385,
18,
588,
67,
2819,
1435,
422,
963,
18,
2819,
30,
309,
365,
18,
14861,
4385,
18,
588,
67,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5068,
67,
2575,
67,
7358,
12,
2890,
16,
3604,
16,
963,
4672,
309,
365,
18,
14861,
4385,
471,
365,
18,
14861,
4385,
18,
588,
67,
2819,
1435,
422,
963,
18,
2819,
30,
309,
365,
18,
14861,
4385,
18,
588,
67,
4210,
1435,
422,
963,
18,
4210,
30,
327,
365,
18,
1118,
1899,
67,
14904,
87,
12,
1467,
18,
2819,
16,
963,
18,
4210,
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
] |
unittest.main()
|
testsupport.main()
|
def test_appmethod(self): bm = BM_with_appmethod(self.space) w_bm = bm.wrap_me() modobj = self.space.unwrap(w_bm) bmd = modobj.__dict__ bmd_kys = bmd.keys() bmd_kys.sort() self.assertEqual(bmd_kys, ['__doc__','__name__','amethod']) self.assertEqual(bmd['__doc__'], BM_with_appmethod.__doc__) self.assertEqual(bmd['__name__'], BM_with_appmethod.__pythonname__) self.assertEqual(bmd['amethod'].__name__, 'amethod') result = bmd['amethod']() self.assertEqual(result, 23)
|
85ae45c7e8746185cccb31984fb38a4ab665ab6f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/85ae45c7e8746185cccb31984fb38a4ab665ab6f/test_extmodule.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
2910,
2039,
12,
2890,
4672,
18829,
273,
605,
49,
67,
1918,
67,
2910,
2039,
12,
2890,
18,
2981,
13,
341,
67,
25709,
273,
18829,
18,
4113,
67,
3501,
1435,
681,
2603,
273,
365,
18,
2981,
18,
318,
4113,
12,
91,
67,
25709,
13,
13817,
273,
681,
2603,
16186,
1576,
972,
13817,
67,
79,
1900,
273,
13817,
18,
2452,
1435,
13817,
67,
79,
1900,
18,
3804,
1435,
365,
18,
11231,
5812,
12,
70,
1264,
67,
79,
1900,
16,
10228,
972,
2434,
972,
17023,
972,
529,
972,
17023,
301,
572,
19486,
365,
18,
11231,
5812,
12,
70,
1264,
3292,
972,
2434,
972,
17337,
605,
49,
67,
1918,
67,
2910,
2039,
16186,
2434,
972,
13,
365,
18,
11231,
5812,
12,
70,
1264,
3292,
972,
529,
972,
17337,
605,
49,
67,
1918,
67,
2910,
2039,
16186,
8103,
529,
972,
13,
365,
18,
11231,
5812,
12,
70,
1264,
3292,
301,
572,
3546,
16186,
529,
972,
16,
296,
301,
572,
6134,
563,
273,
13817,
3292,
301,
572,
3546,
1435,
365,
18,
11231,
5812,
12,
2088,
16,
10213,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
2910,
2039,
12,
2890,
4672,
18829,
273,
605,
49,
67,
1918,
67,
2910,
2039,
12,
2890,
18,
2981,
13,
341,
67,
25709,
273,
18829,
18,
4113,
67,
3501,
1435,
681,
2603,
273,
365,
18,
2981,
18,
318,
4113,
12,
91,
67,
25709,
13,
13817,
273,
681,
2603,
16186,
1576,
972,
13817,
67,
79,
1900,
273,
13817,
18,
2452,
1435,
13817,
67,
79,
1900,
18,
3804,
1435,
365,
18,
11231,
5812,
12,
70,
1264,
67,
79,
1900,
16,
10228,
972,
2434,
972,
17023,
972,
529,
972,
17023,
301,
572,
19486,
365,
18,
11231,
5812,
12,
70,
1264,
3292,
972,
2434,
972,
17337,
605,
49,
67,
1918,
67,
2910,
2039,
16186,
2434,
972,
13,
365,
18,
11231,
5812,
2
] |
return(make_uid(_import_module(modname)))
|
return(make_uid(import_module(modname)))
|
def findUID(name, container, docmap=None): """ Attempt to find the UID for the object that can be accessed with the name C{name} from the module C{module}. @param name: The name used to identify the object. @type name: C{string} @param container: The UID of the class or module containing the object. @type container: L{UID} @param docmap: A documentation map, which is used to check if C{name} is the name of a module variable, class variable, or instance variable. @type docmap: L{objdoc.DocMap} @return: The UID for the object that can be accessed with the name C{name} from the module C{module}; or C{None} if no object was found. @rtype: L{UID} or C{None} """ if container is None: return None if not (container.is_module() or container.is_class()): raise ValueError('Bad container %r' % container) # Is it the short name for a member of the containing class? if container.is_class(): if _is_variable_in(name, container, docmap): val = None # it may not be a real object return make_uid(val, container, name) elif container.value().__dict__.has_key(name): cls = container.value() obj = cls.__dict__[name] if type(obj) is _FunctionType: return make_uid(new.instancemethod(obj, None, cls)) else: return make_uid(obj) else: container = container.module() module = container.value() components = name.split('.') # Is it a variable in the containing module? if _is_variable_in(name, container, docmap): val = None # it may not be a real object return make_uid(val, container, name) # Is it an object in the containing module? try: obj = module for component in components: try: obj = obj.__dict__[component] except: raise KeyError() return make_uid(obj) except KeyError: pass # Is it a module name? The module name may be relative to the # containing module, or any of its ancestors. modcomponents = container.name().split('.') for i in range(len(modcomponents)-1, -1, -1): try: modname = '.'.join(modcomponents[:i]+[name]) return(make_uid(_import_module(modname))) except: pass # Is it an object in a module? The module part of the name may be # relative to the containing module, or any of its ancestors. modcomponents = container.name().split('.') for i in range(len(modcomponents)-1, -1, -1): for j in range(len(components)-1, 0, -1): try: modname = '.'.join(modcomponents[:i]+components[:j]) objname = '.'.join(components[j:]) mod = _import_module(modname) if _is_variable_in(name, make_uid(mod), docmap): val = None # it may not be a real object return make_uid(val, container, name) obj = getattr(_import_module(modname), objname) return make_uid(obj) except: pass # We couldn't find it; return None. return None
|
553ad4bbccbdde516783d26cde58801169258548 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/553ad4bbccbdde516783d26cde58801169258548/uid.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1104,
3060,
12,
529,
16,
1478,
16,
997,
1458,
33,
7036,
4672,
3536,
12864,
358,
1104,
326,
10034,
364,
326,
733,
716,
848,
506,
15539,
598,
326,
508,
385,
95,
529,
97,
628,
326,
1605,
385,
95,
2978,
5496,
225,
632,
891,
508,
30,
1021,
508,
1399,
358,
9786,
326,
733,
18,
632,
723,
508,
30,
385,
95,
1080,
97,
632,
891,
1478,
30,
1021,
10034,
434,
326,
667,
578,
1605,
4191,
326,
733,
18,
632,
723,
1478,
30,
511,
95,
3060,
97,
632,
891,
997,
1458,
30,
432,
7323,
852,
16,
1492,
353,
1399,
358,
866,
309,
385,
95,
529,
97,
353,
326,
508,
434,
279,
1605,
2190,
16,
667,
2190,
16,
578,
791,
2190,
18,
632,
723,
997,
1458,
30,
511,
95,
2603,
2434,
18,
1759,
863,
97,
632,
2463,
30,
1021,
10034,
364,
326,
733,
716,
848,
506,
15539,
598,
326,
508,
385,
95,
529,
97,
628,
326,
1605,
385,
95,
2978,
20451,
578,
385,
95,
7036,
97,
309,
1158,
733,
1703,
1392,
18,
632,
86,
723,
30,
511,
95,
3060,
97,
578,
385,
95,
7036,
97,
3536,
309,
1478,
353,
599,
30,
327,
599,
309,
486,
261,
3782,
18,
291,
67,
2978,
1435,
578,
1478,
18,
291,
67,
1106,
1435,
4672,
1002,
2068,
2668,
6434,
1478,
738,
86,
11,
738,
1478,
13,
225,
468,
2585,
518,
326,
3025,
508,
364,
279,
3140,
434,
326,
4191,
667,
35,
309,
1478,
18,
291,
67,
1106,
13332,
309,
389,
291,
67,
6105,
67,
267,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1104,
3060,
12,
529,
16,
1478,
16,
997,
1458,
33,
7036,
4672,
3536,
12864,
358,
1104,
326,
10034,
364,
326,
733,
716,
848,
506,
15539,
598,
326,
508,
385,
95,
529,
97,
628,
326,
1605,
385,
95,
2978,
5496,
225,
632,
891,
508,
30,
1021,
508,
1399,
358,
9786,
326,
733,
18,
632,
723,
508,
30,
385,
95,
1080,
97,
632,
891,
1478,
30,
1021,
10034,
434,
326,
667,
578,
1605,
4191,
326,
733,
18,
632,
723,
1478,
30,
511,
95,
3060,
97,
632,
891,
997,
1458,
30,
432,
7323,
852,
16,
1492,
353,
1399,
358,
866,
309,
385,
95,
529,
97,
353,
326,
508,
434,
279,
1605,
2190,
16,
667,
2190,
16,
578,
791,
2190,
18,
632,
2
] |
return self.__transports.get(transportDomain)
|
return self.__transports.get(tuple(transportDomain))
|
def getTransport(self, transportDomain): return self.__transports.get(transportDomain)
|
8735aa5e5e72b12d645ad0cc6772914686da5e8b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/587/8735aa5e5e72b12d645ad0cc6772914686da5e8b/base.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
29801,
12,
2890,
16,
4736,
3748,
4672,
327,
365,
16186,
2338,
4363,
18,
588,
12,
13049,
3748,
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,
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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
filecontent = file_upload.stream.read()
|
filecontent = filecontent.read()
|
def _do_savedrawing(pagename, request): _ = request.getText if not request.user.may.write(pagename): return _('You are not allowed to save a drawing on this page.') file_upload = request.files.get('filepath') if not file_upload: # This might happen when trying to upload file names # with non-ascii characters on Safari. return _("No file content. Delete non ASCII characters from the file name and try again.") filename = request.form['filename'] basepath, basename = os.path.split(filename) basename, ext = os.path.splitext(basename) # get directory, and possibly create it attach_dir = getAttachDir(request, pagename, create=1) savepath = os.path.join(attach_dir, basename + ext) if ext == '.draw': _addLogEntry(request, 'ATTDRW', pagename, basename + ext) filecontent = file_upload.stream.read() # read file completely into memory filecontent = filecontent.replace("\r", "") elif ext == '.map': filecontent = file_upload.stream.read() # read file completely into memory filecontent = filecontent.strip() if filecontent: # filecontent is either a file or a non-empty string stream = open(savepath, 'wb') try: _write_stream(filecontent, stream) finally: stream.close() else: # filecontent is empty string (e.g. empty map file), delete the target file try: os.unlink(savepath) except OSError, err: if err.errno != errno.ENOENT: # no such file raise # touch attachment directory to invalidate cache if new map is saved if ext == '.map': os.utime(attach_dir, None) request.write("OK")
|
d70a3968baad5980718dd0f01d4d6ce5b02552d3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/888/d70a3968baad5980718dd0f01d4d6ce5b02552d3/AttachFile.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2896,
67,
14077,
1899,
310,
12,
9095,
1069,
16,
590,
4672,
389,
273,
590,
18,
588,
1528,
225,
309,
486,
590,
18,
1355,
18,
24877,
18,
2626,
12,
9095,
1069,
4672,
327,
389,
2668,
6225,
854,
486,
2935,
358,
1923,
279,
16327,
603,
333,
1363,
1093,
13,
225,
585,
67,
6327,
273,
590,
18,
2354,
18,
588,
2668,
10561,
6134,
309,
486,
585,
67,
6327,
30,
468,
1220,
4825,
5865,
1347,
8374,
358,
3617,
585,
1257,
468,
598,
1661,
17,
9184,
3949,
603,
26690,
18,
327,
389,
2932,
2279,
585,
913,
18,
2504,
1661,
11768,
3949,
628,
326,
585,
508,
471,
775,
3382,
1199,
13,
225,
1544,
273,
590,
18,
687,
3292,
3459,
3546,
225,
23853,
16,
4882,
273,
1140,
18,
803,
18,
4939,
12,
3459,
13,
4882,
16,
1110,
273,
1140,
18,
803,
18,
4939,
408,
12,
13909,
13,
225,
468,
336,
1867,
16,
471,
10016,
752,
518,
3306,
67,
1214,
273,
336,
4761,
1621,
12,
2293,
16,
4262,
1069,
16,
752,
33,
21,
13,
1923,
803,
273,
1140,
18,
803,
18,
5701,
12,
7331,
67,
1214,
16,
4882,
397,
1110,
13,
225,
309,
1110,
422,
2418,
9446,
4278,
389,
1289,
25548,
12,
2293,
16,
296,
789,
56,
6331,
59,
2187,
4262,
1069,
16,
4882,
397,
1110,
13,
585,
1745,
273,
585,
1745,
18,
896,
1435,
468,
855,
585,
14416,
1368,
3778,
585,
1745,
273,
585,
1745,
18,
2079,
31458,
86,
3113,
1408,
13,
1327,
1110,
422,
2418,
1458,
4278,
585,
1745,
273,
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,
389,
2896,
67,
14077,
1899,
310,
12,
9095,
1069,
16,
590,
4672,
389,
273,
590,
18,
588,
1528,
225,
309,
486,
590,
18,
1355,
18,
24877,
18,
2626,
12,
9095,
1069,
4672,
327,
389,
2668,
6225,
854,
486,
2935,
358,
1923,
279,
16327,
603,
333,
1363,
1093,
13,
225,
585,
67,
6327,
273,
590,
18,
2354,
18,
588,
2668,
10561,
6134,
309,
486,
585,
67,
6327,
30,
468,
1220,
4825,
5865,
1347,
8374,
358,
3617,
585,
1257,
468,
598,
1661,
17,
9184,
3949,
603,
26690,
18,
327,
389,
2932,
2279,
585,
913,
18,
2504,
1661,
11768,
3949,
628,
326,
585,
508,
471,
775,
3382,
1199,
13,
225,
1544,
273,
590,
18,
687,
3292,
3459,
3546,
225,
23853,
16,
2
] |
if t in types.IntTypes: self.pytype = int elif t in types.FloatTypes: self.pytype = float elif t in types.StringTypes: self.pytype = str else: raise TypeError, t
|
self.pytype = types.ToPyType[t]
|
def __init__(self, *attrs): """ Initialize a new Param element. """ ligolw.Param.__init__(self, *attrs) try: t = self.getAttribute("Type") except KeyError: # default t = "lstring" if t in types.IntTypes: self.pytype = int elif t in types.FloatTypes: self.pytype = float elif t in types.StringTypes: self.pytype = str else: raise TypeError, t
|
8c828a0b995e2a1b625b2d5826cc87032227921a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3589/8c828a0b995e2a1b625b2d5826cc87032227921a/param.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
380,
7039,
4672,
3536,
9190,
279,
394,
3014,
930,
18,
3536,
16917,
355,
91,
18,
786,
16186,
2738,
972,
12,
2890,
16,
380,
7039,
13,
775,
30,
268,
273,
365,
18,
588,
1499,
2932,
559,
7923,
1335,
4999,
30,
468,
805,
268,
273,
315,
80,
1080,
6,
309,
268,
316,
1953,
18,
1702,
2016,
30,
365,
18,
2074,
723,
273,
509,
1327,
268,
316,
1953,
18,
4723,
2016,
30,
365,
18,
2074,
723,
273,
1431,
1327,
268,
316,
1953,
18,
780,
2016,
30,
365,
18,
2074,
723,
273,
609,
469,
30,
1002,
3580,
16,
268,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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,
9190,
279,
394,
3014,
930,
18,
3536,
16917,
355,
91,
18,
786,
16186,
2738,
972,
12,
2890,
16,
380,
7039,
13,
775,
30,
268,
273,
365,
18,
588,
1499,
2932,
559,
7923,
1335,
4999,
30,
468,
805,
268,
273,
315,
80,
1080,
6,
309,
268,
316,
1953,
18,
1702,
2016,
30,
365,
18,
2074,
723,
273,
509,
1327,
268,
316,
1953,
18,
4723,
2016,
30,
365,
18,
2074,
723,
273,
1431,
1327,
268,
316,
1953,
18,
780,
2016,
30,
365,
18,
2074,
723,
273,
609,
469,
30,
1002,
3580,
16,
268,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
d_som5_2 = dr_lib.create_Qvec_vs_E_dgs(d_som5, d_som5.attr_list["Initial_Energy"], config.Q_bins.toNessiList(), corner_geom=config.corner_geom, timer=tim)
|
d_som5_2 = dr_lib.create_E_vs_Q_dgs(d_som5, config.initial_energy.toValErrTuple(), config.Q_bins.toNessiList(), corner_geom=config.corner_geom, split=config.split, timer=tim) if not config.split: hlr_utils.write_file(config.output, "text/Dave2d", d_som5_2, output_ext="sqe", data_ext=config.ext_replacement, path_replacement=config.path_replacement, verbose=config.verbose, message="S(Q,E)")
|
def run(config, tim=None): """ This method is where the data reduction process gets done. @param config: Object containing the data reduction configuration information. @type config: L{hlr_utils.Configure} @param tim: (OPTIONAL) Object that will allow the method to perform timing evaluations. @type tim: C{sns_time.DiffTime} """ import common_lib import dr_lib import DST if tim is not None: tim.getTime(False) old_time = tim.getOldTime() if config.data is None: raise RuntimeError("Need to pass a data filename to the driver "\ +"script.") # Read in geometry if one is provided if config.inst_geom is not None: if config.verbose: print "Reading in instrument geometry file" inst_geom_dst = DST.getInstance("application/x-NxsGeom", config.inst_geom) else: inst_geom_dst = None config.so_axis = "time_of_flight" # Steps 1-3: Produce a scaled summed dark current dataset dc_som = dr_lib.scaled_summed_data(config.dkcur, config, dataset_type="dark_current", timer=tim) # Perform Steps 3-6 on black can data if config.bcan is not None: b_som1 = dr_lib.calibrate_dgs_data(config.bcan, config, dc_som, dataset_type="black_can", inst_geom_dst=inst_geom_dst, tib_const=config.tib_const, timer=tim) else: b_som1 = None # Perform Steps 3-6 on empty can data if config.ecan is not None: e_som1 = dr_lib.calibrate_dgs_data(config.ecan, config, dc_som, dataset_type="empty_can", inst_geom_dst=inst_geom_dst, tib_const=config.tib_const, timer=tim) else: e_som1 = None # Perform Steps 3-6 on normalization data if config.norm is not None: n_som1 = dr_lib.calibrate_dgs_data(config.norm, config, dc_som, dataset_type="normalization", inst_geom_dst=inst_geom_dst, tib_const=config.tib_const, timer=tim) else: n_som1 = None # Perform Steps 3-6 on sample data d_som1 = dr_lib.calibrate_dgs_data(config.data, config, dc_som, inst_geom_dst=inst_geom_dst, tib_const=config.tib_const, timer=tim) # Perform Steps 7-16 on sample data if config.data_trans_coeff is None: data_trans_coeff = None else: data_trans_coeff = config.data_trans_coeff.toValErrTuple() d_som2 = dr_lib.process_dgs_data(d_som1, config, b_som1, e_som1, data_trans_coeff, timer=tim) del d_som1 # Perform Steps 7-16 on normalization data if n_som1 is not None: if config.norm_trans_coeff is None: norm_trans_coeff = None else: norm_trans_coeff = config.norm_trans_coeff.toValErrTuple() n_som2 = dr_lib.process_dgs_data(n_som1, config, b_som1, e_som1, norm_trans_coeff, dataset_type="normalization", timer=tim) else: n_som2 = n_som1 del n_som1, b_som1, e_som1 # Step 17: Integrate normalization spectra if n_som2 is not None: if config.verbose: print "Integrating normalization spectra" if tim is not None: tim.getTime(False) if config.norm_int_range is None: start_val = float("inf") end_val = float("inf") else: start_val = common_lib.energy_to_wavelength(\ (config.norm_int_range[1], 0.0))[0] end_val = common_lib.energy_to_wavelength(\ (config.norm_int_range[0], 0.0))[0] norm_int = dr_lib.integrate_spectra(n_som2, start=start_val, end=end_val, width=True) if tim is not None: tim.getTime(msg="After integrating normalization spectra ") if config.dump_norm: file_comment = "Normalization Integration range: %0.3fA, %0.3fA" \ % (start_val, end_val) hlr_utils.write_file(config.output, "text/num-info", norm_int, output_ext="norm", data_ext=config.ext_replacement, path_replacement=config.path_replacement, verbose=config.verbose, message="normalization values", comments=[file_comment], tag="Integral", units="counts") else: norm_int = n_som2 del n_som2 # Step 18: Normalize sample data by integrated values if norm_int is not None: if config.verbose: print "Normalizing data by normalization data" if tim is not None: tim.getTime(False) d_som3 = common_lib.div_ncerr(d_som2, norm_int) if tim is not None: tim.getTime(msg="After normalizing data ") else: d_som3 = d_som2 del d_som2, norm_int # Step 19: Calculate the initial energy if config.initial_energy is not None: d_som3.attr_list["Initial_Energy"] = config.initial_energy # Steps 20-21: Calculate the energy transfer if config.verbose: print "Calculating energy transfer" if tim is not None: tim.getTime(False) #import profile #profiler = profile.Profile() #d_som4 = profiler.runcall(dr_lib.energy_transfer, d_som3, "DGS", # "Initial_Energy", lojac=True, # scale=config.lambda_ratio) #profiler.dump_stats("et_profile.dat") d_som4 = dr_lib.energy_transfer(d_som3, "DGS", "Initial_Energy", lojac=True, scale=config.lambda_ratio) if tim is not None: tim.getTime(msg="After calculating energy transfer ") del d_som3 # Rebin energy transfer spectra if config.verbose: print "Rebinning to final energy transfer axis" if tim is not None: tim.getTime(False) d_som5 = common_lib.rebin_axis_1D(d_som4, config.E_bins.toNessiList()) if tim is not None: tim.getTime(msg="After rebinning energy transfer ") del d_som4 if config.dump_et_comb: d_som5_1 = dr_lib.sum_all_spectra(d_som5) hlr_utils.write_file(config.output, "text/Spec", d_som5_1, output_ext="et", data_ext=config.ext_replacement, path_replacement=config.path_replacement, verbose=config.verbose, message="combined energy transfer information") del d_som5_1 if config.Q_bins is not None: if config.verbose: print "Creating S(Q, E)" if tim is not None: tim.getTime(False) d_som5_2 = dr_lib.create_Qvec_vs_E_dgs(d_som5, d_som5.attr_list["Initial_Energy"], config.Q_bins.toNessiList(), corner_geom=config.corner_geom, timer=tim) if tim is not None: tim.getTime(msg="After calculating S(Q,E) spectrum ") # Create Qvec vs E spectrum if config.verbose: print "Creating S(Qvec, E)" if tim is not None: tim.getTime(False) dr_lib.create_Qvec_vs_E_dgs(d_som5, config.initial_energy.toValErrTuple(), config, corner_geom=config.corner_geom, make_fixed=config.fixed, output=config.output, timer=tim) if tim is not None: tim.getTime(msg="After calculating final spectrum ") # Write out RMD file d_som5.attr_list["config"] = config hlr_utils.write_file(config.output, "text/rmd", d_som5, output_ext="rmd", data_ext=config.ext_replacement, path_replacement=config.path_replacement, verbose=config.verbose, message="metadata") if tim is not None: tim.setOldTime(old_time) tim.getTime(msg="Total Running Time")
|
b280fe66097ba6848bde1cb20f35b8c5d8c6cba7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/763/b280fe66097ba6848bde1cb20f35b8c5d8c6cba7/dgs_reduction.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
12,
1425,
16,
1658,
33,
7036,
4672,
3536,
1220,
707,
353,
1625,
326,
501,
20176,
1207,
5571,
2731,
18,
225,
632,
891,
642,
30,
1033,
4191,
326,
501,
20176,
1664,
1779,
18,
632,
723,
642,
30,
511,
95,
76,
10826,
67,
5471,
18,
11207,
97,
225,
632,
891,
1658,
30,
261,
14165,
13,
1033,
716,
903,
1699,
326,
707,
358,
3073,
15538,
3765,
1012,
18,
632,
723,
1658,
30,
385,
95,
87,
2387,
67,
957,
18,
5938,
950,
97,
3536,
1930,
2975,
67,
2941,
1930,
5081,
67,
2941,
1930,
463,
882,
225,
309,
1658,
353,
486,
599,
30,
1658,
18,
588,
950,
12,
8381,
13,
1592,
67,
957,
273,
1658,
18,
588,
7617,
950,
1435,
225,
309,
642,
18,
892,
353,
599,
30,
1002,
7265,
2932,
14112,
358,
1342,
279,
501,
1544,
358,
326,
3419,
1548,
397,
6,
4263,
1199,
13,
225,
468,
2720,
316,
5316,
309,
1245,
353,
2112,
309,
642,
18,
8591,
67,
10049,
353,
486,
599,
30,
309,
642,
18,
11369,
30,
1172,
315,
15714,
316,
10353,
5316,
585,
6,
225,
1804,
67,
10049,
67,
11057,
273,
463,
882,
18,
588,
1442,
2932,
3685,
19,
92,
17,
50,
13713,
16972,
3113,
642,
18,
8591,
67,
10049,
13,
469,
30,
1804,
67,
10049,
67,
11057,
273,
599,
225,
642,
18,
2048,
67,
4890,
273,
315,
957,
67,
792,
67,
19131,
6,
225,
468,
7780,
1121,
404,
17,
23,
30,
23278,
279,
12304,
2142,
2937,
23433,
783,
3709,
6744,
67,
87,
362,
273,
5081,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
12,
1425,
16,
1658,
33,
7036,
4672,
3536,
1220,
707,
353,
1625,
326,
501,
20176,
1207,
5571,
2731,
18,
225,
632,
891,
642,
30,
1033,
4191,
326,
501,
20176,
1664,
1779,
18,
632,
723,
642,
30,
511,
95,
76,
10826,
67,
5471,
18,
11207,
97,
225,
632,
891,
1658,
30,
261,
14165,
13,
1033,
716,
903,
1699,
326,
707,
358,
3073,
15538,
3765,
1012,
18,
632,
723,
1658,
30,
385,
95,
87,
2387,
67,
957,
18,
5938,
950,
97,
3536,
1930,
2975,
67,
2941,
1930,
5081,
67,
2941,
1930,
463,
882,
225,
309,
1658,
353,
486,
599,
30,
1658,
18,
588,
950,
12,
8381,
13,
1592,
67,
957,
273,
1658,
18,
588,
7617,
950,
1435,
225,
309,
2
] |
'email': user['mail'],
|
'email': user.get('mail', ''),
|
def handle_unicode(s): if not isinstance(s, unicode): try: return s.decode('utf-8') except: return s.decode('latin-1') else: return s
|
e2a073ce14367f971c15f59ea278f0c354e3ee88 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3287/e2a073ce14367f971c15f59ea278f0c354e3ee88/directory.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1640,
67,
9124,
12,
87,
4672,
309,
486,
1549,
12,
87,
16,
5252,
4672,
775,
30,
327,
272,
18,
3922,
2668,
3158,
17,
28,
6134,
1335,
30,
327,
272,
18,
3922,
2668,
26578,
17,
21,
6134,
469,
30,
327,
272,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1640,
67,
9124,
12,
87,
4672,
309,
486,
1549,
12,
87,
16,
5252,
4672,
775,
30,
327,
272,
18,
3922,
2668,
3158,
17,
28,
6134,
1335,
30,
327,
272,
18,
3922,
2668,
26578,
17,
21,
6134,
469,
30,
327,
272,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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.body.append('\\includegraphics[]{%s}' % fname)
|
self.body.append('\\includegraphics{%s}' % fname)
|
def render_dot_latex(self, node, code, options, prefix='graphviz'): try: fname, outfn = render_dot(self, code, options, 'pdf', prefix) except GraphvizError, exc: self.builder.warn('dot code %r: ' % code + str(exc)) raise nodes.SkipNode if fname is not None: self.body.append('\\includegraphics[]{%s}' % fname) raise nodes.SkipNode
|
b809740f6613cf2810e8f935749b2beb456f1b95 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5532/b809740f6613cf2810e8f935749b2beb456f1b95/graphviz.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1743,
67,
9811,
67,
26264,
12,
2890,
16,
756,
16,
981,
16,
702,
16,
1633,
2218,
4660,
23167,
11,
4672,
775,
30,
5299,
16,
596,
4293,
273,
1743,
67,
9811,
12,
2890,
16,
981,
16,
702,
16,
296,
7699,
2187,
1633,
13,
1335,
5601,
23167,
668,
16,
3533,
30,
365,
18,
9574,
18,
8935,
2668,
9811,
981,
738,
86,
30,
296,
738,
981,
397,
609,
12,
10075,
3719,
1002,
2199,
18,
6368,
907,
225,
309,
5299,
353,
486,
599,
30,
365,
18,
3432,
18,
6923,
2668,
1695,
6702,
31586,
95,
9,
87,
1713,
738,
5299,
13,
1002,
2199,
18,
6368,
907,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1743,
67,
9811,
67,
26264,
12,
2890,
16,
756,
16,
981,
16,
702,
16,
1633,
2218,
4660,
23167,
11,
4672,
775,
30,
5299,
16,
596,
4293,
273,
1743,
67,
9811,
12,
2890,
16,
981,
16,
702,
16,
296,
7699,
2187,
1633,
13,
1335,
5601,
23167,
668,
16,
3533,
30,
365,
18,
9574,
18,
8935,
2668,
9811,
981,
738,
86,
30,
296,
738,
981,
397,
609,
12,
10075,
3719,
1002,
2199,
18,
6368,
907,
225,
309,
5299,
353,
486,
599,
30,
365,
18,
3432,
18,
6923,
2668,
1695,
6702,
31586,
95,
9,
87,
1713,
738,
5299,
13,
1002,
2199,
18,
6368,
907,
282,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
print >> sys.stderr, 'Known formats: %s' % ', '.join(readseq.fdict.keys())
|
print >> sys.stderr, '\tKnown formats: %s' % ', '.join(readseq.fdict.keys()) print >> sys.stderr, '\n\te.g. %s eftu.fas fasta eftu.emb embl' % p print >> sys.stderr, '\tor zcat test.aln.gz | %s - clustal - fasta' % p
|
def Convert(self, informat, outformat, instream = sys.stdin, outstream=sys.stdout):
|
3265cf4302e1c729933eb7df4956722d52cc5539 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7167/3265cf4302e1c729933eb7df4956722d52cc5539/generic.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4037,
12,
2890,
16,
316,
2139,
16,
596,
2139,
16,
1804,
793,
273,
2589,
18,
21772,
16,
596,
3256,
33,
9499,
18,
10283,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4037,
12,
2890,
16,
316,
2139,
16,
596,
2139,
16,
1804,
793,
273,
2589,
18,
21772,
16,
596,
3256,
33,
9499,
18,
10283,
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
] |
/* HACK WARNING: Without this start_update_check, the worksheet often won't update the first time it's loaded or restarted. -- William Stein */ /* start_update_check(); */
|
def javascript(): s = r"""
|
a3ff91a3ace186cba86f20991b852556b86c646a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/a3ff91a3ace186cba86f20991b852556b86c646a/js.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11341,
13332,
272,
273,
436,
8395,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
base = self._styles.page.fbase
|
base = self._stylizer.page.fbase
|
def normalize_fontsize(value, base=None): result = None factor = None if value == 'inherit': # We should only see this if the root element value = self._stylizer.page.fbase if value in FONT_SIZE_NAMES: result = self._stylizer.page.fnames[value] elif value == 'smaller': factor = 1.0/1.2 for _, _, size in self._stylizer.page.fsizes: if base <= size: break factor = None result = size elif value == 'larger': factor = 1.2 for _, _, size in reversed(self._stylizer.page.fsizes): if base >= size: break factor = None result = size else: result = self._unit_convert(value, base=base, font=base) if result < 0: result = normalize_fontsize("smaller", base) if factor: result = factor * base return result
|
124eb4cba94f375db965949e071dc4afa6dc4fca /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9125/124eb4cba94f375db965949e071dc4afa6dc4fca/stylizer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3883,
67,
23055,
12,
1132,
16,
1026,
33,
7036,
4672,
563,
273,
599,
5578,
273,
599,
309,
460,
422,
296,
6018,
4278,
468,
1660,
1410,
1338,
2621,
333,
309,
326,
1365,
930,
460,
273,
365,
6315,
334,
93,
80,
1824,
18,
2433,
18,
74,
1969,
309,
460,
316,
27104,
67,
4574,
67,
16257,
30,
563,
273,
365,
6315,
334,
93,
80,
1824,
18,
2433,
18,
74,
1973,
63,
1132,
65,
1327,
460,
422,
296,
12019,
264,
4278,
5578,
273,
404,
18,
20,
19,
21,
18,
22,
364,
389,
16,
389,
16,
963,
316,
365,
6315,
334,
93,
80,
1824,
18,
2433,
18,
2556,
3128,
30,
309,
1026,
1648,
963,
30,
898,
5578,
273,
599,
563,
273,
963,
1327,
460,
422,
296,
7901,
693,
4278,
5578,
273,
404,
18,
22,
364,
389,
16,
389,
16,
963,
316,
9553,
12,
2890,
6315,
334,
93,
80,
1824,
18,
2433,
18,
2556,
3128,
4672,
309,
1026,
1545,
963,
30,
898,
5578,
273,
599,
563,
273,
963,
469,
30,
563,
273,
365,
6315,
4873,
67,
6283,
12,
1132,
16,
1026,
33,
1969,
16,
3512,
33,
1969,
13,
309,
563,
411,
374,
30,
563,
273,
3883,
67,
23055,
2932,
12019,
264,
3113,
1026,
13,
309,
5578,
30,
563,
273,
5578,
380,
1026,
327,
563,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3883,
67,
23055,
12,
1132,
16,
1026,
33,
7036,
4672,
563,
273,
599,
5578,
273,
599,
309,
460,
422,
296,
6018,
4278,
468,
1660,
1410,
1338,
2621,
333,
309,
326,
1365,
930,
460,
273,
365,
6315,
334,
93,
80,
1824,
18,
2433,
18,
74,
1969,
309,
460,
316,
27104,
67,
4574,
67,
16257,
30,
563,
273,
365,
6315,
334,
93,
80,
1824,
18,
2433,
18,
74,
1973,
63,
1132,
65,
1327,
460,
422,
296,
12019,
264,
4278,
5578,
273,
404,
18,
20,
19,
21,
18,
22,
364,
389,
16,
389,
16,
963,
316,
365,
6315,
334,
93,
80,
1824,
18,
2433,
18,
2556,
3128,
30,
309,
1026,
1648,
963,
30,
898,
5578,
273,
599,
563,
273,
963,
1327,
2
] |
class LogHandler(logging.Handler): def __init__(self): logging.Handler.__init__(self) self.emitted = []
|
def notify(self, event): logging.debug('Event: %r' % event)
|
def setUp(self):
|
01c2f93dc7f26d5a63e91f8afd2537a3362473d2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7127/01c2f93dc7f26d5a63e91f8afd2537a3362473d2/debug.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
24292,
12,
2890,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
24292,
12,
2890,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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.highlightTimer = self.startTimer(100)
|
from debug_prefs import debug_pref, Choice interval = int( debug_pref("glpane timer interval", Choice([100, 0]), non_debug = True, prefs_key = True) ) self.highlightTimer = self.startTimer(interval)
|
def enterEvent(self, event): # Mark 060806. """Event handler for when the cursor enters the GLPane. <event> is the mouse event after entering the GLpane. """ self.highlightTimer = self.startTimer(100) # 100-millisecond timer return
|
88bc62d1810c02d2b43324d90036bd799fdd80cc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/88bc62d1810c02d2b43324d90036bd799fdd80cc/GLPane.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6103,
1133,
12,
2890,
16,
871,
4672,
468,
6622,
374,
4848,
3672,
26,
18,
3536,
1133,
1838,
364,
1347,
326,
3347,
3281,
414,
326,
10252,
8485,
18,
411,
2575,
34,
353,
326,
7644,
871,
1839,
19014,
326,
10252,
29009,
18,
3536,
628,
1198,
67,
1484,
2556,
1930,
1198,
67,
25724,
16,
16432,
3673,
273,
509,
12,
1198,
67,
25724,
2932,
7043,
29009,
5441,
3673,
3113,
16432,
3816,
6625,
16,
374,
65,
3631,
1661,
67,
4148,
273,
1053,
16,
15503,
67,
856,
273,
1053,
13,
262,
365,
18,
15978,
6777,
273,
365,
18,
1937,
6777,
12,
6624,
13,
468,
2130,
17,
81,
7710,
1434,
5441,
327,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6103,
1133,
12,
2890,
16,
871,
4672,
468,
6622,
374,
4848,
3672,
26,
18,
3536,
1133,
1838,
364,
1347,
326,
3347,
3281,
414,
326,
10252,
8485,
18,
411,
2575,
34,
353,
326,
7644,
871,
1839,
19014,
326,
10252,
29009,
18,
3536,
628,
1198,
67,
1484,
2556,
1930,
1198,
67,
25724,
16,
16432,
3673,
273,
509,
12,
1198,
67,
25724,
2932,
7043,
29009,
5441,
3673,
3113,
16432,
3816,
6625,
16,
374,
65,
3631,
1661,
67,
4148,
273,
1053,
16,
15503,
67,
856,
273,
1053,
13,
262,
365,
18,
15978,
6777,
273,
365,
18,
1937,
6777,
12,
6624,
13,
468,
2130,
17,
81,
7710,
1434,
5441,
327,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
pass
|
return
|
def __init__(self,scene): """ Initialisation of ContourPlot class
|
705588e48e70a8dec0e8286968b0077d85e8602e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8476/705588e48e70a8dec0e8286968b0077d85e8602e/plot.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
23694,
4672,
3536,
10188,
10742,
434,
1816,
477,
11532,
667,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
"MANDATORYOBJECTS", "OPTIONALOBJECTS", "MANUFACTUREROBJECTS"]
|
"MANDATORYOBJECTS", "OPTIONALOBJECTS", "MANUFACTUREROBJECTS", "STANDARDDATATYPES"]
|
def GetDefaultValue(index, subIndex = None): infos = Node.GetEntryInfos(index) if infos["struct"] & node.OD_MultipleSubindexes: # First case entry is a record if infos["struct"] & node.OD_IdenticalSubindexes: subentry_infos = Node.GetSubentryInfos(index, 1) # Second case entry is an array else: subentry_infos = Node.GetSubentryInfos(index, subIndex) # If a default value is defined for this subindex, returns it if "default" in subentry_infos: return subentry_infos["default"] # If not, returns the default value for the subindex type else: return Node.GetTypeDefaultValue(subentry_infos["type"]) # Third case entry is a var else: subentry_infos = Node.GetSubentryInfos(index, 0) # If a default value is defined for this subindex, returns it if "default" in subentry_infos: return subentry_infos["default"] # If not, returns the default value for the subindex type else: return Node.GetTypeDefaultValue(subentry_infos["type"]) return None
|
a25debfda44734694f093b9f33c588bca362e45f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/116/a25debfda44734694f093b9f33c588bca362e45f/eds_utils.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
968,
15646,
12,
1615,
16,
720,
1016,
273,
599,
4672,
10626,
273,
2029,
18,
967,
1622,
7655,
12,
1615,
13,
309,
10626,
9614,
1697,
11929,
473,
756,
18,
1212,
67,
8438,
1676,
11265,
30,
468,
5783,
648,
1241,
353,
279,
1409,
309,
10626,
9614,
1697,
11929,
473,
756,
18,
1212,
67,
6106,
1706,
1676,
11265,
30,
720,
4099,
67,
18227,
273,
2029,
18,
967,
1676,
4099,
7655,
12,
1615,
16,
404,
13,
468,
7631,
648,
1241,
353,
392,
526,
469,
30,
720,
4099,
67,
18227,
273,
2029,
18,
967,
1676,
4099,
7655,
12,
1615,
16,
720,
1016,
13,
468,
971,
279,
805,
460,
353,
2553,
364,
333,
720,
1615,
16,
1135,
518,
309,
315,
1886,
6,
316,
720,
4099,
67,
18227,
30,
327,
720,
4099,
67,
18227,
9614,
1886,
11929,
468,
971,
486,
16,
1135,
326,
805,
460,
364,
326,
720,
1615,
618,
469,
30,
327,
2029,
18,
967,
559,
15646,
12,
1717,
4099,
67,
18227,
9614,
723,
6,
5717,
468,
935,
6909,
648,
1241,
353,
279,
569,
469,
30,
720,
4099,
67,
18227,
273,
2029,
18,
967,
1676,
4099,
7655,
12,
1615,
16,
374,
13,
468,
971,
279,
805,
460,
353,
2553,
364,
333,
720,
1615,
16,
1135,
518,
309,
315,
1886,
6,
316,
720,
4099,
67,
18227,
30,
327,
720,
4099,
67,
18227,
9614,
1886,
11929,
468,
971,
486,
16,
1135,
326,
805,
460,
364,
326,
720,
1615,
618,
469,
30,
327,
2029,
18,
967,
559,
15646,
12,
1717,
4099,
67,
18227,
9614,
723,
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,
968,
15646,
12,
1615,
16,
720,
1016,
273,
599,
4672,
10626,
273,
2029,
18,
967,
1622,
7655,
12,
1615,
13,
309,
10626,
9614,
1697,
11929,
473,
756,
18,
1212,
67,
8438,
1676,
11265,
30,
468,
5783,
648,
1241,
353,
279,
1409,
309,
10626,
9614,
1697,
11929,
473,
756,
18,
1212,
67,
6106,
1706,
1676,
11265,
30,
720,
4099,
67,
18227,
273,
2029,
18,
967,
1676,
4099,
7655,
12,
1615,
16,
404,
13,
468,
7631,
648,
1241,
353,
392,
526,
469,
30,
720,
4099,
67,
18227,
273,
2029,
18,
967,
1676,
4099,
7655,
12,
1615,
16,
720,
1016,
13,
468,
971,
279,
805,
460,
353,
2553,
364,
333,
720,
1615,
16,
1135,
518,
309,
315,
1886,
6,
316,
720,
2
] |
tag = self.abs_tag_path (tag) parts = tag.split ('/')
|
tag = self.abs_tag_path(tag) parts = tag.split('/')
|
def tag_path_split (self, tag): """A bit like os.path.split, this splits any old kind of a FluidDB tag path into a user, a subnamespace (if there is one) and a tag. But unlike os.path.split, if no namespace is given, the one from the user credentials is returned.
|
e75848841ac96982524448e932e12fd6ff9cbe0c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12637/e75848841ac96982524448e932e12fd6ff9cbe0c/fdb.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1047,
67,
803,
67,
4939,
261,
2890,
16,
1047,
4672,
3536,
37,
2831,
3007,
1140,
18,
803,
18,
4939,
16,
333,
11019,
1281,
1592,
3846,
434,
279,
3857,
1911,
2290,
1047,
589,
1368,
279,
729,
16,
279,
720,
4937,
261,
430,
1915,
353,
1245,
13,
471,
279,
1047,
18,
12484,
640,
5625,
1140,
18,
803,
18,
4939,
16,
309,
1158,
1981,
353,
864,
16,
326,
1245,
628,
326,
729,
4448,
353,
2106,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1047,
67,
803,
67,
4939,
261,
2890,
16,
1047,
4672,
3536,
37,
2831,
3007,
1140,
18,
803,
18,
4939,
16,
333,
11019,
1281,
1592,
3846,
434,
279,
3857,
1911,
2290,
1047,
589,
1368,
279,
729,
16,
279,
720,
4937,
261,
430,
1915,
353,
1245,
13,
471,
279,
1047,
18,
12484,
640,
5625,
1140,
18,
803,
18,
4939,
16,
309,
1158,
1981,
353,
864,
16,
326,
1245,
628,
326,
729,
4448,
353,
2106,
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
] |
log("Creating index...", True)
|
print "Creating index...",
|
def move_phrases(oconn, ocur, lang): global project_names cnt = 0 lid = 0 phrase = "" icur.execute("""
|
47cb06b34badab0d0ebad9f606655a47ddf92c20 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3042/47cb06b34badab0d0ebad9f606655a47ddf92c20/import_step2.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3635,
67,
844,
17415,
12,
16550,
82,
16,
320,
1397,
16,
3303,
4672,
2552,
1984,
67,
1973,
7599,
273,
374,
328,
350,
273,
374,
13045,
273,
1408,
225,
277,
1397,
18,
8837,
2932,
3660,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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18,
8837,
2932,
3660,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
arraysize = None
|
elemwidth = None
|
def _to_hdu(self): ''' Return the current table as a pyfits HDU object '''
|
cbba50875b469297c6dd336d8781f95cb3fdb5dd /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13233/cbba50875b469297c6dd336d8781f95cb3fdb5dd/fitstable.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
869,
67,
76,
2544,
12,
2890,
4672,
9163,
2000,
326,
783,
1014,
487,
279,
2395,
18352,
670,
16214,
733,
9163,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
869,
67,
76,
2544,
12,
2890,
4672,
9163,
2000,
326,
783,
1014,
487,
279,
2395,
18352,
670,
16214,
733,
9163,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 ( contents = [
|
P ( contents = [
|
def makePage( _T, _N, _M, MIRRORS_DATA, lang, charset ): navigation = Tree \ ( [ P ( contents = [ Img( src = '/images/pointer.png' ), A( _N['home'], href=makeURL( '', lang ))] ), Tree \ ( [ P ( contents = [ Img( src = '/images/englishlogo.png' ), A( 'English', href='%(BASE)s' )]), P ( contents = [ Img( src = '/images/germanylogo.png' ), A( 'Deutsch', href='%(BASE)sde/' )]), P ( contents = [ Img( src = '/images/francelogo.png' ), A( 'Français', href='%(BASE)sfr/' )]), P ( contents = [ Img( src = '/images/italylogo.png' ), A( 'Italiano', href='%(BASE)sit/' )]), P ( contents = [ Img( src = '/images/netherlandslogo.png' ), A( 'Nederlands', href='%(BASE)snl/' )]), P ( contents = [ Img( src = '/images/polandlogo.png' ), A( 'Polski', href='%(BASE)spl/' )]), P ( contents = [ Img( src = '/images/portugallogo.png' ), A( 'Português', href='%(BASE)spt/' )]), P ( contents = [ Img( src = '/images/russialogo.png' ), A( 'Русский', href='%(BASE)sru/' )]), P ( contents = [ Img( src = '/images/finlandlogo.png' ), A( 'Suomi', href='%(BASE)sfi/' )]), P ( contents = [ Img( src = '/images/swedenlogo.png' ), A( 'Svenska', href='%(BASE)ssv/' )]) ] ), BR(), P ( contents = [ Img( src = '/images/pointer.png' ), A( _N['news'], href=makeURL( 'news/', lang ) )]), Tree ( A( _N['archive'], href=makeURL( 'news/archive/', lang ) ) ), BR(), P ( contents = [ Img( src = '/images/pointer.png' ), A( _N['introduction'], href=makeURL( 'introduction/', lang ) ) ]), Tree \ ( [ #A( _N['status'], href=makeURL('introduction/status/everything.html' ), A( _N['screenshots'], href=makeURL( 'pictures/screenshots/', lang) ), A( _N['ports'], href=makeURL( 'introduction/ports', lang ) ), A( _N['license'], href='%(BASE)slicense.html' ) ] ), BR(), P ( contents = [ Img( src = '/images/pointer.png' ), A( _N['download'], href=makeURL( 'download', lang ) )]), BR(), P ( contents = [ Img( src = '/images/pointer.png' ), _N['documentation'] ]), Tree \ ( [ A( _N['users'], href=makeURL( 'documentation/users/', lang ) ), Tree \ ( [ A( _N['installation'], href=makeURL( 'documentation/users/installation', lang ) ), A( _N['using'], href=makeURL( 'documentation/users/using', lang ) ), A( _N['shell'], href=makeURL( 'documentation/users/shell/index', lang ) ), A( _N['faq'], href=makeURL( 'documentation/users/faq', lang ) ), #_N['ports'], #A( _N['links'], href=makeURL( 'documentation/users/links', lang ) ) ] ), A( _N['developers'], href=makeURL( 'documentation/developers/index', lang ) ), Tree \ ( [ A( _N['contribute'], href=makeURL( 'documentation/developers/contribute', lang ) ), A( 'Roadmap', href=makeURL( 'documentation/developers/roadmap', lang ) ), A( _N['bug-tracker'], href='http://sourceforge.net/tracker/?atid=439463&group_id=43586&func=browse' ), A( _N['working-with-subversion'], href=makeURL( 'documentation/developers/svn', lang ) ), A( _N['compiling'], href=makeURL( 'documentation/developers/compiling', lang ) ), A( _N['application-development-manual'], href=makeURL( 'documentation/developers/app-dev/index', lang ) ), A( _N['zune-application-development-manual'], href=makeURL( 'documentation/developers/zune-application-development', lang ) ), A( _N['system-development-manual'], href=makeURL( 'documentation/developers/system-development', lang ) ), A( _N['debugging-manual'], href=makeURL( 'documentation/developers/debugging', lang ) ), A( _N['reference'], href=makeURL( 'documentation/developers/autodocs/index', lang ) ), A( _N['specifications'], href=makeURL( 'documentation/developers/specifications/', lang ) ), A( _N['ui-style-guide'], href=makeURL( 'documentation/developers/ui', lang ) ), A( _N['documenting'], href=makeURL( 'documentation/developers/documenting', lang ) ), A( _N['porting'], href=makeURL( 'documentation/developers/porting', lang ) ), #A( _N['translating'], href=makeURL( 'documentation/developers/translating', lang ) ), A( _N['summaries'], href=makeURL( 'documentation/developers/summaries/', lang ) ), A( _N['links'], href=makeURL( 'documentation/developers/links', lang ) ) ] ) ] ), BR(), P ( contents = [ Img( src = '/images/pointer.png' ), A( _N['contact'], href=makeURL( 'contact', lang ) )]), Tree \ ( [ A( _N['mailing-lists'], href=makeURL( 'contact', lang, 'mailing-lists' ) ), #A( _N['forums'], href=makeURL( 'contact', lang, 'forums' ) ), A( _N['irc-channels'], href=makeURL( 'contact', lang, 'irc-channels' ) ) ] ), BR(), P ( contents = [ Img( src = '/images/pointer.png' ), A( _N['credits'], href=makeURL( 'credits', lang ) )]), P ( contents = [ Img( src = '/images/pointer.png' ), A( 'Acknowledgements', href=makeURL( 'acknowledgements', lang ) )]), BR(), P ( contents = [ Img( src = '/images/pointer.png' ), _N['pictures']]), Tree \ ( [ A( _N['developers'], href=makeURL( 'pictures/developers/', lang ) ), A( _N['developers-together'], href=makeURL( 'pictures/developers-together/', lang ) ) ] ), BR(), P ( contents = [ Img( src = '/images/pointer.png' ), A( _N['sponsors'], href=makeURL( 'sponsors', lang ) )]), P ( contents = [ Img( src = '/images/pointer.png' ), A( _N['linking'], href=makeURL( 'linking', lang ) )]), P ( contents = [ Img( src = '/images/pointer.png' ), A( _N['links'], href=makeURL( 'links', lang ) )]) ] ) counter = Img( src = 'http://www.hepe.com/cgi-bin/wwwcount.cgi?df=aros.dat&dd=E&ft=0' ) sponsors = Table\ ( cellspacing = 5, cellpadding = 0, contents = [ TR ( TD ( A ( Img( src = '%(ROOT)simages/trustec-small.png', border = 0 ), href = 'http://www.trustsec.de/' ) ) ), TR ( TD ( A ( Img( src = '%(ROOT)simages/genesi-small.gif', border = 0 ), href = 'http://www.pegasosppc.com/' ) ) ), TR ( TD ( A \ ( Img \ ( src = 'http://sflogo.sourceforge.net/sflogo.php?group_id=43586&type=1', width = 88, height = 31, border = 0, alt = 'SourceForge Logo' ), href = 'http://sourceforge.net/' ) ) ) ] ) bar = Table( border = 0, cellpadding = 2, cellspacing = 2, width = 171, valign = 'top', contents = [ TR( valign = 'top', contents = [ TD( rowspan = 8, width=15 ), TD() ] ), TR( valign = 'top', contents = TD( navigation ) ), TR( TD(), height=15 ), TR( valign = 'top', contents = TD( align = 'center', contents = counter ) ), TR( TD(), height=15 ), TR( valign = 'top', contents = TD( align = 'center', contents = sponsors ) ), TR( TD(), height=30 ), TR \ ( valign = 'top', contents = TD \ ( align = 'center', contents = A \ ( Img \ ( src = '%(ROOT)simages/noeupatents-small.png', border = 0 ), href = 'http://petition.eurolinux.org/' ) ) ) ] ) statsPHP = ''' <?php //define("_BBC_PAGE_NAME", "my page title"); define("_BBCLONE_DIR", "%(ROOT)smybbclone/"); define("COUNTER", _BBCLONE_DIR."index.php"); if (file_exists(COUNTER)) include_once(COUNTER); ?> ''' statsPHP2 = ''' <?php echo date("m.d.y"); ?> ''' statsPHP3 = ''' <?php echo "<map name=\\"map\\">"; echo "<area shape=\\"rect\\" coords=\\"11,80,82,95\\" alt=\\"http://www.aros.org\\" href=\\"http://www.aros.org\\">"; echo "<area shape=\\"rect\\" coords=\\"87,78,165,95\\" alt=\\"AROS-Exec\\" href=\\"http://www.aros-exec.org\\">"; echo "<area shape=\\"rect\\" coords=\\"244,77,323,95166,77,240,95\\" alt=\\"Team AROS\\" href=\\"http://www.teamaros.org\\">"; echo "<area shape=\\"rect\\" coords=\\"166,77,240,95\\" alt=\\"AROS-Exec Archives\\" href=\\"http://archives.aros-exec.org\\">"; echo "</map>"; ?> ''' statsPHP4 = ''' <?php echo "<table width=\\"100%%\\"><tr><td>"; echo "<div style=\\"text-align: right;\\">"; echo "<font color=\\"#aaaaaa\\">"; ?> ''' statsPHP6 = ''' <?php echo "</font></div>"; echo "</p></tr></td></table>"; ?> ''' statsPHP5= ''' <?php include( '/home/groups/a/ar/aros/htdocs/rsfeed/browserdetect.php'); $win_ie56 = (browser_detection('browser') == 'ie' ) && (browser_detection('number') >= 5 ) && (browser_detection('number') < 7 ); if ($win_ie56) { echo \"<img src=\\"/images/kittymascot.gif\\" style=\\"float:right\\" border=\\"0\\"></img><img src=\\"/images/toplogomenu.gif\\" border=\\"0\\" usemap=\\"#map\\"></img>"; } else { echo \"<img src=\\"/images/kittymascot.png\\" style=\\"float:right\\" border=\\"0\\"></img><img src=\\"/images/toplogomenu.png\\" border=\\"0\\" usemap=\\"#map\\"></img>"; } ?> ''' page = HTML( [ Head( [ Charset( charset ), Title( 'AROS Research Operating System' ), Link( href = '%(ROOT)saros.css', type = 'text/css', rel = 'stylesheet' ), Meta( name = 'keywords', content = 'AROS, OS, operating system, research, open source, portage' ) ] ), Body( style = 'margin: 0px;', bgcolor = '#ffffff', contents = [ statsPHP3, Table( border = 0, cellspacing = 0, cellpadding = 0, width = '100%%', contents = [ TR( [ TD( halign = 'top', width = '100%%', height = 109, background='/images/backgroundtop.png' ,rowspan = 4, contents = statsPHP5)
|
846194f3836b7e3473a516c54c1f17757297aebf /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4747/846194f3836b7e3473a516c54c1f17757297aebf/page.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1221,
1964,
12,
389,
56,
16,
389,
50,
16,
389,
49,
16,
490,
7937,
2784,
55,
67,
4883,
16,
3303,
16,
4856,
262,
30,
10394,
273,
4902,
521,
261,
306,
453,
261,
2939,
273,
306,
2221,
75,
12,
1705,
273,
1173,
7369,
19,
10437,
18,
6446,
11,
262,
16,
432,
12,
389,
50,
3292,
8712,
17337,
3897,
33,
6540,
1785,
12,
10226,
3303,
8623,
65,
262,
16,
4902,
521,
261,
306,
453,
261,
2939,
273,
306,
2221,
75,
12,
1705,
273,
1173,
7369,
19,
275,
13740,
19882,
18,
6446,
11,
262,
16,
432,
12,
296,
664,
13740,
2187,
3897,
2218,
17105,
8369,
13,
87,
11,
262,
65,
3631,
453,
261,
2939,
273,
306,
2221,
75,
12,
1705,
273,
1173,
7369,
19,
693,
9353,
19882,
18,
6446,
11,
262,
16,
432,
12,
296,
758,
22605,
2187,
3897,
2218,
17105,
8369,
13,
87,
323,
2473,
262,
65,
3631,
453,
261,
2939,
273,
306,
2221,
75,
12,
1705,
273,
1173,
7369,
19,
74,
2450,
2183,
717,
83,
18,
6446,
11,
262,
16,
432,
12,
296,
42,
2450,
18642,
4366,
21,
31,
69,
291,
2187,
3897,
2218,
17105,
8369,
13,
87,
4840,
2473,
262,
65,
3631,
453,
261,
2939,
273,
306,
2221,
75,
12,
1705,
273,
1173,
7369,
19,
305,
3450,
19882,
18,
6446,
11,
262,
16,
432,
12,
296,
7193,
287,
2779,
83,
2187,
3897,
2218,
17105,
8369,
13,
25404,
2473,
262,
65,
3631,
453,
261,
2939,
273,
306,
2221,
75,
12,
1705,
273,
1173,
7369,
19,
82,
2437,
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,
1221,
1964,
12,
389,
56,
16,
389,
50,
16,
389,
49,
16,
490,
7937,
2784,
55,
67,
4883,
16,
3303,
16,
4856,
262,
30,
10394,
273,
4902,
521,
261,
306,
453,
261,
2939,
273,
306,
2221,
75,
12,
1705,
273,
1173,
7369,
19,
10437,
18,
6446,
11,
262,
16,
432,
12,
389,
50,
3292,
8712,
17337,
3897,
33,
6540,
1785,
12,
10226,
3303,
8623,
65,
262,
16,
4902,
521,
261,
306,
453,
261,
2939,
273,
306,
2221,
75,
12,
1705,
273,
1173,
7369,
19,
275,
13740,
19882,
18,
6446,
11,
262,
16,
432,
12,
296,
664,
13740,
2187,
3897,
2218,
17105,
8369,
13,
87,
11,
262,
65,
3631,
453,
261,
2939,
273,
306,
2221,
75,
12,
1705,
273,
2
] |
if dst_mtime == self.mtime and dst_size != 0:
|
if int(dst_mtime) == int(self.mtime) and dst_size != 0:
|
def do_hashes(self, verbose=False, dry_run=False, copy_permissions=True): try: dst_statinfo = os.stat(self.dst) dst_mtime = dst_statinfo.st_mtime dst_size = dst_statinfo.st_size except OSError: dst_mtime = dst_size = 0 # file missing
|
1d42a3a7b6453e905dcd2b19f3119604527c5805 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3890/1d42a3a7b6453e905dcd2b19f3119604527c5805/metalink-hasher.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
17612,
12,
2890,
16,
3988,
33,
8381,
16,
10299,
67,
2681,
33,
8381,
16,
1610,
67,
9612,
33,
5510,
4672,
775,
30,
3046,
67,
5642,
1376,
273,
1140,
18,
5642,
12,
2890,
18,
11057,
13,
3046,
67,
10838,
273,
3046,
67,
5642,
1376,
18,
334,
67,
10838,
3046,
67,
1467,
273,
3046,
67,
5642,
1376,
18,
334,
67,
1467,
1335,
10002,
30,
3046,
67,
10838,
273,
3046,
67,
1467,
273,
374,
468,
585,
3315,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
17612,
12,
2890,
16,
3988,
33,
8381,
16,
10299,
67,
2681,
33,
8381,
16,
1610,
67,
9612,
33,
5510,
4672,
775,
30,
3046,
67,
5642,
1376,
273,
1140,
18,
5642,
12,
2890,
18,
11057,
13,
3046,
67,
10838,
273,
3046,
67,
5642,
1376,
18,
334,
67,
10838,
3046,
67,
1467,
273,
3046,
67,
5642,
1376,
18,
334,
67,
1467,
1335,
10002,
30,
3046,
67,
10838,
273,
3046,
67,
1467,
273,
374,
468,
585,
3315,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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.__fileSystem = PedFileSystem s._type = s.__fileSystem.type.name s._geometry = s.__fileSystem.geom
|
self.__fileSystem = PedFileSystem self._type = self.__fileSystem.type.name self._geometry = self.__fileSystem.geom
|
def __init__(self, type=None, geometry=None, checked=False, PedFileSystem=None): if checked: c = 1 else: c = 0
|
c9dad9756d600de8d9c8e744af7e8484bcb46853 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5978/c9dad9756d600de8d9c8e744af7e8484bcb46853/filesystem.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
618,
33,
7036,
16,
5316,
33,
7036,
16,
5950,
33,
8381,
16,
453,
329,
11785,
33,
7036,
4672,
309,
5950,
30,
276,
273,
404,
469,
30,
276,
273,
374,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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950,
33,
8381,
16,
453,
329,
11785,
33,
7036,
4672,
309,
5950,
30,
276,
273,
404,
469,
30,
276,
273,
374,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 = p
|
def buildDistributionImage(mode, options): if options.platformID == 'iosx': p = 'osx' s = p if options.platformSubID == 'leopard': s = options.platformSubID else: if options.platformID == 'linux': p = 'linux' s = p if options.platformSubID == 'gutsy': s = options.platformSubID else: p = 'win' s = p if mode == 'release': manifestFile = os.path.join(options.sourceDir, 'distrib', p, 'manifest.%s' % s) else: manifestFile = os.path.join(options.sourceDir, 'distrib', p, 'manifest.debug.%s' % s) options.distribName = buildDistribName(mode, options) options.distribDir = os.path.join(options.buildDir, options.distribName) # yep - we are removing the directory we are # about ready to create - but we want to ensure # it's truly empty if os.access(options.distribDir, os.F_OK): rmdirs(options.distribDir) os.makedirs(options.distribDir) # when we make an osx distribution, we actually need to put it # in a subdirectory (which has a .app extension). So we set # distribDir locally to that .app dir so that handleManifest() # puts things in the right place. if options.platformID == 'iosx' or options.platformID == 'osx': distribDir = os.path.join(options.distribDir, '%s.app' % options.distribName) else: distribDir = options.distribDir result = handleManifest(options.buildDir, options.outputDir, distribDir, manifestFile, options.platformID) if result and options.platformID == 'win': convertLineEndings(distribDir) return result
|
10e7702ecbf2ea8ceef418e4e5b54f328c0374e7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/10e7702ecbf2ea8ceef418e4e5b54f328c0374e7/distribute.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1361,
9003,
2040,
12,
3188,
16,
702,
4672,
309,
702,
18,
9898,
734,
422,
296,
7441,
92,
4278,
293,
273,
296,
538,
92,
11,
225,
309,
702,
18,
9898,
1676,
734,
422,
296,
298,
556,
1060,
4278,
272,
273,
702,
18,
9898,
1676,
734,
469,
30,
309,
702,
18,
9898,
734,
422,
296,
20132,
4278,
293,
273,
296,
20132,
11,
225,
309,
702,
18,
9898,
1676,
734,
422,
296,
75,
322,
9009,
4278,
272,
273,
702,
18,
9898,
1676,
734,
469,
30,
293,
273,
296,
8082,
11,
225,
309,
1965,
422,
296,
9340,
4278,
5643,
812,
273,
1140,
18,
803,
18,
5701,
12,
2116,
18,
3168,
1621,
16,
296,
2251,
665,
2187,
293,
16,
296,
14357,
7866,
87,
11,
738,
272,
13,
469,
30,
5643,
812,
273,
1140,
18,
803,
18,
5701,
12,
2116,
18,
3168,
1621,
16,
296,
2251,
665,
2187,
293,
16,
296,
14357,
18,
4148,
7866,
87,
11,
738,
272,
13,
225,
702,
18,
2251,
665,
461,
273,
1361,
1669,
665,
461,
12,
3188,
16,
702,
13,
702,
18,
2251,
665,
1621,
225,
273,
1140,
18,
803,
18,
5701,
12,
2116,
18,
3510,
1621,
16,
702,
18,
2251,
665,
461,
13,
225,
468,
677,
881,
300,
732,
854,
9427,
326,
1867,
732,
854,
468,
2973,
5695,
358,
752,
300,
1496,
732,
2545,
358,
3387,
468,
518,
1807,
433,
332,
93,
1008,
309,
1140,
18,
3860,
12,
2116,
18,
2251,
665,
1621,
16,
1140,
18,
42,
67,
3141,
4672,
6692,
8291,
12,
2116,
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,
1361,
9003,
2040,
12,
3188,
16,
702,
4672,
309,
702,
18,
9898,
734,
422,
296,
7441,
92,
4278,
293,
273,
296,
538,
92,
11,
225,
309,
702,
18,
9898,
1676,
734,
422,
296,
298,
556,
1060,
4278,
272,
273,
702,
18,
9898,
1676,
734,
469,
30,
309,
702,
18,
9898,
734,
422,
296,
20132,
4278,
293,
273,
296,
20132,
11,
225,
309,
702,
18,
9898,
1676,
734,
422,
296,
75,
322,
9009,
4278,
272,
273,
702,
18,
9898,
1676,
734,
469,
30,
293,
273,
296,
8082,
11,
225,
309,
1965,
422,
296,
9340,
4278,
5643,
812,
273,
1140,
18,
803,
18,
5701,
12,
2116,
18,
3168,
1621,
16,
296,
2251,
665,
2187,
293,
16,
296,
14357,
7866,
87,
2
] |
|
for taskID in sortLit(taskDict.keys()):
|
for taskID in sortList(taskDict.keys()):
|
def submitTasks(self,taskDict): submitted = 0 failed = 0 startTime = time.time() for taskID in sortLit(taskDict.keys()): taskDict[taskID] res = self.submitToExternal(taskDict[taskID]['TaskObject']) if res['OK']: taskDict[taskID]['ExternalID'] = res['Value'] taskDict[taskID]['Success'] = True submitted +=1 else: self.log.warn("Failed to submit task to WMS",res['Message']) taskDict[taskID]['Success'] = False failed += 1 self.log.info('submitTasks: Submitted %d tasks to WMS in %.1f seconds' % (submitted,time.time()-startTime)) self.log.info('submitTasks: Failed to submit %d tasks to WMS.' % (failed,time.time()-startTime)) return S_OK(taskDict)
|
7e361d624cd9374c5dec904aad18c8eb176604b6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/7e361d624cd9374c5dec904aad18c8eb176604b6/TaskManager.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4879,
6685,
12,
2890,
16,
4146,
5014,
4672,
9638,
273,
374,
2535,
273,
374,
8657,
273,
813,
18,
957,
1435,
364,
29772,
316,
1524,
682,
12,
4146,
5014,
18,
2452,
1435,
4672,
1562,
5014,
63,
4146,
734,
65,
400,
273,
365,
18,
9297,
774,
6841,
12,
4146,
5014,
63,
4146,
734,
23962,
2174,
921,
19486,
309,
400,
3292,
3141,
3546,
30,
1562,
5014,
63,
4146,
734,
23962,
6841,
734,
3546,
273,
400,
3292,
620,
3546,
1562,
5014,
63,
4146,
734,
23962,
4510,
3546,
273,
1053,
9638,
1011,
21,
469,
30,
365,
18,
1330,
18,
8935,
2932,
2925,
358,
4879,
1562,
358,
678,
3537,
3113,
455,
3292,
1079,
19486,
1562,
5014,
63,
4146,
734,
23962,
4510,
3546,
273,
1083,
2535,
1011,
404,
365,
18,
1330,
18,
1376,
2668,
9297,
6685,
30,
2592,
7948,
738,
72,
4592,
358,
678,
3537,
316,
12639,
21,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4879,
6685,
12,
2890,
16,
4146,
5014,
4672,
9638,
273,
374,
2535,
273,
374,
8657,
273,
813,
18,
957,
1435,
364,
29772,
316,
1524,
682,
12,
4146,
5014,
18,
2452,
1435,
4672,
1562,
5014,
63,
4146,
734,
65,
400,
273,
365,
18,
9297,
774,
6841,
12,
4146,
5014,
63,
4146,
734,
23962,
2174,
921,
19486,
309,
400,
3292,
3141,
3546,
30,
1562,
5014,
63,
4146,
734,
23962,
6841,
734,
3546,
273,
400,
3292,
620,
3546,
1562,
5014,
63,
4146,
734,
23962,
4510,
3546,
273,
1053,
9638,
1011,
21,
469,
30,
365,
18,
1330,
18,
8935,
2932,
2925,
358,
4879,
1562,
358,
678,
3537,
3113,
455,
3292,
1079,
19486,
1562,
5014,
63,
4146,
734,
23962,
4510,
3546,
273,
1083,
2
] |
mb.member_functions( "fillProfile").exclude() mb.member_functions( "fillFrequencies").exclude() mb.member_functions( "getMatrix" ).exclude()
|
exclude_functions = ("fillProfile", "fillFrequencies", "decode", "encode", "col_begin", "col_end", "row_begin", "row_end" ) for f in exclude_functions: try: mb.member_functions(f).exclude() except RuntimeError: print "could not find function %s to exclude" % f
|
def export_interface_classes( mb ): """export virtual classes. These classes can not instantiated directly from python. """ classes_to_export = set( ['Alignandum', 'MultipleAlignment', 'Alignator', 'Iterator', # 'Dottor', 'Translator', 'SubstitutionMatrix', 'Fragmentor', 'Alignment', 'AlignmentIterator', 'AlignmentConstIterator', 'Scorer', 'Weightor', 'Renderer', 'LogOddor', 'Regularizor', 'Iterator2D', 'ResiduePAIR', 'Alignatum', 'EVDParameters', 'AlignandumData', 'SubstitutionMatrixData', 'NormalDistributionParameters', 'Distor', 'Treetor', 'Tree', 'PhyloMatrix', ]) ## include all classes mb.classes( lambda x: x.name in classes_to_export ).include() ## deal with copying/cloning members functions mb.member_functions( lambda x: x.name == "getClone" ).call_policies = \ return_value_policy( manage_new_object ) mb.member_functions( lambda x: x.name == "getNew" ).call_policies = \ return_value_policy( manage_new_object ) ## add __str__ function for functions having defined the '<<' operator ## This automatically maps std::ostream to a string mb.free_operators( lambda x: x.name == "operator<<" ).include() ## used for dottor objects ## mb.member_functions( lambda x: x.name == "getPairs" ).call_policies = \ ## return_value_policy( manage_new_object ) # return reference to existing values - look at managing this better later mb.member_functions( lambda x: x.name == "getPointer" ).call_policies = \ return_value_policy( reference_existing_object ) mb.member_functions( lambda x: x.name == "getReference" ).call_policies = \ return_value_policy( reference_existing_object ) ## mb.member_functions( lambda x: x.name == "getRowIndices" ).call_policies = \ ## return_value_policy( reference_existing_object ) mb.member_functions( lambda x: x.name == "getRow" ).call_policies = \ return_value_policy( reference_existing_object ) mb.member_functions( lambda x: x.name == "align" ).call_policies = \ return_value_policy( reference_existing_object ) mb.member_functions( lambda x: x.name == "fragment" ).call_policies = \ return_value_policy( reference_existing_object ) mb.member_functions( "calculateWeights" ).call_policies = \ return_value_policy( manage_new_object ) mb.member_functions( "calculateMatrix" ).call_policies = \ return_value_policy( manage_new_object ) mb.member_functions( "calculateTree" ).call_policies = \ return_value_policy( manage_new_object ) mb.member_functions( lambda mem_fun: mem_fun.name.startswith( "getNodes" ) ).call_policies = \ return_value_policy( manage_new_object ) ## deal with Translator objects ## do not export decode/encode cls = mb.class_( "Translator" ) cls.member_functions( "decode" ).exclude() cls.member_functions( "encode" ).exclude() ## exclude the following because of unhandled arguments/return types mb.member_functions( "fillProfile").exclude() mb.member_functions( "fillFrequencies").exclude() mb.member_functions( "getMatrix" ).exclude() ## get an error for this. For Dottor, now obsolete. ## mb.member_functions( lambda x: x.name in ("getRowIndices",) ).exclude() ## do not include the increment/decrement and dereference operators, because there is no equivalent in python ## exlude functions while testing. Need to map return types later. mb.member_operators( lambda x: x.name in ("operator++", "operator--", "operator*", "operator->", "operator()") ).exclude() ## do not export the internal iterator interfaces. This makes Alignment ## virtual and the wrapper will cause compilation to fail. mb.classes( lambda x: x.name in ("Iterator", "ConstIterator")).exclude() ## see http://article.gmane.org/gmane.comp.python.c++/10177 ## this is used to remove the wrapper classes for purely virtual classes. for c in classes_to_export: cls = mb.class_( c ) ## remove virtual member functions. This will result in a class to be ## not virtual and hence no wrapper. members = cls.decls( declarations.virtuality_type_matcher( declarations.VIRTUALITY_TYPES.PURE_VIRTUAL ), decl_type=declarations.calldef.member_calldef_t, allow_empty=True) members.set_virtuality( declarations.VIRTUALITY_TYPES.NOT_VIRTUAL ) members = cls.decls( declarations.virtuality_type_matcher( declarations.VIRTUALITY_TYPES.ALL ), decl_type=declarations.calldef.member_calldef_t, allow_empty=True) members.set_virtuality( declarations.VIRTUALITY_TYPES.NOT_VIRTUAL ) ## do not wrap constructors, because compilation will fail for ## abstract classes. cls.constructors().exclude() ## deal with methods that transfer ownership of the first argument ## supplied to the method. ## The list contains ## 1: the class with the member function ## 2: the function prefix that needs to wrapped ## 3: the class of the pointee classes_with_ownership_transfer = [ ("MultipleAlignment", "add", "Alignatum") , ] ## TODO: add others, in particular addPair, but check for argument types #("Alignment", "addPair", "ResiduePAIR" ) ] for ccontainer, fname, cpointee in classes_with_ownership_transfer: cls_pointee = mb.class_( cpointee ) cls_pointee.held_type = 'std::auto_ptr< %s >' % cls_pointee.decl_string cls_container= mb.class_( ccontainer ) mem_funs = cls_container.member_functions( fname ) for f in mem_funs: # set alias to original function name, otherwise ugly names will be created # a call for rename() had no effect. f.add_transformation( function_transformers.transfer_ownership( 0 ), alias = fname ) ## export load/save functionality exportSave( mb, options ) exportLoad( mb, options ) ## Deal with templated matrix class template_translations = { 'Matrix<double>' : 'MatrixDouble', 'Matrix<unsigned>' : 'MatrixUInt', 'Matrix<int>' : 'MatrixInt', } ## first include the whole class, then exclude specific member functions declarations_to_export = set( template_translations.keys() ) mb.decls( lambda x: x.name in declarations_to_export ).include() for old, new in template_translations.items(): cls = mb.class_( old ) cls.rename( new ) cls.alias = new ## no warning for warning W1036: Py++ can not expose pointer to Python immutable member cls.vars(lambda x: x.name == "mMatrix" ).disable_warnings( messages.W1036 ) ## do not wrap [], gives rise to "invalid application of 'sizeof' to incomplete type" cls.member_operators( "operator[]" ).exclude() ## silence warnings about immutable types cls.mem_fun( "getValue" ).disable_warnings( messages.W1008 ) cls.mem_fun( "setValue" ).disable_warnings( messages.W1008 )
|
17694f712e3a6083ccc3dcd42f7ac85d1ed3158c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8012/17694f712e3a6083ccc3dcd42f7ac85d1ed3158c/setup.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3359,
67,
5831,
67,
4701,
12,
4903,
262,
30,
3536,
6530,
5024,
3318,
18,
225,
8646,
3318,
848,
486,
17651,
5122,
628,
5790,
18,
3536,
3318,
67,
869,
67,
6530,
273,
444,
12,
10228,
10044,
464,
379,
2187,
296,
8438,
11535,
2187,
296,
10044,
639,
2187,
296,
3198,
2187,
468,
12900,
296,
10412,
13039,
2187,
296,
12233,
2187,
296,
23798,
4635,
2187,
296,
7456,
280,
2187,
296,
11535,
2187,
296,
11535,
3198,
2187,
296,
11535,
9661,
3198,
2187,
296,
1541,
8922,
2187,
296,
6544,
280,
2187,
296,
6747,
2187,
296,
1343,
51,
449,
280,
2187,
296,
17974,
452,
280,
2187,
296,
3198,
22,
40,
2187,
296,
607,
23965,
4066,
7937,
2187,
296,
10044,
270,
379,
2187,
296,
41,
21544,
2402,
2187,
296,
10044,
464,
379,
751,
2187,
296,
23798,
4635,
751,
2187,
296,
5506,
9003,
2402,
2187,
296,
5133,
280,
2187,
296,
56,
9015,
280,
2187,
296,
2471,
2187,
296,
3731,
93,
383,
4635,
2187,
308,
13,
225,
7541,
2341,
777,
3318,
4903,
18,
4701,
12,
3195,
619,
30,
619,
18,
529,
316,
3318,
67,
869,
67,
6530,
262,
18,
6702,
1435,
225,
7541,
10490,
598,
8933,
19,
830,
22470,
4833,
4186,
4903,
18,
5990,
67,
10722,
12,
3195,
619,
30,
619,
18,
529,
422,
315,
588,
10930,
6,
262,
18,
1991,
67,
17407,
273,
521,
327,
67,
1132,
67,
5086,
12,
10680,
67,
2704,
67,
1612,
262,
4903,
18,
5990,
67,
10722,
12,
3195,
619,
30,
619,
18,
529,
422,
315,
588,
1908,
6,
262,
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,
3359,
67,
5831,
67,
4701,
12,
4903,
262,
30,
3536,
6530,
5024,
3318,
18,
225,
8646,
3318,
848,
486,
17651,
5122,
628,
5790,
18,
3536,
3318,
67,
869,
67,
6530,
273,
444,
12,
10228,
10044,
464,
379,
2187,
296,
8438,
11535,
2187,
296,
10044,
639,
2187,
296,
3198,
2187,
468,
12900,
296,
10412,
13039,
2187,
296,
12233,
2187,
296,
23798,
4635,
2187,
296,
7456,
280,
2187,
296,
11535,
2187,
296,
11535,
3198,
2187,
296,
11535,
9661,
3198,
2187,
296,
1541,
8922,
2187,
296,
6544,
280,
2187,
296,
6747,
2187,
296,
1343,
51,
449,
280,
2187,
296,
17974,
452,
280,
2187,
296,
3198,
22,
40,
2187,
296,
607,
23965,
4066,
7937,
2187,
296,
10044,
270,
379,
2187,
296,
41,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.