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,
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
] |
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,
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
] | [
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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,
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,
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
] | [
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,
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
] | [
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
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,
2915,
18,
4109,
18,
7786,
18905,
4672,
468,
732,
848,
1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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
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,
6877,
618,
6792,
3659,
18,
2436,
892,
273,
460,
309,
2879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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
] | [
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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,
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
] | [
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,
1053,
309,
486,
1392,
30,
729,
67,
1425,
18,
6923,
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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
] | [
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,
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
] | [
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,
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
] |
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,
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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
] | [
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,
972,
12,
2890,
16,
15892,
16,
501,
13,
2,
0,
0,
0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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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,
18,
17514,
1918,
2668,
35,
296,
4672,
1172,
1995,
87,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
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,
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
] |
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,
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
] | [
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
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,
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
] | [
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,
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
] | [
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,
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
] |
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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,
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,
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,
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,
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,
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
] | [
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,
327,
6108,
63,
3482,
65,
1335,
261,
809,
668,
16,
653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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
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,
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,
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'dev@osafoundation.org', 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,
2653,
3292,
91,
335,
72,
67,
1397,
2420,
3546,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
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
] |
milestones = [m for m in milestones if 'MILESTONE_VIEW' in req.perm(m.resource)] | if req: milestones = [m for m in milestones if 'MILESTONE_VIEW' in req.perm(m.resource)] | def template_data(self, context, tickets, orig_list=None, orig_time=None, req=None): clauses = [] for clause in self.constraints: constraints = {} for k, v in clause.items(): constraint = {'values': [], 'mode': ''} for val in v: neg = val.startswith('!') if neg: val = val[1:] mode = '' if val[:1] in ('~', '^', '$') \ and not val in self.substitutions: mode, val = val[:1], val[1:] constraint['mode'] = (neg and '!' or '') + mode constraint['values'].append(val) constraints[k] = constraint clauses.append(constraints) | cb4a777662f2a5e7e2f833a891854cd008ff342d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2831/cb4a777662f2a5e7e2f833a891854cd008ff342d/query.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1542,
67,
892,
12,
2890,
16,
819,
16,
24475,
16,
1647,
67,
1098,
33,
7036,
16,
1647,
67,
957,
33,
7036,
16,
1111,
33,
7036,
4672,
14093,
273,
5378,
364,
6591,
316,
365,
18,
11967,
30,
6237,
273,
2618,
364,
417,
16,
331,
316,
6591,
18,
3319,
13332,
4954,
273,
13666,
2372,
4278,
5378,
16,
296,
3188,
4278,
875,
97,
364,
1244,
316,
331,
30,
4251,
273,
1244,
18,
17514,
1918,
2668,
5124,
13,
309,
4251,
30,
1244,
273,
1244,
63,
21,
26894,
1965,
273,
875,
309,
1244,
10531,
21,
65,
316,
7707,
98,
2187,
10731,
2187,
3365,
6134,
521,
471,
486,
1244,
316,
365,
18,
1717,
30892,
30,
1965,
16,
1244,
273,
1244,
10531,
21,
6487,
1244,
63,
21,
26894,
4954,
3292,
3188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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1542,
67,
892,
12,
2890,
16,
819,
16,
24475,
16,
1647,
67,
1098,
33,
7036,
16,
1647,
67,
957,
33,
7036,
16,
1111,
33,
7036,
4672,
14093,
273,
5378,
364,
6591,
316,
365,
18,
11967,
30,
6237,
273,
2618,
364,
417,
16,
331,
316,
6591,
18,
3319,
13332,
4954,
273,
13666,
2372,
4278,
5378,
16,
296,
3188,
4278,
875,
97,
364,
1244,
316,
331,
30,
4251,
273,
1244,
18,
17514,
1918,
2668,
5124,
13,
309,
4251,
30,
1244,
273,
1244,
63,
21,
26894,
1965,
273,
875,
309,
1244,
10531,
21,
65,
316,
7707,
98,
2187,
10731,
2187,
3365,
6134,
521,
471,
486,
1244,
316,
365,
18,
1717,
30892,
30,
1965,
16,
1244,
273,
1244,
10531,
21,
6487,
1244,
2
] |
x1, x2 : array_like of string_ or unicode_ | x1, x2 : array_like of str or unicode | def greater(x1, x2): """ Return (x1 > x2) element-wise. Unlike `numpy.greater`, this comparison is performed by first stripping whitespace characters from the end of the string. This behavior is provided for backward-compatibility with numarray. Parameters ---------- x1, x2 : array_like of string_ or unicode_ Input arrays of the same shape. Returns ------- out : {ndarray, bool} Output array of bools, or a single bool if x1 and x2 are scalars. See Also -------- equal, not_equal, greater_equal, less_equal, less """ return compare_chararrays(x1, x2, '>', True) | 05324d0e986a1012a342e2650b3883e13a285029 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14925/05324d0e986a1012a342e2650b3883e13a285029/defchararray.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6802,
12,
92,
21,
16,
619,
22,
4672,
3536,
2000,
261,
92,
21,
405,
619,
22,
13,
930,
17,
2460,
18,
225,
25448,
1375,
15974,
18,
11556,
2045,
9191,
333,
5826,
353,
9591,
635,
1122,
2569,
1382,
7983,
3949,
628,
326,
679,
434,
326,
533,
18,
225,
1220,
6885,
353,
2112,
364,
12555,
17,
27303,
598,
818,
1126,
18,
225,
7012,
12181,
619,
21,
16,
619,
22,
294,
526,
67,
5625,
434,
609,
578,
5252,
2741,
5352,
434,
326,
1967,
2179,
18,
225,
2860,
18365,
596,
294,
288,
25681,
16,
1426,
97,
3633,
526,
434,
1426,
87,
16,
578,
279,
2202,
1426,
309,
619,
21,
471,
619,
22,
854,
23743,
18,
225,
2164,
8080,
27093,
3959,
16,
486,
67,
9729,
16,
6802,
67,
9729,
16,
5242,
67,
9729,
16,
5242,
3536,
327,
3400,
67,
3001,
16223,
12,
92,
21,
16,
619,
22,
16,
7481,
16,
1053,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6802,
12,
92,
21,
16,
619,
22,
4672,
3536,
2000,
261,
92,
21,
405,
619,
22,
13,
930,
17,
2460,
18,
225,
25448,
1375,
15974,
18,
11556,
2045,
9191,
333,
5826,
353,
9591,
635,
1122,
2569,
1382,
7983,
3949,
628,
326,
679,
434,
326,
533,
18,
225,
1220,
6885,
353,
2112,
364,
12555,
17,
27303,
598,
818,
1126,
18,
225,
7012,
12181,
619,
21,
16,
619,
22,
294,
526,
67,
5625,
434,
609,
578,
5252,
2741,
5352,
434,
326,
1967,
2179,
18,
225,
2860,
18365,
596,
294,
288,
25681,
16,
1426,
97,
3633,
526,
434,
1426,
87,
16,
578,
279,
2202,
1426,
309,
619,
21,
471,
619,
22,
854,
23743,
18,
225,
2164,
8080,
27093,
3959,
16,
486,
2
] |
sources = ['sage/ext/arith.pyx', 'sage/rings/integer.pyx'], | sources = ['sage/ext/arith.pyx', 'sage/rings/integer.pyx', \ 'sage/ext/mpn_pylong.c', 'sage/ext/mpz_pylong.c'], | def needs_c_lib_build(): lib = '../../local/lib/libcsage.so' files = os.listdir( 'c_lib/src' ) src_files = ['c_lib/src/' + f for f in files if is_src_file( f )] src_files += ['c_lib/configure', 'c_lib/Makefile'] for f in src_files: if is_older( f, lib ): return True return False | 5bdce1b4b9791f00a34e31aa84f44d5dc3b3f3fd /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/5bdce1b4b9791f00a34e31aa84f44d5dc3b3f3fd/setup.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4260,
67,
71,
67,
2941,
67,
3510,
13332,
2561,
273,
296,
16644,
3729,
19,
2941,
19,
2941,
2143,
410,
18,
2048,
11,
1390,
273,
1140,
18,
1098,
1214,
12,
296,
71,
67,
2941,
19,
4816,
11,
262,
1705,
67,
2354,
273,
10228,
71,
67,
2941,
19,
4816,
2473,
397,
284,
364,
284,
316,
1390,
309,
353,
67,
4816,
67,
768,
12,
284,
262,
65,
1705,
67,
2354,
1011,
10228,
71,
67,
2941,
19,
14895,
2187,
296,
71,
67,
2941,
19,
6464,
768,
3546,
364,
284,
316,
1705,
67,
2354,
30,
309,
353,
67,
1498,
12,
284,
16,
2561,
262,
30,
327,
1053,
327,
1083,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4260,
67,
71,
67,
2941,
67,
3510,
13332,
2561,
273,
296,
16644,
3729,
19,
2941,
19,
2941,
2143,
410,
18,
2048,
11,
1390,
273,
1140,
18,
1098,
1214,
12,
296,
71,
67,
2941,
19,
4816,
11,
262,
1705,
67,
2354,
273,
10228,
71,
67,
2941,
19,
4816,
2473,
397,
284,
364,
284,
316,
1390,
309,
353,
67,
4816,
67,
768,
12,
284,
262,
65,
1705,
67,
2354,
1011,
10228,
71,
67,
2941,
19,
14895,
2187,
296,
71,
67,
2941,
19,
6464,
768,
3546,
364,
284,
316,
1705,
67,
2354,
30,
309,
353,
67,
1498,
12,
284,
16,
2561,
262,
30,
327,
1053,
327,
1083,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
def _parsebody(self, container, fp): | return firstbodyline def _parsebody(self, container, fp, firstbodyline=None): | def _parseheaders(self, container, fp): # Parse the headers, returning a list of header/value pairs. None as # the header means the Unix-From header. lastheader = '' lastvalue = [] lineno = 0 while True: # Don't strip the line before we test for the end condition, # because whitespace-only header lines are RFC compliant # continuation lines. line = fp.readline() if not line: break line = line.splitlines()[0] if not line: break # Ignore the trailing newline lineno += 1 # Check for initial Unix From_ line if line.startswith('From '): if lineno == 1: container.set_unixfrom(line) continue elif self._strict: raise Errors.HeaderParseError( 'Unix-from in headers after first rfc822 header') else: # ignore the wierdly placed From_ line # XXX: maybe set unixfrom anyway? or only if not already? continue # Header continuation line if line[0] in ' \t': if not lastheader: raise Errors.HeaderParseError( 'Continuation line seen before first header') lastvalue.append(line) continue # Normal, non-continuation header. BAW: this should check to make # sure it's a legal header, e.g. doesn't contain spaces. Also, we # should expose the header matching algorithm in the API, and # allow for a non-strict parsing mode (that ignores the line # instead of raising the exception). i = line.find(':') if i < 0: if self._strict: raise Errors.HeaderParseError( "Not a header, not a continuation: ``%s''"%line) elif lineno == 1 and line.startswith('--'): # allow through duplicate boundary tags. continue else: raise Errors.HeaderParseError( "Not a header, not a continuation: ``%s''"%line) if lastheader: container[lastheader] = NL.join(lastvalue) lastheader = line[:i] lastvalue = [line[i+1:].lstrip()] # Make sure we retain the last header if lastheader: container[lastheader] = NL.join(lastvalue) | 29cf8f613a5699943f15196d8af7711688c174ea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/29cf8f613a5699943f15196d8af7711688c174ea/Parser.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2670,
2485,
12,
2890,
16,
1478,
16,
4253,
4672,
468,
2884,
326,
1607,
16,
5785,
279,
666,
434,
1446,
19,
1132,
5574,
18,
225,
599,
487,
468,
326,
1446,
4696,
326,
9480,
17,
1265,
1446,
18,
1142,
3374,
273,
875,
1142,
1132,
273,
5378,
7586,
273,
374,
1323,
1053,
30,
468,
7615,
1404,
2569,
326,
980,
1865,
732,
1842,
364,
326,
679,
2269,
16,
468,
2724,
7983,
17,
3700,
1446,
2362,
854,
8372,
24820,
468,
17378,
2362,
18,
980,
273,
4253,
18,
896,
1369,
1435,
309,
486,
980,
30,
898,
980,
273,
980,
18,
4939,
3548,
1435,
63,
20,
65,
309,
486,
980,
30,
898,
468,
8049,
326,
7341,
9472,
7586,
1011,
404,
468,
2073,
364,
2172,
9480,
6338,
67,
980,
309,
980,
18,
17514,
1918,
2668,
1265,
296,
4672,
309,
7586,
422,
404,
30,
1478,
18,
542,
67,
21136,
2080,
12,
1369,
13,
1324,
1327,
365,
6315,
13948,
30,
1002,
9372,
18,
1864,
21004,
12,
296,
18729,
17,
2080,
316,
1607,
1839,
1122,
16590,
24532,
1446,
6134,
469,
30,
468,
2305,
326,
341,
2453,
72,
715,
15235,
6338,
67,
980,
468,
11329,
30,
6944,
444,
9753,
2080,
13466,
35,
578,
1338,
309,
486,
1818,
35,
1324,
468,
4304,
17378,
980,
309,
980,
63,
20,
65,
316,
296,
521,
88,
4278,
309,
486,
1142,
3374,
30,
1002,
9372,
18,
1864,
21004,
12,
296,
660,
23946,
980,
5881,
1865,
1122,
1446,
6134,
1142,
1132,
18,
6923,
12,
1369,
13,
1324,
468,
8769,
16,
1661,
17,
1213,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2670,
2485,
12,
2890,
16,
1478,
16,
4253,
4672,
468,
2884,
326,
1607,
16,
5785,
279,
666,
434,
1446,
19,
1132,
5574,
18,
225,
599,
487,
468,
326,
1446,
4696,
326,
9480,
17,
1265,
1446,
18,
1142,
3374,
273,
875,
1142,
1132,
273,
5378,
7586,
273,
374,
1323,
1053,
30,
468,
7615,
1404,
2569,
326,
980,
1865,
732,
1842,
364,
326,
679,
2269,
16,
468,
2724,
7983,
17,
3700,
1446,
2362,
854,
8372,
24820,
468,
17378,
2362,
18,
980,
273,
4253,
18,
896,
1369,
1435,
309,
486,
980,
30,
898,
980,
273,
980,
18,
4939,
3548,
1435,
63,
20,
65,
309,
486,
980,
30,
898,
468,
8049,
326,
7341,
9472,
7586,
1011,
404,
468,
2073,
364,
2172,
2
] |
self.frame_vbox.Add(self.top_hbox, 0, wx.EXPAND) | def __init__(self): wx.Locale(wx.LOCALE_LOAD_DEFAULT) self.app = wx.App(True, "mlox.err") print_version() self.can_update = True self.dir = os.getcwd() # setup widgets default_font = wx.Font(-1, family=wx.FONTFAMILY_DEFAULT, style=wx.FONTSTYLE_NORMAL, weight=wx.FONTWEIGHT_NORMAL, underline=False, face="", encoding=wx.FONTENCODING_SYSTEM) size = default_font.GetPointSize() self.label_font = wx.Font(size + 2, family=wx.FONTFAMILY_DEFAULT, style=wx.FONTSTYLE_NORMAL, weight=wx.FONTWEIGHT_BOLD) self.button_font = wx.Font(size + 6, family=wx.FONTFAMILY_DEFAULT, style=wx.FONTSTYLE_NORMAL, weight=wx.FONTWEIGHT_BOLD) self.frame = wx.Frame(None, wx.ID_ANY, ("mlox %s" % Version)) self.frame.SetSizeHints(800,600) self.frame.SetBackgroundColour(wx.SystemSettings.GetColour(wx.SYS_COLOUR_3DFACE)) self.logo = wx.Panel(self.frame, -1) wx.StaticBitmap(self.logo, bitmap=wx.BitmapFromImage(wx.Image("mlox.gif", wx.BITMAP_TYPE_GIF))) self.label_stats = wx.StaticText(self.frame, -1, _["Statistics"]) self.label_stats.SetFont(self.label_font) self.txt_stats = wx.TextCtrl(self.frame, -1, "", style=wx.TE_READONLY|wx.TE_MULTILINE|wx.TE_RICH2) self.txt_stats.SetFont(default_font) if Opt.AutoFocus: self.txt_stats.Bind(wx.EVT_ENTER_WINDOW, lambda e: self.txt_stats.SetFocus()) | 07c6564afc09f1eae18d93180e08f3e41b8bb49e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2827/07c6564afc09f1eae18d93180e08f3e41b8bb49e/mlox.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
7075,
18,
3916,
12,
27226,
18,
25368,
67,
7783,
67,
5280,
13,
365,
18,
2910,
273,
7075,
18,
3371,
12,
5510,
16,
315,
81,
383,
92,
18,
370,
7923,
1172,
67,
1589,
1435,
365,
18,
4169,
67,
2725,
273,
1053,
365,
18,
1214,
273,
1140,
18,
588,
11089,
1435,
468,
3875,
10965,
805,
67,
5776,
273,
7075,
18,
5711,
19236,
21,
16,
6755,
33,
27226,
18,
25221,
25002,
25554,
67,
5280,
16,
2154,
33,
27226,
18,
25221,
15066,
67,
15480,
16,
3119,
33,
27226,
18,
25221,
29988,
67,
15480,
16,
25985,
33,
8381,
16,
7945,
1546,
3113,
2688,
33,
27226,
18,
25221,
14672,
67,
14318,
13,
963,
273,
805,
67,
5776,
18,
967,
2148,
1225,
1435,
365,
18,
1925,
67,
5776,
273,
7075,
18,
5711,
12,
1467,
397,
576,
16,
6755,
33,
27226,
18,
25221,
25002,
25554,
67,
5280,
16,
2154,
33,
27226,
18,
25221,
15066,
67,
15480,
16,
3119,
33,
27226,
18,
25221,
29988,
67,
38,
11846,
13,
365,
18,
5391,
67,
5776,
273,
7075,
18,
5711,
12,
1467,
397,
1666,
16,
6755,
33,
27226,
18,
25221,
25002,
25554,
67,
5280,
16,
2154,
33,
27226,
18,
25221,
15066,
67,
15480,
16,
3119,
33,
27226,
18,
25221,
29988,
67,
38,
11846,
13,
365,
18,
3789,
273,
7075,
18,
3219,
12,
7036,
16,
7075,
18,
734,
67,
15409,
16,
7566,
81,
383,
92,
738,
87,
6,
738,
4049,
3719,
365,
18,
3789,
18,
694,
1225,
13368,
12,
17374,
16,
28133,
13,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
7075,
18,
3916,
12,
27226,
18,
25368,
67,
7783,
67,
5280,
13,
365,
18,
2910,
273,
7075,
18,
3371,
12,
5510,
16,
315,
81,
383,
92,
18,
370,
7923,
1172,
67,
1589,
1435,
365,
18,
4169,
67,
2725,
273,
1053,
365,
18,
1214,
273,
1140,
18,
588,
11089,
1435,
468,
3875,
10965,
805,
67,
5776,
273,
7075,
18,
5711,
19236,
21,
16,
6755,
33,
27226,
18,
25221,
25002,
25554,
67,
5280,
16,
2154,
33,
27226,
18,
25221,
15066,
67,
15480,
16,
3119,
33,
27226,
18,
25221,
29988,
67,
15480,
16,
25985,
33,
8381,
16,
7945,
1546,
3113,
2688,
33,
27226,
18,
25221,
14672,
67,
14318,
13,
963,
273,
805,
67,
5776,
18,
2
] |
|
else: raise NotFound(self.context, name, request) | raise NotFound(self.context, name, request) | def publishTraverse(self, request, name): # Note: the way the code is written now lets the user access # existing timetables even if their name refers to a deleted # term/schema. Not sure if that is a good or a bad thing. try: return self.context[name] except KeyError: app = getSchoolToolApplication() try: term, schema = name.split('.') except ValueError: raise NotFound(self.context, name, request) if term in app['terms'] and schema in app['ttschemas']: return NullTimetable(self.context, name) else: raise NotFound(self.context, name, request) | 47b4d3471af281c255eb5f03ea67ed8d1763b81d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7127/47b4d3471af281c255eb5f03ea67ed8d1763b81d/__init__.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3808,
29654,
12,
2890,
16,
590,
16,
508,
4672,
468,
3609,
30,
326,
4031,
326,
981,
353,
5941,
2037,
14557,
326,
729,
2006,
468,
2062,
26668,
1538,
5456,
309,
3675,
508,
21368,
358,
279,
4282,
468,
2481,
19,
4821,
18,
2288,
3071,
309,
716,
353,
279,
7494,
578,
279,
5570,
7757,
18,
775,
30,
327,
365,
18,
2472,
63,
529,
65,
1335,
4999,
30,
595,
273,
1322,
343,
1371,
6364,
3208,
1435,
775,
30,
2481,
16,
1963,
273,
508,
18,
4939,
2668,
1093,
13,
1335,
2068,
30,
1002,
7054,
12,
2890,
18,
2472,
16,
508,
16,
590,
13,
309,
2481,
316,
595,
3292,
10112,
3546,
471,
1963,
316,
595,
3292,
748,
17928,
3546,
30,
327,
4112,
10178,
278,
429,
12,
2890,
18,
2472,
16,
508,
13,
469,
30,
1002,
7054,
12,
2890,
18,
2472,
16,
508,
16,
590,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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282,
468,
2481,
19,
4821,
18,
2288,
3071,
309,
716,
353,
279,
7494,
578,
279,
5570,
7757,
18,
775,
30,
327,
365,
18,
2472,
63,
529,
65,
1335,
4999,
30,
595,
273,
1322,
343,
1371,
6364,
3208,
1435,
775,
30,
2481,
16,
1963,
273,
508,
18,
4939,
2668,
1093,
13,
1335,
2068,
30,
1002,
7054,
12,
2890,
18,
2472,
16,
508,
16,
590,
13,
309,
2481,
316,
595,
3292,
10112,
3546,
471,
1963,
316,
595,
3292,
748,
17928,
3546,
30,
327,
4112,
10178,
278,
2
] |
revision = request.POST.get('at_rev', None) or revision | def index(self, repo_name, revision, f_path): revision = request.POST.get('at_rev', None) or revision hg_model = HgModel() c.repo = repo = hg_model.get_repo(c.repo_name) c.f_path = f_path try: c.changeset = repo.get_changeset(repo._get_revision(revision)) c.cur_rev = c.changeset.raw_id c.rev_nr = c.changeset.revision c.files_list = c.changeset.get_node(f_path) c.file_history = self._get_history(repo, c.files_list, f_path) except RepositoryError: c.files_list = None return render('files/files.html') | b267e94412adf972a6fb5cd5703fe4b43c744305 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4230/b267e94412adf972a6fb5cd5703fe4b43c744305/files.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
770,
12,
2890,
16,
3538,
67,
529,
16,
6350,
16,
284,
67,
803,
4672,
22576,
67,
2284,
273,
670,
75,
1488,
1435,
276,
18,
7422,
273,
3538,
273,
22576,
67,
2284,
18,
588,
67,
7422,
12,
71,
18,
7422,
67,
529,
13,
276,
18,
74,
67,
803,
273,
284,
67,
803,
775,
30,
276,
18,
6329,
278,
273,
3538,
18,
588,
67,
6329,
278,
12,
7422,
6315,
588,
67,
13057,
12,
13057,
3719,
276,
18,
1397,
67,
9083,
273,
276,
18,
6329,
278,
18,
1899,
67,
350,
276,
18,
9083,
67,
11611,
273,
276,
18,
6329,
278,
18,
13057,
276,
18,
2354,
67,
1098,
273,
276,
18,
6329,
278,
18,
588,
67,
2159,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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,
770,
12,
2890,
16,
3538,
67,
529,
16,
6350,
16,
284,
67,
803,
4672,
22576,
67,
2284,
273,
670,
75,
1488,
1435,
276,
18,
7422,
273,
3538,
273,
22576,
67,
2284,
18,
588,
67,
7422,
12,
71,
18,
7422,
67,
529,
13,
276,
18,
74,
67,
803,
273,
284,
67,
803,
775,
30,
276,
18,
6329,
278,
273,
3538,
18,
588,
67,
6329,
278,
12,
7422,
6315,
588,
67,
13057,
12,
13057,
3719,
276,
18,
1397,
67,
9083,
273,
276,
18,
6329,
278,
18,
1899,
67,
350,
276,
18,
9083,
67,
11611,
273,
276,
18,
6329,
278,
18,
13057,
276,
18,
2354,
67,
1098,
273,
276,
18,
6329,
278,
18,
588,
67,
2159,
12,
74,
67,
803,
13,
2
] |
|
(re.compile(u'¨\s*(<br.*?>)*\s*e', re.UNICODE), lambda match: u'ë'), (re.compile(u'¨\s*(<br.*?>)*\s*E', re.UNICODE), lambda match: u'Ë'), (re.compile(u'¨\s*(<br.*?>)*\s*i', re.UNICODE), lambda match: u'ï'), (re.compile(u'¨\s*(<br.*?>)*\s*I', re.UNICODE), lambda match: u'Ï'), (re.compile(u'¨\s*(<br.*?>)*\s*a', re.UNICODE), lambda match: u'ä'), (re.compile(u'¨\s*(<br.*?>)*\s*A', re.UNICODE), lambda match: u'Ä'), | def __call__(self, data, add_namespace=False): from calibre.ebooks.oeb.base import XHTML_CSS_NAMESPACE data = self.PAGE_PAT.sub('', data) if not add_namespace: return data ans, namespaced = [], False for line in data.splitlines(): ll = line.lstrip() if not (namespaced or ll.startswith('@import') or ll.startswith('@charset')): ans.append(XHTML_CSS_NAMESPACE.strip()) namespaced = True ans.append(line) | 3e24b6a1152f7fcd4694023d0e95fc81ae802e08 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/3e24b6a1152f7fcd4694023d0e95fc81ae802e08/preprocess.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
1991,
972,
12,
2890,
16,
501,
16,
527,
67,
4937,
33,
8381,
4672,
628,
26139,
266,
18,
73,
12567,
18,
15548,
70,
18,
1969,
1930,
30551,
67,
10276,
67,
11368,
501,
273,
365,
18,
11219,
67,
8592,
18,
1717,
2668,
2187,
501,
13,
309,
486,
527,
67,
4937,
30,
327,
501,
4152,
16,
22264,
273,
5378,
16,
1083,
364,
980,
316,
501,
18,
4939,
3548,
13332,
6579,
273,
980,
18,
80,
6406,
1435,
309,
486,
261,
16904,
578,
6579,
18,
17514,
1918,
2668,
36,
5666,
6134,
578,
6579,
18,
17514,
1918,
2668,
36,
9999,
26112,
30,
4152,
18,
6923,
12,
60,
4870,
67,
10276,
67,
11368,
18,
6406,
10756,
22264,
273,
1053,
4152,
18,
6923,
12,
1369,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
1991,
972,
12,
2890,
16,
501,
16,
527,
67,
4937,
33,
8381,
4672,
628,
26139,
266,
18,
73,
12567,
18,
15548,
70,
18,
1969,
1930,
30551,
67,
10276,
67,
11368,
501,
273,
365,
18,
11219,
67,
8592,
18,
1717,
2668,
2187,
501,
13,
309,
486,
527,
67,
4937,
30,
327,
501,
4152,
16,
22264,
273,
5378,
16,
1083,
364,
980,
316,
501,
18,
4939,
3548,
13332,
6579,
273,
980,
18,
80,
6406,
1435,
309,
486,
261,
16904,
578,
6579,
18,
17514,
1918,
2668,
36,
5666,
6134,
578,
6579,
18,
17514,
1918,
2668,
36,
9999,
26112,
30,
4152,
18,
6923,
12,
60,
4870,
67,
10276,
67,
11368,
18,
6406,
10756,
22264,
273,
1053,
4152,
18,
6923,
12,
1369,
2
] |
|
cache = self.context["cache"] cacheId = "class-%s" % (self.path,) classinfo, _ = cache.readmulti(cacheId, self.path) | classinfo, _ = self._getClassCache() | def classVariants(self, generate=True): | a1279da621ac20b7821dec8ec07f0f8f6cdff441 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5718/a1279da621ac20b7821dec8ec07f0f8f6cdff441/Class.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
667,
21165,
12,
2890,
16,
2103,
33,
5510,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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
] |
raise TestFailed, 'zip() - no args, expected TypeError, got', e | raise TestFailed, 'zip() - no args, expected TypeError, got %s' % e | def __getitem__(self, i): if i < 0 or i > 2: raise IndexError return i + 4 | 2f5d2fbd3d0565f41dd1efc0368a7ac737a67164 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/2f5d2fbd3d0565f41dd1efc0368a7ac737a67164/test_b2.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
31571,
972,
12,
2890,
16,
277,
4672,
309,
277,
411,
374,
578,
277,
405,
576,
30,
1002,
10195,
327,
277,
397,
1059,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
31571,
972,
12,
2890,
16,
277,
4672,
309,
277,
411,
374,
578,
277,
405,
576,
30,
1002,
10195,
327,
277,
397,
1059,
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
] |
log.error('Failed to get ' + str(fileId) + ' mtime : ' + str(e)) raise monitors.OmeroFSError('Failed to get ' + str(fileId) + ' mtime : ' + str(e)) | log.error('Failed to get ' + str(fileId) + ' mtime : ' + str(e)) raise monitors.OmeroFSError('Failed to get ' + str(fileId) + ' mtime : ' + str(e)) | def getMTime(self, fileId, current=None): """ Return the mtime of the file. :Parameters: fileId : string A string uniquely identifying a file on this Monitor. current An ICE context, this parameter is required to be present in an ICE interface method. :return: mtime :rtype: float """ try: pathString = self._getPathString(fileId) except Exception, e: log.error('File ID ' + str(fileId) + ' not on this FSServer') raise monitors.OmeroFSError('File ID ' + str(fileId) + ' not on this FSServer') | c12bc7fb04f687c05f37bb5a6eba2577b9556cda /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12409/c12bc7fb04f687c05f37bb5a6eba2577b9556cda/MonitorServer.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2108,
950,
12,
2890,
16,
21223,
16,
783,
33,
7036,
4672,
3536,
2000,
326,
13158,
434,
326,
585,
18,
225,
294,
2402,
30,
21223,
294,
533,
432,
533,
30059,
29134,
279,
585,
603,
333,
14086,
18,
225,
783,
1922,
467,
1441,
819,
16,
333,
1569,
353,
1931,
358,
506,
3430,
316,
392,
467,
1441,
1560,
707,
18,
225,
294,
2463,
30,
13158,
294,
86,
723,
30,
1431,
225,
3536,
775,
30,
29307,
273,
365,
6315,
588,
743,
780,
12,
768,
548,
13,
1335,
1185,
16,
425,
30,
613,
18,
1636,
2668,
812,
1599,
225,
296,
397,
609,
12,
768,
548,
13,
397,
296,
486,
603,
333,
9247,
2081,
6134,
1002,
22389,
18,
51,
81,
2439,
4931,
668,
2668,
812,
1599,
225,
296,
397,
609,
12,
768,
548,
13,
397,
296,
486,
603,
333,
9247,
2081,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2108,
950,
12,
2890,
16,
21223,
16,
783,
33,
7036,
4672,
3536,
2000,
326,
13158,
434,
326,
585,
18,
225,
294,
2402,
30,
21223,
294,
533,
432,
533,
30059,
29134,
279,
585,
603,
333,
14086,
18,
225,
783,
1922,
467,
1441,
819,
16,
333,
1569,
353,
1931,
358,
506,
3430,
316,
392,
467,
1441,
1560,
707,
18,
225,
294,
2463,
30,
13158,
294,
86,
723,
30,
1431,
225,
3536,
775,
30,
29307,
273,
365,
6315,
588,
743,
780,
12,
768,
548,
13,
1335,
1185,
16,
425,
30,
613,
18,
1636,
2668,
812,
1599,
225,
296,
397,
609,
12,
768,
548,
13,
397,
296,
486,
603,
333,
9247,
2081,
6134,
1002,
22389,
18,
51,
81,
2439,
4931,
668,
2668,
2
] |
root + 'us']) | root + 'us', root + 'u']) | def get_variants(word): # every possible legitimate spelling of this word, always lower # case to give a case insensitive sort (see vortaro/models.py) variants = [word.lower()] if is_infinitive(word): root = word[:-1] variants.extend([root + 'is', root + 'as', root + 'os', root + 'us']) elif is_declinable_adjective(word): variants.extend([word + 'j', word + 'n', word + 'jn']) elif is_declinable_noun(word): variants.extend([word + 'j', word + 'n', word + 'jn']) elif is_declinable_adverb(word): variants.extend([word + 'n']) for word in copy(variants): if word != to_x_system(word): variants.append(to_x_system(word)) if word != to_h_system(word): variants.append(to_h_system(word)) return variants | a50cf9397336310b57d4c3456b01bfd2ff4c6840 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14856/a50cf9397336310b57d4c3456b01bfd2ff4c6840/generate_initial_data.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
15886,
12,
1095,
4672,
468,
3614,
3323,
4553,
305,
4988,
22377,
310,
434,
333,
2076,
16,
3712,
2612,
468,
648,
358,
8492,
279,
648,
17904,
1524,
261,
5946,
331,
499,
14349,
19,
7665,
18,
2074,
13,
12935,
273,
306,
1095,
18,
8167,
1435,
65,
225,
309,
353,
67,
267,
926,
3720,
12,
1095,
4672,
1365,
273,
2076,
10531,
17,
21,
65,
12935,
18,
14313,
3816,
3085,
397,
296,
291,
2187,
1365,
397,
296,
345,
2187,
1365,
397,
296,
538,
2187,
1365,
397,
296,
407,
2187,
1365,
397,
296,
89,
19486,
1327,
353,
67,
8840,
267,
429,
67,
361,
937,
688,
12,
1095,
4672,
12935,
18,
14313,
3816,
1095,
397,
296,
78,
2187,
2076,
397,
296,
82,
2187,
2076,
397,
296,
78,
82,
19486,
1327,
353,
67,
8840,
267,
429,
67,
82,
465,
12,
1095,
4672,
12935,
18,
14313,
3816,
1095,
397,
296,
78,
2187,
2076,
397,
296,
82,
2187,
2076,
397,
296,
78,
82,
19486,
1327,
353,
67,
8840,
267,
429,
67,
361,
16629,
12,
1095,
4672,
12935,
18,
14313,
3816,
1095,
397,
296,
82,
19486,
225,
364,
2076,
316,
1610,
12,
15886,
4672,
309,
2076,
480,
358,
67,
92,
67,
4299,
12,
1095,
4672,
12935,
18,
6923,
12,
869,
67,
92,
67,
4299,
12,
1095,
3719,
309,
2076,
480,
358,
67,
76,
67,
4299,
12,
1095,
4672,
12935,
18,
6923,
12,
869,
67,
76,
67,
4299,
12,
1095,
3719,
225,
327,
12935,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
15886,
12,
1095,
4672,
468,
3614,
3323,
4553,
305,
4988,
22377,
310,
434,
333,
2076,
16,
3712,
2612,
468,
648,
358,
8492,
279,
648,
17904,
1524,
261,
5946,
331,
499,
14349,
19,
7665,
18,
2074,
13,
12935,
273,
306,
1095,
18,
8167,
1435,
65,
225,
309,
353,
67,
267,
926,
3720,
12,
1095,
4672,
1365,
273,
2076,
10531,
17,
21,
65,
12935,
18,
14313,
3816,
3085,
397,
296,
291,
2187,
1365,
397,
296,
345,
2187,
1365,
397,
296,
538,
2187,
1365,
397,
296,
407,
2187,
1365,
397,
296,
89,
19486,
1327,
353,
67,
8840,
267,
429,
67,
361,
937,
688,
12,
1095,
4672,
12935,
18,
14313,
3816,
1095,
397,
296,
78,
2187,
2076,
397,
296,
82,
2
] |
self.statusbar_msg( sbar_text + " [not yet implemented]") | desc = sbar_text + " [not yet implemented]" self.drag_handler.describe_drag = desc self.statusbar_msg( desc + " <this suffix should not be seen>" ) | def advise_starting_drag_and_get_dragobj(self, drag_type, nodes): """Our current drag_handler can call this to advise us that it started a drag of given type on given nodes, and that we should highlight the original nodes to indicate this, and that if we get any drop-related events (e.g. dragEnter, dragMove, dragLeave) that we should also highlight the possible drop points (assuming the potential drop is this drag it started). Also it wants a QDragObject from us, so we have to make one and return it! (It will then start the drag on it in the right way... unless we decide to move that code from it to here, as well. #e) """ #####@@@@@ moved from caller (next 2 paras), works here yet? # make up some text to be dragged in case the custom pixmap doesn't work or is nim ## text = "x\n%s %d item(s)" % ... # this results in appearance (w/o custom pixmap) of "x move 5 items..." dragobj_text = "%s %d item(s)" % (drag_type, len(nodes)) # e.g. "copy 5 item(s)" dragobj_text = fix_plurals(dragobj_text) # e.g. "copy 5 items" or "move 1 item" -- no "ing" to keep it as short as possible ## works but not very useful: for node in self.nodes: dragobj_text += "\n %s" % node.name ####@@@@ use the above to verify nodes are in the right order! and might be more useful for history or sbar... | 8e76c375339a6ae063e685fcb0b4bee3c03d78cd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/8e76c375339a6ae063e685fcb0b4bee3c03d78cd/TreeWidget.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
17825,
784,
67,
18526,
67,
15997,
67,
464,
67,
588,
67,
15997,
2603,
12,
2890,
16,
8823,
67,
723,
16,
2199,
4672,
3536,
51,
295,
783,
8823,
67,
4176,
848,
745,
333,
358,
17825,
784,
584,
716,
518,
5746,
279,
8823,
434,
864,
618,
603,
864,
2199,
16,
471,
716,
732,
1410,
8839,
326,
2282,
2199,
358,
10768,
333,
16,
471,
716,
309,
732,
336,
1281,
3640,
17,
9243,
2641,
261,
73,
18,
75,
18,
8823,
10237,
16,
8823,
7607,
16,
8823,
21300,
13,
716,
732,
1410,
2546,
8839,
326,
3323,
3640,
3143,
261,
428,
21249,
326,
8555,
3640,
353,
333,
8823,
518,
5746,
2934,
8080,
518,
14805,
279,
2238,
11728,
921,
628,
584,
16,
1427,
732,
1240,
358,
1221,
1245,
471,
327,
518,
5,
261,
7193,
903,
1508,
787,
326,
8823,
603,
518,
316,
326,
2145,
4031,
2777,
3308,
732,
16288,
358,
3635,
716,
981,
628,
518,
358,
2674,
16,
487,
5492,
18,
468,
73,
13,
3536,
468,
1970,
30989,
30989,
36,
10456,
628,
4894,
261,
4285,
576,
779,
345,
3631,
6330,
2674,
4671,
35,
225,
468,
1221,
731,
2690,
977,
358,
506,
8823,
2423,
316,
648,
326,
1679,
11871,
1458,
3302,
1404,
1440,
578,
353,
290,
381,
7541,
977,
273,
315,
92,
64,
82,
9,
87,
738,
72,
761,
12,
87,
2225,
738,
1372,
468,
333,
1686,
316,
9788,
1359,
261,
91,
19,
83,
1679,
11871,
1458,
13,
434,
315,
92,
3635,
1381,
1516,
7070,
8823,
2603,
67,
955,
273,
2213,
87,
738,
72,
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,
17825,
784,
67,
18526,
67,
15997,
67,
464,
67,
588,
67,
15997,
2603,
12,
2890,
16,
8823,
67,
723,
16,
2199,
4672,
3536,
51,
295,
783,
8823,
67,
4176,
848,
745,
333,
358,
17825,
784,
584,
716,
518,
5746,
279,
8823,
434,
864,
618,
603,
864,
2199,
16,
471,
716,
732,
1410,
8839,
326,
2282,
2199,
358,
10768,
333,
16,
471,
716,
309,
732,
336,
1281,
3640,
17,
9243,
2641,
261,
73,
18,
75,
18,
8823,
10237,
16,
8823,
7607,
16,
8823,
21300,
13,
716,
732,
1410,
2546,
8839,
326,
3323,
3640,
3143,
261,
428,
21249,
326,
8555,
3640,
353,
333,
8823,
518,
5746,
2934,
8080,
518,
14805,
279,
2238,
11728,
921,
628,
584,
16,
1427,
732,
1240,
2
] |
raise ImportError, 'No module named ' + module_name | raise ImportError, 'No module named ' + head | def load_component(name, path=None, globals=None, locals=None): if '.' in name: i = name.find('.') head, tail = name[:i], name[i + 1:] else: head, tail = name, '' module = _load_module(head, head, None, path) if not module: raise ImportError, 'No module named ' + module_name while tail: i = tail.find('.') if i < 0: i = len(tail) head, tail = tail[:i], tail[i + 1:] module_name = '%s.%s' % (module.__name__, head) module = _load_module(head, module_name, module, path) if not module: raise ImportError, 'No module named ' + module_name | 7521ff6a64105a61512e4be8eef2a41e25effbe7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/7521ff6a64105a61512e4be8eef2a41e25effbe7/loader.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1262,
67,
4652,
12,
529,
16,
589,
33,
7036,
16,
10941,
33,
7036,
16,
8985,
33,
7036,
4672,
309,
2611,
316,
508,
30,
277,
273,
508,
18,
4720,
2668,
1093,
13,
910,
16,
5798,
273,
508,
10531,
77,
6487,
508,
63,
77,
397,
404,
26894,
469,
30,
910,
16,
5798,
273,
508,
16,
875,
225,
1605,
273,
389,
945,
67,
2978,
12,
1978,
16,
910,
16,
599,
16,
589,
13,
309,
486,
1605,
30,
1002,
11308,
16,
296,
2279,
1605,
4141,
296,
397,
910,
225,
1323,
5798,
30,
277,
273,
5798,
18,
4720,
2668,
1093,
13,
309,
277,
411,
374,
30,
277,
273,
562,
12,
13101,
13,
910,
16,
5798,
273,
5798,
10531,
77,
6487,
5798,
63,
77,
397,
404,
26894,
1605,
67,
529,
273,
1995,
87,
7866,
87,
11,
738,
261,
2978,
16186,
529,
972,
16,
910,
13,
1605,
273,
389,
945,
67,
2978,
12,
1978,
16,
1605,
67,
529,
16,
1605,
16,
589,
13,
309,
486,
1605,
30,
1002,
11308,
16,
296,
2279,
1605,
4141,
296,
397,
910,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
16,
8985,
33,
7036,
4672,
309,
2611,
316,
508,
30,
277,
273,
508,
18,
4720,
2668,
1093,
13,
910,
16,
5798,
273,
508,
10531,
77,
6487,
508,
63,
77,
397,
404,
26894,
469,
30,
910,
16,
5798,
273,
508,
16,
875,
225,
1605,
273,
389,
945,
67,
2978,
12,
1978,
16,
910,
16,
599,
16,
589,
13,
309,
486,
1605,
30,
1002,
11308,
16,
296,
2279,
1605,
4141,
296,
397,
910,
225,
1323,
5798,
30,
277,
273,
5798,
18,
4720,
2668,
1093,
13,
309,
277,
411,
374,
30,
277,
273,
562,
12,
13101,
13,
910,
16,
5798,
273,
5798,
10531,
77,
6487,
5798,
63,
77,
2
] |
self.attrs = { 'FAILED': curses.color_pair(1) | curses.A_BOLD, 'SUCCESS': curses.color_pair(2) | curses.A_BOLD } | self.attrs = [ ('DONE(?!:)', curses.color_pair(3) | curses.A_BOLD), ('FAILED(?!:)', curses.color_pair(1) | curses.A_BOLD), ('SUCCESS(?!:)', curses.color_pair(2) | curses.A_BOLD), ('(?<=DONE:)\s+[1-9]\d*', curses.color_pair(3) | curses.A_BOLD), ('(?<=Failing jobs:)\s+[1-9]\d*', curses.color_pair(1) | curses.A_BOLD), ('(?<=FAILED:)\s+[1-9]\d*', curses.color_pair(1) | curses.A_BOLD), ('(?<=Successful jobs:)\s+[1-9]\d*', curses.color_pair(2) | curses.A_BOLD), ('(?<=SUCCESS:)\s+[1-9]\d*', curses.color_pair(2) | curses.A_BOLD), ] self.regex = re.compile('(%s)' % '|'.join(map(lambda (a, b): a, self.attrs))) def attributes(self, string, pos): """Retrieve the attributes for a match in string at position pos. This is a helper routine for write(). """ for (expr, attr) in self.attrs: match = re.search(expr, string) if match and match.start() == pos: return attr return 0 | def __init__(self, *args): (self.stream, self.screen) = args self.logged = True | d126b76a0f0329d1b0298968a8c61db78078c97a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8443/d126b76a0f0329d1b0298968a8c61db78078c97a/gui.py | [
1,
8585,
326,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
380,
1968,
4672,
261,
2890,
18,
3256,
16,
365,
18,
9252,
13,
273,
833,
365,
18,
19385,
273,
1053,
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 not dict[field] == s_time : if self.logger: self.logger.ReportFailure("(On start time Checking) || object start time = %s ; expected start time = %s" %(s_time, dict[field])) | if not value == s_time : if self.logger: self.logger.ReportFailure("(On start time Checking) || object start time = %s ; expected start time = %s" %(s_time, value)) | def Check_Object(self, dict): """ Check expected value by comparison to the data contained in the object attributes @type dict : dictionary @param dict : dictionary with expected item attributes values for checking {"attributeName":"expected value",...} """ if self.logger: self.logger.SetChecked(True) # check the changing values for field in dict.keys(): if field == "displayName": # display name checking if self.isMailMessage: d_name = "%s" %self.item.subject else: d_name = "%s" %self.item.displayName if not dict[field] == d_name : if self.logger: self.logger.ReportFailure("(On display name Checking) || object title = %s ; expected title = %s" %(d_name, dict[field])) else: if self.logger: self.logger.ReportPass("(On display name Checking)") elif field == "startDate": # start date checking startTime = self.item.startTime s_date = self.formatDate("%s/%s/%s" %(startTime.month, startTime.day, startTime.year) ) dictDate = self.formatDate(dict[field]) if not dictDate == s_date : if self.logger: self.logger.ReportFailure("(On start date Checking) || object start date = %s ; expected start date = %s" %(s_date, dictDate)) else: if self.logger: self.logger.ReportPass("(On start date Checking)") elif field == "startTime": # start time checking startTime = self.item.startTime s_time = getTime(startTime) if not dict[field] == s_time : if self.logger: self.logger.ReportFailure("(On start time Checking) || object start time = %s ; expected start time = %s" %(s_time, dict[field])) else: if self.logger: self.logger.ReportPass("(On start time Checking)") elif field == "endDate": # end date checking endTime = self.item.endTime e_date = self.formatDate("%s/%s/%s" %(endTime.month, endTime.day, endTime.year)) dictDate = self.formatDate(dict[field]) if not dictDate == e_date : if self.logger: self.logger.ReportFailure("(On end date Checking) || object end date = %s ; expected end date = %s" %(e_date, dictDate)) else: if self.logger: self.logger.ReportPass("(On end date Checking)") elif field == "endTime": # end time checking endTime = self.item.endTime e_time = getTime(endTime) if not dict[field] == e_time : if self.logger: self.logger.ReportFailure("(On end time Checking) || object end time = %s ; expected end time = %s" %(e_time, dict[field])) else: if self.logger: self.logger.ReportPass("(On end time Checking)") elif field == "location": # location checking loc = "%s" %self.item.location if not dict[field] == loc : if self.logger: self.logger.ReportFailure("(On location Checking) || object location = %s ; expected location = %s" %(loc, dict[field])) else: if self.logger: self.logger.ReportPass("(On location Checking)") elif field == "body": # body checking body = "%s" %self.item.body if not dict[field] == body : if self.logger: self.logger.ReportFailure("(On body Checking) || object body = %s ; expected body = %s" %(body, dict[field])) else: if self.logger: self.logger.ReportPass("(On body Checking)") elif field == "fromAddress": # from address checking f = "%s" %self.item.fromAddress if not dict[field] == f : if self.logger: self.logger.ReportFailure("(On from address Checking) || object from address = %s ; expected from address = %s" %(f, dict[field])) else: if self.logger: self.logger.ReportPass("(On from address Checking)") elif field == "toAddress": # to address checking t = "%s" %self.item.toAddress if not dict[field] == t : if self.logger: self.logger.ReportFailure("(On to address Checking) || object to address = %s ; expected to address = %s" %(t, dict[field])) else: if self.logger: self.logger.ReportPass("(On to address Checking)") elif field == "status": # status checking status = "%s" %string.upper(self.item.transparency) if not dict[field] == status : if self.logger: self.logger.ReportFailure("(On status Checking) || object status = %s ; expected status = %s" %(status, dict[field])) else: if self.logger: self.logger.ReportPass("(On status Checking)") elif field == "timeZone": # time zone checking timeZone = "%s" %self.item.startTime.tzname() if not dict[field] == timeZone : if self.logger: self.logger.ReportFailure("(On time zone Checking) || object time zone = %s ; expected time zone = %s" %(timeZone, dict[field])) else: if self.logger: self.logger.ReportPass("(On time zone Checking)") elif field == "alarm": # status checking alarm = self.item.startTime - self.item.reminderTime field = timedelta(minutes = string.atoi(dict[field])) if not field == alarm : if self.logger: self.logger.ReportFailure("(On alarm Checking) || object alarm = %s ; expected alarm = %s" %(alarm, field)) else: if self.logger: self.logger.ReportPass("(On alarm Checking)") elif field == "allDay": # status checking allDay = self.item.allDay if not dict[field] == allDay : if self.logger: self.logger.ReportFailure("(On all Day Checking) || object all day = %s ; expected all day = %s" %(allDay, dict[field])) else: if self.logger: self.logger.ReportPass("(On all Day Checking)") elif field == "stampMail": # Mail stamp checking kind = "%s" %self.item.getKind() if not string.find(kind, "MailMessage") == -1: stampMail = True else: stampMail = False if not dict[field] == stampMail : if self.logger: self.logger.ReportFailure("(On Mail Stamp Checking) || object Mail Stamp = %s ; expected Mail Stamp = %s" %(stampMail, dict[field])) else: if self.logger: self.logger.ReportPass("(On Mail Stamp Checking)") elif field == "stampTask": # Task stamp checking kind = "%s" %self.item.getKind() if not string.find(kind, "Task") == -1: stampTask = True else: stampTask = False if not dict[field] == stampTask : if self.logger: self.logger.ReportFailure("(On Task Stamp Checking) || object Task Stamp = %s ; expected Task Stamp = %s" %(stampTask, dict[field])) else: if self.logger: self.logger.ReportPass("(On Task Stamp Checking)") elif field == "stampEvent": # Event stamp checking kind = "%s" %self.item.getKind() if not string.find(kind, "CalendarEvent") == -1: stampEvent = True else: stampEvent = False if not dict[field] == stampEvent : if self.logger: self.logger.ReportFailure("(On Event Stamp Checking) || object Event Stamp = %s ; expected Event Stamp = %s" %(stampEvent, dict[field])) else: if self.logger: self.logger.ReportPass("(On Event Stamp Checking)") else: # Wrong check => set the report state to unchecked if self.logger: self.logger.SetChecked(False) #report the checkings if self.logger: self.logger.Report("Object state") | 5c6ba404b99947f3210082287c79a9b81a402c26 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/5c6ba404b99947f3210082287c79a9b81a402c26/QAUITestAppLib.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2073,
67,
921,
12,
2890,
16,
2065,
4672,
3536,
2073,
2665,
460,
635,
5826,
358,
326,
501,
7542,
316,
326,
733,
1677,
632,
723,
2065,
294,
3880,
632,
891,
2065,
294,
3880,
598,
2665,
761,
1677,
924,
364,
6728,
12528,
4589,
461,
15563,
3825,
460,
3113,
2777,
97,
3536,
309,
365,
18,
4901,
30,
365,
18,
4901,
18,
694,
11454,
12,
5510,
13,
468,
866,
326,
12770,
924,
364,
652,
316,
2065,
18,
2452,
13332,
309,
652,
422,
315,
5417,
461,
6877,
468,
2562,
508,
6728,
309,
365,
18,
291,
6759,
1079,
30,
302,
67,
529,
273,
2213,
87,
6,
738,
2890,
18,
1726,
18,
7857,
469,
30,
302,
67,
529,
273,
2213,
87,
6,
738,
2890,
18,
1726,
18,
5417,
461,
309,
486,
2065,
63,
1518,
65,
422,
302,
67,
529,
294,
309,
365,
18,
4901,
30,
365,
18,
4901,
18,
4820,
5247,
2932,
12,
1398,
2562,
508,
24471,
13,
225,
747,
733,
2077,
273,
738,
87,
274,
2665,
2077,
273,
738,
87,
6,
8975,
72,
67,
529,
16,
2065,
63,
1518,
22643,
469,
30,
309,
365,
18,
4901,
30,
365,
18,
4901,
18,
4820,
6433,
2932,
12,
1398,
2562,
508,
24471,
2225,
13,
1327,
652,
422,
315,
1937,
1626,
6877,
468,
787,
1509,
6728,
8657,
273,
365,
18,
1726,
18,
1937,
950,
272,
67,
712,
273,
365,
18,
2139,
1626,
27188,
87,
5258,
87,
5258,
87,
6,
8975,
1937,
950,
18,
7496,
16,
8657,
18,
2881,
16,
8657,
18,
6874,
13,
262,
2065,
1626,
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,
2073,
67,
921,
12,
2890,
16,
2065,
4672,
3536,
2073,
2665,
460,
635,
5826,
358,
326,
501,
7542,
316,
326,
733,
1677,
632,
723,
2065,
294,
3880,
632,
891,
2065,
294,
3880,
598,
2665,
761,
1677,
924,
364,
6728,
12528,
4589,
461,
15563,
3825,
460,
3113,
2777,
97,
3536,
309,
365,
18,
4901,
30,
365,
18,
4901,
18,
694,
11454,
12,
5510,
13,
468,
866,
326,
12770,
924,
364,
652,
316,
2065,
18,
2452,
13332,
309,
652,
422,
315,
5417,
461,
6877,
468,
2562,
508,
6728,
309,
365,
18,
291,
6759,
1079,
30,
302,
67,
529,
273,
2213,
87,
6,
738,
2890,
18,
1726,
18,
7857,
469,
30,
302,
67,
529,
273,
2213,
87,
6,
738,
2890,
18,
2
] |
cmd.deferred.addBoth(lambda x, m=_mutable: m[0].disconnect() or x) | cmd.deferred.addBoth(lambda x, m=_mutable: m[0] and m[0].disconnect() or x) | def clientConnectionFailed(self, connector, reason): self.protocol.connectionFailed() | ad3d580424e15044c1b11ec33056d8e42a2c5fd5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/ad3d580424e15044c1b11ec33056d8e42a2c5fd5/ftp.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1004,
1952,
2925,
12,
2890,
16,
8703,
16,
3971,
4672,
365,
18,
8373,
18,
4071,
2925,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1004,
1952,
2925,
12,
2890,
16,
8703,
16,
3971,
4672,
365,
18,
8373,
18,
4071,
2925,
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
] |
diaptr = afwDet.SourceSharedPtr() | diaptr = afwDet.SourcePtr() | def testFootprintsMeasure(self): """Check that we can measure the objects in a detectionSet""" | 4b9a671d3f9d91fd86110cca79976df7cffebac7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6535/4b9a671d3f9d91fd86110cca79976df7cffebac7/Measure_1.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
28103,
1188,
87,
7197,
12,
2890,
4672,
3536,
1564,
716,
732,
848,
6649,
326,
2184,
316,
279,
11649,
694,
8395,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1842,
28103,
1188,
87,
7197,
12,
2890,
4672,
3536,
1564,
716,
732,
848,
6649,
326,
2184,
316,
279,
11649,
694,
8395,
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
] |
'staff': v.status==STAFF, | 'administrateur': v.status>COACH, | def add_echeance(request): """View: adds a deadline for user/group and course/module. """ # récup visiteur v = request.session['v'] if request.method == 'POST': if 'c' in request.POST: # dernière étape, recup des valeurs et sauvegarde de l'échéance g = Groupe.objects.get(id=request.POST['g']) uf = {} if request.POST['u'] == "0": u = None uf['id'], uf['nom_prenom'] = (0, _('== All Students ==')) else: u = Utilisateur.objects.get(id=request.POST['u']) uf['id'], uf['nom_prenom'] = (u.id, u.nom_prenom()) c = Cours.objects.get(id=request.POST['c']) c.title = c.titre(v.langue) f3 = EcheanceForm3(request.POST) lm = [(0, _('== All Modules =='))] lm.extend([(mc.module.id, mc.module.slug) for mc in c.modulecours_set.all()]) f3.fields['module'].choices = lm if f3.is_valid(): v.lastw = datetime.datetime.now() request.session['v'] = v v.save() if f3.cleaned_data['module'] == "0": m = None mf = {} mf['id'], mf['slug'] = (0, _('== All Modules ==')) else: m = Module.objects.get(id=f3.cleaned_data['module']) mf = m e = Echeance(groupe=g,utilisateur=u,cours=c,module=m, echeance=f3.cleaned_data['deadline']) e.save() | 5622003147f995391ac97c1031fcc18f24ef8d30 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11552/5622003147f995391ac97c1031fcc18f24ef8d30/views.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
67,
8987,
73,
1359,
12,
2293,
4672,
3536,
1767,
30,
4831,
279,
14096,
364,
729,
19,
1655,
471,
4362,
19,
2978,
18,
3536,
468,
436,
132,
107,
71,
416,
2281,
1137,
295,
331,
273,
590,
18,
3184,
3292,
90,
3546,
309,
590,
18,
2039,
422,
296,
3798,
4278,
309,
296,
71,
11,
316,
590,
18,
3798,
30,
468,
4854,
15834,
132,
106,
266,
225,
132,
107,
88,
1273,
16,
1950,
416,
2832,
1244,
73,
25152,
3393,
7864,
89,
537,
75,
297,
323,
443,
328,
11,
132,
107,
343,
132,
107,
1359,
314,
273,
611,
15995,
18,
6911,
18,
588,
12,
350,
33,
2293,
18,
3798,
3292,
75,
19486,
582,
74,
273,
2618,
309,
590,
18,
3798,
3292,
89,
3546,
422,
315,
20,
6877,
582,
273,
599,
582,
74,
3292,
350,
17337,
582,
74,
3292,
12306,
67,
84,
1187,
362,
3546,
273,
261,
20,
16,
389,
2668,
631,
4826,
934,
1100,
4877,
422,
26112,
469,
30,
582,
273,
3564,
24954,
18,
6911,
18,
588,
12,
350,
33,
2293,
18,
3798,
3292,
89,
19486,
582,
74,
3292,
350,
17337,
582,
74,
3292,
12306,
67,
84,
1187,
362,
3546,
273,
261,
89,
18,
350,
16,
582,
18,
12306,
67,
84,
1187,
362,
10756,
276,
273,
385,
4390,
18,
6911,
18,
588,
12,
350,
33,
2293,
18,
3798,
3292,
71,
19486,
276,
18,
2649,
273,
276,
18,
88,
23339,
12,
90,
18,
4936,
344,
13,
284,
23,
273,
512,
18706,
1359,
1204,
23,
12,
2293,
18,
3798,
13,
14966,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
67,
8987,
73,
1359,
12,
2293,
4672,
3536,
1767,
30,
4831,
279,
14096,
364,
729,
19,
1655,
471,
4362,
19,
2978,
18,
3536,
468,
436,
132,
107,
71,
416,
2281,
1137,
295,
331,
273,
590,
18,
3184,
3292,
90,
3546,
309,
590,
18,
2039,
422,
296,
3798,
4278,
309,
296,
71,
11,
316,
590,
18,
3798,
30,
468,
4854,
15834,
132,
106,
266,
225,
132,
107,
88,
1273,
16,
1950,
416,
2832,
1244,
73,
25152,
3393,
7864,
89,
537,
75,
297,
323,
443,
328,
11,
132,
107,
343,
132,
107,
1359,
314,
273,
611,
15995,
18,
6911,
18,
588,
12,
350,
33,
2293,
18,
3798,
3292,
75,
19486,
582,
74,
273,
2618,
309,
590,
18,
3798,
3292,
2
] |
return Numeric.ones(1,'d') | return ones(1,'d') | def nuttall(M,sym=1): """A minimum 4-term Blackman-Harris window according to Nuttall. """ if M < 1: return Numeric.array([]) if M == 1: return Numeric.ones(1,'d') odd = M % 2 if not sym and not odd: M = M+1 a = [0.3635819, 0.4891775, 0.1365995, 0.0106411] n = arange(0,M) fac = n*2*pi/(M-1.0) w = a[0] - a[1]*cos(fac) + a[2]*cos(2*fac) - a[3]*cos(3*fac) if not sym and not odd: w = w[:-1] return w | 936da8591e6b92539aeda1c0c884ca93d37a2754 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/936da8591e6b92539aeda1c0c884ca93d37a2754/signaltools.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
290,
322,
88,
454,
12,
49,
16,
8117,
33,
21,
4672,
3536,
37,
5224,
1059,
17,
6408,
22467,
4728,
17,
44,
5399,
291,
2742,
4888,
358,
423,
322,
88,
454,
18,
3536,
309,
490,
411,
404,
30,
327,
16980,
18,
1126,
3816,
5717,
309,
490,
422,
404,
30,
327,
5945,
12,
21,
11189,
72,
6134,
14800,
273,
490,
738,
576,
309,
486,
5382,
471,
486,
14800,
30,
490,
273,
490,
15,
21,
279,
273,
306,
20,
18,
23,
4449,
8204,
3657,
16,
374,
18,
24,
6675,
4033,
5877,
16,
374,
18,
3437,
9222,
2733,
25,
16,
374,
18,
23254,
1105,
2499,
65,
290,
273,
9660,
12,
20,
16,
49,
13,
5853,
273,
290,
14,
22,
14,
7259,
19,
12,
49,
17,
21,
18,
20,
13,
341,
273,
279,
63,
20,
65,
300,
279,
63,
21,
5772,
14445,
12,
11639,
13,
397,
279,
63,
22,
5772,
14445,
12,
22,
14,
11639,
13,
300,
279,
63,
23,
5772,
14445,
12,
23,
14,
11639,
13,
309,
486,
5382,
471,
486,
14800,
30,
341,
273,
341,
10531,
17,
21,
65,
327,
341,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
290,
322,
88,
454,
12,
49,
16,
8117,
33,
21,
4672,
3536,
37,
5224,
1059,
17,
6408,
22467,
4728,
17,
44,
5399,
291,
2742,
4888,
358,
423,
322,
88,
454,
18,
3536,
309,
490,
411,
404,
30,
327,
16980,
18,
1126,
3816,
5717,
309,
490,
422,
404,
30,
327,
5945,
12,
21,
11189,
72,
6134,
14800,
273,
490,
738,
576,
309,
486,
5382,
471,
486,
14800,
30,
490,
273,
490,
15,
21,
279,
273,
306,
20,
18,
23,
4449,
8204,
3657,
16,
374,
18,
24,
6675,
4033,
5877,
16,
374,
18,
3437,
9222,
2733,
25,
16,
374,
18,
23254,
1105,
2499,
65,
290,
273,
9660,
12,
20,
16,
49,
13,
5853,
273,
290,
14,
22,
14,
7259,
19,
2
] |
return -1, -1, -1, None | def read_netstr(idx, data, tot): ldata = len(data) i = 0 lenstr = "" if ldata - idx < 11: data = data[idx:] + fd.read(8192) ldata = len(data) idx = 0 | cba211f4d1a0d5da31433100af6323330d464458 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/373/cba211f4d1a0d5da31433100af6323330d464458/disco_worker.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
67,
2758,
701,
12,
3465,
16,
501,
16,
9997,
4672,
328,
892,
273,
562,
12,
892,
13,
277,
273,
374,
562,
701,
273,
1408,
309,
328,
892,
300,
2067,
411,
4648,
30,
501,
273,
501,
63,
3465,
26894,
397,
5194,
18,
896,
12,
28,
15561,
13,
328,
892,
273,
562,
12,
892,
13,
2067,
273,
374,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2758,
701,
12,
3465,
16,
501,
16,
9997,
4672,
328,
892,
273,
562,
12,
892,
13,
277,
273,
374,
562,
701,
273,
1408,
309,
328,
892,
300,
2067,
411,
4648,
30,
501,
273,
501,
63,
3465,
26894,
397,
5194,
18,
896,
12,
28,
15561,
13,
328,
892,
273,
562,
12,
892,
13,
2067,
273,
374,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
self.topFile.storeXml(xarchive) | self.currentFile.storeXml(xarchive) | def writeDescFile(self): """ Rewrites the desc file with the new patch information. """ | 2c81597aa70b8307a2253b59ef1df0354b72a056 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7242/2c81597aa70b8307a2253b59ef1df0354b72a056/PatchMaker.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1045,
4217,
812,
12,
2890,
4672,
3536,
534,
359,
24047,
326,
3044,
585,
598,
326,
394,
4729,
1779,
18,
3536,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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
] |
def parse_clone_text(self, text): | def parse_vcs_bundle_file(self, content): | def parse_clone_text(self, text): url = rev = None for line in text.splitlines(): if not line.strip() or line.strip().startswith('#'): continue url_match = re.search(r'hg\s*pull\s*(.*)\s*', line) if url_match: url = url_match.group(1).strip() rev_match = re.search(r'^hg\s*update\s*-r\s*(.*)\s*', line) if rev_match: rev = rev_match.group(1).strip() if url and rev: return url, rev return None, None | 4faa7a5f6c74f814cee91ccd722060b26857a0d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12982/4faa7a5f6c74f814cee91ccd722060b26857a0d3/pip.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
67,
18982,
67,
9991,
67,
768,
12,
2890,
16,
913,
4672,
880,
273,
5588,
273,
599,
364,
980,
316,
977,
18,
4939,
3548,
13332,
309,
486,
980,
18,
6406,
1435,
578,
980,
18,
6406,
7675,
17514,
1918,
2668,
10038,
4672,
1324,
880,
67,
1916,
273,
283,
18,
3072,
12,
86,
11,
26981,
64,
87,
14,
13469,
64,
87,
14,
27816,
87,
14,
2187,
980,
13,
309,
880,
67,
1916,
30,
880,
273,
880,
67,
1916,
18,
1655,
12,
21,
2934,
6406,
1435,
5588,
67,
1916,
273,
283,
18,
3072,
12,
86,
19856,
26981,
64,
87,
14,
2725,
64,
87,
14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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
67,
18982,
67,
9991,
67,
768,
12,
2890,
16,
913,
4672,
880,
273,
5588,
273,
599,
364,
980,
316,
977,
18,
4939,
3548,
13332,
309,
486,
980,
18,
6406,
1435,
578,
980,
18,
6406,
7675,
17514,
1918,
2668,
10038,
4672,
1324,
880,
67,
1916,
273,
283,
18,
3072,
12,
86,
11,
26981,
64,
87,
14,
13469,
64,
87,
14,
27816,
87,
14,
2187,
980,
13,
309,
880,
67,
1916,
30,
880,
273,
880,
67,
1916,
18,
1655,
12,
21,
2934,
6406,
1435,
5588,
67,
1916,
273,
283,
18,
3072,
12,
86,
19856,
26981,
64,
87,
14,
2725,
64,
87,
14,
17,
86,
64,
87,
14,
27816,
87,
14,
2187,
980,
13,
309,
5588,
67,
1916,
30,
5588,
2
] |
if not SDK.has_key("MACOSX"): SdkLocateMacOSX() | if "MACOSX" not in SDK: SdkLocateMacOSX() | def SdkLocatePython(): if (PkgSkip("PYTHON")==0): if (sys.platform == "win32"): (arch, osName) = platform.architecture() if arch == "32bit": SDK["PYTHON"] = "thirdparty/win32/win-python" else: SDK["PYTHON"] = "thirdparty/win64/win-python" if (not os.path.exists(SDK["PYTHON"])): SDK["PYTHON"] = "thirdparty/win-python" if (not os.path.exists(SDK["PYTHON"]+"/python.exe")): exit("Could not find thirdparty/win-python/python.exe!") os.system(SDK["PYTHON"].replace("/", "\\") + "\\python.exe -V > "+OUTPUTDIR+"/tmp/pythonversion 2>&1") pv=ReadFile(OUTPUTDIR+"/tmp/pythonversion") if (pv.startswith("Python ")==0): exit("python -V did not produce the expected output") pv = pv[7:10] SDK["PYTHONVERSION"]="python"+pv elif (sys.platform == "darwin"): if not SDK.has_key("MACOSX"): SdkLocateMacOSX() if (os.path.isdir("%s/System/Library/Frameworks/Python.framework" % SDK["MACOSX"])): os.system("readlink %s/System/Library/Frameworks/Python.framework/Versions/Current > %s/tmp/pythonversion 2>&1" % (SDK["MACOSX"], OUTPUTDIR)) pv = ReadFile(OUTPUTDIR+"/tmp/pythonversion") SDK["PYTHON"] = SDK["MACOSX"]+"/System/Library/Frameworks/Python.framework/Headers" SDK["PYTHONVERSION"] = "python"+pv else: exit("Could not find the python framework!") else: os.system("python -V > "+OUTPUTDIR+"/tmp/pythonversion 2>&1") pv=ReadFile(OUTPUTDIR+"/tmp/pythonversion") if (pv.startswith("Python ")==0): exit("python -V did not produce the expected output") pv = pv[7:10] if (os.path.isdir("/usr/include/python"+pv)==0): exit("Python reports version "+pv+" but /usr/include/python"+pv+" is not installed.") SDK["PYTHON"]="/usr/include/python"+pv SDK["PYTHONVERSION"]="python"+pv | e0e3ede644b14dcbdc2136d9a8ff5730ebaa32a7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8543/e0e3ede644b14dcbdc2136d9a8ff5730ebaa32a7/makepandacore.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3426,
1333,
340,
15774,
13332,
309,
261,
11264,
6368,
2932,
16235,
20131,
7923,
631,
20,
4672,
309,
261,
9499,
18,
9898,
422,
315,
8082,
1578,
6,
4672,
261,
991,
16,
1140,
461,
13,
273,
4072,
18,
991,
18123,
1435,
309,
6637,
422,
315,
1578,
3682,
6877,
3881,
9614,
16235,
20131,
11929,
273,
315,
451,
6909,
21214,
19,
8082,
1578,
19,
8082,
17,
8103,
6,
469,
30,
3881,
9614,
16235,
20131,
11929,
273,
315,
451,
6909,
21214,
19,
8082,
1105,
19,
8082,
17,
8103,
6,
225,
309,
261,
902,
1140,
18,
803,
18,
1808,
12,
22625,
9614,
16235,
20131,
11929,
3719,
30,
3881,
9614,
16235,
20131,
11929,
273,
315,
451,
6909,
21214,
19,
8082,
17,
8103,
6,
309,
261,
902,
1140,
18,
803,
18,
1808,
12,
22625,
9614,
16235,
20131,
6,
3737,
6,
19,
8103,
18,
14880,
6,
3719,
30,
2427,
2932,
4445,
486,
1104,
12126,
21214,
19,
8082,
17,
8103,
19,
8103,
18,
14880,
4442,
13,
225,
1140,
18,
4299,
12,
22625,
9614,
16235,
20131,
6,
8009,
2079,
2932,
19,
3113,
14520,
13,
397,
8422,
8103,
18,
14880,
300,
58,
405,
13773,
15527,
4537,
9078,
19,
5645,
19,
8103,
1589,
576,
22393,
21,
7923,
9770,
33,
1994,
812,
12,
15527,
4537,
9078,
19,
5645,
19,
8103,
1589,
7923,
309,
261,
25224,
18,
17514,
1918,
2932,
15774,
9369,
631,
20,
4672,
2427,
2932,
8103,
300,
58,
5061,
486,
11402,
326,
2665,
876,
7923,
9770,
273,
9770,
63,
27,
30,
2163,
65,
3881,
9614,
16235,
20131,
5757,
11929,
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,
3426,
1333,
340,
15774,
13332,
309,
261,
11264,
6368,
2932,
16235,
20131,
7923,
631,
20,
4672,
309,
261,
9499,
18,
9898,
422,
315,
8082,
1578,
6,
4672,
261,
991,
16,
1140,
461,
13,
273,
4072,
18,
991,
18123,
1435,
309,
6637,
422,
315,
1578,
3682,
6877,
3881,
9614,
16235,
20131,
11929,
273,
315,
451,
6909,
21214,
19,
8082,
1578,
19,
8082,
17,
8103,
6,
469,
30,
3881,
9614,
16235,
20131,
11929,
273,
315,
451,
6909,
21214,
19,
8082,
1105,
19,
8082,
17,
8103,
6,
225,
309,
261,
902,
1140,
18,
803,
18,
1808,
12,
22625,
9614,
16235,
20131,
11929,
3719,
30,
3881,
9614,
16235,
20131,
11929,
273,
315,
451,
6909,
21214,
19,
8082,
17,
8103,
6,
309,
261,
2
] |
if record[treeview.sequence].get_state_attrs( | if field.get_state_attrs( | def drag_data_received(self, treeview, context, x, y, selection, info, etime): treeview.emit_stop_by_name('drag-data-received') if treeview.sequence: for record in self.screen.group: if record[treeview.sequence].get_state_attrs( record).get('readonly', False): return if not selection.data: return model = treeview.get_model() data = common.safe_eval(selection.data) drop_info = treeview.get_dest_row_at_pos(x, y) if drop_info: path, position = drop_info idx = path[0] if position in (gtk.TREE_VIEW_DROP_BEFORE, gtk.TREE_VIEW_DROP_INTO_OR_BEFORE): model.move(data, idx) else: model.move(data, idx + 1) context.drop_finish(False, etime) if treeview.sequence: self.screen.group.set_sequence(field=treeview.sequence) | abef52966549be74589fca36b4d05b8480f72c39 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9151/abef52966549be74589fca36b4d05b8480f72c39/list.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8823,
67,
892,
67,
15213,
12,
2890,
16,
2151,
1945,
16,
819,
16,
619,
16,
677,
16,
4421,
16,
1123,
16,
225,
2374,
4672,
2151,
1945,
18,
18356,
67,
5681,
67,
1637,
67,
529,
2668,
15997,
17,
892,
17,
15213,
6134,
309,
2151,
1945,
18,
6178,
30,
364,
1409,
316,
365,
18,
9252,
18,
1655,
30,
309,
652,
18,
588,
67,
2019,
67,
7039,
12,
1409,
2934,
588,
2668,
16365,
2187,
1083,
4672,
327,
309,
486,
4421,
18,
892,
30,
327,
938,
273,
2151,
1945,
18,
588,
67,
2284,
1435,
501,
273,
2975,
18,
4626,
67,
8622,
12,
10705,
18,
892,
13,
3640,
67,
1376,
273,
2151,
1945,
18,
588,
67,
10488,
67,
492,
67,
270,
67,
917,
12,
92,
16,
677,
13,
309,
3640,
67,
1376,
30,
589,
16,
1754,
273,
3640,
67,
1376,
2067,
273,
589,
63,
20,
65,
309,
1754,
316,
261,
4521,
79,
18,
26557,
67,
12145,
67,
18768,
67,
19152,
16,
22718,
18,
26557,
67,
12145,
67,
18768,
67,
3217,
51,
67,
916,
67,
19152,
4672,
938,
18,
8501,
12,
892,
16,
2067,
13,
469,
30,
938,
18,
8501,
12,
892,
16,
2067,
397,
404,
13,
819,
18,
7285,
67,
13749,
12,
8381,
16,
225,
2374,
13,
309,
2151,
1945,
18,
6178,
30,
365,
18,
9252,
18,
1655,
18,
542,
67,
6178,
12,
1518,
33,
3413,
1945,
18,
6178,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8823,
67,
892,
67,
15213,
12,
2890,
16,
2151,
1945,
16,
819,
16,
619,
16,
677,
16,
4421,
16,
1123,
16,
225,
2374,
4672,
2151,
1945,
18,
18356,
67,
5681,
67,
1637,
67,
529,
2668,
15997,
17,
892,
17,
15213,
6134,
309,
2151,
1945,
18,
6178,
30,
364,
1409,
316,
365,
18,
9252,
18,
1655,
30,
309,
652,
18,
588,
67,
2019,
67,
7039,
12,
1409,
2934,
588,
2668,
16365,
2187,
1083,
4672,
327,
309,
486,
4421,
18,
892,
30,
327,
938,
273,
2151,
1945,
18,
588,
67,
2284,
1435,
501,
273,
2975,
18,
4626,
67,
8622,
12,
10705,
18,
892,
13,
3640,
67,
1376,
273,
2151,
1945,
18,
588,
67,
10488,
67,
492,
67,
270,
67,
917,
2
] |
path = normpath(path) | path = normpath(relpath(path)) | def getcontents(self, path): if not self.exists(path): raise ResourceNotFoundError(path) path = normpath(path) try: contents = self.zf.read(path.encode(self.encoding)) except KeyError: raise ResourceNotFoundError(path) except RuntimeError: raise OperationFailedError("read file", path=path, msg="Zip file must be oppened with 'r' or 'a' to read") return contents | cf6ad09bba11fa01aaef149fc5b346dfe087766e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5579/cf6ad09bba11fa01aaef149fc5b346dfe087766e/zipfs.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
3980,
12,
2890,
16,
589,
4672,
309,
486,
365,
18,
1808,
12,
803,
4672,
1002,
2591,
13276,
12,
803,
13,
589,
273,
20446,
12,
2878,
803,
12,
803,
3719,
775,
30,
2939,
273,
365,
18,
94,
74,
18,
896,
12,
803,
18,
3015,
12,
2890,
18,
5999,
3719,
1335,
4999,
30,
1002,
2591,
13276,
12,
803,
13,
1335,
7265,
30,
1002,
4189,
2925,
668,
2932,
896,
585,
3113,
589,
33,
803,
16,
1234,
1546,
9141,
585,
1297,
506,
1061,
1907,
329,
598,
296,
86,
11,
578,
296,
69,
11,
358,
855,
7923,
327,
2939,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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309,
486,
365,
18,
1808,
12,
803,
4672,
1002,
2591,
13276,
12,
803,
13,
589,
273,
20446,
12,
2878,
803,
12,
803,
3719,
775,
30,
2939,
273,
365,
18,
94,
74,
18,
896,
12,
803,
18,
3015,
12,
2890,
18,
5999,
3719,
1335,
4999,
30,
1002,
2591,
13276,
12,
803,
13,
1335,
7265,
30,
1002,
4189,
2925,
668,
2932,
896,
585,
3113,
589,
33,
803,
16,
1234,
1546,
9141,
585,
1297,
506,
1061,
1907,
329,
598,
296,
86,
11,
578,
296,
69,
11,
358,
855,
7923,
327,
2939,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if self._ref and self._ref(): | if self._ref and self._ref() is not None: | def __nonzero__(self): if self._ref and self._ref(): return 1 else: return 0 | 18ee914f78ae6af526e18210af0dc865dcfdf04b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11722/18ee914f78ae6af526e18210af0dc865dcfdf04b/weakref.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
26449,
972,
12,
2890,
4672,
309,
365,
6315,
1734,
471,
365,
6315,
1734,
1435,
353,
486,
599,
30,
327,
404,
469,
30,
327,
374,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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,
1001,
26449,
972,
12,
2890,
4672,
309,
365,
6315,
1734,
471,
365,
6315,
1734,
1435,
353,
486,
599,
30,
327,
404,
469,
30,
327,
374,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
def __init__(data = None) | def __init__(data = None): | def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 289) else quickfix.StringField.__init__(self, 289, 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,
4672,
309,
501,
422,
599,
30,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
576,
6675,
13,
469,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
576,
6675,
16,
501,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
892,
273,
599,
4672,
309,
501,
422,
599,
30,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
576,
6675,
13,
469,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
576,
6675,
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
] |
if not unpack: print "Resume point detected, skipping unpack operation..." | invalid_snapshot=False elif os.path.isfile(self.settings["source_path"]) and self.settings["source_path_md5sum"] != clst_unpack_md5sum: unpack=True invalid_snapshot=True else: if self.settings.has_key("SEEDCACHE"): if os.path.isdir(self.settings["source_path"]): unpack=True invalid_snapshot=False elif os.path.isfile(self.settings["source_path"]): unpack=True invalid_snapshot=True else: if os.path.isfile(self.settings["source_path"]): unpack=True invalid_snapshot=True elif os.path.isdir(self.settings["source_path"]): raise CatalystError,"source path is a dir but seedcache is not enabled" | def unpack(self): unpack=True | 919c311ef5f3283aa181be51be2146d298b7407b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7327/919c311ef5f3283aa181be51be2146d298b7407b/generic_stage_target.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6167,
12,
2890,
4672,
6167,
33,
5510,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6167,
12,
2890,
4672,
6167,
33,
5510,
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
] |
self.model.size['x'] = event.GetPosition().x self.model.size['y'] = event.GetPosition().y | def OnMove(self, event): self.model.size['x'] = event.GetPosition().x self.model.size['y'] = event.GetPosition().y """ Calling Skip causes wxWindows to continue processing the event, which will cause the parent class to get a crack at the event. """ event.Skip() | 63eee33ceffbaf41edc0717242c99ded7fc46397 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/63eee33ceffbaf41edc0717242c99ded7fc46397/ChandlerWindow.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2755,
7607,
12,
2890,
16,
871,
4672,
3536,
21020,
6611,
14119,
7075,
10399,
358,
1324,
4929,
326,
871,
16,
1492,
903,
4620,
326,
982,
667,
358,
336,
279,
276,
21580,
622,
326,
871,
18,
3536,
871,
18,
6368,
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,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435,
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
] |