rem
stringlengths 1
226k
| add
stringlengths 0
227k
| context
stringlengths 6
326k
| meta
stringlengths 143
403
| input_ids
sequencelengths 256
256
| attention_mask
sequencelengths 256
256
| labels
sequencelengths 128
128
|
---|---|---|---|---|---|---|
DEBUG = 0 | DEBUG = 1 | def check_args(*args): for arg in args: assert isinstance(arg, (Box, Const)) | 7911540f124e54084aac2433bdb39e04dff0e471 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6934/7911540f124e54084aac2433bdb39e04dff0e471/pyjitpl.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
67,
1968,
30857,
1968,
4672,
364,
1501,
316,
833,
30,
1815,
1549,
12,
3175,
16,
261,
3514,
16,
9333,
3719,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
67,
1968,
30857,
1968,
4672,
364,
1501,
316,
833,
30,
1815,
1549,
12,
3175,
16,
261,
3514,
16,
9333,
3719,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
activity = SystemActivity(system.user, 'VIA %s' % None, 'Provision', 'Distro', "", "Success: %s" % distro.install_name) system.activity.append(activity) | system.activity.append(SystemActivity(system.user, 'VIA %s' % None, 'Provision', 'Distro', "", "Success: %s" % distro.install_name)) | def commandBoot(self, commands): """ NetBoot Compat layer for old RHTS Scheduler """ repos = [] bootargs = None kickstart = None packages = [] runtest_url = None testrepo = None hostname = None distro_name = None SETENV = re.compile(r'SetEnvironmentVar\s+([^\s]+)\s+"*([^"]+)') BOOTARGS = re.compile(r'BootArgs\s+(.*)') KICKSTART = re.compile(r'Kickstart\s+(.*)') ADDREPO = re.compile(r'AddRepo\s+([^\s]+)') TESTREPO = re.compile(r'TestRepo\s+([^\s]+)') INSTALLPACKAGE = re.compile(r'InstallPackage\s+([^\s]+)') | cdcd12a006c980404e5955234d65249dae12765f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14755/cdcd12a006c980404e5955234d65249dae12765f/controllers.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1296,
15817,
12,
2890,
16,
4364,
4672,
3536,
8503,
15817,
5427,
270,
3018,
364,
1592,
534,
5062,
55,
12620,
3536,
13686,
273,
5378,
4835,
1968,
273,
599,
23228,
1937,
273,
599,
5907,
273,
5378,
1086,
3813,
67,
718,
273,
599,
1842,
7422,
273,
599,
5199,
273,
599,
27450,
67,
529,
273,
599,
7855,
11986,
273,
283,
18,
11100,
12,
86,
11,
694,
5494,
1537,
64,
87,
15,
19042,
87,
16004,
87,
9078,
14,
8178,
6,
3737,
2506,
13,
9784,
1974,
22439,
273,
283,
18,
11100,
12,
86,
11,
15817,
2615,
64,
87,
15,
7444,
2506,
13,
1475,
16656,
7570,
273,
283,
18,
11100,
12,
86,
11,
47,
1200,
1937,
64,
87,
15,
7444,
2506,
13,
11689,
862,
2419,
273,
283,
18,
11100,
12,
86,
11,
986,
8791,
64,
87,
15,
19042,
87,
3737,
2506,
13,
22130,
862,
2419,
273,
283,
18,
11100,
12,
86,
11,
4709,
8791,
64,
87,
15,
19042,
87,
3737,
2506,
13,
22880,
4685,
19077,
273,
283,
18,
11100,
12,
86,
11,
6410,
2261,
64,
87,
15,
19042,
87,
3737,
2506,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1296,
15817,
12,
2890,
16,
4364,
4672,
3536,
8503,
15817,
5427,
270,
3018,
364,
1592,
534,
5062,
55,
12620,
3536,
13686,
273,
5378,
4835,
1968,
273,
599,
23228,
1937,
273,
599,
5907,
273,
5378,
1086,
3813,
67,
718,
273,
599,
1842,
7422,
273,
599,
5199,
273,
599,
27450,
67,
529,
273,
599,
7855,
11986,
273,
283,
18,
11100,
12,
86,
11,
694,
5494,
1537,
64,
87,
15,
19042,
87,
16004,
87,
9078,
14,
8178,
6,
3737,
2506,
13,
9784,
1974,
22439,
273,
283,
18,
11100,
12,
86,
11,
15817,
2615,
64,
87,
15,
7444,
2506,
13,
1475,
16656,
7570,
273,
283,
18,
11100,
12,
86,
11,
47,
1200,
1937,
64,
87,
15,
7444,
2506,
13,
11689,
862,
2419,
2
] |
sock.write("%s %s %s\n" % (int(time.time()), win.active_server.tag, win.active.name)) | sock.write("%s%s %s\n" % (int(time.time()), win.active_server.tag, win.active.name)) | def timer(): win = irssi.active_win() if win.active and win.active_server: sock = open(statfile, "a") sock.write("%s %s %s\n" % (int(time.time()), win.active_server.tag, win.active.name)) sock.close() irssi.timeout_add(1000*60, timer) | 8cd6f0cb81e4d2b5f99f83e4c2c31b85b536344e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11934/8cd6f0cb81e4d2b5f99f83e4c2c31b85b536344e/chanstat.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5441,
13332,
5657,
273,
9482,
1049,
77,
18,
3535,
67,
8082,
1435,
309,
5657,
18,
3535,
471,
5657,
18,
3535,
67,
3567,
30,
7313,
273,
1696,
12,
5642,
768,
16,
315,
69,
7923,
7313,
18,
2626,
27188,
87,
9,
87,
738,
87,
64,
82,
6,
738,
261,
474,
12,
957,
18,
957,
1435,
3631,
5657,
18,
3535,
67,
3567,
18,
2692,
16,
5657,
18,
3535,
18,
529,
3719,
7313,
18,
4412,
1435,
9482,
1049,
77,
18,
4538,
67,
1289,
12,
18088,
14,
4848,
16,
5441,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5441,
13332,
5657,
273,
9482,
1049,
77,
18,
3535,
67,
8082,
1435,
309,
5657,
18,
3535,
471,
5657,
18,
3535,
67,
3567,
30,
7313,
273,
1696,
12,
5642,
768,
16,
315,
69,
7923,
7313,
18,
2626,
27188,
87,
9,
87,
738,
87,
64,
82,
6,
738,
261,
474,
12,
957,
18,
957,
1435,
3631,
5657,
18,
3535,
67,
3567,
18,
2692,
16,
5657,
18,
3535,
18,
529,
3719,
7313,
18,
4412,
1435,
9482,
1049,
77,
18,
4538,
67,
1289,
12,
18088,
14,
4848,
16,
5441,
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
] |
if dtype.startswith('<') and dtype.endswith('>'): | if type(dtype) in [str,unicode] and dtype.startswith('<') and dtype.endswith('>'): | def _results2jsondict(self,results): bindings = results.getBindingNames() r_dict = {} r_dict['head'] = {'vars': bindings} r_dict['results'] = {'bindings':[]} for bindingSet in results: #self.log.debug(' BINDING SET %s'%str(bindingSet)) json_binding = {} for b in bindings: value = bindingSet.getValue(b) if type(value) is sv.URI: json_binding[b] = {'type':'uri', 'value': value.getURI()} elif type(value) is sv.BNode: json_binding[b] = {'type':'bnode', 'value': value.getID()} elif type(value) is sl.Literal: dtype = value.getDatatype() if value.getDatatype() else None lang = value.getLanguage() if value.getLanguage() else None lit_type = 'typed-literal' if dtype else 'literal' json_binding[b] = {'type':lit_type, 'value': value.getLabel()} if dtype: if dtype.startswith('<') and dtype.endswith('>'): dtype = dtype.strip('<>') json_binding[b]['datatype'] = term.URIRef(dtype) if lang: json_binding[b]['xml:lang'] = lang r_dict['results']['bindings'].append(json_binding) return r_dict | 417866fba596bd20b3be0eaad5220fd47606239f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13812/417866fba596bd20b3be0eaad5220fd47606239f/sparqlsesame2apireader.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4717,
22,
1977,
1576,
12,
2890,
16,
4717,
4672,
7394,
273,
1686,
18,
588,
5250,
1557,
1435,
436,
67,
1576,
273,
2618,
436,
67,
1576,
3292,
1978,
3546,
273,
13666,
4699,
4278,
7394,
97,
436,
67,
1576,
3292,
4717,
3546,
273,
13666,
15863,
4278,
8526,
97,
364,
5085,
694,
316,
1686,
30,
468,
2890,
18,
1330,
18,
4148,
2668,
605,
2356,
1360,
7855,
738,
87,
11,
9,
701,
12,
7374,
694,
3719,
1163,
67,
7374,
273,
2618,
364,
324,
316,
7394,
30,
460,
273,
5085,
694,
18,
24805,
12,
70,
13,
309,
618,
12,
1132,
13,
353,
5893,
18,
3098,
30,
1163,
67,
7374,
63,
70,
65,
273,
13666,
723,
11,
2497,
1650,
2187,
296,
1132,
4278,
460,
18,
588,
3098,
17767,
1327,
618,
12,
1132,
13,
353,
5893,
18,
38,
907,
30,
1163,
67,
7374,
63,
70,
65,
273,
13666,
723,
11,
2497,
70,
2159,
2187,
296,
1132,
4278,
460,
18,
588,
734,
17767,
1327,
618,
12,
1132,
13,
353,
2020,
18,
6177,
30,
3182,
273,
460,
18,
588,
20228,
1435,
309,
460,
18,
588,
20228,
1435,
469,
599,
3303,
273,
460,
18,
588,
3779,
1435,
309,
460,
18,
588,
3779,
1435,
469,
599,
16297,
67,
723,
273,
296,
11585,
17,
13107,
11,
309,
3182,
469,
296,
13107,
11,
1163,
67,
7374,
63,
70,
65,
273,
13666,
723,
4278,
24235,
67,
723,
16,
296,
1132,
4278,
460,
18,
588,
2224,
17767,
309,
3182,
30,
309,
618,
12,
8972,
13,
316,
306,
701,
16,
9124,
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,
4717,
22,
1977,
1576,
12,
2890,
16,
4717,
4672,
7394,
273,
1686,
18,
588,
5250,
1557,
1435,
436,
67,
1576,
273,
2618,
436,
67,
1576,
3292,
1978,
3546,
273,
13666,
4699,
4278,
7394,
97,
436,
67,
1576,
3292,
4717,
3546,
273,
13666,
15863,
4278,
8526,
97,
364,
5085,
694,
316,
1686,
30,
468,
2890,
18,
1330,
18,
4148,
2668,
605,
2356,
1360,
7855,
738,
87,
11,
9,
701,
12,
7374,
694,
3719,
1163,
67,
7374,
273,
2618,
364,
324,
316,
7394,
30,
460,
273,
5085,
694,
18,
24805,
12,
70,
13,
309,
618,
12,
1132,
13,
353,
5893,
18,
3098,
30,
1163,
67,
7374,
63,
70,
65,
273,
13666,
723,
11,
2497,
1650,
2187,
296,
1132,
4278,
2
] |
s = (_center(month_name[themonth] + ' ' + `theyear`, | s = ((month_name[themonth] + ' ' + `theyear`).center( | def month(theyear, themonth, w=0, l=0): """Return a month's calendar string (multi-line).""" w = max(2, w) l = max(1, l) s = (_center(month_name[themonth] + ' ' + `theyear`, 7 * (w + 1) - 1).rstrip() + '\n' * l + weekheader(w).rstrip() + '\n' * l) for aweek in monthcalendar(theyear, themonth): s = s + week(aweek, w).rstrip() + '\n' * l return s[:-l] + '\n' | f5024853b80e29cb655731eeffba0ac48be6b5bb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/f5024853b80e29cb655731eeffba0ac48be6b5bb/calendar.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3138,
12,
451,
402,
2091,
16,
2182,
2152,
16,
341,
33,
20,
16,
328,
33,
20,
4672,
3536,
990,
279,
3138,
1807,
5686,
533,
261,
7027,
17,
1369,
13,
12123,
341,
273,
943,
12,
22,
16,
341,
13,
328,
273,
943,
12,
21,
16,
328,
13,
272,
273,
14015,
7496,
67,
529,
63,
451,
351,
2152,
65,
397,
296,
296,
397,
1375,
451,
402,
2091,
68,
2934,
5693,
12,
2371,
380,
261,
91,
397,
404,
13,
300,
404,
2934,
86,
6406,
1435,
397,
2337,
82,
11,
380,
328,
397,
4860,
3374,
12,
91,
2934,
86,
6406,
1435,
397,
2337,
82,
11,
380,
328,
13,
364,
1690,
3317,
316,
3138,
11650,
12,
451,
402,
2091,
16,
2182,
2152,
4672,
272,
273,
272,
397,
4860,
12,
2219,
3317,
16,
341,
2934,
86,
6406,
1435,
397,
2337,
82,
11,
380,
328,
327,
272,
10531,
17,
80,
65,
397,
2337,
82,
11,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3138,
12,
451,
402,
2091,
16,
2182,
2152,
16,
341,
33,
20,
16,
328,
33,
20,
4672,
3536,
990,
279,
3138,
1807,
5686,
533,
261,
7027,
17,
1369,
13,
12123,
341,
273,
943,
12,
22,
16,
341,
13,
328,
273,
943,
12,
21,
16,
328,
13,
272,
273,
14015,
7496,
67,
529,
63,
451,
351,
2152,
65,
397,
296,
296,
397,
1375,
451,
402,
2091,
68,
2934,
5693,
12,
2371,
380,
261,
91,
397,
404,
13,
300,
404,
2934,
86,
6406,
1435,
397,
2337,
82,
11,
380,
328,
397,
4860,
3374,
12,
91,
2934,
86,
6406,
1435,
397,
2337,
82,
11,
380,
328,
13,
364,
1690,
3317,
316,
3138,
11650,
12,
451,
402,
2091,
16,
2182,
2152,
4672,
2
] |
self.SetTitle("frame_2") | self.SetTitle("Ortho View") self.SetSize((480, 433)) | def __set_properties(self): # begin wxGlade: orthoViewFrame.__set_properties self.SetTitle("frame_2") self.RWI.SetSize((-1, -1)) # end wxGlade | 75d775c9e22f39c54ff64ed8ae22d4670fe36165 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4494/75d775c9e22f39c54ff64ed8ae22d4670fe36165/slice3dVWRFrames.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
542,
67,
4738,
12,
2890,
4672,
468,
2376,
7075,
21308,
2486,
30,
16208,
83,
1767,
3219,
16186,
542,
67,
4738,
365,
18,
694,
4247,
2932,
1162,
451,
83,
4441,
7923,
365,
18,
694,
1225,
12443,
24,
3672,
16,
1059,
3707,
3719,
365,
18,
18810,
45,
18,
694,
1225,
12443,
17,
21,
16,
300,
21,
3719,
468,
679,
7075,
21308,
2486,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
542,
67,
4738,
12,
2890,
4672,
468,
2376,
7075,
21308,
2486,
30,
16208,
83,
1767,
3219,
16186,
542,
67,
4738,
365,
18,
694,
4247,
2932,
1162,
451,
83,
4441,
7923,
365,
18,
694,
1225,
12443,
24,
3672,
16,
1059,
3707,
3719,
365,
18,
18810,
45,
18,
694,
1225,
12443,
17,
21,
16,
300,
21,
3719,
468,
679,
7075,
21308,
2486,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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.Bind(stc.EVT_STC_DO_DROP, self.OnDoDrop) self.Bind(stc.EVT_STC_DRAG_OVER, self.OnDragOver) self.Bind(stc.EVT_STC_START_DRAG, self.OnStartDrag) self.Bind(stc.EVT_STC_MODIFIED, self.OnModified) | self.Bind(wx.stc.EVT_STC_DO_DROP, self.OnDoDrop) self.Bind(wx.stc.EVT_STC_DRAG_OVER, self.OnDragOver) self.Bind(wx.stc.EVT_STC_START_DRAG, self.OnStartDrag) self.Bind(wx.stc.EVT_STC_MODIFIED, self.OnModified) | def __init__(self, parent, refstc=None, copy=None): PeppyBaseSTC.__init__(self, parent, refstc=refstc, copy=copy) | 23fa516b9f01b354a07ff082225e4c0b3b57b08d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11522/23fa516b9f01b354a07ff082225e4c0b3b57b08d/stcinterface.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
982,
16,
1278,
334,
71,
33,
7036,
16,
1610,
33,
7036,
4672,
453,
881,
2074,
2171,
882,
39,
16186,
2738,
972,
12,
2890,
16,
982,
16,
1278,
334,
71,
33,
1734,
334,
71,
16,
1610,
33,
3530,
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,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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,
1001,
2738,
972,
12,
2890,
16,
982,
16,
1278,
334,
71,
33,
7036,
16,
1610,
33,
7036,
4672,
453,
881,
2074,
2171,
882,
39,
16186,
2738,
972,
12,
2890,
16,
982,
16,
1278,
334,
71,
33,
1734,
334,
71,
16,
1610,
33,
3530,
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
] |
req.add_header('Authorization', 'Basic %s' % auth) | req.add_header(self.header, 'Basic %s' % auth) | def retry_http_basic_auth(self, req, realm): if self.__current_realm is None: self.__current_realm = realm else: self.__current_realm = realm return None # XXX host isn't really the correct URI? host = req.get_host() user,pw = self.passwd.find_user_password(realm, host) if pw: raw = "%s:%s" % (user, pw) auth = base64.encodestring(raw).strip() req.add_header('Authorization', 'Basic %s' % auth) resp = self.parent.open(req) self.__current_realm = None return resp else: self.__current_realm = None return None | c830d087127997925d660b4a2741fc35044208c6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/c830d087127997925d660b4a2741fc35044208c6/urllib2.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3300,
67,
2505,
67,
13240,
67,
1944,
12,
2890,
16,
1111,
16,
11319,
4672,
309,
365,
16186,
2972,
67,
24056,
353,
599,
30,
365,
16186,
2972,
67,
24056,
273,
11319,
469,
30,
365,
16186,
2972,
67,
24056,
273,
11319,
327,
599,
468,
11329,
1479,
5177,
1404,
8654,
326,
3434,
3699,
35,
1479,
273,
1111,
18,
588,
67,
2564,
1435,
729,
16,
14921,
273,
365,
18,
24002,
18,
4720,
67,
1355,
67,
3664,
12,
24056,
16,
1479,
13,
309,
8772,
30,
1831,
273,
2213,
87,
5319,
87,
6,
738,
261,
1355,
16,
8772,
13,
1357,
273,
1026,
1105,
18,
1331,
1145,
371,
12,
1899,
2934,
6406,
1435,
1111,
18,
1289,
67,
3374,
12,
2890,
18,
3374,
16,
296,
8252,
738,
87,
11,
738,
1357,
13,
1718,
273,
365,
18,
2938,
18,
3190,
12,
3658,
13,
365,
16186,
2972,
67,
24056,
273,
599,
327,
1718,
469,
30,
365,
16186,
2972,
67,
24056,
273,
599,
327,
599,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3300,
67,
2505,
67,
13240,
67,
1944,
12,
2890,
16,
1111,
16,
11319,
4672,
309,
365,
16186,
2972,
67,
24056,
353,
599,
30,
365,
16186,
2972,
67,
24056,
273,
11319,
469,
30,
365,
16186,
2972,
67,
24056,
273,
11319,
327,
599,
468,
11329,
1479,
5177,
1404,
8654,
326,
3434,
3699,
35,
1479,
273,
1111,
18,
588,
67,
2564,
1435,
729,
16,
14921,
273,
365,
18,
24002,
18,
4720,
67,
1355,
67,
3664,
12,
24056,
16,
1479,
13,
309,
8772,
30,
1831,
273,
2213,
87,
5319,
87,
6,
738,
261,
1355,
16,
8772,
13,
1357,
273,
1026,
1105,
18,
1331,
1145,
371,
12,
1899,
2934,
6406,
1435,
1111,
18,
1289,
67,
3374,
12,
2890,
18,
3374,
16,
296,
8252,
2
] |
if l_obj is not None: | if l_obj is not None and l_obj != 'NULL': | def GetLayer(self,iLayer=0): # If given a layer name, scan for it. if type(iLayer).__name__ == 'str': layer_count = self.GetLayerCount() for i in range(layer_count): if self.GetLayer(i).GetName() == iLayer: return self.GetLayer(i) return None l_obj = _gdal.OGR_DS_GetLayer( self._o, iLayer) if l_obj is not None: return Layer( l_obj ) else: return None | 3168cde22e4a9933a110dc046a57cda148cf2a16 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10290/3168cde22e4a9933a110dc046a57cda148cf2a16/ogr.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
968,
4576,
12,
2890,
16,
77,
4576,
33,
20,
4672,
468,
971,
864,
279,
3018,
508,
16,
4135,
364,
518,
18,
309,
618,
12,
77,
4576,
2934,
972,
529,
972,
422,
296,
701,
4278,
3018,
67,
1883,
273,
365,
18,
967,
4576,
1380,
1435,
364,
277,
316,
1048,
12,
6363,
67,
1883,
4672,
309,
365,
18,
967,
4576,
12,
77,
2934,
967,
461,
1435,
422,
277,
4576,
30,
327,
365,
18,
967,
4576,
12,
77,
13,
327,
599,
225,
328,
67,
2603,
273,
389,
19016,
287,
18,
51,
6997,
67,
3948,
67,
967,
4576,
12,
365,
6315,
83,
16,
277,
4576,
13,
309,
328,
67,
2603,
353,
486,
599,
471,
328,
67,
2603,
480,
296,
8560,
4278,
327,
12112,
12,
328,
67,
2603,
262,
469,
30,
327,
599,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
968,
4576,
12,
2890,
16,
77,
4576,
33,
20,
4672,
468,
971,
864,
279,
3018,
508,
16,
4135,
364,
518,
18,
309,
618,
12,
77,
4576,
2934,
972,
529,
972,
422,
296,
701,
4278,
3018,
67,
1883,
273,
365,
18,
967,
4576,
1380,
1435,
364,
277,
316,
1048,
12,
6363,
67,
1883,
4672,
309,
365,
18,
967,
4576,
12,
77,
2934,
967,
461,
1435,
422,
277,
4576,
30,
327,
365,
18,
967,
4576,
12,
77,
13,
327,
599,
225,
328,
67,
2603,
273,
389,
19016,
287,
18,
51,
6997,
67,
3948,
67,
967,
4576,
12,
365,
6315,
83,
16,
277,
4576,
13,
309,
328,
67,
2603,
353,
486,
599,
471,
328,
67,
2603,
480,
296,
8560,
4278,
327,
2
] |
def __init__( self, getRPCClient = None ): | def __init__( self, getRPCClient = None ): | def __init__( self, getRPCClient = None ): self.getRPCClient = getRPCClient self.lastDataRetrievalTime = 0 self.sitesData = {} | 8b93128e034ef05348fd34eb462c9c8f67173b1c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12864/8b93128e034ef05348fd34eb462c9c8f67173b1c/SiteMapClient.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
365,
16,
4170,
3513,
1227,
273,
599,
262,
30,
365,
18,
588,
8087,
1227,
273,
4170,
3513,
1227,
365,
18,
2722,
751,
27356,
950,
273,
374,
365,
18,
12180,
751,
273,
2618,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
273,
4170,
3513,
1227,
365,
18,
2722,
751,
27356,
950,
273,
374,
365,
18,
12180,
751,
273,
2618,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
ARG0 = self.graph.getargs()[0].concretetype | try: ARG0 = self.graph.getargs()[0].concretetype except IndexError: ARG0 = None | def render(self, ilasm): ilasm.begin_function('main', [('string[]', 'argv')], 'void', True, 'static') | 132048bcee604a41a88a59768ad43fad5ed91f28 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/132048bcee604a41a88a59768ad43fad5ed91f28/runtest.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1743,
12,
2890,
16,
277,
9521,
81,
4672,
277,
9521,
81,
18,
10086,
67,
915,
2668,
5254,
2187,
306,
2668,
1080,
8526,
2187,
296,
19485,
6134,
6487,
296,
6459,
2187,
1053,
16,
296,
3845,
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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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,
1743,
12,
2890,
16,
277,
9521,
81,
4672,
277,
9521,
81,
18,
10086,
67,
915,
2668,
5254,
2187,
306,
2668,
1080,
8526,
2187,
296,
19485,
6134,
6487,
296,
6459,
2187,
1053,
16,
296,
3845,
6134,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
data = fcntl.ioctl(s, 0x8B21, ifreq)[16:] | result = fcntl.ioctl(self.sock.fileno(), SIOCGIWRATE, data)[16:] | def GetCurrentBitrate(self, iwconfig=None): """ Get the current bitrate for the interface. """ if not self.iface: return "" data = (self.iface + '\0' * 32)[:32] s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) fmt = "ihbb" size = struct.calcsize(fmt) try: data = fcntl.ioctl(s, 0x8B21, ifreq)[16:] # 0x8B21 is SIOCGIWRATE in /usr/include/linux/wireless.h except IOError, e: if self.verbose: print "SIOCGIWAP failed: " + str(e) return "" f, e, x, x = struct.unpack(fmt, data[:size]) | 1e65babbd91a128171b8b012ccfd017dab3b717f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12280/1e65babbd91a128171b8b012ccfd017dab3b717f/be-ioctl.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
968,
3935,
5775,
5141,
12,
2890,
16,
25522,
1425,
33,
7036,
4672,
3536,
968,
326,
783,
2831,
5141,
364,
326,
1560,
18,
3536,
309,
486,
365,
18,
31479,
30,
327,
1408,
501,
273,
261,
2890,
18,
31479,
397,
2337,
20,
11,
380,
3847,
13,
10531,
1578,
65,
272,
273,
2987,
18,
7814,
12,
7814,
18,
6799,
67,
18819,
16,
2987,
18,
3584,
3507,
67,
40,
15370,
13,
1325,
273,
315,
7392,
9897,
6,
963,
273,
1958,
18,
12448,
1467,
12,
8666,
13,
775,
30,
563,
273,
30894,
18,
1594,
12930,
12,
2890,
18,
15031,
18,
7540,
5764,
9334,
348,
4294,
39,
13797,
7181,
1777,
16,
501,
25146,
2313,
26894,
225,
131,
259,
7,
374,
92,
28,
38,
5340,
353,
348,
4294,
39,
13797,
7181,
1777,
316,
342,
13640,
19,
6702,
19,
20132,
19,
14538,
2656,
18,
76,
1335,
8340,
16,
425,
30,
309,
365,
18,
11369,
30,
1172,
315,
2320,
10809,
13797,
59,
2203,
2535,
30,
315,
397,
609,
12,
73,
13,
327,
1408,
284,
16,
425,
16,
619,
16,
619,
273,
1958,
18,
17309,
12,
8666,
16,
501,
10531,
1467,
5717,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
968,
3935,
5775,
5141,
12,
2890,
16,
25522,
1425,
33,
7036,
4672,
3536,
968,
326,
783,
2831,
5141,
364,
326,
1560,
18,
3536,
309,
486,
365,
18,
31479,
30,
327,
1408,
501,
273,
261,
2890,
18,
31479,
397,
2337,
20,
11,
380,
3847,
13,
10531,
1578,
65,
272,
273,
2987,
18,
7814,
12,
7814,
18,
6799,
67,
18819,
16,
2987,
18,
3584,
3507,
67,
40,
15370,
13,
1325,
273,
315,
7392,
9897,
6,
963,
273,
1958,
18,
12448,
1467,
12,
8666,
13,
775,
30,
563,
273,
30894,
18,
1594,
12930,
12,
2890,
18,
15031,
18,
7540,
5764,
9334,
348,
4294,
39,
13797,
7181,
1777,
16,
501,
25146,
2313,
26894,
225,
131,
259,
7,
374,
92,
28,
38,
5340,
2
] |
resolved = self.resolver.top(1) | resolved = content.resolved | def encode(self, node, content): """ Add (soap) encoding information @param node: The node to update. @type node: L{Element} @param content: The content for which proccessing has ended. @type content: L{Object} """ if content.type.any(): Typer.auto(node, content.value) return resolved = self.resolver.top(1) if resolved is None: resolved = content.type.resolve() name = resolved.name ns = resolved.namespace() Typer.manual(node, name, ns) | 268a03f80e6f7419375b57cc3a660cd82a9f4084 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1242/268a03f80e6f7419375b57cc3a660cd82a9f4084/marshaller.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2017,
12,
2890,
16,
756,
16,
913,
4672,
3536,
1436,
261,
19215,
13,
2688,
1779,
632,
891,
756,
30,
1021,
756,
358,
1089,
18,
632,
723,
756,
30,
511,
95,
1046,
97,
632,
891,
913,
30,
1021,
913,
364,
1492,
450,
850,
310,
711,
16926,
18,
632,
723,
913,
30,
511,
95,
921,
97,
3536,
309,
913,
18,
723,
18,
2273,
13332,
399,
8300,
18,
6079,
12,
2159,
16,
913,
18,
1132,
13,
327,
4640,
273,
913,
18,
11792,
309,
4640,
353,
599,
30,
4640,
273,
913,
18,
723,
18,
10828,
1435,
508,
273,
4640,
18,
529,
3153,
273,
4640,
18,
4937,
1435,
399,
8300,
18,
19840,
12,
2159,
16,
508,
16,
3153,
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,
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450,
850,
310,
711,
16926,
18,
632,
723,
913,
30,
511,
95,
921,
97,
3536,
309,
913,
18,
723,
18,
2273,
13332,
399,
8300,
18,
6079,
12,
2159,
16,
913,
18,
1132,
13,
327,
4640,
273,
913,
18,
11792,
309,
4640,
353,
599,
30,
4640,
273,
913,
18,
723,
18,
10828,
1435,
508,
273,
4640,
18,
529,
3153,
273,
4640,
18,
4937,
1435,
399,
8300,
18,
19840,
12,
2159,
16,
508,
16,
3153,
13,
2,
-100,
-100,
-100,
-100
] |
if self._columns[field]._type in ('many2many'): obj = self.pool.get(self._columns[field]._obj) | if fld_def._type in ('many2many'): obj = self.pool.get(fld_def._obj) | def default_get(self, cr, uid, fields, context=None): if not context: context={} value = {} # get the default values for the inherited fields for t in self._inherits.keys(): value.update(self.pool.get(t).default_get(cr, uid, fields, context)) | 5d6e36315df597bfeebe14302341e354951c9e20 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12853/5d6e36315df597bfeebe14302341e354951c9e20/orm.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
805,
67,
588,
12,
2890,
16,
4422,
16,
4555,
16,
1466,
16,
819,
33,
7036,
4672,
309,
486,
819,
30,
819,
12938,
460,
273,
2618,
468,
336,
326,
805,
924,
364,
326,
12078,
1466,
364,
268,
316,
365,
6315,
267,
20038,
18,
2452,
13332,
460,
18,
2725,
12,
2890,
18,
6011,
18,
588,
12,
88,
2934,
1886,
67,
588,
12,
3353,
16,
4555,
16,
1466,
16,
819,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
805,
67,
588,
12,
2890,
16,
4422,
16,
4555,
16,
1466,
16,
819,
33,
7036,
4672,
309,
486,
819,
30,
819,
12938,
460,
273,
2618,
468,
336,
326,
805,
924,
364,
326,
12078,
1466,
364,
268,
316,
365,
6315,
267,
20038,
18,
2452,
13332,
460,
18,
2725,
12,
2890,
18,
6011,
18,
588,
12,
88,
2934,
1886,
67,
588,
12,
3353,
16,
4555,
16,
1466,
16,
819,
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
] |
if on: if ' wikitail, kw['anchor'] = wikitail.split(' wikitail = wikiutil.url_unquote(wikitail) try: return self.pagelink(on, wikiutil.AbsPageName(self.request, self.page.page_name, wikitail), **kw) except: return self.pagelink(on, wikitail, **kw) else: return self.pagelink(0) | if ' wikitail, kw['anchor'] = wikitail.split(' wikitail = wikiutil.url_unquote(wikitail) try: pagename = wikiutil.AbsPageName(self.request, self.page.page_name, wikitail) except: pagename = wikitail return self.pagelink(on, pagename, **kw) | def interwikilink(self, on, interwiki='', pagename='', **kw): """ @keyword title: override using the interwiki wikiname as title """ wikitag, wikiurl, wikitail, wikitag_bad = wikiutil.resolve_wiki(self.request, '%s:"%s"' % (interwiki, pagename)) wikiurl = wikiutil.mapURL(self.request, wikiurl) if wikitag == 'Self': # for own wiki, do simple links if on: if '#' in wikitail: wikitail, kw['anchor'] = wikitail.split('#', 1) wikitail = wikiutil.url_unquote(wikitail) try: # XXX this is the only place where we access self.page - do we need it? Crashes silently on actions! return self.pagelink(on, wikiutil.AbsPageName(self.request, self.page.page_name, wikitail), **kw) except: return self.pagelink(on, wikitail, **kw) else: return self.pagelink(0) else: # return InterWiki hyperlink if on: href = wikiutil.join_wiki(wikiurl, wikitail) if wikitag_bad: html_class = 'badinterwiki' else: html_class = 'interwiki' title = kw.get('title', wikitag) return self.url(1, href, title=title, do_escape=1, css=html_class) # interwiki links with umlauts else: return self.url(0) | 3437790783ab2743e0c109b360009af3219bce01 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/888/3437790783ab2743e0c109b360009af3219bce01/text_html.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1554,
11999,
330,
754,
12,
2890,
16,
603,
16,
1554,
13044,
2218,
2187,
4262,
1069,
2218,
2187,
2826,
9987,
4672,
3536,
632,
11041,
2077,
30,
3849,
1450,
326,
1554,
13044,
341,
1766,
267,
339,
487,
2077,
3536,
341,
1766,
305,
346,
16,
9050,
718,
16,
341,
1766,
305,
671,
16,
341,
1766,
305,
346,
67,
8759,
273,
9050,
1367,
18,
10828,
67,
13044,
12,
2890,
18,
2293,
16,
1995,
87,
2773,
9,
87,
5187,
738,
261,
2761,
13044,
16,
4262,
1069,
3719,
9050,
718,
273,
9050,
1367,
18,
1458,
1785,
12,
2890,
18,
2293,
16,
9050,
718,
13,
309,
341,
1766,
305,
346,
422,
296,
10084,
4278,
468,
364,
4953,
9050,
16,
741,
4143,
4716,
309,
603,
30,
309,
6501,
316,
341,
1766,
305,
671,
30,
341,
1766,
305,
671,
16,
5323,
3292,
16215,
3546,
273,
341,
1766,
305,
671,
18,
4939,
2668,
7,
2187,
404,
13,
341,
1766,
305,
671,
273,
9050,
1367,
18,
718,
67,
318,
6889,
12,
11999,
305,
671,
13,
775,
30,
468,
11329,
333,
353,
326,
1338,
3166,
1625,
732,
2006,
365,
18,
2433,
300,
741,
732,
1608,
518,
35,
14998,
7690,
22274,
603,
4209,
5,
327,
365,
18,
9095,
27269,
12,
265,
16,
9050,
1367,
18,
9382,
1964,
461,
12,
2890,
18,
2293,
16,
365,
18,
2433,
18,
2433,
67,
529,
16,
341,
1766,
305,
671,
3631,
2826,
9987,
13,
1335,
30,
327,
365,
18,
9095,
27269,
12,
265,
16,
341,
1766,
305,
671,
16,
2826,
9987,
13,
469,
30,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1554,
11999,
330,
754,
12,
2890,
16,
603,
16,
1554,
13044,
2218,
2187,
4262,
1069,
2218,
2187,
2826,
9987,
4672,
3536,
632,
11041,
2077,
30,
3849,
1450,
326,
1554,
13044,
341,
1766,
267,
339,
487,
2077,
3536,
341,
1766,
305,
346,
16,
9050,
718,
16,
341,
1766,
305,
671,
16,
341,
1766,
305,
346,
67,
8759,
273,
9050,
1367,
18,
10828,
67,
13044,
12,
2890,
18,
2293,
16,
1995,
87,
2773,
9,
87,
5187,
738,
261,
2761,
13044,
16,
4262,
1069,
3719,
9050,
718,
273,
9050,
1367,
18,
1458,
1785,
12,
2890,
18,
2293,
16,
9050,
718,
13,
309,
341,
1766,
305,
346,
422,
296,
10084,
4278,
468,
364,
4953,
9050,
16,
741,
4143,
4716,
309,
603,
30,
2
] |
return (indent*' '+'<dt>'+children[0]+'</dt>\n'+ indent*' '+'<dd>\n'+''.join(children[1:])+ indent*' '+'</dd>\n') elif tree.tagName in ('epytext', 'section', 'tag', 'arg'): | return (indent*' '+children[0]+':\n'+ ''.join(children[1:])) elif tree.tagName in ('fieldlist', 'tag', 'arg', 'epytext', 'section', 'olist', 'ulist'): | def to_html(tree, indent=0, seclevel=0, **kwargs): """ Given the DOM tree for an epytext string (as returned by C{parse()}), return a string encoding it in HTML. This string does not include C{<HTML>} and C{</HTML>} tags. todo: doesn't honor ordered list bullets. """ if isinstance(tree, Text): return tree.toxml() if tree.tagName == 'epytext': indent -= 2 if tree.tagName == 'section': seclevel += 1 children = [to_html(c, indent+2, seclevel, **kwargs) for c in tree.childNodes] # Get rid of unnecessary <P>...</P> tags; they introduce extra # space on most browsers that we don't want. if kwargs.get('para', 0) == 0: for i in range(len(children)-1): if (not isinstance(tree.childNodes[i], Text) and tree.childNodes[i].tagName == 'para' and (isinstance(tree.childNodes[i+1], Text) or tree.childNodes[i+1].tagName != 'para')): children[i] = children[i][5+indent:-5] if (tree.hasChildNodes() and not isinstance(tree.childNodes[-1], Text) and tree.childNodes[-1].tagName == 'para'): children[-1] = children[-1][5+indent:-5] childstr = ''.join(children) if tree.tagName == 'para': return wordwrap('<p>' + childstr + '</p>', indent) elif tree.tagName in ('code', 'uri'): return '<code>' + childstr + '</code>' elif tree.tagName == 'link': return '<code>' + childstr + '</code>' #return ('<code>'+childstr+'='+`epydoc.uid.getUID(childstr)`+'</code>') elif tree.tagName in ('italic', 'math'): return '<i>' + childstr + '</i>' elif tree.tagName == 'index': return ('<a name="'+index_to_anchor(childstr)+'"></a>'+ '<i class="indexterm">' + childstr + '</i>') elif tree.tagName == 'bold': return '<b>' + childstr + '</b>' elif tree.tagName == 'ulist': return indent*' '+'<ul>\n' + childstr + indent*' '+'</ul>\n' elif tree.tagName == 'olist': return indent*' '+'<ol>\n' + childstr + indent*' '+'</ol>\n' elif tree.tagName == 'li': return indent*' '+'<li>\n' + childstr + indent*' '+'</li>\n' elif tree.tagName == 'heading': return ((indent-2)*' '+'<h' + `seclevel` + '>' + childstr + '</h' + `seclevel` + '>\n') elif tree.tagName in ('literalblock', 'doctestblock'): # We could colorize doctest blocks someday. return '<pre>\n' + childstr + '\n</pre>\n' elif tree.tagName == 'fieldlist': return indent*' '+'<dl>\n' + childstr + indent*' '+'</dl>\n' elif tree.tagName == 'field': # Did I get this right? if (len(tree.childNodes) > 1 and tree.childNodes[1].tagName == 'arg'): return (indent*' '+'<dt>'+children[0]+'('+children[1]+')</dt>\n'+ indent*' '+'<dd>\n'+''.join(children[2:])+ indent*' '+'</dd>\n') else: return (indent*' '+'<dt>'+children[0]+'</dt>\n'+ indent*' '+'<dd>\n'+''.join(children[1:])+ indent*' '+'</dd>\n') elif tree.tagName in ('epytext', 'section', 'tag', 'arg'): return childstr else: raise NotImplementedError, tree.tagName | 0cc72bd3422be83752480f57dbecac32d991815f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/0cc72bd3422be83752480f57dbecac32d991815f/epytext.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
358,
67,
2620,
12,
3413,
16,
3504,
33,
20,
16,
1428,
2815,
33,
20,
16,
2826,
4333,
4672,
3536,
16803,
326,
4703,
2151,
364,
392,
425,
2074,
955,
533,
261,
345,
2106,
635,
385,
95,
2670,
17767,
3631,
327,
279,
533,
2688,
518,
316,
3982,
18,
225,
1220,
533,
1552,
486,
2341,
385,
95,
32,
4870,
26114,
471,
385,
95,
1757,
4870,
26114,
2342,
18,
225,
10621,
30,
3302,
1404,
24338,
280,
5901,
666,
324,
420,
2413,
18,
3536,
309,
1549,
12,
3413,
16,
3867,
4672,
327,
2151,
18,
869,
2902,
1435,
225,
309,
2151,
18,
2692,
461,
422,
296,
881,
93,
955,
4278,
3504,
3947,
576,
309,
2151,
18,
2692,
461,
422,
296,
3464,
4278,
1428,
2815,
1011,
404,
2325,
273,
306,
869,
67,
2620,
12,
71,
16,
3504,
15,
22,
16,
1428,
2815,
16,
2826,
4333,
13,
364,
276,
316,
2151,
18,
3624,
3205,
65,
225,
468,
968,
10911,
434,
19908,
411,
52,
34,
2777,
1757,
52,
34,
2342,
31,
2898,
16658,
311,
2870,
468,
3476,
603,
4486,
14993,
716,
732,
2727,
1404,
2545,
18,
309,
1205,
18,
588,
2668,
25072,
2187,
374,
13,
422,
374,
30,
364,
277,
316,
1048,
12,
1897,
12,
5906,
24950,
21,
4672,
309,
261,
902,
1549,
12,
3413,
18,
3624,
3205,
63,
77,
6487,
3867,
13,
471,
2151,
18,
3624,
3205,
63,
77,
8009,
2692,
461,
422,
296,
25072,
11,
471,
261,
291,
1336,
12,
3413,
18,
3624,
3205,
63,
77,
15,
21,
6487,
3867,
13,
578,
2151,
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,
358,
67,
2620,
12,
3413,
16,
3504,
33,
20,
16,
1428,
2815,
33,
20,
16,
2826,
4333,
4672,
3536,
16803,
326,
4703,
2151,
364,
392,
425,
2074,
955,
533,
261,
345,
2106,
635,
385,
95,
2670,
17767,
3631,
327,
279,
533,
2688,
518,
316,
3982,
18,
225,
1220,
533,
1552,
486,
2341,
385,
95,
32,
4870,
26114,
471,
385,
95,
1757,
4870,
26114,
2342,
18,
225,
10621,
30,
3302,
1404,
24338,
280,
5901,
666,
324,
420,
2413,
18,
3536,
309,
1549,
12,
3413,
16,
3867,
4672,
327,
2151,
18,
869,
2902,
1435,
225,
309,
2151,
18,
2692,
461,
422,
296,
881,
93,
955,
4278,
3504,
3947,
576,
309,
2151,
18,
2692,
461,
422,
296,
3464,
4278,
1428,
2815,
2
] |
'\t': '\\t\t' | '\t': '\\t\t', '\\': '\\\\', | def replace(match): submap = { '\r\n': '\\r\\n\n', '\r': '\\r\n', '\n': '\\n\n', '\t': '\\t\t' } return submap[match.group()] | a16f4d3e04b30592a11e52465494b7460433fe40 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11388/a16f4d3e04b30592a11e52465494b7460433fe40/forms.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1453,
12,
1916,
4672,
720,
1458,
273,
288,
2337,
86,
64,
82,
4278,
3718,
86,
1695,
82,
64,
82,
2187,
2337,
86,
4278,
3718,
86,
64,
82,
2187,
2337,
82,
4278,
3718,
82,
64,
82,
2187,
2337,
88,
4278,
3718,
88,
64,
88,
2187,
3718,
4278,
3718,
1695,
2187,
289,
327,
720,
1458,
63,
1916,
18,
1655,
1435,
65,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1453,
12,
1916,
4672,
720,
1458,
273,
288,
2337,
86,
64,
82,
4278,
3718,
86,
1695,
82,
64,
82,
2187,
2337,
86,
4278,
3718,
86,
64,
82,
2187,
2337,
82,
4278,
3718,
82,
64,
82,
2187,
2337,
88,
4278,
3718,
88,
64,
88,
2187,
3718,
4278,
3718,
1695,
2187,
289,
327,
720,
1458,
63,
1916,
18,
1655,
1435,
65,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
c = self.tk.call(self._w, 'info', 'children', entry) return self.tk.splitlist(c) | c = self.tk.call(self._w, 'info', 'children', entry) return self.tk.splitlist(c) | def info_children(self, entry=None): | 0049f0036898e656085d5c214ba07642a9c25a6e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/0049f0036898e656085d5c214ba07642a9c25a6e/Tix.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1123,
67,
5906,
12,
2890,
16,
1241,
33,
7036,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1123,
67,
5906,
12,
2890,
16,
1241,
33,
7036,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if not sessionDict.hasKey('UserDir'): | if not sessionDict.has_key('UserDir'): | def doUserDirPost(sessionDict): #requestHandler.requestHandler.EndSession if not Configuration.userDir: return if not sessionDict.hasKey('UserDir'): return if not sessionDict['UserDir']: return Configuration.documentRoot = sessionDict['UserDirDocRoot'] Configuration.compileCacheRoot = sessionDict['UserDirCC'] del sessionDict['UserDirCC'], sessionDict['UserDirDocRoot'] del sessionDict['UserDir'] return | b7826d323e58d3db6619e8293129df067b0323c1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5832/b7826d323e58d3db6619e8293129df067b0323c1/userdir.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
1299,
1621,
3349,
12,
3184,
5014,
4672,
468,
2293,
1503,
18,
2293,
1503,
18,
1638,
2157,
309,
486,
4659,
18,
1355,
1621,
30,
327,
309,
486,
1339,
5014,
18,
5332,
67,
856,
2668,
1299,
1621,
11,
4672,
327,
309,
486,
1339,
5014,
3292,
1299,
1621,
3546,
30,
327,
225,
4659,
18,
5457,
2375,
273,
1339,
5014,
3292,
1299,
1621,
1759,
2375,
3546,
4659,
18,
11100,
1649,
2375,
273,
1339,
5014,
3292,
1299,
1621,
6743,
3546,
1464,
1339,
5014,
3292,
1299,
1621,
6743,
17337,
1339,
5014,
3292,
1299,
1621,
1759,
2375,
3546,
1464,
1339,
5014,
3292,
1299,
1621,
3546,
327,
225,
2,
0,
0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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
1299,
1621,
3349,
12,
3184,
5014,
4672,
468,
2293,
1503,
18,
2293,
1503,
18,
1638,
2157,
309,
486,
4659,
18,
1355,
1621,
30,
327,
309,
486,
1339,
5014,
18,
5332,
67,
856,
2668,
1299,
1621,
11,
4672,
327,
309,
486,
1339,
5014,
3292,
1299,
1621,
3546,
30,
327,
225,
4659,
18,
5457,
2375,
273,
1339,
5014,
3292,
1299,
1621,
1759,
2375,
3546,
4659,
18,
11100,
1649,
2375,
273,
1339,
5014,
3292,
1299,
1621,
6743,
3546,
1464,
1339,
5014,
3292,
1299,
1621,
6743,
17337,
1339,
5014,
3292,
1299,
1621,
1759,
2375,
3546,
1464,
1339,
5014,
3292,
1299,
1621,
3546,
327,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.core_properties = None | def __init__(self): self.parts = {} self.base = '/' self.relationships = rels = Relationships(self, self) self[rels.name] = rels self.content_types = ContentTypes() self.content_types.add(ContentType.Default(rels.content_type, 'rels')) self.core_properties = None | 7c6ba8e58e7d0fef024650b77e67a7a995988204 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/144/7c6ba8e58e7d0fef024650b77e67a7a995988204/basepack.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
365,
18,
6019,
273,
2618,
365,
18,
1969,
273,
2023,
365,
18,
21632,
273,
19214,
273,
15463,
87,
12,
2890,
16,
365,
13,
365,
63,
2878,
87,
18,
529,
65,
273,
19214,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
365,
18,
6019,
273,
2618,
365,
18,
1969,
273,
2023,
365,
18,
21632,
273,
19214,
273,
15463,
87,
12,
2890,
16,
365,
13,
365,
63,
2878,
87,
18,
529,
65,
273,
19214,
365,
18,
1745,
67,
2352,
273,
3697,
2016,
1435,
365,
18,
1745,
67,
2352,
18,
1289,
12,
8046,
18,
1868,
12,
2878,
87,
18,
1745,
67,
723,
16,
296,
2878,
87,
26112,
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
] |
|
def int_eq( scope, obj, arg ): if not arg.inherits( IntObject ): raise RuntimeError, "Cannot compare int to non-int." return make_int( 1 if obj.data==arg.data else 0 ) | def int_eq( scope, obj, arg ): if not arg.inherits( IntObject ): raise RuntimeError, "Cannot compare int to non-int." return make_int( 1 if obj.data==arg.data else 0 ) | c3eb52f34e4ae8a3d76b6dff2c5623c696aa6160 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10358/c3eb52f34e4ae8a3d76b6dff2c5623c696aa6160/yalie.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
509,
67,
11253,
12,
2146,
16,
1081,
16,
1501,
262,
30,
309,
486,
1501,
18,
267,
20038,
12,
3094,
921,
262,
30,
1002,
7265,
16,
315,
4515,
3400,
509,
358,
1661,
17,
474,
1199,
327,
1221,
67,
474,
12,
404,
309,
1081,
18,
892,
631,
3175,
18,
892,
469,
374,
262,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
509,
67,
11253,
12,
2146,
16,
1081,
16,
1501,
262,
30,
309,
486,
1501,
18,
267,
20038,
12,
3094,
921,
262,
30,
1002,
7265,
16,
315,
4515,
3400,
509,
358,
1661,
17,
474,
1199,
327,
1221,
67,
474,
12,
404,
309,
1081,
18,
892,
631,
3175,
18,
892,
469,
374,
262,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
self.run_cmd_output_gui(gui, " chmod -R -w '%s'" % new_backup) | self.run_cmd_output_gui(gui, "chmod -w '%s'" % new_backup) | def backup(self, gui=True): if gui: backup_button = self.xml.get_widget('backup_button') | 519f8cf570c88a471cc7aba19cf59d61395268cb /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/317/519f8cf570c88a471cc7aba19cf59d61395268cb/flyback.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5114,
12,
2890,
16,
13238,
33,
5510,
4672,
309,
13238,
30,
5114,
67,
5391,
273,
365,
18,
2902,
18,
588,
67,
6587,
2668,
9572,
67,
5391,
6134,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5114,
12,
2890,
16,
13238,
33,
5510,
4672,
309,
13238,
30,
5114,
67,
5391,
273,
365,
18,
2902,
18,
588,
67,
6587,
2668,
9572,
67,
5391,
6134,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
colorblue(prvpkg) | if prvpkg not in blues and prvpkg not in reds: blues[prvpkg] = True bluequeue.append(prvpkg) | def colorblue(bpkg): if bpkg not in blues and bpkg not in reds: blues[bpkg] = True bluequeue.append(bpkg) | ce45331e5fdae6bbaa196869d410c2b0eb36cfdc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8317/ce45331e5fdae6bbaa196869d410c2b0eb36cfdc/transaction.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2036,
14081,
12,
70,
10657,
4672,
309,
324,
10657,
486,
316,
2811,
3610,
471,
324,
10657,
486,
316,
1755,
87,
30,
2811,
3610,
63,
70,
10657,
65,
273,
1053,
8024,
4000,
18,
6923,
12,
70,
10657,
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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
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2036,
14081,
12,
70,
10657,
4672,
309,
324,
10657,
486,
316,
2811,
3610,
471,
324,
10657,
486,
316,
1755,
87,
30,
2811,
3610,
63,
70,
10657,
65,
273,
1053,
8024,
4000,
18,
6923,
12,
70,
10657,
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
] |
pathname3 = os.path.join(dir, __random_string(i + 1)) | pathname3 = os.path.join(head, __random_string(i + 1)) | def wipe_name(pathname1): """Wipe the original filename and return the new pathname""" (dir, file) = os.path.split(pathname1) # reference http://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits maxlen = 226 # first, rename to a long name i = 0 while True: try: pathname2 = os.path.join(dir, __random_string(maxlen)) os.rename(pathname1, pathname2) break except OSError: if maxlen > 10: maxlen -= 10 i += 1 if i > 100: print 'warning: exhausted long rename: ', pathname1 pathname2 = pathname1 break # finally, rename to a short name i = 0 while True: try: pathname3 = os.path.join(dir, __random_string(i + 1)) os.rename(pathname2, pathname3) break except: i = i + 1 if i > 100: print 'warning: exhausted short rename: ', pathname2 pathname3 = pathname2 break return pathname3 | c5173833808990c4dc6a44eb9af5414b6cab3930 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7853/c5173833808990c4dc6a44eb9af5414b6cab3930/FileUtilities.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
341,
3151,
67,
529,
12,
28336,
21,
4672,
3536,
59,
3151,
326,
2282,
1544,
471,
327,
326,
394,
9806,
8395,
261,
1214,
16,
585,
13,
273,
1140,
18,
803,
18,
4939,
12,
28336,
21,
13,
468,
2114,
1062,
2207,
275,
18,
11999,
13744,
18,
3341,
19,
13044,
19,
16059,
67,
792,
67,
768,
67,
4299,
87,
7,
12768,
21882,
273,
576,
5558,
468,
1122,
16,
6472,
358,
279,
1525,
508,
277,
273,
374,
1323,
1053,
30,
775,
30,
9806,
22,
273,
1140,
18,
803,
18,
5701,
12,
1214,
16,
1001,
9188,
67,
1080,
12,
1896,
1897,
3719,
1140,
18,
18539,
12,
28336,
21,
16,
225,
9806,
22,
13,
898,
1335,
10002,
30,
309,
21882,
405,
1728,
30,
21882,
3947,
1728,
277,
1011,
404,
309,
277,
405,
2130,
30,
1172,
296,
8551,
30,
24948,
1525,
6472,
30,
2265,
9806,
21,
9806,
22,
273,
9806,
21,
898,
468,
3095,
16,
6472,
358,
279,
3025,
508,
277,
273,
374,
1323,
1053,
30,
775,
30,
9806,
23,
273,
1140,
18,
803,
18,
5701,
12,
1978,
16,
1001,
9188,
67,
1080,
12,
77,
397,
404,
3719,
1140,
18,
18539,
12,
28336,
22,
16,
9806,
23,
13,
898,
1335,
30,
277,
273,
277,
397,
404,
309,
277,
405,
2130,
30,
1172,
296,
8551,
30,
24948,
3025,
6472,
30,
2265,
9806,
22,
9806,
23,
273,
9806,
22,
898,
327,
9806,
23,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
341,
3151,
67,
529,
12,
28336,
21,
4672,
3536,
59,
3151,
326,
2282,
1544,
471,
327,
326,
394,
9806,
8395,
261,
1214,
16,
585,
13,
273,
1140,
18,
803,
18,
4939,
12,
28336,
21,
13,
468,
2114,
1062,
2207,
275,
18,
11999,
13744,
18,
3341,
19,
13044,
19,
16059,
67,
792,
67,
768,
67,
4299,
87,
7,
12768,
21882,
273,
576,
5558,
468,
1122,
16,
6472,
358,
279,
1525,
508,
277,
273,
374,
1323,
1053,
30,
775,
30,
9806,
22,
273,
1140,
18,
803,
18,
5701,
12,
1214,
16,
1001,
9188,
67,
1080,
12,
1896,
1897,
3719,
1140,
18,
18539,
12,
28336,
21,
16,
225,
9806,
22,
13,
898,
1335,
10002,
30,
309,
21882,
405,
1728,
30,
21882,
2
] |
WordMorphism: a->ab, b->b WordMorphism: a->ba, b->a WordMorphism: a->ba, b->b | Iterator over all morphisms including erasing morphisms:: sage: W = Words('ab') sage: it = W.iter_morphisms(min_length=0) sage: for _ in range(7): print it.next() WordMorphism: a->, b-> WordMorphism: a->a, b-> WordMorphism: a->b, b-> WordMorphism: a->, b->a WordMorphism: a->, b->b WordMorphism: a->aa, b-> WordMorphism: a->ab, b-> | def iter_morphisms(self, l=None, codomain=None): r""" Returns an iterator over all non erasing morphisms or over all morphisms `\varphi` such that `|\varphi| = l` when ``l`` is given. | 926107c9463c4f3102576118d78f30532571b867 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/926107c9463c4f3102576118d78f30532571b867/words.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1400,
67,
81,
7657,
23749,
12,
2890,
16,
328,
33,
7036,
16,
11012,
1530,
33,
7036,
4672,
436,
8395,
2860,
392,
2775,
1879,
777,
1661,
6445,
11730,
14354,
23749,
578,
1879,
777,
14354,
23749,
1375,
64,
1401,
9973,
68,
4123,
716,
1375,
8960,
1401,
9973,
96,
273,
328,
68,
1347,
12176,
80,
10335,
353,
864,
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,
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
2775,
1879,
777,
1661,
6445,
11730,
14354,
23749,
578,
1879,
777,
14354,
23749,
1375,
64,
1401,
9973,
68,
4123,
716,
1375,
8960,
1401,
9973,
96,
273,
328,
68,
1347,
12176,
80,
10335,
353,
864,
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
] |
- ``f`` - a symbolic expression or function of two variables. - ``urange`` - a 3-tuple (u, u_min, u_max), the domain of the azimuth variable. - ``vrange`` - a 3-tuple (v, v_min, v_max), the domain of the elevation (z) variable. | - ``f`` - a symbolic expression or function of two variables, representing the radius from the `z`-axis. - ``urange`` - a 3-tuple (u, u_min, u_max), the domain of the azimuth variable. - ``vrange`` - a 3-tuple (v, v_min, v_max), the domain of the elevation (`z`) variable. | def cylindrical_plot3d(f, urange, vrange, **kwds): """ Takes a function and plots it in cylindrical coordinates in the domain specified by urange and vrange. This command is equivalent to:: sage: var('r,u,v') sage: T = (r*cos(u), r*sin(u), v, r) sage: plot3d(f, urange, vrange, transformation=T) INPUT: - ``f`` - a symbolic expression or function of two variables. - ``urange`` - a 3-tuple (u, u_min, u_max), the domain of the azimuth variable. - ``vrange`` - a 3-tuple (v, v_min, v_max), the domain of the elevation (z) variable. EXAMPLES: A portion of a cylinder of radius 2:: sage: var('fi,z') sage: cylindrical_plot3d(2,(fi,0,3*pi/2),(z,-2,2)) Some random figures: :: sage: cylindrical_plot3d(cosh(z),(fi,0,2*pi),(z,-2,2)) :: sage: cylindrical_plot3d(e^(-z^2)*(cos(4*fi)+2)+1,(fi,0,2*pi),(z,-2,2),plot_points=[80,80]).show(aspect_ratio=(1,1,1)) """ return plot3d(f, urange, vrange, transformation=Cylindrical('rho', ['phi', 'z']), **kwds) | ae9bf5e0d28a56cbf9d189e5545c9a8340d806de /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/ae9bf5e0d28a56cbf9d189e5545c9a8340d806de/plot3d.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
27331,
728,
1512,
287,
67,
4032,
23,
72,
12,
74,
16,
8896,
726,
16,
331,
3676,
16,
2826,
25577,
4672,
3536,
23004,
279,
445,
471,
17931,
518,
316,
27331,
728,
1512,
287,
5513,
316,
326,
2461,
1269,
635,
8896,
726,
471,
331,
3676,
18,
1220,
1296,
353,
7680,
358,
2866,
225,
272,
410,
30,
569,
2668,
86,
16,
89,
16,
90,
6134,
272,
410,
30,
399,
273,
261,
86,
14,
14445,
12,
89,
3631,
436,
14,
21861,
12,
89,
3631,
331,
16,
436,
13,
272,
410,
30,
3207,
23,
72,
12,
74,
16,
8896,
726,
16,
331,
3676,
16,
8620,
33,
56,
13,
225,
12943,
30,
225,
300,
12176,
74,
10335,
300,
279,
16754,
2652,
578,
445,
434,
2795,
3152,
16,
5123,
326,
5725,
628,
326,
1375,
94,
68,
17,
4890,
18,
225,
300,
12176,
295,
726,
10335,
300,
279,
890,
17,
8052,
261,
89,
16,
582,
67,
1154,
16,
582,
67,
1896,
3631,
326,
2461,
434,
326,
23090,
2190,
18,
225,
300,
12176,
90,
3676,
10335,
300,
279,
890,
17,
8052,
261,
90,
16,
331,
67,
1154,
16,
331,
67,
1896,
3631,
326,
2461,
434,
326,
19051,
21863,
94,
24065,
2190,
18,
225,
5675,
8900,
11386,
30,
225,
432,
14769,
434,
279,
27331,
14055,
434,
5725,
576,
2866,
225,
272,
410,
30,
569,
2668,
22056,
16,
94,
6134,
272,
410,
30,
27331,
728,
1512,
287,
67,
4032,
23,
72,
12,
22,
16,
12,
22056,
16,
20,
16,
23,
14,
7259,
19,
22,
3631,
12,
94,
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,
27331,
728,
1512,
287,
67,
4032,
23,
72,
12,
74,
16,
8896,
726,
16,
331,
3676,
16,
2826,
25577,
4672,
3536,
23004,
279,
445,
471,
17931,
518,
316,
27331,
728,
1512,
287,
5513,
316,
326,
2461,
1269,
635,
8896,
726,
471,
331,
3676,
18,
1220,
1296,
353,
7680,
358,
2866,
225,
272,
410,
30,
569,
2668,
86,
16,
89,
16,
90,
6134,
272,
410,
30,
399,
273,
261,
86,
14,
14445,
12,
89,
3631,
436,
14,
21861,
12,
89,
3631,
331,
16,
436,
13,
272,
410,
30,
3207,
23,
72,
12,
74,
16,
8896,
726,
16,
331,
3676,
16,
8620,
33,
56,
13,
225,
12943,
30,
225,
300,
12176,
74,
10335,
300,
279,
16754,
2652,
578,
445,
434,
2
] |
author = sanitize_file_name(authors.split(',')[0][:self.PATH_LIMIT]).decode(filesystem_encoding) title = sanitize_file_name(self.title(id, index_is_id=True)[:self.PATH_LIMIT]).decode(filesystem_encoding) | author = sanitize_file_name(authors.split(',')[0][:self.PATH_LIMIT]).decode(filesystem_encoding, 'replace') title = sanitize_file_name(self.title(id, index_is_id=True)[:self.PATH_LIMIT]).decode(filesystem_encoding, 'replace') | def construct_file_name(self, id): ''' Construct the file name for this book based on its metadata. ''' authors = self.authors(id, index_is_id=True) if not authors: authors = _('Unknown') author = sanitize_file_name(authors.split(',')[0][:self.PATH_LIMIT]).decode(filesystem_encoding) title = sanitize_file_name(self.title(id, index_is_id=True)[:self.PATH_LIMIT]).decode(filesystem_encoding) name = title + ' - ' + author return name | fbba5f5db479d23cbeb9bbe8c4cbebb090c97e0e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9125/fbba5f5db479d23cbeb9bbe8c4cbebb090c97e0e/database2.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4872,
67,
768,
67,
529,
12,
2890,
16,
612,
4672,
9163,
14291,
326,
585,
508,
364,
333,
6978,
2511,
603,
2097,
1982,
18,
9163,
14494,
273,
365,
18,
19368,
12,
350,
16,
770,
67,
291,
67,
350,
33,
5510,
13,
309,
486,
14494,
30,
14494,
273,
389,
2668,
4874,
6134,
2869,
273,
8881,
67,
768,
67,
529,
12,
19368,
18,
4939,
12,
2187,
6134,
63,
20,
6362,
30,
2890,
18,
4211,
67,
8283,
65,
2934,
3922,
12,
17846,
67,
5999,
16,
296,
2079,
6134,
2077,
225,
273,
8881,
67,
768,
67,
529,
12,
2890,
18,
2649,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4872,
67,
768,
67,
529,
12,
2890,
16,
612,
4672,
9163,
14291,
326,
585,
508,
364,
333,
6978,
2511,
603,
2097,
1982,
18,
9163,
14494,
273,
365,
18,
19368,
12,
350,
16,
770,
67,
291,
67,
350,
33,
5510,
13,
309,
486,
14494,
30,
14494,
273,
389,
2668,
4874,
6134,
2869,
273,
8881,
67,
768,
67,
529,
12,
19368,
18,
4939,
12,
2187,
6134,
63,
20,
6362,
30,
2890,
18,
4211,
67,
8283,
65,
2934,
3922,
12,
17846,
67,
5999,
16,
296,
2079,
6134,
2077,
225,
273,
8881,
67,
768,
67,
529,
12,
2890,
18,
2649,
12,
350,
16,
770,
67,
291,
67,
350,
33,
5510,
13,
10531,
2890,
18,
4211,
67,
8283,
65,
2934,
3922,
12,
17846,
2
] |
Outliers handling will change in version 1.2. | Outliers handling will change in version 1.2. | def histogram(a, bins=10, range=None, normed=False, weights=None, new=False): """Compute the histogram from a set of data. Parameters ---------- a : array The data to histogram. bins : int or sequence If an int, then the number of equal-width bins in the given range. If new=True, bins can also be the bin edges, allowing for non-constant bin widths. range : (float, float) The lower and upper range of the bins. If not provided, then range is simply (a.min(), a.max()). Using new=False, lower than range are ignored, and values higher than range are tallied in the rightmost bin. Using new=True, both lower and upper outliers are ignored. normed : bool If False, the result array will contain the number of samples in each bin. If True, the result array is the value of the probability *density* function at the bin normalized such that the *integral* over the range is 1. Note that the sum of all of the histogram values will not usually be 1; it is not a probability *mass* function. weights : array An array of weights, the same shape as a. If normed is False, the histogram is computed by summing the weights of the values falling into each bin. If normed is True, the weights are normalized, so that the integral of the density over the range is 1. This option is only available with new=True. new : bool Compatibility argument to transition from the old version (v1.1) to the new version (v1.2). Return ------ hist : array The values of the histogram. See `normed` and `weights` for a description of the possible semantics. bin_edges : float array With new=False, return the left bin edges (length(hist)). With new=True, return the bin edges (length(hist)+1). SeeAlso: histogramdd """ # Old behavior if new is False: warnings.warn(""" The semantics of histogram will be modified in release 1.2 to improve outlier handling. The new behavior can be obtained using new=True. Note that the new version accepts/returns the bin edges instead of the left bin edges. Please read the docstring for more information.""", FutureWarning) a = asarray(a).ravel() if (range is not None): mn, mx = range if (mn > mx): raise AttributeError, \ 'max must be larger than min in range parameter.' if not iterable(bins): if range is None: range = (a.min(), a.max()) else: warnings.warn(""" Outliers handling will change in version 1.2. Please read the docstring for details.""", FutureWarning) mn, mx = [mi+0.0 for mi in range] if mn == mx: mn -= 0.5 mx += 0.5 bins = linspace(mn, mx, bins, endpoint=False) else: if normed: raise ValueError, 'Use new=True to pass bin edges explicitly.' warnings.warn(""" The semantic for bins will change in version 1.2. The bins will become the bin edges, instead of the left bin edges. """, FutureWarning) bins = asarray(bins) if (np.diff(bins) < 0).any(): raise AttributeError, 'bins must increase monotonically.' if weights is not None: raise ValueError, 'weights are only available with new=True.' # best block size probably depends on processor cache size block = 65536 n = sort(a[:block]).searchsorted(bins) for i in xrange(block, a.size, block): n += sort(a[i:i+block]).searchsorted(bins) n = concatenate([n, [len(a)]]) n = n[1:]-n[:-1] if normed: db = bins[1] - bins[0] return 1.0/(a.size*db) * n, bins else: return n, bins # New behavior elif new is True: a = asarray(a) if weights is not None: weights = asarray(weights) if np.any(weights.shape != a.shape): raise ValueError, 'weights should have the same shape as a.' weights = weights.ravel() a = a.ravel() if (range is not None): mn, mx = range if (mn > mx): raise AttributeError, \ 'max must be larger than min in range parameter.' if not iterable(bins): if range is None: range = (a.min(), a.max()) mn, mx = [mi+0.0 for mi in range] if mn == mx: mn -= 0.5 mx += 0.5 bins = linspace(mn, mx, bins+1, endpoint=True) else: bins = asarray(bins) if (np.diff(bins) < 0).any(): raise AttributeError, 'bins must increase monotonically.' # Histogram is an integer or a float array depending on the weights. if weights is None: ntype = int else: ntype = weights.dtype n = np.zeros(bins.shape, ntype) block = 65536 if weights is None: for i in arange(0, len(a), block): sa = sort(a[i:i+block]) n += np.r_[sa.searchsorted(bins[:-1], 'left'), \ sa.searchsorted(bins[-1], 'right')] else: zero = array(0, dtype=ntype) for i in arange(0, len(a), block): tmp_a = a[i:i+block] tmp_w = weights[i:i+block] sorting_index = np.argsort(tmp_a) sa = tmp_a[sorting_index] sw = tmp_w[sorting_index] cw = np.concatenate(([zero,], sw.cumsum())) bin_index = np.r_[sa.searchsorted(bins[:-1], 'left'), \ sa.searchsorted(bins[-1], 'right')] n += cw[bin_index] n = np.diff(n) if normed is False: return n, bins elif normed is True: db = array(np.diff(bins), float) return n/(n*db).sum(), bins | 46768e679bbb8f2beabdafff51696d76e7caa920 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/14925/46768e679bbb8f2beabdafff51696d76e7caa920/function_base.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8892,
12,
69,
16,
8963,
33,
2163,
16,
1048,
33,
7036,
16,
4651,
329,
33,
8381,
16,
5376,
33,
7036,
16,
394,
33,
8381,
4672,
3536,
7018,
326,
8892,
628,
279,
444,
434,
501,
18,
225,
7012,
12181,
225,
279,
294,
526,
1021,
501,
358,
8892,
18,
225,
8963,
294,
509,
578,
3102,
971,
392,
509,
16,
1508,
326,
1300,
434,
3959,
17,
2819,
8963,
316,
326,
864,
1048,
18,
971,
394,
33,
5510,
16,
8963,
848,
2546,
506,
326,
4158,
5231,
16,
15632,
364,
1661,
17,
14384,
4158,
15801,
18,
225,
1048,
294,
261,
5659,
16,
1431,
13,
1021,
2612,
471,
3854,
1048,
434,
326,
8963,
18,
971,
486,
2112,
16,
1508,
1048,
353,
8616,
261,
69,
18,
1154,
9334,
279,
18,
1896,
1435,
2934,
11637,
394,
33,
8381,
16,
2612,
2353,
1048,
854,
5455,
16,
471,
924,
10478,
2353,
1048,
854,
268,
454,
2092,
316,
326,
2145,
10329,
4158,
18,
11637,
394,
33,
5510,
16,
3937,
2612,
471,
3854,
30434,
854,
5455,
18,
225,
4651,
329,
294,
1426,
971,
1083,
16,
326,
563,
526,
903,
912,
326,
1300,
434,
5216,
316,
1517,
4158,
18,
225,
971,
1053,
16,
326,
563,
526,
353,
326,
460,
434,
326,
11331,
380,
18781,
14,
445,
622,
326,
4158,
5640,
4123,
716,
326,
380,
14970,
23811,
14,
1879,
326,
1048,
353,
404,
18,
3609,
716,
326,
2142,
434,
777,
434,
326,
8892,
924,
903,
486,
11234,
506,
404,
31,
518,
353,
486,
279,
11331,
380,
10424,
14,
445,
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,
8892,
12,
69,
16,
8963,
33,
2163,
16,
1048,
33,
7036,
16,
4651,
329,
33,
8381,
16,
5376,
33,
7036,
16,
394,
33,
8381,
4672,
3536,
7018,
326,
8892,
628,
279,
444,
434,
501,
18,
225,
7012,
12181,
225,
279,
294,
526,
1021,
501,
358,
8892,
18,
225,
8963,
294,
509,
578,
3102,
971,
392,
509,
16,
1508,
326,
1300,
434,
3959,
17,
2819,
8963,
316,
326,
864,
1048,
18,
971,
394,
33,
5510,
16,
8963,
848,
2546,
506,
326,
4158,
5231,
16,
15632,
364,
1661,
17,
14384,
4158,
15801,
18,
225,
1048,
294,
261,
5659,
16,
1431,
13,
1021,
2612,
471,
3854,
1048,
434,
326,
8963,
18,
971,
486,
2112,
16,
1508,
1048,
353,
8616,
261,
69,
2
] |
raise KeyError, "no worksheet with id %s"%id | return self.__worksheets[0] | def get_worksheet_with_id(self, id): for W in self.__worksheets.itervalues(): if W.id() == id: return W raise KeyError, "no worksheet with id %s"%id | ff37d9349bb8ef74695e0196c133389513e44dd0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/ff37d9349bb8ef74695e0196c133389513e44dd0/notebook.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
1252,
8118,
67,
1918,
67,
350,
12,
2890,
16,
612,
4672,
364,
678,
316,
365,
16186,
18597,
10245,
18,
2165,
2372,
13332,
309,
678,
18,
350,
1435,
422,
612,
30,
327,
678,
1002,
4999,
16,
315,
2135,
13622,
598,
612,
738,
87,
28385,
350,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
1252,
8118,
67,
1918,
67,
350,
12,
2890,
16,
612,
4672,
364,
678,
316,
365,
16186,
18597,
10245,
18,
2165,
2372,
13332,
309,
678,
18,
350,
1435,
422,
612,
30,
327,
678,
1002,
4999,
16,
315,
2135,
13622,
598,
612,
738,
87,
28385,
350,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 >> sys.stderr, '\n\n\n' return 0 | print >> sys.stderr raise RuntimeError, 'An error occured in AS_appdata.' | def _getAppData(self): if self._realAppData is None: # initialise AppData the first time it's actually needed try: self._realAppData = AppData(self._Application, self._path, self._pid, self._url, self._terms) except Exception, e: import sys, traceback print >> sys.stderr, '(A problem occured in AS_appdata; see first traceback for actual error.)' traceback.print_exc() print >> sys.stderr, '\n\n\n' return 0 # raising an error here (presumably due to bugs) causes Python to go into infinite recursion, so return a bad value instead; that'll throw a [misleading] error downstream return self._realAppData | a5ccf51844814277bb32be555d595a5db88f17d3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10961/a5ccf51844814277bb32be555d595a5db88f17d3/reference.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
588,
3371,
751,
12,
2890,
4672,
309,
365,
6315,
7688,
3371,
751,
353,
599,
30,
468,
21301,
4677,
751,
326,
1122,
813,
518,
1807,
6013,
3577,
775,
30,
365,
6315,
7688,
3371,
751,
273,
4677,
751,
12,
2890,
6315,
3208,
16,
365,
6315,
803,
16,
365,
6315,
6610,
16,
365,
6315,
718,
16,
365,
6315,
10112,
13,
1335,
1185,
16,
425,
30,
1930,
2589,
16,
10820,
1172,
1671,
2589,
18,
11241,
16,
7747,
37,
6199,
16206,
316,
5355,
67,
2910,
892,
31,
2621,
1122,
10820,
364,
3214,
555,
18,
2506,
10820,
18,
1188,
67,
10075,
1435,
1172,
1671,
2589,
18,
11241,
1002,
7265,
16,
296,
979,
555,
16206,
316,
5355,
67,
2910,
892,
1093,
468,
28014,
392,
555,
2674,
261,
12202,
379,
6906,
6541,
358,
22398,
13,
14119,
6600,
358,
1960,
1368,
14853,
13917,
16,
1427,
327,
279,
5570,
460,
3560,
31,
716,
5614,
604,
279,
306,
11173,
27200,
65,
555,
18186,
327,
365,
6315,
7688,
3371,
751,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
588,
3371,
751,
12,
2890,
4672,
309,
365,
6315,
7688,
3371,
751,
353,
599,
30,
468,
21301,
4677,
751,
326,
1122,
813,
518,
1807,
6013,
3577,
775,
30,
365,
6315,
7688,
3371,
751,
273,
4677,
751,
12,
2890,
6315,
3208,
16,
365,
6315,
803,
16,
365,
6315,
6610,
16,
365,
6315,
718,
16,
365,
6315,
10112,
13,
1335,
1185,
16,
425,
30,
1930,
2589,
16,
10820,
1172,
1671,
2589,
18,
11241,
16,
7747,
37,
6199,
16206,
316,
5355,
67,
2910,
892,
31,
2621,
1122,
10820,
364,
3214,
555,
18,
2506,
10820,
18,
1188,
67,
10075,
1435,
1172,
1671,
2589,
18,
11241,
1002,
7265,
16,
296,
979,
555,
16206,
316,
5355,
67,
2910,
892,
1093,
468,
28014,
392,
2
] |
return http.Response(stream=template('login.html', **template_dict)) | return HTMLResponse(stream=template('login.html', **template_dict)) | def render(self, ctx): template_dict = {'accounts': notebook.get_accounts(), 'default_user': notebook.default_user(), 'recovery': notebook.conf()['email']} return http.Response(stream=template('login.html', **template_dict)) | 39855fabbbbe971c1c1d64566b1625e9c1c6d482 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/39855fabbbbe971c1c1d64566b1625e9c1c6d482/twist.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1743,
12,
2890,
16,
1103,
4672,
1542,
67,
1576,
273,
13666,
13739,
4278,
14718,
18,
588,
67,
13739,
9334,
296,
1886,
67,
1355,
4278,
14718,
18,
1886,
67,
1355,
9334,
296,
23963,
4278,
14718,
18,
3923,
1435,
3292,
3652,
14579,
327,
1062,
18,
1064,
12,
3256,
33,
3202,
2668,
5819,
18,
2620,
2187,
2826,
3202,
67,
1576,
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,
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18,
588,
67,
13739,
9334,
296,
1886,
67,
1355,
4278,
14718,
18,
1886,
67,
1355,
9334,
296,
23963,
4278,
14718,
18,
3923,
1435,
3292,
3652,
14579,
327,
1062,
18,
1064,
12,
3256,
33,
3202,
2668,
5819,
18,
2620,
2187,
2826,
3202,
67,
1576,
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
] |
s.tk.call( s.plf._w, CMD, 'plaxes', x0, y0, xopt, xtick, nxsub, yopt, ytick, nysub ) | s.cmd( 'plaxes', x0, y0, xopt, xtick, nxsub, yopt, ytick, nysub ) | def plaxes( s, x0, y0, xopt, xtick, nxsub, yopt, ytick, nysub ): | 5e1e7ef2c61ed08af7184e16b0bac6bebfbe213e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2933/5e1e7ef2c61ed08af7184e16b0bac6bebfbe213e/Plframe.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
886,
10855,
12,
272,
16,
619,
20,
16,
677,
20,
16,
619,
3838,
16,
619,
6470,
16,
9264,
1717,
16,
677,
3838,
16,
677,
6470,
16,
15308,
1717,
262,
30,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
886,
10855,
12,
272,
16,
619,
20,
16,
677,
20,
16,
619,
3838,
16,
619,
6470,
16,
9264,
1717,
16,
677,
3838,
16,
677,
6470,
16,
15308,
1717,
262,
30,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
"""Return a TriSurface with all the elements where t>0. | """Return a Mesh with all the elements where t>0. | def clip(self,t): """Return a TriSurface with all the elements where t>0. | 1535ec04433cfb4131e357412c0648be4a5d903a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2499/1535ec04433cfb4131e357412c0648be4a5d903a/mesh.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6807,
12,
2890,
16,
88,
4672,
3536,
990,
279,
10000,
11508,
598,
777,
326,
2186,
1625,
268,
34,
20,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6807,
12,
2890,
16,
88,
4672,
3536,
990,
279,
10000,
11508,
598,
777,
326,
2186,
1625,
268,
34,
20,
18,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
hasContentChanged=self.hasContentChangedSinceLastSelection | hasContentChanged=getattr(self,'hasContentChangedSinceLastSelection',False) | def detectPossibleSelectionChange(self): """Detects if the selection has been changed, and if so it speaks the change. """ try: newInfo=self.makeTextInfo(textInfos.POSITION_SELECTION) except: # Just leave the old selection, which is usually better than nothing. return oldInfo=getattr(self,'_lastSelectionPos',None) self._lastSelectionPos=newInfo.copy() if not oldInfo: # There's nothing we can do, but at least the last selection will be right next time. return hasContentChanged=self.hasContentChangedSinceLastSelection self.hasContentChangedSinceLastSelection=False speech.speakSelectionChange(oldInfo,newInfo,generalize=hasContentChanged) | 5b51b76b3dce5e69a159d111bc5acbbbba4b9db9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9340/5b51b76b3dce5e69a159d111bc5acbbbba4b9db9/editableText.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5966,
13576,
6233,
3043,
12,
2890,
4672,
3536,
12081,
87,
309,
326,
4421,
711,
2118,
3550,
16,
471,
309,
1427,
518,
272,
22736,
326,
2549,
18,
3536,
775,
30,
394,
966,
33,
2890,
18,
6540,
1528,
966,
12,
955,
7655,
18,
15258,
67,
1090,
15445,
13,
1335,
30,
468,
12526,
8851,
326,
1592,
4421,
16,
1492,
353,
11234,
7844,
2353,
5083,
18,
327,
1592,
966,
33,
588,
1747,
12,
2890,
11189,
67,
2722,
6233,
1616,
2187,
7036,
13,
365,
6315,
2722,
6233,
1616,
33,
2704,
966,
18,
3530,
1435,
309,
486,
1592,
966,
30,
468,
6149,
1807,
5083,
732,
848,
741,
16,
1496,
622,
4520,
326,
1142,
4421,
903,
506,
2145,
1024,
813,
18,
327,
711,
1350,
5033,
33,
588,
1747,
12,
2890,
11189,
5332,
1350,
5033,
9673,
3024,
6233,
2187,
8381,
13,
365,
18,
5332,
1350,
5033,
9673,
3024,
6233,
33,
8381,
24556,
18,
87,
10244,
6233,
3043,
12,
1673,
966,
16,
2704,
966,
16,
12259,
554,
33,
5332,
1350,
5033,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5966,
13576,
6233,
3043,
12,
2890,
4672,
3536,
12081,
87,
309,
326,
4421,
711,
2118,
3550,
16,
471,
309,
1427,
518,
272,
22736,
326,
2549,
18,
3536,
775,
30,
394,
966,
33,
2890,
18,
6540,
1528,
966,
12,
955,
7655,
18,
15258,
67,
1090,
15445,
13,
1335,
30,
468,
12526,
8851,
326,
1592,
4421,
16,
1492,
353,
11234,
7844,
2353,
5083,
18,
327,
1592,
966,
33,
588,
1747,
12,
2890,
11189,
67,
2722,
6233,
1616,
2187,
7036,
13,
365,
6315,
2722,
6233,
1616,
33,
2704,
966,
18,
3530,
1435,
309,
486,
1592,
966,
30,
468,
6149,
1807,
5083,
732,
848,
741,
16,
1496,
622,
4520,
326,
1142,
4421,
903,
506,
2145,
1024,
813,
18,
327,
711,
1350,
5033,
2
] |
if ComplexNode.offsets(self) == 0: | if self.stride() == 0: | def offsets(self): if ComplexNode.offsets(self) == 0: return 0 else: return None | 67c89cc6416f403aea70f83efafb2d60b0a315ca /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2040/67c89cc6416f403aea70f83efafb2d60b0a315ca/esotope-bfc.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8738,
12,
2890,
4672,
309,
365,
18,
27937,
1435,
422,
374,
30,
327,
374,
469,
30,
327,
599,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] |
if height >= 0 or height == None: | if height is None or height >= 0: | def setup(**geometry): """ Sets the size and position of the main window. Keywords are width, height, startx and starty: width: either a size in pixels or a fraction of the screen. Default is 50% of screen. height: either the height in pixels or a fraction of the screen. Default is 75% of screen. Setting either width or height to None before drawing will force use of default geometry as in older versions of turtle.py startx: starting position in pixels from the left edge of the screen. Default is to center window. Setting startx to None is the default and centers window horizontally on screen. starty: starting position in pixels from the top edge of the screen. Default is to center window. Setting starty to None is the default and centers window vertically on screen. Examples: >>> setup (width=200, height=200, startx=0, starty=0) sets window to 200x200 pixels, in upper left of screen >>> setup(width=.75, height=0.5, startx=None, starty=None) sets window to 75% of screen by 50% of screen and centers >>> setup(width=None) forces use of default geometry as in older versions of turtle.py """ global _width, _height, _startx, _starty width = geometry.get('width',_width) if width >= 0 or width == None: _width = width else: raise ValueError("width can not be less than 0") height = geometry.get('height',_height) if height >= 0 or height == None: _height = height else: raise ValueError("height can not be less than 0") startx = geometry.get('startx', _startx) if startx >= 0 or startx == None: _startx = _startx else: raise ValueError("startx can not be less than 0") starty = geometry.get('starty', _starty) if starty >= 0 or starty == None: _starty = starty else: raise ValueError("startx can not be less than 0") if _root and _width and _height: if 0 < _width <= 1: _width = _root.winfo_screenwidth() * +width if 0 < _height <= 1: _height = _root.winfo_screenheight() * _height # center window on screen if _startx is None: _startx = (_root.winfo_screenwidth() - _width) / 2 if _starty is None: _starty = (_root.winfo_screenheight() - _height) / 2 _root.geometry("%dx%d+%d+%d" % (_width, _height, _startx, _starty)) | 101cf8d5daee46f2e1fdfb1a88259b5b19c684b6 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12029/101cf8d5daee46f2e1fdfb1a88259b5b19c684b6/turtle.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3875,
12,
636,
14330,
4672,
3536,
11511,
326,
963,
471,
1754,
434,
326,
2774,
2742,
18,
225,
1929,
3753,
854,
1835,
16,
2072,
16,
787,
92,
471,
787,
93,
30,
225,
1835,
30,
3344,
279,
963,
316,
8948,
578,
279,
8330,
434,
326,
5518,
18,
2989,
353,
6437,
9,
434,
5518,
18,
2072,
30,
3344,
326,
2072,
316,
8948,
578,
279,
8330,
434,
326,
5518,
18,
2989,
353,
18821,
9,
434,
5518,
18,
225,
13274,
3344,
1835,
578,
2072,
358,
599,
1865,
16327,
903,
2944,
999,
434,
805,
5316,
487,
316,
12156,
5244,
434,
268,
295,
5929,
18,
2074,
225,
787,
92,
30,
5023,
1754,
316,
8948,
628,
326,
2002,
3591,
434,
326,
5518,
18,
2989,
353,
358,
4617,
2742,
18,
13274,
787,
92,
358,
599,
353,
326,
805,
471,
17723,
2742,
366,
6157,
1230,
603,
5518,
18,
225,
787,
93,
30,
5023,
1754,
316,
8948,
628,
326,
1760,
3591,
434,
326,
5518,
18,
2989,
353,
358,
4617,
2742,
18,
13274,
787,
93,
358,
599,
353,
326,
805,
471,
17723,
2742,
3173,
6478,
603,
5518,
18,
225,
19830,
30,
4080,
3875,
261,
2819,
33,
6976,
16,
2072,
33,
6976,
16,
787,
92,
33,
20,
16,
787,
93,
33,
20,
13,
225,
1678,
2742,
358,
4044,
92,
6976,
8948,
16,
316,
3854,
2002,
434,
5518,
225,
4080,
3875,
12,
2819,
33,
18,
5877,
16,
2072,
33,
20,
18,
25,
16,
787,
92,
33,
7036,
16,
787,
93,
33,
7036,
13,
225,
1678,
2742,
358,
18821,
9,
434,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3875,
12,
636,
14330,
4672,
3536,
11511,
326,
963,
471,
1754,
434,
326,
2774,
2742,
18,
225,
1929,
3753,
854,
1835,
16,
2072,
16,
787,
92,
471,
787,
93,
30,
225,
1835,
30,
3344,
279,
963,
316,
8948,
578,
279,
8330,
434,
326,
5518,
18,
2989,
353,
6437,
9,
434,
5518,
18,
2072,
30,
3344,
326,
2072,
316,
8948,
578,
279,
8330,
434,
326,
5518,
18,
2989,
353,
18821,
9,
434,
5518,
18,
225,
13274,
3344,
1835,
578,
2072,
358,
599,
1865,
16327,
903,
2944,
999,
434,
805,
5316,
487,
316,
12156,
5244,
434,
268,
295,
5929,
18,
2074,
225,
787,
92,
30,
5023,
1754,
316,
8948,
628,
326,
2002,
3591,
434,
326,
5518,
18,
2989,
353,
358,
2
] |
self.failIf( skins_tool._setup_called ) | self.failIf( site._skin_setup_called ) | def test_parseXML_empty( self ): | 602f054babd4fcf667987bd5ada457ed274c4361 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1843/602f054babd4fcf667987bd5ada457ed274c4361/test_skins.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
2670,
4201,
67,
5531,
12,
365,
262,
30,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
idnew = obj.create(cursor, user, act[1]) | idnew = obj.create(cursor, user, act[1], context=context) | def set(self, cursor, obj, obj_id, name, values, user=None, context=None): if not values: return obj = obj.pool.get(self._obj) for act in values: if act[0] == 'create': idnew = obj.create(cursor, user, act[1]) cursor.execute('INSERT INTO "' + self._rel + '" ' \ '(' + self._id1 + ', ' + self._id2 + ') ' \ 'VALUES (%s, %s)', (obj_id, idnew)) elif act[0] == 'write': obj.write(cursor, user, [act[1]] , act[2], context=context) elif act[0] == 'unlink': obj.unlink(cursor, user, [act[1]], context=context) elif act[0] == 'remove': cursor.execute('DELETE FROM "' + self._rel + '" ' \ 'WHERE "' + self._id1 + '" = %s ' \ 'AND "'+ self._id2 + '" = %s', (obj_id, act[1])) elif act[0] == 'add': cursor.execute('SELECT * FROM "' + self._rel + '" ' \ 'WHERE ' + self._id1 + ' = %s ' \ 'AND ' + self._id2 + ' = %s ', (obj_id, act[1])) if cursor.rowcount: continue cursor.execute('INSERT INTO "' + self._rel + '" ' \ '(' + self._id1 + ', ' + self._id2 + ') ' \ 'VALUES (%s, %s)', (obj_id, act[1])) elif act[0] == 'remove_all': cursor.execute('UPDATE "' + self._rel + '" ' \ 'SET "' + self._id2 + '" = NULL ' \ 'WHERE "' + self._id2 + '" = %s', (obj_id,)) elif act[0] == 'set': domain1, domain2 = obj.pool.get('ir.rule').domain_get(cursor, user, obj._name) if domain1: domain1 = ' AND ' + domain1 cursor.execute('DELETE FROM "' + self._rel + '" ' \ 'WHERE "' + self._id1 + '" = %s ' \ 'AND "' + self._id2 + '" IN (' \ 'SELECT ' + self._rel + '.' + self._id2 + ' ' \ 'FROM "' + self._rel + '", "' + obj._table + '" ' \ 'WHERE ' + self._rel + '.' + self._id1 + ' = %s ' \ 'AND ' + self._rel + '.' + self._id2 + ' = ' + \ obj._table + '.id ' + domain1 + ')', [obj_id, obj_id] + domain2) | 81af21c376c365877e171169bbbf0be717301874 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9266/81af21c376c365877e171169bbbf0be717301874/fields.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
12,
2890,
16,
3347,
16,
1081,
16,
1081,
67,
350,
16,
508,
16,
924,
16,
729,
33,
7036,
16,
819,
33,
7036,
4672,
309,
486,
924,
30,
327,
1081,
273,
1081,
18,
6011,
18,
588,
12,
2890,
6315,
2603,
13,
364,
1328,
316,
924,
30,
309,
1328,
63,
20,
65,
422,
296,
2640,
4278,
612,
2704,
273,
1081,
18,
2640,
12,
9216,
16,
729,
16,
1328,
63,
21,
6487,
819,
33,
2472,
13,
3347,
18,
8837,
2668,
11356,
12421,
2491,
397,
365,
6315,
2878,
397,
2119,
296,
521,
7321,
397,
365,
6315,
350,
21,
397,
2265,
296,
397,
365,
6315,
350,
22,
397,
8624,
296,
521,
296,
16386,
6142,
87,
16,
738,
87,
13,
2187,
261,
2603,
67,
350,
16,
612,
2704,
3719,
1327,
1328,
63,
20,
65,
422,
296,
2626,
4278,
1081,
18,
2626,
12,
9216,
16,
729,
16,
306,
621,
63,
21,
13563,
269,
1328,
63,
22,
6487,
819,
33,
2472,
13,
1327,
1328,
63,
20,
65,
422,
296,
318,
1232,
4278,
1081,
18,
318,
1232,
12,
9216,
16,
729,
16,
306,
621,
63,
21,
65,
6487,
819,
33,
2472,
13,
1327,
1328,
63,
20,
65,
422,
296,
4479,
4278,
3347,
18,
8837,
2668,
6460,
4571,
2491,
397,
365,
6315,
2878,
397,
2119,
296,
521,
296,
12299,
2491,
397,
365,
6315,
350,
21,
397,
2119,
273,
738,
87,
296,
521,
296,
4307,
2491,
15,
365,
6315,
350,
22,
397,
2119,
273,
738,
87,
2187,
261,
2603,
67,
350,
16,
1328,
63,
21,
22643,
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,
12,
2890,
16,
3347,
16,
1081,
16,
1081,
67,
350,
16,
508,
16,
924,
16,
729,
33,
7036,
16,
819,
33,
7036,
4672,
309,
486,
924,
30,
327,
1081,
273,
1081,
18,
6011,
18,
588,
12,
2890,
6315,
2603,
13,
364,
1328,
316,
924,
30,
309,
1328,
63,
20,
65,
422,
296,
2640,
4278,
612,
2704,
273,
1081,
18,
2640,
12,
9216,
16,
729,
16,
1328,
63,
21,
6487,
819,
33,
2472,
13,
3347,
18,
8837,
2668,
11356,
12421,
2491,
397,
365,
6315,
2878,
397,
2119,
296,
521,
7321,
397,
365,
6315,
350,
21,
397,
2265,
296,
397,
365,
6315,
350,
22,
397,
8624,
296,
521,
296,
16386,
6142,
87,
16,
738,
87,
13,
2187,
261,
2603,
2
] |
install_paver=True, more_text=""): | install_paver=True, more_text="", dest_dir='.', no_site_packages=False, unzip_setuptools=False): | def _create_bootstrap(script_name, packages_to_install, paver_command_line, install_paver=True, more_text=""): if install_paver: paver_install = (_easy_install_template % ('bin_dir', 'paver==%s' % setup_meta['version'])) else: paver_install = "" extra_text = """def adjust_options(options, args): | 0419bba2ae3446c2ad992fcbd42de644991c5daa /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14074/0419bba2ae3446c2ad992fcbd42de644991c5daa/virtual.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2640,
67,
12722,
12,
4263,
67,
529,
16,
5907,
67,
869,
67,
5425,
16,
6790,
502,
67,
3076,
67,
1369,
16,
3799,
67,
8774,
502,
33,
5510,
16,
1898,
67,
955,
1546,
3113,
1570,
67,
1214,
2218,
1093,
16,
1158,
67,
4256,
67,
10308,
33,
8381,
16,
20259,
67,
542,
30693,
33,
8381,
4672,
309,
3799,
67,
8774,
502,
30,
6790,
502,
67,
5425,
273,
261,
67,
73,
15762,
67,
5425,
67,
3202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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2640,
67,
12722,
12,
4263,
67,
529,
16,
5907,
67,
869,
67,
5425,
16,
6790,
502,
67,
3076,
67,
1369,
16,
3799,
67,
8774,
502,
33,
5510,
16,
1898,
67,
955,
1546,
3113,
1570,
67,
1214,
2218,
1093,
16,
1158,
67,
4256,
67,
10308,
33,
8381,
16,
20259,
67,
542,
30693,
33,
8381,
4672,
309,
3799,
67,
8774,
502,
30,
6790,
502,
67,
5425,
273,
261,
67,
73,
15762,
67,
5425,
67,
3202,
738,
7707,
4757,
67,
1214,
2187,
296,
8774,
502,
631,
9,
87,
11,
738,
3875,
67,
3901,
3292,
1589,
3546,
3719,
469,
30,
6790,
502,
67,
5425,
273,
1408,
225,
2870,
67,
955,
273,
3536,
536,
5765,
67,
2116,
12,
2116,
16,
833,
4672,
2
] |
self.hidden = hidden | self.hidden = hidden | def __init__(self, author=None, category=None, content=None, atom_id=None, link=None, published=None, title=None, updated=None, color=None, access_level=None, hidden=None, timezone=None, selected=None, where=None, extension_elements=None, extension_attributes=None, text=None): gdata.GDataEntry.__init__(self, author=author, category=category, content=content, atom_id=atom_id, link=link, published=published, title=title, updated=updated, text=None) | b441c0ccc7da55ff31f704dc6779ec676da299f1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10620/b441c0ccc7da55ff31f704dc6779ec676da299f1/__init__.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2869,
33,
7036,
16,
3150,
33,
7036,
16,
913,
33,
7036,
16,
3179,
67,
350,
33,
7036,
16,
1692,
33,
7036,
16,
9487,
33,
7036,
16,
2077,
33,
7036,
16,
3526,
33,
7036,
16,
2036,
33,
7036,
16,
2006,
67,
2815,
33,
7036,
16,
5949,
33,
7036,
16,
6371,
33,
7036,
16,
3170,
33,
7036,
16,
1625,
33,
7036,
16,
2710,
67,
6274,
33,
7036,
16,
2710,
67,
4350,
33,
7036,
16,
977,
33,
7036,
4672,
314,
892,
18,
43,
751,
1622,
16186,
2738,
972,
12,
2890,
16,
2869,
33,
4161,
16,
3150,
33,
4743,
16,
913,
33,
1745,
16,
3179,
67,
350,
33,
7466,
67,
350,
16,
1692,
33,
1232,
16,
9487,
33,
12614,
16,
2077,
33,
2649,
16,
3526,
33,
7007,
16,
977,
33,
7036,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2869,
33,
7036,
16,
3150,
33,
7036,
16,
913,
33,
7036,
16,
3179,
67,
350,
33,
7036,
16,
1692,
33,
7036,
16,
9487,
33,
7036,
16,
2077,
33,
7036,
16,
3526,
33,
7036,
16,
2036,
33,
7036,
16,
2006,
67,
2815,
33,
7036,
16,
5949,
33,
7036,
16,
6371,
33,
7036,
16,
3170,
33,
7036,
16,
1625,
33,
7036,
16,
2710,
67,
6274,
33,
7036,
16,
2710,
67,
4350,
33,
7036,
16,
977,
33,
7036,
4672,
314,
892,
18,
43,
751,
1622,
16186,
2738,
972,
12,
2890,
16,
2869,
33,
4161,
16,
3150,
33,
4743,
16,
913,
33,
1745,
16,
3179,
67,
350,
33,
7466,
67,
350,
16,
1692,
33,
1232,
16,
2
] |
def __init__(self, usernameSlot, passwordSlot, authFile, loginPage): SessionAuthBase.__init__(self, usernameSlot, passwordSlot) | def __init__(self, usernameSlot, authFile, loginPage): SessionAuthBase.__init__(self, usernameSlot) | def __init__(self, usernameSlot, passwordSlot, authFile, loginPage): SessionAuthBase.__init__(self, usernameSlot, passwordSlot) AuthFileBase.__init__(self, authFile) RespAuthBase.__init__(self, loginPage) | 2c4e82456bf6c6a150058970527532ee8643eaef /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5832/2c4e82456bf6c6a150058970527532ee8643eaef/__init__.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2718,
8764,
16,
1357,
812,
16,
3925,
1964,
4672,
3877,
1730,
2171,
16186,
2738,
972,
12,
2890,
16,
2718,
8764,
13,
3123,
812,
2171,
16186,
2738,
972,
12,
2890,
16,
1357,
812,
13,
26324,
1730,
2171,
16186,
2738,
972,
12,
2890,
16,
3925,
1964,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2718,
8764,
16,
1357,
812,
16,
3925,
1964,
4672,
3877,
1730,
2171,
16186,
2738,
972,
12,
2890,
16,
2718,
8764,
13,
3123,
812,
2171,
16186,
2738,
972,
12,
2890,
16,
1357,
812,
13,
26324,
1730,
2171,
16186,
2738,
972,
12,
2890,
16,
3925,
1964,
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
] |
def cleanup_version(version): """Check if the version looks like a development version.""" for w in WRONG_IN_VERSION: if version.find(w) != -1: logger.debug("Version indicates development: %s.", version) version = version[:version.find(w)].strip() logger.debug("Removing debug indicators: %r", version) return version | def fix_rst_heading(heading, below): """If the 'below' line looks like a reST line, give it the correct length. This allows for different characters being used as header lines. """ if len(below) == 0: return below first = below[0] if first not in '-=`~': return below below = first * len(heading) return below | abd9a8e8778b52b5cb76d524da0d1b1670596016 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12067/abd9a8e8778b52b5cb76d524da0d1b1670596016/utils.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2917,
67,
16114,
67,
19948,
12,
19948,
16,
5712,
4672,
3536,
2047,
326,
296,
27916,
11,
980,
10192,
3007,
279,
283,
882,
980,
16,
8492,
518,
326,
3434,
769,
18,
225,
1220,
5360,
364,
3775,
3949,
3832,
1399,
487,
1446,
2362,
18,
3536,
309,
562,
12,
27916,
13,
422,
374,
30,
327,
5712,
1122,
273,
5712,
63,
20,
65,
309,
1122,
486,
316,
2400,
33,
68,
98,
4278,
327,
5712,
5712,
273,
1122,
380,
562,
12,
19948,
13,
327,
5712,
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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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2917,
67,
16114,
67,
19948,
12,
19948,
16,
5712,
4672,
3536,
2047,
326,
296,
27916,
11,
980,
10192,
3007,
279,
283,
882,
980,
16,
8492,
518,
326,
3434,
769,
18,
225,
1220,
5360,
364,
3775,
3949,
3832,
1399,
487,
1446,
2362,
18,
3536,
309,
562,
12,
27916,
13,
422,
374,
30,
327,
5712,
1122,
273,
5712,
63,
20,
65,
309,
1122,
486,
316,
2400,
33,
68,
98,
4278,
327,
5712,
5712,
273,
1122,
380,
562,
12,
19948,
13,
327,
5712,
282,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
except Exception, e: print "Exception calling SWSE:", str(e) | except Exception: print "Exception calling SWSE" | def query(self, query): """ SWSE Query @param query: sparql query @return: results """ | ddcc5aecef3f0a57f013e8b862c2823d7d77b501 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5712/ddcc5aecef3f0a57f013e8b862c2823d7d77b501/swse.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
843,
12,
2890,
16,
843,
4672,
3536,
16392,
1090,
2770,
225,
632,
891,
843,
30,
272,
25366,
843,
632,
2463,
30,
1686,
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,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
843,
12,
2890,
16,
843,
4672,
3536,
16392,
1090,
2770,
225,
632,
891,
843,
30,
272,
25366,
843,
632,
2463,
30,
1686,
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
] |
invalid option value: (option: "align"; value: u'top') | invalid option value: (option: "align"; value: 'top') | def suite(): s = DocutilsTestSupport.ParserTestSuite() s.generateTests(totest) return s | 3c184ef514957a306a7d7eba405b38503738c4fa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1278/3c184ef514957a306a7d7eba405b38503738c4fa/test_figures.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11371,
13332,
272,
273,
3521,
5471,
4709,
6289,
18,
2678,
4709,
13587,
1435,
272,
18,
7163,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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,
11371,
13332,
272,
273,
3521,
5471,
4709,
6289,
18,
2678,
4709,
13587,
1435,
272,
18,
7163,
14650,
12,
3307,
395,
13,
327,
272,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return self._numObs | if self._numObs == None: return 1 else: return self._numObs | def numObs(self): '''Return the number of obervations (same for each variable).''' return self._numObs | 0c4594eaf3644dd309cb4bb3993709ce81639fc5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2720/0c4594eaf3644dd309cb4bb3993709ce81639fc5/storage.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
818,
27637,
12,
2890,
4672,
9163,
990,
326,
1300,
434,
320,
744,
16882,
261,
14307,
364,
1517,
2190,
14851,
6309,
309,
365,
6315,
2107,
27637,
422,
599,
30,
327,
404,
469,
30,
327,
365,
6315,
2107,
27637,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
818,
27637,
12,
2890,
4672,
9163,
990,
326,
1300,
434,
320,
744,
16882,
261,
14307,
364,
1517,
2190,
14851,
6309,
309,
365,
6315,
2107,
27637,
422,
599,
30,
327,
404,
469,
30,
327,
365,
6315,
2107,
27637,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
lines.append([]) lines_size.append(0) | lines.append( [] ) lines_size.append( 0 ) | def drawstringframedsoft(self, string, x, y, width, height, fgcolor=None, bgcolor=None, font=None, ptsize=0, align_h='left', align_v='top', layer=None, ellipses='...'): | f9be34fe6bf36d18d76b59cccedd089b5c4584eb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/f9be34fe6bf36d18d76b59cccedd089b5c4584eb/osd.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3724,
1080,
74,
1940,
329,
9269,
12,
2890,
16,
533,
16,
619,
16,
677,
16,
1835,
16,
2072,
16,
10186,
3266,
33,
7036,
16,
31509,
33,
7036,
16,
3512,
33,
7036,
16,
5818,
1467,
33,
20,
16,
5689,
67,
76,
2218,
4482,
2187,
5689,
67,
90,
2218,
3669,
2187,
3018,
33,
7036,
16,
26966,
281,
2218,
7821,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
5689,
67,
90,
2218,
3669,
2187,
3018,
33,
7036,
16,
26966,
281,
2218,
7821,
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
] |
self.dial += "/{$ARG1}" | self.dial += "/${ARG1}" | def createAsteriskConfig(self): needModule("res_crypto") needModule("chan_sip") | cdc0cd8b97e3a5db9d07c5dc609ba080cdd32f3c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2627/cdc0cd8b97e3a5db9d07c5dc609ba080cdd32f3c/cfg_trunk_sip.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
37,
8190,
10175,
809,
12,
2890,
4672,
1608,
3120,
2932,
455,
67,
18489,
7923,
1608,
3120,
2932,
7472,
67,
28477,
7923,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
326,
22398,
316,
326,
981,
30,
1652,
752,
37,
8190,
10175,
809,
12,
2890,
4672,
1608,
3120,
2932,
455,
67,
18489,
7923,
1608,
3120,
2932,
7472,
67,
28477,
7923,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
'name': fields.char('Auction date', size=64, required=True), | 'name': fields.char('Auction Name', size=64, required=True), | def name_get(self, cr, uid, ids, context={}): if not len(ids): return [] reads = self.read(cr, uid, ids, ['name', 'auction1'], context) name = [(r['id'],'['+r['auction1']+'] '+ r['name']) for r in reads] return name | fa8a34a438eef052b9d349a3e7116306598e0163 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/fa8a34a438eef052b9d349a3e7116306598e0163/auction.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
508,
67,
588,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
819,
12938,
4672,
309,
486,
562,
12,
2232,
4672,
327,
5378,
6838,
273,
365,
18,
896,
12,
3353,
16,
4555,
16,
3258,
16,
10228,
529,
2187,
296,
69,
4062,
21,
17337,
819,
13,
508,
273,
306,
12,
86,
3292,
350,
3546,
11189,
3292,
15,
86,
3292,
69,
4062,
21,
3546,
15,
3546,
15126,
436,
3292,
529,
19486,
364,
436,
316,
6838,
65,
327,
508,
2,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
508,
67,
588,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
819,
12938,
4672,
309,
486,
562,
12,
2232,
4672,
327,
5378,
6838,
273,
365,
18,
896,
12,
3353,
16,
4555,
16,
3258,
16,
10228,
529,
2187,
296,
69,
4062,
21,
17337,
819,
13,
508,
273,
306,
12,
86,
3292,
350,
3546,
11189,
3292,
15,
86,
3292,
69,
4062,
21,
3546,
15,
3546,
15126,
436,
3292,
529,
19486,
364,
436,
316,
6838,
65,
327,
508,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
""" Allows dictionary-style access to an HDF5 object's attributes. | """ Allows dictionary-style access to an HDF5 object's attributes. | def __repr__(self): if not self: return "<Closed HDF5 dataset>" namestr = '"%s"' % _extras.basename(self.name) if self.name is not None else "(anonymous)" return '<HDF5 dataset %s: shape %s, type "%s">' % \ (namestr, self.shape, self.dtype.str) | dc5aa8abe322bbb898f373e27c214f89038c1138 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10380/dc5aa8abe322bbb898f373e27c214f89038c1138/highlevel.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
12715,
972,
12,
2890,
4672,
309,
486,
365,
30,
327,
3532,
7395,
21673,
25,
3709,
2984,
1257,
313,
273,
22563,
87,
5187,
738,
389,
23687,
18,
13909,
12,
2890,
18,
529,
13,
309,
365,
18,
529,
353,
486,
599,
469,
7751,
19070,
2225,
327,
2368,
44,
4577,
25,
3709,
738,
87,
30,
2179,
738,
87,
16,
618,
2213,
87,
7918,
738,
521,
261,
1973,
313,
16,
365,
18,
4867,
16,
365,
18,
8972,
18,
701,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
12715,
972,
12,
2890,
4672,
309,
486,
365,
30,
327,
3532,
7395,
21673,
25,
3709,
2984,
1257,
313,
273,
22563,
87,
5187,
738,
389,
23687,
18,
13909,
12,
2890,
18,
529,
13,
309,
365,
18,
529,
353,
486,
599,
469,
7751,
19070,
2225,
327,
2368,
44,
4577,
25,
3709,
738,
87,
30,
2179,
738,
87,
16,
618,
2213,
87,
7918,
738,
521,
261,
1973,
313,
16,
365,
18,
4867,
16,
365,
18,
8972,
18,
701,
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
] |
SsynthLabelString = 'Ssynth: %+.3f' % self.dicts[self.stPt]['Sres'] | SsynthLabelString = 'Ssynth: %+.3fs' % self.dicts[self.stPt]['Sres'] | def drawSsynthLabel(self): if not self.dicts[self.stPt].has_key('Ssynth'): return SsynthLabelString = 'Ssynth: %+.3f' % self.dicts[self.stPt]['Sres'] self.SsynthLabel = self.axs[0].text(self.dicts[self.stPt]['Ssynth'], 1 - 0.08 * len(self.axs), '\n ' + SsynthLabelString, transform = self.trans[0], color=self.dictPhaseColors['Ssynth']) | e3cbfd70f9175004acca4efdf96cb210893ee944 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10346/e3cbfd70f9175004acca4efdf96cb210893ee944/obspyck.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3724,
55,
11982,
451,
2224,
12,
2890,
4672,
309,
486,
365,
18,
16287,
63,
2890,
18,
334,
16484,
8009,
5332,
67,
856,
2668,
55,
11982,
451,
11,
4672,
327,
348,
11982,
451,
2224,
780,
273,
296,
55,
11982,
451,
30,
738,
15,
18,
23,
2556,
11,
738,
365,
18,
16287,
63,
2890,
18,
334,
16484,
23962,
55,
455,
3546,
365,
18,
55,
11982,
451,
2224,
273,
365,
18,
651,
87,
63,
20,
8009,
955,
12,
2890,
18,
16287,
63,
2890,
18,
334,
16484,
23962,
55,
11982,
451,
17337,
404,
300,
374,
18,
6840,
380,
562,
12,
2890,
18,
651,
87,
3631,
2337,
82,
225,
296,
397,
348,
11982,
451,
2224,
780,
16,
2510,
273,
365,
18,
2338,
63,
20,
6487,
2036,
33,
2890,
18,
1576,
11406,
12570,
3292,
55,
11982,
451,
19486,
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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
55,
11982,
451,
30,
738,
15,
18,
23,
2556,
11,
738,
365,
18,
16287,
63,
2890,
18,
334,
16484,
23962,
55,
455,
3546,
365,
18,
55,
11982,
451,
2224,
273,
365,
18,
651,
87,
63,
20,
8009,
955,
12,
2890,
18,
16287,
63,
2890,
18,
334,
16484,
23962,
55,
11982,
451,
17337,
404,
300,
374,
18,
6840,
380,
562,
12,
2890,
18,
651,
87,
3631,
2337,
82,
225,
296,
397,
348,
11982,
451,
2224,
780,
16,
2510,
273,
365,
18,
2338,
63,
2
] |
result = self.settings.collapse_preview and self.preview and \ not self.columns[-1].has_preview() and self.stretch_ratios if result: return True if self.columns[-1].target: target = self.columns[-1].target | if not self.settings.collapse_preview or not self.preview \ or not self.stretch_ratios: return False result = not self.columns[-1].has_preview() target = self.columns[-1].target if not result and target and target.is_file: | def _collapse(self): # Should the last column be cut off? (Because there is no preview) result = self.settings.collapse_preview and self.preview and \ not self.columns[-1].has_preview() and self.stretch_ratios if result: return True if self.columns[-1].target: target = self.columns[-1].target try: result = not self.fm.previews[target.realpath]['foundpreview'] except: return self.old_collapse self.old_collapse = result return result | 2bcb509a0834828829b8ca01d5679ee22c416267 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5729/2bcb509a0834828829b8ca01d5679ee22c416267/browserview.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
21405,
12,
2890,
4672,
468,
9363,
326,
1142,
1057,
506,
6391,
3397,
35,
261,
38,
11884,
1915,
353,
1158,
10143,
13,
309,
486,
365,
18,
4272,
18,
21405,
67,
12102,
578,
486,
365,
18,
12102,
521,
578,
486,
365,
18,
334,
20783,
67,
17048,
7441,
30,
327,
1083,
563,
273,
486,
365,
18,
5112,
18919,
21,
8009,
5332,
67,
12102,
1435,
1018,
273,
365,
18,
5112,
18919,
21,
8009,
3299,
309,
486,
563,
471,
1018,
471,
1018,
18,
291,
67,
768,
30,
775,
30,
563,
273,
486,
365,
18,
25089,
18,
1484,
7061,
63,
3299,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
21405,
12,
2890,
4672,
468,
9363,
326,
1142,
1057,
506,
6391,
3397,
35,
261,
38,
11884,
1915,
353,
1158,
10143,
13,
309,
486,
365,
18,
4272,
18,
21405,
67,
12102,
578,
486,
365,
18,
12102,
521,
578,
486,
365,
18,
334,
20783,
67,
17048,
7441,
30,
327,
1083,
563,
273,
486,
365,
18,
5112,
18919,
21,
8009,
5332,
67,
12102,
1435,
1018,
273,
365,
18,
5112,
18919,
21,
8009,
3299,
309,
486,
563,
471,
1018,
471,
1018,
18,
291,
67,
768,
30,
775,
30,
563,
273,
486,
365,
18,
25089,
18,
1484,
7061,
63,
3299,
18,
7688,
803,
23962,
7015,
12102,
3546,
1335,
30,
327,
365,
18,
1673,
67,
21405,
365,
18,
1673,
67,
21405,
273,
563,
2
] |
class refdoc_translator(html4_frames.frame_pages_translator): tocframe_width = 25 def __init__(self, document, index_page, page_files_dir, extension): self.docframe += ' refmanual' self.__super = html4_frames.frame_pages_translator self.__super.__init__(self, document, index_page, page_files_dir, extension) self.page_translator = hacked_html_translator self.re_include = re.compile(r'(\s* self.re_identifier = re.compile(r'(.*?\W*)(\w+)(\W.*?)?') self.re_modtime = re.compile(r'\s*modtime:\s*(.*)') self.in_literal_block = 0 self.in_reference = 0 def visit_title(self, node): old_len = len(self.active_visitor().body) self.__super.visit_title(self, node) self = self.active_visitor() if len(self.body) - old_len > 1 and not node.has_key('refid'): name = nodes.make_id(node.astext()) self.body[-1] = self.starttag( {}, 'a', '', name=name, href=' ) def depart_title(self, node): self.__super.depart_title(self, node) def visit_table(self, node): self = self.active_visitor() self.body.append( self.starttag(node, 'table', CLASS='docutils table', border="1")) def visit_reference(self, node): self.in_reference = 1 if len(node) == 1 and isinstance(node[0], nodes.literal) and node[0].has_key('class'): if node.has_key('class') and node['class'].find(node[0]['class']) == -1: node['class'] += ' %s' % node[0]['class'] else: node['class'] = node[0]['class'] self.__super.visit_reference(self, node) def depart_reference(self, node): self.__super.depart_reference(self, node) self.in_reference = 0 def visit_literal(self, node): if self.in_reference: self.__super.visit_literal(self, node) base = self self = self.active_visitor() self.body.append(self.starttag(node, 'tt', '', CLASS='literal')) text = node.astext() if base.re_include.search(text): text = base.re_include.sub(lambda m: base._handle_include_sub(self, m), text) self.body.append('<span class="pre">%s</span>' % text) else: for token in self.words_and_spaces.findall(text): if token.strip(): if base.re_identifier.search(token): token = base.re_identifier.sub(lambda m: base._handle_id_sub(self, m), token) else: token = self.encode(token) self.body.append('<span class="pre">%s</span>' % token) elif token in ('\n', ' '): self.body.append(token) else: self.body.append(' ' * (len(token) - 1) + ' ') self.body.append('</tt>') raise nodes.SkipNode def visit_literal_block(self, node): self.__super.visit_literal_block(self, node) self.in_literal_block = True def depart_literal_block(self, node): self.__super.depart_literal_block(self, node) self.in_literal_block = False def visit_Text(self, node): if not self.in_literal_block: self.__super.visit_Text(self, node) else: base = self self = self.active_visitor() text = node.astext() if base.re_include.search(text): text = base.re_include.sub(lambda m: base._handle_include_sub(self, m), text) elif base.re_identifier.search(text): text = base.re_identifier.sub(lambda m: base._handle_id_sub(self, m), text) else: text = self.encode(text) self.body.append(text) def depart_Text(self, node): pass def visit_substitution_reference(self, node): print 'Unresolved substitution_reference:', node.astext() raise nodes.SkipNode def _handle_depart_page(self, translator, node): pass def _handle_include_sub(base, self, match): if not match.group(2) or not match.group(): return self.encode(match.group(0)) header = match.group(2) result = self.encode(match.group(1)) result += '<a href="%s" class="header">%s</a>' \ % ( '../../../../%s' % header , self.encode(header) ) result += self.encode(match.group(3)) return result def _handle_id_sub(base, self, match): identifier = match.group(2) if not base.document.has_name( identifier.lower() ): return self.encode(match.group(0)) def get_section_id( id ): node = base.document.ids[ id ] if isinstance( node, nodes.section ): return id if isinstance( node, nodes.target ): return get_section_id( node.get( 'refid' ) ) return None id = get_section_id( base.document.nameids[ identifier.lower() ] ) if not id: return self.encode(match.group(0)) result = self.encode(match.group(1)) result += '<a href="%s" class="identifier">%s</a>' \ % ( base._chunk_ref( base._active_chunk_id(), id ) , self.encode(identifier) ) if match.group(3): result += self.encode(match.group(3)) return result | def __init__(self): self.__super = html4_frames.Writer self.__super.__init__(self) self.translator = refdoc_translator | e1c57fa7774a52c78466fbbff89561da8da99e85 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9982/e1c57fa7774a52c78466fbbff89561da8da99e85/__init__.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
365,
16186,
9565,
273,
1729,
24,
67,
10278,
18,
2289,
365,
16186,
9565,
16186,
2738,
972,
12,
2890,
13,
365,
18,
17879,
273,
1278,
2434,
67,
17879,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
24,
67,
10278,
18,
2289,
365,
16186,
9565,
16186,
2738,
972,
12,
2890,
13,
365,
18,
17879,
273,
1278,
2434,
67,
17879,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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('expected 1 starting point, got %i' * len(x0)) | raise ValueError('expected 1 starting point, got %i' % len(x0)) | def __init__(self, f, x0, **kwargs): if not len(x0) == 1: raise ValueError('expected 1 starting point, got %i' * len(x0)) self.x0 = x0[0] self.f = f if not 'df' in kwargs: def df(x): return diff(f, x) else: df = kwargs['df'] self.df = df def phi(x): return x - f(x) / df(x) self.phi = phi self.verbose = kwargs['verbose'] | 238e7967fe6ad8de6958ff89eafb2d0c50d3f344 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11851/238e7967fe6ad8de6958ff89eafb2d0c50d3f344/optimization.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
284,
16,
619,
20,
16,
2826,
4333,
4672,
309,
486,
562,
12,
92,
20,
13,
422,
404,
30,
1002,
2068,
2668,
3825,
404,
5023,
1634,
16,
2363,
738,
77,
11,
738,
562,
12,
92,
20,
3719,
365,
18,
92,
20,
273,
619,
20,
63,
20,
65,
365,
18,
74,
273,
284,
309,
486,
296,
2180,
11,
316,
1205,
30,
1652,
3013,
12,
92,
4672,
327,
3122,
12,
74,
16,
619,
13,
469,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
284,
16,
619,
20,
16,
2826,
4333,
4672,
309,
486,
562,
12,
92,
20,
13,
422,
404,
30,
1002,
2068,
2668,
3825,
404,
5023,
1634,
16,
2363,
738,
77,
11,
738,
562,
12,
92,
20,
3719,
365,
18,
92,
20,
273,
619,
20,
63,
20,
65,
365,
18,
74,
273,
284,
309,
486,
296,
2180,
11,
316,
1205,
30,
1652,
3013,
12,
92,
4672,
327,
3122,
12,
74,
16,
619,
13,
469,
30,
3013,
273,
1205,
3292,
2180,
3546,
365,
18,
2180,
273,
3013,
1652,
7706,
12,
92,
4672,
327,
619,
300,
284,
12,
92,
13,
342,
3013,
12,
92,
13,
365,
18,
9973,
273,
7706,
365,
18,
11369,
273,
1205,
3292,
2
] |
if not attrs.has_key('align'): | if not attrs.has_key('align') and \ not (attrs.has_key('style') and 'text-align' in attrs['style'].lower()): | def _table_repl(self, word): """Handle table cell separator.""" if self.in_table: result = [] # check for attributes attrs, attrerr = self._getTableAttrs(word) | 3e2c42a3b6124fa8847c5dd71359b039037f81c6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/888/3e2c42a3b6124fa8847c5dd71359b039037f81c6/text_moin_wiki.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2121,
67,
26745,
12,
2890,
16,
2076,
4672,
3536,
3259,
1014,
2484,
4182,
12123,
309,
365,
18,
267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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,
389,
2121,
67,
26745,
12,
2890,
16,
2076,
4672,
3536,
3259,
1014,
2484,
4182,
12123,
309,
365,
18,
267,
67,
2121,
30,
563,
273,
5378,
468,
866,
364,
1677,
3422,
16,
1604,
370,
273,
365,
6315,
588,
1388,
8262,
12,
1095,
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
] |
query = """select sum(nb_register) from crm_case c left join crm_case_section s on (c.section_id=s.id) right join event_event e on (e.section_id=s.id) right join event_registration r on (r.case_id=c.id) where e.section_id = %s and c.state in ('open','done') group by c.state,s.name""" % event.section_id.id | query = """select sum(nb_register) from crm_case c left join crm_case_section s on (c.section_id=s.id) right join event_event e on (e.section_id=s.id) right join event_registration r on (r.case_id=c.id) where e.section_id = %s and c.state in ('open','done')""" % event.section_id.id | def _get_register(self, cr, uid, ids, name, args, context=None): res={} for event in self.browse(cr, uid, ids, context): | b4a2ee60413b682b4df69b4e10589aa6bee11927 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7339/b4a2ee60413b682b4df69b4e10589aa6bee11927/event.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
588,
67,
4861,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
508,
16,
833,
16,
819,
33,
7036,
4672,
400,
12938,
364,
871,
316,
365,
18,
25731,
12,
3353,
16,
4555,
16,
3258,
16,
819,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
588,
67,
4861,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
508,
16,
833,
16,
819,
33,
7036,
4672,
400,
12938,
364,
871,
316,
365,
18,
25731,
12,
3353,
16,
4555,
16,
3258,
16,
819,
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
] |
} | } | def outParamForm(name, type): type = unaliasType(type) if type.kind == 'builtin': return '&' + name elif type.kind == 'native': if type.modifier == 'ref': return name else: return '&' + name else: return 'getter_AddRefs(%s)' % name | 02e311e09e016912c1edae8536a5044940633ef1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11102/02e311e09e016912c1edae8536a5044940633ef1/qsgen.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
596,
786,
1204,
12,
529,
16,
618,
4672,
618,
273,
640,
4930,
559,
12,
723,
13,
309,
618,
18,
9224,
422,
296,
24553,
4278,
327,
9824,
397,
508,
1327,
618,
18,
9224,
422,
296,
13635,
4278,
309,
618,
18,
20597,
422,
296,
1734,
4278,
327,
508,
469,
30,
327,
9824,
397,
508,
469,
30,
327,
296,
11990,
67,
986,
9837,
9275,
87,
2506,
738,
508,
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,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596,
786,
1204,
12,
529,
16,
618,
4672,
618,
273,
640,
4930,
559,
12,
723,
13,
309,
618,
18,
9224,
422,
296,
24553,
4278,
327,
9824,
397,
508,
1327,
618,
18,
9224,
422,
296,
13635,
4278,
309,
618,
18,
20597,
422,
296,
1734,
4278,
327,
508,
469,
30,
327,
9824,
397,
508,
469,
30,
327,
296,
11990,
67,
986,
9837,
9275,
87,
2506,
738,
508,
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
] |
rawdata = open(datafilename).read() | def process(datafilename, notes=0, handout=0, cols=0, verbose=0, outDir=None): "Process one PythonPoint source file." from reportlab.tools.pythonpoint.stdparser import PPMLParser parser = PPMLParser() parser.sourceFilename = datafilename rawdata = open(datafilename).read() parser.feed(rawdata) pres = parser.getPresentation() pres.sourceFilename = datafilename pres.outDir = outDir pres.notes = notes pres.handout = handout pres.cols = cols pres.verbose = verbose #this does all the work pres.save() if verbose: print 'saved presentation %s.pdf' % os.path.splitext(datafilename)[0] parser.close() | b4313d504cd51f70b053b3b310ed5c2d8ac3ef09 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/b4313d504cd51f70b053b3b310ed5c2d8ac3ef09/pythonpoint.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1207,
12,
892,
3459,
16,
10913,
33,
20,
16,
948,
659,
33,
20,
16,
5347,
33,
20,
16,
3988,
33,
20,
16,
596,
1621,
33,
7036,
4672,
315,
2227,
1245,
6600,
2148,
1084,
585,
1199,
628,
2605,
7411,
18,
6642,
18,
8103,
1153,
18,
5084,
4288,
1930,
453,
52,
1495,
2678,
2082,
273,
453,
52,
1495,
2678,
1435,
2082,
18,
3168,
5359,
273,
501,
3459,
2082,
18,
7848,
12,
1899,
892,
13,
4075,
273,
2082,
18,
588,
6351,
367,
1435,
4075,
18,
3168,
5359,
273,
501,
3459,
4075,
18,
659,
1621,
273,
596,
1621,
4075,
18,
12903,
273,
10913,
4075,
18,
2349,
659,
273,
948,
659,
4075,
18,
6842,
273,
5347,
4075,
18,
11369,
273,
3988,
225,
468,
2211,
1552,
777,
326,
1440,
4075,
18,
5688,
1435,
225,
309,
3988,
30,
1172,
296,
14077,
22525,
738,
87,
18,
7699,
11,
738,
1140,
18,
803,
18,
4939,
408,
12,
892,
3459,
25146,
20,
65,
2082,
18,
4412,
1435,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1207,
12,
892,
3459,
16,
10913,
33,
20,
16,
948,
659,
33,
20,
16,
5347,
33,
20,
16,
3988,
33,
20,
16,
596,
1621,
33,
7036,
4672,
315,
2227,
1245,
6600,
2148,
1084,
585,
1199,
628,
2605,
7411,
18,
6642,
18,
8103,
1153,
18,
5084,
4288,
1930,
453,
52,
1495,
2678,
2082,
273,
453,
52,
1495,
2678,
1435,
2082,
18,
3168,
5359,
273,
501,
3459,
2082,
18,
7848,
12,
1899,
892,
13,
4075,
273,
2082,
18,
588,
6351,
367,
1435,
4075,
18,
3168,
5359,
273,
501,
3459,
4075,
18,
659,
1621,
273,
596,
1621,
4075,
18,
12903,
273,
10913,
4075,
18,
2349,
659,
273,
948,
659,
4075,
18,
6842,
273,
5347,
4075,
18,
11369,
273,
3988,
225,
468,
2
] |
|
changesettag=self.showtag("changesettag",n), | changesettag=showtags, | def diff(**map): yield self.diff(tmpl, p1, n, None) | 8255f7247ae66644f7705df05a94f2c7585b5bbc /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11312/8255f7247ae66644f7705df05a94f2c7585b5bbc/hgweb_mod.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3122,
12,
636,
1458,
4672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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3122,
12,
636,
1458,
4672,
2824,
365,
18,
5413,
12,
24717,
16,
293,
21,
16,
290,
16,
599,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
def error_line(f): | def error_line(filename): """Get the last line of filename for error messages""" result = "" | def error_line(f): try: ff = file(f) try: lines = ff.readlines() if len(lines) > 0: return ": %s" % (lines[-1]) else: return "" finally: ff.close() except: return "" | 3e3df38f1e52c70022c8b8d12e88f5772a29641f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/197/3e3df38f1e52c70022c8b8d12e88f5772a29641f/brokertest.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
555,
67,
1369,
12,
3459,
4672,
3536,
967,
326,
1142,
980,
434,
1544,
364,
555,
2743,
8395,
563,
273,
1408,
775,
30,
6875,
273,
585,
12,
74,
13,
775,
30,
2362,
273,
6875,
18,
896,
3548,
1435,
309,
562,
12,
3548,
13,
405,
374,
30,
327,
6398,
738,
87,
6,
738,
261,
3548,
18919,
21,
5717,
469,
30,
327,
1408,
3095,
30,
6875,
18,
4412,
1435,
1335,
30,
327,
1408,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
555,
67,
1369,
12,
3459,
4672,
3536,
967,
326,
1142,
980,
434,
1544,
364,
555,
2743,
8395,
563,
273,
1408,
775,
30,
6875,
273,
585,
12,
74,
13,
775,
30,
2362,
273,
6875,
18,
896,
3548,
1435,
309,
562,
12,
3548,
13,
405,
374,
30,
327,
6398,
738,
87,
6,
738,
261,
3548,
18919,
21,
5717,
469,
30,
327,
1408,
3095,
30,
6875,
18,
4412,
1435,
1335,
30,
327,
1408,
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
] |
aCpu = numpy.random.randn(size).astype(numpy.float32) bCpu = numpy.random.randn(size).astype(numpy.float32) | a_cpu = numpy.random.randn(size).astype(numpy.float32) b_cpu = numpy.random.randn(size).astype(numpy.float32) | def main(): drv.init() assert drv.Device.count() >= 1 ctx = drv.Device(0).make_context() import pycuda.gpuarray as gpuarray # make sure all the kernels are compiled gpuarray.GPUArray.compile_kernels() print "done compiling" sizes = [] times = [] flops = [] flopsCPU = [] timesCPU = [] for power in range(10, 25): # 24 size = 1<<power print size sizes.append(size) a = gpuarray.zeros((size,), dtype=numpy.float32) b = gpuarray.zeros((size,), dtype=numpy.float32) b.fill(1) if power > 20: count = 100 else: count = 1000 #start timer start = drv.Event() end = drv.Event() start.record() #cuda operation which adds two arrays over count time to get an average for i in range(count): a+b #stop timer end.record() end.synchronize() #calculate used time secs = start.time_till(end)*1e-3 times.append(secs/count) flops.append(size) #cpu operations which adds two arrays aCpu = numpy.random.randn(size).astype(numpy.float32) bCpu = numpy.random.randn(size).astype(numpy.float32) #start timer start = drv.Event() end = drv.Event() start.record() #cpu operation which adds two arrays over count time to get an average for i in range(count): aCpu + bCpu #stop timer end.record() end.synchronize() #calculate used time secs = start.time_till(end)*1e-3 #add results to variable timesCPU.append(secs/count) flopsCPU.append(size) #calculate pseudo flops flops = [f/t for f, t in zip(flops,times)] flopsCPU = [f/t for f, t in zip(flopsCPU,timesCPU)] #print the data out from pytools import Table tbl = Table() tbl.add_row(("Size", "Time GPU", "Size/Time GPU", "Time CPU","Size/Time CPU","GPU vs CPU speedup")) for s, t, f,tCpu,fCpu in zip(sizes, times, flops,timesCPU,flopsCPU): tbl.add_row((s,t,f,tCpu,fCpu,f/fCpu)) print tbl | 055a09257e2bd88ee7af05b640f4da2d43cfda2f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12870/055a09257e2bd88ee7af05b640f4da2d43cfda2f/test_gpuarray_speed.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
13332,
302,
4962,
18,
2738,
1435,
1815,
302,
4962,
18,
3654,
18,
1883,
1435,
1545,
404,
1103,
273,
302,
4962,
18,
3654,
12,
20,
2934,
6540,
67,
2472,
1435,
225,
1930,
2395,
71,
13177,
18,
23162,
1126,
487,
21810,
1126,
225,
468,
1221,
3071,
777,
326,
5536,
87,
854,
7743,
21810,
1126,
18,
9681,
57,
1076,
18,
11100,
67,
8111,
87,
1435,
1172,
315,
8734,
1161,
4973,
6,
225,
8453,
273,
5378,
4124,
273,
5378,
20802,
1121,
273,
5378,
20802,
1121,
15222,
273,
5378,
4124,
15222,
273,
5378,
225,
364,
7212,
316,
1048,
12,
2163,
16,
6969,
4672,
468,
4248,
963,
273,
404,
17685,
12238,
1172,
963,
8453,
18,
6923,
12,
1467,
13,
279,
273,
21810,
1126,
18,
22008,
12443,
1467,
16,
3631,
3182,
33,
15974,
18,
5659,
1578,
13,
324,
273,
21810,
1126,
18,
22008,
12443,
1467,
16,
3631,
3182,
33,
15974,
18,
5659,
1578,
13,
324,
18,
5935,
12,
21,
13,
225,
309,
7212,
405,
4200,
30,
1056,
273,
2130,
469,
30,
1056,
273,
4336,
225,
468,
1937,
5441,
787,
273,
302,
4962,
18,
1133,
1435,
679,
273,
302,
4962,
18,
1133,
1435,
787,
18,
3366,
1435,
225,
468,
71,
13177,
1674,
1492,
4831,
2795,
5352,
1879,
1056,
813,
358,
336,
392,
8164,
364,
277,
316,
1048,
12,
1883,
4672,
279,
15,
70,
225,
468,
5681,
5441,
679,
18,
3366,
1435,
679,
18,
87,
2600,
554,
1435,
225,
468,
11162,
1399,
813,
18043,
273,
787,
18,
957,
67,
88,
737,
12,
409,
17653,
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,
302,
4962,
18,
2738,
1435,
1815,
302,
4962,
18,
3654,
18,
1883,
1435,
1545,
404,
1103,
273,
302,
4962,
18,
3654,
12,
20,
2934,
6540,
67,
2472,
1435,
225,
1930,
2395,
71,
13177,
18,
23162,
1126,
487,
21810,
1126,
225,
468,
1221,
3071,
777,
326,
5536,
87,
854,
7743,
21810,
1126,
18,
9681,
57,
1076,
18,
11100,
67,
8111,
87,
1435,
1172,
315,
8734,
1161,
4973,
6,
225,
8453,
273,
5378,
4124,
273,
5378,
20802,
1121,
273,
5378,
20802,
1121,
15222,
273,
5378,
4124,
15222,
273,
5378,
225,
364,
7212,
316,
1048,
12,
2163,
16,
6969,
4672,
468,
4248,
963,
273,
404,
17685,
12238,
1172,
963,
8453,
18,
6923,
12,
1467,
13,
279,
273,
21810,
1126,
2
] |
var = self._dict[key] if isinstance(key, unicode): key = unicode_to_str(key) new_prefix = prefix if not isinstance(self._schema, Var) and not isinstance(self, List): new_prefix += '.' ret.append(var._cfg_string(new_prefix, print_desc)) | ret.append(self._dict[key]._cfg_string(prefix, print_desc)) | def _cfg_string(self, prefix, print_desc=True): """ Convert object into a string to write into a config file. """ ret = [] prefix = prefix + self._name if type(self._schema) == Var and print_desc: # TODO: more detailed comments, show full spec of var and some examples. ret.append('#\n# %s\n# %s\n#\n' % (prefix, unicode_to_str(self._desc).replace('\n', '\n# '))) print_desc = False | 7564504359a58bf3c53ed875a81c21949f0d85b0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11722/7564504359a58bf3c53ed875a81c21949f0d85b0/config.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
7066,
67,
1080,
12,
2890,
16,
1633,
16,
1172,
67,
5569,
33,
5510,
4672,
3536,
4037,
733,
1368,
279,
533,
358,
1045,
1368,
279,
642,
585,
18,
3536,
325,
273,
5378,
1633,
273,
1633,
397,
365,
6315,
529,
309,
618,
12,
2890,
6315,
4821,
13,
422,
4562,
471,
1172,
67,
5569,
30,
468,
2660,
30,
1898,
6864,
5678,
16,
2405,
1983,
857,
434,
569,
471,
2690,
10991,
18,
325,
18,
6923,
2668,
7,
64,
82,
7,
738,
87,
64,
82,
7,
738,
87,
64,
82,
7,
64,
82,
11,
738,
261,
3239,
16,
5252,
67,
869,
67,
701,
12,
2890,
6315,
5569,
2934,
2079,
2668,
64,
82,
2187,
2337,
82,
7,
296,
20349,
1172,
67,
5569,
273,
1083,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
7066,
67,
1080,
12,
2890,
16,
1633,
16,
1172,
67,
5569,
33,
5510,
4672,
3536,
4037,
733,
1368,
279,
533,
358,
1045,
1368,
279,
642,
585,
18,
3536,
325,
273,
5378,
1633,
273,
1633,
397,
365,
6315,
529,
309,
618,
12,
2890,
6315,
4821,
13,
422,
4562,
471,
1172,
67,
5569,
30,
468,
2660,
30,
1898,
6864,
5678,
16,
2405,
1983,
857,
434,
569,
471,
2690,
10991,
18,
325,
18,
6923,
2668,
7,
64,
82,
7,
738,
87,
64,
82,
7,
738,
87,
64,
82,
7,
64,
82,
11,
738,
261,
3239,
16,
5252,
67,
869,
67,
701,
12,
2890,
6315,
5569,
2934,
2079,
2668,
64,
82,
2187,
2337,
82,
7,
296,
20349,
1172,
67,
5569,
273,
2
] |
"menubar=1,scrollbars=1,width=700,height=600"); | "menubar=1,scrollbars=1,width=800,height=600,resizable=1"); | def javascript(): s = r""" | af1cee52397a7c2a0495960edbce6a1a6ddc969d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/af1cee52397a7c2a0495960edbce6a1a6ddc969d/js.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11341,
13332,
272,
273,
436,
8395,
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,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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,
11341,
13332,
272,
273,
436,
8395,
282,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
subjectMatch = re.match('\s*\[Bug (\d+)\]\s+(New:)?', _get_header(message['Subject'])) | subjectMatch = re.search('\s*\[Bug (\d+)\]\s+(New:)?', _get_header(message['Subject'])) | def __init__(self, message): # Make sure this is actually a bug mail if not message['X-Bugzilla-Product']: raise NotBugmailException, 'Email lacks X-Bugzilla-Product header' # Initialize fields used lower that aren't always set self.dupe_of = None self.attach_id = None | 4e4771a86887620cdc6a8544fcf215c991df8dd4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3483/4e4771a86887620cdc6a8544fcf215c991df8dd4/bugmail.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
883,
4672,
468,
4344,
3071,
333,
353,
6013,
279,
7934,
4791,
309,
486,
883,
3292,
60,
17,
19865,
15990,
17,
4133,
3546,
30,
1002,
2288,
19865,
4408,
503,
16,
296,
4134,
328,
22098,
1139,
17,
19865,
15990,
17,
4133,
1446,
11,
468,
9190,
1466,
1399,
2612,
716,
11526,
1404,
3712,
444,
365,
18,
2544,
347,
67,
792,
273,
599,
365,
18,
7331,
67,
350,
273,
599,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1001,
2738,
972,
12,
2890,
16,
883,
4672,
468,
4344,
3071,
333,
353,
6013,
279,
7934,
4791,
309,
486,
883,
3292,
60,
17,
19865,
15990,
17,
4133,
3546,
30,
1002,
2288,
19865,
4408,
503,
16,
296,
4134,
328,
22098,
1139,
17,
19865,
15990,
17,
4133,
1446,
11,
468,
9190,
1466,
1399,
2612,
716,
11526,
1404,
3712,
444,
365,
18,
2544,
347,
67,
792,
273,
599,
365,
18,
7331,
67,
350,
273,
599,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
while (firstrun or ((time.time() - start) < 180.0)): | origsize = os.path.getsize(file) while (not found and (firstrun or ((time.time() - start) < 180.0))): | def __init__(self, source_dir, files, show_all_leaks=False): '''Reads in a set of files. | eba205b39a4a369569f3d7b7b0eb35e9f8d30214 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5060/eba205b39a4a369569f3d7b7b0eb35e9f8d30214/memcheck_analyze.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
1084,
67,
1214,
16,
1390,
16,
2405,
67,
454,
67,
298,
581,
87,
33,
8381,
4672,
9163,
7483,
316,
279,
444,
434,
1390,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
1084,
67,
1214,
16,
1390,
16,
2405,
67,
454,
67,
298,
581,
87,
33,
8381,
4672,
9163,
7483,
316,
279,
444,
434,
1390,
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
] |
element = _encode(element) | def simpleElement(self, element, value=None): if value: element = _encode(element) value = _encode(value) self.writeln("<%s>%s</%s>" % (element, value, element)) else: self.writeln("<%s/>" % element) | 16ef39eac00a8e7427e308005cddbc7d29a1e9f5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/16ef39eac00a8e7427e308005cddbc7d29a1e9f5/plistlib.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4143,
1046,
12,
2890,
16,
930,
16,
460,
33,
7036,
4672,
309,
460,
30,
460,
273,
389,
3015,
12,
1132,
13,
365,
18,
5363,
292,
82,
2932,
32,
9,
87,
9822,
87,
1757,
9,
87,
2984,
738,
261,
2956,
16,
460,
16,
930,
3719,
469,
30,
365,
18,
5363,
292,
82,
2932,
32,
9,
87,
26293,
738,
930,
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,
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18,
5363,
292,
82,
2932,
32,
9,
87,
9822,
87,
1757,
9,
87,
2984,
738,
261,
2956,
16,
460,
16,
930,
3719,
469,
30,
365,
18,
5363,
292,
82,
2932,
32,
9,
87,
26293,
738,
930,
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
] |
|
if len(X) == self.n: | if len(X) == self.m: | def __call__(self, X): r""" Apply substitution to X. | dd81b4a97db8b232434d8623d237dba45e418834 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/dd81b4a97db8b232434d8623d237dba45e418834/sbox.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
1991,
972,
12,
2890,
16,
1139,
4672,
436,
8395,
5534,
12785,
358,
1139,
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,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0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
1991,
972,
12,
2890,
16,
1139,
4672,
436,
8395,
5534,
12785,
358,
1139,
18,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
p_nodes = [] for k in ligolwInspinjfindNode.keys(): p_nodes.append(ligolwSqliteNodeInjXMLtoDB[k]) for k in sqliteNodeCluster.keys(): p_nodes.append(sqliteNodeCluster[k]) for cat in cats: | p_nodes[cat].append(ligolwSqliteNodeInjXMLtoDB[type+cat]) | def grep_pieces_and_append(string, inname, outname, append_cache=None): expr = re.compile(string) new_list = filter(expr.search,open(inname).readlines()) new_list.sort() print len(new_list) outnames = [] try: os.mkdir(outname) except: pass # To make sure that includes slides and zero lag for i in range(len(new_list)): if not i % 10: outnames.append(outname+"/"+outname+"_"+str(i)) o = open(outnames[-1]+".cache", "w") if append_cache: o.write(''.join(append_cache)) print "grepping " + inname + " for " + string + " and sending it to " + outnames[-1] + ".cache" o.write(new_list[i]) o.write(new_list[i].replace('THINCA_SECOND','THINCA_SLIDE_SECOND')) return outnames | 0b97313a1079214d63930999cbf916815e37ccaf /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5758/0b97313a1079214d63930999cbf916815e37ccaf/highmass_post_process.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
23366,
67,
31016,
67,
464,
67,
6923,
12,
1080,
16,
316,
529,
16,
596,
529,
16,
714,
67,
2493,
33,
7036,
4672,
3065,
273,
283,
18,
11100,
12,
1080,
13,
394,
67,
1098,
273,
1034,
12,
8638,
18,
3072,
16,
3190,
12,
267,
529,
2934,
896,
3548,
10756,
394,
67,
1098,
18,
3804,
1435,
1172,
562,
12,
2704,
67,
1098,
13,
596,
1973,
273,
5378,
775,
30,
1140,
18,
26686,
12,
659,
529,
13,
1335,
30,
1342,
468,
2974,
1221,
3071,
716,
6104,
30119,
471,
3634,
17241,
364,
277,
316,
1048,
12,
1897,
12,
2704,
67,
1098,
3719,
30,
309,
486,
277,
738,
1728,
30,
596,
1973,
18,
6923,
12,
659,
529,
9078,
4898,
15,
659,
529,
9078,
9548,
15,
701,
12,
77,
3719,
320,
273,
1696,
12,
659,
1973,
18919,
21,
3737,
9654,
2493,
3113,
315,
91,
7923,
309,
714,
67,
2493,
30,
320,
18,
2626,
2668,
10332,
5701,
12,
6923,
67,
2493,
3719,
1172,
315,
11556,
84,
1382,
315,
397,
316,
529,
397,
315,
364,
315,
397,
533,
397,
315,
471,
5431,
518,
358,
315,
397,
596,
1973,
18919,
21,
65,
397,
3552,
2493,
6,
320,
18,
2626,
12,
2704,
67,
1098,
63,
77,
5717,
320,
18,
2626,
12,
2704,
67,
1098,
63,
77,
8009,
2079,
2668,
2455,
706,
3587,
67,
16328,
17023,
2455,
706,
3587,
67,
4559,
10385,
67,
16328,
26112,
327,
596,
1973,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
23366,
67,
31016,
67,
464,
67,
6923,
12,
1080,
16,
316,
529,
16,
596,
529,
16,
714,
67,
2493,
33,
7036,
4672,
3065,
273,
283,
18,
11100,
12,
1080,
13,
394,
67,
1098,
273,
1034,
12,
8638,
18,
3072,
16,
3190,
12,
267,
529,
2934,
896,
3548,
10756,
394,
67,
1098,
18,
3804,
1435,
1172,
562,
12,
2704,
67,
1098,
13,
596,
1973,
273,
5378,
775,
30,
1140,
18,
26686,
12,
659,
529,
13,
1335,
30,
1342,
468,
2974,
1221,
3071,
716,
6104,
30119,
471,
3634,
17241,
364,
277,
316,
1048,
12,
1897,
12,
2704,
67,
1098,
3719,
30,
309,
486,
277,
738,
1728,
30,
596,
1973,
18,
6923,
12,
659,
529,
9078,
4898,
15,
659,
529,
9078,
2
] |
Returns information of all dictionaries as xml file | Returns information of all dictionaries as xml file (type string) | def dicts2XML(self): """ Returns information of all dictionaries as xml file """ xml = Element("event") Sub(Sub(xml, "event_id"), "value").text = self.dictEvent['xmlEventID'] event_type = Sub(xml, "event_type") Sub(event_type, "value").text = "manual" Sub(event_type, "user").text = self.username Sub(event_type, "public").text = "%s" % \ self.checkbuttonPublicEvent.get_active() # XXX standard values for unset keys!!!???!!!??? epidists = [] # go through all stream-dictionaries and look for picks for i, dict in enumerate(self.dicts): st = self.streams[i] | 08072571b11b984a33e9ee53ba52401ff881eaff /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10346/08072571b11b984a33e9ee53ba52401ff881eaff/obspyck.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
15838,
22,
4201,
12,
2890,
4672,
3536,
2860,
1779,
434,
777,
16176,
487,
2025,
585,
261,
723,
533,
13,
3536,
2025,
273,
225,
3010,
2932,
2575,
7923,
2592,
12,
1676,
12,
2902,
16,
315,
2575,
67,
350,
6,
3631,
315,
1132,
20387,
955,
273,
365,
18,
1576,
1133,
3292,
2902,
1133,
734,
3546,
871,
67,
723,
273,
2592,
12,
2902,
16,
315,
2575,
67,
723,
7923,
2592,
12,
2575,
67,
723,
16,
315,
1132,
20387,
955,
273,
315,
19840,
6,
2592,
12,
2575,
67,
723,
16,
315,
1355,
20387,
955,
273,
365,
18,
5053,
2592,
12,
2575,
67,
723,
16,
315,
482,
20387,
955,
273,
2213,
87,
6,
738,
521,
365,
18,
1893,
5391,
4782,
1133,
18,
588,
67,
3535,
1435,
225,
468,
11329,
4529,
924,
364,
2646,
1311,
25885,
14646,
35,
25885,
14646,
35,
5529,
350,
1486,
273,
5378,
468,
1960,
3059,
777,
1407,
17,
72,
14336,
471,
2324,
364,
6002,
87,
364,
277,
16,
2065,
316,
4241,
12,
2890,
18,
16287,
4672,
384,
273,
365,
18,
16320,
63,
77,
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
30,
1652,
15838,
22,
4201,
12,
2890,
4672,
3536,
2860,
1779,
434,
777,
16176,
487,
2025,
585,
261,
723,
533,
13,
3536,
2025,
273,
225,
3010,
2932,
2575,
7923,
2592,
12,
1676,
12,
2902,
16,
315,
2575,
67,
350,
6,
3631,
315,
1132,
20387,
955,
273,
365,
18,
1576,
1133,
3292,
2902,
1133,
734,
3546,
871,
67,
723,
273,
2592,
12,
2902,
16,
315,
2575,
67,
723,
7923,
2592,
12,
2575,
67,
723,
16,
315,
1132,
20387,
955,
273,
315,
19840,
6,
2592,
12,
2575,
67,
723,
16,
315,
1355,
20387,
955,
273,
365,
18,
5053,
2592,
12,
2575,
67,
723,
16,
315,
482,
20387,
955,
273,
2213,
87,
6,
738,
521,
365,
18,
1893,
5391,
4782,
1133,
18,
588,
2
] |
time0 = self.names[0],self.formatTime(self.getDeciSeconds(0)) layout0 = self.create_pango_layout("%s: %s" % (time0)) | time0 = self.names[0],self.formatTime(self.getDeciSeconds(0)) layout0 = self.create_pango_layout(" %s: %s " % (time0)) | def draw(self, context): self.dark = self.get_style().dark[gtk.STATE_NORMAL] self.light = self.get_style().light[gtk.STATE_NORMAL] hpad, vpad = 7, 1 #FIXME: The clock will always redraw everything, #while the next line is outcommented #Problem is that saving the redrawingAll in self, #will make natural redraws, as when hidden under another window, #only draw the one side, and leave the other empty. #ra = self.redrawingAll ra = True if ra or self.player == 0: time0 = self.names[0],self.formatTime(self.getDeciSeconds(0)) layout0 = self.create_pango_layout("%s: %s" % (time0)) layout0.set_font_description(pango.FontDescription("Sans Serif 17")) if ra or self.player == 1: time1 = self.names[1],self.formatTime(self.getDeciSeconds(1)) layout1 = self.create_pango_layout("%s: %s" % (time1)) layout1.set_font_description(pango.FontDescription("Sans Serif 17")) if ra: w = layout1.get_pixel_size()[0] + layout0.get_pixel_size()[0] self.set_size_request(w+hpad*4, self.get_size_request()[1]) rect = self.get_allocation() context.rectangle( float(rect.width)/2 * self.player, 0, float(rect.width)/2, rect.height) context.set_source_color(self.dark) context.fill_preserve() context.new_path() if ra or self.player == 0: if self.player == 0: context.set_source_color(self.light) context.move_to(hpad,vpad) context.show_layout(layout0) if ra or self.player == 1: if self.player == 1: context.set_source_color(self.light) else: context.set_source_color(self.dark) context.move_to(float(rect.width)/2+hpad,vpad) context.show_layout(layout1) | 2acae0ecedcbae24d727a712ea9375809b03ce61 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5339/2acae0ecedcbae24d727a712ea9375809b03ce61/ChessClock.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3724,
12,
2890,
16,
819,
4672,
365,
18,
25045,
273,
365,
18,
588,
67,
4060,
7675,
25045,
63,
4521,
79,
18,
7998,
67,
15480,
65,
365,
18,
5099,
273,
365,
18,
588,
67,
4060,
7675,
5099,
63,
4521,
79,
18,
7998,
67,
15480,
65,
225,
366,
6982,
16,
331,
6982,
273,
2371,
16,
404,
468,
25810,
30,
1021,
7268,
903,
3712,
16540,
7756,
16,
468,
17523,
326,
1024,
980,
353,
596,
3469,
329,
468,
13719,
353,
716,
12392,
326,
16540,
310,
1595,
316,
365,
16,
468,
20194,
1221,
15145,
16540,
87,
16,
487,
1347,
5949,
3613,
4042,
2742,
16,
468,
3700,
3724,
326,
1245,
4889,
16,
471,
8851,
326,
1308,
1008,
18,
468,
354,
273,
365,
18,
1118,
1899,
310,
1595,
767,
273,
1053,
225,
309,
767,
578,
365,
18,
14872,
422,
374,
30,
813,
20,
273,
365,
18,
1973,
63,
20,
6487,
2890,
18,
2139,
950,
12,
2890,
18,
588,
1799,
77,
6762,
12,
20,
3719,
3511,
20,
273,
365,
18,
2640,
67,
84,
6399,
67,
6741,
2932,
738,
87,
30,
738,
87,
315,
738,
261,
957,
20,
3719,
3511,
20,
18,
542,
67,
5776,
67,
3384,
12,
84,
6399,
18,
5711,
3291,
2932,
55,
634,
1275,
430,
8043,
6,
3719,
225,
309,
767,
578,
365,
18,
14872,
422,
404,
30,
813,
21,
273,
365,
18,
1973,
63,
21,
6487,
2890,
18,
2139,
950,
12,
2890,
18,
588,
1799,
77,
6762,
12,
21,
3719,
3511,
21,
273,
365,
18,
2640,
67,
84,
6399,
67,
6741,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3724,
12,
2890,
16,
819,
4672,
365,
18,
25045,
273,
365,
18,
588,
67,
4060,
7675,
25045,
63,
4521,
79,
18,
7998,
67,
15480,
65,
365,
18,
5099,
273,
365,
18,
588,
67,
4060,
7675,
5099,
63,
4521,
79,
18,
7998,
67,
15480,
65,
225,
366,
6982,
16,
331,
6982,
273,
2371,
16,
404,
468,
25810,
30,
1021,
7268,
903,
3712,
16540,
7756,
16,
468,
17523,
326,
1024,
980,
353,
596,
3469,
329,
468,
13719,
353,
716,
12392,
326,
16540,
310,
1595,
316,
365,
16,
468,
20194,
1221,
15145,
16540,
87,
16,
487,
1347,
5949,
3613,
4042,
2742,
16,
468,
3700,
3724,
326,
1245,
4889,
16,
471,
8851,
326,
1308,
1008,
18,
468,
354,
273,
365,
18,
1118,
2
] |
R = 0.354 Delta = 0.153 | R = 0.354 * nm Delta = 0.153 * nm | def rho(r): R = 0.354 Delta = 0.153 R1 = R - Delta / 2 R2 = R + Delta / 2 return rho0 * (theta(R2-r) - theta(r-R1)) | b75544167810c12e843d28ad14e98aa9fbb65a57 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13923/b75544167810c12e843d28ad14e98aa9fbb65a57/density.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10360,
12,
86,
4672,
534,
273,
374,
18,
4763,
24,
380,
8442,
17799,
273,
374,
18,
30305,
380,
8442,
534,
21,
273,
534,
300,
17799,
342,
576,
534,
22,
273,
534,
397,
17799,
342,
576,
327,
10360,
20,
380,
261,
14482,
12,
54,
22,
17,
86,
13,
300,
7338,
12,
86,
17,
54,
21,
3719,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
10360,
12,
86,
4672,
534,
273,
374,
18,
4763,
24,
380,
8442,
17799,
273,
374,
18,
30305,
380,
8442,
534,
21,
273,
534,
300,
17799,
342,
576,
534,
22,
273,
534,
397,
17799,
342,
576,
327,
10360,
20,
380,
261,
14482,
12,
54,
22,
17,
86,
13,
300,
7338,
12,
86,
17,
54,
21,
3719,
282,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
for value in vlist: if not all_props.has_key(value): | for vcn, vid in vlist: if vid == '-1': vid = None if not (vid or all_props.has_key((vcn, vid))): | def _editnodes(self, all_props, all_links): ''' Use the props in all_props to perform edit and creation, then use the link specs in all_links to do linking. ''' # figure dependencies and re-work links deps = {} links = {} for cn, nodeid, propname, vlist in all_links: if not all_props.has_key((cn, nodeid)): # link item to link to doesn't (and won't) exist continue for value in vlist: if not all_props.has_key(value): # link item to link to doesn't (and won't) exist continue deps.setdefault((cn, nodeid), []).append(value) links.setdefault(value, []).append((cn, nodeid, propname)) | c818093380b13c4a57125762fb43f13178da1f43 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1906/c818093380b13c4a57125762fb43f13178da1f43/actions.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4619,
4690,
12,
2890,
16,
777,
67,
9693,
16,
777,
67,
7135,
4672,
9163,
2672,
326,
3458,
316,
777,
67,
9693,
358,
3073,
3874,
471,
6710,
16,
1508,
999,
326,
1692,
10607,
316,
777,
67,
7135,
358,
741,
27651,
18,
9163,
468,
7837,
5030,
471,
283,
17,
1252,
4716,
8740,
273,
2618,
4716,
273,
2618,
364,
6227,
16,
756,
350,
16,
2270,
529,
16,
331,
1098,
316,
777,
67,
7135,
30,
309,
486,
777,
67,
9693,
18,
5332,
67,
856,
12443,
10305,
16,
756,
350,
3719,
30,
468,
1692,
761,
358,
1692,
358,
3302,
1404,
261,
464,
8462,
1404,
13,
1005,
1324,
225,
364,
331,
10305,
16,
18339,
316,
331,
1098,
30,
309,
18339,
422,
2400,
21,
4278,
18339,
273,
599,
309,
486,
261,
1246,
578,
777,
67,
9693,
18,
5332,
67,
856,
12443,
4227,
82,
16,
18339,
3719,
4672,
468,
1692,
761,
358,
1692,
358,
3302,
1404,
261,
464,
8462,
1404,
13,
1005,
1324,
8740,
18,
542,
1886,
12443,
10305,
16,
756,
350,
3631,
5378,
2934,
6923,
12,
1132,
13,
4716,
18,
542,
1886,
12,
1132,
16,
5378,
2934,
6923,
12443,
10305,
16,
756,
350,
16,
2270,
529,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4619,
4690,
12,
2890,
16,
777,
67,
9693,
16,
777,
67,
7135,
4672,
9163,
2672,
326,
3458,
316,
777,
67,
9693,
358,
3073,
3874,
471,
6710,
16,
1508,
999,
326,
1692,
10607,
316,
777,
67,
7135,
358,
741,
27651,
18,
9163,
468,
7837,
5030,
471,
283,
17,
1252,
4716,
8740,
273,
2618,
4716,
273,
2618,
364,
6227,
16,
756,
350,
16,
2270,
529,
16,
331,
1098,
316,
777,
67,
7135,
30,
309,
486,
777,
67,
9693,
18,
5332,
67,
856,
12443,
10305,
16,
756,
350,
3719,
30,
468,
1692,
761,
358,
1692,
358,
3302,
1404,
261,
464,
8462,
1404,
13,
1005,
1324,
225,
364,
331,
10305,
16,
18339,
316,
331,
1098,
30,
309,
18339,
422,
2400,
21,
2
] |
def _queryInsertID(self, conn, table, idName, id, names, values): | def _queryInsertID(self, conn, soInstance, id, names, values): | def _queryInsertID(self, conn, table, idName, id, names, values): """Firebird uses 'generators' to create new ids for a table. The users needs to create a generator named GEN_<tablename> for each table this method to work.""" table = soInstance._table idName = soInstance._idName sequenceName = getattr(soInstance, '_idSequence', 'GEN_%s' % table) if id is None: row = self.queryOne('SELECT gen_id(%s,1) FROM rdb$database' % sequenceName) id = row[0] names = [idName] + names values = [id] + values q = self._insertSQL(table, names, values) if self.debug: self.printDebug(conn, q, 'QueryIns') self.query(q) if self.debugOutput: self.printDebug(conn, id, 'QueryIns', 'result') return id | 63839d98b975a4ae6b7a9bf97d1aba01088115e7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8798/63839d98b975a4ae6b7a9bf97d1aba01088115e7/firebirdconnection.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2271,
4600,
734,
12,
2890,
16,
1487,
16,
1427,
1442,
16,
612,
16,
1257,
16,
924,
4672,
3536,
9723,
31245,
4692,
296,
25959,
11,
358,
752,
394,
3258,
364,
279,
1014,
18,
1021,
3677,
4260,
358,
752,
279,
4456,
4141,
611,
1157,
67,
32,
7032,
14724,
34,
364,
1517,
1014,
333,
707,
358,
1440,
12123,
1014,
273,
1427,
1442,
6315,
2121,
612,
461,
273,
1427,
1442,
6315,
350,
461,
3102,
461,
273,
3869,
12,
2048,
1442,
16,
2070,
350,
4021,
2187,
296,
16652,
10185,
87,
11,
738,
1014,
13,
309,
612,
353,
599,
30,
1027,
273,
365,
18,
2271,
3335,
2668,
4803,
3157,
67,
350,
9275,
87,
16,
21,
13,
4571,
436,
1966,
8,
6231,
11,
738,
3102,
461,
13,
612,
273,
1027,
63,
20,
65,
1257,
273,
306,
350,
461,
65,
397,
1257,
924,
273,
306,
350,
65,
397,
924,
1043,
273,
365,
6315,
6387,
3997,
12,
2121,
16,
1257,
16,
924,
13,
309,
365,
18,
4148,
30,
365,
18,
1188,
2829,
12,
4646,
16,
1043,
16,
296,
1138,
5048,
6134,
365,
18,
2271,
12,
85,
13,
309,
365,
18,
4148,
1447,
30,
365,
18,
1188,
2829,
12,
4646,
16,
612,
16,
296,
1138,
5048,
2187,
296,
2088,
6134,
327,
612,
2,
0,
0,
0,
0,
0,
0,
0,
0,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1021,
3677,
4260,
358,
752,
279,
4456,
4141,
611,
1157,
67,
32,
7032,
14724,
34,
364,
1517,
1014,
333,
707,
358,
1440,
12123,
1014,
273,
1427,
1442,
6315,
2121,
612,
461,
273,
1427,
1442,
6315,
350,
461,
3102,
461,
273,
3869,
12,
2048,
1442,
16,
2070,
350,
4021,
2187,
296,
16652,
10185,
87,
11,
738,
1014,
13,
309,
612,
353,
599,
30,
1027,
273,
365,
18,
2271,
3335,
2668,
4803,
3157,
67,
350,
9275,
87,
16,
21,
13,
4571,
436,
1966,
8,
6231,
11,
738,
2
] |
def __dynamicThroughput(self,sourceSEs,destSEs): | def __dynamicThroughput( self, sourceSEs, destSEs ): | def __dynamicThroughput(self,sourceSEs,destSEs): """ This creates a replication tree based on observed throughput on the channels """ res = self.__getTimeToStart() if not res['OK']: gLogger.error(res['Message']) return {} channelInfo = res['Value'] | 9005c0a96ba1bc0698c543bcb4c1886f4eeee344 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/9005c0a96ba1bc0698c543bcb4c1886f4eeee344/ReplicationScheduler.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
14507,
24478,
12,
365,
16,
1084,
1090,
87,
16,
1570,
1090,
87,
262,
30,
3536,
1220,
3414,
279,
11335,
2151,
2511,
603,
12117,
24677,
603,
326,
5750,
3536,
400,
273,
365,
16186,
588,
950,
28939,
1435,
309,
486,
400,
3292,
3141,
3546,
30,
314,
3328,
18,
1636,
12,
455,
3292,
1079,
19486,
327,
2618,
1904,
966,
273,
400,
3292,
620,
3546,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
14507,
24478,
12,
365,
16,
1084,
1090,
87,
16,
1570,
1090,
87,
262,
30,
3536,
1220,
3414,
279,
11335,
2151,
2511,
603,
12117,
24677,
603,
326,
5750,
3536,
400,
273,
365,
16186,
588,
950,
28939,
1435,
309,
486,
400,
3292,
3141,
3546,
30,
314,
3328,
18,
1636,
12,
455,
3292,
1079,
19486,
327,
2618,
1904,
966,
273,
400,
3292,
620,
3546,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
def _reduce_using_macaulay2(self, f): I = self._macaulay2_() M2 = I.parent() R = self.ring() g = M2(R(f)) try: k = M2('%s %% %s'%(g.name(), I.name())) except TypeError: return f return R(k) | def _reduce_using_macaulay2(self, f): I = self._macaulay2_() M2 = I.parent() R = self.ring() g = M2(R(f)) try: k = M2('%s %% %s'%(g.name(), I.name())) except TypeError: # This is OK, since f is in the right ring -- type error # just means it's in base ring (e.g., a constant) return f return R(k) | 4d5fc433022f95252275cc744a20d05dc9c02152 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/4d5fc433022f95252275cc744a20d05dc9c02152/multi_polynomial_ideal.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
12498,
67,
9940,
67,
5821,
69,
332,
528,
22,
12,
2890,
16,
284,
4672,
467,
273,
365,
6315,
5821,
69,
332,
528,
22,
67,
1435,
490,
22,
273,
467,
18,
2938,
1435,
534,
273,
365,
18,
8022,
1435,
314,
273,
490,
22,
12,
54,
12,
74,
3719,
775,
30,
417,
273,
490,
22,
29909,
87,
26510,
738,
87,
11,
17105,
75,
18,
529,
9334,
467,
18,
529,
1435,
3719,
1335,
3580,
30,
468,
1220,
353,
7791,
16,
3241,
284,
353,
316,
326,
2145,
9221,
1493,
618,
555,
468,
2537,
4696,
518,
1807,
316,
1026,
9221,
261,
73,
18,
75,
12990,
279,
5381,
13,
327,
284,
327,
534,
12,
79,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
12498,
67,
9940,
67,
5821,
69,
332,
528,
22,
12,
2890,
16,
284,
4672,
467,
273,
365,
6315,
5821,
69,
332,
528,
22,
67,
1435,
490,
22,
273,
467,
18,
2938,
1435,
534,
273,
365,
18,
8022,
1435,
314,
273,
490,
22,
12,
54,
12,
74,
3719,
775,
30,
417,
273,
490,
22,
29909,
87,
26510,
738,
87,
11,
17105,
75,
18,
529,
9334,
467,
18,
529,
1435,
3719,
1335,
3580,
30,
468,
1220,
353,
7791,
16,
3241,
284,
353,
316,
326,
2145,
9221,
1493,
618,
555,
468,
2537,
4696,
518,
1807,
316,
1026,
9221,
261,
73,
18,
75,
12990,
279,
5381,
13,
327,
284,
327,
534,
12,
79,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
prefix = block[-6:] | prefix = block[-6:] | def get_document_info(stream): """ Extract the \info block from an RTF file. Return the info block as a string and the position in the file at which it starts. @param stream: File like object pointing to the RTF file. """ block_size = 4096 stream.seek(0) found, block = False, "" while not found: prefix = block[-6:] block = prefix + stream.read(block_size) if len(block) == len(prefix): break idx = block.find(r'{\info') if idx >= 0: found = True stream.seek(stream.tell() - block_size + idx - len(prefix)) else: if block.find(r'\sect') > -1: break if not found: return None, 0 data, count, = cStringIO.StringIO(), 0 pos = stream.tell() while True: ch = stream.read(1) if ch == '\\': data.write(ch + stream.read(1)) continue if ch == '{': count += 1 elif ch == '}': count -= 1 data.write(ch) if count == 0: break return data.getvalue(), pos | 48b99181d19bd3f7566610ff184885312a3f7ebf /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9125/48b99181d19bd3f7566610ff184885312a3f7ebf/rtf.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
5457,
67,
1376,
12,
3256,
4672,
3536,
8152,
326,
521,
1376,
1203,
628,
392,
13060,
42,
585,
18,
2000,
326,
1123,
1203,
487,
279,
533,
471,
326,
1754,
316,
326,
585,
622,
1492,
518,
2542,
18,
632,
891,
1407,
30,
1387,
3007,
733,
17022,
358,
326,
13060,
42,
585,
18,
3536,
1203,
67,
1467,
273,
16797,
1407,
18,
16508,
12,
20,
13,
1392,
16,
1203,
273,
1083,
16,
1408,
1323,
486,
1392,
30,
1633,
273,
1203,
18919,
26,
26894,
1203,
273,
1633,
397,
1407,
18,
896,
12,
2629,
67,
1467,
13,
309,
562,
12,
2629,
13,
422,
562,
12,
3239,
4672,
898,
2067,
273,
1203,
18,
4720,
12,
86,
19163,
64,
1376,
6134,
309,
2067,
1545,
374,
30,
1392,
273,
1053,
1407,
18,
16508,
12,
3256,
18,
88,
1165,
1435,
300,
1203,
67,
1467,
397,
2067,
300,
562,
12,
3239,
3719,
469,
30,
309,
1203,
18,
4720,
12,
86,
8314,
5709,
6134,
405,
300,
21,
30,
898,
309,
486,
1392,
30,
327,
599,
16,
374,
501,
16,
1056,
16,
273,
276,
780,
4294,
18,
780,
4294,
9334,
374,
949,
273,
1407,
18,
88,
1165,
1435,
1323,
1053,
30,
462,
273,
1407,
18,
896,
12,
21,
13,
309,
462,
422,
3718,
4278,
501,
18,
2626,
12,
343,
397,
1407,
18,
896,
12,
21,
3719,
1324,
309,
462,
422,
2292,
4278,
1056,
1011,
404,
1327,
462,
422,
9571,
30,
1056,
3947,
404,
501,
18,
2626,
12,
343,
13,
309,
1056,
422,
374,
30,
898,
327,
501,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
5457,
67,
1376,
12,
3256,
4672,
3536,
8152,
326,
521,
1376,
1203,
628,
392,
13060,
42,
585,
18,
2000,
326,
1123,
1203,
487,
279,
533,
471,
326,
1754,
316,
326,
585,
622,
1492,
518,
2542,
18,
632,
891,
1407,
30,
1387,
3007,
733,
17022,
358,
326,
13060,
42,
585,
18,
3536,
1203,
67,
1467,
273,
16797,
1407,
18,
16508,
12,
20,
13,
1392,
16,
1203,
273,
1083,
16,
1408,
1323,
486,
1392,
30,
1633,
273,
1203,
18919,
26,
26894,
1203,
273,
1633,
397,
1407,
18,
896,
12,
2629,
67,
1467,
13,
309,
562,
12,
2629,
13,
422,
562,
12,
3239,
4672,
898,
2067,
273,
1203,
18,
4720,
12,
86,
19163,
64,
1376,
6134,
309,
2067,
1545,
2
] |
name = 'depart_' + self.__class__.__name__ method = getattr(visitor, name, visitor.unknown_departure) visitor.document.reporter.debug( name, category='nodes.Node.walkabout') method(self) | visitor.document.reporter.debug(self.__class__.__name__, category='nodes.Node.walkabout') visitor.dispatch_depart(self, self.__class__.__name__) | def walkabout(self, visitor): """ Perform a tree traversal similarly to `Node.walk()` (which see), except also call ``depart_...`` methods before exiting each node. If there is no ``depart_particular_node`` method for a node of type ``particular_node``, the ``unknown_departure`` method is called. | 5f61b1a9b47ca28d544232f9f82b373f45fe9d32 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1532/5f61b1a9b47ca28d544232f9f82b373f45fe9d32/nodes.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5442,
21071,
12,
2890,
16,
8000,
4672,
3536,
11217,
279,
2151,
15940,
7281,
715,
358,
1375,
907,
18,
11348,
20338,
261,
12784,
2621,
3631,
1335,
2546,
745,
12176,
323,
2680,
67,
2777,
10335,
2590,
1865,
15702,
1517,
756,
18,
971,
1915,
353,
1158,
12176,
323,
2680,
67,
2680,
335,
2490,
67,
2159,
10335,
707,
364,
279,
756,
434,
618,
12176,
2680,
335,
2490,
67,
2159,
68,
9191,
326,
12176,
8172,
67,
323,
2680,
594,
10335,
707,
353,
2566,
18,
2,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5442,
21071,
12,
2890,
16,
8000,
4672,
3536,
11217,
279,
2151,
15940,
7281,
715,
358,
1375,
907,
18,
11348,
20338,
261,
12784,
2621,
3631,
1335,
2546,
745,
12176,
323,
2680,
67,
2777,
10335,
2590,
1865,
15702,
1517,
756,
18,
971,
1915,
353,
1158,
12176,
323,
2680,
67,
2680,
335,
2490,
67,
2159,
10335,
707,
364,
279,
756,
434,
618,
12176,
2680,
335,
2490,
67,
2159,
68,
9191,
326,
12176,
8172,
67,
323,
2680,
594,
10335,
707,
353,
2566,
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
] |
if not self.__skeleton__[table].has_key(col_name): raise ValueError("Table %s has no column %s."%(table,col_name)) | if not self.__skeleton__[table_name].has_key(col_name): raise ValueError("Table %s has no column %s."%(table_name,col_name)) | def make_index(self, col_name, table_name, unique=False): if not self.__skeleton__.has_key(table_name): raise ValueError("Database has no table %s."%table_name) if not self.__skeleton__[table].has_key(col_name): raise ValueError("Table %s has no column %s."%(table,col_name)) | ccd462ba82c8e638768d9aaffb11ed63f3c9a76d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/ccd462ba82c8e638768d9aaffb11ed63f3c9a76d/database.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1221,
67,
1615,
12,
2890,
16,
645,
67,
529,
16,
1014,
67,
529,
16,
3089,
33,
8381,
4672,
309,
486,
365,
16186,
7771,
12143,
25648,
5332,
67,
856,
12,
2121,
67,
529,
4672,
1002,
2068,
2932,
4254,
711,
1158,
1014,
738,
87,
1199,
9,
2121,
67,
529,
13,
309,
486,
365,
16186,
7771,
12143,
972,
63,
2121,
8009,
5332,
67,
856,
12,
1293,
67,
529,
4672,
1002,
2068,
2932,
1388,
738,
87,
711,
1158,
1057,
738,
87,
1199,
17105,
2121,
16,
1293,
67,
529,
3719,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1221,
67,
1615,
12,
2890,
16,
645,
67,
529,
16,
1014,
67,
529,
16,
3089,
33,
8381,
4672,
309,
486,
365,
16186,
7771,
12143,
25648,
5332,
67,
856,
12,
2121,
67,
529,
4672,
1002,
2068,
2932,
4254,
711,
1158,
1014,
738,
87,
1199,
9,
2121,
67,
529,
13,
309,
486,
365,
16186,
7771,
12143,
972,
63,
2121,
8009,
5332,
67,
856,
12,
1293,
67,
529,
4672,
1002,
2068,
2932,
1388,
738,
87,
711,
1158,
1057,
738,
87,
1199,
17105,
2121,
16,
1293,
67,
529,
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
] |
imObj = self.imObjFromKeyVar(keyVar) if imObj == None: return | def updGuideMode(self, guideMode, isCurrent, keyVar): """New guideMode data found. """ #print "%s updGuideMode(guideMode=%r, isCurrent=%r)" % (self.actor, guideMode, isCurrent) self.setGuideState() if not isCurrent: return | 484da39f9f78050a0c3ecbfa1b6b24bec3b0bb09 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6354/484da39f9f78050a0c3ecbfa1b6b24bec3b0bb09/GuideWdg.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2166,
17424,
2309,
12,
2890,
16,
7343,
2309,
16,
25694,
16,
498,
1537,
4672,
3536,
1908,
7343,
2309,
501,
1392,
18,
3536,
468,
1188,
2213,
87,
2166,
17424,
2309,
12,
12118,
2309,
5095,
86,
16,
25694,
5095,
86,
2225,
738,
261,
2890,
18,
3362,
16,
7343,
2309,
16,
25694,
13,
365,
18,
542,
17424,
1119,
1435,
309,
486,
25694,
30,
327,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2166,
17424,
2309,
12,
2890,
16,
7343,
2309,
16,
25694,
16,
498,
1537,
4672,
3536,
1908,
7343,
2309,
501,
1392,
18,
3536,
468,
1188,
2213,
87,
2166,
17424,
2309,
12,
12118,
2309,
5095,
86,
16,
25694,
5095,
86,
2225,
738,
261,
2890,
18,
3362,
16,
7343,
2309,
16,
25694,
13,
365,
18,
542,
17424,
1119,
1435,
309,
486,
25694,
30,
327,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
eventHandler.manageEvent("stateChange",focus) | obj=focus else: obj=NVDAObjects.JAB.JAB(JABObject) eventHandler.manageEvent("stateChange",focus) | def event_stateChange(vmID,accContext,oldState,newState): JABObject=JABObjectWrapper(vmID=vmID,accContext=accContext) focus=api.getFocusObject() if isinstance(focus,NVDAObjects.JAB.JAB) and focus.JABObject==JABObject: eventHandler.manageEvent("stateChange",focus) | f9b2d952a134b24cb8df520045da349463f0008c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9340/f9b2d952a134b24cb8df520045da349463f0008c/JABHandler.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
871,
67,
2019,
3043,
12,
3489,
734,
16,
8981,
1042,
16,
1673,
1119,
16,
2704,
1119,
4672,
804,
2090,
921,
33,
46,
2090,
921,
3611,
12,
3489,
734,
33,
3489,
734,
16,
8981,
1042,
33,
8981,
1042,
13,
7155,
33,
2425,
18,
588,
9233,
921,
1435,
309,
1549,
12,
13923,
16,
11679,
9793,
4710,
18,
46,
2090,
18,
46,
2090,
13,
471,
7155,
18,
46,
2090,
921,
631,
46,
2090,
921,
30,
1081,
33,
13923,
469,
30,
1081,
33,
11679,
9793,
4710,
18,
46,
2090,
18,
46,
2090,
12,
46,
2090,
921,
13,
30441,
18,
12633,
1133,
2932,
2019,
3043,
3113,
13923,
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,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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,
871,
67,
2019,
3043,
12,
3489,
734,
16,
8981,
1042,
16,
1673,
1119,
16,
2704,
1119,
4672,
804,
2090,
921,
33,
46,
2090,
921,
3611,
12,
3489,
734,
33,
3489,
734,
16,
8981,
1042,
33,
8981,
1042,
13,
7155,
33,
2425,
18,
588,
9233,
921,
1435,
309,
1549,
12,
13923,
16,
11679,
9793,
4710,
18,
46,
2090,
18,
46,
2090,
13,
471,
7155,
18,
46,
2090,
921,
631,
46,
2090,
921,
30,
1081,
33,
13923,
469,
30,
1081,
33,
11679,
9793,
4710,
18,
46,
2090,
18,
46,
2090,
12,
46,
2090,
921,
13,
30441,
18,
12633,
1133,
2932,
2019,
3043,
3113,
13923,
13,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.add_text(textwrap.fill(txt)) | self.add_text(textwrap.fill(txt, break_long_words=False)) | def parse_Text(self, node): txt = node.data txt = txt.replace('\\', r'\\\\') txt = txt.replace('"', r'\"') # ignore pure whitespace m = self.space_re.match(txt) if m and len(m.group()) == len(txt): pass else: self.add_text(textwrap.fill(txt)) | d30baf081d85edb86e66350de0ee4cbd45f493f0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13995/d30baf081d85edb86e66350de0ee4cbd45f493f0/doxy2swig.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
67,
1528,
12,
2890,
16,
756,
4672,
6463,
273,
756,
18,
892,
6463,
273,
6463,
18,
2079,
2668,
1695,
2187,
436,
11,
13011,
6134,
6463,
273,
6463,
18,
2079,
22076,
2187,
436,
11,
2412,
6134,
468,
2305,
16618,
7983,
312,
273,
365,
18,
2981,
67,
266,
18,
1916,
12,
5830,
13,
309,
312,
471,
562,
12,
81,
18,
1655,
10756,
422,
562,
12,
5830,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
67,
1528,
12,
2890,
16,
756,
4672,
6463,
273,
756,
18,
892,
6463,
273,
6463,
18,
2079,
2668,
1695,
2187,
436,
11,
13011,
6134,
6463,
273,
6463,
18,
2079,
22076,
2187,
436,
11,
2412,
6134,
468,
2305,
16618,
7983,
312,
273,
365,
18,
2981,
67,
266,
18,
1916,
12,
5830,
13,
309,
312,
471,
562,
12,
81,
18,
1655,
10756,
422,
562,
12,
5830,
4672,
1342,
469,
30,
365,
18,
1289,
67,
955,
12,
955,
4113,
18,
5935,
12,
5830,
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
] |
children.appendleft(self.source[0:start]) | if self.children: children.appendleft(self.source[0:start]) | def _handle(self, node, base_children, eat_parens=False, eat_spaces=False): if hasattr(node, 'region'): # ???: The same node was seen twice; what should we do? warnings.warn( 'Node <%s> has been already patched; please report!' % node.__class__.__name__, RuntimeWarning) return base_children = collections.deque(base_children) self.children_stack.append(base_children) children = collections.deque() formats = [] suspected_start = self.source.offset start = suspected_start first_token = True while base_children: child = base_children.popleft() if child is None: continue offset = self.source.offset if isinstance(child, ast.AST): ast.call_for_nodes(child, self) token_start = child.region[0] else: if child is self.String: region = self.source.consume_string( end=self._find_next_statement_start()) elif child is self.Number: region = self.source.consume_number() elif child == '!=': # INFO: This has been added to handle deprecated ``<>`` region = self.source.consume_not_equal() else: region = self.source.consume(child) child = self.source.get(region[0], region[1]) token_start = region[0] if not first_token: formats.append(self.source.get(offset, token_start)) children.append(self.source.get(offset, token_start)) else: first_token = False start = token_start children.append(child) start = self._handle_parens(children, start, formats) if eat_parens: start = self._eat_surrounding_parens( children, suspected_start, start) if eat_spaces: children.appendleft(self.source[0:start]) end_spaces = self.source[self.source.offset:] self.source.consume(end_spaces) children.append(end_spaces) start = 0 if self.children: node.sorted_children = children node.region = (start, self.source.offset) self.children_stack.pop() | 71999508e8d0016077293b23caae941293cb6074 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8286/71999508e8d0016077293b23caae941293cb6074/patchedast.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4110,
12,
2890,
16,
756,
16,
1026,
67,
5906,
16,
20729,
67,
1848,
2387,
33,
8381,
16,
20729,
67,
9554,
33,
8381,
4672,
309,
3859,
12,
2159,
16,
296,
6858,
11,
4672,
468,
5317,
35,
30,
1021,
1967,
756,
1703,
5881,
13605,
31,
4121,
1410,
732,
741,
35,
5599,
18,
8935,
12,
296,
907,
23930,
87,
34,
711,
2118,
1818,
25786,
31,
9582,
2605,
5124,
738,
756,
16186,
1106,
972,
16186,
529,
972,
16,
2509,
6210,
13,
327,
1026,
67,
5906,
273,
6980,
18,
323,
1857,
12,
1969,
67,
5906,
13,
365,
18,
5906,
67,
3772,
18,
6923,
12,
1969,
67,
5906,
13,
2325,
273,
6980,
18,
323,
1857,
1435,
6449,
273,
5378,
11375,
1789,
67,
1937,
273,
365,
18,
3168,
18,
3348,
787,
273,
11375,
1789,
67,
1937,
1122,
67,
2316,
273,
1053,
1323,
1026,
67,
5906,
30,
1151,
273,
1026,
67,
5906,
18,
5120,
4482,
1435,
309,
1151,
353,
599,
30,
1324,
1384,
273,
365,
18,
3168,
18,
3348,
309,
1549,
12,
3624,
16,
3364,
18,
9053,
4672,
3364,
18,
1991,
67,
1884,
67,
4690,
12,
3624,
16,
365,
13,
1147,
67,
1937,
273,
1151,
18,
6858,
63,
20,
65,
469,
30,
309,
1151,
353,
365,
18,
780,
30,
3020,
273,
365,
18,
3168,
18,
21224,
67,
1080,
12,
679,
33,
2890,
6315,
4720,
67,
4285,
67,
11516,
67,
1937,
10756,
1327,
1151,
353,
365,
18,
1854,
30,
3020,
273,
365,
18,
3168,
18,
21224,
67,
2696,
1435,
1327,
1151,
422,
30311,
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,
389,
4110,
12,
2890,
16,
756,
16,
1026,
67,
5906,
16,
20729,
67,
1848,
2387,
33,
8381,
16,
20729,
67,
9554,
33,
8381,
4672,
309,
3859,
12,
2159,
16,
296,
6858,
11,
4672,
468,
5317,
35,
30,
1021,
1967,
756,
1703,
5881,
13605,
31,
4121,
1410,
732,
741,
35,
5599,
18,
8935,
12,
296,
907,
23930,
87,
34,
711,
2118,
1818,
25786,
31,
9582,
2605,
5124,
738,
756,
16186,
1106,
972,
16186,
529,
972,
16,
2509,
6210,
13,
327,
1026,
67,
5906,
273,
6980,
18,
323,
1857,
12,
1969,
67,
5906,
13,
365,
18,
5906,
67,
3772,
18,
6923,
12,
1969,
67,
5906,
13,
2325,
273,
6980,
18,
323,
1857,
1435,
6449,
273,
5378,
11375,
1789,
67,
1937,
2
] |
class DbInvocationExporter(bulkloader.Exporter): | class AppEngineDbInvocationExporter(bulkloader.Exporter): | def __init__(self): bulkloader.Loader.__init__(self, 'DbInvocation', [('who', db.Key), ('startTime', long), ('endTime', long) ]) | 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,
9267,
2187,
306,
2668,
3350,
83,
2187,
1319,
18,
653,
3631,
7707,
1937,
950,
2187,
1525,
3631,
7707,
409,
950,
2187,
1525,
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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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
] | [
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,
9267,
2187,
306,
2668,
3350,
83,
2187,
1319,
18,
653,
3631,
7707,
1937,
950,
2187,
1525,
3631,
7707,
409,
950,
2187,
1525,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
ifp.close() | ifp.close() | def binhex(inp, out): """(infilename, outfilename) - Create binhex-encoded copy of a file""" finfo = getfileinfo(inp) ofp = BinHex(finfo, out) ifp = open(inp, 'rb') # XXXX Do textfile translation on non-mac systems d = ifp.read() ofp.write(d) ofp.close_data() ifp.close() ifp = openrsrc(inp, 'rb') d = ifp.read() ofp.write_rsrc(d) ofp.close() ifp.close() | a220e67a9ed94d66b81e393a3bb9e6acd10068c1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/a220e67a9ed94d66b81e393a3bb9e6acd10068c1/binhex.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4158,
7118,
12,
31647,
16,
596,
4672,
3536,
12,
267,
3459,
16,
596,
3459,
13,
300,
1788,
4158,
7118,
17,
10787,
1610,
434,
279,
585,
8395,
15190,
273,
336,
768,
1376,
12,
31647,
13,
434,
84,
273,
16827,
7037,
12,
926,
617,
16,
596,
13,
225,
309,
84,
273,
1696,
12,
31647,
16,
296,
6731,
6134,
468,
11329,
60,
2256,
977,
768,
4794,
603,
1661,
17,
5821,
14908,
302,
273,
309,
84,
18,
896,
1435,
434,
84,
18,
2626,
12,
72,
13,
434,
84,
18,
4412,
67,
892,
1435,
309,
84,
18,
4412,
1435,
225,
309,
84,
273,
1696,
86,
4816,
12,
31647,
16,
296,
6731,
6134,
302,
273,
309,
84,
18,
896,
1435,
434,
84,
18,
2626,
67,
86,
4816,
12,
72,
13,
434,
84,
18,
4412,
1435,
309,
84,
18,
4412,
1435,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4158,
7118,
12,
31647,
16,
596,
4672,
3536,
12,
267,
3459,
16,
596,
3459,
13,
300,
1788,
4158,
7118,
17,
10787,
1610,
434,
279,
585,
8395,
15190,
273,
336,
768,
1376,
12,
31647,
13,
434,
84,
273,
16827,
7037,
12,
926,
617,
16,
596,
13,
225,
309,
84,
273,
1696,
12,
31647,
16,
296,
6731,
6134,
468,
11329,
60,
2256,
977,
768,
4794,
603,
1661,
17,
5821,
14908,
302,
273,
309,
84,
18,
896,
1435,
434,
84,
18,
2626,
12,
72,
13,
434,
84,
18,
4412,
67,
892,
1435,
309,
84,
18,
4412,
1435,
225,
309,
84,
273,
1696,
86,
4816,
12,
31647,
16,
296,
6731,
6134,
302,
273,
309,
84,
18,
896,
1435,
434,
84,
18,
2626,
2
] |
for signature, data in crashes.items(): crashes[signature]['total'] = data['win'] + data['mac'] + data['lin'] crashes[signature]['uptime_average'] = crashes[signature]['uptime'] / crash_count[signature] | for pvCombo, data in crashes.items(): for signature, signatureData in crashes[pvCombo].items(): fullKey = (pvCombo[0], pvCombo[1], signature) signatureData['total'] = signatureData['win'] + signatureData['mac'] + signatureData['lin'] signatureData['uptime_average'] = signatureData['uptime'] / crash_count[fullKey] | def calc_tots(crashes, crash_count): """ Calculate the total number of crashes per signature combo, as well as uptime averages. """ for signature, data in crashes.items(): crashes[signature]['total'] = data['win'] + data['mac'] + data['lin'] crashes[signature]['uptime_average'] = crashes[signature]['uptime'] / crash_count[signature] if configContext.debug: for signature, data in crashes.items(): logger.debug("%s Total: %d" % (signature, crashes[signature]['total'])) logger.debug("%s Uptime Average: %d" % (signature, crashes[signature]['uptime_average'])) | 9bf1bf92f169afaf9c9e74b04c6f95339c786a69 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12383/9bf1bf92f169afaf9c9e74b04c6f95339c786a69/topcrashes.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
7029,
67,
3307,
87,
12,
3353,
7690,
16,
17053,
67,
1883,
4672,
3536,
9029,
326,
2078,
1300,
434,
4422,
7690,
1534,
3372,
16778,
16,
487,
5492,
487,
23251,
23713,
1023,
18,
3536,
364,
9770,
16156,
16,
501,
316,
4422,
7690,
18,
3319,
13332,
364,
3372,
16,
3372,
751,
316,
4422,
7690,
63,
25224,
16156,
8009,
3319,
13332,
1983,
653,
273,
261,
25224,
16156,
63,
20,
6487,
9770,
16156,
63,
21,
6487,
3372,
13,
3372,
751,
3292,
4963,
3546,
273,
3372,
751,
3292,
8082,
3546,
397,
3372,
751,
3292,
5821,
3546,
397,
3372,
751,
3292,
7511,
3546,
3372,
751,
3292,
3648,
494,
67,
15621,
3546,
273,
3372,
751,
3292,
3648,
494,
3546,
342,
17053,
67,
1883,
63,
2854,
653,
65,
225,
309,
642,
1042,
18,
4148,
30,
364,
3372,
16,
501,
316,
4422,
7690,
18,
3319,
13332,
1194,
18,
4148,
27188,
87,
10710,
30,
738,
72,
6,
738,
261,
8195,
16,
4422,
7690,
63,
8195,
23962,
4963,
3546,
3719,
1194,
18,
4148,
27188,
87,
587,
10650,
27275,
30,
738,
72,
6,
738,
261,
8195,
16,
4422,
7690,
63,
8195,
23962,
3648,
494,
67,
15621,
3546,
3719,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
7029,
67,
3307,
87,
12,
3353,
7690,
16,
17053,
67,
1883,
4672,
3536,
9029,
326,
2078,
1300,
434,
4422,
7690,
1534,
3372,
16778,
16,
487,
5492,
487,
23251,
23713,
1023,
18,
3536,
364,
9770,
16156,
16,
501,
316,
4422,
7690,
18,
3319,
13332,
364,
3372,
16,
3372,
751,
316,
4422,
7690,
63,
25224,
16156,
8009,
3319,
13332,
1983,
653,
273,
261,
25224,
16156,
63,
20,
6487,
9770,
16156,
63,
21,
6487,
3372,
13,
3372,
751,
3292,
4963,
3546,
273,
3372,
751,
3292,
8082,
3546,
397,
3372,
751,
3292,
5821,
3546,
397,
3372,
751,
3292,
7511,
3546,
3372,
751,
3292,
3648,
494,
67,
15621,
3546,
273,
3372,
751,
3292,
3648,
494,
3546,
342,
17053,
67,
1883,
63,
2854,
653,
2
] |
print "" + module + " needs updating" | log.write("%s needs updating\n" % module) | def changesInSVN(workingDir, log): changesDict = {} | dfae3c6d7c661343c29977b75019e1f250d4e44d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/dfae3c6d7c661343c29977b75019e1f250d4e44d/fullchandler.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3478,
382,
23927,
50,
12,
20478,
1621,
16,
613,
4672,
3478,
5014,
273,
2618,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3478,
382,
23927,
50,
12,
20478,
1621,
16,
613,
4672,
3478,
5014,
273,
2618,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
notes_posn = 'top' | notes_posn = 'top' | def __init__ (self, document): LaTeXTranslator.__init__ (self, document) # record the the settings for codeblocks self.cb_use_pygments = document.settings.cb_use_pygments self.cb_replace_tabs = document.settings.cb_replace_tabs self.cb_default_lang = document.settings.cb_default_lang self.head_prefix = [x for x in self.head_prefix if ('{typearea}' not in x)] #hyperref_posn = [i for i in range (len (self.head_prefix)) # if ('{hyperref}' in self.head_prefix[i])] hyperref_posn = index (self.head_prefix, lambda x: '{hyperref}\n' in x) if (hyperref_posn is None): self.head_prefix.extend ([ '\\usepackage{hyperref}\n' ]) | 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,
1001,
2738,
972,
261,
2890,
16,
1668,
4672,
21072,
21575,
60,
12233,
16186,
2738,
972,
261,
2890,
16,
1668,
13,
225,
468,
1409,
326,
326,
1947,
364,
981,
7996,
365,
18,
7358,
67,
1202,
67,
2074,
75,
1346,
273,
1668,
18,
4272,
18,
7358,
67,
1202,
67,
2074,
75,
1346,
365,
18,
7358,
67,
2079,
67,
16056,
273,
1668,
18,
4272,
18,
7358,
67,
2079,
67,
16056,
365,
18,
7358,
67,
1886,
67,
4936,
273,
1668,
18,
4272,
18,
7358,
67,
1886,
67,
4936,
225,
365,
18,
1978,
67,
3239,
273,
306,
92,
364,
619,
316,
365,
18,
1978,
67,
3239,
309,
7707,
95,
723,
5036,
1713,
486,
316,
619,
25887,
468,
17203,
1734,
67,
917,
82,
273,
306,
77,
364,
277,
316,
1048,
261,
1897,
261,
2890,
18,
1978,
67,
3239,
3719,
468,
565,
309,
7707,
95,
17203,
1734,
1713,
316,
365,
18,
1978,
67,
3239,
63,
77,
5717,
65,
9512,
1734,
67,
917,
82,
273,
770,
261,
2890,
18,
1978,
67,
3239,
16,
3195,
619,
30,
2292,
17203,
1734,
6280,
82,
11,
316,
619,
13,
309,
261,
17203,
1734,
67,
917,
82,
353,
599,
4672,
365,
18,
1978,
67,
3239,
18,
14313,
23265,
3718,
1202,
5610,
95,
17203,
1734,
6280,
82,
11,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
261,
2890,
16,
1668,
4672,
21072,
21575,
60,
12233,
16186,
2738,
972,
261,
2890,
16,
1668,
13,
225,
468,
1409,
326,
326,
1947,
364,
981,
7996,
365,
18,
7358,
67,
1202,
67,
2074,
75,
1346,
273,
1668,
18,
4272,
18,
7358,
67,
1202,
67,
2074,
75,
1346,
365,
18,
7358,
67,
2079,
67,
16056,
273,
1668,
18,
4272,
18,
7358,
67,
2079,
67,
16056,
365,
18,
7358,
67,
1886,
67,
4936,
273,
1668,
18,
4272,
18,
7358,
67,
1886,
67,
4936,
225,
365,
18,
1978,
67,
3239,
273,
306,
92,
364,
619,
316,
365,
18,
1978,
67,
3239,
309,
7707,
95,
723,
5036,
1713,
486,
316,
619,
25887,
468,
17203,
1734,
67,
917,
82,
273,
2
] |
nodes = [] nodes.append(self.expr) nodes.extend(flatten_nodes(self.quals)) return tuple(nodes) | nodelist = [] nodelist.append(self.expr) nodelist.extend(flatten_nodes(self.quals)) return tuple(nodelist) | def getChildNodes(self): nodes = [] nodes.append(self.expr) nodes.extend(flatten_nodes(self.quals)) return tuple(nodes) | 101b9307b0d9de62f324ef9ffa6e83f8040af642 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/101b9307b0d9de62f324ef9ffa6e83f8040af642/ast.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
23895,
12,
2890,
4672,
2199,
273,
5378,
2199,
18,
6923,
12,
2890,
18,
8638,
13,
2199,
18,
14313,
12,
16940,
67,
4690,
12,
2890,
18,
6360,
3719,
327,
3193,
12,
4690,
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,
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12,
2890,
18,
8638,
13,
2199,
18,
14313,
12,
16940,
67,
4690,
12,
2890,
18,
6360,
3719,
327,
3193,
12,
4690,
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
] |
error("package name with empty name or version part") | bb.error("package name with empty name or version part") | def pkgsplit(mypkg, silent=1): """This function can be used as a package verification function. If it is a valid name, pkgsplit will return a list containing: [pkgname, pkgversion(norev), pkgrev ]. >>> pkgsplit('') >>> pkgsplit('x') >>> pkgsplit('x-') >>> pkgsplit('-1') >>> pkgsplit('glibc-1.2-8.9-r7') >>> pkgsplit('glibc-2.2.5-r7') ['glibc', '2.2.5', 'r7'] >>> pkgsplit('foo-1.2-1') >>> pkgsplit('Mesa-3.0') ['Mesa', '3.0', 'r0'] """ try: return __pkgsplit_cache__[mypkg] except KeyError: pass myparts = string.split(mypkg,'-') if len(myparts) < 2: if not silent: error("package name without name or version part") __pkgsplit_cache__[mypkg] = None return None for x in myparts: if len(x) == 0: if not silent: error("package name with empty name or version part") __pkgsplit_cache__[mypkg] = None return None # verify rev revok = 0 myrev = myparts[-1] ververify(myrev, silent) if len(myrev) and myrev[0] == "r": try: string.atoi(myrev[1:]) revok = 1 except: pass if revok: if ververify(myparts[-2]): if len(myparts) == 2: __pkgsplit_cache__[mypkg] = None return None else: for x in myparts[:-2]: if ververify(x): __pkgsplit_cache__[mypkg]=None return None # names can't have versiony looking parts myval=[string.join(myparts[:-2],"-"),myparts[-2],myparts[-1]] __pkgsplit_cache__[mypkg]=myval return myval else: __pkgsplit_cache__[mypkg] = None return None elif ververify(myparts[-1],silent): if len(myparts)==1: if not silent: print "!!! Name error in",mypkg+": missing name part." __pkgsplit_cache__[mypkg]=None return None else: for x in myparts[:-1]: if ververify(x): if not silent: error("package name has multiple version parts") __pkgsplit_cache__[mypkg] = None return None myval = [string.join(myparts[:-1],"-"), myparts[-1],"r0"] __pkgsplit_cache__[mypkg] = myval return myval else: __pkgsplit_cache__[mypkg] = None return None | 8f83be3338d7aef4b6fcef5ea89dc69fa587c1f6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8123/8f83be3338d7aef4b6fcef5ea89dc69fa587c1f6/utils.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
16922,
1127,
12,
81,
879,
14931,
16,
10404,
33,
21,
4672,
225,
3536,
2503,
445,
848,
506,
1399,
487,
279,
2181,
11805,
445,
18,
971,
518,
353,
279,
923,
508,
16,
16922,
1127,
903,
327,
279,
666,
4191,
30,
306,
10657,
529,
16,
3475,
1589,
12,
82,
479,
90,
3631,
3475,
9083,
308,
18,
225,
4080,
16922,
1127,
2668,
6134,
4080,
16922,
1127,
2668,
92,
6134,
4080,
16922,
1127,
2668,
92,
17,
6134,
4080,
16922,
1127,
2668,
17,
21,
6134,
4080,
16922,
1127,
2668,
75,
2941,
71,
17,
21,
18,
22,
17,
28,
18,
29,
17,
86,
27,
6134,
4080,
16922,
1127,
2668,
75,
2941,
71,
17,
22,
18,
22,
18,
25,
17,
86,
27,
6134,
10228,
75,
2941,
71,
2187,
296,
22,
18,
22,
18,
25,
2187,
296,
86,
27,
3546,
4080,
16922,
1127,
2668,
11351,
17,
21,
18,
22,
17,
21,
6134,
4080,
16922,
1127,
2668,
49,
281,
69,
17,
23,
18,
20,
6134,
10228,
49,
281,
69,
2187,
296,
23,
18,
20,
2187,
296,
86,
20,
3546,
3536,
225,
775,
30,
327,
1001,
25376,
1127,
67,
2493,
972,
63,
81,
879,
14931,
65,
1335,
4999,
30,
1342,
225,
312,
879,
485,
87,
273,
533,
18,
4939,
12,
81,
879,
14931,
11189,
17,
6134,
309,
562,
12,
81,
879,
485,
87,
13,
411,
576,
30,
309,
486,
10404,
30,
555,
2932,
5610,
508,
2887,
508,
578,
1177,
1087,
7923,
1001,
25376,
1127,
67,
2493,
972,
63,
81,
879,
14931,
65,
273,
599,
327,
599,
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,
16922,
1127,
12,
81,
879,
14931,
16,
10404,
33,
21,
4672,
225,
3536,
2503,
445,
848,
506,
1399,
487,
279,
2181,
11805,
445,
18,
971,
518,
353,
279,
923,
508,
16,
16922,
1127,
903,
327,
279,
666,
4191,
30,
306,
10657,
529,
16,
3475,
1589,
12,
82,
479,
90,
3631,
3475,
9083,
308,
18,
225,
4080,
16922,
1127,
2668,
6134,
4080,
16922,
1127,
2668,
92,
6134,
4080,
16922,
1127,
2668,
92,
17,
6134,
4080,
16922,
1127,
2668,
17,
21,
6134,
4080,
16922,
1127,
2668,
75,
2941,
71,
17,
21,
18,
22,
17,
28,
18,
29,
17,
86,
27,
6134,
4080,
16922,
1127,
2668,
75,
2941,
71,
17,
22,
18,
22,
18,
25,
17,
86,
27,
6134,
10228,
75,
2
] |
client.upload_docs(args, title=options.title, folder=options.folder) | client.upload_docs(args, title=options.title, folder=options.folder, format=options.format) | def _run_upload(client, options, args): if not args: print 'Need to tell me what to upload!' return client.upload_docs(args, title=options.title, folder=options.folder) | 61a4b8d4493db218ea9e22fefe2e7474032ac77c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2899/61a4b8d4493db218ea9e22fefe2e7474032ac77c/service.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2681,
67,
6327,
12,
2625,
16,
702,
16,
833,
4672,
309,
486,
833,
30,
1172,
296,
14112,
358,
9276,
1791,
4121,
358,
3617,
5124,
327,
1004,
18,
6327,
67,
8532,
12,
1968,
16,
2077,
33,
2116,
18,
2649,
16,
3009,
33,
2116,
18,
5609,
16,
740,
33,
2116,
18,
2139,
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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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2681,
67,
6327,
12,
2625,
16,
702,
16,
833,
4672,
309,
486,
833,
30,
1172,
296,
14112,
358,
9276,
1791,
4121,
358,
3617,
5124,
327,
1004,
18,
6327,
67,
8532,
12,
1968,
16,
2077,
33,
2116,
18,
2649,
16,
3009,
33,
2116,
18,
5609,
16,
740,
33,
2116,
18,
2139,
13,
282,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
cur.execute('SELECT %s FROM packages WHERE pkgKey="%s"' % (tag, pkg.pkgKey)) | cur.execute('SELECT %s FROM packages WHERE pkgKey=?' % tag, (pkg.pkgKey,)) | def getPkgTag(self, pkg, tag): tag = self.PKG2DB.get(tag, tag) if tag not in self.COLUMNS_LOOKUP: return None cur = self._primarydb.cursor() cur.execute('SELECT %s FROM packages WHERE pkgKey="%s"' % (tag, pkg.pkgKey)) return cur.fetchone()[0] | 1bd6adee371af6defb14a869c8d6fece65e51000 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1143/1bd6adee371af6defb14a869c8d6fece65e51000/sqliterepodb.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1689,
14931,
1805,
12,
2890,
16,
3475,
16,
1047,
4672,
1047,
273,
365,
18,
8784,
43,
22,
2290,
18,
588,
12,
2692,
16,
1047,
13,
309,
1047,
486,
316,
365,
18,
25936,
67,
1502,
31581,
30,
327,
599,
662,
273,
365,
6315,
8258,
1966,
18,
9216,
1435,
662,
18,
8837,
2668,
4803,
738,
87,
4571,
5907,
4852,
3475,
653,
33,
4899,
738,
1047,
16,
261,
10657,
18,
10657,
653,
16,
3719,
327,
662,
18,
5754,
476,
1435,
63,
20,
65,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1689,
14931,
1805,
12,
2890,
16,
3475,
16,
1047,
4672,
1047,
273,
365,
18,
8784,
43,
22,
2290,
18,
588,
12,
2692,
16,
1047,
13,
309,
1047,
486,
316,
365,
18,
25936,
67,
1502,
31581,
30,
327,
599,
662,
273,
365,
6315,
8258,
1966,
18,
9216,
1435,
662,
18,
8837,
2668,
4803,
738,
87,
4571,
5907,
4852,
3475,
653,
33,
4899,
738,
1047,
16,
261,
10657,
18,
10657,
653,
16,
3719,
327,
662,
18,
5754,
476,
1435,
63,
20,
65,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
o += "\n%s | if a.getType(): o += "\n%s a.getType().getName()) | o = '\n%sdef %s(self, %s):' % (ID1, op.getName(), iargs) | 625fe7d84a5449dd257a695e5fecb2467bccf05f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/625fe7d84a5449dd257a695e5fecb2467bccf05f/wsdl2dispatch.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
320,
225,
273,
2337,
82,
9,
87,
536,
738,
87,
12,
2890,
16,
738,
87,
13,
2497,
738,
261,
734,
21,
16,
1061,
18,
17994,
9334,
277,
1968,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
320,
225,
273,
2337,
82,
9,
87,
536,
738,
87,
12,
2890,
16,
738,
87,
13,
2497,
738,
261,
734,
21,
16,
1061,
18,
17994,
9334,
277,
1968,
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
] |
m=getattr(self,mname) r=m(uri) return r | m=getattr(self,mname) r=m(uri) return r | def get_prop(self,uri,ns,propname): """ return the value of a given property | 9de3e0cfafc1651bc3dc3871f884c5c8b56c39e6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4009/9de3e0cfafc1651bc3dc3871f884c5c8b56c39e6/iface.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
5986,
12,
2890,
16,
1650,
16,
2387,
16,
5986,
529,
4672,
3536,
327,
326,
460,
434,
279,
864,
1272,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
5986,
12,
2890,
16,
1650,
16,
2387,
16,
5986,
529,
4672,
3536,
327,
326,
460,
434,
279,
864,
1272,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 (0 <= new_position < len(self.playlist)): | if self.playlist is not None and (0 <= new_position < len(self.playlist)): | def _play_current(self, new_position=None, save_resume_time=True): """If you pass in new_position, then this will attempt to play that and will update self.position ONLY if the new_position doesn't exceed the bounds of the playlist. """ if new_position == None: new_position = self.position | 9244961d32a391dc735dbd0cd61455c0f0bbbac7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12354/9244961d32a391dc735dbd0cd61455c0f0bbbac7/playback.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1601,
67,
2972,
12,
2890,
16,
394,
67,
3276,
33,
7036,
16,
1923,
67,
25158,
67,
957,
33,
5510,
4672,
3536,
2047,
1846,
1342,
316,
394,
67,
3276,
16,
1508,
333,
903,
4395,
358,
6599,
716,
471,
903,
1089,
365,
18,
3276,
20747,
309,
326,
394,
67,
3276,
3302,
1404,
9943,
326,
4972,
434,
326,
16428,
18,
3536,
309,
394,
67,
3276,
422,
599,
30,
394,
67,
3276,
273,
365,
18,
3276,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1601,
67,
2972,
12,
2890,
16,
394,
67,
3276,
33,
7036,
16,
1923,
67,
25158,
67,
957,
33,
5510,
4672,
3536,
2047,
1846,
1342,
316,
394,
67,
3276,
16,
1508,
333,
903,
4395,
358,
6599,
716,
471,
903,
1089,
365,
18,
3276,
20747,
309,
326,
394,
67,
3276,
3302,
1404,
9943,
326,
4972,
434,
326,
16428,
18,
3536,
309,
394,
67,
3276,
422,
599,
30,
394,
67,
3276,
273,
365,
18,
3276,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
magic_letters = 'ABCDEFGHIJKLMNOPRSTUVWY' | magic_letters = 'QABCDEFGHIJKLMNOPRSTUVWY' | def _get_prefix(number): """By convention: Q is used for the unique Id of a document X for a long prefix Z for a stemmed word """ magic_letters = 'ABCDEFGHIJKLMNOPRSTUVWY' size = len(magic_letters) result = 'X'*(number/size) return result+magic_letters[number%size] | a4de8a4a8e289eb1099fb76981c29e81c5f06e48 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12681/a4de8a4a8e289eb1099fb76981c29e81c5f06e48/catalog.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
588,
67,
3239,
12,
2696,
4672,
3536,
858,
15797,
30,
2238,
353,
1399,
364,
326,
3089,
3124,
434,
279,
1668,
1139,
364,
279,
1525,
1633,
2285,
364,
279,
13119,
2937,
2076,
3536,
225,
8146,
67,
26054,
273,
296,
53,
26904,
12904,
16715,
45,
19474,
17063,
3417,
8025,
882,
20147,
59,
61,
11,
963,
273,
562,
12,
11179,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
588,
67,
3239,
12,
2696,
4672,
3536,
858,
15797,
30,
2238,
353,
1399,
364,
326,
3089,
3124,
434,
279,
1668,
1139,
364,
279,
1525,
1633,
2285,
364,
279,
13119,
2937,
2076,
3536,
225,
8146,
67,
26054,
273,
296,
53,
26904,
12904,
16715,
45,
19474,
17063,
3417,
8025,
882,
20147,
59,
61,
11,
963,
273,
562,
12,
11179,
67,
26054,
13,
563,
273,
296,
60,
11,
21556,
2696,
19,
1467,
13,
327,
563,
15,
11179,
67,
26054,
63,
2696,
9,
1467,
65,
565,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 dl_prob + d_prob + util.safelog(prob / nsamples, -util.INF) | return dl_prob + d_prob + util.safelog(prob / nsamples) | def prob_dlcoal_recon_topology(coal_tree, coal_recon, locus_tree, locus_recon, locus_events, daughters, stree, n, duprate, lossrate, pretime=None, premean=None, maxdoom=20, nsamples=100, add_spec=True): """ Probability of a reconcile gene tree in the DLCoal model. coal_tree -- coalescent tree coal_recon -- reconciliation of coalescent tree to locus tree locus_tree -- locus tree (has dup-loss) locus_recon -- reconciliation of locus tree to species tree locus_events -- events dict for locus tree stree -- species tree n -- population sizes in species tree duprate -- duplication rate lossrate -- loss rate You must also specify one of the following pretime -- starting time before species tree premean -- mean starting time before species tree Note: locus tree must have implied speciation nodes present """ dups = phylo.count_dup(locus_tree, locus_events) # ensure implicit speciations are present if add_spec: phylo.add_implied_spec_nodes(locus_tree, stree, locus_recon, locus_events) # init popsizes for locus tree stree_popsizes = coal.init_popsizes(stree, n) popsizes = {} for node in locus_tree: popsizes[node.name] = stree_popsizes[locus_recon[node].name] # duploss probability util.tic("top") dl_prob = spidir.calc_birth_death_prior(locus_tree, stree, locus_recon, duprate, lossrate, maxdoom=maxdoom) util.toc() # daughters probability d_prob = dups * log(.5) # integrate over duplication times using sampling prob = 0.0 #util.tic("int") for i in xrange(nsamples): # sample duplication times locus_times = spidir.topology_prior.sample_dup_times( locus_tree, stree, locus_recon, duprate, lossrate, pretime, premean, events=locus_events) assert len(locus_times) == len(locus_tree.nodes), ( len(locus_times), len(locus_tree.nodes)) birthdeath.set_dists_from_timestamps(locus_tree, locus_times) # coal topology probability coal_prob = prob_coal_recon_topology(coal_tree, coal_recon, locus_tree, popsizes, daughters) prob += exp(coal_prob) print coal_prob #util.toc() return dl_prob + d_prob + util.safelog(prob / nsamples, -util.INF) | f97e996acfdbe702a5ae09cef4cb25391e05ee64 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8482/f97e996acfdbe702a5ae09cef4cb25391e05ee64/dlcoal.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3137,
67,
5761,
2894,
287,
67,
266,
591,
67,
25572,
12,
2894,
287,
67,
3413,
16,
1825,
287,
67,
266,
591,
16,
22896,
67,
3413,
16,
22896,
67,
266,
591,
16,
22896,
67,
5989,
16,
5248,
2127,
5432,
16,
384,
992,
16,
290,
16,
9417,
5141,
16,
8324,
5141,
16,
675,
957,
33,
7036,
16,
675,
7079,
33,
7036,
16,
943,
2896,
362,
33,
3462,
16,
3153,
2995,
33,
6625,
16,
527,
67,
2793,
33,
5510,
4672,
3536,
14610,
2967,
434,
279,
27163,
7529,
2151,
316,
326,
463,
48,
4249,
287,
938,
18,
225,
1825,
287,
67,
3413,
565,
1493,
1825,
287,
742,
319,
2151,
1825,
287,
67,
266,
591,
282,
1493,
19078,
16278,
434,
1825,
287,
742,
319,
2151,
358,
22896,
2151,
22896,
67,
3413,
282,
1493,
22896,
2151,
261,
5332,
9417,
17,
7873,
13,
22896,
67,
266,
591,
225,
1493,
19078,
16278,
434,
22896,
2151,
358,
12891,
2151,
22896,
67,
5989,
1493,
2641,
2065,
364,
22896,
2151,
384,
992,
3639,
1493,
12891,
2151,
290,
5411,
1493,
11209,
8453,
316,
12891,
2151,
9417,
5141,
1377,
1493,
31201,
4993,
8324,
5141,
377,
1493,
8324,
4993,
225,
4554,
1297,
2546,
4800,
1245,
434,
326,
3751,
675,
957,
1377,
1493,
5023,
813,
1865,
12891,
2151,
675,
7079,
1377,
1493,
3722,
5023,
813,
1865,
12891,
2151,
225,
3609,
30,
22896,
2151,
1297,
1240,
23547,
857,
7072,
2199,
3430,
3536,
225,
9417,
87,
273,
1844,
93,
383,
18,
1883,
67,
26427,
12,
1829,
407,
67,
3413,
16,
22896,
67,
5989,
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,
3137,
67,
5761,
2894,
287,
67,
266,
591,
67,
25572,
12,
2894,
287,
67,
3413,
16,
1825,
287,
67,
266,
591,
16,
22896,
67,
3413,
16,
22896,
67,
266,
591,
16,
22896,
67,
5989,
16,
5248,
2127,
5432,
16,
384,
992,
16,
290,
16,
9417,
5141,
16,
8324,
5141,
16,
675,
957,
33,
7036,
16,
675,
7079,
33,
7036,
16,
943,
2896,
362,
33,
3462,
16,
3153,
2995,
33,
6625,
16,
527,
67,
2793,
33,
5510,
4672,
3536,
14610,
2967,
434,
279,
27163,
7529,
2151,
316,
326,
463,
48,
4249,
287,
938,
18,
225,
1825,
287,
67,
3413,
565,
1493,
1825,
287,
742,
319,
2151,
1825,
287,
67,
266,
591,
282,
1493,
19078,
16278,
434,
1825,
287,
742,
2
] |
stampedProxy.allDay = True | stampedProxy.anyTime = True | def FinishDrag(self): self.fileDragPosition = None currentCanvasItem = self.dragState.currentDragBox if not currentCanvasItem.CanDrag(): return | ded1dbcffe067794736465d582ee63a6cf07b0e6 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/ded1dbcffe067794736465d582ee63a6cf07b0e6/AllDayCanvas.py | [
1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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
18560,
11728,
12,
2890,
4672,
365,
18,
768,
11728,
2555,
273,
599,
783,
12971,
1180,
273,
365,
18,
15997,
1119,
18,
2972,
11728,
3514,
309,
486,
783,
12971,
1180,
18,
2568,
11728,
13332,
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,
-100,
-100,
-100,
-100,
-100
] |
self.linenum = token.startline + 1 def _repr(self, typ): RANGE = 20 | CONTEXT_RANGE = 20 def __str__(self): RANGE = self.CONTEXT_RANGE if self._fatal: typ = 'Error' else: typ = 'Warning' | def __init__(self, descr, token, charnum): """ Construct a new colorizing exception. @param descr: A short description of the error. @type descr: C{string} @param token: The token where the error occured @type token: L{Token} @param charnum: The character index of the position in C{token} where the error occured. @type charnum: C{int} """ self.descr = descr self.token = token self.charnum = charnum self.linenum = token.startline + 1 | 36ace726c8fc4e9c1a450d16c75087d594ead7cf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/36ace726c8fc4e9c1a450d16c75087d594ead7cf/epytext.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
18426,
16,
1147,
16,
1149,
2107,
4672,
3536,
14291,
279,
394,
2036,
6894,
1520,
18,
225,
632,
891,
18426,
30,
432,
3025,
2477,
434,
326,
555,
18,
632,
723,
18426,
30,
385,
95,
1080,
97,
632,
891,
1147,
30,
1021,
1147,
1625,
326,
555,
16206,
632,
723,
1147,
30,
511,
95,
1345,
97,
632,
891,
1149,
2107,
30,
1021,
3351,
770,
434,
326,
1754,
316,
385,
95,
2316,
97,
1625,
326,
555,
16206,
18,
632,
723,
1149,
2107,
30,
385,
95,
474,
97,
3536,
365,
18,
28313,
273,
18426,
365,
18,
2316,
273,
1147,
365,
18,
343,
1303,
379,
273,
1149,
2107,
365,
18,
7511,
7924,
273,
1147,
18,
1937,
1369,
397,
404,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
632,
891,
18426,
30,
432,
3025,
2477,
434,
326,
555,
18,
632,
723,
18426,
30,
385,
95,
1080,
97,
632,
891,
1147,
30,
1021,
1147,
1625,
326,
555,
16206,
632,
723,
1147,
30,
511,
95,
1345,
97,
632,
891,
1149,
2107,
30,
1021,
3351,
770,
434,
326,
1754,
316,
385,
95,
2316,
97,
1625,
326,
555,
16206,
18,
632,
723,
1149,
2107,
30,
385,
95,
474,
97,
3536,
365,
18,
28313,
273,
18426,
365,
18,
2316,
273,
1147,
365,
18,
343,
1303,
379,
273,
1149,
2107,
365,
18,
7511,
7924,
273,
1147,
18,
1937,
1369,
397,
2
] |
continue | game = 'Non-Steam Game' | def response(self, nick, args, kwargs): try: group_page = geturl(self.group_url) ids = {} for id, name, status in self.member_re.findall(group_page): ids[id] = dict(name=name, status=status) for id, link in self.link_re.findall(group_page): ids[id]['link'] = link ingame = [] online = [] for data in ids.values(): if data['status'] == 'In-Game': page = geturl(data['link']) try: game = self.game_re.search(page).group(1) except AttributeError: continue ingame.append('%s: %s' % (data['name'], game)) elif data['status'] == 'Online': online.append('%s: Online' % data['name']) return '\n'.join(ingame + online) except Exception, error: log.warn(u'error in module %s' % self.__module__) log.exception(error) return u'%s: %s' % (nick, error) | 0de2a70e16e482e00396c96a8bb1fb59315c8b69 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10942/0de2a70e16e482e00396c96a8bb1fb59315c8b69/steam.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
766,
12,
2890,
16,
10909,
16,
833,
16,
1205,
4672,
775,
30,
1041,
67,
2433,
273,
336,
718,
12,
2890,
18,
1655,
67,
718,
13,
3258,
273,
2618,
364,
612,
16,
508,
16,
1267,
316,
365,
18,
5990,
67,
266,
18,
4720,
454,
12,
1655,
67,
2433,
4672,
3258,
63,
350,
65,
273,
2065,
12,
529,
33,
529,
16,
1267,
33,
2327,
13,
364,
612,
16,
1692,
316,
365,
18,
1232,
67,
266,
18,
4720,
454,
12,
1655,
67,
2433,
4672,
3258,
63,
350,
23962,
1232,
3546,
273,
1692,
12152,
339,
273,
5378,
12365,
273,
5378,
364,
501,
316,
3258,
18,
2372,
13332,
309,
501,
3292,
2327,
3546,
422,
296,
382,
17,
12496,
4278,
1363,
273,
336,
718,
12,
892,
3292,
1232,
19486,
775,
30,
7920,
273,
365,
18,
13957,
67,
266,
18,
3072,
12,
2433,
2934,
1655,
12,
21,
13,
1335,
6394,
30,
7920,
273,
296,
3989,
17,
510,
3820,
14121,
11,
12152,
339,
18,
6923,
29909,
87,
30,
738,
87,
11,
738,
261,
892,
3292,
529,
17337,
7920,
3719,
1327,
501,
3292,
2327,
3546,
422,
296,
16860,
4278,
12365,
18,
6923,
29909,
87,
30,
2755,
1369,
11,
738,
501,
3292,
529,
19486,
327,
2337,
82,
10332,
5701,
12,
310,
339,
397,
12365,
13,
1335,
1185,
16,
555,
30,
613,
18,
8935,
12,
89,
11,
1636,
316,
1605,
738,
87,
11,
738,
365,
16186,
2978,
972,
13,
613,
18,
4064,
12,
1636,
13,
327,
582,
11,
9,
87,
30,
738,
87,
11,
738,
261,
17091,
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,
766,
12,
2890,
16,
10909,
16,
833,
16,
1205,
4672,
775,
30,
1041,
67,
2433,
273,
336,
718,
12,
2890,
18,
1655,
67,
718,
13,
3258,
273,
2618,
364,
612,
16,
508,
16,
1267,
316,
365,
18,
5990,
67,
266,
18,
4720,
454,
12,
1655,
67,
2433,
4672,
3258,
63,
350,
65,
273,
2065,
12,
529,
33,
529,
16,
1267,
33,
2327,
13,
364,
612,
16,
1692,
316,
365,
18,
1232,
67,
266,
18,
4720,
454,
12,
1655,
67,
2433,
4672,
3258,
63,
350,
23962,
1232,
3546,
273,
1692,
12152,
339,
273,
5378,
12365,
273,
5378,
364,
501,
316,
3258,
18,
2372,
13332,
309,
501,
3292,
2327,
3546,
422,
296,
382,
17,
12496,
4278,
1363,
273,
336,
718,
2
] |
repr(sys.version)) | repr(sys_version)) | def _sys_version(): """ Returns a parsed version of Python's sys.version as tuple (name, version, branch, revision, buildno, builddate, compiler) referring to the Python implementation name, version, branch, revision, build number, build date/time as string and the compiler identification string. Note that unlike the Python sys.version, the returned value for the Python version will always include the patchlevel (it defaults to '.0'). The function returns empty strings for tuple entries that cannot be determined. """ global _sys_version_cache if _sys_version_cache is not None: return _sys_version_cache if sys.version[:10] == 'IronPython': # IronPython name = 'IronPython' match = _ironpython_sys_version_parser.match(sys.version) if match is None: raise ValueError( 'failed to parse IronPython sys.version: %s' % repr(sys.version)) version, compiler = match.groups() branch = '' revision = '' buildno = '' builddate = '' elif sys.platform[:4] == 'java': # Jython name = 'Jython' match = _jython_sys_version_parser.match(sys.version) if match is None: raise ValueError( 'failed to parse Jython sys.version: %s' % repr(sys.version)) version, = match.groups() branch = '' revision = '' compiler = sys.platform buildno = '' builddate = '' else: # CPython match = _sys_version_parser.match(sys.version) if match is None: raise ValueError( 'failed to parse CPython sys.version: %s' % repr(sys.version)) version, buildno, builddate, buildtime, compiler = \ match.groups() if hasattr(sys, 'subversion'): name, branch, revision = sys.subversion else: name = 'CPython' branch = '' revision = '' builddate = builddate + ' ' + buildtime l = string.split(version, '.') if len(l) == 2: l.append('0') version = string.join(l, '.') _sys_version_cache = (name, version, branch, revision, buildno, builddate, compiler) return _sys_version_cache | 2be9d43c18213be2387f3cdaf9d7bf02fdd37e8d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/2be9d43c18213be2387f3cdaf9d7bf02fdd37e8d/platform.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
9499,
67,
1589,
13332,
225,
3536,
2860,
279,
2707,
1177,
434,
6600,
1807,
2589,
18,
1589,
487,
3193,
261,
529,
16,
1177,
16,
3803,
16,
6350,
16,
1361,
2135,
16,
25666,
330,
449,
340,
16,
5274,
13,
1278,
20245,
358,
326,
6600,
4471,
508,
16,
1177,
16,
3803,
16,
6350,
16,
1361,
1300,
16,
1361,
1509,
19,
957,
487,
533,
471,
326,
5274,
24739,
533,
18,
225,
3609,
716,
640,
5625,
326,
6600,
2589,
18,
1589,
16,
326,
2106,
460,
364,
326,
6600,
1177,
903,
3712,
2341,
326,
4729,
2815,
261,
305,
3467,
358,
2418,
20,
16063,
225,
1021,
445,
1135,
1008,
2064,
364,
3193,
3222,
716,
2780,
506,
11383,
18,
225,
3536,
2552,
389,
9499,
67,
1589,
67,
2493,
225,
309,
389,
9499,
67,
1589,
67,
2493,
353,
486,
599,
30,
327,
389,
9499,
67,
1589,
67,
2493,
225,
309,
2589,
18,
1589,
10531,
2163,
65,
422,
296,
45,
1949,
15774,
4278,
468,
467,
1949,
15774,
508,
273,
296,
45,
1949,
15774,
11,
845,
273,
389,
1913,
8103,
67,
9499,
67,
1589,
67,
4288,
18,
1916,
12,
9499,
18,
1589,
13,
309,
845,
353,
599,
30,
1002,
2068,
12,
296,
7307,
358,
1109,
467,
1949,
15774,
2589,
18,
1589,
30,
738,
87,
11,
738,
8480,
12,
9499,
67,
1589,
3719,
1177,
16,
5274,
273,
845,
18,
4650,
1435,
3803,
273,
875,
6350,
273,
875,
1361,
2135,
273,
875,
25666,
330,
449,
340,
273,
875,
225,
1327,
2589,
18,
9898,
10531,
24,
65,
422,
296,
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,
9499,
67,
1589,
13332,
225,
3536,
2860,
279,
2707,
1177,
434,
6600,
1807,
2589,
18,
1589,
487,
3193,
261,
529,
16,
1177,
16,
3803,
16,
6350,
16,
1361,
2135,
16,
25666,
330,
449,
340,
16,
5274,
13,
1278,
20245,
358,
326,
6600,
4471,
508,
16,
1177,
16,
3803,
16,
6350,
16,
1361,
1300,
16,
1361,
1509,
19,
957,
487,
533,
471,
326,
5274,
24739,
533,
18,
225,
3609,
716,
640,
5625,
326,
6600,
2589,
18,
1589,
16,
326,
2106,
460,
364,
326,
6600,
1177,
903,
3712,
2341,
326,
4729,
2815,
261,
305,
3467,
358,
2418,
20,
16063,
225,
1021,
445,
1135,
1008,
2064,
364,
3193,
3222,
716,
2780,
506,
11383,
18,
225,
3536,
2552,
389,
9499,
67,
2
] |
sage: bessel_J(2,1.1) 0.136564153956658000 sage: bessel_J(0,1.1) 0.719622018527510801 sage: bessel_J(0,1) 0.765197686557966605 | sage: bessel_J(2,1.1) 0.13656415395665... sage: bessel_J(0,1.1) 0.71962201852751... sage: bessel_J(0,1) 0.76519768655796... | def bessel_J(nu,z,alg="pari",prec=53): r""" Return value of the "J-Bessel function", or "Bessel function, 1st kind", with index (or "order") nu and argument z. \begin{verbatim} Defn: Maxima: inf ==== - nu - 2 k nu + 2 k \ (-1)^k 2 z > ------------------------- / k! Gamma(nu + k + 1) ==== k = 0 Pari: inf ==== - 2k 2k \ (-1)^k 2 z Gamma(nu + 1) > ---------------------------- / k! Gamma(nu + k + 1) ==== k = 0 \end{verbatim} Sometimes bessel_J(nu,z) is denoted J_nu(z) in the literature. WARNING: Inaccurate for small values of z. EXAMPLES: sage: bessel_J(2,1.1) # last few digits are random 0.136564153956658000 sage: bessel_J(0,1.1) # last few digits are random 0.719622018527510801 sage: bessel_J(0,1) # last few digits are random 0.765197686557966605 We check consistency of PARI and Maxima: sage: n(bessel_J(3,10,"maxima")) # last few digits are random 0.0583793793051869 sage: n(bessel_J(3,10,"pari")) # last few digits are random 0.0583793793051868 """ if alg=="pari": from sage.libs.pari.all import pari nu = pari(nu) z = pari(z) if nu.imag() or z.imag(): K,a = _setup_CC(prec) else: K,a = _setup(prec) b = K(nu.besselj(z)) pari.set_real_precision(a) return b else: return meval("bessel_j(%s,%s)"%(nu, z)) | 0fb37ff99a113a9a0b53b260456b3ff8fa211fee /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/0fb37ff99a113a9a0b53b260456b3ff8fa211fee/special.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
324,
403,
292,
67,
46,
12,
13053,
16,
94,
16,
18413,
1546,
1065,
77,
3113,
4036,
33,
8643,
4672,
436,
8395,
2000,
460,
434,
326,
315,
46,
17,
38,
403,
292,
445,
3113,
578,
315,
38,
403,
292,
445,
16,
404,
334,
3846,
3113,
598,
770,
261,
280,
315,
1019,
7923,
9244,
471,
1237,
998,
18,
225,
521,
10086,
95,
16629,
22204,
97,
1505,
4293,
30,
4238,
13888,
30,
8286,
422,
631,
1850,
300,
9244,
300,
576,
417,
225,
9244,
397,
576,
417,
521,
377,
24927,
21,
13,
66,
79,
576,
6647,
998,
405,
565,
12146,
788,
342,
3639,
417,
5,
25409,
12,
13053,
397,
417,
397,
404,
13,
422,
631,
417,
273,
374,
225,
2280,
77,
30,
225,
8286,
422,
631,
1850,
300,
576,
79,
565,
576,
79,
521,
377,
24927,
21,
13,
66,
79,
576,
1377,
998,
565,
25409,
12,
13053,
397,
404,
13,
405,
565,
12146,
13849,
342,
540,
417,
5,
25409,
12,
13053,
397,
417,
397,
404,
13,
422,
631,
417,
273,
374,
521,
409,
95,
16629,
22204,
97,
282,
348,
25976,
324,
403,
292,
67,
46,
12,
13053,
16,
94,
13,
353,
5545,
16474,
804,
67,
13053,
12,
94,
13,
316,
326,
328,
2165,
1231,
18,
225,
9744,
30,
657,
69,
2803,
340,
364,
5264,
924,
434,
998,
18,
225,
5675,
8900,
11386,
30,
272,
410,
30,
324,
403,
292,
67,
46,
12,
22,
16,
21,
18,
21,
13,
225,
468,
1142,
11315,
6815,
854,
2744,
374,
18,
3437,
9222,
1105,
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,
324,
403,
292,
67,
46,
12,
13053,
16,
94,
16,
18413,
1546,
1065,
77,
3113,
4036,
33,
8643,
4672,
436,
8395,
2000,
460,
434,
326,
315,
46,
17,
38,
403,
292,
445,
3113,
578,
315,
38,
403,
292,
445,
16,
404,
334,
3846,
3113,
598,
770,
261,
280,
315,
1019,
7923,
9244,
471,
1237,
998,
18,
225,
521,
10086,
95,
16629,
22204,
97,
1505,
4293,
30,
4238,
13888,
30,
8286,
422,
631,
1850,
300,
9244,
300,
576,
417,
225,
9244,
397,
576,
417,
521,
377,
24927,
21,
13,
66,
79,
576,
6647,
998,
405,
565,
12146,
788,
342,
3639,
417,
5,
25409,
12,
13053,
397,
417,
397,
404,
13,
422,
631,
417,
273,
374,
225,
2280,
77,
30,
2
] |
Subsets and Splits