rem
stringlengths 2
226k
| add
stringlengths 0
227k
| context
stringlengths 8
228k
| meta
stringlengths 156
215
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
self.record_dependencies = docutils.utils.DependencyList()
|
if self.record_dependencies is None: self.record_dependencies = docutils.utils.DependencyList()
|
def __init__(self, *args, **kwargs): optparse.Values.__init__(self, *args, **kwargs) # Set up dependency list, in case it is needed. self.record_dependencies = docutils.utils.DependencyList()
|
1a545ba767987beef86d40173f38ec27660cb68e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5620/1a545ba767987beef86d40173f38ec27660cb68e/frontend.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
380,
1968,
16,
2826,
4333,
4672,
2153,
2670,
18,
1972,
16186,
2738,
972,
12,
2890,
16,
380,
1968,
16,
2826,
4333,
13,
468,
1000,
731,
4904,
666,
16,
316,
648,
518,
353,
3577,
18,
365,
18,
3366,
67,
11037,
273,
997,
5471,
18,
5471,
18,
7787,
682,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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,
316,
648,
518,
353,
3577,
18,
365,
18,
3366,
67,
11037,
273,
997,
5471,
18,
5471,
18,
7787,
682,
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
] |
command_result = True
|
connection_result = True
|
def attemptConnection(hostname, username, password, timeout=30, command=False, local_filepath=False, remote_filepath='/tmp/', execute=False, remove=False, sudo=False, run_as='root'): """Attempt to login to 'hostname' using 'username'/'password' and execute 'command'. Will excute the command via sudo if 'sudo' is set to True (as root by default) and optionally as a given user (run_as). Returns the command output if everything connected and ran successfully. Returns False if connecting was unsuccessful or an exception was encountered.""" debug("attemptConnection(%s, %s, <password>, %s, %s, %s, %s, %s, %s, %s, %s)" % (hostname, username, timeout, command, local_filepath, remote_filepath, execute, remove, sudo, run_as)) command_result = True # TODO: Add stderr handling if hostname != "": try: ssh = paramikoConnect(hostname, username, password, timeout) if local_filepath: sftpPut(ssh, local_filepath, remote_filepath) if execute: debug("Executing %s on %s" % (filename, hostname)) stdin, stdout, stderr = ssh.exec_command("chmod a+x %s" % remote_filepath) # Make it executable (a+x in case we run as another user via sudo) if sudo: stdout, stderr = sudoExecute(transport=ssh, command=command, password=password, run_as=run_as) else: stdin, stdout, stderr = ssh.exec_command(remote_filepath) command_result = stdout.readlines() if remove: ssh.exec_command("rm -f %s" % remote_filepath) if command: if sudo: stdout, stderr = sudoExecute(transport=ssh, command=command, password=password, run_as=run_as) else: stdin, stdout, stderr = ssh.exec_command(command) command_result = stdout.readlines() elif command is False and execute is False: # If we're not given anything to execute run the uptime command to make sure that we can execute *something* stdin, stdout, stderr = ssh.exec_command('uptime') command_result = stdout.readlines() ssh.close() command_result = "".join(command_result) command_result = normalizeString(command_result) except Exception, detail: # Connection failed traceback.print_exc() print "Exception: %s" % detail command_result = False ssh.close() return command_result
|
af991bd779b6fc6a4e78f3728de9053171539741 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11566/af991bd779b6fc6a4e78f3728de9053171539741/sshpt.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4395,
1952,
12,
10358,
16,
2718,
16,
2201,
16,
2021,
33,
5082,
16,
1296,
33,
8381,
16,
1191,
67,
10561,
33,
8381,
16,
2632,
67,
10561,
2218,
19,
5645,
19,
2187,
1836,
33,
8381,
16,
1206,
33,
8381,
16,
14669,
33,
8381,
16,
1086,
67,
345,
2218,
3085,
11,
4672,
3536,
7744,
358,
3925,
358,
296,
10358,
11,
1450,
296,
5053,
11,
2473,
3664,
11,
471,
1836,
296,
3076,
10332,
9980,
3533,
624,
326,
1296,
3970,
14669,
309,
296,
20566,
11,
353,
444,
358,
1053,
261,
345,
1365,
635,
805,
13,
471,
8771,
487,
279,
864,
729,
261,
2681,
67,
345,
2934,
2860,
326,
1296,
876,
309,
7756,
5840,
471,
18892,
4985,
18,
2860,
1083,
309,
14244,
1703,
29411,
578,
392,
1520,
1703,
9919,
12123,
225,
1198,
2932,
11764,
1952,
9275,
87,
16,
738,
87,
16,
411,
3664,
20401,
738,
87,
16,
738,
87,
16,
738,
87,
16,
738,
87,
16,
738,
87,
16,
738,
87,
16,
738,
87,
16,
738,
87,
2225,
738,
261,
10358,
16,
2718,
16,
2021,
16,
1296,
16,
1191,
67,
10561,
16,
2632,
67,
10561,
16,
1836,
16,
1206,
16,
14669,
16,
1086,
67,
345,
3719,
1459,
67,
2088,
273,
1053,
225,
468,
2660,
30,
1436,
4514,
5057,
309,
5199,
480,
1408,
30,
775,
30,
7056,
273,
579,
27113,
5215,
12,
10358,
16,
2718,
16,
2201,
16,
2021,
13,
309,
1191,
67,
10561,
30,
26221,
6426,
12,
10975,
16,
1191,
67,
10561,
16,
2632,
67,
10561,
13,
309,
1836,
30,
1198,
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,
4395,
1952,
12,
10358,
16,
2718,
16,
2201,
16,
2021,
33,
5082,
16,
1296,
33,
8381,
16,
1191,
67,
10561,
33,
8381,
16,
2632,
67,
10561,
2218,
19,
5645,
19,
2187,
1836,
33,
8381,
16,
1206,
33,
8381,
16,
14669,
33,
8381,
16,
1086,
67,
345,
2218,
3085,
11,
4672,
3536,
7744,
358,
3925,
358,
296,
10358,
11,
1450,
296,
5053,
11,
2473,
3664,
11,
471,
1836,
296,
3076,
10332,
9980,
3533,
624,
326,
1296,
3970,
14669,
309,
296,
20566,
11,
353,
444,
358,
1053,
261,
345,
1365,
635,
805,
13,
471,
8771,
487,
279,
864,
729,
261,
2681,
67,
345,
2934,
2860,
326,
1296,
876,
309,
7756,
5840,
471,
18892,
4985,
18,
2860,
1083,
309,
14244,
1703,
2
] |
if event.button == 3:
|
if (event.button == 1 and gpodder.interface == gpodder.MAEMO) or \ (event.button == 3 and gpodder.interface == gpodder.GUI):
|
def treeview_downloads_button_pressed(self, treeview, event): if event.button == 1: # Catch left mouse button presses, and if we there is no # path at the given position, deselect all items (x, y) = (int(event.x), int(event.y)) (path, column, rx, ry) = treeview.get_path_at_pos(x, y) or (None,)*4 if path is None: treeview.get_selection().unselect_all()
|
510c784e2954344f295cb7cfc7e22925148e180f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12778/510c784e2954344f295cb7cfc7e22925148e180f/gui.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2151,
1945,
67,
7813,
87,
67,
5391,
67,
10906,
12,
2890,
16,
2151,
1945,
16,
871,
4672,
309,
871,
18,
5391,
422,
404,
30,
468,
21984,
2002,
7644,
3568,
11779,
281,
16,
471,
309,
732,
1915,
353,
1158,
468,
589,
622,
326,
864,
1754,
16,
2832,
13759,
777,
1516,
261,
92,
16,
677,
13,
273,
261,
474,
12,
2575,
18,
92,
3631,
509,
12,
2575,
18,
93,
3719,
261,
803,
16,
1057,
16,
8581,
16,
16826,
13,
273,
2151,
1945,
18,
588,
67,
803,
67,
270,
67,
917,
12,
92,
16,
677,
13,
578,
261,
7036,
16,
17653,
24,
309,
589,
353,
599,
30,
2151,
1945,
18,
588,
67,
10705,
7675,
318,
4025,
67,
454,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2151,
1945,
67,
7813,
87,
67,
5391,
67,
10906,
12,
2890,
16,
2151,
1945,
16,
871,
4672,
309,
871,
18,
5391,
422,
404,
30,
468,
21984,
2002,
7644,
3568,
11779,
281,
16,
471,
309,
732,
1915,
353,
1158,
468,
589,
622,
326,
864,
1754,
16,
2832,
13759,
777,
1516,
261,
92,
16,
677,
13,
273,
261,
474,
12,
2575,
18,
92,
3631,
509,
12,
2575,
18,
93,
3719,
261,
803,
16,
1057,
16,
8581,
16,
16826,
13,
273,
2151,
1945,
18,
588,
67,
803,
67,
270,
67,
917,
12,
92,
16,
677,
13,
578,
261,
7036,
16,
17653,
24,
309,
589,
353,
599,
30,
2151,
1945,
18,
588,
67,
10705,
7675,
318,
4025,
67,
454,
1435,
2,
-100,
-100
] |
self.assertEqual(err[-1], b'OK')
|
self.assertIn(b'OK', err)
|
def get_parse_out_err(p): return [b.splitlines() for b in p.communicate()]
|
f10c400b91e44c5c744f4ddc05d90933cba3a56b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8546/f10c400b91e44c5c744f4ddc05d90933cba3a56b/test_runner.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
2670,
67,
659,
67,
370,
12,
84,
4672,
327,
306,
70,
18,
4939,
3548,
1435,
364,
324,
316,
293,
18,
5702,
318,
2659,
1435,
65,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
2670,
67,
659,
67,
370,
12,
84,
4672,
327,
306,
70,
18,
4939,
3548,
1435,
364,
324,
316,
293,
18,
5702,
318,
2659,
1435,
65,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
errormessage = 'ACTION=MOVE STATUS=ERROR FILE=' + filename + ' ERROR=' + inst
|
errormessage = 'ACTION=MOVE STATUS=ERROR FILE=' + filename + ' ERROR=' + str(inst)
|
def do_file_move(showid, showname, snum, enum, epname, quality, fileext, origfilename): season_dir = 'Season ' + snum episode_filename = '[' + snum + 'x' + enum + ']' + ' ' + epname + ' [' + quality + ']' + fileext newpath = os.path.join(tv_dir, showname, season_dir, episode_filename) sdir = os.path.split(newpath) if not os.path.isdir(sdir[0]): os.makedirs(sdir[0]) shutil.move(origfilename, newpath) os.symlink(newpath, origfilename) movemessage = 'ACTION=MOVE MOVESRC=' + origfilename + ' MOVEDEST=' + showname + ' ' + episode_filename log_output(movemessage) else: for nukefile in os.listdir(sdir[0]): XXxXX = snum + 'x' + enum if nukefile.find(XXxXX) > 0: fullnukepath = os.path.join(sdir[0], nukefile) nuke_origfilename = find_origfilename(fullnukepath) if nuke_origfilename == 'None': nukemoveto = os.path.join(nuke_dir, nukefile) nukedestname = os.path.split(nukemoveto) else: nukemoveto = os.path.join(nuke_dir, nuke_origfilename) nukedestname = os.path.split(nukemoveto) nukemoveorigto = os.path.join(nuke_dir, origfilename) if quality == '1080P': shutil.move(fullnukepath, nukemoveto) find_relink(fullnukepath, nukemoveto) nukemessage = 'ACTION=NUKE NUKESRC=' + nukefile + ' NUKEDEST=' + nukedestname[1] + ' NUKEDBY=' + origfilename + ' REASON=New1080P' log_output(nukemessage) elif quality == '720P' and nukefile.find('1080P') < 0: shutil.move(fullnukepath, nukemoveto) find_relink(fullnukepath, nukemoveto) nukemessage = 'ACTION=NUKE NUKESRC=' + nukefile + ' NUKEDEST=' + nukedestname[1] + ' NUKEDBY=' + origfilename + ' REASON=New720P' log_output(nukemessage) elif nukefile.find('1080P') < 0 and nukefile.find('720P') < 0: shutil.move(fullnukepath, nukemoveto) find_relink(fullnukepath, nukemoveto) nukemessage = 'ACTION=NUKE NUKESRC=' + nukefile + ' NUKEDEST=' + nukedestname[1] + ' NUKEDBY=' + origfilename + ' REASON=NewFile' log_output(nukemessage) else: shutil.move(origfilename, nukemoveorigto) os.symlink(nukemoveorigto, origfilename) nukemessage = 'ACTION=NUKE NUKESRC=' + origfilename + ' NUKEDEST=' + origfilename + ' NUKEDBY=' + nukefile + ' REASON=BetterAvail' log_output(nukemessage) if not os.path.islink(origfilename) and os.path.isfile(origfilename): shutil.move(origfilename, newpath) os.symlink(newpath, origfilename) movemessage = 'ACTION=MOVE MOVESRC=' + origfilename + ' MOVEDEST=' + showname + ' ' + episode_filename log_output(movemessage)
|
11d4d3e286e712786517fd0886c19abfc7b080f4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13915/11d4d3e286e712786517fd0886c19abfc7b080f4/tvwrangler.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
768,
67,
8501,
12,
4500,
350,
16,
2405,
529,
16,
272,
2107,
16,
2792,
16,
5529,
529,
16,
9312,
16,
585,
408,
16,
1647,
3459,
4672,
225,
15874,
67,
1214,
273,
296,
1761,
2753,
296,
397,
272,
2107,
17054,
67,
3459,
273,
8375,
397,
272,
2107,
397,
296,
92,
11,
397,
2792,
397,
8641,
397,
296,
296,
397,
5529,
529,
397,
296,
10228,
397,
9312,
397,
8641,
397,
585,
408,
25094,
273,
1140,
18,
803,
18,
5701,
12,
24161,
67,
1214,
16,
2405,
529,
16,
15874,
67,
1214,
16,
17054,
67,
3459,
13,
225,
272,
1214,
273,
1140,
18,
803,
18,
4939,
12,
2704,
803,
13,
225,
309,
486,
1140,
18,
803,
18,
291,
1214,
12,
87,
1214,
63,
20,
65,
4672,
1140,
18,
81,
9477,
10539,
12,
87,
1214,
63,
20,
5717,
11060,
18,
8501,
12,
4949,
3459,
16,
25094,
13,
1140,
18,
21278,
12,
2704,
803,
16,
1647,
3459,
13,
5730,
351,
615,
273,
296,
12249,
33,
16537,
16070,
3412,
28413,
2218,
397,
1647,
3459,
397,
296,
16070,
3412,
1639,
882,
2218,
397,
2405,
529,
397,
296,
296,
397,
17054,
67,
3459,
613,
67,
2844,
12,
81,
1527,
351,
615,
13,
469,
30,
364,
9244,
4491,
768,
316,
1140,
18,
1098,
1214,
12,
87,
1214,
63,
20,
65,
4672,
1139,
60,
92,
5619,
273,
272,
2107,
397,
296,
92,
11,
397,
2792,
309,
9244,
4491,
768,
18,
4720,
12,
5619,
92,
5619,
13,
405,
374,
30,
1983,
29705,
803,
273,
1140,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
768,
67,
8501,
12,
4500,
350,
16,
2405,
529,
16,
272,
2107,
16,
2792,
16,
5529,
529,
16,
9312,
16,
585,
408,
16,
1647,
3459,
4672,
225,
15874,
67,
1214,
273,
296,
1761,
2753,
296,
397,
272,
2107,
17054,
67,
3459,
273,
8375,
397,
272,
2107,
397,
296,
92,
11,
397,
2792,
397,
8641,
397,
296,
296,
397,
5529,
529,
397,
296,
10228,
397,
9312,
397,
8641,
397,
585,
408,
25094,
273,
1140,
18,
803,
18,
5701,
12,
24161,
67,
1214,
16,
2405,
529,
16,
15874,
67,
1214,
16,
17054,
67,
3459,
13,
225,
272,
1214,
273,
1140,
18,
803,
18,
4939,
12,
2704,
803,
13,
225,
309,
486,
1140,
18,
803,
18,
291,
1214,
12,
2
] |
assert len(p)==1 liblist.append(p[0]) return liblist
|
info = {'extra_objects':p} break if info is None: return for d in incl_dirs: if len(combine_paths(d,['fftc8.h','fftfreq.h']))==2: dict_append(info,include_dirs=[d], define_macros=[('SCIPY_DJBFFT_H',None)]) self.set_info(**info) return
|
def _lib_list(self, lib_dir, libs, ext): assert type(lib_dir) is type('') liblist = [] for l in libs: p = combine_paths(lib_dir, 'lib'+l+ext) if not p: p = combine_paths(lib_dir, l+ext) if p: assert len(p)==1 liblist.append(p[0]) return liblist
|
ac14c956d27961edc283b7ee1b08f7497a7678bf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14925/ac14c956d27961edc283b7ee1b08f7497a7678bf/system_info.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2941,
67,
1098,
12,
2890,
16,
2561,
67,
1214,
16,
15042,
16,
1110,
4672,
1815,
618,
12,
2941,
67,
1214,
13,
353,
618,
2668,
6134,
2561,
1098,
273,
5378,
364,
328,
316,
15042,
30,
293,
273,
8661,
67,
4481,
12,
2941,
67,
1214,
16,
296,
2941,
11,
15,
80,
15,
408,
13,
309,
486,
293,
30,
293,
273,
8661,
67,
4481,
12,
2941,
67,
1214,
16,
328,
15,
408,
13,
309,
293,
30,
1815,
562,
12,
84,
13,
631,
21,
2561,
1098,
18,
6923,
12,
84,
63,
20,
5717,
327,
2561,
1098,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2941,
67,
1098,
12,
2890,
16,
2561,
67,
1214,
16,
15042,
16,
1110,
4672,
1815,
618,
12,
2941,
67,
1214,
13,
353,
618,
2668,
6134,
2561,
1098,
273,
5378,
364,
328,
316,
15042,
30,
293,
273,
8661,
67,
4481,
12,
2941,
67,
1214,
16,
296,
2941,
11,
15,
80,
15,
408,
13,
309,
486,
293,
30,
293,
273,
8661,
67,
4481,
12,
2941,
67,
1214,
16,
328,
15,
408,
13,
309,
293,
30,
1815,
562,
12,
84,
13,
631,
21,
2561,
1098,
18,
6923,
12,
84,
63,
20,
5717,
327,
2561,
1098,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if e == errno.EACCES:
|
if e == errno.EACCES or e == errno.EPERM:
|
def msg(err): if what is not None: log.msg("%s while %s" % (err, what))
|
a7ccc100326c948d7e092ad1938dfec2ed9cdd7b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/a7ccc100326c948d7e092ad1938dfec2ed9cdd7b/http.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1234,
12,
370,
4672,
309,
4121,
353,
486,
599,
30,
613,
18,
3576,
27188,
87,
1323,
738,
87,
6,
738,
261,
370,
16,
4121,
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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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1234,
12,
370,
4672,
309,
4121,
353,
486,
599,
30,
613,
18,
3576,
27188,
87,
1323,
738,
87,
6,
738,
261,
370,
16,
4121,
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,
-100,
-100
] |
...
|
1.0000000000000000000000000000000000000000000000000000000000*I
|
#def _singular_(self, singular):
|
b4b3245d1251e91c0a285bb11f7d5d67dd1a7536 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/b4b3245d1251e91c0a285bb11f7d5d67dd1a7536/constants.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
468,
536,
389,
17835,
67,
12,
2890,
16,
10048,
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,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
468,
536,
389,
17835,
67,
12,
2890,
16,
10048,
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
] |
def __init__(self, elem, parent=None): self.parent = parent
|
def __init__(self, elem, parent=None, index=0):
|
def __init__(self, elem, parent=None): self.parent = parent if elem.tag != 'Layer': raise ValueError('%s should be a Layer' % (elem,)) for key in ('Name', 'Title'): val = elem.find(key) if val is not None: setattr(self, key.lower(), val.text.strip()) else: setattr(self, key.lower(), 'unnamed_layer') self.id=self.name #conform to new interface # bboxes b = elem.find('BoundingBox') self.boundingBox = None if b is not None: try: #sometimes the SRS attribute is (wrongly) not provided srs=b.attrib['SRS'] except KeyError: srs=None self.boundingBox = ( float(b.attrib['minx']), float(b.attrib['miny']), float(b.attrib['maxx']), float(b.attrib['maxy']), srs, ) elif self.parent: if hasattr(self.parent, 'boundingBox'): self.boundingBox = self.parent.boundingBox
|
b48f1be61840bde02950c726a84edc9903c5ea0e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11708/b48f1be61840bde02950c726a84edc9903c5ea0e/wms.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
3659,
16,
982,
33,
7036,
16,
770,
33,
20,
4672,
309,
3659,
18,
2692,
480,
296,
4576,
4278,
1002,
2068,
29909,
87,
1410,
506,
279,
12112,
11,
738,
261,
10037,
16,
3719,
364,
498,
316,
7707,
461,
2187,
296,
4247,
11,
4672,
1244,
273,
3659,
18,
4720,
12,
856,
13,
309,
1244,
353,
486,
599,
30,
9241,
12,
2890,
16,
498,
18,
8167,
9334,
1244,
18,
955,
18,
6406,
10756,
469,
30,
9241,
12,
2890,
16,
498,
18,
8167,
9334,
296,
318,
13188,
67,
6363,
6134,
365,
18,
350,
33,
2890,
18,
529,
468,
591,
687,
358,
394,
1560,
468,
8472,
281,
324,
273,
3659,
18,
4720,
2668,
19020,
6134,
365,
18,
3653,
13488,
273,
599,
309,
324,
353,
486,
599,
30,
775,
30,
468,
87,
25976,
326,
348,
13225,
1566,
353,
261,
21530,
715,
13,
486,
2112,
26200,
33,
70,
18,
14588,
3292,
10090,
55,
3546,
1335,
4999,
30,
26200,
33,
7036,
365,
18,
3653,
13488,
273,
261,
1431,
12,
70,
18,
14588,
3292,
1154,
92,
3546,
3631,
1431,
12,
70,
18,
14588,
3292,
1154,
93,
3546,
3631,
1431,
12,
70,
18,
14588,
3292,
1896,
92,
3546,
3631,
1431,
12,
70,
18,
14588,
3292,
1896,
93,
3546,
3631,
26200,
16,
262,
1327,
365,
18,
2938,
30,
309,
3859,
12,
2890,
18,
2938,
16,
296,
3653,
13488,
11,
4672,
365,
18,
3653,
13488,
273,
365,
18,
2938,
18,
3653,
13488,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
3659,
16,
982,
33,
7036,
16,
770,
33,
20,
4672,
309,
3659,
18,
2692,
480,
296,
4576,
4278,
1002,
2068,
29909,
87,
1410,
506,
279,
12112,
11,
738,
261,
10037,
16,
3719,
364,
498,
316,
7707,
461,
2187,
296,
4247,
11,
4672,
1244,
273,
3659,
18,
4720,
12,
856,
13,
309,
1244,
353,
486,
599,
30,
9241,
12,
2890,
16,
498,
18,
8167,
9334,
1244,
18,
955,
18,
6406,
10756,
469,
30,
9241,
12,
2890,
16,
498,
18,
8167,
9334,
296,
318,
13188,
67,
6363,
6134,
365,
18,
350,
33,
2890,
18,
529,
468,
591,
687,
358,
394,
1560,
468,
8472,
281,
324,
273,
3659,
18,
4720,
2668,
19020,
6134,
365,
18,
2
] |
args["rootlabel"] = "live:LABEL=%(fslabel)s" % args
|
args["rootlabel"] = "live:CDLABEL=%(fslabel)s" % args
|
def __get_image_stanza(self, is_xen, isDracut, **args): if isDracut: args["rootlabel"] = "live:LABEL=%(fslabel)s" % args else: args["rootlabel"] = "CDLABEL=%(fslabel)s" % args
|
f6389a616ba162496f373e3ac21bbfec516b42cd /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9342/f6389a616ba162496f373e3ac21bbfec516b42cd/live.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
588,
67,
2730,
67,
541,
11939,
12,
2890,
16,
353,
67,
92,
275,
16,
353,
40,
354,
5150,
16,
2826,
1968,
4672,
309,
353,
40,
354,
5150,
30,
833,
9614,
3085,
1925,
11929,
273,
315,
16472,
30,
39,
8914,
10255,
5095,
12,
2556,
1925,
13,
87,
6,
738,
833,
469,
30,
833,
9614,
3085,
1925,
11929,
273,
315,
39,
8914,
10255,
5095,
12,
2556,
1925,
13,
87,
6,
738,
833,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
588,
67,
2730,
67,
541,
11939,
12,
2890,
16,
353,
67,
92,
275,
16,
353,
40,
354,
5150,
16,
2826,
1968,
4672,
309,
353,
40,
354,
5150,
30,
833,
9614,
3085,
1925,
11929,
273,
315,
16472,
30,
39,
8914,
10255,
5095,
12,
2556,
1925,
13,
87,
6,
738,
833,
469,
30,
833,
9614,
3085,
1925,
11929,
273,
315,
39,
8914,
10255,
5095,
12,
2556,
1925,
13,
87,
6,
738,
833,
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
] |
self.whiteChars = "".join([c for c in self.whiteChars if c not in self.matchWhite])
|
self.setWhitespaceChars( "".join([c for c in self.whiteChars if c not in self.matchWhite]) )
|
def __init__(self, ws=" \t\r\n", min=1, max=0, exact=0): super(White,self).__init__() self.matchWhite = ws self.whiteChars = "".join([c for c in self.whiteChars if c not in self.matchWhite]) #~ self.leaveWhitespace() self.name = ("".join([White.whiteStrs[c] for c in self.matchWhite])) self.mayReturnEmpty = True self.errmsg = "Expected " + self.name self.myException.msg = self.errmsg
|
f785be5d2ca075a1c7bb01b51854db8384acb590 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3693/f785be5d2ca075a1c7bb01b51854db8384acb590/pyparsing.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
4945,
1546,
521,
88,
64,
86,
64,
82,
3113,
1131,
33,
21,
16,
943,
33,
20,
16,
5565,
33,
20,
4672,
2240,
12,
13407,
16,
2890,
2934,
972,
2738,
972,
1435,
365,
18,
1916,
13407,
273,
4945,
365,
18,
542,
9431,
7803,
12,
1408,
18,
5701,
3816,
71,
364,
276,
316,
365,
18,
14739,
7803,
309,
276,
486,
316,
365,
18,
1916,
13407,
5717,
262,
468,
98,
365,
18,
19574,
9431,
1435,
365,
18,
529,
273,
261,
3660,
18,
5701,
3816,
13407,
18,
14739,
28517,
63,
71,
65,
364,
276,
316,
365,
18,
1916,
13407,
22643,
365,
18,
24877,
990,
1921,
273,
1053,
365,
18,
24409,
273,
315,
6861,
315,
397,
365,
18,
529,
365,
18,
4811,
503,
18,
3576,
273,
365,
18,
24409,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4945,
1546,
521,
88,
64,
86,
64,
82,
3113,
1131,
33,
21,
16,
943,
33,
20,
16,
5565,
33,
20,
4672,
2240,
12,
13407,
16,
2890,
2934,
972,
2738,
972,
1435,
365,
18,
1916,
13407,
273,
4945,
365,
18,
542,
9431,
7803,
12,
1408,
18,
5701,
3816,
71,
364,
276,
316,
365,
18,
14739,
7803,
309,
276,
486,
316,
365,
18,
1916,
13407,
5717,
262,
468,
98,
365,
18,
19574,
9431,
1435,
365,
18,
529,
273,
261,
3660,
18,
5701,
3816,
13407,
18,
14739,
28517,
63,
71,
65,
364,
276,
316,
365,
18,
1916,
13407,
22643,
365,
18,
24877,
990,
1921,
273,
1053,
365,
18,
24409,
273,
315,
6861,
315,
397,
365,
2
] |
cleanquery = make_query(self.cleanrequest).replace('%20', '+') return cleanquery
|
return make_query(self.cleanrequest)
|
def cleanQuery(self) : """ make a query_string with clean Request """ cleanquery = make_query(self.cleanrequest).replace('%20', '+') return cleanquery
|
4c4b3d3fbcd12c756dae313f8ab4288415d273ff /local1/tlutelli/issta_data/temp/all_python//python/2009_tem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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2721,
1138,
12,
2890,
13,
294,
3536,
1221,
279,
843,
67,
1080,
598,
2721,
1567,
3536,
282,
327,
1221,
67,
2271,
12,
2890,
18,
6200,
2293,
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
] |
j.outputsandbox = job.outputsandbox[:] extra = job.application.extra j.application.extra.input_buffers = extra.input_buffers.copy() j.application.extra.input_files = extra.input_files[:]
|
j.outputsandbox = job.outputsandbox[:]
|
def create_gaudi_subjob(splitter, job, inputdata): j = splitter.createSubjob(job) j.application = job.application j.backend = job.backend if inputdata: j.inputdata = inputdata j.application.extra.inputdata = j.inputdata else: j.inputdata = None j.application.extra.inputdata = LHCbDataset() j.outputsandbox = job.outputsandbox[:] extra = job.application.extra j.application.extra.input_buffers = extra.input_buffers.copy() j.application.extra.input_files = extra.input_files[:] return j
|
203f58884a506edd2b980f3b9280acf0663f8d21 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1488/203f58884a506edd2b980f3b9280acf0663f8d21/Splitters.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
67,
15833,
1100,
77,
67,
1717,
4688,
12,
4939,
387,
16,
1719,
16,
810,
892,
4672,
525,
273,
21553,
18,
2640,
1676,
4688,
12,
4688,
13,
525,
18,
3685,
273,
1719,
18,
3685,
525,
18,
9993,
273,
1719,
18,
9993,
309,
810,
892,
30,
525,
18,
2630,
892,
273,
810,
892,
525,
18,
3685,
18,
7763,
18,
2630,
892,
273,
525,
18,
2630,
892,
469,
30,
525,
18,
2630,
892,
273,
599,
525,
18,
3685,
18,
7763,
18,
2630,
892,
273,
511,
44,
15237,
10656,
1435,
525,
18,
12295,
9069,
273,
1719,
18,
12295,
9069,
10531,
65,
327,
525,
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,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
981,
30,
1652,
752,
67,
15833,
1100,
77,
67,
1717,
4688,
12,
4939,
387,
16,
1719,
16,
810,
892,
4672,
525,
273,
21553,
18,
2640,
1676,
4688,
12,
4688,
13,
525,
18,
3685,
273,
1719,
18,
3685,
525,
18,
9993,
273,
1719,
18,
9993,
309,
810,
892,
30,
525,
18,
2630,
892,
273,
810,
892,
525,
18,
3685,
18,
7763,
18,
2630,
892,
273,
525,
18,
2630,
892,
469,
30,
525,
18,
2630,
892,
273,
599,
525,
18,
3685,
18,
7763,
18,
2630,
892,
273,
511,
44,
15237,
10656,
1435,
525,
18,
12295,
9069,
273,
1719,
18,
12295,
9069,
10531,
65,
327,
525,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
textmode = eolmode != 'strict'
|
textmode = eolmode not in ('strict', 'auto')
|
def applydiff(ui, fp, changed, strip=1, sourcefile=None, eolmode='strict'): """ Reads a patch from fp and tries to apply it. The dict 'changed' is filled in with all of the filenames changed by the patch. Returns 0 for a clean patch, -1 if any rejects were found and 1 if there was any fuzz. If 'eolmode' is 'strict', the patch content and patched file are read in binary mode. Otherwise, line endings are ignored when patching then normalized according to 'eolmode'. """ rejects = 0 err = 0 current_file = None gitpatches = None opener = util.opener(os.getcwd()) textmode = eolmode != 'strict' def closefile(): if not current_file: return 0 current_file.close() return len(current_file.rej) for state, values in iterhunks(ui, fp, sourcefile, textmode): if state == 'hunk': if not current_file: continue current_hunk = values ret = current_file.apply(current_hunk) if ret >= 0: changed.setdefault(current_file.fname, None) if ret > 0: err = 1 elif state == 'file': rejects += closefile() afile, bfile, first_hunk = values try: if sourcefile: current_file = patchfile(ui, sourcefile, opener, eolmode=eolmode) else: current_file, missing = selectfile(afile, bfile, first_hunk, strip) current_file = patchfile(ui, current_file, opener, missing, eolmode) except PatchError, err: ui.warn(str(err) + '\n') current_file, current_hunk = None, None rejects += 1 continue elif state == 'git': gitpatches = values cwd = os.getcwd() for gp in gitpatches: if gp.op in ('COPY', 'RENAME'): copyfile(gp.oldpath, gp.path, cwd) changed[gp.path] = gp else: raise util.Abort(_('unsupported parser state: %s') % state) rejects += closefile() if rejects: return -1 return err
|
70e75580f201a5657647fec96b40a9a4279aa27e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11312/70e75580f201a5657647fec96b40a9a4279aa27e/patch.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2230,
5413,
12,
4881,
16,
4253,
16,
3550,
16,
2569,
33,
21,
16,
1084,
768,
33,
7036,
16,
14775,
3188,
2218,
13948,
11,
4672,
3536,
29185,
279,
4729,
628,
4253,
471,
9327,
358,
2230,
518,
18,
225,
1021,
2065,
296,
6703,
11,
353,
6300,
316,
598,
777,
434,
326,
9066,
3550,
635,
326,
4729,
18,
2860,
374,
364,
279,
2721,
4729,
16,
300,
21,
309,
1281,
4925,
87,
4591,
1392,
471,
404,
309,
1915,
1703,
1281,
31839,
18,
225,
971,
296,
30951,
3188,
11,
353,
296,
13948,
2187,
326,
4729,
913,
471,
25786,
585,
854,
855,
316,
3112,
1965,
18,
5272,
16,
980,
679,
899,
854,
5455,
1347,
4729,
310,
1508,
5640,
4888,
358,
296,
30951,
3188,
10332,
3536,
4925,
87,
273,
374,
393,
273,
374,
783,
67,
768,
273,
599,
5071,
30278,
273,
599,
20532,
273,
1709,
18,
25098,
12,
538,
18,
588,
11089,
10756,
565,
977,
3188,
273,
14775,
3188,
486,
316,
7707,
13948,
2187,
296,
6079,
6134,
225,
1652,
1746,
768,
13332,
309,
486,
783,
67,
768,
30,
327,
374,
783,
67,
768,
18,
4412,
1435,
327,
562,
12,
2972,
67,
768,
18,
266,
78,
13,
225,
364,
919,
16,
924,
316,
1400,
76,
1683,
87,
12,
4881,
16,
4253,
16,
1084,
768,
16,
977,
3188,
4672,
309,
919,
422,
296,
76,
1683,
4278,
309,
486,
783,
67,
768,
30,
1324,
783,
67,
76,
1683,
273,
924,
325,
273,
783,
67,
768,
18,
9010,
12,
2972,
67,
76,
1683,
13,
309,
325,
1545,
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,
2230,
5413,
12,
4881,
16,
4253,
16,
3550,
16,
2569,
33,
21,
16,
1084,
768,
33,
7036,
16,
14775,
3188,
2218,
13948,
11,
4672,
3536,
29185,
279,
4729,
628,
4253,
471,
9327,
358,
2230,
518,
18,
225,
1021,
2065,
296,
6703,
11,
353,
6300,
316,
598,
777,
434,
326,
9066,
3550,
635,
326,
4729,
18,
2860,
374,
364,
279,
2721,
4729,
16,
300,
21,
309,
1281,
4925,
87,
4591,
1392,
471,
404,
309,
1915,
1703,
1281,
31839,
18,
225,
971,
296,
30951,
3188,
11,
353,
296,
13948,
2187,
326,
4729,
913,
471,
25786,
585,
854,
855,
316,
3112,
1965,
18,
5272,
16,
980,
679,
899,
854,
5455,
1347,
4729,
310,
1508,
5640,
4888,
358,
296,
30951,
3188,
10332,
2
] |
userName = diracAdmin._getCurrentUser() if not userName['OK']: print 'ERROR: Could not obtain current username from proxy' exitCode = 2 DIRAC.exit(exitCode) userName = userName['Value']
|
def usage(): print 'Usage: %s <DIRAC site name> <COMMENT>' %(Script.scriptName) print 'Note: emails should only be disabled for bulk operations.' DIRAC.exit(2)
|
a3116b1a41aa87c77359a68f43c0b2ef68721bbe /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/a3116b1a41aa87c77359a68f43c0b2ef68721bbe/dirac-admin-allow-site.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4084,
13332,
1172,
296,
5357,
30,
738,
87,
411,
4537,
2226,
2834,
508,
34,
411,
12200,
1870,
8975,
3651,
18,
4263,
461,
13,
1172,
296,
8067,
30,
14255,
1410,
1338,
506,
5673,
364,
8280,
5295,
1093,
18544,
2226,
18,
8593,
12,
22,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4084,
13332,
1172,
296,
5357,
30,
738,
87,
411,
4537,
2226,
2834,
508,
34,
411,
12200,
1870,
8975,
3651,
18,
4263,
461,
13,
1172,
296,
8067,
30,
14255,
1410,
1338,
506,
5673,
364,
8280,
5295,
1093,
18544,
2226,
18,
8593,
12,
22,
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
] |
|
return d.keys()
|
return list(d.keys())
|
def fill_dict(d, candidates, numentries): d.clear() for i in xrange(numentries): d[Horrid(random.choice(candidates))] = \ Horrid(random.choice(candidates)) return d.keys()
|
d7daf226f84645cb14ad0f8050bab79467cdacc4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8125/d7daf226f84645cb14ad0f8050bab79467cdacc4/test_mutants.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3636,
67,
1576,
12,
72,
16,
7965,
16,
818,
8219,
4672,
302,
18,
8507,
1435,
364,
277,
316,
12314,
12,
2107,
8219,
4672,
302,
63,
44,
280,
1691,
12,
9188,
18,
11569,
12,
21635,
3719,
65,
273,
521,
17158,
1691,
12,
9188,
18,
11569,
12,
21635,
3719,
327,
666,
12,
72,
18,
2452,
10756,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3636,
67,
1576,
12,
72,
16,
7965,
16,
818,
8219,
4672,
302,
18,
8507,
1435,
364,
277,
316,
12314,
12,
2107,
8219,
4672,
302,
63,
44,
280,
1691,
12,
9188,
18,
11569,
12,
21635,
3719,
65,
273,
521,
17158,
1691,
12,
9188,
18,
11569,
12,
21635,
3719,
327,
666,
12,
72,
18,
2452,
10756,
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
] |
if self.debug:
|
if getattr(cls, 'debug', False):
|
def getSimilarGWResultsGivenResultsByGene(self, phenotype_method_id, call_method_id, results_directory=None, \ analysis_method_id_ls=[1,7]): """ 2009-3-24 default value of analysis_method_id_ls is changed from [1,7,17,18,19] to [1,7] 2008-12-14 default value of analysis_method_id_ls is changed from [1,5,6,7] to [1,7,17,18,19] 2008-09-30 use phenotype_method_id and call_method_id to find out all genome-wide results 2008-09-24 """ sys.stderr.write("Getting results with phenotype=%s and call_method=%s ..."%(phenotype_method_id, call_method_id)) if self.debug: analysis_method_id_set = Set([1,7]) else: analysis_method_id_set = Set(analysis_method_id_ls) rows = Stock_250kDB.ResultsMethod.query.filter_by(phenotype_method_id=phenotype_method_id, call_method_id=call_method_id) analysis_method_id2gwr = {} for rm in rows: if rm.analysis_method_id in analysis_method_id_set: genome_wide_result = self.getResultMethodContent(rm, results_directory, min_MAF=0, construct_chr_pos2index=True) analysis_method_id2gwr[rm.analysis_method_id] = genome_wide_result sys.stderr.write("Done.\n") return analysis_method_id2gwr
|
bdc3752350001c791e90fb2760fcc0578318b113 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9645/bdc3752350001c791e90fb2760fcc0578318b113/DrawSNPRegion.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1322,
381,
5611,
30947,
3447,
6083,
3447,
858,
24442,
12,
2890,
16,
28825,
67,
2039,
67,
350,
16,
745,
67,
2039,
67,
350,
16,
1686,
67,
5149,
33,
7036,
16,
521,
6285,
67,
2039,
67,
350,
67,
3251,
22850,
21,
16,
27,
65,
4672,
3536,
4044,
29,
17,
23,
17,
3247,
805,
460,
434,
6285,
67,
2039,
67,
350,
67,
3251,
353,
3550,
628,
306,
21,
16,
27,
16,
4033,
16,
2643,
16,
3657,
65,
358,
306,
21,
16,
27,
65,
4044,
28,
17,
2138,
17,
3461,
805,
460,
434,
6285,
67,
2039,
67,
350,
67,
3251,
353,
3550,
628,
306,
21,
16,
25,
16,
26,
16,
27,
65,
358,
306,
21,
16,
27,
16,
4033,
16,
2643,
16,
3657,
65,
4044,
28,
17,
5908,
17,
5082,
999,
28825,
67,
2039,
67,
350,
471,
745,
67,
2039,
67,
350,
358,
1104,
596,
777,
14696,
17,
26767,
1686,
4044,
28,
17,
5908,
17,
3247,
3536,
2589,
18,
11241,
18,
2626,
2932,
19213,
1686,
598,
28825,
5095,
87,
471,
745,
67,
2039,
5095,
87,
18483,
17105,
13819,
10570,
67,
2039,
67,
350,
16,
745,
67,
2039,
67,
350,
3719,
309,
3869,
12,
6429,
16,
296,
4148,
2187,
1083,
4672,
6285,
67,
2039,
67,
350,
67,
542,
273,
1000,
3816,
21,
16,
27,
5717,
469,
30,
6285,
67,
2039,
67,
350,
67,
542,
273,
1000,
12,
12746,
67,
2039,
67,
350,
67,
3251,
13,
2595,
273,
20296,
363,
67,
26520,
79,
2290,
18,
3447,
1305,
18,
2271,
18,
2188,
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,
1322,
381,
5611,
30947,
3447,
6083,
3447,
858,
24442,
12,
2890,
16,
28825,
67,
2039,
67,
350,
16,
745,
67,
2039,
67,
350,
16,
1686,
67,
5149,
33,
7036,
16,
521,
6285,
67,
2039,
67,
350,
67,
3251,
22850,
21,
16,
27,
65,
4672,
3536,
4044,
29,
17,
23,
17,
3247,
805,
460,
434,
6285,
67,
2039,
67,
350,
67,
3251,
353,
3550,
628,
306,
21,
16,
27,
16,
4033,
16,
2643,
16,
3657,
65,
358,
306,
21,
16,
27,
65,
4044,
28,
17,
2138,
17,
3461,
805,
460,
434,
6285,
67,
2039,
67,
350,
67,
3251,
353,
3550,
628,
306,
21,
16,
25,
16,
26,
16,
27,
65,
358,
306,
21,
16,
27,
16,
4033,
16,
2643,
2
] |
exes = [ os.path.join(cg_root, 'linux', 'bin', 'cgc'), os.path.join(cg_root, 'linux', 'bin64', 'cgc'), os.path.join(cg_root, 'mac', 'bin', 'cgc'), os.path.join(cg_root, 'win', 'bin', 'cgc.exe') ] for exe in exes:
|
exe_paths = ['linux/bin/cgc', 'linux/bin64/cgc', 'mac/bin/cgc', 'win/bin/cgc.exe'] for exe_path in exe_paths:
|
def default_cgc(): paths = [ '/usr/bin/cgc', 'C:/Program Files/NVIDIA Corporation/Cg/bin/cgc.exe', 'C:/Program Files (x86)/NVIDIA Corporation/Cg/bin/cgc.exe' ] for path in paths: if os.path.exists(path): return path script_path = os.path.abspath(sys.path[0]) # Try again looking in the current working directory to match # the layout of the prebuilt o3dConverter binaries. cur_dir_paths = [ os.path.join(script_path, 'cgc'), os.path.join(script_path, 'cgc.exe') ] for path in cur_dir_paths: if (os.path.exists(path)): return path # Last fallback is to use the binaries in o3d/third_party/cg/files. # Unfortunately, because we can't rely on the OS name, we have to # actually try running the cgc executable. o3d_root = find_o3d_root(); cg_root = os.path.join(o3d_root, 'third_party', 'cg', 'files') exes = [ os.path.join(cg_root, 'linux', 'bin', 'cgc'), os.path.join(cg_root, 'linux', 'bin64', 'cgc'), os.path.join(cg_root, 'mac', 'bin', 'cgc'), os.path.join(cg_root, 'win', 'bin', 'cgc.exe') ] for exe in exes: try: subprocess.call([exe, '-v'], stdout=open(os.devnull, 'w'), stderr=open(os.devnull, 'w')) return exe except: pass # We don't know where cgc lives. return ''
|
b4063f4f2c6fc90bbda47a2fb5e91c437341938f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5060/b4063f4f2c6fc90bbda47a2fb5e91c437341938f/convert.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
805,
67,
71,
13241,
13332,
2953,
273,
306,
1173,
13640,
19,
4757,
19,
71,
13241,
2187,
296,
39,
27824,
9459,
6471,
19,
11679,
734,
15188,
9557,
11390,
19,
39,
75,
19,
4757,
19,
71,
13241,
18,
14880,
2187,
296,
39,
27824,
9459,
6471,
261,
92,
5292,
13176,
11679,
734,
15188,
9557,
11390,
19,
39,
75,
19,
4757,
19,
71,
13241,
18,
14880,
11,
308,
364,
589,
316,
2953,
30,
309,
1140,
18,
803,
18,
1808,
12,
803,
4672,
327,
589,
2728,
67,
803,
273,
1140,
18,
803,
18,
5113,
803,
12,
9499,
18,
803,
63,
20,
5717,
468,
6161,
3382,
7849,
316,
326,
783,
5960,
1867,
358,
845,
468,
326,
3511,
434,
326,
675,
12406,
320,
23,
72,
5072,
4158,
5646,
18,
662,
67,
1214,
67,
4481,
273,
306,
1140,
18,
803,
18,
5701,
12,
4263,
67,
803,
16,
296,
71,
13241,
19899,
1140,
18,
803,
18,
5701,
12,
4263,
67,
803,
16,
296,
71,
13241,
18,
14880,
6134,
308,
364,
589,
316,
662,
67,
1214,
67,
4481,
30,
309,
261,
538,
18,
803,
18,
1808,
12,
803,
3719,
30,
327,
589,
225,
468,
6825,
5922,
353,
358,
999,
326,
4158,
5646,
316,
320,
23,
72,
19,
451,
6909,
67,
21214,
19,
26275,
19,
2354,
18,
468,
1351,
24233,
16,
2724,
732,
848,
1404,
21187,
603,
326,
5932,
508,
16,
732,
1240,
358,
468,
6013,
775,
3549,
326,
276,
13241,
9070,
18,
320,
23,
72,
67,
3085,
273,
1104,
67,
83,
23,
72,
67,
3085,
5621,
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,
805,
67,
71,
13241,
13332,
2953,
273,
306,
1173,
13640,
19,
4757,
19,
71,
13241,
2187,
296,
39,
27824,
9459,
6471,
19,
11679,
734,
15188,
9557,
11390,
19,
39,
75,
19,
4757,
19,
71,
13241,
18,
14880,
2187,
296,
39,
27824,
9459,
6471,
261,
92,
5292,
13176,
11679,
734,
15188,
9557,
11390,
19,
39,
75,
19,
4757,
19,
71,
13241,
18,
14880,
11,
308,
364,
589,
316,
2953,
30,
309,
1140,
18,
803,
18,
1808,
12,
803,
4672,
327,
589,
2728,
67,
803,
273,
1140,
18,
803,
18,
5113,
803,
12,
9499,
18,
803,
63,
20,
5717,
468,
6161,
3382,
7849,
316,
326,
783,
5960,
1867,
358,
845,
468,
326,
3511,
434,
326,
675,
12406,
320,
23,
72,
2
] |
if "new game" in [x.name for x in self.menu]: import pdb; pdb.set_trace() for i in self.menu: i.goto((i.hx,i.hy)) log.debug("fadeOut menu %s"%[x.name for x in self.menu])
|
for i in self.menu: self.stuff_event(i.on_goto, (i.hx,i.hy)) log.debug("fadeOut menu using goto %s"%[x.name for x in self.menu])
|
def on_menu_fadeOut(self): """ animate hiding the menu """ if "new game" in [x.name for x in self.menu]: import pdb; pdb.set_trace() for i in self.menu: i.goto((i.hx,i.hy)) log.debug("fadeOut menu %s"%[x.name for x in self.menu]) self._event_finish()
|
ec56067dc0c51f918a919fab40a6c2230499799e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14331/ec56067dc0c51f918a919fab40a6c2230499799e/__init__.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
603,
67,
5414,
67,
507,
323,
1182,
12,
2890,
4672,
3536,
14671,
366,
10415,
326,
3824,
3536,
364,
277,
316,
365,
18,
5414,
30,
365,
18,
334,
3809,
67,
2575,
12,
77,
18,
265,
67,
75,
6302,
16,
261,
77,
18,
76,
92,
16,
77,
18,
18112,
3719,
613,
18,
4148,
2932,
507,
323,
1182,
3824,
1450,
2897,
738,
87,
28385,
63,
92,
18,
529,
364,
619,
316,
365,
18,
5414,
5717,
365,
6315,
2575,
67,
13749,
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,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
603,
67,
5414,
67,
507,
323,
1182,
12,
2890,
4672,
3536,
14671,
366,
10415,
326,
3824,
3536,
364,
277,
316,
365,
18,
5414,
30,
365,
18,
334,
3809,
67,
2575,
12,
77,
18,
265,
67,
75,
6302,
16,
261,
77,
18,
76,
92,
16,
77,
18,
18112,
3719,
613,
18,
4148,
2932,
507,
323,
1182,
3824,
1450,
2897,
738,
87,
28385,
63,
92,
18,
529,
364,
619,
316,
365,
18,
5414,
5717,
365,
6315,
2575,
67,
13749,
1435,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
page = None job_id = check_job_id(form) if job_id == None: fault_html = "The Job ID seems to be expired or invalid." page = ErrorPage(form, fault_html) else: page = RefinePrepPage(form)
|
page = RefinePrepPage(form)
|
def main(): form = cgi.FieldStorage() page = None job_id = check_job_id(form) if job_id == None: fault_html = "The Job ID seems to be expired or invalid." page = ErrorPage(form, fault_html) else: page = RefinePrepPage(form) try: print page.html_page() except RefinePrepError, err: text = '<p>%s</p>' % (err.text) page = ErrorPage(form, text) print page.html_page() except xmlrpclib.Fault, fault: fault_html = "xmlrpclib.Fault from refineprep.py:<br/>" fault_html += "fault code: %s<br/>fault string: %s" % ( fault.faultCode, fault.faultString) page = ErrorPage(form, fault_html) print page.html_page() except socket.error, err: page = ErrorPage(form, "socket.error: " + str(err)) print page.html_page()
|
506108cc1b3c6c0eaca0e88ca4b1e860b5a5f693 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10674/506108cc1b3c6c0eaca0e88ca4b1e860b5a5f693/refineprep.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
13332,
646,
273,
276,
10052,
18,
974,
3245,
1435,
225,
1363,
273,
3941,
558,
15543,
1964,
12,
687,
13,
775,
30,
1172,
1363,
18,
2620,
67,
2433,
1435,
225,
1335,
3941,
558,
15543,
668,
16,
393,
30,
977,
273,
2368,
84,
9822,
87,
1757,
84,
1870,
738,
261,
370,
18,
955,
13,
1363,
273,
1068,
1964,
12,
687,
16,
977,
13,
1172,
1363,
18,
2620,
67,
2433,
1435,
225,
1335,
2025,
13832,
830,
495,
18,
7083,
16,
12530,
30,
12530,
67,
2620,
225,
273,
315,
2902,
13832,
830,
495,
18,
7083,
628,
30446,
19109,
18,
2074,
22292,
2848,
26293,
12530,
67,
2620,
1011,
315,
643,
981,
30,
738,
87,
32,
2848,
21259,
643,
533,
30,
738,
87,
6,
738,
261,
12530,
18,
643,
1085,
16,
12530,
18,
643,
780,
13,
1363,
273,
1068,
1964,
12,
687,
16,
12530,
67,
2620,
13,
1172,
1363,
18,
2620,
67,
2433,
1435,
225,
1335,
2987,
18,
1636,
16,
393,
30,
1363,
273,
1068,
1964,
12,
687,
16,
315,
7814,
18,
1636,
30,
315,
397,
609,
12,
370,
3719,
1172,
1363,
18,
2620,
67,
2433,
1435,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
13332,
646,
273,
276,
10052,
18,
974,
3245,
1435,
225,
1363,
273,
3941,
558,
15543,
1964,
12,
687,
13,
775,
30,
1172,
1363,
18,
2620,
67,
2433,
1435,
225,
1335,
3941,
558,
15543,
668,
16,
393,
30,
977,
273,
2368,
84,
9822,
87,
1757,
84,
1870,
738,
261,
370,
18,
955,
13,
1363,
273,
1068,
1964,
12,
687,
16,
977,
13,
1172,
1363,
18,
2620,
67,
2433,
1435,
225,
1335,
2025,
13832,
830,
495,
18,
7083,
16,
12530,
30,
12530,
67,
2620,
225,
273,
315,
2902,
13832,
830,
495,
18,
7083,
628,
30446,
19109,
18,
2074,
22292,
2848,
26293,
12530,
67,
2620,
1011,
315,
643,
981,
30,
738,
87,
32,
2848,
21259,
643,
533,
30,
738,
87,
2
] |
self.assertEquals(xmlEncoding.decode('X-FAKE', '<x/>', loggedEvents), None)
|
self.assertEquals(xmlEncoding.decode(ctAX, 'X-FAKE', '<x/>', loggedEvents), None)
|
def testSupplyUnknownEncoding(self): loggedEvents=[] self.assertEquals(xmlEncoding.decode('X-FAKE', '<x/>', loggedEvents), None) self.assertEquals(len(loggedEvents), 1) self.assertEquals(loggedEvents[0].__class__, UnknownEncoding, 'Must fail if an unknown encoding is used')
|
c9bc8bbd0880a77ea6553e5286a8d6b8bd59e622 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5012/c9bc8bbd0880a77ea6553e5286a8d6b8bd59e622/testXmlEncodingDecode.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
3088,
1283,
4874,
4705,
12,
2890,
4672,
7545,
3783,
33,
8526,
365,
18,
11231,
8867,
12,
2902,
4705,
18,
3922,
12,
299,
2501,
16,
296,
60,
17,
2046,
6859,
2187,
2368,
92,
18280,
16,
7545,
3783,
3631,
599,
13,
365,
18,
11231,
8867,
12,
1897,
12,
19385,
3783,
3631,
404,
13,
365,
18,
11231,
8867,
12,
19385,
3783,
63,
20,
8009,
972,
1106,
972,
16,
9077,
4705,
16,
296,
10136,
2321,
309,
392,
5917,
2688,
353,
1399,
6134,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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1842,
3088,
1283,
4874,
4705,
12,
2890,
4672,
7545,
3783,
33,
8526,
365,
18,
11231,
8867,
12,
2902,
4705,
18,
3922,
12,
299,
2501,
16,
296,
60,
17,
2046,
6859,
2187,
2368,
92,
18280,
16,
7545,
3783,
3631,
599,
13,
365,
18,
11231,
8867,
12,
1897,
12,
19385,
3783,
3631,
404,
13,
365,
18,
11231,
8867,
12,
19385,
3783,
63,
20,
8009,
972,
1106,
972,
16,
9077,
4705,
16,
296,
10136,
2321,
309,
392,
5917,
2688,
353,
1399,
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
] |
' install --force --home="%s" --install-lib="%s" >%s 2>&1' % (sys.executable, INST, PYTHONDIR, installerrs))
|
' install --force --home="%s" --install-lib="%s"' ' --install-scripts="%s" >%s 2>&1' % (sys.executable, INST, PYTHONDIR, BINDIR, installerrs))
|
def install_hg(): global python vlog("# Performing temporary installation of HG") installerrs = os.path.join("tests", "install.err") os.chdir("..") # Get back to hg root cmd = ('%s setup.py clean --all' ' install --force --home="%s" --install-lib="%s" >%s 2>&1' % (sys.executable, INST, PYTHONDIR, installerrs)) vlog("# Running", cmd) if os.system(cmd) == 0: if not verbose: os.remove(installerrs) else: f = open(installerrs) for line in f: print line, f.close() sys.exit(1) os.chdir(TESTDIR) os.environ["PATH"] = "%s%s%s" % (BINDIR, os.pathsep, os.environ["PATH"]) os.environ["PYTHONPATH"] = PYTHONDIR use_correct_python() if coverage: vlog("# Installing coverage wrapper") os.environ['COVERAGE_FILE'] = COVERAGE_FILE if os.path.exists(COVERAGE_FILE): os.unlink(COVERAGE_FILE) # Create a wrapper script to invoke hg via coverage.py os.rename(os.path.join(BINDIR, "hg"), os.path.join(BINDIR, "_hg.py")) f = open(os.path.join(BINDIR, 'hg'), 'w') f.write('#!' + sys.executable + '\n') f.write('import sys, os; os.execv(sys.executable, [sys.executable, ' '"%s", "-x", "%s"] + sys.argv[1:])\n' % (os.path.join(TESTDIR, 'coverage.py'), os.path.join(BINDIR, '_hg.py'))) f.close() os.chmod(os.path.join(BINDIR, 'hg'), 0700) python = '"%s" "%s" -x' % (sys.executable, os.path.join(TESTDIR,'coverage.py'))
|
cc142fd72f2e3688d8f6c368ad1184e1399327a4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11312/cc142fd72f2e3688d8f6c368ad1184e1399327a4/run-tests.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3799,
67,
26981,
13332,
2552,
5790,
331,
1330,
2932,
7,
11217,
310,
6269,
13193,
434,
670,
43,
7923,
3799,
370,
87,
273,
1140,
18,
803,
18,
5701,
2932,
16341,
3113,
315,
5425,
18,
370,
7923,
225,
1140,
18,
343,
1214,
2932,
838,
7923,
468,
968,
1473,
358,
22576,
1365,
1797,
273,
7707,
9,
87,
3875,
18,
2074,
2721,
1493,
454,
11,
296,
3799,
1493,
5734,
1493,
8712,
11613,
87,
6,
1493,
5425,
17,
2941,
11613,
87,
5187,
296,
1493,
5425,
17,
12827,
11613,
87,
6,
405,
9,
87,
576,
22393,
21,
11,
738,
261,
9499,
18,
17751,
16,
22880,
16,
12191,
20131,
4537,
16,
605,
2356,
7937,
16,
3799,
370,
87,
3719,
331,
1330,
2932,
7,
20480,
3113,
1797,
13,
309,
1140,
18,
4299,
12,
4172,
13,
422,
374,
30,
309,
486,
3988,
30,
1140,
18,
4479,
12,
5425,
370,
87,
13,
469,
30,
284,
273,
1696,
12,
5425,
370,
87,
13,
364,
980,
316,
284,
30,
1172,
980,
16,
284,
18,
4412,
1435,
2589,
18,
8593,
12,
21,
13,
1140,
18,
343,
1214,
12,
16961,
4537,
13,
225,
1140,
18,
28684,
9614,
4211,
11929,
273,
2213,
87,
9,
87,
9,
87,
6,
738,
261,
2708,
7937,
16,
1140,
18,
803,
10814,
16,
1140,
18,
28684,
9614,
4211,
6,
5717,
1140,
18,
28684,
9614,
16235,
20131,
4211,
11929,
273,
12191,
20131,
4537,
225,
999,
67,
6746,
67,
8103,
1435,
225,
309,
11196,
30,
331,
1330,
2932,
7,
10284,
310,
11196,
4053,
7923,
1140,
18,
28684,
3292,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3799,
67,
26981,
13332,
2552,
5790,
331,
1330,
2932,
7,
11217,
310,
6269,
13193,
434,
670,
43,
7923,
3799,
370,
87,
273,
1140,
18,
803,
18,
5701,
2932,
16341,
3113,
315,
5425,
18,
370,
7923,
225,
1140,
18,
343,
1214,
2932,
838,
7923,
468,
968,
1473,
358,
22576,
1365,
1797,
273,
7707,
9,
87,
3875,
18,
2074,
2721,
1493,
454,
11,
296,
3799,
1493,
5734,
1493,
8712,
11613,
87,
6,
1493,
5425,
17,
2941,
11613,
87,
5187,
296,
1493,
5425,
17,
12827,
11613,
87,
6,
405,
9,
87,
576,
22393,
21,
11,
738,
261,
9499,
18,
17751,
16,
22880,
16,
12191,
20131,
4537,
16,
605,
2356,
7937,
16,
3799,
370,
87,
3719,
331,
1330,
2932,
7,
20480,
3113,
2
] |
return self.sys_log("./configure --prefix=%s" % self.blddir)
|
return self.sys_log("./configure --disable-docs --disable-valgrind --prefix=%s" % self.blddir)
|
def _configure(self): return self.sys_log("./configure --prefix=%s" % self.blddir)
|
94b3582c928b074f1eacd1300e1ff24fd4660f7f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5963/94b3582c928b074f1eacd1300e1ff24fd4660f7f/build_packages.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
14895,
12,
2890,
4672,
327,
365,
18,
9499,
67,
1330,
2932,
18,
19,
14895,
1493,
3239,
5095,
87,
6,
738,
365,
18,
3083,
449,
481,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
14895,
12,
2890,
4672,
327,
365,
18,
9499,
67,
1330,
2932,
18,
19,
14895,
1493,
3239,
5095,
87,
6,
738,
365,
18,
3083,
449,
481,
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
] |
elif type(path) == types.ListType:
|
elif type(linkTuple) == types.ListType:
|
def createLink(self,linkTuple): if type(replicaTuple) == types.TupleType: links = [linkTuple] elif type(path) == types.ListType: links = linkTuple else: return S_ERROR('LFCClient.addReplica: Must supply a link tuple of list of tuples') # If we have less than three lfns to query a session doesn't make sense if len(links) > 2: self.__openSession() failed = {} successful = {} for linkName,lfn in links: fullLink = '%s%s' % (self.prefix,linkName) fullLfn = '%s%s' % (self.prefix,lfn) value = lfn.lfc_symlink(fullLfn,fullLink) if value == 0: successful[linkName] = True else: errno = lfc.cvar.serrno failed[linkName] = lfc.sstrerror(errno) if self.session: self.__closeSession() resDict = {'Failed':failed,'Successful':successful} return S_OK(resDict)
|
95f2ea774520863ead2cd9f2cf913232cd97cf6b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12864/95f2ea774520863ead2cd9f2cf913232cd97cf6b/LcgFileCatalogClient.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
2098,
12,
2890,
16,
1232,
9038,
4672,
309,
618,
12,
30065,
9038,
13,
422,
1953,
18,
9038,
559,
30,
4716,
273,
306,
1232,
9038,
65,
1327,
618,
12,
1232,
9038,
13,
422,
1953,
18,
19366,
30,
4716,
273,
1692,
9038,
469,
30,
327,
348,
67,
3589,
2668,
48,
4488,
1227,
18,
1289,
14222,
30,
6753,
14467,
279,
1692,
3193,
434,
666,
434,
10384,
6134,
468,
971,
732,
1240,
5242,
2353,
8925,
18594,
2387,
358,
843,
279,
1339,
3302,
1404,
1221,
12764,
309,
562,
12,
7135,
13,
405,
576,
30,
365,
16186,
3190,
2157,
1435,
2535,
273,
2618,
6873,
273,
2618,
364,
1692,
461,
16,
80,
4293,
316,
4716,
30,
1983,
2098,
273,
1995,
87,
9,
87,
11,
738,
261,
2890,
18,
3239,
16,
1232,
461,
13,
1983,
48,
4293,
273,
1995,
87,
9,
87,
11,
738,
261,
2890,
18,
3239,
16,
80,
4293,
13,
460,
273,
328,
4293,
18,
80,
7142,
67,
21278,
12,
2854,
48,
4293,
16,
2854,
2098,
13,
309,
460,
422,
374,
30,
6873,
63,
1232,
461,
65,
273,
1053,
469,
30,
8402,
273,
328,
7142,
18,
71,
1401,
18,
87,
19088,
2535,
63,
1232,
461,
65,
273,
328,
7142,
18,
87,
701,
1636,
12,
19088,
13,
309,
365,
18,
3184,
30,
365,
16186,
4412,
2157,
1435,
400,
5014,
273,
13666,
2925,
4278,
7307,
11189,
14277,
4278,
18418,
97,
327,
348,
67,
3141,
12,
455,
5014,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2098,
12,
2890,
16,
1232,
9038,
4672,
309,
618,
12,
30065,
9038,
13,
422,
1953,
18,
9038,
559,
30,
4716,
273,
306,
1232,
9038,
65,
1327,
618,
12,
1232,
9038,
13,
422,
1953,
18,
19366,
30,
4716,
273,
1692,
9038,
469,
30,
327,
348,
67,
3589,
2668,
48,
4488,
1227,
18,
1289,
14222,
30,
6753,
14467,
279,
1692,
3193,
434,
666,
434,
10384,
6134,
468,
971,
732,
1240,
5242,
2353,
8925,
18594,
2387,
358,
843,
279,
1339,
3302,
1404,
1221,
12764,
309,
562,
12,
7135,
13,
405,
576,
30,
365,
16186,
3190,
2157,
1435,
2535,
273,
2618,
6873,
273,
2618,
364,
1692,
461,
16,
80,
4293,
316,
4716,
30,
1983,
2098,
273,
1995,
87,
9,
87,
11,
2
] |
" %s %s = GetSharedMemoryAs<%s>(\n" % (dest_arg.type, dest_arg.name, dest_arg.type)) file.Write( " c.%s_shm_id, c.%s_shm_offset, %s);\n" % (dest_arg.name, dest_arg.name, bufsize_arg.name)) for arg in all_but_last_2_args + [dest_arg]: arg.WriteValidationCode(file) func.WriteValidationCode(file) func.WriteHandlerImplementation(file)
|
" %s(%s, len + 1, &len, bucket->GetDataAs<GLchar*>(0, len + 1));\n" % (func.GetGLFunctionName(), id_arg.name))
|
def WriteServiceImplementation(self, func, file): """Overrriden from TypeHandler.""" file.Write( "error::Error GLES2DecoderImpl::Handle%s(\n" % func.name) file.Write( " uint32 immediate_data_size, const gles2::%s& c) {\n" % func.name) args = func.GetOriginalArgs() all_but_last_2_args = args[:-2] for arg in all_but_last_2_args: arg.WriteGetCode(file) self.WriteGetDataSizeCode(func, file) size_arg = args[-2] file.Write(" uint32 size_shm_id = c.%s_shm_id;\n" % size_arg.name) file.Write(" uint32 size_shm_offset = c.%s_shm_offset;\n" % size_arg.name) file.Write(" GLsizei* length = NULL;\n") file.Write(" if (size_shm_id != 0 || size_shm_offset != 0) {\n" " length = GetSharedMemoryAs<GLsizei*>(\n" " size_shm_id, size_shm_offset, sizeof(*length));\n" " if (!length) {\n" " return error::kOutOfBounds;\n" " }\n" " }\n") dest_arg = args[-1] bufsize_arg = args[-3] file.Write( " %s %s = GetSharedMemoryAs<%s>(\n" % (dest_arg.type, dest_arg.name, dest_arg.type)) file.Write( " c.%s_shm_id, c.%s_shm_offset, %s);\n" % (dest_arg.name, dest_arg.name, bufsize_arg.name)) for arg in all_but_last_2_args + [dest_arg]: arg.WriteValidationCode(file) func.WriteValidationCode(file) func.WriteHandlerImplementation(file) file.Write(" return error::kNoError;\n") file.Write("}\n") file.Write("\n")
|
a5eba71687a62fcb4b39f5733a699dba889f0b71 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5060/a5eba71687a62fcb4b39f5733a699dba889f0b71/build_gles2_cmd_buffer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2598,
1179,
13621,
12,
2890,
16,
1326,
16,
585,
4672,
3536,
22042,
1691,
275,
628,
1412,
1503,
12123,
585,
18,
3067,
12,
315,
1636,
2866,
668,
611,
11386,
22,
7975,
2828,
2866,
3259,
9,
87,
4713,
82,
6,
738,
1326,
18,
529,
13,
585,
18,
3067,
12,
315,
565,
2254,
1578,
14483,
67,
892,
67,
1467,
16,
1866,
314,
1040,
22,
2866,
9,
87,
10,
276,
13,
18890,
82,
6,
738,
1326,
18,
529,
13,
833,
273,
1326,
18,
967,
8176,
2615,
1435,
777,
67,
12885,
67,
2722,
67,
22,
67,
1968,
273,
833,
10531,
17,
22,
65,
364,
1501,
316,
777,
67,
12885,
67,
2722,
67,
22,
67,
1968,
30,
1501,
18,
3067,
967,
1085,
12,
768,
13,
365,
18,
3067,
967,
29414,
1085,
12,
644,
16,
585,
13,
963,
67,
3175,
273,
833,
18919,
22,
65,
585,
18,
3067,
2932,
225,
2254,
1578,
963,
67,
674,
81,
67,
350,
273,
276,
7866,
87,
67,
674,
81,
67,
350,
9747,
82,
6,
738,
963,
67,
3175,
18,
529,
13,
585,
18,
3067,
2932,
225,
2254,
1578,
963,
67,
674,
81,
67,
3348,
273,
276,
7866,
87,
67,
674,
81,
67,
3348,
9747,
82,
6,
738,
963,
67,
3175,
18,
529,
13,
585,
18,
3067,
2932,
225,
10252,
1467,
77,
14,
769,
273,
3206,
9747,
82,
7923,
585,
18,
3067,
2932,
225,
309,
261,
1467,
67,
674,
81,
67,
350,
480,
374,
747,
963,
67,
674,
81,
67,
3348,
480,
374,
13,
18890,
82,
6,
315,
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,
2598,
1179,
13621,
12,
2890,
16,
1326,
16,
585,
4672,
3536,
22042,
1691,
275,
628,
1412,
1503,
12123,
585,
18,
3067,
12,
315,
1636,
2866,
668,
611,
11386,
22,
7975,
2828,
2866,
3259,
9,
87,
4713,
82,
6,
738,
1326,
18,
529,
13,
585,
18,
3067,
12,
315,
565,
2254,
1578,
14483,
67,
892,
67,
1467,
16,
1866,
314,
1040,
22,
2866,
9,
87,
10,
276,
13,
18890,
82,
6,
738,
1326,
18,
529,
13,
833,
273,
1326,
18,
967,
8176,
2615,
1435,
777,
67,
12885,
67,
2722,
67,
22,
67,
1968,
273,
833,
10531,
17,
22,
65,
364,
1501,
316,
777,
67,
12885,
67,
2722,
67,
22,
67,
1968,
30,
1501,
18,
3067,
967,
1085,
12,
768,
2
] |
if len(args) != 1: parser.error("Must specify exactly one base_dir")
|
if len(args) < 1: parser.error("Must specify one or more base_dirs")
|
def purge(base_dir, gigs, ignore, dry_run=False): """Delete directories under `base_dir` until `gigs` GB are free Will not delete directories listed in the ignore list.""" gigs *= 1024 * 1024 * 1024 if freespace(base_dir) >= gigs: return dirs = [os.path.join(base_dir, d) for d in os.listdir(base_dir) if os.path.isdir(os.path.join(base_dir, d)) and d not in ignore] dirs.sort(mtime_sort) while dirs and freespace(base_dir) < gigs: d = dirs.pop(0) print "Deleting", d if not dry_run: try: clobber_path=d+clobber_suffix if os.path.exists(clobber_path): rmdirRecursive(clobber_path) # Prevent repeated moving. if d.endswith(clobber_suffix): rmdirRecursive(d) else: shutil.move(d, clobber_path) rmdirRecursive(clobber_path) except: print >>sys.stderr, "Couldn't purge %s properly. Skipping." % d
|
c12b0ed3642211354e16f3ad24c1b0c1d06b35bc /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6206/c12b0ed3642211354e16f3ad24c1b0c1d06b35bc/purge_builds.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11668,
12,
1969,
67,
1214,
16,
314,
360,
87,
16,
2305,
16,
10299,
67,
2681,
33,
8381,
4672,
3536,
2613,
6402,
3613,
1375,
1969,
67,
1214,
68,
3180,
1375,
75,
360,
87,
68,
25069,
854,
4843,
225,
9980,
486,
1430,
6402,
12889,
316,
326,
2305,
666,
12123,
314,
360,
87,
6413,
6250,
380,
6250,
380,
6250,
225,
309,
284,
5312,
909,
12,
1969,
67,
1214,
13,
1545,
314,
360,
87,
30,
327,
225,
7717,
273,
306,
538,
18,
803,
18,
5701,
12,
1969,
67,
1214,
16,
302,
13,
364,
302,
316,
1140,
18,
1098,
1214,
12,
1969,
67,
1214,
13,
309,
1140,
18,
803,
18,
291,
1214,
12,
538,
18,
803,
18,
5701,
12,
1969,
67,
1214,
16,
302,
3719,
471,
302,
486,
316,
2305,
65,
7717,
18,
3804,
12,
10838,
67,
3804,
13,
1323,
7717,
471,
284,
5312,
909,
12,
1969,
67,
1214,
13,
411,
314,
360,
87,
30,
302,
273,
7717,
18,
5120,
12,
20,
13,
1172,
315,
20433,
3113,
302,
309,
486,
10299,
67,
2681,
30,
775,
30,
30152,
67,
803,
33,
72,
15,
71,
1295,
744,
67,
8477,
309,
1140,
18,
803,
18,
1808,
12,
71,
1295,
744,
67,
803,
4672,
21306,
10483,
12,
71,
1295,
744,
67,
803,
13,
468,
19412,
12533,
12499,
18,
309,
302,
18,
5839,
1918,
12,
71,
1295,
744,
67,
8477,
4672,
21306,
10483,
12,
72,
13,
469,
30,
11060,
18,
8501,
12,
72,
16,
30152,
67,
803,
13,
21306,
10483,
12,
71,
1295,
744,
67,
803,
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,
11668,
12,
1969,
67,
1214,
16,
314,
360,
87,
16,
2305,
16,
10299,
67,
2681,
33,
8381,
4672,
3536,
2613,
6402,
3613,
1375,
1969,
67,
1214,
68,
3180,
1375,
75,
360,
87,
68,
25069,
854,
4843,
225,
9980,
486,
1430,
6402,
12889,
316,
326,
2305,
666,
12123,
314,
360,
87,
6413,
6250,
380,
6250,
380,
6250,
225,
309,
284,
5312,
909,
12,
1969,
67,
1214,
13,
1545,
314,
360,
87,
30,
327,
225,
7717,
273,
306,
538,
18,
803,
18,
5701,
12,
1969,
67,
1214,
16,
302,
13,
364,
302,
316,
1140,
18,
1098,
1214,
12,
1969,
67,
1214,
13,
309,
1140,
18,
803,
18,
291,
1214,
12,
538,
18,
803,
18,
5701,
12,
1969,
67,
1214,
16,
2
] |
tasks[n] = tasks.pop() heapq._siftup(tasks, n)
|
tasks[pos] = tasks.pop() heapq._siftup(tasks, pos)
|
def cancel(self): """Unschedule this call.""" assert not self.cancelled, "Already cancelled" self.cancelled = True del self.__target, self.__args, self.__kwargs if self in tasks: n = tasks.index(self) if n == len(tasks)-1: tasks.pop() else: tasks[n] = tasks.pop() heapq._siftup(tasks, n)
|
0a696b6b47f6150c361d4773432b054a4f92c58c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3782/0a696b6b47f6150c361d4773432b054a4f92c58c/ftpserver.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3755,
12,
2890,
4672,
3536,
984,
10676,
333,
745,
12123,
1815,
486,
365,
18,
10996,
1259,
16,
315,
9430,
13927,
6,
365,
18,
10996,
1259,
273,
1053,
1464,
365,
16186,
3299,
16,
365,
16186,
1968,
16,
365,
16186,
4333,
309,
365,
316,
4592,
30,
290,
273,
4592,
18,
1615,
12,
2890,
13,
309,
290,
422,
562,
12,
9416,
24950,
21,
30,
4592,
18,
5120,
1435,
469,
30,
4592,
63,
82,
65,
273,
4592,
18,
5120,
1435,
10500,
85,
6315,
87,
2136,
416,
12,
9416,
16,
290,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3755,
12,
2890,
4672,
3536,
984,
10676,
333,
745,
12123,
1815,
486,
365,
18,
10996,
1259,
16,
315,
9430,
13927,
6,
365,
18,
10996,
1259,
273,
1053,
1464,
365,
16186,
3299,
16,
365,
16186,
1968,
16,
365,
16186,
4333,
309,
365,
316,
4592,
30,
290,
273,
4592,
18,
1615,
12,
2890,
13,
309,
290,
422,
562,
12,
9416,
24950,
21,
30,
4592,
18,
5120,
1435,
469,
30,
4592,
63,
82,
65,
273,
4592,
18,
5120,
1435,
10500,
85,
6315,
87,
2136,
416,
12,
9416,
16,
290,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
router.failed_ports.append(s.getpeername()[1])
|
def exit_test(self, router): """ Perform port and IP tests on router. Will block until all port tests are finished. Can raise the following errors: socket.error - errno == errno.ECONNREFUSED: Tor refused our SOCKS connected. """ test_data = {} test_ports = [] recv_sockets = [] listen_sockets = [] self.test_exit = router
|
4c865d62c51c3e1a9d19c722ba2e4c12fc91c4eb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9986/4c865d62c51c3e1a9d19c722ba2e4c12fc91c4eb/torbel.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2427,
67,
3813,
12,
2890,
16,
4633,
4672,
3536,
11217,
1756,
471,
2971,
7434,
603,
4633,
18,
9980,
1203,
3180,
777,
1756,
7434,
854,
6708,
18,
4480,
1002,
326,
3751,
1334,
30,
2987,
18,
1636,
300,
8402,
422,
8402,
18,
41,
27733,
10771,
20093,
30,
23763,
1278,
3668,
3134,
20834,
55,
5840,
18,
3536,
1842,
67,
892,
273,
2618,
1842,
67,
4363,
273,
5378,
10665,
67,
7814,
87,
273,
5378,
6514,
67,
7814,
87,
273,
5378,
365,
18,
3813,
67,
8593,
273,
4633,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2427,
67,
3813,
12,
2890,
16,
4633,
4672,
3536,
11217,
1756,
471,
2971,
7434,
603,
4633,
18,
9980,
1203,
3180,
777,
1756,
7434,
854,
6708,
18,
4480,
1002,
326,
3751,
1334,
30,
2987,
18,
1636,
300,
8402,
422,
8402,
18,
41,
27733,
10771,
20093,
30,
23763,
1278,
3668,
3134,
20834,
55,
5840,
18,
3536,
1842,
67,
892,
273,
2618,
1842,
67,
4363,
273,
5378,
10665,
67,
7814,
87,
273,
5378,
6514,
67,
7814,
87,
273,
5378,
365,
18,
3813,
67,
8593,
273,
4633,
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
] |
|
log.debug("%d pending circuits, %d running circuits.", len(self.pending_circuits), len(self.circuits))
|
def print_stats(self): TestScheduler.print_stats(self) with self.pending_circuit_cond: self.pending_circuit_cond.notify() #log.debug("new_router_lock.locked(): %s", self.new_router_lock.locked()) log.debug("%d pending new tests, %d pending retries.", len(self.router_list), len(self.retry_routers)) log.debug("%d pending circuits, %d running circuits.", len(self.pending_circuits), len(self.circuits))
|
1762dc4155634fb527198d82f9d30f1837936d7d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9986/1762dc4155634fb527198d82f9d30f1837936d7d/scheduler.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1172,
67,
5296,
12,
2890,
4672,
7766,
11870,
18,
1188,
67,
5296,
12,
2890,
13,
598,
365,
18,
9561,
67,
24987,
67,
10013,
30,
365,
18,
9561,
67,
24987,
67,
10013,
18,
12336,
1435,
468,
1330,
18,
4148,
2932,
2704,
67,
10717,
67,
739,
18,
15091,
13332,
738,
87,
3113,
365,
18,
2704,
67,
10717,
67,
739,
18,
15091,
10756,
613,
18,
4148,
27188,
72,
4634,
394,
7434,
16,
738,
72,
4634,
9453,
1199,
16,
562,
12,
2890,
18,
10717,
67,
1098,
3631,
562,
12,
2890,
18,
9620,
67,
7028,
414,
3719,
613,
18,
4148,
27188,
72,
4634,
5886,
30091,
16,
738,
72,
3549,
5886,
30091,
1199,
16,
562,
12,
2890,
18,
9561,
67,
11614,
30091,
3631,
562,
12,
2890,
18,
11614,
30091,
3719,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1172,
67,
5296,
12,
2890,
4672,
7766,
11870,
18,
1188,
67,
5296,
12,
2890,
13,
598,
365,
18,
9561,
67,
24987,
67,
10013,
30,
365,
18,
9561,
67,
24987,
67,
10013,
18,
12336,
1435,
468,
1330,
18,
4148,
2932,
2704,
67,
10717,
67,
739,
18,
15091,
13332,
738,
87,
3113,
365,
18,
2704,
67,
10717,
67,
739,
18,
15091,
10756,
613,
18,
4148,
27188,
72,
4634,
394,
7434,
16,
738,
72,
4634,
9453,
1199,
16,
562,
12,
2890,
18,
10717,
67,
1098,
3631,
562,
12,
2890,
18,
9620,
67,
7028,
414,
3719,
613,
18,
4148,
27188,
72,
4634,
5886,
30091,
16,
738,
72,
3549,
5886,
30091,
1199,
16,
562,
12,
2890,
18,
9561,
67,
11614,
30091,
3631,
562,
2
] |
|
self._timer.stop() self._conn.disconnect()
|
if self._timer is not None: self._timer.stop() if self._conn is not None: self._conn.disconnect()
|
def stop(self): self._timer.stop() self._conn.disconnect()
|
8af4a4eaa18d1272d312c395f0395cddb87f76b0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10608/8af4a4eaa18d1272d312c395f0395cddb87f76b0/basic.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2132,
12,
2890,
4672,
309,
365,
6315,
12542,
353,
486,
599,
30,
365,
6315,
12542,
18,
5681,
1435,
309,
365,
6315,
4646,
353,
486,
599,
30,
365,
6315,
4646,
18,
20177,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2132,
12,
2890,
4672,
309,
365,
6315,
12542,
353,
486,
599,
30,
365,
6315,
12542,
18,
5681,
1435,
309,
365,
6315,
4646,
353,
486,
599,
30,
365,
6315,
4646,
18,
20177,
1435,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
def __init__(self, scons, attributes, rand = random.Random()):
|
def __init__(self, scons, attributes, rand = None):
|
def __init__(self, scons, attributes, rand = random.Random()): self.scons = scons # split constructor of original tree self.attributes = attributes # number of attributes to consider self.rand = rand # a random generator
|
3a56c0b2e5fd60a4468b680643282ceea92ad0aa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/3a56c0b2e5fd60a4468b680643282ceea92ad0aa/orngEnsemble.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
272,
8559,
16,
1677,
16,
5605,
273,
599,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
272,
8559,
16,
1677,
16,
5605,
273,
599,
4672,
365,
18,
87,
8559,
273,
272,
8559,
6647,
468,
1416,
3885,
434,
2282,
2151,
365,
18,
4350,
273,
1677,
468,
1300,
434,
1677,
358,
5260,
365,
18,
7884,
273,
5605,
2398,
468,
279,
2744,
4456,
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
] |
self._statusbar(msg=stat)
|
self._statusbar(stat)
|
def repo_changed(self, widget, data=None): repos_tree = self.gld.get_widget("repos_tree") pacs_tree = self.gld.get_widget("pacs_tree") repos_model, tree_iter = repos_tree.get_selection().get_selected() selected = repos_model.get_value(tree_iter, 0)
|
9064ea83b7f7c250ddde26dda9d2d559d0848000 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2654/9064ea83b7f7c250ddde26dda9d2d559d0848000/gui.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3538,
67,
6703,
12,
2890,
16,
3604,
16,
501,
33,
7036,
4672,
13686,
67,
3413,
273,
365,
18,
75,
1236,
18,
588,
67,
6587,
2932,
15564,
67,
3413,
7923,
293,
28965,
67,
3413,
273,
365,
18,
75,
1236,
18,
588,
67,
6587,
2932,
84,
28965,
67,
3413,
7923,
225,
13686,
67,
2284,
16,
2151,
67,
2165,
273,
13686,
67,
3413,
18,
588,
67,
10705,
7675,
588,
67,
8109,
1435,
3170,
273,
13686,
67,
2284,
18,
588,
67,
1132,
12,
3413,
67,
2165,
16,
374,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3538,
67,
6703,
12,
2890,
16,
3604,
16,
501,
33,
7036,
4672,
13686,
67,
3413,
273,
365,
18,
75,
1236,
18,
588,
67,
6587,
2932,
15564,
67,
3413,
7923,
293,
28965,
67,
3413,
273,
365,
18,
75,
1236,
18,
588,
67,
6587,
2932,
84,
28965,
67,
3413,
7923,
225,
13686,
67,
2284,
16,
2151,
67,
2165,
273,
13686,
67,
3413,
18,
588,
67,
10705,
7675,
588,
67,
8109,
1435,
3170,
273,
13686,
67,
2284,
18,
588,
67,
1132,
12,
3413,
67,
2165,
16,
374,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
label = gtk.Label(_('<b><big>Specto is already running.</big></b>'))
|
label = gtk.Label(_('Specto is already running!'))
|
def already_running_dialog(self, *args): """ Save the save and position from the notifier and quit Specto. """ #create a dialog self.dialog = gtk.Dialog(_("Specto is already running"), None, gtk.DIALOG_NO_SEPARATOR | gtk.DIALOG_DESTROY_WITH_PARENT, None) self.dialog.set_modal(False) # Needed to prevent the notifier UI and refresh process from blocking. Also, do not use dialog.run(), because it automatically sets modal to true.
|
37519388789e26a585555e3807ebf9f6fb228b8e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10818/37519388789e26a585555e3807ebf9f6fb228b8e/main.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1818,
67,
8704,
67,
12730,
12,
2890,
16,
380,
1968,
4672,
3536,
7074,
326,
1923,
471,
1754,
628,
326,
19057,
471,
9706,
348,
1181,
83,
18,
3536,
468,
2640,
279,
6176,
365,
18,
12730,
273,
22718,
18,
6353,
24899,
2932,
55,
1181,
83,
353,
1818,
3549,
6,
3631,
599,
16,
22718,
18,
2565,
18683,
67,
3417,
67,
4550,
571,
22718,
18,
2565,
18683,
67,
1639,
25870,
61,
67,
9147,
67,
14943,
16,
599,
13,
365,
18,
12730,
18,
542,
67,
17638,
12,
8381,
13,
225,
468,
26480,
358,
5309,
326,
19057,
6484,
471,
4460,
1207,
628,
9445,
18,
8080,
16,
741,
486,
999,
6176,
18,
2681,
9334,
2724,
518,
6635,
1678,
13010,
358,
638,
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,
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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,
1818,
67,
8704,
67,
12730,
12,
2890,
16,
380,
1968,
4672,
3536,
7074,
326,
1923,
471,
1754,
628,
326,
19057,
471,
9706,
348,
1181,
83,
18,
3536,
468,
2640,
279,
6176,
365,
18,
12730,
273,
22718,
18,
6353,
24899,
2932,
55,
1181,
83,
353,
1818,
3549,
6,
3631,
599,
16,
22718,
18,
2565,
18683,
67,
3417,
67,
4550,
571,
22718,
18,
2565,
18683,
67,
1639,
25870,
61,
67,
9147,
67,
14943,
16,
599,
13,
365,
18,
12730,
18,
542,
67,
17638,
12,
8381,
13,
225,
468,
26480,
358,
5309,
326,
19057,
6484,
471,
4460,
1207,
628,
9445,
18,
8080,
16,
741,
486,
999,
6176,
18,
2681,
9334,
2724,
518,
6635,
1678,
13010,
358,
638,
18,
2,
-100,
-100,
-100
] |
"""Mod.SequenceSearcher.localPSIBlast test""" self.search( self.searchLocalPsiBlast )
|
"""Mod.SequenceSearcher.localPSIBlast test""" self.search( self.searchLocalPsiBlast )
|
def test_psiblast(self):
|
192f7ffa922aed1ead1fed83d7e0b2a4faaea9b9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/482/192f7ffa922aed1ead1fed83d7e0b2a4faaea9b9/SequenceSearcher.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
1121,
495,
2722,
12,
2890,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
1121,
495,
2722,
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
] |
topicInput = re.sub(self._puncStripRE, "", topicInput)
|
topicInput = re.sub(self._puncStripRE, " ", topicInput) topicInput = re.sub(self._whitespaceRE, " ", topicInput)
|
def star(self, starType, pattern, that, topic, index): """Returns a string, the portion of pattern that was matched by a *.
|
d32edd26fc7b3f1faa848062a1d95eb3826d6376 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6428/d32edd26fc7b3f1faa848062a1d95eb3826d6376/PatternMgr.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10443,
12,
2890,
16,
10443,
559,
16,
1936,
16,
716,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10443,
12,
2890,
16,
10443,
559,
16,
1936,
16,
716,
16,
3958,
16,
770,
4672,
3536,
1356,
279,
533,
16,
326,
14769,
434,
1936,
716,
1703,
4847,
635,
279,
380,
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
] |
return '<%s%s>%s%s<%s/>' % (self.tag, phrase_attr, self.comment, body, self.tag)
|
return '<%s%s>%s%s</%s>' % (self.tag, phrase_attr, self.comment, body, self.tag)
|
def format_my_tag(self): phrase_attr = self.format_my_phrase() body = self.format_my_body() if body or self.comment: return '<%s%s>%s%s<%s/>' % (self.tag, phrase_attr, self.comment, body, self.tag) else: return '<%s%s/>' % (self.tag, phrase_attr)
|
cce9c7c68b85957ef5c7ba0eca9d013a22241111 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3446/cce9c7c68b85957ef5c7ba0eca9d013a22241111/errors.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
740,
67,
4811,
67,
2692,
12,
2890,
4672,
13045,
67,
1747,
273,
365,
18,
2139,
67,
4811,
67,
9429,
1435,
1417,
273,
365,
18,
2139,
67,
4811,
67,
3432,
1435,
309,
1417,
578,
365,
18,
3469,
30,
327,
2368,
9,
87,
9,
87,
9822,
87,
9,
87,
1757,
9,
87,
1870,
738,
261,
2890,
18,
2692,
16,
13045,
67,
1747,
16,
365,
18,
3469,
16,
1417,
16,
365,
18,
2692,
13,
469,
30,
327,
2368,
9,
87,
9,
87,
18280,
738,
261,
2890,
18,
2692,
16,
13045,
67,
1747,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
740,
67,
4811,
67,
2692,
12,
2890,
4672,
13045,
67,
1747,
273,
365,
18,
2139,
67,
4811,
67,
9429,
1435,
1417,
273,
365,
18,
2139,
67,
4811,
67,
3432,
1435,
309,
1417,
578,
365,
18,
3469,
30,
327,
2368,
9,
87,
9,
87,
9822,
87,
9,
87,
1757,
9,
87,
1870,
738,
261,
2890,
18,
2692,
16,
13045,
67,
1747,
16,
365,
18,
3469,
16,
1417,
16,
365,
18,
2692,
13,
469,
30,
327,
2368,
9,
87,
9,
87,
18280,
738,
261,
2890,
18,
2692,
16,
13045,
67,
1747,
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
] |
while (loop_count < 360): top_x = math.sin(loop_count * math.pi / 180) * top_r top_y = math.cos(loop_count * math.pi / 180) * top_r bottom_x = math.sin(loop_count * math.pi / 180) * bottom_r bottom_y = math.cos(loop_count * math.pi / 180) * bottom_r
|
while (loop_count < 360): top_x = math.sin(loop_count * math.pi / 180) * top_r top_y = math.cos(loop_count * math.pi / 180) * top_r bottom_x = math.sin(loop_count * math.pi / 180) * bottom_r bottom_y = math.cos(loop_count * math.pi / 180) * bottom_r
|
def cutcone(x_cen, y_cen, z_cen, top_r, bottom_r, depth, step_over): if top_r >= bottom_r: step_count = math.pi * top_r * 2 / step_over else: step_count = math.pi * bottom_r * 2 / step_over loop_count = 0 while (loop_count < 360): top_x = math.sin(loop_count * math.pi / 180) * top_r top_y = math.cos(loop_count * math.pi / 180) * top_r bottom_x = math.sin(loop_count * math.pi / 180) * bottom_r
|
7b1f7adcc50a8d0dbd3214cd964d89735652e76a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12576/7b1f7adcc50a8d0dbd3214cd964d89735652e76a/cut-cone.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6391,
71,
476,
12,
92,
67,
71,
275,
16,
677,
67,
71,
275,
16,
998,
67,
71,
275,
16,
1760,
67,
86,
16,
5469,
67,
86,
16,
3598,
16,
2235,
67,
1643,
4672,
309,
1760,
67,
86,
1545,
5469,
67,
86,
30,
2235,
67,
1883,
273,
4233,
18,
7259,
380,
1760,
67,
86,
380,
576,
342,
2235,
67,
1643,
469,
30,
2235,
67,
1883,
273,
4233,
18,
7259,
380,
5469,
67,
86,
380,
576,
342,
2235,
67,
1643,
2798,
67,
1883,
273,
374,
1323,
261,
6498,
67,
1883,
411,
12360,
4672,
1760,
67,
92,
225,
273,
4233,
18,
21861,
12,
6498,
67,
1883,
380,
4233,
18,
7259,
342,
9259,
13,
380,
1760,
67,
86,
1760,
67,
93,
225,
273,
4233,
18,
14445,
12,
6498,
67,
1883,
380,
4233,
18,
7259,
342,
9259,
13,
380,
1760,
67,
86,
5469,
67,
92,
273,
4233,
18,
21861,
12,
6498,
67,
1883,
380,
4233,
18,
7259,
342,
9259,
13,
380,
5469,
67,
86,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6391,
71,
476,
12,
92,
67,
71,
275,
16,
677,
67,
71,
275,
16,
998,
67,
71,
275,
16,
1760,
67,
86,
16,
5469,
67,
86,
16,
3598,
16,
2235,
67,
1643,
4672,
309,
1760,
67,
86,
1545,
5469,
67,
86,
30,
2235,
67,
1883,
273,
4233,
18,
7259,
380,
1760,
67,
86,
380,
576,
342,
2235,
67,
1643,
469,
30,
2235,
67,
1883,
273,
4233,
18,
7259,
380,
5469,
67,
86,
380,
576,
342,
2235,
67,
1643,
2798,
67,
1883,
273,
374,
1323,
261,
6498,
67,
1883,
411,
12360,
4672,
1760,
67,
92,
225,
273,
4233,
18,
21861,
12,
6498,
67,
1883,
380,
4233,
18,
7259,
342,
9259,
13,
380,
1760,
67,
86,
1760,
67,
93,
225,
2
] |
lines = [ ]
|
lines = []
|
def _wrap_tablelinenos(self, inner): dummyoutfile = StringIO.StringIO() lncount = 0 for t, line in inner: if t: lncount += 1 dummyoutfile.write(line)
|
301b1b0cae7fcc3c345037719a419835a225495c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2885/301b1b0cae7fcc3c345037719a419835a225495c/html.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4113,
67,
7032,
80,
292,
267,
275,
538,
12,
2890,
16,
3443,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4113,
67,
7032,
80,
292,
267,
275,
538,
12,
2890,
16,
3443,
4672,
9609,
26050,
273,
15777,
18,
780,
4294,
1435,
7211,
1883,
273,
374,
364,
268,
16,
980,
316,
3443,
30,
309,
268,
30,
7211,
1883,
1011,
404,
9609,
26050,
18,
2626,
12,
1369,
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
] |
moddir = os.path.join(os.getcwd(), 'Modules', srcdir)
|
moddir = os.path.join(os.getcwd(), srcdir, 'Modules')
|
def build_extensions(self):
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1361,
67,
9489,
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
] |
except socket.error:
|
except:
|
def close(self): if self.conn != None: try: self.conn.quit() except socket.error: pass
|
b19d6e06ac1299e6f85f89d08dc3c1f36953daf4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6425/b19d6e06ac1299e6f85f89d08dc3c1f36953daf4/metalink.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1746,
12,
2890,
4672,
309,
365,
18,
4646,
480,
599,
30,
775,
30,
365,
18,
4646,
18,
27176,
1435,
1335,
30,
1342,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1746,
12,
2890,
4672,
309,
365,
18,
4646,
480,
599,
30,
775,
30,
365,
18,
4646,
18,
27176,
1435,
1335,
30,
1342,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.checker.message("WARNING: duplicate name %s in %s",
|
self.checker.message("WARNING: duplicate ID name %s in %s",
|
def start_a(self, attributes): self.link_attr(attributes, 'href')
|
2afe5246f2a2897da6602dbcf286b67c150d0f2a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/2afe5246f2a2897da6602dbcf286b67c150d0f2a/webchecker.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
787,
67,
69,
12,
2890,
16,
1677,
4672,
365,
18,
1232,
67,
1747,
12,
4350,
16,
296,
7547,
6134,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
1677,
4672,
365,
18,
1232,
67,
1747,
12,
4350,
16,
296,
7547,
6134,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
now=time.time()
|
def reapOldRecords(self): # walk through contents of session directory and delete any # lapsed files for f in os.listdir(_sesspath): p=os.join(_sesspath, f) lastAccess=os.path.getatime(p) now=time.time() if now-lastAccess>Configuration.SessionTimeout: os.remove(p)
|
c03b83197fafd318b88ece20b61118c0e545d89c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2304/c03b83197fafd318b88ece20b61118c0e545d89c/FSSessionStore.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
283,
438,
7617,
6499,
12,
2890,
4672,
468,
5442,
3059,
2939,
434,
1339,
1867,
471,
1430,
1281,
468,
328,
8676,
1390,
364,
284,
316,
1140,
18,
1098,
1214,
24899,
23828,
803,
4672,
293,
33,
538,
18,
5701,
24899,
23828,
803,
16,
284,
13,
1142,
1862,
33,
538,
18,
803,
18,
588,
270,
494,
12,
84,
13,
309,
2037,
17,
2722,
1862,
34,
1750,
18,
2157,
2694,
30,
1140,
18,
4479,
12,
84,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
283,
438,
7617,
6499,
12,
2890,
4672,
468,
5442,
3059,
2939,
434,
1339,
1867,
471,
1430,
1281,
468,
328,
8676,
1390,
364,
284,
316,
1140,
18,
1098,
1214,
24899,
23828,
803,
4672,
293,
33,
538,
18,
5701,
24899,
23828,
803,
16,
284,
13,
1142,
1862,
33,
538,
18,
803,
18,
588,
270,
494,
12,
84,
13,
309,
2037,
17,
2722,
1862,
34,
1750,
18,
2157,
2694,
30,
1140,
18,
4479,
12,
84,
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
] |
|
dst = self.copy_none(src) for name in dir(src): setattr(dst, name, getattr(src, name)) for name in exceptions: try: delattr(dst, name) except AttributeError: pass return dst
|
dst = self.copy_none(src) for name in dir(src): setattr(dst, name, getattr(src, name)) for name in exceptions: try: delattr(dst, name) except AttributeError: pass return dst
|
def copy_except(self, src, exceptions):
|
ca6ae39a786f3d7535cba0f2aef10692eb750051 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/ca6ae39a786f3d7535cba0f2aef10692eb750051/rexec.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1610,
67,
14137,
12,
2890,
16,
1705,
16,
4798,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1610,
67,
14137,
12,
2890,
16,
1705,
16,
4798,
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
] |
versions.append(key.replace('XSEED-',''))
|
versions.append(key.replace('XSEED-', ''))
|
def SEEDAndXSEEDConversion(self, test_examples, blkt_number): """ Takes everything in the prepared list and tests the SEED/XSEED conversion for all given formats. """ # Another loop over all examples. for example in test_examples: # Determine the present XSEED versions. versions = [] for key in example.keys(): if key == 'SEED': continue # If no version is specified it defaults to 1.0 and the list # stays empty. elif key == 'XSEED': versions = [] break versions.append(key.replace('XSEED-','')) # Create several blockette instances. One to read from SEED and one # for each XSEED version. blockette_instances = {} blockette_instances['SEED'] = \ sys.modules['obspy.xseed.blockette.blockette' + \ blkt_number].__dict__['Blockette' + blkt_number]() # If just standard version. if not versions: blockette_instances['XSEED'] = \ sys.modules['obspy.xseed.blockette.blockette' + \ blkt_number].__dict__['Blockette' + blkt_number]() else: for version in versions: blockette_instances['XSEED-' + version] = \ sys.modules['obspy.xseed.blockette.blockette' + \ blkt_number].__dict__['Blockette' + blkt_number]() # Now read each part of the example into a blockette object. for key in blockette_instances.keys(): if key == 'SEED': if blkt_number == '060': temp = StringIO(example[key]) else: temp = example[key] blockette_instances[key].parseSEED(temp) else: blockette_instances[key].parseXML(etree.fromstring(\ example[key])) # Test the conversion of the blockette object into each part. for key in blockette_instances.keys(): # Test conversion to SEED. # Lengthy assert statement to be able to identify the error in # the traceback. self.assertEqual(blockette_instances[key].getSEED(), \ example['SEED'] , 'Blockette ' + blkt_number +\ ' - Getting SEED from ' + key +\ '\n' + blockette_instances[key].getSEED() + \ '\n!=\n' + example['SEED']) # Getting all XSEED representations. if not versions: self.assertEqual(\ etree.tostring(blockette_instances[key].getXML()), \ example['XSEED'], 'Blockette ' + blkt_number +\ ' - Getting XSEED from ' + key + '\n' + \ etree.tostring(blockette_instances[key].getXML()) + \ '\n!=\n' + example['XSEED'])
|
e941ea0353dd1452c064b49107c82f63b66df94a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10470/e941ea0353dd1452c064b49107c82f63b66df94a/test_blockettes.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3174,
2056,
1876,
60,
1090,
2056,
6814,
12,
2890,
16,
1842,
67,
16858,
16,
2811,
8629,
67,
2696,
4672,
3536,
23004,
7756,
316,
326,
8208,
666,
471,
7434,
326,
3174,
2056,
19,
60,
1090,
2056,
4105,
364,
777,
864,
6449,
18,
3536,
468,
432,
24413,
2798,
1879,
777,
10991,
18,
364,
3454,
316,
1842,
67,
16858,
30,
468,
10229,
326,
3430,
1139,
1090,
2056,
5244,
18,
5244,
273,
5378,
364,
498,
316,
3454,
18,
2452,
13332,
309,
498,
422,
296,
1090,
2056,
4278,
1324,
468,
971,
1158,
1177,
353,
1269,
518,
3467,
358,
404,
18,
20,
471,
326,
666,
468,
384,
8271,
1008,
18,
1327,
498,
422,
296,
60,
1090,
2056,
4278,
5244,
273,
5378,
898,
5244,
18,
6923,
12,
856,
18,
2079,
2668,
60,
1090,
2056,
17,
2187,
875,
3719,
468,
1788,
11392,
1203,
7637,
3884,
18,
6942,
358,
855,
628,
3174,
2056,
471,
1245,
468,
364,
1517,
1139,
1090,
2056,
1177,
18,
1203,
7637,
67,
10162,
273,
2618,
1203,
7637,
67,
10162,
3292,
1090,
2056,
3546,
273,
521,
2589,
18,
6400,
3292,
947,
30884,
18,
92,
12407,
18,
2629,
7637,
18,
2629,
7637,
11,
397,
521,
2811,
8629,
67,
2696,
8009,
972,
1576,
972,
3292,
1768,
7637,
11,
397,
2811,
8629,
67,
2696,
65,
1435,
468,
971,
2537,
4529,
1177,
18,
309,
486,
5244,
30,
1203,
7637,
67,
10162,
3292,
60,
1090,
2056,
3546,
273,
521,
2589,
18,
6400,
3292,
947,
30884,
18,
92,
12407,
18,
2629,
7637,
18,
2629,
7637,
11,
397,
521,
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,
3174,
2056,
1876,
60,
1090,
2056,
6814,
12,
2890,
16,
1842,
67,
16858,
16,
2811,
8629,
67,
2696,
4672,
3536,
23004,
7756,
316,
326,
8208,
666,
471,
7434,
326,
3174,
2056,
19,
60,
1090,
2056,
4105,
364,
777,
864,
6449,
18,
3536,
468,
432,
24413,
2798,
1879,
777,
10991,
18,
364,
3454,
316,
1842,
67,
16858,
30,
468,
10229,
326,
3430,
1139,
1090,
2056,
5244,
18,
5244,
273,
5378,
364,
498,
316,
3454,
18,
2452,
13332,
309,
498,
422,
296,
1090,
2056,
4278,
1324,
468,
971,
1158,
1177,
353,
1269,
518,
3467,
358,
404,
18,
20,
471,
326,
666,
468,
384,
8271,
1008,
18,
1327,
498,
422,
296,
60,
1090,
2056,
4278,
5244,
273,
5378,
898,
5244,
18,
2
] |
@jsonify.when("isinstance(obj,sqlalchemy.orm.query.Query) or isinstance(obj, sqlalchemy.ext.selectresults.SelectResults)")
|
@jsonify.when("isinstance(obj, SABase) and (isinstance(obj, sqlalchemy.orm.query.Query) or isinstance(obj, sqlalchemy.ext.selectresults.SelectResults))")
|
def __json__(self): '''Transform any SA mapped class into json.
|
32b20ea4254a603156eac3aba8781225a78e2975 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9953/32b20ea4254a603156eac3aba8781225a78e2975/json.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
1977,
972,
12,
2890,
4672,
9163,
4059,
1281,
17127,
5525,
667,
1368,
1163,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1977,
972,
12,
2890,
4672,
9163,
4059,
1281,
17127,
5525,
667,
1368,
1163,
18,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
except:
|
else:
|
def infoSlot( self, nodeid, slotid, label, dntype ): try: self.nodes[ nodeid ].setLabelSlot( slotid, label ) except: print "InfoSlot: nodeid ", nodeid, "not in nodes", self.nodes
|
1cac18f12b1b91166cc9cec5d8fe119bffa40e08 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10633/1cac18f12b1b91166cc9cec5d8fe119bffa40e08/pydon.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1123,
8764,
12,
365,
16,
756,
350,
16,
4694,
350,
16,
1433,
16,
302,
496,
388,
262,
30,
775,
30,
365,
18,
4690,
63,
756,
350,
308,
18,
542,
2224,
8764,
12,
4694,
350,
16,
1433,
262,
469,
30,
1172,
315,
966,
8764,
30,
756,
350,
3104,
756,
350,
16,
315,
902,
316,
2199,
3113,
365,
18,
4690,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
981,
30,
1652,
1123,
8764,
12,
365,
16,
756,
350,
16,
4694,
350,
16,
1433,
16,
302,
496,
388,
262,
30,
775,
30,
365,
18,
4690,
63,
756,
350,
308,
18,
542,
2224,
8764,
12,
4694,
350,
16,
1433,
262,
469,
30,
1172,
315,
966,
8764,
30,
756,
350,
3104,
756,
350,
16,
315,
902,
316,
2199,
3113,
365,
18,
4690,
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
] |
writefile(TARDIR+'/panda3d.spec',SPEC)
|
def printUsage(): sys.exit("usage: maketarball [version]")
|
a398545fa3ba7ab3b2a8abd094123019ee11bab3 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7242/a398545fa3ba7ab3b2a8abd094123019ee11bab3/maketarball.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1172,
5357,
13332,
2589,
18,
8593,
2932,
9167,
30,
29796,
278,
23846,
306,
1589,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1172,
5357,
13332,
2589,
18,
8593,
2932,
9167,
30,
29796,
278,
23846,
306,
1589,
4279,
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
] |
|
oldParentObj.handleChildLeave(object, oldZoneId)
|
oldParentObj.handleChildLeave(do, oldZoneId)
|
def removeDOFromTables(self, do): assert self.notify.debugStateCall(self) #assert not hasattr(do, "isQueryAllResponse") or not do.isQueryAllResponse #assert do.doId in self.doId2do location = do.getLocation() if location: oldParentId, oldZoneId = location oldParentObj = self.doId2do.get(oldParentId) if oldParentObj: oldParentObj.handleChildLeave(object, oldZoneId) self.deleteObjectLocation(do, do.parentId, do.zoneId) ## location = do.getLocation() ## if location is not None: ## if location not in self.zoneId2doIds: ## self.notify.warning( ## 'dobj %s (%s) has invalid location: %s' % ## (do, do.doId, location)) ## else: ## assert do.doId in self.zoneId2doIds[location] ## del self.zoneId2doIds[location][do.doId] ## if len(self.zoneId2doIds[location]) == 0: ## del self.zoneId2doIds[location] if do.doId in self.doId2do: del self.doId2do[do.doId]
|
50225ec96e4ed77e64d1580cb1a83b49067d1b3d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8543/50225ec96e4ed77e64d1580cb1a83b49067d1b3d/DoCollectionManager.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1206,
3191,
1265,
6905,
12,
2890,
16,
741,
4672,
1815,
365,
18,
12336,
18,
4148,
1119,
1477,
12,
2890,
13,
468,
11231,
486,
3859,
12,
2896,
16,
315,
291,
1138,
1595,
1064,
7923,
578,
486,
741,
18,
291,
1138,
1595,
1064,
468,
11231,
741,
18,
2896,
548,
316,
365,
18,
2896,
548,
22,
2896,
2117,
273,
741,
18,
588,
2735,
1435,
309,
2117,
30,
1592,
18847,
16,
1592,
4226,
548,
273,
2117,
1592,
3054,
2675,
273,
365,
18,
2896,
548,
22,
2896,
18,
588,
12,
1673,
18847,
13,
309,
1592,
3054,
2675,
30,
1592,
3054,
2675,
18,
4110,
1763,
21300,
12,
2896,
16,
1592,
4226,
548,
13,
365,
18,
3733,
921,
2735,
12,
2896,
16,
741,
18,
2938,
548,
16,
741,
18,
3486,
548,
13,
7541,
2117,
273,
741,
18,
588,
2735,
1435,
7541,
309,
2117,
353,
486,
599,
30,
7541,
377,
309,
2117,
486,
316,
365,
18,
3486,
548,
22,
2896,
2673,
30,
7541,
540,
365,
18,
12336,
18,
8551,
12,
7541,
2398,
296,
72,
2603,
738,
87,
6142,
87,
13,
711,
2057,
2117,
30,
738,
87,
11,
738,
7541,
2398,
261,
2896,
16,
741,
18,
2896,
548,
16,
2117,
3719,
7541,
377,
469,
30,
7541,
540,
1815,
741,
18,
2896,
548,
316,
365,
18,
3486,
548,
22,
2896,
2673,
63,
3562,
65,
7541,
540,
1464,
365,
18,
3486,
548,
22,
2896,
2673,
63,
3562,
6362,
2896,
18,
2896,
548,
65,
7541,
540,
309,
562,
12,
2890,
18,
3486,
548,
22,
2896,
2673,
63,
3562,
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,
1206,
3191,
1265,
6905,
12,
2890,
16,
741,
4672,
1815,
365,
18,
12336,
18,
4148,
1119,
1477,
12,
2890,
13,
468,
11231,
486,
3859,
12,
2896,
16,
315,
291,
1138,
1595,
1064,
7923,
578,
486,
741,
18,
291,
1138,
1595,
1064,
468,
11231,
741,
18,
2896,
548,
316,
365,
18,
2896,
548,
22,
2896,
2117,
273,
741,
18,
588,
2735,
1435,
309,
2117,
30,
1592,
18847,
16,
1592,
4226,
548,
273,
2117,
1592,
3054,
2675,
273,
365,
18,
2896,
548,
22,
2896,
18,
588,
12,
1673,
18847,
13,
309,
1592,
3054,
2675,
30,
1592,
3054,
2675,
18,
4110,
1763,
21300,
12,
2896,
16,
1592,
4226,
548,
13,
365,
18,
3733,
921,
2735,
12,
2896,
16,
741,
18,
2938,
2
] |
self.location = coord()
|
self.location = Coord()
|
def move(self, loc): motion = (loc != self.location) if self.location.i is not None and self.location.j is not None: if motion: if self.type == 'T': game.quad[self.location.i][self.location.j] = '#' else: game.quad[self.location.i][self.location.j] = '.' if loc: self.location = copy.copy(loc) game.quad[self.location.i][self.location.j] = self.type self.kdist = self.kavgd = (game.sector - loc).distance() else: self.location = coord() self.kdist = self.kavgd = None game.enemies.remove(self) return motion
|
e571d502c19abfb5a3320300c347793da7b43d05 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3176/e571d502c19abfb5a3320300c347793da7b43d05/sst.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3635,
12,
2890,
16,
1515,
4672,
21188,
273,
261,
1829,
480,
365,
18,
3562,
13,
309,
365,
18,
3562,
18,
77,
353,
486,
599,
471,
365,
18,
3562,
18,
78,
353,
486,
599,
30,
309,
21188,
30,
309,
365,
18,
723,
422,
296,
56,
4278,
7920,
18,
21733,
63,
2890,
18,
3562,
18,
77,
6362,
2890,
18,
3562,
18,
78,
65,
273,
6501,
469,
30,
7920,
18,
21733,
63,
2890,
18,
3562,
18,
77,
6362,
2890,
18,
3562,
18,
78,
65,
273,
2611,
309,
1515,
30,
365,
18,
3562,
273,
1610,
18,
3530,
12,
1829,
13,
7920,
18,
21733,
63,
2890,
18,
3562,
18,
77,
6362,
2890,
18,
3562,
18,
78,
65,
273,
365,
18,
723,
365,
18,
79,
4413,
273,
365,
18,
79,
14141,
72,
273,
261,
13957,
18,
5709,
280,
300,
1515,
2934,
8969,
1435,
469,
30,
365,
18,
3562,
273,
10320,
1435,
365,
18,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3635,
12,
2890,
16,
1515,
4672,
21188,
273,
261,
1829,
480,
365,
18,
3562,
13,
309,
365,
18,
3562,
18,
77,
353,
486,
599,
471,
365,
18,
3562,
18,
78,
353,
486,
599,
30,
309,
21188,
30,
309,
365,
18,
723,
422,
296,
56,
4278,
7920,
18,
21733,
63,
2890,
18,
3562,
18,
77,
6362,
2890,
18,
3562,
18,
78,
65,
273,
6501,
469,
30,
7920,
18,
21733,
63,
2890,
18,
3562,
18,
77,
6362,
2890,
18,
3562,
18,
78,
65,
273,
2611,
309,
1515,
30,
365,
18,
3562,
273,
1610,
18,
3530,
12,
1829,
13,
7920,
18,
21733,
63,
2890,
18,
3562,
18,
77,
6362,
2890,
18,
3562,
18,
78,
65,
273,
365,
18,
723,
365,
18,
2
] |
fmtr = logging.Formatter(f) handler.setFormatter(fmtr)
|
handler.setFormatter(logging.Formatter(f))
|
def make_handler2(h, f, l, *o): handler = h(*o) fmtr = logging.Formatter(f) handler.setFormatter(fmtr) handler.addFilter(LevelFilter(l)) return handler
|
633e00b171a777d923e4aead2f2717108d53a3b9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1664/633e00b171a777d923e4aead2f2717108d53a3b9/rssdler.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1221,
67,
4176,
22,
12,
76,
16,
284,
16,
328,
16,
380,
83,
4672,
1838,
273,
366,
30857,
83,
13,
1838,
18,
542,
5074,
12,
11167,
18,
5074,
12,
74,
3719,
1838,
18,
1289,
1586,
12,
2355,
1586,
12,
80,
3719,
327,
1838,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1221,
67,
4176,
22,
12,
76,
16,
284,
16,
328,
16,
380,
83,
4672,
1838,
273,
366,
30857,
83,
13,
1838,
18,
542,
5074,
12,
11167,
18,
5074,
12,
74,
3719,
1838,
18,
1289,
1586,
12,
2355,
1586,
12,
80,
3719,
327,
1838,
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
] |
raise Exception("Invalid number of fields on row: "+str(i+2)) if isanum(fields[0]): nodeName=int(fields[0])
|
raise Exception("The number of fields on a row does not match the header line or given list of properties: "+str(i+2)) if isint(fields[0]): nodeName=int(fields[0])
|
def isanum(str):
|
6105f8eb77d11d886e10a9ffe0430c5282f86ae7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/768/6105f8eb77d11d886e10a9ffe0430c5282f86ae7/netio.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
353,
304,
379,
12,
701,
4672,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
353,
304,
379,
12,
701,
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
] |
urls = 'dashboard_app.test_urls'
|
def test_test_result__unknown(self): obj = TestResult(result=TestResult.RESULT_UNKNOWN, id=1) self.assertEqual(unicode(obj), "#1 unknown")
|
7362473c8efa9da5331b82251c0ea87009f105dc /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12617/7362473c8efa9da5331b82251c0ea87009f105dc/tests.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
3813,
67,
2088,
972,
8172,
12,
2890,
4672,
1081,
273,
7766,
1253,
12,
2088,
33,
4709,
1253,
18,
12289,
67,
14737,
16,
612,
33,
21,
13,
365,
18,
11231,
5812,
12,
9124,
12,
2603,
3631,
6619,
21,
5917,
7923,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1842,
67,
3813,
67,
2088,
972,
8172,
12,
2890,
4672,
1081,
273,
7766,
1253,
12,
2088,
33,
4709,
1253,
18,
12289,
67,
14737,
16,
612,
33,
21,
13,
365,
18,
11231,
5812,
12,
9124,
12,
2603,
3631,
6619,
21,
5917,
7923,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
except AttributeError: pass
|
def save(self, fname): r""" Save the object to disk.
|
b866fa681c3bd3c933dce1836c1e90c749ffe493 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3400/b866fa681c3bd3c933dce1836c1e90c749ffe493/base.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1923,
12,
2890,
16,
5299,
4672,
436,
8395,
7074,
326,
733,
358,
4234,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1923,
12,
2890,
16,
5299,
4672,
436,
8395,
7074,
326,
733,
358,
4234,
18,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
def getDBOptions(self, soClass): if soClass.sqlmeta.engineSQL is not None and \ len(soClass.sqlmeta.engineSQL) > 0: return "ENGINE = %s" % soClass.sqlmeta.engineSQL
|
def getDBOptions(self, SO_or_join): if hasattr(SO_or_join, "sqlmeta"): engineSQL = SO_or_join.sqlmeta.engineSQL else: engineSQL = getattr(SO_or_join, "engineSQL", None) if engineSQL: return "ENGINE = %s" % engineSQL
|
def getDBOptions(self, soClass): if soClass.sqlmeta.engineSQL is not None and \ len(soClass.sqlmeta.engineSQL) > 0: return "ENGINE = %s" % soClass.sqlmeta.engineSQL else: return ""
|
5d1662469ac1624761c2d2ea59b8c06a0d8007fe /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8798/5d1662469ac1624761c2d2ea59b8c06a0d8007fe/dbconnection.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
31132,
1320,
12,
2890,
16,
7460,
67,
280,
67,
5701,
4672,
309,
3859,
12,
3584,
67,
280,
67,
5701,
16,
315,
4669,
3901,
6,
4672,
4073,
3997,
273,
7460,
67,
280,
67,
5701,
18,
4669,
3901,
18,
8944,
3997,
469,
30,
4073,
3997,
273,
3869,
12,
3584,
67,
280,
67,
5701,
16,
315,
8944,
3997,
3113,
599,
13,
309,
4073,
3997,
30,
327,
315,
28980,
273,
738,
87,
6,
738,
4073,
3997,
469,
30,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
31132,
1320,
12,
2890,
16,
7460,
67,
280,
67,
5701,
4672,
309,
3859,
12,
3584,
67,
280,
67,
5701,
16,
315,
4669,
3901,
6,
4672,
4073,
3997,
273,
7460,
67,
280,
67,
5701,
18,
4669,
3901,
18,
8944,
3997,
469,
30,
4073,
3997,
273,
3869,
12,
3584,
67,
280,
67,
5701,
16,
315,
8944,
3997,
3113,
599,
13,
309,
4073,
3997,
30,
327,
315,
28980,
273,
738,
87,
6,
738,
4073,
3997,
469,
30,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
in=master - master relative to which the widget is placed.
|
in=master - master relative to which the widget is placed in_=master - see 'in' option description
|
def place_configure(self, cnf={}, **kw): """Place a widget in the parent widget. Use as options: in=master - master relative to which the widget is placed. x=amount - locate anchor of this widget at position x of master y=amount - locate anchor of this widget at position y of master relx=amount - locate anchor of this widget between 0.0 and 1.0 relative to width of master (1.0 is right edge) rely=amount - locate anchor of this widget between 0.0 and 1.0 relative to height of master (1.0 is bottom edge) anchor=NSEW (or subset) - position anchor according to given direction width=amount - width of this widget in pixel height=amount - height of this widget in pixel relwidth=amount - width of this widget between 0.0 and 1.0 relative to width of master (1.0 is the same width as the master) relheight=amount - height of this widget between 0.0 and 1.0 relative to height of master (1.0 is the same height as the master) bordermode="inside" or "outside" - whether to take border width of master widget into account """ for k in ['in_']: if k in kw: kw[k[:-1]] = kw[k] del kw[k] self.tk.call( ('place', 'configure', self._w) + self._options(cnf, kw))
|
5b912a16970b62a46efa1c90b9e5e7b0acaf60d5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3187/5b912a16970b62a46efa1c90b9e5e7b0acaf60d5/__init__.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3166,
67,
14895,
12,
2890,
16,
23118,
28793,
2826,
9987,
4672,
3536,
6029,
279,
3604,
316,
326,
982,
3604,
18,
2672,
487,
702,
30,
316,
33,
7525,
300,
4171,
3632,
358,
1492,
326,
3604,
353,
15235,
316,
67,
33,
7525,
300,
2621,
296,
267,
11,
1456,
2477,
619,
33,
8949,
300,
10627,
6984,
434,
333,
3604,
622,
1754,
619,
434,
4171,
677,
33,
8949,
300,
10627,
6984,
434,
333,
3604,
622,
1754,
677,
434,
4171,
1279,
92,
33,
8949,
300,
10627,
6984,
434,
333,
3604,
3086,
374,
18,
20,
471,
404,
18,
20,
3632,
358,
1835,
434,
4171,
261,
21,
18,
20,
353,
2145,
3591,
13,
21187,
33,
8949,
300,
10627,
6984,
434,
333,
3604,
3086,
374,
18,
20,
471,
404,
18,
20,
3632,
358,
2072,
434,
4171,
261,
21,
18,
20,
353,
5469,
3591,
13,
6984,
33,
50,
1090,
59,
261,
280,
7931,
13,
300,
1754,
6984,
4888,
358,
864,
4068,
1835,
33,
8949,
300,
1835,
434,
333,
3604,
316,
4957,
2072,
33,
8949,
300,
2072,
434,
333,
3604,
316,
4957,
1279,
2819,
33,
8949,
300,
1835,
434,
333,
3604,
3086,
374,
18,
20,
471,
404,
18,
20,
3632,
358,
1835,
434,
4171,
261,
21,
18,
20,
353,
326,
1967,
1835,
487,
326,
4171,
13,
1279,
4210,
33,
8949,
300,
2072,
434,
333,
3604,
3086,
374,
18,
20,
471,
404,
18,
20,
3632,
358,
2072,
434,
4171,
261,
21,
18,
20,
353,
326,
1967,
2072,
487,
326,
4171,
13,
5795,
3188,
1546,
28091,
6,
578,
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,
3166,
67,
14895,
12,
2890,
16,
23118,
28793,
2826,
9987,
4672,
3536,
6029,
279,
3604,
316,
326,
982,
3604,
18,
2672,
487,
702,
30,
316,
33,
7525,
300,
4171,
3632,
358,
1492,
326,
3604,
353,
15235,
316,
67,
33,
7525,
300,
2621,
296,
267,
11,
1456,
2477,
619,
33,
8949,
300,
10627,
6984,
434,
333,
3604,
622,
1754,
619,
434,
4171,
677,
33,
8949,
300,
10627,
6984,
434,
333,
3604,
622,
1754,
677,
434,
4171,
1279,
92,
33,
8949,
300,
10627,
6984,
434,
333,
3604,
3086,
374,
18,
20,
471,
404,
18,
20,
3632,
358,
1835,
434,
4171,
261,
21,
18,
20,
353,
2145,
3591,
13,
21187,
33,
8949,
300,
10627,
6984,
434,
333,
3604,
3086,
374,
18,
2
] |
"init": (init, [], 'hg init'), "branch|clone": (branch, [], 'hg branch [path]'), "heads": (heads, [], 'hg heads'), "help": (help, [], 'hg help [command]'), "checkout|co": (checkout, [], 'hg checkout [changeset]'),
|
"add": (add, [], "hg add [files]"), "addremove": (addremove, [], "hg addremove"),
|
def undo(ui, repo): repo.undo()
|
696aae8cd8215f7812988063e6685fe6e912a5e0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/696aae8cd8215f7812988063e6685fe6e912a5e0/commands.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
15436,
12,
4881,
16,
3538,
4672,
3538,
18,
31226,
1435,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
15436,
12,
4881,
16,
3538,
4672,
3538,
18,
31226,
1435,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.cycle()
|
reactor.callLater(0.1, self.cycle)
|
def connect(self, *args, **peripheralDict): """ TODO: Add error checking and handling """ #Give the ADR a client connection to LabRAD. #ADR's use the same connection as the ADR server. #Each ADR makes LabRAD requests in its own context.
|
ecc133167eefb5fe6d901da9bd5da2284e919371 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7016/ecc133167eefb5fe6d901da9bd5da2284e919371/ADR.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3077,
12,
2890,
16,
380,
1968,
16,
2826,
457,
4337,
287,
5014,
4672,
3536,
2660,
30,
1436,
555,
6728,
471,
5057,
3536,
468,
43,
688,
326,
432,
6331,
279,
1004,
1459,
358,
511,
378,
28829,
18,
468,
1880,
54,
1807,
999,
326,
1967,
1459,
487,
326,
432,
6331,
1438,
18,
468,
3442,
432,
6331,
7297,
511,
378,
28829,
3285,
316,
2097,
4953,
819,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3077,
12,
2890,
16,
380,
1968,
16,
2826,
457,
4337,
287,
5014,
4672,
3536,
2660,
30,
1436,
555,
6728,
471,
5057,
3536,
468,
43,
688,
326,
432,
6331,
279,
1004,
1459,
358,
511,
378,
28829,
18,
468,
1880,
54,
1807,
999,
326,
1967,
1459,
487,
326,
432,
6331,
1438,
18,
468,
3442,
432,
6331,
7297,
511,
378,
28829,
3285,
316,
2097,
4953,
819,
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
] |
bouquets.append((info.getName(s), s)) else: serviceCount += 1 if len(bouquets) == 0 and serviceCount > 0: info = serviceHandler.info(self.bouquet_root) if not info is None: bouquets.append((info.getName(self.bouquet_root), self.bouquet_root)) return bouquets
|
bouquets.append((info.getName(self.bouquet_root), self.bouquet_root)) return bouquets
|
def getBouquetList(self): serviceCount=0 bouquets = [ ] serviceHandler = eServiceCenter.getInstance() list = serviceHandler.list(self.bouquet_root) if not list is None: while True: s = list.getNext() if not s.valid(): break if ((s.flags & eServiceReference.flagDirectory) == eServiceReference.flagDirectory): info = serviceHandler.info(s) if not info is None: bouquets.append((info.getName(s), s)) else: serviceCount += 1 if len(bouquets) == 0 and serviceCount > 0: info = serviceHandler.info(self.bouquet_root) if not info is None: bouquets.append((info.getName(self.bouquet_root), self.bouquet_root)) return bouquets return None
|
aa9f2235e7298a65c143678a8b75eaf6ed842462 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/aa9f2235e7298a65c143678a8b75eaf6ed842462/ChannelSelection.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2882,
1395,
28357,
682,
12,
2890,
4672,
1156,
1380,
33,
20,
800,
89,
372,
2413,
273,
306,
308,
1156,
1503,
273,
425,
1179,
8449,
18,
588,
1442,
1435,
666,
273,
1156,
1503,
18,
1098,
12,
2890,
18,
16818,
28357,
67,
3085,
13,
309,
486,
666,
353,
599,
30,
1323,
1053,
30,
272,
273,
666,
18,
588,
2134,
1435,
309,
486,
272,
18,
877,
13332,
898,
309,
14015,
87,
18,
7133,
473,
425,
1179,
2404,
18,
6420,
2853,
13,
422,
425,
1179,
2404,
18,
6420,
2853,
4672,
1123,
273,
1156,
1503,
18,
1376,
12,
87,
13,
309,
486,
1123,
353,
599,
30,
800,
89,
372,
2413,
18,
6923,
12443,
1376,
18,
17994,
12,
2890,
18,
16818,
28357,
67,
3085,
3631,
365,
18,
16818,
28357,
67,
3085,
3719,
327,
800,
89,
372,
2413,
327,
599,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2882,
1395,
28357,
682,
12,
2890,
4672,
1156,
1380,
33,
20,
800,
89,
372,
2413,
273,
306,
308,
1156,
1503,
273,
425,
1179,
8449,
18,
588,
1442,
1435,
666,
273,
1156,
1503,
18,
1098,
12,
2890,
18,
16818,
28357,
67,
3085,
13,
309,
486,
666,
353,
599,
30,
1323,
1053,
30,
272,
273,
666,
18,
588,
2134,
1435,
309,
486,
272,
18,
877,
13332,
898,
309,
14015,
87,
18,
7133,
473,
425,
1179,
2404,
18,
6420,
2853,
13,
422,
425,
1179,
2404,
18,
6420,
2853,
4672,
1123,
273,
1156,
1503,
18,
1376,
12,
87,
13,
309,
486,
1123,
353,
599,
30,
800,
89,
372,
2413,
18,
6923,
12443,
1376,
18,
17994,
12,
2890,
18,
16818,
28357,
67,
3085,
2
] |
self.assertTrue(type(s3) is bytearray)
|
self.assertTrue(type(s3) is self.type2test)
|
def test_join(self): # Make sure join returns a NEW object for single item sequences # involving a subclass. # Make sure that it is of the appropriate type. s1 = ByteArraySubclass(b"abcd") s2 = bytearray().join([s1]) self.assertTrue(s1 is not s2) self.assertTrue(type(s2) is bytearray, type(s2))
|
41f58a70ac168c3f468d2dacb945dd88f1c89350 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8546/41f58a70ac168c3f468d2dacb945dd88f1c89350/test_bytes.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
5701,
12,
2890,
4672,
468,
4344,
3071,
1233,
1135,
279,
12887,
733,
364,
2202,
761,
8463,
468,
29876,
6282,
279,
10177,
18,
468,
4344,
3071,
716,
518,
353,
434,
326,
5505,
618,
18,
272,
21,
273,
7964,
1676,
1106,
12,
70,
6,
378,
4315,
7923,
272,
22,
273,
14552,
7675,
5701,
3816,
87,
21,
5717,
365,
18,
11231,
5510,
12,
87,
21,
353,
486,
272,
22,
13,
365,
18,
11231,
5510,
12,
723,
12,
87,
22,
13,
353,
14552,
16,
618,
12,
87,
22,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
5701,
12,
2890,
4672,
468,
4344,
3071,
1233,
1135,
279,
12887,
733,
364,
2202,
761,
8463,
468,
29876,
6282,
279,
10177,
18,
468,
4344,
3071,
716,
518,
353,
434,
326,
5505,
618,
18,
272,
21,
273,
7964,
1676,
1106,
12,
70,
6,
378,
4315,
7923,
272,
22,
273,
14552,
7675,
5701,
3816,
87,
21,
5717,
365,
18,
11231,
5510,
12,
87,
21,
353,
486,
272,
22,
13,
365,
18,
11231,
5510,
12,
723,
12,
87,
22,
13,
353,
14552,
16,
618,
12,
87,
22,
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
] |
return self.__reportError(diracSite['Message'],**kwargs)
|
return self.__reportError( diracSite['Message'], **kwargs )
|
def setDestinationCE(self,ceName): """ Developer function. Allows to direct a job to a particular Grid CE. """ kwargs = {'ceName':ceName} diracSite = getSiteForCE(ceName) if not diracSite['OK']: return self.__reportError(diracSite['Message'],**kwargs) if not diracSite['Value']: return self.__reportErrror('No DIRAC site name found for CE %s' %(ceName),**kwargs)
|
50b3322668816ba92ea3f9b253d993dc34c53a21 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/50b3322668816ba92ea3f9b253d993dc34c53a21/Job.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
5683,
1441,
12,
2890,
16,
311,
461,
4672,
3536,
14526,
445,
18,
225,
25619,
358,
2657,
279,
1719,
358,
279,
6826,
7145,
29538,
18,
3536,
1205,
273,
13666,
311,
461,
4278,
311,
461,
97,
4314,
8836,
4956,
273,
11021,
1290,
1441,
12,
311,
461,
13,
309,
486,
4314,
8836,
4956,
3292,
3141,
3546,
30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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
5683,
1441,
12,
2890,
16,
311,
461,
4672,
3536,
14526,
445,
18,
225,
25619,
358,
2657,
279,
1719,
358,
279,
6826,
7145,
29538,
18,
3536,
1205,
273,
13666,
311,
461,
4278,
311,
461,
97,
4314,
8836,
4956,
273,
11021,
1290,
1441,
12,
311,
461,
13,
309,
486,
4314,
8836,
4956,
3292,
3141,
3546,
30,
327,
365,
16186,
6006,
668,
12,
4314,
8836,
4956,
3292,
1079,
17337,
2826,
4333,
262,
309,
486,
4314,
8836,
4956,
3292,
620,
3546,
30,
327,
365,
16186,
6006,
2524,
86,
280,
2668,
2279,
18544,
2226,
2834,
508,
1392,
364,
29538,
738,
87,
11,
8975,
311,
461,
3631,
636,
4333,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
continue if req_pacs: dlg = warning_dialog(self.gld.get_widget("main_win"), req_pacs, self.icon) if dlg.run() == RESPONSE_YES: pacs_queues["remove"].extend(req_pacs) else: self.queues["remove"].remove(name) pacs_queues["remove"].remove(pac) dlg.destroy() continue if not (pacs_queues["add"] or pacs_queues["remove"]): self._refresh_trees_and_queues() return retcode = self._confirm(pacs_queues) if retcode: self._statusbar(_("Executing queued operations...")) dlg = do_dialog(pacs_queues, self.icon) dlg.connect("destroy", self._refresh_trees_and_queues, pacs_queues) dlg.run() else: self.queues["add"] = [] self.queues["remove"] = [] self._refresh_trees_and_queues() return
|
return queue, req_pacs def _execute_dep_check(self, to_check, flag): to_do = [] try: pac = self.database.get_by_name(to_check) except NameError: dlg = error_dialog(self.gld.get_widget("main_win"), _("%(dep)s is not in the database. %(dep)s is required by %(pkg)s.\nThis maybe either an error in %(pkg)s packaging or a gtkpacman's bug.\nIf you think it's the first, contact the %(pkg)s maintainer, else fill a bug report for gtkpacman, please.") %{'dep': dep, "pkg": name}, self.icon) dlg.run() dlg.destroy() pacs_queues["add"].remove(pac) self.queues["add"].remove(name) return try: if not pac.prop_setted: self.database.set_pac_properties(pac) except: return pac, to_do if flag == "req": for req in pac.req_by.split(", "): if len(req) >= 1: to_do.append(req) else: if not pac.installed: for dep in pac.dependencies.split(", "): if len(dep) >= 1: to_do.append(dep) else: pac = None return pac, to_do pac = None return pac, to_do
|
def _req_pac_check(to_check, flag): to_do = []
|
fb043dc1229bc5467516bc193644c0d02ad942fd /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2654/fb043dc1229bc5467516bc193644c0d02ad942fd/gui.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
3658,
67,
84,
1077,
67,
1893,
12,
869,
67,
1893,
16,
2982,
4672,
358,
67,
2896,
273,
5378,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
3658,
67,
84,
1077,
67,
1893,
12,
869,
67,
1893,
16,
2982,
4672,
358,
67,
2896,
273,
5378,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.execEnd()
|
self.execEnd(last=False)
|
def pushCurrent(self): if self.current_dialog is not None: self.dialog_stack.append(self.current_dialog) self.execEnd()
|
5e74dc98aad36025621d14b36faeb0c649bf8b9b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/5e74dc98aad36025621d14b36faeb0c649bf8b9b/mytest.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1817,
3935,
12,
2890,
4672,
309,
365,
18,
2972,
67,
12730,
353,
486,
599,
30,
365,
18,
12730,
67,
3772,
18,
6923,
12,
2890,
18,
2972,
67,
12730,
13,
365,
18,
4177,
1638,
12,
2722,
33,
8381,
13,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1817,
3935,
12,
2890,
4672,
309,
365,
18,
2972,
67,
12730,
353,
486,
599,
30,
365,
18,
12730,
67,
3772,
18,
6923,
12,
2890,
18,
2972,
67,
12730,
13,
365,
18,
4177,
1638,
12,
2722,
33,
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
] |
p.timeout(5)
|
p.timeout(TIMEOUT)
|
def connect(self, server, port): """Connect to a heat switch device.""" print 'connecting to "%s" on port "%s"...' % (server.name, port), self.server = server self.ctx = server.context() self.port = port p = self.packet() p.open(port) p.baudrate(2400) p.read() # clear out the read buffer p.timeout(5)
|
0f174ddb84302973f7df262aced424f80bc99b49 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7016/0f174ddb84302973f7df262aced424f80bc99b49/heat_switch_server.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3077,
12,
2890,
16,
1438,
16,
1756,
4672,
3536,
5215,
358,
279,
19347,
1620,
2346,
12123,
1172,
296,
3612,
310,
358,
2213,
87,
6,
603,
1756,
2213,
87,
6,
7821,
738,
261,
3567,
18,
529,
16,
1756,
3631,
365,
18,
3567,
273,
1438,
365,
18,
5900,
273,
1438,
18,
2472,
1435,
365,
18,
655,
273,
1756,
293,
273,
365,
18,
11482,
1435,
293,
18,
3190,
12,
655,
13,
293,
18,
12124,
1100,
5141,
12,
3247,
713,
13,
293,
18,
896,
1435,
468,
2424,
596,
326,
855,
1613,
293,
18,
4538,
12,
25,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3077,
12,
2890,
16,
1438,
16,
1756,
4672,
3536,
5215,
358,
279,
19347,
1620,
2346,
12123,
1172,
296,
3612,
310,
358,
2213,
87,
6,
603,
1756,
2213,
87,
6,
7821,
738,
261,
3567,
18,
529,
16,
1756,
3631,
365,
18,
3567,
273,
1438,
365,
18,
5900,
273,
1438,
18,
2472,
1435,
365,
18,
655,
273,
1756,
293,
273,
365,
18,
11482,
1435,
293,
18,
3190,
12,
655,
13,
293,
18,
12124,
1100,
5141,
12,
3247,
713,
13,
293,
18,
896,
1435,
468,
2424,
596,
326,
855,
1613,
293,
18,
4538,
12,
25,
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
] |
m[x] = ch = chr(x & 255) self.assertEqual(m[x], ch)
|
b[0] = x & 255 m[x] = b self.assertEqual(m[x], b)
|
def test_anonymous(self): # anonymous mmap.mmap(-1, PAGE) m = mmap.mmap(-1, PAGESIZE) for x in range(PAGESIZE): self.assertEqual(m[x], '\0', "anonymously mmap'ed contents should be zero")
|
d5ab51392e332ac6a7a37b2fca62a82b1aee9ec7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8125/d5ab51392e332ac6a7a37b2fca62a82b1aee9ec7/test_mmap.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
19070,
12,
2890,
4672,
468,
13236,
30749,
18,
81,
1458,
19236,
21,
16,
11549,
13,
312,
273,
30749,
18,
81,
1458,
19236,
21,
16,
11549,
4574,
13,
364,
619,
316,
1048,
12,
11219,
4574,
4672,
365,
18,
11231,
5812,
12,
81,
63,
92,
6487,
2337,
20,
2187,
315,
19070,
715,
30749,
11,
329,
2939,
1410,
506,
3634,
7923,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
81,
63,
92,
6487,
2337,
20,
2187,
315,
19070,
715,
30749,
11,
329,
2939,
1410,
506,
3634,
7923,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
def on_detached_window_close(self, window): self.stop()
|
def on_detached_window_close(self, window): self.stop()
|
609912eea9afe254f171065668d243772922c29a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12354/609912eea9afe254f171065668d243772922c29a/playback.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
603,
67,
8238,
2004,
67,
5668,
67,
4412,
12,
2890,
16,
2742,
4672,
365,
18,
5681,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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890,
16,
2742,
4672,
365,
18,
5681,
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
] |
|
reply = dlg.ShowModal() dlg.Destroy()
|
reply = dlg.ShowModal() dlg.Destroy()
|
def OnCloseWindow(self, event): dlg = wx.MessageDialog(self,"This will shutdown PsyCollider and close all code windows, do you want to proceed?")
|
875a686f4ba7b255a5449d87dbd4a5611f7ff5e5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11200/875a686f4ba7b255a5449d87dbd4a5611f7ff5e5/Psycollider.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2755,
4605,
3829,
12,
2890,
16,
871,
4672,
25840,
273,
7075,
18,
1079,
6353,
12,
2890,
10837,
2503,
903,
5731,
453,
9009,
13535,
3585,
471,
1746,
777,
981,
9965,
16,
741,
1846,
2545,
358,
11247,
7225,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2755,
4605,
3829,
12,
2890,
16,
871,
4672,
25840,
273,
7075,
18,
1079,
6353,
12,
2890,
10837,
2503,
903,
5731,
453,
9009,
13535,
3585,
471,
1746,
777,
981,
9965,
16,
741,
1846,
2545,
358,
11247,
7225,
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
] |
def get_time(self): t = self.timer() if type(t) == type(()) or type(t) == type([]): t = reduce(lambda x,y: x+y, t, 0) return t def get_time_mac(self): return self.timer()/60.0
|
def __init__(self, timer=None): self.timings = {} self.cur = None self.cmd = ""
|
edb5ffb2c145fc52df2195c22688db51034b08d5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/edb5ffb2c145fc52df2195c22688db51034b08d5/profile.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
5441,
33,
7036,
4672,
365,
18,
8584,
899,
273,
2618,
365,
18,
1397,
273,
599,
365,
18,
4172,
273,
1408,
2,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
5441,
33,
7036,
4672,
365,
18,
8584,
899,
273,
2618,
365,
18,
1397,
273,
599,
365,
18,
4172,
273,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
that expectation is not true. IF you expect a field to have
|
that expectation is not true. If you expect a field to have
|
def __init__(self, environ=os.environ): self.dict = self.data = parse(environ=environ) self.query_string = environ['QUERY_STRING']
|
06dfcf61676c7c31e2c2232d65d1d5286aee095d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/06dfcf61676c7c31e2c2232d65d1d5286aee095d/cgi.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
5473,
33,
538,
18,
28684,
4672,
365,
18,
1576,
273,
365,
18,
892,
273,
1109,
12,
28684,
33,
28684,
13,
365,
18,
2271,
67,
1080,
273,
5473,
3292,
10753,
67,
5804,
3546,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
5473,
33,
538,
18,
28684,
4672,
365,
18,
1576,
273,
365,
18,
892,
273,
1109,
12,
28684,
33,
28684,
13,
365,
18,
2271,
67,
1080,
273,
5473,
3292,
10753,
67,
5804,
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,
-100,
-100,
-100
] |
if config.get(prefs.ENABLE_SUBTITLES): default_track = self.get_enabled_subtitle_track() if default_track is None: tracks = self.get_subtitle_tracks() if len(tracks) > 0: self.enable_subtitle_track(tracks[0]) else: self.disable_subtitles()
|
if hasattr(self, "pick_subtitle_track"): self.enable_subtitle_track(self.pick_subtitle_track) del self.__dict__["pick_subtitle_track"] else: if config.get(prefs.ENABLE_SUBTITLES): default_track = self.get_enabled_subtitle_track() if default_track is None: tracks = self.get_subtitle_tracks() if len(tracks) > 0: self.enable_subtitle_track(tracks[0]) else: self.disable_subtitles()
|
def finish_select_file(self): if config.get(prefs.ENABLE_SUBTITLES): default_track = self.get_enabled_subtitle_track() if default_track is None: tracks = self.get_subtitle_tracks() if len(tracks) > 0: self.enable_subtitle_track(tracks[0]) else: self.disable_subtitles()
|
408cbef61fa2e462355ba48311f7bbb6475c06f6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/408cbef61fa2e462355ba48311f7bbb6475c06f6/gstreamerrenderer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4076,
67,
4025,
67,
768,
12,
2890,
4672,
309,
642,
18,
588,
12,
1484,
2556,
18,
29377,
67,
8362,
56,
1285,
11386,
4672,
805,
67,
4101,
273,
365,
18,
588,
67,
5745,
67,
1717,
2649,
67,
4101,
1435,
309,
805,
67,
4101,
353,
599,
30,
13933,
273,
365,
18,
588,
67,
1717,
2649,
67,
21499,
1435,
309,
562,
12,
21499,
13,
405,
374,
30,
365,
18,
7589,
67,
1717,
2649,
67,
4101,
12,
21499,
63,
20,
5717,
469,
30,
365,
18,
8394,
67,
1717,
17643,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4076,
67,
4025,
67,
768,
12,
2890,
4672,
309,
642,
18,
588,
12,
1484,
2556,
18,
29377,
67,
8362,
56,
1285,
11386,
4672,
805,
67,
4101,
273,
365,
18,
588,
67,
5745,
67,
1717,
2649,
67,
4101,
1435,
309,
805,
67,
4101,
353,
599,
30,
13933,
273,
365,
18,
588,
67,
1717,
2649,
67,
21499,
1435,
309,
562,
12,
21499,
13,
405,
374,
30,
365,
18,
7589,
67,
1717,
2649,
67,
4101,
12,
21499,
63,
20,
5717,
469,
30,
365,
18,
8394,
67,
1717,
17643,
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
] |
m = self.copy_only(sys, self.ok_sys_names) m.modules = self.modules m.argv = ['RESTRICTED'] m.path = map(None, self.ok_path) m = self.modules['sys'] l = self.modules.keys() + list(self.ok_builtin_modules) l.sort() m.builtin_module_names = tuple(l)
|
m = self.copy_only(sys, self.ok_sys_names) m.modules = self.modules m.argv = ['RESTRICTED'] m.path = map(None, self.ok_path) m = self.modules['sys'] l = self.modules.keys() + list(self.ok_builtin_modules) l.sort() m.builtin_module_names = tuple(l)
|
def make_sys(self):
|
ca6ae39a786f3d7535cba0f2aef10692eb750051 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/ca6ae39a786f3d7535cba0f2aef10692eb750051/rexec.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1221,
67,
9499,
12,
2890,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1221,
67,
9499,
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
] |
block = True
|
blockType = True forcePars = True
|
def invoke(self, tex): cb = self.ownerDocument.createElement('changebar') cb.macroMode = self.MODE_END cb.invoke(tex) return [cb]
|
e1749ed491da4310531e6005bb61e2456de83b06 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7864/e1749ed491da4310531e6005bb61e2456de83b06/changebar.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4356,
12,
2890,
16,
16573,
4672,
2875,
273,
365,
18,
8443,
2519,
18,
2640,
1046,
2668,
3427,
3215,
6134,
2875,
18,
26448,
2309,
273,
365,
18,
7038,
67,
4415,
2875,
18,
14407,
12,
21763,
13,
327,
306,
7358,
65,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4356,
12,
2890,
16,
16573,
4672,
2875,
273,
365,
18,
8443,
2519,
18,
2640,
1046,
2668,
3427,
3215,
6134,
2875,
18,
26448,
2309,
273,
365,
18,
7038,
67,
4415,
2875,
18,
14407,
12,
21763,
13,
327,
306,
7358,
65,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
_fl_set_button_mouse_buttons = cfuncproto(so_libforms, "fl_set_button_mouse_buttons", None, [cty.POINTER(FL_OBJECT), cty.c_uint],
|
_fl_set_button_mouse_buttons = cfuncproto(so_libforms, "fl_set_button_mouse_buttons", None, [cty.POINTER(FL_OBJECT), cty.c_uint],
|
def fl_add_button_class(bclass, py_drawit, py_cleanup): """ fl_add_button_class(bclass, py_drawit, py_cleanup) """ c_drawit = FL_DrawButton(py_drawit) c_cleanup = FL_CleanupButton(py_cleanup) _cfunc_refs[get_rand_dictkey()] = c_drawit _cfunc_refs[get_rand_dictkey()] = c_cleanup _fl_add_button_class(bclass, c_drawit, c_cleanup)
|
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,
1289,
67,
5391,
67,
1106,
12,
70,
1106,
16,
2395,
67,
9446,
305,
16,
2395,
67,
16732,
4672,
3536,
1183,
67,
1289,
67,
5391,
67,
1106,
12,
70,
1106,
16,
2395,
67,
9446,
305,
16,
2395,
67,
16732,
13,
3536,
225,
276,
67,
9446,
305,
273,
31358,
67,
6493,
3616,
12,
2074,
67,
9446,
305,
13,
276,
67,
16732,
273,
31358,
67,
15007,
3616,
12,
2074,
67,
16732,
13,
389,
71,
644,
67,
9316,
63,
588,
67,
7884,
67,
1576,
856,
1435,
65,
273,
276,
67,
9446,
305,
389,
71,
644,
67,
9316,
63,
588,
67,
7884,
67,
1576,
856,
1435,
65,
273,
276,
67,
16732,
389,
2242,
67,
1289,
67,
5391,
67,
1106,
12,
70,
1106,
16,
276,
67,
9446,
305,
16,
276,
67,
16732,
13,
282,
2,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1183,
67,
1289,
67,
5391,
67,
1106,
12,
70,
1106,
16,
2395,
67,
9446,
305,
16,
2395,
67,
16732,
4672,
3536,
1183,
67,
1289,
67,
5391,
67,
1106,
12,
70,
1106,
16,
2395,
67,
9446,
305,
16,
2395,
67,
16732,
13,
3536,
225,
276,
67,
9446,
305,
273,
31358,
67,
6493,
3616,
12,
2074,
67,
9446,
305,
13,
276,
67,
16732,
273,
31358,
67,
15007,
3616,
12,
2074,
67,
16732,
13,
389,
71,
644,
67,
9316,
63,
588,
67,
7884,
67,
1576,
856,
1435,
65,
273,
276,
67,
9446,
305,
389,
71,
644,
67,
9316,
63,
588,
67,
7884,
67,
1576,
856,
1435,
65,
273,
276,
67,
16732,
389,
2242,
67,
1289,
67,
5391,
67,
1106,
12,
70,
2
] |
sys.stderr.write("Warning: Undefined behaviour for start tag %s"%name)
|
def startTagNew(self, name, attributes): """New HTML5 elements, "event-source", "section", "nav", "article", "aside", "header", "footer", "datagrid", "command" """ sys.stderr.write("Warning: Undefined behaviour for start tag %s"%name) self.startTagOther(name, attributes) #raise NotImplementedError
|
594b8a848907751283b22737ca5120efd1316ec9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4487/594b8a848907751283b22737ca5120efd1316ec9/html5parser.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
787,
1805,
1908,
12,
2890,
16,
508,
16,
1677,
4672,
3536,
1908,
3982,
25,
2186,
16,
315,
2575,
17,
3168,
3113,
315,
3464,
3113,
315,
11589,
3113,
315,
11480,
3113,
315,
345,
831,
3113,
315,
3374,
3113,
315,
14723,
3113,
315,
3404,
22239,
3113,
315,
3076,
6,
3536,
565,
365,
18,
1937,
1805,
8290,
12,
529,
16,
1677,
13,
468,
11628,
11206,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
787,
1805,
1908,
12,
2890,
16,
508,
16,
1677,
4672,
3536,
1908,
3982,
25,
2186,
16,
315,
2575,
17,
3168,
3113,
315,
3464,
3113,
315,
11589,
3113,
315,
11480,
3113,
315,
345,
831,
3113,
315,
3374,
3113,
315,
14723,
3113,
315,
3404,
22239,
3113,
315,
3076,
6,
3536,
565,
365,
18,
1937,
1805,
8290,
12,
529,
16,
1677,
13,
468,
11628,
11206,
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
] |
|
if HDF5_dir is None:
|
if HDF5_includedir is None and HDF5_dir is None:
|
def check_ifnetcdf4(netcdf4_dir): try: f = open(os.path.join(netcdf4_dir,'include/netcdf.h')) except IOError: return False isnetcdf4 = False for line in f: if line.startswith('nc_inq_compound'): isnetcdf4 = True return isnetcdf4
|
c01e6408fe27e6458627abbf01fb6379fe1f2926 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8103/c01e6408fe27e6458627abbf01fb6379fe1f2926/setup.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
67,
430,
2758,
24799,
24,
12,
2758,
24799,
24,
67,
1214,
4672,
775,
30,
284,
273,
1696,
12,
538,
18,
803,
18,
5701,
12,
2758,
24799,
24,
67,
1214,
11189,
6702,
19,
2758,
24799,
18,
76,
26112,
1335,
8340,
30,
327,
1083,
353,
2758,
24799,
24,
273,
1083,
364,
980,
316,
284,
30,
309,
980,
18,
17514,
1918,
2668,
14202,
67,
267,
85,
67,
22585,
11,
4672,
353,
2758,
24799,
24,
273,
1053,
327,
353,
2758,
24799,
24,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
67,
430,
2758,
24799,
24,
12,
2758,
24799,
24,
67,
1214,
4672,
775,
30,
284,
273,
1696,
12,
538,
18,
803,
18,
5701,
12,
2758,
24799,
24,
67,
1214,
11189,
6702,
19,
2758,
24799,
18,
76,
26112,
1335,
8340,
30,
327,
1083,
353,
2758,
24799,
24,
273,
1083,
364,
980,
316,
284,
30,
309,
980,
18,
17514,
1918,
2668,
14202,
67,
267,
85,
67,
22585,
11,
4672,
353,
2758,
24799,
24,
273,
1053,
327,
353,
2758,
24799,
24,
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
] |
all_conf_files = hashref(ConfFiles(self.api, {'enabled': True}), 'conf_file_id')
|
all_conf_files = ConfFiles(self.api, {'enabled': True}).dict()
|
def call(self, auth, node_filter = None): timestamp = int(time.time())
|
5c85cde8979a8919505b22e8c7b573c85d86f7fb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7598/5c85cde8979a8919505b22e8c7b573c85d86f7fb/GetSlivers.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
745,
12,
2890,
16,
1357,
16,
756,
67,
2188,
273,
599,
4672,
2858,
273,
509,
12,
957,
18,
957,
10756,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
745,
12,
2890,
16,
1357,
16,
756,
67,
2188,
273,
599,
4672,
2858,
273,
509,
12,
957,
18,
957,
10756,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
h.url_for(modelname=modelname, action=action, id=_pk(item)),
|
h.url_for(controller=controller, modelname=modelname, action=action, id=_pk(item)),
|
def get_linker(action, modelname=modelname): _ = get_translator().gettext label = action == 'edit' and _('edit') or _('delete') return lambda item: '<a href="%s" title="%s" class="icon %s">%s</a>' % ( h.url_for(modelname=modelname, action=action, id=_pk(item)), label, action, label)
|
1b25ac1979620043815bbf1987b480ef59363816 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13203/1b25ac1979620043815bbf1987b480ef59363816/admin.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
1232,
264,
12,
1128,
16,
938,
529,
33,
2284,
529,
4672,
389,
273,
336,
67,
17879,
7675,
29967,
1433,
273,
1301,
422,
296,
4619,
11,
471,
389,
2668,
4619,
6134,
578,
389,
2668,
3733,
6134,
327,
3195,
761,
30,
2368,
69,
3897,
11613,
87,
6,
2077,
11613,
87,
6,
667,
1546,
3950,
738,
87,
24038,
87,
1757,
69,
1870,
738,
261,
366,
18,
718,
67,
1884,
12,
5723,
33,
5723,
16,
938,
529,
33,
2284,
529,
16,
1301,
33,
1128,
16,
612,
33,
67,
5465,
12,
1726,
13,
3631,
1433,
16,
1301,
16,
1433,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
1232,
264,
12,
1128,
16,
938,
529,
33,
2284,
529,
4672,
389,
273,
336,
67,
17879,
7675,
29967,
1433,
273,
1301,
422,
296,
4619,
11,
471,
389,
2668,
4619,
6134,
578,
389,
2668,
3733,
6134,
327,
3195,
761,
30,
2368,
69,
3897,
11613,
87,
6,
2077,
11613,
87,
6,
667,
1546,
3950,
738,
87,
24038,
87,
1757,
69,
1870,
738,
261,
366,
18,
718,
67,
1884,
12,
5723,
33,
5723,
16,
938,
529,
33,
2284,
529,
16,
1301,
33,
1128,
16,
612,
33,
67,
5465,
12,
1726,
13,
3631,
1433,
16,
1301,
16,
1433,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if single_article_per_section: single_list = [] for book in self.booksByTitle: single_list.append(book) if len(single_list) > 1: short_description = '%s -\n%s' % (single_list[0]['title'], single_list[-1]['title'])
|
current_letter = self.booksByTitle[0]['title_sort'][0].upper() title_letters = [current_letter] current_book_list = [] current_book = "" for book in self.booksByTitle: if book['title_sort'][0].upper() != current_letter: book_list = " • ".join(current_book_list) short_description = self.generateShortDescription(self.formatNCXText(book_list)) books_by_letter.append(short_description) current_letter = book['title_sort'][0].upper() title_letters.append(current_letter) current_book = book['title'] current_book_list = [book['title']]
|
def generateNCXByTitle(self, tocTitle, single_article_per_section=True):
|
073710f405f291eedc7992694a78db2be7983d10 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/073710f405f291eedc7992694a78db2be7983d10/catalog.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2103,
10346,
60,
858,
4247,
12,
2890,
16,
17919,
4247,
16,
2202,
67,
11480,
67,
457,
67,
3464,
33,
5510,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2103,
10346,
60,
858,
4247,
12,
2890,
16,
17919,
4247,
16,
2202,
67,
11480,
67,
457,
67,
3464,
33,
5510,
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
] |
self._caretMovementScriptHelper(textHandler.UNIT_CHARACTER,posUnit=textHandler.UNIT_LINE,extraDetail=True)
|
self._caretMovementScriptHelper(textHandler.UNIT_CHARACTER,posUnit=textHandler.UNIT_LINE,extraDetail=True,handleSymbols=True)
|
def script_startOfLine(self,keyPress): self._caretMovementScriptHelper(textHandler.UNIT_CHARACTER,posUnit=textHandler.UNIT_LINE,extraDetail=True)
|
e542e903259608f1972074fd08f02ca9d350b995 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9340/e542e903259608f1972074fd08f02ca9d350b995/cursorManager.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2728,
67,
1937,
951,
1670,
12,
2890,
16,
856,
11840,
4672,
365,
6315,
71,
20731,
49,
26140,
3651,
2276,
12,
955,
1503,
18,
15736,
67,
27858,
16,
917,
2802,
33,
955,
1503,
18,
15736,
67,
5997,
16,
7763,
6109,
33,
5510,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2728,
67,
1937,
951,
1670,
12,
2890,
16,
856,
11840,
4672,
365,
6315,
71,
20731,
49,
26140,
3651,
2276,
12,
955,
1503,
18,
15736,
67,
27858,
16,
917,
2802,
33,
955,
1503,
18,
15736,
67,
5997,
16,
7763,
6109,
33,
5510,
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
] |
<th bgcolor="
|
<th bgcolor="
|
def callgraph_link(self, callgraph): if callgraph is None: return '' return ('<br /><span class="codelink"><a href="javascript: void(0);" ' 'onclick="toggleCallGraph(\'%s-div\');return false;">' 'call graph</a></span> ' % callgraph.uid)
|
5c410b5b6e25df3bdbc6da266f7773518165cb02 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/5c410b5b6e25df3bdbc6da266f7773518165cb02/html.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
745,
4660,
67,
1232,
12,
2890,
16,
745,
4660,
4672,
309,
745,
4660,
353,
599,
30,
327,
875,
327,
7707,
32,
2848,
342,
4438,
3969,
667,
1546,
71,
1009,
754,
14050,
69,
3897,
1546,
11242,
30,
918,
12,
20,
12171,
296,
296,
265,
7475,
1546,
14401,
1477,
4137,
21923,
9,
87,
17,
2892,
3730,
1769,
2463,
629,
4868,
1870,
296,
1991,
10,
10600,
31,
4660,
1757,
69,
4695,
3969,
22393,
10600,
4359,
738,
745,
4660,
18,
1911,
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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660,
353,
599,
30,
327,
875,
327,
7707,
32,
2848,
342,
4438,
3969,
667,
1546,
71,
1009,
754,
14050,
69,
3897,
1546,
11242,
30,
918,
12,
20,
12171,
296,
296,
265,
7475,
1546,
14401,
1477,
4137,
21923,
9,
87,
17,
2892,
3730,
1769,
2463,
629,
4868,
1870,
296,
1991,
10,
10600,
31,
4660,
1757,
69,
4695,
3969,
22393,
10600,
4359,
738,
745,
4660,
18,
1911,
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
] |
for dirpath, dirnames, filenames in os.walk(os.curdir,topdown=True): dirnames[:] = [x for x in dirnames if x not in exclude_dirs] dirpath = os.path.split for filename in filenames: if filename not in exclude_files: filename = os.path.join(dirpath,filename) print "Marking file %s for installation" % filename files_to_install.append(filename) for dirname in dirnames: dirname = os.path.join(dirpath,dirname) print "Marking directory %s for installation" % dirname dirs_to_install.append(dirname)
|
for filename in os.listdir(path): abs_file = os.path.join(path,filename) rel_file = os.path.join(prefix,filename) if os.path.isfile(abs_file) and filename not in exclude_files: print "Marking file %s for installation" % rel_file files_to_install.append(rel_file) elif os.path.isdir(abs_file) and filename not in exclude_dirs: print "Marking directory %s for installation" % rel_file dirs_to_install.append(rel_file) identify_files(abs_file, rel_file)
|
def identify_files(): #set files to a list of the files we want to install for dirpath, dirnames, filenames in os.walk(os.curdir,topdown=True): dirnames[:] = [x for x in dirnames if x not in exclude_dirs] dirpath = os.path.split for filename in filenames: if filename not in exclude_files: filename = os.path.join(dirpath,filename) print "Marking file %s for installation" % filename files_to_install.append(filename) for dirname in dirnames: dirname = os.path.join(dirpath,dirname) print "Marking directory %s for installation" % dirname dirs_to_install.append(dirname)
|
5a1e28f88b1fbffe6a2eb4c7ae121c5169b222af /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10693/5a1e28f88b1fbffe6a2eb4c7ae121c5169b222af/install.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
9786,
67,
2354,
13332,
468,
542,
1390,
358,
279,
666,
434,
326,
1390,
732,
2545,
358,
3799,
364,
1544,
316,
1140,
18,
1098,
1214,
12,
803,
4672,
2417,
67,
768,
273,
1140,
18,
803,
18,
5701,
12,
803,
16,
3459,
13,
1279,
67,
768,
273,
1140,
18,
803,
18,
5701,
12,
3239,
16,
3459,
13,
309,
1140,
18,
803,
18,
291,
768,
12,
5113,
67,
768,
13,
471,
1544,
486,
316,
4433,
67,
2354,
30,
1172,
315,
3882,
310,
585,
738,
87,
364,
13193,
6,
738,
1279,
67,
768,
1390,
67,
869,
67,
5425,
18,
6923,
12,
2878,
67,
768,
13,
1327,
1140,
18,
803,
18,
291,
1214,
12,
5113,
67,
768,
13,
471,
1544,
486,
316,
4433,
67,
8291,
30,
1172,
315,
3882,
310,
1867,
738,
87,
364,
13193,
6,
738,
1279,
67,
768,
7717,
67,
869,
67,
5425,
18,
6923,
12,
2878,
67,
768,
13,
9786,
67,
2354,
12,
5113,
67,
768,
16,
1279,
67,
768,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
9786,
67,
2354,
13332,
468,
542,
1390,
358,
279,
666,
434,
326,
1390,
732,
2545,
358,
3799,
364,
1544,
316,
1140,
18,
1098,
1214,
12,
803,
4672,
2417,
67,
768,
273,
1140,
18,
803,
18,
5701,
12,
803,
16,
3459,
13,
1279,
67,
768,
273,
1140,
18,
803,
18,
5701,
12,
3239,
16,
3459,
13,
309,
1140,
18,
803,
18,
291,
768,
12,
5113,
67,
768,
13,
471,
1544,
486,
316,
4433,
67,
2354,
30,
1172,
315,
3882,
310,
585,
738,
87,
364,
13193,
6,
738,
1279,
67,
768,
1390,
67,
869,
67,
5425,
18,
6923,
12,
2878,
67,
768,
13,
1327,
1140,
18,
803,
18,
291,
1214,
12,
5113,
67,
768,
13,
471,
1544,
486,
316,
4433,
2
] |
setattr(obj, self.priv_variable2)
|
setattr(obj, self.priv_variable2, value)
|
def f(obj, value): setattr(obj, self.priv_variable2)
|
29846db121b3201c6733cfcffedb5129c466b792 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6985/29846db121b3201c6733cfcffedb5129c466b792/_records.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
284,
12,
2603,
16,
460,
4672,
9241,
12,
2603,
16,
365,
18,
11365,
67,
6105,
22,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
284,
12,
2603,
16,
460,
4672,
9241,
12,
2603,
16,
365,
18,
11365,
67,
6105,
22,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
def init_job_types(config_parser, job_types = ("string", "meas_likelihoodjob", "calc_likelihood")):
|
runsqlitejob = None def init_job_types(config_parser, job_types = ("string", "meas_likelihoodjob", "calc_likelihood", "runsqlite")):
|
def compute_segment_lists(seglists, offset_vectors, min_segment_length, pad): # don't modify original seglists = seglists.copy() # ignore offset vectors referencing instruments we don't have offset_vectors = [offset_vector for offset_vector in offset_vectors if set(offset_vector.keys()).issubset(set(seglists.keys()))] # cull too-short single-instrument segments from the input # segmentlist dictionary; this can significantly increase # the speed of the llwapp.get_coincident_segmentlistdict() # function when the input segmentlists have had many data # quality holes poked out of them remove_too_short_segments(seglists, min_segment_length, pad) # extract the segments that are coincident under the time # slides new = llwapp.get_coincident_segmentlistdict(seglists, offset_vectors) # round to integer boundaries because lalapps_StringSearch can't accept # non-integer start/stop times # FIXME: fix that in lalapps_StringSearch for seglist in new.values(): for i in range(len(seglist)): seglist[i] = segments.segment(int(math.floor(seglist[i][0])), int(math.ceil(seglist[i][1]))) # intersect with original segments to ensure we haven't expanded beyond # original bounds new &= seglists # again remove too-short segments remove_too_short_segments(new, min_segment_length, pad) # done return new
|
e50861f46d5439c1c9fb86984403b1d72f14577f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5758/e50861f46d5439c1c9fb86984403b1d72f14577f/cosmicstring.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3671,
67,
9273,
67,
9772,
12,
5680,
9772,
16,
1384,
67,
18535,
16,
1131,
67,
9273,
67,
2469,
16,
4627,
4672,
468,
2727,
1404,
5612,
2282,
2291,
9772,
273,
2291,
9772,
18,
3530,
1435,
225,
468,
2305,
1384,
10046,
24509,
29555,
732,
2727,
1404,
1240,
1384,
67,
18535,
273,
306,
3348,
67,
7737,
364,
1384,
67,
7737,
316,
1384,
67,
18535,
309,
444,
12,
3348,
67,
7737,
18,
2452,
1435,
2934,
1054,
373,
542,
12,
542,
12,
5680,
9772,
18,
2452,
1435,
3719,
65,
225,
468,
276,
420,
4885,
17,
6620,
2202,
17,
22818,
5155,
628,
326,
810,
468,
3267,
1098,
3880,
31,
225,
333,
848,
14177,
715,
10929,
468,
326,
8632,
434,
326,
6579,
91,
2910,
18,
588,
67,
12645,
71,
6392,
67,
9273,
1098,
1576,
1435,
468,
445,
1347,
326,
810,
3267,
9772,
1240,
9323,
4906,
501,
468,
9312,
26299,
293,
14276,
596,
434,
2182,
1206,
67,
16431,
67,
6620,
67,
12838,
12,
5680,
9772,
16,
1131,
67,
9273,
67,
2469,
16,
4627,
13,
225,
468,
2608,
326,
5155,
716,
854,
13170,
71,
6392,
3613,
326,
813,
468,
30119,
394,
273,
6579,
91,
2910,
18,
588,
67,
12645,
71,
6392,
67,
9273,
1098,
1576,
12,
5680,
9772,
16,
1384,
67,
18535,
13,
225,
468,
3643,
358,
3571,
15054,
2724,
328,
287,
11411,
67,
780,
2979,
848,
1404,
2791,
468,
1661,
17,
7745,
787,
19,
5681,
4124,
468,
9852,
30,
225,
2917,
716,
316,
328,
287,
11411,
67,
780,
2979,
364,
2291,
1098,
316,
394,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3671,
67,
9273,
67,
9772,
12,
5680,
9772,
16,
1384,
67,
18535,
16,
1131,
67,
9273,
67,
2469,
16,
4627,
4672,
468,
2727,
1404,
5612,
2282,
2291,
9772,
273,
2291,
9772,
18,
3530,
1435,
225,
468,
2305,
1384,
10046,
24509,
29555,
732,
2727,
1404,
1240,
1384,
67,
18535,
273,
306,
3348,
67,
7737,
364,
1384,
67,
7737,
316,
1384,
67,
18535,
309,
444,
12,
3348,
67,
7737,
18,
2452,
1435,
2934,
1054,
373,
542,
12,
542,
12,
5680,
9772,
18,
2452,
1435,
3719,
65,
225,
468,
276,
420,
4885,
17,
6620,
2202,
17,
22818,
5155,
628,
326,
810,
468,
3267,
1098,
3880,
31,
225,
333,
848,
14177,
715,
10929,
468,
326,
8632,
434,
326,
6579,
91,
2910,
18,
2
] |
def get_real_price(res_dict, product_id, pricelist):
|
def get_real_price(res_dict, product_id, qty, uom, pricelist):
|
def get_real_price(res_dict, product_id, pricelist): item_obj = self.pool.get('product.pricelist.item') price_type_obj = self.pool.get('product.price.type') product_obj = self.pool.get('product.product') template_obj = self.pool.get('product.template') field_name = 'list_price'
|
95124a4a3f5b4124e6d6fd7b365643e639e0c5f7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/95124a4a3f5b4124e6d6fd7b365643e639e0c5f7/product_visible_discount.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
7688,
67,
8694,
12,
455,
67,
1576,
16,
3017,
67,
350,
16,
26667,
16,
582,
362,
16,
846,
335,
5449,
4672,
761,
67,
2603,
273,
365,
18,
6011,
18,
588,
2668,
5896,
18,
683,
335,
5449,
18,
1726,
6134,
6205,
67,
723,
67,
2603,
273,
365,
18,
6011,
18,
588,
2668,
5896,
18,
8694,
18,
723,
6134,
3017,
67,
2603,
273,
365,
18,
6011,
18,
588,
2668,
5896,
18,
5896,
6134,
1542,
67,
2603,
273,
365,
18,
6011,
18,
588,
2668,
5896,
18,
3202,
6134,
652,
67,
529,
273,
296,
1098,
67,
8694,
11,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
7688,
67,
8694,
12,
455,
67,
1576,
16,
3017,
67,
350,
16,
26667,
16,
582,
362,
16,
846,
335,
5449,
4672,
761,
67,
2603,
273,
365,
18,
6011,
18,
588,
2668,
5896,
18,
683,
335,
5449,
18,
1726,
6134,
6205,
67,
723,
67,
2603,
273,
365,
18,
6011,
18,
588,
2668,
5896,
18,
8694,
18,
723,
6134,
3017,
67,
2603,
273,
365,
18,
6011,
18,
588,
2668,
5896,
18,
5896,
6134,
1542,
67,
2603,
273,
365,
18,
6011,
18,
588,
2668,
5896,
18,
3202,
6134,
652,
67,
529,
273,
296,
1098,
67,
8694,
11,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
class arch_armv7l(generic_arm): "Builder class for armv7l target"
|
class arch_armv7r(generic_arm): "Builder class for armv7r target"
|
def __init__(self,myspec): generic_arm.__init__(self,myspec) self.settings["CHOST"]="armv6zkl-softloat-linux-gnueabi" self.settings["CFLAGS"]="-Os -march=armv6zk -pipe"
|
53fab4b752e759327ccdfc975b482828b7745033 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7327/53fab4b752e759327ccdfc975b482828b7745033/arm.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
81,
1900,
705,
4672,
5210,
67,
4610,
16186,
2738,
972,
12,
2890,
16,
81,
1900,
705,
13,
365,
18,
4272,
9614,
1792,
4005,
11929,
1546,
4610,
90,
26,
94,
16391,
17,
9269,
1159,
17,
20132,
17,
1600,
344,
21457,
6,
365,
18,
4272,
9614,
8955,
6552,
55,
11929,
1546,
17,
15112,
300,
81,
991,
33,
4610,
90,
26,
22888,
300,
14772,
6,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2738,
972,
12,
2890,
16,
81,
1900,
705,
4672,
5210,
67,
4610,
16186,
2738,
972,
12,
2890,
16,
81,
1900,
705,
13,
365,
18,
4272,
9614,
1792,
4005,
11929,
1546,
4610,
90,
26,
94,
16391,
17,
9269,
1159,
17,
20132,
17,
1600,
344,
21457,
6,
365,
18,
4272,
9614,
8955,
6552,
55,
11929,
1546,
17,
15112,
300,
81,
991,
33,
4610,
90,
26,
22888,
300,
14772,
6,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
}, lang=self.getMemberLanguage(member), mlist=self) msg = Message.UserNotification(member, requestaddr, subject, text)
|
}, lang=lang, mlist=self) msg = Message.UserNotification(member, reqaddr, subject, text, lang)
|
def sendNextNotification(self, member): info = self.getBounceInfo(member) if info is None: return if info.noticesleft <= 0: # BAW: Remove them now, with a notification message self.ApprovedDeleteMember(member, 'bouncing address', admin_notif=1, userack=1) # Expunge the pending cookie for the user. We throw away the # returned data. Pending.confirm(info.cookie) syslog('bounce', '%s: %s deleted after exhausting notices', self.internal_name(), member) return # Send the next notification confirmurl = '%s/%s' % (self.GetScriptURL('confirm', absolute=1), info.cookie) optionsurl = self.GetOptionsURL(member, absolute=1) subject = 'confirm ' + info.cookie requestaddr = self.GetRequestEmail() text = Utils.maketext( 'disabled.txt', {'listname' : self.real_name, 'noticesleft': info.noticesleft, 'confirmurl' : confirmurl, 'optionsurl' : optionsurl, 'password' : self.getMemberPassword(member), 'owneraddr' : self.GetOwnerEmail(), }, lang=self.getMemberLanguage(member), mlist=self) msg = Message.UserNotification(member, requestaddr, subject, text) msg.send(self) info.noticesleft -= 1 info.lastnotice = time.localtime()[:3]
|
d87205740a12b181c91a8880106f117cf809ad66 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2120/d87205740a12b181c91a8880106f117cf809ad66/Bouncer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1366,
2134,
4386,
12,
2890,
16,
3140,
4672,
1123,
273,
365,
18,
588,
38,
8386,
966,
12,
5990,
13,
309,
1123,
353,
599,
30,
327,
309,
1123,
18,
902,
1242,
4482,
1648,
374,
30,
468,
605,
12999,
30,
3581,
2182,
2037,
16,
598,
279,
3851,
883,
365,
18,
31639,
2613,
4419,
12,
5990,
16,
296,
70,
465,
2822,
1758,
2187,
3981,
67,
902,
430,
33,
21,
16,
729,
484,
33,
21,
13,
468,
7784,
25561,
326,
4634,
3878,
364,
326,
729,
18,
225,
1660,
604,
10804,
326,
468,
2106,
501,
18,
16034,
18,
10927,
12,
1376,
18,
8417,
13,
16718,
2668,
70,
8386,
2187,
1995,
87,
30,
738,
87,
4282,
1839,
19575,
641,
310,
486,
1242,
2187,
365,
18,
7236,
67,
529,
9334,
3140,
13,
327,
468,
2479,
326,
1024,
3851,
6932,
718,
273,
1995,
87,
5258,
87,
11,
738,
261,
2890,
18,
967,
3651,
1785,
2668,
10927,
2187,
4967,
33,
21,
3631,
1123,
18,
8417,
13,
702,
718,
273,
365,
18,
967,
1320,
1785,
12,
5990,
16,
4967,
33,
21,
13,
3221,
273,
296,
10927,
296,
397,
1123,
18,
8417,
590,
4793,
273,
365,
18,
967,
691,
4134,
1435,
977,
273,
6091,
18,
81,
581,
27830,
12,
296,
9278,
18,
5830,
2187,
13666,
1098,
529,
11,
282,
294,
365,
18,
7688,
67,
529,
16,
296,
902,
1242,
4482,
4278,
1123,
18,
902,
1242,
4482,
16,
296,
10927,
718,
11,
294,
6932,
718,
16,
296,
2116,
718,
11,
294,
702,
718,
16,
296,
3664,
11,
282,
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,
1366,
2134,
4386,
12,
2890,
16,
3140,
4672,
1123,
273,
365,
18,
588,
38,
8386,
966,
12,
5990,
13,
309,
1123,
353,
599,
30,
327,
309,
1123,
18,
902,
1242,
4482,
1648,
374,
30,
468,
605,
12999,
30,
3581,
2182,
2037,
16,
598,
279,
3851,
883,
365,
18,
31639,
2613,
4419,
12,
5990,
16,
296,
70,
465,
2822,
1758,
2187,
3981,
67,
902,
430,
33,
21,
16,
729,
484,
33,
21,
13,
468,
7784,
25561,
326,
4634,
3878,
364,
326,
729,
18,
225,
1660,
604,
10804,
326,
468,
2106,
501,
18,
16034,
18,
10927,
12,
1376,
18,
8417,
13,
16718,
2668,
70,
8386,
2187,
1995,
87,
30,
738,
87,
4282,
1839,
19575,
641,
310,
486,
1242,
2187,
365,
2
] |
ac.currentFilename = file[indexer.INDEX_FILE_NAME] ac.currentFileLocation = file[indexer.INDEX_FILE_LOCATION]
|
ac.currentFilename = referenceFile[indexer.INDEX_FILE_NAME] ac.currentFileLocation = referenceFile[indexer.INDEX_FILE_LOCATION]
|
def handleStartMoveDirectory(wfile, request, session): productionId=int(request["production_id"]) production=indexer.getProduction(productionId) sourceDirectory= str(request["source_directory"]) targetDirectory= str(request["target_directory"]) targetAbsoluteDirectory = os.path.join(production[indexer.INDEX_PRODUCTION_LOCATION], targetDirectory) #perform checks if (sourceDirectory==targetDirectory): wfile.write("""[{"message":"Target directory is same as source."}]""".encode()) return; if (os.path.exists(targetAbsoluteDirectory)): wfile.write("""[{"message":"Target directory already exists."}]""".encode()) return; files = indexer.getProductionFiles(productionId); filesInside = [] tasks=[] for file in files: if file[indexer.INDEX_FILE_LOCATION].startswith(sourceDirectory): filesInside.append(file) referencesOutside = {} for file in filesInside: referencesFromOutside = indexer.getFileUsedBy(file[indexer.INDEX_FILE_ID]) for reference in referencesFromOutside: referenceFile = indexer.getFile(reference[indexer.INDEX_REFERENCE_FILE_ID]) if not referenceFile[indexer.INDEX_FILE_LOCATION].startswith(sourceDirectory): if referenceFile not in referencesOutside.keys(): referencesOutside[referenceFile]=[] if file not in referencesOutside[referenceFile]: referencesOutside[referenceFile].append(file) for referenceFile in referencesOutside.keys(): for file in referencesOutside[referenceFile]: ac = ChangeReference() ac.fileId = referenceFile[indexer.INDEX_FILE_ID] ac.fileDetails = referenceFile ac.referenceFileId = file[indexer.INDEX_FILE_ID] ac.newLocation = os.path.dirname(file[indexer.INDEX_FILE_LOCATION].replace(sourceDirectory, targetDirectory, 1)) ac.currentFilename = file[indexer.INDEX_FILE_NAME] ac.currentFileLocation = file[indexer.INDEX_FILE_LOCATION] ac.productionDetails=production tasks.append(ac) referencesInside = {} for file in filesInside: referencesFromInside = indexer.getFileReferences(file[indexer.INDEX_FILE_ID]) for reference in referencesFromInside: referenceFile = indexer.getFile(reference[indexer.INDEX_REFERENCE_FILE_ID]) if not referenceFile[indexer.INDEX_FILE_LOCATION].startswith(sourceDirectory): if referenceFile not in referencesInside.keys(): referencesInside[referenceFile]=[] if file not in referencesInside[referenceFile]: referencesInside[referenceFile].append(file) for referenceFile in referencesInside.keys(): for file in referencesInside[referenceFile]: ac = ChangeReference() ac.fileId = referenceFile[indexer.INDEX_FILE_ID] ac.fileDetails = referenceFile ac.referenceFileId = file[indexer.INDEX_FILE_ID] ac.newLocation = os.path.dirname(file[indexer.INDEX_FILE_LOCATION].replace(sourceDirectory, targetDirectory, 1)) ac.currentFilename = file[indexer.INDEX_FILE_NAME] ac.currentFileLocation = file[indexer.INDEX_FILE_LOCATION] ac.productionDetails=production tasks.append(ac) moveDir = moveDirectory() moveDir.productionDetails=production moveDir.sourceDirectory = sourceDirectory moveDir.targetDirectory = targetDirectory tasks.append(moveDir) session["tasks"]=tasks if wfile != None: wfile.write("""[]""".encode())
|
0d45ee831a13f6613079d388ddc735757f234188 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4259/0d45ee831a13f6613079d388ddc735757f234188/servicerefactor.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1640,
1685,
7607,
2853,
12,
91,
768,
16,
590,
16,
1339,
4672,
12449,
548,
33,
474,
12,
2293,
9614,
17273,
67,
350,
6,
5717,
12449,
33,
24541,
18,
588,
31590,
12,
17273,
548,
13,
1084,
2853,
33,
609,
12,
2293,
9614,
3168,
67,
5149,
6,
5717,
1018,
2853,
33,
609,
12,
2293,
9614,
3299,
67,
5149,
6,
5717,
1018,
10368,
2853,
273,
1140,
18,
803,
18,
5701,
12,
17273,
63,
24541,
18,
9199,
67,
8025,
1212,
27035,
67,
15277,
6487,
1018,
2853,
13,
468,
16092,
4271,
309,
261,
3168,
2853,
631,
3299,
2853,
4672,
341,
768,
18,
2626,
2932,
3660,
63,
16711,
2150,
15563,
2326,
1867,
353,
1967,
487,
1084,
1199,
11839,
8395,
18,
3015,
10756,
327,
31,
309,
261,
538,
18,
803,
18,
1808,
12,
3299,
10368,
2853,
3719,
30,
341,
768,
18,
2626,
2932,
3660,
63,
16711,
2150,
15563,
2326,
1867,
1818,
1704,
1199,
11839,
8395,
18,
3015,
10756,
327,
31,
1390,
273,
12635,
18,
588,
31590,
2697,
12,
17273,
548,
1769,
1390,
18619,
273,
5378,
4592,
33,
8526,
364,
585,
316,
1390,
30,
309,
585,
63,
24541,
18,
9199,
67,
3776,
67,
15277,
8009,
17514,
1918,
12,
3168,
2853,
4672,
1390,
18619,
18,
6923,
12,
768,
13,
225,
5351,
28018,
273,
2618,
364,
585,
316,
1390,
18619,
30,
5351,
1265,
28018,
273,
12635,
18,
29925,
6668,
858,
12,
768,
63,
24541,
18,
9199,
67,
3776,
67,
734,
5717,
364,
2114,
316,
5351,
1265,
28018,
30,
2114,
812,
273,
12635,
18,
29925,
12,
6180,
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,
1640,
1685,
7607,
2853,
12,
91,
768,
16,
590,
16,
1339,
4672,
12449,
548,
33,
474,
12,
2293,
9614,
17273,
67,
350,
6,
5717,
12449,
33,
24541,
18,
588,
31590,
12,
17273,
548,
13,
1084,
2853,
33,
609,
12,
2293,
9614,
3168,
67,
5149,
6,
5717,
1018,
2853,
33,
609,
12,
2293,
9614,
3299,
67,
5149,
6,
5717,
1018,
10368,
2853,
273,
1140,
18,
803,
18,
5701,
12,
17273,
63,
24541,
18,
9199,
67,
8025,
1212,
27035,
67,
15277,
6487,
1018,
2853,
13,
468,
16092,
4271,
309,
261,
3168,
2853,
631,
3299,
2853,
4672,
341,
768,
18,
2626,
2932,
3660,
63,
16711,
2150,
15563,
2326,
1867,
353,
1967,
487,
1084,
1199,
11839,
8395,
18,
3015,
10756,
327,
31,
2
] |
'name': '%s:%s' %(procurement.product_id.name or procurement.origin, procurement.name or ''),
|
'name': '%s:%s' % name_task,
|
def action_produce_assign_service(self, cr, uid, ids, context={}): for procurement in self.browse(cr, uid, ids): sline = self.pool.get('sale.order.line') sale_ids = sline.search(cr, uid, [('procurement_id','=',procurement.id)], context) content = '' l = None project_id = None for line in sline.browse(cr, uid, sale_ids, context=context): content += (line.notes or '') l = line if line.order_id.project_id: content+="\n\n"+line.order_id.project_id.complete_name # Creating a project for task.Project is created from Procurement. proj_name = tools.ustr(procurement.name) proj_exist_id = self.pool.get('project.project').search(cr, uid, [('name','=',proj_name)], context=context) if not proj_exist_id: project_id = self.pool.get('project.project').create(cr, uid, {'name':proj_name}) else: project_id = proj_exist_id[0] self.write(cr, uid, [procurement.id], {'state':'running'}) task_id = self.pool.get('project.task').create(cr, uid, { 'name': '%s:%s' %(procurement.product_id.name or procurement.origin, procurement.name or ''), 'date_deadline': procurement.date_planned, 'planned_hours': procurement.product_qty, 'remaining_hours': procurement.product_qty, 'user_id': procurement.product_id.product_manager.id, 'notes': "b"+(l and l.order_id.note or ''), 'procurement_id': procurement.id, 'description': content, 'date_deadline': procurement.date_planned, 'state': 'draft', 'partner_id': l and l.order_id.partner_id.id or False, 'company_id': procurement.company_id.id, 'project_id': project_id, },context=context) return task_id
|
dad9653395c1de6c799860d6e9be71f5bb231f3c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/dad9653395c1de6c799860d6e9be71f5bb231f3c/mrp.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1301,
67,
11776,
311,
67,
6145,
67,
3278,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
819,
12938,
4672,
364,
5418,
594,
475,
316,
365,
18,
25731,
12,
3353,
16,
4555,
16,
3258,
4672,
272,
1369,
273,
365,
18,
6011,
18,
588,
2668,
87,
5349,
18,
1019,
18,
1369,
6134,
272,
5349,
67,
2232,
273,
272,
1369,
18,
3072,
12,
3353,
16,
4555,
16,
306,
2668,
9381,
594,
475,
67,
350,
17023,
33,
2187,
9381,
594,
475,
18,
350,
13,
6487,
819,
13,
913,
273,
875,
328,
273,
599,
1984,
67,
350,
273,
599,
364,
980,
316,
272,
1369,
18,
25731,
12,
3353,
16,
4555,
16,
272,
5349,
67,
2232,
16,
819,
33,
2472,
4672,
913,
1011,
261,
1369,
18,
12903,
578,
28707,
328,
273,
980,
309,
980,
18,
1019,
67,
350,
18,
4406,
67,
350,
30,
913,
15,
1546,
64,
82,
64,
82,
6,
15,
1369,
18,
1019,
67,
350,
18,
4406,
67,
350,
18,
6226,
67,
529,
225,
468,
21837,
279,
1984,
364,
1562,
18,
4109,
353,
2522,
628,
18470,
594,
475,
18,
10296,
67,
529,
273,
8513,
18,
27008,
12,
9381,
594,
475,
18,
529,
13,
10296,
67,
7398,
67,
350,
273,
365,
18,
6011,
18,
588,
2668,
4406,
18,
4406,
16063,
3072,
12,
3353,
16,
4555,
16,
306,
2668,
529,
17023,
33,
2187,
17995,
67,
529,
13,
6487,
819,
33,
2472,
13,
309,
225,
486,
10296,
67,
7398,
67,
350,
30,
1984,
67,
350,
273,
365,
18,
6011,
18,
588,
2668,
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,
1301,
67,
11776,
311,
67,
6145,
67,
3278,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
819,
12938,
4672,
364,
5418,
594,
475,
316,
365,
18,
25731,
12,
3353,
16,
4555,
16,
3258,
4672,
272,
1369,
273,
365,
18,
6011,
18,
588,
2668,
87,
5349,
18,
1019,
18,
1369,
6134,
272,
5349,
67,
2232,
273,
272,
1369,
18,
3072,
12,
3353,
16,
4555,
16,
306,
2668,
9381,
594,
475,
67,
350,
17023,
33,
2187,
9381,
594,
475,
18,
350,
13,
6487,
819,
13,
913,
273,
875,
328,
273,
599,
1984,
67,
350,
273,
599,
364,
980,
316,
272,
1369,
18,
25731,
12,
3353,
16,
4555,
16,
272,
5349,
67,
2232,
16,
819,
33,
2472,
4672,
913,
1011,
2
] |
res[line.id] = res[line.id] - tax['amount']
|
res[line.id] = res[line.id] - round(tax['amount'], 2)
|
def _amount_line(self, cr, uid, ids, name, args, context={}): """ Return the subtotal excluding taxes with respect to price_type. """ res = {} tax_obj = self.pool.get('account.tax') res = super(account_invoice_line, self)._amount_line(cr, uid, ids, name, args, context) res2 = res.copy() for line in self.browse(cr, uid, ids): if line.invoice_id.price_type == 'tax_included': product_taxes = None if line.product_id: if line.invoice_id.type in ('out_invoice', 'out_refund'): product_taxes = line.product_id.taxes_id else: product_taxes = line.product_id.supplier_taxes_id if product_taxes: for tax in tax_obj.compute_inv(cr, uid, product_taxes, res[line.id]/line.quantity, line.quantity): res[line.id] = res[line.id] - tax['amount'] else: for tax in tax_obj.compute_inv(cr, uid,line.invoice_line_tax_id, res[line.id]/line.quantity, line.quantity): res[line.id] = res[line.id] - tax['amount'] if name == 'price_subtotal_incl' and line.invoice_id.price_type == 'tax_included': prod_taxe_ids = None line_taxe_ids = None if product_taxes: prod_taxe_ids = [ t.id for t in product_taxes ] prod_taxe_ids.sort() line_taxe_ids = [ t.id for t in line.invoice_line_tax_id ] line_taxe_ids.sort() if product_taxes and prod_taxe_ids == line_taxe_ids: res[line.id] = res2[line.id] elif not line.product_id: res[line.id] = res2[line.id] else: for tax in tax_obj.compute(cr, uid, line.invoice_line_tax_id, res[line.id]/line.quantity, line.quantity): res[line.id] = res[line.id] + tax['amount'] res[line.id]= round(res[line.id], 2) return res
|
56599c23364229b49096a17a97a8fb2ffffc1c21 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7397/56599c23364229b49096a17a97a8fb2ffffc1c21/invoice_tax_incl.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
8949,
67,
1369,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
508,
16,
833,
16,
819,
12938,
4672,
3536,
2000,
326,
720,
4963,
19560,
5320,
281,
598,
8762,
358,
6205,
67,
723,
18,
3536,
400,
273,
2618,
5320,
67,
2603,
273,
365,
18,
6011,
18,
588,
2668,
4631,
18,
8066,
6134,
400,
273,
2240,
12,
4631,
67,
16119,
67,
1369,
16,
365,
2934,
67,
8949,
67,
1369,
12,
3353,
16,
4555,
16,
3258,
16,
508,
16,
833,
16,
819,
13,
400,
22,
273,
400,
18,
3530,
1435,
364,
980,
316,
365,
18,
25731,
12,
3353,
16,
4555,
16,
3258,
4672,
309,
980,
18,
16119,
67,
350,
18,
8694,
67,
723,
422,
296,
8066,
67,
20405,
4278,
3017,
67,
8066,
281,
273,
599,
309,
980,
18,
5896,
67,
350,
30,
309,
980,
18,
16119,
67,
350,
18,
723,
316,
7707,
659,
67,
16119,
2187,
296,
659,
67,
1734,
1074,
11,
4672,
3017,
67,
8066,
281,
273,
980,
18,
5896,
67,
350,
18,
8066,
281,
67,
350,
469,
30,
3017,
67,
8066,
281,
273,
980,
18,
5896,
67,
350,
18,
2859,
5742,
67,
8066,
281,
67,
350,
309,
3017,
67,
8066,
281,
30,
364,
5320,
316,
5320,
67,
2603,
18,
9200,
67,
5768,
12,
3353,
16,
4555,
16,
3017,
67,
8066,
281,
16,
400,
63,
1369,
18,
350,
18537,
1369,
18,
16172,
16,
980,
18,
16172,
4672,
400,
63,
1369,
18,
350,
65,
273,
400,
63,
1369,
18,
350,
65,
300,
3643,
12,
8066,
3292,
8949,
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,
8949,
67,
1369,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
508,
16,
833,
16,
819,
12938,
4672,
3536,
2000,
326,
720,
4963,
19560,
5320,
281,
598,
8762,
358,
6205,
67,
723,
18,
3536,
400,
273,
2618,
5320,
67,
2603,
273,
365,
18,
6011,
18,
588,
2668,
4631,
18,
8066,
6134,
400,
273,
2240,
12,
4631,
67,
16119,
67,
1369,
16,
365,
2934,
67,
8949,
67,
1369,
12,
3353,
16,
4555,
16,
3258,
16,
508,
16,
833,
16,
819,
13,
400,
22,
273,
400,
18,
3530,
1435,
364,
980,
316,
365,
18,
25731,
12,
3353,
16,
4555,
16,
3258,
4672,
309,
980,
18,
16119,
67,
350,
18,
8694,
67,
723,
422,
296,
8066,
67,
20405,
4278,
2
] |
f = open_file('/tmp/man_extra', 'wb')
|
f = NamedTemporaryFile()
|
def install_man_pages(fatal_errors): from bz2 import compress import subprocess print 'Installing MAN pages...' manpath = '/usr/share/man/man1' f = open_file('/tmp/man_extra', 'wb') f.write('[see also]\nhttp://%s.kovidgoyal.net\n'%__appname__) f.close() manifest = [] os.environ['PATH'] += ':'+os.path.expanduser('~/bin') for src in entry_points['console_scripts']: prog = src[:src.index('=')].strip() if prog in ('prs500', 'pdf-meta', 'epub-meta', 'lit-meta', 'markdown-calibre', 'calibre-debug', 'fb2-meta', 'calibre-fontconfig', 'calibre-parallel', 'odt-meta', 'rb-meta', 'imp-meta'): continue help2man = ('help2man', prog, '--name', 'part of %s'%__appname__, '--section', '1', '--no-info', '--include', f.name, '--manual', __appname__) manfile = os.path.join(manpath, prog+'.1'+__appname__+'.bz2') print '\tInstalling MAN page for', prog try: p = subprocess.Popen(help2man, stdout=subprocess.PIPE) except OSError, err: import errno if err.errno != errno.ENOENT: raise print 'Failed to install MAN pages as help2man is missing from your system' break o = p.stdout.read() raw = re.compile(r'^\.IP\s*^([A-Z :]+)$', re.MULTILINE).sub(r'.SS\n\1', o) if not raw.strip(): print 'Unable to create MAN page for', prog continue f2 = open_file(manfile) manifest.append(f2.name) f2.write(compress(raw)) return manifest
|
4d3f3fbf8d6b610e35204dc399c3e77cfbf2966a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9125/4d3f3fbf8d6b610e35204dc399c3e77cfbf2966a/linux.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3799,
67,
4728,
67,
7267,
12,
30709,
67,
4324,
4672,
628,
24788,
22,
1930,
8099,
1930,
6652,
1172,
296,
6410,
310,
20972,
4689,
7821,
3161,
803,
273,
1173,
13640,
19,
14419,
19,
4728,
19,
4728,
21,
11,
284,
273,
27555,
1435,
284,
18,
2626,
2668,
63,
5946,
2546,
13944,
82,
2505,
23155,
87,
18,
28179,
1246,
3240,
93,
287,
18,
2758,
64,
82,
11,
9,
972,
2910,
529,
972,
13,
284,
18,
4412,
1435,
5643,
273,
5378,
1140,
18,
28684,
3292,
4211,
3546,
1011,
3921,
15,
538,
18,
803,
18,
12320,
1355,
2668,
98,
19,
4757,
6134,
364,
1705,
316,
1241,
67,
4139,
3292,
8698,
67,
12827,
3546,
30,
11243,
273,
1705,
10531,
4816,
18,
1615,
2668,
2218,
13,
8009,
6406,
1435,
309,
11243,
316,
7707,
683,
87,
12483,
2187,
296,
7699,
17,
3901,
2187,
296,
881,
373,
17,
3901,
2187,
296,
24235,
17,
3901,
2187,
296,
20090,
17,
771,
495,
266,
2187,
296,
771,
495,
266,
17,
4148,
2187,
296,
19192,
22,
17,
3901,
2187,
296,
771,
495,
266,
17,
5776,
1425,
2187,
296,
771,
495,
266,
17,
18054,
2187,
296,
369,
88,
17,
3901,
2187,
296,
6731,
17,
3901,
2187,
296,
14532,
17,
3901,
11,
4672,
1324,
225,
2809,
22,
4728,
273,
7707,
5201,
22,
4728,
2187,
11243,
16,
3534,
529,
2187,
296,
2680,
434,
738,
87,
11,
9,
972,
2910,
529,
972,
16,
3534,
3464,
2187,
296,
21,
2187,
3534,
2135,
17,
1376,
2187,
3534,
6702,
2187,
284,
18,
529,
16,
3534,
19840,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3799,
67,
4728,
67,
7267,
12,
30709,
67,
4324,
4672,
628,
24788,
22,
1930,
8099,
1930,
6652,
1172,
296,
6410,
310,
20972,
4689,
7821,
3161,
803,
273,
1173,
13640,
19,
14419,
19,
4728,
19,
4728,
21,
11,
284,
273,
27555,
1435,
284,
18,
2626,
2668,
63,
5946,
2546,
13944,
82,
2505,
23155,
87,
18,
28179,
1246,
3240,
93,
287,
18,
2758,
64,
82,
11,
9,
972,
2910,
529,
972,
13,
284,
18,
4412,
1435,
5643,
273,
5378,
1140,
18,
28684,
3292,
4211,
3546,
1011,
3921,
15,
538,
18,
803,
18,
12320,
1355,
2668,
98,
19,
4757,
6134,
364,
1705,
316,
1241,
67,
4139,
3292,
8698,
67,
12827,
3546,
30,
11243,
273,
1705,
10531,
4816,
18,
1615,
2668,
2218,
2
] |
return self.variColumn and [max(M[r:r+3]) for r in range(0,len(M),self.columnMaximum)] or max(M)
|
if not M: return 0 if self.variColumn: columnMaximum = self.columnMaximum return [max(M[r:r+columnMaximum]) for r in range(0,len(M),self.columnMaximum)] else: return max(M)
|
def _calculateMaxWidth(self, colorNamePairs): "Calculate the maximum width of some given strings." M = [] a = M.append for t in self._getTexts(colorNamePairs): m = [stringWidth(s, self.fontName, self.fontSize) for s in t.split('\n')] M.append(m and max(m) or 0) return self.variColumn and [max(M[r:r+3]) for r in range(0,len(M),self.columnMaximum)] or max(M)
|
098f3bd4d85cd2c22ad61362b35f33c2aa589535 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/098f3bd4d85cd2c22ad61362b35f33c2aa589535/legends.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
11162,
2747,
2384,
12,
2890,
16,
2036,
461,
10409,
4672,
315,
8695,
326,
4207,
1835,
434,
2690,
864,
2064,
1199,
490,
273,
5378,
279,
273,
490,
18,
6923,
364,
268,
316,
365,
6315,
588,
30114,
12,
3266,
461,
10409,
4672,
312,
273,
306,
1080,
2384,
12,
87,
16,
365,
18,
5776,
461,
16,
365,
18,
5776,
1225,
13,
364,
272,
316,
268,
18,
4939,
2668,
64,
82,
6134,
65,
490,
18,
6923,
12,
81,
471,
943,
12,
81,
13,
578,
374,
13,
327,
365,
18,
4093,
1494,
471,
306,
1896,
12,
49,
63,
86,
30,
86,
15,
23,
5717,
364,
436,
316,
1048,
12,
20,
16,
1897,
12,
49,
3631,
2890,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
11162,
2747,
2384,
12,
2890,
16,
2036,
461,
10409,
4672,
315,
8695,
326,
4207,
1835,
434,
2690,
864,
2064,
1199,
490,
273,
5378,
279,
273,
490,
18,
6923,
364,
268,
316,
365,
6315,
588,
30114,
12,
3266,
461,
10409,
4672,
312,
273,
306,
1080,
2384,
12,
87,
16,
365,
18,
5776,
461,
16,
365,
18,
5776,
1225,
13,
364,
272,
316,
268,
18,
4939,
2668,
64,
82,
6134,
65,
490,
18,
6923,
12,
81,
471,
943,
12,
81,
13,
578,
374,
13,
327,
365,
18,
4093,
1494,
471,
306,
1896,
12,
49,
63,
86,
30,
86,
15,
23,
5717,
364,
436,
316,
1048,
12,
20,
16,
1897,
12,
49,
3631,
2890,
18,
2827,
13528,
25887,
578,
943,
2
] |
def fl_scale_object(ob, xs, ys): """ fl_scale_object(ob, xs, ys) """ _fl_scale_object(ob, xs, ys)
|
def fl_scale_object(pObject, xs, ys): """ fl_scale_object(pObject, xs, ys) """ _fl_scale_object(pObject, xs, ys)
|
def fl_scale_object(ob, xs, ys): """ fl_scale_object(ob, xs, ys) """ _fl_scale_object(ob, xs, ys)
|
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,
5864,
67,
1612,
12,
84,
921,
16,
9280,
16,
16036,
4672,
3536,
1183,
67,
5864,
67,
1612,
12,
84,
921,
16,
9280,
16,
16036,
13,
3536,
225,
389,
2242,
67,
5864,
67,
1612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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1183,
67,
5864,
67,
1612,
12,
84,
921,
16,
9280,
16,
16036,
4672,
3536,
1183,
67,
5864,
67,
1612,
12,
84,
921,
16,
9280,
16,
16036,
13,
3536,
225,
389,
2242,
67,
5864,
67,
1612,
12,
84,
921,
16,
9280,
16,
16036,
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
] |
wikipedia.setAction(msg[wikipedia.chooselang(wikipedia.mylang, msg)]) for pl in generator(source, old, regex, textfilename, sqlfilename):
|
for pl in generator(source, replacements, exceptions, regex, textfilename, sqlfilename, pagename):
|
def generator(source, old, regex, textfilename = None, sqlfilename = None): if source == 'sqldump': for pl in read_pages_from_sql_dump(sqlfilename, old, regex): yield pl elif source == 'textfile': for pl in read_pages_from_text_file(textfilename, old, regex): yield pl
|
d3596dc42562932cbc3b84fdd463983c3a41dcb7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4404/d3596dc42562932cbc3b84fdd463983c3a41dcb7/replace.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4456,
12,
3168,
16,
1592,
16,
3936,
16,
977,
3459,
273,
599,
16,
1847,
3459,
273,
599,
4672,
309,
1084,
422,
296,
4669,
8481,
4278,
364,
886,
316,
855,
67,
7267,
67,
2080,
67,
4669,
67,
8481,
12,
4669,
3459,
16,
1592,
16,
3936,
4672,
2824,
886,
1327,
1084,
422,
296,
955,
768,
4278,
364,
886,
316,
855,
67,
7267,
67,
2080,
67,
955,
67,
768,
12,
955,
3459,
16,
1592,
16,
3936,
4672,
2824,
886,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4456,
12,
3168,
16,
1592,
16,
3936,
16,
977,
3459,
273,
599,
16,
1847,
3459,
273,
599,
4672,
309,
1084,
422,
296,
4669,
8481,
4278,
364,
886,
316,
855,
67,
7267,
67,
2080,
67,
4669,
67,
8481,
12,
4669,
3459,
16,
1592,
16,
3936,
4672,
2824,
886,
1327,
1084,
422,
296,
955,
768,
4278,
364,
886,
316,
855,
67,
7267,
67,
2080,
67,
955,
67,
768,
12,
955,
3459,
16,
1592,
16,
3936,
4672,
2824,
886,
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
] |
print >>sys.stderr, 'WARNING: %s has RecordComputedAction' % path
|
print >>sys.stderr, 'WARNING: {0} has RecordComputedAction at {1}'.\ format(path, line_number)
|
def GrepForActions(path, actions): """Grep a source file for calls to UserMetrics functions. Arguments: path: path to the file actions: set of actions to add to """ action_re = re.compile(r'[> ]UserMetrics:?:?RecordAction\(L"(.*)"') other_action_re = re.compile(r'[> ]UserMetrics:?:?RecordAction\(') computed_action_re = re.compile(r'UserMetrics::RecordComputedAction') for line in open(path): match = action_re.search(line) if match: # Plain call to RecordAction actions.add(match.group(1)) elif other_action_re.search(line): # Warn if this file shouldn't be mentioning RecordAction. if os.path.basename(path) != 'user_metrics.cc': print >>sys.stderr, 'WARNING: %s has funny RecordAction' % path elif computed_action_re.search(line): # Warn if this file shouldn't be calling RecordComputedAction. if os.path.basename(path) not in KNOWN_COMPUTED_USERS: print >>sys.stderr, 'WARNING: %s has RecordComputedAction' % path
|
89622004872be7f7ddaa24fa1694f76c7b9539b6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/89622004872be7f7ddaa24fa1694f76c7b9539b6/extract_actions.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
611,
14462,
1290,
6100,
12,
803,
16,
4209,
4672,
3536,
43,
14462,
279,
1084,
585,
364,
4097,
358,
2177,
5653,
4186,
18,
225,
13599,
30,
589,
30,
589,
358,
326,
585,
4209,
30,
444,
434,
4209,
358,
527,
358,
3536,
225,
1301,
67,
266,
273,
283,
18,
11100,
12,
86,
11,
63,
34,
308,
1299,
5653,
30,
35,
30,
35,
2115,
1803,
30351,
48,
6,
7444,
2225,
6134,
1308,
67,
1128,
67,
266,
273,
283,
18,
11100,
12,
86,
11,
63,
34,
308,
1299,
5653,
30,
35,
30,
35,
2115,
1803,
64,
2668,
13,
8470,
67,
1128,
67,
266,
273,
283,
18,
11100,
12,
86,
11,
1299,
5653,
2866,
2115,
17934,
1803,
6134,
364,
980,
316,
1696,
12,
803,
4672,
845,
273,
1301,
67,
266,
18,
3072,
12,
1369,
13,
309,
845,
30,
225,
468,
17367,
745,
358,
5059,
1803,
4209,
18,
1289,
12,
1916,
18,
1655,
12,
21,
3719,
1327,
1308,
67,
1128,
67,
266,
18,
3072,
12,
1369,
4672,
468,
6040,
309,
333,
585,
12044,
1404,
506,
15823,
310,
5059,
1803,
18,
309,
1140,
18,
803,
18,
13909,
12,
803,
13,
480,
296,
1355,
67,
9597,
18,
952,
4278,
1172,
1671,
9499,
18,
11241,
16,
296,
9511,
30,
738,
87,
711,
9831,
18538,
5059,
1803,
11,
738,
589,
1327,
8470,
67,
1128,
67,
266,
18,
3072,
12,
1369,
4672,
468,
6040,
309,
333,
585,
12044,
1404,
506,
4440,
5059,
17934,
1803,
18,
309,
1140,
18,
803,
18,
13909,
12,
803,
13,
486,
316,
1475,
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,
611,
14462,
1290,
6100,
12,
803,
16,
4209,
4672,
3536,
43,
14462,
279,
1084,
585,
364,
4097,
358,
2177,
5653,
4186,
18,
225,
13599,
30,
589,
30,
589,
358,
326,
585,
4209,
30,
444,
434,
4209,
358,
527,
358,
3536,
225,
1301,
67,
266,
273,
283,
18,
11100,
12,
86,
11,
63,
34,
308,
1299,
5653,
30,
35,
30,
35,
2115,
1803,
30351,
48,
6,
7444,
2225,
6134,
1308,
67,
1128,
67,
266,
273,
283,
18,
11100,
12,
86,
11,
63,
34,
308,
1299,
5653,
30,
35,
30,
35,
2115,
1803,
64,
2668,
13,
8470,
67,
1128,
67,
266,
273,
283,
18,
11100,
12,
86,
11,
1299,
5653,
2866,
2115,
17934,
1803,
6134,
364,
980,
316,
1696,
12,
2
] |
obj = REQUEST.resolve_url(url, REQUEST)
|
obj = self.resolve_url(url, REQUEST)
|
def manage_uncatalogObject(self, REQUEST, urls=None): """ removes Zope object 'urls' from catalog """
|
9b4f7bf919597f25b7a5ac3395eb72ac2415c82d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/9b4f7bf919597f25b7a5ac3395eb72ac2415c82d/ZCatalog.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10680,
67,
551,
4392,
921,
12,
2890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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10680,
67,
551,
4392,
921,
12,
2890,
16,
12492,
16,
6903,
33,
7036,
4672,
3536,
7157,
2285,
1306,
733,
296,
10518,
11,
628,
6222,
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
] |
self.num_includes = 0 self.max_includes = 20
|
self.included_documents = []
|
def __init__(self, request): self.request = request
|
f9853dbb165a9c2f6c5c82fc1d2c76362668e844 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5620/f9853dbb165a9c2f6c5c82fc1d2c76362668e844/rst.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
590,
4672,
365,
18,
2293,
273,
590,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4672,
365,
18,
2293,
273,
590,
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
] |
raise Exception("Internal Exception")
|
return alertError(_(u"This type of account does not support testing"), self)
|
def OnTestAccount(self, evt): account = self.getSelectedAccount()
|
546b110f847c3a5063d84de2ae5d5ca821cc6ab8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9228/546b110f847c3a5063d84de2ae5d5ca821cc6ab8/AccountPreferences.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2755,
4709,
3032,
12,
2890,
16,
6324,
4672,
2236,
273,
365,
18,
588,
7416,
3032,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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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
] |
terms = string.split(string.lower(re.sub(chars_alphanumericseparators, ' ', term)))
|
terms = string.split(string.lower(re.sub(methods[rank_method_code]["chars_alphanumericseparators"], ' ', term)))
|
def word_frequency(rank_method_code, lwords, hitset, rank_limit_relevance,verbose): """input: list of words, ['ellis', 'muon'] optional list of recIDs output: sorted list of recIDs by summary word frequencies, e.g. [[23,34], [344,24], [1,01]] if not possible (e.g. all stopwords), then return empty list""" global voutput startCreate = time.time() query_terms = {} lwords_old = lwords lwords = [] #Check terms, remove non alphanumeric characters. Use both unstemmed and stemmed version of all terms. for i in range(0, len(lwords_old)): term = string.lower(lwords_old[i]) use_term = 0 if not stopwords.has_key(term): lwords.append(term) terms = string.split(string.lower(re.sub(chars_alphanumericseparators, ' ', term))) for term in terms: if stemmer: # stem word term = stemmer.stem(string.replace(term, ' ', '')) if lwords_old[i] != term: #add if stemmed word is different than original word lwords.append(term) (recdict, rec_termcount, lrecIDs_remove) = ({}, {}, {}) #For each term, if accepted, get a list of the records using the term #calculate then relevance for each term before sorting the list of records for term in lwords: term_recs = run_sql("SELECT term, hitlist FROM %s WHERE term='%s'" % (rnkWORD_table, MySQLdb.escape_string(term))) if term_recs: term_recs = deserialize_via_marshal(term_recs[0][1]) if check_term({}, term, col_size, len(term_recs), 1.0, 0.00, 0): query_terms[term] = int(query_terms.get(term, 0) + term_recs["Gi"][1]) (recdict, rec_termcount, lrecIDs_remove) = calculate_record_relevance((term, query_terms[term]) , term_recs, hitset, recdict, rec_termcount, lrecIDs_remove, verbose) del term_recs if len(recdict) == 0 or (len(lwords) == 1 and lwords[0] == ""): return (None, "Records not ranked. The query is not detailed enough for ranking to be possible.", "", voutput) if verbose > 0: voutput += "<br>Current number of recIDs: %s<br>" % (col_size) voutput += "Number of terms: %s<br>" % run_sql("SELECT count(id) FROM %s" % rnkWORD_table)[0][0] voutput += "Terms: %s<br>" % query_terms voutput += "Prepare and pre calculate time: %s<br>" % (str(time.time() - startCreate)) recdict = post_calculate_record_relevance(recdict, rec_termcount, lrecIDs_remove, hitset, verbose) reclist = sort_record_relevance(recdict, rank_limit_relevance, 0, verbose) #Add any documents not ranked to the end of the list if hitset: hitset.calculate_nbhits() if hitset and len(reclist) < hitset._nbhits: #add records found but not in list lrecIDs = hitset.tolist() #using 2-3mb reclist = zip(lrecIDs, [0] * len(lrecIDs)) + reclist #using 6mb if verbose > 0: voutput += "Total time used: %s<br>" % (str(time.time() - startCreate)) rank_method_stat(reclist, query_terms) return (reclist, methods[rank_method_code]["prefix"], methods[rank_method_code]["postfix"], voutput)
|
2b7ec6adb61acaf4f4c7868f48416243cf69c71b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12027/2b7ec6adb61acaf4f4c7868f48416243cf69c71b/bibrank_record_sorter.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2076,
67,
14092,
12,
11500,
67,
2039,
67,
710,
16,
328,
3753,
16,
6800,
542,
16,
6171,
67,
3595,
67,
16599,
5882,
16,
11369,
4672,
3536,
2630,
30,
666,
434,
4511,
16,
10228,
1165,
291,
2187,
296,
13297,
265,
3546,
3129,
666,
434,
1950,
5103,
876,
30,
3115,
666,
434,
1950,
5103,
635,
4916,
2076,
18138,
16,
425,
18,
75,
18,
12167,
4366,
16,
5026,
6487,
306,
5026,
24,
16,
3247,
6487,
306,
21,
16,
1611,
13563,
309,
486,
3323,
261,
73,
18,
75,
18,
777,
2132,
3753,
3631,
1508,
327,
1008,
666,
8395,
225,
2552,
331,
2844,
787,
1684,
273,
813,
18,
957,
1435,
843,
67,
10112,
273,
2618,
328,
3753,
67,
1673,
273,
328,
3753,
328,
3753,
273,
5378,
225,
468,
1564,
6548,
16,
1206,
1661,
27374,
3949,
18,
2672,
3937,
640,
19781,
2937,
471,
13119,
2937,
1177,
434,
777,
6548,
18,
364,
277,
316,
1048,
12,
20,
16,
562,
12,
80,
3753,
67,
1673,
3719,
30,
2481,
273,
533,
18,
8167,
12,
80,
3753,
67,
1673,
63,
77,
5717,
999,
67,
6408,
273,
374,
309,
486,
2132,
3753,
18,
5332,
67,
856,
12,
6408,
4672,
328,
3753,
18,
6923,
12,
6408,
13,
6548,
273,
533,
18,
4939,
12,
1080,
18,
8167,
12,
266,
18,
1717,
12,
5163,
63,
11500,
67,
2039,
67,
710,
6362,
6,
7549,
67,
287,
21183,
11287,
87,
6,
6487,
296,
2265,
2481,
20349,
364,
2481,
316,
6548,
30,
309,
13119,
6592,
30,
468,
13119,
2076,
2481,
273,
13119,
6592,
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,
2076,
67,
14092,
12,
11500,
67,
2039,
67,
710,
16,
328,
3753,
16,
6800,
542,
16,
6171,
67,
3595,
67,
16599,
5882,
16,
11369,
4672,
3536,
2630,
30,
666,
434,
4511,
16,
10228,
1165,
291,
2187,
296,
13297,
265,
3546,
3129,
666,
434,
1950,
5103,
876,
30,
3115,
666,
434,
1950,
5103,
635,
4916,
2076,
18138,
16,
425,
18,
75,
18,
12167,
4366,
16,
5026,
6487,
306,
5026,
24,
16,
3247,
6487,
306,
21,
16,
1611,
13563,
309,
486,
3323,
261,
73,
18,
75,
18,
777,
2132,
3753,
3631,
1508,
327,
1008,
666,
8395,
225,
2552,
331,
2844,
787,
1684,
273,
813,
18,
957,
1435,
843,
67,
10112,
273,
2618,
328,
3753,
67,
1673,
273,
328,
3753,
328,
2
] |
alpha_available = [point[4] for point in grid if point[1] in FeH_neighbours and point[0] in Teff_neighbours and point[1] in logg_neighbours and point[3] in k_neighbours]
|
def getNearestNeighbours(model, Teff, logg, FeH, k=2.0, alpha=0.0, level=1): """ Finds the nearest neighbours to a point in a multi-dimensional grid. Parameters: =========== FeH : float The metallicity ([Fe/H]) of the star you plan to interpolate for. Teff : float The effective temperature (Teff in Kelvin) of the star you plan to interpolate for. logg : float The surface gravity (log g) of the star you plan to interpolate for. k : float, optional The turbulence in the atmosphere of the star (km/s). level : integer, optional The maximum number of levels on either side of the point you wish to return in each dimension. """ if (1 > level): raise ValueError, 'level must be a positive integer' if (Teff < 0): raise ValueError, 'Teff must be a positive float' if (logg < 0): raise ValueError, 'logg must be a positive float' if (k < 0): raise ValueError, 'k must be a positive float' connection = modeldb.getModelDBConnection() result = connection.execute('select feh, teff, logg, k, alpha from %s' % model) # todo - consider rewriting following section into a loop? FeH_grid, Teff_grid, logg_grid, k_grid, alpha_grid = zip(*result.fetchall()) connection.close() grid = zip(Teff_grid, logg_grid, FeH_grid, k_grid, alpha_grid) # Find the nearest N levels of indexedFeHs FeH_neighbours = get1Dneighbours(FeH_grid, FeH, level=level) # Find the Teff available for our FeH possibilites Teff_available = [point[0] for point in grid if point[2] in FeH_neighbours] Teff_neighbours = get1Dneighbours(Teff_available, Teff, level=level) # Find the logg available for our FeH and Teff possibilities logg_available = [point[1] for point in grid if point[2] in FeH_neighbours and point[0] in Teff_neighbours] logg_neighbours = get1Dneighbours(logg_available, logg, level=level) # Find the k available for our FeH, Teff, and logg restricted k_available = [point[3] for point in grid if point[2] in FeH_neighbours and point[0] in Teff_neighbours and point[1] in logg_neighbours] k_neighbours = get1Dneighbours(k_available, k, level=level) # Find the alpha available for our FeH, Teff, logg, and k restricted alpha_available = [point[4] for point in grid if point[1] in FeH_neighbours and point[0] in Teff_neighbours and point[1] in logg_neighbours and point[3] in k_neighbours] alpha_neighbours = get1Dneighbours(alpha_available, alpha, level=level) # Build the dimensions we want back from the SQL table gridLimits = [] dimensions = ['id'] availableDimenstions = { 'feh' : FeH_neighbours, 'teff' : Teff_neighbours, 'logg' : logg_neighbours, 'k' : k_neighbours, 'alpha' : alpha_neighbours, } for dimension, neighbours in availableDimensions.iteritems(): # If only one 'neighbour' is present, then this dimension does not need to be interpolated upon if (len(neighbours) > 1): dimensions.append(dimension) # Add these limits for the sql query gridLimits.append(min(neighbours)) gridLimits.append(max(neighbours)) # String it all together whereSql = ' from %s where ' % modelName + ' between ? and ? '.join(dimensions) + ' between ? and ?' #dimensions = ', '.join(dimensions) # Execute and return the SQL return (dimensions, whereSql, gridLimits) #result = connection.execute('select %s from %s where %s' % (dimensions, model, whereSql), gridLimits) #return result.fetchall()
|
e1f4ffdd45680f33feef2b078115e7fc26ccf7a2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7433/e1f4ffdd45680f33feef2b078115e7fc26ccf7a2/interpolate.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
28031,
13577,
4390,
12,
2284,
16,
399,
17098,
16,
31443,
16,
5782,
44,
16,
417,
33,
22,
18,
20,
16,
4190,
33,
20,
18,
20,
16,
1801,
33,
21,
4672,
225,
3536,
225,
4163,
87,
326,
11431,
27662,
358,
279,
1634,
316,
279,
3309,
17,
31236,
3068,
18,
282,
7012,
30,
422,
1432,
33,
225,
5782,
44,
377,
294,
1431,
1021,
5100,
454,
335,
560,
23265,
2954,
19,
44,
5717,
434,
326,
10443,
1846,
4995,
358,
13156,
364,
18,
225,
399,
17098,
565,
294,
1431,
1021,
11448,
12843,
261,
56,
17098,
316,
1475,
292,
21529,
13,
434,
326,
10443,
1846,
4995,
358,
13156,
364,
18,
225,
31443,
565,
294,
1431,
1021,
9034,
26189,
261,
1330,
314,
13,
434,
326,
10443,
1846,
4995,
358,
13156,
364,
18,
225,
417,
4202,
294,
1431,
16,
3129,
1021,
268,
15850,
332,
802,
316,
326,
622,
26719,
9346,
434,
326,
10443,
261,
18353,
19,
87,
2934,
225,
1801,
282,
294,
3571,
16,
3129,
1021,
4207,
1300,
434,
7575,
603,
3344,
4889,
434,
326,
1634,
1846,
14302,
358,
327,
316,
1517,
4968,
18,
3536,
282,
309,
261,
21,
405,
1801,
4672,
1002,
2068,
16,
296,
2815,
1297,
506,
279,
6895,
3571,
11,
309,
261,
56,
17098,
411,
374,
4672,
1002,
2068,
16,
296,
56,
17098,
1297,
506,
279,
6895,
1431,
11,
309,
261,
1330,
75,
411,
374,
4672,
1002,
2068,
16,
296,
1330,
75,
1297,
506,
279,
6895,
1431,
11,
309,
261,
79,
411,
374,
4672,
1002,
2068,
16,
296,
79,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
28031,
13577,
4390,
12,
2284,
16,
399,
17098,
16,
31443,
16,
5782,
44,
16,
417,
33,
22,
18,
20,
16,
4190,
33,
20,
18,
20,
16,
1801,
33,
21,
4672,
225,
3536,
225,
4163,
87,
326,
11431,
27662,
358,
279,
1634,
316,
279,
3309,
17,
31236,
3068,
18,
282,
7012,
30,
422,
1432,
33,
225,
5782,
44,
377,
294,
1431,
1021,
5100,
454,
335,
560,
23265,
2954,
19,
44,
5717,
434,
326,
10443,
1846,
4995,
358,
13156,
364,
18,
225,
399,
17098,
565,
294,
1431,
1021,
11448,
12843,
261,
56,
17098,
316,
1475,
292,
21529,
13,
434,
326,
10443,
1846,
4995,
358,
13156,
364,
18,
225,
31443,
565,
294,
1431,
1021,
9034,
26189,
261,
1330,
314,
13,
2
] |
|
animDictItems.append((partName, animDict))
|
animDictItems.append((pName, animDict))
|
def getAnimControls(self, animName=None, partName=None, lodName=None): """getAnimControls(self, string, string=None, string=None)
|
700fa25e6dd12d18f31829fa4d692c52fa2c4e51 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7242/700fa25e6dd12d18f31829fa4d692c52fa2c4e51/Actor.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
20892,
16795,
12,
2890,
16,
10536,
461,
33,
7036,
16,
1087,
461,
33,
7036,
16,
328,
369,
461,
33,
7036,
4672,
3536,
588,
20892,
16795,
12,
2890,
16,
533,
16,
533,
33,
7036,
16,
533,
33,
7036,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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10536,
461,
33,
7036,
16,
1087,
461,
33,
7036,
16,
328,
369,
461,
33,
7036,
4672,
3536,
588,
20892,
16795,
12,
2890,
16,
533,
16,
533,
33,
7036,
16,
533,
33,
7036,
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
] |
logging.critical("Traffic Shaping Exception ", e)
|
logging.critical("Traffic Shaping Exception: %s ", e)
|
def set_traffic_shaping(self, up_bandwidth = '0', down_bandwidth = '0', delay_ms = '0', packet_loss_rate = '0'): """Start shaping traffic.
|
ec5899bdbf8e979d50790730ada20cdcbe66824b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3776/ec5899bdbf8e979d50790730ada20cdcbe66824b/platformsettings.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
67,
19231,
67,
674,
24447,
12,
2890,
16,
731,
67,
29750,
273,
296,
20,
2187,
2588,
67,
29750,
273,
296,
20,
2187,
4624,
67,
959,
273,
296,
20,
2187,
4414,
67,
7873,
67,
5141,
273,
296,
20,
11,
4672,
3536,
1685,
699,
24447,
16301,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
67,
19231,
67,
674,
24447,
12,
2890,
16,
731,
67,
29750,
273,
296,
20,
2187,
2588,
67,
29750,
273,
296,
20,
2187,
4624,
67,
959,
273,
296,
20,
2187,
4414,
67,
7873,
67,
5141,
273,
296,
20,
11,
4672,
3536,
1685,
699,
24447,
16301,
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
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.