rem
stringlengths 2
226k
| add
stringlengths 0
227k
| context
stringlengths 8
228k
| meta
stringlengths 156
215
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
checked and "Unstamped" or "Stamped"))
|
"Stamped" if checked else "Unstamped"))
|
def synchronizeWidget(self): # toggle this icon to reflect the read only status of the selected item super(ReadOnlyIconBlock, self).synchronizeWidget()
|
bc96fe3914a32ecace56f7f21fbe90832d032739 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/bc96fe3914a32ecace56f7f21fbe90832d032739/detail.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
16978,
4609,
12,
2890,
4672,
468,
10486,
333,
4126,
358,
3037,
326,
855,
1338,
1267,
434,
326,
3170,
761,
2240,
12,
12066,
5554,
1768,
16,
365,
2934,
87,
2600,
554,
4609,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
16978,
4609,
12,
2890,
4672,
468,
10486,
333,
4126,
358,
3037,
326,
855,
1338,
1267,
434,
326,
3170,
761,
2240,
12,
12066,
5554,
1768,
16,
365,
2934,
87,
2600,
554,
4609,
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
] |
if str(YT_FMT[i]) in fmts: fmt = YT_FMT[i]
|
if str(YOUTUBE_FMT[i]) in fmts: fmt = YOUTUBE_FMT[i]
|
def GetYouTubeVideo(video_id): yt_page = HTTP.Request(YT_VIDEO_PAGE % (video_id), cacheTime=1).content t = re.findall('&t=([^&]+)', yt_page)[0] fmt_list = re.findall('&fmt_list=([^&]+)', yt_page)[0] fmt_list = String.Unquote(fmt_list, usePlus=False) fmts = re.findall('([0-9]+)[^,]*', fmt_list) index = YT_VIDEO_FORMATS.index( Prefs.Get('ytfmt') ) if YT_FMT[index] in fmts: fmt = YT_FMT[index] else: for i in reversed( range(0, index+1) ): if str(YT_FMT[i]) in fmts: fmt = YT_FMT[i] break else: fmt = 5 url = YT_GET_VIDEO_URL % (video_id, t, fmt) return url
|
f4c8dcb66d81d6ad90a3b46a428caddbc823b2dd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14350/f4c8dcb66d81d6ad90a3b46a428caddbc823b2dd/__init__.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
968,
6225,
27195,
10083,
12,
9115,
67,
350,
4672,
677,
88,
67,
2433,
273,
2239,
18,
691,
12,
61,
56,
67,
58,
27242,
67,
11219,
738,
261,
9115,
67,
350,
3631,
1247,
950,
33,
21,
2934,
1745,
225,
268,
273,
283,
18,
4720,
454,
2668,
10,
88,
33,
8178,
10,
7941,
2187,
677,
88,
67,
2433,
25146,
20,
65,
1325,
67,
1098,
273,
283,
18,
4720,
454,
2668,
10,
8666,
67,
1098,
33,
8178,
10,
7941,
2187,
677,
88,
67,
2433,
25146,
20,
65,
1325,
67,
1098,
273,
514,
18,
984,
6889,
12,
8666,
67,
1098,
16,
999,
13207,
33,
8381,
13,
1325,
87,
273,
283,
18,
4720,
454,
2668,
3816,
20,
17,
29,
7941,
5969,
16,
5772,
2187,
1325,
67,
1098,
13,
225,
770,
273,
1624,
56,
67,
58,
27242,
67,
7254,
55,
18,
1615,
12,
453,
9316,
18,
967,
2668,
93,
6632,
1010,
6134,
262,
309,
1624,
56,
67,
42,
6152,
63,
1615,
65,
316,
1325,
87,
30,
1325,
273,
1624,
56,
67,
42,
6152,
63,
1615,
65,
469,
30,
364,
277,
316,
9553,
12,
1048,
12,
20,
16,
770,
15,
21,
13,
262,
30,
309,
609,
12,
61,
5069,
3457,
41,
67,
42,
6152,
63,
77,
5717,
316,
1325,
87,
30,
1325,
273,
1624,
5069,
3457,
41,
67,
42,
6152,
63,
77,
65,
898,
469,
30,
1325,
273,
1381,
225,
880,
273,
1624,
56,
67,
3264,
67,
58,
27242,
67,
1785,
738,
261,
9115,
67,
350,
16,
268,
16,
1325,
13,
327,
880,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
968,
6225,
27195,
10083,
12,
9115,
67,
350,
4672,
677,
88,
67,
2433,
273,
2239,
18,
691,
12,
61,
56,
67,
58,
27242,
67,
11219,
738,
261,
9115,
67,
350,
3631,
1247,
950,
33,
21,
2934,
1745,
225,
268,
273,
283,
18,
4720,
454,
2668,
10,
88,
33,
8178,
10,
7941,
2187,
677,
88,
67,
2433,
25146,
20,
65,
1325,
67,
1098,
273,
283,
18,
4720,
454,
2668,
10,
8666,
67,
1098,
33,
8178,
10,
7941,
2187,
677,
88,
67,
2433,
25146,
20,
65,
1325,
67,
1098,
273,
514,
18,
984,
6889,
12,
8666,
67,
1098,
16,
999,
13207,
33,
8381,
13,
1325,
87,
273,
283,
18,
4720,
454,
2668,
3816,
20,
17,
29,
7941,
5969,
16,
5772,
2
] |
discretizer = self.catData.domain['D_'+att].getValueFrom.transformer
|
discretizer = self.discData.domain['D_'+att.name].getValueFrom.transformer
|
def setTable(self): self.res.setNumCols(2) self.res.setNumRows(len(self.discretizedAtts) - len(self.removedAtt))
|
dd1d765dc3e19161f4c3e8769c6d619e4b07ec77 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/dd1d765dc3e19161f4c3e8769c6d619e4b07ec77/OWCategorize.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
30146,
12,
2890,
4672,
365,
18,
455,
18,
542,
2578,
8011,
12,
22,
13,
365,
18,
455,
18,
542,
2578,
4300,
12,
1897,
12,
2890,
18,
2251,
71,
1349,
1235,
3075,
87,
13,
300,
562,
12,
2890,
18,
14923,
3075,
3719,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
30146,
12,
2890,
4672,
365,
18,
455,
18,
542,
2578,
8011,
12,
22,
13,
365,
18,
455,
18,
542,
2578,
4300,
12,
1897,
12,
2890,
18,
2251,
71,
1349,
1235,
3075,
87,
13,
300,
562,
12,
2890,
18,
14923,
3075,
3719,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
matches = re.compile("""(msgid|msgstr)((\s*".*?")+)""").findall(gettext)
|
matches = re.compile("""(msgid|msgstr)((\s*".*?")+)""").finditer(gettext)
|
def __init__(self, textdomain, isocode, topdir=""): self.textdomain = textdomain self.isocode = isocode self.gettext = {} if self.isocode != "C": isocode2 = isocode[:isocode.rfind("_")] for code in [isocode, isocode2]: fn = "po/%s/%s.po" % (textdomain, code) if topdir: fn = os.path.join(topdir, fn) try: f = file(fn) break except IOError: pass else: raise TranslationError(textdomain, self.isocode)
|
8880d09e45212480ad34f22f671d1cf6d58a7259 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9355/8880d09e45212480ad34f22f671d1cf6d58a7259/wmltools.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
977,
4308,
16,
353,
19373,
16,
1760,
1214,
1546,
6,
4672,
365,
18,
955,
4308,
273,
977,
4308,
365,
18,
291,
19373,
273,
353,
19373,
365,
18,
29967,
273,
2618,
309,
365,
18,
291,
19373,
480,
315,
39,
6877,
353,
19373,
22,
273,
353,
19373,
10531,
291,
19373,
18,
86,
4720,
2932,
67,
7923,
65,
364,
981,
316,
306,
291,
19373,
16,
353,
19373,
22,
14542,
2295,
273,
315,
1631,
5258,
87,
5258,
87,
18,
1631,
6,
738,
261,
955,
4308,
16,
981,
13,
309,
1760,
1214,
30,
2295,
273,
1140,
18,
803,
18,
5701,
12,
3669,
1214,
16,
2295,
13,
775,
30,
284,
273,
585,
12,
4293,
13,
898,
1335,
8340,
30,
1342,
469,
30,
1002,
17427,
668,
12,
955,
4308,
16,
365,
18,
291,
19373,
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,
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
977,
4308,
16,
353,
19373,
16,
1760,
1214,
1546,
6,
4672,
365,
18,
955,
4308,
273,
977,
4308,
365,
18,
291,
19373,
273,
353,
19373,
365,
18,
29967,
273,
2618,
309,
365,
18,
291,
19373,
480,
315,
39,
6877,
353,
19373,
22,
273,
353,
19373,
10531,
291,
19373,
18,
86,
4720,
2932,
67,
7923,
65,
364,
981,
316,
306,
291,
19373,
16,
353,
19373,
22,
14542,
2295,
273,
315,
1631,
5258,
87,
5258,
87,
18,
1631,
6,
738,
261,
955,
4308,
16,
981,
13,
309,
1760,
1214,
30,
2295,
273,
1140,
18,
803,
18,
5701,
12,
3669,
1214,
16,
2295,
13,
775,
30,
284,
273,
585,
12,
4293,
13,
898,
1335,
8340,
2
] |
j += 1
|
else : j += 1
|
def find_and_replace_scope (current_phil, new_scope, scope_name) : i = 0 while (i < len(current_phil.objects)) : full_path = current_phil.objects[i].full_path() if (full_path == scope_name) : #assert (not current_phil.objects[i].multiple) new_scope.change_primary_parent_scope(current_phil) j = i while (j < len(current_phil.objects)) : if (current_phil.objects[j].full_path() == scope_name) : del current_phil.objects[j] j += 1 current_phil.objects[i:i] = new_scope.objects break elif (scope_name.startswith(full_path)) : find_and_replace_scope( current_phil=current_phil.objects[i], new_scope=new_scope, scope_name=scope_name) i += 1
|
149ead33a5a7996e7726d9907942e0447e7a002c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/696/149ead33a5a7996e7726d9907942e0447e7a002c/interface.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1104,
67,
464,
67,
2079,
67,
4887,
261,
2972,
67,
844,
330,
16,
394,
67,
4887,
16,
2146,
67,
529,
13,
294,
277,
273,
374,
1323,
261,
77,
411,
562,
12,
2972,
67,
844,
330,
18,
6911,
3719,
294,
1983,
67,
803,
273,
783,
67,
844,
330,
18,
6911,
63,
77,
8009,
2854,
67,
803,
1435,
309,
261,
2854,
67,
803,
422,
2146,
67,
529,
13,
294,
468,
11231,
261,
902,
783,
67,
844,
330,
18,
6911,
63,
77,
8009,
9622,
13,
394,
67,
4887,
18,
3427,
67,
8258,
67,
2938,
67,
4887,
12,
2972,
67,
844,
330,
13,
525,
273,
277,
1323,
261,
78,
411,
562,
12,
2972,
67,
844,
330,
18,
6911,
3719,
294,
309,
261,
2972,
67,
844,
330,
18,
6911,
63,
78,
8009,
2854,
67,
803,
1435,
422,
2146,
67,
529,
13,
294,
1464,
783,
67,
844,
330,
18,
6911,
63,
78,
65,
469,
294,
525,
1011,
404,
783,
67,
844,
330,
18,
6911,
63,
77,
30,
77,
65,
273,
394,
67,
4887,
18,
6911,
898,
1327,
261,
4887,
67,
529,
18,
17514,
1918,
12,
2854,
67,
803,
3719,
294,
1104,
67,
464,
67,
2079,
67,
4887,
12,
783,
67,
844,
330,
33,
2972,
67,
844,
330,
18,
6911,
63,
77,
6487,
394,
67,
4887,
33,
2704,
67,
4887,
16,
2146,
67,
529,
33,
4887,
67,
529,
13,
277,
1011,
404,
225,
2,
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,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1104,
67,
464,
67,
2079,
67,
4887,
261,
2972,
67,
844,
330,
16,
394,
67,
4887,
16,
2146,
67,
529,
13,
294,
277,
273,
374,
1323,
261,
77,
411,
562,
12,
2972,
67,
844,
330,
18,
6911,
3719,
294,
1983,
67,
803,
273,
783,
67,
844,
330,
18,
6911,
63,
77,
8009,
2854,
67,
803,
1435,
309,
261,
2854,
67,
803,
422,
2146,
67,
529,
13,
294,
468,
11231,
261,
902,
783,
67,
844,
330,
18,
6911,
63,
77,
8009,
9622,
13,
394,
67,
4887,
18,
3427,
67,
8258,
67,
2938,
67,
4887,
12,
2972,
67,
844,
330,
13,
525,
273,
277,
1323,
261,
78,
411,
562,
12,
2972,
67,
844,
330,
18,
6911,
3719,
294,
309,
261,
2
] |
if bdist_msi: class my_bdist_msi(bdist_msi): def get_installer_filename(self, fullname): plat = distutils.util.get_platform() installer_name = os.path.join(self.dist_dir, "%s.%s-py%s.msi" % (fullname, plat, self.target_version)) return installer_name
|
def run(self): install.run(self) # Custom script we run at the end of installing - this is the same script # run by bdist_wininst # This child process won't be able to install the system DLLs until our # process has terminated (as distutils imports win32api!), so we must use # some 'no wait' executor - spawn seems fine! We pass the PID of this # process so the child will wait for us. # XXX - hmm - a closer look at distutils shows it only uses win32api # if _winreg fails - and this never should. Need to revisit this! if not self.dry_run and not self.skip_build: # What executable to use? This one I guess. filename = os.path.join(os.path.dirname(this_file), "pywin32_postinstall.py") if not os.path.isfile(filename): raise RuntimeError, "Can't find '%s'" % (filename,) print "Executing post install script..." os.spawnl(os.P_NOWAIT, sys.executable, sys.executable, filename, "-quiet", "-wait", str(os.getpid()), "-install")
|
f6dfdc5ee1898eaba97fe194719e75daf4a60728 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/992/f6dfdc5ee1898eaba97fe194719e75daf4a60728/setup.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
12,
2890,
4672,
3799,
18,
2681,
12,
2890,
13,
468,
6082,
2728,
732,
1086,
622,
326,
679,
434,
3799,
310,
300,
333,
353,
326,
1967,
2728,
468,
1086,
635,
324,
4413,
67,
8082,
8591,
468,
1220,
1151,
1207,
8462,
1404,
506,
7752,
358,
3799,
326,
2619,
463,
4503,
87,
3180,
3134,
468,
1207,
711,
14127,
261,
345,
2411,
5471,
10095,
5657,
1578,
2425,
5,
3631,
1427,
732,
1297,
999,
468,
2690,
296,
2135,
2529,
11,
6601,
300,
12560,
12001,
11079,
5,
225,
1660,
1342,
326,
14788,
434,
333,
468,
1207,
1427,
326,
1151,
903,
2529,
364,
584,
18,
468,
11329,
300,
366,
7020,
300,
279,
13306,
2324,
622,
2411,
5471,
17975,
518,
1338,
4692,
5657,
1578,
2425,
468,
309,
389,
8082,
1574,
6684,
300,
471,
333,
5903,
1410,
18,
225,
12324,
358,
283,
11658,
333,
5,
309,
486,
365,
18,
25011,
67,
2681,
471,
486,
365,
18,
7457,
67,
3510,
30,
468,
18734,
9070,
358,
999,
35,
225,
1220,
1245,
467,
7274,
18,
1544,
273,
1140,
18,
803,
18,
5701,
12,
538,
18,
803,
18,
12287,
12,
2211,
67,
768,
3631,
315,
2074,
8082,
1578,
67,
2767,
5425,
18,
2074,
7923,
309,
486,
1140,
18,
803,
18,
291,
768,
12,
3459,
4672,
1002,
7265,
16,
315,
2568,
1404,
1104,
1995,
87,
4970,
738,
261,
3459,
16,
13,
1172,
315,
22134,
1603,
3799,
2728,
7070,
1140,
18,
1752,
9533,
80,
12,
538,
18,
52,
67,
3417,
19046,
16,
2589,
18,
17751,
16,
2589,
18,
17751,
16,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
12,
2890,
4672,
3799,
18,
2681,
12,
2890,
13,
468,
6082,
2728,
732,
1086,
622,
326,
679,
434,
3799,
310,
300,
333,
353,
326,
1967,
2728,
468,
1086,
635,
324,
4413,
67,
8082,
8591,
468,
1220,
1151,
1207,
8462,
1404,
506,
7752,
358,
3799,
326,
2619,
463,
4503,
87,
3180,
3134,
468,
1207,
711,
14127,
261,
345,
2411,
5471,
10095,
5657,
1578,
2425,
5,
3631,
1427,
732,
1297,
999,
468,
2690,
296,
2135,
2529,
11,
6601,
300,
12560,
12001,
11079,
5,
225,
1660,
1342,
326,
14788,
434,
333,
468,
1207,
1427,
326,
1151,
903,
2529,
364,
584,
18,
468,
11329,
300,
366,
7020,
300,
279,
13306,
2324,
622,
2411,
5471,
17975,
518,
1338,
4692,
5657,
1578,
2425,
2
] |
|
font-family: "Courier New",courier, monospace;
|
font-family: courier, monospace;
|
def css(color='default'): r""" Return the CSS header used by the SAGE Notebook. INPUT: color -- string or pair of html colors, e.g., 'gmail' 'grey' \code{('#ff0000', '#0000ff')} EXAMPLES: sage: import sage.server.notebook.css as c sage: type(c.css()) <type 'str'> """ s = r"""
|
b06f57c141677c48645b63c858e936c2da7c279f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/b06f57c141677c48645b63c858e936c2da7c279f/css.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3747,
12,
3266,
2218,
1886,
11,
4672,
436,
8395,
2000,
326,
6765,
1446,
1399,
635,
326,
348,
2833,
3609,
3618,
18,
225,
12943,
30,
2036,
1493,
533,
578,
3082,
434,
1729,
5740,
16,
425,
18,
75,
12990,
296,
75,
4408,
11,
296,
11556,
93,
11,
521,
710,
95,
2668,
7,
1403,
2787,
2187,
2946,
2787,
1403,
6134,
97,
225,
5675,
8900,
11386,
30,
272,
410,
30,
1930,
272,
410,
18,
3567,
18,
24422,
18,
5212,
487,
276,
272,
410,
30,
618,
12,
71,
18,
5212,
10756,
411,
723,
296,
701,
29256,
3536,
272,
273,
436,
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,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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,
3747,
12,
3266,
2218,
1886,
11,
4672,
436,
8395,
2000,
326,
6765,
1446,
1399,
635,
326,
348,
2833,
3609,
3618,
18,
225,
12943,
30,
2036,
1493,
533,
578,
3082,
434,
1729,
5740,
16,
425,
18,
75,
12990,
296,
75,
4408,
11,
296,
11556,
93,
11,
521,
710,
95,
2668,
7,
1403,
2787,
2187,
2946,
2787,
1403,
6134,
97,
225,
5675,
8900,
11386,
30,
272,
410,
30,
1930,
272,
410,
18,
3567,
18,
24422,
18,
5212,
487,
276,
272,
410,
30,
618,
12,
71,
18,
5212,
10756,
411,
723,
296,
701,
29256,
3536,
272,
273,
436,
8395,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
RunAction(g, make_action(make_tuple(${args}), return_val));
|
RunAction(g, make_action(boost::make_tuple(${args}), return_val));
|
props += ("typedef typename %s_prop_t::template as<%s >::type" + \ " %sprop_%s_t;\n") % \ (d,t,d[0],t.replace(" ","_").replace("::","_")\ .replace("<","_").replace(">","_"))
|
cfb623518c99b89a2e2646018147efb08df60380 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3516/cfb623518c99b89a2e2646018147efb08df60380/inline.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3458,
1011,
7566,
723,
536,
26735,
738,
87,
67,
5986,
67,
88,
2866,
3202,
487,
32,
9,
87,
405,
2866,
723,
6,
397,
521,
315,
738,
87,
5986,
10185,
87,
67,
88,
9747,
82,
7923,
738,
521,
261,
72,
16,
88,
16,
72,
63,
20,
6487,
88,
18,
2079,
2932,
5753,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3458,
1011,
7566,
723,
536,
26735,
738,
87,
67,
5986,
67,
88,
2866,
3202,
487,
32,
9,
87,
405,
2866,
723,
6,
397,
521,
315,
738,
87,
5986,
10185,
87,
67,
88,
9747,
82,
7923,
738,
521,
261,
72,
16,
88,
16,
72,
63,
20,
6487,
88,
18,
2079,
2932,
5753,
9548,
2934,
2079,
2932,
30,
2773,
10837,
9548,
5153,
263,
2079,
2932,
32,
15937,
9548,
2934,
2079,
2932,
2984,
10837,
9548,
3719,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
display:inline;
|
def css(color='default'): r""" Return the CSS header used by the SAGE Notebook. INPUT: color -- string or pair of html colors, e.g., 'gmail' 'grey' \code{('#ff0000', '#0000ff')} EXAMPLES: sage: import sage.server.notebook.css as c sage: type(c.css()) <type 'str'> """ s = r"""
|
992e2040e93f6e20762e8bd72e7e30c088878fd4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/992e2040e93f6e20762e8bd72e7e30c088878fd4/css.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3747,
12,
3266,
2218,
1886,
11,
4672,
436,
8395,
2000,
326,
6765,
1446,
1399,
635,
326,
348,
2833,
3609,
3618,
18,
225,
12943,
30,
2036,
1493,
533,
578,
3082,
434,
1729,
5740,
16,
425,
18,
75,
12990,
296,
75,
4408,
11,
296,
11556,
93,
11,
521,
710,
95,
2668,
7,
1403,
2787,
2187,
2946,
2787,
1403,
6134,
97,
225,
5675,
8900,
11386,
30,
272,
410,
30,
1930,
272,
410,
18,
3567,
18,
24422,
18,
5212,
487,
276,
272,
410,
30,
618,
12,
71,
18,
5212,
10756,
411,
723,
296,
701,
29256,
3536,
272,
273,
436,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3747,
12,
3266,
2218,
1886,
11,
4672,
436,
8395,
2000,
326,
6765,
1446,
1399,
635,
326,
348,
2833,
3609,
3618,
18,
225,
12943,
30,
2036,
1493,
533,
578,
3082,
434,
1729,
5740,
16,
425,
18,
75,
12990,
296,
75,
4408,
11,
296,
11556,
93,
11,
521,
710,
95,
2668,
7,
1403,
2787,
2187,
2946,
2787,
1403,
6134,
97,
225,
5675,
8900,
11386,
30,
272,
410,
30,
1930,
272,
410,
18,
3567,
18,
24422,
18,
5212,
487,
276,
272,
410,
30,
618,
12,
71,
18,
5212,
10756,
411,
723,
296,
701,
29256,
3536,
272,
273,
436,
8395,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
cat_class = '('+string.join(idxsi)+')'
|
cat_class = '(%s)' % string.join(idxsi)
|
def changeit(buf, pp): global onlylatexspecial, hist, out i, length = 0, len(pp) while 1: # sanity check: length should always equal len(pp) if len(pp) != length: print i, pp[i] raise 'FATAL', 'inconsistent length. thought ' + `length` + ', but should really be ' + `len(pp)` if i >= length: break ch = pp[i] i = i + 1 if type(ch) is StringType: #normally, only chunks are present in pp, # but in some cases, some extra info # has been inserted, e.g., the \end{...} clauses raise 'FATAL', 'got string, probably too many ' + `end` if ch.chtype == chunk_type[GROUP]: # check for {\em ...} constructs data = ch.data if data and \ data[0].chtype == chunk_type[CSNAME] and \ fontchanges.has_key(s(buf, data[0].data)): k = s(buf, data[0].data) del data[0] pp.insert(i-1, chunk(CSNAME, ch.where, fontchanges[k])) length, i = length+1, i+1 elif data: if len(data) \ and data[0].chtype == chunk_type[GROUP] \ and len(data[0].data) \ and data[0].data[0].chtype == chunk_type[CSNAME] \ and s(buf, data[0].data[0].data) == 'e': data[0] = data[0].data[0] print "invoking \\e magic group transform..." else:
|
0841b804630150bd79a6d09ce37f1045a77fefdf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/0841b804630150bd79a6d09ce37f1045a77fefdf/partparse.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2549,
305,
12,
4385,
16,
8228,
4672,
2552,
1338,
26264,
9371,
16,
5356,
16,
596,
225,
277,
16,
769,
273,
374,
16,
562,
12,
11858,
13,
1323,
404,
30,
468,
16267,
866,
30,
769,
1410,
3712,
3959,
562,
12,
11858,
13,
309,
562,
12,
11858,
13,
480,
769,
30,
1172,
277,
16,
8228,
63,
77,
65,
1002,
296,
29891,
2187,
296,
267,
16952,
769,
18,
286,
83,
9540,
296,
397,
1375,
2469,
68,
397,
2265,
1496,
1410,
8654,
506,
296,
397,
1375,
1897,
12,
11858,
22025,
309,
277,
1545,
769,
30,
898,
462,
273,
8228,
63,
77,
65,
277,
273,
277,
397,
404,
225,
309,
618,
12,
343,
13,
353,
31570,
30,
468,
7959,
1230,
16,
1338,
6055,
854,
3430,
316,
8228,
16,
468,
1496,
316,
2690,
6088,
16,
2690,
2870,
1123,
468,
711,
2118,
9564,
16,
425,
18,
75,
12990,
326,
521,
409,
95,
2777,
97,
14093,
1002,
296,
29891,
2187,
296,
13212,
533,
16,
8656,
4885,
4906,
296,
397,
1375,
409,
68,
225,
309,
462,
18,
343,
723,
422,
2441,
67,
723,
63,
8468,
14542,
468,
866,
364,
18890,
351,
1372,
97,
15725,
501,
273,
462,
18,
892,
309,
501,
471,
521,
501,
63,
20,
8009,
343,
723,
422,
2441,
67,
723,
63,
4596,
1985,
65,
471,
521,
3512,
6329,
18,
5332,
67,
856,
12,
87,
12,
4385,
16,
501,
63,
20,
8009,
892,
3719,
30,
417,
273,
272,
12,
4385,
16,
501,
63,
20,
8009,
892,
13,
1464,
501,
63,
20,
65,
8228,
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,
2549,
305,
12,
4385,
16,
8228,
4672,
2552,
1338,
26264,
9371,
16,
5356,
16,
596,
225,
277,
16,
769,
273,
374,
16,
562,
12,
11858,
13,
1323,
404,
30,
468,
16267,
866,
30,
769,
1410,
3712,
3959,
562,
12,
11858,
13,
309,
562,
12,
11858,
13,
480,
769,
30,
1172,
277,
16,
8228,
63,
77,
65,
1002,
296,
29891,
2187,
296,
267,
16952,
769,
18,
286,
83,
9540,
296,
397,
1375,
2469,
68,
397,
2265,
1496,
1410,
8654,
506,
296,
397,
1375,
1897,
12,
11858,
22025,
309,
277,
1545,
769,
30,
898,
462,
273,
8228,
63,
77,
65,
277,
273,
277,
397,
404,
225,
309,
618,
12,
343,
13,
353,
31570,
30,
468,
7959,
1230,
16,
1338,
6055,
2
] |
for i in range(argumentCount, min(argumentCount + 100, len(self.shownResults))):
|
for i in range(self.argumentCount, min(self.argumentCount + 100, len(self.shownResults))):
|
def findArguments(self, selectBest = 1, showClassification = 1, example = None): self.cancelArgumentation = 0 self.clearArguments() self.arguments = [[] for i in range(self.classValueList.count())] snapshots = self.createSnapshots if not example and self.subsetdata == None: QMessageBox.information( None, "VizRank Argumentation", 'To find arguments you first have to provide a new example that you wish to classify. \nYou can do this by sending the example to the visualization widget through the "Example Subset" signal.', QMessageBox.Ok + QMessageBox.Default) return (None,None) if len(self.shownResults) == 0: QMessageBox.information( None, "VizRank Argumentation", 'To find arguments you first have to evaluate some projections by clicking "Start evaluating projections" in the Main tab.', QMessageBox.Ok + QMessageBox.Default) return (None,None)
|
1922e1c90901187992cd760d65376cde614d1a7a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/1922e1c90901187992cd760d65376cde614d1a7a/OWkNNOptimization.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1104,
4628,
12,
2890,
16,
2027,
14173,
273,
404,
16,
2405,
19168,
273,
404,
16,
3454,
273,
599,
4672,
365,
18,
10996,
1379,
367,
273,
374,
365,
18,
8507,
4628,
1435,
365,
18,
7099,
273,
306,
8526,
364,
277,
316,
1048,
12,
2890,
18,
1106,
24999,
18,
1883,
10756,
65,
12808,
273,
365,
18,
2640,
17095,
225,
309,
486,
3454,
471,
365,
18,
15657,
892,
422,
599,
30,
30728,
18,
13117,
12,
599,
16,
315,
58,
452,
12925,
5067,
367,
3113,
296,
774,
1104,
1775,
1846,
1122,
1240,
358,
5615,
279,
394,
3454,
716,
1846,
14302,
358,
19974,
18,
521,
82,
6225,
848,
741,
333,
635,
5431,
326,
3454,
358,
326,
30056,
3604,
3059,
326,
315,
10908,
2592,
542,
6,
4277,
1093,
16,
30728,
18,
8809,
397,
30728,
18,
1868,
13,
327,
261,
7036,
16,
7036,
13,
309,
562,
12,
2890,
18,
674,
995,
3447,
13,
422,
374,
30,
30728,
18,
13117,
12,
599,
16,
315,
58,
452,
12925,
5067,
367,
3113,
296,
774,
1104,
1775,
1846,
1122,
1240,
358,
5956,
2690,
8106,
87,
635,
4682,
310,
315,
1685,
26704,
8106,
87,
6,
316,
326,
12740,
3246,
1093,
16,
30728,
18,
8809,
397,
30728,
18,
1868,
13,
327,
261,
7036,
16,
7036,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1104,
4628,
12,
2890,
16,
2027,
14173,
273,
404,
16,
2405,
19168,
273,
404,
16,
3454,
273,
599,
4672,
365,
18,
10996,
1379,
367,
273,
374,
365,
18,
8507,
4628,
1435,
365,
18,
7099,
273,
306,
8526,
364,
277,
316,
1048,
12,
2890,
18,
1106,
24999,
18,
1883,
10756,
65,
12808,
273,
365,
18,
2640,
17095,
225,
309,
486,
3454,
471,
365,
18,
15657,
892,
422,
599,
30,
30728,
18,
13117,
12,
599,
16,
315,
58,
452,
12925,
5067,
367,
3113,
296,
774,
1104,
1775,
1846,
1122,
1240,
358,
5615,
279,
394,
3454,
716,
1846,
14302,
358,
19974,
18,
521,
82,
6225,
848,
741,
333,
635,
5431,
326,
3454,
358,
326,
30056,
3604,
3059,
326,
315,
10908,
2592,
2
] |
EXAMPLES:
|
EXAMPLES::
|
def __getattr__(self, a): r""" Get an 'append' method from a TestAppendNonlist. We have this method so that we can distinguish how many times the append method is fetched.
|
3bed29c45c1270055cd235e22fd02f632971b39e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/3bed29c45c1270055cd235e22fd02f632971b39e/explain_pickle.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
588,
1747,
972,
12,
2890,
16,
279,
4672,
436,
8395,
968,
392,
296,
6923,
11,
707,
628,
279,
7766,
5736,
3989,
1098,
18,
225,
1660,
1240,
333,
707,
1427,
716,
732,
848,
23926,
3661,
4906,
4124,
326,
714,
707,
353,
12807,
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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707,
1427,
716,
732,
848,
23926,
3661,
4906,
4124,
326,
714,
707,
353,
12807,
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
] |
None, [cty.POINTER(FL_OBJECT), cty.c_int],
|
None, [cty.POINTER(FL_OBJECT), cty.c_int],
|
def fl_set_positioner_ystep(ob, value): """ fl_set_positioner_ystep(ob, value) """ _fl_set_positioner_ystep(ob, value)
|
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1183,
67,
542,
67,
3276,
264,
67,
1094,
881,
12,
947,
16,
460,
4672,
3536,
1183,
67,
542,
67,
3276,
264,
67,
1094,
881,
12,
947,
16,
460,
13,
3536,
225,
389,
2242,
67,
542,
67,
3276,
264,
67,
1094,
881,
12,
947,
16,
460,
13,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1183,
67,
542,
67,
3276,
264,
67,
1094,
881,
12,
947,
16,
460,
4672,
3536,
1183,
67,
542,
67,
3276,
264,
67,
1094,
881,
12,
947,
16,
460,
13,
3536,
225,
389,
2242,
67,
542,
67,
3276,
264,
67,
1094,
881,
12,
947,
16,
460,
13,
282,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.out.append( '\\end{verbatim}\n' ) self.verbatim = False
|
self.depart_literal_block(node)
|
def depart_doctest_block(self, node): self.out.append( '\\end{verbatim}\n' ) self.verbatim = False
|
230860cff0f553b5bcb53e4e6c7c19aeacd5e602 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1532/230860cff0f553b5bcb53e4e6c7c19aeacd5e602/__init__.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
26000,
67,
2896,
299,
395,
67,
2629,
12,
2890,
16,
756,
4672,
365,
18,
659,
18,
6923,
12,
3718,
409,
95,
16629,
22204,
6280,
82,
11,
262,
365,
18,
16629,
22204,
273,
1083,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
26000,
67,
2896,
299,
395,
67,
2629,
12,
2890,
16,
756,
4672,
365,
18,
659,
18,
6923,
12,
3718,
409,
95,
16629,
22204,
6280,
82,
11,
262,
365,
18,
16629,
22204,
273,
1083,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
t += [ p**(k-1)*(p-1) for p,k in L ]
|
t += [p**(k - 1) * (p - 1) for p, k in L]
|
sage: def my_carmichael(n):
|
625cf44d0475aaee9bd5981a533cb7fd5a2f9abb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/625cf44d0475aaee9bd5981a533cb7fd5a2f9abb/util.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
272,
410,
30,
1652,
3399,
67,
71,
4610,
1354,
69,
292,
12,
82,
4672,
2,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
272,
410,
30,
1652,
3399,
67,
71,
4610,
1354,
69,
292,
12,
82,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
>>>
|
def factorize(x): r''' >>> factorize(a) [3, 41] >>> factorize(b) [2, 2, 2, 3, 19] >>> ''' savex=x prime=2 x=_g.mpz(x) factors=[] while x>=prime: newx,mult=x.remove(prime) if mult: factors.extend([int(prime)]*mult) x=newx prime=_g.next_prime(prime) for factor in factors: assert _g.is_prime(factor) from operator import mul from functools import reduce assert reduce(mul, factors)==savex return factors
|
cecbf247cd13bf775f352cd8911e5154d87df4d6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/137/cecbf247cd13bf775f352cd8911e5154d87df4d6/gmpy_test_mpz.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5578,
554,
12,
92,
4672,
436,
26418,
5578,
554,
12,
69,
13,
306,
23,
16,
20170,
65,
5578,
554,
12,
70,
13,
306,
22,
16,
576,
16,
576,
16,
890,
16,
5342,
65,
9163,
4087,
338,
33,
92,
17014,
33,
22,
619,
33,
67,
75,
18,
1291,
94,
12,
92,
13,
14490,
33,
8526,
1323,
619,
34,
33,
16382,
30,
394,
92,
16,
5421,
33,
92,
18,
4479,
12,
16382,
13,
309,
1778,
30,
14490,
18,
14313,
3816,
474,
12,
16382,
13,
5772,
5421,
13,
619,
33,
2704,
92,
17014,
33,
67,
75,
18,
4285,
67,
16382,
12,
16382,
13,
364,
5578,
316,
14490,
30,
1815,
389,
75,
18,
291,
67,
16382,
12,
6812,
13,
628,
3726,
1930,
14064,
628,
14859,
1930,
5459,
1815,
5459,
12,
16411,
16,
14490,
13,
631,
87,
842,
338,
327,
14490,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5578,
554,
12,
92,
4672,
436,
26418,
5578,
554,
12,
69,
13,
306,
23,
16,
20170,
65,
5578,
554,
12,
70,
13,
306,
22,
16,
576,
16,
576,
16,
890,
16,
5342,
65,
9163,
4087,
338,
33,
92,
17014,
33,
22,
619,
33,
67,
75,
18,
1291,
94,
12,
92,
13,
14490,
33,
8526,
1323,
619,
34,
33,
16382,
30,
394,
92,
16,
5421,
33,
92,
18,
4479,
12,
16382,
13,
309,
1778,
30,
14490,
18,
14313,
3816,
474,
12,
16382,
13,
5772,
5421,
13,
619,
33,
2704,
92,
17014,
33,
67,
75,
18,
4285,
67,
16382,
12,
16382,
13,
364,
5578,
316,
14490,
30,
1815,
389,
75,
18,
291,
67,
16382,
12,
6812,
13,
628,
3726,
1930,
2
] |
|
events = kq.control(None, 4, 1)
|
time.sleep(1.0) else: self.fail('timeout waiting for event notifications')
|
def test_queue_event(self): serverSocket = socket.socket() serverSocket.bind(('127.0.0.1', 0)) serverSocket.listen(1) client = socket.socket() client.setblocking(False) try: client.connect(('127.0.0.1', serverSocket.getsockname()[1])) except socket.error, e: self.assertEquals(e.args[0], errno.EINPROGRESS) else: #raise AssertionError("Connect should have raised EINPROGRESS") pass # FreeBSD doesn't raise an exception here server, addr = serverSocket.accept()
|
775a8be88102188ef01c4375690d9c88def7559d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3187/775a8be88102188ef01c4375690d9c88def7559d/test_kqueue.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
4000,
67,
2575,
12,
2890,
4672,
1438,
4534,
273,
2987,
18,
7814,
1435,
1438,
4534,
18,
4376,
12,
2668,
14260,
18,
20,
18,
20,
18,
21,
2187,
374,
3719,
1438,
4534,
18,
18085,
12,
21,
13,
1004,
273,
2987,
18,
7814,
1435,
1004,
18,
542,
18926,
12,
8381,
13,
775,
30,
1004,
18,
3612,
12,
2668,
14260,
18,
20,
18,
20,
18,
21,
2187,
1438,
4534,
18,
14665,
975,
529,
1435,
63,
21,
22643,
1335,
2987,
18,
1636,
16,
425,
30,
365,
18,
11231,
8867,
12,
73,
18,
1968,
63,
20,
6487,
8402,
18,
41,
706,
24022,
13,
469,
30,
468,
11628,
12068,
2932,
5215,
1410,
1240,
11531,
512,
706,
24022,
7923,
1342,
468,
15217,
30780,
3302,
1404,
1002,
392,
1520,
2674,
1438,
16,
3091,
273,
1438,
4534,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
4000,
67,
2575,
12,
2890,
4672,
1438,
4534,
273,
2987,
18,
7814,
1435,
1438,
4534,
18,
4376,
12,
2668,
14260,
18,
20,
18,
20,
18,
21,
2187,
374,
3719,
1438,
4534,
18,
18085,
12,
21,
13,
1004,
273,
2987,
18,
7814,
1435,
1004,
18,
542,
18926,
12,
8381,
13,
775,
30,
1004,
18,
3612,
12,
2668,
14260,
18,
20,
18,
20,
18,
21,
2187,
1438,
4534,
18,
14665,
975,
529,
1435,
63,
21,
22643,
1335,
2987,
18,
1636,
16,
425,
30,
365,
18,
11231,
8867,
12,
73,
18,
1968,
63,
20,
6487,
8402,
18,
41,
706,
24022,
13,
469,
30,
468,
11628,
12068,
2932,
5215,
1410,
1240,
11531,
512,
706,
24022,
7923,
1342,
468,
15217,
30780,
2
] |
dlg.add_button (gtk.STOCK_OK, gtk.RESPONSE_OK)
|
dlg.add_button (gtk.STOCK_ADD, gtk.RESPONSE_OK)
|
def ProfileNameDialog (self): dlg = gtk.Dialog (_("Enter a profile name"), self.Main, gtk.DIALOG_MODAL) dlg.add_button (gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL) dlg.add_button (gtk.STOCK_OK, gtk.RESPONSE_OK) entry = gtk.Entry () label = gtk.Label (_("Please enter a name for the new profile:")) dlg.vbox.pack_start (label, False, False, 5) dlg.vbox.pack_start (entry, False, False, 5)
|
ed9d24f899beffe924ed61004b685bab0f54609a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1272/ed9d24f899beffe924ed61004b685bab0f54609a/Pages.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11357,
461,
6353,
261,
2890,
4672,
25840,
273,
22718,
18,
6353,
261,
67,
2932,
10237,
279,
3042,
508,
6,
3631,
365,
18,
6376,
16,
22718,
18,
2565,
18683,
67,
6720,
1013,
13,
25840,
18,
1289,
67,
5391,
261,
4521,
79,
18,
31487,
3507,
67,
25268,
16,
22718,
18,
14508,
67,
25268,
13,
25840,
18,
1289,
67,
5391,
261,
4521,
79,
18,
31487,
3507,
67,
8355,
16,
22718,
18,
14508,
67,
3141,
13,
225,
1241,
273,
22718,
18,
1622,
1832,
1433,
273,
22718,
18,
2224,
261,
67,
2932,
8496,
6103,
279,
508,
364,
326,
394,
3042,
2773,
3719,
25840,
18,
90,
2147,
18,
2920,
67,
1937,
261,
1925,
16,
1083,
16,
1083,
16,
1381,
13,
25840,
18,
90,
2147,
18,
2920,
67,
1937,
261,
4099,
16,
1083,
16,
1083,
16,
1381,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11357,
461,
6353,
261,
2890,
4672,
25840,
273,
22718,
18,
6353,
261,
67,
2932,
10237,
279,
3042,
508,
6,
3631,
365,
18,
6376,
16,
22718,
18,
2565,
18683,
67,
6720,
1013,
13,
25840,
18,
1289,
67,
5391,
261,
4521,
79,
18,
31487,
3507,
67,
25268,
16,
22718,
18,
14508,
67,
25268,
13,
25840,
18,
1289,
67,
5391,
261,
4521,
79,
18,
31487,
3507,
67,
8355,
16,
22718,
18,
14508,
67,
3141,
13,
225,
1241,
273,
22718,
18,
1622,
1832,
1433,
273,
22718,
18,
2224,
261,
67,
2932,
8496,
6103,
279,
508,
364,
326,
394,
3042,
2773,
3719,
25840,
18,
90,
2147,
18,
2920,
67,
1937,
261,
1925,
16,
1083,
16,
1083,
16,
1381,
13,
25840,
18,
90,
2147,
2
] |
def copytree(src, dst, symlinks=False):
|
def copytree(src, dst, symlinks=False, ignore_errors=False):
|
def copytree(src, dst, symlinks=False): """ Recursively copy a directory tree using copy2(). The destination directory must not already exist. If exception(s) occur, an Error is raised with a list of reasons. If the optional symlinks flag is true, symbolic links in the source tree result in symbolic links in the destination tree; if it is false, the contents of the files pointed to by symbolic links are copied. XXX Consider this example code rather than the ultimate tool. """ names = os.listdir(src) mkdir(dst) errors = [] for name in names: srcname = os.path.join(src, name) dstname = os.path.join(dst, name) try: if symlinks and os.path.islink(srcname): linkto = os.readlink(srcname) os.symlink(linkto, dstname) elif os.path.isdir(srcname): shutil.copytree(srcname, dstname, symlinks) else: shutil.copy2(srcname, dstname) # XXX What about devices, sockets etc.? except (IOError, os.error), why: errors.append((srcname, dstname, str(why))) # catch the Error from the recursive copytree so that we can # continue with other files except Error, err: errors.extend(err.args[0]) try: shutil.copystat(src, dst) except WindowsError: # can't copy file access times on Windows pass except OSError, why: errors.extend((src, dst, str(why))) if errors: raise Error, errors
|
98beff0cb86adf6e43634bc12feb49a48bc2a177 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/98beff0cb86adf6e43634bc12feb49a48bc2a177/builder.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1610,
3413,
12,
4816,
16,
3046,
16,
23146,
33,
8381,
16,
2305,
67,
4324,
33,
8381,
4672,
3536,
31362,
1610,
279,
1867,
2151,
1450,
1610,
22,
7675,
225,
1021,
2929,
1867,
1297,
486,
1818,
1005,
18,
971,
1520,
12,
87,
13,
3334,
16,
392,
1068,
353,
11531,
598,
279,
666,
434,
14000,
18,
225,
971,
326,
3129,
23146,
2982,
353,
638,
16,
16754,
4716,
316,
326,
1084,
2151,
563,
316,
16754,
4716,
316,
326,
2929,
2151,
31,
309,
518,
353,
629,
16,
326,
2939,
434,
326,
1390,
25874,
358,
635,
16754,
4716,
854,
9268,
18,
225,
11329,
23047,
333,
3454,
981,
9178,
2353,
326,
225,
406,
4988,
5226,
18,
225,
3536,
1257,
273,
1140,
18,
1098,
1214,
12,
4816,
13,
6535,
12,
11057,
13,
1334,
273,
5378,
364,
508,
316,
1257,
30,
1705,
529,
273,
1140,
18,
803,
18,
5701,
12,
4816,
16,
508,
13,
3046,
529,
273,
1140,
18,
803,
18,
5701,
12,
11057,
16,
508,
13,
775,
30,
309,
23146,
471,
1140,
18,
803,
18,
291,
1232,
12,
4816,
529,
4672,
1692,
869,
273,
1140,
18,
896,
1232,
12,
4816,
529,
13,
1140,
18,
21278,
12,
1232,
869,
16,
3046,
529,
13,
1327,
1140,
18,
803,
18,
291,
1214,
12,
4816,
529,
4672,
11060,
18,
3530,
3413,
12,
4816,
529,
16,
3046,
529,
16,
23146,
13,
469,
30,
11060,
18,
3530,
22,
12,
4816,
529,
16,
3046,
529,
13,
468,
11329,
18734,
2973,
7166,
16,
16762,
5527,
18,
35,
1335,
261,
4294,
668,
16,
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,
1610,
3413,
12,
4816,
16,
3046,
16,
23146,
33,
8381,
16,
2305,
67,
4324,
33,
8381,
4672,
3536,
31362,
1610,
279,
1867,
2151,
1450,
1610,
22,
7675,
225,
1021,
2929,
1867,
1297,
486,
1818,
1005,
18,
971,
1520,
12,
87,
13,
3334,
16,
392,
1068,
353,
11531,
598,
279,
666,
434,
14000,
18,
225,
971,
326,
3129,
23146,
2982,
353,
638,
16,
16754,
4716,
316,
326,
1084,
2151,
563,
316,
16754,
4716,
316,
326,
2929,
2151,
31,
309,
518,
353,
629,
16,
326,
2939,
434,
326,
1390,
25874,
358,
635,
16754,
4716,
854,
9268,
18,
225,
11329,
23047,
333,
3454,
981,
9178,
2353,
326,
225,
406,
4988,
5226,
18,
225,
3536,
1257,
273,
1140,
18,
1098,
1214,
12,
2
] |
'.ps': 'application/postscript',
|
'.pyo': 'application/x-python-code',
|
def read_mime_types(file): try: f = open(file) except IOError: return None map = {} while 1: line = f.readline() if not line: break words = line.split() for i in range(len(words)): if words[i][0] == '#': del words[i:] break if not words: continue type, suffixes = words[0], words[1:] for suff in suffixes: map['.'+suff] = type f.close() return map
|
1fc263487966080a23ac9cc7e3516b76781b94cd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/1fc263487966080a23ac9cc7e3516b76781b94cd/mimetypes.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
67,
11757,
67,
2352,
12,
768,
4672,
775,
30,
284,
273,
1696,
12,
768,
13,
1335,
8340,
30,
327,
599,
852,
273,
2618,
1323,
404,
30,
980,
273,
284,
18,
896,
1369,
1435,
309,
486,
980,
30,
898,
4511,
273,
980,
18,
4939,
1435,
364,
277,
316,
1048,
12,
1897,
12,
3753,
3719,
30,
309,
4511,
63,
77,
6362,
20,
65,
422,
2946,
4278,
1464,
4511,
63,
77,
26894,
898,
309,
486,
4511,
30,
1324,
618,
16,
18333,
273,
4511,
63,
20,
6487,
4511,
63,
21,
26894,
364,
272,
3809,
316,
18333,
30,
852,
3292,
1093,
15,
87,
3809,
65,
273,
618,
284,
18,
4412,
1435,
327,
852,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
67,
11757,
67,
2352,
12,
768,
4672,
775,
30,
284,
273,
1696,
12,
768,
13,
1335,
8340,
30,
327,
599,
852,
273,
2618,
1323,
404,
30,
980,
273,
284,
18,
896,
1369,
1435,
309,
486,
980,
30,
898,
4511,
273,
980,
18,
4939,
1435,
364,
277,
316,
1048,
12,
1897,
12,
3753,
3719,
30,
309,
4511,
63,
77,
6362,
20,
65,
422,
2946,
4278,
1464,
4511,
63,
77,
26894,
898,
309,
486,
4511,
30,
1324,
618,
16,
18333,
273,
4511,
63,
20,
6487,
4511,
63,
21,
26894,
364,
272,
3809,
316,
18333,
30,
852,
3292,
1093,
15,
87,
3809,
65,
273,
618,
284,
18,
4412,
1435,
327,
852,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
default = cgi.escape(param['default'])
|
default = cgi.escape(str(param['default']))
|
def tmpl_admin_print_format_element_documentation(self, ln, name, attributes, print_see_also=True): """ Prints the formatted documentation of a single element. Used in main documentation of element and in creation of floater for Dreamweaver.
|
3a21af5c478829dd68a80adb90e466bbc886533f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12027/3a21af5c478829dd68a80adb90e466bbc886533f/bibformat_templates.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10720,
67,
3666,
67,
1188,
67,
2139,
67,
2956,
67,
26941,
12,
2890,
16,
7211,
16,
508,
16,
1677,
16,
1172,
67,
5946,
67,
31144,
33,
5510,
4672,
3536,
3038,
87,
326,
4955,
7323,
434,
279,
2202,
930,
18,
10286,
316,
2774,
7323,
434,
930,
471,
316,
6710,
434,
1431,
264,
364,
463,
793,
1814,
21851,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10720,
67,
3666,
67,
1188,
67,
2139,
67,
2956,
67,
26941,
12,
2890,
16,
7211,
16,
508,
16,
1677,
16,
1172,
67,
5946,
67,
31144,
33,
5510,
4672,
3536,
3038,
87,
326,
4955,
7323,
434,
279,
2202,
930,
18,
10286,
316,
2774,
7323,
434,
930,
471,
316,
6710,
434,
1431,
264,
364,
463,
793,
1814,
21851,
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
] |
def test_prepare_diff(self):
|
def test_prepare(self):
|
def test_prepare_diff(self): self.assert_execute_outputs(Prepare(), [])
|
24409337ee759a1c310102dc6d13f0d2a852afcf /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/24409337ee759a1c310102dc6d13f0d2a852afcf/upload_unittest.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
9366,
12,
2890,
4672,
365,
18,
11231,
67,
8837,
67,
12295,
12,
7543,
9334,
5378,
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,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
9366,
12,
2890,
4672,
365,
18,
11231,
67,
8837,
67,
12295,
12,
7543,
9334,
5378,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self._x = e self._y = f
|
self._x0 = self._x = e self._y0 = self._y = f
|
def setTextTransform(self, a, b, c, d, e, f): "Like setTextOrigin, but does rotation, scaling etc." if not self._canvas.bottomup: c = -c #reverse bottom row of the 2D Transform d = -d self._code.append('%s Tm' % fp_str(a, b, c, d, e, f)) #we only measure coords relative to present text matrix self._x = e self._y = f
|
c8807bcce56d0da528e6e56ed9baa7e7f4382f44 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/c8807bcce56d0da528e6e56ed9baa7e7f4382f44/textobject.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
7883,
4059,
12,
2890,
16,
279,
16,
324,
16,
276,
16,
302,
16,
425,
16,
284,
4672,
315,
8804,
7883,
7571,
16,
1496,
1552,
6752,
16,
10612,
5527,
1199,
309,
486,
365,
6315,
15424,
18,
9176,
416,
30,
276,
273,
300,
71,
565,
468,
9845,
5469,
1027,
434,
326,
576,
40,
11514,
302,
273,
300,
72,
365,
6315,
710,
18,
6923,
29909,
87,
399,
81,
11,
738,
4253,
67,
701,
12,
69,
16,
324,
16,
276,
16,
302,
16,
425,
16,
284,
3719,
468,
1814,
1338,
6649,
6074,
3632,
358,
3430,
977,
3148,
365,
6315,
92,
273,
425,
365,
6315,
93,
273,
284,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
7883,
4059,
12,
2890,
16,
279,
16,
324,
16,
276,
16,
302,
16,
425,
16,
284,
4672,
315,
8804,
7883,
7571,
16,
1496,
1552,
6752,
16,
10612,
5527,
1199,
309,
486,
365,
6315,
15424,
18,
9176,
416,
30,
276,
273,
300,
71,
565,
468,
9845,
5469,
1027,
434,
326,
576,
40,
11514,
302,
273,
300,
72,
365,
6315,
710,
18,
6923,
29909,
87,
399,
81,
11,
738,
4253,
67,
701,
12,
69,
16,
324,
16,
276,
16,
302,
16,
425,
16,
284,
3719,
468,
1814,
1338,
6649,
6074,
3632,
358,
3430,
977,
3148,
365,
6315,
92,
273,
425,
365,
6315,
93,
273,
284,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
(?: _ | (`?) (?![ `]) (
|
( _ | (?P<quote>`?) (?![ `]) (?P<name>
|
def build_table_row(self, rowdata, tableline): row = nodes.row() for cell in rowdata: if cell is None: continue morerows, morecols, offset, cellblock = cell attributes = {} if morerows: attributes['morerows'] = morerows if morecols: attributes['morecols'] = morecols entry = nodes.entry(**attributes) row += entry if ''.join(cellblock): self.nested_parse(cellblock, input_offset=tableline+offset, node=entry) return row
|
9aa86b66cf632d24cd8412c352ecb461084727da /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1278/9aa86b66cf632d24cd8412c352ecb461084727da/states.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1361,
67,
2121,
67,
492,
12,
2890,
16,
1027,
892,
16,
3246,
80,
3027,
4672,
1027,
273,
2199,
18,
492,
1435,
364,
2484,
316,
1027,
892,
30,
309,
2484,
353,
599,
30,
1324,
312,
8922,
543,
87,
16,
1898,
6842,
16,
1384,
16,
2484,
2629,
273,
2484,
1677,
273,
2618,
309,
312,
8922,
543,
87,
30,
1677,
3292,
81,
8922,
543,
87,
3546,
273,
312,
8922,
543,
87,
309,
1898,
6842,
30,
1677,
3292,
10161,
6842,
3546,
273,
1898,
6842,
1241,
273,
2199,
18,
4099,
12,
636,
4350,
13,
1027,
1011,
1241,
309,
875,
18,
5701,
12,
3855,
2629,
4672,
365,
18,
12985,
67,
2670,
12,
3855,
2629,
16,
810,
67,
3348,
33,
7032,
80,
3027,
15,
3348,
16,
756,
33,
4099,
13,
327,
1027,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1361,
67,
2121,
67,
492,
12,
2890,
16,
1027,
892,
16,
3246,
80,
3027,
4672,
1027,
273,
2199,
18,
492,
1435,
364,
2484,
316,
1027,
892,
30,
309,
2484,
353,
599,
30,
1324,
312,
8922,
543,
87,
16,
1898,
6842,
16,
1384,
16,
2484,
2629,
273,
2484,
1677,
273,
2618,
309,
312,
8922,
543,
87,
30,
1677,
3292,
81,
8922,
543,
87,
3546,
273,
312,
8922,
543,
87,
309,
1898,
6842,
30,
1677,
3292,
10161,
6842,
3546,
273,
1898,
6842,
1241,
273,
2199,
18,
4099,
12,
636,
4350,
13,
1027,
1011,
1241,
309,
875,
18,
5701,
12,
3855,
2629,
4672,
365,
18,
12985,
67,
2670,
12,
3855,
2629,
16,
810,
67,
3348,
33,
7032,
80,
3027,
15,
3348,
2
] |
ah.update(bh)
|
ah.append([n for n in bh if n not in ah])
|
def warn(msg): self.ui.warn(_("%s, line %s: %s\n") % (fn, count, msg))
|
ad764463845d829f6853631904d2d7ea878fc7f4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11312/ad764463845d829f6853631904d2d7ea878fc7f4/localrepo.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1894,
12,
3576,
4672,
365,
18,
4881,
18,
8935,
24899,
27188,
87,
16,
980,
738,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1894,
12,
3576,
4672,
365,
18,
4881,
18,
8935,
24899,
27188,
87,
16,
980,
738,
87,
30,
738,
87,
64,
82,
7923,
738,
261,
4293,
16,
1056,
16,
1234,
3719,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
print to("Queuing: %s - %s" % (store["artist"], store["title"]))
|
log(to("Queuing: %s - %s" % (store["artist"], store["title"])))
|
def submit_song_helper(self): if self.__enabled: print "Plugin re-enabled - accepting new songs." if self.submission_tid != -1: gobject.source_remove(self.submission_tid); self.submission_tid = -1 else: print "Plugin disabled - not accepting any new songs." if len(self.queue) > 0: self.submission_tid = gobject.timeout_add(120 * 1000, self.submit_song_helper) print "Attempts will continue to submit the last %d songs." % len(self.queue)
|
6813e514c46661f83b0631485a195a56144fb77d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4764/6813e514c46661f83b0631485a195a56144fb77d/qlscrobbler.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4879,
67,
816,
75,
67,
4759,
12,
2890,
4672,
309,
365,
16186,
5745,
30,
1172,
315,
3773,
283,
17,
5745,
300,
25806,
394,
272,
7260,
1199,
309,
365,
18,
12684,
67,
18081,
480,
300,
21,
30,
314,
1612,
18,
3168,
67,
4479,
12,
2890,
18,
12684,
67,
18081,
1769,
365,
18,
12684,
67,
18081,
273,
300,
21,
469,
30,
1172,
315,
3773,
5673,
300,
486,
25806,
1281,
394,
272,
7260,
1199,
309,
562,
12,
2890,
18,
4000,
13,
405,
374,
30,
365,
18,
12684,
67,
18081,
273,
314,
1612,
18,
4538,
67,
1289,
12,
22343,
380,
4336,
16,
365,
18,
9297,
67,
816,
75,
67,
4759,
13,
1172,
315,
10113,
903,
1324,
358,
4879,
326,
1142,
738,
72,
272,
7260,
1199,
738,
562,
12,
2890,
18,
4000,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4879,
67,
816,
75,
67,
4759,
12,
2890,
4672,
309,
365,
16186,
5745,
30,
1172,
315,
3773,
283,
17,
5745,
300,
25806,
394,
272,
7260,
1199,
309,
365,
18,
12684,
67,
18081,
480,
300,
21,
30,
314,
1612,
18,
3168,
67,
4479,
12,
2890,
18,
12684,
67,
18081,
1769,
365,
18,
12684,
67,
18081,
273,
300,
21,
469,
30,
1172,
315,
3773,
5673,
300,
486,
25806,
1281,
394,
272,
7260,
1199,
309,
562,
12,
2890,
18,
4000,
13,
405,
374,
30,
365,
18,
12684,
67,
18081,
273,
314,
1612,
18,
4538,
67,
1289,
12,
22343,
380,
4336,
16,
365,
18,
9297,
67,
816,
75,
67,
4759,
13,
1172,
315,
10113,
903,
1324,
358,
4879,
326,
1142,
738,
72,
2
] |
gtk.Button.set_label (self.label)
|
gtk.Button.set_label (self, self.label)
|
def set_label (self, key = None, mods = None): if self.label: gtk.Button.set_label (self.label) return if key == None and mods == None: key = self.key mods = self.mods label = gtk.accelerator_name (key, mods) if not len (label): label = _("Disabled") gtk.Button.set_label (self, label)
|
5773218944e6a46040f4b9ec909716f428820344 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7183/5773218944e6a46040f4b9ec909716f428820344/Widgets.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
67,
1925,
261,
2890,
16,
498,
273,
599,
16,
15546,
273,
599,
4672,
309,
365,
18,
1925,
30,
22718,
18,
3616,
18,
542,
67,
1925,
261,
2890,
16,
365,
18,
1925,
13,
327,
309,
498,
422,
599,
471,
15546,
422,
599,
30,
498,
273,
365,
18,
856,
15546,
273,
365,
18,
22760,
1433,
273,
22718,
18,
30737,
7385,
67,
529,
261,
856,
16,
15546,
13,
309,
486,
562,
261,
1925,
4672,
1433,
273,
389,
2932,
8853,
7923,
22718,
18,
3616,
18,
542,
67,
1925,
261,
2890,
16,
1433,
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,
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|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
67,
1925,
261,
2890,
16,
498,
273,
599,
16,
15546,
273,
599,
4672,
309,
365,
18,
1925,
30,
22718,
18,
3616,
18,
542,
67,
1925,
261,
2890,
16,
365,
18,
1925,
13,
327,
309,
498,
422,
599,
471,
15546,
422,
599,
30,
498,
273,
365,
18,
856,
15546,
273,
365,
18,
22760,
1433,
273,
22718,
18,
30737,
7385,
67,
529,
261,
856,
16,
15546,
13,
309,
486,
562,
261,
1925,
4672,
1433,
273,
389,
2932,
8853,
7923,
22718,
18,
3616,
18,
542,
67,
1925,
261,
2890,
16,
1433,
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
] |
import core.system
|
import core.vistrail _UGLY_HACK = 0
|
def cleanup(): core.interpreter.cached.CachedInterpreter.cleanup()
|
14a90a50411f181568f948a58df92d2fb17d421b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6341/14a90a50411f181568f948a58df92d2fb17d421b/console_mode.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6686,
13332,
2922,
18,
2761,
11599,
18,
7097,
18,
9839,
30010,
18,
16732,
1435,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6686,
13332,
2922,
18,
2761,
11599,
18,
7097,
18,
9839,
30010,
18,
16732,
1435,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
for x in self.cartesian_product: yield self(*x)
|
""" EXAMPLES: sage: C = CrystalOfLetters(['A',2]) sage: T = TensorProductOfCrystals(C,C) sage: list(T.iterator()) [[1, 1], [1, 2], [1, 3], [2, 1], [2, 2], [2, 3], [3, 1], [3, 2], [3, 3]] sage: _[0].parent() Full tensor product of the crystals [The crystal of letters for type ['A', 2], The crystal of letters for type ['A', 2]] """ for x in self.cartesian_product: yield self(*x)
|
def iterator(self):
|
c5d941975d8524ea910254f690f372b2fde30bea /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/c5d941975d8524ea910254f690f372b2fde30bea/tensor_product.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2775,
12,
2890,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2775,
12,
2890,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
raise FormError, 'You have submitted a %s action for'\ ' the property "%s" which doesn\'t exist'%(mlaction, propname)
|
raise FormError, self._('You have submitted a %(action)s ' 'action for the property "%(property)s" ' 'which doesn\'t exist') % { 'action': mlaction, 'property':propname}
|
propdef = all_propdef[cn]
|
b7e0b3ed6412d17921124a07b91ee81dde8e7ed7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1906/b7e0b3ed6412d17921124a07b91ee81dde8e7ed7/form_parser.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2270,
536,
273,
777,
67,
5986,
536,
63,
10305,
65,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2270,
536,
273,
777,
67,
5986,
536,
63,
10305,
65,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
str += ' <DL><DT><B>Parameters:</B>\n'
|
str += ' <dl><dt><b>Parameters:</b></dt>\n'
|
def _func_details(self, functions, cls, heading='Function Details'): """## Return a detailed description of the functions in a class or module.""" functions = self._sort(functions) if len(functions) == 0: return '' str = self._table_header(heading, 'details')+'</TABLE>'
|
1b52b16120989cc834166571a9a1e9b8676d968f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/1b52b16120989cc834166571a9a1e9b8676d968f/html.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
644,
67,
6395,
12,
2890,
16,
4186,
16,
2028,
16,
11053,
2218,
2083,
21897,
11,
4672,
3536,
1189,
2000,
279,
6864,
2477,
434,
326,
4186,
316,
279,
667,
578,
1605,
12123,
4186,
273,
365,
6315,
3804,
12,
10722,
13,
309,
562,
12,
10722,
13,
422,
374,
30,
327,
875,
609,
273,
365,
6315,
2121,
67,
3374,
12,
19948,
16,
296,
6395,
6134,
6797,
1757,
7775,
1870,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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16,
4186,
16,
2028,
16,
11053,
2218,
2083,
21897,
11,
4672,
3536,
1189,
2000,
279,
6864,
2477,
434,
326,
4186,
316,
279,
667,
578,
1605,
12123,
4186,
273,
365,
6315,
3804,
12,
10722,
13,
309,
562,
12,
10722,
13,
422,
374,
30,
327,
875,
609,
273,
365,
6315,
2121,
67,
3374,
12,
19948,
16,
296,
6395,
6134,
6797,
1757,
7775,
1870,
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
] |
expect(f.read(1), 'a')
|
expect(f.read(1), b'a')
|
def expect(got_this, expect_this): if test_support.verbose: print('%r =?= %r ...' % (got_this, expect_this), end=' ') if got_this != expect_this: if test_support.verbose: print('no') raise test_support.TestFailed, 'got %r, but expected %r' %\ (got_this, expect_this) else: if test_support.verbose: print('yes')
|
6344d6c1d81593e2a7896fa9237ea294deb05218 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8125/6344d6c1d81593e2a7896fa9237ea294deb05218/test_largefile.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4489,
12,
13212,
67,
2211,
16,
4489,
67,
2211,
4672,
309,
1842,
67,
13261,
18,
11369,
30,
1172,
29909,
86,
273,
35,
33,
738,
86,
25956,
738,
261,
13212,
67,
2211,
16,
4489,
67,
2211,
3631,
679,
2218,
8624,
309,
2363,
67,
2211,
480,
4489,
67,
2211,
30,
309,
1842,
67,
13261,
18,
11369,
30,
1172,
2668,
2135,
6134,
1002,
1842,
67,
13261,
18,
4709,
2925,
16,
296,
13212,
738,
86,
16,
1496,
2665,
738,
86,
11,
738,
64,
261,
13212,
67,
2211,
16,
4489,
67,
2211,
13,
469,
30,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4489,
12,
13212,
67,
2211,
16,
4489,
67,
2211,
4672,
309,
1842,
67,
13261,
18,
11369,
30,
1172,
29909,
86,
273,
35,
33,
738,
86,
25956,
738,
261,
13212,
67,
2211,
16,
4489,
67,
2211,
3631,
679,
2218,
8624,
309,
2363,
67,
2211,
480,
4489,
67,
2211,
30,
309,
1842,
67,
13261,
18,
11369,
30,
1172,
2668,
2135,
6134,
1002,
1842,
67,
13261,
18,
4709,
2925,
16,
296,
13212,
738,
86,
16,
1496,
2665,
738,
86,
11,
738,
64,
261,
13212,
67,
2211,
16,
4489,
67,
2211,
13,
469,
30,
309,
1842,
67,
13261,
18,
11369,
30,
1172,
2668,
9707,
6134,
282,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
binary not in self.binaries[suite][arch][0] and \
|
binary not in self.binaries[suite][parch][0] and \
|
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
|
b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
556,
67,
3168,
12,
2890,
16,
3475,
4672,
3536,
7001,
279,
2549,
358,
326,
7769,
7006,
487,
3764,
635,
1375,
10657,
68,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
556,
67,
3168,
12,
2890,
16,
3475,
4672,
3536,
7001,
279,
2549,
358,
326,
7769,
7006,
487,
3764,
635,
1375,
10657,
68,
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
] |
except AttributeError:
|
except:
|
def height(self, precision=None): """ The Neron-Tate canonical height of the point.
|
5225286d386445a5ca0cebf5b317c2e6c240fb95 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/5225286d386445a5ca0cebf5b317c2e6c240fb95/ell_point.py
|
[
1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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2072,
12,
2890,
16,
6039,
33,
7036,
4672,
3536,
1021,
423,
264,
265,
17,
56,
340,
7378,
2072,
434,
326,
1634,
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.queue.append(item) self.queueSem.release()
|
self.pool.queue.append(item) self.pool.queueSem.release() self.pool.running = False
|
def run(self): """Thread-safe queue management, to feed items into download() and enqueue children. """ while True: self.queueSem.acquire() if len(self.queue) <= 0: self.queueSem.release() break queueItem = self.queue.pop() self.queueSem.release() newItems = self.download(queueItem) if newItems: self.queueSem.acquire() for item in newItems: self.queue.append(item) self.queueSem.release()
|
8b8cb24e56a503e1911722dbae68cb7469a4a3a5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/454/8b8cb24e56a503e1911722dbae68cb7469a4a3a5/MiniSVN.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
12,
2890,
4672,
3536,
3830,
17,
4626,
2389,
11803,
16,
358,
4746,
1516,
1368,
4224,
1435,
471,
12850,
2325,
18,
3536,
1323,
1053,
30,
365,
18,
4000,
13185,
18,
1077,
1039,
1435,
309,
562,
12,
2890,
18,
4000,
13,
1648,
374,
30,
365,
18,
4000,
13185,
18,
9340,
1435,
898,
2389,
1180,
273,
365,
18,
4000,
18,
5120,
1435,
365,
18,
4000,
13185,
18,
9340,
1435,
394,
3126,
273,
365,
18,
7813,
12,
4000,
1180,
13,
309,
394,
3126,
30,
365,
18,
4000,
13185,
18,
1077,
1039,
1435,
364,
761,
316,
394,
3126,
30,
365,
18,
4000,
18,
6923,
12,
1726,
13,
365,
18,
4000,
13185,
18,
9340,
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,
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,
13185,
18,
1077,
1039,
1435,
309,
562,
12,
2890,
18,
4000,
13,
1648,
374,
30,
365,
18,
4000,
13185,
18,
9340,
1435,
898,
2389,
1180,
273,
365,
18,
4000,
18,
5120,
1435,
365,
18,
4000,
13185,
18,
9340,
1435,
394,
3126,
273,
365,
18,
7813,
12,
4000,
1180,
13,
309,
394,
3126,
30,
365,
18,
4000,
13185,
18,
1077,
1039,
1435,
364,
761,
316,
394,
3126,
30,
365,
18,
4000,
18,
6923,
12,
1726,
13,
365,
18,
4000,
13185,
18,
9340,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
pos = scaledBasePoint
|
pos = arrowBasePoint
|
def drawDirectionArrow(color, tailPoint, arrowBasePoint, tailRadius, scale, flipDirection = False, opacity = 1.0, numberOfSides = 20 ): """ Draw a directional arrow staring at <tailPoint> with an endpoint decided by the vector between <arrowBasePoint> and <tailPoint> and the glpane scale <scale> @param color : The arrow color @type color: Array @param tailPoint: The point on the arrow tail where the arrow begins. @type tailPoint: V @param arrowBasePoint: A point on the arrow where the arrow head begins(?? @type arrowBasePoint: V @param tailRadius: The radius of the arrow tail (cylinder radius representing the arrow tail) @type tailRaius: float @param opacity: The opacity decides the opacity (or transparent display) of the rendered arrow. By default it is rendered as a solid arrow. It varies between 0.0 to 1.0 ... 1.0 represents the solid arrow renderring style @type opacity: float @param numberOfSides: The total number of sides for the arrow head (a glePolycone) The default value if 20 (20 sided polycone) @type numberOfSides: int """ vec = arrowBasePoint - tailPoint vec = scale*0.07*vec arrowBase = tailRadius*3.0 arrowHeight = arrowBase*1.5 axis = norm(vec) scaledBasePoint = tailPoint + vlen(vec)*axis drawcylinder(color, tailPoint, arrowBasePoint, tailRadius, capped = True, opacity = opacity) pos = scaledBasePoint arrowRadius = arrowBase gleSetNumSides(numberOfSides) drawpolycone(color, [[pos[0] - 1 * axis[0], pos[1] - 1 * axis[1], pos[2] - 1 * axis[2]], [pos[0],# - axis[0], pos[1], #- axis[1], pos[2]], #- axis[2]], [pos[0] + arrowHeight * axis[0], pos[1] + arrowHeight * axis[1], pos[2] + arrowHeight * axis[2]], [pos[0] + (arrowHeight + 1) * axis[0], pos[1] + (arrowHeight + 1) * axis[1], pos[2] + (arrowHeight + 1) * axis[2]]], # Point array (the two end # points not drawn) [arrowRadius, arrowRadius, 0, 0], # Radius array opacity = opacity ) #reset the gle number of sides to the gle default of '20' gleSetNumSides(20)
|
d5ae1f731a88b51f2cdeb9cf3873bd9dee88c6e5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/d5ae1f731a88b51f2cdeb9cf3873bd9dee88c6e5/drawer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3724,
8212,
18691,
12,
3266,
16,
5798,
2148,
16,
12274,
2171,
2148,
16,
5798,
10196,
16,
3159,
16,
9668,
8212,
273,
1083,
16,
12636,
273,
404,
18,
20,
16,
7922,
55,
4369,
273,
4200,
262,
30,
3536,
10184,
279,
4068,
287,
12274,
384,
5968,
622,
411,
13101,
2148,
34,
598,
392,
2494,
2109,
13898,
635,
326,
3806,
3086,
411,
7815,
2171,
2148,
34,
471,
411,
13101,
2148,
34,
471,
326,
5118,
29009,
3159,
411,
5864,
34,
632,
891,
2036,
294,
1021,
12274,
2036,
632,
723,
225,
2036,
30,
1510,
632,
891,
5798,
2148,
30,
1021,
1634,
603,
326,
12274,
5798,
1625,
326,
12274,
17874,
18,
632,
723,
282,
5798,
2148,
30,
776,
632,
891,
12274,
2171,
2148,
30,
432,
1634,
603,
326,
12274,
1625,
326,
12274,
910,
17874,
3680,
35,
632,
723,
225,
12274,
2171,
2148,
30,
776,
632,
891,
5798,
10196,
30,
1021,
5725,
434,
326,
12274,
5798,
261,
2431,
80,
14055,
5725,
5123,
326,
12274,
5798,
13,
632,
723,
225,
5798,
12649,
8384,
30,
1431,
632,
891,
12636,
30,
1021,
12636,
2109,
4369,
326,
12636,
261,
280,
17270,
2562,
13,
434,
326,
7935,
12274,
18,
2525,
805,
518,
353,
7935,
487,
279,
18035,
12274,
18,
2597,
569,
606,
3086,
374,
18,
20,
358,
404,
18,
20,
1372,
404,
18,
20,
8686,
326,
18035,
12274,
1654,
72,
20245,
2154,
632,
723,
12636,
30,
1431,
632,
891,
7922,
55,
4369,
30,
1021,
2078,
1300,
434,
22423,
364,
326,
12274,
910,
261,
69,
314,
298,
12487,
71,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3724,
8212,
18691,
12,
3266,
16,
5798,
2148,
16,
12274,
2171,
2148,
16,
5798,
10196,
16,
3159,
16,
9668,
8212,
273,
1083,
16,
12636,
273,
404,
18,
20,
16,
7922,
55,
4369,
273,
4200,
262,
30,
3536,
10184,
279,
4068,
287,
12274,
384,
5968,
622,
411,
13101,
2148,
34,
598,
392,
2494,
2109,
13898,
635,
326,
3806,
3086,
411,
7815,
2171,
2148,
34,
471,
411,
13101,
2148,
34,
471,
326,
5118,
29009,
3159,
411,
5864,
34,
632,
891,
2036,
294,
1021,
12274,
2036,
632,
723,
225,
2036,
30,
1510,
632,
891,
5798,
2148,
30,
1021,
1634,
603,
326,
12274,
5798,
1625,
326,
12274,
17874,
18,
632,
723,
282,
5798,
2148,
30,
776,
632,
891,
12274,
2171,
2148,
30,
2
] |
print line elif line in ('PyObject_HEAD','PyObject_VAR_HEAD','_PyTZINFO_HEAD', '_PyDateTime_TIMEHEAD','_PyDateTime_DATETIMEHEAD'):
|
print >> sys.stderr, line elif line == 'PyObject_HEAD':
|
def parse_filetext(filetext): for struct in structsRe.findall(filetext): body,name = struct print "NAME", name startComment = body.find("/*") while startComment >= 0: #strip multiline comments endComment = body.find("*/",startComment) + 2 body = body[:startComment] + body[endComment:] startComment = body.find("/*") lines = body.split("\n") for line in lines: line = line.strip() if line.startswith("#"): print >> sys.stderr, "PREPROCESSOR DIRECTIVE" print line elif line in ('PyObject_HEAD','PyObject_VAR_HEAD','_PyTZINFO_HEAD', '_PyDateTime_TIMEHEAD','_PyDateTime_DATETIMEHEAD'): print >> sys.stderr, "HEADER" , line elif line: typeof,rest = typeofRe.match(line).groups() print >> sys.stderr, "TYPE", typeof vars = variablesRe.findall(rest) vars.reverse() while vars: var = vars.pop() if var == '*': var = vars.pop() print >> sys.stderr, "POINTER", var else: print >> sys.stderr, "normal", var
|
1c4cf2f864bd37e8534406b57db8c8e2b94d0114 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11637/1c4cf2f864bd37e8534406b57db8c8e2b94d0114/makeStructs.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
67,
7540,
27830,
12,
7540,
27830,
4672,
364,
1958,
316,
8179,
426,
18,
4720,
454,
12,
7540,
27830,
4672,
1417,
16,
529,
273,
1958,
1172,
315,
1985,
3113,
508,
225,
787,
4469,
273,
1417,
18,
4720,
2932,
19,
7388,
13,
1323,
787,
4469,
1545,
374,
30,
468,
6406,
19431,
5678,
679,
4469,
273,
1417,
18,
4720,
2932,
5549,
3113,
1937,
4469,
13,
397,
576,
1417,
273,
1417,
10531,
1937,
4469,
65,
397,
1417,
63,
409,
4469,
26894,
787,
4469,
273,
1417,
18,
4720,
2932,
19,
7388,
13,
225,
2362,
273,
1417,
18,
4939,
31458,
82,
7923,
364,
980,
316,
2362,
30,
980,
273,
980,
18,
6406,
1435,
309,
980,
18,
17514,
1918,
2932,
17133,
4672,
1172,
1671,
2589,
18,
11241,
16,
315,
3670,
16560,
916,
29100,
5354,
6,
1172,
1671,
2589,
18,
11241,
16,
980,
1327,
980,
422,
296,
9413,
921,
67,
12458,
4278,
1172,
1671,
2589,
18,
11241,
16,
315,
7557,
6,
269,
980,
1327,
980,
30,
2716,
16,
8792,
273,
2716,
426,
18,
1916,
12,
1369,
2934,
4650,
1435,
1172,
1671,
2589,
18,
11241,
16,
315,
2399,
3113,
2716,
4153,
273,
3152,
426,
18,
4720,
454,
12,
8792,
13,
4153,
18,
9845,
1435,
1323,
4153,
30,
569,
273,
4153,
18,
5120,
1435,
309,
569,
422,
5306,
30,
569,
273,
4153,
18,
5120,
1435,
1172,
1671,
2589,
18,
11241,
16,
315,
2419,
9125,
3113,
569,
469,
30,
1172,
1671,
2589,
18,
11241,
16,
315,
6130,
3113,
569,
225,
2,
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,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
67,
7540,
27830,
12,
7540,
27830,
4672,
364,
1958,
316,
8179,
426,
18,
4720,
454,
12,
7540,
27830,
4672,
1417,
16,
529,
273,
1958,
1172,
315,
1985,
3113,
508,
225,
787,
4469,
273,
1417,
18,
4720,
2932,
19,
7388,
13,
1323,
787,
4469,
1545,
374,
30,
468,
6406,
19431,
5678,
679,
4469,
273,
1417,
18,
4720,
2932,
5549,
3113,
1937,
4469,
13,
397,
576,
1417,
273,
1417,
10531,
1937,
4469,
65,
397,
1417,
63,
409,
4469,
26894,
787,
4469,
273,
1417,
18,
4720,
2932,
19,
7388,
13,
225,
2362,
273,
1417,
18,
4939,
31458,
82,
7923,
364,
980,
316,
2362,
30,
980,
273,
980,
18,
6406,
1435,
309,
980,
18,
17514,
1918,
2932,
17133,
4672,
1172,
1671,
2
] |
if elem.tag in ('RGB','CMYK','Lab','Gray','CMY','XYZ','YIQ'):
|
if elem.tag in ('RGB','CMYK','Lab','Gray','CMY','XYZ','YIQ','HSL','HSV','RGBa','PC6'):
|
def readitem(parent,item): if item.tag == 'group': bitem = Group() for elem in item: if elem.tag in ('group','color'): sbxml.readitem(bitem,elem) elif elem.tag in ('name','description'): if elem.tag not in bitem.info: bitem.info[elem.tag] = {} if 'lang' in elem.attrib: bitem.info[elem.tag][elem.attrib['lang']] = elem.text else: bitem.info[elem.tag][0] = elem.text elif item.tag == 'color': bitem = Color() if 'spot' in item.attrib and item.attrib['spot'] == '1': bitem.attr.append('spot') for elem in item: if elem.tag in ('RGB','CMYK','Lab','Gray','CMY','XYZ','YIQ'): values = elem.text.split() for i in range(len(values)): values[i] = eval(values[i]) if 'space' in elem.attrib: bitem.values[(elem.tag,elem.attrib['space'])] = values else: bitem.values[elem.tag] = values elif elem.tag in ('name','description','copyright'): if elem.tag not in bitem.info: bitem.info[elem.tag] = {} if 'lang' in elem.attrib: bitem.info[elem.tag][elem.attrib['lang']] = elem.text else: bitem.info[elem.tag][0] = elem.text elif item.tag == 'spacer': bitem = Spacer() parent.items.append(bitem)
|
e6182105e87ecda93b2b58ee05d590535c004246 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9936/e6182105e87ecda93b2b58ee05d590535c004246/codecs.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
1726,
12,
2938,
16,
1726,
4672,
309,
761,
18,
2692,
422,
296,
1655,
4278,
324,
1726,
273,
3756,
1435,
364,
3659,
316,
761,
30,
309,
3659,
18,
2692,
316,
7707,
1655,
17023,
3266,
11,
4672,
2393,
2902,
18,
896,
1726,
12,
70,
1726,
16,
10037,
13,
1327,
3659,
18,
2692,
316,
7707,
529,
17023,
3384,
11,
4672,
309,
3659,
18,
2692,
486,
316,
324,
1726,
18,
1376,
30,
324,
1726,
18,
1376,
63,
10037,
18,
2692,
65,
273,
2618,
309,
296,
4936,
11,
316,
3659,
18,
14588,
30,
324,
1726,
18,
1376,
63,
10037,
18,
2692,
6362,
10037,
18,
14588,
3292,
4936,
3546,
65,
273,
3659,
18,
955,
469,
30,
324,
1726,
18,
1376,
63,
10037,
18,
2692,
6362,
20,
65,
273,
3659,
18,
955,
1327,
761,
18,
2692,
422,
296,
3266,
4278,
324,
1726,
273,
5563,
1435,
309,
296,
19032,
11,
316,
761,
18,
14588,
471,
761,
18,
14588,
3292,
19032,
3546,
422,
296,
21,
4278,
324,
1726,
18,
1747,
18,
6923,
2668,
19032,
6134,
364,
3659,
316,
761,
30,
309,
3659,
18,
2692,
316,
7707,
11343,
17023,
9611,
61,
47,
17023,
14506,
17023,
23521,
17023,
9611,
61,
17023,
23479,
17023,
61,
45,
53,
17023,
44,
4559,
17023,
13173,
58,
17023,
11343,
69,
17023,
3513,
26,
11,
4672,
924,
273,
3659,
18,
955,
18,
4939,
1435,
364,
277,
316,
1048,
12,
1897,
12,
2372,
3719,
30,
924,
63,
77,
65,
273,
5302,
12,
2372,
63,
77,
5717,
309,
296,
2981,
11,
316,
3659,
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,
855,
1726,
12,
2938,
16,
1726,
4672,
309,
761,
18,
2692,
422,
296,
1655,
4278,
324,
1726,
273,
3756,
1435,
364,
3659,
316,
761,
30,
309,
3659,
18,
2692,
316,
7707,
1655,
17023,
3266,
11,
4672,
2393,
2902,
18,
896,
1726,
12,
70,
1726,
16,
10037,
13,
1327,
3659,
18,
2692,
316,
7707,
529,
17023,
3384,
11,
4672,
309,
3659,
18,
2692,
486,
316,
324,
1726,
18,
1376,
30,
324,
1726,
18,
1376,
63,
10037,
18,
2692,
65,
273,
2618,
309,
296,
4936,
11,
316,
3659,
18,
14588,
30,
324,
1726,
18,
1376,
63,
10037,
18,
2692,
6362,
10037,
18,
14588,
3292,
4936,
3546,
65,
273,
3659,
18,
955,
469,
30,
324,
1726,
18,
1376,
63,
10037,
18,
2
] |
model = g.TreeStore(gobject.TYPE_STRING, g.Widget.__gtype__)
|
model = g.TreeStore(gobject.TYPE_STRING, gobject.TYPE_INT)
|
def build_window_frame(self): "Create the main structure of the window." hbox = g.HBox(FALSE, 4) self.vbox.pack_start(hbox, TRUE, TRUE, 0)
|
9a54743e6b78e61343dedb7055a797ed3f51e8b1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4591/9a54743e6b78e61343dedb7055a797ed3f51e8b1/OptionsBox.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1361,
67,
5668,
67,
3789,
12,
2890,
4672,
315,
1684,
326,
2774,
3695,
434,
326,
2742,
1199,
366,
2147,
273,
314,
18,
44,
3514,
12,
21053,
16,
1059,
13,
365,
18,
90,
2147,
18,
2920,
67,
1937,
12,
76,
2147,
16,
5383,
16,
5383,
16,
374,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1361,
67,
5668,
67,
3789,
12,
2890,
4672,
315,
1684,
326,
2774,
3695,
434,
326,
2742,
1199,
366,
2147,
273,
314,
18,
44,
3514,
12,
21053,
16,
1059,
13,
365,
18,
90,
2147,
18,
2920,
67,
1937,
12,
76,
2147,
16,
5383,
16,
5383,
16,
374,
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
] |
implement this functionality
|
implement this functionality.
|
def gens(self): """ Placeholder function to return generators of an elliptic curve: derived classes such as EllipticCurve_rational_field implement this functionality
|
09e345b25236d5bd15eecd86cc093a836e7ba6db /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/09e345b25236d5bd15eecd86cc093a836e7ba6db/ell_generic.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
314,
773,
12,
2890,
4672,
3536,
13022,
4505,
445,
358,
327,
13327,
434,
392,
415,
549,
21507,
8882,
30,
10379,
3318,
4123,
487,
10426,
549,
21507,
9423,
67,
7034,
287,
67,
1518,
2348,
333,
14176,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
314,
773,
12,
2890,
4672,
3536,
13022,
4505,
445,
358,
327,
13327,
434,
392,
415,
549,
21507,
8882,
30,
10379,
3318,
4123,
487,
10426,
549,
21507,
9423,
67,
7034,
287,
67,
1518,
2348,
333,
14176,
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
] |
def fields_view_get(self, cr, uid, view_id=None, view_type='form',
|
def fields_view_get(self, cr, uid, view_id=None, view_type='form',
|
def view_init(self, cr, uid, fields_list, context=None): """ Creates view dynamically and adding fields at runtime. @param self: The object pointer. @param cr: A database cursor @param uid: ID of the user currently logged in @param context: A standard dictionary @return: New arch of view with new columns. """ res = super(stock_return_picking, self).view_init(cr, uid, fields_list, context=context) record_id = context and context.get('active_id', False) if record_id: pick_obj = self.pool.get('stock.picking') pick = pick_obj.browse(cr, uid, record_id) if pick.state not in ['done','confirmed','assigned']: raise osv.except_osv(_('Warning !'), _("You may only return pickings that are Confirmed, Available or Done!")) return_history = {} valid_lines = 0 for m in [line for line in pick.move_lines]: if m.state == 'done': return_history[m.id] = 0 for rec in m.move_history_ids2: return_history[m.id] += (rec.product_qty * rec.product_uom.factor) if m.product_qty * m.product_uom.factor > return_history[m.id]: valid_lines += 1 if 'return%s'%(m.id) not in self._columns: self._columns['return%s'%(m.id)] = fields.float(string=m.name, required=True) if 'invoice_state' not in self._columns: self._columns['invoice_state'] = fields.selection([('2binvoiced', 'To be refunded/invoiced'), ('none', 'No invoicing')], string='Invoicing', required=True) if not valid_lines: raise osv.except_osv(_('Warning !'), _("There are no products to return (only lines in Done state and not fully returned yet can be returned)!")) return res
|
efa0acb9cd92500502f3689f3efb3b43430de046 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/efa0acb9cd92500502f3689f3efb3b43430de046/stock_return_picking.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1476,
67,
2738,
12,
2890,
16,
4422,
16,
4555,
16,
1466,
67,
1098,
16,
819,
33,
7036,
4672,
3536,
10210,
1476,
18373,
471,
6534,
1466,
622,
3099,
18,
632,
891,
365,
30,
1021,
733,
4407,
18,
632,
891,
4422,
30,
432,
2063,
3347,
632,
891,
4555,
30,
1599,
434,
326,
729,
4551,
7545,
316,
632,
891,
819,
30,
432,
4529,
3880,
632,
2463,
30,
1166,
6637,
434,
1476,
598,
394,
2168,
18,
3536,
400,
273,
2240,
12,
15381,
67,
2463,
67,
11503,
310,
16,
365,
2934,
1945,
67,
2738,
12,
3353,
16,
4555,
16,
1466,
67,
1098,
16,
819,
33,
2472,
13,
1409,
67,
350,
273,
819,
471,
819,
18,
588,
2668,
3535,
67,
350,
2187,
1083,
13,
309,
1409,
67,
350,
30,
6002,
67,
2603,
273,
365,
18,
6011,
18,
588,
2668,
15381,
18,
11503,
310,
6134,
6002,
273,
6002,
67,
2603,
18,
25731,
12,
3353,
16,
4555,
16,
1409,
67,
350,
13,
309,
6002,
18,
2019,
486,
316,
10228,
8734,
17023,
21606,
17023,
15938,
3546,
30,
1002,
1140,
90,
18,
14137,
67,
538,
90,
24899,
2668,
6210,
401,
19899,
389,
2932,
6225,
2026,
1338,
327,
6002,
899,
716,
854,
9675,
11222,
16,
15633,
578,
8677,
4442,
3719,
327,
67,
8189,
273,
2618,
923,
67,
3548,
273,
374,
364,
312,
316,
306,
1369,
364,
980,
316,
6002,
18,
8501,
67,
3548,
14542,
309,
312,
18,
2019,
422,
296,
8734,
4278,
327,
67,
8189,
63,
81,
18,
350,
65,
273,
374,
364,
1950,
316,
312,
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,
1476,
67,
2738,
12,
2890,
16,
4422,
16,
4555,
16,
1466,
67,
1098,
16,
819,
33,
7036,
4672,
3536,
10210,
1476,
18373,
471,
6534,
1466,
622,
3099,
18,
632,
891,
365,
30,
1021,
733,
4407,
18,
632,
891,
4422,
30,
432,
2063,
3347,
632,
891,
4555,
30,
1599,
434,
326,
729,
4551,
7545,
316,
632,
891,
819,
30,
432,
4529,
3880,
632,
2463,
30,
1166,
6637,
434,
1476,
598,
394,
2168,
18,
3536,
400,
273,
2240,
12,
15381,
67,
2463,
67,
11503,
310,
16,
365,
2934,
1945,
67,
2738,
12,
3353,
16,
4555,
16,
1466,
67,
1098,
16,
819,
33,
2472,
13,
1409,
67,
350,
273,
819,
471,
819,
18,
588,
2668,
3535,
67,
350,
2187,
1083,
13,
2
] |
clevel = None
|
def get_outline(source): last_start = 0 last_line = 1 cpath = (None,) cname = None clevel = None for match in matcher.finditer(source): last_line = last_line + source.count('\n', last_start, match.start()) last_start = match.start() level, name = match.group('level', 'name') level = len(level) if clevel is None or level < clevel: cpath = cpath[:-1] elif level > clevel: cpath += (cname,) yield cpath, name, last_line clevel = level cname = name
|
0638edeac7762d759a398fa42eca3f90189a0e56 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14800/0638edeac7762d759a398fa42eca3f90189a0e56/outline.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
25134,
12,
3168,
4672,
1142,
67,
1937,
273,
374,
1142,
67,
1369,
273,
404,
276,
803,
273,
261,
7036,
16,
13,
18290,
273,
599,
364,
845,
316,
4546,
18,
4720,
2165,
12,
3168,
4672,
1142,
67,
1369,
273,
1142,
67,
1369,
397,
1084,
18,
1883,
2668,
64,
82,
2187,
1142,
67,
1937,
16,
845,
18,
1937,
10756,
1142,
67,
1937,
273,
845,
18,
1937,
1435,
225,
1801,
16,
508,
273,
845,
18,
1655,
2668,
2815,
2187,
296,
529,
6134,
1801,
273,
562,
12,
2815,
13,
225,
309,
1619,
941,
353,
599,
578,
1801,
411,
1619,
941,
30,
276,
803,
273,
276,
803,
10531,
17,
21,
65,
1327,
1801,
405,
1619,
941,
30,
276,
803,
1011,
261,
71,
529,
16,
13,
225,
2824,
276,
803,
16,
508,
16,
1142,
67,
1369,
225,
1619,
941,
273,
1801,
18290,
273,
508,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
4672,
1142,
67,
1369,
273,
1142,
67,
1369,
397,
1084,
18,
1883,
2668,
64,
82,
2187,
1142,
67,
1937,
16,
845,
18,
1937,
10756,
1142,
67,
1937,
273,
845,
18,
1937,
1435,
225,
1801,
16,
508,
273,
845,
18,
1655,
2668,
2815,
2187,
296,
529,
6134,
1801,
273,
562,
12,
2815,
13,
225,
309,
1619,
941,
353,
599,
578,
1801,
411,
1619,
941,
30,
276,
803,
273,
276,
803,
10531,
17,
21,
65,
1327,
1801,
405,
1619,
941,
30,
276,
803,
1011,
261,
2
] |
|
'AND month_id IN %s ',(parent_ids, month_ids,))
|
'AND month_id IN %s ',(parent_ids, tuple(month_ids),))
|
def _unit_amount(self, cr, uid, ids, name, arg, context=None): res = {} account_obj = self.pool.get('account.analytic.account') account_ids = [int(str(int(x))[:-6]) for x in ids] month_ids = [int(str(int(x))[-6:]) for x in ids] parent_ids = tuple(self.search(cr, uid, [('parent_id', 'child_of', account_ids)])) if parent_ids: cr.execute('SELECT id, unit_amount ' \ 'FROM account_analytic_analysis_summary_month ' \ 'WHERE account_id IN %s ' \ 'AND month_id IN %s ',(parent_ids, month_ids,)) for sum_id, unit_amount in cr.fetchall(): res[sum_id] = unit_amount for obj_id in ids: res.setdefault(obj_id, 0.0) for child_id in account_obj.search(cr, uid, [('parent_id', 'child_of', [int(str(int(obj_id))[:-6])])]): if child_id != int(str(int(obj_id))[:-6]): res[obj_id] += res.get(int(child_id * 1000000 + int(str(int(obj_id))[-6:])), 0.0) for id in ids: res[id] = round(res.get(id, 0.0), 2) return res
|
a0e414ad08d1b9ac704dc1cb18dc7a500bcf9123 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8241/a0e414ad08d1b9ac704dc1cb18dc7a500bcf9123/account_analytic_analysis.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4873,
67,
8949,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
508,
16,
1501,
16,
819,
33,
7036,
4672,
400,
273,
2618,
2236,
67,
2603,
273,
365,
18,
6011,
18,
588,
2668,
4631,
18,
304,
7834,
335,
18,
4631,
6134,
2236,
67,
2232,
273,
306,
474,
12,
701,
12,
474,
12,
92,
3719,
10531,
17,
26,
5717,
364,
619,
316,
3258,
65,
3138,
67,
2232,
273,
306,
474,
12,
701,
12,
474,
12,
92,
3719,
18919,
26,
30,
5717,
364,
619,
316,
3258,
65,
982,
67,
2232,
273,
3193,
12,
2890,
18,
3072,
12,
3353,
16,
4555,
16,
306,
2668,
2938,
67,
350,
2187,
296,
3624,
67,
792,
2187,
2236,
67,
2232,
13,
22643,
309,
982,
67,
2232,
30,
4422,
18,
8837,
2668,
4803,
612,
16,
2836,
67,
8949,
296,
521,
296,
11249,
2236,
67,
304,
7834,
335,
67,
12746,
67,
7687,
67,
7496,
296,
521,
296,
12299,
2236,
67,
350,
2120,
738,
87,
296,
521,
296,
4307,
3138,
67,
350,
2120,
738,
87,
2265,
12,
2938,
67,
2232,
16,
3193,
12,
7496,
67,
2232,
3631,
3719,
364,
2142,
67,
350,
16,
2836,
67,
8949,
316,
4422,
18,
5754,
454,
13332,
400,
63,
1364,
67,
350,
65,
273,
2836,
67,
8949,
364,
1081,
67,
350,
316,
3258,
30,
400,
18,
542,
1886,
12,
2603,
67,
350,
16,
374,
18,
20,
13,
364,
1151,
67,
350,
316,
2236,
67,
2603,
18,
3072,
12,
3353,
16,
4555,
16,
306,
2668,
2938,
67,
350,
2187,
296,
3624,
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,
4873,
67,
8949,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
508,
16,
1501,
16,
819,
33,
7036,
4672,
400,
273,
2618,
2236,
67,
2603,
273,
365,
18,
6011,
18,
588,
2668,
4631,
18,
304,
7834,
335,
18,
4631,
6134,
2236,
67,
2232,
273,
306,
474,
12,
701,
12,
474,
12,
92,
3719,
10531,
17,
26,
5717,
364,
619,
316,
3258,
65,
3138,
67,
2232,
273,
306,
474,
12,
701,
12,
474,
12,
92,
3719,
18919,
26,
30,
5717,
364,
619,
316,
3258,
65,
982,
67,
2232,
273,
3193,
12,
2890,
18,
3072,
12,
3353,
16,
4555,
16,
306,
2668,
2938,
67,
350,
2187,
296,
3624,
67,
792,
2187,
2236,
67,
2232,
13,
22643,
309,
982,
2
] |
C = store.any((experience, store.hasContent, doc, None))
|
C = store.any((store.engine._experience, store.hasContent, doc, None))
|
def evaluateObject2(self, store, subj): if isinstance(subj, Fragment): doc = subj.resource else: doc = subj C = store.any((experience, store.hasContent, doc, None)) if C: return C if chatty > 10: progress("Reading " + `doc`) inputURI = doc.uriref() netStream = urllib.urlopen(inputURI) str = netStream.read() # May be big - buffered in memory! C = store.engine.intern((LITERAL, str)) return C
|
e38cc47b9a0f70321a279b89a166fe036f9e8c47 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3308/e38cc47b9a0f70321a279b89a166fe036f9e8c47/cwm.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5956,
921,
22,
12,
2890,
16,
1707,
16,
15333,
4672,
309,
1549,
12,
1717,
78,
16,
18009,
4672,
997,
273,
15333,
18,
3146,
469,
30,
997,
273,
15333,
385,
273,
1707,
18,
2273,
12443,
2233,
18,
8944,
6315,
338,
457,
6254,
16,
1707,
18,
5332,
1350,
16,
997,
16,
599,
3719,
309,
385,
30,
327,
385,
309,
7916,
4098,
405,
1728,
30,
4007,
2932,
15714,
315,
397,
1375,
2434,
24065,
810,
3098,
273,
997,
18,
295,
577,
74,
1435,
2901,
1228,
273,
11527,
18,
295,
18589,
12,
2630,
3098,
13,
609,
273,
2901,
1228,
18,
896,
1435,
468,
16734,
506,
5446,
300,
11445,
316,
3778,
5,
385,
273,
1707,
18,
8944,
18,
267,
798,
12443,
23225,
16,
609,
3719,
327,
385,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5956,
921,
22,
12,
2890,
16,
1707,
16,
15333,
4672,
309,
1549,
12,
1717,
78,
16,
18009,
4672,
997,
273,
15333,
18,
3146,
469,
30,
997,
273,
15333,
385,
273,
1707,
18,
2273,
12443,
2233,
18,
8944,
6315,
338,
457,
6254,
16,
1707,
18,
5332,
1350,
16,
997,
16,
599,
3719,
309,
385,
30,
327,
385,
309,
7916,
4098,
405,
1728,
30,
4007,
2932,
15714,
315,
397,
1375,
2434,
24065,
810,
3098,
273,
997,
18,
295,
577,
74,
1435,
2901,
1228,
273,
11527,
18,
295,
18589,
12,
2630,
3098,
13,
609,
273,
2901,
1228,
18,
896,
1435,
468,
16734,
506,
5446,
300,
11445,
316,
3778,
5,
385,
273,
1707,
18,
8944,
18,
267,
798,
12443,
23225,
16,
609,
2
] |
content = cached_value.split('\r\n\r\n', 1)[1]
|
info, content = cached_value.split('\r\n\r\n', 1) feedparser = email.FeedParser.FeedParser() feedparser.feed(info) info = feedparser.close() feedparser._parse = None
|
def request(self, uri, method="GET", body=None, headers=None, redirections=DEFAULT_MAX_REDIRECTS, connection_type=None): """ Performs a single HTTP request.
|
71a014d4117ad7b92726e63aeca6bcef4ba50b15 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13138/71a014d4117ad7b92726e63aeca6bcef4ba50b15/__init__.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
590,
12,
2890,
16,
2003,
16,
707,
1546,
3264,
3113,
1417,
33,
7036,
16,
1607,
33,
7036,
16,
19611,
87,
33,
5280,
67,
6694,
67,
25103,
55,
16,
1459,
67,
723,
33,
7036,
4672,
3536,
27391,
279,
2202,
2239,
590,
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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,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
590,
12,
2890,
16,
2003,
16,
707,
1546,
3264,
3113,
1417,
33,
7036,
16,
1607,
33,
7036,
16,
19611,
87,
33,
5280,
67,
6694,
67,
25103,
55,
16,
1459,
67,
723,
33,
7036,
4672,
3536,
27391,
279,
2202,
2239,
590,
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
] |
open(fileloc, 'w').write(open(temploc).read()) open(publoc, 'w').write(open("%s.pub" % temploc).read())
|
shutil.copy(temploc, fileloc) shutil.copy("%s.pub" % temploc, publoc)
|
def GenerateHostKeys(self, client): '''Generate new host keys for client''' keylist = [keytmpl % client for keytmpl in self.hostkeys] for hostkey in keylist: if 'ssh_host_rsa_key.H_' == hostkey[:19]: keytype = 'rsa' elif 'ssh_host_dsa_key.H_' == hostkey[:19]: keytype = 'dsa' else: keytype = 'rsa1'
|
8999c249ccc3d93f08060fbfb0b7598e7e15cfda /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11867/8999c249ccc3d93f08060fbfb0b7598e7e15cfda/SSHbase.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6654,
2594,
2396,
12,
2890,
16,
1004,
4672,
9163,
4625,
394,
1479,
1311,
364,
1004,
26418,
498,
1098,
273,
306,
856,
24717,
738,
1004,
364,
498,
24717,
316,
365,
18,
2564,
2452,
65,
364,
1479,
856,
316,
498,
1098,
30,
309,
296,
10975,
67,
2564,
67,
24654,
67,
856,
18,
44,
4623,
422,
1479,
856,
10531,
3657,
14542,
498,
723,
273,
296,
24654,
11,
1327,
296,
10975,
67,
2564,
67,
19603,
67,
856,
18,
44,
4623,
422,
1479,
856,
10531,
3657,
14542,
498,
723,
273,
296,
19603,
11,
469,
30,
498,
723,
273,
296,
24654,
21,
11,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
6654,
2594,
2396,
12,
2890,
16,
1004,
4672,
9163,
4625,
394,
1479,
1311,
364,
1004,
26418,
498,
1098,
273,
306,
856,
24717,
738,
1004,
364,
498,
24717,
316,
365,
18,
2564,
2452,
65,
364,
1479,
856,
316,
498,
1098,
30,
309,
296,
10975,
67,
2564,
67,
24654,
67,
856,
18,
44,
4623,
422,
1479,
856,
10531,
3657,
14542,
498,
723,
273,
296,
24654,
11,
1327,
296,
10975,
67,
2564,
67,
19603,
67,
856,
18,
44,
4623,
422,
1479,
856,
10531,
3657,
14542,
498,
723,
273,
296,
19603,
11,
469,
30,
498,
723,
273,
296,
24654,
21,
11,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
visitor.document.reporter.debug('visit_' + self.__class__.__name__, category='nodes.Node.walk')
|
visitor.document.reporter.debug( 'calling dispatch_visit for %s' % self.__class__.__name__, category='nodes.Node.walk')
|
def walk(self, visitor): """ Traverse a tree of `Node` objects, calling ``visit_...`` methods of `visitor` when entering each node. If there is no ``visit_particular_node`` method for a node of type ``particular_node``, the ``unknown_visit`` method is called. (The `walkabout()` method is similar, except it also calls ``depart_...`` methods before exiting each node.)
|
3837e1561a35079abf202ea3b59429bef574c00d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1278/3837e1561a35079abf202ea3b59429bef574c00d/nodes.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5442,
12,
2890,
16,
8000,
4672,
3536,
2197,
2476,
279,
2151,
434,
1375,
907,
68,
2184,
16,
4440,
12176,
11658,
67,
2777,
10335,
2590,
434,
1375,
3516,
1811,
68,
1347,
19014,
1517,
756,
18,
971,
1915,
353,
1158,
12176,
11658,
67,
2680,
335,
2490,
67,
2159,
10335,
707,
364,
279,
756,
434,
618,
12176,
2680,
335,
2490,
67,
2159,
68,
9191,
326,
12176,
8172,
67,
11658,
10335,
707,
353,
2566,
18,
225,
261,
1986,
1375,
11348,
21071,
20338,
707,
353,
7281,
16,
1335,
518,
2546,
4097,
12176,
323,
2680,
67,
2777,
10335,
2590,
1865,
15702,
1517,
756,
12998,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5442,
12,
2890,
16,
8000,
4672,
3536,
2197,
2476,
279,
2151,
434,
1375,
907,
68,
2184,
16,
4440,
12176,
11658,
67,
2777,
10335,
2590,
434,
1375,
3516,
1811,
68,
1347,
19014,
1517,
756,
18,
971,
1915,
353,
1158,
12176,
11658,
67,
2680,
335,
2490,
67,
2159,
10335,
707,
364,
279,
756,
434,
618,
12176,
2680,
335,
2490,
67,
2159,
68,
9191,
326,
12176,
8172,
67,
11658,
10335,
707,
353,
2566,
18,
225,
261,
1986,
1375,
11348,
21071,
20338,
707,
353,
7281,
16,
1335,
518,
2546,
4097,
12176,
323,
2680,
67,
2777,
10335,
2590,
1865,
15702,
1517,
756,
12998,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
description = Backquote(['git', 'cl', 'status', '--field=desc'])
|
description = cl.GetDescription()
|
def __init__(self, commit=None, upstream_branch=None): self.commit = commit self.verbose = None self.default_presubmit = None self.may_prompt = None
|
1d28b864ef328f44b14f9ad93f1e0639851fdf1e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6076/1d28b864ef328f44b14f9ad93f1e0639851fdf1e/git_cl_hooks.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
3294,
33,
7036,
16,
13505,
67,
7500,
33,
7036,
4672,
365,
18,
7371,
273,
3294,
365,
18,
11369,
273,
599,
365,
18,
1886,
67,
12202,
373,
1938,
273,
599,
365,
18,
24877,
67,
13325,
273,
599,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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294,
365,
18,
11369,
273,
599,
365,
18,
1886,
67,
12202,
373,
1938,
273,
599,
365,
18,
24877,
67,
13325,
273,
599,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
while name: i = name.find('.') if i >= 0: name, tail = name[:i], name[i+1:] else: tail = '' w = w.children[name] name = tail
|
for n in name: if not n: break w = w.children[n]
|
def nametowidget(self, name): """Return the Tkinter instance of a widget identified by its Tcl name NAME.""" w = self if name[0] == '.': w = w._root() name = name[1:] while name: i = name.find('.') if i >= 0: name, tail = name[:i], name[i+1:] else: tail = '' w = w.children[name] name = tail return w
|
aabf404ecc06f1ddbb4c003508dff78c7ac06012 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8546/aabf404ecc06f1ddbb4c003508dff78c7ac06012/Tkinter.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
15135,
278,
543,
2208,
12,
2890,
16,
508,
4672,
3536,
990,
326,
399,
79,
2761,
791,
434,
279,
3604,
9283,
635,
2097,
399,
830,
508,
6048,
12123,
341,
273,
365,
309,
508,
63,
20,
65,
422,
2611,
30,
341,
273,
341,
6315,
3085,
1435,
508,
273,
508,
63,
21,
26894,
225,
364,
290,
316,
508,
30,
309,
486,
290,
30,
898,
341,
273,
341,
18,
5906,
63,
82,
65,
225,
327,
341,
2,
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,
15135,
278,
543,
2208,
12,
2890,
16,
508,
4672,
3536,
990,
326,
399,
79,
2761,
791,
434,
279,
3604,
9283,
635,
2097,
399,
830,
508,
6048,
12123,
341,
273,
365,
309,
508,
63,
20,
65,
422,
2611,
30,
341,
273,
341,
6315,
3085,
1435,
508,
273,
508,
63,
21,
26894,
225,
364,
290,
316,
508,
30,
309,
486,
290,
30,
898,
341,
273,
341,
18,
5906,
63,
82,
65,
225,
327,
341,
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
] |
deps.InstructionSetDependency)).name if targetArch != currentArchName: if targetArch in setArchOk.get(currentArchName, []):
|
deps.InstructionSetDependency)) if not targetArch: return False, None targetArchName = targetArch.name if targetArchName != currentArchName: if targetArchName in setArchOk.get(currentArchName, []):
|
def getTargetArch(flavor, currentArch = None): if currentArch is None: currentArchName = arch.getMajorArch(arch.currentArch[0]).name
|
be69916359af5a65c8f3fcf60d692c640e365481 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8749/be69916359af5a65c8f3fcf60d692c640e365481/flavorutil.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8571,
12269,
12,
2242,
9444,
16,
783,
12269,
273,
599,
4672,
309,
783,
12269,
353,
599,
30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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8571,
12269,
12,
2242,
9444,
16,
783,
12269,
273,
599,
4672,
309,
783,
12269,
353,
599,
30,
783,
12269,
461,
273,
6637,
18,
588,
17581,
12269,
12,
991,
18,
2972,
12269,
63,
20,
65,
2934,
529,
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
] |
elif self.c in (chr(4), '^D'):
|
elif self.c in key_dispatch['C-d']:
|
def p_key(self): """Process a keypress"""
|
c0488d0794c984ec4c760b6d4a3855227d97f8d1 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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
293,
67,
856,
12,
2890,
4672,
3536,
2227,
279,
498,
1028,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.setAxisAutoScaled()
|
self.setAxisAutoScale(self.xBottom) self.setAxisAutoScale(self.yLeft)
|
def zoomExtent(self): self.setAxisAutoScaled() self.replot() self.setAxisFixedScale()
|
85386b0efeeca1e1b4d6f60b2ffc66eab19d85fb /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6366/85386b0efeeca1e1b4d6f60b2ffc66eab19d85fb/OWNetworkCanvas.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
7182,
17639,
12,
2890,
4672,
365,
18,
542,
6558,
4965,
5587,
12,
2890,
18,
92,
10393,
13,
365,
18,
542,
6558,
4965,
5587,
12,
2890,
18,
93,
3910,
13,
365,
18,
266,
4032,
1435,
365,
18,
542,
6558,
7505,
5587,
1435,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] |
reduce_positive(Q, coeffs, offset)
|
reduce_positive(Q, p, coeffs, offset)
|
def reduce_all(Q, p, coeffs, offset): """ Applies cohomology relations to reduce all terms to a linear combination of $dx/y$ and $x dx/y$. INPUT: Q -- cubic polynomial coeffs -- list of length 3 lists. The i^th list [a, b, c] represents $y^{2(i - offset)} (a + bx + cx^2) dx/y$. offset -- nonnegative integer OUTPUT: A, B -- pair such that the input differential is cohomologous to (A + Bx) dx/y. NOTE: The algorithm operates in-place, so the data in coeffs is destroyed. EXAMPLE: sage: R.<x> = Integers(5^3)['x'] sage: Q = x^3 - x + R(1/4) sage: coeffs = [[1, 2, 3], [4, 5, 6], [7, 8, 9]] sage: coeffs = [[R.base_ring()(a) for a in row] for row in coeffs] sage: monsky_washnitzer.reduce_all(Q, 5, coeffs, 1) (21, 106) """ R = Q.base_ring() while len(coeffs) <= offset: coeffs.append([R(0), R(0), R(0)]) reduce_negative(Q, p, coeffs, offset) reduce_positive(Q, coeffs, offset) reduce_zero(Q, coeffs, offset) return coeffs[int(offset)][0], coeffs[int(offset)][1]
|
27b77e28ae3b8fbd3ab5545206e95e0ab8882088 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/27b77e28ae3b8fbd3ab5545206e95e0ab8882088/monsky_washnitzer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5459,
67,
454,
12,
53,
16,
293,
16,
16530,
16,
1384,
4672,
3536,
1716,
5259,
1825,
17125,
4676,
7467,
358,
5459,
777,
6548,
358,
279,
9103,
10702,
434,
271,
13437,
19,
93,
8,
471,
271,
92,
6633,
19,
93,
8,
18,
225,
12943,
30,
2238,
1493,
31247,
16991,
16530,
1493,
666,
434,
769,
890,
6035,
18,
1021,
277,
66,
451,
666,
306,
69,
16,
324,
16,
276,
65,
8686,
271,
93,
66,
95,
22,
12,
77,
300,
1384,
16869,
261,
69,
397,
24356,
397,
9494,
66,
22,
13,
6633,
19,
93,
8,
18,
1384,
1493,
1661,
13258,
3571,
225,
11550,
30,
432,
16,
605,
1493,
3082,
4123,
716,
326,
810,
15221,
2001,
353,
1825,
17125,
3966,
1481,
358,
261,
37,
397,
605,
92,
13,
6633,
19,
93,
18,
225,
5219,
30,
1021,
4886,
2255,
815,
316,
17,
964,
16,
1427,
326,
501,
316,
16530,
353,
17689,
18,
225,
5675,
21373,
30,
272,
410,
30,
534,
22782,
92,
34,
273,
657,
736,
6215,
12,
25,
66,
23,
13,
3292,
92,
3546,
272,
410,
30,
2238,
273,
619,
66,
23,
300,
619,
397,
534,
12,
21,
19,
24,
13,
272,
410,
30,
16530,
273,
12167,
21,
16,
576,
16,
890,
6487,
306,
24,
16,
1381,
16,
1666,
6487,
306,
27,
16,
1725,
16,
2468,
13563,
272,
410,
30,
16530,
273,
12167,
54,
18,
1969,
67,
8022,
1435,
12,
69,
13,
364,
279,
316,
1027,
65,
364,
1027,
316,
16530,
65,
272,
410,
30,
6921,
22921,
67,
91,
961,
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,
5459,
67,
454,
12,
53,
16,
293,
16,
16530,
16,
1384,
4672,
3536,
1716,
5259,
1825,
17125,
4676,
7467,
358,
5459,
777,
6548,
358,
279,
9103,
10702,
434,
271,
13437,
19,
93,
8,
471,
271,
92,
6633,
19,
93,
8,
18,
225,
12943,
30,
2238,
1493,
31247,
16991,
16530,
1493,
666,
434,
769,
890,
6035,
18,
1021,
277,
66,
451,
666,
306,
69,
16,
324,
16,
276,
65,
8686,
271,
93,
66,
95,
22,
12,
77,
300,
1384,
16869,
261,
69,
397,
24356,
397,
9494,
66,
22,
13,
6633,
19,
93,
8,
18,
1384,
1493,
1661,
13258,
3571,
225,
11550,
30,
432,
16,
605,
1493,
3082,
4123,
716,
326,
810,
15221,
2001,
353,
1825,
17125,
3966,
1481,
358,
2
] |
self.log.verbose( 'Submitting %s pilots for TaskQueue %s' % ( pilotsToSubmit, taskQueueID ) )
|
self.log.verbose( 'Submitting %s pilots for TaskQueue %s' % ( pilotsToSubmit, taskQueueID ) )
|
def submitPilotsForTaskQueue(self, taskQueueDict, waitingPilots ):
|
2167c40fe092d0205e599c452b700e4f2aaec45c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/2167c40fe092d0205e599c452b700e4f2aaec45c/TaskQueueDirector.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4879,
52,
330,
6968,
1290,
2174,
3183,
12,
2890,
16,
1562,
3183,
5014,
16,
7336,
52,
330,
6968,
262,
30,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4879,
52,
330,
6968,
1290,
2174,
3183,
12,
2890,
16,
1562,
3183,
5014,
16,
7336,
52,
330,
6968,
262,
30,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
'pilotScript': os.path.basename(self.pilot), \ 'installScript': os.path.basename(self.install),
|
'pilotScript': os.path.basename( self.pilot ), \ 'installScript': os.path.basename( self.install ),
|
def __writePilotScript(self,workingDirectory, pilotOptions, proxy='', httpProxy=''): """ Bundle together and write out the pilot executable script, admixt the proxy if given """ try: compressedAndEncodedProxy = '' proxyFlag = 'False' if proxy: compressedAndEncodedProxy = base64.encodestring( bz2.compress( proxy.dumpAllToString()['Value'] ) ).replace('\n','') proxyFlag = 'True' compressedAndEncodedPilot = base64.encodestring( bz2.compress( open( self.pilot, "rb" ).read(), 9 ) ).replace('\n','') compressedAndEncodedInstall = base64.encodestring( bz2.compress( open( self.install, "rb" ).read(), 9 ) ).replace('\n','') except: self.log.exception('Exception during file compression of proxy, dirac-pilot or dirac-install') return S_ERROR('Exception during file compression of proxy, dirac-pilot or dirac-install')
|
fecf3d418a4e3a08002c58982e809e7e4b152546 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/fecf3d418a4e3a08002c58982e809e7e4b152546/SiteDirector.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2626,
52,
22797,
3651,
12,
2890,
16,
20478,
2853,
16,
293,
22797,
1320,
16,
2889,
2218,
2187,
1062,
3886,
2218,
11,
4672,
3536,
8539,
9475,
471,
1045,
596,
326,
293,
22797,
9070,
2728,
16,
1261,
14860,
88,
326,
2889,
309,
864,
3536,
225,
775,
30,
8968,
1876,
10397,
3886,
273,
875,
2889,
4678,
273,
296,
8381,
11,
309,
2889,
30,
8968,
1876,
10397,
3886,
273,
1026,
1105,
18,
1331,
1145,
371,
12,
24788,
22,
18,
14706,
12,
2889,
18,
8481,
1595,
5808,
1435,
3292,
620,
3546,
262,
262,
18,
2079,
2668,
64,
82,
17023,
6134,
2889,
4678,
273,
296,
5510,
11,
8968,
1876,
10397,
52,
22797,
273,
1026,
1105,
18,
1331,
1145,
371,
12,
24788,
22,
18,
14706,
12,
1696,
12,
365,
18,
84,
22797,
16,
315,
6731,
6,
262,
18,
896,
9334,
2468,
262,
262,
18,
2079,
2668,
64,
82,
17023,
6134,
8968,
1876,
10397,
6410,
273,
1026,
1105,
18,
1331,
1145,
371,
12,
24788,
22,
18,
14706,
12,
1696,
12,
365,
18,
5425,
16,
315,
6731,
6,
262,
18,
896,
9334,
2468,
262,
262,
18,
2079,
2668,
64,
82,
17023,
6134,
1335,
30,
365,
18,
1330,
18,
4064,
2668,
503,
4982,
585,
9154,
434,
2889,
16,
4314,
8836,
17,
84,
22797,
578,
4314,
8836,
17,
5425,
6134,
327,
348,
67,
3589,
2668,
503,
4982,
585,
9154,
434,
2889,
16,
4314,
8836,
17,
84,
22797,
578,
4314,
8836,
17,
5425,
6134,
2,
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,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2626,
52,
22797,
3651,
12,
2890,
16,
20478,
2853,
16,
293,
22797,
1320,
16,
2889,
2218,
2187,
1062,
3886,
2218,
11,
4672,
3536,
8539,
9475,
471,
1045,
596,
326,
293,
22797,
9070,
2728,
16,
1261,
14860,
88,
326,
2889,
309,
864,
3536,
225,
775,
30,
8968,
1876,
10397,
3886,
273,
875,
2889,
4678,
273,
296,
8381,
11,
309,
2889,
30,
8968,
1876,
10397,
3886,
273,
1026,
1105,
18,
1331,
1145,
371,
12,
24788,
22,
18,
14706,
12,
2889,
18,
8481,
1595,
5808,
1435,
3292,
620,
3546,
262,
262,
18,
2079,
2668,
64,
82,
17023,
6134,
2889,
4678,
273,
296,
5510,
11,
8968,
1876,
10397,
52,
22797,
273,
1026,
1105,
18,
1331,
1145,
371,
12,
24788,
22,
18,
2
] |
branch = models.CharField("Branch", maxlength=30)
|
branch = models.CharField("Branch", maxlength=30, blank=True)
|
def get_absolute_url(self): return "/groups/%s/" % self.name
|
9bee09df99eefcc131f7c6bac6f9fcc23f750aa3 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1600/9bee09df99eefcc131f7c6bac6f9fcc23f750aa3/models.py
|
[
1,
8585,
326,
22398,
316,
326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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
12547,
67,
718,
12,
2890,
4672,
327,
2206,
4650,
5258,
87,
4898,
738,
365,
18,
529,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return '\\texttt{%s}' % val
|
if len(val) > maxwidth: val = val[:maxwidth-3] + '...' if '\n' in val: return ('\\begin{alltt}\n%s\\end{alltt}' % self._text_to_latex(val, 0, 1)) else: return '{\\tt %s}' % self._text_to_latex(val, 1, 1)
|
def _pprint_var_value(self, var, maxwidth=100): val = var.uid().value() try: val = `val` if len(val) > maxwidth: val = val[:maxwidth-3] + '...' val = self._text_to_latex(val, 1, 1) except: val = '...' return '\\texttt{%s}' % val
|
f84aee6945de1bd0d9a58c39dc9c17b7755e8f52 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/f84aee6945de1bd0d9a58c39dc9c17b7755e8f52/latex.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
84,
1188,
67,
1401,
67,
1132,
12,
2890,
16,
569,
16,
943,
2819,
33,
6625,
4672,
1244,
273,
569,
18,
1911,
7675,
1132,
1435,
775,
30,
1244,
273,
1375,
1125,
68,
309,
562,
12,
1125,
13,
405,
943,
2819,
30,
1244,
273,
1244,
10531,
1896,
2819,
17,
23,
65,
397,
20243,
1244,
273,
365,
6315,
955,
67,
869,
67,
26264,
12,
1125,
16,
404,
16,
404,
13,
1335,
30,
1244,
273,
20243,
309,
562,
12,
1125,
13,
405,
943,
2819,
30,
1244,
273,
1244,
10531,
1896,
2819,
17,
23,
65,
397,
20243,
309,
2337,
82,
11,
316,
1244,
30,
327,
7707,
1695,
10086,
95,
454,
748,
6280,
82,
9,
87,
1695,
409,
95,
454,
748,
1713,
738,
365,
6315,
955,
67,
869,
67,
26264,
12,
1125,
16,
374,
16,
404,
3719,
469,
30,
327,
2292,
1695,
748,
738,
87,
1713,
738,
365,
6315,
955,
67,
869,
67,
26264,
12,
1125,
16,
404,
16,
404,
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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435,
775,
30,
1244,
273,
1375,
1125,
68,
309,
562,
12,
1125,
13,
405,
943,
2819,
30,
1244,
273,
1244,
10531,
1896,
2819,
17,
23,
65,
397,
20243,
1244,
273,
365,
6315,
955,
67,
869,
67,
26264,
12,
1125,
16,
404,
16,
404,
13,
1335,
30,
1244,
273,
20243,
309,
562,
12,
1125,
13,
405,
943,
2819,
30,
1244,
273,
1244,
10531,
1896,
2819,
17,
23,
65,
397,
20243,
309,
2337,
82,
11,
316,
1244,
30,
327,
7707,
1695,
10086,
95,
454,
748,
6280,
82,
9,
87,
1695,
409,
95,
454,
748,
1713,
738,
2
] |
"event_id": "int_8s" }
|
"event_id": "ilwd:char" }
|
def __init__(self, n = 0): ilwd.ILWD.__init__(self, "sngl_ringdown", "event_id", n)
|
49a6986f6f61c0bb516472ac19446341eb31d74d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5758/49a6986f6f61c0bb516472ac19446341eb31d74d/lsctables.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
290,
273,
374,
4672,
14254,
3623,
18,
2627,
16006,
16186,
2738,
972,
12,
2890,
16,
315,
87,
3368,
80,
67,
8022,
2378,
3113,
315,
2575,
67,
350,
3113,
290,
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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,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
290,
273,
374,
4672,
14254,
3623,
18,
2627,
16006,
16186,
2738,
972,
12,
2890,
16,
315,
87,
3368,
80,
67,
8022,
2378,
3113,
315,
2575,
67,
350,
3113,
290,
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
] |
return result.split('\r\n')[0]
|
return result
|
def execute(self, commands, login=1): ftp = self.getFTPConnection(login)
|
90d04321f031c84ce099735d79abab9afd55bb34 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9635/90d04321f031c84ce099735d79abab9afd55bb34/test_ftpserver.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1836,
12,
2890,
16,
4364,
16,
3925,
33,
21,
4672,
13487,
273,
365,
18,
588,
17104,
1952,
12,
5819,
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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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,
1836,
12,
2890,
16,
4364,
16,
3925,
33,
21,
4672,
13487,
273,
365,
18,
588,
17104,
1952,
12,
5819,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
print "shlex: in state " + repr(self.state) + " I see character: " + repr(nextchar)
|
print "shlex: in state", repr(self.state), \ "I see character:", repr(nextchar)
|
def read_token(self): "Read a token from the input stream (no pushback or inclusions)" tok = '' while 1: nextchar = self.instream.read(1); if nextchar == '\n': self.lineno = self.lineno + 1 if self.debug >= 3: print "shlex: in state " + repr(self.state) + " I see character: " + repr(nextchar) if self.state == None: self.token = ''; # past end of file break elif self.state == ' ': if not nextchar: self.state = None; # end of file break elif nextchar in self.whitespace: if self.debug >= 2: print "shlex: I see whitespace in whitespace state" if self.token: break # emit current token else: continue elif nextchar in self.commenters: self.instream.readline() self.lineno = self.lineno + 1 elif nextchar in self.wordchars: self.token = nextchar self.state = 'a' elif nextchar in self.quotes: self.token = nextchar self.state = nextchar else: self.token = nextchar if self.token: break # emit current token else: continue elif self.state in self.quotes: self.token = self.token + nextchar if nextchar == self.state: self.state = ' ' break elif self.state == 'a': if not nextchar: self.state = None; # end of file break elif nextchar in self.whitespace: if self.debug >= 2: print "shlex: I see whitespace in word state" self.state = ' ' if self.token: break # emit current token else: continue elif nextchar in self.commenters: self.instream.readline() self.lineno = self.lineno + 1 elif nextchar in self.wordchars or nextchar in self.quotes: self.token = self.token + nextchar else: self.pushback = [nextchar] + self.pushback if self.debug >= 2: print "shlex: I see punctuation in word state" self.state = ' ' if self.token: break # emit current token else: continue result = self.token self.token = '' if self.debug > 1: if result: print "shlex: raw token=" + `result` else: print "shlex: raw token=EOF" return result
|
217753d03e01f703df7d9f3b9460417fdafa6037 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/217753d03e01f703df7d9f3b9460417fdafa6037/shlex.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
67,
2316,
12,
2890,
4672,
315,
1994,
279,
1147,
628,
326,
810,
1407,
261,
2135,
1817,
823,
578,
2823,
16377,
2225,
946,
273,
875,
1323,
404,
30,
1024,
3001,
273,
365,
18,
267,
3256,
18,
896,
12,
21,
1769,
309,
1024,
3001,
422,
2337,
82,
4278,
365,
18,
17782,
273,
365,
18,
17782,
397,
404,
309,
365,
18,
4148,
1545,
890,
30,
1172,
315,
674,
4149,
30,
316,
919,
3113,
8480,
12,
2890,
18,
2019,
3631,
521,
315,
45,
2621,
3351,
2773,
16,
8480,
12,
4285,
3001,
13,
309,
365,
18,
2019,
422,
599,
30,
365,
18,
2316,
273,
26028,
202,
7,
8854,
679,
434,
585,
898,
1327,
365,
18,
2019,
422,
296,
4290,
309,
486,
1024,
3001,
30,
365,
18,
2019,
273,
599,
31,
202,
7,
679,
434,
585,
898,
1327,
1024,
3001,
316,
365,
18,
18777,
30,
309,
365,
18,
4148,
1545,
576,
30,
1172,
315,
674,
4149,
30,
467,
2621,
7983,
316,
7983,
919,
6,
309,
365,
18,
2316,
30,
898,
202,
7,
3626,
783,
1147,
469,
30,
1324,
1327,
1024,
3001,
316,
365,
18,
3469,
414,
30,
365,
18,
267,
3256,
18,
896,
1369,
1435,
365,
18,
17782,
273,
365,
18,
17782,
397,
404,
1327,
1024,
3001,
316,
365,
18,
1095,
7549,
30,
365,
18,
2316,
273,
1024,
3001,
365,
18,
2019,
273,
296,
69,
11,
1327,
1024,
3001,
316,
365,
18,
18653,
30,
365,
18,
2316,
273,
1024,
3001,
365,
18,
2019,
273,
1024,
3001,
469,
30,
365,
18,
2316,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
67,
2316,
12,
2890,
4672,
315,
1994,
279,
1147,
628,
326,
810,
1407,
261,
2135,
1817,
823,
578,
2823,
16377,
2225,
946,
273,
875,
1323,
404,
30,
1024,
3001,
273,
365,
18,
267,
3256,
18,
896,
12,
21,
1769,
309,
1024,
3001,
422,
2337,
82,
4278,
365,
18,
17782,
273,
365,
18,
17782,
397,
404,
309,
365,
18,
4148,
1545,
890,
30,
1172,
315,
674,
4149,
30,
316,
919,
3113,
8480,
12,
2890,
18,
2019,
3631,
521,
315,
45,
2621,
3351,
2773,
16,
8480,
12,
4285,
3001,
13,
309,
365,
18,
2019,
422,
599,
30,
365,
18,
2316,
273,
26028,
202,
7,
8854,
679,
434,
585,
898,
1327,
365,
18,
2019,
422,
296,
4290,
309,
486,
1024,
2
] |
.split(), stdout=fnull, stderr=fnull,
|
.split(), stderr=fnull,
|
def compile(self, output_name): ''' Compiles all games given by the specified filemask into one video file. The file will be saved into the log folder. ''' controllers = [] for filename in os.listdir(self.working_dir): if re.search(self.file_mask, filename): controllers.append(self._get_game_controller(os.path.join( self.working_dir, filename))) # The games should be given in the right order: controllers = list(sorted(controllers))
|
b7b495388a59e6de808cce6201f32b24e10aa257 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10732/b7b495388a59e6de808cce6201f32b24e10aa257/visualizer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4074,
12,
2890,
16,
876,
67,
529,
4672,
9163,
5427,
1449,
777,
28422,
864,
635,
326,
1269,
585,
4455,
1368,
1245,
6191,
585,
18,
1021,
585,
903,
506,
5198,
1368,
326,
613,
3009,
18,
9163,
12403,
273,
5378,
364,
1544,
316,
1140,
18,
1098,
1214,
12,
2890,
18,
20478,
67,
1214,
4672,
309,
283,
18,
3072,
12,
2890,
18,
768,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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,
4074,
12,
2890,
16,
876,
67,
529,
4672,
9163,
5427,
1449,
777,
28422,
864,
635,
326,
1269,
585,
4455,
1368,
1245,
6191,
585,
18,
1021,
585,
903,
506,
5198,
1368,
326,
613,
3009,
18,
9163,
12403,
273,
5378,
364,
1544,
316,
1140,
18,
1098,
1214,
12,
2890,
18,
20478,
67,
1214,
4672,
309,
283,
18,
3072,
12,
2890,
18,
768,
67,
4455,
16,
1544,
4672,
12403,
18,
6923,
12,
2890,
6315,
588,
67,
13957,
67,
5723,
12,
538,
18,
803,
18,
5701,
12,
365,
18,
20478,
67,
1214,
16,
1544,
20349,
468,
1021,
28422,
1410,
506,
864,
316,
326,
2145,
1353,
30,
12403,
273,
666,
12,
10350,
12,
20171,
3719,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
bgbox = clutter.ActorBox() bgbox.x1 = 0 bgbox.y1 = 0 bgbox.x2 = main_width bgbox.y2 = self.border + round(y) - self.spacing self.background.allocate(bgbox, flags)
|
if self._horizontal is True: bgbox = clutter.ActorBox() bgbox.x1 = 0 bgbox.y1 = 0 bgbox.x2 = self.border + round(x) - self.spacing bgbox.y2 = main_height self.background.allocate(bgbox, flags) else: bgbox = clutter.ActorBox() bgbox.x1 = 0 bgbox.y1 = 0 bgbox.x2 = main_width bgbox.y2 = self.border + round(y) - self.spacing self.background.allocate(bgbox, flags)
|
def do_allocate(self, box, flags): main_width = box.x2 - box.x1 main_height = box.y2 - box.y1 inner_width = main_width - 2*self.border inner_height = main_height - 2*self.border #find size available for resizable elements resizable_elements = list() resizable_width = inner_width resizable_height = inner_height for element in self.elements: if element.get('resizable', 0) != 0: if element['resizable'] > 1: element['resizable'] = 1 elif element['resizable'] < 0: element['resizable'] = 0 resizable_elements.append(element) else: if element.get('expand') is True: if element.get('keep_ratio') is True: obj_height = element['object'].get_preferred_size()[3] obj_width = element['object'].get_preferred_size()[2] if self._horizontal is True: if obj_height != 0: ratio = float(obj_width/obj_height) obj_width = int(inner_height*ratio) resizable_width -= obj_width resizable_height -= inner_height else: if obj_width != 0: ratio = float(obj_width/obj_height) obj_height = int(inner_width/ratio) resizable_width -= inner_width resizable_height -= obj_height else: resizable_width -= element['object'].get_preferred_size()[2] resizable_height -= element['object'].get_preferred_size()[3] else: resizable_width -= element['object'].get_preferred_size()[2] resizable_height -= element['object'].get_preferred_size()[3] resizable_width -= self.spacing resizable_height -= self.spacing resizable_width += self.spacing resizable_height += self.spacing #find resizable elements who will bypass box size for element in self.elements: if element.get('resizable', 0) != 0: original_width, original_height = element['object'].get_preferred_size()[2:] if self._horizontal is True: if element.get('keep_ratio') is True and original_width != 0: obj_width = element['resizable'] * resizable_width ratio = float(obj_width/original_width) obj_height = int(original_height*ratio) if obj_height > inner_height: # reduce resizable property ratio = float(inner_height/original_height) obj_width = int(original_width*ratio) element['resizable'] = float(obj_width/resizable_width) else: if element.get('keep_ratio') is True and original_height != 0: obj_height = element['resizable'] * resizable_height ratio = float(obj_height/original_height) obj_width = int(original_width*ratio) if obj_width > inner_width: # reduce resizable property ratio = float(inner_width/original_width) obj_height = int(original_height*ratio) element['resizable'] = float(obj_height/resizable_height) x = self.border y = self.border for element in self.elements: obj_width, obj_height = element['object'].get_preferred_size()[2:] if element.get('expand') is True: if self._horizontal is True: original_height = obj_height obj_height = inner_height if element.get('keep_ratio') is True and original_height != 0: ratio = float(obj_height/original_height) obj_width = int(obj_width*ratio) else: original_width = obj_width obj_width = inner_width if element.get('keep_ratio') is True and original_width != 0: ratio = float(obj_width/original_width) obj_height = int(obj_height*ratio) if element in resizable_elements: if self._horizontal is True: original_width = obj_width obj_width = element['resizable'] * resizable_width if element.get('keep_ratio') is True and original_width != 0: ratio = float(obj_width/original_width) obj_height = int(obj_height*ratio) else: original_height = obj_height obj_height = element['resizable'] * resizable_height if element.get('keep_ratio') is True and original_height != 0: ratio = float(obj_height/original_height) obj_width = int(obj_width*ratio) # Manage centering x_offset = 0 y_offset = 0 if element.get('center') is True: if self._horizontal is True: y_offset = max(0, (inner_height - obj_height) / 2) else: x_offset = max(0, (inner_width - obj_width) / 2) objbox = clutter.ActorBox() objbox.x1 = round(x + x_offset) objbox.y1 = round(y + y_offset) objbox.x2 = round(x + x_offset + obj_width) objbox.y2 = round(y + y_offset + obj_height) element['object'].allocate(objbox, flags) if self._horizontal is True: x += obj_width + self.spacing else: y += obj_height + self.spacing #box background if self.background: if self.bg_ignore_allocation_box == True and len(self.elements) > 0: bgbox = clutter.ActorBox() bgbox.x1 = 0 bgbox.y1 = 0 bgbox.x2 = main_width bgbox.y2 = self.border + round(y) - self.spacing self.background.allocate(bgbox, flags) else: bgbox = clutter.ActorBox() bgbox.x1 = 0 bgbox.y1 = 0 bgbox.x2 = main_width bgbox.y2 = main_height self.background.allocate(bgbox, flags) clutter.Actor.do_allocate(self, box, flags)
|
ea56ae78d261300805eb0ec1a0e6760b7ba6d3a9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5279/ea56ae78d261300805eb0ec1a0e6760b7ba6d3a9/box.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
16247,
12,
2890,
16,
3919,
16,
2943,
4672,
2774,
67,
2819,
273,
3919,
18,
92,
22,
300,
3919,
18,
92,
21,
2774,
67,
4210,
273,
3919,
18,
93,
22,
300,
3919,
18,
93,
21,
3443,
67,
2819,
273,
2774,
67,
2819,
300,
576,
14,
2890,
18,
8815,
3443,
67,
4210,
273,
2774,
67,
4210,
300,
576,
14,
2890,
18,
8815,
225,
468,
4720,
963,
2319,
364,
400,
6934,
2186,
400,
6934,
67,
6274,
273,
666,
1435,
400,
6934,
67,
2819,
273,
3443,
67,
2819,
400,
6934,
67,
4210,
273,
3443,
67,
4210,
364,
930,
316,
365,
18,
6274,
30,
309,
930,
18,
588,
2668,
455,
6934,
2187,
374,
13,
480,
374,
30,
309,
930,
3292,
455,
6934,
3546,
405,
404,
30,
930,
3292,
455,
6934,
3546,
273,
404,
1327,
930,
3292,
455,
6934,
3546,
411,
374,
30,
930,
3292,
455,
6934,
3546,
273,
374,
400,
6934,
67,
6274,
18,
6923,
12,
2956,
13,
469,
30,
309,
930,
18,
588,
2668,
12320,
6134,
353,
1053,
30,
309,
930,
18,
588,
2668,
10102,
67,
9847,
6134,
353,
1053,
30,
1081,
67,
4210,
273,
930,
3292,
1612,
29489,
588,
67,
23616,
67,
1467,
1435,
63,
23,
65,
1081,
67,
2819,
273,
930,
3292,
1612,
29489,
588,
67,
23616,
67,
1467,
1435,
63,
22,
65,
309,
365,
6315,
18396,
353,
1053,
30,
309,
1081,
67,
4210,
480,
374,
30,
7169,
273,
1431,
12,
2603,
67,
2819,
19,
2603,
67,
4210,
13,
1081,
67,
2819,
273,
509,
12,
7872,
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,
741,
67,
16247,
12,
2890,
16,
3919,
16,
2943,
4672,
2774,
67,
2819,
273,
3919,
18,
92,
22,
300,
3919,
18,
92,
21,
2774,
67,
4210,
273,
3919,
18,
93,
22,
300,
3919,
18,
93,
21,
3443,
67,
2819,
273,
2774,
67,
2819,
300,
576,
14,
2890,
18,
8815,
3443,
67,
4210,
273,
2774,
67,
4210,
300,
576,
14,
2890,
18,
8815,
225,
468,
4720,
963,
2319,
364,
400,
6934,
2186,
400,
6934,
67,
6274,
273,
666,
1435,
400,
6934,
67,
2819,
273,
3443,
67,
2819,
400,
6934,
67,
4210,
273,
3443,
67,
4210,
364,
930,
316,
365,
18,
6274,
30,
309,
930,
18,
588,
2668,
455,
6934,
2187,
374,
13,
480,
374,
30,
309,
930,
3292,
455,
2
] |
def prefs_art_location_changed(self, combobox):
|
def _art_location_changed(self, combobox):
|
def prefs_art_location_changed(self, combobox): if combobox.get_active() == consts.ART_LOCATION_CUSTOM: # Prompt user for playlist name: dialog = ui.dialog(title=_("Custom Artwork"), parent=self.window, flags=gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT, buttons=(gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT, gtk.STOCK_OK, gtk.RESPONSE_ACCEPT), role='customArtwork', default=gtk.RESPONSE_ACCEPT) hbox = gtk.HBox() hbox.pack_start(ui.label(text=_('Artwork filename') + ':'), False, False, 5) entry = ui.entry() entry.set_activates_default(True) hbox.pack_start(entry, True, True, 5) dialog.vbox.pack_start(hbox) dialog.vbox.show_all() response = dialog.run() if response == gtk.RESPONSE_ACCEPT: self.config.art_location_custom_filename = entry.get_text().replace("/", "") else: # Revert to non-custom item in combobox: combobox.set_active(self.config.art_location) dialog.destroy() self.config.art_location = combobox.get_active()
|
7d41f2105c0d58643150b6472b6b9676150f38e3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2312/7d41f2105c0d58643150b6472b6b9676150f38e3/preferences.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
485,
67,
3562,
67,
6703,
12,
2890,
16,
3894,
27570,
4672,
309,
3894,
27570,
18,
588,
67,
3535,
1435,
422,
15677,
18,
4928,
67,
15277,
67,
15136,
30,
468,
28360,
729,
364,
16428,
508,
30,
6176,
273,
5915,
18,
12730,
12,
2649,
33,
67,
2932,
3802,
9042,
1252,
6,
3631,
982,
33,
2890,
18,
5668,
16,
2943,
33,
4521,
79,
18,
2565,
18683,
67,
6720,
1013,
571,
22718,
18,
2565,
18683,
67,
1639,
25870,
61,
67,
9147,
67,
14943,
16,
9502,
28657,
4521,
79,
18,
31487,
3507,
67,
25268,
16,
22718,
18,
14508,
67,
862,
5304,
16,
22718,
18,
31487,
3507,
67,
3141,
16,
22718,
18,
14508,
67,
21417,
3631,
2478,
2218,
3662,
4411,
1252,
2187,
805,
33,
4521,
79,
18,
14508,
67,
21417,
13,
366,
2147,
273,
22718,
18,
44,
3514,
1435,
366,
2147,
18,
2920,
67,
1937,
12,
4881,
18,
1925,
12,
955,
33,
67,
2668,
4411,
1252,
1544,
6134,
397,
3921,
3631,
1083,
16,
1083,
16,
1381,
13,
1241,
273,
5915,
18,
4099,
1435,
1241,
18,
542,
67,
11422,
815,
67,
1886,
12,
5510,
13,
366,
2147,
18,
2920,
67,
1937,
12,
4099,
16,
1053,
16,
1053,
16,
1381,
13,
6176,
18,
90,
2147,
18,
2920,
67,
1937,
12,
76,
2147,
13,
6176,
18,
90,
2147,
18,
4500,
67,
454,
1435,
766,
273,
6176,
18,
2681,
1435,
309,
766,
422,
22718,
18,
14508,
67,
21417,
30,
365,
18,
1425,
18,
485,
67,
3562,
67,
3662,
67,
3459,
273,
1241,
18,
588,
67,
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,
485,
67,
3562,
67,
6703,
12,
2890,
16,
3894,
27570,
4672,
309,
3894,
27570,
18,
588,
67,
3535,
1435,
422,
15677,
18,
4928,
67,
15277,
67,
15136,
30,
468,
28360,
729,
364,
16428,
508,
30,
6176,
273,
5915,
18,
12730,
12,
2649,
33,
67,
2932,
3802,
9042,
1252,
6,
3631,
982,
33,
2890,
18,
5668,
16,
2943,
33,
4521,
79,
18,
2565,
18683,
67,
6720,
1013,
571,
22718,
18,
2565,
18683,
67,
1639,
25870,
61,
67,
9147,
67,
14943,
16,
9502,
28657,
4521,
79,
18,
31487,
3507,
67,
25268,
16,
22718,
18,
14508,
67,
862,
5304,
16,
22718,
18,
31487,
3507,
67,
3141,
16,
22718,
18,
14508,
67,
21417,
3631,
2478,
2218,
3662,
4411,
1252,
2187,
805,
2
] |
pilotRef = os.environ['PBS_JOBID'] cliParams.queueName = os.environ['PBS_QUEUE']
|
pilotRef = os.environ['PBS_JOBID'] cliParams.queueName = os.environ['PBS_QUEUE']
|
def executeAndGetOutput( cmd ): try: import subprocess p = subprocess.Popen( "%s" % cmd, shell = True, stdout = subprocess.PIPE, stderr = subprocess.PIPE, close_fds = True ) outData = p.stdout.read().strip() returnCode = p.wait() except ImportError: import popen2 p3 = popen2.Popen3( "%s" % cmd ) outData = p3.fromchild.read().strip() returnCode = p3.wait() return ( returnCode, outData )
|
47c293fe28587532dcc46ce4b1dc8ab0111a614b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/47c293fe28587532dcc46ce4b1dc8ab0111a614b/dirac-pilot.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1836,
14042,
1447,
12,
1797,
262,
30,
775,
30,
1930,
6652,
293,
273,
6652,
18,
52,
3190,
12,
2213,
87,
6,
738,
1797,
16,
5972,
273,
1053,
16,
3909,
273,
6652,
18,
27602,
16,
4514,
273,
6652,
18,
27602,
16,
1746,
67,
74,
2377,
273,
1053,
262,
596,
751,
273,
293,
18,
10283,
18,
896,
7675,
6406,
1435,
24558,
273,
293,
18,
7048,
1435,
1335,
11308,
30,
1930,
30925,
22,
293,
23,
273,
30925,
22,
18,
52,
3190,
23,
12,
2213,
87,
6,
738,
1797,
262,
596,
751,
273,
293,
23,
18,
2080,
3624,
18,
896,
7675,
6406,
1435,
24558,
273,
293,
23,
18,
7048,
1435,
327,
261,
24558,
16,
596,
751,
262,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1836,
14042,
1447,
12,
1797,
262,
30,
775,
30,
1930,
6652,
293,
273,
6652,
18,
52,
3190,
12,
2213,
87,
6,
738,
1797,
16,
5972,
273,
1053,
16,
3909,
273,
6652,
18,
27602,
16,
4514,
273,
6652,
18,
27602,
16,
1746,
67,
74,
2377,
273,
1053,
262,
596,
751,
273,
293,
18,
10283,
18,
896,
7675,
6406,
1435,
24558,
273,
293,
18,
7048,
1435,
1335,
11308,
30,
1930,
30925,
22,
293,
23,
273,
30925,
22,
18,
52,
3190,
23,
12,
2213,
87,
6,
738,
1797,
262,
596,
751,
273,
293,
23,
18,
2080,
3624,
18,
896,
7675,
6406,
1435,
24558,
273,
293,
23,
18,
7048,
1435,
327,
261,
24558,
16,
596,
751,
262,
225,
2,
-100,
-100,
-100,
-100
] |
'name': fields.char('Field name', size=64, required=True),
|
'name': fields.char('Field name', size=64, required=True, translate=True),
|
def name_search(self, cr, user, name, args=None, operator='ilike', context=None, limit=80): if not args: args=[] if not context: context={} if context.get('contact_display', 'contact')=='partner': ids = self.search(cr, user, [('partner_id',operator,name)], limit=limit, context=context) else: ids = self.search(cr, user, [('zip','=',name)] + args, limit=limit, context=context) if not ids: ids = self.search(cr, user, [('city',operator,name)] + args, limit=limit, context=context) if name: ids += self.search(cr, user, [('name',operator,name)] + args, limit=limit, context=context) ids += self.search(cr, user, [('partner_id',operator,name)] + args, limit=limit, context=context) return self.name_get(cr, user, ids, context=context)
|
a365e8e27c4a113423b48ba8f3c2069a30f71562 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12853/a365e8e27c4a113423b48ba8f3c2069a30f71562/partner.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
508,
67,
3072,
12,
2890,
16,
4422,
16,
729,
16,
508,
16,
833,
33,
7036,
16,
3726,
2218,
330,
2547,
2187,
819,
33,
7036,
16,
1800,
33,
3672,
4672,
309,
486,
833,
30,
833,
33,
8526,
309,
486,
819,
30,
819,
12938,
309,
819,
18,
588,
2668,
8994,
67,
5417,
2187,
296,
8994,
6134,
18920,
31993,
4278,
3258,
273,
365,
18,
3072,
12,
3353,
16,
729,
16,
306,
2668,
31993,
67,
350,
2187,
9497,
16,
529,
13,
6487,
1800,
33,
3595,
16,
819,
33,
2472,
13,
469,
30,
3258,
273,
365,
18,
3072,
12,
3353,
16,
729,
16,
306,
2668,
4450,
17023,
33,
2187,
529,
25887,
397,
833,
16,
1800,
33,
3595,
16,
819,
33,
2472,
13,
309,
486,
3258,
30,
3258,
273,
365,
18,
3072,
12,
3353,
16,
729,
16,
306,
2668,
14240,
2187,
9497,
16,
529,
25887,
397,
833,
16,
1800,
33,
3595,
16,
819,
33,
2472,
13,
309,
508,
30,
3258,
1011,
365,
18,
3072,
12,
3353,
16,
729,
16,
306,
2668,
529,
2187,
9497,
16,
529,
25887,
397,
833,
16,
1800,
33,
3595,
16,
819,
33,
2472,
13,
3258,
1011,
365,
18,
3072,
12,
3353,
16,
729,
16,
306,
2668,
31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,
3726,
2218,
330,
2547,
2187,
819,
33,
7036,
16,
1800,
33,
3672,
4672,
309,
486,
833,
30,
833,
33,
8526,
309,
486,
819,
30,
819,
12938,
309,
819,
18,
588,
2668,
8994,
67,
5417,
2187,
296,
8994,
6134,
18920,
31993,
4278,
3258,
273,
365,
18,
3072,
12,
3353,
16,
729,
16,
306,
2668,
31993,
67,
350,
2187,
9497,
16,
529,
13,
6487,
1800,
33,
3595,
16,
819,
33,
2472,
13,
469,
30,
3258,
273,
365,
18,
3072,
12,
3353,
16,
729,
16,
306,
2668,
4450,
17023,
33,
2187,
529,
25887,
397,
833,
16,
1800,
33,
3595,
16,
819,
33,
2472,
13,
309,
2
] |
result.result += "<input type=submit value='Next' name=submit>\n"
|
result.result += "<input type=button value='Next' onclick=\"document.getElementById(\'%s\').value=\'%s\'; document.pyflag_form.submit();\" >\n" % (context, page+1)
|
def wizard_cb(query,result): """ This callback is responsible for managing the wizard popup window """ result.title="Pyflag Wizard %s" % title try: page=int(query[context]) except: page=0 result.heading(names[page]) new_query=query.clone() del new_query[context] del new_query['submit'] result.start_form(new_query) result.start_table()
|
a039766e6eb4d9b8d60fe32c97a4bb68093f662d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5568/a039766e6eb4d9b8d60fe32c97a4bb68093f662d/HTMLUI.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
24204,
67,
7358,
12,
2271,
16,
2088,
4672,
3536,
1220,
1348,
353,
14549,
364,
30632,
326,
24204,
10431,
2742,
3536,
563,
18,
2649,
1546,
9413,
6420,
678,
13412,
738,
87,
6,
738,
2077,
775,
30,
1363,
33,
474,
12,
2271,
63,
2472,
5717,
1335,
30,
1363,
33,
20,
225,
563,
18,
19948,
12,
1973,
63,
2433,
5717,
394,
67,
2271,
33,
2271,
18,
14056,
1435,
1464,
394,
67,
2271,
63,
2472,
65,
1464,
394,
67,
2271,
3292,
9297,
3546,
225,
563,
18,
1937,
67,
687,
12,
2704,
67,
2271,
13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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,
24204,
67,
7358,
12,
2271,
16,
2088,
4672,
3536,
1220,
1348,
353,
14549,
364,
30632,
326,
24204,
10431,
2742,
3536,
563,
18,
2649,
1546,
9413,
6420,
678,
13412,
738,
87,
6,
738,
2077,
775,
30,
1363,
33,
474,
12,
2271,
63,
2472,
5717,
1335,
30,
1363,
33,
20,
225,
563,
18,
19948,
12,
1973,
63,
2433,
5717,
394,
67,
2271,
33,
2271,
18,
14056,
1435,
1464,
394,
67,
2271,
63,
2472,
65,
1464,
394,
67,
2271,
3292,
9297,
3546,
225,
563,
18,
1937,
67,
687,
12,
2704,
67,
2271,
13,
563,
18,
1937,
67,
2121,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
for error in errorList: print "ERROR %s: %s" % error
|
def usage(): print 'Usage: %s <LFN> <SE>' % ( Script.scriptName ) DIRAC.exit( 2 )
|
34c6aa2a724723da370d842cc99ee6a7af0fdac2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/34c6aa2a724723da370d842cc99ee6a7af0fdac2/dirac-dms-lfn-accessURL.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4084,
13332,
1172,
296,
5357,
30,
738,
87,
411,
9105,
50,
34,
411,
1090,
1870,
738,
261,
7739,
18,
4263,
461,
262,
18544,
2226,
18,
8593,
12,
576,
262,
225,
2,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4084,
13332,
1172,
296,
5357,
30,
738,
87,
411,
9105,
50,
34,
411,
1090,
1870,
738,
261,
7739,
18,
4263,
461,
262,
18544,
2226,
18,
8593,
12,
576,
262,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
if (inspect.getmodule(value) or object) is object: classes.append(value)
|
if visible(key) and ( inspect.getmodule(value) or object) is object: classes.append((key, value))
|
def docmodule(self, object): """Produce HTML documentation for a module object.""" name = object.__name__ parts = split(name, '.') links = [] for i in range(len(parts)-1): links.append( '<a href="%s.html"><font color="#ffffff">%s</font></a>' % (join(parts[:i+1], '.'), parts[i])) linkedname = join(links + parts[-1:], '.') head = '<big><big><strong>%s</strong></big></big>' % linkedname try: path = inspect.getabsfile(object) filelink = '<a href="file:%s">%s</a>' % (path, path) except TypeError: filelink = '(built-in)' info = [] if hasattr(object, '__version__'): version = str(object.__version__) if version[:11] == '$' + 'Revision: ' and version[-1:] == '$': version = strip(version[11:-1]) info.append('version %s' % self.escape(version)) if hasattr(object, '__date__'): info.append(self.escape(str(object.__date__))) if info: head = head + ' (%s)' % join(info, ', ') result = self.heading( head, '#ffffff', '#7799ee', '<a href=".">index</a><br>' + filelink)
|
54a838fe1421d6e6829cabc42e7f398722140804 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/54a838fe1421d6e6829cabc42e7f398722140804/pydoc.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
997,
2978,
12,
2890,
16,
733,
4672,
3536,
25884,
3982,
7323,
364,
279,
1605,
733,
12123,
508,
273,
733,
16186,
529,
972,
2140,
273,
1416,
12,
529,
16,
2611,
13,
4716,
273,
5378,
364,
277,
316,
1048,
12,
1897,
12,
6019,
24950,
21,
4672,
4716,
18,
6923,
12,
2368,
69,
3897,
11613,
87,
18,
2620,
14050,
5776,
2036,
1546,
7,
18217,
24038,
87,
1757,
5776,
4695,
69,
1870,
738,
261,
5701,
12,
6019,
10531,
77,
15,
21,
6487,
2611,
3631,
2140,
63,
77,
22643,
8459,
529,
273,
1233,
12,
7135,
397,
2140,
18919,
21,
30,
6487,
2611,
13,
910,
273,
2368,
14002,
4438,
14002,
4438,
9110,
9822,
87,
1757,
9110,
4695,
14002,
4695,
14002,
1870,
738,
8459,
529,
775,
30,
589,
273,
5334,
18,
588,
5113,
768,
12,
1612,
13,
661,
27269,
273,
2368,
69,
3897,
1546,
768,
5319,
87,
24038,
87,
1757,
69,
1870,
738,
261,
803,
16,
589,
13,
1335,
3580,
30,
661,
27269,
273,
7747,
12406,
17,
267,
2506,
1123,
273,
5378,
309,
3859,
12,
1612,
16,
4940,
1589,
7250,
4672,
1177,
273,
609,
12,
1612,
16186,
1589,
972,
13,
309,
1177,
10531,
2499,
65,
422,
11874,
397,
296,
7939,
30,
296,
471,
1177,
18919,
21,
26894,
422,
3365,
4278,
1177,
273,
2569,
12,
1589,
63,
2499,
30,
17,
21,
5717,
1123,
18,
6923,
2668,
1589,
738,
87,
11,
738,
365,
18,
6939,
12,
1589,
3719,
309,
3859,
12,
1612,
16,
4940,
712,
7250,
4672,
1123,
18,
6923,
12,
2890,
18,
6939,
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,
997,
2978,
12,
2890,
16,
733,
4672,
3536,
25884,
3982,
7323,
364,
279,
1605,
733,
12123,
508,
273,
733,
16186,
529,
972,
2140,
273,
1416,
12,
529,
16,
2611,
13,
4716,
273,
5378,
364,
277,
316,
1048,
12,
1897,
12,
6019,
24950,
21,
4672,
4716,
18,
6923,
12,
2368,
69,
3897,
11613,
87,
18,
2620,
14050,
5776,
2036,
1546,
7,
18217,
24038,
87,
1757,
5776,
4695,
69,
1870,
738,
261,
5701,
12,
6019,
10531,
77,
15,
21,
6487,
2611,
3631,
2140,
63,
77,
22643,
8459,
529,
273,
1233,
12,
7135,
397,
2140,
18919,
21,
30,
6487,
2611,
13,
910,
273,
2368,
14002,
4438,
14002,
4438,
9110,
9822,
87,
1757,
9110,
4695,
14002,
4695,
14002,
1870,
738,
8459,
529,
2
] |
def foolish( self ): import pdb; pdb.set_trace() return None _p_jar = property( lambda self: None, foolish )
|
def foolish( self ): import pdb; pdb.set_trace() return None
|
878abcac764b61e85d2c72cfce6f1ce95a1de4b3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4360/878abcac764b61e85d2c72cfce6f1ce95a1de4b3/domain.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
284,
1371,
1468,
12,
365,
262,
30,
1930,
10892,
31,
10892,
18,
542,
67,
5129,
1435,
327,
599,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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,
284,
1371,
1468,
12,
365,
262,
30,
1930,
10892,
31,
10892,
18,
542,
67,
5129,
1435,
327,
599,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
global h_fd
|
global h_fd, debug if debug: print "Removing Handle %s" % str(h_fd)
|
def myRemoveHandle(watch): global h_fd #print "Removing Handle %s" % str(h_fd) mypoll.unregister(h_fd) h_fd = 0 return h_opaque
|
7c99cb93c573104eb9be1261c50dc22894c4ddb2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11279/7c99cb93c573104eb9be1261c50dc22894c4ddb2/event-test.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3399,
3288,
3259,
12,
7585,
4672,
2552,
366,
67,
8313,
468,
1188,
315,
18939,
5004,
738,
87,
6,
738,
609,
12,
76,
67,
8313,
13,
312,
879,
22382,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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,
3399,
3288,
3259,
12,
7585,
4672,
2552,
366,
67,
8313,
468,
1188,
315,
18939,
5004,
738,
87,
6,
738,
609,
12,
76,
67,
8313,
13,
312,
879,
22382,
18,
318,
4861,
12,
76,
67,
8313,
13,
366,
67,
8313,
273,
374,
327,
366,
67,
556,
14886,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
page_url, prev_oldrev, oldrev, _("Previous change"), enabled(oldrev > 1),
|
page_url, "left", prev_oldrev, oldrev, _("Previous change"), enabled(oldrev > 1),
|
def enabled(val): return not val and u' disabled="disabled"' or u''
|
4140ae7b3afc098fc947866f5aab53d4247a00f6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/888/4140ae7b3afc098fc947866f5aab53d4247a00f6/diff.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3696,
12,
1125,
4672,
327,
486,
1244,
471,
582,
11,
5673,
1546,
9278,
5187,
578,
582,
6309,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3696,
12,
1125,
4672,
327,
486,
1244,
471,
582,
11,
5673,
1546,
9278,
5187,
578,
582,
6309,
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
] |
content).replace("/", "_").replace("=", "~")
|
content)[:-1] cookie = cookie.replace("/", "_").replace("=", "~")
|
def sign(self, content): """ Sign the content returning a valid cookie (that does not need to be escaped and quoted). The expiration of this cookie is handled server-side in the auth() function. """ cookie = base64.encodestring( hmac.new(self.secret, content, sha1).digest() + make_time(time.time() + 60*self.timeout) + content).replace("/", "_").replace("=", "~") if len(cookie) > self.maxlen: raise CookieTooLarge(content, cookie) return cookie
|
32d187f5439c756bc0b908e542f637bccd5bb490 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2097/32d187f5439c756bc0b908e542f637bccd5bb490/cookie.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1573,
12,
2890,
16,
913,
4672,
3536,
4383,
326,
913,
5785,
279,
923,
3878,
261,
19056,
1552,
486,
1608,
358,
506,
8345,
471,
9298,
2934,
225,
1021,
7686,
434,
333,
3878,
353,
7681,
1438,
17,
5564,
316,
326,
1357,
1435,
445,
18,
3536,
3878,
273,
1026,
1105,
18,
1331,
1145,
371,
12,
13421,
18,
2704,
12,
2890,
18,
5875,
16,
913,
16,
6056,
21,
2934,
10171,
1435,
397,
1221,
67,
957,
12,
957,
18,
957,
1435,
397,
4752,
14,
2890,
18,
4538,
13,
397,
913,
13,
10531,
17,
21,
65,
3878,
273,
3878,
18,
2079,
2932,
19,
3113,
8802,
2934,
2079,
2932,
1546,
16,
19910,
7923,
309,
562,
12,
8417,
13,
405,
365,
18,
1896,
1897,
30,
1002,
10201,
10703,
20020,
12,
1745,
16,
3878,
13,
327,
3878,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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12,
2890,
16,
913,
4672,
3536,
4383,
326,
913,
5785,
279,
923,
3878,
261,
19056,
1552,
486,
1608,
358,
506,
8345,
471,
9298,
2934,
225,
1021,
7686,
434,
333,
3878,
353,
7681,
1438,
17,
5564,
316,
326,
1357,
1435,
445,
18,
3536,
3878,
273,
1026,
1105,
18,
1331,
1145,
371,
12,
13421,
18,
2704,
12,
2890,
18,
5875,
16,
913,
16,
6056,
21,
2934,
10171,
1435,
397,
1221,
67,
957,
12,
957,
18,
957,
1435,
397,
4752,
14,
2890,
18,
4538,
13,
397,
913,
13,
10531,
17,
21,
65,
3878,
273,
3878,
18,
2079,
2932,
19,
3113,
8802,
2934,
2079,
2932,
1546,
16,
19910,
7923,
309,
562,
12,
8417,
13,
405,
365,
18,
1896,
1897,
30,
1002,
2
] |
if self._tmp_type != {}:
|
if self._tmp_type:
|
def __init__(self, cls, verbosity=0): self._tmp_ivar = {} self._tmp_cvar = {} self._tmp_type = {} ObjDoc.__init__(self, cls, verbosity)
|
065d9e81e0092aa76af93c5f65eb4326d02a3124 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/065d9e81e0092aa76af93c5f65eb4326d02a3124/objdoc.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2028,
16,
11561,
33,
20,
4672,
365,
6315,
5645,
67,
22647,
273,
2618,
365,
6315,
5645,
67,
71,
1401,
273,
2618,
365,
6315,
5645,
67,
723,
273,
2618,
18760,
1759,
16186,
2738,
972,
12,
2890,
16,
2028,
16,
11561,
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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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,
1001,
2738,
972,
12,
2890,
16,
2028,
16,
11561,
33,
20,
4672,
365,
6315,
5645,
67,
22647,
273,
2618,
365,
6315,
5645,
67,
71,
1401,
273,
2618,
365,
6315,
5645,
67,
723,
273,
2618,
18760,
1759,
16186,
2738,
972,
12,
2890,
16,
2028,
16,
11561,
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
] |
if self.exit_name: self.exit_rstr.del_restriction(IdHexRestriction) self.exit_rstr.del_restriction(NickRestriction) if self.exit_name[0] == '$': self.exit_rstr.add_restriction(IdHexRestriction(self.exit_name)) else: self.exit_rstr.add_restriction(NickRestriction(self.exit_name))
|
def reconfigure(self, sorted_r): """This function is called after a configuration change, to rebuild the RestrictionLists.""" if self.use_all_exits: self.path_rstr = PathRestrictionList([UniqueRestriction()]) else: self.path_rstr = PathRestrictionList( [Subnet16Restriction(), UniqueRestriction()]) if self.use_guards: entry_flags = ["Guard", "Valid", "Running"] else: entry_flags = ["Valid", "Running"]
|
4b763ab6ae8784d9f66a654e970b49853ea92450 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3224/4b763ab6ae8784d9f66a654e970b49853ea92450/PathSupport.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
283,
14895,
12,
2890,
16,
3115,
67,
86,
4672,
3536,
2503,
445,
353,
2566,
1839,
279,
1664,
2549,
16,
358,
13419,
326,
1124,
6192,
7432,
12123,
309,
365,
18,
1202,
67,
454,
67,
338,
1282,
30,
365,
18,
803,
67,
86,
701,
273,
2666,
11670,
682,
3816,
6303,
11670,
1435,
5717,
469,
30,
365,
18,
803,
67,
86,
701,
273,
2666,
11670,
682,
12,
306,
9577,
2313,
11670,
9334,
14584,
11670,
1435,
5717,
225,
309,
365,
18,
1202,
67,
6891,
14727,
30,
1241,
67,
7133,
273,
8247,
16709,
3113,
315,
1556,
3113,
315,
7051,
11929,
469,
30,
1241,
67,
7133,
273,
8247,
1556,
3113,
315,
7051,
11929,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
283,
14895,
12,
2890,
16,
3115,
67,
86,
4672,
3536,
2503,
445,
353,
2566,
1839,
279,
1664,
2549,
16,
358,
13419,
326,
1124,
6192,
7432,
12123,
309,
365,
18,
1202,
67,
454,
67,
338,
1282,
30,
365,
18,
803,
67,
86,
701,
273,
2666,
11670,
682,
3816,
6303,
11670,
1435,
5717,
469,
30,
365,
18,
803,
67,
86,
701,
273,
2666,
11670,
682,
12,
306,
9577,
2313,
11670,
9334,
14584,
11670,
1435,
5717,
225,
309,
365,
18,
1202,
67,
6891,
14727,
30,
1241,
67,
7133,
273,
8247,
16709,
3113,
315,
1556,
3113,
315,
7051,
11929,
469,
30,
1241,
67,
7133,
273,
8247,
1556,
3113,
315,
7051,
11929,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
labelFont = QFont( QString("Helvetica"), font_scale)
|
labelFont = QFont( QString("Lucida Grande"), font_scale)
|
def get_screen_position_of_strand_atom(strand_atom): """ For a given strand atom, find its on-screen position. """ axis_atom = strand_atom.axis_neighbor() if axis_atom: mol = axis_atom.molecule axis_atoms = mol.ladder.axis_rail.baseatoms n_bases = len(axis_atoms) pos = axis_atoms.index(axis_atom) atom0 = axis_atom if pos<n_bases-1: atom1 = axis_atoms[pos+1] dpos = atom1.posn()-atom0.posn() else: atom1 = axis_atoms[pos-1] atom2 = axis_atoms[pos] dpos = atom2.posn()-atom1.posn() last_dpos = dpos dvec = norm(cross(dpos,glpane.out)) pos0 = axis_atom.posn()#-mol.center pos1 = pos0+7.0*dvec pos2 = pos0-7.0*dvec if mol.ladder.strand_rails[0].baseatoms[pos]==strand_atom: return pos1 elif mol.ladder.strand_rails[1].baseatoms[pos]==strand_atom: return pos2
|
cbc143d808cf827d03bc69ee526e2fca8459d46d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/cbc143d808cf827d03bc69ee526e2fca8459d46d/DnaCylinderChunks.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
9252,
67,
3276,
67,
792,
67,
701,
464,
67,
7466,
12,
701,
464,
67,
7466,
4672,
3536,
2457,
279,
864,
16706,
3179,
16,
1104,
2097,
603,
17,
9252,
1754,
18,
3536,
2654,
67,
7466,
273,
16706,
67,
7466,
18,
4890,
67,
18168,
1435,
309,
2654,
67,
7466,
30,
12629,
273,
2654,
67,
7466,
18,
81,
10545,
2654,
67,
14937,
273,
12629,
18,
80,
361,
765,
18,
4890,
67,
354,
330,
18,
1969,
14937,
290,
67,
18602,
273,
562,
12,
4890,
67,
14937,
13,
949,
273,
2654,
67,
14937,
18,
1615,
12,
4890,
67,
7466,
13,
3179,
20,
273,
2654,
67,
7466,
309,
949,
32,
82,
67,
18602,
17,
21,
30,
3179,
21,
273,
2654,
67,
14937,
63,
917,
15,
21,
65,
302,
917,
273,
3179,
21,
18,
917,
82,
1435,
17,
7466,
20,
18,
917,
82,
1435,
469,
30,
3179,
21,
273,
2654,
67,
14937,
63,
917,
17,
21,
65,
3179,
22,
273,
2654,
67,
14937,
63,
917,
65,
302,
917,
273,
3179,
22,
18,
917,
82,
1435,
17,
7466,
21,
18,
917,
82,
1435,
1142,
67,
72,
917,
273,
302,
917,
302,
8799,
273,
4651,
12,
14653,
12,
72,
917,
16,
7043,
29009,
18,
659,
3719,
949,
20,
273,
2654,
67,
7466,
18,
917,
82,
1435,
7,
17,
21260,
18,
5693,
949,
21,
273,
949,
20,
15,
27,
18,
20,
14,
72,
8799,
949,
22,
273,
949,
20,
17,
27,
18,
20,
14,
72,
8799,
309,
12629,
18,
80,
361,
765,
18,
701,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
9252,
67,
3276,
67,
792,
67,
701,
464,
67,
7466,
12,
701,
464,
67,
7466,
4672,
3536,
2457,
279,
864,
16706,
3179,
16,
1104,
2097,
603,
17,
9252,
1754,
18,
3536,
2654,
67,
7466,
273,
16706,
67,
7466,
18,
4890,
67,
18168,
1435,
309,
2654,
67,
7466,
30,
12629,
273,
2654,
67,
7466,
18,
81,
10545,
2654,
67,
14937,
273,
12629,
18,
80,
361,
765,
18,
4890,
67,
354,
330,
18,
1969,
14937,
290,
67,
18602,
273,
562,
12,
4890,
67,
14937,
13,
949,
273,
2654,
67,
14937,
18,
1615,
12,
4890,
67,
7466,
13,
3179,
20,
273,
2654,
67,
7466,
309,
949,
32,
82,
67,
18602,
17,
21,
30,
3179,
21,
273,
2654,
67,
14937,
2
] |
window = self.FileOpened.GetPage(self.FileOpened.GetSelection()) selection = window.GetSelection() if selection: index, subIndex = selection if self.Manager.IsCurrentEntry(index): self.HelpBar.SetStatusText("Index: 0x%04X"%index, 0) self.HelpBar.SetStatusText("Subindex: 0x%02X"%subIndex, 1) entryinfos = self.Manager.GetEntryInfos(index) name = entryinfos["name"] category = "Optional" if entryinfos["need"]: category = "Mandatory" struct = "VAR" number = "" if entryinfos["struct"] & OD_IdenticalIndexes: number = " possibly defined %d times"%entryinfos["nbmax"] if entryinfos["struct"] & OD_IdenticalSubindexes: struct = "REC" elif entryinfos["struct"] & OD_MultipleSubindexes: struct = "ARRAY" text = "%s: %s entry of struct %s%s."%(name,category,struct,number) self.HelpBar.SetStatusText(text, 2)
|
selected = self.FileOpened.GetSelection() if selected >= 0: window = self.FileOpened.GetPage(selected) selection = window.GetSelection() if selection: index, subIndex = selection if self.Manager.IsCurrentEntry(index): self.HelpBar.SetStatusText("Index: 0x%04X"%index, 0) self.HelpBar.SetStatusText("Subindex: 0x%02X"%subIndex, 1) entryinfos = self.Manager.GetEntryInfos(index) name = entryinfos["name"] category = "Optional" if entryinfos["need"]: category = "Mandatory" struct = "VAR" number = "" if entryinfos["struct"] & OD_IdenticalIndexes: number = " possibly defined %d times"%entryinfos["nbmax"] if entryinfos["struct"] & OD_IdenticalSubindexes: struct = "REC" elif entryinfos["struct"] & OD_MultipleSubindexes: struct = "ARRAY" text = "%s: %s entry of struct %s%s."%(name,category,struct,number) self.HelpBar.SetStatusText(text, 2) else: for i in xrange(3): self.HelpBar.SetStatusText("", i)
|
def RefreshStatusBar(self): if self.HelpBar: window = self.FileOpened.GetPage(self.FileOpened.GetSelection()) selection = window.GetSelection() if selection: index, subIndex = selection if self.Manager.IsCurrentEntry(index): self.HelpBar.SetStatusText("Index: 0x%04X"%index, 0) self.HelpBar.SetStatusText("Subindex: 0x%02X"%subIndex, 1) entryinfos = self.Manager.GetEntryInfos(index) name = entryinfos["name"] category = "Optional" if entryinfos["need"]: category = "Mandatory" struct = "VAR" number = "" if entryinfos["struct"] & OD_IdenticalIndexes: number = " possibly defined %d times"%entryinfos["nbmax"] if entryinfos["struct"] & OD_IdenticalSubindexes: struct = "REC" elif entryinfos["struct"] & OD_MultipleSubindexes: struct = "ARRAY" text = "%s: %s entry of struct %s%s."%(name,category,struct,number) self.HelpBar.SetStatusText(text, 2) else: for i in xrange(3): self.HelpBar.SetStatusText("", i) else: for i in xrange(3): self.HelpBar.SetStatusText("", i)
|
370987e94d29429ee37db223a45ea7e74b88bda7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11017/370987e94d29429ee37db223a45ea7e74b88bda7/objdictedit.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
14179,
1482,
5190,
12,
2890,
4672,
309,
365,
18,
6696,
5190,
30,
3170,
273,
365,
18,
812,
23115,
18,
967,
6233,
1435,
309,
3170,
1545,
374,
30,
2742,
273,
365,
18,
812,
23115,
18,
967,
1964,
12,
8109,
13,
4421,
273,
2742,
18,
967,
6233,
1435,
309,
4421,
30,
770,
16,
720,
1016,
273,
4421,
309,
365,
18,
1318,
18,
2520,
3935,
1622,
12,
1615,
4672,
365,
18,
6696,
5190,
18,
20547,
1528,
2932,
1016,
30,
374,
92,
9,
3028,
60,
28385,
1615,
16,
374,
13,
365,
18,
6696,
5190,
18,
20547,
1528,
2932,
1676,
1615,
30,
374,
92,
9,
3103,
60,
28385,
1717,
1016,
16,
404,
13,
1241,
18227,
273,
365,
18,
1318,
18,
967,
1622,
7655,
12,
1615,
13,
508,
273,
1241,
18227,
9614,
529,
11929,
3150,
273,
315,
6542,
6,
309,
1241,
18227,
9614,
14891,
11929,
30,
3150,
273,
315,
49,
10018,
6,
1958,
273,
315,
7716,
6,
1300,
273,
1408,
309,
1241,
18227,
9614,
1697,
11929,
473,
531,
40,
67,
6106,
1706,
8639,
30,
1300,
273,
315,
10016,
2553,
738,
72,
4124,
28385,
4099,
18227,
9614,
6423,
1896,
11929,
309,
1241,
18227,
9614,
1697,
11929,
473,
531,
40,
67,
6106,
1706,
1676,
11265,
30,
1958,
273,
315,
862,
39,
6,
1327,
1241,
18227,
9614,
1697,
11929,
473,
531,
40,
67,
8438,
1676,
11265,
30,
1958,
273,
315,
8552,
6,
977,
273,
2213,
87,
30,
738,
87,
1241,
434,
1958,
738,
87,
9,
87,
1199,
17105,
529,
16,
4743,
16,
1697,
16,
2696,
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,
14179,
1482,
5190,
12,
2890,
4672,
309,
365,
18,
6696,
5190,
30,
3170,
273,
365,
18,
812,
23115,
18,
967,
6233,
1435,
309,
3170,
1545,
374,
30,
2742,
273,
365,
18,
812,
23115,
18,
967,
1964,
12,
8109,
13,
4421,
273,
2742,
18,
967,
6233,
1435,
309,
4421,
30,
770,
16,
720,
1016,
273,
4421,
309,
365,
18,
1318,
18,
2520,
3935,
1622,
12,
1615,
4672,
365,
18,
6696,
5190,
18,
20547,
1528,
2932,
1016,
30,
374,
92,
9,
3028,
60,
28385,
1615,
16,
374,
13,
365,
18,
6696,
5190,
18,
20547,
1528,
2932,
1676,
1615,
30,
374,
92,
9,
3103,
60,
28385,
1717,
1016,
16,
404,
13,
1241,
18227,
273,
365,
18,
1318,
18,
967,
1622,
7655,
2
] |
'%s does not appear to be installed, so no managed updates...'
|
'%s does not appear to be installed, so no managed updates...'
|
def processManagedUpdate(manifestitem, cataloglist, installinfo): """Process a managed_updates item to see if it is installed, and if so, if it needs an update. """ manifestitemname = os.path.split(manifestitem)[1] item_pl = getItemDetail(manifestitem, cataloglist) if not item_pl: munkicommon.display_warning( 'Could not process item %s for update: ' % manifestitem) munkicommon.display_warning( 'No pkginfo for %s found in catalogs: %s' % (manifestitem, ', '.join(cataloglist))) return # check to see if item (any version) is already in the installlist: if isItemInInstallInfo(item_pl, installinfo['managed_installs']): munkicommon.display_debug1( '%s has already been processed for install.' % manifestitemname) return # check to see if item (any version) is already in the removallist: if isItemInInstallInfo(item_pl, installinfo['removals']): munkicommon.display_debug1( '%s has already been processed for removal.' % manifestitemname) return # we only offer to update if some version of the item is already # installed, so let's check if someVersionInstalled(item_pl): unused_result = processInstall(manifestitem, cataloglist, installinfo) else: munkicommon.display_debug1( '%s does not appear to be installed, so no managed updates...' % manifestitemname)
|
af1df39f6834265e36f8b18f46507bfb3b18dec1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6241/af1df39f6834265e36f8b18f46507bfb3b18dec1/updatecheck.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1207,
10055,
1891,
12,
14357,
1726,
16,
6222,
1098,
16,
3799,
1376,
4672,
3536,
2227,
279,
7016,
67,
14703,
761,
358,
2621,
309,
518,
353,
5876,
16,
471,
309,
1427,
16,
309,
518,
4260,
392,
1089,
18,
3536,
5643,
1726,
529,
273,
1140,
18,
803,
18,
4939,
12,
14357,
1726,
25146,
21,
65,
761,
67,
412,
273,
8143,
6109,
12,
14357,
1726,
16,
6222,
1098,
13,
225,
309,
486,
761,
67,
412,
30,
312,
1683,
335,
362,
2586,
18,
5417,
67,
8551,
12,
296,
4445,
486,
1207,
761,
738,
87,
364,
1089,
30,
296,
738,
5643,
1726,
13,
312,
1683,
335,
362,
2586,
18,
5417,
67,
8551,
12,
296,
2279,
3475,
1376,
364,
738,
87,
1392,
316,
26455,
30,
738,
87,
11,
738,
261,
14357,
1726,
16,
2265,
2418,
5701,
12,
7199,
1098,
20349,
327,
468,
866,
358,
2621,
309,
761,
261,
2273,
1177,
13,
353,
1818,
316,
326,
3799,
1098,
30,
309,
353,
1180,
382,
6410,
966,
12,
1726,
67,
412,
16,
3799,
1376,
3292,
19360,
67,
5425,
87,
3546,
4672,
312,
1683,
335,
362,
2586,
18,
5417,
67,
4148,
21,
12,
1995,
87,
711,
1818,
2118,
5204,
364,
3799,
1093,
738,
5643,
1726,
529,
13,
327,
468,
866,
358,
2621,
309,
761,
261,
2273,
1177,
13,
353,
1818,
316,
326,
2797,
454,
376,
30,
309,
353,
1180,
382,
6410,
966,
12,
1726,
67,
412,
16,
3799,
1376,
3292,
2764,
1527,
1031,
3546,
4672,
312,
1683,
335,
362,
2586,
18,
5417,
67,
4148,
21,
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,
1207,
10055,
1891,
12,
14357,
1726,
16,
6222,
1098,
16,
3799,
1376,
4672,
3536,
2227,
279,
7016,
67,
14703,
761,
358,
2621,
309,
518,
353,
5876,
16,
471,
309,
1427,
16,
309,
518,
4260,
392,
1089,
18,
3536,
5643,
1726,
529,
273,
1140,
18,
803,
18,
4939,
12,
14357,
1726,
25146,
21,
65,
761,
67,
412,
273,
8143,
6109,
12,
14357,
1726,
16,
6222,
1098,
13,
225,
309,
486,
761,
67,
412,
30,
312,
1683,
335,
362,
2586,
18,
5417,
67,
8551,
12,
296,
4445,
486,
1207,
761,
738,
87,
364,
1089,
30,
296,
738,
5643,
1726,
13,
312,
1683,
335,
362,
2586,
18,
5417,
67,
8551,
12,
296,
2279,
3475,
1376,
364,
738,
87,
1392,
316,
26455,
2
] |
def __init__(self, keyword, choices): Param.__init__(self, keyword)
|
"""Parameter that is restricted to a string from a list of choices, but using the index of the string as the value. A Choice control is its user interface, and the index of the currently selected string is used as the value. """ def __init__(self, keyword, choices, default=None, help=''): Param.__init__(self, keyword, help=help)
|
def __init__(self, keyword, choices): Param.__init__(self, keyword) self.choices = choices self.default = choices[0]
|
1f6160b06a4444687324525ba5d4c2d9892fbf5c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11522/1f6160b06a4444687324525ba5d4c2d9892fbf5c/userparams.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3536,
1662,
716,
353,
15693,
358,
279,
533,
628,
279,
666,
434,
7246,
16,
1496,
1450,
326,
770,
434,
326,
533,
487,
326,
460,
18,
225,
432,
16432,
3325,
353,
2097,
729,
1560,
16,
471,
326,
770,
434,
326,
4551,
3170,
533,
353,
1399,
487,
326,
460,
18,
3536,
1652,
1001,
2738,
972,
12,
2890,
16,
4932,
16,
7246,
16,
805,
33,
7036,
16,
2809,
2218,
11,
4672,
3014,
16186,
2738,
972,
12,
2890,
16,
4932,
16,
2809,
33,
5201,
13,
365,
18,
11937,
273,
7246,
365,
18,
1886,
273,
7246,
63,
20,
65,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3536,
1662,
716,
353,
15693,
358,
279,
533,
628,
279,
666,
434,
7246,
16,
1496,
1450,
326,
770,
434,
326,
533,
487,
326,
460,
18,
225,
432,
16432,
3325,
353,
2097,
729,
1560,
16,
471,
326,
770,
434,
326,
4551,
3170,
533,
353,
1399,
487,
326,
460,
18,
3536,
1652,
1001,
2738,
972,
12,
2890,
16,
4932,
16,
7246,
16,
805,
33,
7036,
16,
2809,
2218,
11,
4672,
3014,
16186,
2738,
972,
12,
2890,
16,
4932,
16,
2809,
33,
5201,
13,
365,
18,
11937,
273,
7246,
365,
18,
1886,
273,
7246,
63,
20,
65,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if self.tools_path == None: logging.error('Lcov converter tool not found') return False self.tools_path = self.tools_path.rstrip('\\') convert_command = ('%s -sym_path=%s -src_root=%s %s' % (os.path.join(self.tools_path, 'coverage_analyzer.exe'), sym_path, src_root, coverage_file)) (retcode, output) = proc.RunCommandFull(convert_command, collect_output=True) if output != 0: logging.error('Conversion to LCOV failed. Exiting.') sys.exit(1) lcov_file = coverage_file + '.lcov' logging.info('Conversion to lcov complete') shutil.copy(lcov_file, upload_path)
|
lcov_file = os.path.join(upload_path, 'chrome_win32_%s.lcov' % (self.revision)) lcov = open(lcov_file, 'w') for coverage_file in list_coverage: if self.tools_path == None: logging.error('Lcov converter tool not found') return False self.tools_path = self.tools_path.rstrip('\\') convert_command = ('%s -sym_path=%s -src_root=%s %s' % (os.path.join(self.tools_path, 'coverage_analyzer.exe'), sym_path, src_root, coverage_file)) (retcode, output) = proc.RunCommandFull(convert_command, collect_output=True) if output != 0: logging.error('Conversion to LCOV failed. Exiting.') sys.exit(1) tmp_lcov_file = coverage_file + '.lcov' logging.info('Conversion to lcov complete for %s' % (coverage_file)) logging.info('Consolidating LCOV file: %s' % (tmp_lcov_file)) tmp_lcov = open(tmp_lcov_file, 'r') lcov.write(tmp_lcov.read()) tmp_lcov.close() lcov.close()
|
def Upload(self, coverage_file, upload_path, sym_path=None, src_root=None): """Upload the results to the dashboard.
|
9c08cda4aa58cfa7cdbb6a02025a1219305ed383 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5060/9c08cda4aa58cfa7cdbb6a02025a1219305ed383/coverage.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
9414,
12,
2890,
16,
11196,
67,
768,
16,
3617,
67,
803,
16,
5382,
67,
803,
33,
7036,
16,
1705,
67,
3085,
33,
7036,
4672,
3536,
4777,
326,
1686,
358,
326,
11825,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
9414,
12,
2890,
16,
11196,
67,
768,
16,
3617,
67,
803,
16,
5382,
67,
803,
33,
7036,
16,
1705,
67,
3085,
33,
7036,
4672,
3536,
4777,
326,
1686,
358,
326,
11825,
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
] |
security.declarePrivate('manage_beforeDelete')
|
security.declarePrivate('manage_afterAdd')
|
def SearchableText(self): """ SeachableText is used for full text seraches of a portal. It should return a concatanation of all useful text. """ return "%s %s" % (self.title, self.description)
|
a5e9f00e10f79a65fcb0ae8a55603f7b9e0614c1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1843/a5e9f00e10f79a65fcb0ae8a55603f7b9e0614c1/Image.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5167,
429,
1528,
12,
2890,
4672,
3536,
3265,
497,
429,
1528,
353,
1399,
364,
1983,
977,
703,
497,
281,
434,
279,
11899,
18,
2597,
1410,
327,
279,
3835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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5167,
429,
1528,
12,
2890,
4672,
3536,
3265,
497,
429,
1528,
353,
1399,
364,
1983,
977,
703,
497,
281,
434,
279,
11899,
18,
2597,
1410,
327,
279,
3835,
304,
367,
434,
777,
5301,
977,
18,
3536,
327,
2213,
87,
738,
87,
6,
738,
261,
2890,
18,
2649,
16,
365,
18,
3384,
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
] |
def __init__(data = None)
|
def __init__(data = None):
|
def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 949) else quickfix.StringField.__init__(self, 949, 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,
2468,
7616,
13,
469,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
2468,
7616,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2468,
7616,
13,
469,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
2468,
7616,
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 reset: self.reset() else: self.get_all()
|
self.reset() self.get_all() if not reset:
|
def __init__(self, name, address, reset=False, change_display=True, change_autozero=True): ''' Initializes the Keithley_2100, and communicates with the wrapper.
|
265cb1c56ac1702dce5e8f50264061e28ac6bc97 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6471/265cb1c56ac1702dce5e8f50264061e28ac6bc97/Keithley_2100.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
508,
16,
1758,
16,
2715,
33,
8381,
16,
2549,
67,
5417,
33,
5510,
16,
2549,
67,
6079,
7124,
33,
5510,
4672,
9163,
10188,
3128,
326,
1475,
73,
483,
30678,
67,
5340,
713,
16,
471,
8391,
8242,
598,
326,
4053,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
508,
16,
1758,
16,
2715,
33,
8381,
16,
2549,
67,
5417,
33,
5510,
16,
2549,
67,
6079,
7124,
33,
5510,
4672,
9163,
10188,
3128,
326,
1475,
73,
483,
30678,
67,
5340,
713,
16,
471,
8391,
8242,
598,
326,
4053,
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
] |
def _cmp(a, b, sh):
|
def _cmp(a, b, sh, abs=abs, cmp=cmp):
|
def _cmp(a, b, sh): try: return not abs(cmp(a, b, sh)) except os.error: return 2
|
cfba4dfc10b1cdf017562bcca7d0a344649d031f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/cfba4dfc10b1cdf017562bcca7d0a344649d031f/filecmp.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
9625,
12,
69,
16,
324,
16,
699,
16,
2417,
33,
5113,
16,
9411,
33,
9625,
4672,
775,
30,
327,
486,
2417,
12,
9625,
12,
69,
16,
324,
16,
699,
3719,
1335,
1140,
18,
1636,
30,
327,
576,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
324,
16,
699,
16,
2417,
33,
5113,
16,
9411,
33,
9625,
4672,
775,
30,
327,
486,
2417,
12,
9625,
12,
69,
16,
324,
16,
699,
3719,
1335,
1140,
18,
1636,
30,
327,
576,
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
] |
for (key, values) in defaultConf.items("): if not key in self.configParser.options(): self.configParser.set("default", key, value)
|
if not configParser.has_section(section): configParser.add_section(section) for (key, value) in self.__class__.defaultConf.items(): if not key in configParser.options(section): configParser.set(section, key, value) return configParser
|
def _load_Files(self): href = os.path.join( self.Get("config_dir", "config") self.configParser = ConfigParser.ConfigParser() if len( self.configParser.read(href)) == 0: print "No conf file find" for (key, values) in defaultConf.items("): if not key in self.configParser.options(): self.configParser.set("default", key, value)
|
7b19abf7d5a6a776a423f65290cc0d136b8b699d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11741/7b19abf7d5a6a776a423f65290cc0d136b8b699d/config.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
945,
67,
2697,
12,
2890,
4672,
3897,
273,
1140,
18,
803,
18,
5701,
12,
365,
18,
967,
2932,
1425,
67,
1214,
3113,
315,
1425,
7923,
225,
365,
18,
1425,
2678,
273,
25076,
18,
809,
2678,
1435,
309,
562,
12,
365,
18,
1425,
2678,
18,
896,
12,
7547,
3719,
422,
374,
30,
1172,
315,
2279,
2195,
585,
1104,
6,
364,
261,
856,
16,
924,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
945,
67,
2697,
12,
2890,
4672,
3897,
273,
1140,
18,
803,
18,
5701,
12,
365,
18,
967,
2932,
1425,
67,
1214,
3113,
315,
1425,
7923,
225,
365,
18,
1425,
2678,
273,
25076,
18,
809,
2678,
1435,
309,
562,
12,
365,
18,
1425,
2678,
18,
896,
12,
7547,
3719,
422,
374,
30,
1172,
315,
2279,
2195,
585,
1104,
6,
364,
261,
856,
16,
924,
13,
316,
805,
3976,
18,
3319,
2932,
4672,
309,
486,
498,
316,
365,
18,
1425,
2678,
18,
2116,
13332,
365,
18,
1425,
2678,
18,
542,
2932,
1886,
3113,
498,
16,
460,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
[1, -alpha - 1]
|
[1, -a - 1]
|
def q_eigenform_character(self, names=None): """ Return the Dirichlet character associated to the specific choice of `q`-eigenform attached to this simple cuspidal modular symbols space.
|
3829f8cd7df880cc5b6fc6bf5c68568cedea8812 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/3829f8cd7df880cc5b6fc6bf5c68568cedea8812/space.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1043,
67,
22663,
275,
687,
67,
11560,
12,
2890,
16,
1257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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1043,
67,
22663,
275,
687,
67,
11560,
12,
2890,
16,
1257,
33,
7036,
4672,
3536,
2000,
326,
8446,
1354,
1810,
3351,
3627,
358,
326,
2923,
6023,
434,
1375,
85,
68,
17,
22663,
275,
687,
7495,
358,
333,
4143,
27964,
6610,
287,
681,
2490,
7963,
3476,
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
] |
try: nodelist.remove(myhostname) except ValueError: pass
|
def _DistributeConfig(self): """Distribute the configuration to the other nodes.
|
6a5b8b4be62fce6794889c36f3b1af5bfa05bd54 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7542/6a5b8b4be62fce6794889c36f3b1af5bfa05bd54/config.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1669,
887,
809,
12,
2890,
4672,
3536,
1669,
887,
326,
1664,
358,
326,
1308,
2199,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1669,
887,
809,
12,
2890,
4672,
3536,
1669,
887,
326,
1664,
358,
326,
1308,
2199,
18,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
self.update_selected_episode_list_icons()
|
util.idle_add(self.update_episode_list_icons, [episode.url for episode in episodes])
|
def sync_to_ipod_thread(self, widget, device, sync_all_episodes, episodes=None): if sync_all_episodes: device.add_tracks(episodes) # 'only_sync_not_played' must be used or else all the played # tracks will be copied then immediately deleted if self.config.mp3_player_delete_played and self.config.only_sync_not_played: self.ipod_delete_played(device) else: device.add_tracks(episodes, force_played=True) device.close() self.update_selected_episode_list_icons()
|
d7bfbb16b0c0005ab836eede27e2863d44cd8da7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12778/d7bfbb16b0c0005ab836eede27e2863d44cd8da7/gui.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3792,
67,
869,
67,
625,
369,
67,
5930,
12,
2890,
16,
3604,
16,
2346,
16,
3792,
67,
454,
67,
881,
27134,
16,
5529,
27134,
33,
7036,
4672,
309,
3792,
67,
454,
67,
881,
27134,
30,
2346,
18,
1289,
67,
21499,
12,
881,
27134,
13,
468,
296,
3700,
67,
8389,
67,
902,
67,
1601,
329,
11,
1297,
506,
1399,
578,
469,
777,
326,
6599,
329,
468,
225,
13933,
903,
506,
9268,
1508,
7636,
4282,
309,
365,
18,
1425,
18,
1291,
23,
67,
14872,
67,
3733,
67,
1601,
329,
471,
365,
18,
1425,
18,
3700,
67,
8389,
67,
902,
67,
1601,
329,
30,
365,
18,
625,
369,
67,
3733,
67,
1601,
329,
12,
5964,
13,
469,
30,
2346,
18,
1289,
67,
21499,
12,
881,
27134,
16,
2944,
67,
1601,
329,
33,
5510,
13,
2346,
18,
4412,
1435,
365,
18,
2725,
67,
8109,
67,
29687,
67,
1098,
67,
14516,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3792,
67,
869,
67,
625,
369,
67,
5930,
12,
2890,
16,
3604,
16,
2346,
16,
3792,
67,
454,
67,
881,
27134,
16,
5529,
27134,
33,
7036,
4672,
309,
3792,
67,
454,
67,
881,
27134,
30,
2346,
18,
1289,
67,
21499,
12,
881,
27134,
13,
468,
296,
3700,
67,
8389,
67,
902,
67,
1601,
329,
11,
1297,
506,
1399,
578,
469,
777,
326,
6599,
329,
468,
225,
13933,
903,
506,
9268,
1508,
7636,
4282,
309,
365,
18,
1425,
18,
1291,
23,
67,
14872,
67,
3733,
67,
1601,
329,
471,
365,
18,
1425,
18,
3700,
67,
8389,
67,
902,
67,
1601,
329,
30,
365,
18,
625,
369,
67,
3733,
67,
1601,
329,
12,
5964,
13,
469,
30,
2346,
18,
1289,
2
] |
start = 'start="0x%x"' % (int (data,16))
|
if data == 'x': start = 'start="FIXME: Broken xml from Atmel!"' else: start = 'start="0x%x"' % (int (data,16))
|
def dump_boot_info (root): path = ['AVRPART', 'MEMORY', 'BOOT_CONFIG'] info = root.getSubTree (path) if info: # The device has bootloader support. data = info.getElements ('NRWW_START_ADDR')[0].getData () if data[0] == '$': data = '0x' + data[1:] nrww_start = 'nrww_start="0x%x"' % (int (data, 16)) data = info.getElements ('NRWW_STOP_ADDR')[0].getData () if data[0] == '$': data = '0x' + data[1:] nrww_end = 'nrww_end="0x%x"' % (int (data, 16)) data = info.getElements ('RWW_START_ADDR')[0].getData () if data[0] == '$': data = '0x' + data[1:] rww_start = 'rww_start="0x%x"' % (int (data, 16)) data = info.getElements ('RWW_STOP_ADDR')[0].getData () if data[0] == '$': data = '0x' + data[1:] rww_end = 'rww_end="0x%x"' % (int (data, 16)) pagesize = 'pagesize="%d"' % ( \ int (info.getElements ('PAGESIZE')[0].getData ())) print ' <bootloader %s %s %s' % (pagesize, nrww_start, nrww_end) print ' %s %s>' % (rww_start, rww_end) for i in range (8): try: mode = info.getElements ('BOOTSZMODE%d' % (i))[0] except IndexError: continue pages = 'pages="%s"' % (mode.getElements ('PAGES')[0].getData ()) data = mode.getElements ('BOOTSTART')[0].getData () if data[0] == '$': data = '0x' + data[1:] start = 'start="0x%x"' % (int (data,16)) print ' <mode num="%d" %s %s />' % (i, pages, start) print ' </bootloader>'
|
65496be2031264614c91230d0175c73a76f32ccd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4046/65496be2031264614c91230d0175c73a76f32ccd/Atmel2libc.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4657,
67,
7137,
67,
1376,
261,
3085,
4672,
589,
273,
10228,
5856,
54,
15055,
2187,
296,
24329,
2187,
296,
30124,
67,
7203,
3546,
225,
1123,
273,
1365,
18,
588,
1676,
2471,
261,
803,
13,
309,
1123,
30,
468,
1021,
2346,
711,
4835,
6714,
2865,
18,
225,
501,
273,
1123,
18,
588,
3471,
7707,
50,
18810,
59,
67,
7570,
67,
14142,
6134,
63,
20,
8009,
588,
751,
1832,
309,
501,
63,
20,
65,
422,
3365,
4278,
501,
273,
296,
20,
92,
11,
397,
501,
63,
21,
26894,
9884,
3107,
67,
1937,
273,
296,
11611,
3107,
67,
1937,
1546,
20,
92,
9,
92,
5187,
738,
261,
474,
261,
892,
16,
2872,
3719,
225,
501,
273,
1123,
18,
588,
3471,
7707,
50,
18810,
59,
67,
17513,
67,
14142,
6134,
63,
20,
8009,
588,
751,
1832,
309,
501,
63,
20,
65,
422,
3365,
4278,
501,
273,
296,
20,
92,
11,
397,
501,
63,
21,
26894,
9884,
3107,
67,
409,
273,
296,
11611,
3107,
67,
409,
1546,
20,
92,
9,
92,
5187,
738,
261,
474,
261,
892,
16,
2872,
3719,
225,
501,
273,
1123,
18,
588,
3471,
7707,
18810,
59,
67,
7570,
67,
14142,
6134,
63,
20,
8009,
588,
751,
1832,
309,
501,
63,
20,
65,
422,
3365,
4278,
501,
273,
296,
20,
92,
11,
397,
501,
63,
21,
26894,
436,
3107,
67,
1937,
273,
296,
86,
3107,
67,
1937,
1546,
20,
92,
9,
92,
5187,
738,
261,
474,
261,
892,
16,
2872,
3719,
225,
501,
273,
1123,
18,
588,
3471,
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,
4657,
67,
7137,
67,
1376,
261,
3085,
4672,
589,
273,
10228,
5856,
54,
15055,
2187,
296,
24329,
2187,
296,
30124,
67,
7203,
3546,
225,
1123,
273,
1365,
18,
588,
1676,
2471,
261,
803,
13,
309,
1123,
30,
468,
1021,
2346,
711,
4835,
6714,
2865,
18,
225,
501,
273,
1123,
18,
588,
3471,
7707,
50,
18810,
59,
67,
7570,
67,
14142,
6134,
63,
20,
8009,
588,
751,
1832,
309,
501,
63,
20,
65,
422,
3365,
4278,
501,
273,
296,
20,
92,
11,
397,
501,
63,
21,
26894,
9884,
3107,
67,
1937,
273,
296,
11611,
3107,
67,
1937,
1546,
20,
92,
9,
92,
5187,
738,
261,
474,
261,
892,
16,
2872,
3719,
225,
501,
273,
1123,
18,
588,
3471,
7707,
2
] |
category_id, state) \ values (%s, %s, %s, %s, %s, %s, %s, %s)', (
|
category_id, state, certificate) \ values (%s, %s, %s, %s, %s, %s, %s, %s, %s)', (
|
def init_db(cr): import addons f = addons.get_module_resource('base', 'base.sql') for line in file_open(f).read().split(';'): if (len(line)>0) and (not line.isspace()): cr.execute(line) cr.commit() for i in addons.get_modules(): terp_file = addons.get_module_resource(i, '__terp__.py') mod_path = addons.get_module_path(i) if not mod_path: continue info = False if os.path.isfile(terp_file) or os.path.isfile(mod_path+'.zip'): info = eval(file_open(terp_file).read()) if info: categs = info.get('category', 'Uncategorized').split('/') p_id = None while categs: if p_id is not None: cr.execute('select id \ from ir_module_category \ where name=%s and parent_id=%s', (categs[0], p_id)) else: cr.execute('select id \ from ir_module_category \ where name=%s and parent_id is NULL', (categs[0],)) c_id = cr.fetchone() if not c_id: cr.execute('select nextval(\'ir_module_category_id_seq\')') c_id = cr.fetchone()[0] cr.execute('insert into ir_module_category \ (id, name, parent_id) \ values (%s, %s, %s)', (c_id, categs[0], p_id)) else: c_id = c_id[0] p_id = c_id categs = categs[1:] active = info.get('active', False) installable = info.get('installable', True) if installable: if active: state = 'to install' else: state = 'uninstalled' else: state = 'uninstallable' cr.execute('select nextval(\'ir_module_module_id_seq\')') id = cr.fetchone()[0] cr.execute('insert into ir_module_module \ (id, author, website, name, shortdesc, description, \ category_id, state) \ values (%s, %s, %s, %s, %s, %s, %s, %s)', ( id, info.get('author', ''), info.get('website', ''), i, info.get('name', False), info.get('description', ''), p_id, state)) cr.execute('insert into ir_model_data \ (name,model,module, res_id) values (%s,%s,%s,%s)', ( 'module_meta_information', 'ir.module.module', i, id)) dependencies = info.get('depends', []) for d in dependencies: cr.execute('insert into ir_module_module_dependency \ (module_id,name) values (%s, %s)', (id, d)) cr.commit()
|
ca6e1c3451e3a2aed75f85039834d84dbbb749d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/ca6e1c3451e3a2aed75f85039834d84dbbb749d3/misc.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1208,
67,
1966,
12,
3353,
4672,
1930,
31439,
284,
273,
31439,
18,
588,
67,
2978,
67,
3146,
2668,
1969,
2187,
296,
1969,
18,
4669,
6134,
364,
980,
316,
585,
67,
3190,
12,
74,
2934,
896,
7675,
4939,
2668,
4359,
4672,
309,
261,
1897,
12,
1369,
13,
34,
20,
13,
471,
261,
902,
980,
18,
1054,
909,
1435,
4672,
4422,
18,
8837,
12,
1369,
13,
4422,
18,
7371,
1435,
225,
364,
277,
316,
31439,
18,
588,
67,
6400,
13332,
19272,
84,
67,
768,
273,
31439,
18,
588,
67,
2978,
67,
3146,
12,
77,
16,
4940,
387,
84,
25648,
2074,
6134,
681,
67,
803,
273,
31439,
18,
588,
67,
2978,
67,
803,
12,
77,
13,
309,
486,
681,
67,
803,
30,
1324,
1123,
273,
1083,
309,
1140,
18,
803,
18,
291,
768,
12,
387,
84,
67,
768,
13,
578,
1140,
18,
803,
18,
291,
768,
12,
1711,
67,
803,
6797,
18,
4450,
11,
4672,
1123,
273,
5302,
12,
768,
67,
3190,
12,
387,
84,
67,
768,
2934,
896,
10756,
309,
1123,
30,
276,
340,
564,
273,
1123,
18,
588,
2668,
4743,
2187,
296,
984,
71,
20252,
1235,
16063,
4939,
2668,
2473,
13,
293,
67,
350,
273,
599,
1323,
276,
340,
564,
30,
309,
293,
67,
350,
353,
486,
599,
30,
4422,
18,
8837,
2668,
4025,
612,
521,
628,
9482,
67,
2978,
67,
4743,
521,
1625,
508,
5095,
87,
471,
982,
67,
350,
5095,
87,
2187,
261,
71,
340,
564,
63,
20,
6487,
293,
67,
350,
3719,
469,
30,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1208,
67,
1966,
12,
3353,
4672,
1930,
31439,
284,
273,
31439,
18,
588,
67,
2978,
67,
3146,
2668,
1969,
2187,
296,
1969,
18,
4669,
6134,
364,
980,
316,
585,
67,
3190,
12,
74,
2934,
896,
7675,
4939,
2668,
4359,
4672,
309,
261,
1897,
12,
1369,
13,
34,
20,
13,
471,
261,
902,
980,
18,
1054,
909,
1435,
4672,
4422,
18,
8837,
12,
1369,
13,
4422,
18,
7371,
1435,
225,
364,
277,
316,
31439,
18,
588,
67,
6400,
13332,
19272,
84,
67,
768,
273,
31439,
18,
588,
67,
2978,
67,
3146,
12,
77,
16,
4940,
387,
84,
25648,
2074,
6134,
681,
67,
803,
273,
31439,
18,
588,
67,
2978,
67,
803,
12,
77,
13,
309,
486,
681,
67,
803,
2
] |
environment = open('/proc/%d/environ' % page.pid, 'r').read().split('\0')
|
environment = open('/proc/%d/environ' % page.pid, 'r').read().split('\0')
|
def selected_cb(terminal, c, row, cb_data): return 1
|
8b3134e082eb3e50149ea7f88b746b58649abe1c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6697/8b3134e082eb3e50149ea7f88b746b58649abe1c/terminal.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3170,
67,
7358,
12,
15979,
16,
276,
16,
1027,
16,
2875,
67,
892,
4672,
327,
404,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
326,
981,
30,
1652,
3170,
67,
7358,
12,
15979,
16,
276,
16,
1027,
16,
2875,
67,
892,
4672,
327,
404,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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.inExampleTable = et
|
self.in_data = et
|
def setExampleTable(self, et): self.inExampleTable = et
|
cd667906d81f50c59a31a1d4e98077bb9b404cc7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6366/cd667906d81f50c59a31a1d4e98077bb9b404cc7/OWPythonScript.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
10908,
1388,
12,
2890,
16,
3393,
4672,
365,
18,
267,
67,
892,
273,
3393,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
10908,
1388,
12,
2890,
16,
3393,
4672,
365,
18,
267,
67,
892,
273,
3393,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if config.use_api and self.targetSite.versionnumber() >= 16: x = self.targetSite.api_address() del x else: raise NotImplementedError
|
raise NotImplementedError
|
def upload_image(self, debug=False): """Gets the image at URL self.url, and uploads it to the target wiki. Returns the filename which was used to upload the image. If the upload fails, the user is asked whether to try again or not. If the user chooses not to retry, returns null. """ try: if config.use_api and self.targetSite.versionnumber() >= 16: x = self.targetSite.api_address() del x else: raise NotImplementedError except NotImplementedError: return self._uploadImageOld(debug) if not hasattr(self,'_contents'): self.read_file_content() filename = self.process_filename() params = { 'action': 'upload', 'token': self.targetSite.getToken(), 'comment': self.description, 'filename': filename, #'': '', } if self.uploadByUrl: params['url'] = self.url else: params['file'] = self._contents if self.ignoreWarning: params['ignorewarnings'] = 1 wikipedia.output(u'Uploading file to %s via API....' % self.targetSite) data = query.GetData(params, self.targetSite) if wikipedia.verbose: wikipedia.output("%s" % data) if 'error' in data: # error occured errCode = data['error']['code'] wikipedia.output("%s" % data) else: data = data['upload'] if data['result'] == u'Warning': #upload success but return warning. warn = data['warnings'].keys()[0] wikipedia.output("We got a warning message:", newline=False) warFn = data['warnings'][warn] if warn == 'duplicate-archive': wikipedia.output("The file is duplicate a deleted file %s." % warFn) elif warn == 'was-deleted': wikipedia.output("This file was deleted for %s." % warFn) elif warn == 'emptyfile': wikipedia.output("File %s is an empty file." % warFn) elif warn == 'exists': wikipedia.output("File %s is exists." % warFn) elif warn == 'duplicate': wikipedia.output("Uploaded file is duplicate with %s." % warFn) elif warn == 'badfilename': wikipedia.output("Target filename is invaild.") elif warn == 'filetype-unwanted-type': wikipedia.output("File %s type is unwatched type." % warFn) answer = wikipedia.inputChoice(u"Do you want to ignore?", ['Yes', 'No'], ['y', 'N'], 'N') if answer == "y": self.ignoreWarning = 1 self.keepFilename = True return self.upload_image(debug) else: wikipedia.output("Upload aborted.") return elif data['result'] == u'Success': #No any warning, upload and online complete. wikipedia.output(u"Upload successful.") return filename #data['filename']
|
e308dead63ad775ca98a647ef922afe1a25830e1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4404/e308dead63ad775ca98a647ef922afe1a25830e1/upload.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3617,
67,
2730,
12,
2890,
16,
1198,
33,
8381,
4672,
3536,
3002,
326,
1316,
622,
1976,
365,
18,
718,
16,
471,
18427,
518,
358,
326,
1018,
9050,
18,
2860,
326,
1544,
1492,
1703,
1399,
358,
3617,
326,
1316,
18,
971,
326,
3617,
6684,
16,
326,
729,
353,
19279,
2856,
358,
775,
3382,
578,
486,
18,
971,
326,
729,
24784,
281,
486,
358,
3300,
16,
1135,
446,
18,
3536,
775,
30,
377,
1002,
11206,
1335,
11206,
30,
327,
365,
6315,
6327,
2040,
7617,
12,
4148,
13,
225,
309,
486,
3859,
12,
2890,
11189,
67,
3980,
11,
4672,
365,
18,
896,
67,
768,
67,
1745,
1435,
225,
1544,
273,
365,
18,
2567,
67,
3459,
1435,
225,
859,
273,
288,
296,
1128,
4278,
296,
6327,
2187,
296,
2316,
4278,
365,
18,
3299,
4956,
18,
588,
1345,
9334,
296,
3469,
4278,
365,
18,
3384,
16,
296,
3459,
4278,
1544,
16,
25767,
4278,
10226,
289,
309,
365,
18,
6327,
858,
1489,
30,
859,
3292,
718,
3546,
273,
365,
18,
718,
469,
30,
859,
3292,
768,
3546,
273,
365,
6315,
3980,
225,
309,
365,
18,
6185,
6210,
30,
859,
3292,
6185,
12103,
3546,
273,
404,
225,
21137,
18,
2844,
12,
89,
11,
4777,
310,
585,
358,
738,
87,
3970,
1491,
6265,
11,
738,
365,
18,
3299,
4956,
13,
225,
501,
273,
843,
18,
967,
751,
12,
2010,
16,
365,
18,
3299,
4956,
13,
225,
309,
21137,
18,
11369,
30,
21137,
18,
2844,
27188,
87,
6,
738,
501,
13,
225,
309,
296,
1636,
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,
3617,
67,
2730,
12,
2890,
16,
1198,
33,
8381,
4672,
3536,
3002,
326,
1316,
622,
1976,
365,
18,
718,
16,
471,
18427,
518,
358,
326,
1018,
9050,
18,
2860,
326,
1544,
1492,
1703,
1399,
358,
3617,
326,
1316,
18,
971,
326,
3617,
6684,
16,
326,
729,
353,
19279,
2856,
358,
775,
3382,
578,
486,
18,
971,
326,
729,
24784,
281,
486,
358,
3300,
16,
1135,
446,
18,
3536,
775,
30,
377,
1002,
11206,
1335,
11206,
30,
327,
365,
6315,
6327,
2040,
7617,
12,
4148,
13,
225,
309,
486,
3859,
12,
2890,
11189,
67,
3980,
11,
4672,
365,
18,
896,
67,
768,
67,
1745,
1435,
225,
1544,
273,
365,
18,
2567,
67,
3459,
1435,
225,
859,
273,
288,
296,
2
] |
Info('Using existing VM image')
|
Info('Using existing VM image %s' % self.vm_image_path)
|
def PrepareBase(self): """Creates an update-able VM based on base image."""
|
113739c109036eaeaecd28548f6eb14962004b5a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9626/113739c109036eaeaecd28548f6eb14962004b5a/cros_au_test_harness.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
7730,
2171,
12,
2890,
4672,
3536,
2729,
392,
1089,
17,
429,
8251,
2511,
603,
1026,
1316,
12123,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
7730,
2171,
12,
2890,
4672,
3536,
2729,
392,
1089,
17,
429,
8251,
2511,
603,
1026,
1316,
12123,
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
] |
raise Exception('Invalid Certificat')
|
raise Exception('Invalid Certificate')
|
def _check_certificat(self, cr, uid, ids): if not ids: return True
|
5418bf7003f9733309f8b82e9ed86e9af25aa71a /local1/tlutelli/issta_data/temp/all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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1893,
67,
71,
2303,
270,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
4672,
309,
486,
3258,
30,
327,
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,
-100,
-100,
-100,
-100
] |
in chapSecrets.items.iterkeys()])
|
in chapSecrets.items['pptpd'].iterkeys()])
|
def _call(self, path, depth, convertToDirList = True): chapSecrets = ChapSecrets() if convertToDirList: return Grimoire.Performer.DirListFilter( path, depth, [(1, [item]) for item in chapSecrets.items.iterkeys()]) return chapSecrets.items
|
71032fff4d9b51a3855c878834a988ac48a49726 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9377/71032fff4d9b51a3855c878834a988ac48a49726/vpn.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1991,
12,
2890,
16,
589,
16,
3598,
16,
8137,
1621,
682,
273,
1053,
4672,
462,
438,
20815,
273,
1680,
438,
20815,
1435,
309,
8137,
1621,
682,
30,
327,
611,
86,
381,
19847,
18,
4990,
264,
18,
1621,
682,
1586,
12,
589,
16,
3598,
16,
306,
12,
21,
16,
306,
1726,
5717,
364,
761,
316,
462,
438,
20815,
18,
3319,
3292,
84,
337,
22353,
29489,
2165,
2452,
1435,
5717,
327,
462,
438,
20815,
18,
3319,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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,
589,
16,
3598,
16,
306,
12,
21,
16,
306,
1726,
5717,
364,
761,
316,
462,
438,
20815,
18,
3319,
3292,
84,
337,
22353,
29489,
2165,
2452,
1435,
5717,
327,
462,
438,
20815,
18,
3319,
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
] |
open('%s/worksheet.txt'%self.__dir, 'w').write(E)
|
open(worksheet_txt, 'w').write(E)
|
def save_snapshot(self, user, E=None): self.uncache_snapshot_data() path = self.snapshot_directory() basename = str(int(time.time())) filename = '%s/%s.bz2'%(path, basename) if E is None: E = self.edit_text() if open('%s/worksheet.txt'%self.__dir).read() == E: # we already wrote it out... return open(filename, 'w').write(bz2.compress(E)) open('%s/worksheet.txt'%self.__dir, 'w').write(E) try: X = self.__saved_by_info except AttributeError: X = {} self.__saved_by_info = X X[basename] = user if self.is_auto_publish(): self.notebook().publish_worksheet(self, user)
|
3e5811b10f5bb211dd322846c47f89e77565bf8a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/3e5811b10f5bb211dd322846c47f89e77565bf8a/worksheet.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1923,
67,
11171,
12,
2890,
16,
729,
16,
512,
33,
7036,
4672,
365,
18,
551,
807,
67,
11171,
67,
892,
1435,
589,
273,
365,
18,
11171,
67,
5149,
1435,
4882,
273,
609,
12,
474,
12,
957,
18,
957,
1435,
3719,
1544,
273,
1995,
87,
5258,
87,
18,
25292,
22,
11,
17105,
803,
16,
4882,
13,
309,
512,
353,
599,
30,
512,
273,
365,
18,
4619,
67,
955,
1435,
309,
1696,
29909,
87,
19,
1252,
8118,
18,
5830,
11,
9,
2890,
16186,
1214,
2934,
896,
1435,
422,
512,
30,
468,
732,
1818,
341,
21436,
518,
596,
2777,
327,
1696,
12,
3459,
16,
296,
91,
16063,
2626,
12,
25292,
22,
18,
14706,
12,
41,
3719,
1696,
12,
1252,
8118,
67,
5830,
16,
296,
91,
16063,
2626,
12,
41,
13,
775,
30,
1139,
273,
365,
16186,
14077,
67,
1637,
67,
1376,
1335,
6394,
30,
1139,
273,
2618,
365,
16186,
14077,
67,
1637,
67,
1376,
273,
1139,
1139,
63,
13909,
65,
273,
729,
309,
365,
18,
291,
67,
6079,
67,
6543,
13332,
365,
18,
24422,
7675,
6543,
67,
1252,
8118,
12,
2890,
16,
729,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1923,
67,
11171,
12,
2890,
16,
729,
16,
512,
33,
7036,
4672,
365,
18,
551,
807,
67,
11171,
67,
892,
1435,
589,
273,
365,
18,
11171,
67,
5149,
1435,
4882,
273,
609,
12,
474,
12,
957,
18,
957,
1435,
3719,
1544,
273,
1995,
87,
5258,
87,
18,
25292,
22,
11,
17105,
803,
16,
4882,
13,
309,
512,
353,
599,
30,
512,
273,
365,
18,
4619,
67,
955,
1435,
309,
1696,
29909,
87,
19,
1252,
8118,
18,
5830,
11,
9,
2890,
16186,
1214,
2934,
896,
1435,
422,
512,
30,
468,
732,
1818,
341,
21436,
518,
596,
2777,
327,
1696,
12,
3459,
16,
296,
91,
16063,
2626,
12,
25292,
22,
18,
14706,
12,
41,
3719,
1696,
12,
1252,
8118,
67,
2
] |
'faultString' : "%s:%s" % (sys.exc_type, sys.exc_value)}
|
'faultString' : "%s:%s" % (exc_type, exc_value)}
|
def system_multicall(self, call_list): """system.multicall([{'methodName': 'add', 'params': [2, 2]}, ...]) => \
|
b303381c9c144da95fae19f5665221483f2a6696 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/b303381c9c144da95fae19f5665221483f2a6696/SimpleXMLRPCServer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2619,
67,
5421,
335,
454,
12,
2890,
16,
745,
67,
1098,
4672,
3536,
4299,
18,
5421,
335,
454,
3816,
27828,
2039,
461,
4278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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2619,
67,
5421,
335,
454,
12,
2890,
16,
745,
67,
1098,
4672,
3536,
4299,
18,
5421,
335,
454,
3816,
27828,
2039,
461,
4278,
296,
1289,
2187,
296,
2010,
4278,
306,
22,
16,
576,
65,
5779,
1372,
5717,
516,
521,
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
] |
return fn(self, *values[1:])
|
try: return fn(self, *values[1:]) except BitmapCreationException, e: log(str(e)) return dict()
|
def dispatch(self, *values): #log('RECEIVED:%s(%d)' % (values[0], len(values[1:]))) fn = self.MESSAGES.get(values[0]) if fn: return fn(self, *values[1:]) else: log("UNKNOWN:%s" % str(values)) return dict(type='unknown', values=values)
|
ee10f6d8901b8e487577888c6f2de97ace2c050f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/ee10f6d8901b8e487577888c6f2de97ace2c050f/servermessage.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3435,
12,
2890,
16,
380,
2372,
4672,
468,
1330,
2668,
27086,
20764,
5319,
87,
9275,
72,
2506,
738,
261,
2372,
63,
20,
6487,
562,
12,
2372,
63,
21,
26894,
20349,
2295,
273,
365,
18,
26195,
18,
588,
12,
2372,
63,
20,
5717,
309,
2295,
30,
775,
30,
327,
2295,
12,
2890,
16,
380,
2372,
63,
21,
30,
5717,
1335,
14764,
9906,
503,
16,
425,
30,
613,
12,
701,
12,
73,
3719,
327,
2065,
1435,
469,
30,
613,
2932,
14737,
5319,
87,
6,
738,
609,
12,
2372,
3719,
327,
2065,
12,
723,
2218,
8172,
2187,
924,
33,
2372,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3435,
12,
2890,
16,
380,
2372,
4672,
468,
1330,
2668,
27086,
20764,
5319,
87,
9275,
72,
2506,
738,
261,
2372,
63,
20,
6487,
562,
12,
2372,
63,
21,
26894,
20349,
2295,
273,
365,
18,
26195,
18,
588,
12,
2372,
63,
20,
5717,
309,
2295,
30,
775,
30,
327,
2295,
12,
2890,
16,
380,
2372,
63,
21,
30,
5717,
1335,
14764,
9906,
503,
16,
425,
30,
613,
12,
701,
12,
73,
3719,
327,
2065,
1435,
469,
30,
613,
2932,
14737,
5319,
87,
6,
738,
609,
12,
2372,
3719,
327,
2065,
12,
723,
2218,
8172,
2187,
924,
33,
2372,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
(len(res), number_of_atoms)
|
(len(res), number_of_atoms)
|
def atoms_in_mmp_file_order(self, mapping = None): #bruce 080321 """ [overrides Chunk method]
|
6495273e1d8c1b0570b3f269aedb8ef509f03cd0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/6495273e1d8c1b0570b3f269aedb8ef509f03cd0/DnaLadderRailChunk.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
9006,
67,
267,
67,
81,
1291,
67,
768,
67,
1019,
12,
2890,
16,
2874,
273,
599,
4672,
468,
2848,
3965,
374,
3672,
1578,
21,
3536,
306,
19775,
13021,
707,
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,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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
] |
5 + 6*j + k
|
11 - i + 4*j + 13*k
|
def random_element(self, *args, **kwds): """ Return a random element of this quaternion algebra.
|
847201ec0c8c2fb99710c5f165a7e692579364eb /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/847201ec0c8c2fb99710c5f165a7e692579364eb/quaternion_algebra.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2744,
67,
2956,
12,
2890,
16,
380,
1968,
16,
2826,
25577,
4672,
3536,
2000,
279,
2744,
930,
434,
333,
26774,
524,
29087,
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,
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0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2744,
67,
2956,
12,
2890,
16,
380,
1968,
16,
2826,
25577,
4672,
3536,
2000,
279,
2744,
930,
434,
333,
26774,
524,
29087,
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
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.