rem
stringlengths 2
226k
| add
stringlengths 0
227k
| context
stringlengths 8
228k
| meta
stringlengths 156
215
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
labeltabColsTitle.pack(side=TOP,anchor=W,padx=5) self.scaleTabCols.pack(side=TOP,padx=5,fill=X)
|
def CreatePageFontTab(self): #tkVars self.fontSize=StringVar(self) self.fontBold=BooleanVar(self) self.fontName=StringVar(self) self.spaceNum=IntVar(self) self.tabCols=IntVar(self) self.indentBySpaces=BooleanVar(self) self.editFont=tkFont.Font(self,('courier',12,'normal')) ##widget creation #body frame frame=self.tabPages.pages['Fonts/Tabs']['page'] #body section frames frameFont=Frame(frame,borderwidth=2,relief=GROOVE) frameIndent=Frame(frame,borderwidth=2,relief=GROOVE) #frameFont labelFontTitle=Label(frameFont,text='Set Base Editor Font') frameFontName=Frame(frameFont) frameFontParam=Frame(frameFont) labelFontNameTitle=Label(frameFontName,justify=LEFT, text='Font :') self.listFontName=Listbox(frameFontName,height=5,takefocus=FALSE, exportselection=FALSE) self.listFontName.bind('<ButtonRelease-1>',self.OnListFontButtonRelease) scrollFont=Scrollbar(frameFontName) scrollFont.config(command=self.listFontName.yview) self.listFontName.config(yscrollcommand=scrollFont.set) labelFontSizeTitle=Label(frameFontParam,text='Size :') self.optMenuFontSize=DynOptionMenu(frameFontParam,self.fontSize,None, command=self.SetFontSample) checkFontBold=Checkbutton(frameFontParam,variable=self.fontBold, onvalue=1,offvalue=0,text='Bold',command=self.SetFontSample) frameFontSample=Frame(frameFont,relief=SOLID,borderwidth=1) self.labelFontSample=Label(frameFontSample, text='AaBbCcDdEe\nFfGgHhIiJjK\n1234567890\n#:+=(){}[]', justify=LEFT,font=self.editFont) #frameIndent labelIndentTitle=Label(frameIndent,text='Set Indentation Defaults') frameIndentType=Frame(frameIndent) frameIndentSize=Frame(frameIndent) labelIndentTypeTitle=Label(frameIndentType, text='Choose indentation type :') radioUseSpaces=Radiobutton(frameIndentType,variable=self.indentBySpaces, value=1,text='Tab key inserts spaces') radioUseTabs=Radiobutton(frameIndentType,variable=self.indentBySpaces, value=0,text='Tab key inserts tabs') labelIndentSizeTitle=Label(frameIndentSize, text='Choose indentation size :') labelSpaceNumTitle=Label(frameIndentSize,justify=LEFT, text='when tab key inserts spaces,\nspaces per tab') self.scaleSpaceNum=Scale(frameIndentSize,variable=self.spaceNum, orient='horizontal',tickinterval=2,from_=2,to=8) labeltabColsTitle=Label(frameIndentSize,justify=LEFT, text='when tab key inserts tabs,\ncolumns per tab') self.scaleTabCols=Scale(frameIndentSize,variable=self.tabCols, orient='horizontal',tickinterval=2,from_=2,to=8) #widget packing #body frameFont.pack(side=LEFT,padx=5,pady=10,expand=TRUE,fill=BOTH) frameIndent.pack(side=LEFT,padx=5,pady=10,fill=Y) #frameFont labelFontTitle.pack(side=TOP,anchor=W,padx=5,pady=5) frameFontName.pack(side=TOP,padx=5,pady=5,fill=X) frameFontParam.pack(side=TOP,padx=5,pady=5,fill=X) labelFontNameTitle.pack(side=TOP,anchor=W) self.listFontName.pack(side=LEFT,expand=TRUE,fill=X) scrollFont.pack(side=LEFT,fill=Y) labelFontSizeTitle.pack(side=LEFT,anchor=W) self.optMenuFontSize.pack(side=LEFT,anchor=W) checkFontBold.pack(side=LEFT,anchor=W,padx=20) frameFontSample.pack(side=TOP,padx=5,pady=5,expand=TRUE,fill=BOTH) self.labelFontSample.pack(expand=TRUE,fill=BOTH) #frameIndent labelIndentTitle.pack(side=TOP,anchor=W,padx=5,pady=5) frameIndentType.pack(side=TOP,padx=5,fill=X) frameIndentSize.pack(side=TOP,padx=5,pady=5,fill=BOTH) labelIndentTypeTitle.pack(side=TOP,anchor=W,padx=5,pady=5) radioUseSpaces.pack(side=TOP,anchor=W,padx=5) radioUseTabs.pack(side=TOP,anchor=W,padx=5) labelIndentSizeTitle.pack(side=TOP,anchor=W,padx=5,pady=5) labelSpaceNumTitle.pack(side=TOP,anchor=W,padx=5) self.scaleSpaceNum.pack(side=TOP,padx=5,fill=X) labeltabColsTitle.pack(side=TOP,anchor=W,padx=5) self.scaleTabCols.pack(side=TOP,padx=5,fill=X) return frame
|
bbfc131c567f0e2a96e25138666f8f75d2d04b8e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/bbfc131c567f0e2a96e25138666f8f75d2d04b8e/configDialog.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1788,
1964,
5711,
5661,
12,
2890,
4672,
468,
16099,
5555,
365,
18,
5776,
1225,
33,
780,
1537,
12,
2890,
13,
365,
18,
5776,
38,
1673,
33,
5507,
1537,
12,
2890,
13,
365,
18,
5776,
461,
33,
780,
1537,
12,
2890,
13,
365,
18,
2981,
2578,
33,
1702,
1537,
12,
2890,
13,
365,
18,
7032,
8011,
33,
1702,
1537,
12,
2890,
13,
365,
18,
9355,
858,
12077,
33,
5507,
1537,
12,
2890,
13,
365,
18,
4619,
5711,
33,
16099,
5711,
18,
5711,
12,
2890,
16,
2668,
71,
24775,
2187,
2138,
11189,
6130,
26112,
7541,
6587,
6710,
468,
3432,
2623,
2623,
33,
2890,
18,
7032,
5716,
18,
7267,
3292,
5711,
87,
19,
17348,
21712,
2433,
3546,
468,
3432,
2442,
7793,
2623,
5711,
33,
3219,
12,
3789,
16,
8815,
2819,
33,
22,
16,
266,
549,
10241,
33,
43,
1457,
51,
3412,
13,
2623,
7790,
33,
3219,
12,
3789,
16,
8815,
2819,
33,
22,
16,
266,
549,
10241,
33,
43,
1457,
51,
3412,
13,
468,
3789,
5711,
1433,
5711,
4247,
33,
2224,
12,
3789,
5711,
16,
955,
2218,
694,
3360,
18451,
10063,
6134,
2623,
5711,
461,
33,
3219,
12,
3789,
5711,
13,
2623,
5711,
786,
33,
3219,
12,
3789,
5711,
13,
1433,
5711,
461,
4247,
33,
2224,
12,
3789,
5711,
461,
16,
3732,
1164,
33,
10066,
16,
977,
2218,
5711,
294,
6134,
365,
18,
1098,
5711,
461,
33,
682,
2147,
12,
3789,
5711,
461,
16,
4210,
33,
25,
16,
22188,
13923,
33,
21053,
16,
3359,
10705,
33,
21053,
13,
365,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1788,
1964,
5711,
5661,
12,
2890,
4672,
468,
16099,
5555,
365,
18,
5776,
1225,
33,
780,
1537,
12,
2890,
13,
365,
18,
5776,
38,
1673,
33,
5507,
1537,
12,
2890,
13,
365,
18,
5776,
461,
33,
780,
1537,
12,
2890,
13,
365,
18,
2981,
2578,
33,
1702,
1537,
12,
2890,
13,
365,
18,
7032,
8011,
33,
1702,
1537,
12,
2890,
13,
365,
18,
9355,
858,
12077,
33,
5507,
1537,
12,
2890,
13,
365,
18,
4619,
5711,
33,
16099,
5711,
18,
5711,
12,
2890,
16,
2668,
71,
24775,
2187,
2138,
11189,
6130,
26112,
7541,
6587,
6710,
468,
3432,
2623,
2623,
33,
2890,
18,
7032,
5716,
18,
7267,
3292,
5711,
87,
19,
17348,
21712,
2433,
3546,
468,
3432,
2442,
7793,
2
] |
|
assert down.m == [(down.cs_made[0], 'booga 3')] down.cs_made[0].send_message('booga 4')
|
assert down.m == [(down.cs_made[1], 'booga 3')] down.cs_made[1].send_message('booga 4')
|
def test_remote_connect_down(): up = DummyTransfer() down = DummyTransfer() s = DummyScheduler() c = Connecter(up, down, s, 5, 6) e = DummyEncrypter() c.set_encrypter(e) dc = DummyConnection('a' * 20) c.got_message(dc, 'upload') assert len(down.cs_made) == 1 and down.cs_made[0].get_id() == 'a' * 20 c.got_message(dc, 'booga') assert down.m == [(down.cs_made[0], 'booga')] del down.m[:] down.cs_made[0].send_message('booga 2') assert dc.m == ['booga 2'] dc2 = DummyConnection('a' * 20) c.got_message(dc2, 'upload') assert len(down.cs_made) == 1 assert dc.closed c.got_message(dc2, 'booga 3') assert down.m == [(down.cs_made[0], 'booga 3')] down.cs_made[0].send_message('booga 4') assert dc2.m == ['booga 4']
|
e515f2d77bfcdfdf465f07113b3fb94b00f492ad /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4538/e515f2d77bfcdfdf465f07113b3fb94b00f492ad/Connecter.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
7222,
67,
3612,
67,
2378,
13332,
731,
273,
28622,
5912,
1435,
2588,
273,
28622,
5912,
1435,
272,
273,
28622,
11870,
1435,
276,
273,
8289,
264,
12,
416,
16,
2588,
16,
272,
16,
1381,
16,
1666,
13,
425,
273,
28622,
13129,
264,
1435,
276,
18,
542,
67,
15890,
264,
12,
73,
13,
225,
6744,
273,
28622,
1952,
2668,
69,
11,
380,
4200,
13,
276,
18,
13212,
67,
2150,
12,
7201,
16,
296,
6327,
6134,
1815,
562,
12,
2378,
18,
2143,
67,
81,
2486,
13,
422,
404,
471,
2588,
18,
2143,
67,
81,
2486,
63,
20,
8009,
588,
67,
350,
1435,
422,
296,
69,
11,
380,
4200,
225,
276,
18,
13212,
67,
2150,
12,
7201,
16,
296,
1075,
717,
69,
6134,
1815,
2588,
18,
81,
422,
306,
12,
2378,
18,
2143,
67,
81,
2486,
63,
20,
6487,
296,
1075,
717,
69,
6134,
65,
1464,
2588,
18,
81,
10531,
65,
225,
2588,
18,
2143,
67,
81,
2486,
63,
20,
8009,
4661,
67,
2150,
2668,
1075,
717,
69,
576,
6134,
1815,
6744,
18,
81,
422,
10228,
1075,
717,
69,
576,
3546,
225,
6744,
22,
273,
28622,
1952,
2668,
69,
11,
380,
4200,
13,
276,
18,
13212,
67,
2150,
12,
7201,
22,
16,
296,
6327,
6134,
1815,
562,
12,
2378,
18,
2143,
67,
81,
2486,
13,
422,
404,
1815,
6744,
18,
12204,
225,
276,
18,
13212,
67,
2150,
12,
7201,
22,
16,
296,
1075,
717,
69,
890,
6134,
1815,
2588,
18,
81,
422,
306,
12,
2378,
18,
2143,
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,
1842,
67,
7222,
67,
3612,
67,
2378,
13332,
731,
273,
28622,
5912,
1435,
2588,
273,
28622,
5912,
1435,
272,
273,
28622,
11870,
1435,
276,
273,
8289,
264,
12,
416,
16,
2588,
16,
272,
16,
1381,
16,
1666,
13,
425,
273,
28622,
13129,
264,
1435,
276,
18,
542,
67,
15890,
264,
12,
73,
13,
225,
6744,
273,
28622,
1952,
2668,
69,
11,
380,
4200,
13,
276,
18,
13212,
67,
2150,
12,
7201,
16,
296,
6327,
6134,
1815,
562,
12,
2378,
18,
2143,
67,
81,
2486,
13,
422,
404,
471,
2588,
18,
2143,
67,
81,
2486,
63,
20,
8009,
588,
67,
350,
1435,
422,
296,
69,
11,
380,
4200,
225,
276,
18,
13212,
67,
2150,
12,
7201,
16,
296,
1075,
2
] |
Result: A list of Category objects on success or a dictionary containing values for the keys, "faultCode" and "faultString".
|
Result: A list of Category objects on success
|
def testplan_update(self, plan_id, name, product_id, type_id, product_version, isactive): """Update An Existing TestPlan.
|
83012e559756373ef19add9ed3d26f1bf779a22c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/231/83012e559756373ef19add9ed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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
7088,
67,
2725,
12,
2890,
16,
4995,
67,
350,
16,
508,
16,
3017,
67,
350,
16,
618,
67,
350,
16,
3017,
67,
1589,
16,
353,
3535,
4672,
3536,
1891,
1922,
28257,
7766,
5365,
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
] |
def perform(self, node, input_storage, output_storage): raise NotImplementedError('only C is implemented')
|
def perform(self, node, input_storage, output_storage): raise NotImplementedError('only C is implemented')
|
f14dc05d6b77472cd0e69b4934e537c2ebbdd4da /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12438/f14dc05d6b77472cd0e69b4934e537c2ebbdd4da/nnet.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3073,
12,
2890,
16,
756,
16,
810,
67,
5697,
16,
876,
67,
5697,
4672,
1002,
11206,
2668,
3700,
385,
353,
8249,
6134,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3073,
12,
2890,
16,
756,
16,
810,
67,
5697,
16,
876,
67,
5697,
4672,
1002,
11206,
2668,
3700,
385,
353,
8249,
6134,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
(identity.current.user_name, self.groupnames))
|
(identity.current.user_name, self.owner_memberships))
|
def _acl_can_be_held_by_user(self, acl, user=None): '''Return true if the user is allowed to hold the specified acl.
|
b28495bbefcf7e8025cf3331820ea585282a7ec1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9953/b28495bbefcf7e8025cf3331820ea585282a7ec1/dispatcher.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
10150,
67,
4169,
67,
2196,
67,
76,
488,
67,
1637,
67,
1355,
12,
2890,
16,
7895,
16,
729,
33,
7036,
4672,
9163,
990,
638,
309,
326,
729,
353,
2935,
358,
6887,
326,
1269,
7895,
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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16,
7895,
16,
729,
33,
7036,
4672,
9163,
990,
638,
309,
326,
729,
353,
2935,
358,
6887,
326,
1269,
7895,
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
] |
gLogger.fatal(errStr,self.name) return S_ERROR(errStr) resDict = {'Failed':failed,'Successful':successful} return S_OK(resDict) def putFile(self,path,sourceSize=0): res = self.checkArgumentFormat(path)
|
gLogger.fatal( errStr, self.name ) return S_ERROR( errStr ) resDict = {'Failed':failed, 'Successful':successful} return S_OK( resDict ) def putFile( self, path, sourceSize = 0 ): res = self.checkArgumentFormat( path )
|
def getFileSize(self,path): """Get the physical size of the given file """ res = self.checkArgumentFormat(path) if not res['OK']: return res urls = res['Value']
|
70e66af095cb6701e39b1e701e4a2ce4d012b4f7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/70e66af095cb6701e39b1e701e4a2ce4d012b4f7/SRM2Storage.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6034,
1225,
12,
2890,
16,
803,
4672,
3536,
967,
326,
11640,
963,
434,
326,
864,
585,
3536,
400,
273,
365,
18,
1893,
1379,
1630,
12,
803,
13,
309,
486,
400,
3292,
3141,
3546,
30,
327,
400,
6903,
273,
400,
3292,
620,
3546,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6034,
1225,
12,
2890,
16,
803,
4672,
3536,
967,
326,
11640,
963,
434,
326,
864,
585,
3536,
400,
273,
365,
18,
1893,
1379,
1630,
12,
803,
13,
309,
486,
400,
3292,
3141,
3546,
30,
327,
400,
6903,
273,
400,
3292,
620,
3546,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
reportToUpdate = inputState.getJobReport()
|
def stageOut(): """ _stageOut_ Main function for this module. Loads data from the task and manages the stage out process for a single attempt """ state = TaskState(os.getcwd()) state.loadRunResDB() workflow = WorkflowSpec() workflow.load(os.environ['PRODAGENT_WORKFLOW_SPEC']) stageOutFor, override, controls = StageOutUtils.getStageOutConfig( workflow, state.taskName()) exitCode = 0 # // # // find inputs by locating the task for which we are staging out #// and loading its TaskState for inputTask in stageOutFor: print "Attempting to stage out files for node %s" % stageOutFor init = True try: inputState = getTaskState(inputTask) inputReport = inputState.getJobReport() except Exception, ex: exitCode = 60311 errRep = inputReport.addError( exitCode, "StageOutInputFailure") errRep['Description'] = " Error loading task state/job report to stage out:\n%s" % str(ex) inputReport.status = "Failed" inputReport.exitCode = ex.data['ErrorCode'] reportToUpdate = inputState.getJobReport() init = False initmgr = True try: if init: manager = StageOutReport(inputReport, override, controls) except StageOutInitError, ex: exitCode = ex.data['ErrorCode'] errRep = inputReport.addError( ex.data['ErrorCode'], ex.data['ErrorType']) errRep['Description'] = ex.message inputReport.status = "Failed" inputReport.exitCode = ex.data['ErrorCode'] reportToUpdate = inputState.getJobReport() initmgr = False try: if init and initmgr: exitCode = manager() reportToUpdate = state.getJobReport() except StageOutFailure, ex: exitCode = ex.data['ErrorCode'] errRep = inputReport.addError( ex.data['ErrorCode'], ex.data['ErrorType']) errRep['Description'] = ex.message inputReport.status = "Failed" inputReport.exitCode = ex.data['ErrorCode'] reportToUpdate = inputState.getJobReport() inputState.saveJobReport() # // # // Update primary job report #// toplevelReport = os.path.join(os.environ['PRODAGENT_JOB_DIR'], "FrameworkJobReport.xml") updateReport(toplevelReport, reportToUpdate) print "Stage Out for %s complete: Return code: %s " % \ (inputTask, exitCode) print "All StageOuts finished: Exiting %s" % exitCode return exitCode
|
e03c0c8527aa1fd1ba74430016f47be0c1c0b073 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8887/e03c0c8527aa1fd1ba74430016f47be0c1c0b073/RuntimeStageOut.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6009,
1182,
13332,
3536,
389,
12869,
1182,
67,
225,
12740,
445,
364,
333,
1605,
18,
4444,
87,
501,
628,
326,
1562,
471,
20754,
281,
326,
6009,
596,
1207,
364,
279,
2202,
4395,
225,
3536,
919,
273,
3837,
1119,
12,
538,
18,
588,
11089,
10756,
919,
18,
945,
1997,
607,
2290,
1435,
225,
6095,
273,
11363,
1990,
1435,
6095,
18,
945,
12,
538,
18,
28684,
3292,
8025,
1212,
15005,
67,
10566,
17430,
67,
13847,
19486,
565,
6009,
1182,
1290,
16,
3849,
16,
11022,
273,
16531,
1182,
1989,
18,
588,
8755,
1182,
809,
12,
6095,
16,
919,
18,
4146,
461,
10756,
282,
16067,
273,
374,
468,
225,
368,
468,
368,
1104,
4540,
635,
1515,
1776,
326,
1562,
364,
1492,
732,
854,
22207,
596,
468,
759,
225,
471,
7153,
2097,
3837,
1119,
364,
810,
2174,
316,
6009,
1182,
1290,
30,
1172,
315,
23089,
358,
6009,
596,
1390,
364,
756,
738,
87,
6,
738,
6009,
1182,
1290,
1208,
273,
1053,
775,
30,
810,
1119,
273,
11478,
1119,
12,
2630,
2174,
13,
810,
4820,
273,
810,
1119,
18,
588,
2278,
4820,
1435,
1335,
1185,
16,
431,
30,
16067,
273,
1666,
4630,
2499,
393,
18933,
273,
810,
4820,
18,
1289,
668,
12,
16067,
16,
315,
8755,
1182,
1210,
5247,
7923,
393,
18933,
3292,
3291,
3546,
273,
315,
1068,
7153,
1562,
919,
19,
4688,
2605,
358,
6009,
596,
5581,
82,
9,
87,
6,
738,
609,
12,
338,
13,
810,
4820,
18,
2327,
273,
315,
2925,
6,
810,
4820,
18,
8593,
1085,
273,
431,
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,
6009,
1182,
13332,
3536,
389,
12869,
1182,
67,
225,
12740,
445,
364,
333,
1605,
18,
4444,
87,
501,
628,
326,
1562,
471,
20754,
281,
326,
6009,
596,
1207,
364,
279,
2202,
4395,
225,
3536,
919,
273,
3837,
1119,
12,
538,
18,
588,
11089,
10756,
919,
18,
945,
1997,
607,
2290,
1435,
225,
6095,
273,
11363,
1990,
1435,
6095,
18,
945,
12,
538,
18,
28684,
3292,
8025,
1212,
15005,
67,
10566,
17430,
67,
13847,
19486,
565,
6009,
1182,
1290,
16,
3849,
16,
11022,
273,
16531,
1182,
1989,
18,
588,
8755,
1182,
809,
12,
6095,
16,
919,
18,
4146,
461,
10756,
282,
16067,
273,
374,
468,
225,
368,
468,
368,
1104,
4540,
635,
1515,
1776,
326,
1562,
364,
1492,
732,
2
] |
|
template = "account/email_validate_email.html"
|
def add(self, user, type, email): """ Add a new validation process entry """ while True: key = User.objects.make_random_password(70) try: Validation.objects.get(key=key) except Validation.DoesNotExist: self.key = key break
|
eb0016dfe4cd52b2bbba09899ffa0fb5cf6cadda /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12976/eb0016dfe4cd52b2bbba09899ffa0fb5cf6cadda/models.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
12,
2890,
16,
729,
16,
618,
16,
2699,
4672,
3536,
1436,
279,
394,
3379,
1207,
1241,
3536,
1323,
1053,
30,
498,
273,
2177,
18,
6911,
18,
6540,
67,
9188,
67,
3664,
12,
7301,
13,
775,
30,
5684,
18,
6911,
18,
588,
12,
856,
33,
856,
13,
1335,
5684,
18,
15264,
30,
365,
18,
856,
273,
498,
898,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
12,
2890,
16,
729,
16,
618,
16,
2699,
4672,
3536,
1436,
279,
394,
3379,
1207,
1241,
3536,
1323,
1053,
30,
498,
273,
2177,
18,
6911,
18,
6540,
67,
9188,
67,
3664,
12,
7301,
13,
775,
30,
5684,
18,
6911,
18,
588,
12,
856,
33,
856,
13,
1335,
5684,
18,
15264,
30,
365,
18,
856,
273,
498,
898,
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
] |
|
cline = cline + " -TRANSWEIGHT=%s" % self.trans_weight
|
cline += " -TRANSWEIGHT=%s" % self.trans_weight
|
def __str__(self): """Write out the command line as a string.""" cline = self.command + " " + self.sequence_file
|
2eec844bd4b813ca4a021c23a58ac4936477a812 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7167/2eec844bd4b813ca4a021c23a58ac4936477a812/__init__.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
701,
972,
12,
2890,
4672,
3536,
3067,
596,
326,
1296,
980,
487,
279,
533,
12123,
927,
558,
273,
365,
18,
3076,
397,
315,
315,
397,
365,
18,
6178,
67,
768,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
701,
972,
12,
2890,
4672,
3536,
3067,
596,
326,
1296,
980,
487,
279,
533,
12123,
927,
558,
273,
365,
18,
3076,
397,
315,
315,
397,
365,
18,
6178,
67,
768,
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
] |
self.printIndented("<Component Id=\"" + componentId + "\" Guid=\"" + guid + "\" DiskId=\"1\">") self.incrementIndent()
|
component = "<Component Id=\"" + componentId + "\" Guid=\"" + guid + "\" DiskId=\"1\"" if self.win64: component += " Win64=\"" + self.win64 + "\"" component += ">" self.printIndented(component) self.incrementIndent()
|
def startComponent(self, componentId, guid): self.printIndented("<Component Id=\"" + componentId + "\" Guid=\"" + guid + "\" DiskId=\"1\">") self.incrementIndent()
|
f73b0c64e753681bdcfe45cab4cfc40cb805f813 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5450/f73b0c64e753681bdcfe45cab4cfc40cb805f813/harvest.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
787,
1841,
12,
2890,
16,
29976,
16,
9875,
4672,
1794,
273,
3532,
1841,
3124,
13186,
397,
29976,
397,
7023,
611,
1911,
13186,
397,
9875,
397,
7023,
12951,
548,
5189,
21,
8530,
309,
365,
18,
8082,
1105,
30,
1794,
1011,
315,
21628,
1105,
13186,
397,
365,
18,
8082,
1105,
397,
11143,
1794,
1011,
14675,
365,
18,
1188,
7790,
329,
12,
4652,
13,
365,
18,
15016,
7790,
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,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
787,
1841,
12,
2890,
16,
29976,
16,
9875,
4672,
1794,
273,
3532,
1841,
3124,
13186,
397,
29976,
397,
7023,
611,
1911,
13186,
397,
9875,
397,
7023,
12951,
548,
5189,
21,
8530,
309,
365,
18,
8082,
1105,
30,
1794,
1011,
315,
21628,
1105,
13186,
397,
365,
18,
8082,
1105,
397,
11143,
1794,
1011,
14675,
365,
18,
1188,
7790,
329,
12,
4652,
13,
365,
18,
15016,
7790,
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
] |
wikipedia.output(newcontent) self.page.put(newcontent, comment = summary)
|
self.page.put(self.content, comment = summary)
|
def handlebadpage(self): try: self.content = self.page.get() except wikipedia.IsRedirectPage: wikipedia.output(u'Already redirected, skipping.') return except wikipedia.NoPage: wikipedia.output(u'Already deleted') return
|
ca708b8e06afe9a610956cccce093f30516019bf /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4404/ca708b8e06afe9a610956cccce093f30516019bf/followlive.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1640,
8759,
2433,
12,
2890,
4672,
775,
30,
365,
18,
1745,
273,
365,
18,
2433,
18,
588,
1435,
1335,
21137,
18,
2520,
5961,
1964,
30,
21137,
18,
2844,
12,
89,
11,
9430,
21808,
16,
14195,
1093,
13,
327,
1335,
21137,
18,
2279,
1964,
30,
21137,
18,
2844,
12,
89,
11,
9430,
4282,
6134,
327,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1640,
8759,
2433,
12,
2890,
4672,
775,
30,
365,
18,
1745,
273,
365,
18,
2433,
18,
588,
1435,
1335,
21137,
18,
2520,
5961,
1964,
30,
21137,
18,
2844,
12,
89,
11,
9430,
21808,
16,
14195,
1093,
13,
327,
1335,
21137,
18,
2279,
1964,
30,
21137,
18,
2844,
12,
89,
11,
9430,
4282,
6134,
327,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
response = IncludedResponse
|
response = IncludedResponse()
|
def activate(self, environ): response = IncludedResponse def start_response(status, headers, exc_info=None): if exc_info: raise exc_info[0], exc_info[1], exc_info[2] response.status = status response.headers = headers return response.write app_iter = self.application(environ, start_response) try: for s in app_iter: response.write(s) finally: if hasattr(app_iter, 'close'): app_iter.close() response.close() return response
|
767dc45a6585a8b9780a8e0936ab28e08e122e9b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2097/767dc45a6585a8b9780a8e0936ab28e08e122e9b/recursive.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10235,
12,
2890,
16,
5473,
4672,
766,
273,
657,
7908,
1064,
1435,
1652,
787,
67,
2740,
12,
2327,
16,
1607,
16,
3533,
67,
1376,
33,
7036,
4672,
309,
3533,
67,
1376,
30,
1002,
3533,
67,
1376,
63,
20,
6487,
3533,
67,
1376,
63,
21,
6487,
3533,
67,
1376,
63,
22,
65,
766,
18,
2327,
273,
1267,
766,
18,
2485,
273,
1607,
327,
766,
18,
2626,
595,
67,
2165,
273,
365,
18,
3685,
12,
28684,
16,
787,
67,
2740,
13,
775,
30,
364,
272,
316,
595,
67,
2165,
30,
766,
18,
2626,
12,
87,
13,
3095,
30,
309,
3859,
12,
2910,
67,
2165,
16,
296,
4412,
11,
4672,
595,
67,
2165,
18,
4412,
1435,
766,
18,
4412,
1435,
327,
766,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10235,
12,
2890,
16,
5473,
4672,
766,
273,
657,
7908,
1064,
1435,
1652,
787,
67,
2740,
12,
2327,
16,
1607,
16,
3533,
67,
1376,
33,
7036,
4672,
309,
3533,
67,
1376,
30,
1002,
3533,
67,
1376,
63,
20,
6487,
3533,
67,
1376,
63,
21,
6487,
3533,
67,
1376,
63,
22,
65,
766,
18,
2327,
273,
1267,
766,
18,
2485,
273,
1607,
327,
766,
18,
2626,
595,
67,
2165,
273,
365,
18,
3685,
12,
28684,
16,
787,
67,
2740,
13,
775,
30,
364,
272,
316,
595,
67,
2165,
30,
766,
18,
2626,
12,
87,
13,
3095,
30,
309,
3859,
12,
2910,
67,
2165,
16,
296,
4412,
11,
4672,
595,
67,
2165,
18,
4412,
1435,
766,
18,
4412,
1435,
327,
2
] |
self.updateProgressMicroStep("generating book descriptions ...", float(title_num*100/len(self.booksByTitle))/100)
|
self.updateProgressMicroStep("Description %d of %d" % \ (title_num, len(self.booksByTitle)), float(title_num*100/len(self.booksByTitle))/100)
|
def generateHTMLDescriptions(self): # Write each title to a separate HTML file in contentdir self.opts.log.info(self.updateProgressFullStep("generateHTMLDescriptions()"))
|
1ce23c231468dc03709ee76c7da814fa41c6e4a7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/1ce23c231468dc03709ee76c7da814fa41c6e4a7/catalog.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2103,
4870,
16844,
12,
2890,
4672,
468,
2598,
1517,
2077,
358,
279,
9004,
3982,
585,
316,
913,
1214,
365,
18,
4952,
18,
1330,
18,
1376,
12,
2890,
18,
2725,
5491,
5080,
4160,
2932,
7163,
4870,
16844,
10031,
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,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16844,
10031,
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
] |
if len(res['Value']) == 0: return S_OK ([])
|
if len( res['Value'] ) == 0: return S_OK ( [] )
|
def getHeartBeatData(self,jobID): """ Retrieve the job's heart beat data """ ret = self._escapeString(jobID) if not ret['OK']: return ret jobID = ret['Value']
|
99c1bc850ba087890925b3180df206f65bb1d4b3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/99c1bc850ba087890925b3180df206f65bb1d4b3/JobDB.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
5256,
485,
1919,
270,
751,
12,
2890,
16,
4688,
734,
4672,
3536,
10708,
326,
1719,
1807,
3904,
485,
23795,
501,
3536,
325,
273,
365,
6315,
6939,
780,
12,
4688,
734,
13,
309,
486,
325,
3292,
3141,
3546,
30,
327,
325,
28913,
273,
325,
3292,
620,
3546,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
5256,
485,
1919,
270,
751,
12,
2890,
16,
4688,
734,
4672,
3536,
10708,
326,
1719,
1807,
3904,
485,
23795,
501,
3536,
325,
273,
365,
6315,
6939,
780,
12,
4688,
734,
13,
309,
486,
325,
3292,
3141,
3546,
30,
327,
325,
28913,
273,
325,
3292,
620,
3546,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
f = open(TESTFN, 'w+') f.write("ABCDEabcde")
|
f = open(TESTFN, 'wb+') f.write(b"ABCDEabcde")
|
def test_move(self): # make move works everywhere (64-bit format problem earlier) f = open(TESTFN, 'w+')
|
d5ab51392e332ac6a7a37b2fca62a82b1aee9ec7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8125/d5ab51392e332ac6a7a37b2fca62a82b1aee9ec7/test_mmap.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
8501,
12,
2890,
4672,
468,
1221,
3635,
6330,
3614,
6051,
261,
1105,
17,
3682,
740,
6199,
13805,
13,
284,
273,
1696,
12,
16961,
19793,
16,
296,
91,
15,
6134,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
8501,
12,
2890,
4672,
468,
1221,
3635,
6330,
3614,
6051,
261,
1105,
17,
3682,
740,
6199,
13805,
13,
284,
273,
1696,
12,
16961,
19793,
16,
296,
91,
15,
6134,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Subgroup of Mordell Weil group: [[1:-1:1], [-2:3:1], [-14:25:8]] In the next example, a serach bound of 12 is needed to find a non-torsin point::
|
Subgroup of Mordell-Weil group: [[1:-1:1], [-2:3:1], [-14:25:8]] In the next example, a search bound of 12 is needed to find a non-torsion point::
|
def search(self, height_limit=18, verbose=False): r""" Search for new points, and add them to this subgroup of the Mordell-Weil group.
|
8b53e056cc765e689493ec9632c441ee03a3206a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/8b53e056cc765e689493ec9632c441ee03a3206a/interface.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1623,
12,
2890,
16,
2072,
67,
3595,
33,
2643,
16,
3988,
33,
8381,
4672,
436,
8395,
5167,
364,
394,
3143,
16,
471,
527,
2182,
358,
333,
720,
1655,
434,
326,
490,
517,
1165,
17,
3218,
330,
1041,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1623,
12,
2890,
16,
2072,
67,
3595,
33,
2643,
16,
3988,
33,
8381,
4672,
436,
8395,
5167,
364,
394,
3143,
16,
471,
527,
2182,
358,
333,
720,
1655,
434,
326,
490,
517,
1165,
17,
3218,
330,
1041,
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
] |
print 'Generating %s %s code...' %("and compiling " and options1.really_compile or "",options1.backend)
|
print 'Generating %s %s code...' %(options1.really_compile and "and compiling " or "",options1.backend)
|
def interpret(): import py from pypy.rpython.llinterp import LLInterpreter py.log.setconsumer("llinterp operation", None) interp = LLInterpreter(t.flowgraphs, t.rtyper) interp.eval_function(entry_point, targetspec_dic['get_llinterp_args']())
|
d245692231799788baf4c2be3bcaecdeb75db6b7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/d245692231799788baf4c2be3bcaecdeb75db6b7/translate_pypy_new.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10634,
13332,
1930,
2395,
628,
18951,
93,
18,
86,
8103,
18,
2906,
24940,
1930,
29863,
30010,
2395,
18,
1330,
18,
542,
13230,
2932,
2906,
24940,
1674,
3113,
599,
13,
8174,
273,
29863,
30010,
12,
88,
18,
2426,
30016,
16,
268,
18,
3797,
8300,
13,
8174,
18,
8622,
67,
915,
12,
4099,
67,
1153,
16,
1018,
2793,
67,
15859,
3292,
588,
67,
2906,
24940,
67,
1968,
3546,
10756,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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,
24940,
1674,
3113,
599,
13,
8174,
273,
29863,
30010,
12,
88,
18,
2426,
30016,
16,
268,
18,
3797,
8300,
13,
8174,
18,
8622,
67,
915,
12,
4099,
67,
1153,
16,
1018,
2793,
67,
15859,
3292,
588,
67,
2906,
24940,
67,
1968,
3546,
10756,
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
] |
elif self.objtype == 'cmember':
|
elif self.objtype == 'member':
|
def get_index_text(self, name): if self.objtype == 'cfunction': return _('%s (C function)') % name elif self.objtype == 'cmember': return _('%s (C member)') % name elif self.objtype == 'cmacro': return _('%s (C macro)') % name elif self.objtype == 'ctype': return _('%s (C type)') % name elif self.objtype == 'cvar': return _('%s (C variable)') % name else: return ''
|
4038f49ca7f8e2aa4e79cdb9d7b8f6eba94d1aeb /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7032/4038f49ca7f8e2aa4e79cdb9d7b8f6eba94d1aeb/c.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
1615,
67,
955,
12,
2890,
16,
508,
4672,
309,
365,
18,
2603,
723,
422,
296,
71,
915,
4278,
327,
389,
29909,
87,
261,
39,
445,
2506,
13,
738,
508,
1327,
365,
18,
2603,
723,
422,
296,
5990,
4278,
327,
389,
29909,
87,
261,
39,
3140,
2506,
13,
738,
508,
1327,
365,
18,
2603,
723,
422,
296,
71,
26448,
4278,
327,
389,
29909,
87,
261,
39,
11522,
2506,
13,
738,
508,
1327,
365,
18,
2603,
723,
422,
296,
12387,
4278,
327,
389,
29909,
87,
261,
39,
618,
2506,
13,
738,
508,
1327,
365,
18,
2603,
723,
422,
296,
71,
1401,
4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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,
336,
67,
1615,
67,
955,
12,
2890,
16,
508,
4672,
309,
365,
18,
2603,
723,
422,
296,
71,
915,
4278,
327,
389,
29909,
87,
261,
39,
445,
2506,
13,
738,
508,
1327,
365,
18,
2603,
723,
422,
296,
5990,
4278,
327,
389,
29909,
87,
261,
39,
3140,
2506,
13,
738,
508,
1327,
365,
18,
2603,
723,
422,
296,
71,
26448,
4278,
327,
389,
29909,
87,
261,
39,
11522,
2506,
13,
738,
508,
1327,
365,
18,
2603,
723,
422,
296,
12387,
4278,
327,
389,
29909,
87,
261,
39,
618,
2506,
13,
738,
508,
1327,
365,
18,
2603,
723,
422,
296,
71,
1401,
4278,
327,
389,
29909,
87,
261,
39,
2190,
2506,
13,
738,
508,
469,
30,
327,
875,
2,
-100
] |
conf.read(f) sects = conf.sections() for sect in sects: if verbose: print "sect:", sect rev_merger(conf.items(sect), use_dict)
|
try: conf.read(f) sects = conf.sections() for sect in sects: if verbose: print "sect:", sect rev_merger(conf.items(sect), use_dict) except: print "!%s is not a valid keyword file"%f import pkg_resources
|
def rev_ini_annotator(use_dict, verbose=True): """ update revert dict by ini files
|
2a50941be1a6c8368a3d1c517506ec114dd7579d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1969/2a50941be1a6c8368a3d1c517506ec114dd7579d/pyzh.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5588,
67,
8767,
67,
18338,
639,
12,
1202,
67,
1576,
16,
3988,
33,
5510,
4672,
3536,
1089,
15226,
2065,
635,
6896,
1390,
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,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5588,
67,
8767,
67,
18338,
639,
12,
1202,
67,
1576,
16,
3988,
33,
5510,
4672,
3536,
1089,
15226,
2065,
635,
6896,
1390,
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
] |
self.assertEqual(p.stderr.read(), "strawberry")
|
self.assertEqual(remove_stderr_debug_decorations(p.stderr.read()), "strawberry")
|
def test_stderr_pipe(self): # stderr redirection p = subprocess.Popen([sys.executable, "-c", 'import sys; sys.stderr.write("strawberry")'], stderr=subprocess.PIPE) self.assertEqual(p.stderr.read(), "strawberry")
|
3061b171f6d3b6e96578be96cafab4c3c44f4f97 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/3061b171f6d3b6e96578be96cafab4c3c44f4f97/test_subprocess.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
11241,
67,
14772,
12,
2890,
4672,
468,
4514,
19611,
293,
273,
6652,
18,
52,
3190,
3816,
9499,
18,
17751,
16,
3701,
71,
3113,
296,
5666,
2589,
31,
2589,
18,
11241,
18,
2626,
2932,
701,
2219,
70,
21938,
31241,
6487,
4514,
33,
1717,
2567,
18,
27602,
13,
365,
18,
11231,
5812,
12,
84,
18,
11241,
18,
896,
9334,
315,
701,
2219,
70,
21938,
7923,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
11241,
67,
14772,
12,
2890,
4672,
468,
4514,
19611,
293,
273,
6652,
18,
52,
3190,
3816,
9499,
18,
17751,
16,
3701,
71,
3113,
296,
5666,
2589,
31,
2589,
18,
11241,
18,
2626,
2932,
701,
2219,
70,
21938,
31241,
6487,
4514,
33,
1717,
2567,
18,
27602,
13,
365,
18,
11231,
5812,
12,
84,
18,
11241,
18,
896,
9334,
315,
701,
2219,
70,
21938,
7923,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
"""
|
"""
|
def flps_invalidate_color_cache(): """ flps_invalidate_color_cache() """ _flps_invalidate_color_cache()
|
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,
1121,
67,
5387,
340,
67,
3266,
67,
2493,
13332,
3536,
1183,
1121,
67,
5387,
340,
67,
3266,
67,
2493,
1435,
3536,
225,
389,
2242,
1121,
67,
5387,
340,
67,
3266,
67,
2493,
1435,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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1435,
282,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
version='0.8.5',
|
version='0.9.0',
|
def publish(): """Publish to PyPi""" os.system("python setup.py sdist upload")
|
8d6e75ad20a2ae56ae7270ff7f4f8943af69e8db /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14944/8d6e75ad20a2ae56ae7270ff7f4f8943af69e8db/setup.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3808,
13332,
3536,
6024,
358,
4707,
16539,
8395,
1140,
18,
4299,
2932,
8103,
3875,
18,
2074,
272,
4413,
3617,
7923,
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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,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3808,
13332,
3536,
6024,
358,
4707,
16539,
8395,
1140,
18,
4299,
2932,
8103,
3875,
18,
2074,
272,
4413,
3617,
7923,
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
] |
def testWindowedRead(self): r = IECore.Reader.create(self.testfile)
|
r = IECore.Reader.create(self.testfile)
|
def testHalf(self):
|
9faa9bf4945d330bb4737cd1f3b3eb60b0ab6258 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9042/9faa9bf4945d330bb4737cd1f3b3eb60b0ab6258/EXRReader.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
16168,
12,
2890,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
16168,
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
] |
self.changexaxis( self["entry1"] ) self.xList.append(self.FullDataList[0][:,0]) try: self.yList.append( eval(yaxis, self.entry)[:,1]) except NameError: self.theSession.printMessage( "name '%s' is not defined \n" % yaxis ) self["entry%i"%num].set_text ('') self.changeyaxis( self["entry%i"%num] ) self.yList.append(['None']) except (SyntaxError,TypeError): self.theSession.printMessage( "'%s' is SyntaxError or TypeError \n" % yaxis ) self["entry%i"%num].set_text ('') self.changeyaxis( self["entry%i"%num] ) self.yList.append(['None']) num += 1 if self.yaxis == None: num = 0 for LoggerData in self.LoggerDataList: if LoggerData == (): pass else:
|
self.changexaxis( self["entry1"] ) self.xList.append(self.FullDataList[0][:,0]) self.yList.append ( self.FullDataList[num][:,1] ) else: num = 2 for yaxis in self.yaxis: if yaxis == '': self.xList.append (['None']) self.yList.append (['None']) else: try: self.xList.append( eval(self.xaxis, self.entry)[:,1]) except NameError: self.theSession.printMessage( "name '%s' is not defined \n" % self.xaxis ) self["entry1"].set_text ('time') self.changexaxis( self["entry1"] ) self.xList.append(self.FullDataList[0][:,0]) except (SyntaxError,TypeError): self.theSession.printMessage( "'%s' is SyntaxError or TypeError\n" % self.xaxis ) self["entry1"].set_text ('time') self.changexaxis( self["entry1"] ) self.xList.append(self.FullDataList[0][:,0]) try: self.yList.append( eval(yaxis, self.entry)[:,1]) except NameError: self.theSession.printMessage( "name '%s' is not defined \n" % yaxis ) self["entry%i"%num].set_text ('') self.changeyaxis( self["entry%i"%num] ) self.yList.append(['None']) except (SyntaxError,TypeError): self.theSession.printMessage( "'%s' is SyntaxError or TypeError \n" % yaxis ) self["entry%i"%num].set_text ('') self.changeyaxis( self["entry%i"%num] ) self.yList.append(['None']) num += 1 if self.yaxis == None: num = 0 for LoggerData in self.LoggerDataList: if LoggerData == (): pass else: if theStateList[num] == 1: self.theDataList[num].set_points( None, None ) else: if self.scale == "log": if min(array(LoggerData)[:,1]) <= 0: self.theSession.printMessage( "value is under 0, set yaxis to linear scale\n" ) self.plot.set_yscale(PLOT_SCALE_LINEAR) self.scale = "linear" self.theDataList[num].set_points( self.xList[num], self.yList[num] ) num += 1 else: num = 0 for yaxis in self.yaxis:
|
def update( self ): if self.arg % 10 == 5: theStateList = self.setStateList() self.updateLoggerDataList() if self.LoggerDataList[0] == (): pass else: self.updateFullDataList() self.xList = [] self.yList = [] if self.xaxis == None or self.xaxis == 'time': if self.yaxis == None: for num in range(len(self.LoggerDataList)): self.xList.append(self.FullDataList[num][:,0]) self.yList.append(self.FullDataList[num][:,1])
|
e25a4482966107fd645b73fd395987a2d02216c7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/e25a4482966107fd645b73fd395987a2d02216c7/TracerWindow.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
12,
365,
262,
30,
309,
365,
18,
3175,
738,
1728,
422,
1381,
30,
326,
1119,
682,
273,
365,
18,
542,
1119,
682,
1435,
365,
18,
2725,
3328,
24274,
1435,
225,
309,
365,
18,
3328,
24274,
63,
20,
65,
422,
1832,
30,
1342,
469,
30,
365,
18,
2725,
5080,
24274,
1435,
365,
18,
92,
682,
273,
5378,
365,
18,
93,
682,
273,
5378,
309,
365,
18,
92,
4890,
422,
599,
578,
365,
18,
92,
4890,
422,
296,
957,
4278,
309,
365,
18,
93,
4890,
422,
599,
30,
364,
818,
316,
1048,
12,
1897,
12,
2890,
18,
3328,
24274,
3719,
30,
365,
18,
92,
682,
18,
6923,
12,
2890,
18,
5080,
24274,
63,
2107,
6362,
30,
16,
20,
5717,
365,
18,
93,
682,
18,
6923,
12,
2890,
18,
5080,
24274,
63,
2107,
6362,
30,
16,
21,
5717,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
12,
365,
262,
30,
309,
365,
18,
3175,
738,
1728,
422,
1381,
30,
326,
1119,
682,
273,
365,
18,
542,
1119,
682,
1435,
365,
18,
2725,
3328,
24274,
1435,
225,
309,
365,
18,
3328,
24274,
63,
20,
65,
422,
1832,
30,
1342,
469,
30,
365,
18,
2725,
5080,
24274,
1435,
365,
18,
92,
682,
273,
5378,
365,
18,
93,
682,
273,
5378,
309,
365,
18,
92,
4890,
422,
599,
578,
365,
18,
92,
4890,
422,
296,
957,
4278,
309,
365,
18,
93,
4890,
422,
599,
30,
364,
818,
316,
1048,
12,
1897,
12,
2890,
18,
3328,
24274,
3719,
30,
365,
18,
92,
682,
18,
6923,
12,
2890,
18,
5080,
24274,
63,
2107,
6362,
30,
16,
20,
5717,
2
] |
global aniVal, rppVal, meshVal, materVal, frameVal, sceneVal, rppBtn, layerBtns, layers global rppBtn, layerBtns, layers, projectName, projectButton
|
global animation, sceneVal, layerBtns, layers, projectName, projectButton
|
def buttonEvent(evt): global aniVal, rppVal, meshVal, materVal, frameVal, sceneVal, rppBtn, layerBtns, layers global rppBtn, layerBtns, layers, projectName, projectButton if evt == 8: projectName = projectButton.val if evt == 1: doExport() if evt == 2: print "Rendering...\n" elif evt == 4: aniVal = 1 - aniVal elif evt == 5: rppVal = rppBtn.val elif evt == 6: for i in range(20): layers[i] = 1 layerBtns[i].val = 1 elif evt == 7: for i in range(20): layers[i] = 0 layerBtns[i].val = 0 elif evt == 10: sceneVal = 1 - sceneVal elif evt == 11: meshVal = 1 - meshVal elif evt == 12: materVal = 1 - materVal elif evt == 13: frameVal = 1 - frameVal elif evt >= layerBase and evt < layerBase + 20: layerNumber = evt - layerBase
|
4592ac1c6506933737691ef09136834b05443979 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1122/4592ac1c6506933737691ef09136834b05443979/adrt.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3568,
1133,
12,
73,
11734,
4672,
2552,
8794,
16,
9065,
3053,
16,
3018,
38,
88,
2387,
16,
6623,
16,
17234,
16,
1984,
3616,
225,
309,
6324,
422,
1725,
30,
17234,
273,
1984,
3616,
18,
1125,
309,
6324,
422,
404,
30,
741,
6144,
1435,
309,
6324,
422,
576,
30,
1172,
315,
14261,
2777,
64,
82,
6,
1327,
6324,
422,
1059,
30,
392,
77,
3053,
273,
404,
300,
392,
77,
3053,
1327,
6324,
422,
1381,
30,
8715,
84,
3053,
273,
8715,
84,
20541,
18,
1125,
1327,
6324,
422,
1666,
30,
364,
277,
316,
1048,
12,
3462,
4672,
6623,
63,
77,
65,
273,
404,
3018,
38,
88,
2387,
63,
77,
8009,
1125,
273,
404,
1327,
6324,
422,
2371,
30,
364,
277,
316,
1048,
12,
3462,
4672,
6623,
63,
77,
65,
273,
374,
3018,
38,
88,
2387,
63,
77,
8009,
1125,
273,
374,
1327,
6324,
422,
1728,
30,
9065,
3053,
273,
404,
300,
9065,
3053,
1327,
6324,
422,
4648,
30,
6986,
3053,
273,
404,
300,
6986,
3053,
1327,
6324,
422,
2593,
30,
312,
2045,
3053,
273,
404,
300,
312,
2045,
3053,
1327,
6324,
422,
5958,
30,
2623,
3053,
273,
404,
300,
2623,
3053,
1327,
6324,
1545,
3018,
2171,
471,
6324,
411,
3018,
2171,
397,
4200,
30,
3018,
1854,
273,
6324,
300,
3018,
2171,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3568,
1133,
12,
73,
11734,
4672,
2552,
8794,
16,
9065,
3053,
16,
3018,
38,
88,
2387,
16,
6623,
16,
17234,
16,
1984,
3616,
225,
309,
6324,
422,
1725,
30,
17234,
273,
1984,
3616,
18,
1125,
309,
6324,
422,
404,
30,
741,
6144,
1435,
309,
6324,
422,
576,
30,
1172,
315,
14261,
2777,
64,
82,
6,
1327,
6324,
422,
1059,
30,
392,
77,
3053,
273,
404,
300,
392,
77,
3053,
1327,
6324,
422,
1381,
30,
8715,
84,
3053,
273,
8715,
84,
20541,
18,
1125,
1327,
6324,
422,
1666,
30,
364,
277,
316,
1048,
12,
3462,
4672,
6623,
63,
77,
65,
273,
404,
3018,
38,
88,
2387,
63,
77,
8009,
1125,
273,
404,
1327,
6324,
422,
2371,
30,
364,
277,
2
] |
paths.append(path + [dep])
|
paths.append(newpath)
|
def filterNodes(self, seedsIn, seedsOut = None, allInBetween = False):
|
f147d159c71527bdeb50ccdc541809b1fc6b4bf2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5315/f147d159c71527bdeb50ccdc541809b1fc6b4bf2/make_grapher.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1034,
3205,
12,
2890,
16,
19076,
382,
16,
19076,
1182,
273,
599,
16,
777,
382,
11831,
273,
1083,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1034,
3205,
12,
2890,
16,
19076,
382,
16,
19076,
1182,
273,
599,
16,
777,
382,
11831,
273,
1083,
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
] |
if encoding is None: stream = open(filename, mode) else: stream = codecs.open(filename, mode, encoding) StreamHandler.__init__(self, stream)
|
def __init__(self, filename, mode='a', encoding=None): """ Open the specified file and use it as the stream for logging. """ if codecs is None: encoding = None if encoding is None: stream = open(filename, mode) else: stream = codecs.open(filename, mode, encoding) StreamHandler.__init__(self, stream) #keep the absolute path, otherwise derived classes which use this #may come a cropper when the current directory changes self.baseFilename = os.path.abspath(filename) self.mode = mode
|
17056c62515b43a5b6239930b4a8f88dfd01401e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3187/17056c62515b43a5b6239930b4a8f88dfd01401e/__init__.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
1544,
16,
1965,
2218,
69,
2187,
2688,
33,
7036,
4672,
3536,
3502,
326,
1269,
585,
471,
999,
518,
487,
326,
1407,
364,
2907,
18,
3536,
309,
17437,
353,
599,
30,
2688,
273,
599,
309,
2688,
353,
599,
30,
1407,
273,
1696,
12,
3459,
16,
1965,
13,
469,
30,
1407,
273,
17437,
18,
3190,
12,
3459,
16,
1965,
16,
2688,
13,
25262,
16186,
2738,
972,
12,
2890,
16,
1407,
13,
468,
10102,
326,
4967,
589,
16,
3541,
10379,
3318,
1492,
999,
333,
468,
24877,
12404,
279,
7987,
457,
1347,
326,
783,
1867,
3478,
365,
18,
1969,
5359,
273,
1140,
18,
803,
18,
5113,
803,
12,
3459,
13,
365,
18,
3188,
273,
1965,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1544,
16,
1965,
2218,
69,
2187,
2688,
33,
7036,
4672,
3536,
3502,
326,
1269,
585,
471,
999,
518,
487,
326,
1407,
364,
2907,
18,
3536,
309,
17437,
353,
599,
30,
2688,
273,
599,
309,
2688,
353,
599,
30,
1407,
273,
1696,
12,
3459,
16,
1965,
13,
469,
30,
1407,
273,
17437,
18,
3190,
12,
3459,
16,
1965,
16,
2688,
13,
25262,
16186,
2738,
972,
12,
2890,
16,
1407,
13,
468,
10102,
326,
4967,
589,
16,
3541,
10379,
3318,
1492,
999,
333,
468,
24877,
12404,
279,
7987,
457,
1347,
326,
783,
1867,
3478,
365,
18,
1969,
5359,
273,
1140,
18,
803,
18,
5113,
803,
12,
3459,
13,
365,
18,
3188,
273,
1965,
2,
-100
] |
|
log.error('File ID ' + str(fileId) + ' not on this FSServer') raise monitors.OmeroFSError('File ID ' + str(fileId) + ' not on this FSServer')
|
log.error('File ID ' + str(fileId) + ' not on this FSServer') raise monitors.OmeroFSError('File ID ' + str(fileId) + ' not on this FSServer')
|
def isDir(self, fileId, current=None): """ Return true if fileId represents a directory. :Parameters: fileId : string A string uniquely identifying a file on this Monitor. current An ICE context, this parameter is required to be present in an ICE interface method. :return: atime :rtype: float """ try: pathString = self._getPathString(fileId) except Exception, e: log.error('File ID ' + str(fileId) + ' not on this FSServer') raise monitors.OmeroFSError('File ID ' + str(fileId) + ' not on this FSServer')
|
c12bc7fb04f687c05f37bb5a6eba2577b9556cda /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12409/c12bc7fb04f687c05f37bb5a6eba2577b9556cda/MonitorServer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
17850,
12,
2890,
16,
21223,
16,
783,
33,
7036,
4672,
3536,
2000,
638,
309,
21223,
8686,
279,
1867,
18,
225,
294,
2402,
30,
21223,
294,
533,
432,
533,
30059,
29134,
279,
585,
603,
333,
14086,
18,
225,
783,
1922,
467,
1441,
819,
16,
333,
1569,
353,
1931,
358,
506,
3430,
316,
392,
467,
1441,
1560,
707,
18,
225,
294,
2463,
30,
622,
494,
294,
86,
723,
30,
1431,
225,
3536,
775,
30,
29307,
273,
365,
6315,
588,
743,
780,
12,
768,
548,
13,
1335,
1185,
16,
425,
30,
613,
18,
1636,
2668,
812,
1599,
225,
296,
397,
609,
12,
768,
548,
13,
397,
296,
486,
603,
333,
9247,
2081,
6134,
1002,
22389,
18,
51,
81,
2439,
4931,
668,
2668,
812,
1599,
225,
296,
397,
609,
12,
768,
548,
13,
397,
296,
486,
603,
333,
9247,
2081,
6134,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
17850,
12,
2890,
16,
21223,
16,
783,
33,
7036,
4672,
3536,
2000,
638,
309,
21223,
8686,
279,
1867,
18,
225,
294,
2402,
30,
21223,
294,
533,
432,
533,
30059,
29134,
279,
585,
603,
333,
14086,
18,
225,
783,
1922,
467,
1441,
819,
16,
333,
1569,
353,
1931,
358,
506,
3430,
316,
392,
467,
1441,
1560,
707,
18,
225,
294,
2463,
30,
622,
494,
294,
86,
723,
30,
1431,
225,
3536,
775,
30,
29307,
273,
365,
6315,
588,
743,
780,
12,
768,
548,
13,
1335,
1185,
16,
425,
30,
613,
18,
1636,
2668,
812,
1599,
225,
296,
397,
609,
12,
768,
548,
13,
397,
296,
486,
603,
333,
9247,
2081,
6134,
1002,
22389,
18,
51,
81,
2439,
4931,
668,
2
] |
num, cluster, password = station num = int(num) station_list[num] = (cluster, password)
|
if station: num, cluster, password = station num = int(num) station_list[num] = (cluster, password)
|
def do_init(configfile): """Load configuration and passwords and set up a logger handler This function will do one-time initialization. By using global variables, we eliminate the need to reread configuration and passwords on every request. """ # set up config global config try: config except NameError: config = ConfigParser.ConfigParser() config.read(configfile) # set up logger if not logger.handlers: file = config.get('General', 'log') + '-wsgi.%d' % os.getpid() handler = logging.handlers.TimedRotatingFileHandler(file, when='midnight', backupCount=14) handler.setFormatter(formatter) logger.addHandler(handler) level = LEVELS.get(config.get('General', 'loglevel'), logging.NOTSET) logger.setLevel(level=level) # read station list global station_list try: station_list except NameError: station_list = {} with open(config.get('General', 'station_list')) as file: reader = csv.reader(file) for station in reader: num, cluster, password = station num = int(num) station_list[num] = (cluster, password)
|
12e09305df3c534ae7cf38793f64ee961ffba626 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11539/12e09305df3c534ae7cf38793f64ee961ffba626/wsgi_app.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
2738,
12,
1425,
768,
4672,
3536,
2563,
1664,
471,
24210,
471,
444,
731,
279,
1194,
1838,
225,
1220,
445,
903,
741,
1245,
17,
957,
10313,
18,
225,
2525,
1450,
2552,
3152,
16,
732,
29529,
326,
1608,
358,
436,
264,
684,
1664,
471,
24210,
603,
3614,
590,
18,
225,
3536,
468,
444,
731,
642,
2552,
642,
775,
30,
642,
1335,
25473,
30,
642,
273,
25076,
18,
809,
2678,
1435,
642,
18,
896,
12,
1425,
768,
13,
225,
468,
444,
731,
1194,
309,
486,
1194,
18,
11046,
30,
585,
273,
642,
18,
588,
2668,
12580,
2187,
296,
1330,
6134,
397,
2400,
28539,
7866,
72,
11,
738,
1140,
18,
588,
6610,
1435,
1838,
273,
2907,
18,
11046,
18,
19336,
8570,
1776,
28942,
12,
768,
16,
1347,
2218,
13138,
18840,
2187,
5114,
1380,
33,
3461,
13,
1838,
18,
542,
5074,
12,
12354,
13,
1194,
18,
1289,
1503,
12,
4176,
13,
1801,
273,
15080,
55,
18,
588,
12,
1425,
18,
588,
2668,
12580,
2187,
296,
28189,
19899,
2907,
18,
4400,
4043,
13,
1194,
18,
542,
2355,
12,
2815,
33,
2815,
13,
225,
468,
855,
13282,
666,
2552,
13282,
67,
1098,
775,
30,
13282,
67,
1098,
1335,
25473,
30,
13282,
67,
1098,
273,
2618,
598,
1696,
12,
1425,
18,
588,
2668,
12580,
2187,
296,
17894,
67,
1098,
26112,
487,
585,
30,
2949,
273,
6101,
18,
10530,
12,
768,
13,
364,
13282,
316,
2949,
30,
309,
13282,
30,
818,
16,
2855,
16,
2201,
273,
13282,
818,
273,
509,
12,
2107,
13,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
2738,
12,
1425,
768,
4672,
3536,
2563,
1664,
471,
24210,
471,
444,
731,
279,
1194,
1838,
225,
1220,
445,
903,
741,
1245,
17,
957,
10313,
18,
225,
2525,
1450,
2552,
3152,
16,
732,
29529,
326,
1608,
358,
436,
264,
684,
1664,
471,
24210,
603,
3614,
590,
18,
225,
3536,
468,
444,
731,
642,
2552,
642,
775,
30,
642,
1335,
25473,
30,
642,
273,
25076,
18,
809,
2678,
1435,
642,
18,
896,
12,
1425,
768,
13,
225,
468,
444,
731,
1194,
309,
486,
1194,
18,
11046,
30,
585,
273,
642,
18,
588,
2668,
12580,
2187,
296,
1330,
6134,
397,
2400,
28539,
7866,
72,
11,
738,
1140,
18,
588,
6610,
1435,
1838,
273,
2907,
18,
11046,
18,
19336,
2
] |
if item.isDeleted(): itemToSelect = master.getRecurrenceID(recurrenceID) or master itemToSelect = itemToSelect.itsItem
|
assert not newMaster.itsItem.isDeleted() occurrence = newMaster.getRecurrenceID(newMaster.recurrenceID) itemToSelect = occurrence.itsItem
|
def SetAttributeValue(self, item, attributeName, value): """ Set the value of the attribute given by the value. """ assert value != RecurrenceAttributeEditor.customIndex # Changing the recurrence period on a non-master item could delete # this very 'item'; we'll try to select the "same" occurrence # afterwards ... assert pim.has_stamp(item, pim.EventStamp) event = pim.EventStamp(item) master = event.getMaster() recurrenceID = event.recurrenceID or event.startTime if value == RecurrenceAttributeEditor.onceIndex: event.removeRecurrence() else: oldIndex = self.GetAttributeValue(event, attributeName) # If nothing has changed, return. This avoids building # a whole new ruleset, and the teardown of occurrences, # as in Bug 5526 if oldIndex == value: return interval = 1 if value == RecurrenceAttributeEditor.biweeklyIndex: interval = 2 value = RecurrenceAttributeEditor.weeklyIndex duFreq = Recurrence.toDateUtilFrequency(\ RecurrenceAttributeEditor.menuFrequencies[value]) rruleset = Recurrence.RecurrenceRuleSet(None, itsView=item.itsView) rruleset.setRuleFromDateUtil(Recurrence.dateutil.rrule.rrule(duFreq, interval=interval)) until = event.getLastUntil() if until is not None: rruleset.rrules.first().until = until elif hasattr(rruleset.rrules.first(), 'until'): del rruleset.rrules.first().until rruleset.rrules.first().untilIsDate = True event.changeThisAndFuture(pim.EventStamp.rruleset.name, rruleset)
|
11b8f583abddac7026bb8148cc6cfa8a4ea1070b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/11b8f583abddac7026bb8148cc6cfa8a4ea1070b/detail.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1000,
14942,
12,
2890,
16,
761,
16,
9734,
16,
460,
4672,
3536,
1000,
326,
460,
434,
326,
1566,
864,
635,
326,
460,
18,
3536,
1815,
460,
480,
868,
17131,
1499,
6946,
18,
3662,
1016,
468,
1680,
18183,
326,
25939,
3879,
603,
279,
1661,
17,
7525,
761,
3377,
1430,
468,
333,
8572,
296,
1726,
13506,
732,
5614,
775,
358,
2027,
326,
315,
14307,
6,
13083,
468,
23838,
1372,
1815,
293,
381,
18,
5332,
67,
14317,
12,
1726,
16,
293,
381,
18,
1133,
8860,
13,
225,
871,
273,
293,
381,
18,
1133,
8860,
12,
1726,
13,
4171,
273,
871,
18,
588,
7786,
1435,
25939,
734,
273,
871,
18,
266,
17131,
734,
578,
871,
18,
1937,
950,
225,
309,
460,
422,
868,
17131,
1499,
6946,
18,
8243,
1016,
30,
871,
18,
4479,
426,
17131,
1435,
469,
30,
1592,
1016,
273,
365,
18,
967,
14942,
12,
2575,
16,
9734,
13,
225,
468,
971,
5083,
711,
3550,
16,
327,
18,
1220,
24192,
10504,
468,
279,
7339,
394,
25303,
16,
471,
326,
28196,
434,
15698,
16,
468,
487,
316,
16907,
21483,
5558,
309,
1592,
1016,
422,
460,
30,
327,
225,
3673,
273,
404,
309,
460,
422,
868,
17131,
1499,
6946,
18,
13266,
10741,
715,
1016,
30,
3673,
273,
576,
460,
273,
868,
17131,
1499,
6946,
18,
10741,
715,
1016,
9978,
14485,
273,
868,
17131,
18,
869,
1626,
1304,
13865,
4713,
868,
17131,
1499,
6946,
18,
5414,
42,
26387,
63,
1132,
5717,
436,
7482,
278,
273,
868,
17131,
18,
426,
17131,
21474,
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,
1000,
14942,
12,
2890,
16,
761,
16,
9734,
16,
460,
4672,
3536,
1000,
326,
460,
434,
326,
1566,
864,
635,
326,
460,
18,
3536,
1815,
460,
480,
868,
17131,
1499,
6946,
18,
3662,
1016,
468,
1680,
18183,
326,
25939,
3879,
603,
279,
1661,
17,
7525,
761,
3377,
1430,
468,
333,
8572,
296,
1726,
13506,
732,
5614,
775,
358,
2027,
326,
315,
14307,
6,
13083,
468,
23838,
1372,
1815,
293,
381,
18,
5332,
67,
14317,
12,
1726,
16,
293,
381,
18,
1133,
8860,
13,
225,
871,
273,
293,
381,
18,
1133,
8860,
12,
1726,
13,
4171,
273,
871,
18,
588,
7786,
1435,
25939,
734,
273,
871,
18,
266,
17131,
734,
578,
871,
18,
1937,
950,
225,
309,
460,
422,
2
] |
if charAfter and chr(charAfter) in "[]{}()" and styleAfter == stc.STC_P_OPERATOR:
|
if charAfter and chr(charAfter) in "[]{}()" and styleAfter == stc.STC_C_OPERATOR:
|
def OnUpdateUI(self, evt): # check for matching braces braceAtCaret = -1 braceOpposite = -1 charBefore = None caretPos = self.GetCurrentPos()
|
50c444321a077c149eeb7545d767e753034d7fb8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11200/50c444321a077c149eeb7545d767e753034d7fb8/Psycollider.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2755,
1891,
5370,
12,
2890,
16,
6324,
4672,
468,
866,
364,
3607,
26852,
22500,
861,
39,
20731,
273,
300,
21,
22500,
3817,
4974,
273,
300,
21,
1149,
4649,
273,
599,
21683,
1616,
273,
365,
18,
967,
3935,
1616,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2755,
1891,
5370,
12,
2890,
16,
6324,
4672,
468,
866,
364,
3607,
26852,
22500,
861,
39,
20731,
273,
300,
21,
22500,
3817,
4974,
273,
300,
21,
1149,
4649,
273,
599,
21683,
1616,
273,
365,
18,
967,
3935,
1616,
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
] |
self.client.server_response(self.server, response, statuscode, headers)
|
self.client.server_response(self.server, response, status, headers)
|
def server_response (self, response, statuscode, headers): """the server got a response""" # Okay, transfer control over to the real client if self.client.connected: config['requests']['valid'] += 1 self.server.client = self.client self.client.server_response(self.server, response, statuscode, headers) else: self.server.client_abort()
|
5aaaf0f8c7cbeb35466459a95e5888072c287921 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3948/5aaaf0f8c7cbeb35466459a95e5888072c287921/ClientServerMatchmaker.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1438,
67,
2740,
261,
2890,
16,
766,
16,
1267,
710,
16,
1607,
4672,
3536,
5787,
1438,
2363,
279,
766,
8395,
468,
16154,
528,
16,
7412,
3325,
1879,
358,
326,
2863,
1004,
309,
365,
18,
2625,
18,
8537,
30,
642,
3292,
11420,
21712,
877,
3546,
1011,
404,
365,
18,
3567,
18,
2625,
273,
365,
18,
2625,
365,
18,
2625,
18,
3567,
67,
2740,
12,
2890,
18,
3567,
16,
766,
16,
1267,
16,
1607,
13,
469,
30,
365,
18,
3567,
18,
2625,
67,
18623,
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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
5787,
1438,
2363,
279,
766,
8395,
468,
16154,
528,
16,
7412,
3325,
1879,
358,
326,
2863,
1004,
309,
365,
18,
2625,
18,
8537,
30,
642,
3292,
11420,
21712,
877,
3546,
1011,
404,
365,
18,
3567,
18,
2625,
273,
365,
18,
2625,
365,
18,
2625,
18,
3567,
67,
2740,
12,
2890,
18,
3567,
16,
766,
16,
1267,
16,
1607,
13,
469,
30,
365,
18,
3567,
18,
2625,
67,
18623,
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
] |
if not lc.IsOk():
|
if lc is None or not lc.IsOk():
|
def setWxLocale(locale, i18nMan): """ Sets the c{wx.Locale} to the value passed in c{str} locale argument.
|
56421d8e0e78b7cbb4f8e9fb940c24150df656c5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/56421d8e0e78b7cbb4f8e9fb940c24150df656c5/i18nmanager.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
59,
92,
3916,
12,
6339,
16,
277,
2643,
82,
5669,
4672,
3536,
11511,
326,
276,
95,
27226,
18,
3916,
97,
358,
326,
460,
2275,
316,
276,
95,
701,
97,
2573,
1237,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
59,
92,
3916,
12,
6339,
16,
277,
2643,
82,
5669,
4672,
3536,
11511,
326,
276,
95,
27226,
18,
3916,
97,
358,
326,
460,
2275,
316,
276,
95,
701,
97,
2573,
1237,
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
] |
response = runner.run(server, (digest, server))
|
runner.run(server, (digest, server))
|
def check(self, args): getopt.getopt(args[1:], '')
|
56b0371912ebd45ae7c0303ca204f2a438aa4ff9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7249/56b0371912ebd45ae7c0303ca204f2a438aa4ff9/client.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
12,
2890,
16,
833,
4672,
336,
3838,
18,
588,
3838,
12,
1968,
63,
21,
30,
6487,
28707,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
12,
2890,
16,
833,
4672,
336,
3838,
18,
588,
3838,
12,
1968,
63,
21,
30,
6487,
28707,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 lfn,fileID in res['Value']:
|
for lfn, fileID in res['Value']:
|
def getTransformationProblematics(self,transID): req = "SELECT LFN,FileID FROM Problematics WHERE Status = 'New' AND LFN LIKE '%s/%s/%s';" % ('%',('%8.f' % prodID).replace(' ','0'),'%') res = self._query(req) if not res['OK']: return res problematics = {} for lfn,fileID in res['Value']: problematics[lfn] = fileID return S_OK(problematics)
|
c0ad35468416f798369c9462d5f8a11a19686a43 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/c0ad35468416f798369c9462d5f8a11a19686a43/DataIntegrityDB.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
15292,
13719,
270,
2102,
12,
2890,
16,
2338,
734,
4672,
1111,
273,
315,
4803,
18803,
50,
16,
812,
734,
4571,
21685,
270,
2102,
4852,
2685,
273,
296,
1908,
11,
4116,
18803,
50,
13161,
1995,
87,
5258,
87,
5258,
87,
11,
4868,
738,
7707,
9,
2187,
29909,
28,
18,
74,
11,
738,
10791,
734,
2934,
2079,
2668,
3316,
20,
19899,
11,
9,
6134,
400,
273,
365,
6315,
2271,
12,
3658,
13,
309,
486,
400,
3292,
3141,
3546,
30,
327,
400,
6199,
270,
2102,
273,
2618,
364,
328,
4293,
16,
585,
734,
316,
400,
3292,
620,
3546,
30,
6199,
270,
2102,
63,
80,
4293,
65,
273,
585,
734,
327,
348,
67,
3141,
12,
18968,
270,
2102,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
15292,
13719,
270,
2102,
12,
2890,
16,
2338,
734,
4672,
1111,
273,
315,
4803,
18803,
50,
16,
812,
734,
4571,
21685,
270,
2102,
4852,
2685,
273,
296,
1908,
11,
4116,
18803,
50,
13161,
1995,
87,
5258,
87,
5258,
87,
11,
4868,
738,
7707,
9,
2187,
29909,
28,
18,
74,
11,
738,
10791,
734,
2934,
2079,
2668,
3316,
20,
19899,
11,
9,
6134,
400,
273,
365,
6315,
2271,
12,
3658,
13,
309,
486,
400,
3292,
3141,
3546,
30,
327,
400,
6199,
270,
2102,
273,
2618,
364,
328,
4293,
16,
585,
734,
316,
400,
3292,
620,
3546,
30,
6199,
270,
2102,
63,
80,
4293,
65,
273,
585,
734,
327,
348,
67,
3141,
12,
18968,
270,
2102,
13,
2,
-100,
-100
] |
if empty_to_zero and index == '':
|
if empty_to_zero and not index:
|
def _index_to_int(self, index, empty_to_zero=False): if empty_to_zero and index == '': return 0 try: return int(index) except ValueError: raise ValueError("Cannot convert index '%s' to an integer" % index)
|
1a30ca3f7347244c59d0f784ad3f1162492374e1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7408/1a30ca3f7347244c59d0f784ad3f1162492374e1/Collections.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1615,
67,
869,
67,
474,
12,
2890,
16,
770,
16,
1008,
67,
869,
67,
7124,
33,
8381,
4672,
309,
1008,
67,
869,
67,
7124,
471,
486,
770,
30,
327,
374,
775,
30,
327,
509,
12,
1615,
13,
1335,
2068,
30,
1002,
2068,
2932,
4515,
1765,
770,
1995,
87,
11,
358,
392,
3571,
6,
738,
770,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
1615,
67,
869,
67,
474,
12,
2890,
16,
770,
16,
1008,
67,
869,
67,
7124,
33,
8381,
4672,
309,
1008,
67,
869,
67,
7124,
471,
486,
770,
30,
327,
374,
775,
30,
327,
509,
12,
1615,
13,
1335,
2068,
30,
1002,
2068,
2932,
4515,
1765,
770,
1995,
87,
11,
358,
392,
3571,
6,
738,
770,
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
] |
if not isinstance(b, bytes): if hasattr(b, "__index__"): raise TypeError("Can't write object of type %s" % type(b).__name__) b = bytes(b)
|
if isinstance(b, str): raise TypeError("can't write str to binary stream")
|
def write(self, b): if self.closed: raise ValueError("write to closed file") if not isinstance(b, bytes): if hasattr(b, "__index__"): raise TypeError("Can't write object of type %s" % type(b).__name__) b = bytes(b) # XXX we can implement some more tricks to try and avoid partial writes if len(self._write_buf) > self.buffer_size: # We're full, so let's pre-flush the buffer try: self.flush() except BlockingIOError as e: # We can't accept anything else. # XXX Why not just let the exception pass through? raise BlockingIOError(e.errno, e.strerror, 0) before = len(self._write_buf) self._write_buf.extend(b) written = len(self._write_buf) - before if len(self._write_buf) > self.buffer_size: try: self.flush() except BlockingIOError as e: if (len(self._write_buf) > self.max_buffer_size): # We've hit max_buffer_size. We have to accept a partial # write and cut back our buffer. overage = len(self._write_buf) - self.max_buffer_size self._write_buf = self._write_buf[:self.max_buffer_size] raise BlockingIOError(e.errno, e.strerror, overage) return written
|
ca2411b61de7457be2e1b8115f6254037cecf183 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8125/ca2411b61de7457be2e1b8115f6254037cecf183/io.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1045,
12,
2890,
16,
324,
4672,
309,
365,
18,
12204,
30,
1002,
2068,
2932,
2626,
358,
4375,
585,
7923,
309,
1549,
12,
70,
16,
609,
4672,
1002,
3580,
2932,
4169,
1404,
1045,
609,
358,
3112,
1407,
7923,
468,
11329,
732,
848,
2348,
2690,
1898,
433,
20642,
358,
775,
471,
4543,
4702,
7262,
309,
562,
12,
2890,
6315,
2626,
67,
4385,
13,
405,
365,
18,
4106,
67,
1467,
30,
468,
1660,
4565,
1983,
16,
1427,
2231,
1807,
675,
17,
11330,
326,
1613,
775,
30,
365,
18,
11330,
1435,
1335,
27551,
4294,
668,
487,
425,
30,
468,
1660,
848,
1404,
2791,
6967,
469,
18,
468,
11329,
3497,
93,
486,
2537,
2231,
326,
1520,
1342,
3059,
35,
1002,
27551,
4294,
668,
12,
73,
18,
19088,
16,
425,
18,
701,
1636,
16,
374,
13,
1865,
273,
562,
12,
2890,
6315,
2626,
67,
4385,
13,
365,
6315,
2626,
67,
4385,
18,
14313,
12,
70,
13,
5941,
273,
562,
12,
2890,
6315,
2626,
67,
4385,
13,
300,
1865,
309,
562,
12,
2890,
6315,
2626,
67,
4385,
13,
405,
365,
18,
4106,
67,
1467,
30,
775,
30,
365,
18,
11330,
1435,
1335,
27551,
4294,
668,
487,
425,
30,
309,
261,
1897,
12,
2890,
6315,
2626,
67,
4385,
13,
405,
365,
18,
1896,
67,
4106,
67,
1467,
4672,
468,
1660,
8081,
6800,
943,
67,
4106,
67,
1467,
18,
1660,
1240,
358,
2791,
279,
4702,
468,
1045,
471,
6391,
1473,
3134,
1613,
18,
1879,
410,
273,
562,
12,
2890,
6315,
2626,
67,
4385,
13,
300,
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,
1045,
12,
2890,
16,
324,
4672,
309,
365,
18,
12204,
30,
1002,
2068,
2932,
2626,
358,
4375,
585,
7923,
309,
1549,
12,
70,
16,
609,
4672,
1002,
3580,
2932,
4169,
1404,
1045,
609,
358,
3112,
1407,
7923,
468,
11329,
732,
848,
2348,
2690,
1898,
433,
20642,
358,
775,
471,
4543,
4702,
7262,
309,
562,
12,
2890,
6315,
2626,
67,
4385,
13,
405,
365,
18,
4106,
67,
1467,
30,
468,
1660,
4565,
1983,
16,
1427,
2231,
1807,
675,
17,
11330,
326,
1613,
775,
30,
365,
18,
11330,
1435,
1335,
27551,
4294,
668,
487,
425,
30,
468,
1660,
848,
1404,
2791,
6967,
469,
18,
468,
11329,
3497,
93,
486,
2537,
2231,
326,
1520,
1342,
3059,
35,
1002,
27551,
4294,
668,
2
] |
self.entry = gtk.Entry() self.pack_start(self.entry) self.entry.show() self.button = gtk.Button("...") self.button.connect("clicked", self.show_dialog) self.pack_start(self.button, expand=False)
|
self.button = gtk.FileChooserButton("Pick a file") self.pack_start(self.button, False, False, 6) self.button.set_filename (default)
|
def __init__(self, default=""): gtk.HBox.__init__(self, False, 5) self.entry = gtk.Entry() self.pack_start(self.entry) self.entry.show() self.button = gtk.Button("...") self.button.connect("clicked", self.show_dialog) self.pack_start(self.button, expand=False) self.button.show()
|
9396fb5b6609afc5f2bbe1d5c2eb54424e5b9330 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11058/9396fb5b6609afc5f2bbe1d5c2eb54424e5b9330/gimpui.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
805,
1546,
6,
4672,
22718,
18,
44,
3514,
16186,
2738,
972,
12,
2890,
16,
1083,
16,
1381,
13,
365,
18,
5391,
273,
22718,
18,
812,
17324,
3616,
2932,
17968,
279,
585,
7923,
365,
18,
2920,
67,
1937,
12,
2890,
18,
5391,
16,
1083,
16,
1083,
16,
1666,
13,
365,
18,
5391,
18,
542,
67,
3459,
261,
1886,
13,
365,
18,
5391,
18,
4500,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
805,
1546,
6,
4672,
22718,
18,
44,
3514,
16186,
2738,
972,
12,
2890,
16,
1083,
16,
1381,
13,
365,
18,
5391,
273,
22718,
18,
812,
17324,
3616,
2932,
17968,
279,
585,
7923,
365,
18,
2920,
67,
1937,
12,
2890,
18,
5391,
16,
1083,
16,
1083,
16,
1666,
13,
365,
18,
5391,
18,
542,
67,
3459,
261,
1886,
13,
365,
18,
5391,
18,
4500,
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
] |
o = open(self.pointOutput, 'w')
|
o = open(self.pointOutputFile, 'w')
|
def _grabPoints(self): """ Reads vertex indices from a pset file. """ f = file(self.ucdFile) lines = f.readlines() fileLen = len(lines) firstline = lines[0].split() numVerts = int(firstline[0]) numCells = int(firstline[1]) numVertAttrs = int(firstline[2]) vertInd = 0 ucdInd = 0 # Get vertex coordinates for lineCount in range(1, numVerts+1): vertex = self.indices[vertInd] if vertex == ucdInd: data = line[lineCount].split() pointCoords.append(float(data[1]), float(data[2]), float(data[3])) vertInd += 1 ucdInd += 1
|
ace54b3397b4474efcd5c466bf6bb37dfeef58a6 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8645/ace54b3397b4474efcd5c466bf6bb37dfeef58a6/grabpoints.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2752,
70,
5636,
12,
2890,
4672,
3536,
29185,
5253,
4295,
628,
279,
293,
542,
585,
18,
3536,
284,
273,
585,
12,
2890,
18,
89,
4315,
812,
13,
2362,
273,
284,
18,
896,
3548,
1435,
585,
2891,
273,
562,
12,
3548,
13,
1122,
1369,
273,
2362,
63,
20,
8009,
4939,
1435,
818,
4828,
87,
273,
509,
12,
3645,
1369,
63,
20,
5717,
818,
10505,
273,
509,
12,
3645,
1369,
63,
21,
5717,
818,
4828,
8262,
273,
509,
12,
3645,
1369,
63,
22,
5717,
3173,
3866,
273,
374,
582,
4315,
3866,
273,
374,
468,
968,
5253,
5513,
364,
980,
1380,
316,
1048,
12,
21,
16,
818,
4828,
87,
15,
21,
4672,
5253,
273,
365,
18,
6836,
63,
1097,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2752,
70,
5636,
12,
2890,
4672,
3536,
29185,
5253,
4295,
628,
279,
293,
542,
585,
18,
3536,
284,
273,
585,
12,
2890,
18,
89,
4315,
812,
13,
2362,
273,
284,
18,
896,
3548,
1435,
585,
2891,
273,
562,
12,
3548,
13,
1122,
1369,
273,
2362,
63,
20,
8009,
4939,
1435,
818,
4828,
87,
273,
509,
12,
3645,
1369,
63,
20,
5717,
818,
10505,
273,
509,
12,
3645,
1369,
63,
21,
5717,
818,
4828,
8262,
273,
509,
12,
3645,
1369,
63,
22,
5717,
3173,
3866,
273,
374,
582,
4315,
3866,
273,
374,
468,
968,
5253,
5513,
364,
980,
1380,
316,
1048,
12,
21,
16,
818,
4828,
87,
15,
21,
4672,
5253,
273,
365,
18,
6836,
63,
1097,
3866,
2
] |
file.Write("%s %s(%s);\n" % (func.return_type, func.original_name, func.MakeTypedOriginalArgString(""))) file.Write("\n") def WriteGLES2ImplementationHeader(self, func, file): """Writes the GLES2 Implemention."""
|
def WriteGLES2ImplementationDeclaration(self, func, file): """Writes the GLES2 Implemention declaration.""" file.Write("%s %s(%s);\n" % (func.return_type, func.original_name, func.MakeTypedOriginalArgString(""))) file.Write("\n")
|
b8fb1c2876060305792c0b72943407a8dd011c60 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5060/b8fb1c2876060305792c0b72943407a8dd011c60/build_gles2_cmd_buffer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2598,
43,
11386,
22,
13621,
6094,
12,
2890,
16,
1326,
16,
585,
4672,
3536,
8368,
326,
611,
11386,
22,
10886,
285,
8266,
12123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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2598,
43,
11386,
22,
13621,
6094,
12,
2890,
16,
1326,
16,
585,
4672,
3536,
8368,
326,
611,
11386,
22,
10886,
285,
8266,
12123,
585,
18,
3067,
27188,
87,
738,
87,
9275,
87,
20472,
82,
6,
738,
261,
644,
18,
2463,
67,
723,
16,
1326,
18,
8830,
67,
529,
16,
1326,
18,
6464,
11985,
8176,
4117,
780,
2932,
6,
20349,
585,
18,
3067,
31458,
82,
7923,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
local_sdp = SDPSession.new(self._invitation.sdp.active_local) local_sdp.version += 1 removed_streams = [stream for stream in self.streams if stream.index in removed_media_indexes] prev_on_hold_streams = set(stream for stream in self.streams if stream.hold_supported and stream.on_hold_by_remote) for stream in removed_streams:
|
self.state = 'connected' elif notification.data.state == 'disconnected': if self.state == 'incoming': self.state = 'terminated' if notification.data.originator == 'remote': notification_center.post_notification('SIPSessionDidProcessTransaction', self, TimestampedNotificationData(originator='remote', method='INVITE', code=487, reason='Session Canceled', ack_received='unknown')) notification_center.post_notification('SIPSessionDidFail', self, TimestampedNotificationData(originator='remote', code=487, reason='Session Canceled', failure_reason='user request', redirect_identities=None)) else: notification_center.post_notification('SIPSessionDidFail', self, TimestampedNotificationData(originator='local', code=0, reason=None, failure_reason=notification.data.disconnect_reason, redirect_identities=None)) else: notification_center.post_notification('SIPSessionWillEnd', self, TimestampedNotificationData(originator=notification.data.originator)) for stream in self.streams:
|
def _NH_SIPInvitationChangedState(self, notification): notification_center = NotificationCenter() if self.greenlet is not None and self.greenlet is not api.getcurrent(): if notification.data.state == 'disconnected' and notification.data.prev_state != 'disconnecting': self._channel.send_exception(InvitationDidFailError(notification.sender, notification.data)) else: self._channel.send(notification) else: if notification.data.state == 'connected' and notification.data.sub_state == 'received_proposal': self.state = 'received_proposal' try: proposed_remote_sdp = self._invitation.sdp.proposed_remote active_remote_sdp = self._invitation.sdp.active_remote for stream in self.streams: if not stream.validate_update(proposed_remote_sdp, stream.index): engine = Engine() self._invitation.send_response(488, extra_headers=[WarningHeader(399, engine.user_agent, 'Failed to update media stream index %d' % stream.index)]) self.state = 'connected' notification_center.post_notification('SIPSessionDidProcessTransaction', self, TimestampedNotificationData(originator='remote', method='INVITE', code=488, reason=sip_status_messages[488], ack_received='unknown')) return # These tests are here because some ALGs mess up the SDP and the behaviour # of pjsip in these situations is unexpected (eg. loss of audio). -Luci for attr in ('user', 'net_type', 'address_type', 'address'): if getattr(proposed_remote_sdp, attr) != getattr(active_remote_sdp, attr): engine = Engine() self._invitation.send_response(488, extra_headers=[WarningHeader(399, engine.user_agent, 'Difference in contents of o= line')]) self.state = 'connected' notification_center.post_notification('SIPSessionDidProcessTransaction', self, TimestampedNotificationData(originator='remote', method='INVITE', code=488, reason=sip_status_messages[488], ack_received='unknown')) return added_media_indexes = set() removed_media_indexes = set() for index, media_stream in enumerate(proposed_remote_sdp.media): if index >= len(active_remote_sdp.media): added_media_indexes.add(index) elif media_stream.media != active_remote_sdp.media[index].media: added_media_indexes.add(index) removed_media_indexes.add(index) elif not media_stream.port and active_remote_sdp.media[index].port: removed_media_indexes.add(index) removed_media_indexes.update(xrange(len(proposed_remote_sdp.media), len(active_remote_sdp.media))) if added_media_indexes and removed_media_indexes: engine = Engine() self._invitation.send_response(488, extra_headers=[WarningHeader(399, engine.user_agent, 'Both removing AND adding a media stream is currently not supported')]) notification_center.post_notification('SIPSessionDidProcessTransaction', self, TimestampedNotificationData(originator='remote', method='INVITE', code=488, reason=sip_status_messages[488], ack_received='unknown')) elif added_media_indexes: self.proposed_streams = [] for index in added_media_indexes: media_stream = proposed_remote_sdp.media[index] if media_stream.port != 0: for stream_type in MediaStreamRegistry(): try: stream = stream_type.new_from_sdp(self.account, proposed_remote_sdp, index) except InvalidStreamError: break except UnknownStreamError: continue else: stream.index = index self.proposed_streams.append(stream) break if self.proposed_streams: self._invitation.send_response(100) notification_center.post_notification('SIPSessionGotProposal', sender=self, data=TimestampedNotificationData(originator='remote', streams=self.proposed_streams)) return else: self._invitation.send_response(488) notification_center.post_notification('SIPSessionDidProcessTransaction', self, TimestampedNotificationData(originator='remote', method='INVITE', code=488, reason=sip_status_messages[488], ack_received='unknown')) else: local_sdp = SDPSession.new(self._invitation.sdp.active_local) local_sdp.version += 1 removed_streams = [stream for stream in self.streams if stream.index in removed_media_indexes] prev_on_hold_streams = set(stream for stream in self.streams if stream.hold_supported and stream.on_hold_by_remote) for stream in removed_streams: notification_center.remove_observer(self, sender=stream) stream.deactivate() self.streams.remove(stream) local_sdp.media[stream.index].port = 0 for stream in self.streams: local_sdp.media[stream.index] = stream.get_local_media(for_offer=False) self._invitation.send_response(200, sdp=local_sdp) for stream in removed_streams: stream.end() notification_center.post_notification('SIPSessionDidProcessTransaction', self, TimestampedNotificationData(originator='remote', method='INVITE', code=200, reason=sip_status_messages[200], ack_received='unknown'))
|
6da5670f0b72ac50f967cb615c5979d56c795edf /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5703/6da5670f0b72ac50f967cb615c5979d56c795edf/session.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
50,
44,
67,
17739,
19896,
5033,
1119,
12,
2890,
16,
3851,
4672,
3851,
67,
5693,
273,
8050,
8449,
1435,
309,
365,
18,
11571,
1810,
353,
486,
599,
471,
365,
18,
11571,
1810,
353,
486,
1536,
18,
588,
2972,
13332,
309,
3851,
18,
892,
18,
2019,
422,
296,
2251,
8537,
11,
471,
3851,
18,
892,
18,
10001,
67,
2019,
480,
296,
20177,
310,
4278,
365,
6315,
4327,
18,
4661,
67,
4064,
12,
19896,
18250,
3754,
668,
12,
9927,
18,
15330,
16,
3851,
18,
892,
3719,
469,
30,
365,
6315,
4327,
18,
4661,
12,
9927,
13,
469,
30,
309,
3851,
18,
892,
18,
2019,
422,
296,
8537,
11,
471,
3851,
18,
892,
18,
1717,
67,
2019,
422,
296,
15213,
67,
685,
8016,
4278,
365,
18,
2019,
273,
296,
15213,
67,
685,
8016,
11,
775,
30,
20084,
67,
7222,
67,
6427,
84,
273,
365,
6315,
5768,
8773,
18,
6427,
84,
18,
685,
7423,
67,
7222,
2695,
67,
7222,
67,
6427,
84,
273,
365,
6315,
5768,
8773,
18,
6427,
84,
18,
3535,
67,
7222,
364,
1407,
316,
365,
18,
16320,
30,
309,
486,
1407,
18,
5662,
67,
2725,
12,
685,
7423,
67,
7222,
67,
6427,
84,
16,
1407,
18,
1615,
4672,
4073,
273,
10507,
1435,
365,
6315,
5768,
8773,
18,
4661,
67,
2740,
12,
24,
5482,
16,
2870,
67,
2485,
22850,
6210,
1864,
12,
23,
2733,
16,
4073,
18,
1355,
67,
5629,
16,
296,
2925,
358,
1089,
3539,
1407,
770,
738,
72,
11,
738,
1407,
18,
1615,
13,
5717,
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,
50,
44,
67,
17739,
19896,
5033,
1119,
12,
2890,
16,
3851,
4672,
3851,
67,
5693,
273,
8050,
8449,
1435,
309,
365,
18,
11571,
1810,
353,
486,
599,
471,
365,
18,
11571,
1810,
353,
486,
1536,
18,
588,
2972,
13332,
309,
3851,
18,
892,
18,
2019,
422,
296,
2251,
8537,
11,
471,
3851,
18,
892,
18,
10001,
67,
2019,
480,
296,
20177,
310,
4278,
365,
6315,
4327,
18,
4661,
67,
4064,
12,
19896,
18250,
3754,
668,
12,
9927,
18,
15330,
16,
3851,
18,
892,
3719,
469,
30,
365,
6315,
4327,
18,
4661,
12,
9927,
13,
469,
30,
309,
3851,
18,
892,
18,
2019,
422,
296,
8537,
11,
471,
3851,
18,
892,
18,
1717,
67,
2019,
422,
296,
15213,
2
] |
con = sqlite.connect(":memory:") cur = con.cursor()
|
cur = self.con.cursor()
|
def CheckPragmaAutocommit(self): """ Verifies that running a PRAGMA statement that does an autocommit does work. This did not work in 2.5.3/2.5.4. """ con = sqlite.connect(":memory:") cur = con.cursor() cur.execute("create table foo(bar)") cur.execute("insert into foo(bar) values (5)")
|
fbd6d66102d78b029d28c9f0068db30b8324be34 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12029/fbd6d66102d78b029d28c9f0068db30b8324be34/regression.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2073,
2050,
9454,
7150,
27159,
12,
2890,
4672,
3536,
6160,
5032,
716,
3549,
279,
11770,
1781,
5535,
3021,
716,
1552,
392,
2059,
27159,
1552,
1440,
18,
1220,
5061,
486,
1440,
316,
576,
18,
25,
18,
23,
19,
22,
18,
25,
18,
24,
18,
3536,
662,
273,
365,
18,
591,
18,
9216,
1435,
662,
18,
8837,
2932,
2640,
1014,
8431,
12,
3215,
2225,
13,
662,
18,
8837,
2932,
6387,
1368,
8431,
12,
3215,
13,
924,
261,
25,
2225,
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,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
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2073,
2050,
9454,
7150,
27159,
12,
2890,
4672,
3536,
6160,
5032,
716,
3549,
279,
11770,
1781,
5535,
3021,
716,
1552,
392,
2059,
27159,
1552,
1440,
18,
1220,
5061,
486,
1440,
316,
576,
18,
25,
18,
23,
19,
22,
18,
25,
18,
24,
18,
3536,
662,
273,
365,
18,
591,
18,
9216,
1435,
662,
18,
8837,
2932,
2640,
1014,
8431,
12,
3215,
2225,
13,
662,
18,
8837,
2932,
6387,
1368,
8431,
12,
3215,
13,
924,
261,
25,
2225,
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
] |
print 'variable selection changed'
|
def OnVarSelected(self,*args): print 'variable selection changed' selected = self.treeVariables.selectionModel().selectedIndexes() print '%i nodes selected' % len(selected) if len(selected)==0: return node = selected[0].internalPointer() print 'selected node: %s' % node if node.hasChildren(): return varname = node.getId() varpath = '/'.join(node.location) QtGui.QApplication.setOverrideCursor(QtGui.QCursor(QtCore.Qt.WaitCursor)) self.saveFigureSettings() self.varpath = varpath self.figurepanel.figure.setUpdating(False) # Plot; first try stored figures, otherwise plot anew. props = self.figurepanel.figure.properties if not self.result.getFigure('result/'+varpath,props): self.figurepanel.plot(varname,'result') self.figurepanel.figure.setUpdating(True) print 'plot update completed' QtGui.QApplication.restoreOverrideCursor()
|
388f690b937ee9998c95ea7cac9fbf0a7f9e42e6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/381/388f690b937ee9998c95ea7cac9fbf0a7f9e42e6/visualizer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2755,
1537,
7416,
12,
2890,
16,
14,
1968,
4672,
3170,
273,
365,
18,
3413,
6158,
18,
10705,
1488,
7675,
8109,
8639,
1435,
1172,
1995,
77,
2199,
3170,
11,
738,
562,
12,
8109,
13,
309,
562,
12,
8109,
13,
631,
20,
30,
327,
756,
273,
3170,
63,
20,
8009,
7236,
4926,
1435,
1172,
296,
8109,
756,
30,
738,
87,
11,
738,
756,
309,
756,
18,
5332,
4212,
13332,
327,
225,
15434,
273,
756,
18,
26321,
1435,
569,
803,
273,
2023,
18,
5701,
12,
2159,
18,
3562,
13,
23425,
18,
53,
3208,
18,
542,
6618,
6688,
12,
23310,
18070,
18,
53,
6688,
12,
23310,
4670,
18,
23310,
18,
5480,
6688,
3719,
365,
18,
5688,
42,
15906,
2628,
1435,
365,
18,
1401,
803,
273,
569,
803,
225,
365,
18,
19675,
13916,
18,
19675,
18,
542,
17858,
12,
8381,
13,
225,
468,
15211,
31,
1122,
775,
4041,
4291,
1823,
16,
3541,
3207,
392,
359,
18,
3458,
273,
365,
18,
19675,
13916,
18,
19675,
18,
4738,
309,
486,
365,
18,
2088,
18,
588,
42,
15906,
2668,
2088,
2473,
15,
1401,
803,
16,
9693,
4672,
365,
18,
19675,
13916,
18,
4032,
12,
1401,
529,
11189,
2088,
6134,
225,
365,
18,
19675,
13916,
18,
19675,
18,
542,
17858,
12,
5510,
13,
1172,
296,
4032,
1089,
5951,
11,
23425,
18,
53,
3208,
18,
13991,
6618,
6688,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2755,
1537,
7416,
12,
2890,
16,
14,
1968,
4672,
3170,
273,
365,
18,
3413,
6158,
18,
10705,
1488,
7675,
8109,
8639,
1435,
1172,
1995,
77,
2199,
3170,
11,
738,
562,
12,
8109,
13,
309,
562,
12,
8109,
13,
631,
20,
30,
327,
756,
273,
3170,
63,
20,
8009,
7236,
4926,
1435,
1172,
296,
8109,
756,
30,
738,
87,
11,
738,
756,
309,
756,
18,
5332,
4212,
13332,
327,
225,
15434,
273,
756,
18,
26321,
1435,
569,
803,
273,
2023,
18,
5701,
12,
2159,
18,
3562,
13,
23425,
18,
53,
3208,
18,
542,
6618,
6688,
12,
23310,
18070,
18,
53,
6688,
12,
23310,
4670,
18,
23310,
18,
5480,
6688,
3719,
365,
18,
5688,
42,
15906,
2628,
1435,
365,
18,
2
] |
|
self.assertEquals(x._objects, {"0": "spam", "1": "foo"})
|
self.assertEquals(x._objects, {"0": b"spam", "1": b"foo"})
|
def test_ccharp_struct(self): class X(Structure): _fields_ = [("a", c_char_p), ("b", c_char_p)] x = X() self.assertEquals(x._objects, None)
|
43cbc5943de9bed3b0b5b3645c16b4089c6df019 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8125/43cbc5943de9bed3b0b5b3645c16b4089c6df019/test_keeprefs.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
71,
3001,
84,
67,
1697,
12,
2890,
4672,
667,
1139,
12,
6999,
4672,
389,
2821,
67,
273,
306,
2932,
69,
3113,
276,
67,
3001,
67,
84,
3631,
7566,
70,
3113,
276,
67,
3001,
67,
84,
25887,
619,
273,
1139,
1435,
365,
18,
11231,
8867,
12,
92,
6315,
6911,
16,
599,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
71,
3001,
84,
67,
1697,
12,
2890,
4672,
667,
1139,
12,
6999,
4672,
389,
2821,
67,
273,
306,
2932,
69,
3113,
276,
67,
3001,
67,
84,
3631,
7566,
70,
3113,
276,
67,
3001,
67,
84,
25887,
619,
273,
1139,
1435,
365,
18,
11231,
8867,
12,
92,
6315,
6911,
16,
599,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
item.SetColumn(self.SecondColumn)
|
item.SetColumn(self.FileNamePerformerColumn)
|
def AddItemAtIndex ( self, index, song ): # Add the title column item = wx.ListItem() item.SetId(index) item.SetColumn(self.TitleCol) try: item.SetText(song.Title) except UnicodeError: item.SetText(song.Title.encode('UTF-8', 'replace')) item.SetData(index) self.Playlist.InsertItem(item)
|
7d6c2cead80b3d812ebc0d6027018fbc93b8714c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12653/7d6c2cead80b3d812ebc0d6027018fbc93b8714c/pykaraoke.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1436,
1180,
24499,
261,
365,
16,
770,
16,
17180,
262,
30,
468,
1436,
326,
2077,
1057,
761,
273,
7075,
18,
13575,
1435,
761,
18,
18523,
12,
1615,
13,
761,
18,
694,
1494,
12,
2890,
18,
4247,
914,
13,
775,
30,
761,
18,
694,
1528,
12,
816,
75,
18,
4247,
13,
1335,
9633,
668,
30,
761,
18,
694,
1528,
12,
816,
75,
18,
4247,
18,
3015,
2668,
5159,
17,
28,
2187,
296,
2079,
26112,
761,
18,
694,
751,
12,
1615,
13,
365,
18,
30194,
18,
4600,
1180,
12,
1726,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1436,
1180,
24499,
261,
365,
16,
770,
16,
17180,
262,
30,
468,
1436,
326,
2077,
1057,
761,
273,
7075,
18,
13575,
1435,
761,
18,
18523,
12,
1615,
13,
761,
18,
694,
1494,
12,
2890,
18,
4247,
914,
13,
775,
30,
761,
18,
694,
1528,
12,
816,
75,
18,
4247,
13,
1335,
9633,
668,
30,
761,
18,
694,
1528,
12,
816,
75,
18,
4247,
18,
3015,
2668,
5159,
17,
28,
2187,
296,
2079,
26112,
761,
18,
694,
751,
12,
1615,
13,
365,
18,
30194,
18,
4600,
1180,
12,
1726,
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
] |
data = self.itkfilter.GetOutput()
|
data = self.itkfilter.GetOutput()
|
def execute(self, inputs, update = 0, last = 0): """ Created: 15.04.2006, KP Description: Execute the filter with given inputs and return the output """ if not ProcessingFilter.ProcessingFilter.execute(self, inputs): return None image = self.getInput(1) image = self.convertVTKtoITK(image, cast = types.FloatType) print "Feeding to watershed", image print "parameters=", self.parameters["Threshold"], self.parameters["Level"] self.itkfilter.SetInput(image) self.itkfilter.SetThreshold(self.parameters["Threshold"]) self.itkfilter.SetLevel(self.parameters["Level"]) self.setImageType("UL3") if update: self.itkfilter.Update() print "Updating..." data = self.itkfilter.GetOutput() print "Returning ", data #if last: # return self.convertITKtoVTK(data,imagetype="UL3") return data
|
6d7b572696d4ecdce2049b45a6e109836f3272c9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2877/6d7b572696d4ecdce2049b45a6e109836f3272c9/SegmentationFilters.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1836,
12,
2890,
16,
4540,
16,
1089,
273,
374,
16,
1142,
273,
374,
4672,
3536,
12953,
30,
4711,
18,
3028,
18,
6976,
26,
16,
1475,
52,
6507,
30,
7903,
326,
1034,
598,
864,
4540,
471,
327,
326,
876,
3536,
309,
486,
19652,
1586,
18,
7798,
1586,
18,
8837,
12,
2890,
16,
4540,
4672,
327,
599,
225,
1316,
273,
365,
18,
588,
1210,
12,
21,
13,
1316,
273,
365,
18,
6283,
58,
56,
47,
869,
1285,
47,
12,
2730,
16,
4812,
273,
1953,
18,
4723,
559,
13,
1172,
315,
8141,
310,
358,
341,
31302,
18550,
3113,
1316,
1172,
315,
3977,
1546,
16,
365,
18,
3977,
9614,
7614,
6,
6487,
365,
18,
3977,
9614,
2355,
11929,
365,
18,
305,
79,
2188,
18,
28299,
12,
2730,
13,
365,
18,
305,
79,
2188,
18,
694,
7614,
12,
2890,
18,
3977,
9614,
7614,
6,
5717,
365,
18,
305,
79,
2188,
18,
694,
2355,
12,
2890,
18,
3977,
9614,
2355,
6,
5717,
225,
365,
18,
542,
2040,
559,
2932,
1506,
23,
7923,
309,
1089,
30,
365,
18,
305,
79,
2188,
18,
1891,
1435,
1172,
315,
17858,
7070,
501,
273,
365,
18,
305,
79,
2188,
18,
967,
1447,
1435,
1172,
315,
28365,
3104,
501,
468,
430,
1142,
30,
468,
565,
327,
365,
18,
6283,
1285,
47,
869,
58,
56,
47,
12,
892,
16,
15374,
5872,
1546,
1506,
23,
7923,
327,
501,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1836,
12,
2890,
16,
4540,
16,
1089,
273,
374,
16,
1142,
273,
374,
4672,
3536,
12953,
30,
4711,
18,
3028,
18,
6976,
26,
16,
1475,
52,
6507,
30,
7903,
326,
1034,
598,
864,
4540,
471,
327,
326,
876,
3536,
309,
486,
19652,
1586,
18,
7798,
1586,
18,
8837,
12,
2890,
16,
4540,
4672,
327,
599,
225,
1316,
273,
365,
18,
588,
1210,
12,
21,
13,
1316,
273,
365,
18,
6283,
58,
56,
47,
869,
1285,
47,
12,
2730,
16,
4812,
273,
1953,
18,
4723,
559,
13,
1172,
315,
8141,
310,
358,
341,
31302,
18550,
3113,
1316,
1172,
315,
3977,
1546,
16,
365,
18,
3977,
9614,
7614,
6,
6487,
365,
18,
3977,
9614,
2355,
11929,
365,
18,
305,
79,
2
] |
" LettError, Erik van Blokland, for the \n" " Python for Windows graphic.\n" " http://www.letterror.com/\n" "\n"
|
def add_ui(db): x = y = 50 w = 370 h = 300 title = "[ProductName] Setup" # see "Dialog Style Bits" modal = 3 # visible | modal modeless = 1 # visible track_disk_space = 32 add_data(db, 'ActionText', uisample.ActionText) add_data(db, 'UIText', uisample.UIText) # Bitmaps if not os.path.exists(srcdir+r"\PC\python_icon.exe"): raise "Run icons.mak in PC directory" add_data(db, "Binary", [("PythonWin", msilib.Binary(srcdir+r"\PCbuild\installer.bmp")), # 152x328 pixels ("py.ico",msilib.Binary(srcdir+r"\PC\py.ico")), ]) add_data(db, "Icon", [("python_icon.exe", msilib.Binary(srcdir+r"\PC\python_icon.exe"))]) # Scripts # CheckDir sets TargetExists if TARGETDIR exists. # UpdateEditIDLE sets the REGISTRY.tcl component into # the installed/uninstalled state according to both the # Extensions and TclTk features. if os.system("nmake /nologo /c /f msisupport.mak") != 0: raise "'nmake /f msisupport.mak' failed" add_data(db, "Binary", [("Script", msilib.Binary("msisupport.dll"))]) # See "Custom Action Type 1" if msilib.Win64: CheckDir = "CheckDir" UpdateEditIDLE = "UpdateEditIDLE" else: CheckDir = "_CheckDir@4" UpdateEditIDLE = "_UpdateEditIDLE@4" add_data(db, "CustomAction", [("CheckDir", 1, "Script", CheckDir)]) if have_tcl: add_data(db, "CustomAction", [("UpdateEditIDLE", 1, "Script", UpdateEditIDLE)]) # UI customization properties add_data(db, "Property", # See "DefaultUIFont Property" [("DefaultUIFont", "DlgFont8"), # See "ErrorDialog Style Bit" ("ErrorDialog", "ErrorDlg"), ("Progress1", "Install"), # modified in maintenance type dlg ("Progress2", "installs"), ("MaintenanceForm_Action", "Repair")]) # Fonts, see "TextStyle Table" add_data(db, "TextStyle", [("DlgFont8", "Tahoma", 9, None, 0), ("DlgFontBold8", "Tahoma", 8, None, 1), #bold ("VerdanaBold10", "Verdana", 10, None, 1), ("VerdanaRed9", "Verdana", 9, 255, 0), ]) compileargs = r"-Wi [TARGETDIR]Lib\compileall.py -f -x bad_coding|badsyntax|site-packages [TARGETDIR]Lib" # See "CustomAction Table" add_data(db, "CustomAction", [ # msidbCustomActionTypeFirstSequence + msidbCustomActionTypeTextData + msidbCustomActionTypeProperty # See "Custom Action Type 51", # "Custom Action Execution Scheduling Options" ("InitialTargetDir", 307, "TARGETDIR", "[WindowsVolume]Python%s%s" % (major, minor)), ("SetDLLDirToTarget", 307, "DLLDIR", "[TARGETDIR]"), ("SetDLLDirToSystem32", 307, "DLLDIR", SystemFolderName), # msidbCustomActionTypeExe + msidbCustomActionTypeSourceFile # See "Custom Action Type 18" ("CompilePyc", 18, "python.exe", compileargs), ("CompilePyo", 18, "python.exe", "-O "+compileargs), ]) # UI Sequences, see "InstallUISequence Table", "Using a Sequence Table" # Numbers indicate sequence; see sequence.py for how these action integrate add_data(db, "InstallUISequence", [("PrepareDlg", "Not Privileged or Windows9x or Installed", 140), ("WhichUsersDlg", "Privileged and not Windows9x and not Installed", 141), ("InitialTargetDir", 'TARGETDIR=""', 750), # In the user interface, assume all-users installation if privileged. ("SetDLLDirToSystem32", 'DLLDIR="" and ' + sys32cond, 751), ("SetDLLDirToTarget", 'DLLDIR="" and not ' + sys32cond, 752), ("SelectDirectoryDlg", "Not Installed", 1230), # XXX no support for resume installations yet #("ResumeDlg", "Installed AND (RESUME OR Preselected)", 1240), ("MaintenanceTypeDlg", "Installed AND NOT RESUME AND NOT Preselected", 1250), ("ProgressDlg", None, 1280)]) add_data(db, "AdminUISequence", [("InitialTargetDir", 'TARGETDIR=""', 750), ("SetDLLDirToTarget", 'DLLDIR=""', 751), ]) # Execute Sequences add_data(db, "InstallExecuteSequence", [("InitialTargetDir", 'TARGETDIR=""', 750), ("SetDLLDirToSystem32", 'DLLDIR="" and ' + sys32cond, 751), ("SetDLLDirToTarget", 'DLLDIR="" and not ' + sys32cond, 752), ("UpdateEditIDLE", None, 1050), ("CompilePyc", "COMPILEALL", 6800), ("CompilePyo", "COMPILEALL", 6801), ]) add_data(db, "AdminExecuteSequence", [("InitialTargetDir", 'TARGETDIR=""', 750), ("SetDLLDirToTarget", 'DLLDIR=""', 751), ("CompilePyc", "COMPILEALL", 6800), ("CompilePyo", "COMPILEALL", 6801), ]) ##################################################################### # Standard dialogs: FatalError, UserExit, ExitDialog fatal=PyDialog(db, "FatalError", x, y, w, h, modal, title, "Finish", "Finish", "Finish") fatal.title("[ProductName] Installer ended prematurely") fatal.back("< Back", "Finish", active = 0) fatal.cancel("Cancel", "Back", active = 0) fatal.text("Description1", 135, 70, 220, 80, 0x30003, "[ProductName] setup ended prematurely because of an error. Your system has not been modified. To install this program at a later time, please run the installation again.") fatal.text("Description2", 135, 155, 220, 20, 0x30003, "Click the Finish button to exit the Installer.") c=fatal.next("Finish", "Cancel", name="Finish") # See "ControlEvent Table". Parameters are the event, the parameter # to the action, and optionally the condition for the event, and the order # of events. c.event("EndDialog", "Exit") user_exit=PyDialog(db, "UserExit", x, y, w, h, modal, title, "Finish", "Finish", "Finish") user_exit.title("[ProductName] Installer was interrupted") user_exit.back("< Back", "Finish", active = 0) user_exit.cancel("Cancel", "Back", active = 0) user_exit.text("Description1", 135, 70, 220, 80, 0x30003, "[ProductName] setup was interrupted. Your system has not been modified. " "To install this program at a later time, please run the installation again.") user_exit.text("Description2", 135, 155, 220, 20, 0x30003, "Click the Finish button to exit the Installer.") c = user_exit.next("Finish", "Cancel", name="Finish") c.event("EndDialog", "Exit") exit_dialog = PyDialog(db, "ExitDialog", x, y, w, h, modal, title, "Finish", "Finish", "Finish") exit_dialog.title("Completing the [ProductName] Installer") exit_dialog.back("< Back", "Finish", active = 0) exit_dialog.cancel("Cancel", "Back", active = 0) exit_dialog.text("Acknowledgements", 135, 95, 220, 120, 0x30003, "Special Windows thanks to:\n" " LettError, Erik van Blokland, for the \n" " Python for Windows graphic.\n" " http://www.letterror.com/\n" "\n" " Mark Hammond, without whose years of freely \n" " shared Windows expertise, Python for Windows \n" " would still be Python for DOS.") c = exit_dialog.text("warning", 135, 200, 220, 40, 0x30003, "{\\VerdanaRed9}Warning: Python 2.5.x is the last " "Python release for Windows 9x.") c.condition("Hide", "NOT Version9X") exit_dialog.text("Description", 135, 235, 220, 20, 0x30003, "Click the Finish button to exit the Installer.") c = exit_dialog.next("Finish", "Cancel", name="Finish") c.event("EndDialog", "Return") ##################################################################### # Required dialog: FilesInUse, ErrorDlg inuse = PyDialog(db, "FilesInUse", x, y, w, h, 19, # KeepModeless|Modal|Visible title, "Retry", "Retry", "Retry", bitmap=False) inuse.text("Title", 15, 6, 200, 15, 0x30003, r"{\DlgFontBold8}Files in Use") inuse.text("Description", 20, 23, 280, 20, 0x30003, "Some files that need to be updated are currently in use.") inuse.text("Text", 20, 55, 330, 50, 3, "The following applications are using files that need to be updated by this setup. Close these applications and then click Retry to continue the installation or Cancel to exit it.") inuse.control("List", "ListBox", 20, 107, 330, 130, 7, "FileInUseProcess", None, None, None) c=inuse.back("Exit", "Ignore", name="Exit") c.event("EndDialog", "Exit") c=inuse.next("Ignore", "Retry", name="Ignore") c.event("EndDialog", "Ignore") c=inuse.cancel("Retry", "Exit", name="Retry") c.event("EndDialog","Retry") # See "Error Dialog". See "ICE20" for the required names of the controls. error = Dialog(db, "ErrorDlg", 50, 10, 330, 101, 65543, # Error|Minimize|Modal|Visible title, "ErrorText", None, None) error.text("ErrorText", 50,9,280,48,3, "") error.control("ErrorIcon", "Icon", 15, 9, 24, 24, 5242881, None, "py.ico", None, None) error.pushbutton("N",120,72,81,21,3,"No",None).event("EndDialog","ErrorNo") error.pushbutton("Y",240,72,81,21,3,"Yes",None).event("EndDialog","ErrorYes") error.pushbutton("A",0,72,81,21,3,"Abort",None).event("EndDialog","ErrorAbort") error.pushbutton("C",42,72,81,21,3,"Cancel",None).event("EndDialog","ErrorCancel") error.pushbutton("I",81,72,81,21,3,"Ignore",None).event("EndDialog","ErrorIgnore") error.pushbutton("O",159,72,81,21,3,"Ok",None).event("EndDialog","ErrorOk") error.pushbutton("R",198,72,81,21,3,"Retry",None).event("EndDialog","ErrorRetry") ##################################################################### # Global "Query Cancel" dialog cancel = Dialog(db, "CancelDlg", 50, 10, 260, 85, 3, title, "No", "No", "No") cancel.text("Text", 48, 15, 194, 30, 3, "Are you sure you want to cancel [ProductName] installation?") cancel.control("Icon", "Icon", 15, 15, 24, 24, 5242881, None, "py.ico", None, None) c=cancel.pushbutton("Yes", 72, 57, 56, 17, 3, "Yes", "No") c.event("EndDialog", "Exit") c=cancel.pushbutton("No", 132, 57, 56, 17, 3, "No", "Yes") c.event("EndDialog", "Return") ##################################################################### # Global "Wait for costing" dialog costing = Dialog(db, "WaitForCostingDlg", 50, 10, 260, 85, modal, title, "Return", "Return", "Return") costing.text("Text", 48, 15, 194, 30, 3, "Please wait while the installer finishes determining your disk space requirements.") costing.control("Icon", "Icon", 15, 15, 24, 24, 5242881, None, "py.ico", None, None) c = costing.pushbutton("Return", 102, 57, 56, 17, 3, "Return", None) c.event("EndDialog", "Exit") ##################################################################### # Preparation dialog: no user input except cancellation prep = PyDialog(db, "PrepareDlg", x, y, w, h, modeless, title, "Cancel", "Cancel", "Cancel") prep.text("Description", 135, 70, 220, 40, 0x30003, "Please wait while the Installer prepares to guide you through the installation.") prep.title("Welcome to the [ProductName] Installer") c=prep.text("ActionText", 135, 110, 220, 20, 0x30003, "Pondering...") c.mapping("ActionText", "Text") c=prep.text("ActionData", 135, 135, 220, 30, 0x30003, None) c.mapping("ActionData", "Text") prep.back("Back", None, active=0) prep.next("Next", None, active=0) c=prep.cancel("Cancel", None) c.event("SpawnDialog", "CancelDlg") ##################################################################### # Target directory selection seldlg = PyDialog(db, "SelectDirectoryDlg", x, y, w, h, modal, title, "Next", "Next", "Cancel") seldlg.title("Select Destination Directory") c = seldlg.text("Existing", 135, 25, 235, 30, 0x30003, "{\VerdanaRed9}This update will replace your existing [ProductLine] installation.") c.condition("Hide", 'REMOVEOLDVERSION="" and REMOVEOLDSNAPSHOT=""') seldlg.text("Description", 135, 50, 220, 40, 0x30003, "Please select a directory for the [ProductName] files.") seldlg.back("< Back", None, active=0) c = seldlg.next("Next >", "Cancel") c.event("DoAction", "CheckDir", "TargetExistsOk<>1", order=1) # If the target exists, but we found that we are going to remove old versions, don't bother # confirming that the target directory exists. Strictly speaking, we should determine that # the target directory is indeed the target of the product that we are going to remove, but # I don't know how to do that. c.event("SpawnDialog", "ExistingDirectoryDlg", 'TargetExists=1 and REMOVEOLDVERSION="" and REMOVEOLDSNAPSHOT=""', 2) c.event("SetTargetPath", "TARGETDIR", 'TargetExists=0 or REMOVEOLDVERSION<>"" or REMOVEOLDSNAPSHOT<>""', 3) c.event("SpawnWaitDialog", "WaitForCostingDlg", "CostingComplete=1", 4) c.event("NewDialog", "SelectFeaturesDlg", 'TargetExists=0 or REMOVEOLDVERSION<>"" or REMOVEOLDSNAPSHOT<>""', 5) c = seldlg.cancel("Cancel", "DirectoryCombo") c.event("SpawnDialog", "CancelDlg") seldlg.control("DirectoryCombo", "DirectoryCombo", 135, 70, 172, 80, 393219, "TARGETDIR", None, "DirectoryList", None) seldlg.control("DirectoryList", "DirectoryList", 135, 90, 208, 136, 3, "TARGETDIR", None, "PathEdit", None) seldlg.control("PathEdit", "PathEdit", 135, 230, 206, 16, 3, "TARGETDIR", None, "Next", None) c = seldlg.pushbutton("Up", 306, 70, 18, 18, 3, "Up", None) c.event("DirectoryListUp", "0") c = seldlg.pushbutton("NewDir", 324, 70, 30, 18, 3, "New", None) c.event("DirectoryListNew", "0") ##################################################################### # SelectFeaturesDlg features = PyDialog(db, "SelectFeaturesDlg", x, y, w, h, modal|track_disk_space, title, "Tree", "Next", "Cancel") features.title("Customize [ProductName]") features.text("Description", 135, 35, 220, 15, 0x30003, "Select the way you want features to be installed.") features.text("Text", 135,45,220,30, 3, "Click on the icons in the tree below to change the way features will be installed.") c=features.back("< Back", "Next") c.event("NewDialog", "SelectDirectoryDlg") c=features.next("Next >", "Cancel") c.mapping("SelectionNoItems", "Enabled") c.event("SpawnDialog", "DiskCostDlg", "OutOfDiskSpace=1", order=1) c.event("EndDialog", "Return", "OutOfDiskSpace<>1", order=2) c=features.cancel("Cancel", "Tree") c.event("SpawnDialog", "CancelDlg") # The browse property is not used, since we have only a single target path (selected already) features.control("Tree", "SelectionTree", 135, 75, 220, 95, 7, "_BrowseProperty", "Tree of selections", "Back", None) #c=features.pushbutton("Reset", 42, 243, 56, 17, 3, "Reset", "DiskCost") #c.mapping("SelectionNoItems", "Enabled") #c.event("Reset", "0") features.control("Box", "GroupBox", 135, 170, 225, 90, 1, None, None, None, None) c=features.xbutton("DiskCost", "Disk &Usage", None, 0.10) c.mapping("SelectionNoItems","Enabled") c.event("SpawnDialog", "DiskCostDlg") c=features.xbutton("Advanced", "Advanced", None, 0.30) c.event("SpawnDialog", "AdvancedDlg") c=features.text("ItemDescription", 140, 180, 210, 30, 3, "Multiline description of the currently selected item.") c.mapping("SelectionDescription","Text") c=features.text("ItemSize", 140, 210, 210, 45, 3, "The size of the currently selected item.") c.mapping("SelectionSize", "Text") ##################################################################### # Disk cost cost = PyDialog(db, "DiskCostDlg", x, y, w, h, modal, title, "OK", "OK", "OK", bitmap=False) cost.text("Title", 15, 6, 200, 15, 0x30003, "{\DlgFontBold8}Disk Space Requirements") cost.text("Description", 20, 20, 280, 20, 0x30003, "The disk space required for the installation of the selected features.") cost.text("Text", 20, 53, 330, 60, 3, "The highlighted volumes (if any) do not have enough disk space " "available for the currently selected features. You can either " "remove some files from the highlighted volumes, or choose to " "install less features onto local drive(s), or select different " "destination drive(s).") cost.control("VolumeList", "VolumeCostList", 20, 100, 330, 150, 393223, None, "{120}{70}{70}{70}{70}", None, None) cost.xbutton("OK", "Ok", None, 0.5).event("EndDialog", "Return") ##################################################################### # WhichUsers Dialog. Only available on NT, and for privileged users. # This must be run before FindRelatedProducts, because that will # take into account whether the previous installation was per-user # or per-machine. We currently don't support going back to this # dialog after "Next" was selected; to support this, we would need to # find how to reset the ALLUSERS property, and how to re-run # FindRelatedProducts. # On Windows9x, the ALLUSERS property is ignored on the command line # and in the Property table, but installer fails according to the documentation # if a dialog attempts to set ALLUSERS. whichusers = PyDialog(db, "WhichUsersDlg", x, y, w, h, modal, title, "AdminInstall", "Next", "Cancel") whichusers.title("Select whether to install [ProductName] for all users of this computer.") # A radio group with two options: allusers, justme g = whichusers.radiogroup("AdminInstall", 135, 60, 160, 50, 3, "WhichUsers", "", "Next") g.add("ALL", 0, 5, 150, 20, "Install for all users") g.add("JUSTME", 0, 25, 150, 20, "Install just for me") whichusers.back("Back", None, active=0) c = whichusers.next("Next >", "Cancel") c.event("[ALLUSERS]", "1", 'WhichUsers="ALL"', 1) c.event("EndDialog", "Return", order = 2) c = whichusers.cancel("Cancel", "AdminInstall") c.event("SpawnDialog", "CancelDlg") ##################################################################### # Advanced Dialog. advanced = PyDialog(db, "AdvancedDlg", x, y, w, h, modal, title, "CompilePyc", "Next", "Cancel") advanced.title("Advanced Options for [ProductName]") # A radio group with two options: allusers, justme advanced.checkbox("CompilePyc", 135, 60, 230, 50, 3, "COMPILEALL", "Compile .py files to byte code after installation", "Next") c = advanced.next("Finish", "Cancel") c.event("EndDialog", "Return") c = advanced.cancel("Cancel", "CompilePyc") c.event("SpawnDialog", "CancelDlg") ##################################################################### # Existing Directory dialog dlg = Dialog(db, "ExistingDirectoryDlg", 50, 30, 200, 80, modal, title, "No", "No", "No") dlg.text("Title", 10, 20, 180, 40, 3, "[TARGETDIR] exists. Are you sure you want to overwrite existing files?") c=dlg.pushbutton("Yes", 30, 60, 55, 17, 3, "Yes", "No") c.event("[TargetExists]", "0", order=1) c.event("[TargetExistsOk]", "1", order=2) c.event("EndDialog", "Return", order=3) c=dlg.pushbutton("No", 115, 60, 55, 17, 3, "No", "Yes") c.event("EndDialog", "Return") ##################################################################### # Installation Progress dialog (modeless) progress = PyDialog(db, "ProgressDlg", x, y, w, h, modeless, title, "Cancel", "Cancel", "Cancel", bitmap=False) progress.text("Title", 20, 15, 200, 15, 0x30003, "{\DlgFontBold8}[Progress1] [ProductName]") progress.text("Text", 35, 65, 300, 30, 3, "Please wait while the Installer [Progress2] [ProductName]. " "This may take several minutes.") progress.text("StatusLabel", 35, 100, 35, 20, 3, "Status:") c=progress.text("ActionText", 70, 100, w-70, 20, 3, "Pondering...") c.mapping("ActionText", "Text") #c=progress.text("ActionData", 35, 140, 300, 20, 3, None) #c.mapping("ActionData", "Text") c=progress.control("ProgressBar", "ProgressBar", 35, 120, 300, 10, 65537, None, "Progress done", None, None) c.mapping("SetProgress", "Progress") progress.back("< Back", "Next", active=False) progress.next("Next >", "Cancel", active=False) progress.cancel("Cancel", "Back").event("SpawnDialog", "CancelDlg") # Maintenance type: repair/uninstall maint = PyDialog(db, "MaintenanceTypeDlg", x, y, w, h, modal, title, "Next", "Next", "Cancel") maint.title("Welcome to the [ProductName] Setup Wizard") maint.text("BodyText", 135, 63, 230, 42, 3, "Select whether you want to repair or remove [ProductName].") g=maint.radiogroup("RepairRadioGroup", 135, 108, 230, 60, 3, "MaintenanceForm_Action", "", "Next") g.add("Change", 0, 0, 200, 17, "&Change [ProductName]") g.add("Repair", 0, 18, 200, 17, "&Repair [ProductName]") g.add("Remove", 0, 36, 200, 17, "Re&move [ProductName]") maint.back("< Back", None, active=False) c=maint.next("Finish", "Cancel") # Change installation: Change progress dialog to "Change", then ask # for feature selection c.event("[Progress1]", "Change", 'MaintenanceForm_Action="Change"', 1) c.event("[Progress2]", "changes", 'MaintenanceForm_Action="Change"', 2) # Reinstall: Change progress dialog to "Repair", then invoke reinstall # Also set list of reinstalled features to "ALL" c.event("[REINSTALL]", "ALL", 'MaintenanceForm_Action="Repair"', 5) c.event("[Progress1]", "Repairing", 'MaintenanceForm_Action="Repair"', 6) c.event("[Progress2]", "repairs", 'MaintenanceForm_Action="Repair"', 7) c.event("Reinstall", "ALL", 'MaintenanceForm_Action="Repair"', 8) # Uninstall: Change progress to "Remove", then invoke uninstall # Also set list of removed features to "ALL" c.event("[REMOVE]", "ALL", 'MaintenanceForm_Action="Remove"', 11) c.event("[Progress1]", "Removing", 'MaintenanceForm_Action="Remove"', 12) c.event("[Progress2]", "removes", 'MaintenanceForm_Action="Remove"', 13) c.event("Remove", "ALL", 'MaintenanceForm_Action="Remove"', 14) # Close dialog when maintenance action scheduled c.event("EndDialog", "Return", 'MaintenanceForm_Action<>"Change"', 20) c.event("NewDialog", "SelectFeaturesDlg", 'MaintenanceForm_Action="Change"', 21) maint.cancel("Cancel", "RepairRadioGroup").event("SpawnDialog", "CancelDlg")
|
33fd0774ce3cc2ca314f09138dd5d38e17286784 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/33fd0774ce3cc2ca314f09138dd5d38e17286784/msi.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
67,
4881,
12,
1966,
4672,
619,
273,
677,
273,
6437,
341,
273,
890,
7301,
366,
273,
11631,
2077,
273,
5158,
4133,
461,
65,
10939,
6,
225,
468,
2621,
315,
6353,
9767,
18690,
6,
13010,
273,
890,
1377,
468,
6021,
571,
13010,
938,
403,
273,
404,
282,
468,
6021,
3298,
67,
10863,
67,
2981,
273,
3847,
225,
527,
67,
892,
12,
1966,
16,
296,
1803,
1528,
2187,
582,
291,
1511,
18,
1803,
1528,
13,
527,
67,
892,
12,
1966,
16,
296,
57,
1285,
408,
2187,
582,
291,
1511,
18,
57,
1285,
408,
13,
225,
468,
6539,
10711,
309,
486,
1140,
18,
803,
18,
1808,
12,
4816,
1214,
15,
86,
12691,
3513,
64,
8103,
67,
3950,
18,
14880,
6,
4672,
1002,
315,
1997,
17455,
18,
81,
581,
316,
26300,
1867,
6,
527,
67,
892,
12,
1966,
16,
315,
5905,
3113,
306,
2932,
15774,
18049,
3113,
4086,
330,
495,
18,
5905,
12,
4816,
1214,
15,
86,
12691,
3513,
3510,
64,
20163,
18,
70,
1291,
7923,
3631,
468,
4711,
22,
92,
1578,
28,
8948,
7566,
2074,
18,
10764,
3113,
959,
330,
495,
18,
5905,
12,
4816,
1214,
15,
86,
12691,
3513,
64,
2074,
18,
10764,
7923,
3631,
308,
13,
527,
67,
892,
12,
1966,
16,
315,
5554,
3113,
306,
2932,
8103,
67,
3950,
18,
14880,
3113,
4086,
330,
495,
18,
5905,
12,
4816,
1214,
15,
86,
12691,
3513,
64,
8103,
67,
3950,
18,
14880,
6,
3719,
5717,
225,
468,
2850,
6513,
468,
2073,
1621,
1678,
5916,
4002,
309,
16964,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
67,
4881,
12,
1966,
4672,
619,
273,
677,
273,
6437,
341,
273,
890,
7301,
366,
273,
11631,
2077,
273,
5158,
4133,
461,
65,
10939,
6,
225,
468,
2621,
315,
6353,
9767,
18690,
6,
13010,
273,
890,
1377,
468,
6021,
571,
13010,
938,
403,
273,
404,
282,
468,
6021,
3298,
67,
10863,
67,
2981,
273,
3847,
225,
527,
67,
892,
12,
1966,
16,
296,
1803,
1528,
2187,
582,
291,
1511,
18,
1803,
1528,
13,
527,
67,
892,
12,
1966,
16,
296,
57,
1285,
408,
2187,
582,
291,
1511,
18,
57,
1285,
408,
13,
225,
468,
6539,
10711,
309,
486,
1140,
18,
803,
18,
1808,
12,
4816,
1214,
15,
86,
12691,
3513,
64,
8103,
67,
3950,
18,
14880,
6,
2
] |
|
taskName = "AvatarControls%s"%(id(self),)
|
taskName = "AvatarControls-%s"%(id(self),)
|
def disableAvatarControls(self): """ Ignore the arrow keys, etc. """ assert(self.debugPrint("disableAvatarControls")) taskName = "AvatarControls%s"%(id(self),) taskMgr.remove(taskName)
|
018270a4e31f463af03b2fa3f806409b428cc147 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7242/018270a4e31f463af03b2fa3f806409b428cc147/NonPhysicsWalker.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4056,
23999,
16795,
12,
2890,
4672,
3536,
8049,
326,
12274,
1311,
16,
5527,
18,
3536,
1815,
12,
2890,
18,
4148,
5108,
2932,
8394,
23999,
16795,
6,
3719,
20172,
273,
315,
23999,
16795,
6456,
87,
6,
17105,
350,
12,
2890,
3631,
13,
1562,
9455,
18,
4479,
12,
4146,
461,
13,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4056,
23999,
16795,
12,
2890,
4672,
3536,
8049,
326,
12274,
1311,
16,
5527,
18,
3536,
1815,
12,
2890,
18,
4148,
5108,
2932,
8394,
23999,
16795,
6,
3719,
20172,
273,
315,
23999,
16795,
6456,
87,
6,
17105,
350,
12,
2890,
3631,
13,
1562,
9455,
18,
4479,
12,
4146,
461,
13,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
for source_dir, dest_dir in [(src_dir, dest_src_dir), (build_dir, dest_build_dir)]:
|
bundle_build_dirs = [] bundle_editable_dirs = [] for source_dir, dest_dir, dir_collection in [ (src_dir, dest_src_dir, bundle_editable_dirs), (build_dir, dest_build_dir, bundle_build_dirs)]:
|
def move_bundle_files(self, dest_build_dir, dest_src_dir): base = self._temp_build_dir assert base src_dir = os.path.join(base, 'src') build_dir = os.path.join(base, 'build') for source_dir, dest_dir in [(src_dir, dest_src_dir), (build_dir, dest_build_dir)]: if os.path.exists(source_dir): for dirname in os.listdir(source_dir): dest = os.path.join(dest_dir, dirname) if os.path.exists(dest): logger.warn('The directory %s (containing package %s) already exists; cannot move source from bundle %s' % (dest, dirname, self)) continue if not os.path.exists(dest_dir): logger.info('Creating directory %s' % dest_dir) os.makedirs(dest_dir) shutil.move(os.path.join(source_dir, dirname), dest)
|
3cc8c7972cf79da39a22d1c562a62b591fb6d792 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12982/3cc8c7972cf79da39a22d1c562a62b591fb6d792/pip.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3635,
67,
9991,
67,
2354,
12,
2890,
16,
1570,
67,
3510,
67,
1214,
16,
1570,
67,
4816,
67,
1214,
4672,
1026,
273,
365,
6315,
5814,
67,
3510,
67,
1214,
1815,
1026,
1705,
67,
1214,
273,
1140,
18,
803,
18,
5701,
12,
1969,
16,
296,
4816,
6134,
1361,
67,
1214,
273,
1140,
18,
803,
18,
5701,
12,
1969,
16,
296,
3510,
6134,
3440,
67,
3510,
67,
8291,
273,
5378,
3440,
67,
19653,
67,
8291,
273,
5378,
364,
1084,
67,
1214,
16,
1570,
67,
1214,
16,
1577,
67,
5548,
316,
306,
261,
4816,
67,
1214,
16,
1570,
67,
4816,
67,
1214,
16,
3440,
67,
19653,
67,
8291,
3631,
261,
3510,
67,
1214,
16,
1570,
67,
3510,
67,
1214,
16,
3440,
67,
3510,
67,
8291,
13,
14542,
309,
1140,
18,
803,
18,
1808,
12,
3168,
67,
1214,
4672,
364,
4283,
316,
1140,
18,
1098,
1214,
12,
3168,
67,
1214,
4672,
1570,
273,
1140,
18,
803,
18,
5701,
12,
10488,
67,
1214,
16,
4283,
13,
309,
1140,
18,
803,
18,
1808,
12,
10488,
4672,
1194,
18,
8935,
2668,
1986,
1867,
738,
87,
261,
1213,
3280,
2181,
738,
87,
13,
1818,
1704,
31,
2780,
3635,
1084,
628,
3440,
738,
87,
11,
738,
261,
10488,
16,
4283,
16,
365,
3719,
1324,
309,
486,
1140,
18,
803,
18,
1808,
12,
10488,
67,
1214,
4672,
1194,
18,
1376,
2668,
11092,
1867,
738,
87,
11,
738,
1570,
67,
1214,
13,
1140,
18,
81,
9477,
10539,
12,
10488,
67,
1214,
13,
11060,
18,
8501,
12,
538,
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,
3635,
67,
9991,
67,
2354,
12,
2890,
16,
1570,
67,
3510,
67,
1214,
16,
1570,
67,
4816,
67,
1214,
4672,
1026,
273,
365,
6315,
5814,
67,
3510,
67,
1214,
1815,
1026,
1705,
67,
1214,
273,
1140,
18,
803,
18,
5701,
12,
1969,
16,
296,
4816,
6134,
1361,
67,
1214,
273,
1140,
18,
803,
18,
5701,
12,
1969,
16,
296,
3510,
6134,
3440,
67,
3510,
67,
8291,
273,
5378,
3440,
67,
19653,
67,
8291,
273,
5378,
364,
1084,
67,
1214,
16,
1570,
67,
1214,
16,
1577,
67,
5548,
316,
306,
261,
4816,
67,
1214,
16,
1570,
67,
4816,
67,
1214,
16,
3440,
67,
19653,
67,
8291,
3631,
261,
3510,
67,
1214,
16,
1570,
67,
3510,
67,
1214,
16,
3440,
2
] |
red = lamp.col[0] green = lamp.col[1] blue = lamp.col[2]
|
def export_lights(lmp): # only lamps type 0, 1 and 4 supported at the moment # lamp types are: 0 - Lamp, 1 - Sun, 2 - Spot, 3 - Hemi, 4 - Area # Spots are replaced by directional (cylinrical) lights: adjust dist as close as possible to the ground receiving the # cone of light if you want Radius as close as possible lamp = lmp.getData() print "o exporting lamps" if lamp.type == 0: print " o exporting lamp "+lmp.name+"..." # get the rgb component for the lamp red = lamp.col[0] green = lamp.col[1] blue = lamp.col[2] power = lamp.energy * LAMPPOWER.val # get the location of the lamp objmatrix = lmp.matrix lampV = Mathutils.Vector([0, 0, 0, 1]) lampV = lampV * objmatrix FILE.write("\n\nlight {\n") FILE.write("\ttype point\n") FILE.write("\tcolor { \"sRGB nonlinear\" %.3f %.3f %.3f }\n" % (red, green, blue)) FILE.write("\tpower %s\n" % (power)) FILE.write("\tp %s %s %s\n" % (lampV[0], lampV[1], lampV[2])) FILE.write("}") elif lamp.type == 1: if IMP_SUN.val == 1: print " o exporting sun-light "+lmp.name+"..." invmatrix = Mathutils.Matrix(lmp.getInverseMatrix()) FILE.write("\nlight {\n") FILE.write("\ttype sunsky\n") FILE.write("\tup 0 0 1\n") FILE.write("\teast 0 1 0\n") FILE.write("\tsundir %f %f %f\n" % (invmatrix[0][2], invmatrix[1][2], invmatrix[2][2])) FILE.write("\tturbidity %s\n" % SUN_TURB.val) FILE.write("\tsamples %s\n" % SUN_SAMPLES.val) FILE.write("}") else: print " o exporting lamp "+lmp.name+"..." # get the rgb component for the lamp red = lamp.col[0] green = lamp.col[1] blue = lamp.col[2] power = lamp.energy * LAMPPOWER.val # get the location of the lamp objmatrix = lmp.matrix lampV = Mathutils.Vector([0, 0, 0, 1]) lampV = lampV * objmatrix FILE.write("\n\nlight {\n") FILE.write("\ttype point\n") FILE.write("\tcolor { \"sRGB nonlinear\" %.3f %.3f %.3f }\n" % (red, green, blue)) FILE.write("\tpower %s\n" % (power)) FILE.write("\tp %s %s %s\n" % (lampV[0], lampV[1], lampV[2])) FILE.write("}") elif lamp.type == 4: print " o exporting area-light "+lmp.name+"..." objmatrix = lmp.matrix xsize = lamp.areaSizeX * 0.5 if lamp.areaSizeY: # If rectangular area: print "o exporting rectangular area-light "+lmp.name+"..." ysize = lamp.areaSizeY * 0.5 else: # Else, square area: print "o exporting square area-light "+lmp.name+"..." ysize = xsize lampV0 = Mathutils.Vector([-xsize, ysize, 0, 1]) lampV1 = Mathutils.Vector([ xsize, ysize, 0, 1]) lampV2 = Mathutils.Vector([ xsize, -ysize, 0, 1]) lampV3 = Mathutils.Vector([-xsize, -ysize, 0, 1]) lampV0 = lampV0 * objmatrix lampV1 = lampV1 * objmatrix lampV2 = lampV2 * objmatrix lampV3 = lampV3 * objmatrix red = lamp.col[0] green = lamp.col[1] blue = lamp.col[2] radiance = lamp.energy * MESHLIGHTPOWER.val FILE.write("\n\nlight {\n") FILE.write("\ttype meshlight\n") FILE.write("\tname \"%s\"\n" % (lmp.name)) FILE.write("\temit { \"sRGB nonlinear\" %.3f %.3f %.3f }\n" % (red, green, blue)) FILE.write("\tradiance %s\n" % (radiance)) FILE.write("\tsamples %s\n" % DSAMPLES.val) FILE.write("\tpoints 4\n") FILE.write("\t\t%s %s %s\n" % (lampV0[0], lampV0[1], lampV0[2])) FILE.write("\t\t%s %s %s\n" % (lampV1[0], lampV1[1], lampV1[2])) FILE.write("\t\t%s %s %s\n" % (lampV2[0], lampV2[1], lampV2[2])) FILE.write("\t\t%s %s %s\n" % (lampV3[0], lampV3[1], lampV3[2])) FILE.write("\ttriangles 2\n") FILE.write("\t\t0 1 2\n") FILE.write("\t\t0 2 3\n") FILE.write("}") elif lamp.type == 2: print " o exporting spotlight "+lmp.name+"..." objmatrix = lmp.matrix targetV = Mathutils.Vector([0, 0, -1, 1]) targetV = targetV * objmatrix lampV = Mathutils.Vector([0, 0, 0, 1]) lampV = lampV * objmatrix angle = lamp.getSpotSize()*pi/360 dist = lamp.getDist() radius = dist/cos(angle)*sin(angle) red = lamp.col[0] green = lamp.col[1] blue = lamp.col[2] radiance = lamp.energy * LAMPPOWER.val FILE.write("\n\nlight {\n") FILE.write("\ttype directional\n") FILE.write("\tsource %s %s %s\n" % (lampV[0], lampV[1], lampV[2])) FILE.write("\ttarget %s %s %s\n" % (targetV[0], targetV[1], targetV[2])) FILE.write("\tradius %s\n" % (radius)) FILE.write("\temit { \"sRGB nonlinear\" %.3f %.3f %.3f }\n" % (red, green, blue)) FILE.write("}") elif lamp.type == 3: print " o exporting spherical light "+lmp.name+"..." objmatrix = lmp.matrix lampV = Mathutils.Vector([0, 0, 0, 1]) lampV = lampV * objmatrix dist = lamp.getDist() red = lamp.col[0] green = lamp.col[1] blue = lamp.col[2] power = lamp.energy * LAMPPOWER.val FILE.write("\n\nlight {\n") FILE.write("\ttype spherical\n") FILE.write("\tcolor { \"sRGB nonlinear\" %.3f %.3f %.3f }\n" % (red, green, blue)) FILE.write("\tradiance %s\n" % (power)) FILE.write("\tcenter %s %s %s\n" % (lampV[0], lampV[1], lampV[2])) FILE.write("\tradius %s\n" % (dist)) FILE.write("\tsamples %s\n" % DSAMPLES.val) FILE.write("}") else: print "Unsupported type lamp detected" if CONVLAMP.val == 1: print " o exporting lamp "+lmp.name+"..." # get the rgb component for the lamp red = lamp.col[0] green = lamp.col[1] blue = lamp.col[2] power = lamp.energy * LAMPPOWER.val # get the location of the lamp objmatrix = lmp.matrix lampV = Mathutils.Vector([0, 0, 0, 1]) lampV = lampV * objmatrix FILE.write("\n\nlight {\n") FILE.write("\ttype point\n") FILE.write("\tcolor { \"sRGB nonlinear\" %.3f %.3f %.3f }\n" % (red, green, blue)) FILE.write("\tpower %s\n" % (power)) FILE.write("\tp %s %s %s\n" % (lampV[0], lampV[1], lampV[2])) FILE.write("}")
|
223dfc1c7b8557f033095eceba9a38be84b7749e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12400/223dfc1c7b8557f033095eceba9a38be84b7749e/sunflow_export.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3359,
67,
5099,
87,
12,
80,
1291,
4672,
468,
1338,
328,
25508,
618,
374,
16,
404,
471,
1059,
3260,
622,
326,
10382,
468,
328,
931,
1953,
854,
30,
374,
300,
511,
931,
16,
404,
300,
31608,
16,
576,
300,
26523,
16,
890,
300,
670,
351,
77,
16,
1059,
300,
16668,
468,
5878,
6968,
854,
8089,
635,
4068,
287,
261,
2431,
7511,
1512,
287,
13,
26269,
30,
5765,
2411,
487,
1746,
487,
3323,
358,
326,
19209,
15847,
326,
468,
356,
73,
434,
9052,
309,
1846,
2545,
16378,
8384,
487,
1746,
487,
3323,
328,
931,
273,
328,
1291,
18,
588,
751,
1435,
1172,
315,
83,
3359,
310,
328,
25508,
6,
225,
309,
328,
931,
18,
723,
422,
374,
30,
1172,
315,
225,
320,
3359,
310,
328,
931,
13773,
80,
1291,
18,
529,
9078,
7070,
468,
336,
326,
6917,
1794,
364,
326,
328,
931,
12238,
273,
328,
931,
18,
15358,
380,
511,
8900,
2419,
18839,
18,
1125,
225,
468,
336,
326,
2117,
434,
326,
328,
931,
1081,
5667,
273,
328,
1291,
18,
5667,
328,
931,
58,
273,
2361,
5471,
18,
5018,
3816,
20,
16,
374,
16,
374,
16,
404,
5717,
328,
931,
58,
273,
328,
931,
58,
380,
1081,
5667,
225,
7527,
18,
2626,
31458,
82,
64,
82,
5099,
18890,
82,
7923,
7527,
18,
2626,
31458,
88,
723,
1634,
64,
82,
7923,
7527,
18,
2626,
31458,
88,
3266,
288,
1239,
87,
11343,
1661,
12379,
2412,
12639,
23,
74,
12639,
23,
74,
12639,
23,
74,
289,
64,
82,
6,
738,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3359,
67,
5099,
87,
12,
80,
1291,
4672,
468,
1338,
328,
25508,
618,
374,
16,
404,
471,
1059,
3260,
622,
326,
10382,
468,
328,
931,
1953,
854,
30,
374,
300,
511,
931,
16,
404,
300,
31608,
16,
576,
300,
26523,
16,
890,
300,
670,
351,
77,
16,
1059,
300,
16668,
468,
5878,
6968,
854,
8089,
635,
4068,
287,
261,
2431,
7511,
1512,
287,
13,
26269,
30,
5765,
2411,
487,
1746,
487,
3323,
358,
326,
19209,
15847,
326,
468,
356,
73,
434,
9052,
309,
1846,
2545,
16378,
8384,
487,
1746,
487,
3323,
328,
931,
273,
328,
1291,
18,
588,
751,
1435,
1172,
315,
83,
3359,
310,
328,
25508,
6,
225,
309,
328,
931,
18,
723,
422,
374,
30,
1172,
2
] |
|
def parse_comment(self, i):
|
def parse_comment(self, i, report=1):
|
def parse_comment(self, i): rawdata = self.rawdata assert rawdata[i:i+4] == '<!--', 'unexpected call to parse_comment()' match = commentclose.search(rawdata, i+4) if not match: return -1 j = match.start() self.handle_comment(rawdata[i+4: j]) j = match.end() return j
|
e1f1b158a9a19e3889890db85d5e537716820815 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/e1f1b158a9a19e3889890db85d5e537716820815/HTMLParser.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
67,
3469,
12,
2890,
16,
277,
16,
2605,
33,
21,
4672,
1831,
892,
273,
365,
18,
1899,
892,
1815,
1831,
892,
63,
77,
30,
77,
15,
24,
65,
422,
2368,
22772,
2187,
296,
21248,
745,
358,
1109,
67,
3469,
11866,
845,
273,
2879,
4412,
18,
3072,
12,
1899,
892,
16,
277,
15,
24,
13,
309,
486,
845,
30,
327,
300,
21,
525,
273,
845,
18,
1937,
1435,
365,
18,
4110,
67,
3469,
12,
1899,
892,
63,
77,
15,
24,
30,
525,
5717,
525,
273,
845,
18,
409,
1435,
327,
525,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
277,
16,
2605,
33,
21,
4672,
1831,
892,
273,
365,
18,
1899,
892,
1815,
1831,
892,
63,
77,
30,
77,
15,
24,
65,
422,
2368,
22772,
2187,
296,
21248,
745,
358,
1109,
67,
3469,
11866,
845,
273,
2879,
4412,
18,
3072,
12,
1899,
892,
16,
277,
15,
24,
13,
309,
486,
845,
30,
327,
300,
21,
525,
273,
845,
18,
1937,
1435,
365,
18,
4110,
67,
3469,
12,
1899,
892,
63,
77,
15,
24,
30,
525,
5717,
525,
273,
845,
18,
409,
1435,
327,
525,
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
] |
import base64
|
def asBase64(self): import base64 return base64.encodestring(self.data)
|
95387a18956b2ab60709a79aaa93cfddec8978d9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/95387a18956b2ab60709a79aaa93cfddec8978d9/plistlib.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
487,
2171,
1105,
12,
2890,
4672,
327,
1026,
1105,
18,
1331,
1145,
371,
12,
2890,
18,
892,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
487,
2171,
1105,
12,
2890,
4672,
327,
1026,
1105,
18,
1331,
1145,
371,
12,
2890,
18,
892,
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
] |
|
else:
|
elif self.display == 2: table = "schTASK"
|
def start(self, stdscr): ring = 0 if curses.has_colors(): curses.start_color() curses.init_pair(8, curses.COLOR_WHITE, curses.COLOR_BLACK) curses.init_pair(1, curses.COLOR_WHITE, curses.COLOR_RED) curses.init_pair(2, curses.COLOR_GREEN, curses.COLOR_BLACK) curses.init_pair(3, curses.COLOR_MAGENTA, curses.COLOR_BLACK) curses.init_pair(4, curses.COLOR_RED, curses.COLOR_BLACK) curses.init_pair(5, curses.COLOR_BLUE, curses.COLOR_BLACK) curses.init_pair(6, curses.COLOR_CYAN, curses.COLOR_BLACK) curses.init_pair(7, curses.COLOR_YELLOW, curses.COLOR_BLACK)
|
621e32812dd0bb7f178db346fc028225f40d7a3d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12027/621e32812dd0bb7f178db346fc028225f40d7a3d/bibsched.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
787,
12,
2890,
16,
2044,
24638,
4672,
9221,
273,
374,
309,
30436,
18,
5332,
67,
9724,
13332,
30436,
18,
1937,
67,
3266,
1435,
30436,
18,
2738,
67,
6017,
12,
28,
16,
30436,
18,
10989,
67,
16861,
16,
30436,
18,
10989,
67,
14618,
3649,
13,
30436,
18,
2738,
67,
6017,
12,
21,
16,
30436,
18,
10989,
67,
16861,
16,
30436,
18,
10989,
67,
5879,
13,
30436,
18,
2738,
67,
6017,
12,
22,
16,
30436,
18,
10989,
67,
29500,
16,
30436,
18,
10989,
67,
14618,
3649,
13,
30436,
18,
2738,
67,
6017,
12,
23,
16,
30436,
18,
10989,
67,
49,
15005,
37,
16,
30436,
18,
10989,
67,
14618,
3649,
13,
30436,
18,
2738,
67,
6017,
12,
24,
16,
30436,
18,
10989,
67,
5879,
16,
30436,
18,
10989,
67,
14618,
3649,
13,
30436,
18,
2738,
67,
6017,
12,
25,
16,
30436,
18,
10989,
67,
14618,
1821,
16,
30436,
18,
10989,
67,
14618,
3649,
13,
30436,
18,
2738,
67,
6017,
12,
26,
16,
30436,
18,
10989,
67,
16068,
1258,
16,
30436,
18,
10989,
67,
14618,
3649,
13,
30436,
18,
2738,
67,
6017,
12,
27,
16,
30436,
18,
10989,
67,
61,
2247,
4130,
16,
30436,
18,
10989,
67,
14618,
3649,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
787,
12,
2890,
16,
2044,
24638,
4672,
9221,
273,
374,
309,
30436,
18,
5332,
67,
9724,
13332,
30436,
18,
1937,
67,
3266,
1435,
30436,
18,
2738,
67,
6017,
12,
28,
16,
30436,
18,
10989,
67,
16861,
16,
30436,
18,
10989,
67,
14618,
3649,
13,
30436,
18,
2738,
67,
6017,
12,
21,
16,
30436,
18,
10989,
67,
16861,
16,
30436,
18,
10989,
67,
5879,
13,
30436,
18,
2738,
67,
6017,
12,
22,
16,
30436,
18,
10989,
67,
29500,
16,
30436,
18,
10989,
67,
14618,
3649,
13,
30436,
18,
2738,
67,
6017,
12,
23,
16,
30436,
18,
10989,
67,
49,
15005,
37,
16,
30436,
18,
10989,
67,
14618,
3649,
13,
30436,
18,
2738,
67,
6017,
12,
24,
16,
30436,
18,
2
] |
shutil.rmtree('tmp/tmp')
|
try: shutil.rmtree('tmp/tmp') except: reason = 'Cannot remove tmp/tmp for drv = %s, nBands = %d, datatype = %s' % (drv.ShortName, nBands, gdal.GetDataTypeName(datatype)) gdaltest.post_reason(reason) return
|
def misc_5_internal(drv, datatype, nBands): #print 'drv = %s, nBands = %d, datatype = %s' % (drv.ShortName, nBands, gdal.GetDataTypeName(datatype)) os.mkdir('tmp/tmp') ds = drv.Create('tmp/tmp/foo', 100, 100, nBands, datatype) ds = None shutil.rmtree('tmp/tmp') return
|
6b534427e9ae64c95c4f17a9e5c73617b473475e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10289/6b534427e9ae64c95c4f17a9e5c73617b473475e/misc.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
20448,
67,
25,
67,
7236,
12,
3069,
90,
16,
11172,
16,
290,
26554,
4672,
468,
1188,
296,
3069,
90,
273,
738,
87,
16,
290,
26554,
273,
738,
72,
16,
11172,
273,
738,
87,
11,
738,
261,
3069,
90,
18,
29983,
16,
290,
26554,
16,
15551,
287,
18,
967,
6273,
461,
12,
21540,
3719,
1140,
18,
26686,
2668,
5645,
19,
5645,
6134,
3780,
273,
302,
4962,
18,
1684,
2668,
5645,
19,
5645,
19,
11351,
2187,
2130,
16,
2130,
16,
290,
26554,
16,
11172,
13,
3780,
273,
599,
225,
775,
30,
11060,
18,
86,
17371,
2668,
5645,
19,
5645,
6134,
1335,
30,
3971,
273,
296,
4515,
1206,
1853,
19,
5645,
364,
302,
4962,
273,
738,
87,
16,
290,
26554,
273,
738,
72,
16,
11172,
273,
738,
87,
11,
738,
261,
3069,
90,
18,
29983,
16,
290,
26554,
16,
15551,
287,
18,
967,
6273,
461,
12,
21540,
3719,
15551,
2390,
395,
18,
2767,
67,
10579,
12,
10579,
13,
327,
225,
327,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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90,
16,
11172,
16,
290,
26554,
4672,
468,
1188,
296,
3069,
90,
273,
738,
87,
16,
290,
26554,
273,
738,
72,
16,
11172,
273,
738,
87,
11,
738,
261,
3069,
90,
18,
29983,
16,
290,
26554,
16,
15551,
287,
18,
967,
6273,
461,
12,
21540,
3719,
1140,
18,
26686,
2668,
5645,
19,
5645,
6134,
3780,
273,
302,
4962,
18,
1684,
2668,
5645,
19,
5645,
19,
11351,
2187,
2130,
16,
2130,
16,
290,
26554,
16,
11172,
13,
3780,
273,
599,
225,
775,
30,
11060,
18,
86,
17371,
2668,
5645,
19,
5645,
6134,
1335,
30,
3971,
273,
296,
4515,
1206,
1853,
19,
5645,
364,
302,
4962,
273,
738,
87,
16,
290,
26554,
273,
2
] |
return wc.i18n.get_translator(configdata.name, get_locdir(), lang,
|
return wc.i18n.get_translator(configdata.name, get_locdir(), [lang],
|
def get_translator (lang, translatorklass=None, fallbackklass=None): """ Return translator class. """ return wc.i18n.get_translator(configdata.name, get_locdir(), lang, translatorklass=translatorklass, fallback=True, fallbackklass=fallbackklass)
|
9b66c74660f2ae074fc1a8c43455209d7caf485c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3948/9b66c74660f2ae074fc1a8c43455209d7caf485c/__init__.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
17879,
261,
4936,
16,
8333,
22626,
33,
7036,
16,
5922,
22626,
33,
7036,
4672,
3536,
2000,
8333,
667,
18,
3536,
327,
14310,
18,
77,
2643,
82,
18,
588,
67,
17879,
12,
1425,
892,
18,
529,
16,
336,
67,
1829,
1214,
9334,
306,
4936,
6487,
8333,
22626,
33,
17879,
22626,
16,
5922,
33,
5510,
16,
5922,
22626,
33,
16471,
22626,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
17879,
261,
4936,
16,
8333,
22626,
33,
7036,
16,
5922,
22626,
33,
7036,
4672,
3536,
2000,
8333,
667,
18,
3536,
327,
14310,
18,
77,
2643,
82,
18,
588,
67,
17879,
12,
1425,
892,
18,
529,
16,
336,
67,
1829,
1214,
9334,
306,
4936,
6487,
8333,
22626,
33,
17879,
22626,
16,
5922,
33,
5510,
16,
5922,
22626,
33,
16471,
22626,
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
] |
sage: sage.combinat.set_partition._listbloc(2,2,[1,2,3,4]) == l
|
sage: list(sage.combinat.set_partition._listbloc(2,2,[1,2,3,4])) == l
|
def _listbloc(n, nbrepets, listint=None): """ listbloc decomposes a set of n*nbrepets integers (the list listint) in nbrepets parts. It is used in the algorithm to generate all set partitions. Not to be called by the user. EXAMPLES: sage: sage.combinat.set_partition._listbloc(2,1) [{{1, 2}}] sage: l = [Set([Set([3, 4]), Set([1, 2])]), Set([Set([2, 4]), Set([1, 3])]), Set([Set([2, 3]), Set([1, 4])])] sage: sage.combinat.set_partition._listbloc(2,2,[1,2,3,4]) == l True """ if isinstance(listint, (int, sage.rings.integer.Integer)) or listint is None: listint = Set(range(1,n+1)) if nbrepets == 1: return [Set([listint])] l = __builtin__.list(listint) l.sort() smallest = Set(l[:1]) new_listint = Set(l[1:]) f = lambda u, v: u.union(_set_union([smallest,v])) res = [] for ssens in subset.Subsets(new_listint, n-1): for z in _listbloc(n, nbrepets-1, new_listint-ssens): res.append(f(z,ssens)) return res
|
9a6b5050d0dd868fd1f7db43e417529babaf7e6d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/9a6b5050d0dd868fd1f7db43e417529babaf7e6d/set_partition.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1098,
70,
1829,
12,
82,
16,
4264,
14462,
2413,
16,
666,
474,
33,
7036,
4672,
3536,
666,
70,
1829,
9862,
10522,
279,
444,
434,
290,
14,
82,
6073,
84,
2413,
12321,
261,
5787,
666,
666,
474,
13,
316,
4264,
14462,
2413,
2140,
18,
225,
2597,
353,
1399,
316,
326,
4886,
358,
2103,
777,
444,
10060,
18,
225,
2288,
358,
506,
2566,
635,
326,
729,
18,
225,
5675,
8900,
11386,
30,
272,
410,
30,
272,
410,
18,
832,
4757,
270,
18,
542,
67,
10534,
6315,
1098,
70,
1829,
12,
22,
16,
21,
13,
306,
12187,
21,
16,
576,
9090,
65,
272,
410,
30,
328,
273,
306,
694,
3816,
694,
3816,
23,
16,
1059,
65,
3631,
1000,
3816,
21,
16,
576,
5717,
65,
3631,
1000,
3816,
694,
3816,
22,
16,
1059,
65,
3631,
1000,
3816,
21,
16,
890,
5717,
65,
3631,
1000,
3816,
694,
3816,
22,
16,
890,
65,
3631,
1000,
3816,
21,
16,
1059,
5717,
5717,
65,
272,
410,
30,
666,
12,
87,
410,
18,
832,
4757,
270,
18,
542,
67,
10534,
6315,
1098,
70,
1829,
12,
22,
16,
22,
16,
63,
21,
16,
22,
16,
23,
16,
24,
22643,
422,
328,
1053,
282,
3536,
309,
1549,
12,
1098,
474,
16,
261,
474,
16,
272,
410,
18,
86,
899,
18,
7745,
18,
4522,
3719,
578,
666,
474,
353,
599,
30,
666,
474,
273,
1000,
12,
3676,
12,
21,
16,
82,
15,
21,
3719,
282,
309,
4264,
14462,
2413,
422,
404,
30,
327,
306,
694,
3816,
1098,
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,
1098,
70,
1829,
12,
82,
16,
4264,
14462,
2413,
16,
666,
474,
33,
7036,
4672,
3536,
666,
70,
1829,
9862,
10522,
279,
444,
434,
290,
14,
82,
6073,
84,
2413,
12321,
261,
5787,
666,
666,
474,
13,
316,
4264,
14462,
2413,
2140,
18,
225,
2597,
353,
1399,
316,
326,
4886,
358,
2103,
777,
444,
10060,
18,
225,
2288,
358,
506,
2566,
635,
326,
729,
18,
225,
5675,
8900,
11386,
30,
272,
410,
30,
272,
410,
18,
832,
4757,
270,
18,
542,
67,
10534,
6315,
1098,
70,
1829,
12,
22,
16,
21,
13,
306,
12187,
21,
16,
576,
9090,
65,
272,
410,
30,
328,
273,
306,
694,
3816,
694,
3816,
23,
16,
1059,
65,
3631,
1000,
3816,
21,
2
] |
"""
|
def sqr(x, wait=0.0): time.sleep(wait) return x*x
|
9cbd5a7ebf2e75965579f3919b8cd9004fbf3411 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8125/9cbd5a7ebf2e75965579f3919b8cd9004fbf3411/test_multiprocessing.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4744,
86,
12,
92,
16,
2529,
33,
20,
18,
20,
4672,
813,
18,
19607,
12,
7048,
13,
327,
619,
14,
92,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
7048,
13,
327,
619,
14,
92,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
if context is None: context = {} id = self.search(cr, uid, [('user_id', '=', context.get('user_id', uid))], context=context) if id: journal = self.browse(cr, uid, id[0], context=context) if journal.journal_id: return journal.journal_id.id
|
md = self.pool.get('ir.model.data') try: result = md.get_object_reference(cr, uid, 'hr_timesheet', 'analytic_journal') return result[1] except ValueError, e: pass
|
def _getAnalyticJournal(self, cr, uid, context=None): if context is None: context = {} id = self.search(cr, uid, [('user_id', '=', context.get('user_id', uid))], context=context) if id: journal = self.browse(cr, uid, id[0], context=context) if journal.journal_id: return journal.journal_id.id return False
|
e61f615c7b892b10c291f8e43cb27f000cc3d6db /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/e61f615c7b892b10c291f8e43cb27f000cc3d6db/hr_timesheet.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
588,
979,
7834,
335,
16336,
12,
2890,
16,
4422,
16,
4555,
16,
819,
33,
7036,
4672,
3481,
273,
365,
18,
6011,
18,
588,
2668,
481,
18,
2284,
18,
892,
6134,
775,
30,
563,
273,
3481,
18,
588,
67,
1612,
67,
6180,
12,
3353,
16,
4555,
16,
296,
7256,
67,
8293,
2963,
2187,
296,
304,
7834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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
588,
979,
7834,
335,
16336,
12,
2890,
16,
4422,
16,
4555,
16,
819,
33,
7036,
4672,
3481,
273,
365,
18,
6011,
18,
588,
2668,
481,
18,
2284,
18,
892,
6134,
775,
30,
563,
273,
3481,
18,
588,
67,
1612,
67,
6180,
12,
3353,
16,
4555,
16,
296,
7256,
67,
8293,
2963,
2187,
296,
304,
7834,
335,
67,
22644,
6134,
327,
563,
63,
21,
65,
1335,
2068,
16,
425,
30,
1342,
327,
1083,
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
] |
if fc != bc:
|
if fc != bc and fc != (bc[1], bc[0]):
|
def offset(freemanCodes, index, closed = True): fc = searchForwardQuadrant(freemanCodes, index, closed) bc = searchBackwardQuadrant(freemanCodes, index, closed) assert type(fc) == tuple and type(bc) == tuple if fc != bc: return Vector2(0, 0) dsl, ofs = tangentDSL(freemanCodes, index, closed) #dsl.convert8to4() alpha = (2.*dsl.pos+dsl.b-1)/(2*dsl.b) q = quadrant(*fc) if q == 0: print ofs, index, fc, bc, dsl return Vector2( alpha, -alpha) elif True: return Vector2(0, 0) elif q == 1: return Vector2(-alpha, -alpha) elif q == 2: return Vector2(-alpha, alpha) else: return Vector2( alpha, alpha)
|
b21e1a58e23598e8d5ffe0fe9bfec5020788028a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10394/b21e1a58e23598e8d5ffe0fe9bfec5020788028a/dsl.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1384,
12,
74,
266,
351,
304,
6295,
16,
770,
16,
4375,
273,
1053,
4672,
8036,
273,
1623,
8514,
24483,
6890,
12,
74,
266,
351,
304,
6295,
16,
770,
16,
4375,
13,
6533,
273,
1623,
26283,
24483,
6890,
12,
74,
266,
351,
304,
6295,
16,
770,
16,
4375,
13,
1815,
618,
12,
7142,
13,
422,
3193,
471,
618,
12,
13459,
13,
422,
3193,
309,
8036,
480,
6533,
471,
8036,
480,
261,
13459,
63,
21,
6487,
6533,
63,
20,
65,
4672,
225,
327,
5589,
22,
12,
20,
16,
374,
13,
23244,
16,
26927,
273,
268,
24255,
29387,
12,
74,
266,
351,
304,
6295,
16,
770,
16,
4375,
13,
468,
30249,
18,
6283,
28,
869,
24,
1435,
4190,
273,
261,
22,
4509,
30249,
18,
917,
15,
30249,
18,
70,
17,
21,
13176,
12,
22,
14,
30249,
18,
70,
13,
1043,
273,
9474,
6890,
30857,
7142,
13,
309,
1043,
422,
374,
30,
1172,
26927,
16,
770,
16,
8036,
16,
6533,
16,
23244,
327,
5589,
22,
12,
4190,
16,
300,
5429,
13,
1327,
1053,
30,
327,
5589,
22,
12,
20,
16,
374,
13,
1327,
1043,
422,
404,
30,
327,
5589,
22,
19236,
5429,
16,
300,
5429,
13,
1327,
1043,
422,
576,
30,
327,
5589,
22,
19236,
5429,
16,
225,
4190,
13,
469,
30,
327,
5589,
22,
12,
4190,
16,
225,
4190,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1384,
12,
74,
266,
351,
304,
6295,
16,
770,
16,
4375,
273,
1053,
4672,
8036,
273,
1623,
8514,
24483,
6890,
12,
74,
266,
351,
304,
6295,
16,
770,
16,
4375,
13,
6533,
273,
1623,
26283,
24483,
6890,
12,
74,
266,
351,
304,
6295,
16,
770,
16,
4375,
13,
1815,
618,
12,
7142,
13,
422,
3193,
471,
618,
12,
13459,
13,
422,
3193,
309,
8036,
480,
6533,
471,
8036,
480,
261,
13459,
63,
21,
6487,
6533,
63,
20,
65,
4672,
225,
327,
5589,
22,
12,
20,
16,
374,
13,
23244,
16,
26927,
273,
268,
24255,
29387,
12,
74,
266,
351,
304,
6295,
16,
770,
16,
4375,
13,
468,
30249,
18,
6283,
28,
869,
24,
1435,
4190,
273,
261,
22,
2
] |
_namecheck_rgx = re.compile('([_a-zA-Z][_a-zA-Z0-9]*)+(\.[_a-zA-Z][_a-zA-Z0-9]*)*')
|
_namecheck_rgx = re.compile( '([_a-zA-Z][_a-zA-Z0-9]*)+(\.[_a-zA-Z][_a-zA-Z0-9]*)*')
|
def set(self, object, name, value): if self.iostatus is 'out': raise TraitError('%s is an output trait and cannot be set' % name) if self.trait: value = self.trait.validate(object, name, value) setattr(self._ref() or self._resolve(object), self._last_name, value)
|
8586d67f5d42158f614b7fc3ff6c91066cfdb680 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12610/8586d67f5d42158f614b7fc3ff6c91066cfdb680/container.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
12,
2890,
16,
733,
16,
508,
16,
460,
4672,
309,
365,
18,
77,
669,
996,
353,
296,
659,
4278,
1002,
2197,
305,
668,
29909,
87,
353,
392,
876,
13517,
471,
2780,
506,
444,
11,
738,
508,
13,
225,
309,
365,
18,
22513,
30,
460,
273,
365,
18,
22513,
18,
5662,
12,
1612,
16,
508,
16,
460,
13,
225,
9241,
12,
2890,
6315,
1734,
1435,
578,
365,
6315,
10828,
12,
1612,
3631,
365,
6315,
2722,
67,
529,
16,
460,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
12,
2890,
16,
733,
16,
508,
16,
460,
4672,
309,
365,
18,
77,
669,
996,
353,
296,
659,
4278,
1002,
2197,
305,
668,
29909,
87,
353,
392,
876,
13517,
471,
2780,
506,
444,
11,
738,
508,
13,
225,
309,
365,
18,
22513,
30,
460,
273,
365,
18,
22513,
18,
5662,
12,
1612,
16,
508,
16,
460,
13,
225,
9241,
12,
2890,
6315,
1734,
1435,
578,
365,
6315,
10828,
12,
1612,
3631,
365,
6315,
2722,
67,
529,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
t.type,
|
t.type_id,
|
def init(self, cr): tools.sql.drop_view_if_exists(cr, 'report_project_task_user') cr.execute(""" CREATE view report_project_task_user as SELECT (select 1 ) AS nbr, t.id as id, to_char(date_start, 'YYYY') as year, to_char(date_start, 'MM') as month, to_char(date_start, 'YYYY-MM-DD') as day, date_trunc('day',t.date_start) as date_start, date_trunc('day',t.date_end) as date_end, to_date(to_char(t.date_deadline, 'dd-MM-YYYY'),'dd-MM-YYYY') as date_deadline,
|
233223b2a5102d950d6803b118283109f97dbb94 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/233223b2a5102d950d6803b118283109f97dbb94/project_report.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1208,
12,
2890,
16,
4422,
4672,
8513,
18,
4669,
18,
7285,
67,
1945,
67,
430,
67,
1808,
12,
3353,
16,
296,
6006,
67,
4406,
67,
4146,
67,
1355,
6134,
4422,
18,
8837,
2932,
3660,
13278,
1476,
2605,
67,
4406,
67,
4146,
67,
1355,
487,
9111,
261,
4025,
404,
262,
5355,
26297,
16,
268,
18,
350,
487,
612,
16,
358,
67,
3001,
12,
712,
67,
1937,
16,
296,
26287,
6134,
487,
3286,
16,
358,
67,
3001,
12,
712,
67,
1937,
16,
296,
8206,
6134,
487,
3138,
16,
358,
67,
3001,
12,
712,
67,
1937,
16,
296,
26287,
17,
8206,
17,
5698,
6134,
487,
2548,
16,
1509,
67,
23558,
2668,
2881,
2187,
88,
18,
712,
67,
1937,
13,
487,
1509,
67,
1937,
16,
1509,
67,
23558,
2668,
2881,
2187,
88,
18,
712,
67,
409,
13,
487,
1509,
67,
409,
16,
358,
67,
712,
12,
869,
67,
3001,
12,
88,
18,
712,
67,
22097,
1369,
16,
296,
449,
17,
8206,
17,
26287,
19899,
11,
449,
17,
8206,
17,
26287,
6134,
487,
1509,
67,
22097,
1369,
16,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1208,
12,
2890,
16,
4422,
4672,
8513,
18,
4669,
18,
7285,
67,
1945,
67,
430,
67,
1808,
12,
3353,
16,
296,
6006,
67,
4406,
67,
4146,
67,
1355,
6134,
4422,
18,
8837,
2932,
3660,
13278,
1476,
2605,
67,
4406,
67,
4146,
67,
1355,
487,
9111,
261,
4025,
404,
262,
5355,
26297,
16,
268,
18,
350,
487,
612,
16,
358,
67,
3001,
12,
712,
67,
1937,
16,
296,
26287,
6134,
487,
3286,
16,
358,
67,
3001,
12,
712,
67,
1937,
16,
296,
8206,
6134,
487,
3138,
16,
358,
67,
3001,
12,
712,
67,
1937,
16,
296,
26287,
17,
8206,
17,
5698,
6134,
487,
2548,
16,
1509,
67,
23558,
2668,
2881,
2187,
88,
18,
712,
67,
1937,
13,
487,
1509,
2
] |
iax.appendValue(self, "host", "defaultip")
|
if self.host != '': iax.appendValue(self, "host", "defaultip")
|
def createAsteriskConfig(self): needModule("res_crypto") needModule("chan_iax2") iax = AstConf("iax.conf") iax.setSection(self.name) iax.append("type=friend") iax.appendValue(self, "secret") iax.append("host=dynamic") iax.appendValue(self, "host", "defaultip") iax.append("context=out-%s" % self.name) if self.calleridname and self.calleridnum: iax.append('callerid="%s" <%s>' % (self.calleridname, self.calleridnum)) elif self.calleridname: iax.append('callerid="%s"' % self.calleridname) elif self.calleridnum: iax.append('callerid=<%s>' % self.calleridnum) if self.enablecallgroup: iax.append('callgroup=%s' % self.callgroup) iax.append('pickupgroup=%s' % self.callgroup)
|
70efb43ead493334ac1159933394ce60894cd584 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2627/70efb43ead493334ac1159933394ce60894cd584/cfg_phone_iax.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
37,
8190,
10175,
809,
12,
2890,
4672,
1608,
3120,
2932,
455,
67,
18489,
7923,
1608,
3120,
2932,
7472,
67,
77,
651,
22,
7923,
225,
277,
651,
273,
16614,
3976,
2932,
77,
651,
18,
3923,
7923,
277,
651,
18,
542,
5285,
12,
2890,
18,
529,
13,
277,
651,
18,
6923,
2932,
723,
33,
74,
7522,
7923,
277,
651,
18,
6923,
620,
12,
2890,
16,
315,
5875,
7923,
277,
651,
18,
6923,
2932,
2564,
33,
14507,
7923,
309,
365,
18,
2564,
480,
875,
30,
277,
651,
18,
6923,
620,
12,
2890,
16,
315,
2564,
3113,
315,
1886,
625,
7923,
277,
651,
18,
6923,
2932,
2472,
33,
659,
6456,
87,
6,
738,
365,
18,
529,
13,
309,
365,
18,
16140,
350,
529,
471,
365,
18,
16140,
350,
2107,
30,
277,
651,
18,
6923,
2668,
16140,
350,
11613,
87,
6,
23930,
87,
1870,
738,
261,
2890,
18,
16140,
350,
529,
16,
365,
18,
16140,
350,
2107,
3719,
1327,
365,
18,
16140,
350,
529,
30,
277,
651,
18,
6923,
2668,
16140,
350,
11613,
87,
5187,
738,
365,
18,
16140,
350,
529,
13,
1327,
365,
18,
16140,
350,
2107,
30,
277,
651,
18,
6923,
2668,
16140,
350,
27127,
9,
87,
1870,
738,
365,
18,
16140,
350,
2107,
13,
225,
309,
365,
18,
7589,
1991,
1655,
30,
277,
651,
18,
6923,
2668,
1991,
1655,
5095,
87,
11,
738,
365,
18,
1991,
1655,
13,
277,
651,
18,
6923,
2668,
11503,
416,
1655,
5095,
87,
11,
738,
365,
18,
1991,
1655,
13,
2,
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,
1,
1,
1,
1,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
37,
8190,
10175,
809,
12,
2890,
4672,
1608,
3120,
2932,
455,
67,
18489,
7923,
1608,
3120,
2932,
7472,
67,
77,
651,
22,
7923,
225,
277,
651,
273,
16614,
3976,
2932,
77,
651,
18,
3923,
7923,
277,
651,
18,
542,
5285,
12,
2890,
18,
529,
13,
277,
651,
18,
6923,
2932,
723,
33,
74,
7522,
7923,
277,
651,
18,
6923,
620,
12,
2890,
16,
315,
5875,
7923,
277,
651,
18,
6923,
2932,
2564,
33,
14507,
7923,
309,
365,
18,
2564,
480,
875,
30,
277,
651,
18,
6923,
620,
12,
2890,
16,
315,
2564,
3113,
315,
1886,
625,
7923,
277,
651,
18,
6923,
2932,
2472,
33,
659,
6456,
87,
6,
738,
365,
18,
529,
13,
309,
365,
18,
16140,
2
] |
from docutils.core import publih_string
|
from docutils.core import publish_string
|
def setSaneLocale(localestring=''): """Set a sane local configuration for LC_NUMERIC. `locale` is the locale string to be set, e.g. 'en_US.UTF-8' This will change the ``LC_ALL`` setting to the specified string, and set the ``LC_NUMBERIC`` to 'C'. Changing the LC_NUMERIC setting is a very bad idea! It makes floating point values to be read or written with a comma instead of a the decimal point. Of course this makes input and output files completely incompatible. You will often not be able to process these files any further and create a lot of troubles for yourself and other people if you use an LC_NUMERIC setting different from the standard. Because we do not want to help you shoot yourself in the foot, this function always sets ``LC_NUMERIC`` back to a sane value and we call this function when pyFormex is starting up. """ import locale locale.setlocale(locale.LC_ALL,localestring) locale.setlocale(locale.LC_NUMERIC, 'C')
|
1d676bfc5f289ea5bcfbd29fa112e31219bb716c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2499/1d676bfc5f289ea5bcfbd29fa112e31219bb716c/utils.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
13928,
8806,
3916,
12,
22638,
371,
2218,
11,
4672,
3536,
694,
279,
30426,
1191,
1664,
364,
27727,
67,
22998,
18,
225,
1375,
6339,
68,
353,
326,
2573,
533,
358,
506,
444,
16,
425,
18,
75,
18,
296,
275,
67,
3378,
18,
5159,
17,
28,
11,
225,
1220,
903,
2549,
326,
12176,
13394,
67,
4685,
10335,
3637,
358,
326,
1269,
533,
16,
471,
444,
326,
12176,
13394,
67,
9931,
2871,
10335,
358,
296,
39,
10332,
225,
1680,
18183,
326,
27727,
67,
22998,
3637,
353,
279,
8572,
5570,
21463,
5,
2597,
7297,
13861,
1634,
924,
358,
506,
855,
578,
5941,
598,
279,
8716,
3560,
434,
279,
326,
6970,
1634,
18,
8031,
4362,
333,
7297,
810,
471,
876,
1390,
14416,
24430,
18,
4554,
903,
16337,
486,
506,
7752,
358,
1207,
4259,
1390,
1281,
9271,
471,
752,
279,
17417,
434,
23432,
19314,
364,
3433,
2890,
471,
1308,
16951,
309,
1846,
999,
392,
27727,
67,
22998,
3637,
3775,
628,
326,
4529,
18,
225,
15191,
732,
741,
486,
2545,
358,
2809,
1846,
699,
1632,
3433,
2890,
316,
326,
14200,
16,
333,
445,
3712,
1678,
12176,
13394,
67,
22998,
10335,
1473,
358,
279,
30426,
460,
471,
732,
745,
333,
445,
1347,
2395,
1204,
338,
353,
5023,
731,
18,
3536,
1930,
2573,
2573,
18,
542,
6339,
12,
6339,
18,
13394,
67,
4685,
16,
22638,
371,
13,
2573,
18,
542,
6339,
12,
6339,
18,
13394,
67,
22998,
16,
296,
39,
6134,
282,
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,
13928,
8806,
3916,
12,
22638,
371,
2218,
11,
4672,
3536,
694,
279,
30426,
1191,
1664,
364,
27727,
67,
22998,
18,
225,
1375,
6339,
68,
353,
326,
2573,
533,
358,
506,
444,
16,
425,
18,
75,
18,
296,
275,
67,
3378,
18,
5159,
17,
28,
11,
225,
1220,
903,
2549,
326,
12176,
13394,
67,
4685,
10335,
3637,
358,
326,
1269,
533,
16,
471,
444,
326,
12176,
13394,
67,
9931,
2871,
10335,
358,
296,
39,
10332,
225,
1680,
18183,
326,
27727,
67,
22998,
3637,
353,
279,
8572,
5570,
21463,
5,
2597,
7297,
13861,
1634,
924,
358,
506,
855,
578,
5941,
598,
279,
8716,
3560,
434,
279,
326,
6970,
1634,
18,
8031,
4362,
333,
7297,
810,
471,
876,
1390,
14416,
24430,
2
] |
total = total + t_power * R(sigma[k].lift())
|
total = total + t_power * sigma[k].lift()
|
def height(P, check=True): if P.is_finite_order(): return K(0) if check: assert P.curve() == E, "the point P must lie on the curve " \ "from which the height function was created"
|
65c3f320038580074d5807d5c1512949277d8800 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/65c3f320038580074d5807d5c1512949277d8800/ell_rational_field.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2072,
12,
52,
16,
866,
33,
5510,
4672,
309,
453,
18,
291,
67,
9551,
67,
1019,
13332,
327,
1475,
12,
20,
13,
309,
866,
30,
1815,
453,
18,
16683,
1435,
422,
512,
16,
315,
5787,
1634,
453,
1297,
328,
1385,
603,
326,
8882,
315,
521,
315,
2080,
1492,
326,
2072,
445,
1703,
2522,
6,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2072,
12,
52,
16,
866,
33,
5510,
4672,
309,
453,
18,
291,
67,
9551,
67,
1019,
13332,
327,
1475,
12,
20,
13,
309,
866,
30,
1815,
453,
18,
16683,
1435,
422,
512,
16,
315,
5787,
1634,
453,
1297,
328,
1385,
603,
326,
8882,
315,
521,
315,
2080,
1492,
326,
2072,
445,
1703,
2522,
6,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
child_stdout, child_stdin, child_stderr = popen3("ffmpeg -h") error = child_stderr.read()
|
child_stdout_and_stderr, child_stdin = popen4("ffmpeg -h") error = child_stdout_and_stderr.read()
|
def _check_ffmpeg(): """Checks if ffmpeg is available. If ffmpeg is not installed with the proper options (libmp3lame) a MediaConverterError exception will be raised. """ status = os.system("ffmpeg -h") if sys.platform != 'win32' and os.WIFEXITED(status): # TODO: portable way to get the exit code exit_code = os.WEXITSTATUS(status) else: exit_code = status if exit_code: raise MediaConverterError('could not run ffmpeg: "ffmpeg -h" has exited with code %s' % (exit_code, )) child_stdout, child_stdin, child_stderr = popen3("ffmpeg -h") error = child_stderr.read() if "--enable-libmp3lame" not in error: raise MediaConverterError('ffmpeg was not compiled with --enable-libmp3lame; ffmpeg -h returned: %s' % (error, ))
|
52f3809723dcae84258d3b4598aa55ca36ef8cad /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3287/52f3809723dcae84258d3b4598aa55ca36ef8cad/MediaConverter.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1893,
67,
1403,
19951,
13332,
3536,
4081,
309,
6875,
19951,
353,
2319,
18,
225,
971,
6875,
19951,
353,
486,
5876,
598,
326,
5338,
702,
261,
2941,
1291,
23,
80,
339,
13,
279,
6128,
5072,
668,
1520,
903,
506,
11531,
18,
3536,
1267,
273,
1140,
18,
4299,
2932,
1403,
19951,
300,
76,
7923,
309,
2589,
18,
9898,
480,
296,
8082,
1578,
11,
471,
1140,
18,
59,
5501,
28682,
2056,
12,
2327,
4672,
468,
2660,
30,
1756,
429,
4031,
358,
336,
326,
2427,
981,
2427,
67,
710,
273,
1140,
18,
59,
28682,
8608,
12,
2327,
13,
469,
30,
2427,
67,
710,
273,
1267,
309,
2427,
67,
710,
30,
1002,
6128,
5072,
668,
2668,
15195,
486,
1086,
6875,
19951,
30,
315,
1403,
19951,
300,
76,
6,
711,
21590,
598,
981,
738,
87,
11,
738,
261,
8593,
67,
710,
16,
8623,
1151,
67,
10283,
67,
464,
67,
11241,
16,
1151,
67,
21772,
273,
30925,
24,
2932,
1403,
19951,
300,
76,
7923,
555,
273,
1151,
67,
10283,
67,
464,
67,
11241,
18,
896,
1435,
309,
5238,
7589,
17,
2941,
1291,
23,
80,
339,
6,
486,
316,
555,
30,
1002,
6128,
5072,
668,
2668,
1403,
19951,
1703,
486,
7743,
598,
1493,
7589,
17,
2941,
1291,
23,
80,
339,
31,
6875,
19951,
300,
76,
2106,
30,
738,
87,
11,
738,
261,
1636,
16,
8623,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1893,
67,
1403,
19951,
13332,
3536,
4081,
309,
6875,
19951,
353,
2319,
18,
225,
971,
6875,
19951,
353,
486,
5876,
598,
326,
5338,
702,
261,
2941,
1291,
23,
80,
339,
13,
279,
6128,
5072,
668,
1520,
903,
506,
11531,
18,
3536,
1267,
273,
1140,
18,
4299,
2932,
1403,
19951,
300,
76,
7923,
309,
2589,
18,
9898,
480,
296,
8082,
1578,
11,
471,
1140,
18,
59,
5501,
28682,
2056,
12,
2327,
4672,
468,
2660,
30,
1756,
429,
4031,
358,
336,
326,
2427,
981,
2427,
67,
710,
273,
1140,
18,
59,
28682,
8608,
12,
2327,
13,
469,
30,
2427,
67,
710,
273,
1267,
309,
2427,
67,
710,
30,
1002,
6128,
5072,
668,
2668,
15195,
486,
1086,
6875,
19951,
30,
2
] |
hdf5DataStoreDir = \ gromacsWorkingDir + os.sep + \ gromacsFullBaseFileInfo.completeBaseName() os.mkdir(hdf5DataStoreDir)
|
if (launchNV1): hdf5DataStoreDir = \ gromacsWorkingDir + os.sep + \ gromacsFullBaseFileInfo.completeBaseName() os.mkdir(hdf5DataStoreDir)
|
def run_using_old_movie_obj_to_hold_sim_params(self, movie): self._movie = movie # general kluge for old-code compat # (lots of our methods still use this and modify it) # note, this movie object (really should be a simsetup object?) # does not yet know a proper alist (or any alist, I hope) [bruce 050404] self.errcode = self.set_options_errQ( ) # set movie alist, output filenames, sim executable pathname (verify it exists) #obs comment [about the options arg i removed?? or smth else?] # options include everything that affects the run except the set of atoms and the part if self.errcode: # used to be a local var 'r' # bruce 051115 comment: more than one reason this can happen; # one is sim executable missing return self.sim_input_file = self.sim_input_filename() # might get name from options or make up a temporary filename if (self.mflag == 1 and self.useGromacs): if (not self.verifyGromacsPlugin()): self.errcode = FAILURE_ALREADY_DOCUMENTED return if (self.background): if (not self.verifyNanoVision1Plugin()): self.errcode = FAILURE_ALREADY_DOCUMENTED return self.set_waitcursor(True) progressBar = self.win.statusBar().progressBar
|
0d723b48183c53759eeb7acb5b16b25588d30624 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/0d723b48183c53759eeb7acb5b16b25588d30624/runSim.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
67,
9940,
67,
1673,
67,
8683,
13120,
67,
2603,
67,
869,
67,
21056,
67,
9812,
67,
2010,
12,
2890,
16,
21360,
4672,
365,
6315,
8683,
13120,
273,
21360,
468,
7470,
15290,
21627,
364,
1592,
17,
710,
4796,
468,
261,
80,
6968,
434,
3134,
2590,
4859,
999,
333,
471,
5612,
518,
13,
468,
4721,
16,
333,
21360,
733,
261,
266,
1230,
1410,
506,
279,
3142,
8401,
733,
8535,
468,
1552,
486,
4671,
5055,
279,
5338,
524,
376,
261,
280,
1281,
524,
376,
16,
467,
27370,
13,
306,
2848,
3965,
15331,
3028,
3028,
65,
365,
18,
25093,
273,
365,
18,
542,
67,
2116,
67,
370,
53,
12,
262,
468,
444,
21360,
524,
376,
16,
876,
9066,
16,
3142,
9070,
9806,
261,
8705,
518,
1704,
13,
468,
10992,
2879,
306,
21071,
326,
702,
1501,
277,
3723,
14646,
578,
3029,
451,
469,
35,
65,
468,
702,
2341,
7756,
716,
30058,
326,
1086,
1335,
326,
444,
434,
9006,
471,
326,
1087,
309,
365,
18,
25093,
30,
468,
1399,
358,
506,
279,
1191,
569,
296,
86,
11,
468,
5186,
3965,
15331,
2499,
3600,
2879,
30,
1898,
2353,
1245,
3971,
333,
848,
5865,
31,
468,
1245,
353,
3142,
9070,
3315,
327,
365,
18,
9812,
67,
2630,
67,
768,
273,
365,
18,
9812,
67,
2630,
67,
3459,
1435,
468,
4825,
336,
508,
628,
702,
578,
1221,
731,
279,
6269,
1544,
309,
261,
2890,
18,
81,
6420,
422,
404,
471,
365,
18,
1202,
43,
520,
28965,
4672,
309,
261,
902,
365,
18,
8705,
43,
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,
67,
9940,
67,
1673,
67,
8683,
13120,
67,
2603,
67,
869,
67,
21056,
67,
9812,
67,
2010,
12,
2890,
16,
21360,
4672,
365,
6315,
8683,
13120,
273,
21360,
468,
7470,
15290,
21627,
364,
1592,
17,
710,
4796,
468,
261,
80,
6968,
434,
3134,
2590,
4859,
999,
333,
471,
5612,
518,
13,
468,
4721,
16,
333,
21360,
733,
261,
266,
1230,
1410,
506,
279,
3142,
8401,
733,
8535,
468,
1552,
486,
4671,
5055,
279,
5338,
524,
376,
261,
280,
1281,
524,
376,
16,
467,
27370,
13,
306,
2848,
3965,
15331,
3028,
3028,
65,
365,
18,
25093,
273,
365,
18,
542,
67,
2116,
67,
370,
53,
12,
262,
468,
444,
21360,
524,
376,
16,
876,
9066,
16,
3142,
9070,
2
] |
return bool(self.flag & DEF_STAR)
|
return bool(self.__flags & DEF_STAR)
|
def is_vararg(self): return bool(self.flag & DEF_STAR)
|
5030cf1c2db98d5e83ef0c2b21e3d7a1fed50047 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/5030cf1c2db98d5e83ef0c2b21e3d7a1fed50047/symtable.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
353,
67,
24823,
12,
2890,
4672,
327,
1426,
12,
2890,
18,
6420,
473,
25957,
67,
20943,
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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652,
353,
67,
24823,
12,
2890,
4672,
327,
1426,
12,
2890,
18,
6420,
473,
25957,
67,
20943,
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,
-100
] |
return "<a href='%s' title='View recent builds for %s'>%s:%s</a>" % (tree.name, tree.name, tree.branch)
|
return "<a href='%s' title='View recent builds for %s'>%s:%s</a>" % (tree_uri(myself, tree), tree.name, tree.name, tree.branch)
|
def tree_link(myself, tree): """return a link to a particular tree""" return "<a href='%s' title='View recent builds for %s'>%s:%s</a>" % (tree.name, tree.name, tree.branch)
|
181ed9854e8909f56eb12a6ccc924680273734c6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7314/181ed9854e8909f56eb12a6ccc924680273734c6/__init__.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2151,
67,
1232,
12,
4811,
2890,
16,
2151,
4672,
3536,
2463,
279,
1692,
358,
279,
6826,
2151,
8395,
327,
3532,
69,
3897,
28713,
87,
11,
2077,
2218,
1767,
8399,
10736,
364,
738,
87,
11,
9822,
87,
5319,
87,
1757,
69,
2984,
738,
261,
3413,
67,
1650,
12,
4811,
2890,
16,
2151,
3631,
2151,
18,
529,
16,
2151,
18,
529,
16,
2151,
18,
7500,
13,
282,
2,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2151,
67,
1232,
12,
4811,
2890,
16,
2151,
4672,
3536,
2463,
279,
1692,
358,
279,
6826,
2151,
8395,
327,
3532,
69,
3897,
28713,
87,
11,
2077,
2218,
1767,
8399,
10736,
364,
738,
87,
11,
9822,
87,
5319,
87,
1757,
69,
2984,
738,
261,
3413,
67,
1650,
12,
4811,
2890,
16,
2151,
3631,
2151,
18,
529,
16,
2151,
18,
529,
16,
2151,
18,
7500,
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
] |
cannotMove = not self.shownAttributes or len(self.selectedShown) != 1 self.buttonUPAttr.setDisabled(cannotMove or not self.selectedShown[0]) self.buttonDOWNAttr.setDisabled(cannotMove or self.selectedShown[0] >= len(self.shownAttributes)-1)
|
if self.selectedShown: mini, maxi = min(self.selectedShown), max(self.selectedShown) tightSelection = maxi - mini == len(self.selectedShown) - 1 self.buttonUPAttr.setEnabled(self.selectedShown != [] and tightSelection and mini) self.buttonDOWNAttr.setEnabled(self.selectedShown != [] and tightSelection and maxi < len(self.shownAttributes)-1)
|
def resetAttrManipulation(self): cannotMove = not self.shownAttributes or len(self.selectedShown) != 1 self.buttonUPAttr.setDisabled(cannotMove or not self.selectedShown[0]) self.buttonDOWNAttr.setDisabled(cannotMove or self.selectedShown[0] >= len(self.shownAttributes)-1) self.attrAddButton.setDisabled(not self.selectedHidden or self.showAllAttributes) self.attrRemoveButton.setDisabled(not self.selectedShown or self.showAllAttributes) if self.hiddenAttributes and self.hiddenAttributes[0][0]!=self.data.domain.classVar.name: self.showAllCB.setChecked(0)
|
00556450e32f27a7d6376545381692844e321e27 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/00556450e32f27a7d6376545381692844e321e27/OWLinProj.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2715,
3843,
19308,
6234,
12,
2890,
4672,
309,
365,
18,
8109,
27042,
30,
21959,
16,
943,
77,
273,
1131,
12,
2890,
18,
8109,
27042,
3631,
943,
12,
2890,
18,
8109,
27042,
13,
26066,
6233,
273,
943,
77,
300,
21959,
422,
562,
12,
2890,
18,
8109,
27042,
13,
300,
404,
365,
18,
5391,
3079,
3843,
18,
542,
1526,
12,
2890,
18,
8109,
27042,
480,
5378,
471,
26066,
6233,
471,
21959,
13,
365,
18,
5391,
12711,
3843,
18,
542,
1526,
12,
2890,
18,
8109,
27042,
480,
5378,
471,
26066,
6233,
471,
943,
77,
411,
562,
12,
2890,
18,
674,
995,
2498,
24950,
21,
13,
365,
18,
1747,
986,
3616,
18,
542,
8853,
12,
902,
365,
18,
8109,
9345,
578,
365,
18,
4500,
1595,
2498,
13,
365,
18,
1747,
3288,
3616,
18,
542,
8853,
12,
902,
365,
18,
8109,
27042,
578,
365,
18,
4500,
1595,
2498,
13,
309,
365,
18,
6345,
2498,
471,
365,
18,
6345,
2498,
63,
20,
6362,
20,
65,
5,
33,
2890,
18,
892,
18,
4308,
18,
1106,
1537,
18,
529,
30,
365,
18,
4500,
1595,
8876,
18,
542,
11454,
12,
20,
13,
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
309,
365,
18,
8109,
27042,
30,
21959,
16,
943,
77,
273,
1131,
12,
2890,
18,
8109,
27042,
3631,
943,
12,
2890,
18,
8109,
27042,
13,
26066,
6233,
273,
943,
77,
300,
21959,
422,
562,
12,
2890,
18,
8109,
27042,
13,
300,
404,
365,
18,
5391,
3079,
3843,
18,
542,
1526,
12,
2890,
18,
8109,
27042,
480,
5378,
471,
26066,
6233,
471,
21959,
13,
365,
18,
5391,
12711,
3843,
18,
542,
1526,
12,
2890,
18,
8109,
27042,
480,
5378,
471,
26066,
6233,
471,
943,
77,
411,
562,
12,
2890,
18,
674,
995,
2498,
24950,
21,
13,
365,
18,
1747,
986,
3616,
18,
542,
8853,
12,
902,
365,
18,
8109,
9345,
578,
365,
2
] |
except: raise 'BadRequest', ( '<strong>Invalid entry for <em>%s</em> </strong>' % argument_name)
|
else: args.append(v)
|
def function_with_empty_signature(): pass
|
6e60c63abb35f639b7efc369be01caf096484aa1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/6e60c63abb35f639b7efc369be01caf096484aa1/Publish.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
445,
67,
1918,
67,
5531,
67,
8195,
13332,
1342,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
445,
67,
1918,
67,
5531,
67,
8195,
13332,
1342,
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
] |
def availableSplitter(self):
|
def availableSplitters(self):
|
def availableSplitter(self): """ splitter we can add """ return Splitter.availableSplitters
|
fa6133bc34f4051342345000f969926e3ef7baf7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/fa6133bc34f4051342345000f969926e3ef7baf7/ZCatalog.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2319,
5521,
5432,
12,
2890,
4672,
3536,
21553,
732,
848,
527,
3536,
327,
5385,
387,
18,
5699,
5521,
5432,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2319,
5521,
5432,
12,
2890,
4672,
3536,
21553,
732,
848,
527,
3536,
327,
5385,
387,
18,
5699,
5521,
5432,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
def parseConfigurationFile( self, afile ): try: self.configuration.data = bb.parse.handle( afile, self.configuration.data )
|
def parseConfigurationFile( self, afiles ): try: for afile in afiles: self.configuration.data = bb.parse.handle( afile, self.configuration.data )
|
def parseConfigurationFile( self, afile ): try: self.configuration.data = bb.parse.handle( afile, self.configuration.data )
|
cb8684f9bce2ba06f42f1f49e4feb4675c311c24 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8123/cb8684f9bce2ba06f42f1f49e4feb4675c311c24/cooker.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
1750,
812,
12,
365,
16,
279,
768,
262,
30,
775,
30,
365,
18,
7025,
18,
892,
273,
7129,
18,
2670,
18,
4110,
12,
279,
768,
16,
365,
18,
7025,
18,
892,
262,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return "Dg:%s[%s]" % (dtella_local.version, get_os())
|
return "Dt:%s[%s]" % (dtella_local.version, get_os())
|
def get_version_string(): return "Dg:%s[%s]" % (dtella_local.version, get_os())
|
82dfdf054a9b9ae5e5d12020e186ff0189144557 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8524/82dfdf054a9b9ae5e5d12020e186ff0189144557/dtella_util.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
1589,
67,
1080,
13332,
327,
315,
19739,
5319,
87,
14451,
87,
4279,
738,
261,
7510,
1165,
69,
67,
3729,
18,
1589,
16,
336,
67,
538,
10756,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1589,
67,
1080,
13332,
327,
315,
19739,
5319,
87,
14451,
87,
4279,
738,
261,
7510,
1165,
69,
67,
3729,
18,
1589,
16,
336,
67,
538,
10756,
282,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
else: do_exec(cvs+' co reportlab', 'the checkout phase')
|
def cvs_checkout(d): os.chdir(d) recursive_rmdir(cvsdir) cvs = find_exe('cvs') if cvs is None: os.exit(1) os.environ['CVSROOT']=':pserver:%s@cvs.reportlab.sourceforge.net:/cvsroot/reportlab' % USER if release: do_exec(cvs+(' export -r %s reportlab' % tagname), 'the export phase') else: if py2pdf: do_exec(cvs+' co reportlab', 'the checkout phase') # now we need to move the files & delete those we don't need dst = py2pdf_dir recursive_rmdir(dst) os.mkdir(dst) do_exec("mv reportlab/demos/py2pdf/py2pdf.py %s"%dst, "mv py2pdf.py") do_exec("mv reportlab/demos/py2pdf/PyFontify.py %s" % dst, "mv pyfontify.py") do_exec("rm -r reportlab/demos reportlab/platypus reportlab/lib/styles.py reportlab/README.pdfgen.txt", "rm") do_exec("mv reportlab %s" % dst) CVS_remove(dst) else: do_exec(cvs+' co reportlab', 'the checkout phase')
|
b44cd49e99d91cc912ae3ae1309819e6423841a9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/b44cd49e99d91cc912ae3ae1309819e6423841a9/daily.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
276,
6904,
67,
17300,
12,
72,
4672,
1140,
18,
343,
1214,
12,
72,
13,
5904,
67,
8864,
1214,
12,
71,
6904,
1214,
13,
225,
276,
6904,
273,
1104,
67,
14880,
2668,
71,
6904,
6134,
309,
276,
6904,
353,
599,
30,
1140,
18,
8593,
12,
21,
13,
225,
1140,
18,
28684,
3292,
39,
14640,
9185,
3546,
2218,
30,
84,
3567,
5319,
87,
36,
71,
6904,
18,
6006,
7411,
18,
3168,
1884,
908,
18,
2758,
27824,
71,
6904,
3085,
19,
6006,
7411,
11,
738,
7443,
309,
3992,
30,
741,
67,
4177,
12,
71,
6904,
15,
2668,
3359,
300,
86,
738,
87,
2605,
7411,
11,
738,
25586,
3631,
296,
5787,
3359,
6855,
6134,
469,
30,
309,
2395,
22,
7699,
30,
741,
67,
4177,
12,
71,
6904,
6797,
1825,
2605,
7411,
2187,
296,
5787,
13926,
6855,
6134,
468,
2037,
732,
1608,
358,
3635,
326,
1390,
473,
1430,
5348,
732,
2727,
1404,
1608,
3046,
273,
2395,
22,
7699,
67,
1214,
5904,
67,
8864,
1214,
12,
11057,
13,
1140,
18,
26686,
12,
11057,
13,
741,
67,
4177,
2932,
17509,
2605,
7411,
19,
19117,
538,
19,
2074,
22,
7699,
19,
2074,
22,
7699,
18,
2074,
738,
87,
28385,
11057,
16,
315,
17509,
2395,
22,
7699,
18,
2074,
7923,
741,
67,
4177,
2932,
17509,
2605,
7411,
19,
19117,
538,
19,
2074,
22,
7699,
19,
9413,
5711,
1164,
18,
2074,
738,
87,
6,
738,
3046,
16,
315,
17509,
2395,
5776,
1164,
18,
2074,
7923,
741,
67,
4177,
2932,
8864,
300,
86,
2605,
7411,
19,
19117,
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,
276,
6904,
67,
17300,
12,
72,
4672,
1140,
18,
343,
1214,
12,
72,
13,
5904,
67,
8864,
1214,
12,
71,
6904,
1214,
13,
225,
276,
6904,
273,
1104,
67,
14880,
2668,
71,
6904,
6134,
309,
276,
6904,
353,
599,
30,
1140,
18,
8593,
12,
21,
13,
225,
1140,
18,
28684,
3292,
39,
14640,
9185,
3546,
2218,
30,
84,
3567,
5319,
87,
36,
71,
6904,
18,
6006,
7411,
18,
3168,
1884,
908,
18,
2758,
27824,
71,
6904,
3085,
19,
6006,
7411,
11,
738,
7443,
309,
3992,
30,
741,
67,
4177,
12,
71,
6904,
15,
2668,
3359,
300,
86,
738,
87,
2605,
7411,
11,
738,
25586,
3631,
296,
5787,
3359,
6855,
6134,
469,
30,
309,
2395,
22,
7699,
30,
741,
2
] |
|
utils.run_cmd("git config remote.origin.url=%s"%self.git_repo)
|
utils.run_cmd("git config remote.origin.url %s"%self.git_repo)
|
def push(self): os.chdir(self.co_path) if (self.branch is not None): effective_branch = "remotes/origin/%s:%s" % (self.branch, self.branch) else: effective_branch = "" utils.run_cmd("git config remote.origin.url=%s"%self.git_repo) utils.run_cmd("git push origin %s"%effective_branch)
|
6db6155aeec89813cfd10e9fc08b782780202266 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4427/6db6155aeec89813cfd10e9fc08b782780202266/git.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1817,
12,
2890,
4672,
1140,
18,
343,
1214,
12,
2890,
18,
2894,
67,
803,
13,
309,
261,
2890,
18,
7500,
353,
486,
599,
4672,
11448,
67,
7500,
273,
315,
2764,
6366,
19,
10012,
5258,
87,
5319,
87,
6,
738,
261,
2890,
18,
7500,
16,
365,
18,
7500,
13,
469,
30,
11448,
67,
7500,
273,
1408,
2990,
18,
2681,
67,
4172,
2932,
6845,
642,
2632,
18,
10012,
18,
718,
738,
87,
28385,
2890,
18,
6845,
67,
7422,
13,
2990,
18,
2681,
67,
4172,
2932,
6845,
1817,
4026,
738,
87,
28385,
28894,
67,
7500,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1652,
1817,
12,
2890,
4672,
1140,
18,
343,
1214,
12,
2890,
18,
2894,
67,
803,
13,
309,
261,
2890,
18,
7500,
353,
486,
599,
4672,
11448,
67,
7500,
273,
315,
2764,
6366,
19,
10012,
5258,
87,
5319,
87,
6,
738,
261,
2890,
18,
7500,
16,
365,
18,
7500,
13,
469,
30,
11448,
67,
7500,
273,
1408,
2990,
18,
2681,
67,
4172,
2932,
6845,
642,
2632,
18,
10012,
18,
718,
738,
87,
28385,
2890,
18,
6845,
67,
7422,
13,
2990,
18,
2681,
67,
4172,
2932,
6845,
1817,
4026,
738,
87,
28385,
28894,
67,
7500,
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
] |
try: sysroot = argv[1] except IndexError: sys.stderr.write('usage: %s /path/to/sysroot\n' % argv[0]) return 1
|
parser = optparse.OptionParser() parser.add_option('-s', '--sysroot', default='/', help='sysroot to prepend') parser.add_option('-p', '--strip-prefix', default='', help='prefix to strip') opts, args = parser.parse_args(argv[1:])
|
def main(argv): try: sysroot = argv[1] except IndexError: sys.stderr.write('usage: %s /path/to/sysroot\n' % argv[0]) return 1 for line in sys.stdin.readlines(): line = RewriteLine(line.strip(), sysroot) print line return 0
|
090e84f6c261bf1557fa3074a65c518eb7fc03c0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5060/090e84f6c261bf1557fa3074a65c518eb7fc03c0/rewrite_dirs.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
12,
19485,
4672,
2082,
273,
2153,
2670,
18,
1895,
2678,
1435,
2082,
18,
1289,
67,
3482,
2668,
17,
87,
2187,
3534,
9499,
3085,
2187,
805,
2218,
19,
2187,
2809,
2218,
9499,
3085,
358,
8254,
6134,
2082,
18,
1289,
67,
3482,
2668,
17,
84,
2187,
3534,
6406,
17,
3239,
2187,
805,
2218,
2187,
2809,
2218,
3239,
358,
2569,
6134,
1500,
16,
833,
273,
2082,
18,
2670,
67,
1968,
12,
19485,
63,
21,
30,
5717,
225,
364,
980,
316,
2589,
18,
21772,
18,
896,
3548,
13332,
980,
273,
17851,
1670,
12,
1369,
18,
6406,
9334,
2589,
3085,
13,
1172,
980,
327,
374,
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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,
316,
326,
981,
30,
1652,
2774,
12,
19485,
4672,
2082,
273,
2153,
2670,
18,
1895,
2678,
1435,
2082,
18,
1289,
67,
3482,
2668,
17,
87,
2187,
3534,
9499,
3085,
2187,
805,
2218,
19,
2187,
2809,
2218,
9499,
3085,
358,
8254,
6134,
2082,
18,
1289,
67,
3482,
2668,
17,
84,
2187,
3534,
6406,
17,
3239,
2187,
805,
2218,
2187,
2809,
2218,
3239,
358,
2569,
6134,
1500,
16,
833,
273,
2082,
18,
2670,
67,
1968,
12,
19485,
63,
21,
30,
5717,
225,
364,
980,
316,
2589,
18,
21772,
18,
896,
3548,
13332,
980,
273,
17851,
1670,
12,
1369,
18,
6406,
9334,
2589,
3085,
13,
1172,
980,
327,
374,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
def show(self, network):
|
def update(self):
|
def show(self, network): for child in self.get_children(): self.remove(child) network_info = conf.get('networks', {}).get(network, {})
|
4e3fce086a885558cfbd2aca990b3731ca541fa8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10693/4e3fce086a885558cfbd2aca990b3731ca541fa8/servers.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
12,
2890,
4672,
364,
1151,
316,
365,
18,
588,
67,
5906,
13332,
365,
18,
4479,
12,
3624,
13,
225,
2483,
67,
1376,
273,
2195,
18,
588,
2668,
19982,
2187,
2618,
2934,
588,
12,
5185,
16,
2618,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
12,
2890,
4672,
364,
1151,
316,
365,
18,
588,
67,
5906,
13332,
365,
18,
4479,
12,
3624,
13,
225,
2483,
67,
1376,
273,
2195,
18,
588,
2668,
19982,
2187,
2618,
2934,
588,
12,
5185,
16,
2618,
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
] |
formattedParentIds = ','.join(parentIds) formattedJobIds = ','.join(jobIds) command = 'python ' + self.commandQueryPath \ + 'GLiteStatusQuery.py --parentId=%s --jobId=%s' \ % (formattedParentIds, formattedJobIds) outJson, ret = self.ExecuteCommand( self.prefixCommandQuery + \ self.proxyString + command ) try: out = json.loads(outJson) except ValueError: raise SchedulerError('error parsing JSON', out ) if ret != 0 or out['errors']: obj.warnings.append( "Errors: " + str(out['errors']) ) raise SchedulerError('error executing GLiteStatusQuery', \ str(out['errors'])) count = 0 newStates = out['statusQuery'] for jobId in jobIds.values() : obj.jobs[jobId].runningJob['status'] = \ newStates[count]['status'] obj.jobs[jobId].runningJob['scheduledAtSite'] = \ newStates[count]['scheduledAtSite'] obj.jobs[jobId].runningJob['startTime'] = \ newStates[count]['startTime'] obj.jobs[jobId].runningJob['service'] = \ newStates[count]['service'] obj.jobs[jobId].runningJob['statusScheduler'] = \ newStates[count]['statusScheduler'] obj.jobs[jobId].runningJob['destination'] = \ newStates[count]['destination'] obj.jobs[jobId].runningJob['statusReason'] = \ newStates[count]['statusReason'] obj.jobs[jobId].runningJob['lbTimestamp'] = \ newStates[count]['lbTimestamp'] obj.jobs[jobId].runningJob['stopTime'] = \ newStates[count]['stopTime'] count += 1
|
if jobIds : formattedParentIds = ','.join(parentIds) formattedJobIds = ','.join(jobIds) command = 'python ' + self.commandQueryPath \ + 'GLiteStatusQuery.py --parentId=%s --jobId=%s' \ % (formattedParentIds, formattedJobIds) outJson, ret = self.ExecuteCommand( self.prefixCommandQuery + \ self.proxyString + command) try: out = json.loads(outJson) except ValueError: raise SchedulerError('error parsing JSON', out ) if ret != 0 or out['errors']: obj.warnings.append( "Errors: " + str(out['errors']) ) raise SchedulerError('error executing GLiteStatusQuery', \ str(out['errors'])) count = 0 newStates = out['statusQuery'] for jobId in jobIds.values() : obj.jobs[jobId].runningJob['status'] = \ newStates[count]['status'] obj.jobs[jobId].runningJob['scheduledAtSite'] = \ newStates[count]['scheduledAtSite'] obj.jobs[jobId].runningJob['startTime'] = \ newStates[count]['startTime'] obj.jobs[jobId].runningJob['service'] = \ newStates[count]['service'] obj.jobs[jobId].runningJob['statusScheduler'] = \ newStates[count]['statusScheduler'] obj.jobs[jobId].runningJob['destination'] = \ newStates[count]['destination'] obj.jobs[jobId].runningJob['statusReason'] = \ newStates[count]['statusReason'] obj.jobs[jobId].runningJob['lbTimestamp'] = \ newStates[count]['lbTimestamp'] obj.jobs[jobId].runningJob['stopTime'] = \ newStates[count]['stopTime'] count += 1
|
def query(self, obj, service='', objType='node') : """ query status and eventually other scheduler related information """
|
0edd8f75f81c08242d2ef1f97a4d036f302634bf /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8886/0edd8f75f81c08242d2ef1f97a4d036f302634bf/SchedulerGLite.py
|
[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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
843,
12,
2890,
16,
1081,
16,
1156,
2218,
2187,
30078,
2218,
2159,
6134,
294,
3536,
843,
1267,
471,
18011,
1308,
8129,
3746,
1779,
3536,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
def test_search_help_page_availability(self): """websearch - availability of Search Help page"""
|
def test_help_page_availability(self): """websearch - availability of Help Central page"""
|
def test_search_help_page_availability(self): """websearch - availability of Search Help page"""
|
c88cd4f1af40a1ac6a3f16aff626c22f3fcd06d6 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2139/c88cd4f1af40a1ac6a3f16aff626c22f3fcd06d6/websearch_regression_tests.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
3072,
67,
5201,
67,
2433,
67,
24318,
12,
2890,
4672,
3536,
4875,
3072,
300,
13395,
434,
5167,
11288,
1363,
8395,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
3072,
67,
5201,
67,
2433,
67,
24318,
12,
2890,
4672,
3536,
4875,
3072,
300,
13395,
434,
5167,
11288,
1363,
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
] |
m = Marshaller(encoding)
|
m = Marshaller(encoding, allow_none)
|
def dumps(params, methodname=None, methodresponse=None, encoding=None): """data [,options] -> marshalled data Convert an argument tuple or a Fault instance to an XML-RPC request (or response, if the methodresponse option is used). In addition to the data object, the following options can be given as keyword arguments: methodname: the method name for a methodCall packet methodresponse: true to create a methodResponse packet. If this option is used with a tuple, the tuple must be a singleton (i.e. it can contain only one element). encoding: the packet encoding (default is UTF-8) All 8-bit strings in the data structure are assumed to use the packet encoding. Unicode strings are automatically converted, where necessary. """ assert isinstance(params, TupleType) or isinstance(params, Fault),\ "argument must be tuple or Fault instance" if isinstance(params, Fault): methodresponse = 1 elif methodresponse and isinstance(params, TupleType): assert len(params) == 1, "response tuple must be a singleton" if not encoding: encoding = "utf-8" if FastMarshaller: m = FastMarshaller(encoding) else: m = Marshaller(encoding) data = m.dumps(params) if encoding != "utf-8": xmlheader = "<?xml version='1.0' encoding='%s'?>\n" % str(encoding) else: xmlheader = "<?xml version='1.0'?>\n" # utf-8 is default # standard XML-RPC wrappings if methodname: # a method call if not isinstance(methodname, StringType): methodname = methodname.encode(encoding) data = ( xmlheader, "<methodCall>\n" "<methodName>", methodname, "</methodName>\n", data, "</methodCall>\n" ) elif methodresponse: # a method response, or a fault structure data = ( xmlheader, "<methodResponse>\n", data, "</methodResponse>\n" ) else: return data # return as is return string.join(data, "")
|
a4c2b7485b6c33d0d6221d1a4505350ea9353668 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/a4c2b7485b6c33d0d6221d1a4505350ea9353668/xmlrpclib.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6711,
12,
2010,
16,
707,
529,
33,
7036,
16,
707,
2740,
33,
7036,
16,
2688,
33,
7036,
4672,
3536,
892,
306,
16,
2116,
65,
317,
10893,
1259,
501,
225,
4037,
392,
1237,
3193,
578,
279,
25609,
791,
358,
392,
3167,
17,
8087,
590,
261,
280,
766,
16,
309,
326,
707,
2740,
1456,
353,
1399,
2934,
225,
657,
2719,
358,
326,
501,
733,
16,
326,
3751,
702,
848,
506,
864,
487,
4932,
1775,
30,
225,
707,
529,
30,
326,
707,
508,
364,
279,
707,
1477,
4414,
225,
707,
2740,
30,
638,
358,
752,
279,
707,
1064,
4414,
18,
971,
333,
1456,
353,
1399,
598,
279,
3193,
16,
326,
3193,
1297,
506,
279,
6396,
261,
77,
18,
73,
18,
518,
848,
912,
1338,
1245,
930,
2934,
225,
2688,
30,
326,
4414,
2688,
261,
1886,
353,
6380,
17,
28,
13,
225,
4826,
1725,
17,
3682,
2064,
316,
326,
501,
3695,
854,
12034,
358,
999,
326,
4414,
2688,
18,
225,
9633,
2064,
854,
6635,
5970,
16,
1625,
4573,
18,
3536,
225,
1815,
1549,
12,
2010,
16,
7257,
559,
13,
578,
1549,
12,
2010,
16,
25609,
3631,
64,
315,
3446,
1297,
506,
3193,
578,
25609,
791,
6,
225,
309,
1549,
12,
2010,
16,
25609,
4672,
707,
2740,
273,
404,
1327,
707,
2740,
471,
1549,
12,
2010,
16,
7257,
559,
4672,
1815,
562,
12,
2010,
13,
422,
404,
16,
315,
2740,
3193,
1297,
506,
279,
6396,
6,
225,
309,
486,
2688,
30,
2688,
273,
315,
3158,
17,
28,
6,
225,
309,
9545,
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,
6711,
12,
2010,
16,
707,
529,
33,
7036,
16,
707,
2740,
33,
7036,
16,
2688,
33,
7036,
4672,
3536,
892,
306,
16,
2116,
65,
317,
10893,
1259,
501,
225,
4037,
392,
1237,
3193,
578,
279,
25609,
791,
358,
392,
3167,
17,
8087,
590,
261,
280,
766,
16,
309,
326,
707,
2740,
1456,
353,
1399,
2934,
225,
657,
2719,
358,
326,
501,
733,
16,
326,
3751,
702,
848,
506,
864,
487,
4932,
1775,
30,
225,
707,
529,
30,
326,
707,
508,
364,
279,
707,
1477,
4414,
225,
707,
2740,
30,
638,
358,
752,
279,
707,
1064,
4414,
18,
971,
333,
1456,
353,
1399,
598,
279,
3193,
16,
326,
3193,
1297,
506,
279,
6396,
261,
77,
18,
73,
18,
518,
2
] |
for line in text.splitlines():
|
for line in content.splitlines():
|
def parse_clone_text(self, text): url = rev = None for line in text.splitlines(): if not line.strip() or line.strip().startswith('#'): continue url_match = re.search(r'git\s*remote\s*add\s*origin(.*)\s*-f', line) if url_match: url = url_match.group(1).strip() rev_match = re.search(r'^git\s*checkout\s*-q\s*(.*)\s*', line) if rev_match: rev = rev_match.group(1).strip() if url and rev: return url, rev return None, None
|
4faa7a5f6c74f814cee91ccd722060b26857a0d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12982/4faa7a5f6c74f814cee91ccd722060b26857a0d3/pip.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
67,
14056,
67,
955,
12,
2890,
16,
977,
4672,
880,
273,
5588,
273,
599,
364,
980,
316,
913,
18,
4939,
3548,
13332,
309,
486,
980,
18,
6406,
1435,
578,
980,
18,
6406,
7675,
17514,
1918,
2668,
10038,
4672,
1324,
880,
67,
1916,
273,
283,
18,
3072,
12,
86,
11,
6845,
64,
87,
14,
7222,
64,
87,
14,
1289,
64,
87,
14,
10012,
27816,
87,
14,
17,
74,
2187,
980,
13,
309,
880,
67,
1916,
30,
880,
273,
880,
67,
1916,
18,
1655,
12,
21,
2934,
6406,
1435,
5588,
67,
1916,
273,
283,
18,
3072,
12,
86,
19856,
6845,
64,
87,
14,
17300,
64,
87,
14,
17,
85,
64,
87,
14,
27816,
87,
14,
2187,
980,
13,
309,
5588,
67,
1916,
30,
5588,
273,
5588,
67,
1916,
18,
1655,
12,
21,
2934,
6406,
1435,
309,
880,
471,
5588,
30,
327,
880,
16,
5588,
327,
599,
16,
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,
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,
13332,
309,
486,
980,
18,
6406,
1435,
578,
980,
18,
6406,
7675,
17514,
1918,
2668,
10038,
4672,
1324,
880,
67,
1916,
273,
283,
18,
3072,
12,
86,
11,
6845,
64,
87,
14,
7222,
64,
87,
14,
1289,
64,
87,
14,
10012,
27816,
87,
14,
17,
74,
2187,
980,
13,
309,
880,
67,
1916,
30,
880,
273,
880,
67,
1916,
18,
1655,
12,
21,
2934,
6406,
1435,
5588,
67,
1916,
273,
283,
18,
3072,
12,
86,
19856,
6845,
64,
87,
14,
17300,
64,
87,
14,
17,
85,
64,
87,
14,
27816,
87,
14,
2187,
980,
13,
309,
2
] |
mac = hmac.new(s, self.secret, digestmod=sha1).digest()
|
mac = hmac.new(self.secret, s, digestmod=sha1).digest()
|
def generateUniqueId(self): """Generate a new, random, unique id.
|
630282f38e5bf38464385a13dc5beab4b6d7d65e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9756/630282f38e5bf38464385a13dc5beab4b6d7d65e/http.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2103,
24174,
12,
2890,
4672,
3536,
4625,
279,
394,
16,
2744,
16,
3089,
612,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2103,
24174,
12,
2890,
4672,
3536,
4625,
279,
394,
16,
2744,
16,
3089,
612,
18,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if isinstance(fp, file):
|
if isfile(fp):
|
def write_array(fp, array, version=(1,0)): """ Write an array to an NPY file, including a header. If the array is neither C-contiguous or Fortran-contiguous AND if the filelike object is not a real file object, then this function will have to copy data in memory. Parameters ---------- fp : filelike object An open, writable file object or similar object with a `.write()` method. array : numpy.ndarray The array to write to disk. version : (int, int), optional The version number of the format. Raises ------ ValueError If the array cannot be persisted. Various other errors If the array contains Python objects as part of its dtype, the process of pickling them may raise arbitrary errors if the objects are not picklable. """ if version != (1, 0): msg = "we only support format version (1,0), not %s" raise ValueError(msg % (version,)) fp.write(magic(*version)) write_array_header_1_0(fp, header_data_from_array_1_0(array)) if array.dtype.hasobject: # We contain Python objects so we cannot write out the data directly. # Instead, we will pickle it out with version 2 of the pickle protocol. cPickle.dump(array, fp, protocol=2) elif array.flags.f_contiguous and not array.flags.c_contiguous: # Use a suboptimal, possibly memory-intensive, but correct way to # handle Fortran-contiguous arrays. fp.write(array.data) else: if isinstance(fp, file): array.tofile(fp) else: # XXX: We could probably chunk this using something like # arrayterator. fp.write(array.tostring('C'))
|
906d21e1b3ef6e6cd68847c427c185137a151314 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14925/906d21e1b3ef6e6cd68847c427c185137a151314/format.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1045,
67,
1126,
12,
7944,
16,
526,
16,
1177,
28657,
21,
16,
20,
3719,
30,
3536,
2598,
392,
526,
358,
392,
423,
16235,
585,
16,
6508,
279,
1446,
18,
225,
971,
326,
526,
353,
15826,
385,
17,
30611,
578,
2457,
13171,
17,
30611,
4116,
309,
326,
661,
292,
2547,
733,
353,
486,
279,
2863,
585,
733,
16,
1508,
333,
445,
903,
1240,
358,
1610,
501,
316,
3778,
18,
225,
7012,
12181,
4253,
294,
661,
292,
2547,
733,
1922,
1696,
16,
9691,
585,
733,
578,
7281,
733,
598,
279,
1375,
18,
2626,
20338,
707,
18,
526,
294,
3972,
18,
25681,
1021,
526,
358,
1045,
358,
4234,
18,
1177,
294,
261,
474,
16,
509,
3631,
3129,
1021,
1177,
1300,
434,
326,
740,
18,
225,
20497,
31913,
2068,
971,
326,
526,
2780,
506,
14249,
18,
11487,
1481,
1308,
1334,
971,
326,
526,
1914,
6600,
2184,
487,
1087,
434,
2097,
3182,
16,
326,
1207,
434,
6002,
2456,
2182,
2026,
1002,
11078,
1334,
309,
326,
2184,
854,
486,
6002,
80,
429,
18,
225,
3536,
309,
1177,
480,
261,
21,
16,
374,
4672,
1234,
273,
315,
1814,
1338,
2865,
740,
1177,
261,
21,
16,
20,
3631,
486,
738,
87,
6,
1002,
2068,
12,
3576,
738,
261,
1589,
16,
3719,
4253,
18,
2626,
12,
11179,
30857,
1589,
3719,
1045,
67,
1126,
67,
3374,
67,
21,
67,
20,
12,
7944,
16,
1446,
67,
892,
67,
2080,
67,
1126,
67,
21,
67,
20,
12,
1126,
3719,
309,
526,
18,
8972,
18,
5332,
1612,
30,
468,
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,
1045,
67,
1126,
12,
7944,
16,
526,
16,
1177,
28657,
21,
16,
20,
3719,
30,
3536,
2598,
392,
526,
358,
392,
423,
16235,
585,
16,
6508,
279,
1446,
18,
225,
971,
326,
526,
353,
15826,
385,
17,
30611,
578,
2457,
13171,
17,
30611,
4116,
309,
326,
661,
292,
2547,
733,
353,
486,
279,
2863,
585,
733,
16,
1508,
333,
445,
903,
1240,
358,
1610,
501,
316,
3778,
18,
225,
7012,
12181,
4253,
294,
661,
292,
2547,
733,
1922,
1696,
16,
9691,
585,
733,
578,
7281,
733,
598,
279,
1375,
18,
2626,
20338,
707,
18,
526,
294,
3972,
18,
25681,
1021,
526,
358,
1045,
358,
4234,
18,
1177,
294,
261,
474,
16,
509,
3631,
3129,
1021,
1177,
1300,
434,
2
] |
if rt[0]: rt = (rt[0] + reget_length, rt[1])
|
if rt[0] is None: rt = (0, rt[1]) rt = (rt[0] + reget_length, rt[1])
|
def _build_range(self): reget_length = 0 rt = None if self.opts.reget and type(self.filename) in types.StringTypes: # we have reget turned on and we're dumping to a file try: s = os.stat(self.filename) except OSError: pass else: self.reget_time = s[stat.ST_MTIME] reget_length = s[stat.ST_SIZE]
|
e44c45c1684bd8e4175b4ab862377340932d4b94 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7001/e44c45c1684bd8e4175b4ab862377340932d4b94/grabber.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
3510,
67,
3676,
12,
2890,
4672,
283,
588,
67,
2469,
273,
374,
8253,
273,
599,
309,
365,
18,
4952,
18,
266,
588,
471,
618,
12,
2890,
18,
3459,
13,
316,
1953,
18,
780,
2016,
30,
468,
732,
1240,
283,
588,
21826,
603,
471,
732,
4565,
4569,
1382,
358,
279,
585,
775,
30,
272,
273,
1140,
18,
5642,
12,
2890,
18,
3459,
13,
1335,
10002,
30,
1342,
469,
30,
365,
18,
266,
588,
67,
957,
273,
272,
63,
5642,
18,
882,
67,
49,
4684,
65,
283,
588,
67,
2469,
273,
272,
63,
5642,
18,
882,
67,
4574,
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,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[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
3510,
67,
3676,
12,
2890,
4672,
283,
588,
67,
2469,
273,
374,
8253,
273,
599,
309,
365,
18,
4952,
18,
266,
588,
471,
618,
12,
2890,
18,
3459,
13,
316,
1953,
18,
780,
2016,
30,
468,
732,
1240,
283,
588,
21826,
603,
471,
732,
4565,
4569,
1382,
358,
279,
585,
775,
30,
272,
273,
1140,
18,
5642,
12,
2890,
18,
3459,
13,
1335,
10002,
30,
1342,
469,
30,
365,
18,
266,
588,
67,
957,
273,
272,
63,
5642,
18,
882,
67,
49,
4684,
65,
283,
588,
67,
2469,
273,
272,
63,
5642,
18,
882,
67,
4574,
65,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.accounts = self.check_accounts(e.get_text()) config.set('plugins', self.c_accounts, join(self.accounts))
|
self.accounts = e.get_text().split() config.set('plugins', self.c_accounts, e.get_text())
|
def accounts_e_changed(self, e): self.accounts = self.check_accounts(e.get_text()) config.set('plugins', self.c_accounts, join(self.accounts))
|
d57aa4a777cfcfe18cb9cedff8cf760d5ec3651c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4764/d57aa4a777cfcfe18cb9cedff8cf760d5ec3651c/gajim_status.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
9484,
67,
73,
67,
6703,
12,
2890,
16,
425,
4672,
365,
18,
13739,
273,
365,
18,
1893,
67,
13739,
12,
73,
18,
588,
67,
955,
10756,
642,
18,
542,
2668,
8057,
2187,
365,
18,
71,
67,
13739,
16,
1233,
12,
2890,
18,
13739,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
9484,
67,
73,
67,
6703,
12,
2890,
16,
425,
4672,
365,
18,
13739,
273,
365,
18,
1893,
67,
13739,
12,
73,
18,
588,
67,
955,
10756,
642,
18,
542,
2668,
8057,
2187,
365,
18,
71,
67,
13739,
16,
1233,
12,
2890,
18,
13739,
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
] |
class RegistrationController(BaseController, Create, Update):
|
class RegistrationController(SecureController, Create, Update):
|
def _from_python(self, value): return value.id
|
f0bf4741599b356896367dc3abd3ed67333b6c9b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12856/f0bf4741599b356896367dc3abd3ed67333b6c9b/registration.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2080,
67,
8103,
12,
2890,
16,
460,
4672,
327,
460,
18,
350,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2080,
67,
8103,
12,
2890,
16,
460,
4672,
327,
460,
18,
350,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 datetime.time(hour, minute, second)
|
return time(hour, minute, second)
|
def decode(data): if not data: return None
|
de0550af8b8d14401327d7ab8661d54b6765c9c5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12681/de0550af8b8d14401327d7ab8661d54b6765c9c5/datetime_.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2495,
12,
892,
4672,
309,
486,
501,
30,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
p.add_constraint(v[x] + b[x][y] - v[y], min=0, max=0)
|
p.add_constraint(v[x] + b[x][y] - v[y], min=0)
|
def edge_cut(self, s, t, value_only=True, use_edge_labels=False, vertices=False, solver=None, verbose=0): r""" Returns a minimum edge cut between vertices `s` and `t` represented by a list of edges.
|
c689b5410fb1054bf00912c776e7aa93a3ae72ec /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/c689b5410fb1054bf00912c776e7aa93a3ae72ec/generic_graph.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3591,
67,
5150,
12,
2890,
16,
272,
16,
268,
16,
460,
67,
3700,
33,
5510,
16,
999,
67,
7126,
67,
5336,
33,
8381,
16,
6928,
33,
8381,
16,
12776,
33,
7036,
16,
3988,
33,
20,
4672,
436,
8395,
2860,
279,
5224,
3591,
6391,
3086,
6928,
1375,
87,
68,
471,
1375,
88,
68,
10584,
635,
279,
666,
434,
5231,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3591,
67,
5150,
12,
2890,
16,
272,
16,
268,
16,
460,
67,
3700,
33,
5510,
16,
999,
67,
7126,
67,
5336,
33,
8381,
16,
6928,
33,
8381,
16,
12776,
33,
7036,
16,
3988,
33,
20,
4672,
436,
8395,
2860,
279,
5224,
3591,
6391,
3086,
6928,
1375,
87,
68,
471,
1375,
88,
68,
10584,
635,
279,
666,
434,
5231,
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
] |
isofstype = self.__isofstype,
|
isofstype = self._isofstype,
|
def __write_yaboot_config(isodir, bit): cfg = self.__get_basic_yaboot_config(name = self.name, timeout = self._timeout * 100)
|
4a670c764a1a949c866539b8a6a60e2729747acb /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9342/4a670c764a1a949c866539b8a6a60e2729747acb/live.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2626,
67,
93,
378,
1632,
67,
1425,
12,
291,
369,
481,
16,
2831,
4672,
2776,
273,
365,
16186,
588,
67,
13240,
67,
93,
378,
1632,
67,
1425,
12,
529,
273,
365,
18,
529,
16,
2021,
273,
365,
6315,
4538,
380,
2130,
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,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,
2776,
273,
365,
16186,
588,
67,
13240,
67,
93,
378,
1632,
67,
1425,
12,
529,
273,
365,
18,
529,
16,
2021,
273,
365,
6315,
4538,
380,
2130,
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
] |
return self.posToColumn (self.PositionFromPoint (point))
|
return self.GetColumn (self.PositionFromPoint (point))
|
def getLeftmostColumn (self): point = wx.Point () point.x = self.GetXOffset () point.y = 0 return self.posToColumn (self.PositionFromPoint (point))
|
a6939f364c8be53bdb79671ac6f692647d50a667 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9028/a6939f364c8be53bdb79671ac6f692647d50a667/candy.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
15930,
10329,
1494,
261,
2890,
4672,
1634,
273,
7075,
18,
2148,
1832,
1634,
18,
92,
273,
365,
18,
967,
60,
2335,
1832,
1634,
18,
93,
273,
374,
327,
365,
18,
917,
774,
1494,
261,
2890,
18,
2555,
1265,
2148,
261,
1153,
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,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
15930,
10329,
1494,
261,
2890,
4672,
1634,
273,
7075,
18,
2148,
1832,
1634,
18,
92,
273,
365,
18,
967,
60,
2335,
1832,
1634,
18,
93,
273,
374,
327,
365,
18,
917,
774,
1494,
261,
2890,
18,
2555,
1265,
2148,
261,
1153,
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
] |
port = int(OptionalEnvironmentVariable('UPLOAD_PORT'))
|
port = OptionalEnvironmentVariable('UPLOAD_PORT') if port is not None: port = int(port)
|
def UploadFiles(user, host, path, files, verbose=False, port=None, ssh_key=None, base_path=None, post_upload_command=None): """Upload each file in the list files to user@host:path. Optionally pass port and ssh_key to the ssh commands. If base_path is not None, upload files including their path relative to base_path. If post_upload_command is not None, execute that command on the remote host after uploading all files, passing it the upload path, and the full paths to all files uploaded. If verbose is True, print status updates while working.""" if not path.endswith("/"): path += "/" if base_path is not None: base_path = os.path.abspath(base_path) remote_files = [] for file in files: file = os.path.abspath(file) if not os.path.isfile(file): raise IOError("File not found: %s" % file) # first ensure that path exists remotely remote_path = GetRemotePath(path, file, base_path) DoSSHCommand("mkdir -p " + remote_path, user, host, port=port, ssh_key=ssh_key) if verbose: print "Uploading " + file DoSCPFile(file, remote_path, user, host, port=port, ssh_key=ssh_key) remote_files.append(remote_path + '/' + os.path.basename(file)) if post_upload_command is not None: if verbose: print "Running post-upload command: " + post_upload_command file_list = '"' + '" "'.join(remote_files) + '"' DoSSHCommand('%s "%s" %s' % (post_upload_command, path, file_list), user, host, port=port, ssh_key=ssh_key) if verbose: print "Upload complete"
|
6d8fb610166733ee9d58d5c2c4ceb0b780dfa719 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11102/6d8fb610166733ee9d58d5c2c4ceb0b780dfa719/upload.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
9414,
2697,
12,
1355,
16,
1479,
16,
589,
16,
1390,
16,
3988,
33,
8381,
16,
1756,
33,
7036,
16,
7056,
67,
856,
33,
7036,
16,
1026,
67,
803,
33,
7036,
16,
1603,
67,
6327,
67,
3076,
33,
7036,
4672,
3536,
4777,
1517,
585,
316,
326,
666,
1390,
358,
729,
36,
2564,
30,
803,
18,
20720,
1342,
1756,
471,
7056,
67,
856,
358,
326,
7056,
4364,
18,
971,
1026,
67,
803,
353,
486,
599,
16,
3617,
1390,
6508,
3675,
589,
3632,
358,
1026,
67,
803,
18,
971,
1603,
67,
6327,
67,
3076,
353,
486,
599,
16,
1836,
716,
1296,
603,
326,
2632,
1479,
1839,
25306,
777,
1390,
16,
9588,
518,
326,
3617,
589,
16,
471,
326,
1983,
2953,
358,
777,
1390,
9140,
18,
971,
3988,
353,
1053,
16,
1172,
1267,
4533,
1323,
5960,
12123,
309,
486,
589,
18,
5839,
1918,
2932,
4898,
4672,
589,
1011,
4016,
309,
1026,
67,
803,
353,
486,
599,
30,
1026,
67,
803,
273,
1140,
18,
803,
18,
5113,
803,
12,
1969,
67,
803,
13,
2632,
67,
2354,
273,
5378,
364,
585,
316,
1390,
30,
585,
273,
1140,
18,
803,
18,
5113,
803,
12,
768,
13,
309,
486,
1140,
18,
803,
18,
291,
768,
12,
768,
4672,
1002,
8340,
2932,
812,
486,
1392,
30,
738,
87,
6,
738,
585,
13,
468,
1122,
3387,
716,
589,
1704,
26693,
2357,
2632,
67,
803,
273,
968,
5169,
743,
12,
803,
16,
585,
16,
1026,
67,
803,
13,
2256,
12559,
2189,
2932,
26686,
300,
84,
315,
397,
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,
9414,
2697,
12,
1355,
16,
1479,
16,
589,
16,
1390,
16,
3988,
33,
8381,
16,
1756,
33,
7036,
16,
7056,
67,
856,
33,
7036,
16,
1026,
67,
803,
33,
7036,
16,
1603,
67,
6327,
67,
3076,
33,
7036,
4672,
3536,
4777,
1517,
585,
316,
326,
666,
1390,
358,
729,
36,
2564,
30,
803,
18,
20720,
1342,
1756,
471,
7056,
67,
856,
358,
326,
7056,
4364,
18,
971,
1026,
67,
803,
353,
486,
599,
16,
3617,
1390,
6508,
3675,
589,
3632,
358,
1026,
67,
803,
18,
971,
1603,
67,
6327,
67,
3076,
353,
486,
599,
16,
1836,
716,
1296,
603,
326,
2632,
1479,
1839,
25306,
777,
1390,
16,
9588,
518,
326,
3617,
589,
16,
471,
326,
1983,
2953,
358,
2
] |
msg += "0x%X" % text
|
msg += "0x%X" % ord(text)
|
def nextToken(self): while True: # save state pos = self.pos line = self.line col = self.col
|
89e4d819e47e716c2c27fb9b7f247c57bdfc18ed /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3689/89e4d819e47e716c2c27fb9b7f247c57bdfc18ed/antlrre.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
9617,
12,
2890,
4672,
1323,
1053,
30,
468,
1923,
919,
949,
273,
365,
18,
917,
980,
273,
365,
18,
1369,
645,
273,
365,
18,
1293,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
9617,
12,
2890,
4672,
1323,
1053,
30,
468,
1923,
919,
949,
273,
365,
18,
917,
980,
273,
365,
18,
1369,
645,
273,
365,
18,
1293,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if self.debug > 0: print 'default calculation required'
|
def calculation_required(self, atoms=None, quantities=None): ''' determines if a calculation is needed.
|
efb0053a692e68241ce5b5d3e00d105383545b1a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5572/efb0053a692e68241ce5b5d3e00d105383545b1a/jacapo.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11096,
67,
4718,
12,
2890,
16,
9006,
33,
7036,
16,
10251,
1961,
33,
7036,
4672,
9163,
12949,
309,
279,
11096,
353,
3577,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11096,
67,
4718,
12,
2890,
16,
9006,
33,
7036,
16,
10251,
1961,
33,
7036,
4672,
9163,
12949,
309,
279,
11096,
353,
3577,
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
] |
|
file(path_init, "w").write(sql)
|
print >> file(path_init, "w"), sql
|
def __init__(self, outdir, sql): name = _get_name(sql) path = join(outdir, name) mkdir(path)
|
d2d193af7d66a40aaea16aca4906a638579d9edb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10616/d2d193af7d66a40aaea16aca4906a638579d9edb/cmd_mysql2fs.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
15398,
16,
1847,
4672,
508,
273,
389,
588,
67,
529,
12,
4669,
13,
225,
589,
273,
1233,
12,
659,
1214,
16,
508,
13,
6535,
12,
803,
13,
2,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
15398,
16,
1847,
4672,
508,
273,
389,
588,
67,
529,
12,
4669,
13,
225,
589,
273,
1233,
12,
659,
1214,
16,
508,
13,
6535,
12,
803,
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
] |
if name.upper() != original_name:
|
if orignal_name.upper() != original_name:
|
def case_insensitive_tests(class_): """Class decorator that nullifies tests that require a case-insensitive file system.""" if sys.platform not in ('win32', 'darwin', 'cygwin'): original_name = os.listdir('.')[0] if name.upper() != original_name: changed_name = original_name.upper() else: changed_name = original_name.lower() if os.path.exists(changed_name): return class_ return unittest.TestCase else: return class_
|
c2bf892fda69f458da574f3796794908e0d4f16a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8125/c2bf892fda69f458da574f3796794908e0d4f16a/util.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
648,
67,
31940,
67,
16341,
12,
1106,
67,
4672,
3536,
797,
7367,
716,
446,
5032,
7434,
716,
2583,
279,
648,
17,
31940,
585,
2619,
12123,
309,
2589,
18,
9898,
486,
316,
7707,
8082,
1578,
2187,
296,
28076,
2187,
296,
2431,
75,
8082,
11,
4672,
2282,
67,
529,
273,
1140,
18,
1098,
1214,
2668,
1093,
25146,
20,
65,
309,
578,
724,
287,
67,
529,
18,
5797,
1435,
480,
2282,
67,
529,
30,
3550,
67,
529,
273,
2282,
67,
529,
18,
5797,
1435,
469,
30,
3550,
67,
529,
273,
2282,
67,
529,
18,
8167,
1435,
309,
1140,
18,
803,
18,
1808,
12,
6703,
67,
529,
4672,
327,
667,
67,
327,
2836,
3813,
18,
4709,
2449,
469,
30,
327,
667,
67,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
648,
67,
31940,
67,
16341,
12,
1106,
67,
4672,
3536,
797,
7367,
716,
446,
5032,
7434,
716,
2583,
279,
648,
17,
31940,
585,
2619,
12123,
309,
2589,
18,
9898,
486,
316,
7707,
8082,
1578,
2187,
296,
28076,
2187,
296,
2431,
75,
8082,
11,
4672,
2282,
67,
529,
273,
1140,
18,
1098,
1214,
2668,
1093,
25146,
20,
65,
309,
578,
724,
287,
67,
529,
18,
5797,
1435,
480,
2282,
67,
529,
30,
3550,
67,
529,
273,
2282,
67,
529,
18,
5797,
1435,
469,
30,
3550,
67,
529,
273,
2282,
67,
529,
18,
8167,
1435,
309,
1140,
18,
803,
18,
1808,
12,
6703,
67,
529,
4672,
327,
667,
67,
327,
2836,
3813,
18,
4709,
2449,
469,
30,
327,
667,
67,
2
] |
return "CC_PACKET:=" + cmpl.get()
|
return "CC_PACKET:= " + cmpl.get()
|
def repl_compil(m): return "CC_PACKET:=" + cmpl.get()
|
e2b0b7a15665e7f5130b4f9e830fd32651df813f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2128/e2b0b7a15665e7f5130b4f9e830fd32651df813f/configure.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6831,
67,
2919,
330,
12,
81,
4672,
327,
315,
6743,
67,
12231,
1584,
30,
33,
315,
397,
5003,
412,
18,
588,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6831,
67,
2919,
330,
12,
81,
4672,
327,
315,
6743,
67,
12231,
1584,
30,
33,
315,
397,
5003,
412,
18,
588,
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
] |
t1 = time.millitimer()
|
t1 = time.time()
|
def record(v, info, filename, audiofilename, mono, grey, greybits, \ monotreshold, fields, preallocspace): import thread format, x, y, qsize, rate = info fps = 59.64 # Fields per second # XXX (Strange: need fps of Indigo monitor, not of PAL or NTSC!) tpf = 1000.0 / fps # Time per field in msec if filename: vout = VFile.VoutFile(filename) if mono: format = 'mono' elif grey and greybits == 8: format = 'grey' elif grey: format = 'grey'+`abs(greybits)` else: format = 'rgb8' vout.setformat(format) vout.setsize(x, y) if fields: vout.setpf((1, -2)) vout.writeheader() if preallocspace: print 'Preallocating space...' vout.prealloc(preallocspace) print 'done.' MAXSIZE = 20 # XXX should be a user option import Queue queue = Queue.Queue(MAXSIZE) done = thread.allocate_lock() done.acquire_lock() convertor = None if grey: if greybits == 2: convertor = imageop.grey2grey2 elif greybits == 4: convertor = imageop.grey2grey4 elif greybits == -2: convertor = imageop.dither2grey2 thread.start_new_thread(saveframes, \ (vout, queue, done, mono, monotreshold, convertor)) if audiofilename: audiodone = thread.allocate_lock() audiodone.acquire_lock() audiostop = [] initaudio(audiofilename, audiostop, audiodone) gl.wintitle('(rec) ' + filename) lastid = 0 t0 = time.millitimer() count = 0 ids = [] v.InitContinuousCapture(info) while not gl.qtest(): try: cd, id = v.GetCaptureData() except sv.error: #time.millisleep(10) # XXX is this necessary? sgi.nap(1) # XXX Try by Jack continue ids.append(id) id = id + 2*rate
|
7911430d00ceaac39d086959bf7b8de3452bd9fc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/7911430d00ceaac39d086959bf7b8de3452bd9fc/Vrec.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1409,
12,
90,
16,
1123,
16,
1544,
16,
20232,
77,
792,
2550,
16,
6921,
83,
16,
5174,
93,
16,
5174,
93,
6789,
16,
521,
6921,
352,
3444,
16,
1466,
16,
675,
9853,
2981,
4672,
1930,
2650,
740,
16,
619,
16,
677,
16,
1043,
1467,
16,
4993,
273,
1123,
26067,
273,
14995,
18,
1105,
468,
7190,
1534,
2205,
468,
11329,
261,
1585,
726,
30,
1608,
26067,
434,
657,
5606,
83,
6438,
16,
486,
434,
453,
1013,
578,
20064,
2312,
24949,
8071,
74,
273,
4336,
18,
20,
342,
26067,
468,
2647,
1534,
652,
316,
312,
3321,
309,
1544,
30,
331,
659,
273,
776,
812,
18,
58,
659,
812,
12,
3459,
13,
309,
6921,
83,
30,
740,
273,
296,
2586,
83,
11,
1327,
5174,
93,
471,
5174,
93,
6789,
422,
1725,
30,
740,
273,
296,
11556,
93,
11,
1327,
5174,
93,
30,
740,
273,
296,
11556,
93,
11,
15,
68,
5113,
12,
11556,
93,
6789,
22025,
469,
30,
740,
273,
296,
10948,
28,
11,
331,
659,
18,
542,
2139,
12,
2139,
13,
331,
659,
18,
542,
1467,
12,
92,
16,
677,
13,
309,
1466,
30,
331,
659,
18,
542,
14241,
12443,
21,
16,
300,
22,
3719,
331,
659,
18,
2626,
3374,
1435,
309,
675,
9853,
2981,
30,
1172,
296,
1386,
9853,
1776,
3476,
7821,
331,
659,
18,
1484,
9853,
12,
1484,
9853,
2981,
13,
1172,
296,
8734,
1093,
4552,
4574,
273,
4200,
468,
11329,
1410,
506,
279,
729,
1456,
1930,
7530,
2389,
273,
7530,
18,
3183,
12,
6694,
4574,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1409,
12,
90,
16,
1123,
16,
1544,
16,
20232,
77,
792,
2550,
16,
6921,
83,
16,
5174,
93,
16,
5174,
93,
6789,
16,
521,
6921,
352,
3444,
16,
1466,
16,
675,
9853,
2981,
4672,
1930,
2650,
740,
16,
619,
16,
677,
16,
1043,
1467,
16,
4993,
273,
1123,
26067,
273,
14995,
18,
1105,
468,
7190,
1534,
2205,
468,
11329,
261,
1585,
726,
30,
1608,
26067,
434,
657,
5606,
83,
6438,
16,
486,
434,
453,
1013,
578,
20064,
2312,
24949,
8071,
74,
273,
4336,
18,
20,
342,
26067,
468,
2647,
1534,
652,
316,
312,
3321,
309,
1544,
30,
331,
659,
273,
776,
812,
18,
58,
659,
812,
12,
3459,
13,
309,
6921,
83,
30,
740,
273,
296,
2586,
83,
2
] |
self.recall(self.text.get(next[0], next[1]))
|
self.recall(self.text.get(next[0], next[1]), event)
|
def enter_callback(self, event): if self.executing and not self.reading: return # Let the default binding (insert '\n') take over # If some text is selected, recall the selection # (but only if this before the I/O mark) try: sel = self.text.get("sel.first", "sel.last") if sel: if self.text.compare("sel.last", "<=", "iomark"): self.recall(sel) return "break" except: pass # If we're strictly before the line containing iomark, recall # the current line, less a leading prompt, less leading or # trailing whitespace if self.text.compare("insert", "<", "iomark linestart"): # Check if there's a relevant stdin range -- if so, use it prev = self.text.tag_prevrange("stdin", "insert") if prev and self.text.compare("insert", "<", prev[1]): self.recall(self.text.get(prev[0], prev[1])) return "break" next = self.text.tag_nextrange("stdin", "insert") if next and self.text.compare("insert lineend", ">=", next[0]): self.recall(self.text.get(next[0], next[1])) return "break" # No stdin mark -- just get the current line, less any prompt line = self.text.get("insert linestart", "insert lineend") last_line_of_prompt = sys.ps1.split('\n')[-1] if line.startswith(last_line_of_prompt): line = line[len(last_line_of_prompt):] self.recall(line) return "break" # If we're between the beginning of the line and the iomark, i.e. # in the prompt area, move to the end of the prompt if self.text.compare("insert", "<", "iomark"): self.text.mark_set("insert", "iomark") # If we're in the current input and there's only whitespace # beyond the cursor, erase that whitespace first s = self.text.get("insert", "end-1c") if s and not s.strip(): self.text.delete("insert", "end-1c") # If we're in the current input before its last line, # insert a newline right at the insert point if self.text.compare("insert", "<", "end-1c linestart"): self.newline_and_indent_event(event) return "break" # We're in the last line; append a newline and submit it self.text.mark_set("insert", "end-1c") if self.reading: self.text.insert("insert", "\n") self.text.see("insert") else: self.newline_and_indent_event(event) self.text.tag_add("stdin", "iomark", "end-1c") self.text.update_idletasks() if self.reading: self.top.quit() # Break out of recursive mainloop() in raw_input() else: self.runit() return "break"
|
e88225f2d5060953d48573a5934561756edf7326 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/e88225f2d5060953d48573a5934561756edf7326/PyShell.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6103,
67,
3394,
12,
2890,
16,
871,
4672,
309,
365,
18,
4177,
8490,
471,
486,
365,
18,
21803,
30,
327,
468,
10559,
326,
805,
5085,
261,
6387,
2337,
82,
6134,
4862,
1879,
468,
971,
2690,
977,
353,
3170,
16,
20895,
326,
4421,
468,
261,
12885,
1338,
309,
333,
1865,
326,
467,
19,
51,
2267,
13,
775,
30,
357,
273,
365,
18,
955,
18,
588,
2932,
1786,
18,
3645,
3113,
315,
1786,
18,
2722,
7923,
309,
357,
30,
309,
365,
18,
955,
18,
9877,
2932,
1786,
18,
2722,
3113,
3532,
1546,
16,
315,
14642,
1313,
6,
4672,
365,
18,
266,
1991,
12,
1786,
13,
327,
315,
8820,
6,
1335,
30,
1342,
468,
971,
732,
4565,
23457,
1865,
326,
980,
4191,
277,
362,
1313,
16,
20895,
468,
326,
783,
980,
16,
5242,
279,
7676,
6866,
16,
5242,
7676,
578,
468,
7341,
7983,
309,
365,
18,
955,
18,
9877,
2932,
6387,
3113,
3532,
3113,
315,
14642,
1313,
4739,
27893,
6,
4672,
468,
2073,
309,
1915,
1807,
279,
9368,
8801,
1048,
1493,
309,
1427,
16,
999,
518,
2807,
273,
365,
18,
955,
18,
2692,
67,
10001,
3676,
2932,
21772,
3113,
315,
6387,
7923,
309,
2807,
471,
365,
18,
955,
18,
9877,
2932,
6387,
3113,
3532,
3113,
2807,
63,
21,
65,
4672,
365,
18,
266,
1991,
12,
2890,
18,
955,
18,
588,
12,
10001,
63,
20,
6487,
2807,
63,
21,
22643,
327,
315,
8820,
6,
1024,
273,
365,
18,
955,
18,
2692,
67,
82,
14523,
726,
2932,
21772,
3113,
315,
6387,
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,
6103,
67,
3394,
12,
2890,
16,
871,
4672,
309,
365,
18,
4177,
8490,
471,
486,
365,
18,
21803,
30,
327,
468,
10559,
326,
805,
5085,
261,
6387,
2337,
82,
6134,
4862,
1879,
468,
971,
2690,
977,
353,
3170,
16,
20895,
326,
4421,
468,
261,
12885,
1338,
309,
333,
1865,
326,
467,
19,
51,
2267,
13,
775,
30,
357,
273,
365,
18,
955,
18,
588,
2932,
1786,
18,
3645,
3113,
315,
1786,
18,
2722,
7923,
309,
357,
30,
309,
365,
18,
955,
18,
9877,
2932,
1786,
18,
2722,
3113,
3532,
1546,
16,
315,
14642,
1313,
6,
4672,
365,
18,
266,
1991,
12,
1786,
13,
327,
315,
8820,
6,
1335,
30,
1342,
468,
971,
732,
4565,
23457,
1865,
326,
980,
2
] |
uses floating points methods based on elliptic logarithms to
|
uses floating point methods based on elliptic logarithms to
|
def saturate(self, max_prime=-1, odd_primes_only=False): r""" Saturate this subgroup of the Mordell-Weil group. INPUT: - ``max_prime`` (int, default -1) -- saturation is performed for all primes up to `max_prime`. If `-1` (default) then an upper bound is computed for the primes at which the subgroup may not be saturated, and this is used; however, if the computed bound is greater than a value set by the eclib library (currently 97) then no saturation will be attempted at primes above this. - ``odd_primes_only`` (bool, default False) -- only do saturation at odd primes. (If the points have been found via 2-descent they should alreday be 2-saturated.)
|
1cc4edc9aafb88d044d853b60331d1432546cf60 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/1cc4edc9aafb88d044d853b60331d1432546cf60/interface.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5942,
295,
340,
12,
2890,
16,
943,
67,
16382,
29711,
21,
16,
14800,
67,
683,
4485,
67,
3700,
33,
8381,
4672,
436,
8395,
25793,
295,
340,
333,
720,
1655,
434,
326,
490,
517,
1165,
17,
3218,
330,
1041,
18,
225,
12943,
30,
225,
300,
12176,
1896,
67,
16382,
10335,
261,
474,
16,
805,
300,
21,
13,
1493,
22824,
353,
9591,
364,
777,
846,
4485,
731,
358,
1375,
1896,
67,
16382,
8338,
971,
1375,
17,
21,
68,
261,
1886,
13,
1508,
392,
3854,
2489,
353,
8470,
364,
326,
846,
4485,
622,
1492,
326,
720,
1655,
2026,
486,
506,
5942,
28480,
16,
471,
333,
353,
1399,
31,
14025,
16,
309,
326,
8470,
2489,
353,
6802,
2353,
279,
460,
444,
635,
326,
425,
830,
495,
5313,
261,
2972,
715,
16340,
13,
1508,
1158,
22824,
903,
506,
18121,
622,
846,
4485,
5721,
333,
18,
225,
300,
12176,
31755,
67,
683,
4485,
67,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5942,
295,
340,
12,
2890,
16,
943,
67,
16382,
29711,
21,
16,
14800,
67,
683,
4485,
67,
3700,
33,
8381,
4672,
436,
8395,
25793,
295,
340,
333,
720,
1655,
434,
326,
490,
517,
1165,
17,
3218,
330,
1041,
18,
225,
12943,
30,
225,
300,
12176,
1896,
67,
16382,
10335,
261,
474,
16,
805,
300,
21,
13,
1493,
22824,
353,
9591,
364,
777,
846,
4485,
731,
358,
1375,
1896,
67,
16382,
8338,
971,
1375,
17,
21,
68,
261,
1886,
13,
1508,
392,
3854,
2489,
353,
8470,
364,
326,
846,
4485,
622,
1492,
326,
720,
1655,
2026,
486,
506,
5942,
28480,
16,
471,
333,
353,
1399,
31,
14025,
16,
309,
326,
8470,
2489,
353,
6802,
2353,
279,
460,
444,
635,
2
] |
model._meta.object_name,
|
poss_ormise(app, model, model._meta.object_name),
|
"\n ".join(["('%s', %s)," % (fname, fdef) for fname, fdef in fields.items()]),
|
dad4fe1c4d9728a1634d573389487d8ad3b15860 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13142/dad4fe1c4d9728a1634d573389487d8ad3b15860/startmigration.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1548,
82,
5411,
3552,
5701,
3816,
6,
29909,
87,
2187,
738,
87,
3631,
6,
738,
261,
12749,
16,
284,
536,
13,
364,
5299,
16,
284,
536,
316,
1466,
18,
3319,
1435,
65,
3631,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1548,
82,
5411,
3552,
5701,
3816,
6,
29909,
87,
2187,
738,
87,
3631,
6,
738,
261,
12749,
16,
284,
536,
13,
364,
5299,
16,
284,
536,
316,
1466,
18,
3319,
1435,
65,
3631,
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
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.