JoaoJunior/T5_APR_java_python_v4
Text2Text Generation
•
Updated
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
|
---|---|---|---|---|---|---|
visit_author = depart_author = lambda self,node: None visit_authors = depart_authors = lambda self,node: None | def visit_author(self, node): raise nodes.SkipNode def visit_authors(self, node): raise nodes.SkipNode | def depart_attention(self, node): self.body.append('</note>\n') | d2ea2631a31ca67e6d03da659353adf4e941a9bc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1278/d2ea2631a31ca67e6d03da659353adf4e941a9bc/docbook.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
26000,
67,
17899,
12,
2890,
16,
756,
4672,
365,
18,
3432,
18,
6923,
2668,
1757,
7652,
5333,
82,
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,
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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
] |
self.db.set_title(self.id, title, notify=False) | def accept(self): try: if self.formats_changed: self.sync_formats() title = unicode(self.title.text()) except IOError, err: if err.errno == 13: # Permission denied fname = err.filename if err.filename else 'file' return error_dialog(self, _('Permission denied'), _('Could not open %s. Is it being used by another' ' program?')%fname, show=True) raise self.db.set_title(self.id, title, notify=False) au = unicode(self.authors.text()) if au: self.db.set_authors(self.id, string_to_authors(au), notify=False) aus = qstring_to_unicode(self.author_sort.text()) if aus: self.db.set_author_sort(self.id, aus, notify=False) self.db.set_isbn(self.id, re.sub(r'[^0-9a-zA-Z]', '', unicode(self.isbn.text())), notify=False) self.db.set_rating(self.id, 2*self.rating.value(), notify=False) self.db.set_publisher(self.id, qstring_to_unicode(self.publisher.currentText()), notify=False) self.db.set_tags(self.id, qstring_to_unicode(self.tags.text()).split(','), notify=False) self.db.set_series(self.id, qstring_to_unicode(self.series.currentText()), notify=False) self.db.set_series_index(self.id, self.series_index.value(), notify=False) self.db.set_comment(self.id, qstring_to_unicode(self.comments.toPlainText()), notify=False) d = self.pubdate.date() self.db.set_pubdate(self.id, datetime(d.year(), d.month(), d.day())) | 958bdb549e4535b849e11baa6908b19f6239f636 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9125/958bdb549e4535b849e11baa6908b19f6239f636/metadata_single.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2791,
12,
2890,
4672,
775,
30,
309,
365,
18,
11962,
67,
6703,
30,
365,
18,
8389,
67,
11962,
1435,
2077,
273,
5252,
12,
2890,
18,
2649,
18,
955,
10756,
1335,
8340,
16,
393,
30,
309,
393,
18,
19088,
422,
5958,
30,
468,
8509,
15338,
5299,
273,
393,
18,
3459,
309,
393,
18,
3459,
469,
296,
768,
11,
327,
555,
67,
12730,
12,
2890,
16,
389,
2668,
5041,
15338,
19899,
389,
2668,
4445,
486,
1696,
738,
87,
18,
2585,
518,
3832,
1399,
635,
4042,
11,
296,
5402,
4899,
13,
9,
12749,
16,
2405,
33,
5510,
13,
1002,
20309,
273,
5252,
12,
2890,
18,
19368,
18,
955,
10756,
309,
20309,
30,
365,
18,
1966,
18,
542,
67,
19368,
12,
2890,
18,
350,
16,
533,
67,
869,
67,
19368,
12,
8377,
3631,
5066,
33,
8381,
13,
279,
407,
273,
1043,
1080,
67,
869,
67,
9124,
12,
2890,
18,
4161,
67,
3804,
18,
955,
10756,
309,
279,
407,
30,
365,
18,
1966,
18,
542,
67,
4161,
67,
3804,
12,
2890,
18,
350,
16,
279,
407,
16,
5066,
33,
8381,
13,
365,
18,
1966,
18,
542,
67,
291,
13392,
12,
2890,
18,
350,
16,
283,
18,
1717,
12,
86,
11,
5969,
20,
17,
29,
69,
17,
9600,
17,
62,
65,
2187,
10226,
5252,
12,
2890,
18,
291,
13392,
18,
955,
10756,
3631,
5066,
33,
8381,
13,
365,
18,
1966,
18,
542,
67,
17326,
12,
2890,
18,
350,
16,
576,
14,
2890,
18,
17326,
18,
1132,
9334,
5066,
33,
8381,
13,
365,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2791,
12,
2890,
4672,
775,
30,
309,
365,
18,
11962,
67,
6703,
30,
365,
18,
8389,
67,
11962,
1435,
2077,
273,
5252,
12,
2890,
18,
2649,
18,
955,
10756,
1335,
8340,
16,
393,
30,
309,
393,
18,
19088,
422,
5958,
30,
468,
8509,
15338,
5299,
273,
393,
18,
3459,
309,
393,
18,
3459,
469,
296,
768,
11,
327,
555,
67,
12730,
12,
2890,
16,
389,
2668,
5041,
15338,
19899,
389,
2668,
4445,
486,
1696,
738,
87,
18,
2585,
518,
3832,
1399,
635,
4042,
11,
296,
5402,
4899,
13,
9,
12749,
16,
2405,
33,
5510,
13,
1002,
20309,
273,
5252,
12,
2890,
18,
19368,
18,
955,
10756,
309,
20309,
30,
365,
18,
1966,
18,
542,
67,
19368,
12,
2890,
2
] |
|
self.task_tv = ActiveTaskTreeView() | self.task_tv = ActiveTaskTreeView() | def _init_ui_widget(self): # The Active tasks treeview self.task_tv = ActiveTaskTreeView()#sort_func=self.sort_tasklist_rows) self.main_pane.add(self.task_tv) | 00dde3da1d1e1513aa3e60b10cffce30a5695d48 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7036/00dde3da1d1e1513aa3e60b10cffce30a5695d48/browser.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2738,
67,
4881,
67,
6587,
12,
2890,
4672,
468,
1021,
8857,
4592,
2151,
1945,
365,
18,
4146,
67,
24161,
273,
8857,
2174,
2471,
1767,
1435,
7,
3804,
67,
644,
33,
2890,
18,
3804,
67,
4146,
1098,
67,
3870,
13,
365,
18,
5254,
67,
29009,
18,
1289,
12,
2890,
18,
4146,
67,
24161,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2738,
67,
4881,
67,
6587,
12,
2890,
4672,
468,
1021,
8857,
4592,
2151,
1945,
365,
18,
4146,
67,
24161,
273,
8857,
2174,
2471,
1767,
1435,
7,
3804,
67,
644,
33,
2890,
18,
3804,
67,
4146,
1098,
67,
3870,
13,
365,
18,
5254,
67,
29009,
18,
1289,
12,
2890,
18,
4146,
67,
24161,
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
] |
"Return a list of files" | """Return a list of files in the specified directory to the client. Defaults to the current working directory. """ | def ftp_LIST(self, line): "Return a list of files" if line: # some FTP clients (like Konqueror or Nautilus) erroneously use # /bin/ls-like LIST formats (e.g. "LIST -l", "LIST -al" and so on...). # If this happens we LIST the current working directory. if line.lower() in ("-a", "-l", "-al", "-la"): path = self.fs.translate(self.fs.cwd) line = self.fs.cwd else: path = self.fs.translate(line) line = self.fs.normalize(line) else: path = self.fs.translate(self.fs.cwd) line = self.fs.cwd | 367a95e4363ae8b7515230480fff6ef354b95226 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3782/367a95e4363ae8b7515230480fff6ef354b95226/FTPServer.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
13487,
67,
7085,
12,
2890,
16,
980,
4672,
3536,
990,
279,
666,
434,
1390,
316,
326,
1269,
1867,
358,
326,
1004,
18,
14159,
358,
326,
783,
5960,
1867,
18,
3536,
309,
980,
30,
468,
2690,
19324,
7712,
261,
5625,
1475,
265,
25734,
280,
578,
16350,
1367,
407,
13,
393,
476,
1481,
715,
999,
468,
342,
4757,
19,
3251,
17,
5625,
15130,
6449,
261,
73,
18,
75,
18,
315,
7085,
300,
80,
3113,
315,
7085,
300,
287,
6,
471,
1427,
603,
2777,
2934,
468,
971,
333,
10555,
732,
15130,
326,
783,
5960,
1867,
18,
309,
980,
18,
8167,
1435,
316,
7566,
17,
69,
3113,
3701,
80,
3113,
3701,
287,
3113,
3701,
11821,
6,
4672,
589,
273,
365,
18,
2556,
18,
13929,
12,
2890,
18,
2556,
18,
11089,
13,
980,
273,
365,
18,
2556,
18,
11089,
469,
30,
589,
273,
365,
18,
2556,
18,
13929,
12,
1369,
13,
980,
273,
365,
18,
2556,
18,
12237,
12,
1369,
13,
469,
30,
589,
273,
365,
18,
2556,
18,
13929,
12,
2890,
18,
2556,
18,
11089,
13,
980,
273,
365,
18,
2556,
18,
11089,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
13487,
67,
7085,
12,
2890,
16,
980,
4672,
3536,
990,
279,
666,
434,
1390,
316,
326,
1269,
1867,
358,
326,
1004,
18,
14159,
358,
326,
783,
5960,
1867,
18,
3536,
309,
980,
30,
468,
2690,
19324,
7712,
261,
5625,
1475,
265,
25734,
280,
578,
16350,
1367,
407,
13,
393,
476,
1481,
715,
999,
468,
342,
4757,
19,
3251,
17,
5625,
15130,
6449,
261,
73,
18,
75,
18,
315,
7085,
300,
80,
3113,
315,
7085,
300,
287,
6,
471,
1427,
603,
2777,
2934,
468,
971,
333,
10555,
732,
15130,
326,
783,
5960,
1867,
18,
309,
980,
18,
8167,
1435,
316,
7566,
17,
69,
3113,
3701,
80,
3113,
3701,
287,
3113,
3701,
11821,
6,
4672,
589,
273,
365,
18,
2556,
2
] |
component.draw(self, view_bounds=(0, 0, self.width(), self.height())) | try: component.draw(self, view_bounds=(0, 0, self.width(), self.height())) finally: self.restore_state() | def render_component(self, component, container_coords=False): """ Renders the given component. Parameters ---------- component : Component The component to be rendered. container_coords : Boolean Whether to use coordinates of the component's container Description ----------- If *container_coords* is False, then the (0,0) coordinate of this graphics context corresponds to the lower-left corner of the component's **outer_bounds**. If *container_coords* is True, then the method draws the component as it appears inside its container, i.e., it treats (0,0) of the graphics context as the lower-left corner of the container's outer bounds. """ x, y = component.outer_position if not container_coords: x = -x y = -y self.translate_ctm(x, y) component.draw(self, view_bounds=(0, 0, self.width(), self.height())) return | 4f84cb75f0e5cf43f983544b727bec05fbb4db4b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13167/4f84cb75f0e5cf43f983544b727bec05fbb4db4b/plot_graphics_context.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1743,
67,
4652,
12,
2890,
16,
1794,
16,
1478,
67,
9076,
33,
8381,
4672,
3536,
534,
10130,
326,
864,
1794,
18,
225,
7012,
12181,
1794,
294,
5435,
1021,
1794,
358,
506,
7935,
18,
1478,
67,
9076,
294,
3411,
17403,
358,
999,
5513,
434,
326,
1794,
1807,
1478,
225,
6507,
300,
15392,
971,
380,
3782,
67,
9076,
14,
353,
1083,
16,
1508,
326,
261,
20,
16,
20,
13,
7799,
434,
333,
17313,
819,
13955,
358,
326,
2612,
17,
4482,
11055,
434,
326,
1794,
1807,
2826,
14068,
67,
10576,
636,
18,
971,
380,
3782,
67,
9076,
14,
353,
1053,
16,
1508,
326,
707,
30013,
326,
1794,
487,
518,
14606,
4832,
2097,
1478,
16,
277,
18,
73,
12990,
518,
9787,
2323,
261,
20,
16,
20,
13,
434,
326,
17313,
819,
487,
326,
2612,
17,
4482,
11055,
434,
326,
1478,
1807,
6390,
4972,
18,
3536,
225,
619,
16,
677,
273,
1794,
18,
14068,
67,
3276,
309,
486,
1478,
67,
9076,
30,
619,
273,
300,
92,
677,
273,
300,
93,
365,
18,
13929,
67,
299,
81,
12,
92,
16,
677,
13,
775,
30,
1794,
18,
9446,
12,
2890,
16,
1476,
67,
10576,
28657,
20,
16,
374,
16,
365,
18,
2819,
9334,
365,
18,
4210,
1435,
3719,
3095,
30,
365,
18,
13991,
67,
2019,
1435,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1743,
67,
4652,
12,
2890,
16,
1794,
16,
1478,
67,
9076,
33,
8381,
4672,
3536,
534,
10130,
326,
864,
1794,
18,
225,
7012,
12181,
1794,
294,
5435,
1021,
1794,
358,
506,
7935,
18,
1478,
67,
9076,
294,
3411,
17403,
358,
999,
5513,
434,
326,
1794,
1807,
1478,
225,
6507,
300,
15392,
971,
380,
3782,
67,
9076,
14,
353,
1083,
16,
1508,
326,
261,
20,
16,
20,
13,
7799,
434,
333,
17313,
819,
13955,
358,
326,
2612,
17,
4482,
11055,
434,
326,
1794,
1807,
2826,
14068,
67,
10576,
636,
18,
971,
380,
3782,
67,
9076,
14,
353,
1053,
16,
1508,
326,
707,
30013,
326,
1794,
487,
518,
14606,
4832,
2097,
1478,
16,
277,
18,
73,
12990,
518,
9787,
2323,
2
] |
wj = Matrix(R, r*c*e, 1, _vars("w",i+1,r*c,e)) | wj = Matrix(R, r*c*e, 1, _vars("w", i+1, r*c, e)) | def round_polynomials(self, i, plaintext = None, ciphertext = None): r""" Return list of polynomials for a given round $i$. | cd82551727ddbae04c5b28f55b59ec14654a84ab /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/cd82551727ddbae04c5b28f55b59ec14654a84ab/sr.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3643,
67,
3915,
13602,
87,
12,
2890,
16,
277,
16,
11917,
273,
599,
16,
12657,
273,
599,
4672,
436,
8395,
2000,
666,
434,
16991,
87,
364,
279,
864,
3643,
271,
77,
8,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3643,
67,
3915,
13602,
87,
12,
2890,
16,
277,
16,
11917,
273,
599,
16,
12657,
273,
599,
4672,
436,
8395,
2000,
666,
434,
16991,
87,
364,
279,
864,
3643,
271,
77,
8,
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
] |
lib.Module.Module.reset(self) | Module.reset(self) | def reset(self): """ Created: 04.11.2004, KP Description: Resets the module to initial state. This method is used mainly when doing previews, when the parameters that control the colocalization are changed and the preview data becomes invalid. """ lib.Module.Module.reset(self) self.colocFilter = vtkbxd.vtkImageColocalizationFilter() self.colocFilter.AddObserver("ProgressEvent", self.updateProgress) | 4f2a0ca14dd2b3eff47dc45fffa2201441e7c68e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2877/4f2a0ca14dd2b3eff47dc45fffa2201441e7c68e/Colocalization.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2715,
12,
2890,
4672,
3536,
12953,
30,
16486,
18,
2499,
18,
6976,
24,
16,
1475,
52,
6507,
30,
1124,
2413,
326,
1605,
358,
2172,
919,
18,
1220,
707,
353,
1399,
31457,
1347,
9957,
675,
7061,
16,
1347,
326,
1472,
716,
3325,
326,
645,
23735,
1588,
854,
3550,
471,
326,
10143,
501,
12724,
2057,
18,
3536,
5924,
18,
6208,
12,
2890,
13,
365,
18,
1293,
504,
1586,
273,
7966,
8899,
7669,
18,
11734,
79,
2040,
914,
23735,
1588,
1586,
1435,
365,
18,
1293,
504,
1586,
18,
986,
11048,
2932,
5491,
1133,
3113,
365,
18,
2725,
5491,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2715,
12,
2890,
4672,
3536,
12953,
30,
16486,
18,
2499,
18,
6976,
24,
16,
1475,
52,
6507,
30,
1124,
2413,
326,
1605,
358,
2172,
919,
18,
1220,
707,
353,
1399,
31457,
1347,
9957,
675,
7061,
16,
1347,
326,
1472,
716,
3325,
326,
645,
23735,
1588,
854,
3550,
471,
326,
10143,
501,
12724,
2057,
18,
3536,
5924,
18,
6208,
12,
2890,
13,
365,
18,
1293,
504,
1586,
273,
7966,
8899,
7669,
18,
11734,
79,
2040,
914,
23735,
1588,
1586,
1435,
365,
18,
1293,
504,
1586,
18,
986,
11048,
2932,
5491,
1133,
3113,
365,
18,
2725,
5491,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
print 'class ' + self.python_name + '(DispatchBaseClass):' if doc[1]: print '\t' + build._safeQuotedString(doc[1]) | stream = generator.file print >> stream, 'class ' + self.python_name + '(DispatchBaseClass):' if doc[1]: print >> stream, '\t' + build._safeQuotedString(doc[1]) | def WriteClassHeader(self, generator): generator.checkWriteDispatchBaseClass() doc = self.doc print 'class ' + self.python_name + '(DispatchBaseClass):' if doc[1]: print '\t' + build._safeQuotedString(doc[1]) try: progId = pythoncom.ProgIDFromCLSID(self.clsid) print "\t# This class is creatable by the name '%s'" % (progId) except pythoncom.com_error: pass print "\tCLSID = " + repr(self.clsid) if self.coclass_clsid is None: print "\tcoclass_clsid = None" else: print "\tcoclass_clsid = " + repr(self.coclass_clsid) print self.bWritten = 1 | cfd84d318292d699ca53899ee423b08bfb797445 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/992/cfd84d318292d699ca53899ee423b08bfb797445/genpy.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2598,
797,
1864,
12,
2890,
16,
4456,
4672,
4456,
18,
1893,
3067,
5325,
2171,
797,
1435,
997,
273,
365,
18,
2434,
1407,
273,
4456,
18,
768,
1172,
1671,
1407,
16,
296,
1106,
296,
397,
365,
18,
8103,
67,
529,
397,
7747,
5325,
2171,
797,
13,
2497,
309,
997,
63,
21,
14542,
1172,
1671,
1407,
16,
2337,
88,
11,
397,
1361,
6315,
4626,
15919,
780,
12,
2434,
63,
21,
5717,
775,
30,
11243,
548,
273,
5790,
832,
18,
626,
75,
734,
1265,
39,
3045,
734,
12,
2890,
18,
6429,
350,
13,
1172,
1548,
88,
7,
1220,
667,
353,
1519,
8163,
635,
326,
508,
1995,
87,
4970,
738,
261,
14654,
548,
13,
1335,
5790,
832,
18,
832,
67,
1636,
30,
1342,
1172,
1548,
88,
39,
3045,
734,
273,
315,
397,
8480,
12,
2890,
18,
6429,
350,
13,
309,
365,
18,
71,
504,
459,
67,
6429,
350,
353,
599,
30,
1172,
1548,
5111,
504,
459,
67,
6429,
350,
273,
599,
6,
469,
30,
1172,
1548,
5111,
504,
459,
67,
6429,
350,
273,
315,
397,
8480,
12,
2890,
18,
71,
504,
459,
67,
6429,
350,
13,
1172,
365,
18,
70,
12643,
273,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2598,
797,
1864,
12,
2890,
16,
4456,
4672,
4456,
18,
1893,
3067,
5325,
2171,
797,
1435,
997,
273,
365,
18,
2434,
1407,
273,
4456,
18,
768,
1172,
1671,
1407,
16,
296,
1106,
296,
397,
365,
18,
8103,
67,
529,
397,
7747,
5325,
2171,
797,
13,
2497,
309,
997,
63,
21,
14542,
1172,
1671,
1407,
16,
2337,
88,
11,
397,
1361,
6315,
4626,
15919,
780,
12,
2434,
63,
21,
5717,
775,
30,
11243,
548,
273,
5790,
832,
18,
626,
75,
734,
1265,
39,
3045,
734,
12,
2890,
18,
6429,
350,
13,
1172,
1548,
88,
7,
1220,
667,
353,
1519,
8163,
635,
326,
508,
1995,
87,
4970,
738,
261,
14654,
548,
13,
1335,
5790,
832,
18,
832,
67,
1636,
30,
2
] |
return '.'.join(self.__schemaGroupPrefix + [ module_base ]) | return '.'.join(self.__schemaGroupPrefixElts + [ module_base ]) | def schemaGroupModulePath (self, schema_group_module): module_base = utility.MakeUnique('_'.join([ _s.schemaLocationTag() for _s in schema_group_module.schemaGroup() ]), self.__uniqueInSchemaGroup) return '.'.join(self.__schemaGroupPrefix + [ module_base ]) | 5eacb77c8998fd31b68477e0ec37388e9983b97b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7171/5eacb77c8998fd31b68477e0ec37388e9983b97b/generate.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1963,
1114,
3120,
743,
261,
2890,
16,
1963,
67,
1655,
67,
2978,
4672,
1605,
67,
1969,
273,
12788,
18,
6464,
6303,
2668,
4623,
18,
5701,
3816,
389,
87,
18,
4821,
2735,
1805,
1435,
364,
389,
87,
316,
1963,
67,
1655,
67,
2978,
18,
4821,
1114,
1435,
308,
3631,
365,
16186,
6270,
382,
3078,
1114,
13,
327,
2611,
18,
5701,
12,
2890,
16186,
4821,
1114,
2244,
397,
306,
1605,
67,
1969,
308,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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389,
87,
316,
1963,
67,
1655,
67,
2978,
18,
4821,
1114,
1435,
308,
3631,
365,
16186,
6270,
382,
3078,
1114,
13,
327,
2611,
18,
5701,
12,
2890,
16186,
4821,
1114,
2244,
397,
306,
1605,
67,
1969,
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
] |
log.error('calling inactivate callback for %s', self) import traceback traceback.print_stack() | log.debug('calling callback on inactive timer (%s)' % repr(self)) | def __call__(self, *args, **kwargs): if not self.active(): # This should not happen, but it does. Somewhere deep inside the # notifier code is a bug log.error('calling inactivate callback for %s', self) import traceback traceback.print_stack() return False | 9347702c90b2b59f94dec592de2e028b533add99 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11722/9347702c90b2b59f94dec592de2e028b533add99/timer.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
1991,
972,
12,
2890,
16,
380,
1968,
16,
2826,
4333,
4672,
309,
486,
365,
18,
3535,
13332,
468,
1220,
1410,
486,
5865,
16,
1496,
518,
1552,
18,
348,
362,
359,
14852,
4608,
4832,
326,
468,
19057,
981,
353,
279,
7934,
613,
18,
1636,
2668,
31623,
316,
10014,
1348,
364,
738,
87,
2187,
365,
13,
1930,
10820,
10820,
18,
1188,
67,
3772,
1435,
327,
1083,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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,
1991,
972,
12,
2890,
16,
380,
1968,
16,
2826,
4333,
4672,
309,
486,
365,
18,
3535,
13332,
468,
1220,
1410,
486,
5865,
16,
1496,
518,
1552,
18,
348,
362,
359,
14852,
4608,
4832,
326,
468,
19057,
981,
353,
279,
7934,
613,
18,
1636,
2668,
31623,
316,
10014,
1348,
364,
738,
87,
2187,
365,
13,
1930,
10820,
10820,
18,
1188,
67,
3772,
1435,
327,
1083,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
masterOccurrences = event.getMaster().occurrences or [] | master = event.getMaster() master.getFirstOccurrence() masterOccurrences = master.occurrences or [] | def mergeFunction(code, item, attribute, value): # 'value' is the one from the *this* view # getattr(item, attribute) is the value from a different view | 11f314f16eeedd75476fb9e98c458e3f76332248 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/11f314f16eeedd75476fb9e98c458e3f76332248/Sharing.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2691,
2083,
12,
710,
16,
761,
16,
1566,
16,
460,
4672,
468,
296,
1132,
11,
353,
326,
1245,
628,
326,
380,
2211,
14,
1476,
468,
3869,
12,
1726,
16,
1566,
13,
353,
326,
460,
628,
279,
3775,
1476,
2,
0,
0,
0,
0,
0,
0,
0,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2691,
2083,
12,
710,
16,
761,
16,
1566,
16,
460,
4672,
468,
296,
1132,
11,
353,
326,
1245,
628,
326,
380,
2211,
14,
1476,
468,
3869,
12,
1726,
16,
1566,
13,
353,
326,
460,
628,
279,
3775,
1476,
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
] |
if where == 'help': | if where == 'epydoc-help': | def _navbar(self, where, uid=None): """ @return: The HTML code for a navigation bar on the given type of page. The navigation bar typically looks like:: [ Package Module Class Tree Index Help ] @rtype: C{string} @param where: The type of page for which a navigation bar should be generated. Possible values are C{'class'}, C{'module'}, C{'package'}, C{'tree'}, C{'index'}, and C{'help'}. @type where: C{string} """ str = self._start_of('Navbar') str += '<table class="navbar" border="0" width="100%"' str += ' cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">\n' str += ' <tr>\n' str += ' <td width="100%">\n' str += ' <table border="0" cellpadding="0" cellspacing="0">\n' str += ' <tr valign="top">\n' | dd7fc26b7d69af6d4765be2a892edca4603899ee /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/dd7fc26b7d69af6d4765be2a892edca4603899ee/html.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
11589,
3215,
12,
2890,
16,
1625,
16,
4555,
33,
7036,
4672,
3536,
632,
2463,
30,
1021,
3982,
981,
364,
279,
10394,
4653,
603,
326,
864,
618,
434,
1363,
18,
225,
1021,
10394,
4653,
14755,
10192,
3007,
2866,
225,
306,
7508,
5924,
1659,
4902,
3340,
11288,
308,
225,
632,
86,
723,
30,
385,
95,
1080,
97,
632,
891,
1625,
30,
1021,
618,
434,
1363,
364,
1492,
279,
10394,
4653,
1410,
506,
4374,
18,
225,
25433,
924,
854,
385,
27828,
1106,
11,
5779,
385,
27828,
2978,
11,
5779,
385,
27828,
5610,
11,
5779,
385,
27828,
3413,
11,
5779,
385,
27828,
1615,
11,
5779,
471,
385,
27828,
5201,
11,
5496,
632,
723,
1625,
30,
385,
95,
1080,
97,
3536,
609,
273,
365,
6315,
1937,
67,
792,
2668,
12599,
3215,
6134,
609,
1011,
2368,
2121,
667,
1546,
11589,
3215,
6,
5795,
1546,
20,
6,
1835,
1546,
6625,
9,
5187,
609,
1011,
296,
2484,
9598,
1546,
20,
6,
31509,
1546,
7,
69,
20,
71,
20,
1403,
6,
2484,
14080,
1546,
20,
6,
5333,
82,
11,
609,
1011,
296,
225,
411,
313,
5333,
82,
11,
609,
1011,
296,
565,
411,
4465,
1835,
1546,
6625,
16407,
5333,
82,
11,
609,
1011,
296,
1377,
411,
2121,
5795,
1546,
20,
6,
2484,
9598,
1546,
20,
6,
2484,
14080,
1546,
20,
6,
5333,
82,
11,
609,
1011,
296,
3639,
411,
313,
1244,
724,
1546,
3669,
6,
5333,
82,
11,
2,
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,
1,
1,
0,
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,
11589,
3215,
12,
2890,
16,
1625,
16,
4555,
33,
7036,
4672,
3536,
632,
2463,
30,
1021,
3982,
981,
364,
279,
10394,
4653,
603,
326,
864,
618,
434,
1363,
18,
225,
1021,
10394,
4653,
14755,
10192,
3007,
2866,
225,
306,
7508,
5924,
1659,
4902,
3340,
11288,
308,
225,
632,
86,
723,
30,
385,
95,
1080,
97,
632,
891,
1625,
30,
1021,
618,
434,
1363,
364,
1492,
279,
10394,
4653,
1410,
506,
4374,
18,
225,
25433,
924,
854,
385,
27828,
1106,
11,
5779,
385,
27828,
2978,
11,
5779,
385,
27828,
5610,
11,
5779,
385,
27828,
3413,
11,
5779,
385,
27828,
1615,
11,
5779,
471,
385,
27828,
5201,
11,
5496,
632,
723,
1625,
30,
385,
95,
1080,
97,
3536,
609,
2
] |
Index = self._DynamicPcdList.index(PcdFromModule) self._DynamicPcdList[Index] = PcdFromModule elif PcdFromModule not in self._NonDynamicPcdList: self._NonDynamicPcdList.append(PcdFromModule) | Index = self._DynaPcdList_.index(PcdFromModule) self._DynaPcdList_[Index] = PcdFromModule elif PcdFromModule not in self._NonDynaPcdList_: self._NonDynaPcdList_.append(PcdFromModule) | def _GetPcdList(self): self._NonDynamicPcdList = [] self._DynamicPcdList = [] | 6f6bc1f6b84bc8f55d69f33d380a27a68e9e9ffe /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/914/6f6bc1f6b84bc8f55d69f33d380a27a68e9e9ffe/AutoGen.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
967,
52,
4315,
682,
12,
2890,
4672,
365,
6315,
3989,
9791,
52,
4315,
682,
273,
5378,
365,
6315,
9791,
52,
4315,
682,
273,
5378,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
967,
52,
4315,
682,
12,
2890,
4672,
365,
6315,
3989,
9791,
52,
4315,
682,
273,
5378,
365,
6315,
9791,
52,
4315,
682,
273,
5378,
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
] |
return message(req, "Reporter %d deleted" % (grp.pk), | transaction.commit() return message(req, "Reporter %d deleted" % (pk), | def post(req): # if DELETE was clicked... delete # the object, then and redirect if req.POST.get("delete", ""): rep.delete() return message(req, "Reporter %d deleted" % (grp.pk), link="/reporters") else: # check the form for errors (just # missing fields, for the time being) errors = check_reporter_form(req) # if any fields were missing, abort. this is # the only server-side check we're doing, for # now, since we're not using django forms here if errors["missing"]: transaction.rollback() return message(req, "Missing Field(s): %s" % ", ".join(errors["missing"]), link="/reporters/%s" % (rep.pk)) try: # automagically update the fields of the # reporter object, from the form update_via_querydict(rep, req.POST).save() update_reporter(req, rep) # no exceptions, so no problems # commit everything to the db transaction.commit() # full-page notification return message(req, "Reporter %d updated" % (rep.pk), link="/reporters") except Exception, err: transaction.rollback() raise | 272ff5db6641e5e163ac6ed2b59baf9aaeee0b7c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11809/272ff5db6641e5e163ac6ed2b59baf9aaeee0b7c/views.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1603,
12,
3658,
4672,
225,
468,
309,
8568,
1703,
17688,
2777,
1430,
468,
326,
733,
16,
1508,
471,
3136,
309,
1111,
18,
3798,
18,
588,
2932,
3733,
3113,
1408,
4672,
2071,
18,
3733,
1435,
225,
2492,
18,
7371,
1435,
327,
883,
12,
3658,
16,
315,
13289,
738,
72,
4282,
6,
738,
261,
5465,
3631,
1692,
1546,
19,
266,
3831,
5432,
7923,
225,
469,
30,
468,
866,
326,
646,
364,
1334,
261,
3732,
468,
3315,
1466,
16,
364,
326,
813,
3832,
13,
1334,
273,
866,
67,
266,
7988,
67,
687,
12,
3658,
13,
225,
468,
309,
1281,
1466,
4591,
3315,
16,
6263,
18,
333,
353,
468,
326,
1338,
1438,
17,
5564,
866,
732,
4565,
9957,
16,
364,
468,
2037,
16,
3241,
732,
4565,
486,
1450,
13710,
10138,
2674,
309,
1334,
9614,
7337,
11929,
30,
2492,
18,
20050,
1435,
327,
883,
12,
3658,
16,
315,
4841,
2286,
12,
87,
4672,
738,
87,
6,
738,
3104,
3552,
5701,
12,
4324,
9614,
7337,
11929,
3631,
1692,
1546,
19,
266,
3831,
5432,
5258,
87,
6,
738,
261,
14462,
18,
5465,
3719,
225,
775,
30,
468,
18472,
346,
6478,
1089,
326,
1466,
434,
326,
468,
11528,
733,
16,
628,
326,
646,
1089,
67,
21985,
67,
2271,
1576,
12,
14462,
16,
1111,
18,
3798,
2934,
5688,
1435,
1089,
67,
266,
7988,
12,
3658,
16,
2071,
13,
225,
468,
1158,
4798,
16,
1427,
1158,
9688,
468,
3294,
7756,
358,
326,
1319,
2492,
18,
7371,
1435,
225,
468,
1983,
17,
2433,
3851,
327,
883,
12,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1603,
12,
3658,
4672,
225,
468,
309,
8568,
1703,
17688,
2777,
1430,
468,
326,
733,
16,
1508,
471,
3136,
309,
1111,
18,
3798,
18,
588,
2932,
3733,
3113,
1408,
4672,
2071,
18,
3733,
1435,
225,
2492,
18,
7371,
1435,
327,
883,
12,
3658,
16,
315,
13289,
738,
72,
4282,
6,
738,
261,
5465,
3631,
1692,
1546,
19,
266,
3831,
5432,
7923,
225,
469,
30,
468,
866,
326,
646,
364,
1334,
261,
3732,
468,
3315,
1466,
16,
364,
326,
813,
3832,
13,
1334,
273,
866,
67,
266,
7988,
67,
687,
12,
3658,
13,
225,
468,
309,
1281,
1466,
4591,
3315,
16,
6263,
18,
333,
353,
468,
326,
1338,
1438,
17,
5564,
866,
732,
4565,
9957,
16,
364,
468,
2037,
2
] |
committer = "%s %s %s" % (changes[1], date, date_ar[1]) | committer = changes[1] | def catcommit(repo, n, prefix, changes=None): nlprefix = '\n' + prefix; (p1, p2) = repo.changelog.parents(n) (h, h1, h2) = map(hg.hex, (n, p1, p2)) (i1, i2) = map(repo.changelog.rev, (p1, p2)) if not changes: changes = repo.changelog.read(n) print "tree %s" % (hg.hex(changes[0])) if i1 != -1: print "parent %s" % (h1) if i2 != -1: print "parent %s" % (h2) date_ar = changes[2] date = int(float(date_ar[0])) lines = changes[4].splitlines() if lines[-1].startswith('committer:'): committer = lines[-1].split(': ')[1].rstrip() else: committer = "%s %s %s" % (changes[1], date, date_ar[1]) print "author %s %s %s" % (changes[1], date, date_ar[1]) print "committer %s" % (committer) print "" if prefix != "": print "%s%s" % (prefix, changes[4].replace('\n', nlprefix).strip()) else: print changes[4] if prefix: sys.stdout.write('\0') | d993c412df8b5ed9788cc1335b2f2ad8f1e0a0ca /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/d993c412df8b5ed9788cc1335b2f2ad8f1e0a0ca/hgk.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6573,
7371,
12,
7422,
16,
290,
16,
1633,
16,
3478,
33,
7036,
4672,
7741,
3239,
273,
2337,
82,
11,
397,
1633,
31,
261,
84,
21,
16,
293,
22,
13,
273,
3538,
18,
24083,
12970,
18,
12606,
12,
82,
13,
261,
76,
16,
366,
21,
16,
366,
22,
13,
273,
852,
12,
26981,
18,
7118,
16,
261,
82,
16,
293,
21,
16,
293,
22,
3719,
261,
77,
21,
16,
277,
22,
13,
273,
852,
12,
7422,
18,
24083,
12970,
18,
9083,
16,
261,
84,
21,
16,
293,
22,
3719,
309,
486,
3478,
30,
3478,
273,
3538,
18,
24083,
12970,
18,
896,
12,
82,
13,
1172,
315,
3413,
738,
87,
6,
738,
261,
26981,
18,
7118,
12,
6329,
63,
20,
22643,
309,
277,
21,
480,
300,
21,
30,
1172,
315,
2938,
738,
87,
6,
738,
261,
76,
21,
13,
309,
277,
22,
480,
300,
21,
30,
1172,
315,
2938,
738,
87,
6,
738,
261,
76,
22,
13,
1509,
67,
297,
273,
3478,
63,
22,
65,
1509,
273,
509,
12,
5659,
12,
712,
67,
297,
63,
20,
22643,
2362,
273,
3478,
63,
24,
8009,
4939,
3548,
1435,
309,
2362,
18919,
21,
8009,
17514,
1918,
2668,
7371,
387,
2497,
4672,
3294,
387,
273,
2362,
18919,
21,
8009,
4939,
2668,
30,
8624,
63,
21,
8009,
86,
6406,
1435,
469,
30,
3294,
387,
273,
3478,
63,
21,
65,
225,
1172,
315,
4161,
738,
87,
738,
87,
738,
87,
6,
738,
261,
6329,
63,
21,
6487,
1509,
16,
1509,
67,
297,
63,
21,
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,
6573,
7371,
12,
7422,
16,
290,
16,
1633,
16,
3478,
33,
7036,
4672,
7741,
3239,
273,
2337,
82,
11,
397,
1633,
31,
261,
84,
21,
16,
293,
22,
13,
273,
3538,
18,
24083,
12970,
18,
12606,
12,
82,
13,
261,
76,
16,
366,
21,
16,
366,
22,
13,
273,
852,
12,
26981,
18,
7118,
16,
261,
82,
16,
293,
21,
16,
293,
22,
3719,
261,
77,
21,
16,
277,
22,
13,
273,
852,
12,
7422,
18,
24083,
12970,
18,
9083,
16,
261,
84,
21,
16,
293,
22,
3719,
309,
486,
3478,
30,
3478,
273,
3538,
18,
24083,
12970,
18,
896,
12,
82,
13,
1172,
315,
3413,
738,
87,
6,
738,
261,
26981,
18,
7118,
12,
6329,
63,
20,
2
] |
self._evsys.createReceiver(brokerhost, topic) | self._evsys.createReceiver(brokerhost, self._topic) | def __init__(self, parent, pollingIntv=0.2, listenTimeout=10): self._parent = parent self._pollintv = pollingIntv self._timeout = listenTimeout brokerhost = parent.policy.get("eventBrokerHost") self._topic = parent.policy.get("shutdownTopic") self._evsys = events.EventSystem.getDefaultEventSystem() self._evsys.createReceiver(brokerhost, topic) | 65a5ee5db100f00f3fbc036c0dc3d5333cd137bb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6549/65a5ee5db100f00f3fbc036c0dc3d5333cd137bb/ProductionRunManager.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
982,
16,
13708,
1702,
90,
33,
20,
18,
22,
16,
6514,
2694,
33,
2163,
4672,
365,
6315,
2938,
273,
982,
365,
6315,
3915,
5671,
90,
273,
13708,
1702,
90,
365,
6315,
4538,
273,
6514,
2694,
8625,
2564,
273,
982,
18,
5086,
18,
588,
2932,
2575,
11194,
2594,
7923,
365,
6315,
10476,
273,
982,
18,
5086,
18,
588,
2932,
15132,
6657,
7923,
365,
6315,
73,
6904,
1900,
273,
2641,
18,
1133,
3163,
18,
588,
1868,
1133,
3163,
1435,
365,
6315,
73,
6904,
1900,
18,
2640,
12952,
12,
21722,
2564,
16,
3958,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
982,
16,
13708,
1702,
90,
33,
20,
18,
22,
16,
6514,
2694,
33,
2163,
4672,
365,
6315,
2938,
273,
982,
365,
6315,
3915,
5671,
90,
273,
13708,
1702,
90,
365,
6315,
4538,
273,
6514,
2694,
8625,
2564,
273,
982,
18,
5086,
18,
588,
2932,
2575,
11194,
2594,
7923,
365,
6315,
10476,
273,
982,
18,
5086,
18,
588,
2932,
15132,
6657,
7923,
365,
6315,
73,
6904,
1900,
273,
2641,
18,
1133,
3163,
18,
588,
1868,
1133,
3163,
1435,
365,
6315,
73,
6904,
1900,
18,
2640,
12952,
12,
21722,
2564,
16,
3958,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return sym | if sym == 'Off': return False elif sym == 'Maximum': return True else: raise Exception, 'Type of symmetry not recognized' | def get_symmetry(self): '''return the type of symmetry used''' nc = netCDF(self.nc,'r') if 'UseSymmetry' in nc.variables: sym = string.join(nc.variables['UseSymmetry'][:],'').strip() else: sym = None nc.close() return sym | 28c3f2a245341cd8f82e1ffe9c9883dad13198ad /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1380/28c3f2a245341cd8f82e1ffe9c9883dad13198ad/jacapo.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
8117,
18042,
12,
2890,
4672,
9163,
2463,
326,
618,
434,
26144,
1399,
26418,
8194,
273,
2901,
39,
4577,
12,
2890,
18,
14202,
11189,
86,
6134,
309,
296,
3727,
11901,
18042,
11,
316,
8194,
18,
7528,
30,
5382,
273,
533,
18,
5701,
12,
14202,
18,
7528,
3292,
3727,
11901,
18042,
3546,
10531,
6487,
6309,
2934,
6406,
1435,
469,
30,
5382,
273,
599,
225,
8194,
18,
4412,
1435,
327,
5382,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
8117,
18042,
12,
2890,
4672,
9163,
2463,
326,
618,
434,
26144,
1399,
26418,
8194,
273,
2901,
39,
4577,
12,
2890,
18,
14202,
11189,
86,
6134,
309,
296,
3727,
11901,
18042,
11,
316,
8194,
18,
7528,
30,
5382,
273,
533,
18,
5701,
12,
14202,
18,
7528,
3292,
3727,
11901,
18042,
3546,
10531,
6487,
6309,
2934,
6406,
1435,
469,
30,
5382,
273,
599,
225,
8194,
18,
4412,
1435,
327,
5382,
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
] |
prepareExamples() | prepareExamples(self.examplesPath, docProjects) | def run(self): core = wnsbase.playground.Core.getCore() print "Identifying projects for documentation ..." # find all documentation projects: docProjects = [] masterDocumentationProject = None for project in core.getProjects().all: if isinstance(project, (wnsbase.playground.Project.Library, wnsbase.playground.Project.Binary, wnsbase.playground.Project.Documentation)): print "... found: " + project.getDir() docProjects.append(project) if isinstance(project, wnsbase.playground.Project.MasterDocumentation): # we can have only 1 (in words: one) master documentation project assert masterDocumentationProject == None masterDocumentationProject = project | 8ab6ae673014c9781abdb74a1de9511fdde2ef90 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8259/8ab6ae673014c9781abdb74a1de9511fdde2ef90/CPPDocumentation.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
12,
2890,
4672,
2922,
273,
341,
2387,
1969,
18,
1601,
2915,
18,
4670,
18,
588,
4670,
1435,
1172,
315,
25787,
310,
10137,
364,
7323,
18483,
468,
1104,
777,
7323,
10137,
30,
997,
15298,
273,
5378,
4171,
18905,
4109,
273,
599,
364,
1984,
316,
2922,
18,
588,
15298,
7675,
454,
30,
309,
1549,
12,
4406,
16,
261,
91,
2387,
1969,
18,
1601,
2915,
18,
4109,
18,
9313,
16,
341,
2387,
1969,
18,
1601,
2915,
18,
4109,
18,
5905,
16,
341,
2387,
1969,
18,
1601,
2915,
18,
4109,
18,
18905,
3719,
30,
1172,
31305,
1392,
30,
315,
397,
1984,
18,
588,
1621,
1435,
997,
15298,
18,
6923,
12,
4406,
13,
309,
1549,
12,
4406,
16,
341,
2387,
1969,
18,
1601,
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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,
1086,
12,
2890,
4672,
2922,
273,
341,
2387,
1969,
18,
1601,
2915,
18,
4670,
18,
588,
4670,
1435,
1172,
315,
25787,
310,
10137,
364,
7323,
18483,
468,
1104,
777,
7323,
10137,
30,
997,
15298,
273,
5378,
4171,
18905,
4109,
273,
599,
364,
1984,
316,
2922,
18,
588,
15298,
7675,
454,
30,
309,
1549,
12,
4406,
16,
261,
91,
2387,
1969,
18,
1601,
2915,
18,
4109,
18,
9313,
16,
341,
2387,
1969,
18,
1601,
2915,
18,
4109,
18,
5905,
16,
341,
2387,
1969,
18,
1601,
2915,
18,
4109,
18,
18905,
3719,
30,
1172,
31305,
1392,
30,
315,
397,
1984,
18,
588,
1621,
1435,
997,
15298,
18,
6923,
12,
4406,
13,
309,
1549,
12,
4406,
16,
341,
2387,
1969,
18,
2
] |
if comment != None: | if comment is not None: | def new_param(name, type, value, comment = None): """ Construct a LIGO Light Weight XML Param document subtree. """ elem = Param({"Name": "%s:param" % name, "Type": type}) elem.pcdata = value if comment != None: elem.appendChild(ligolw.Comment()) elem.childNodes[-1].pcdata = comment return elem | ceb0e82121957f9b5dbb10315d3df2f96fe6125b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5758/ceb0e82121957f9b5dbb10315d3df2f96fe6125b/param.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
394,
67,
891,
12,
529,
16,
618,
16,
460,
16,
2879,
273,
599,
4672,
3536,
14291,
279,
511,
3047,
51,
15992,
15437,
3167,
3014,
1668,
12773,
18,
3536,
3659,
273,
3014,
12590,
6,
461,
6877,
2213,
87,
30,
891,
6,
738,
508,
16,
315,
559,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
394,
67,
891,
12,
529,
16,
618,
16,
460,
16,
2879,
273,
599,
4672,
3536,
14291,
279,
511,
3047,
51,
15992,
15437,
3167,
3014,
1668,
12773,
18,
3536,
3659,
273,
3014,
12590,
6,
461,
6877,
2213,
87,
30,
891,
6,
738,
508,
16,
315,
559,
6877,
618,
6792,
3659,
18,
2436,
892,
273,
460,
309,
2879,
353,
486,
599,
30,
3659,
18,
6923,
1763,
12,
80,
360,
355,
91,
18,
4469,
10756,
3659,
18,
3624,
3205,
18919,
21,
8009,
2436,
892,
273,
2879,
327,
3659,
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
] |
self.hash = sha.new(str(self.id) + settings.SECRET_KEY).hexdigest() | self.hash = sha1(str(self.id) + settings.SECRET_KEY).hexdigest() | def save(self, *args, **kwargs): super(Attachment, self).save(*args, **kwargs) if not self.hash: self.hash = sha.new(str(self.id) + settings.SECRET_KEY).hexdigest() super(Attachment, self).save(*args, **kwargs) | 2fcad80040e98e5642b0105e5ff91967a31a22ba /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12938/2fcad80040e98e5642b0105e5ff91967a31a22ba/models.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1923,
12,
2890,
16,
380,
1968,
16,
2826,
4333,
4672,
2240,
12,
6803,
16,
365,
2934,
5688,
30857,
1968,
16,
2826,
4333,
13,
309,
486,
365,
18,
2816,
30,
365,
18,
2816,
273,
6056,
21,
12,
701,
12,
2890,
18,
350,
13,
397,
1947,
18,
20455,
67,
3297,
2934,
7118,
10171,
1435,
2240,
12,
6803,
16,
365,
2934,
5688,
30857,
1968,
16,
2826,
4333,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1923,
12,
2890,
16,
380,
1968,
16,
2826,
4333,
4672,
2240,
12,
6803,
16,
365,
2934,
5688,
30857,
1968,
16,
2826,
4333,
13,
309,
486,
365,
18,
2816,
30,
365,
18,
2816,
273,
6056,
21,
12,
701,
12,
2890,
18,
350,
13,
397,
1947,
18,
20455,
67,
3297,
2934,
7118,
10171,
1435,
2240,
12,
6803,
16,
365,
2934,
5688,
30857,
1968,
16,
2826,
4333,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
q = F.order() n = len(G.columns()) | def extended_code(self): r""" If self is a linear code of length n defined over F then this returns the code of length n+1 where the last digit $c_n$ satisfies the check condition $c_0+...+c_n=0$. If self is an $[n,k,d]$ binary code then the extended code $C^{\vee}$ is an $[n+1,k,d^{\vee}]$ code, where $d^=d$ (if d is even) and $d^{\vee}=d+1$ (if $d$ is odd). | 0ba98abb880903a64744b106daee6f5e9f0c2143 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/0ba98abb880903a64744b106daee6f5e9f0c2143/linear_code.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
7021,
67,
710,
12,
2890,
4672,
436,
8395,
971,
365,
353,
279,
9103,
981,
434,
769,
290,
2553,
1879,
478,
1508,
333,
1135,
326,
981,
434,
769,
290,
15,
21,
1625,
326,
1142,
8035,
271,
71,
67,
82,
8,
17917,
326,
866,
2269,
271,
71,
67,
20,
15,
2777,
15,
71,
67,
82,
33,
20,
8,
18,
971,
365,
353,
392,
271,
63,
82,
16,
79,
16,
72,
65,
8,
3112,
981,
1508,
326,
7021,
981,
271,
39,
66,
23241,
537,
73,
22496,
353,
392,
271,
63,
82,
15,
21,
16,
79,
16,
72,
66,
23241,
537,
73,
11839,
8,
981,
16,
1625,
271,
72,
66,
33,
72,
8,
261,
430,
302,
353,
5456,
13,
471,
271,
72,
66,
23241,
537,
73,
97,
33,
72,
15,
21,
8,
261,
430,
271,
72,
8,
353,
14800,
2934,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
15,
21,
1625,
326,
1142,
8035,
271,
71,
67,
82,
8,
17917,
326,
866,
2269,
271,
71,
67,
20,
15,
2777,
15,
71,
67,
82,
33,
20,
8,
18,
971,
365,
353,
392,
271,
63,
82,
16,
79,
16,
72,
65,
8,
3112,
981,
1508,
326,
7021,
981,
271,
39,
66,
23241,
537,
73,
22496,
353,
392,
271,
63,
82,
15,
21,
16,
79,
16,
72,
66,
23241,
537,
73,
11839,
8,
981,
16,
1625,
271,
72,
66,
33,
72,
8,
261,
430,
302,
353,
5456,
13,
471,
271,
72,
2
] |
|
return self._qexp | if prec is None: return self._qexp elif prec > self.prec(): raise ValueError else: return self._qexp.add_bigoh(prec) | def qexp(self): r""" Return the q-expansion of self, to as high precision as it is known. | ed0a3ce8f392224845d699a88cf40b90f375c64a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/ed0a3ce8f392224845d699a88cf40b90f375c64a/genus0.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1043,
2749,
12,
2890,
4672,
436,
8395,
2000,
326,
1043,
17,
2749,
12162,
434,
365,
16,
358,
487,
3551,
6039,
487,
518,
353,
4846,
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,
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
316,
326,
981,
30,
1652,
1043,
2749,
12,
2890,
4672,
436,
8395,
2000,
326,
1043,
17,
2749,
12162,
434,
365,
16,
358,
487,
3551,
6039,
487,
518,
353,
4846,
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
] |
if ans is not None and result_sign == 1: ans = _dec_from_triple(1, ans._int, ans._exp) exact = True | if ans is not None: if result_sign == 1: ans = _dec_from_triple(1, ans._int, ans._exp) exact = True | def __pow__(self, other, modulo=None, context=None): """Return self ** other [ % modulo]. | e64fd149cf2d5a6f11c492b83c0f9b78b52a03d8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12029/e64fd149cf2d5a6f11c492b83c0f9b78b52a03d8/decimal.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
23509,
972,
12,
2890,
16,
1308,
16,
26109,
33,
7036,
16,
819,
33,
7036,
4672,
3536,
990,
365,
2826,
1308,
306,
738,
26109,
8009,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
23509,
972,
12,
2890,
16,
1308,
16,
26109,
33,
7036,
16,
819,
33,
7036,
4672,
3536,
990,
365,
2826,
1308,
306,
738,
26109,
8009,
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
] |
class CWarningsDisplayTests(WarningsDisplayTests): | class CWarningsDisplayTests(BaseTest, WarningsDisplayTests): | def test_showwarning(self): file_name = os.path.splitext(warning_tests.__file__)[0] + '.py' line_num = 3 expected_file_line = linecache.getline(file_name, line_num).strip() message = 'msg' category = Warning file_object = StringIO.StringIO() expect = self.module.formatwarning(message, category, file_name, line_num) self.module.showwarning(message, category, file_name, line_num, file_object) self.failUnlessEqual(file_object.getvalue(), expect) # Test 'line' argument. expected_file_line += "for the win!" expect = self.module.formatwarning(message, category, file_name, line_num, expected_file_line) file_object = StringIO.StringIO() self.module.showwarning(message, category, file_name, line_num, file_object, expected_file_line) self.failUnlessEqual(expect, file_object.getvalue()) | 5561b5a428065a2753637468b90a1bbcdc8ab686 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12029/5561b5a428065a2753637468b90a1bbcdc8ab686/test_warnings.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
4500,
8551,
12,
2890,
4672,
585,
67,
529,
273,
1140,
18,
803,
18,
4939,
408,
12,
8551,
67,
16341,
16186,
768,
972,
25146,
20,
65,
397,
2418,
2074,
11,
980,
67,
2107,
273,
890,
2665,
67,
768,
67,
1369,
273,
4739,
557,
807,
18,
588,
1369,
12,
768,
67,
529,
16,
980,
67,
2107,
2934,
6406,
1435,
883,
273,
296,
3576,
11,
3150,
273,
9728,
585,
67,
1612,
273,
15777,
18,
780,
4294,
1435,
4489,
273,
365,
18,
2978,
18,
2139,
8551,
12,
2150,
16,
3150,
16,
585,
67,
529,
16,
980,
67,
2107,
13,
365,
18,
2978,
18,
4500,
8551,
12,
2150,
16,
3150,
16,
585,
67,
529,
16,
980,
67,
2107,
16,
585,
67,
1612,
13,
365,
18,
6870,
984,
2656,
5812,
12,
768,
67,
1612,
18,
588,
1132,
9334,
4489,
13,
468,
7766,
296,
1369,
11,
1237,
18,
2665,
67,
768,
67,
1369,
1011,
315,
1884,
326,
5657,
4442,
4489,
273,
365,
18,
2978,
18,
2139,
8551,
12,
2150,
16,
3150,
16,
585,
67,
529,
16,
980,
67,
2107,
16,
2665,
67,
768,
67,
1369,
13,
585,
67,
1612,
273,
15777,
18,
780,
4294,
1435,
365,
18,
2978,
18,
4500,
8551,
12,
2150,
16,
3150,
16,
585,
67,
529,
16,
980,
67,
2107,
16,
585,
67,
1612,
16,
2665,
67,
768,
67,
1369,
13,
365,
18,
6870,
984,
2656,
5812,
12,
12339,
16,
585,
67,
1612,
18,
588,
1132,
10756,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
4500,
8551,
12,
2890,
4672,
585,
67,
529,
273,
1140,
18,
803,
18,
4939,
408,
12,
8551,
67,
16341,
16186,
768,
972,
25146,
20,
65,
397,
2418,
2074,
11,
980,
67,
2107,
273,
890,
2665,
67,
768,
67,
1369,
273,
4739,
557,
807,
18,
588,
1369,
12,
768,
67,
529,
16,
980,
67,
2107,
2934,
6406,
1435,
883,
273,
296,
3576,
11,
3150,
273,
9728,
585,
67,
1612,
273,
15777,
18,
780,
4294,
1435,
4489,
273,
365,
18,
2978,
18,
2139,
8551,
12,
2150,
16,
3150,
16,
585,
67,
529,
16,
980,
67,
2107,
13,
365,
18,
2978,
18,
4500,
8551,
12,
2150,
16,
3150,
16,
585,
67,
529,
16,
980,
67,
2107,
16,
585,
67,
2
] |
saved_user_config = config.sidebar user_config = copy.copy(saved_user_config) for name in sidebar_snapins.keys(): found = False for n, u in user_config: if n == name: found = True if not found: user_config.append((name, "off")) return [ entry for entry in user_config if config.may("sidesnap." + entry[0])] | user_config = config.sidebar return [ entry for entry in user_config if entry[1] != "off" and config.may("sidesnap." + entry[0])] | def load_user_config(): path = config.user_confdir + "/sidebar.mk" try: saved_user_config = eval(file(path).read()) except: saved_user_config = config.sidebar # Now make sure that all snapins are listed in the config # even if turned off. user_config = copy.copy(saved_user_config) for name in sidebar_snapins.keys(): found = False for n, u in user_config: if n == name: found = True if not found: user_config.append((name, "off")) # Remove entries the user is not allowed for return [ entry for entry in user_config if config.may("sidesnap." + entry[0])] | b185948e5da39c0e150c572bd72289e8878338c9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5589/b185948e5da39c0e150c572bd72289e8878338c9/sidebar.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1262,
67,
1355,
67,
1425,
13332,
589,
273,
642,
18,
1355,
67,
3923,
1214,
397,
2206,
26417,
18,
24816,
6,
775,
30,
5198,
67,
1355,
67,
1425,
273,
5302,
12,
768,
12,
803,
2934,
896,
10756,
1335,
30,
5198,
67,
1355,
67,
1425,
273,
642,
18,
26417,
225,
468,
4494,
1221,
3071,
716,
777,
10915,
2679,
854,
12889,
316,
326,
642,
468,
5456,
309,
21826,
3397,
18,
729,
67,
1425,
273,
1610,
18,
3530,
12,
14077,
67,
1355,
67,
1425,
13,
364,
508,
316,
23364,
67,
28449,
2679,
18,
2452,
13332,
1392,
273,
1083,
364,
290,
16,
582,
316,
729,
67,
1425,
30,
309,
290,
422,
508,
30,
1392,
273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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1262,
67,
1355,
67,
1425,
13332,
589,
273,
642,
18,
1355,
67,
3923,
1214,
397,
2206,
26417,
18,
24816,
6,
775,
30,
5198,
67,
1355,
67,
1425,
273,
5302,
12,
768,
12,
803,
2934,
896,
10756,
1335,
30,
5198,
67,
1355,
67,
1425,
273,
642,
18,
26417,
225,
468,
4494,
1221,
3071,
716,
777,
10915,
2679,
854,
12889,
316,
326,
642,
468,
5456,
309,
21826,
3397,
18,
729,
67,
1425,
273,
1610,
18,
3530,
12,
14077,
67,
1355,
67,
1425,
13,
364,
508,
316,
23364,
67,
28449,
2679,
18,
2452,
13332,
1392,
273,
1083,
364,
290,
16,
582,
316,
729,
67,
1425,
30,
309,
290,
422,
508,
30,
1392,
273,
1053,
309,
486,
1392,
30,
729,
67,
1425,
2
] |
self._loaded = True | self._stored = True | def load_from_id(self, check_pass=0): """ Load user account data from disk. | 00400dbee718b208a5440b54ceed8dd66c9bce59 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/888/00400dbee718b208a5440b54ceed8dd66c9bce59/user.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1262,
67,
2080,
67,
350,
12,
2890,
16,
866,
67,
5466,
33,
20,
4672,
3536,
4444,
729,
2236,
501,
628,
4234,
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,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1262,
67,
2080,
67,
350,
12,
2890,
16,
866,
67,
5466,
33,
20,
4672,
3536,
4444,
729,
2236,
501,
628,
4234,
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
] |
self.diff+=[newdiff] | def __init__(self,credsMax): self.credsToMax=credsMax un=VS.getPlayerX(0) self.i=0 while (un): newdiff=0 if (Director.getSaveDataLength(self.i,_key)): newdiff=Director.getSaveData(self.i,_key,0) self.diff+=[newdiff] else: newdiff=VS.GetDifficulty() self.diff+=[newdiff] Director.pushSaveData(self.i,_key,newdiff) SetDiff(newdiff) self.creds+=[un.getCredits()] self.i+=1 un=VS.getPlayerX(self.i) | 474c553c0a5917564266c3a49d8cae7a28f5c3db /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2883/474c553c0a5917564266c3a49d8cae7a28f5c3db/difficulty.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
29260,
2747,
4672,
365,
18,
20610,
11634,
2747,
33,
29260,
2747,
640,
33,
14640,
18,
588,
12148,
60,
12,
20,
13,
365,
18,
77,
33,
20,
1323,
261,
318,
4672,
394,
5413,
33,
20,
309,
261,
28280,
18,
588,
4755,
751,
1782,
12,
2890,
18,
77,
16,
67,
856,
3719,
30,
394,
5413,
33,
28280,
18,
588,
4755,
751,
12,
2890,
18,
77,
16,
67,
856,
16,
20,
13,
469,
30,
394,
5413,
33,
14640,
18,
967,
5938,
21934,
1435,
29701,
18,
6206,
4755,
751,
12,
2890,
18,
77,
16,
67,
856,
16,
2704,
5413,
13,
1000,
5938,
12,
2704,
5413,
13,
365,
18,
29260,
15,
22850,
318,
18,
588,
24201,
1282,
1435,
65,
365,
18,
77,
15,
33,
21,
640,
33,
14640,
18,
588,
12148,
60,
12,
2890,
18,
77,
13,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
29260,
2747,
4672,
365,
18,
20610,
11634,
2747,
33,
29260,
2747,
640,
33,
14640,
18,
588,
12148,
60,
12,
20,
13,
365,
18,
77,
33,
20,
1323,
261,
318,
4672,
394,
5413,
33,
20,
309,
261,
28280,
18,
588,
4755,
751,
1782,
12,
2890,
18,
77,
16,
67,
856,
3719,
30,
394,
5413,
33,
28280,
18,
588,
4755,
751,
12,
2890,
18,
77,
16,
67,
856,
16,
20,
13,
469,
30,
394,
5413,
33,
14640,
18,
967,
5938,
21934,
1435,
29701,
18,
6206,
4755,
751,
12,
2890,
18,
77,
16,
67,
856,
16,
2704,
5413,
13,
1000,
5938,
12,
2704,
5413,
13,
365,
18,
29260,
15,
22850,
318,
18,
588,
24201,
1282,
2
] |
|
raise PLCPermissionDenied, "Could not write into %s"%node_floppy node_image = "%s/%s"%(tempdir,nodename) | raise PLCPermissionDenied, "Could not write into %s"%floppy_file self.trash.append(floppy_file) node_image = "%s/%s"%(self.WORKDIR,nodename) serial_arg="" for option in options: console=option.replace("console:","") if option != console: serial_arg="-s %s"%console | def hexa2 (c): return chr((c>>4)+65) + chr ((c&16)+65) | c8a588799344db08a0317644ebb9ebfc6ebf9860 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7598/c8a588799344db08a0317644ebb9ebfc6ebf9860/GetBootMedium.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3827,
69,
22,
261,
71,
4672,
327,
4513,
12443,
71,
9778,
24,
27921,
9222,
13,
397,
4513,
14015,
71,
10,
2313,
27921,
9222,
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,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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
] |
return self._arg_arg_op_with_imm(gv_ptr, gv_itemoffset, opcode, opcodei) | return self._arg_arg_op_with_simm(gv_ptr, gv_itemoffset, opcode, opcodei) | def genop_getarrayitem(self, arraytoken, gv_ptr, gv_index): _, _, itemsize = arraytoken opcode = {1:_PPC.lbzx, 2:_PPC.lhzx, 4:_PPC.lwzx}[itemsize] opcodei = {1:_PPC.lbz, 2:_PPC.lhz, 4:_PPC.lwz}[itemsize] gv_itemoffset = self.itemoffset(arraytoken, gv_index) return self._arg_arg_op_with_imm(gv_ptr, gv_itemoffset, opcode, opcodei) | 1a13bb2e4052fbbe77efb6b6dbf2fa6c38d03672 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6934/1a13bb2e4052fbbe77efb6b6dbf2fa6c38d03672/rgenop.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3157,
556,
67,
588,
1126,
1726,
12,
2890,
16,
526,
2316,
16,
11404,
67,
6723,
16,
11404,
67,
1615,
4672,
389,
16,
389,
16,
761,
1467,
273,
526,
2316,
11396,
273,
288,
21,
30,
67,
52,
3513,
18,
20404,
94,
92,
16,
576,
30,
67,
52,
3513,
18,
80,
76,
94,
92,
16,
1059,
30,
67,
52,
3513,
18,
80,
91,
94,
92,
20294,
1726,
1467,
65,
11396,
77,
273,
288,
21,
30,
67,
52,
3513,
18,
20404,
94,
16,
576,
30,
67,
52,
3513,
18,
80,
76,
94,
16,
1059,
30,
67,
52,
3513,
18,
80,
91,
94,
20294,
1726,
1467,
65,
11404,
67,
1726,
3348,
273,
365,
18,
1726,
3348,
12,
1126,
2316,
16,
11404,
67,
1615,
13,
327,
365,
6315,
3175,
67,
3175,
67,
556,
67,
1918,
67,
381,
81,
12,
75,
90,
67,
6723,
16,
11404,
67,
1726,
3348,
16,
11396,
16,
11396,
77,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3157,
556,
67,
588,
1126,
1726,
12,
2890,
16,
526,
2316,
16,
11404,
67,
6723,
16,
11404,
67,
1615,
4672,
389,
16,
389,
16,
761,
1467,
273,
526,
2316,
11396,
273,
288,
21,
30,
67,
52,
3513,
18,
20404,
94,
92,
16,
576,
30,
67,
52,
3513,
18,
80,
76,
94,
92,
16,
1059,
30,
67,
52,
3513,
18,
80,
91,
94,
92,
20294,
1726,
1467,
65,
11396,
77,
273,
288,
21,
30,
67,
52,
3513,
18,
20404,
94,
16,
576,
30,
67,
52,
3513,
18,
80,
76,
94,
16,
1059,
30,
67,
52,
3513,
18,
80,
91,
94,
20294,
1726,
1467,
65,
11404,
67,
1726,
3348,
273,
365,
18,
1726,
3348,
12,
1126,
2316,
16,
11404,
67,
2
] |
else | else: | def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 65) else quickfix.StringField.__init__(self, 65, data) | 484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
892,
273,
599,
13,
309,
501,
422,
599,
30,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
15892,
13,
469,
30,
9549,
904,
18,
780,
974,
16186,
2738,
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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
892,
273,
599,
13,
309,
501,
422,
599,
30,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
15892,
13,
469,
30,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
15892,
16,
501,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
basedir = abspath listing = os.listdir(abspath) | basedir = path listing = self.listdir(path) | def get_list_dir(self, abspath): """Return a directory listing in a form suitable for LIST command.""" # if path is a file we return information about it if os.path.isfile(abspath): basedir, filename = os.path.split(abspath) listing = [filename] else: basedir = abspath listing = os.listdir(abspath) listing.sort() return self.format_list(basedir, listing) | 60284966d1f07a9fb0cd04d09b6433131f29a6e4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3782/60284966d1f07a9fb0cd04d09b6433131f29a6e4/ftpserver.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
1098,
67,
1214,
12,
2890,
16,
9488,
4672,
3536,
990,
279,
1867,
11591,
316,
279,
646,
10631,
364,
15130,
1296,
12123,
468,
309,
589,
353,
279,
585,
732,
327,
1779,
2973,
518,
309,
1140,
18,
803,
18,
291,
768,
12,
5113,
803,
4672,
15573,
16,
1544,
273,
1140,
18,
803,
18,
4939,
12,
5113,
803,
13,
11591,
273,
306,
3459,
65,
469,
30,
15573,
273,
589,
11591,
273,
365,
18,
1098,
1214,
12,
803,
13,
11591,
18,
3804,
1435,
327,
365,
18,
2139,
67,
1098,
12,
31722,
16,
11591,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
1098,
67,
1214,
12,
2890,
16,
9488,
4672,
3536,
990,
279,
1867,
11591,
316,
279,
646,
10631,
364,
15130,
1296,
12123,
468,
309,
589,
353,
279,
585,
732,
327,
1779,
2973,
518,
309,
1140,
18,
803,
18,
291,
768,
12,
5113,
803,
4672,
15573,
16,
1544,
273,
1140,
18,
803,
18,
4939,
12,
5113,
803,
13,
11591,
273,
306,
3459,
65,
469,
30,
15573,
273,
589,
11591,
273,
365,
18,
1098,
1214,
12,
803,
13,
11591,
18,
3804,
1435,
327,
365,
18,
2139,
67,
1098,
12,
31722,
16,
11591,
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
] |
elif type(in_file) == type(''): | elif isinstance(in_file, StringType): | def decode(in_file, out_file=None, mode=None): """Decode uuencoded file""" # # Open the input file, if needed. # if in_file == '-': in_file = sys.stdin elif type(in_file) == type(''): in_file = open(in_file) # # Read until a begin is encountered or we've exhausted the file # while 1: hdr = in_file.readline() if not hdr: raise Error, 'No valid begin line found in input file' if hdr[:5] != 'begin': continue hdrfields = hdr.split(" ", 2) if len(hdrfields) == 3 and hdrfields[0] == 'begin': try: int(hdrfields[1], 8) break except ValueError: pass if out_file is None: out_file = hdrfields[2].rstrip() if mode is None: mode = int(hdrfields[1], 8) # # Open the output file # if out_file == '-': out_file = sys.stdout elif type(out_file) == type(''): fp = open(out_file, 'wb') try: os.path.chmod(out_file, mode) except AttributeError: pass out_file = fp # # Main decoding loop # s = in_file.readline() while s and s != 'end\n': try: data = binascii.a2b_uu(s) except binascii.Error, v: # Workaround for broken uuencoders by /Fredrik Lundh nbytes = (((ord(s[0])-32) & 63) * 4 + 5) / 3 data = binascii.a2b_uu(s[:nbytes]) sys.stderr.write("Warning: %s\n" % str(v)) out_file.write(data) s = in_file.readline() if not s: raise Error, 'Truncated input file' | 7dd503dda36ba97cf1f0dc07da0505ba843532d7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/7dd503dda36ba97cf1f0dc07da0505ba843532d7/uu.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2495,
12,
267,
67,
768,
16,
596,
67,
768,
33,
7036,
16,
1965,
33,
7036,
4672,
3536,
6615,
582,
89,
10787,
585,
8395,
468,
468,
3502,
326,
810,
585,
16,
309,
3577,
18,
468,
309,
316,
67,
768,
422,
4014,
30,
316,
67,
768,
273,
2589,
18,
21772,
1327,
1549,
12,
267,
67,
768,
16,
31570,
4672,
316,
67,
768,
273,
1696,
12,
267,
67,
768,
13,
468,
468,
2720,
3180,
279,
2376,
353,
9919,
578,
732,
8081,
24948,
326,
585,
468,
1323,
404,
30,
7723,
273,
316,
67,
768,
18,
896,
1369,
1435,
309,
486,
7723,
30,
1002,
1068,
16,
296,
2279,
923,
2376,
980,
1392,
316,
810,
585,
11,
309,
7723,
10531,
25,
65,
480,
296,
10086,
4278,
1324,
7723,
2821,
273,
7723,
18,
4939,
2932,
3104,
576,
13,
309,
562,
12,
16587,
2821,
13,
422,
890,
471,
7723,
2821,
63,
20,
65,
422,
296,
10086,
4278,
775,
30,
509,
12,
16587,
2821,
63,
21,
6487,
1725,
13,
898,
1335,
2068,
30,
1342,
309,
596,
67,
768,
353,
599,
30,
596,
67,
768,
273,
7723,
2821,
63,
22,
8009,
86,
6406,
1435,
309,
1965,
353,
599,
30,
1965,
273,
509,
12,
16587,
2821,
63,
21,
6487,
1725,
13,
468,
468,
3502,
326,
876,
585,
468,
309,
596,
67,
768,
422,
4014,
30,
596,
67,
768,
273,
2589,
18,
10283,
1327,
618,
12,
659,
67,
768,
13,
422,
618,
2668,
11,
4672,
4253,
273,
1696,
12,
659,
67,
768,
16,
296,
9464,
6134,
775,
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,
2495,
12,
267,
67,
768,
16,
596,
67,
768,
33,
7036,
16,
1965,
33,
7036,
4672,
3536,
6615,
582,
89,
10787,
585,
8395,
468,
468,
3502,
326,
810,
585,
16,
309,
3577,
18,
468,
309,
316,
67,
768,
422,
4014,
30,
316,
67,
768,
273,
2589,
18,
21772,
1327,
1549,
12,
267,
67,
768,
16,
31570,
4672,
316,
67,
768,
273,
1696,
12,
267,
67,
768,
13,
468,
468,
2720,
3180,
279,
2376,
353,
9919,
578,
732,
8081,
24948,
326,
585,
468,
1323,
404,
30,
7723,
273,
316,
67,
768,
18,
896,
1369,
1435,
309,
486,
7723,
30,
1002,
1068,
16,
296,
2279,
923,
2376,
980,
1392,
316,
810,
585,
11,
309,
7723,
10531,
25,
65,
480,
296,
2
] |
assy.csys.quat = self.win.glpane.quat | assy.csys.quat = Q(self.win.glpane.quat) | def processCsysMenu(self, id): if id == 0: #Rename self.selectedTreeItem.startRename(0) else: # Set current view as default view assy = self.win.assy assy.csys.quat = self.win.glpane.quat | fc70c256da94e2e1396c1a5a2e00d018e89ea4b5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/fc70c256da94e2e1396c1a5a2e00d018e89ea4b5/modelTree.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1207,
39,
9499,
4599,
12,
2890,
16,
612,
4672,
309,
612,
422,
374,
30,
468,
16019,
365,
18,
8109,
2471,
1180,
18,
1937,
16019,
12,
20,
13,
469,
30,
468,
1000,
783,
1476,
487,
805,
1476,
1551,
93,
273,
365,
18,
8082,
18,
428,
93,
1551,
93,
18,
2143,
1900,
18,
372,
270,
273,
365,
18,
8082,
18,
7043,
29009,
18,
372,
270,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
39,
9499,
4599,
12,
2890,
16,
612,
4672,
309,
612,
422,
374,
30,
468,
16019,
365,
18,
8109,
2471,
1180,
18,
1937,
16019,
12,
20,
13,
469,
30,
468,
1000,
783,
1476,
487,
805,
1476,
1551,
93,
273,
365,
18,
8082,
18,
428,
93,
1551,
93,
18,
2143,
1900,
18,
372,
270,
273,
365,
18,
8082,
18,
7043,
29009,
18,
372,
270,
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
] |
Returns the number of arguements this object can take. | Returns the number of arguments this object can take. | def number_of_arguments(self): """ Returns the number of arguements this object can take. | 5660983e2d1fdbdccff05ba8c1fa7849d92dd96d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/5660983e2d1fdbdccff05ba8c1fa7849d92dd96d/calculus.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1300,
67,
792,
67,
7099,
12,
2890,
4672,
3536,
2860,
326,
1300,
434,
1501,
344,
1346,
333,
733,
848,
4862,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1300,
67,
792,
67,
7099,
12,
2890,
4672,
3536,
2860,
326,
1300,
434,
1501,
344,
1346,
333,
733,
848,
4862,
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
] |
assert_equal(y.format, 'l') x = np.array([1,2,3], dtype='<l') | assert_equal(y.format, 'i') x = np.array([1,2,3], dtype='<i') | def test_export_endian(self): x = np.array([1,2,3], dtype='>l') y = memoryview(x) if sys.byteorder == 'little': assert_equal(y.format, '>l') else: assert_equal(y.format, 'l') | 8e50ad6e4f3cd6dd80372475771fcf28bf700127 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14925/8e50ad6e4f3cd6dd80372475771fcf28bf700127/test_multiarray.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
6530,
67,
22910,
12,
2890,
4672,
619,
273,
1130,
18,
1126,
3816,
21,
16,
22,
16,
23,
6487,
3182,
2218,
34,
80,
6134,
677,
273,
3778,
1945,
12,
92,
13,
309,
2589,
18,
7229,
1019,
422,
296,
80,
7188,
4278,
1815,
67,
9729,
12,
93,
18,
2139,
16,
11279,
80,
6134,
469,
30,
1815,
67,
9729,
12,
93,
18,
2139,
16,
296,
80,
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,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,
22,
16,
23,
6487,
3182,
2218,
34,
80,
6134,
677,
273,
3778,
1945,
12,
92,
13,
309,
2589,
18,
7229,
1019,
422,
296,
80,
7188,
4278,
1815,
67,
9729,
12,
93,
18,
2139,
16,
11279,
80,
6134,
469,
30,
1815,
67,
9729,
12,
93,
18,
2139,
16,
296,
80,
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
] |
return line | print line | def format_line(line, error_output, conflicts=conflicts): if line[-1] == '\n': line = line[:-1] if line.startswith('C '): conflicts.append(line) print '%s%s%s' % (t_colour[12], line, t_reset) elif line.startswith('M '): print '%s%s%s' % (t_colour[10], line, t_reset) elif line.startswith('? '): print '%s%s%s' % (t_colour[8], line, t_reset) else: return line | 6ce2631eeb38d2d0ca823aa7c11beae6bb45413f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4596/6ce2631eeb38d2d0ca823aa7c11beae6bb45413f/terminal.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
740,
67,
1369,
12,
1369,
16,
555,
67,
2844,
16,
14450,
33,
20340,
87,
4672,
309,
980,
18919,
21,
65,
422,
2337,
82,
4278,
980,
273,
980,
10531,
17,
21,
65,
309,
980,
18,
17514,
1918,
2668,
39,
296,
4672,
14450,
18,
6923,
12,
1369,
13,
1172,
1995,
87,
9,
87,
9,
87,
11,
738,
261,
88,
67,
27408,
63,
2138,
6487,
980,
16,
268,
67,
6208,
13,
1327,
980,
18,
17514,
1918,
2668,
49,
296,
4672,
1172,
1995,
87,
9,
87,
9,
87,
11,
738,
261,
88,
67,
27408,
63,
2163,
6487,
980,
16,
268,
67,
6208,
13,
1327,
980,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
740,
67,
1369,
12,
1369,
16,
555,
67,
2844,
16,
14450,
33,
20340,
87,
4672,
309,
980,
18919,
21,
65,
422,
2337,
82,
4278,
980,
273,
980,
10531,
17,
21,
65,
309,
980,
18,
17514,
1918,
2668,
39,
296,
4672,
14450,
18,
6923,
12,
1369,
13,
1172,
1995,
87,
9,
87,
9,
87,
11,
738,
261,
88,
67,
27408,
63,
2138,
6487,
980,
16,
268,
67,
6208,
13,
1327,
980,
18,
17514,
1918,
2668,
49,
296,
4672,
1172,
1995,
87,
9,
87,
9,
87,
11,
738,
261,
88,
67,
27408,
63,
2163,
6487,
980,
16,
268,
67,
6208,
13,
1327,
980,
18,
17514,
1918,
2668,
35,
296,
4672,
1172,
1995,
87,
9,
87,
9,
87,
11,
738,
261,
2
] |
self.name = re.findall('^(\w*)', self.str)[0] if (self.name == ''): self.name = 'div' self.name = self.name.lower() | name = re.findall('^([\w:]*)', self.str)[0] name = name.lower() if ':' in name: try: spaces_count = int(self.parser.options.get('indent-spaces')) except: spaces_count = 4 indent = ' ' * spaces_count shortcuts = { 'cc:ie': { 'opening_tag': '<!--[if IE]>', 'closing_tag': '<![endif]-->'}, 'cc:ie6': { 'opening_tag': '<!--[if lte IE 6]>', 'closing_tag': '<![endif]-->'}, 'cc:ie7': { 'opening_tag': '<!--[if lte IE 7]>', 'closing_tag': '<![endif]-->'}, 'cc:noie': { 'opening_tag': '<!--[if !IE]><!-->', 'closing_tag': '<!--<![endif]-->'}, 'html:4t': { 'opening_tag': '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n' + '<html lang="en">\n' + '<head>\n' + indent + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' + indent + '<title></title>\n' + '</head>\n' + '<body>', 'closing_tag': '</body>\n' + '</html>'}, 'html:4s': { 'opening_tag': '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\n' + '<html lang="en">\n' + '<head>\n' + indent + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' + indent + '<title></title>\n' + '</head>\n' + '<body>', 'closing_tag': '</body>\n' + '</html>'}, 'html:xs': { 'opening_tag': '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n' + '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\n' + '<head>\n' + indent + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' + indent + '<title></title>\n' + '</head>\n' + '<body>', 'closing_tag': '</body>\n' + '</html>'}, 'html:xxs': { 'opening_tag': '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\n' + '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\n' + '<head>\n' + indent + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' + indent + '<title></title>\n' + '</head>\n' + '<body>', 'closing_tag': '</body>\n' + '</html>'}, 'html:5': { 'opening_tag': '<!DOCTYPE html>\n' + '<html lang="en">\n' + '<head>\n' + indent + '<meta charset="UTF-8" />\n' + indent + '<title></title>\n' + '</head>\n' + '<body>', 'closing_tag': '</body>\n' + '</html>'}, } if name in shortcuts.keys(): for key, value in shortcuts[name].iteritems(): setattr(self, key, value) return if (name == ''): self.name = 'div' else: self.name = name | def _init_element(self): """Initializes. Only called if the token is an element token. [Private] """ # Get the tag name. Default to DIV if none given. self.name = re.findall('^(\w*)', self.str)[0] if (self.name == ''): self.name = 'div' self.name = self.name.lower() | 31746b2c12abc94e701d932b47560a36d5494b1d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10890/31746b2c12abc94e701d932b47560a36d5494b1d/sparkup.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2738,
67,
2956,
12,
2890,
4672,
3536,
9685,
18,
5098,
2566,
309,
326,
1147,
353,
392,
930,
1147,
18,
306,
6014,
65,
3536,
468,
968,
326,
1047,
508,
18,
2989,
358,
27355,
309,
6555,
864,
18,
365,
18,
529,
273,
283,
18,
4720,
454,
2668,
66,
4713,
91,
12437,
2187,
365,
18,
701,
25146,
20,
65,
309,
261,
2890,
18,
529,
422,
875,
4672,
365,
18,
529,
273,
296,
2892,
11,
365,
18,
529,
273,
365,
18,
529,
18,
8167,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2738,
67,
2956,
12,
2890,
4672,
3536,
9685,
18,
5098,
2566,
309,
326,
1147,
353,
392,
930,
1147,
18,
306,
6014,
65,
3536,
468,
968,
326,
1047,
508,
18,
2989,
358,
27355,
309,
6555,
864,
18,
365,
18,
529,
273,
283,
18,
4720,
454,
2668,
66,
4713,
91,
12437,
2187,
365,
18,
701,
25146,
20,
65,
309,
261,
2890,
18,
529,
422,
875,
4672,
365,
18,
529,
273,
296,
2892,
11,
365,
18,
529,
273,
365,
18,
529,
18,
8167,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
宁 níng /peaceful/rather/Ningxia (abbr.)/Nanjing (abbr.)/surname Ning/ | 宁(寧) níng /peaceful/rather/Ningxia (abbr.)/Nanjing (abbr.)/surname Ning/ @todo Fix: letter case | >>> def search(string, reading=None): | 7768f0434aecc2e353c85a4406b0b7da401f6ea2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11128/7768f0434aecc2e353c85a4406b0b7da401f6ea2/dictionary.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4080,
1652,
1623,
12,
1080,
16,
6453,
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,
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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
] |
focusIncr = int(round(focusRange / (numPos - 1))) | focusIncr = focusRange / float(numPos - 1) | def updFocusIncr(self, *args): """Update focus increment widget. """ focusRange = self.focusRangeWdg.getNumOrNone() numPos = self.numFocusPosWdg.getNumOrNone() if None in (focusRange, numPos): self.focusIncrWdg.set(None, isCurrent = False) return | 5ce90ef6a58e18ae844d9c09d0aab251fd7a91ab /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6354/5ce90ef6a58e18ae844d9c09d0aab251fd7a91ab/BaseFocusScript.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2166,
9233,
382,
3353,
12,
2890,
16,
380,
1968,
4672,
3536,
1891,
7155,
5504,
3604,
18,
3536,
7155,
2655,
273,
365,
18,
13923,
2655,
59,
72,
75,
18,
588,
2578,
1162,
7036,
1435,
818,
1616,
273,
365,
18,
2107,
9233,
1616,
59,
72,
75,
18,
588,
2578,
1162,
7036,
1435,
309,
599,
316,
261,
13923,
2655,
16,
818,
1616,
4672,
365,
18,
13923,
382,
3353,
59,
72,
75,
18,
542,
12,
7036,
16,
25694,
273,
1083,
13,
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,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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,
2166,
9233,
382,
3353,
12,
2890,
16,
380,
1968,
4672,
3536,
1891,
7155,
5504,
3604,
18,
3536,
7155,
2655,
273,
365,
18,
13923,
2655,
59,
72,
75,
18,
588,
2578,
1162,
7036,
1435,
818,
1616,
273,
365,
18,
2107,
9233,
1616,
59,
72,
75,
18,
588,
2578,
1162,
7036,
1435,
309,
599,
316,
261,
13923,
2655,
16,
818,
1616,
4672,
365,
18,
13923,
382,
3353,
59,
72,
75,
18,
542,
12,
7036,
16,
25694,
273,
1083,
13,
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
] |
print '+ found LilyPond, but version %s is too old.' % version_number | logger.info('+ found LilyPond, but version %s is too old.' % version_number) | def checkConverterEntries(): ''' Check all converters (\converter entries) ''' checkProg('the pdflatex program', ['pdflatex $$i'], rc_entry = [ r'\converter pdflatex pdf2 "%%" "latex"' ]) ''' If we're running LyX in-place then tex2lyx will be found in ../src/tex2lyx. Add this directory to the PATH temporarily and search for tex2lyx. Use PATH to avoid any problems with paths-with-spaces. ''' path_orig = os.environ["PATH"] os.environ["PATH"] = os.path.join('..', 'src', 'tex2lyx') + \ os.pathsep + path_orig checkProg('a LaTeX/Noweb -> LyX converter', ['tex2lyx', 'tex2lyx' + version_suffix], rc_entry = [r'''\converter latex lyx "%% -f $$i $$o" "" | b8ce87578f9d75ccccfc9a3eb0e0156576b6d158 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7514/b8ce87578f9d75ccccfc9a3eb0e0156576b6d158/configure.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
5072,
5400,
13332,
9163,
2073,
777,
19414,
17938,
15747,
3222,
13,
9163,
866,
626,
75,
2668,
5787,
8169,
26264,
5402,
2187,
10228,
7699,
26264,
5366,
77,
17337,
4519,
67,
4099,
273,
306,
436,
8314,
15747,
8169,
26264,
282,
8169,
22,
4202,
2213,
16407,
202,
6,
26264,
5187,
308,
13,
225,
9163,
971,
732,
4565,
3549,
511,
93,
60,
316,
17,
964,
1508,
16573,
22,
715,
92,
903,
506,
1392,
316,
6116,
19,
4816,
19,
21763,
22,
715,
92,
18,
1436,
333,
1867,
358,
326,
7767,
18917,
471,
1623,
364,
16573,
22,
715,
92,
18,
2672,
7767,
358,
4543,
1281,
9688,
598,
2953,
17,
1918,
17,
9554,
18,
9163,
589,
67,
4949,
273,
1140,
18,
28684,
9614,
4211,
11929,
1140,
18,
28684,
9614,
4211,
11929,
273,
1140,
18,
803,
18,
5701,
2668,
838,
2187,
296,
4816,
2187,
296,
21763,
22,
715,
92,
6134,
397,
521,
1140,
18,
803,
10814,
397,
589,
67,
4949,
225,
866,
626,
75,
2668,
69,
21072,
21575,
60,
19,
8674,
24008,
317,
511,
93,
60,
6027,
2187,
10228,
21763,
22,
715,
92,
2187,
296,
21763,
22,
715,
92,
11,
397,
1177,
67,
8477,
6487,
4519,
67,
4099,
273,
306,
86,
6309,
8314,
15747,
25079,
1377,
18519,
92,
3639,
2213,
9,
300,
74,
5366,
77,
5366,
83,
6,
202,
3660,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
5072,
5400,
13332,
9163,
2073,
777,
19414,
17938,
15747,
3222,
13,
9163,
866,
626,
75,
2668,
5787,
8169,
26264,
5402,
2187,
10228,
7699,
26264,
5366,
77,
17337,
4519,
67,
4099,
273,
306,
436,
8314,
15747,
8169,
26264,
282,
8169,
22,
4202,
2213,
16407,
202,
6,
26264,
5187,
308,
13,
225,
9163,
971,
732,
4565,
3549,
511,
93,
60,
316,
17,
964,
1508,
16573,
22,
715,
92,
903,
506,
1392,
316,
6116,
19,
4816,
19,
21763,
22,
715,
92,
18,
1436,
333,
1867,
358,
326,
7767,
18917,
471,
1623,
364,
16573,
22,
715,
92,
18,
2672,
7767,
358,
4543,
1281,
9688,
598,
2953,
17,
1918,
17,
9554,
18,
9163,
589,
67,
4949,
273,
1140,
18,
28684,
9614,
4211,
2
] |
os.system(convert_cmd2 % (pict.props.name, tmp_pict)) | os.system(convert_cmd2 % (os.path.join(self.album.dir, pict.props.name), tmp_pict)) | def __check_picts(self, chapter): print " converting picts.." convert_cmd1 = "convert -resize 704x576! '%s' '%s'" convert_cmd2 = "convert -resize 704x576 '%s' '%s'" convert_cmd3 = "convert -border %dx0 -bordercolor black '%s' '%s'" | 197c33d735d49bab858cd4dda3c7f019e3dd0db3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2675/197c33d735d49bab858cd4dda3c7f019e3dd0db3/VideoCD.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
1893,
67,
84,
933,
87,
12,
2890,
16,
23580,
4672,
1172,
315,
225,
14540,
293,
933,
87,
18460,
1765,
67,
4172,
21,
273,
315,
6283,
300,
15169,
2371,
3028,
92,
25,
6669,
5,
1995,
87,
11,
1995,
87,
4970,
1765,
67,
4172,
22,
273,
315,
6283,
300,
15169,
2371,
3028,
92,
25,
6669,
225,
1995,
87,
11,
1995,
87,
4970,
1765,
67,
4172,
23,
273,
315,
6283,
300,
8815,
738,
13437,
20,
300,
8815,
3266,
7721,
1995,
87,
11,
1995,
87,
4970,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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,
67,
84,
933,
87,
12,
2890,
16,
23580,
4672,
1172,
315,
225,
14540,
293,
933,
87,
18460,
1765,
67,
4172,
21,
273,
315,
6283,
300,
15169,
2371,
3028,
92,
25,
6669,
5,
1995,
87,
11,
1995,
87,
4970,
1765,
67,
4172,
22,
273,
315,
6283,
300,
15169,
2371,
3028,
92,
25,
6669,
225,
1995,
87,
11,
1995,
87,
4970,
1765,
67,
4172,
23,
273,
315,
6283,
300,
8815,
738,
13437,
20,
300,
8815,
3266,
7721,
1995,
87,
11,
1995,
87,
4970,
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
] |
usage = '\n' + __doc__ | def get_app(config_file, name, loadapp=loadapp): """ Return the WSGI application named ``name`` in the PasteDeploy config file ``config_file``""" config_name = 'config:%s' % config_file here_dir = os.getcwd() app = loadapp(config_name, name=name, relative_to=here_dir) return app | 791a23ffbba7d22f2b66a04868f76fd97740d618 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14321/791a23ffbba7d22f2b66a04868f76fd97740d618/paster.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
2910,
12,
1425,
67,
768,
16,
508,
16,
1262,
2910,
33,
945,
2910,
4672,
3536,
2000,
326,
7649,
13797,
2521,
4141,
12176,
529,
10335,
316,
326,
453,
14725,
10015,
642,
585,
12176,
1425,
67,
768,
10335,
8395,
642,
67,
529,
273,
296,
1425,
5319,
87,
11,
738,
642,
67,
768,
2674,
67,
1214,
273,
1140,
18,
588,
11089,
1435,
595,
273,
1262,
2910,
12,
1425,
67,
529,
16,
508,
33,
529,
16,
3632,
67,
869,
33,
14852,
67,
1214,
13,
327,
595,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
2910,
12,
1425,
67,
768,
16,
508,
16,
1262,
2910,
33,
945,
2910,
4672,
3536,
2000,
326,
7649,
13797,
2521,
4141,
12176,
529,
10335,
316,
326,
453,
14725,
10015,
642,
585,
12176,
1425,
67,
768,
10335,
8395,
642,
67,
529,
273,
296,
1425,
5319,
87,
11,
738,
642,
67,
768,
2674,
67,
1214,
273,
1140,
18,
588,
11089,
1435,
595,
273,
1262,
2910,
12,
1425,
67,
529,
16,
508,
33,
529,
16,
3632,
67,
869,
33,
14852,
67,
1214,
13,
327,
595,
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
] |
|
TargetAdd('pview.exe', opts=['ADVAPI']) | TargetAdd('pview.exe', opts=['ADVAPI', 'WINSOCK2', 'WINSHELL']) | pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n" | 4dccd642577d426e967bc8a0466294803197210b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8543/4dccd642577d426e967bc8a0466294803197210b/makepanda.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
293,
464,
842,
722,
67,
76,
1011,
1548,
82,
7,
318,
536,
225,
453,
4307,
37,
67,
3932,
1653,
39,
6365,
67,
5757,
64,
82,
6,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
293,
464,
842,
722,
67,
76,
1011,
1548,
82,
7,
318,
536,
225,
453,
4307,
37,
67,
3932,
1653,
39,
6365,
67,
5757,
64,
82,
6,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
offset = int((ts - (ts + mx.DateTime.RelativeDateTime(month=1,day=1))).hours) | offset = int((ts - (ts + mx.DateTime.RelativeDateTime(month=1,day=1,hour=0))).hours) | def fix_hourly(ts): """ Fix the hourly precipitation values, just hard code the stupid IEMRE value """ nc = netCDF3.Dataset("/mnt/mesonet/data/iemre/%s_hourly.nc" % (ts.year,),'r') p01m = nc.variables['p01m'] offset = int((ts - (ts + mx.DateTime.RelativeDateTime(month=1,day=1))).hours) # Find ISUAG Data rs = isuag.query("SELECT * from hourly WHERE valid = '%s+00' and station not in ('A133259')" % (ts.strftime("%Y-%m-%d"),)).dictresult() for i in range(len(rs)): stid = rs[i]['station'] lat = sts[ stid ]['lat'] lon = sts[ stid ]['lon'] # Lookup IEMRE data ix,jy = constants.find_ij(lon, lat) estimate = p01m[offset,jy,ix] / 25.4 if estimate > 100: estimate = 0 print "Missing Estimate", ts print "%s %-20.20s %5.2f %s %5.2f" % (stid, sts[stid]['name'], rs[i]['c900'], rs[i]['c900_f'], estimate) # Fix it sql = """UPDATE hourly SET c900 = %.2f, c900_f = 'e' WHERE valid = '%s+00' and station = '%s'""" % (estimate, ts.strftime("%Y-%m-%d %H:%M"), stid) isuag.query(sql) nc.close() | 056bda6bbba3334f6543918267a24bf0ad71c179 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11189/056bda6bbba3334f6543918267a24bf0ad71c179/fix_precip.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2917,
67,
12091,
715,
12,
3428,
4672,
225,
3536,
12139,
326,
30662,
675,
3449,
8773,
924,
16,
2537,
7877,
981,
326,
384,
416,
350,
467,
3375,
862,
460,
3536,
8194,
273,
2901,
39,
4577,
23,
18,
10656,
2932,
19,
21818,
19,
26244,
265,
278,
19,
892,
19,
77,
351,
266,
5258,
87,
67,
12091,
715,
18,
14202,
6,
738,
261,
3428,
18,
6874,
16,
3631,
11,
86,
6134,
293,
1611,
81,
273,
8194,
18,
7528,
3292,
84,
1611,
81,
3546,
1384,
273,
509,
12443,
3428,
300,
261,
3428,
397,
7938,
18,
5096,
18,
8574,
5096,
12,
7496,
33,
21,
16,
2881,
33,
21,
16,
12091,
33,
20,
3719,
2934,
16814,
13,
468,
4163,
4437,
57,
1781,
1910,
3597,
273,
353,
89,
346,
18,
2271,
2932,
4803,
380,
628,
30662,
4852,
923,
273,
1995,
87,
15,
713,
11,
471,
13282,
486,
316,
7707,
37,
3437,
1578,
6162,
23291,
738,
261,
3428,
18,
701,
9982,
27188,
61,
6456,
81,
6456,
72,
6,
3631,
13,
2934,
1576,
2088,
1435,
364,
277,
316,
1048,
12,
1897,
12,
5453,
3719,
30,
384,
350,
273,
3597,
63,
77,
23962,
17894,
3546,
2516,
273,
27099,
63,
384,
350,
308,
3292,
4801,
3546,
4281,
273,
27099,
63,
384,
350,
308,
3292,
9379,
3546,
468,
8834,
467,
3375,
862,
501,
8288,
16,
78,
93,
273,
6810,
18,
4720,
67,
8302,
12,
9379,
16,
2516,
13,
11108,
273,
293,
1611,
81,
63,
3348,
16,
78,
93,
16,
697,
65,
342,
6969,
18,
24,
309,
11108,
405,
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,
2917,
67,
12091,
715,
12,
3428,
4672,
225,
3536,
12139,
326,
30662,
675,
3449,
8773,
924,
16,
2537,
7877,
981,
326,
384,
416,
350,
467,
3375,
862,
460,
3536,
8194,
273,
2901,
39,
4577,
23,
18,
10656,
2932,
19,
21818,
19,
26244,
265,
278,
19,
892,
19,
77,
351,
266,
5258,
87,
67,
12091,
715,
18,
14202,
6,
738,
261,
3428,
18,
6874,
16,
3631,
11,
86,
6134,
293,
1611,
81,
273,
8194,
18,
7528,
3292,
84,
1611,
81,
3546,
1384,
273,
509,
12443,
3428,
300,
261,
3428,
397,
7938,
18,
5096,
18,
8574,
5096,
12,
7496,
33,
21,
16,
2881,
33,
21,
16,
12091,
33,
20,
3719,
2934,
16814,
13,
468,
4163,
4437,
57,
1781,
1910,
3597,
2
] |
def nnlf(self, *args): | def nnlf(self, theta, x): | def nnlf(self, *args): # - sum (log pdf(x, theta)) # where theta are the parameters (including loc and scale) # try: x = args[-1] loc = args[-2] scale = args[-3] args = args[:-3] except IndexError: raise ValueError, "Not enough input arguments." if not self._argcheck(*args) or scale <= 0: return inf x = arr((x-loc) / scale) cond0 = (x <= self.a) | (x >= self.b) if (any(cond0)): return inf else: N = len(x) return self._nnlf(self, x, *args) + N*log(scale) | 4fc3c3382d4f39d6cb250f55b2b024d3eef437e9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/4fc3c3382d4f39d6cb250f55b2b024d3eef437e9/distributions.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
7761,
20850,
12,
2890,
16,
7338,
16,
619,
4672,
468,
300,
2142,
261,
1330,
8169,
12,
92,
16,
7338,
3719,
468,
282,
1625,
7338,
854,
326,
1472,
261,
31348,
1515,
471,
3159,
13,
468,
775,
30,
619,
273,
833,
18919,
21,
65,
1515,
273,
833,
18919,
22,
65,
3159,
273,
833,
18919,
23,
65,
833,
273,
833,
10531,
17,
23,
65,
1335,
10195,
30,
1002,
2068,
16,
315,
1248,
7304,
810,
1775,
1199,
309,
486,
365,
6315,
3175,
1893,
30857,
1968,
13,
578,
3159,
1648,
374,
30,
327,
8286,
619,
273,
2454,
12443,
92,
17,
1829,
13,
342,
3159,
13,
6941,
20,
273,
261,
92,
1648,
365,
18,
69,
13,
571,
261,
92,
1545,
365,
18,
70,
13,
309,
261,
2273,
12,
10013,
20,
3719,
30,
327,
8286,
469,
30,
423,
273,
562,
12,
92,
13,
327,
365,
6315,
9074,
20850,
12,
2890,
16,
619,
16,
380,
1968,
13,
397,
423,
14,
1330,
12,
5864,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
7761,
20850,
12,
2890,
16,
7338,
16,
619,
4672,
468,
300,
2142,
261,
1330,
8169,
12,
92,
16,
7338,
3719,
468,
282,
1625,
7338,
854,
326,
1472,
261,
31348,
1515,
471,
3159,
13,
468,
775,
30,
619,
273,
833,
18919,
21,
65,
1515,
273,
833,
18919,
22,
65,
3159,
273,
833,
18919,
23,
65,
833,
273,
833,
10531,
17,
23,
65,
1335,
10195,
30,
1002,
2068,
16,
315,
1248,
7304,
810,
1775,
1199,
309,
486,
365,
6315,
3175,
1893,
30857,
1968,
13,
578,
3159,
1648,
374,
30,
327,
8286,
619,
273,
2454,
12443,
92,
17,
1829,
13,
342,
3159,
13,
6941,
20,
273,
261,
92,
1648,
365,
18,
69,
13,
571,
261,
92,
1545,
365,
18,
70,
13,
2
] |
if where == 'tree': | if where == 'epydoc-tree': | def _navbar(self, where, uid=None): """ @return: The HTML code for a navigation bar on the given type of page. The navigation bar typically looks like:: [ Package Module Class Tree Index Help ] @rtype: C{string} @param where: The type of page for which a navigation bar should be generated. Possible values are C{'class'}, C{'module'}, C{'package'}, C{'tree'}, C{'index'}, and C{'help'}. @type where: C{string} """ str = self._start_of('Navbar') str += '<table class="navbar" border="0" width="100%"' str += ' cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">\n' str += ' <tr>\n' str += ' <td width="100%">\n' str += ' <table border="0" cellpadding="0" cellspacing="0">\n' str += ' <tr valign="top">\n' | 60b4598f963657af72659f4c3492b6028c51c37e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/60b4598f963657af72659f4c3492b6028c51c37e/html.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
11589,
3215,
12,
2890,
16,
1625,
16,
4555,
33,
7036,
4672,
3536,
632,
2463,
30,
1021,
3982,
981,
364,
279,
10394,
4653,
603,
326,
864,
618,
434,
1363,
18,
225,
1021,
10394,
4653,
14755,
10192,
3007,
2866,
225,
306,
7508,
5924,
1659,
4902,
3340,
11288,
308,
225,
632,
86,
723,
30,
385,
95,
1080,
97,
632,
891,
1625,
30,
1021,
618,
434,
1363,
364,
1492,
279,
10394,
4653,
1410,
506,
4374,
18,
225,
25433,
924,
854,
385,
27828,
1106,
11,
5779,
385,
27828,
2978,
11,
5779,
385,
27828,
5610,
11,
5779,
385,
27828,
3413,
11,
5779,
385,
27828,
1615,
11,
5779,
471,
385,
27828,
5201,
11,
5496,
632,
723,
1625,
30,
385,
95,
1080,
97,
3536,
609,
273,
365,
6315,
1937,
67,
792,
2668,
12599,
3215,
6134,
609,
1011,
2368,
2121,
667,
1546,
11589,
3215,
6,
5795,
1546,
20,
6,
1835,
1546,
6625,
9,
5187,
609,
1011,
296,
2484,
9598,
1546,
20,
6,
31509,
1546,
7,
69,
20,
71,
20,
1403,
6,
2484,
14080,
1546,
20,
6,
5333,
82,
11,
609,
1011,
296,
225,
411,
313,
5333,
82,
11,
609,
1011,
296,
565,
411,
4465,
1835,
1546,
6625,
16407,
5333,
82,
11,
609,
1011,
296,
1377,
411,
2121,
5795,
1546,
20,
6,
2484,
9598,
1546,
20,
6,
2484,
14080,
1546,
20,
6,
5333,
82,
11,
609,
1011,
296,
3639,
411,
313,
1244,
724,
1546,
3669,
6,
5333,
82,
11,
2,
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,
1,
1,
0,
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,
11589,
3215,
12,
2890,
16,
1625,
16,
4555,
33,
7036,
4672,
3536,
632,
2463,
30,
1021,
3982,
981,
364,
279,
10394,
4653,
603,
326,
864,
618,
434,
1363,
18,
225,
1021,
10394,
4653,
14755,
10192,
3007,
2866,
225,
306,
7508,
5924,
1659,
4902,
3340,
11288,
308,
225,
632,
86,
723,
30,
385,
95,
1080,
97,
632,
891,
1625,
30,
1021,
618,
434,
1363,
364,
1492,
279,
10394,
4653,
1410,
506,
4374,
18,
225,
25433,
924,
854,
385,
27828,
1106,
11,
5779,
385,
27828,
2978,
11,
5779,
385,
27828,
5610,
11,
5779,
385,
27828,
3413,
11,
5779,
385,
27828,
1615,
11,
5779,
471,
385,
27828,
5201,
11,
5496,
632,
723,
1625,
30,
385,
95,
1080,
97,
3536,
609,
2
] |
ret = self.WriteByte(search_type) | self.WriteByte(search_type) | def PickSearchBit(i, desc_bit, last_rn): if i == desc_bit: # took 0 path last time, so take 1 path return 1 elif i > desc_bit: # take the 0 path on the next branch return 0 else: return ((last_rn >> i) & 0x1) | bfa31159dc6d7c288d550890d8b7c004a84a48e8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3996/bfa31159dc6d7c288d550890d8b7c004a84a48e8/GenericOneWireMaster.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
23038,
2979,
5775,
12,
77,
16,
3044,
67,
3682,
16,
1142,
67,
27639,
4672,
309,
277,
422,
3044,
67,
3682,
30,
468,
23151,
374,
589,
1142,
813,
16,
1427,
4862,
404,
589,
327,
404,
1327,
277,
405,
3044,
67,
3682,
30,
468,
4862,
326,
374,
589,
603,
326,
1024,
3803,
327,
374,
469,
30,
327,
14015,
2722,
67,
27639,
1671,
277,
13,
473,
374,
92,
21,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
23038,
2979,
5775,
12,
77,
16,
3044,
67,
3682,
16,
1142,
67,
27639,
4672,
309,
277,
422,
3044,
67,
3682,
30,
468,
23151,
374,
589,
1142,
813,
16,
1427,
4862,
404,
589,
327,
404,
1327,
277,
405,
3044,
67,
3682,
30,
468,
4862,
326,
374,
589,
603,
326,
1024,
3803,
327,
374,
469,
30,
327,
14015,
2722,
67,
27639,
1671,
277,
13,
473,
374,
92,
21,
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
] |
self.set_stderr_file('logs/' + exec_namee + '-$(cluster)-$(process).err') | self.set_stderr_file('logs/' + exec_name + '-$(cluster)-$(process).err') | def __init__(self, cp, dax = False): """ cp: ConfigParser object from which options are read. """ exec_name = "mvsc_get_doubles" universe = "vanilla" executable = cp.get('condor',exec_name) pipeline.CondorDAGJob.__init__(self, universe, executable) pipeline.AnalysisJob.__init__(self, cp, dax) self.add_condor_cmd('getenv','True') self.add_condor_cmd('environment',"KMP_LIBRARY=serial;MKL_SERIAL=yes") self.set_stdout_file('logs/' + exec_name + '-$(cluster)-$(process).out') self.set_stderr_file('logs/' + exec_namee + '-$(cluster)-$(process).err') self.set_sub_file(exec_name + '.sub') | 05168fcc33be29301cc0a9702cd5e8c93d815a6e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5758/05168fcc33be29301cc0a9702cd5e8c93d815a6e/inspiral.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
3283,
16,
302,
651,
273,
1083,
4672,
3536,
3283,
30,
25076,
733,
628,
1492,
702,
854,
855,
18,
3536,
1196,
67,
529,
273,
315,
17509,
1017,
67,
588,
67,
2896,
19314,
6,
29235,
273,
315,
90,
26476,
6,
9070,
273,
3283,
18,
588,
2668,
10013,
280,
2187,
4177,
67,
529,
13,
5873,
18,
12441,
280,
40,
1781,
2278,
16186,
2738,
972,
12,
2890,
16,
29235,
16,
9070,
13,
5873,
18,
9418,
2278,
16186,
2738,
972,
12,
2890,
16,
3283,
16,
302,
651,
13,
365,
18,
1289,
67,
10013,
280,
67,
4172,
2668,
588,
3074,
17023,
5510,
6134,
365,
18,
1289,
67,
10013,
280,
67,
4172,
2668,
10274,
2187,
6,
47,
4566,
67,
2053,
28254,
33,
8818,
31,
49,
47,
48,
67,
2123,
6365,
33,
9707,
7923,
365,
18,
542,
67,
10283,
67,
768,
2668,
10011,
2473,
397,
1196,
67,
529,
397,
2400,
8,
12,
7967,
13,
21830,
12,
2567,
2934,
659,
6134,
365,
18,
542,
67,
11241,
67,
768,
2668,
10011,
2473,
397,
1196,
67,
529,
397,
2400,
8,
12,
7967,
13,
21830,
12,
2567,
2934,
370,
6134,
365,
18,
542,
67,
1717,
67,
768,
12,
4177,
67,
529,
397,
2418,
1717,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
3283,
16,
302,
651,
273,
1083,
4672,
3536,
3283,
30,
25076,
733,
628,
1492,
702,
854,
855,
18,
3536,
1196,
67,
529,
273,
315,
17509,
1017,
67,
588,
67,
2896,
19314,
6,
29235,
273,
315,
90,
26476,
6,
9070,
273,
3283,
18,
588,
2668,
10013,
280,
2187,
4177,
67,
529,
13,
5873,
18,
12441,
280,
40,
1781,
2278,
16186,
2738,
972,
12,
2890,
16,
29235,
16,
9070,
13,
5873,
18,
9418,
2278,
16186,
2738,
972,
12,
2890,
16,
3283,
16,
302,
651,
13,
365,
18,
1289,
67,
10013,
280,
67,
4172,
2668,
588,
3074,
17023,
5510,
6134,
365,
18,
1289,
67,
10013,
280,
67,
4172,
2668,
10274,
2187,
6,
47,
4566,
67,
2
] |
for arg in sys.argv[:]: if arg.find('--hdf5=') == 0: hdf5 = arg.partition('=')[2] sys.argv.remove(arg) warn(wstr) if arg.find('--api=') == 0: self.api = arg.partition('=')[2] sys.argv.remove(arg) warn(wstr) | try: f = open(localpath('buildconf.pickle'),'r') hdf5_pkl, api_pkl = pickle.load(f) f.close() except Exception: pass else: if hdf5_pkl is not None: hdf5 = hdf5_pkl debug("Loaded HDF5 dir %s from pickle file" % hdf5) if api_pkl is not None: api = api_pkl debug("Loaded API %s from pickle file" % api) | def __init__(self): | 77fa55ec0922286611602427600a840ec2342459 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10380/77fa55ec0922286611602427600a840ec2342459/setup.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] |
return self._site | return aq_self(self._site) | def getSite( self ): | 06ac350743dbb45b6c9370d0b8123a20f2a493f6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1843/06ac350743dbb45b6c9370d0b8123a20f2a493f6/context.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11021,
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,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
22398,
316,
326,
981,
30,
1652,
11021,
12,
365,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
lib_opts = gen_lib_options (self.library_dirs + library_dirs, self.libraries + libraries, "-L%s", "-l%s") | lib_opts = gen_lib_options (self, self.library_dirs + library_dirs, self.libraries + libraries) | def link_shared_object (self, objects, output_filename, output_dir=None, libraries=None, library_dirs=None, extra_preargs=None, extra_postargs=None): | 80d5359c8b7b767de912d214722287d9a46908ec /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/80d5359c8b7b767de912d214722287d9a46908ec/unixccompiler.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1692,
67,
11574,
67,
1612,
261,
2890,
16,
2184,
16,
876,
67,
3459,
16,
876,
67,
1214,
33,
7036,
16,
14732,
33,
7036,
16,
5313,
67,
8291,
33,
7036,
16,
2870,
67,
1484,
1968,
33,
7036,
16,
2870,
67,
2767,
1968,
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,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1692,
67,
11574,
67,
1612,
261,
2890,
16,
2184,
16,
876,
67,
3459,
16,
876,
67,
1214,
33,
7036,
16,
14732,
33,
7036,
16,
5313,
67,
8291,
33,
7036,
16,
2870,
67,
1484,
1968,
33,
7036,
16,
2870,
67,
2767,
1968,
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
] |
if not from_currency_id: from_currency_id = to_currency_id if not to_currency_id: to_currency_id = from_currency_id xc = self.browse(cr, uid, [from_currency_id,to_currency_id], context=context) from_currency = (xc[0].id == from_currency_id and xc[0]) or xc[1] to_currency = (xc[0].id == to_currency_id and xc[0]) or xc[1] | def compute(self, cr, uid, from_currency_id, to_currency_id, from_amount, round=True, context=None, account=None, account_invert=False): if context is None: context = {} if not from_currency_id: from_currency_id = to_currency_id if not to_currency_id: to_currency_id = from_currency_id xc = self.browse(cr, uid, [from_currency_id,to_currency_id], context=context) from_currency = (xc[0].id == from_currency_id and xc[0]) or xc[1] to_currency = (xc[0].id == to_currency_id and xc[0]) or xc[1] if from_currency['rate'] == 0 or to_currency['rate'] == 0: date = context.get('date', time.strftime('%Y-%m-%d')) if from_currency['rate'] == 0: currency_symbol = from_currency.symbol else: currency_symbol = to_currency.symbol raise osv.except_osv(_('Error'), _('No rate found \n' \ 'for the currency: %s \n' \ 'at the date: %s') % (currency_symbol, date)) rate = to_currency.rate/from_currency.rate if account and (account.currency_mode=='average') and account.currency_id: q = self.pool.get('account.move.line')._query_get(cr, uid, context=context) cr.execute('select sum(debit-credit),sum(amount_currency) from account_move_line l ' \ 'where l.currency_id=%s and l.account_id=%s and '+q, (account.currency_id.id,account.id,)) tot1,tot2 = cr.fetchone() if tot2 and not account_invert: rate = float(tot1)/float(tot2) elif tot1 and account_invert: rate = float(tot2)/float(tot1) if to_currency_id==from_currency_id: if round: return self.round(cr, uid, to_currency, from_amount) else: return from_amount else: if round: return self.round(cr, uid, to_currency, from_amount * rate) else: return (from_amount * rate) | 342857ee74d4ba849a7544c356a431377efd706c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/342857ee74d4ba849a7544c356a431377efd706c/res_currency.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3671,
12,
2890,
16,
4422,
16,
4555,
16,
628,
67,
7095,
67,
350,
16,
358,
67,
7095,
67,
350,
16,
628,
67,
8949,
16,
3643,
33,
5510,
16,
819,
33,
7036,
16,
2236,
33,
7036,
16,
2236,
67,
267,
1097,
33,
8381,
4672,
309,
819,
353,
599,
30,
819,
273,
2618,
309,
628,
67,
7095,
3292,
5141,
3546,
422,
374,
578,
358,
67,
7095,
3292,
5141,
3546,
422,
374,
30,
1509,
273,
819,
18,
588,
2668,
712,
2187,
813,
18,
701,
9982,
29909,
61,
6456,
81,
6456,
72,
26112,
309,
628,
67,
7095,
3292,
5141,
3546,
422,
374,
30,
5462,
67,
7175,
273,
628,
67,
7095,
18,
7175,
469,
30,
5462,
67,
7175,
273,
358,
67,
7095,
18,
7175,
1002,
1140,
90,
18,
14137,
67,
538,
90,
24899,
2668,
668,
19899,
389,
2668,
2279,
4993,
1392,
521,
82,
11,
521,
296,
1884,
326,
5462,
30,
738,
87,
521,
82,
11,
521,
296,
270,
326,
1509,
30,
738,
87,
6134,
738,
261,
7095,
67,
7175,
16,
1509,
3719,
4993,
273,
358,
67,
7095,
18,
5141,
19,
2080,
67,
7095,
18,
5141,
309,
2236,
471,
261,
4631,
18,
7095,
67,
3188,
18920,
15621,
6134,
471,
2236,
18,
7095,
67,
350,
30,
1043,
273,
365,
18,
6011,
18,
588,
2668,
4631,
18,
8501,
18,
1369,
16063,
67,
2271,
67,
588,
12,
3353,
16,
4555,
16,
819,
33,
2472,
13,
4422,
18,
8837,
2668,
4025,
2142,
12,
323,
3682,
17,
20688,
3631,
1364,
12,
8949,
67,
7095,
13,
628,
2236,
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,
3671,
12,
2890,
16,
4422,
16,
4555,
16,
628,
67,
7095,
67,
350,
16,
358,
67,
7095,
67,
350,
16,
628,
67,
8949,
16,
3643,
33,
5510,
16,
819,
33,
7036,
16,
2236,
33,
7036,
16,
2236,
67,
267,
1097,
33,
8381,
4672,
309,
819,
353,
599,
30,
819,
273,
2618,
309,
628,
67,
7095,
3292,
5141,
3546,
422,
374,
578,
358,
67,
7095,
3292,
5141,
3546,
422,
374,
30,
1509,
273,
819,
18,
588,
2668,
712,
2187,
813,
18,
701,
9982,
29909,
61,
6456,
81,
6456,
72,
26112,
309,
628,
67,
7095,
3292,
5141,
3546,
422,
374,
30,
5462,
67,
7175,
273,
628,
67,
7095,
18,
7175,
469,
30,
5462,
67,
7175,
273,
358,
67,
7095,
18,
2
] |
|
def PIDLoop(a) | def PIDLoop(a): | def PIDLoop(a) return a | 04566e6c60af5bcbde76b7b21ec90b56e4a9f8e7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10608/04566e6c60af5bcbde76b7b21ec90b56e4a9f8e7/common.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
14788,
6452,
12,
69,
4672,
225,
327,
279,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
14788,
6452,
12,
69,
4672,
225,
327,
279,
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
] |
Compare self and right. | Compare ``self`` and ``right``. | def __cmp__(self, right): """ Compare self and right. The ordering is whatever it is in Gap. EXAMPLES:: sage: G1 = PermutationGroup([[(1,2,3),(4,5)],[(3,4)]]) sage: G2 = PermutationGroup([[(1,2,3),(4,5)]]) sage: G1 > G2 True sage: G1 < G2 False """ if not isinstance(right, PermutationGroup_generic): return -1 return right._gap_().__cmp__(self._gap_()) | f5f8be9435d58a2a709e6aa602d3c0e6ac097c6a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/f5f8be9435d58a2a709e6aa602d3c0e6ac097c6a/permgroup.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
9625,
972,
12,
2890,
16,
2145,
4672,
3536,
11051,
12176,
2890,
10335,
471,
12176,
4083,
68,
8338,
225,
1021,
9543,
353,
15098,
518,
353,
316,
611,
438,
18,
225,
5675,
8900,
11386,
2866,
225,
272,
410,
30,
611,
21,
273,
13813,
9245,
1114,
3816,
63,
12,
21,
16,
22,
16,
23,
3631,
12,
24,
16,
25,
13,
6487,
63,
12,
23,
16,
24,
25887,
5717,
272,
410,
30,
611,
22,
273,
13813,
9245,
1114,
3816,
63,
12,
21,
16,
22,
16,
23,
3631,
12,
24,
16,
25,
25887,
5717,
272,
410,
30,
611,
21,
405,
611,
22,
1053,
272,
410,
30,
611,
21,
411,
611,
22,
1083,
3536,
309,
486,
1549,
12,
4083,
16,
13813,
9245,
1114,
67,
13540,
4672,
327,
300,
21,
327,
2145,
6315,
14048,
67,
7675,
972,
9625,
972,
12,
2890,
6315,
14048,
67,
10756,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
9625,
972,
12,
2890,
16,
2145,
4672,
3536,
11051,
12176,
2890,
10335,
471,
12176,
4083,
68,
8338,
225,
1021,
9543,
353,
15098,
518,
353,
316,
611,
438,
18,
225,
5675,
8900,
11386,
2866,
225,
272,
410,
30,
611,
21,
273,
13813,
9245,
1114,
3816,
63,
12,
21,
16,
22,
16,
23,
3631,
12,
24,
16,
25,
13,
6487,
63,
12,
23,
16,
24,
25887,
5717,
272,
410,
30,
611,
22,
273,
13813,
9245,
1114,
3816,
63,
12,
21,
16,
22,
16,
23,
3631,
12,
24,
16,
25,
25887,
5717,
272,
410,
30,
611,
21,
405,
611,
22,
1053,
272,
410,
30,
611,
21,
411,
611,
22,
1083,
3536,
309,
486,
1549,
12,
4083,
16,
13813,
9245,
1114,
2
] |
code[skip] = len(code) - skip if op == MAX_REPEAT: | code[skip] = _len(code) - skip if op is MAX_REPEAT: | def fixup(literal, flags=flags): return _sre.getlower(literal, flags) | 3f8fdffe72485d69e9e31bdeb4796c1cca750eba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/3f8fdffe72485d69e9e31bdeb4796c1cca750eba/sre_compile.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2917,
416,
12,
13107,
16,
2943,
33,
7133,
4672,
327,
389,
87,
266,
18,
588,
8167,
12,
13107,
16,
2943,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2917,
416,
12,
13107,
16,
2943,
33,
7133,
4672,
327,
389,
87,
266,
18,
588,
8167,
12,
13107,
16,
2943,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
class _PEB_2003_64(Structure): _pack_ = 8 _fields_ = [ ("InheritedAddressSpace", BOOLEAN), ("ReadImageFileExecOptions", UCHAR), ("BeingDebugged", BOOLEAN), ("BitField", UCHAR), ("Mutant", HANDLE), ("ImageBaseAddress", PVOID), ("Ldr", PVOID), ("ProcessParameters", PVOID), ("SubSystemData", PVOID), ("ProcessHeap", PVOID), ("FastPebLock", PVOID), ("AtlThunkSListPtr", PVOID), ("SparePtr2", PVOID), ("EnvironmentUpdateCount", DWORD), ("KernelCallbackTable", PVOID), ("SystemReserved", DWORD), ("SpareUlong", DWORD), ("FreeList", PVOID), ("TlsExpansionCounter", DWORD), ("TlsBitmap", PVOID), ("TlsBitmapBits", DWORD * 2), ("ReadOnlySharedMemoryBase", PVOID), ("ReadOnlySharedMemoryHeap", PVOID), ("ReadOnlyStaticServerData", PVOID), ("AnsiCodePageData", PVOID), ("OemCodePageData", PVOID), ("UnicodeCaseTableData", PVOID), ("NumberOfProcessors", DWORD), ("NtGlobalFlag", DWORD), ("CriticalSectionTimeout", LONGLONG), ("HeapSegmentReserve", QWORD), ("HeapSegmentCommit", QWORD), ("HeapDeCommitTotalFreeThreshold", QWORD), ("HeapDeCommitFreeBlockThreshold", QWORD), ("NumberOfHeaps", DWORD), ("MaximumNumberOfHeaps", DWORD), ("ProcessHeaps", PVOID), ("GdiSharedHandleTable", PVOID), ("ProcessStarterHelper", PVOID), ("GdiDCAttributeList", DWORD), ("LoaderLock", PVOID), ("OSMajorVersion", DWORD), ("OSMinorVersion", DWORD), ("OSBuildNumber", WORD), ("OSCSDVersion", WORD), ("OSPlatformId", DWORD), ("ImageSubsystem", DWORD), ("ImageSubsystemMajorVersion", DWORD), ("ImageSubsystemMinorVersion", DWORD), ("ImageProcessAffinityMask", QWORD), ("GdiHandleBuffer", DWORD * 60), ("PostProcessInitRoutine", PPS_POST_PROCESS_INIT_ROUTINE), ("TlsExpansionBitmap", PVOID), ("TlsExpansionBitmapBits", DWORD * 32), ("SessionId", DWORD), ("AppCompatFlags", ULONGLONG), ("AppCompatFlagsUser", ULONGLONG), ("pShimData", PVOID), ("AppCompatInfo", PVOID), ("CSDVersion", UNICODE_STRING), ("ActivationContextData", PVOID), ("ProcessAssemblyStorageMap", PVOID), ("SystemDefaultActivationContextData", PVOID), ("SystemAssemblyStorageMap", PVOID), ("MinimumStackCommit", QWORD), ("FlsCallback", PVOID), ("FlsListHead", LIST_ENTRY), ("FlsBitmap", PVOID), ("FlsBitmapBits", DWORD * 4), ("FlsHighIndex", DWORD), ] | _PEB_2003_64 = _PEB_XP_64 _PEB_2003_R2 = _PEB_2003 _PEB_2003_R2_64 = _PEB_2003_64 | # typedef struct _RTL_CRITICAL_SECTION | 42829baafe49a5c7f142918f583dc856d464ec03 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7261/42829baafe49a5c7f142918f583dc856d464ec03/peb_teb.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
468,
618,
536,
1958,
389,
54,
5967,
67,
5093,
21377,
67,
19082,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
468,
618,
536,
1958,
389,
54,
5967,
67,
5093,
21377,
67,
19082,
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
] |
return '' | pass return '' | def _getMonClasses(option): """ for a given app,backend pair return the monitoring classes or an empty string if it's not defined """ try: return mc[option] except (ConfigError,KeyError): return '' | 8f79188915ff0648fa07f7b1aaae8bfad581ccdd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1488/8f79188915ff0648fa07f7b1aaae8bfad581ccdd/__init__.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
588,
11415,
4818,
12,
3482,
4672,
3536,
364,
279,
864,
595,
16,
9993,
3082,
327,
326,
16309,
3318,
578,
392,
1008,
533,
309,
518,
1807,
486,
2553,
3536,
775,
30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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
588,
11415,
4818,
12,
3482,
4672,
3536,
364,
279,
864,
595,
16,
9993,
3082,
327,
326,
16309,
3318,
578,
392,
1008,
533,
309,
518,
1807,
486,
2553,
3536,
775,
30,
327,
6108,
63,
3482,
65,
1335,
261,
809,
668,
16,
653,
668,
4672,
1342,
327,
875,
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
] |
'kernel-hugemem', 'kernel-enterprise', 'kernel-bigmem']) | 'kernel-hugemem', 'kernel-enterprise', 'kernel-bigmem', 'kernel-devel']) | def setConfigOption(self, option, value): if hasattr(self, option): setattr(self, option, value) else: raise Errors.ConfigError, 'No such option %s' % option | b4b2cbf877c4ba3be6a8507a50e9a97a03c59928 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5445/b4b2cbf877c4ba3be6a8507a50e9a97a03c59928/config.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
15517,
1895,
12,
2890,
16,
1456,
16,
460,
4672,
309,
3859,
12,
2890,
16,
1456,
4672,
9241,
12,
2890,
16,
1456,
16,
460,
13,
469,
30,
1002,
9372,
18,
809,
668,
16,
296,
2279,
4123,
1456,
738,
87,
11,
738,
1456,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
15517,
1895,
12,
2890,
16,
1456,
16,
460,
4672,
309,
3859,
12,
2890,
16,
1456,
4672,
9241,
12,
2890,
16,
1456,
16,
460,
13,
469,
30,
1002,
9372,
18,
809,
668,
16,
296,
2279,
4123,
1456,
738,
87,
11,
738,
1456,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.request_go() | self.request_go(fdetach = True) | def detach(self): self.__verify_attached() | 06dc681403fdcdb1a8e31d49e638995e605cf070 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1662/06dc681403fdcdb1a8e31d49e638995e605cf070/rpdb2.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10199,
12,
2890,
4672,
365,
16186,
8705,
67,
24157,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
10199,
12,
2890,
4672,
365,
16186,
8705,
67,
24157,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
print 'Captured',count*2, 'fields,', 0.1*int(count*20000.0/(t1-t0)), 'f/s', print count*200.0/lastid, '%,', print count*rate*200.0/lastid, '% of wanted rate' | print 'Captured',count*2, 'fields,', print 0.1*int(count*20000.0/(t1-t0)), 'f/s', if lastid: print count*200.0/lastid, '%,', print count*rate*200.0/lastid, '% of wanted rate', print | def record(v, info, filename, audiofilename, mono, grey, monotreshold): import thread format, x, y, qsize, rate = info fps = 59.64 # Fields per second # XXX (Strange: need fps of Indigo monitor, not of PAL or NTSC!) tpf = 1000.0 / fps # Time per field in msec if filename: vout = VFile.VoutFile().init(filename) if mono: vout.format = 'mono' elif grey: vout.format = 'grey' else: vout.format = 'rgb8' vout.width = x vout.height = y vout.writeheader() MAXSIZE = 20 # XXX should be a user option import Queue queue = Queue.Queue().init(MAXSIZE) done = thread.allocate_lock() done.acquire_lock() thread.start_new_thread(saveframes, \ (vout, queue, done, mono, monotreshold)) if audiofilename: audiodone = thread.allocate_lock() audiodone.acquire_lock() audiostop = [] initaudio(audiofilename, audiostop, audiodone) gl.wintitle('(rec) ' + filename) lastid = 0 t0 = time.millitimer() count = 0 timestamps = [] ids = [] v.InitContinuousCapture(info) while not gl.qtest(): try: cd, id = v.GetCaptureData() except sv.error: time.millisleep(10) # XXX is this necessary? continue timestamps.append(time.millitimer()) ids.append(id) id = id + 2*rate | 9533ebe85737fdd61b9f9936472303c0d51d233b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/9533ebe85737fdd61b9f9936472303c0d51d233b/Vrec.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1409,
12,
90,
16,
1123,
16,
1544,
16,
20232,
77,
792,
2550,
16,
6921,
83,
16,
5174,
93,
16,
6921,
352,
3444,
4672,
1930,
2650,
740,
16,
619,
16,
677,
16,
1043,
1467,
16,
4993,
273,
1123,
26067,
273,
14995,
18,
1105,
468,
7190,
1534,
2205,
468,
11329,
261,
1585,
726,
30,
1608,
26067,
434,
657,
5606,
83,
6438,
16,
486,
434,
453,
1013,
578,
20064,
2312,
24949,
8071,
74,
273,
4336,
18,
20,
342,
26067,
468,
2647,
1534,
652,
316,
312,
3321,
309,
1544,
30,
331,
659,
273,
776,
812,
18,
58,
659,
812,
7675,
2738,
12,
3459,
13,
309,
6921,
83,
30,
331,
659,
18,
2139,
273,
296,
2586,
83,
11,
1327,
5174,
93,
30,
331,
659,
18,
2139,
273,
296,
11556,
93,
11,
469,
30,
331,
659,
18,
2139,
273,
296,
10948,
28,
11,
331,
659,
18,
2819,
273,
619,
331,
659,
18,
4210,
273,
677,
331,
659,
18,
2626,
3374,
1435,
4552,
4574,
273,
4200,
468,
11329,
1410,
506,
279,
729,
1456,
1930,
7530,
2389,
273,
7530,
18,
3183,
7675,
2738,
12,
6694,
4574,
13,
2731,
273,
2650,
18,
16247,
67,
739,
1435,
2731,
18,
1077,
1039,
67,
739,
1435,
2650,
18,
1937,
67,
2704,
67,
5930,
12,
5688,
10278,
16,
521,
261,
90,
659,
16,
2389,
16,
2731,
16,
6921,
83,
16,
6921,
352,
3444,
3719,
309,
20232,
77,
792,
2550,
30,
20232,
2386,
476,
273,
2650,
18,
16247,
67,
739,
1435,
20232,
2386,
476,
18,
1077,
1039,
67,
739,
1435,
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,
1409,
12,
90,
16,
1123,
16,
1544,
16,
20232,
77,
792,
2550,
16,
6921,
83,
16,
5174,
93,
16,
6921,
352,
3444,
4672,
1930,
2650,
740,
16,
619,
16,
677,
16,
1043,
1467,
16,
4993,
273,
1123,
26067,
273,
14995,
18,
1105,
468,
7190,
1534,
2205,
468,
11329,
261,
1585,
726,
30,
1608,
26067,
434,
657,
5606,
83,
6438,
16,
486,
434,
453,
1013,
578,
20064,
2312,
24949,
8071,
74,
273,
4336,
18,
20,
342,
26067,
468,
2647,
1534,
652,
316,
312,
3321,
309,
1544,
30,
331,
659,
273,
776,
812,
18,
58,
659,
812,
7675,
2738,
12,
3459,
13,
309,
6921,
83,
30,
331,
659,
18,
2139,
273,
296,
2586,
83,
11,
1327,
5174,
93,
30,
331,
2
] |
if os.name=='nt': extensions.append(Extension('wc.js.jslib', sources=['wc/js/jslib.c'], define_macros = [('WIN32', None), ('XP_WIN', None), ('EXPORT_JS_API', None)], include_dirs = include_dirs + ['libjs'], extra_compile_args = extra_compile_args, extra_objects = ['libjs/.libs/libjs.a'], library_dirs = library_dirs, libraries = libraries, )) | if win_compiling: define_macros = [('WIN32', None), ('XP_WIN', None), ('EXPORT_JS_API', None), ] | def get_exe_bytes (self): if win_cross_compiling: # wininst.exe is in the same directory as bdist_wininst # XXX for python2.4, use wininst-X.Y.exe directory = os.path.dirname(distutils.command.__file__) filename = os.path.join(directory, "wininst.exe") return open(filename, "rb").read() return super(MyBdistWininst, self).get_exe_bytes() | 44ccc6339c9b7b06a9beaa414a5ef9dd982bdb33 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3948/44ccc6339c9b7b06a9beaa414a5ef9dd982bdb33/setup.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
14880,
67,
3890,
261,
2890,
4672,
309,
5657,
67,
14653,
67,
2919,
4973,
30,
468,
5657,
8591,
18,
14880,
353,
316,
326,
1967,
1867,
487,
324,
4413,
67,
8082,
8591,
468,
11329,
364,
5790,
22,
18,
24,
16,
999,
5657,
8591,
17,
60,
18,
61,
18,
14880,
1867,
273,
1140,
18,
803,
18,
12287,
12,
4413,
5471,
18,
3076,
16186,
768,
972,
13,
1544,
273,
1140,
18,
803,
18,
5701,
12,
5149,
16,
315,
8082,
8591,
18,
14880,
7923,
327,
1696,
12,
3459,
16,
315,
6731,
20387,
896,
1435,
327,
2240,
12,
12062,
38,
4413,
18049,
8591,
16,
365,
2934,
588,
67,
14880,
67,
3890,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
14880,
67,
3890,
261,
2890,
4672,
309,
5657,
67,
14653,
67,
2919,
4973,
30,
468,
5657,
8591,
18,
14880,
353,
316,
326,
1967,
1867,
487,
324,
4413,
67,
8082,
8591,
468,
11329,
364,
5790,
22,
18,
24,
16,
999,
5657,
8591,
17,
60,
18,
61,
18,
14880,
1867,
273,
1140,
18,
803,
18,
12287,
12,
4413,
5471,
18,
3076,
16186,
768,
972,
13,
1544,
273,
1140,
18,
803,
18,
5701,
12,
5149,
16,
315,
8082,
8591,
18,
14880,
7923,
327,
1696,
12,
3459,
16,
315,
6731,
20387,
896,
1435,
327,
2240,
12,
12062,
38,
4413,
18049,
8591,
16,
365,
2934,
588,
67,
14880,
67,
3890,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
clist = tools.Walk(root, pattern=re.compile('.*'), return_folders=1) clist = [mem[len(root)+1:] for mem in clist] clist.sort() clist.insert(0, "") | def genCategories(self): config = self._request.getConfiguration() root = config["datadir"] | 16f048911f07ff3f62fdc8867dc527d3ce99f2a4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11836/16f048911f07ff3f62fdc8867dc527d3ce99f2a4/pycategories.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3157,
10487,
12,
2890,
4672,
642,
273,
365,
6315,
2293,
18,
588,
1750,
1435,
1365,
273,
642,
9614,
3404,
361,
481,
11929,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3157,
10487,
12,
2890,
4672,
642,
273,
365,
6315,
2293,
18,
588,
1750,
1435,
1365,
273,
642,
9614,
3404,
361,
481,
11929,
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
] |
|
if not Globals.options.reload: | noonToday = datetime.datetime.combine( datetime.date.today(), datetime.time(12, tzinfo=ICUtzinfo.floating)) WelcomeEvent = pim.EventStamp.update(parcel, 'WelcomeEvent', displayName=_(u'Welcome to Chandler %(version)s') % {'version': version.version}, startTime=noonToday, duration=datetime.timedelta(minutes=60), anyTime=False, read=False, creator=osafDev, location=pim.Location.update(parcel, "OSAFLocation", displayName=_("Open Source Applications Foundation"), ), ) body = _(u"""Welcome to the Chandler %(version)s! For a wealth of information for end-users and developers, point your browser to: http://chandler.osafoundation.org There you can see presentations on the Vision of Chandler, details about this release, screenshots and screencast demos, documentation and tutorials for developers, and how to participate in testing and giving us feedback about your experience in experimenting with Chandler. This release is focused on "experimentally usable" calendar functionality. It meets the following four goals: 1. Usable Calendar We intend to use the %(version)s calendar internally at OSAF on a day-to-day basis in order to experience first hand the features, functionality, limitations, and any bugs in the product. We believe using the product ourselves early on is the best way to ensure superlative design and implementation. The calendar now includes timezones, repeating events, all-day events, multiple overlaying calendars, and shared collaborative (multi-author) group calendars using our new CalDAV-based calendar server. 2. Polished User Interface Adding polish to the UI helps calendar usability. To a lesser extent we have also polished other areas of the application UI. 3. Infrastructure Investment * Although the focus for this release is usable calendar functionality, we have invested in some projects for both developer and Quality Assurance productivity. For example, we have begun optimizing for performance, and have developed automated QA code tests. We want Chandler to be testable, high quality source code. * In addition, this release also includes continuing infrastructure work on email and internationalization. 4. Developer Platform * If you are an experienced Python programmer, you should be able to create simple forms-based parcels like the Flickr, Feeds, and Amazon parcels that are included in the %(version)s release. * Developer documentation, tutorials, and sample add-in parcels are part of this release. Please note, this release is still intended to be experimental; do not trust your real data with this version. An experimental file import/export feature is available to back up your calendar data. Thank you for trying Chandler. Your feedback is welcome on our mail lists: http://wiki.osafoundation.org/bin/view/Chandler/OsafMailingLists The Chandler Team""") % {'version': version.version} WelcomeEvent.body = body WelcomeEvent.changeEditState(pim.Modification.created) WelcomeEvent.setTriageStatus(pim.TriageEnum.now) pim.TaskStamp(WelcomeEvent).add() if Globals.options.reload: schema.ns('osaf.pim', parcel.itsView).allCollection.add(WelcomeEvent) else: | def installParcel(parcel, oldVersion=None): import scripts as Scripts from osaf.framework import scripting pim_ns = schema.ns('osaf.pim', parcel) sharing_ns = schema.ns('osaf.sharing', parcel) me = pim.Contact.update(parcel, 'me', displayName=_(u'Me'), contactName=pim.ContactName.update(parcel, 'meName', firstName=_(u'Chandler'), lastName=_(u'User') ), references=[pim_ns.currentContact] ) # The Sidebar collection sidebarListCollection = pim.ListCollection.update(parcel, 'sidebarCollection', inclusions=[pim_ns.allCollection, pim_ns.inCollection, pim_ns.outCollection, pim_ns.trashCollection] ) testReply = pim.mail.EmailAddress.update(parcel, 'TestReplyAddress') # [i18n] Test Accounts are not displayed to the user and # do not require localization testSmtp = pim.mail.SMTPAccount.update(parcel, 'TestSMTPAccount', displayName=u'Test SMTP Account', password=password.Password.update(parcel, 'TestSMTPAccountPassword'), isActive=False ) pim.mail.IMAPAccount.update(parcel, 'TestIMAPAccount', displayName=u'Test IMAP mail', replyToAddress=testReply, password=password.Password.update(parcel, 'TestIMAPAccountPassword'), isActive=False ) pim.mail.POPAccount.update(parcel, 'TestPOPAccount', displayName=u'Test POP mail', replyToAddress=testReply, defaultSMTPAccount=testSmtp, password=password.Password.update(parcel, 'TestPOPAccountPassword'), isActive=False ) osafDev = pim.Contact.update(parcel, 'OSAFContact', emailAddress=u'[email protected]', contactName=pim.ContactName.update(parcel, 'OSAFContactName', firstName=u'OSAF', lastName=u'Development' ) ) # OOTB collections and items (bug 6545) # http://chandlerproject.org/bin/view/Journal/PreviewOOTBChandlerExperience # # (1) Don't create these in //parcels, or they won't get dumped # (2) Don't create these if reloading, or else there will be endless # duplication of items/events # (3) We do want new UUIDs, so different users can share these # collections/items to the same morsecode server # if not Globals.options.reload: # OOTB user defined collections: collections should be in mine mine = schema.ns("osaf.pim", parcel.itsView).mine def makeCollection(name, checked, colorTuple): collection = pim.SmartCollection( itsView=parcel.itsView, displayName=name, color=pim.structs.ColorType(colorTuple) ) # include collection in overlays, as spec'ed UserCollection(collection).checked = checked sidebarListCollection.add(collection) mine.addSource(collection) return collection # OOTB user defined collections: Work, Home and Fun work = makeCollection(_(u"Work"), True, [0,0,255,255]) home = makeCollection(_(u"Home"), True, [255,0,0,255]) fun = makeCollection(_(u"Fun"), False, [0,255,0,255]) # OOTB item: Welcome item noonToday = datetime.datetime.combine( datetime.date.today(), datetime.time(12, tzinfo=ICUtzinfo.floating)) WelcomeEvent = pim.EventStamp.update(parcel, 'WelcomeEvent', displayName=_(u'Welcome to Chandler %(version)s') % {'version': version.version}, startTime=noonToday, duration=datetime.timedelta(minutes=60), anyTime=False, collections=[home,work], read=False, creator=osafDev, location=pim.Location.update(parcel, "OSAFLocation", displayName=_("Open Source Applications Foundation"), ), ) body = _(u"""Welcome to the Chandler %(version)s! | 323dda2eb4ce3cecaa28709e02c317ca86d6eb46 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/323dda2eb4ce3cecaa28709e02c317ca86d6eb46/__init__.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3799,
1553,
2183,
12,
1065,
2183,
16,
1592,
1444,
33,
7036,
4672,
225,
1930,
8873,
487,
2850,
6513,
628,
1140,
1727,
18,
12303,
1930,
2728,
310,
225,
293,
381,
67,
2387,
273,
1963,
18,
2387,
2668,
538,
1727,
18,
84,
381,
2187,
779,
2183,
13,
21001,
67,
2387,
273,
1963,
18,
2387,
2668,
538,
1727,
18,
31615,
2187,
779,
2183,
13,
225,
1791,
273,
293,
381,
18,
6567,
18,
2725,
12,
1065,
2183,
16,
296,
3501,
2187,
16218,
33,
67,
12,
89,
11,
4667,
19899,
5388,
461,
33,
84,
381,
18,
6567,
461,
18,
2725,
12,
1065,
2183,
16,
296,
3501,
461,
2187,
22033,
33,
67,
12,
89,
11,
782,
464,
749,
19899,
23439,
33,
67,
12,
89,
11,
1299,
6134,
262,
16,
5351,
22850,
84,
381,
67,
2387,
18,
2972,
6567,
65,
262,
225,
468,
1021,
26248,
3215,
1849,
23364,
682,
2532,
273,
293,
381,
18,
682,
2532,
18,
2725,
12,
1065,
2183,
16,
296,
26417,
2532,
2187,
2823,
16377,
22850,
84,
381,
67,
2387,
18,
454,
2532,
16,
293,
381,
67,
2387,
18,
267,
2532,
16,
293,
381,
67,
2387,
18,
659,
2532,
16,
293,
381,
67,
2387,
18,
28665,
2532,
65,
262,
225,
1842,
7817,
273,
293,
381,
18,
4408,
18,
23590,
18,
2725,
12,
1065,
2183,
16,
296,
4709,
7817,
1887,
6134,
225,
468,
306,
77,
2643,
82,
65,
7766,
30849,
854,
486,
10453,
358,
326,
729,
471,
468,
741,
486,
2583,
17981,
1842,
55,
11091,
273,
293,
381,
18,
4408,
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,
3799,
1553,
2183,
12,
1065,
2183,
16,
1592,
1444,
33,
7036,
4672,
225,
1930,
8873,
487,
2850,
6513,
628,
1140,
1727,
18,
12303,
1930,
2728,
310,
225,
293,
381,
67,
2387,
273,
1963,
18,
2387,
2668,
538,
1727,
18,
84,
381,
2187,
779,
2183,
13,
21001,
67,
2387,
273,
1963,
18,
2387,
2668,
538,
1727,
18,
31615,
2187,
779,
2183,
13,
225,
1791,
273,
293,
381,
18,
6567,
18,
2725,
12,
1065,
2183,
16,
296,
3501,
2187,
16218,
33,
67,
12,
89,
11,
4667,
19899,
5388,
461,
33,
84,
381,
18,
6567,
461,
18,
2725,
12,
1065,
2183,
16,
296,
3501,
461,
2187,
22033,
33,
67,
12,
89,
11,
782,
464,
749,
19899,
23439,
33,
67,
12,
89,
2
] |
self.update_tag = None | def __init__(self): global loop self.size = ui.get_cols_rows() # Happy screen saying that you can't do anything because we're scanning # for networks. :-) self.screen_locker = urwid.Filler(urwid.Text(('important',language['scanning_stand_by']), align='center')) self.no_wlan = urwid.Filler(urwid.Text(('important',language['no_wireless_networks_found']), align='center')) self.TITLE = language['wicd_curses'] self.WIRED_IDX = 1 self.WLESS_IDX = 3 | 6157eb782ace3423b9e7c138483e058585eee471 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12280/6157eb782ace3423b9e7c138483e058585eee471/wicd-curses.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
2552,
2798,
365,
18,
1467,
273,
5915,
18,
588,
67,
6842,
67,
3870,
1435,
468,
670,
438,
2074,
5518,
12532,
310,
716,
1846,
848,
1404,
741,
6967,
2724,
732,
4565,
21138,
468,
364,
13884,
18,
225,
294,
17,
13,
365,
18,
9252,
67,
739,
264,
273,
8896,
30902,
18,
8026,
264,
12,
295,
30902,
18,
1528,
12,
2668,
23221,
2187,
4923,
3292,
1017,
10903,
67,
10145,
67,
1637,
3546,
3631,
5689,
2218,
5693,
26112,
365,
18,
2135,
67,
91,
6115,
273,
8896,
30902,
18,
8026,
264,
12,
295,
30902,
18,
1528,
12,
2668,
23221,
2187,
4923,
3292,
2135,
67,
14538,
2656,
67,
19982,
67,
7015,
3546,
3631,
5689,
2218,
5693,
26112,
365,
18,
14123,
273,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
2552,
2798,
365,
18,
1467,
273,
5915,
18,
588,
67,
6842,
67,
3870,
1435,
468,
670,
438,
2074,
5518,
12532,
310,
716,
1846,
848,
1404,
741,
6967,
2724,
732,
4565,
21138,
468,
364,
13884,
18,
225,
294,
17,
13,
365,
18,
9252,
67,
739,
264,
273,
8896,
30902,
18,
8026,
264,
12,
295,
30902,
18,
1528,
12,
2668,
23221,
2187,
4923,
3292,
1017,
10903,
67,
10145,
67,
1637,
3546,
3631,
5689,
2218,
5693,
26112,
365,
18,
2135,
67,
91,
6115,
273,
8896,
30902,
18,
8026,
264,
12,
295,
30902,
18,
1528,
12,
2668,
23221,
2187,
4923,
3292,
2135,
67,
14538,
2656,
67,
19982,
67,
7015,
3546,
3631,
5689,
2218,
5693,
26112,
365,
2
] |
|
NAME ==== | def removeComponents(self, componentList, groupName = None): """ NAME ==== | 748cbae21f60ac1c42057955f2dae32754c7f701 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8747/748cbae21f60ac1c42057955f2dae32754c7f701/grouprecipe.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1206,
7171,
12,
2890,
16,
1794,
682,
16,
11619,
273,
599,
4672,
3536,
6048,
422,
631,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1206,
7171,
12,
2890,
16,
1794,
682,
16,
11619,
273,
599,
4672,
3536,
6048,
422,
631,
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
] |
|
return self.pagename.split('/')[-1] def SUBPAGENAMEE(self, args): return urlquote(self.qpagename.split('/')[-1]) def BASEPAGENAME(self, args): | return pagename.split('/')[-1] SUBPAGENAMEE = _quoted(SUBPAGENAME) @_wrap_pagename def BASEPAGENAME(self, pagename): | def SUBPAGENAME(self, args): """[MW1.6+] Returns the name of the current page, excluding parent pages ('Title/Subtitle' becomes 'Subtitle'). """ return self.pagename.split('/')[-1] | b84fcb106b1dc6f3f55e2c6f9bde6419128e9fba /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12391/b84fcb106b1dc6f3f55e2c6f9bde6419128e9fba/magics.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10025,
30633,
21150,
12,
2890,
16,
833,
4672,
3536,
63,
49,
59,
21,
18,
26,
15,
65,
2860,
326,
508,
434,
326,
783,
1363,
16,
19560,
982,
4689,
7707,
4247,
19,
1676,
2649,
11,
12724,
296,
1676,
2649,
16063,
3536,
327,
365,
18,
9095,
1069,
18,
4939,
2668,
2473,
13,
18919,
21,
65,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10025,
30633,
21150,
12,
2890,
16,
833,
4672,
3536,
63,
49,
59,
21,
18,
26,
15,
65,
2860,
326,
508,
434,
326,
783,
1363,
16,
19560,
982,
4689,
7707,
4247,
19,
1676,
2649,
11,
12724,
296,
1676,
2649,
16063,
3536,
327,
365,
18,
9095,
1069,
18,
4939,
2668,
2473,
13,
18919,
21,
65,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
raise NotImplementedError(self.read_until) | lines = [] term = terminator + '\n' while True: line = self.input.readline() if line == term: break else: lines.append(line) return ''.join(lines) | def read_until(self, terminator): """Read the input stream until the terminator is found. Throws MissingTerminator if the terminator is not found. | 205d62536829a9d49825b39b76969a03da76258e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8703/205d62536829a9d49825b39b76969a03da76258e/parser.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
67,
12198,
12,
2890,
16,
24965,
4672,
3536,
1994,
326,
810,
1407,
3180,
326,
24965,
353,
1392,
18,
225,
22435,
10230,
31868,
309,
326,
24965,
353,
486,
1392,
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,
855,
67,
12198,
12,
2890,
16,
24965,
4672,
3536,
1994,
326,
810,
1407,
3180,
326,
24965,
353,
1392,
18,
225,
22435,
10230,
31868,
309,
326,
24965,
353,
486,
1392,
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
] |
if not WakeOnLan.WakeOnLan("%s"%mac): | if not WakeOnLan("%s"%mac): | def wol_one(self, widget, ip): if not self.get_client(): return if self.main.config.GetVar("scan_network_method") != "static": msg=(_("Wake On Lan only works with static list.\n\nEnable scan method \"static\" in Preferences\nand (wake on lan) support in bios of clients." )) shared.info_msg ( msg ) return msg=_( _("Do you want boot %s client?" %ip)) if shared.ask_msg ( msg ): data=[] hostslist=self.main.config.GetVar("statichosts") #eth=self.main.config.GetVar("network_interface") if hostslist == "": return data=hostslist.split("#") data=data[:-1] for host in data: mip, mac=host.split("|") if mip == self.main.selected_ip: if mac == "": self.main.write_into_statusbar(_("No register MAC address for ip: \"%s\"")%ip) continue print_debug("Send magic packet to mac=%s" %mac) if not WakeOnLan.WakeOnLan("%s"%mac): self.main.write_into_statusbar(_("Not valid MAC address: \"%s\"")%mac) | 5df28d130fb730bac7b6ec68e4c44e143b006e97 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13520/5df28d130fb730bac7b6ec68e4c44e143b006e97/wakeonlan.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
341,
355,
67,
476,
12,
2890,
16,
3604,
16,
2359,
4672,
309,
486,
365,
18,
588,
67,
2625,
13332,
327,
309,
365,
18,
5254,
18,
1425,
18,
967,
1537,
2932,
9871,
67,
5185,
67,
2039,
7923,
480,
315,
3845,
6877,
1234,
33,
24899,
2932,
59,
911,
2755,
511,
304,
1338,
6330,
598,
760,
666,
8403,
82,
64,
82,
8317,
4135,
707,
1239,
3845,
2412,
316,
28310,
64,
82,
464,
261,
91,
911,
603,
328,
304,
13,
2865,
316,
324,
7441,
434,
7712,
1199,
8623,
5116,
18,
1376,
67,
3576,
261,
1234,
262,
327,
225,
1234,
33,
67,
12,
389,
2932,
3244,
1846,
2545,
4835,
738,
87,
1004,
7225,
738,
625,
3719,
309,
5116,
18,
835,
67,
3576,
261,
1234,
262,
30,
501,
33,
8526,
7206,
1098,
33,
2890,
18,
5254,
18,
1425,
18,
967,
1537,
2932,
5642,
1354,
669,
87,
7923,
468,
546,
33,
2890,
18,
5254,
18,
1425,
18,
967,
1537,
2932,
5185,
67,
5831,
7923,
309,
7206,
1098,
422,
1408,
30,
327,
501,
33,
11588,
1098,
18,
4939,
2932,
7,
7923,
501,
33,
892,
10531,
17,
21,
65,
364,
1479,
316,
501,
30,
312,
625,
16,
5318,
33,
2564,
18,
4939,
2932,
96,
7923,
309,
312,
625,
422,
365,
18,
5254,
18,
8109,
67,
625,
30,
309,
5318,
422,
1408,
30,
365,
18,
5254,
18,
2626,
67,
18591,
67,
2327,
3215,
24899,
2932,
2279,
1744,
14246,
1758,
364,
2359,
30,
22049,
87,
2412,
7923,
9,
625,
13,
1324,
1172,
67,
4148,
2932,
3826,
8146,
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,
341,
355,
67,
476,
12,
2890,
16,
3604,
16,
2359,
4672,
309,
486,
365,
18,
588,
67,
2625,
13332,
327,
309,
365,
18,
5254,
18,
1425,
18,
967,
1537,
2932,
9871,
67,
5185,
67,
2039,
7923,
480,
315,
3845,
6877,
1234,
33,
24899,
2932,
59,
911,
2755,
511,
304,
1338,
6330,
598,
760,
666,
8403,
82,
64,
82,
8317,
4135,
707,
1239,
3845,
2412,
316,
28310,
64,
82,
464,
261,
91,
911,
603,
328,
304,
13,
2865,
316,
324,
7441,
434,
7712,
1199,
8623,
5116,
18,
1376,
67,
3576,
261,
1234,
262,
327,
225,
1234,
33,
67,
12,
389,
2932,
3244,
1846,
2545,
4835,
738,
87,
1004,
7225,
738,
625,
3719,
309,
5116,
18,
835,
67,
3576,
261,
2
] |
self.removeRow(row) self.emit(SIGNAL('layoutChanged()')) | self.beginRemoveRows(QModelIndex(), row, row) self.db.delete_books(rows) self.endRemoveRows() | def delete_books(self, indices): rows = [ i.row() for i in indices ] for row in rows: self.removeRow(row) self.emit(SIGNAL('layoutChanged()')) self.emit(SIGNAL('deleted()')) | 93a1a15533aedead8d2d52d77be0136dbf38c259 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9125/93a1a15533aedead8d2d52d77be0136dbf38c259/library.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1430,
67,
12567,
12,
2890,
16,
4295,
4672,
2595,
273,
306,
277,
18,
492,
1435,
364,
277,
316,
4295,
308,
364,
1027,
316,
2595,
30,
365,
18,
10086,
3288,
4300,
12,
53,
1488,
1016,
9334,
1027,
16,
1027,
13,
365,
18,
1966,
18,
3733,
67,
12567,
12,
3870,
13,
365,
18,
409,
3288,
4300,
1435,
365,
18,
18356,
12,
11260,
1013,
2668,
8600,
11866,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1430,
67,
12567,
12,
2890,
16,
4295,
4672,
2595,
273,
306,
277,
18,
492,
1435,
364,
277,
316,
4295,
308,
364,
1027,
316,
2595,
30,
365,
18,
10086,
3288,
4300,
12,
53,
1488,
1016,
9334,
1027,
16,
1027,
13,
365,
18,
1966,
18,
3733,
67,
12567,
12,
3870,
13,
365,
18,
409,
3288,
4300,
1435,
365,
18,
18356,
12,
11260,
1013,
2668,
8600,
11866,
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
] |
else: | if opts.enable or args: | def do_scan(self, subcmd, opts, *args): """${cmd_name}: scan mirrors | 8fba047d38852560b8692d6cac6aa555ddfdf510 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3890/8fba047d38852560b8692d6cac6aa555ddfdf510/mirrordoctor.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
9871,
12,
2890,
16,
720,
4172,
16,
1500,
16,
380,
1968,
4672,
3536,
18498,
4172,
67,
529,
6713,
4135,
312,
27026,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
9871,
12,
2890,
16,
720,
4172,
16,
1500,
16,
380,
1968,
4672,
3536,
18498,
4172,
67,
529,
6713,
4135,
312,
27026,
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
] |