rem
stringlengths 2
226k
| add
stringlengths 0
227k
| context
stringlengths 8
228k
| meta
stringlengths 156
215
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
load (sys.argv[1])
|
load (sys.argv[1:])
|
def load (filename): amc = AMC.from_file (filename) bones = {} for (key, data) in amc.bones.iteritems (): print 'building graph for',key g = build_graph (key, data) if g is not None: f = file ('graphs/%s.dot' % key, 'w') DotPrint (g, f) f.close ()
|
06c5189cceb33db4082ae4d94ff86fe083fc0935 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6757/06c5189cceb33db4082ae4d94ff86fe083fc0935/build_motion_graphs.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1262,
261,
3459,
4672,
2125,
71,
273,
432,
20022,
18,
2080,
67,
768,
261,
3459,
13,
324,
5322,
273,
2618,
364,
261,
856,
16,
501,
13,
316,
2125,
71,
18,
70,
5322,
18,
2165,
3319,
1832,
30,
1172,
296,
3510,
310,
2667,
364,
2187,
856,
314,
273,
1361,
67,
4660,
261,
856,
16,
501,
13,
309,
314,
353,
486,
599,
30,
284,
273,
585,
7707,
30016,
5258,
87,
18,
9811,
11,
738,
498,
16,
296,
91,
6134,
17502,
5108,
261,
75,
16,
284,
13,
284,
18,
4412,
1832,
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,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
18,
2165,
3319,
1832,
30,
1172,
296,
3510,
310,
2667,
364,
2187,
856,
314,
273,
1361,
67,
4660,
261,
856,
16,
501,
13,
309,
314,
353,
486,
599,
30,
284,
273,
585,
7707,
30016,
5258,
87,
18,
9811,
11,
738,
498,
16,
296,
91,
6134,
17502,
5108,
261,
75,
16,
284,
13,
284,
18,
4412,
1832,
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
] |
if nodeName not in ['td', 'th']: assert self.innerHTML nodeName = self.innerHTML
|
nodeName = self.innerHTML
|
def resetInsertionMode(self): # The name of this method is mostly historical. (It's also used in the # specification.) last = False newModes = { "select":"inSelect", "td":"inCell", "th":"inCell", "tr":"inRow", "tbody":"inTableBody", "thead":"inTableBody", "tfoot":"inTableBody", "caption":"inCaption", "colgroup":"inColumnGroup", "table":"inTable", "head":"inBody", "body":"inBody", "frameset":"inFrameset" } for node in self.tree.openElements[::-1]: nodeName = node.name if node == self.tree.openElements[0]: last = True if nodeName not in ['td', 'th']: # XXX assert self.innerHTML nodeName = self.innerHTML # Check for conditions that should only happen in the innerHTML # case if nodeName in ("select", "colgroup", "head", "frameset"): # XXX assert self.innerHTML if nodeName in newModes: self.phase = self.phases[newModes[nodeName]] break elif node.namespace in (namespaces["mathml"], namespaces["svg"]): self.phase = self.phases["inForeignContent"] self.secondaryPhase = self.phases["inBody"] break elif nodeName == "html": if self.tree.headPointer is None: self.phase = self.phases["beforeHead"] else: self.phase = self.phases["afterHead"] break elif last: self.phase = self.phases["inBody"] break
|
42f8f37b07c006f9ff5c7cbb9dd4df915b61012c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4487/42f8f37b07c006f9ff5c7cbb9dd4df915b61012c/html5parser.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2715,
29739,
2309,
12,
2890,
4672,
468,
1021,
508,
434,
333,
707,
353,
23958,
23922,
18,
261,
7193,
1807,
2546,
1399,
316,
326,
468,
7490,
12998,
1142,
273,
1083,
394,
18868,
273,
288,
315,
4025,
15563,
267,
3391,
3113,
315,
4465,
15563,
267,
4020,
3113,
315,
451,
15563,
267,
4020,
3113,
315,
313,
15563,
267,
1999,
3113,
315,
20779,
15563,
267,
1388,
2250,
3113,
315,
24604,
15563,
267,
1388,
2250,
3113,
315,
88,
10923,
15563,
267,
1388,
2250,
3113,
315,
15386,
15563,
267,
21158,
3113,
315,
1293,
1655,
15563,
267,
1494,
1114,
3113,
315,
2121,
15563,
267,
1388,
3113,
315,
1978,
15563,
267,
2250,
3113,
315,
3432,
15563,
267,
2250,
3113,
315,
10278,
278,
15563,
267,
15162,
278,
6,
289,
364,
756,
316,
365,
18,
3413,
18,
3190,
3471,
63,
2866,
17,
21,
14542,
7553,
273,
756,
18,
529,
309,
756,
422,
365,
18,
3413,
18,
3190,
3471,
63,
20,
14542,
1142,
273,
1053,
309,
7553,
486,
316,
10228,
4465,
2187,
296,
451,
3546,
30,
468,
11329,
1815,
365,
18,
7872,
4870,
7553,
273,
365,
18,
7872,
4870,
468,
2073,
364,
4636,
716,
1410,
1338,
5865,
316,
326,
14129,
468,
648,
309,
7553,
316,
7566,
4025,
3113,
315,
1293,
1655,
3113,
315,
1978,
3113,
315,
10278,
278,
6,
4672,
468,
11329,
1815,
365,
18,
7872,
4870,
309,
7553,
316,
394,
18868,
30,
365,
18,
13961,
273,
365,
18,
844,
3304,
63,
2704,
18868,
63,
2159,
461,
13563,
898,
1327,
756,
18,
4937,
316,
261,
16078,
9614,
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,
2715,
29739,
2309,
12,
2890,
4672,
468,
1021,
508,
434,
333,
707,
353,
23958,
23922,
18,
261,
7193,
1807,
2546,
1399,
316,
326,
468,
7490,
12998,
1142,
273,
1083,
394,
18868,
273,
288,
315,
4025,
15563,
267,
3391,
3113,
315,
4465,
15563,
267,
4020,
3113,
315,
451,
15563,
267,
4020,
3113,
315,
313,
15563,
267,
1999,
3113,
315,
20779,
15563,
267,
1388,
2250,
3113,
315,
24604,
15563,
267,
1388,
2250,
3113,
315,
88,
10923,
15563,
267,
1388,
2250,
3113,
315,
15386,
15563,
267,
21158,
3113,
315,
1293,
1655,
15563,
267,
1494,
1114,
3113,
315,
2121,
15563,
267,
1388,
3113,
315,
1978,
15563,
267,
2250,
3113,
315,
3432,
15563,
267,
2250,
3113,
315,
10278,
278,
15563,
267,
15162,
278,
2
] |
s += "assign%s" % props()
|
s += "ASSIGN%s" % props()
|
def props(): if c["include_props"]: props_to_include = [x for x in ("lineno", "start", "end", "readOnly") if hasattr(n, x)] if len(props_to_include) > 0: s = " (@" for prop in props_to_include: s += " (%s %s)" % (prop, getattr(n, prop)) return s +")" return ""
|
df699fbcef0551b57fbcf593691a41515ef3b880 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4710/df699fbcef0551b57fbcf593691a41515ef3b880/sexp.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3458,
13332,
309,
276,
9614,
6702,
67,
9693,
11929,
30,
3458,
67,
869,
67,
6702,
273,
306,
92,
364,
619,
316,
7566,
17782,
3113,
315,
1937,
3113,
315,
409,
3113,
315,
896,
3386,
7923,
309,
3859,
12,
82,
16,
619,
25887,
309,
562,
12,
9693,
67,
869,
67,
6702,
13,
405,
374,
30,
272,
273,
315,
261,
27614,
364,
2270,
316,
3458,
67,
869,
67,
6702,
30,
272,
1011,
315,
6142,
87,
738,
87,
2225,
738,
261,
5986,
16,
3869,
12,
82,
16,
2270,
3719,
327,
272,
397,
6,
2225,
327,
1408,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3458,
13332,
309,
276,
9614,
6702,
67,
9693,
11929,
30,
3458,
67,
869,
67,
6702,
273,
306,
92,
364,
619,
316,
7566,
17782,
3113,
315,
1937,
3113,
315,
409,
3113,
315,
896,
3386,
7923,
309,
3859,
12,
82,
16,
619,
25887,
309,
562,
12,
9693,
67,
869,
67,
6702,
13,
405,
374,
30,
272,
273,
315,
261,
27614,
364,
2270,
316,
3458,
67,
869,
67,
6702,
30,
272,
1011,
315,
6142,
87,
738,
87,
2225,
738,
261,
5986,
16,
3869,
12,
82,
16,
2270,
3719,
327,
272,
397,
6,
2225,
327,
1408,
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
] |
"All Files (*.mmp *.pdb);;Molecular machine parts (*.mmp);;Protein Data Bank (*.pdb)",
|
"Molecular machine parts (*.mmp);;Protein Data Bank (*.pdb);;All Files (*.mmp *.pdb)",
|
def fileOpen(self): self.history.message(greenmsg("Open File:")) if self.assy.has_changed(): ret = QMessageBox.warning( self, self.name(), "The part contains unsaved changes.\n" "Do you want to save the changes before opening a new part?", "&Save", "&Discard", "Cancel", 0, # Enter == button 0 2 ) # Escape == button 2 if ret==0: # Save clicked or Alt+S pressed or Enter pressed. ##Huaicai 1/6/05: If user canceled save operation, return ## without letting user open another file if not self.fileSave(): return ## Huaicai 12/06/04. Don't clear it, user may cancel the file open action elif ret==1: pass#self.__clear() elif ret==2: self.history.message("Cancelled.") return # Cancel clicked or Alt+C pressed or Escape pressed
|
2d8f276eedc3621f9a7b9ce2faa4a46be71afd18 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/2d8f276eedc3621f9a7b9ce2faa4a46be71afd18/MWsemantics.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
585,
3678,
12,
2890,
4672,
225,
365,
18,
8189,
18,
2150,
12,
11571,
3576,
2932,
3678,
1387,
2773,
3719,
225,
309,
365,
18,
428,
93,
18,
5332,
67,
6703,
13332,
325,
273,
30728,
18,
8551,
12,
365,
16,
365,
18,
529,
9334,
315,
1986,
1087,
1914,
640,
14077,
3478,
8403,
82,
6,
315,
3244,
1846,
2545,
358,
1923,
326,
3478,
1865,
10890,
279,
394,
1087,
35,
3113,
7830,
4755,
3113,
7830,
14185,
3113,
315,
6691,
3113,
374,
16,
1377,
468,
15439,
422,
3568,
374,
576,
262,
377,
468,
18025,
422,
3568,
576,
225,
309,
325,
631,
20,
30,
468,
7074,
17688,
578,
27116,
15,
55,
19504,
578,
15439,
19504,
18,
7541,
44,
11886,
335,
10658,
404,
19,
26,
19,
6260,
30,
971,
729,
17271,
1923,
1674,
16,
327,
7541,
2887,
2231,
1787,
729,
1696,
4042,
585,
309,
486,
365,
18,
768,
4755,
13332,
327,
225,
7541,
670,
11886,
335,
10658,
2593,
19,
7677,
19,
3028,
18,
7615,
1404,
2424,
518,
16,
729,
2026,
3755,
326,
585,
1696,
1301,
1327,
325,
631,
21,
30,
1342,
7,
2890,
16186,
8507,
1435,
225,
1327,
325,
631,
22,
30,
365,
18,
8189,
18,
2150,
2932,
21890,
1199,
13,
327,
468,
10347,
17688,
578,
27116,
15,
39,
19504,
578,
18025,
19504,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
585,
3678,
12,
2890,
4672,
225,
365,
18,
8189,
18,
2150,
12,
11571,
3576,
2932,
3678,
1387,
2773,
3719,
225,
309,
365,
18,
428,
93,
18,
5332,
67,
6703,
13332,
325,
273,
30728,
18,
8551,
12,
365,
16,
365,
18,
529,
9334,
315,
1986,
1087,
1914,
640,
14077,
3478,
8403,
82,
6,
315,
3244,
1846,
2545,
358,
1923,
326,
3478,
1865,
10890,
279,
394,
1087,
35,
3113,
7830,
4755,
3113,
7830,
14185,
3113,
315,
6691,
3113,
374,
16,
1377,
468,
15439,
422,
3568,
374,
576,
262,
377,
468,
18025,
422,
3568,
576,
225,
309,
325,
631,
20,
30,
468,
7074,
17688,
578,
27116,
15,
55,
19504,
578,
15439,
19504,
18,
7541,
44,
11886,
335,
10658,
404,
19,
26,
2
] |
if needs_add:
|
if not alreadyInCart:
|
def add_item(self, chosen_item, number_added, details={}): needs_add = False try: item_to_modify = self.cartitem_set.filter(product__id = chosen_item.id)[0] # Custom Products will not be added, they will each get their own line item #TODO: More sophisticated checks to make sure the options really are different if 'CustomProduct' in item_to_modify.product.get_subtypes(): item_to_modify = CartItem(cart=self, product=chosen_item, quantity=0) needs_add = True except IndexError: #It doesn't exist so create a new one item_to_modify = CartItem(cart=self, product=chosen_item, quantity=0) needs_add = True config=Config.objects.get_current()
|
e357f1f84ba3a61f9672bfe1766092774cdf8882 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/171/e357f1f84ba3a61f9672bfe1766092774cdf8882/models.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
67,
1726,
12,
2890,
16,
10447,
67,
1726,
16,
1300,
67,
9665,
16,
3189,
12938,
4672,
4260,
67,
1289,
273,
1083,
225,
775,
30,
761,
67,
869,
67,
17042,
273,
225,
365,
18,
11848,
1726,
67,
542,
18,
2188,
12,
5896,
972,
350,
273,
10447,
67,
1726,
18,
350,
25146,
20,
65,
468,
6082,
8094,
87,
903,
486,
506,
3096,
16,
2898,
903,
1517,
336,
3675,
4953,
980,
761,
468,
6241,
30,
16053,
272,
23169,
5846,
690,
4271,
358,
1221,
3071,
326,
702,
8654,
854,
3775,
309,
296,
3802,
4133,
11,
316,
761,
67,
869,
67,
17042,
18,
5896,
18,
588,
67,
1717,
2352,
13332,
761,
67,
869,
67,
17042,
273,
17695,
1180,
12,
11848,
33,
2890,
16,
3017,
33,
343,
8918,
67,
1726,
16,
10457,
33,
20,
13,
4260,
67,
1289,
273,
1053,
1335,
10195,
30,
468,
7193,
3302,
1404,
1005,
1427,
752,
279,
394,
1245,
761,
67,
869,
67,
17042,
273,
17695,
1180,
12,
11848,
33,
2890,
16,
3017,
33,
343,
8918,
67,
1726,
16,
10457,
33,
20,
13,
4260,
67,
1289,
273,
1053,
225,
642,
33,
809,
18,
6911,
18,
588,
67,
2972,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
67,
1726,
12,
2890,
16,
10447,
67,
1726,
16,
1300,
67,
9665,
16,
3189,
12938,
4672,
4260,
67,
1289,
273,
1083,
225,
775,
30,
761,
67,
869,
67,
17042,
273,
225,
365,
18,
11848,
1726,
67,
542,
18,
2188,
12,
5896,
972,
350,
273,
10447,
67,
1726,
18,
350,
25146,
20,
65,
468,
6082,
8094,
87,
903,
486,
506,
3096,
16,
2898,
903,
1517,
336,
3675,
4953,
980,
761,
468,
6241,
30,
16053,
272,
23169,
5846,
690,
4271,
358,
1221,
3071,
326,
702,
8654,
854,
3775,
309,
296,
3802,
4133,
11,
316,
761,
67,
869,
67,
17042,
18,
5896,
18,
588,
67,
1717,
2352,
13332,
761,
67,
869,
67,
17042,
273,
17695,
1180,
12,
11848,
33,
2890,
2
] |
macros[i + 'f'] = shell_quote(tab_dir.pointed_obj.path)
|
if tab_dir.pointed_obj: macros[i + 'f'] = shell_quote(tab_dir.pointed_obj.path)
|
def _substitute_metachars(self, command): macros = {}
|
fd51fa3da2848859ba722bac45178c24845d17d0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5729/fd51fa3da2848859ba722bac45178c24845d17d0/console.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1717,
17207,
67,
10578,
497,
5913,
12,
2890,
16,
1296,
4672,
24302,
273,
2618,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
for i in range(len(res)):
|
for i in res:
|
def create_variable_types_table(data): """Creates a table for the variable types."""
|
03dd1fa87e7ed6a1aae10ff4e922ba7db9cd3ff8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9355/03dd1fa87e7ed6a1aae10ff4e922ba7db9cd3ff8/wiki_grabber.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
67,
6105,
67,
2352,
67,
2121,
12,
892,
4672,
3536,
2729,
279,
1014,
364,
326,
2190,
1953,
12123,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
67,
6105,
67,
2352,
67,
2121,
12,
892,
4672,
3536,
2729,
279,
1014,
364,
326,
2190,
1953,
12123,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
i = 1
|
i = 1
|
def update_grades_area(self): w = self.widget # Update grade buttons. if self.card and self.card.grade < 2: i = 0 # Acquisition phase. default_grade = 0 for grade in [3, 4, 5]: w.enable_grade(grade, False) else: i = 1 # Retention phase. default_grade = 4 for grade in [3, 4, 5]: w.enable_grade(grade, True) w.enable_grades(self.grades_enabled) if self.grades_enabled: w.set_default_grade(default_grade) # Set title for grades box. if self.state == "SELECT GRADE" and \ self.config()["show_intervals"] == "buttons": w.set_grades_title(_("Pick days until next repetition:")) else: if self.card and self.card.grade == -1: w.set_grades_title(_("Select initial grade:")) else: w.set_grades_title(_("Grade your answer:")) # Set tooltips and texts for the grade buttons. for grade in range(0,6): # Tooltip. if self.state == "SELECT GRADE" and \ self.config()["show_intervals"] == "tooltips": import math interval = self.scheduler().process_answer(self.card, \ grade, dry_run=True) days = int(math.ceil(interval / (24.0 * 60 * 60))) w.set_grade_tooltip(grade, tooltip[i][grade] + \ self.next_rep_string(days)) else: w.set_grade_tooltip(grade, tooltip[i][grade]) # Button text. if self.state == "SELECT GRADE" and \ self.config()["show_intervals"] == "buttons": w.set_grade_text(grade, str(self.scheduler().process_answer(\ self.card, grade, dry_run=True))) else: w.set_grade_text(grade, str(grade))
|
0ce2d69b3e2433af792921c07c3159dca16bcfd1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1240/0ce2d69b3e2433af792921c07c3159dca16bcfd1/SM2_controller.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
67,
13088,
67,
5036,
12,
2890,
4672,
341,
273,
365,
18,
6587,
468,
2315,
7324,
9502,
18,
309,
365,
18,
3327,
471,
365,
18,
3327,
18,
3994,
411,
576,
30,
277,
273,
374,
468,
12848,
22094,
6855,
18,
805,
67,
3994,
273,
374,
364,
7324,
316,
306,
23,
16,
1059,
16,
1381,
14542,
341,
18,
7589,
67,
3994,
12,
3994,
16,
1083,
13,
469,
30,
277,
273,
404,
468,
17100,
5054,
6855,
18,
805,
67,
3994,
273,
1059,
364,
7324,
316,
306,
23,
16,
1059,
16,
1381,
14542,
341,
18,
7589,
67,
3994,
12,
3994,
16,
1053,
13,
341,
18,
7589,
67,
13088,
12,
2890,
18,
13088,
67,
5745,
13,
309,
365,
18,
13088,
67,
5745,
30,
341,
18,
542,
67,
1886,
67,
3994,
12,
1886,
67,
3994,
13,
468,
1000,
2077,
364,
24396,
3919,
18,
309,
365,
18,
2019,
422,
315,
4803,
611,
2849,
1639,
6,
471,
521,
365,
18,
1425,
1435,
9614,
4500,
67,
19812,
11929,
422,
315,
16016,
6877,
341,
18,
542,
67,
13088,
67,
2649,
24899,
2932,
17968,
4681,
3180,
1024,
31239,
2773,
3719,
469,
30,
309,
365,
18,
3327,
471,
365,
18,
3327,
18,
3994,
422,
300,
21,
30,
341,
18,
542,
67,
13088,
67,
2649,
24899,
2932,
3391,
2172,
7324,
2773,
3719,
469,
30,
341,
18,
542,
67,
13088,
67,
2649,
24899,
2932,
14571,
323,
3433,
5803,
2773,
3719,
468,
1000,
358,
4397,
7146,
471,
15219,
364,
326,
7324,
9502,
18,
364,
7324,
316,
1048,
12,
20,
16,
26,
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,
1089,
67,
13088,
67,
5036,
12,
2890,
4672,
341,
273,
365,
18,
6587,
468,
2315,
7324,
9502,
18,
309,
365,
18,
3327,
471,
365,
18,
3327,
18,
3994,
411,
576,
30,
277,
273,
374,
468,
12848,
22094,
6855,
18,
805,
67,
3994,
273,
374,
364,
7324,
316,
306,
23,
16,
1059,
16,
1381,
14542,
341,
18,
7589,
67,
3994,
12,
3994,
16,
1083,
13,
469,
30,
277,
273,
404,
468,
17100,
5054,
6855,
18,
805,
67,
3994,
273,
1059,
364,
7324,
316,
306,
23,
16,
1059,
16,
1381,
14542,
341,
18,
7589,
67,
3994,
12,
3994,
16,
1053,
13,
341,
18,
7589,
67,
13088,
12,
2890,
18,
13088,
67,
5745,
13,
309,
365,
18,
13088,
67,
5745,
30,
2
] |
class CREATEBRUSHINDIRECT(EMR_UNKNOWN):
|
class _CREATEBRUSHINDIRECT(_EMR_UNKNOWN):
|
def __init__(self,style=PS_SOLID,width=1,color=0): EMR_UNKNOWN.__init__(self) self.lopn_style=style self.lopn_width=width self.lopn_color=color
|
688318604ffe18a54bb261a3bde4bf6e1784a8de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8136/688318604ffe18a54bb261a3bde4bf6e1784a8de/pyemf.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
4060,
33,
5857,
67,
19815,
734,
16,
2819,
33,
21,
16,
3266,
33,
20,
4672,
7141,
54,
67,
14737,
16186,
2738,
972,
12,
2890,
13,
365,
18,
383,
7449,
67,
4060,
33,
4060,
365,
18,
383,
7449,
67,
2819,
33,
2819,
365,
18,
383,
7449,
67,
3266,
33,
3266,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
4060,
33,
5857,
67,
19815,
734,
16,
2819,
33,
21,
16,
3266,
33,
20,
4672,
7141,
54,
67,
14737,
16186,
2738,
972,
12,
2890,
13,
365,
18,
383,
7449,
67,
4060,
33,
4060,
365,
18,
383,
7449,
67,
2819,
33,
2819,
365,
18,
383,
7449,
67,
3266,
33,
3266,
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
] |
self.assertEqual(self.cur.execute("create table users " "(userid varchar(5), username varchar(25))"),-1)
|
self.assertEqual(self.cur.execute( """create table users ( userid varchar(5), username varchar(25), bitfield bit, intfield integer, floatfield float )"""),-1)
|
def setUp(self): self.db_filename = os.path.join(tempfile.gettempdir(), "test_odbc.mdb") if os.path.isfile(self.db_filename): os.unlink(self.db_filename)
|
ff726fadaf1b1c14b0532d2e1c4cdd410f15a4ef /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/992/ff726fadaf1b1c14b0532d2e1c4cdd410f15a4ef/test_odbc.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
24292,
12,
2890,
4672,
365,
18,
1966,
67,
3459,
273,
1140,
18,
803,
18,
5701,
12,
5814,
768,
18,
588,
5814,
1214,
9334,
315,
3813,
67,
10605,
71,
18,
27574,
7923,
309,
1140,
18,
803,
18,
291,
768,
12,
2890,
18,
1966,
67,
3459,
4672,
1140,
18,
318,
1232,
12,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
24292,
12,
2890,
4672,
365,
18,
1966,
67,
3459,
273,
1140,
18,
803,
18,
5701,
12,
5814,
768,
18,
588,
5814,
1214,
9334,
315,
3813,
67,
10605,
71,
18,
27574,
7923,
309,
1140,
18,
803,
18,
291,
768,
12,
2890,
18,
1966,
67,
3459,
4672,
1140,
18,
318,
1232,
12,
2890,
18,
1966,
67,
3459,
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
] |
raise
|
raise SaveValueError, (item, name, e)
|
def _value(self, item, name, value, version, flags, withSchema, attribute):
|
04167b91f2129d7d88c0a25a74eb7f238532584d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/04167b91f2129d7d88c0a25a74eb7f238532584d/DBItemIO.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1132,
12,
2890,
16,
761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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1132,
12,
2890,
16,
761,
16,
508,
16,
460,
16,
1177,
16,
2943,
16,
598,
3078,
16,
1566,
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
] |
root = svn.fs.revision_root(self.fs_ptr, rev, self.pool)
|
def render(self): FileCommon.render(self) rev = self.args.get('rev', None) self.path = self.args.get('path', '/') if not rev: rev = svn.fs.youngest_rev(self.fs_ptr, self.pool) else: rev = int(rev) self.req.hdf.setValue('file.rev', str(rev)) self.req.hdf.setValue('file.path', self.path) self.req.hdf.setValue('file.rawurl', self.env.href.file(self.path, rev, 'raw')) self.req.hdf.setValue('file.texturl', self.env.href.file(self.path, rev, 'text')) self.req.hdf.setValue('file.logurl', self.env.href.log(self.path)) root = svn.fs.revision_root(self.fs_ptr, rev, self.pool) # Try to do an educated guess about the mime-type self.mime_type = svn.fs.node_prop (root, self.path, svn.util.SVN_PROP_MIME_TYPE, self.pool) if not self.mime_type: self.mime_type = self.env.mimeview.get_mimetype(filename=self.path) or 'text/plain'
|
f22298d9c4006f0b657cde21b9c28e94a7f80c0d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/f22298d9c4006f0b657cde21b9c28e94a7f80c0d/File.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1743,
12,
2890,
4672,
1387,
6517,
18,
5902,
12,
2890,
13,
225,
5588,
273,
365,
18,
1968,
18,
588,
2668,
9083,
2187,
599,
13,
365,
18,
803,
273,
365,
18,
1968,
18,
588,
2668,
803,
2187,
2023,
13,
309,
486,
5588,
30,
5588,
273,
5893,
82,
18,
2556,
18,
93,
465,
17592,
67,
9083,
12,
2890,
18,
2556,
67,
6723,
16,
365,
18,
6011,
13,
469,
30,
5588,
273,
509,
12,
9083,
13,
365,
18,
3658,
18,
26428,
18,
542,
620,
2668,
768,
18,
9083,
2187,
609,
12,
9083,
3719,
365,
18,
3658,
18,
26428,
18,
542,
620,
2668,
768,
18,
803,
2187,
365,
18,
803,
13,
365,
18,
3658,
18,
26428,
18,
542,
620,
2668,
768,
18,
1899,
718,
2187,
365,
18,
3074,
18,
7547,
18,
768,
12,
2890,
18,
803,
16,
5588,
16,
296,
1899,
26112,
365,
18,
3658,
18,
26428,
18,
542,
620,
2668,
768,
18,
955,
718,
2187,
365,
18,
3074,
18,
7547,
18,
768,
12,
2890,
18,
803,
16,
5588,
16,
296,
955,
26112,
365,
18,
3658,
18,
26428,
18,
542,
620,
2668,
768,
18,
1330,
718,
2187,
365,
18,
3074,
18,
7547,
18,
1330,
12,
2890,
18,
803,
3719,
282,
468,
6161,
358,
741,
392,
1675,
5286,
690,
7274,
2973,
326,
4892,
17,
723,
365,
18,
11757,
67,
723,
273,
5893,
82,
18,
2556,
18,
2159,
67,
5986,
261,
3085,
16,
365,
18,
803,
16,
5893,
82,
18,
1367,
18,
23927,
50,
67,
15811,
67,
18178,
67,
2399,
16,
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,
1743,
12,
2890,
4672,
1387,
6517,
18,
5902,
12,
2890,
13,
225,
5588,
273,
365,
18,
1968,
18,
588,
2668,
9083,
2187,
599,
13,
365,
18,
803,
273,
365,
18,
1968,
18,
588,
2668,
803,
2187,
2023,
13,
309,
486,
5588,
30,
5588,
273,
5893,
82,
18,
2556,
18,
93,
465,
17592,
67,
9083,
12,
2890,
18,
2556,
67,
6723,
16,
365,
18,
6011,
13,
469,
30,
5588,
273,
509,
12,
9083,
13,
365,
18,
3658,
18,
26428,
18,
542,
620,
2668,
768,
18,
9083,
2187,
609,
12,
9083,
3719,
365,
18,
3658,
18,
26428,
18,
542,
620,
2668,
768,
18,
803,
2187,
365,
18,
803,
13,
365,
18,
3658,
18,
26428,
18,
542,
620,
2668,
768,
18,
2
] |
|
self.assert_(stylesheet_path in self.get_record(**s))
|
record = self.get_record(**s) self.assert_(stylesheet_path in record, '%r should be in %r' % (stylesheet_path, record))
|
def test_stylesheet_dependencies(self): # Parameters to publish_file. s = {'settings_overrides': {}} so = s['settings_overrides'] so['embed_stylesheet'] = 0 stylesheet_path = os.path.join('data', 'stylesheet.txt') so['stylesheet_path'] = stylesheet_path so['stylesheet'] = None s['writer_name'] = 'html' self.assert_(stylesheet_path not in self.get_record(**s)) so['embed_stylesheet'] = 1 self.assert_(stylesheet_path in self.get_record(**s)) s['writer_name'] = 'latex' self.assert_(stylesheet_path in self.get_record(**s)) del so['embed_stylesheet'] self.assert_(stylesheet_path not in self.get_record(**s))
|
f74783c6a2f4448ac4434c18111d0b0ed4e1f994 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8194/f74783c6a2f4448ac4434c18111d0b0ed4e1f994/test_dependencies.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
19403,
67,
11037,
12,
2890,
4672,
468,
7012,
358,
3808,
67,
768,
18,
272,
273,
13666,
4272,
67,
19775,
4278,
2618,
97,
1427,
273,
272,
3292,
4272,
67,
19775,
3546,
1427,
3292,
8483,
67,
19403,
3546,
273,
374,
13820,
67,
803,
273,
1140,
18,
803,
18,
5701,
2668,
892,
2187,
296,
19403,
18,
5830,
6134,
1427,
3292,
19403,
67,
803,
3546,
273,
13820,
67,
803,
1427,
3292,
19403,
3546,
273,
599,
272,
3292,
6299,
67,
529,
3546,
273,
296,
2620,
11,
365,
18,
11231,
67,
12,
19403,
67,
803,
486,
316,
365,
18,
588,
67,
3366,
12,
636,
87,
3719,
1427,
3292,
8483,
67,
19403,
3546,
273,
404,
1409,
273,
365,
18,
588,
67,
3366,
12,
636,
87,
13,
365,
18,
11231,
67,
12,
19403,
67,
803,
316,
1409,
16,
1995,
86,
1410,
506,
316,
738,
86,
11,
738,
261,
19403,
67,
803,
16,
1409,
3719,
272,
3292,
6299,
67,
529,
3546,
273,
296,
26264,
11,
1409,
273,
365,
18,
588,
67,
3366,
12,
636,
87,
13,
365,
18,
11231,
67,
12,
19403,
67,
803,
316,
1409,
16,
1995,
86,
1410,
506,
316,
738,
86,
11,
738,
261,
19403,
67,
803,
16,
1409,
3719,
1464,
1427,
3292,
8483,
67,
19403,
3546,
365,
18,
11231,
67,
12,
19403,
67,
803,
486,
316,
365,
18,
588,
67,
3366,
12,
636,
87,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
19403,
67,
11037,
12,
2890,
4672,
468,
7012,
358,
3808,
67,
768,
18,
272,
273,
13666,
4272,
67,
19775,
4278,
2618,
97,
1427,
273,
272,
3292,
4272,
67,
19775,
3546,
1427,
3292,
8483,
67,
19403,
3546,
273,
374,
13820,
67,
803,
273,
1140,
18,
803,
18,
5701,
2668,
892,
2187,
296,
19403,
18,
5830,
6134,
1427,
3292,
19403,
67,
803,
3546,
273,
13820,
67,
803,
1427,
3292,
19403,
3546,
273,
599,
272,
3292,
6299,
67,
529,
3546,
273,
296,
2620,
11,
365,
18,
11231,
67,
12,
19403,
67,
803,
486,
316,
365,
18,
588,
67,
3366,
12,
636,
87,
3719,
1427,
3292,
8483,
67,
19403,
3546,
273,
404,
1409,
273,
365,
18,
588,
67,
3366,
12,
2
] |
characters, when false only 8-bit characters. If `unicode` is
|
characters, when false only 8-bit characters. If unicode is
|
def array(obj, itemsize=None, copy=True, unicode=None, order=None): """ Create a `chararray`. .. note:: This class is provided for numarray backward-compatibility. New code (not concerned with numarray compatibility) should use arrays of type string_ or unicode_ and use the free functions in :mod:`numpy.char <numpy.core.defchararray>` for fast vectorized string operations instead. Versus a regular Numpy array of type `string_` or `unicode_`, this class adds the following functionality: 1) values automatically have whitespace removed from the end when indexed 2) comparison operators automatically remove whitespace from the end when comparing values 3) vectorized string operations are provided as methods (e.g. `str.endswith`) and infix operators (e.g. +, *, %) Parameters ---------- obj : array of str or unicode-like itemsize : int, optional `itemsize` is the number of characters per scalar in the resulting array. If `itemsize` is None, and `obj` is an object array or a Python list, the `itemsize` will be automatically determined. If `itemsize` is provided and `obj` is of type `str` or `unicode`, then the `obj` string will be chunked into `itemsize` pieces. copy : bool, optional If true (default), then the object is copied. Otherwise, a copy will only be made if __array__ returns a copy, if obj is a nested sequence, or if a copy is needed to satisfy any of the other requirements (`itemsize`, `unicode`, `order`, etc.). unicode : bool, optional When true, the resulting `chararray` can contain Unicode characters, when false only 8-bit characters. If `unicode` is `None` and `obj` is one of the following: - a `chararray`, - an ndarray of type `string_` or `unicode_` - a Python str or unicode object, then the unicode setting of the output array will be automatically determined. order : {'C', 'F', 'A'}, optional Specify the order of the array. If order is 'C' (default), then the array will be in C-contiguous order (last-index varies the fastest). If order is 'F', then the returned array will be in Fortran-contiguous order (first-index varies the fastest). If order is 'A', then the returned array may be in any order (either C-, Fortran-contiguous, or even discontiguous). """ if isinstance(obj, (str, _unicode)): if unicode is None: if isinstance(obj, _unicode): unicode = True else: unicode = False if itemsize is None: itemsize = _len(obj) shape = _len(obj) / itemsize if unicode: if sys.maxunicode == 0xffff: # On a narrow Python build, the buffer for Unicode # strings is UCS2, which doesn't match the buffer for # Numpy Unicode types, which is ALWAYS UCS4. # Therefore, we need to convert the buffer. On Python # 2.6 and later, we can use the utf_32 codec. Earlier # versions don't have that codec, so we convert to a # numerical array that matches the input buffer, and # then use Numpy to convert it to UCS4. All of this # should happen in native endianness. if sys.hexversion >= 0x2060000: obj = obj.encode('utf_32') else: if isinstance(obj, str): ascii = numpy.frombuffer(obj, 'u1') ucs4 = numpy.array(ascii, 'u4') obj = ucs4.data else: ucs2 = numpy.frombuffer(obj, 'u2') ucs4 = numpy.array(ucs2, 'u4') obj = ucs4.data else: obj = _unicode(obj) else: # Let the default Unicode -> string encoding (if any) take # precedence. obj = str(obj) return chararray(shape, itemsize=itemsize, unicode=unicode, buffer=obj, order=order) if isinstance(obj, (list, tuple)): obj = numpy.asarray(obj) if isinstance(obj, ndarray) and issubclass(obj.dtype.type, character): # If we just have a vanilla chararray, create a chararray # view around it. if not isinstance(obj, chararray): obj = obj.view(chararray) if itemsize is None: itemsize = obj.itemsize # itemsize is in 8-bit chars, so for Unicode, we need # to divide by the size of a single Unicode character, # which for Numpy is always 4 if issubclass(obj.dtype.type, unicode_): itemsize /= 4 if unicode is None: if issubclass(obj.dtype.type, unicode_): unicode = True else: unicode = False if unicode: dtype = unicode_ else: dtype = string_ if order is not None: obj = numpy.asarray(obj, order=order) if (copy or (itemsize != obj.itemsize) or (not unicode and isinstance(obj, unicode_)) or (unicode and isinstance(obj, string_))): obj = obj.astype((dtype, long(itemsize))) return obj if isinstance(obj, ndarray) and issubclass(obj.dtype.type, object): if itemsize is None: # Since no itemsize was specified, convert the input array to # a list so the ndarray constructor will automatically # determine the itemsize for us. obj = obj.tolist() # Fall through to the default case if unicode: dtype = unicode_ else: dtype = string_ if itemsize is None: val = narray(obj, dtype=dtype, order=order, subok=True) else: val = narray(obj, dtype=(dtype, itemsize), order=order, subok=True) return val.view(chararray)
|
05324d0e986a1012a342e2650b3883e13a285029 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14925/05324d0e986a1012a342e2650b3883e13a285029/defchararray.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
526,
12,
2603,
16,
761,
1467,
33,
7036,
16,
1610,
33,
5510,
16,
5252,
33,
7036,
16,
1353,
33,
7036,
4672,
3536,
1788,
279,
1375,
3001,
1126,
8338,
225,
6116,
4721,
2866,
1220,
667,
353,
2112,
364,
818,
1126,
12555,
17,
27303,
18,
1166,
981,
261,
902,
356,
2750,
11748,
598,
818,
1126,
8926,
13,
1410,
999,
5352,
434,
618,
533,
67,
578,
5252,
67,
471,
999,
326,
4843,
4186,
316,
294,
1711,
28288,
15974,
18,
3001,
411,
15974,
18,
3644,
18,
536,
3001,
1126,
30599,
364,
4797,
3806,
1235,
533,
5295,
3560,
18,
225,
776,
414,
407,
279,
6736,
6805,
2074,
526,
434,
618,
1375,
1080,
67,
68,
578,
1375,
9124,
67,
9191,
333,
667,
4831,
326,
3751,
14176,
30,
225,
404,
13,
924,
6635,
1240,
7983,
3723,
628,
326,
679,
1347,
8808,
225,
576,
13,
5826,
12213,
6635,
1206,
7983,
628,
326,
679,
1347,
17553,
924,
225,
890,
13,
3806,
1235,
533,
5295,
854,
2112,
487,
2590,
261,
73,
18,
75,
18,
1375,
701,
18,
5839,
1918,
24065,
471,
316,
904,
12213,
261,
73,
18,
75,
18,
397,
16,
380,
16,
738,
13,
225,
7012,
12181,
1081,
294,
526,
434,
609,
578,
5252,
17,
5625,
225,
761,
1467,
294,
509,
16,
3129,
1375,
1726,
1467,
68,
353,
326,
1300,
434,
3949,
1534,
4981,
316,
326,
8156,
526,
18,
225,
971,
1375,
1726,
1467,
68,
353,
599,
16,
471,
1375,
2603,
68,
353,
392,
733,
526,
578,
279,
6600,
666,
16,
326,
1375,
1726,
1467,
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,
526,
12,
2603,
16,
761,
1467,
33,
7036,
16,
1610,
33,
5510,
16,
5252,
33,
7036,
16,
1353,
33,
7036,
4672,
3536,
1788,
279,
1375,
3001,
1126,
8338,
225,
6116,
4721,
2866,
1220,
667,
353,
2112,
364,
818,
1126,
12555,
17,
27303,
18,
1166,
981,
261,
902,
356,
2750,
11748,
598,
818,
1126,
8926,
13,
1410,
999,
5352,
434,
618,
533,
67,
578,
5252,
67,
471,
999,
326,
4843,
4186,
316,
294,
1711,
28288,
15974,
18,
3001,
411,
15974,
18,
3644,
18,
536,
3001,
1126,
30599,
364,
4797,
3806,
1235,
533,
5295,
3560,
18,
225,
776,
414,
407,
279,
6736,
6805,
2074,
526,
434,
618,
1375,
1080,
67,
68,
578,
1375,
9124,
67,
9191,
333,
667,
4831,
326,
2
] |
EdkLogger.warn(None, "Failed to generate execution order prediction report, for some error occurred in executing EOT.")
|
EdkLogger.warn(None, "Failed to generate execution order prediction report, for some error occurred in executing EOT.")
|
def _InvokeEotTool(self): if self._EotToolInvoked: return self._EotToolInvoked = True FvFileList = [] for FvName in self._FvList: FvFile = os.path.join(self._FvDir, FvName + ".Fv") if os.path.isfile(FvFile): FvFileList.append(FvFile) # # Write source file list and GUID file list to an intermediate file # as the input for EOT tool and dispatch List as the output file # from EOT tool. # SourceList = os.path.join(self._EotDir, "SourceFile.txt") GuidList = os.path.join(self._EotDir, "GuidList.txt") DispatchList = os.path.join(self._EotDir, "Dispatch.txt") TempFile = open(SourceList, "w+") for Item in self._SourceList: FileWrite(TempFile, Item) TempFile.close() TempFile = open(GuidList, "w+") for Key in self._GuidMap: FileWrite(TempFile, "%s %s" % (Key, self._GuidMap[Key])) TempFile.close() try: from Eot.Eot import Eot # # Invoke EOT tool # Eot(CommandLineOption=False, SourceFileList=SourceList, GuidList=GuidList, FvFileList=' '.join(FvFileList), Dispatch=DispatchList, IsInit=True) # # Parse the output of EOT tool # for Line in open(DispatchList): (Guid, Phase, FfsName, FilePath) = Line.split() Symbol = self._FfsEntryPoint.get(Guid, [FfsName, ""])[0] if len(Symbol) > self.MaxLen: self.MaxLen = len(Symbol) self.ItemList.append((Phase, Symbol, FilePath)) except: EdkLogger.warn(None, "Failed to generate execution order prediction report, for some error occurred in executing EOT.")
|
a82e08799616fa2751dcad90e2e88c863aef88ff /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/914/a82e08799616fa2751dcad90e2e88c863aef88ff/BuildReport.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
10969,
41,
352,
6364,
12,
2890,
4672,
309,
365,
6315,
41,
352,
6364,
26215,
30,
327,
225,
365,
6315,
41,
352,
6364,
26215,
273,
1053,
478,
90,
26098,
273,
5378,
364,
478,
90,
461,
316,
365,
6315,
42,
90,
682,
30,
478,
90,
812,
273,
1140,
18,
803,
18,
5701,
12,
2890,
6315,
42,
90,
1621,
16,
478,
90,
461,
397,
3552,
42,
90,
7923,
309,
1140,
18,
803,
18,
291,
768,
12,
42,
90,
812,
4672,
478,
90,
26098,
18,
6923,
12,
42,
90,
812,
13,
225,
468,
468,
2598,
1084,
585,
666,
471,
20322,
585,
666,
358,
392,
12110,
585,
468,
487,
326,
810,
364,
512,
1974,
5226,
471,
3435,
987,
487,
326,
876,
585,
468,
628,
512,
1974,
5226,
18,
468,
4998,
682,
273,
1140,
18,
803,
18,
5701,
12,
2890,
6315,
41,
352,
1621,
16,
315,
31150,
18,
5830,
7923,
611,
1911,
682,
273,
1140,
18,
803,
18,
5701,
12,
2890,
6315,
41,
352,
1621,
16,
315,
22549,
682,
18,
5830,
7923,
11552,
682,
273,
1140,
18,
803,
18,
5701,
12,
2890,
6315,
41,
352,
1621,
16,
315,
5325,
18,
5830,
7923,
225,
16380,
812,
273,
1696,
12,
1830,
682,
16,
315,
91,
15,
7923,
364,
4342,
316,
365,
6315,
1830,
682,
30,
1387,
3067,
12,
20181,
16,
4342,
13,
16380,
812,
18,
4412,
1435,
16380,
812,
273,
1696,
12,
22549,
682,
16,
315,
91,
15,
7923,
364,
1929,
316,
365,
6315,
22549,
863,
30,
1387,
3067,
12,
20181,
16,
2213,
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,
10969,
41,
352,
6364,
12,
2890,
4672,
309,
365,
6315,
41,
352,
6364,
26215,
30,
327,
225,
365,
6315,
41,
352,
6364,
26215,
273,
1053,
478,
90,
26098,
273,
5378,
364,
478,
90,
461,
316,
365,
6315,
42,
90,
682,
30,
478,
90,
812,
273,
1140,
18,
803,
18,
5701,
12,
2890,
6315,
42,
90,
1621,
16,
478,
90,
461,
397,
3552,
42,
90,
7923,
309,
1140,
18,
803,
18,
291,
768,
12,
42,
90,
812,
4672,
478,
90,
26098,
18,
6923,
12,
42,
90,
812,
13,
225,
468,
468,
2598,
1084,
585,
666,
471,
20322,
585,
666,
358,
392,
12110,
585,
468,
487,
326,
810,
364,
512,
1974,
5226,
471,
3435,
987,
487,
326,
876,
585,
2
] |
r = numpy.int32(numpy.int64(a*b + c) % m)
|
r = numpy.int32((numpy.int64(a)*b + c) % m)
|
def mulmod(a, b, c, m): r = numpy.int32(numpy.int64(a*b + c) % m) return r if r >= 0 else r+m
|
c6104ebc849f8a7ace79da8301a0996cabb14f90 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/c6104ebc849f8a7ace79da8301a0996cabb14f90/rng_mrg.py
|
[
1,
8585,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
14064,
1711,
12,
69,
16,
324,
16,
276,
16,
312,
4672,
436,
273,
3972,
18,
474,
1578,
12443,
15974,
18,
474,
1105,
12,
69,
17653,
70,
397,
276,
13,
738,
312,
13,
327,
436,
309,
436,
1545,
374,
469,
436,
15,
81,
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
] |
if os.path.link(dir_fsvars + fsvar):
|
if os.path.islink(dir_fsvars + fsvar):
|
def _apply_installroot(yumconf, option): path = getattr(yumconf, option) ir_path = yumconf.installroot + path ir_path = ir_path.replace('//', '/') # os.path.normpath won't fix this and # it annoys me ir_path = varReplace(ir_path, yumvars) setattr(yumconf, option, ir_path)
|
7f5600232c8b8027663af447ce985d37f654cc6b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5445/7f5600232c8b8027663af447ce985d37f654cc6b/config.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
9010,
67,
5425,
3085,
12,
93,
379,
3923,
16,
1456,
4672,
589,
273,
3869,
12,
93,
379,
3923,
16,
1456,
13,
9482,
67,
803,
273,
677,
379,
3923,
18,
5425,
3085,
397,
589,
9482,
67,
803,
273,
9482,
67,
803,
18,
2079,
2668,
759,
2187,
2023,
13,
468,
1140,
18,
803,
18,
7959,
803,
8462,
1404,
2917,
333,
471,
468,
518,
14115,
1900,
1791,
9482,
67,
803,
273,
569,
5729,
12,
481,
67,
803,
16,
677,
379,
4699,
13,
9241,
12,
93,
379,
3923,
16,
1456,
16,
9482,
67,
803,
13,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
9010,
67,
5425,
3085,
12,
93,
379,
3923,
16,
1456,
4672,
589,
273,
3869,
12,
93,
379,
3923,
16,
1456,
13,
9482,
67,
803,
273,
677,
379,
3923,
18,
5425,
3085,
397,
589,
9482,
67,
803,
273,
9482,
67,
803,
18,
2079,
2668,
759,
2187,
2023,
13,
468,
1140,
18,
803,
18,
7959,
803,
8462,
1404,
2917,
333,
471,
468,
518,
14115,
1900,
1791,
9482,
67,
803,
273,
569,
5729,
12,
481,
67,
803,
16,
677,
379,
4699,
13,
9241,
12,
93,
379,
3923,
16,
1456,
16,
9482,
67,
803,
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
] |
elif rcmd == u'yy':
|
elif re.match(re.compile('y|y[bhlw{}]'), rcmd):
|
def NewLineAfter(): """Insert newline after current line""" line = self.LineFromPosition(self.GetCurrentPos()) self.GotoPos(self.GetLineEndPosition(line)) self.AutoIndent()
|
be43c077f19ad88c63e5e2f8aa6305f97b701c5e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3530/be43c077f19ad88c63e5e2f8aa6305f97b701c5e/ed_stc.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1166,
1670,
4436,
13332,
3536,
4600,
9472,
1839,
783,
980,
8395,
980,
273,
365,
18,
1670,
1265,
2555,
12,
2890,
18,
967,
3935,
1616,
10756,
365,
18,
43,
6302,
1616,
12,
2890,
18,
967,
1670,
30037,
12,
1369,
3719,
365,
18,
4965,
7790,
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,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
1652,
1166,
1670,
4436,
13332,
3536,
4600,
9472,
1839,
783,
980,
8395,
980,
273,
365,
18,
1670,
1265,
2555,
12,
2890,
18,
967,
3935,
1616,
10756,
365,
18,
43,
6302,
1616,
12,
2890,
18,
967,
1670,
30037,
12,
1369,
3719,
365,
18,
4965,
7790,
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
] |
None, [cty.POINTER(FL_OBJECT), cty.c_double],
|
None, [cty.POINTER(FL_OBJECT), cty.c_double],
|
def fl_set_scrollbar_return(ob, ret): """ fl_set_scrollbar_return(ob, ret) """ _fl_set_scrollbar_return(ob, ret)
|
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1183,
67,
542,
67,
12033,
3215,
67,
2463,
12,
947,
16,
325,
4672,
3536,
1183,
67,
542,
67,
12033,
3215,
67,
2463,
12,
947,
16,
325,
13,
3536,
225,
389,
2242,
67,
542,
67,
12033,
3215,
67,
2463,
12,
947,
16,
325,
13,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1183,
67,
542,
67,
12033,
3215,
67,
2463,
12,
947,
16,
325,
4672,
3536,
1183,
67,
542,
67,
12033,
3215,
67,
2463,
12,
947,
16,
325,
13,
3536,
225,
389,
2242,
67,
542,
67,
12033,
3215,
67,
2463,
12,
947,
16,
325,
13,
282,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return FiniteField_ext_pariElement(self.__parent, ~self.__value)
|
return FiniteField_ext_pariElement(self.__parent, ~self.__value, check=False)
|
def __invert__(self): """ EXAMPLES: sage: from sage.rings.finite_field import FiniteField_ext_pari sage: a = FiniteField_ext_pari(9, 'a').gen() sage: ~a a + 2 sage: (a+1)*a 2*a + 1 """
|
15cbf070b9af1ea36fb697f2325030f848348911 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/15cbf070b9af1ea36fb697f2325030f848348911/finite_field_element.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
267,
1097,
972,
12,
2890,
4672,
3536,
5675,
8900,
11386,
30,
272,
410,
30,
628,
272,
410,
18,
86,
899,
18,
9551,
67,
1518,
1930,
9458,
1137,
974,
67,
408,
67,
1065,
77,
272,
410,
30,
279,
273,
9458,
1137,
974,
67,
408,
67,
1065,
77,
12,
29,
16,
296,
69,
16063,
4507,
1435,
272,
410,
30,
4871,
69,
279,
397,
576,
272,
410,
30,
261,
69,
15,
21,
17653,
69,
576,
14,
69,
397,
404,
3536,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
267,
1097,
972,
12,
2890,
4672,
3536,
5675,
8900,
11386,
30,
272,
410,
30,
628,
272,
410,
18,
86,
899,
18,
9551,
67,
1518,
1930,
9458,
1137,
974,
67,
408,
67,
1065,
77,
272,
410,
30,
279,
273,
9458,
1137,
974,
67,
408,
67,
1065,
77,
12,
29,
16,
296,
69,
16063,
4507,
1435,
272,
410,
30,
4871,
69,
279,
397,
576,
272,
410,
30,
261,
69,
15,
21,
17653,
69,
576,
14,
69,
397,
404,
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
] |
'total_cost': fields.function(_total_cost, string='Cost', method=True, type="float"), 'revenue': fields.float('Revenue',readonly=True),
|
def _total_cost(self, cr, uid, ids, field_name, arg, context={}):
|
b6abea96454292526d0e63cef0cd1599b427f580 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/b6abea96454292526d0e63cef0cd1599b427f580/campaign_analysis.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4963,
67,
12398,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
652,
67,
529,
16,
1501,
16,
819,
12938,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
4963,
67,
12398,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
652,
67,
529,
16,
1501,
16,
819,
12938,
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
] |
|
""" fl_create_lightbutton(type, x, y, w, h, label) -> object ref.
|
""" fl_create_lightbutton(type, x, y, w, h, label) -> object
|
def fl_create_lightbutton(type, x, y, w, h, label): """ fl_create_lightbutton(type, x, y, w, h, label) -> object ref. """ retval = _fl_create_lightbutton(type, x, y, w, h, label) return retval
|
8765c710f695de392f6fc7c664c746ec98668b1d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/8765c710f695de392f6fc7c664c746ec98668b1d/xformslib.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1183,
67,
2640,
67,
5099,
5391,
12,
723,
16,
619,
16,
677,
16,
341,
16,
366,
16,
1433,
4672,
3536,
1183,
67,
2640,
67,
5099,
5391,
12,
723,
16,
619,
16,
677,
16,
341,
16,
366,
16,
1433,
13,
317,
733,
3536,
225,
5221,
273,
389,
2242,
67,
2640,
67,
5099,
5391,
12,
723,
16,
619,
16,
677,
16,
341,
16,
366,
16,
1433,
13,
327,
5221,
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,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
16,
341,
16,
366,
16,
1433,
13,
317,
733,
3536,
225,
5221,
273,
389,
2242,
67,
2640,
67,
5099,
5391,
12,
723,
16,
619,
16,
677,
16,
341,
16,
366,
16,
1433,
13,
327,
5221,
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
] |
(width-self.border_size, self.get_size()[1]-self.border_size),
|
(width-self.border_size*2, self.get_size()[1]-self.border_size*2),
|
def __draw(self): # catch division by zero error. if not self.max_value: return
|
c4d1baeeeb75cdb1174c566cfdfd8491fbed6633 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/c4d1baeeeb75cdb1174c566cfdfd8491fbed6633/progressbar.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
9446,
12,
2890,
4672,
468,
1044,
16536,
635,
3634,
555,
18,
309,
486,
365,
18,
1896,
67,
1132,
30,
327,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
9446,
12,
2890,
4672,
468,
1044,
16536,
635,
3634,
555,
18,
309,
486,
365,
18,
1896,
67,
1132,
30,
327,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
vList.append( Violation(self, line, "failed '[&|+-*/]='") )
|
mOvr = re.search("operator[\&\|\*\+\-\/]?=\(", line.stripped) if not mOvr: vList.append( Violation(self, line, "failed '[&|+-*/]='") )
|
def apply(self, lines): vList = [] if (self.getFiletype() in self.getTypeList()): for line in lines:
|
5432dc4fee5b9db163a86ec3ee3f1ecc4222856d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6529/5432dc4fee5b9db163a86ec3ee3f1ecc4222856d/style.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2230,
12,
2890,
16,
2362,
4672,
331,
682,
273,
5378,
225,
309,
261,
2890,
18,
588,
25579,
5872,
1435,
316,
365,
18,
588,
559,
682,
1435,
4672,
364,
980,
316,
2362,
30,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2230,
12,
2890,
16,
2362,
4672,
331,
682,
273,
5378,
225,
309,
261,
2890,
18,
588,
25579,
5872,
1435,
316,
365,
18,
588,
559,
682,
1435,
4672,
364,
980,
316,
2362,
30,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if data.invoice_id.state == 'paid': new_ids = self.pool.get('account.invoice').refund(cr, uid,[data.invoice_id.id]) self.write(cr, uid,ids, {'invoice_id' : new_ids[0]}) else: wf_service = netsvc.LocalService('workflow') wf_service.trg_validate(uid, 'account.invoice', data.invoice_id.id, 'invoice_cancel', cr)
|
if data.invoice_id: if data.invoice_id.state == 'paid': new_ids = self.pool.get('account.invoice').refund(cr, uid,[data.invoice_id.id]) self.write(cr, uid,ids, {'invoice_id' : new_ids[0]}) else: wf_service = netsvc.LocalService('workflow') wf_service.trg_validate(uid, 'account.invoice', data.invoice_id.id, 'invoice_cancel', cr)
|
def cci_dossier_cancel_cci(self, cr, uid, ids, *args): data=self.browse(cr,uid,ids[0]) if data.invoice_id.state == 'paid': new_ids = self.pool.get('account.invoice').refund(cr, uid,[data.invoice_id.id]) self.write(cr, uid,ids, {'invoice_id' : new_ids[0]}) else: wf_service = netsvc.LocalService('workflow') wf_service.trg_validate(uid, 'account.invoice', data.invoice_id.id, 'invoice_cancel', cr) self.write(cr, uid, ids, {'state':'cancel_cci',}) return True
|
7536b3ef628828efb990f49d65ce95e3569ad8d9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7339/7536b3ef628828efb990f49d65ce95e3569ad8d9/cci_mission.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4946,
77,
67,
72,
8464,
2453,
67,
10996,
67,
952,
77,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
380,
1968,
4672,
501,
33,
2890,
18,
25731,
12,
3353,
16,
1911,
16,
2232,
63,
20,
5717,
309,
501,
18,
16119,
67,
350,
30,
309,
501,
18,
16119,
67,
350,
18,
2019,
422,
296,
29434,
4278,
394,
67,
2232,
273,
365,
18,
6011,
18,
588,
2668,
4631,
18,
16119,
16063,
1734,
1074,
12,
3353,
16,
4555,
16,
63,
892,
18,
16119,
67,
350,
18,
350,
5717,
365,
18,
2626,
12,
3353,
16,
4555,
16,
2232,
16,
13666,
16119,
67,
350,
11,
294,
394,
67,
2232,
63,
20,
65,
6792,
469,
30,
11578,
67,
3278,
273,
21954,
4227,
18,
25635,
2668,
13815,
6134,
11578,
67,
3278,
18,
313,
75,
67,
5662,
12,
1911,
16,
296,
4631,
18,
16119,
2187,
501,
18,
16119,
67,
350,
18,
350,
16,
296,
16119,
67,
10996,
2187,
4422,
13,
365,
18,
2626,
12,
3353,
16,
4555,
16,
3258,
16,
13666,
2019,
11,
2497,
10996,
67,
952,
77,
2187,
6792,
327,
1053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4946,
77,
67,
72,
8464,
2453,
67,
10996,
67,
952,
77,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
380,
1968,
4672,
501,
33,
2890,
18,
25731,
12,
3353,
16,
1911,
16,
2232,
63,
20,
5717,
309,
501,
18,
16119,
67,
350,
30,
309,
501,
18,
16119,
67,
350,
18,
2019,
422,
296,
29434,
4278,
394,
67,
2232,
273,
365,
18,
6011,
18,
588,
2668,
4631,
18,
16119,
16063,
1734,
1074,
12,
3353,
16,
4555,
16,
63,
892,
18,
16119,
67,
350,
18,
350,
5717,
365,
18,
2626,
12,
3353,
16,
4555,
16,
2232,
16,
13666,
16119,
67,
350,
11,
294,
394,
67,
2232,
63,
20,
65,
6792,
469,
30,
11578,
67,
3278,
273,
21954,
4227,
18,
2
] |
dtypechar = _coerce_rules[(self._dtypechar,ocs._dtypechar)]
|
dtypechar = _coerce_rules[(self._dtypechar, ocs._dtypechar)]
|
def __pow__(self, other): """ Element-by-element power (unless other is a scalar, in which case return the matrix power.) """ if isscalar(other): new = self.copy() new.data = new.data ** other new._dtypechar = new.data.dtypechar new.ftype = _transtabl[new._dtypechar] return new else: ocs = csr_matrix(other) if (ocs.shape != self.shape): raise ValueError, "Inconsistent shapes." dtypechar = _coerce_rules[(self._dtypechar,ocs._dtypechar)] data1, data2 = _convert_data(self.data, ocs.data, dtypechar) func = getattr(sparsetools,_transtabl[dtypechar]+'cscmul') c,colc,ptrc,ierr = func(data1,self.colind,self.indptr,data2,ocs.colind,ocs.indptr) if ierr: raise ValueError, "Ran out of space (but shouldn't have happened)." M, N = self.shape return csr_matrix.Construct(c,(colc,ptrc),M=M,N=N)
|
bdabf856b614694a8ef20c73a7d82bda3a7cf386 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/bdabf856b614694a8ef20c73a7d82bda3a7cf386/sparse.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
23509,
972,
12,
2890,
16,
1308,
4672,
3536,
3010,
17,
1637,
17,
2956,
7212,
261,
28502,
1308,
353,
279,
4981,
16,
316,
1492,
648,
327,
326,
3148,
7212,
12998,
3536,
309,
3385,
3473,
12,
3011,
4672,
394,
273,
365,
18,
3530,
1435,
394,
18,
892,
273,
394,
18,
892,
2826,
1308,
394,
6315,
8972,
3001,
273,
394,
18,
892,
18,
8972,
3001,
394,
18,
74,
723,
273,
389,
13171,
334,
9237,
63,
2704,
6315,
8972,
3001,
65,
327,
394,
469,
30,
320,
2143,
273,
13271,
67,
5667,
12,
3011,
13,
309,
261,
22280,
18,
4867,
480,
365,
18,
4867,
4672,
1002,
2068,
16,
315,
382,
16952,
14736,
1199,
3182,
3001,
273,
389,
2894,
2765,
67,
7482,
63,
12,
2890,
6315,
8972,
3001,
16,
320,
2143,
6315,
8972,
3001,
25887,
501,
21,
16,
501,
22,
273,
389,
6283,
67,
892,
12,
2890,
18,
892,
16,
320,
2143,
18,
892,
16,
3182,
3001,
13,
1326,
273,
3869,
12,
87,
1065,
542,
8192,
16,
67,
13171,
334,
9237,
63,
8972,
3001,
30658,
71,
1017,
16411,
6134,
276,
16,
1293,
71,
16,
6723,
71,
16,
77,
370,
273,
1326,
12,
892,
21,
16,
2890,
18,
1293,
728,
16,
2890,
18,
728,
6723,
16,
892,
22,
16,
22280,
18,
1293,
728,
16,
22280,
18,
728,
6723,
13,
309,
277,
370,
30,
1002,
2068,
16,
315,
54,
304,
596,
434,
3476,
261,
12885,
12044,
1404,
1240,
17497,
14944,
490,
16,
423,
273,
365,
18,
4867,
327,
13271,
67,
5667,
18,
7249,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
23509,
972,
12,
2890,
16,
1308,
4672,
3536,
3010,
17,
1637,
17,
2956,
7212,
261,
28502,
1308,
353,
279,
4981,
16,
316,
1492,
648,
327,
326,
3148,
7212,
12998,
3536,
309,
3385,
3473,
12,
3011,
4672,
394,
273,
365,
18,
3530,
1435,
394,
18,
892,
273,
394,
18,
892,
2826,
1308,
394,
6315,
8972,
3001,
273,
394,
18,
892,
18,
8972,
3001,
394,
18,
74,
723,
273,
389,
13171,
334,
9237,
63,
2704,
6315,
8972,
3001,
65,
327,
394,
469,
30,
320,
2143,
273,
13271,
67,
5667,
12,
3011,
13,
309,
261,
22280,
18,
4867,
480,
365,
18,
4867,
4672,
1002,
2068,
16,
315,
382,
16952,
14736,
1199,
3182,
3001,
273,
389,
2894,
2765,
67,
7482,
63,
2
] |
def refresh(self, button): dialog = gtk.MessageDialog(self.window, 0, gtk.MESSAGE_INFO, gtk.BUTTONS_OK, _('Awn has been successfully refreshed')) dialog.run() dialog.hide()
|
def changeTab(self, iconView): self.notebook.set_current_page(iconView.get_cursor()[0][0])
|
87ab11ffefa3953167144f4d2d56ea277c34df42 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8416/87ab11ffefa3953167144f4d2d56ea277c34df42/awnClass.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2549,
5661,
12,
2890,
16,
4126,
1767,
4672,
365,
18,
24422,
18,
542,
67,
2972,
67,
2433,
12,
3950,
1767,
18,
588,
67,
9216,
1435,
63,
20,
6362,
20,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2549,
5661,
12,
2890,
16,
4126,
1767,
4672,
365,
18,
24422,
18,
542,
67,
2972,
67,
2433,
12,
3950,
1767,
18,
588,
67,
9216,
1435,
63,
20,
6362,
20,
5717,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
return port else: if verbose: print "Port %s is already in use."%port print "Trying next port..." port += 1
|
if int(msg[0]) == 111: return port if verbose: print "Port %s is already in use."%port print "Trying next port..."
|
def find_next_available_port(start, max_tries=100, verbose=True): s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) for port in range(start, start+max_tries+1): try: s.connect(('', port)) except socket.error, msg: return port else: if verbose: print "Port %s is already in use."%port print "Trying next port..." port += 1 raise RuntimeError, "no available port."
|
01fd25760e7d9a682cec2f98ccb8a38b3b998cdf /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/01fd25760e7d9a682cec2f98ccb8a38b3b998cdf/misc.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1104,
67,
4285,
67,
5699,
67,
655,
12,
1937,
16,
943,
67,
2007,
33,
6625,
16,
3988,
33,
5510,
4672,
272,
273,
2987,
18,
7814,
12,
7814,
18,
6799,
67,
18819,
16,
2987,
18,
3584,
3507,
67,
13693,
13,
364,
1756,
316,
1048,
12,
1937,
16,
787,
15,
1896,
67,
2007,
15,
21,
4672,
775,
30,
272,
18,
3612,
12,
2668,
2187,
1756,
3719,
1335,
2987,
18,
1636,
16,
1234,
30,
309,
509,
12,
3576,
63,
20,
5717,
422,
16344,
30,
327,
1756,
309,
3988,
30,
1172,
315,
2617,
738,
87,
353,
1818,
316,
999,
1199,
9,
655,
1172,
315,
18038,
1024,
1756,
7070,
1002,
7265,
16,
315,
2135,
2319,
1756,
1199,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1104,
67,
4285,
67,
5699,
67,
655,
12,
1937,
16,
943,
67,
2007,
33,
6625,
16,
3988,
33,
5510,
4672,
272,
273,
2987,
18,
7814,
12,
7814,
18,
6799,
67,
18819,
16,
2987,
18,
3584,
3507,
67,
13693,
13,
364,
1756,
316,
1048,
12,
1937,
16,
787,
15,
1896,
67,
2007,
15,
21,
4672,
775,
30,
272,
18,
3612,
12,
2668,
2187,
1756,
3719,
1335,
2987,
18,
1636,
16,
1234,
30,
309,
509,
12,
3576,
63,
20,
5717,
422,
16344,
30,
327,
1756,
309,
3988,
30,
1172,
315,
2617,
738,
87,
353,
1818,
316,
999,
1199,
9,
655,
1172,
315,
18038,
1024,
1756,
7070,
1002,
7265,
16,
315,
2135,
2319,
1756,
1199,
282,
2,
-100,
-100,
-100,
-100,
-100
] |
cr.close()
|
def go(id, uid, ids, datas, context): try: cr = pooler.get_db(db).cursor() obj = netsvc.LocalService('report.'+object) (result, format) = obj.create(cr, uid, ids, datas, context) cr.close() self._reports[id]['result'] = result self._reports[id]['format'] = format self._reports[id]['state'] = True except Exception, exception: import traceback import sys tb_s = reduce(lambda x, y: x+y, traceback.format_exception( sys.exc_type, sys.exc_value, sys.exc_traceback)) logger = netsvc.Logger() logger.notifyChannel('web-services', netsvc.LOG_ERROR, 'Exception: %s\n%s' % (str(exception), tb_s)) self._reports[id]['exception'] = exception self._reports[id]['state'] = True return True
|
552b40bedb64a39a1c7acd937ebbd66c40f182f6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12853/552b40bedb64a39a1c7acd937ebbd66c40f182f6/web_services.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1960,
12,
350,
16,
4555,
16,
3258,
16,
5386,
16,
819,
4672,
775,
30,
4422,
273,
2845,
264,
18,
588,
67,
1966,
12,
1966,
2934,
9216,
1435,
1081,
273,
21954,
4227,
18,
25635,
2668,
6006,
1093,
15,
1612,
13,
261,
2088,
16,
740,
13,
273,
1081,
18,
2640,
12,
3353,
16,
4555,
16,
3258,
16,
5386,
16,
819,
13,
365,
6315,
20195,
63,
350,
23962,
2088,
3546,
273,
563,
365,
6315,
20195,
63,
350,
23962,
2139,
3546,
273,
740,
365,
6315,
20195,
63,
350,
23962,
2019,
3546,
273,
1053,
1335,
1185,
16,
1520,
30,
1930,
10820,
1930,
2589,
8739,
67,
87,
273,
5459,
12,
14661,
619,
16,
677,
30,
619,
15,
93,
16,
10820,
18,
2139,
67,
4064,
12,
2589,
18,
10075,
67,
723,
16,
2589,
18,
10075,
67,
1132,
16,
2589,
18,
10075,
67,
21696,
3719,
1194,
273,
21954,
4227,
18,
3328,
1435,
1194,
18,
12336,
2909,
2668,
4875,
17,
8387,
2187,
21954,
4227,
18,
4842,
67,
3589,
16,
296,
503,
30,
738,
87,
64,
82,
9,
87,
11,
738,
261,
701,
12,
4064,
3631,
8739,
67,
87,
3719,
365,
6315,
20195,
63,
350,
23962,
4064,
3546,
273,
1520,
365,
6315,
20195,
63,
350,
23962,
2019,
3546,
273,
1053,
327,
1053,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1960,
12,
350,
16,
4555,
16,
3258,
16,
5386,
16,
819,
4672,
775,
30,
4422,
273,
2845,
264,
18,
588,
67,
1966,
12,
1966,
2934,
9216,
1435,
1081,
273,
21954,
4227,
18,
25635,
2668,
6006,
1093,
15,
1612,
13,
261,
2088,
16,
740,
13,
273,
1081,
18,
2640,
12,
3353,
16,
4555,
16,
3258,
16,
5386,
16,
819,
13,
365,
6315,
20195,
63,
350,
23962,
2088,
3546,
273,
563,
365,
6315,
20195,
63,
350,
23962,
2139,
3546,
273,
740,
365,
6315,
20195,
63,
350,
23962,
2019,
3546,
273,
1053,
1335,
1185,
16,
1520,
30,
1930,
10820,
1930,
2589,
8739,
67,
87,
273,
5459,
12,
14661,
619,
16,
677,
30,
619,
15,
93,
16,
10820,
18,
2139,
67,
4064,
2
] |
|
cleanup_trailing_parens(doc, ["function", "method", "cfunction"]) cleanup_synopses(doc)
|
cleanup_trailing_parens(fragment, ["function", "method", "cfunction"]) cleanup_synopses(doc, fragment)
|
def convert(ifp, ofp): p = esistools.ExtendedEsisBuilder() p.feed(ifp.read()) doc = p.document fragment = p.fragment normalize(fragment) simplify(doc, fragment) handle_labels(doc, fragment) handle_appendix(doc, fragment) fixup_trailing_whitespace(doc, { "abstract": "\n", "title": "", "chapter": "\n\n", "section": "\n\n", "subsection": "\n\n", "subsubsection": "\n\n", "paragraph": "\n\n", "subparagraph": "\n\n", }) cleanup_root_text(doc) cleanup_trailing_parens(doc, ["function", "method", "cfunction"]) cleanup_synopses(doc) fixup_descriptors(doc, fragment) fixup_verbatims(fragment) normalize(fragment) fixup_paras(doc, fragment) fixup_sectionauthors(doc, fragment) remap_element_names(fragment, { "tableii": ("table", {"cols": "2"}), "tableiii": ("table", {"cols": "3"}), "tableiv": ("table", {"cols": "4"}), "lineii": ("row", {}), "lineiii": ("row", {}), "lineiv": ("row", {}), "refmodule": ("module", {"link": "link"}), }) fixup_table_structures(doc, fragment) fixup_rfc_references(doc, fragment) fixup_signatures(doc, fragment) add_node_ids(fragment) fixup_refmodindexes(fragment) fixup_bifuncindexes(fragment) # d = {} for gi in p.get_empties(): d[gi] = gi if d.has_key("rfc"): del d["rfc"] knownempty = d.has_key # try: write_esis(fragment, ofp, knownempty) except IOError, (err, msg): # Ignore EPIPE; it just means that whoever we're writing to stopped # reading. The rest of the output would be ignored. All other errors # should still be reported, if err != errno.EPIPE: raise
|
304ebb260c7d5886ccb4a4738c3e4f83f60820f6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/304ebb260c7d5886ccb4a4738c3e4f83f60820f6/docfixer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1765,
12,
430,
84,
16,
434,
84,
4672,
293,
273,
5001,
376,
8192,
18,
11456,
6705,
291,
1263,
1435,
293,
18,
7848,
12,
430,
84,
18,
896,
10756,
997,
273,
293,
18,
5457,
5481,
273,
293,
18,
11956,
3883,
12,
11956,
13,
16499,
12,
2434,
16,
5481,
13,
1640,
67,
5336,
12,
2434,
16,
5481,
13,
1640,
67,
6923,
697,
12,
2434,
16,
5481,
13,
2917,
416,
67,
26453,
67,
18777,
12,
2434,
16,
288,
315,
17801,
6877,
1548,
82,
3113,
315,
2649,
6877,
23453,
315,
31254,
6877,
1548,
82,
64,
82,
3113,
315,
3464,
6877,
1548,
82,
64,
82,
3113,
315,
1717,
3464,
6877,
1548,
82,
64,
82,
3113,
315,
1717,
1717,
3464,
6877,
1548,
82,
64,
82,
3113,
315,
22445,
6877,
1548,
82,
64,
82,
3113,
315,
1717,
22445,
6877,
1548,
82,
64,
82,
3113,
289,
13,
6686,
67,
3085,
67,
955,
12,
2434,
13,
6686,
67,
26453,
67,
1848,
2387,
12,
11956,
16,
8247,
915,
3113,
315,
2039,
3113,
315,
71,
915,
6,
5717,
6686,
67,
11982,
556,
2420,
12,
2434,
16,
5481,
13,
2917,
416,
67,
72,
8379,
12,
2434,
16,
5481,
13,
2917,
416,
67,
16629,
270,
12097,
12,
11956,
13,
3883,
12,
11956,
13,
2917,
416,
67,
1065,
345,
12,
2434,
16,
5481,
13,
2917,
416,
67,
3464,
19368,
12,
2434,
16,
5481,
13,
21674,
67,
2956,
67,
1973,
12,
11956,
16,
288,
315,
2121,
2835,
6877,
7566,
2121,
3113,
12528,
6842,
6877,
315,
22,
6,
97,
3631,
315,
2121,
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,
1765,
12,
430,
84,
16,
434,
84,
4672,
293,
273,
5001,
376,
8192,
18,
11456,
6705,
291,
1263,
1435,
293,
18,
7848,
12,
430,
84,
18,
896,
10756,
997,
273,
293,
18,
5457,
5481,
273,
293,
18,
11956,
3883,
12,
11956,
13,
16499,
12,
2434,
16,
5481,
13,
1640,
67,
5336,
12,
2434,
16,
5481,
13,
1640,
67,
6923,
697,
12,
2434,
16,
5481,
13,
2917,
416,
67,
26453,
67,
18777,
12,
2434,
16,
288,
315,
17801,
6877,
1548,
82,
3113,
315,
2649,
6877,
23453,
315,
31254,
6877,
1548,
82,
64,
82,
3113,
315,
3464,
6877,
1548,
82,
64,
82,
3113,
315,
1717,
3464,
6877,
1548,
82,
64,
82,
3113,
315,
1717,
1717,
3464,
6877,
1548,
82,
64,
2
] |
warn("\nZCatalog query using '%s' detected.\nUsing query parameters ending with '_usage' is deprecated.\nConsider using record-style parameters instead (see lib/python/Products/PluggableIndexes/README.txt for details)" % usage_param, DeprecationWarning)
|
warn("\nZCatalog query using '%s' detected.\nUsing query parameters ending with '_usage' is deprecated.\nConsider using record-style parameters instead (see lib/python/Products/PluginIndexes/README.txt for details)" % usage_param, DeprecationWarning)
|
def __init__(self, request, iid, options=[]): """ parse a request from the ZPublisher and return a uniform datastructure back to the _apply_index() method of the index
|
bfcfbb2557df367b95a8f9f7b3e746503113556f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/bfcfbb2557df367b95a8f9f7b3e746503113556f/util.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
590,
16,
22819,
16,
702,
33,
8526,
4672,
3536,
1109,
279,
590,
225,
628,
326,
2285,
15960,
471,
327,
279,
10823,
5386,
13583,
1473,
358,
326,
389,
9010,
67,
1615,
1435,
707,
434,
326,
770,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
590,
16,
22819,
16,
702,
33,
8526,
4672,
3536,
1109,
279,
590,
225,
628,
326,
2285,
15960,
471,
327,
279,
10823,
5386,
13583,
1473,
358,
326,
389,
9010,
67,
1615,
1435,
707,
434,
326,
770,
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
] |
graph = rtgraph.HScrollLineGraph(range=(0,255))
|
graph = rtgraph.HScrollLineGraph(range=(0.0, 255.0))
|
def main(): channels = [AdcChannel(name="Analog channel %d" % i) for i in xrange(8)] graph = rtgraph.HScrollLineGraph(range=(0,255)) win = rtgraph.GraphUIWindow(channels, graph, valueUpdateInterval=500) win.connect("destroy", gtk.mainquit) analogThread = AnalogUpdaterThread(channels) try: gtk.threads_init() gtk.main() finally: analogThread.running = False
|
d025fd905e13e292ea9ad174556b3e65495cbcbb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6757/d025fd905e13e292ea9ad174556b3e65495cbcbb/adc_graph.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
13332,
5750,
273,
306,
1871,
71,
2909,
12,
529,
1546,
979,
6238,
1904,
738,
72,
6,
738,
277,
13,
364,
277,
316,
12314,
12,
28,
25887,
2667,
273,
8253,
4660,
18,
44,
6806,
1670,
4137,
12,
3676,
28657,
20,
18,
20,
16,
4561,
18,
20,
3719,
5657,
273,
8253,
4660,
18,
4137,
5370,
3829,
12,
9114,
16,
2667,
16,
460,
1891,
4006,
33,
12483,
13,
5657,
18,
3612,
2932,
11662,
3113,
22718,
18,
5254,
27176,
13,
225,
25714,
3830,
273,
1922,
6238,
15305,
3830,
12,
9114,
13,
775,
30,
22718,
18,
12495,
67,
2738,
1435,
22718,
18,
5254,
1435,
3095,
30,
25714,
3830,
18,
8704,
273,
1083,
282,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
13332,
5750,
273,
306,
1871,
71,
2909,
12,
529,
1546,
979,
6238,
1904,
738,
72,
6,
738,
277,
13,
364,
277,
316,
12314,
12,
28,
25887,
2667,
273,
8253,
4660,
18,
44,
6806,
1670,
4137,
12,
3676,
28657,
20,
18,
20,
16,
4561,
18,
20,
3719,
5657,
273,
8253,
4660,
18,
4137,
5370,
3829,
12,
9114,
16,
2667,
16,
460,
1891,
4006,
33,
12483,
13,
5657,
18,
3612,
2932,
11662,
3113,
22718,
18,
5254,
27176,
13,
225,
25714,
3830,
273,
1922,
6238,
15305,
3830,
12,
9114,
13,
775,
30,
22718,
18,
12495,
67,
2738,
1435,
22718,
18,
5254,
1435,
3095,
30,
25714,
3830,
18,
8704,
273,
1083,
282,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
url = self.neighborhood.url_prefix + self.shortname + '/'
|
shortname = self.shortname[len(self.neighborhood.shortname_prefix):] url = self.neighborhood.url_prefix + shortname + '/'
|
def url(self): url = self.neighborhood.url_prefix + self.shortname + '/' if url.startswith('//'): try: return request.scheme + ':' + url except TypeError: # pragma no cover return 'http:' + url else: return url
|
f3568a890e665ec7ee702139ea48e3ef53b741f6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1036/f3568a890e665ec7ee702139ea48e3ef53b741f6/project.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
880,
12,
2890,
4672,
23879,
273,
365,
18,
28650,
63,
1897,
12,
2890,
18,
18168,
19619,
18,
28650,
67,
3239,
4672,
65,
880,
273,
365,
18,
18168,
19619,
18,
718,
67,
3239,
397,
23879,
397,
2023,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
880,
12,
2890,
4672,
23879,
273,
365,
18,
28650,
63,
1897,
12,
2890,
18,
18168,
19619,
18,
28650,
67,
3239,
4672,
65,
880,
273,
365,
18,
18168,
19619,
18,
718,
67,
3239,
397,
23879,
397,
2023,
309,
880,
18,
17514,
1918,
2668,
759,
11,
4672,
775,
30,
327,
590,
18,
9068,
397,
3921,
397,
880,
1335,
3580,
30,
468,
10878,
1158,
5590,
327,
296,
2505,
2497,
397,
880,
469,
30,
327,
880,
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
] |
description = DOCLINES[0],
|
description = DOCLINES[1],
|
def run(self): distbuild.run(self) generate_docs()
|
75814d0e4ae733ef9fcf50533ef3feaa60abc201 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13167/75814d0e4ae733ef9fcf50533ef3feaa60abc201/setup.py
|
[
1,
8585,
326,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
12,
2890,
4672,
2411,
3510,
18,
2681,
12,
2890,
13,
2103,
67,
8532,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
def OnPaneButton(self, event):
|
def OnPaneClose(self, event):
|
def OnPaneButton(self, event):
|
de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2755,
8485,
3616,
12,
2890,
16,
871,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2755,
8485,
3616,
12,
2890,
16,
871,
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
] |
arguments[key] = edict[v]
|
arguments[key] = Enum(edict[v])
|
def enumsubst(arguments, key, edict): """Substitute a single enum keyword argument, if it occurs""" if not arguments.has_key(key) or edict is None: return v = arguments[key] ok = edict.values() if edict.has_key(v): arguments[key] = edict[v] elif not v in ok: raise TypeError, 'Unknown enumerator: %s'%v
|
5b7338519507e984778355d1628ec65bfa59bb39 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/5b7338519507e984778355d1628ec65bfa59bb39/aetools.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2792,
1717,
334,
12,
7099,
16,
498,
16,
1675,
933,
4672,
3536,
1676,
17207,
279,
2202,
2792,
4932,
1237,
16,
309,
518,
9938,
8395,
309,
486,
1775,
18,
5332,
67,
856,
12,
856,
13,
578,
1675,
933,
353,
599,
30,
327,
331,
273,
1775,
63,
856,
65,
1529,
273,
1675,
933,
18,
2372,
1435,
309,
1675,
933,
18,
5332,
67,
856,
12,
90,
4672,
1775,
63,
856,
65,
273,
6057,
12,
329,
933,
63,
90,
5717,
1327,
486,
331,
316,
1529,
30,
1002,
3580,
16,
296,
4874,
24679,
30,
738,
87,
11,
9,
90,
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,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
7099,
16,
498,
16,
1675,
933,
4672,
3536,
1676,
17207,
279,
2202,
2792,
4932,
1237,
16,
309,
518,
9938,
8395,
309,
486,
1775,
18,
5332,
67,
856,
12,
856,
13,
578,
1675,
933,
353,
599,
30,
327,
331,
273,
1775,
63,
856,
65,
1529,
273,
1675,
933,
18,
2372,
1435,
309,
1675,
933,
18,
5332,
67,
856,
12,
90,
4672,
1775,
63,
856,
65,
273,
6057,
12,
329,
933,
63,
90,
5717,
1327,
486,
331,
316,
1529,
30,
1002,
3580,
16,
296,
4874,
24679,
30,
738,
87,
11,
9,
90,
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
] |
You can specify a set of files to operate on, or use the -a/-all
|
You can specify a set of files to operate on, or use the -a/--all
|
def resolve(ui, repo, *pats, **opts): """retry file merges from a merge or update This command can cleanly retry unresolved file merges using file revisions preserved from the last update or merge. If a conflict is resolved manually, please note that the changes will be overwritten if the merge is retried with resolve. The -m/--mark switch should be used to mark the file as resolved. You can specify a set of files to operate on, or use the -a/-all switch to select all unresolved files. This command also allows listing resolved files and manually indicating whether or not files are resolved. All files must be marked as resolved before a commit is permitted. The codes used to show the status of files are:: U = unresolved R = resolved """ all, mark, unmark, show, nostatus = \ [opts.get(o) for o in 'all mark unmark list no_status'.split()] if (show and (mark or unmark)) or (mark and unmark): raise util.Abort(_("too many options specified")) if pats and all: raise util.Abort(_("can't specify --all and patterns")) if not (all or pats or show or mark or unmark): raise util.Abort(_('no files or directories specified; ' 'use --all to remerge all files')) ms = merge_.mergestate(repo) m = cmdutil.match(repo, pats, opts) for f in ms: if m(f): if show: if nostatus: ui.write("%s\n" % f) else: ui.write("%s %s\n" % (ms[f].upper(), f)) elif mark: ms.mark(f, "r") elif unmark: ms.mark(f, "u") else: wctx = repo[None] mctx = wctx.parents()[-1] # backup pre-resolve (merge uses .orig for its own purposes) a = repo.wjoin(f) util.copyfile(a, a + ".resolve") # resolve file ms.resolve(f, wctx, mctx) # replace filemerge's .orig file with our resolve file util.rename(a + ".resolve", a + ".orig")
|
f0b66ec9b51d3b05c194b52f0086d7e8d0e58098 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11312/f0b66ec9b51d3b05c194b52f0086d7e8d0e58098/commands.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2245,
12,
4881,
16,
3538,
16,
380,
84,
2323,
16,
2826,
4952,
4672,
3536,
9620,
585,
19037,
628,
279,
2691,
578,
1089,
225,
1220,
1296,
848,
2721,
715,
3300,
20573,
585,
19037,
1450,
585,
18325,
21096,
628,
326,
1142,
1089,
578,
2691,
18,
225,
971,
279,
7546,
353,
4640,
10036,
16,
9582,
4721,
716,
326,
3478,
903,
506,
15345,
309,
326,
2691,
353,
24989,
598,
2245,
18,
1021,
300,
81,
19,
413,
3355,
1620,
1410,
506,
1399,
358,
2267,
326,
585,
487,
4640,
18,
225,
4554,
848,
4800,
279,
444,
434,
1390,
358,
20829,
603,
16,
578,
999,
326,
300,
69,
19,
413,
454,
1620,
358,
2027,
777,
20573,
1390,
18,
225,
1220,
1296,
2546,
5360,
11591,
4640,
1390,
471,
10036,
11193,
2856,
578,
486,
1390,
854,
4640,
18,
4826,
1390,
1297,
506,
9350,
487,
4640,
1865,
279,
3294,
353,
15498,
18,
225,
1021,
6198,
1399,
358,
2405,
326,
1267,
434,
1390,
854,
2866,
225,
587,
273,
20573,
534,
273,
4640,
3536,
225,
777,
16,
2267,
16,
640,
3355,
16,
2405,
16,
290,
669,
996,
273,
521,
306,
4952,
18,
588,
12,
83,
13,
364,
320,
316,
296,
454,
2267,
640,
3355,
666,
1158,
67,
2327,
10332,
4939,
1435,
65,
225,
309,
261,
4500,
471,
261,
3355,
578,
640,
3355,
3719,
578,
261,
3355,
471,
640,
3355,
4672,
1002,
1709,
18,
13572,
24899,
2932,
16431,
4906,
702,
1269,
6,
3719,
309,
293,
2323,
471,
777,
30,
1002,
1709,
18,
13572,
24899,
2932,
4169,
1404,
4800,
1493,
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,
2245,
12,
4881,
16,
3538,
16,
380,
84,
2323,
16,
2826,
4952,
4672,
3536,
9620,
585,
19037,
628,
279,
2691,
578,
1089,
225,
1220,
1296,
848,
2721,
715,
3300,
20573,
585,
19037,
1450,
585,
18325,
21096,
628,
326,
1142,
1089,
578,
2691,
18,
225,
971,
279,
7546,
353,
4640,
10036,
16,
9582,
4721,
716,
326,
3478,
903,
506,
15345,
309,
326,
2691,
353,
24989,
598,
2245,
18,
1021,
300,
81,
19,
413,
3355,
1620,
1410,
506,
1399,
358,
2267,
326,
585,
487,
4640,
18,
225,
4554,
848,
4800,
279,
444,
434,
1390,
358,
20829,
603,
16,
578,
999,
326,
300,
69,
19,
413,
454,
1620,
358,
2027,
777,
20573,
1390,
18,
225,
1220,
1296,
2546,
5360,
11591,
4640,
2
] |
try: self.authorizer_class(anonymous_user=user, anonymous_password='$|1wrongpasswd') except ftpserver.AuthorizerError, err: self.assertTrue('invalid credentials' in str(err)) else: self.fail('exception not raised')
|
self.assertRaises(Win32ExtError, self.authorizer_class, anonymous_user=user, anonymous_password='$|1wrongpasswd')
|
def test_wrong_anonymous_credentials(self): user = self.get_current_user() try: self.authorizer_class(anonymous_user=user, anonymous_password='$|1wrongpasswd') except ftpserver.AuthorizerError, err: self.assertTrue('invalid credentials' in str(err)) else: self.fail('exception not raised')
|
94feedde95ea2643a7e293998e1e7062e4f0ce57 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3782/94feedde95ea2643a7e293998e1e7062e4f0ce57/test_contrib.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
21530,
67,
19070,
67,
11687,
12,
2890,
4672,
729,
273,
365,
18,
588,
67,
2972,
67,
1355,
1435,
775,
30,
365,
18,
4161,
1824,
67,
1106,
12,
19070,
67,
1355,
33,
1355,
16,
13236,
67,
3664,
26972,
96,
21,
21530,
24002,
6134,
1335,
13487,
3567,
18,
17170,
668,
16,
393,
30,
365,
18,
11231,
5510,
2668,
5387,
4448,
11,
316,
609,
12,
370,
3719,
469,
30,
365,
18,
6870,
2668,
4064,
486,
11531,
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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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
21530,
67,
19070,
67,
11687,
12,
2890,
4672,
729,
273,
365,
18,
588,
67,
2972,
67,
1355,
1435,
775,
30,
365,
18,
4161,
1824,
67,
1106,
12,
19070,
67,
1355,
33,
1355,
16,
13236,
67,
3664,
26972,
96,
21,
21530,
24002,
6134,
1335,
13487,
3567,
18,
17170,
668,
16,
393,
30,
365,
18,
11231,
5510,
2668,
5387,
4448,
11,
316,
609,
12,
370,
3719,
469,
30,
365,
18,
6870,
2668,
4064,
486,
11531,
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
] |
if S: for i,f in enumerate(S): flowables.insert(i,f)
|
if S: flowables[0:0] = S
|
def _addGeneratedContent(flowables,frame): S = getattr(frame,'_generated_content',None) if S: for i,f in enumerate(S): flowables.insert(i,f) del frame._generated_content
|
59ddef2657f404686fe25d57af38aaecb0facdb1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3878/59ddef2657f404686fe25d57af38aaecb0facdb1/doctemplate.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1289,
7823,
1350,
12,
2426,
1538,
16,
3789,
4672,
348,
273,
3869,
12,
3789,
11189,
67,
11168,
67,
1745,
2187,
7036,
13,
309,
348,
30,
4693,
1538,
63,
20,
30,
20,
65,
273,
348,
1464,
2623,
6315,
11168,
67,
1745,
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,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1289,
7823,
1350,
12,
2426,
1538,
16,
3789,
4672,
348,
273,
3869,
12,
3789,
11189,
67,
11168,
67,
1745,
2187,
7036,
13,
309,
348,
30,
4693,
1538,
63,
20,
30,
20,
65,
273,
348,
1464,
2623,
6315,
11168,
67,
1745,
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
] |
configfile = open(path, 'wb') config.write(configfile)
|
try: configfile = open(path, 'wb') except IOError: return utl.debug("Session - IOError") else: config.write(configfile)
|
def Write(self):
|
9f428b6f011b440b2b3f314009f353b7f65f0f6f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10228/9f428b6f011b440b2b3f314009f353b7f65f0f6f/session.py
|
[
1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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2598,
12,
2890,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if context and context.has_key('user_prefence') and context['user_prefence']: cmp_ids = [] data_user = self.pool.get('res.users').browse(cr, user, [user], context=context) map(lambda x: cmp_ids.append(x.id), data_user[0].company_ids) return [data_user[0].company_id.id] + cmp_ids return super(res_company, self).search(cr, user, args, offset=offset, limit=limit, order=order,
|
user_preference = context and context.get('user_preference', False) or False if user_preference: user = self.pool.get('res.users').browse(cr, uid, uid, context=context) cmp_ids = list(set([user.company_id.id] + [cmp.id for cmp in user.company_ids])) return cmp_ids return super(res_company, self).search(cr, uid, args, offset=offset, limit=limit, order=order,
|
def search(self, cr, user, args, offset=0, limit=None, order=None, context=None, count=False): if context and context.has_key('user_prefence') and context['user_prefence']: cmp_ids = [] data_user = self.pool.get('res.users').browse(cr, user, [user], context=context) map(lambda x: cmp_ids.append(x.id), data_user[0].company_ids) return [data_user[0].company_id.id] + cmp_ids return super(res_company, self).search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
|
45de75f149af7e37b4262b605eff6b3c3724bdeb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/45de75f149af7e37b4262b605eff6b3c3724bdeb/res_company.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1623,
12,
2890,
16,
4422,
16,
729,
16,
833,
16,
1384,
33,
20,
16,
1800,
33,
7036,
16,
1353,
33,
7036,
16,
819,
33,
7036,
16,
1056,
33,
8381,
4672,
225,
729,
67,
19141,
273,
819,
471,
819,
18,
588,
2668,
1355,
67,
19141,
2187,
1083,
13,
578,
1083,
309,
729,
67,
19141,
30,
729,
273,
365,
18,
6011,
18,
588,
2668,
455,
18,
5577,
16063,
25731,
12,
3353,
16,
4555,
16,
4555,
16,
819,
33,
2472,
13,
9411,
67,
2232,
273,
666,
12,
542,
3816,
1355,
18,
16840,
67,
350,
18,
350,
65,
397,
306,
9625,
18,
350,
364,
9411,
316,
729,
18,
16840,
67,
2232,
22643,
225,
327,
9411,
67,
2232,
327,
2240,
12,
455,
67,
16840,
16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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1623,
12,
2890,
16,
4422,
16,
729,
16,
833,
16,
1384,
33,
20,
16,
1800,
33,
7036,
16,
1353,
33,
7036,
16,
819,
33,
7036,
16,
1056,
33,
8381,
4672,
225,
729,
67,
19141,
273,
819,
471,
819,
18,
588,
2668,
1355,
67,
19141,
2187,
1083,
13,
578,
1083,
309,
729,
67,
19141,
30,
729,
273,
365,
18,
6011,
18,
588,
2668,
455,
18,
5577,
16063,
25731,
12,
3353,
16,
4555,
16,
4555,
16,
819,
33,
2472,
13,
9411,
67,
2232,
273,
666,
12,
542,
3816,
1355,
18,
16840,
67,
350,
18,
350,
65,
397,
306,
9625,
18,
350,
364,
9411,
316,
729,
18,
16840,
67,
2232,
22643,
225,
327,
9411,
67,
2232,
327,
2240,
12,
455,
67,
2
] |
self.threadConnection = conn
|
if old_conn_is_threading: self.threadConnection = conn else: self.processConnection = conn
|
def doInTransaction(self, func, *args, **kw): """ This routine can be used to run a function in a transaction, rolling the transaction back if any exception is raised from that function, and committing otherwise.
|
94ba772aa5173fb3e5198df78445bf8958550fe1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8798/94ba772aa5173fb3e5198df78445bf8958550fe1/dbconnection.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
382,
3342,
12,
2890,
16,
1326,
16,
380,
1968,
16,
2826,
9987,
4672,
3536,
1220,
12245,
848,
506,
1399,
358,
1086,
279,
445,
316,
279,
2492,
16,
21793,
326,
2492,
1473,
309,
1281,
1520,
353,
11531,
628,
716,
445,
16,
471,
3294,
1787,
3541,
18,
2,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
382,
3342,
12,
2890,
16,
1326,
16,
380,
1968,
16,
2826,
9987,
4672,
3536,
1220,
12245,
848,
506,
1399,
358,
1086,
279,
445,
316,
279,
2492,
16,
21793,
326,
2492,
1473,
309,
1281,
1520,
353,
11531,
628,
716,
445,
16,
471,
3294,
1787,
3541,
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
] |
type_definitions.append(self.memberTypeDefinitions())
|
type_definitions.extend(self.memberTypeDefinitions())
|
def dependentTypeDefinitions (self): type_definitions = [ self.baseTypeDefinition() ] if self.VARIETY_absent == self.variety(): type_definitions = [] elif self.VARIETY_atomic == self.variety(): type_definitions.append(self.primitiveTypeDefinition()) elif self.VARIETY_list == self.variety(): type_definitions.append(self.itemTypeDefinition()) elif self.VARIETY_union == self.variety(): type_definitions.append(self.memberTypeDefinitions()) else: raise LogicError('Unable to identify dependent types') return type_definitions
|
a898384e612aa56c517f5a6a9a709cda64ca2e35 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7171/a898384e612aa56c517f5a6a9a709cda64ca2e35/structures.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10460,
559,
7130,
261,
2890,
4672,
618,
67,
13314,
273,
306,
365,
18,
1969,
559,
1852,
1435,
308,
309,
365,
18,
29744,
1584,
61,
67,
5113,
319,
422,
365,
18,
4093,
14369,
13332,
618,
67,
13314,
273,
5378,
1327,
365,
18,
29744,
1584,
61,
67,
27718,
422,
365,
18,
4093,
14369,
13332,
618,
67,
13314,
18,
6923,
12,
2890,
18,
683,
5025,
559,
1852,
10756,
1327,
365,
18,
29744,
1584,
61,
67,
1098,
422,
365,
18,
4093,
14369,
13332,
618,
67,
13314,
18,
6923,
12,
2890,
18,
1726,
559,
1852,
10756,
1327,
365,
18,
29744,
1584,
61,
67,
18910,
422,
365,
18,
4093,
14369,
13332,
618,
67,
13314,
18,
14313,
12,
2890,
18,
5990,
559,
7130,
10756,
469,
30,
1002,
10287,
668,
2668,
3370,
358,
9786,
10460,
1953,
6134,
327,
618,
67,
13314,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10460,
559,
7130,
261,
2890,
4672,
618,
67,
13314,
273,
306,
365,
18,
1969,
559,
1852,
1435,
308,
309,
365,
18,
29744,
1584,
61,
67,
5113,
319,
422,
365,
18,
4093,
14369,
13332,
618,
67,
13314,
273,
5378,
1327,
365,
18,
29744,
1584,
61,
67,
27718,
422,
365,
18,
4093,
14369,
13332,
618,
67,
13314,
18,
6923,
12,
2890,
18,
683,
5025,
559,
1852,
10756,
1327,
365,
18,
29744,
1584,
61,
67,
1098,
422,
365,
18,
4093,
14369,
13332,
618,
67,
13314,
18,
6923,
12,
2890,
18,
1726,
559,
1852,
10756,
1327,
365,
18,
29744,
1584,
61,
67,
18910,
422,
365,
18,
4093,
14369,
13332,
618,
67,
13314,
18,
14313,
12,
2890,
18,
5990,
559,
7130,
10756,
469,
2
] |
elif text[i+1][0] in (" ", "\n",):
|
elif text[i+1].startswith(" ") or text[i+1].startswith("\n"):
|
def check_whitespace(self): i = 0 text = self.text while i < len(text): if text[i] is self.white_space: if i == 0 or i == len(text)-1: del text[i] elif text[i-1][-1] in (" ", "\n",): # last char of previous element is whitespace del text[i] elif (text[i+1] is self.white_space or # next element is white_space text[i+1] is self.new_line): # or new_line del text[i] elif text[i+1][0] in (" ", "\n",): # first char of next element is whitespace del text[i] else: text[i] = " " i += 1 elif text[i] is self.new_line: if i == 0: del text[i] elif i == len(text) - 1: text[i] = "\n" i += 1 elif text[i-1][-1] == "\n" or ( isinstance(text[i+1], str) and text[i+1][0] == "\n"): del text[i] else: text[i] = "\n" i += 1 else: i += 1
|
0c399fc872f75b4051a11323fecc956163cbb057 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/888/0c399fc872f75b4051a11323fecc956163cbb057/text_html_text_x_moin.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
67,
18777,
12,
2890,
4672,
277,
273,
374,
977,
273,
365,
18,
955,
1323,
277,
411,
562,
12,
955,
4672,
309,
977,
63,
77,
65,
353,
365,
18,
14739,
67,
2981,
30,
309,
277,
422,
374,
578,
277,
422,
562,
12,
955,
24950,
21,
30,
1464,
977,
63,
77,
65,
1327,
977,
63,
77,
17,
21,
6362,
17,
21,
65,
316,
7566,
3104,
1548,
82,
3113,
4672,
468,
1142,
1149,
434,
2416,
930,
353,
7983,
1464,
977,
63,
77,
65,
1327,
261,
955,
63,
77,
15,
21,
65,
353,
365,
18,
14739,
67,
2981,
578,
468,
1024,
930,
353,
9578,
67,
2981,
977,
63,
77,
15,
21,
65,
353,
365,
18,
2704,
67,
1369,
4672,
468,
578,
394,
67,
1369,
1464,
977,
63,
77,
65,
1327,
977,
63,
77,
15,
21,
8009,
17514,
1918,
2932,
9369,
578,
977,
63,
77,
15,
21,
8009,
17514,
1918,
31458,
82,
6,
4672,
468,
1122,
1149,
434,
1024,
930,
353,
7983,
1464,
977,
63,
77,
65,
469,
30,
977,
63,
77,
65,
273,
315,
315,
277,
1011,
404,
1327,
977,
63,
77,
65,
353,
365,
18,
2704,
67,
1369,
30,
309,
277,
422,
374,
30,
1464,
977,
63,
77,
65,
1327,
277,
422,
562,
12,
955,
13,
300,
404,
30,
977,
63,
77,
65,
273,
1548,
82,
6,
277,
1011,
404,
1327,
977,
63,
77,
17,
21,
6362,
17,
21,
65,
422,
1548,
82,
6,
578,
261,
1549,
12,
955,
63,
77,
15,
21,
6487,
609,
13,
471,
977,
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,
866,
67,
18777,
12,
2890,
4672,
277,
273,
374,
977,
273,
365,
18,
955,
1323,
277,
411,
562,
12,
955,
4672,
309,
977,
63,
77,
65,
353,
365,
18,
14739,
67,
2981,
30,
309,
277,
422,
374,
578,
277,
422,
562,
12,
955,
24950,
21,
30,
1464,
977,
63,
77,
65,
1327,
977,
63,
77,
17,
21,
6362,
17,
21,
65,
316,
7566,
3104,
1548,
82,
3113,
4672,
468,
1142,
1149,
434,
2416,
930,
353,
7983,
1464,
977,
63,
77,
65,
1327,
261,
955,
63,
77,
15,
21,
65,
353,
365,
18,
14739,
67,
2981,
578,
468,
1024,
930,
353,
9578,
67,
2981,
977,
63,
77,
15,
21,
65,
353,
365,
18,
2704,
67,
1369,
4672,
468,
578,
2
] |
for id, string in strings.items():
|
for string_id, cur_string in strings.items():
|
def createJavaScriptFromStrings(target_file, localized_strings): """Generate .js code containing the strings. It'll look like:
|
00ea35b9791951af01325916fb87ff7ff1bbf5a5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1918/00ea35b9791951af01325916fb87ff7ff1bbf5a5/parse_stab.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
16634,
1265,
7957,
12,
3299,
67,
768,
16,
13596,
67,
10219,
4672,
3536,
4625,
263,
2924,
981,
4191,
326,
2064,
18,
225,
2597,
5614,
2324,
3007,
30,
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,
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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,
752,
16634,
1265,
7957,
12,
3299,
67,
768,
16,
13596,
67,
10219,
4672,
3536,
4625,
263,
2924,
981,
4191,
326,
2064,
18,
225,
2597,
5614,
2324,
3007,
30,
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
] |
all the other-> True"""
|
all the other-> True WARNING - This is not the inverse of the __eq__ method. """
|
def __ne__(cls, other): """RE != other -> bool. isoschizomer strict, same recognition site, same restriction -> False all the other-> True""" if not isinstance(other, RestrictionType): return True elif cls.charac == other.charac: return False else: return True
|
b5f1d850559e85f87a938c5f993d304d32cdc6d2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7167/b5f1d850559e85f87a938c5f993d304d32cdc6d2/Restriction.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
4644,
972,
12,
6429,
16,
1308,
4672,
3536,
862,
480,
1308,
317,
1426,
18,
353,
538,
343,
452,
362,
264,
5490,
16,
1967,
1950,
7909,
2834,
16,
1967,
9318,
317,
1083,
777,
326,
1308,
2122,
1053,
225,
9744,
300,
1220,
353,
486,
326,
8322,
434,
326,
1001,
11253,
972,
707,
18,
3536,
309,
486,
1549,
12,
3011,
16,
1124,
6192,
559,
4672,
327,
1053,
1327,
2028,
18,
3001,
1077,
422,
1308,
18,
3001,
1077,
30,
327,
1083,
469,
30,
327,
1053,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
4644,
972,
12,
6429,
16,
1308,
4672,
3536,
862,
480,
1308,
317,
1426,
18,
353,
538,
343,
452,
362,
264,
5490,
16,
1967,
1950,
7909,
2834,
16,
1967,
9318,
317,
1083,
777,
326,
1308,
2122,
1053,
225,
9744,
300,
1220,
353,
486,
326,
8322,
434,
326,
1001,
11253,
972,
707,
18,
3536,
309,
486,
1549,
12,
3011,
16,
1124,
6192,
559,
4672,
327,
1053,
1327,
2028,
18,
3001,
1077,
422,
1308,
18,
3001,
1077,
30,
327,
1083,
469,
30,
327,
1053,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
document.body.insert(j -5, subst1)
|
document.body.insert(lay, subst1) document.warning(subst1)
|
def convert_bibtexClearpage(document): " insert a clear(double)page bibliographystyle if bibtotoc option is used " while True: i = find_token(document.header, '\\papersides', 0) if i == -1: document.warning("Malformed LyX document: Can't find papersides definition.") return else: sides = int(document.header[i][12]) # only act of there is the option "bibtotoc" j = find_token(document.body, 'options "bibtotoc', 0) if j == -1: return subst1 = '\\begin_layout Standard\n' \ + '\\begin_inset Newpage clearpage\n' \ + '\end_inset\n\n\n' \ + '\end_layout\n' subst2 = '\\begin_layout Standard\n' \ + '\\begin_inset Newpage cleardoublepage\n' \ + '\end_inset\n\n\n' \ + '\end_layout\n' if sides == 1: document.body.insert(j -5, subst1) else: document.body.insert(j -5, subst2) return
|
580a984e2ca469f8c83c461f4b8e743b18ce9f47 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7514/580a984e2ca469f8c83c461f4b8e743b18ce9f47/lyx_2_0.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1765,
67,
70,
495,
21763,
9094,
2433,
12,
5457,
4672,
315,
2243,
279,
2424,
12,
9056,
13,
2433,
25581,
549,
8829,
1094,
1362,
309,
25581,
3307,
504,
1456,
353,
1399,
315,
1323,
1053,
30,
277,
273,
1104,
67,
2316,
12,
5457,
18,
3374,
16,
3718,
84,
438,
414,
4369,
2187,
374,
13,
309,
277,
422,
300,
21,
30,
1668,
18,
8551,
2932,
18695,
511,
93,
60,
1668,
30,
4480,
1404,
1104,
293,
438,
414,
4369,
2379,
1199,
13,
327,
469,
30,
22423,
273,
509,
12,
5457,
18,
3374,
63,
77,
6362,
2138,
5717,
468,
1338,
1328,
434,
1915,
353,
326,
1456,
315,
70,
495,
3307,
504,
6,
525,
273,
1104,
67,
2316,
12,
5457,
18,
3432,
16,
296,
2116,
315,
70,
495,
3307,
504,
2187,
374,
13,
309,
525,
422,
300,
21,
30,
327,
27750,
21,
273,
3718,
10086,
67,
6741,
8263,
64,
82,
11,
521,
397,
3718,
10086,
67,
267,
542,
1166,
2433,
2424,
2433,
64,
82,
11,
521,
397,
2337,
409,
67,
267,
542,
64,
82,
64,
82,
64,
82,
11,
521,
397,
2337,
409,
67,
6741,
64,
82,
11,
27750,
22,
273,
3718,
10086,
67,
6741,
8263,
64,
82,
11,
521,
397,
3718,
10086,
67,
267,
542,
1166,
2433,
1619,
1060,
83,
1255,
2433,
64,
82,
11,
521,
397,
2337,
409,
67,
267,
542,
64,
82,
64,
82,
64,
82,
11,
521,
397,
2337,
409,
67,
6741,
64,
82,
11,
309,
22423,
422,
404,
30,
1668,
18,
3432,
18,
6387,
12,
5544,
16,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1765,
67,
70,
495,
21763,
9094,
2433,
12,
5457,
4672,
315,
2243,
279,
2424,
12,
9056,
13,
2433,
25581,
549,
8829,
1094,
1362,
309,
25581,
3307,
504,
1456,
353,
1399,
315,
1323,
1053,
30,
277,
273,
1104,
67,
2316,
12,
5457,
18,
3374,
16,
3718,
84,
438,
414,
4369,
2187,
374,
13,
309,
277,
422,
300,
21,
30,
1668,
18,
8551,
2932,
18695,
511,
93,
60,
1668,
30,
4480,
1404,
1104,
293,
438,
414,
4369,
2379,
1199,
13,
327,
469,
30,
22423,
273,
509,
12,
5457,
18,
3374,
63,
77,
6362,
2138,
5717,
468,
1338,
1328,
434,
1915,
353,
326,
1456,
315,
70,
495,
3307,
504,
6,
525,
273,
1104,
67,
2316,
12,
5457,
18,
3432,
16,
296,
2
] |
""" Called when a page has been deleted. """
|
"""Called when a page has been deleted."""
|
def wiki_page_deleted(page): """ Called when a page has been deleted. """
|
6392f2a70e74c43e37782a00df9b97e7e92a6a57 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/6392f2a70e74c43e37782a00df9b97e7e92a6a57/api.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
9050,
67,
2433,
67,
8600,
12,
2433,
4672,
3536,
11782,
1347,
279,
1363,
711,
2118,
4282,
18,
3536,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
9050,
67,
2433,
67,
8600,
12,
2433,
4672,
3536,
11782,
1347,
279,
1363,
711,
2118,
4282,
18,
3536,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
for z in points: if len(z) == 3: return self._graphic3d()(points, coerce=coerce, **kwds) xdata.append(float(z[0])) ydata.append(float(z[1]))
|
xdata = [float(z[0]) for z in points] ydata = [float(z[1]) for z in points]
|
def __call__(self, points, coerce=True, **kwds): try: return points.plot(**kwds) except AttributeError: pass options = dict(self.options) for k, v in kwds.iteritems(): options[k] = v
|
2d00d2730e3926eb0c2e6625b22d77efbfaa177b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/2d00d2730e3926eb0c2e6625b22d77efbfaa177b/plot.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
1991,
972,
12,
2890,
16,
3143,
16,
12270,
33,
5510,
16,
2826,
25577,
4672,
775,
30,
327,
3143,
18,
4032,
12,
636,
25577,
13,
1335,
6394,
30,
1342,
702,
273,
2065,
12,
2890,
18,
2116,
13,
364,
417,
16,
331,
316,
17149,
18,
2165,
3319,
13332,
702,
63,
79,
65,
273,
331,
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
] |
return
|
else: return
|
def _regenerate(self, dev_mode=False): # This function is only called in only_dependencies mode if self._compiled: for module_name, (mtime, content) in self._compiled.items(): if module_name not in self._collected or \ os.path.getmtime(self._collected[module_name]) != mtime: # Just recompile everything # TODO: track dependencies and changes and recompile only # what's necessary self._visited = set() self._compiled = {} break
|
c8805f27e1579dcfb7b6bc228fccb7f2b330a955 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11828/c8805f27e1579dcfb7b6bc228fccb7f2b330a955/pyjs_filter.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1574,
14681,
12,
2890,
16,
4461,
67,
3188,
33,
8381,
4672,
468,
1220,
445,
353,
1338,
2566,
316,
1338,
67,
11037,
1965,
309,
365,
6315,
19397,
30,
364,
1605,
67,
529,
16,
261,
10838,
16,
913,
13,
316,
365,
6315,
19397,
18,
3319,
13332,
309,
1605,
67,
529,
486,
316,
365,
6315,
14676,
329,
578,
521,
1140,
18,
803,
18,
588,
10838,
12,
2890,
6315,
14676,
329,
63,
2978,
67,
529,
5717,
480,
13158,
30,
468,
12526,
283,
11100,
7756,
468,
2660,
30,
3298,
5030,
471,
3478,
471,
283,
11100,
1338,
468,
4121,
1807,
4573,
365,
6315,
30129,
273,
444,
1435,
365,
6315,
19397,
273,
2618,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1574,
14681,
12,
2890,
16,
4461,
67,
3188,
33,
8381,
4672,
468,
1220,
445,
353,
1338,
2566,
316,
1338,
67,
11037,
1965,
309,
365,
6315,
19397,
30,
364,
1605,
67,
529,
16,
261,
10838,
16,
913,
13,
316,
365,
6315,
19397,
18,
3319,
13332,
309,
1605,
67,
529,
486,
316,
365,
6315,
14676,
329,
578,
521,
1140,
18,
803,
18,
588,
10838,
12,
2890,
6315,
14676,
329,
63,
2978,
67,
529,
5717,
480,
13158,
30,
468,
12526,
283,
11100,
7756,
468,
2660,
30,
3298,
5030,
471,
3478,
471,
283,
11100,
1338,
468,
4121,
1807,
4573,
365,
6315,
30129,
273,
444,
1435,
365,
6315,
19397,
273,
2618,
898,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.__smallest_integer = ZZ(self.__pari_prime.getattr('p'))
|
self.__smallest_integer = ZZ(self._pari_prime.getattr('p'))
|
def smallest_integer(self): r""" Return the smallest nonnegative integer in $I \cap \mathbb{Z}$, where $I$ is this ideal. If $I = 0$, raise a ValueError.
|
e007a9d9dedee1de94c0b698d8a1c5dcf36277c4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/e007a9d9dedee1de94c0b698d8a1c5dcf36277c4/number_field_ideal.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
13541,
67,
7745,
12,
2890,
4672,
436,
8395,
2000,
326,
13541,
1661,
13258,
3571,
316,
271,
45,
521,
5909,
521,
15949,
9897,
95,
62,
22496,
16,
1625,
271,
45,
8,
353,
333,
23349,
18,
225,
971,
271,
45,
273,
374,
8,
16,
1002,
279,
2068,
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,
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,
326,
22398,
316,
326,
981,
30,
1652,
13541,
67,
7745,
12,
2890,
4672,
436,
8395,
2000,
326,
13541,
1661,
13258,
3571,
316,
271,
45,
521,
5909,
521,
15949,
9897,
95,
62,
22496,
16,
1625,
271,
45,
8,
353,
333,
23349,
18,
225,
971,
271,
45,
273,
374,
8,
16,
1002,
279,
2068,
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
] |
new_backup = self.parent_backup_dir +'/'+ datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
new_backup = self.parent_backup_dir +'/'+ datetime.now().strftime(BACKUP_DIR_DATE_FORMAT)
|
def backup(self, gui=True): if gui: backup_button = self.xml.get_widget('backup_button')
|
c2a6c9ab1e23311dbdda0f5ed73a521e619bcf98 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3798/c2a6c9ab1e23311dbdda0f5ed73a521e619bcf98/flyback.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5114,
12,
2890,
16,
13238,
33,
5510,
4672,
309,
13238,
30,
5114,
67,
5391,
273,
365,
18,
2902,
18,
588,
67,
6587,
2668,
9572,
67,
5391,
6134,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5114,
12,
2890,
16,
13238,
33,
5510,
4672,
309,
13238,
30,
5114,
67,
5391,
273,
365,
18,
2902,
18,
588,
67,
6587,
2668,
9572,
67,
5391,
6134,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.files_to_rebuild.pop(filename, None)
|
for subfn, fnset in self.files_to_rebuild.iteritems(): fnset.discard(filename)
|
def clear_file(self, filename): """Remove all traces of a source file in the inventory.""" if filename in self.all_files: self.all_files.pop(filename, None) self.metadata.pop(filename, None) self.titles.pop(filename, None) self.tocs.pop(filename, None) self.toc_num_entries.pop(filename, None) self.files_to_rebuild.pop(filename, None)
|
d9fc82142bee14bcc7e266592a408a60130d65d1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7032/d9fc82142bee14bcc7e266592a408a60130d65d1/environment.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2424,
67,
768,
12,
2890,
16,
1544,
4672,
3536,
3288,
777,
19649,
434,
279,
1084,
585,
316,
326,
13086,
12123,
309,
1544,
316,
365,
18,
454,
67,
2354,
30,
365,
18,
454,
67,
2354,
18,
5120,
12,
3459,
16,
599,
13,
365,
18,
4165,
18,
5120,
12,
3459,
16,
599,
13,
365,
18,
17643,
18,
5120,
12,
3459,
16,
599,
13,
365,
18,
1391,
87,
18,
5120,
12,
3459,
16,
599,
13,
365,
18,
1391,
67,
2107,
67,
8219,
18,
5120,
12,
3459,
16,
599,
13,
365,
18,
2354,
67,
869,
67,
266,
3510,
18,
5120,
12,
3459,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2424,
67,
768,
12,
2890,
16,
1544,
4672,
3536,
3288,
777,
19649,
434,
279,
1084,
585,
316,
326,
13086,
12123,
309,
1544,
316,
365,
18,
454,
67,
2354,
30,
365,
18,
454,
67,
2354,
18,
5120,
12,
3459,
16,
599,
13,
365,
18,
4165,
18,
5120,
12,
3459,
16,
599,
13,
365,
18,
17643,
18,
5120,
12,
3459,
16,
599,
13,
365,
18,
1391,
87,
18,
5120,
12,
3459,
16,
599,
13,
365,
18,
1391,
67,
2107,
67,
8219,
18,
5120,
12,
3459,
16,
599,
13,
365,
18,
2354,
67,
869,
67,
266,
3510,
18,
5120,
12,
3459,
16,
599,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
server._infobase.create()
|
server._infobase.create('openlibrary.org')
|
def run_standalone(): """Run OL in standalone mode. No separate infobase server is required. """ infogami.config.db_parameters = web.config.db_parameters = config.db_parameters config.infobase_server = None web.load() from infogami.infobase import server server._infobase = get_infobase() if '--create' in sys.argv: server._infobase.create() else: infogami.run()
|
4cac3a046702fa3ea13837da305bfec03534c5d3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3913/4cac3a046702fa3ea13837da305bfec03534c5d3/ol.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
67,
10145,
12451,
13332,
3536,
1997,
531,
48,
316,
17676,
1965,
18,
2631,
9004,
1123,
1969,
1438,
353,
1931,
18,
3536,
1123,
75,
26223,
18,
1425,
18,
1966,
67,
3977,
273,
3311,
18,
1425,
18,
1966,
67,
3977,
273,
642,
18,
1966,
67,
3977,
642,
18,
1376,
1969,
67,
3567,
273,
599,
3311,
18,
945,
1435,
225,
628,
1123,
75,
26223,
18,
1376,
1969,
1930,
1438,
1438,
6315,
1376,
1969,
273,
336,
67,
1376,
1969,
1435,
225,
309,
3534,
2640,
11,
316,
2589,
18,
19485,
30,
1438,
6315,
1376,
1969,
18,
2640,
2668,
3190,
12083,
18,
3341,
6134,
469,
30,
1123,
75,
26223,
18,
2681,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
67,
10145,
12451,
13332,
3536,
1997,
531,
48,
316,
17676,
1965,
18,
2631,
9004,
1123,
1969,
1438,
353,
1931,
18,
3536,
1123,
75,
26223,
18,
1425,
18,
1966,
67,
3977,
273,
3311,
18,
1425,
18,
1966,
67,
3977,
273,
642,
18,
1966,
67,
3977,
642,
18,
1376,
1969,
67,
3567,
273,
599,
3311,
18,
945,
1435,
225,
628,
1123,
75,
26223,
18,
1376,
1969,
1930,
1438,
1438,
6315,
1376,
1969,
273,
336,
67,
1376,
1969,
1435,
225,
309,
3534,
2640,
11,
316,
2589,
18,
19485,
30,
1438,
6315,
1376,
1969,
18,
2640,
2668,
3190,
12083,
18,
3341,
6134,
469,
30,
1123,
75,
26223,
18,
2681,
1435,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if not os.path.isdir(os.path.join(directory, 'private/')): if os.path.exists(os.path.join(directory, 'private/')): raise ValueError('%r is not a directory' % os.path.join(directory, 'private/')) os.mkdir(os.path.join(directory, 'private/')) self._show_private = 1 self._cssfile = '../epydoc.css' self._write_docs(os.path.join(directory, 'private/'), progress_callback) self._show_private = 0 self._cssfile = 'epydoc.css'
|
if self._create_private_docs: if not os.path.isdir(os.path.join(directory, 'private/')): if os.path.exists(os.path.join(directory, 'private/')): raise OSError('%r is not a directory' % os.path.join(directory, 'private/')) os.mkdir(os.path.join(directory, 'private/')) if not os.path.isdir(os.path.join(directory, 'public/')): if os.path.exists(os.path.join(directory, 'public/')): raise OSError('%r is not a directory' % os.path.join(directory, 'public/')) os.mkdir(os.path.join(directory, 'public/')) if self._create_private_docs: self._show_private = 0 self._write(os.path.join(directory, 'public/'), progress_callback) self._epytext_cache = {} self._show_private = 1 self._write(os.path.join(directory, 'private/'), progress_callback) else: self._show_private = 0 self._write(directory, progress_callback) def _write(self, directory, progress_callback): """ A helper for L{write} that writes all documentation to a given directory. This is typically called once for the public API documentation, and once for the private API documentation. """
|
def write(self, directory=None, progress_callback=None): """ Write the documentation to the given directory.
|
dd7fc26b7d69af6d4765be2a892edca4603899ee /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/dd7fc26b7d69af6d4765be2a892edca4603899ee/html.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1045,
12,
2890,
16,
1867,
33,
7036,
16,
4007,
67,
3394,
33,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1045,
12,
2890,
16,
1867,
33,
7036,
16,
4007,
67,
3394,
33,
7036,
4672,
3536,
2598,
326,
7323,
358,
326,
864,
1867,
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
] |
def __init__(data = None)
|
def __init__(data = None):
|
def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 943) else quickfix.StringField.__init__(self, 943, data)
|
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
892,
273,
599,
4672,
309,
501,
422,
599,
30,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
2468,
8942,
13,
469,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
2468,
8942,
16,
501,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
892,
273,
599,
4672,
309,
501,
422,
599,
30,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
2468,
8942,
13,
469,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
2468,
8942,
16,
501,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return where(c>0,val,1-val)
|
cond = c + 0*val return where(cond>0,val,1-val)
|
def _cdf(self, x, a, c): val = special.gammainc(a,x**c) return where(c>0,val,1-val)
|
2e1459d7db55ceda99d2149f964d8af198d5f89a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/2e1459d7db55ceda99d2149f964d8af198d5f89a/distributions.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
24799,
12,
2890,
16,
619,
16,
279,
16,
276,
4672,
1244,
273,
4582,
18,
75,
301,
5254,
71,
12,
69,
16,
92,
636,
71,
13,
327,
1625,
12,
71,
34,
20,
16,
1125,
16,
21,
17,
1125,
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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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
op.append(" .. code-block:: text")
|
op.append(".. code-block:: text")
|
def rstout(filename): op=[] op.extend("""
|
f2aa2b26ea886a1268759502721accd342b13755 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/993/f2aa2b26ea886a1268759502721accd342b13755/example2rst.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
13978,
659,
12,
3459,
4672,
1061,
33,
8526,
1061,
18,
14313,
2932,
3660,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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,
14313,
2932,
3660,
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 None
|
return []
|
def collectParameterActions(self): """ collectParameterActions() -> list Return a list of action lists corresponding to each dimension """ if not self.pipeline: return None parameterValues = [[], [], [], []] typeCast = {'Integer': int, 'Float': float, 'String': str} counts = self.label.getCounts() for i in range(self.layout().count()): pEditor = self.layout().itemAt(i).widget() if pEditor and type(pEditor)==QParameterSetEditor: for paramWidget in pEditor.paramWidgets: editor = paramWidget.editor interpolator = editor.stackedEditors.currentWidget() paramInfo = paramWidget.param realType = typeCast[paramInfo[0]] dim = paramWidget.getDimension() if dim in [0, 1, 2, 3]: count = counts[dim] if type(interpolator)==QLinearInterpolationEditor: values = interpolator.getValues(count) if type(interpolator)==QListInterpolationEditor: values = interpolator.getValues() if (len(values)!=count): show_warning('Inconsistent Size', 'One of the <i>%s</i>\'s list ' 'interpolated ' 'values has a different ' 'size from the step count. ' 'Parameter Exploration aborted.' % pEditor.info[0]) return None if type(interpolator)==QUserFunctionEditor: values = interpolator.getValues() if [True for v in values if type(v)!=realType]: show_warning('Inconsistent Size', 'One of the <i>%s</i>\'s user defined ' 'functions has generated ' 'a value of type different ' 'than that specified by the ' 'parameter. Parameter Exploration ' 'aborted.' % pEditor.info[0]) return None (mId, fId, pId) = tuple(paramInfo[2:5]) function = self.pipeline.modules[mId].functions[fId] fName = function.name pName = function.params[pId].name pAlias = function.params[pId].alias actions = [] for v in values: action = ChangeParameterAction() action.addParameter(mId, fId, pId, fName, pName, str(v), paramInfo[0], pAlias) actions.append(action) parameterValues[dim].append(actions) return [zip(*p) for p in parameterValues]
|
a829ae41943653c89bc6e15bbee5fa4812b5311b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6341/a829ae41943653c89bc6e15bbee5fa4812b5311b/pe_table.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3274,
1662,
6100,
12,
2890,
4672,
3536,
3274,
1662,
6100,
1435,
317,
666,
2000,
279,
666,
434,
1301,
6035,
4656,
358,
1517,
4968,
225,
3536,
309,
486,
365,
18,
14511,
30,
327,
5378,
1569,
1972,
273,
12167,
6487,
5378,
16,
5378,
16,
5378,
65,
618,
9735,
273,
13666,
4522,
4278,
509,
16,
296,
4723,
4278,
1431,
16,
296,
780,
4278,
609,
97,
6880,
273,
365,
18,
1925,
18,
588,
9211,
1435,
364,
277,
316,
1048,
12,
2890,
18,
6741,
7675,
1883,
1435,
4672,
293,
6946,
273,
365,
18,
6741,
7675,
1726,
861,
12,
77,
2934,
6587,
1435,
309,
293,
6946,
471,
618,
12,
84,
6946,
13,
631,
53,
1662,
694,
6946,
30,
364,
579,
4609,
316,
293,
6946,
18,
891,
16166,
30,
4858,
273,
579,
4609,
18,
9177,
7326,
639,
273,
4858,
18,
3772,
329,
4666,
1383,
18,
2972,
4609,
1435,
579,
966,
273,
579,
4609,
18,
891,
2863,
559,
273,
618,
9735,
63,
891,
966,
63,
20,
13563,
2464,
273,
579,
4609,
18,
588,
8611,
1435,
309,
2464,
316,
306,
20,
16,
404,
16,
576,
16,
890,
14542,
1056,
273,
6880,
63,
3509,
65,
309,
618,
12,
18676,
639,
13,
631,
53,
15982,
31516,
6946,
30,
924,
273,
7326,
639,
18,
588,
1972,
12,
1883,
13,
309,
618,
12,
18676,
639,
13,
631,
53,
682,
31516,
6946,
30,
924,
273,
7326,
639,
18,
588,
1972,
1435,
309,
261,
1897,
12,
2372,
13,
5,
33,
1883,
4672,
2405,
67,
8551,
2668,
382,
16952,
6321,
2187,
296,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3274,
1662,
6100,
12,
2890,
4672,
3536,
3274,
1662,
6100,
1435,
317,
666,
2000,
279,
666,
434,
1301,
6035,
4656,
358,
1517,
4968,
225,
3536,
309,
486,
365,
18,
14511,
30,
327,
5378,
1569,
1972,
273,
12167,
6487,
5378,
16,
5378,
16,
5378,
65,
618,
9735,
273,
13666,
4522,
4278,
509,
16,
296,
4723,
4278,
1431,
16,
296,
780,
4278,
609,
97,
6880,
273,
365,
18,
1925,
18,
588,
9211,
1435,
364,
277,
316,
1048,
12,
2890,
18,
6741,
7675,
1883,
1435,
4672,
293,
6946,
273,
365,
18,
6741,
7675,
1726,
861,
12,
77,
2934,
6587,
1435,
309,
293,
6946,
471,
618,
12,
84,
6946,
13,
631,
53,
1662,
694,
6946,
30,
364,
579,
4609,
316,
293,
6946,
2
] |
ret=os.system("ping -c 1 www.dream-multimedia-tv.de") if ret == 0:
|
ok_counter = 0 ret1=os.system("ping -c 1 www.dream-multimedia-tv.de") if ret1 != 0: ok_counter = ok_counter + 1 ret2=os.system("ping -c 1 www.heise.de") if ret2 != 0: ok_counter = ok_counter + 1 ret3=os.system("ping -c 1 www.google.de") if ret2 != 0: ok_counter = ok_counter + 1 if ok_counter == 0:
|
def checkNetworkState(self): ret=os.system("ping -c 1 www.dream-multimedia-tv.de") if ret == 0: return True else: return False
|
90916ed5481cd1d0a68985033043005143c42c60 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6652/90916ed5481cd1d0a68985033043005143c42c60/Network.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
3906,
1119,
12,
2890,
4672,
1529,
67,
7476,
273,
374,
325,
21,
33,
538,
18,
4299,
2932,
1382,
300,
71,
404,
8765,
18,
72,
793,
17,
5421,
381,
1980,
17,
24161,
18,
323,
7923,
309,
325,
21,
480,
374,
30,
1529,
67,
7476,
273,
1529,
67,
7476,
397,
404,
325,
22,
33,
538,
18,
4299,
2932,
1382,
300,
71,
404,
8765,
18,
580,
784,
18,
323,
7923,
309,
325,
22,
480,
374,
30,
1529,
67,
7476,
273,
1529,
67,
7476,
397,
404,
325,
23,
33,
538,
18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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
3906,
1119,
12,
2890,
4672,
1529,
67,
7476,
273,
374,
325,
21,
33,
538,
18,
4299,
2932,
1382,
300,
71,
404,
8765,
18,
72,
793,
17,
5421,
381,
1980,
17,
24161,
18,
323,
7923,
309,
325,
21,
480,
374,
30,
1529,
67,
7476,
273,
1529,
67,
7476,
397,
404,
325,
22,
33,
538,
18,
4299,
2932,
1382,
300,
71,
404,
8765,
18,
580,
784,
18,
323,
7923,
309,
325,
22,
480,
374,
30,
1529,
67,
7476,
273,
1529,
67,
7476,
397,
404,
325,
23,
33,
538,
18,
4299,
2932,
1382,
300,
71,
404,
8765,
18,
9536,
18,
323,
7923,
309,
325,
22,
480,
374,
30,
1529,
67,
7476,
273,
1529,
67,
7476,
397,
404,
309,
1529,
67,
2
] |
yield ('ticket_details', _('Ticket updates'), False)
|
yield ('ticket_details', _("Ticket updates"), False)
|
def get_timeline_filters(self, req): if 'TICKET_VIEW' in req.perm: yield ('ticket', _('Opened and closed tickets')) if self.timeline_details: yield ('ticket_details', _('Ticket updates'), False)
|
8a7505f666e8590328936fd32f0bc362d6e2a6a0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2831/8a7505f666e8590328936fd32f0bc362d6e2a6a0/web_ui.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
26237,
67,
6348,
12,
2890,
16,
1111,
4672,
309,
296,
56,
16656,
1584,
67,
12145,
11,
316,
1111,
18,
12160,
30,
2824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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,
336,
67,
26237,
67,
6348,
12,
2890,
16,
1111,
4672,
309,
296,
56,
16656,
1584,
67,
12145,
11,
316,
1111,
18,
12160,
30,
2824,
7707,
16282,
2187,
389,
2668,
23115,
471,
4375,
24475,
26112,
309,
365,
18,
26237,
67,
6395,
30,
2824,
7707,
16282,
67,
6395,
2187,
389,
2668,
13614,
4533,
19899,
1083,
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
] |
'of table %s not null!' % \
|
'of table %s!' % \
|
def alter_type(self, column_name, column_type): logging.getLogger('init').warning( 'Unable to alter type of column %s ' \ 'of table %s not null!' % \ (column_name, self.table_name))
|
e86ab8a32a130b94fd5fcc848156ec03aa444179 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9266/e86ab8a32a130b94fd5fcc848156ec03aa444179/table.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10182,
67,
723,
12,
2890,
16,
1057,
67,
529,
16,
1057,
67,
723,
4672,
2907,
18,
588,
3328,
2668,
2738,
16063,
8551,
12,
296,
3370,
358,
10182,
618,
434,
1057,
738,
87,
296,
521,
296,
792,
1014,
738,
87,
5124,
738,
521,
261,
2827,
67,
529,
16,
365,
18,
2121,
67,
529,
3719,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
10182,
67,
723,
12,
2890,
16,
1057,
67,
529,
16,
1057,
67,
723,
4672,
2907,
18,
588,
3328,
2668,
2738,
16063,
8551,
12,
296,
3370,
358,
10182,
618,
434,
1057,
738,
87,
296,
521,
296,
792,
1014,
738,
87,
5124,
738,
521,
261,
2827,
67,
529,
16,
365,
18,
2121,
67,
529,
3719,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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.sngl_burst_table = table.get_table(xmldoc, lsctables.SnglBurstTable.tableName)
|
try: self.sngl_burst_table = table.get_table(xmldoc, lsctables.SnglBurstTable.tableName) except ValueError: self.sngl_burst_table = None
|
def summarize(self, xmldoc, live_time_program, verbose = False): """ Compute and record some summary information about the database. Call this after all the data has been inserted, and before you want any of this information. """ cursor = self.connection.cursor()
|
85c425461e0928b16bdba8c9a1e71290a886f81e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5758/85c425461e0928b16bdba8c9a1e71290a886f81e/SnglBurstUtils.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
28712,
12,
2890,
16,
2025,
2434,
16,
8429,
67,
957,
67,
12890,
16,
3988,
273,
1083,
4672,
3536,
8155,
471,
1409,
2690,
4916,
1779,
2973,
326,
2063,
18,
225,
3049,
333,
1839,
777,
326,
501,
711,
2118,
9564,
16,
471,
1865,
1846,
2545,
1281,
434,
333,
1779,
18,
3536,
3347,
273,
365,
18,
4071,
18,
9216,
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,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,
3536,
8155,
471,
1409,
2690,
4916,
1779,
2973,
326,
2063,
18,
225,
3049,
333,
1839,
777,
326,
501,
711,
2118,
9564,
16,
471,
1865,
1846,
2545,
1281,
434,
333,
1779,
18,
3536,
3347,
273,
365,
18,
4071,
18,
9216,
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
] |
self._update(0)
|
self.title(title) self.set(0, maxval)
|
def __init__(self, title="Working...", maxval=100, label="", id=263): self.w = None self.d = None self.maxval = maxval self.curval = -1 self.d = GetNewDialog(id, -1) self.w = self.d.GetDialogWindow() self.label(label) self._update(0) self.d.AutoSizeDialog() self.title(title) self.w.ShowWindow() self.d.DrawDialog()
|
b48dea14d8bf7cc4ae844d70574494af7a698ddb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/b48dea14d8bf7cc4ae844d70574494af7a698ddb/EasyDialogs.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2077,
1546,
14836,
7070,
16,
30443,
33,
6625,
16,
1433,
1546,
3113,
612,
33,
22,
4449,
4672,
365,
18,
91,
273,
599,
365,
18,
72,
273,
599,
365,
18,
1896,
1125,
273,
30443,
365,
18,
1397,
1125,
273,
300,
21,
365,
18,
72,
273,
968,
1908,
6353,
12,
350,
16,
300,
21,
13,
365,
18,
91,
273,
365,
18,
72,
18,
967,
6353,
3829,
1435,
365,
18,
1925,
12,
1925,
13,
365,
18,
2649,
12,
2649,
13,
365,
18,
542,
12,
20,
16,
30443,
13,
365,
18,
72,
18,
4965,
1225,
6353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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2077,
1546,
14836,
7070,
16,
30443,
33,
6625,
16,
1433,
1546,
3113,
612,
33,
22,
4449,
4672,
365,
18,
91,
273,
599,
365,
18,
72,
273,
599,
365,
18,
1896,
1125,
273,
30443,
365,
18,
1397,
1125,
273,
300,
21,
365,
18,
72,
273,
968,
1908,
6353,
12,
350,
16,
300,
21,
13,
365,
18,
91,
273,
365,
18,
72,
18,
967,
6353,
3829,
1435,
365,
18,
1925,
12,
1925,
13,
365,
18,
2649,
12,
2649,
13,
365,
18,
542,
12,
20,
16,
30443,
13,
365,
18,
72,
18,
4965,
1225,
6353,
1435,
365,
18,
2649,
12,
2649,
13,
365,
18,
91,
18,
5706,
3829,
1435,
365,
18,
72,
18,
6493,
6353,
2
] |
self.outputURL = self.ceParameters['OutputURL'] self.gridEnv = self.ceParameters['GridEnv'] def submitJob( self, executableFile, proxy, numberOfJobs=1 ):
|
self.outputURL = self.ceParameters['OutputURL'] self.gridEnv = self.ceParameters['GridEnv'] def submitJob( self, executableFile, proxy, numberOfJobs = 1 ):
|
def reset(self): self.queue = self.ceParameters['Queue'] self.outputURL = self.ceParameters['OutputURL'] self.gridEnv = self.ceParameters['GridEnv']
|
45afa08b7552c5b79d1cfd9cac53e65115f5e15a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/45afa08b7552c5b79d1cfd9cac53e65115f5e15a/CREAMComputingElement.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2715,
12,
2890,
4672,
365,
18,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2715,
12,
2890,
4672,
365,
18,
4000,
273,
365,
18,
311,
2402,
3292,
3183,
3546,
365,
18,
2844,
1785,
273,
365,
18,
311,
2402,
3292,
1447,
1785,
3546,
365,
18,
5222,
3491,
273,
365,
18,
311,
2402,
3292,
6313,
3491,
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,
-100
] |
self.hboxlayout17.addWidget(self.cpk_atom_rad_spinbox) spacerItem17 = QtGui.QSpacerItem(16,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) self.hboxlayout17.addItem(spacerItem17) self.vboxlayout10.addLayout(self.hboxlayout17) self.hboxlayout18 = QtGui.QHBoxLayout() self.hboxlayout18.setMargin(0) self.hboxlayout18.setSpacing(6) self.hboxlayout18.setObjectName("hboxlayout18")
|
self.hboxlayout20.addWidget(self.cpk_atom_rad_spinbox) spacerItem19 = QtGui.QSpacerItem(16,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) self.hboxlayout20.addItem(spacerItem19) self.vboxlayout10.addLayout(self.hboxlayout20) self.hboxlayout21 = QtGui.QHBoxLayout() self.hboxlayout21.setMargin(0) self.hboxlayout21.setSpacing(6) self.hboxlayout21.setObjectName("hboxlayout21")
|
def setupUi(self, UserPrefsDialog): UserPrefsDialog.setObjectName("UserPrefsDialog") UserPrefsDialog.resize(QtCore.QSize(QtCore.QRect(0,0,609,642).size()).expandedTo(UserPrefsDialog.minimumSizeHint()))
|
30deb2219e016847d91b37e801c50b75fbd1c3cf /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/30deb2219e016847d91b37e801c50b75fbd1c3cf/UserPrefsDialog.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3875,
13943,
12,
2890,
16,
2177,
1386,
2556,
6353,
4672,
2177,
1386,
2556,
6353,
18,
542,
16707,
2932,
1299,
1386,
2556,
6353,
7923,
2177,
1386,
2556,
6353,
18,
15169,
12,
23310,
4670,
18,
53,
1225,
12,
23310,
4670,
18,
53,
6120,
12,
20,
16,
20,
16,
4848,
29,
16,
1105,
22,
2934,
1467,
1435,
2934,
17336,
774,
12,
1299,
1386,
2556,
6353,
18,
15903,
1225,
7002,
1435,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3875,
13943,
12,
2890,
16,
2177,
1386,
2556,
6353,
4672,
2177,
1386,
2556,
6353,
18,
542,
16707,
2932,
1299,
1386,
2556,
6353,
7923,
2177,
1386,
2556,
6353,
18,
15169,
12,
23310,
4670,
18,
53,
1225,
12,
23310,
4670,
18,
53,
6120,
12,
20,
16,
20,
16,
4848,
29,
16,
1105,
22,
2934,
1467,
1435,
2934,
17336,
774,
12,
1299,
1386,
2556,
6353,
18,
15903,
1225,
7002,
1435,
3719,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if checksum == md5_string(data):
|
if checksum == self.md5_string(data):
|
def md5_check(file, checksum): data = open(file, 'rb') #local = md5_string(data) if checksum == md5_string(data): return True return False
|
43ad714260de26301e9353209005b0a6d420abe3 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12499/43ad714260de26301e9353209005b0a6d420abe3/pypt_core.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3481,
25,
67,
1893,
12,
768,
16,
6697,
4672,
501,
273,
1696,
12,
768,
16,
296,
6731,
6134,
468,
3729,
273,
3481,
25,
67,
1080,
12,
892,
13,
309,
6697,
422,
365,
18,
1264,
25,
67,
1080,
12,
892,
4672,
327,
1053,
327,
1083,
225,
2,
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,
3481,
25,
67,
1893,
12,
768,
16,
6697,
4672,
501,
273,
1696,
12,
768,
16,
296,
6731,
6134,
468,
3729,
273,
3481,
25,
67,
1080,
12,
892,
13,
309,
6697,
422,
365,
18,
1264,
25,
67,
1080,
12,
892,
4672,
327,
1053,
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,
-100,
-100,
-100,
-100,
-100,
-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 menu in ['add', 'replace', 'add2', 'replace2', 'rm', 'rename']:
|
for menu in ['add', 'replace', 'playafter', 'rm', 'rename']:
|
def update_menu_visibility(self, show_songinfo_only=False): if show_songinfo_only or not self.expanded: for menu in ['add', 'replace', 'add2', 'replace2', 'rename', 'rm', 'pl', \ 'remove', 'clear', 'update', 'new', 'edit', 'sort', 'tag']: self.UIManager.get_widget('/mainmenu/' + menu + 'menu/').hide() return elif self.current_tab == self.TAB_CURRENT: if len(self.currentdata) > 0: if self.current_selection.count_selected_rows() > 0: for menu in ['remove', 'tag']: self.UIManager.get_widget('/mainmenu/' + menu + 'menu/').show() else: for menu in ['remove', 'tag']: self.UIManager.get_widget('/mainmenu/' + menu + 'menu/').hide() if not self.filterbox_visible: for menu in ['clear', 'pl', 'sort']: self.UIManager.get_widget('/mainmenu/' + menu + 'menu/').show() else: for menu in ['clear', 'pl', 'sort']: self.UIManager.get_widget('/mainmenu/' + menu + 'menu/').hide() else: for menu in ['clear', 'pl', 'sort', 'remove', 'tag']: self.UIManager.get_widget('/mainmenu/' + menu + 'menu/').hide() for menu in ['add', 'replace', 'add2', 'replace2', 'rename', 'rm', \ 'update', 'new', 'edit']: self.UIManager.get_widget('/mainmenu/' + menu + 'menu/').hide() elif self.current_tab == self.TAB_LIBRARY: self.UIManager.get_widget('/mainmenu/updatemenu/').show() if len(self.browserdata) > 0: if self.browser_selection.count_selected_rows() > 0: for menu in ['add', 'replace', 'add2', 'replace2', 'tag']: self.UIManager.get_widget('/mainmenu/' + menu + 'menu/').show() else: for menu in ['add', 'replace', 'add2', 'replace2', 'tag']: self.UIManager.get_widget('/mainmenu/' + menu + 'menu/').hide() else: for menu in ['add', 'replace', 'add2', 'replace2', 'tag']: self.UIManager.get_widget('/mainmenu/' + menu + 'menu/').hide() for menu in ['remove', 'clear', 'pl', 'rename', 'rm', 'new', 'edit', 'sort']: self.UIManager.get_widget('/mainmenu/' + menu + 'menu/').hide() elif self.current_tab == self.TAB_PLAYLISTS: if self.playlists_selection.count_selected_rows() > 0: for menu in ['add', 'replace', 'add2', 'replace2', 'rm']: self.UIManager.get_widget('/mainmenu/' + menu + 'menu/').show() if self.playlists_selection.count_selected_rows() == 1 and self.mpd_major_version() >= 0.13: self.UIManager.get_widget('/mainmenu/renamemenu/').show() else: self.UIManager.get_widget('/mainmenu/renamemenu/').hide() else: for menu in ['add', 'replace', 'add2', 'replace2', 'rm', 'rename']: self.UIManager.get_widget('/mainmenu/' + menu + 'menu/').hide() for menu in ['remove', 'clear', 'pl', 'update', 'new', 'edit', 'sort']: self.UIManager.get_widget('/mainmenu/' + menu + 'menu/').hide() elif self.current_tab == self.TAB_STREAMS: self.UIManager.get_widget('/mainmenu/newmenu/').show() if self.streams_selection.count_selected_rows() > 0: if self.streams_selection.count_selected_rows() == 1: self.UIManager.get_widget('/mainmenu/editmenu/').show() else: self.UIManager.get_widget('/mainmenu/editmenu/').hide() for menu in ['add', 'replace', 'add2', 'replace2', 'rm']: self.UIManager.get_widget('/mainmenu/' + menu + 'menu/').show() else: for menu in ['add', 'replace', 'add2', 'replace2', 'rm']: self.UIManager.get_widget('/mainmenu/' + menu + 'menu/').hide() for menu in ['rename', 'remove', 'clear', 'pl', 'update', 'sort', 'tag']: self.UIManager.get_widget('/mainmenu/' + menu + 'menu/').hide()
|
b33877e05a3757e7c9cef00e0e41779cddbb5424 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2312/b33877e05a3757e7c9cef00e0e41779cddbb5424/main.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
67,
5414,
67,
14422,
12,
2890,
16,
2405,
67,
816,
75,
1376,
67,
3700,
33,
8381,
4672,
309,
2405,
67,
816,
75,
1376,
67,
3700,
578,
486,
365,
18,
17336,
30,
364,
3824,
316,
10228,
1289,
2187,
296,
2079,
2187,
296,
1289,
22,
2187,
296,
2079,
22,
2187,
296,
18539,
2187,
296,
8864,
2187,
296,
412,
2187,
521,
296,
4479,
2187,
296,
8507,
2187,
296,
2725,
2187,
296,
2704,
2187,
296,
4619,
2187,
296,
3804,
2187,
296,
2692,
3546,
30,
365,
18,
5370,
1318,
18,
588,
67,
6587,
2668,
19,
5254,
5414,
2473,
397,
3824,
397,
296,
5414,
2473,
2934,
11248,
1435,
327,
1327,
365,
18,
2972,
67,
7032,
422,
365,
18,
28899,
67,
15487,
30,
309,
562,
12,
2890,
18,
2972,
892,
13,
405,
374,
30,
309,
365,
18,
2972,
67,
10705,
18,
1883,
67,
8109,
67,
3870,
1435,
405,
374,
30,
364,
3824,
316,
10228,
4479,
2187,
296,
2692,
3546,
30,
365,
18,
5370,
1318,
18,
588,
67,
6587,
2668,
19,
5254,
5414,
2473,
397,
3824,
397,
296,
5414,
2473,
2934,
4500,
1435,
469,
30,
364,
3824,
316,
10228,
4479,
2187,
296,
2692,
3546,
30,
365,
18,
5370,
1318,
18,
588,
67,
6587,
2668,
19,
5254,
5414,
2473,
397,
3824,
397,
296,
5414,
2473,
2934,
11248,
1435,
309,
486,
365,
18,
2188,
2147,
67,
8613,
30,
364,
3824,
316,
10228,
8507,
2187,
296,
412,
2187,
296,
3804,
3546,
30,
365,
18,
5370,
1318,
18,
588,
67,
6587,
2668,
19,
5254,
5414,
2473,
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,
1089,
67,
5414,
67,
14422,
12,
2890,
16,
2405,
67,
816,
75,
1376,
67,
3700,
33,
8381,
4672,
309,
2405,
67,
816,
75,
1376,
67,
3700,
578,
486,
365,
18,
17336,
30,
364,
3824,
316,
10228,
1289,
2187,
296,
2079,
2187,
296,
1289,
22,
2187,
296,
2079,
22,
2187,
296,
18539,
2187,
296,
8864,
2187,
296,
412,
2187,
521,
296,
4479,
2187,
296,
8507,
2187,
296,
2725,
2187,
296,
2704,
2187,
296,
4619,
2187,
296,
3804,
2187,
296,
2692,
3546,
30,
365,
18,
5370,
1318,
18,
588,
67,
6587,
2668,
19,
5254,
5414,
2473,
397,
3824,
397,
296,
5414,
2473,
2934,
11248,
1435,
327,
1327,
365,
18,
2972,
67,
7032,
422,
365,
18,
28899,
67,
15487,
30,
309,
2
] |
if not uid:
|
if uid is None:
|
def edit_event_form(self, context): uid = context.get_form_value('uid', None) # Method method = context.get_cookie('method') or 'monthly_view' goto = ';%s' % method
|
81410a9b1179862fa87ae58e8b1f34f2f6d9a1a4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12681/81410a9b1179862fa87ae58e8b1f34f2f6d9a1a4/ical.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3874,
67,
2575,
67,
687,
12,
2890,
16,
819,
4672,
4555,
273,
819,
18,
588,
67,
687,
67,
1132,
2668,
1911,
2187,
599,
13,
468,
2985,
707,
273,
819,
18,
588,
67,
8417,
2668,
2039,
6134,
578,
296,
7496,
715,
67,
1945,
11,
2897,
273,
12386,
9,
87,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3874,
67,
2575,
67,
687,
12,
2890,
16,
819,
4672,
4555,
273,
819,
18,
588,
67,
687,
67,
1132,
2668,
1911,
2187,
599,
13,
468,
2985,
707,
273,
819,
18,
588,
67,
8417,
2668,
2039,
6134,
578,
296,
7496,
715,
67,
1945,
11,
2897,
273,
12386,
9,
87,
11,
738,
707,
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
] |
archs=RebuilddConfig().get('build', 'archs').split(' '), \
|
archs=RebuilddConfig().arch, \
|
def GET(self, dist, arch=None): jobs = [] jobs.extend(Job.select(sqlobject.AND(Job.q.arch == arch, Job.q.dist == dist), orderBy=sqlobject.DESC(Job.q.creation_date))[:10]) print render.base(page=render.tab(jobs=jobs), \ arch=arch, \ dist=dist, \ title="%s/%s" % (dist, arch), \ hostname=socket.gethostname(), \ archs=RebuilddConfig().get('build', 'archs').split(' '), \ dists=RebuilddConfig().get('build', 'dists').split(' '))
|
500a29fd72ab479c197319edd219621978c64719 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5334/500a29fd72ab479c197319edd219621978c64719/RebuilddHTTPServer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4978,
12,
2890,
16,
2411,
16,
6637,
33,
7036,
4672,
6550,
273,
5378,
6550,
18,
14313,
12,
2278,
18,
4025,
12,
11410,
383,
489,
18,
4307,
12,
2278,
18,
85,
18,
991,
422,
6637,
16,
3956,
18,
85,
18,
4413,
422,
2411,
3631,
5278,
33,
11410,
383,
489,
18,
10964,
12,
2278,
18,
85,
18,
17169,
67,
712,
3719,
10531,
2163,
5717,
1172,
1743,
18,
1969,
12,
2433,
33,
5902,
18,
7032,
12,
10088,
33,
10088,
3631,
521,
6637,
33,
991,
16,
521,
2411,
33,
4413,
16,
521,
2077,
11613,
87,
5258,
87,
6,
738,
261,
4413,
16,
6637,
3631,
521,
5199,
33,
7814,
18,
75,
546,
669,
529,
9334,
521,
6637,
87,
33,
426,
70,
89,
330,
449,
809,
7675,
991,
16,
521,
16871,
33,
426,
70,
89,
330,
449,
809,
7675,
588,
2668,
3510,
2187,
296,
30467,
16063,
4939,
2668,
296,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4978,
12,
2890,
16,
2411,
16,
6637,
33,
7036,
4672,
6550,
273,
5378,
6550,
18,
14313,
12,
2278,
18,
4025,
12,
11410,
383,
489,
18,
4307,
12,
2278,
18,
85,
18,
991,
422,
6637,
16,
3956,
18,
85,
18,
4413,
422,
2411,
3631,
5278,
33,
11410,
383,
489,
18,
10964,
12,
2278,
18,
85,
18,
17169,
67,
712,
3719,
10531,
2163,
5717,
1172,
1743,
18,
1969,
12,
2433,
33,
5902,
18,
7032,
12,
10088,
33,
10088,
3631,
521,
6637,
33,
991,
16,
521,
2411,
33,
4413,
16,
521,
2077,
11613,
87,
5258,
87,
6,
738,
261,
4413,
16,
6637,
3631,
521,
5199,
33,
7814,
18,
75,
546,
669,
529,
9334,
521,
6637,
87,
33,
426,
70,
89,
330,
2
] |
Route53Request.delete(rrset)
|
APIRequest.delete(rrset)
|
def handle_update(self, msg): """Process an update message."""
|
2b2b5839b23008a8980ab8eeeca606297c51c416 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4157/2b2b5839b23008a8980ab8eeeca606297c51c416/route53d.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1640,
67,
2725,
12,
2890,
16,
1234,
4672,
3536,
2227,
392,
1089,
883,
12123,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
surface = self.getSurfaceFromSvg(svgShape, width, height)
|
def digAHole (self, svgShape, width, height): surface = self.getSurfaceFromSvg(svgShape, width, height) mask = gtk.gdk.Pixmap(None, width, height, 1) mcontext = mask.cairo_create() mcontext.set_source_surface(surface, 0, 0) mcontext.paint() if self.is_composited(): self.window.input_shape_combine_mask(mask, 0, 0) else: self.window.shape_combine_mask(mask, 0, 0)
|
9079ab1e444e5a86e419aedbc06569f6e7a18773 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5339/9079ab1e444e5a86e419aedbc06569f6e7a18773/OverlayWindow.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3097,
37,
29501,
261,
2890,
16,
9804,
8500,
16,
1835,
16,
2072,
4672,
282,
3066,
273,
22718,
18,
75,
2883,
18,
21816,
1458,
12,
7036,
16,
1835,
16,
2072,
16,
404,
13,
312,
2472,
273,
3066,
18,
5353,
11373,
67,
2640,
1435,
312,
2472,
18,
542,
67,
3168,
67,
18266,
12,
18266,
16,
374,
16,
374,
13,
312,
2472,
18,
84,
1598,
1435,
309,
365,
18,
291,
67,
832,
1724,
329,
13332,
365,
18,
5668,
18,
2630,
67,
4867,
67,
14082,
67,
4455,
12,
4455,
16,
374,
16,
374,
13,
469,
30,
365,
18,
5668,
18,
4867,
67,
14082,
67,
4455,
12,
4455,
16,
374,
16,
374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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3097,
37,
29501,
261,
2890,
16,
9804,
8500,
16,
1835,
16,
2072,
4672,
282,
3066,
273,
22718,
18,
75,
2883,
18,
21816,
1458,
12,
7036,
16,
1835,
16,
2072,
16,
404,
13,
312,
2472,
273,
3066,
18,
5353,
11373,
67,
2640,
1435,
312,
2472,
18,
542,
67,
3168,
67,
18266,
12,
18266,
16,
374,
16,
374,
13,
312,
2472,
18,
84,
1598,
1435,
309,
365,
18,
291,
67,
832,
1724,
329,
13332,
365,
18,
5668,
18,
2630,
67,
4867,
67,
14082,
67,
4455,
12,
4455,
16,
374,
16,
374,
13,
469,
30,
365,
18,
5668,
18,
4867,
67,
14082,
67,
4455,
12,
4455,
16,
374,
16,
374,
13,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
for (rev, node, node_index, edges, n_columns, n_columns_diff) in grapher:
|
for (node_ch, node_lines, node_index, edges, n_columns, n_columns_diff) in grapher:
|
def graphlog(ui, repo, path=None, **opts): """show revision history alongside an ASCII revision graph Print a revision history alongside a revision graph drawn with ASCII characters. Nodes printed as an @ character are parents of the working directory. """ limit = get_limit(opts["limit"]) (start_rev, stop_rev) = get_revs(repo, opts["rev"]) stop_rev = max(stop_rev, start_rev - limit + 1) if start_rev == nullrev: return cs_printer = show_changeset(ui, repo, opts) if path: path = canonpath(repo.root, os.getcwd(), path) if path: grapher = filelog_grapher(repo, path, start_rev, stop_rev) else: grapher = revision_grapher(repo, start_rev, stop_rev) repo_parents = repo.dirstate.parents() prev_n_columns_diff = 0 prev_node_index = 0 for (rev, node, node_index, edges, n_columns, n_columns_diff) in grapher: # node_lines is the list of all text lines to draw alongside the graph ui.pushbuffer() cs_printer.show(rev, node) node_lines = ui.popbuffer().split("\n")[:-1] if n_columns_diff == -1: # Transform # # | | | | | | # o | | into o---+ # |X / |/ / # | | | | fix_long_right_edges(edges) # add_padding_line says whether to rewrite # # | | | | | | | | # | o---+ into | o---+ # | / / | | | # <--- padding line # o | | | / / # o | | add_padding_line = (len(node_lines) > 2 and n_columns_diff == -1 and [x for (x, y) in edges if x + 1 < y]) # fix_nodeline_tail says whether to rewrite # # | | o | | | | o | | # | | |/ / | | |/ / # | o | | into | o / / # <--- fixed nodeline tail # | |/ / | |/ / # o | | o | | fix_nodeline_tail = len(node_lines) <= 2 and not add_padding_line # nodeline is the line containing the node character (typically o) nodeline = ["|", " "] * node_index if node in repo_parents: node_ch = "@" else: node_ch = "o" nodeline.extend([node_ch, " "]) nodeline.extend( get_nodeline_edges_tail( node_index, prev_node_index, n_columns, n_columns_diff, prev_n_columns_diff, fix_nodeline_tail)) # shift_interline is the line containing the non-vertical # edges between this entry and the next shift_interline = ["|", " "] * node_index if n_columns_diff == -1: n_spaces = 1 edge_ch = "/" elif n_columns_diff == 0: n_spaces = 2 edge_ch = "|" else: n_spaces = 3 edge_ch = "\\" shift_interline.extend(n_spaces * [" "]) shift_interline.extend([edge_ch, " "] * (n_columns - node_index - 1)) # draw edges from the current node to its parents draw_edges(edges, nodeline, shift_interline) # lines is the list of all graph lines to print lines = [nodeline] if add_padding_line: lines.append(get_padding_line(node_index, n_columns, edges)) lines.append(shift_interline) # make sure that there are as many graph lines as there are # log strings while len(node_lines) < len(lines): node_lines.append("") if len(lines) < len(node_lines): extra_interline = ["|", " "] * (n_columns + n_columns_diff) while len(lines) < len(node_lines): lines.append(extra_interline) # print lines indentation_level = max(n_columns, n_columns + n_columns_diff) for (line, logstr) in zip(lines, node_lines): ui.write(format_line(line, indentation_level, logstr)) # ... and start over prev_node_index = node_index prev_n_columns_diff = n_columns_diff
|
6c1ea40bc8e1e0318abcf98785e0ee292ed8d237 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11312/6c1ea40bc8e1e0318abcf98785e0ee292ed8d237/graphlog.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2667,
1330,
12,
4881,
16,
3538,
16,
589,
33,
7036,
16,
2826,
4952,
4672,
3536,
4500,
6350,
4927,
524,
7260,
831,
392,
11768,
6350,
2667,
225,
3038,
279,
6350,
4927,
524,
7260,
831,
279,
6350,
2667,
19377,
598,
11768,
3949,
18,
225,
14037,
14099,
487,
392,
632,
3351,
854,
6298,
434,
326,
5960,
1867,
18,
3536,
225,
1800,
273,
336,
67,
3595,
12,
4952,
9614,
3595,
6,
5717,
261,
1937,
67,
9083,
16,
2132,
67,
9083,
13,
273,
336,
67,
266,
6904,
12,
7422,
16,
1500,
9614,
9083,
6,
5717,
2132,
67,
9083,
273,
943,
12,
5681,
67,
9083,
16,
787,
67,
9083,
300,
1800,
397,
404,
13,
309,
787,
67,
9083,
422,
446,
9083,
30,
327,
2873,
67,
30439,
273,
2405,
67,
6329,
278,
12,
4881,
16,
3538,
16,
1500,
13,
309,
589,
30,
589,
273,
29147,
803,
12,
7422,
18,
3085,
16,
1140,
18,
588,
11089,
9334,
589,
13,
309,
589,
30,
2667,
264,
273,
661,
12970,
67,
4660,
264,
12,
7422,
16,
589,
16,
787,
67,
9083,
16,
2132,
67,
9083,
13,
469,
30,
2667,
264,
273,
6350,
67,
4660,
264,
12,
7422,
16,
787,
67,
9083,
16,
2132,
67,
9083,
13,
3538,
67,
12606,
273,
3538,
18,
72,
920,
340,
18,
12606,
1435,
2807,
67,
82,
67,
5112,
67,
5413,
273,
374,
2807,
67,
2159,
67,
1615,
273,
374,
364,
261,
2159,
67,
343,
16,
756,
67,
3548,
16,
756,
67,
1615,
16,
5231,
16,
290,
67,
5112,
16,
290,
67,
5112,
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,
2667,
1330,
12,
4881,
16,
3538,
16,
589,
33,
7036,
16,
2826,
4952,
4672,
3536,
4500,
6350,
4927,
524,
7260,
831,
392,
11768,
6350,
2667,
225,
3038,
279,
6350,
4927,
524,
7260,
831,
279,
6350,
2667,
19377,
598,
11768,
3949,
18,
225,
14037,
14099,
487,
392,
632,
3351,
854,
6298,
434,
326,
5960,
1867,
18,
3536,
225,
1800,
273,
336,
67,
3595,
12,
4952,
9614,
3595,
6,
5717,
261,
1937,
67,
9083,
16,
2132,
67,
9083,
13,
273,
336,
67,
266,
6904,
12,
7422,
16,
1500,
9614,
9083,
6,
5717,
2132,
67,
9083,
273,
943,
12,
5681,
67,
9083,
16,
787,
67,
9083,
300,
1800,
397,
404,
13,
309,
787,
67,
9083,
422,
446,
9083,
30,
327,
2873,
2
] |
<tbody>'''
|
<tbody><tr><td><b>Rack : ''', rack,'''</b></td></tr>'''
|
def printRackViewHTML(rack, servers, buffer): '''Print out all the servers in the specified rack''' print >> buffer, ''' <div class="floatleft"> <table class="network-status-table" cellspacing="0" cellpadding="0.1em" summary="Status of nodes in the rack ''', rack, ''' "> <tbody>''' count = 0 for s in servers: s.printHTML(buffer, count) count = count + 1 print >> buffer, '''</tbody></table></div>'''
|
32c54edb8ba55a2c779c156bdab4b93431fb0173 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4466/32c54edb8ba55a2c779c156bdab4b93431fb0173/kfsstatus.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1172,
54,
484,
1767,
4870,
12,
21580,
16,
7084,
16,
1613,
4672,
9163,
5108,
596,
777,
326,
7084,
316,
326,
1269,
19495,
26418,
1172,
1671,
1613,
16,
9163,
411,
2892,
667,
1546,
5659,
4482,
6441,
411,
2121,
667,
1546,
5185,
17,
2327,
17,
2121,
6,
2484,
14080,
1546,
20,
6,
2484,
9598,
1546,
20,
18,
21,
351,
6,
4916,
1546,
1482,
434,
2199,
316,
326,
19495,
875,
2187,
19495,
16,
9163,
14402,
411,
20779,
4438,
313,
4438,
4465,
4438,
70,
34,
54,
484,
294,
875,
2187,
19495,
16,
26418,
1757,
70,
4695,
4465,
4695,
313,
1870,
6309,
1056,
273,
374,
364,
272,
316,
7084,
30,
272,
18,
1188,
4870,
12,
4106,
16,
1056,
13,
1056,
273,
1056,
397,
404,
1172,
1671,
1613,
16,
9163,
1757,
20779,
4695,
2121,
4695,
2892,
1870,
6309,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1172,
54,
484,
1767,
4870,
12,
21580,
16,
7084,
16,
1613,
4672,
9163,
5108,
596,
777,
326,
7084,
316,
326,
1269,
19495,
26418,
1172,
1671,
1613,
16,
9163,
411,
2892,
667,
1546,
5659,
4482,
6441,
411,
2121,
667,
1546,
5185,
17,
2327,
17,
2121,
6,
2484,
14080,
1546,
20,
6,
2484,
9598,
1546,
20,
18,
21,
351,
6,
4916,
1546,
1482,
434,
2199,
316,
326,
19495,
875,
2187,
19495,
16,
9163,
14402,
411,
20779,
4438,
313,
4438,
4465,
4438,
70,
34,
54,
484,
294,
875,
2187,
19495,
16,
26418,
1757,
70,
4695,
4465,
4695,
313,
1870,
6309,
1056,
273,
374,
364,
272,
316,
7084,
30,
272,
18,
1188,
4870,
12,
4106,
16,
1056,
13,
1056,
273,
1056,
397,
2
] |
def create(self, id, description, consumerids = []):
|
def create(self, id, description, consumerids=[]):
|
def create(self, id, description, consumerids = []): consumergroup_data = {"id" : id, "description" : description, "consumerids" : consumerids} method = "/consumergroups/" return self.conn.request_put(method, params=consumergroup_data)
|
55fc10bc98cb49c6d13e1629698a2a7a700eef88 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10692/55fc10bc98cb49c6d13e1629698a2a7a700eef88/connection.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
12,
2890,
16,
612,
16,
2477,
16,
4765,
2232,
33,
8526,
4672,
4765,
1655,
67,
892,
273,
12528,
350,
6,
294,
612,
16,
315,
3384,
6,
294,
2477,
16,
315,
13230,
2232,
6,
294,
4765,
2232,
97,
707,
273,
2206,
13230,
4650,
4898,
327,
365,
18,
4646,
18,
2293,
67,
458,
12,
2039,
16,
859,
33,
13230,
1655,
67,
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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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,
752,
12,
2890,
16,
612,
16,
2477,
16,
4765,
2232,
33,
8526,
4672,
4765,
1655,
67,
892,
273,
12528,
350,
6,
294,
612,
16,
315,
3384,
6,
294,
2477,
16,
315,
13230,
2232,
6,
294,
4765,
2232,
97,
707,
273,
2206,
13230,
4650,
4898,
327,
365,
18,
4646,
18,
2293,
67,
458,
12,
2039,
16,
859,
33,
13230,
1655,
67,
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
] |
return mysite.customs.bugtrackers.trac.csv_url2list_of_bug_ids( mysite.customs.bugtrackers.trac.csv_of_bugs( 'http://bugs.sugarlabs.org/query?status=new&status=assigned&status=reopened&format=csv&keywords=%7Esugar-love&order=priority'))
|
queries = { 'Easy bugs': 'http://bugs.sugarlabs.org/query?status=accepted&status=new&status=assigned&status=reopened&format=csv&keywords=%7Esugar-love&order=priority', 'Documentation bugs': 'http://bugs.sugarlabs.org/query?status=accepted&status=assigned&status=new&status=reopened&format=csv&order=priority&keywords=~documentation' } return self.generate_bug_ids_from_queries(queries)
|
def generate_list_of_bug_ids_to_look_at(self): # Just index bitesized bugs return mysite.customs.bugtrackers.trac.csv_url2list_of_bug_ids( mysite.customs.bugtrackers.trac.csv_of_bugs( 'http://bugs.sugarlabs.org/query?status=new&status=assigned&status=reopened&format=csv&keywords=%7Esugar-love&order=priority'))
|
2c3cf8caa89ec134ddcdd3eb56ce6a0ad41045fb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11976/2c3cf8caa89ec134ddcdd3eb56ce6a0ad41045fb/trac_instances.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2103,
67,
1098,
67,
792,
67,
925,
67,
2232,
67,
869,
67,
7330,
67,
270,
12,
2890,
4672,
468,
12526,
770,
2831,
281,
1235,
22398,
327,
312,
1900,
1137,
18,
3662,
87,
18,
925,
4101,
414,
18,
313,
1077,
18,
6715,
67,
718,
22,
1098,
67,
792,
67,
925,
67,
2232,
12,
312,
1900,
1137,
18,
3662,
87,
18,
925,
4101,
414,
18,
313,
1077,
18,
6715,
67,
792,
67,
19381,
12,
296,
2505,
2207,
19381,
18,
87,
637,
13007,
5113,
18,
3341,
19,
2271,
35,
2327,
33,
2704,
10,
2327,
33,
15938,
10,
2327,
33,
266,
25304,
10,
2139,
33,
6715,
10,
11771,
5095,
27,
6705,
18481,
17,
383,
537,
10,
1019,
33,
8457,
26112,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2103,
67,
1098,
67,
792,
67,
925,
67,
2232,
67,
869,
67,
7330,
67,
270,
12,
2890,
4672,
468,
12526,
770,
2831,
281,
1235,
22398,
327,
312,
1900,
1137,
18,
3662,
87,
18,
925,
4101,
414,
18,
313,
1077,
18,
6715,
67,
718,
22,
1098,
67,
792,
67,
925,
67,
2232,
12,
312,
1900,
1137,
18,
3662,
87,
18,
925,
4101,
414,
18,
313,
1077,
18,
6715,
67,
792,
67,
19381,
12,
296,
2505,
2207,
19381,
18,
87,
637,
13007,
5113,
18,
3341,
19,
2271,
35,
2327,
33,
2704,
10,
2327,
33,
15938,
10,
2327,
33,
266,
25304,
10,
2139,
33,
6715,
10,
11771,
5095,
27,
6705,
18481,
17,
383,
537,
10,
1019,
33,
8457,
26112,
2,
-100,
-100
] |
def doenddelete( self, description ):
|
def doenddelete( self, description, label = "" ):
|
def doenddelete( self, description ): if len(self.end_deletes) == 0: return True description += " " * max(1, STATUSTXT_WIDTH - len(description)) self.manager.log(manager.LOG_HIGH, description, before=1, after=0) for deleter in self.end_deletes: req = request(self.manager) req.method = "DELETE" req.ruris.append(deleter[0]) req.ruri = deleter[0] if len(deleter[1]): req.user = deleter[1] if len(deleter[2]): req.pswd = deleter[2] self.dorequest( req, False, False ) self.manager.log(manager.LOG_HIGH, "[DONE]")
|
1e6bbaa51c1fe6e02709841f4dd5e13a91bd8caa /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/129/1e6bbaa51c1fe6e02709841f4dd5e13a91bd8caa/caldavtest.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
409,
3733,
12,
365,
16,
2477,
16,
1433,
273,
1408,
262,
30,
309,
562,
12,
2890,
18,
409,
67,
72,
5092,
13,
422,
374,
30,
327,
1053,
2477,
1011,
315,
315,
380,
943,
12,
21,
16,
2347,
789,
5996,
3983,
67,
10023,
300,
562,
12,
3384,
3719,
365,
18,
4181,
18,
1330,
12,
4181,
18,
4842,
67,
29996,
16,
2477,
16,
1865,
33,
21,
16,
1839,
33,
20,
13,
364,
6578,
264,
316,
365,
18,
409,
67,
72,
5092,
30,
1111,
273,
590,
12,
2890,
18,
4181,
13,
1111,
18,
2039,
273,
315,
6460,
6,
1111,
18,
86,
23510,
18,
6923,
12,
19003,
264,
63,
20,
5717,
1111,
18,
86,
1650,
273,
6578,
264,
63,
20,
65,
309,
562,
12,
19003,
264,
63,
21,
65,
4672,
1111,
18,
1355,
273,
6578,
264,
63,
21,
65,
309,
562,
12,
19003,
264,
63,
22,
65,
4672,
1111,
18,
1121,
3623,
273,
6578,
264,
63,
22,
65,
365,
18,
72,
479,
456,
12,
1111,
16,
1083,
16,
1083,
262,
365,
18,
4181,
18,
1330,
12,
4181,
18,
4842,
67,
29996,
16,
5158,
26875,
4279,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
409,
3733,
12,
365,
16,
2477,
16,
1433,
273,
1408,
262,
30,
309,
562,
12,
2890,
18,
409,
67,
72,
5092,
13,
422,
374,
30,
327,
1053,
2477,
1011,
315,
315,
380,
943,
12,
21,
16,
2347,
789,
5996,
3983,
67,
10023,
300,
562,
12,
3384,
3719,
365,
18,
4181,
18,
1330,
12,
4181,
18,
4842,
67,
29996,
16,
2477,
16,
1865,
33,
21,
16,
1839,
33,
20,
13,
364,
6578,
264,
316,
365,
18,
409,
67,
72,
5092,
30,
1111,
273,
590,
12,
2890,
18,
4181,
13,
1111,
18,
2039,
273,
315,
6460,
6,
1111,
18,
86,
23510,
18,
6923,
12,
19003,
264,
63,
20,
5717,
1111,
18,
86,
1650,
273,
6578,
264,
63,
20,
65,
2
] |
... print "Error !"
|
... print("Error!")
|
def longest_path(self, s = None, t = None, weighted = False, algorithm = "MILP", solver = None, verbose = 0): r""" Returns a longest path of ``self``.
|
fbdfc46fda1150428e37faef1f31cd5518ab4374 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9417/fbdfc46fda1150428e37faef1f31cd5518ab4374/generic_graph.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
12163,
67,
803,
12,
2890,
16,
272,
273,
599,
16,
268,
273,
599,
16,
13747,
273,
1083,
16,
4886,
273,
315,
49,
2627,
52,
3113,
12776,
273,
599,
16,
3988,
273,
374,
4672,
436,
8395,
2860,
279,
12163,
589,
434,
12176,
2890,
68,
8338,
2,
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,
12163,
67,
803,
12,
2890,
16,
272,
273,
599,
16,
268,
273,
599,
16,
13747,
273,
1083,
16,
4886,
273,
315,
49,
2627,
52,
3113,
12776,
273,
599,
16,
3988,
273,
374,
4672,
436,
8395,
2860,
279,
12163,
589,
434,
12176,
2890,
68,
8338,
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
] |
funcs = (None, lambda x: True)
|
funcs = (None, bool, lambda x: True)
|
def test_filter_subclasses(self): # test, that filter() never returns tuple, str or unicode subclasses # and that the result always go's through __getitem__ funcs = (None, lambda x: True) class tuple2(tuple): def __getitem__(self, index): return 2*tuple.__getitem__(self, index) class str2(str): def __getitem__(self, index): return 2*str.__getitem__(self, index) inputs = { tuple2: {(): (), (1, 2, 3): (2, 4, 6)}, str2: {"": "", "123": "112233"} } if have_unicode: class unicode2(unicode): def __getitem__(self, index): return 2*unicode.__getitem__(self, index) inputs[unicode2] = { unicode(): unicode(), unicode("123"): unicode("112233") }
|
5a12c18d5d51ffb63297c823a8713039ee36cad4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/5a12c18d5d51ffb63297c823a8713039ee36cad4/test_builtin.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
2188,
67,
1717,
4701,
12,
2890,
4672,
468,
1842,
16,
716,
1034,
1435,
5903,
1135,
3193,
16,
609,
578,
5252,
15320,
468,
471,
716,
326,
563,
3712,
1960,
1807,
3059,
1001,
31571,
972,
15630,
273,
261,
7036,
16,
3195,
619,
30,
1053,
13,
667,
3193,
22,
12,
8052,
4672,
1652,
1001,
31571,
972,
12,
2890,
16,
770,
4672,
327,
576,
14,
8052,
16186,
31571,
972,
12,
2890,
16,
770,
13,
667,
609,
22,
12,
701,
4672,
1652,
1001,
31571,
972,
12,
2890,
16,
770,
4672,
327,
576,
14,
701,
16186,
31571,
972,
12,
2890,
16,
770,
13,
4540,
273,
288,
3193,
22,
30,
288,
13332,
1832,
16,
261,
21,
16,
576,
16,
890,
4672,
261,
22,
16,
1059,
16,
1666,
13,
5779,
609,
22,
30,
282,
288,
3660,
30,
23453,
315,
12936,
6877,
315,
17666,
31026,
6,
97,
289,
309,
1240,
67,
9124,
30,
667,
5252,
22,
12,
9124,
4672,
1652,
1001,
31571,
972,
12,
2890,
16,
770,
4672,
327,
576,
14,
9124,
16186,
31571,
972,
12,
2890,
16,
770,
13,
4540,
63,
9124,
22,
65,
273,
288,
5252,
13332,
5252,
9334,
5252,
2932,
12936,
6,
4672,
5252,
2932,
17666,
31026,
7923,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2188,
67,
1717,
4701,
12,
2890,
4672,
468,
1842,
16,
716,
1034,
1435,
5903,
1135,
3193,
16,
609,
578,
5252,
15320,
468,
471,
716,
326,
563,
3712,
1960,
1807,
3059,
1001,
31571,
972,
15630,
273,
261,
7036,
16,
3195,
619,
30,
1053,
13,
667,
3193,
22,
12,
8052,
4672,
1652,
1001,
31571,
972,
12,
2890,
16,
770,
4672,
327,
576,
14,
8052,
16186,
31571,
972,
12,
2890,
16,
770,
13,
667,
609,
22,
12,
701,
4672,
1652,
1001,
31571,
972,
12,
2890,
16,
770,
4672,
327,
576,
14,
701,
16186,
31571,
972,
12,
2890,
16,
770,
13,
4540,
273,
288,
3193,
22,
30,
288,
13332,
1832,
16,
261,
21,
16,
576,
16,
890,
4672,
261,
22,
2
] |
def ignorableWhitespace(self, chars, start, end): self._cont_handler.ignorableWhitespace(chars, start, end)
|
def ignorableWhitespace(self, chars): self._cont_handler.ignorableWhitespace(chars)
|
def ignorableWhitespace(self, chars, start, end): self._cont_handler.ignorableWhitespace(chars, start, end)
|
e5454c196ff5373f8b4a63bbc4a53dd3d466d78c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/e5454c196ff5373f8b4a63bbc4a53dd3d466d78c/saxutils.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
9750,
15514,
9431,
12,
2890,
16,
5230,
16,
787,
16,
679,
4672,
365,
6315,
1213,
67,
4176,
18,
724,
15514,
9431,
12,
7549,
16,
787,
16,
679,
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,
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679,
4672,
365,
6315,
1213,
67,
4176,
18,
724,
15514,
9431,
12,
7549,
16,
787,
16,
679,
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
] |
tempWidget = self.addWidgetByFileName(name, int(widget.getAttribute("xPos")), int(widget.getAttribute("yPos")), widget.getAttribute("caption"))
|
tempWidget = self.addWidgetByFileName(name, int(widget.getAttribute("xPos")), int(widget.getAttribute("yPos")), widget.getAttribute("caption"), activateSettings = 0)
|
def loadDocument(self, filename): if not os.path.exists(filename): self.close() QMessageBox.critical(self,'Orange Canvas','Unable to find file "'+ filename, QMessageBox.Ok + QMessageBox.Default) return
|
3062038fd35ad40521ec63facca93df529c9a3c7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/3062038fd35ad40521ec63facca93df529c9a3c7/orngDoc.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1262,
2519,
12,
2890,
16,
1544,
4672,
309,
486,
1140,
18,
803,
18,
1808,
12,
3459,
4672,
365,
18,
4412,
1435,
30728,
18,
28000,
12,
2890,
11189,
1162,
726,
20966,
17023,
3370,
358,
1104,
585,
2491,
15,
1544,
16,
225,
30728,
18,
8809,
397,
30728,
18,
1868,
13,
327,
2,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1262,
2519,
12,
2890,
16,
1544,
4672,
309,
486,
1140,
18,
803,
18,
1808,
12,
3459,
4672,
365,
18,
4412,
1435,
30728,
18,
28000,
12,
2890,
11189,
1162,
726,
20966,
17023,
3370,
358,
1104,
585,
2491,
15,
1544,
16,
225,
30728,
18,
8809,
397,
30728,
18,
1868,
13,
327,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
url = list() if search_in_google: import google google.LICENSE_KEY = config.google_key print " google query..." search_request_retry = 6 while search_request_retry:
|
url = list() if search_in_google: import google google.LICENSE_KEY = config.google_key print " google query..." search_request_retry = 6 while search_request_retry:
|
def get_results(query, numresults = 10): url = list() if search_in_google: import google google.LICENSE_KEY = config.google_key print " google query..." search_request_retry = 6 while search_request_retry:
|
1fc8304d6ddd18fcd83597ff7597b54525735edf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4404/1fc8304d6ddd18fcd83597ff7597b54525735edf/copyright.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
4717,
12,
2271,
16,
818,
4717,
273,
1728,
4672,
880,
273,
666,
1435,
309,
1623,
67,
267,
67,
9536,
30,
1930,
5200,
5200,
18,
6065,
23396,
67,
3297,
273,
642,
18,
9536,
67,
856,
1172,
315,
225,
5200,
843,
7070,
1623,
67,
2293,
67,
9620,
273,
1666,
1323,
1623,
67,
2293,
67,
9620,
30,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
4717,
12,
2271,
16,
818,
4717,
273,
1728,
4672,
880,
273,
666,
1435,
309,
1623,
67,
267,
67,
9536,
30,
1930,
5200,
5200,
18,
6065,
23396,
67,
3297,
273,
642,
18,
9536,
67,
856,
1172,
315,
225,
5200,
843,
7070,
1623,
67,
2293,
67,
9620,
273,
1666,
1323,
1623,
67,
2293,
67,
9620,
30,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
os.makedirs(dir)
|
os.makedirs(dir) os.system('chmod g+w ' + dir)
|
def register_experiment_ws_xmldata(request): import sys process_experiment = ProcessExperiment() status = "" if request.method == 'POST': # If the form has been submitted... form = RegisterExperimentForm(request.POST) # A form bound to the POST data if form.is_valid(): # All validation rules pass xmldata = form.cleaned_data['xmldata'] username = form.cleaned_data['username'] password = form.cleaned_data['password'] experiment_owner = form.cleaned_data['experiment_owner'] from django.contrib.auth import authenticate user = authenticate(username=username, password=password) if user is not None: if not user.is_active: return return_response_error(request) else: return return_response_error(request) eid = process_experiment.register_experiment_xmldata(xmldata=xmldata, created_by=user) # steve dummy data dir = settings.FILE_STORE_PATH + "/" + str(eid) #todo this entire function needs a fancy class with functions for each part.. import os if not os.path.exists(dir): os.makedirs(dir) file = open(dir + '/METS.xml', 'w') file.write(xmldata) file.close() #create group #for each PI #check if they exist #if exist #assign to group #else #create user, generate username, randomly generated pass, send email with pass if not len(request.POST.getlist('experiment_owner')) == 0: for owner in request.POST.getlist('experiment_owner'): u = None try: u = User.objects.get(email__exact=owner) except User.DoesNotExist, ue: from random import choice import string #random password random_password = "" chars = string.letters + string.digits for i in range(8): random_password = random_password + choice(chars) new_username = owner.partition('@')[0] new_username = new_username.replace(".", "_") u = User.objects.create_user(new_username, owner, random_password) u.save() # email new username and password from django.core.mail import send_mail recipient_list = list() subject = "TARDIS User Automatically Created" message = "A new user has been created in myTARDIS as a result of data you own being stored. Log in to " + settings.TARDISURLPREFIX + "/login with the username: " + new_username + " password: " + random_password from_email = "steve.androulakis@gmail.com" recipient_list.append(owner) print recipient_list send_mail(subject, message, from_email, recipient_list, fail_silently=False) exp_owner = Experiment_Owner(experiment=Experiment.objects.get(pk=eid), user=u) exp_owner.save() g = Group(name=eid) g.save() u.groups.add(g) response = HttpResponse(str(eid), status=201) response['Location'] = settings.TARDISURLPREFIX + "/experiment/view/" + str(eid) return response else: form = RegisterExperimentForm() # An unbound form c = Context({ 'form': form, 'status': status, 'subtitle': "Register Experiment", }) return HttpResponse(render_response_index(request, 'tardis_portal/register_experiment.html', c))
|
367825d8639cbc3cf0c43df8f723a1263472a720 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11933/367825d8639cbc3cf0c43df8f723a1263472a720/views.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1744,
67,
18142,
67,
4749,
67,
2902,
892,
12,
2293,
4672,
1930,
2589,
225,
1207,
67,
18142,
273,
4389,
22338,
1435,
1267,
273,
1408,
309,
590,
18,
2039,
422,
296,
3798,
4278,
468,
971,
326,
646,
711,
2118,
9638,
2777,
225,
646,
273,
5433,
22338,
1204,
12,
2293,
18,
3798,
13,
468,
432,
646,
2489,
358,
326,
5485,
501,
309,
646,
18,
291,
67,
877,
13332,
468,
4826,
3379,
2931,
1342,
225,
2025,
892,
273,
646,
18,
6200,
329,
67,
892,
3292,
2902,
892,
3546,
2718,
273,
646,
18,
6200,
329,
67,
892,
3292,
5053,
3546,
2201,
273,
646,
18,
6200,
329,
67,
892,
3292,
3664,
3546,
8724,
67,
8443,
273,
646,
18,
6200,
329,
67,
892,
3292,
18142,
67,
8443,
3546,
225,
628,
13710,
18,
26930,
18,
1944,
1930,
8929,
729,
273,
8929,
12,
5053,
33,
5053,
16,
2201,
33,
3664,
13,
309,
729,
353,
486,
599,
30,
309,
486,
729,
18,
291,
67,
3535,
30,
327,
327,
67,
2740,
67,
1636,
12,
2293,
13,
469,
30,
327,
327,
67,
2740,
67,
1636,
12,
2293,
13,
225,
22555,
273,
1207,
67,
18142,
18,
4861,
67,
18142,
67,
2902,
892,
12,
2902,
892,
33,
2902,
892,
16,
2522,
67,
1637,
33,
1355,
13,
468,
18654,
537,
9609,
501,
1577,
273,
1947,
18,
3776,
67,
13651,
67,
4211,
397,
4016,
397,
609,
12,
73,
350,
13,
225,
468,
9012,
333,
7278,
445,
4260,
279,
31701,
667,
598,
4186,
364,
1517,
1087,
838,
1930,
1140,
309,
486,
1140,
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,
1744,
67,
18142,
67,
4749,
67,
2902,
892,
12,
2293,
4672,
1930,
2589,
225,
1207,
67,
18142,
273,
4389,
22338,
1435,
1267,
273,
1408,
309,
590,
18,
2039,
422,
296,
3798,
4278,
468,
971,
326,
646,
711,
2118,
9638,
2777,
225,
646,
273,
5433,
22338,
1204,
12,
2293,
18,
3798,
13,
468,
432,
646,
2489,
358,
326,
5485,
501,
309,
646,
18,
291,
67,
877,
13332,
468,
4826,
3379,
2931,
1342,
225,
2025,
892,
273,
646,
18,
6200,
329,
67,
892,
3292,
2902,
892,
3546,
2718,
273,
646,
18,
6200,
329,
67,
892,
3292,
5053,
3546,
2201,
273,
646,
18,
6200,
329,
67,
892,
3292,
3664,
3546,
8724,
67,
8443,
273,
646,
18,
6200,
329,
67,
892,
3292,
2
] |
print "appear to be installed. Displaying LaTeX or PDFLaTeX output"
|
print "appear to be installed. Displaying LaTeX, PDFLaTeX output"
|
def _run_latex_(filename, debug=False, density=150, pdflatex=None, png=False, do_in_background=False): """ This runs LaTeX on the TeX file "filename.tex". It produces files "filename.dvi" (or "filename.pdf"` if ``pdflatex`` is ``True``) and if ``png`` is True, "filename.png". If ``png`` is True and dvipng can't convert the dvi file to png (because of postscript specials or other issues), then dvips is called, and the PS file is converted to a png file. INPUT: - ``filename`` - string: file to process, including full path - ``debug`` - bool (optional, default False): whether to print verbose debugging output - ``density`` - integer (optional, default 150): how big output image is. - ``pdflatex`` - bool (optional, default False): whether to use pdflatex. - ``png`` - bool (optional, default False): whether to produce a png file. - ``do_in_background`` - bool (optional, default False): whether to run in the background. OUTPUT: string, which could be a string starting with 'Error' (if there was a problem), or it could be 'pdf' or 'dvi'. If ``pdflatex`` is False, then a dvi file is created, but if there appear to be problems with it (because of PS special commands, for example), then a pdf file is created instead. The function returns 'dvi' or 'pdf' to indicate which type of file is created. (Detecting problems requires that dvipng be installed; if it is not, then the dvi file is not checked for problems and 'dvi' is returned.) If ``pdflatex`` is True and there are no errors, then 'pdf' is returned. .. warning:: If ``png`` is True, then when using latex (the default), you must have 'dvipng' (or 'dvips' and 'convert') installed on your operating system, or this command won't work. When using pdflatex, you must have 'convert' installed. EXAMPLES:: sage: from sage.misc.latex import _run_latex_, _latex_file_ sage: file = os.path.join(SAGE_TMP, "temp.tex") sage: O = open(file, 'w') sage: O.write(_latex_file_([ZZ[x], RR])); O.close() sage: _run_latex_(file) # random - depends on whether latex is installed 'dvi' """ if pdflatex is None: pdflatex = _Latex_prefs._option["pdflatex"] if not pdflatex and not have_latex(): print "Error: LaTeX does not seem to be installed. Download it from" print "ctan.org and try again." return "Error" if pdflatex and not have_pdflatex(): print "Error: PDFLaTeX does not seem to be installed. Download it from" print "ctan.org and try again." return "Error" # if png output + latex, check to see if dvipng or convert is installed. if png: if not pdflatex and not (have_dvipng() or have_convert()): print "" print "Error: neither dvipng nor convert (from the ImageMagick suite)" print "appear to be installed. Displaying LaTeX or PDFLaTeX output" print "requires at least one of these programs, so please install" print "and try again." print "" print "Go to http://sourceforge.net/projects/dvipng/ and" print "http://www.imagemagick.org to download these programs." return "Error" # if png output + pdflatex, check to see if convert is installed. elif pdflatex and not have_convert(): print "" print "Error: convert (from the ImageMagick suite) does not" print "appear to be installed. Displaying PDFLaTeX output" print "requires this program, so please install and try again." print "" print "Go to http://www.imagemagick.org to download it." return "Error" # check_validity: check to see if the dvi file is okay by trying # to convert to a png file. if this fails, return_suffix will be # set to "pdf". return_suffix is the return value for this # function. # # thus if not png output, check validity of dvi output if dvipng # or convert is installed. else: check_validity = have_dvipng() # set up filenames, other strings: base, filename = os.path.split(filename) filename = os.path.splitext(filename)[0] # get rid of extension if len(filename.split()) > 1: raise ValueError, "filename must contain no spaces" if not debug: redirect=' 2>/dev/null 1>/dev/null ' else: redirect='' if do_in_background: background = ' &' else: background = '' if pdflatex: command = "pdflatex" # 'suffix' is used in the string 'convert' ... suffix = "pdf" return_suffix = "pdf" else: command = "latex" suffix = "ps" return_suffix = "dvi" # Define the commands to be used: lt = 'cd "%s"&& sage-native-execute %s \\\\nonstopmode \\\\input{%s.tex} %s'%(base, command, filename, redirect) # dvipng is run with the 'picky' option: this means that if # there are warnings, no png file is created. dvipng = 'cd "%s"&& sage-native-execute dvipng --picky -q -T tight -D %s %s.dvi -o %s.png'%(base, density, filename, filename) dvips = 'sage-native-execute dvips %s.dvi %s'%(filename, redirect) ps2pdf = 'sage-native-execute ps2pdf %s.ps %s'%(filename, redirect) # We seem to need a larger size when using convert compared to # when using dvipng: density = int(1.4 * density / 1.3) convert = 'sage-native-execute convert -density %sx%s -trim %s.%s %s.png %s '%\ (density,density, filename, suffix, filename, redirect) e = 1 # it is possible to get through the following commands # without running a program, so in that case we force error if pdflatex: if png: cmd = ' && '.join([lt, convert]) else: cmd = lt if debug: print cmd e = os.system(cmd + ' ' + redirect + background) else: # latex, not pdflatex if (png or check_validity): if have_dvipng(): cmd = ' && '.join([lt, dvipng]) if debug: print cmd e = os.system(cmd + ' ' + redirect) dvipng_error = not os.path.exists(base + '/' + filename + '.png') # If there is no png file, then either the latex # process failed or dvipng failed. Assume that dvipng # failed, and try running dvips and convert. (If the # latex process failed, then dvips and convert will # fail also, so we'll still catch the error.) if dvipng_error: if png: if have_convert(): cmd = ' && '.join(['cd "%s"'%(base,), dvips, convert]) if debug: print "'dvipng' failed; trying 'convert' instead..." print cmd e = os.system(cmd + ' ' + redirect + background) else: print "Error: 'dvipng' failed and 'convert' is not installed." return "Error: dvipng failed." else: # not png, i.e., check_validity return_suffix = "pdf" cmd = ' && '.join(['cd "%s"'%(base,), dvips, ps2pdf]) if debug: print "bad dvi file; running dvips and ps2pdf instead..." print cmd e = os.system(cmd) if e: # error running dvips and/or ps2pdf command = "pdflatex" lt = 'cd "%s"&& sage-native-execute %s \\\\nonstopmode \\\\input{%s.tex} %s'%(base, command, filename, redirect) if debug: print "error running dvips and ps2pdf; trying pdflatex instead..." print cmd e = os.system(cmd + background) else: # don't have dvipng, so must have convert. run latex, dvips, convert. cmd = ' && '.join([lt, dvips, convert]) if debug: print cmd e = os.system(cmd + ' ' + redirect + background) if e: print "An error occurred." try: print open(base + '/' + filename + '.log').read() except IOError: pass return "Error latexing slide." return return_suffix
|
f861246ed3920cddfa7558f769e8b83392788530 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/f861246ed3920cddfa7558f769e8b83392788530/latex.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2681,
67,
26264,
67,
12,
3459,
16,
1198,
33,
8381,
16,
12142,
33,
23014,
16,
8169,
26264,
33,
7036,
16,
14476,
33,
8381,
16,
741,
67,
267,
67,
9342,
33,
8381,
4672,
3536,
1220,
7597,
21072,
21575,
60,
603,
326,
28602,
60,
585,
315,
3459,
18,
21763,
9654,
225,
2597,
15505,
1390,
315,
3459,
18,
72,
522,
6,
261,
280,
315,
3459,
18,
7699,
8366,
309,
12176,
7699,
26264,
10335,
353,
12176,
5510,
10335,
13,
471,
309,
12176,
6446,
10335,
353,
1053,
16,
315,
3459,
18,
6446,
9654,
225,
971,
12176,
6446,
10335,
353,
1053,
471,
302,
522,
6446,
848,
1404,
1765,
326,
302,
522,
585,
358,
14476,
261,
26274,
434,
1603,
4263,
4582,
87,
578,
1308,
8296,
3631,
1508,
302,
522,
1121,
353,
2566,
16,
471,
326,
26320,
585,
353,
5970,
358,
279,
14476,
585,
18,
225,
12943,
30,
225,
300,
225,
12176,
3459,
10335,
300,
533,
30,
585,
358,
1207,
16,
6508,
1983,
589,
225,
300,
225,
12176,
4148,
10335,
300,
1426,
261,
10444,
16,
805,
1083,
4672,
2856,
358,
1172,
3988,
10450,
876,
225,
300,
225,
12176,
18781,
10335,
300,
3571,
261,
10444,
16,
805,
18478,
4672,
3661,
5446,
876,
1316,
353,
18,
225,
300,
225,
12176,
7699,
26264,
10335,
300,
1426,
261,
10444,
16,
805,
1083,
4672,
2856,
358,
999,
8169,
26264,
18,
225,
300,
225,
12176,
6446,
10335,
300,
1426,
261,
10444,
16,
805,
1083,
4672,
2856,
358,
11402,
279,
14476,
585,
18,
225,
300,
225,
12176,
2896,
67,
267,
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,
2681,
67,
26264,
67,
12,
3459,
16,
1198,
33,
8381,
16,
12142,
33,
23014,
16,
8169,
26264,
33,
7036,
16,
14476,
33,
8381,
16,
741,
67,
267,
67,
9342,
33,
8381,
4672,
3536,
1220,
7597,
21072,
21575,
60,
603,
326,
28602,
60,
585,
315,
3459,
18,
21763,
9654,
225,
2597,
15505,
1390,
315,
3459,
18,
72,
522,
6,
261,
280,
315,
3459,
18,
7699,
8366,
309,
12176,
7699,
26264,
10335,
353,
12176,
5510,
10335,
13,
471,
309,
12176,
6446,
10335,
353,
1053,
16,
315,
3459,
18,
6446,
9654,
225,
971,
12176,
6446,
10335,
353,
1053,
471,
302,
522,
6446,
848,
1404,
1765,
326,
302,
522,
585,
358,
14476,
261,
26274,
434,
1603,
4263,
4582,
87,
578,
1308,
2
] |
self._cache = boto.utils.LRUCache(20) self.refresh_http_connection(self.host, self.is_secure)
|
self._pool = ConnectionPool(20, 20) self._connection = (self.server_name(), self.is_secure)
|
def __init__(self, host, aws_access_key_id=None, aws_secret_access_key=None, is_secure=True, port=None, proxy=None, proxy_port=None, proxy_user=None, proxy_pass=None, debug=0, https_connection_factory=None, path='/'): """ @type host: string @param host: The host to make the connection to
|
330da1a377ef5fb958032a4bda0502b580a626ce /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1098/330da1a377ef5fb958032a4bda0502b580a626ce/connection.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
1479,
16,
2287,
67,
3860,
67,
856,
67,
350,
33,
7036,
16,
2287,
67,
5875,
67,
3860,
67,
856,
33,
7036,
16,
353,
67,
8869,
33,
5510,
16,
1756,
33,
7036,
16,
2889,
33,
7036,
16,
2889,
67,
655,
33,
7036,
16,
2889,
67,
1355,
33,
7036,
16,
2889,
67,
5466,
33,
7036,
16,
1198,
33,
20,
16,
2333,
67,
4071,
67,
6848,
33,
7036,
16,
589,
2218,
2473,
4672,
3536,
632,
723,
1479,
30,
533,
632,
891,
1479,
30,
1021,
1479,
358,
1221,
326,
1459,
358,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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756,
33,
7036,
16,
2889,
33,
7036,
16,
2889,
67,
655,
33,
7036,
16,
2889,
67,
1355,
33,
7036,
16,
2889,
67,
5466,
33,
7036,
16,
1198,
33,
20,
16,
2333,
67,
4071,
67,
6848,
33,
7036,
16,
589,
2218,
2473,
4672,
3536,
632,
723,
1479,
30,
533,
632,
891,
1479,
30,
1021,
1479,
358,
1221,
326,
1459,
358,
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
] |
frontendData = self.feinfo.getFrontendData(False) Labels = self.getFEData(frontendData) self.fillList(Labels)
|
self.showFrontendData(False)
|
def tuner(self): frontendData = self.feinfo.getFrontendData(False) Labels = self.getFEData(frontendData) self.fillList(Labels)
|
322f9e06f0f823a89b05c9f6ca40e110c25a5ed6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/322f9e06f0f823a89b05c9f6ca40e110c25a5ed6/ServiceInfo.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
268,
29640,
12,
2890,
4672,
365,
18,
4500,
21905,
751,
12,
8381,
13,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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,
268,
29640,
12,
2890,
4672,
365,
18,
4500,
21905,
751,
12,
8381,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
manager = pool.manage(mock_dbapi, use_threadlocal = False)
|
manager = pool.manage(MockDBAPI(), use_threadlocal = False)
|
def testnonthreadlocalmanager(self): manager = pool.manage(mock_dbapi, use_threadlocal = False)
|
7513b46730d1b57a6b8addde8dfb4f83ee1e6cb4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1074/7513b46730d1b57a6b8addde8dfb4f83ee1e6cb4/test_pool.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
82,
2152,
896,
3729,
4181,
12,
2890,
4672,
3301,
273,
2845,
18,
12633,
12,
22851,
67,
1966,
2425,
16,
999,
67,
5930,
3729,
273,
1083,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
82,
2152,
896,
3729,
4181,
12,
2890,
4672,
3301,
273,
2845,
18,
12633,
12,
22851,
67,
1966,
2425,
16,
999,
67,
5930,
3729,
273,
1083,
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
] |
from dbcook.usage.samanager import SAdb
|
def populate(): anna = Employee( name='anna') dept = Dept( name='jollye' ) boss = Manager( name='boso') anna.dept = dept boss.dept = dept dept.boss = boss
|
88be630ccf236fba82a8058b0656010220a9e9d0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10808/88be630ccf236fba82a8058b0656010220a9e9d0/sa2static.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6490,
13332,
392,
6582,
273,
512,
27520,
12,
508,
2218,
1072,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6490,
13332,
392,
6582,
273,
512,
27520,
12,
508,
2218,
1072,
69,
6134,
443,
337,
273,
1505,
337,
12,
508,
2218,
78,
355,
715,
73,
11,
262,
324,
8464,
273,
8558,
12,
225,
508,
2218,
70,
538,
83,
6134,
392,
6582,
18,
323,
337,
273,
443,
337,
324,
8464,
18,
323,
337,
273,
443,
337,
443,
337,
18,
70,
8464,
273,
324,
8464,
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
] |
|
if user is None: self.unauthorized(realm)
|
if user is None and roles != UNSPECIFIED_ROLES: self.unauthorized(realm)
|
def publish(self, module_name, after_list, published='web_objects',
|
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,
3808,
12,
2890,
16,
1605,
67,
529,
16,
1839,
67,
1098,
16,
9487,
2218,
4875,
67,
6911,
2187,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3808,
12,
2890,
16,
1605,
67,
529,
16,
1839,
67,
1098,
16,
9487,
2218,
4875,
67,
6911,
2187,
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
] |
upload = outpath outpath = '/tmp/upload.xml'
|
uploadurl = outpath outpath = os.path.join(tempfile.gettempdir(), 'libdoc_upload.xml')
|
def create_xml_doc(lib, outpath): if _uploading(outpath): upload = outpath outpath = '/tmp/upload.xml' # TODO use temp file module else: upload = None _create_xml_doc(lib, outpath) if upload: upload_xml_doc(outpath, upload) os.remove(outpath)
|
e8980e3eb959d801e54f259c53303548e9e1e012 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7408/e8980e3eb959d801e54f259c53303548e9e1e012/libdoc.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
67,
2902,
67,
2434,
12,
2941,
16,
596,
803,
4672,
309,
389,
6327,
310,
12,
659,
803,
4672,
3617,
718,
273,
596,
803,
596,
803,
273,
1140,
18,
803,
18,
5701,
12,
5814,
768,
18,
588,
5814,
1214,
9334,
296,
2941,
2434,
67,
6327,
18,
2902,
6134,
468,
2660,
999,
1906,
585,
1605,
469,
30,
3617,
273,
599,
389,
2640,
67,
2902,
67,
2434,
12,
2941,
16,
596,
803,
13,
309,
3617,
30,
3617,
67,
2902,
67,
2434,
12,
659,
803,
16,
3617,
13,
1140,
18,
4479,
12,
659,
803,
13,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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3617,
718,
273,
596,
803,
596,
803,
273,
1140,
18,
803,
18,
5701,
12,
5814,
768,
18,
588,
5814,
1214,
9334,
296,
2941,
2434,
67,
6327,
18,
2902,
6134,
468,
2660,
999,
1906,
585,
1605,
469,
30,
3617,
273,
599,
389,
2640,
67,
2902,
67,
2434,
12,
2941,
16,
596,
803,
13,
309,
3617,
30,
3617,
67,
2902,
67,
2434,
12,
659,
803,
16,
3617,
13,
1140,
18,
4479,
12,
659,
803,
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
] |
print "getting version from web"
|
debug.log("getting version from web")
|
def push_vistrail_to_repository(self, branching=False): """ uploads current VisTrail to web repository """
|
f2c524b1f99dd206d3cc04ebfb6cb554feee2d88 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6341/f2c524b1f99dd206d3cc04ebfb6cb554feee2d88/repository.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1817,
67,
90,
3337,
671,
67,
869,
67,
9071,
12,
2890,
16,
3803,
310,
33,
8381,
4672,
3536,
18427,
783,
8077,
18107,
358,
3311,
3352,
3536,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1817,
67,
90,
3337,
671,
67,
869,
67,
9071,
12,
2890,
16,
3803,
310,
33,
8381,
4672,
3536,
18427,
783,
8077,
18107,
358,
3311,
3352,
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
] |
SimpleXMLRPCServer.SimpleXMLRPCDispatcher.__init__(self, allow_none, encoding)
|
try: SimpleXMLRPCServer.SimpleXMLRPCDispatcher.__init__(self, allow_none, encoding) except: SimpleXMLRPCServer.SimpleXMLRPCDispatcher.__init__(self)
|
def __init__ (self, allow_none, encoding): SimpleXMLRPCServer.SimpleXMLRPCDispatcher.__init__(self, allow_none, encoding) self.allow_none = allow_none self.encoding = encoding
|
a88976e51483e4a9efd45cbbaaefc9e4222d0266 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11867/a88976e51483e4a9efd45cbbaaefc9e4222d0266/SSLServer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
261,
2890,
16,
1699,
67,
6102,
16,
2688,
4672,
775,
30,
4477,
4201,
8087,
2081,
18,
5784,
4201,
8087,
6681,
16186,
2738,
972,
12,
2890,
16,
1699,
67,
6102,
16,
2688,
13,
1335,
30,
225,
4477,
4201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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
261,
2890,
16,
1699,
67,
6102,
16,
2688,
4672,
775,
30,
4477,
4201,
8087,
2081,
18,
5784,
4201,
8087,
6681,
16186,
2738,
972,
12,
2890,
16,
1699,
67,
6102,
16,
2688,
13,
1335,
30,
225,
4477,
4201,
8087,
2081,
18,
5784,
4201,
8087,
6681,
16186,
2738,
972,
12,
2890,
13,
225,
365,
18,
5965,
67,
6102,
273,
1699,
67,
6102,
365,
18,
5999,
273,
2688,
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
] |
cursor.execute("LOCK TABLES %s WRITE" %' '.join(tables))
|
cursor.execute("LOCK TABLES %s" % ', '.join(["%s WRITE" % x for x in tables]))
|
def _do_lock(*args,**kws): cursor = connection.cursor() cursor.execute("LOCK TABLES %s WRITE" %' '.join(tables))
|
a19db1c740f8094da3c1c63a71da70c1afd59af8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11345/a19db1c740f8094da3c1c63a71da70c1afd59af8/locker.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2896,
67,
739,
30857,
1968,
16,
636,
79,
4749,
4672,
3347,
273,
1459,
18,
9216,
1435,
3347,
18,
8837,
2932,
6589,
7567,
55,
738,
87,
20967,
6,
738,
11,
2418,
5701,
12,
9373,
3719,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2896,
67,
739,
30857,
1968,
16,
636,
79,
4749,
4672,
3347,
273,
1459,
18,
9216,
1435,
3347,
18,
8837,
2932,
6589,
7567,
55,
738,
87,
20967,
6,
738,
11,
2418,
5701,
12,
9373,
3719,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
command.data = getpage_result
|
command.data = getpage_result[0]
|
def get_page(self, command): if self.multicall is not None: del self.multicall self.multicall = MultiCall(self.connection) if not self.token: self.get_auth_token() if not self.token: # FIXME: notify the user that he may not have full rights on the wiki pass self.multicall.applyAuthToken(self.token) self.multicall.getPage(command.pagename) token_result, getpage_result = self.multicall()
|
6ae69a1f0b11fce5d57fd6497d495bb8e4d0e504 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/888/6ae69a1f0b11fce5d57fd6497d495bb8e4d0e504/xmlrpcbot.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
2433,
12,
2890,
16,
1296,
4672,
309,
365,
18,
5421,
335,
454,
353,
486,
599,
30,
1464,
365,
18,
5421,
335,
454,
365,
18,
5421,
335,
454,
273,
5991,
1477,
12,
2890,
18,
4071,
13,
225,
309,
486,
365,
18,
2316,
30,
365,
18,
588,
67,
1944,
67,
2316,
1435,
225,
309,
486,
365,
18,
2316,
30,
468,
9852,
30,
5066,
326,
729,
716,
3904,
2026,
486,
1240,
1983,
14989,
603,
326,
9050,
1342,
225,
365,
18,
5421,
335,
454,
18,
9010,
28967,
12,
2890,
18,
2316,
13,
365,
18,
5421,
335,
454,
18,
588,
1964,
12,
3076,
18,
9095,
1069,
13,
1147,
67,
2088,
16,
336,
2433,
67,
2088,
273,
365,
18,
5421,
335,
454,
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,
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1464,
365,
18,
5421,
335,
454,
365,
18,
5421,
335,
454,
273,
5991,
1477,
12,
2890,
18,
4071,
13,
225,
309,
486,
365,
18,
2316,
30,
365,
18,
588,
67,
1944,
67,
2316,
1435,
225,
309,
486,
365,
18,
2316,
30,
468,
9852,
30,
5066,
326,
729,
716,
3904,
2026,
486,
1240,
1983,
14989,
603,
326,
9050,
1342,
225,
365,
18,
5421,
335,
454,
18,
9010,
28967,
12,
2890,
18,
2316,
13,
365,
18,
5421,
335,
454,
18,
588,
1964,
12,
3076,
18,
9095,
1069,
13,
1147,
67,
2088,
16,
336,
2433,
67,
2088,
273,
365,
18,
5421,
335,
454,
2
] |
def resource_listdir(self,name): return self._listdir(self._fn(self.egg_info,name))
|
def resource_listdir(self,resource_name): return self._listdir(self._fn(self.egg_info,resource_name))
|
def resource_listdir(self,name): return self._listdir(self._fn(self.egg_info,name))
|
29e3a5517beac5b384354f5f46f605022a1be2eb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8186/29e3a5517beac5b384354f5f46f605022a1be2eb/pkg_resources.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1058,
67,
1098,
1214,
12,
2890,
16,
529,
4672,
327,
365,
6315,
1098,
1214,
12,
2890,
6315,
4293,
12,
2890,
18,
23171,
67,
1376,
16,
529,
3719,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1058,
67,
1098,
1214,
12,
2890,
16,
529,
4672,
327,
365,
6315,
1098,
1214,
12,
2890,
6315,
4293,
12,
2890,
18,
23171,
67,
1376,
16,
529,
3719,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
log.info("Joining test threads.") for cond in (self.send_recv_cond, self.send_pending_cond,
|
if self.test_thread: log.info("Joining test threads.") for cond in (self.send_recv_cond, self.send_pending_cond,
|
def close(self): """ Close the connection to the Tor control port. """ self.terminated = True log.info("Joining test threads.") # Notify any sleeping threads. for cond in (self.send_recv_cond, self.send_pending_cond, self.pending_circuit_cond): with cond: cond.notify() self.test_thread.join() self.circuit_thread.join() self.listen_thread.join() self.stream_thread.join() log.info("All threads joined. Closing Tor controller connection.") self.conn.close() # Close all currently bound test sockets. log.debug("Closing test sockets.") for sock in self.test_bind_sockets: sock.close()
|
1e27efc87071967876eea36048bed0fd9cfd9e68 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9986/1e27efc87071967876eea36048bed0fd9cfd9e68/torbel.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1746,
12,
2890,
4672,
3536,
3527,
326,
1459,
358,
326,
23763,
3325,
1756,
18,
3536,
365,
18,
29133,
273,
1053,
613,
18,
1376,
2932,
4572,
310,
1842,
7403,
1199,
13,
468,
10918,
1281,
5329,
310,
7403,
18,
364,
6941,
316,
261,
2890,
18,
4661,
67,
18334,
67,
10013,
16,
365,
18,
4661,
67,
9561,
67,
10013,
16,
365,
18,
9561,
67,
24987,
67,
10013,
4672,
598,
6941,
30,
6941,
18,
12336,
1435,
365,
18,
3813,
67,
5930,
18,
5701,
1435,
365,
18,
24987,
67,
5930,
18,
5701,
1435,
365,
18,
18085,
67,
5930,
18,
5701,
1435,
365,
18,
3256,
67,
5930,
18,
5701,
1435,
613,
18,
1376,
2932,
1595,
7403,
12114,
18,
385,
10910,
23763,
2596,
1459,
1199,
13,
365,
18,
4646,
18,
4412,
1435,
468,
3527,
777,
4551,
2489,
1842,
16762,
18,
613,
18,
4148,
2932,
15745,
1842,
16762,
1199,
13,
364,
7313,
316,
365,
18,
3813,
67,
4376,
67,
7814,
87,
30,
7313,
18,
4412,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1746,
12,
2890,
4672,
3536,
3527,
326,
1459,
358,
326,
23763,
3325,
1756,
18,
3536,
365,
18,
29133,
273,
1053,
613,
18,
1376,
2932,
4572,
310,
1842,
7403,
1199,
13,
468,
10918,
1281,
5329,
310,
7403,
18,
364,
6941,
316,
261,
2890,
18,
4661,
67,
18334,
67,
10013,
16,
365,
18,
4661,
67,
9561,
67,
10013,
16,
365,
18,
9561,
67,
24987,
67,
10013,
4672,
598,
6941,
30,
6941,
18,
12336,
1435,
365,
18,
3813,
67,
5930,
18,
5701,
1435,
365,
18,
24987,
67,
5930,
18,
5701,
1435,
365,
18,
18085,
67,
5930,
18,
5701,
1435,
365,
18,
3256,
67,
5930,
18,
5701,
1435,
613,
18,
1376,
2932,
1595,
7403,
12114,
18,
385,
10910,
23763,
2596,
1459,
1199,
2
] |
return http.Response(stream = '')
|
return HTMLResponse(stream = '')
|
def render(self, ctx): #self.worksheet.ping(self.username) self.worksheet.ping(username=None) # None so doesn't save a revision return http.Response(stream = '')
|
2c1a5997a8830efcfb475993e5f1efb45ed121ea /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/2c1a5997a8830efcfb475993e5f1efb45ed121ea/twist.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1743,
12,
2890,
16,
1103,
4672,
468,
2890,
18,
1252,
8118,
18,
1382,
12,
2890,
18,
5053,
13,
365,
18,
1252,
8118,
18,
1382,
12,
5053,
33,
7036,
13,
225,
468,
599,
1427,
3302,
1404,
1923,
279,
6350,
327,
1062,
18,
1064,
12,
3256,
273,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1743,
12,
2890,
16,
1103,
4672,
468,
2890,
18,
1252,
8118,
18,
1382,
12,
2890,
18,
5053,
13,
365,
18,
1252,
8118,
18,
1382,
12,
5053,
33,
7036,
13,
225,
468,
599,
1427,
3302,
1404,
1923,
279,
6350,
327,
1062,
18,
1064,
12,
3256,
273,
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
] |
key = 'C-c i o'
|
key = 'C-c r o'
|
def _get_confs(self): return {'name': dialog.Data('Extracted %s name: ' % self.kind)}
|
c73bbee7e9a87e20fe1891f20558b67891c27ef6 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8283/c73bbee7e9a87e20fe1891f20558b67891c27ef6/refactor.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
588,
67,
591,
2556,
12,
2890,
4672,
327,
13666,
529,
4278,
6176,
18,
751,
2668,
4976,
329,
738,
87,
508,
30,
296,
738,
365,
18,
9224,
16869,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.params['TITLE'] += ' "' + self.item.displayName.value + '"'
|
self.params['TITLE'] += ' "%s"' % \ self.item.displayName.value
|
def setParams(self): rootFolder = self.server.store.getItem('') self.params = { 'ROOT_ID': '/', 'ROOT_IMG': rootFolder.__image__, 'ROOT_DN': rootFolder.displayName.value, 'ID': self.item.id, } sAction = self.request.queryString['action'][0] self.params['TITLE'] = '@@%s@@' % sAction.upper() if sAction != 'select_folder': self.params['TITLE'] += ' "' + self.item.displayName.value + '"'
|
9a2f8b99a4794ca66a515bfe9ca832718bd20756 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2504/9a2f8b99a4794ca66a515bfe9ca832718bd20756/ui.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
31705,
12,
2890,
4672,
1365,
3899,
273,
365,
18,
3567,
18,
2233,
18,
588,
1180,
2668,
6134,
365,
18,
2010,
273,
288,
296,
9185,
67,
734,
4278,
2023,
16,
296,
9185,
67,
3445,
43,
4278,
1365,
3899,
16186,
2730,
972,
16,
296,
9185,
67,
8609,
4278,
1365,
3899,
18,
5417,
461,
18,
1132,
16,
296,
734,
4278,
365,
18,
1726,
18,
350,
16,
289,
272,
1803,
273,
365,
18,
2293,
18,
2271,
780,
3292,
1128,
3546,
63,
20,
65,
365,
18,
2010,
3292,
14123,
3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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
31705,
12,
2890,
4672,
1365,
3899,
273,
365,
18,
3567,
18,
2233,
18,
588,
1180,
2668,
6134,
365,
18,
2010,
273,
288,
296,
9185,
67,
734,
4278,
2023,
16,
296,
9185,
67,
3445,
43,
4278,
1365,
3899,
16186,
2730,
972,
16,
296,
9185,
67,
8609,
4278,
1365,
3899,
18,
5417,
461,
18,
1132,
16,
296,
734,
4278,
365,
18,
1726,
18,
350,
16,
289,
272,
1803,
273,
365,
18,
2293,
18,
2271,
780,
3292,
1128,
3546,
63,
20,
65,
365,
18,
2010,
3292,
14123,
3546,
273,
4622,
36,
9,
87,
36,
20887,
738,
272,
1803,
18,
5797,
1435,
225,
309,
272,
1803,
480,
296,
4025,
67,
5609,
4278,
365,
18,
2010,
3292,
14123,
3546,
1011,
296,
473,
9270,
2
] |
y0s, us = _split_opt_x(model, len(grid), p) y0s_from_p0 = self.get_initial_y() y0s[0,:] = y0s_from_p0[0,:]
|
y0s, us = _split_opt_x(model, len(grid), p, self.get_initial_y_grid0())
|
def h(self, p): # h(p) = 0 """Evaluates continuity (equality) constraints. This function has visually been verified to work in the sense that discontinuities lead to a big magnitude of the corresponding elements in the system. """ model = self.get_model() grid = self.get_grid() y0s, us = _split_opt_x(model, len(grid), p) # Assert that initial states of first gradient are unchanged y0s_from_p0 = self.get_initial_y() #N.testing.assert_array_almost_equal(y0s_from_p0[0], y0s[0]) y0s[0,:] = y0s_from_p0[0,:] def eval_last_ys(u, y0, interval): grad, last_y, gradparams, sens = self._shoot_single_segment(u, y0, interval) return last_y last_ys = N.array(map(eval_last_ys, us[:-1], y0s[:-1], grid[:-1])) print "Evaluating equality contraints:", (last_ys - y0s[1:]) return (last_ys - y0s[1:])
|
9fedf8f7b4ec6c72d7d4c7b78cfe8c5a9b004fb5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7711/9fedf8f7b4ec6c72d7d4c7b78cfe8c5a9b004fb5/shooting.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
366,
12,
2890,
16,
293,
4672,
468,
366,
12,
84,
13,
273,
374,
3536,
23533,
9985,
560,
261,
9729,
560,
13,
6237,
18,
225,
1220,
445,
711,
2281,
3452,
2118,
13808,
358,
1440,
316,
326,
12764,
716,
1015,
1213,
6860,
1961,
5871,
358,
279,
5446,
13463,
434,
326,
4656,
2186,
316,
326,
2619,
18,
3536,
938,
273,
365,
18,
588,
67,
2284,
1435,
3068,
273,
365,
18,
588,
67,
5222,
1435,
677,
20,
87,
16,
584,
273,
389,
4939,
67,
3838,
67,
92,
12,
2284,
16,
562,
12,
5222,
3631,
293,
13,
225,
468,
5452,
716,
2172,
5493,
434,
1122,
10292,
854,
14827,
677,
20,
87,
67,
2080,
67,
84,
20,
273,
365,
18,
588,
67,
6769,
67,
93,
1435,
468,
50,
18,
3813,
310,
18,
11231,
67,
1126,
67,
287,
10329,
67,
9729,
12,
93,
20,
87,
67,
2080,
67,
84,
20,
63,
20,
6487,
677,
20,
87,
63,
20,
5717,
677,
20,
87,
63,
20,
16,
26894,
273,
677,
20,
87,
67,
2080,
67,
84,
20,
63,
20,
16,
26894,
225,
1652,
5302,
67,
2722,
67,
1900,
12,
89,
16,
677,
20,
16,
3673,
4672,
6058,
16,
1142,
67,
93,
16,
6058,
2010,
16,
15390,
273,
365,
6315,
674,
1632,
67,
7526,
67,
9273,
12,
89,
16,
677,
20,
16,
3673,
13,
327,
1142,
67,
93,
1142,
67,
1900,
273,
423,
18,
1126,
12,
1458,
12,
8622,
67,
2722,
67,
1900,
16,
584,
10531,
17,
21,
6487,
677,
20,
87,
10531,
17,
21,
6487,
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,
366,
12,
2890,
16,
293,
4672,
468,
366,
12,
84,
13,
273,
374,
3536,
23533,
9985,
560,
261,
9729,
560,
13,
6237,
18,
225,
1220,
445,
711,
2281,
3452,
2118,
13808,
358,
1440,
316,
326,
12764,
716,
1015,
1213,
6860,
1961,
5871,
358,
279,
5446,
13463,
434,
326,
4656,
2186,
316,
326,
2619,
18,
3536,
938,
273,
365,
18,
588,
67,
2284,
1435,
3068,
273,
365,
18,
588,
67,
5222,
1435,
677,
20,
87,
16,
584,
273,
389,
4939,
67,
3838,
67,
92,
12,
2284,
16,
562,
12,
5222,
3631,
293,
13,
225,
468,
5452,
716,
2172,
5493,
434,
1122,
10292,
854,
14827,
677,
20,
87,
67,
2080,
67,
84,
20,
273,
365,
18,
588,
67,
6769,
67,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.