rem stringlengths 1 226k | add stringlengths 0 227k | context stringlengths 6 326k | meta stringlengths 143 403 | input_ids listlengths 256 256 | attention_mask listlengths 256 256 | labels listlengths 128 128 |
|---|---|---|---|---|---|---|
recording.autoincrease = False | self.recording[self.selectedEntry].autoincrease = False | def inputCallback(self, value): if value is not None: print "stopping recording after", int(value), "minutes." if int(value) != 0: recording.autoincrease = False self.recording[self.selectedEntry].end = time() + 60 * int(value) self.session.nav.RecordTimer.timeChanged(self.recording[self.selectedEntry]) | 0663e43025ddbeb02efc57343b10e1304681c290 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6652/0663e43025ddbeb02efc57343b10e1304681c290/InfoBarGenerics.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
810,
2428,
12,
2890,
16,
460,
4672,
309,
460,
353,
486,
599,
30,
1172,
315,
5681,
1382,
14949,
1839,
3113,
509,
12,
1132,
3631,
315,
17916,
1199,
309,
509,
12,
1132,
13,
480,
374,
30,
365,
18,
3366,
310,
63,
2890,
18,
8109,
1622,
8009,
5854,
885,
11908,
273,
1083,
365,
18,
3366,
310,
63,
2890,
18,
8109,
1622,
8009,
409,
273,
813,
1435,
397,
4752,
380,
509,
12,
1132,
13,
365,
18,
3184,
18,
11589,
18,
2115,
6777,
18,
957,
5033,
12,
2890,
18,
3366,
310,
63,
2890,
18,
8109,
1622,
5717,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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1132,
3631,
315,
17916,
1199,
309,
509,
12,
1132,
13,
480,
374,
30,
365,
18,
3366,
310,
63,
2890,
18,
8109,
1622,
8009,
5854,
885,
11908,
273,
1083,
365,
18,
3366,
310,
63,
2890,
18,
8109,
1622,
8009,
409,
273,
813,
1435,
397,
4752,
380,
509,
12,
1132,
13,
365,
18,
3184,
18,
11589,
18,
2115,
6777,
18,
957,
5033,
12,
2890,
18,
3366,
310,
63,
2890,
18,
8109,
1622,
5717,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
headers.addheader('Trailer', trailer) | headers.addheader('Trailer', trailer+'\r') | def check_trailer_headers (headers): """ Message header fields listed in the Trailer header field MUST NOT include the following header fields: . Transfer-Encoding . Content-Length . Trailer """ if "Trailer" not in headers: return tokeep = [] for trailer in headers.getheaders("Trailer"): if trailer.lower() not in forbidden_trailer_names: tokeep.append(trailer) del headers['Trailer'] for trailer in tokeep: headers.addheader('Trailer', trailer) | 5c84c67327b9b90462d5c1a09f956adea73bc0f1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3948/5c84c67327b9b90462d5c1a09f956adea73bc0f1/Headers.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
67,
15565,
264,
67,
2485,
261,
2485,
4672,
3536,
2350,
1446,
1466,
12889,
316,
326,
2197,
2895,
1446,
652,
10685,
4269,
2341,
326,
3751,
1446,
1466,
30,
263,
12279,
17,
4705,
263,
3697,
17,
1782,
263,
2197,
2895,
3536,
309,
315,
1609,
2895,
6,
486,
316,
1607,
30,
327,
946,
2661,
273,
5378,
364,
25899,
316,
1607,
18,
75,
546,
684,
414,
2932,
1609,
2895,
6,
4672,
309,
25899,
18,
8167,
1435,
486,
316,
17987,
67,
15565,
264,
67,
1973,
30,
946,
2661,
18,
6923,
12,
15565,
264,
13,
1464,
1607,
3292,
1609,
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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,
866,
67,
15565,
264,
67,
2485,
261,
2485,
4672,
3536,
2350,
1446,
1466,
12889,
316,
326,
2197,
2895,
1446,
652,
10685,
4269,
2341,
326,
3751,
1446,
1466,
30,
263,
12279,
17,
4705,
263,
3697,
17,
1782,
263,
2197,
2895,
3536,
309,
315,
1609,
2895,
6,
486,
316,
1607,
30,
327,
946,
2661,
273,
5378,
364,
25899,
316,
1607,
18,
75,
546,
684,
414,
2932,
1609,
2895,
6,
4672,
309,
25899,
18,
8167,
1435,
486,
316,
17987,
67,
15565,
264,
67,
1973,
30,
946,
2661,
18,
6923,
12,
15565,
264,
13,
1464,
1607,
3292,
1609,
2895,
3546,
364,
25899,
316,
946,
2661,
30,
1607,
18,
1289,
3374,
2668,
1609,
2895,
2187,
25899,
6797,
64,
86,
6134,
282,
2,
-100,
-100
] |
if options.params: cmd += [ options.params ] | def runStartupPerfTests(options, timer, largeData=False, repeat=3, logger=log): """ Run startup time tests. >>> options = parseOptions() >>> checkOptions(options) >>> options.dryrun = True >>> options.verbose = True >>> runStartupPerfTests(options, '/usr/bin/time') Creating repository for startup time tests /.../release/RunChandler... --catch=tests --profileDir=test_profile --parcelPath=tools/QATestScripts/DataFiles --scriptFile=tools/QATestScripts/Performance/quit.py --create - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + /usr/bin/time --format=%e -o test_profile/time.log .../release/RunChandler... --catch=tests --profileDir=test_profile --parcelPath=tools/QATestScripts/DataFiles --scriptFile=tools/QATestScripts/Performance/end.py Startup 0.00 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + 0.00 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + 0.00 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + | 0.00 ... 0.00 False >>> runStartupPerfTests(options, '/usr/bin/time', repeat=1) Creating repository for startup time tests /.../RunChandler... --catch=tests --profileDir=test_profile --parcelPath=tools/QATestScripts/DataFiles --scriptFile=tools/QATestScripts/Performance/quit.py --create - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + /usr/bin/time --format=%e -o test_profile/time.log /.../RunChandler --catch=tests --profileDir=test_profile --parcelPath=tools/QATestScripts/DataFiles --scriptFile=tools/QATestScripts/Performance/end.py Startup 0.00 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + 0.00 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + 0.00 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + | 0.00 ... 0.00 False >>> runStartupPerfTests(options, '/usr/bin/time', largeData=True) Creating repository for startup time tests /.../release/RunChandler... --catch=tests --profileDir=test_profile --parcelPath=tools/QATestScripts/DataFiles --scriptFile=tools/QATestScripts/Performance/quit.py --restore=test_profile/__repository__.001 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + /usr/bin/time --format=%e -o test_profile/time.log .../release/RunChandler --catch=tests --profileDir=test_profile --parcelPath=tools/QATestScripts/DataFiles --scriptFile=tools/QATestScripts/Performance/end.py Startup_with_large_calendar 0.00 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + 0.00 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + 0.00 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + | 0.00 ... 0.00 False >>> options.tbox = True >>> runStartupPerfTests(options, '/usr/bin/time') Creating repository for startup time tests /.../release/RunChandler... --catch=tests --profileDir=test_profile --parcelPath=tools/QATestScripts/DataFiles --scriptFile=tools/QATestScripts/Performance/quit.py --create - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + /usr/bin/time --format=%e -o test_profile/time.log .../release/RunChandler... --catch=tests --profileDir=test_profile --parcelPath=tools/QATestScripts/DataFiles --scriptFile=tools/QATestScripts/Performance/end.py Startup 0.00 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + 0.00 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + 0.00 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + | 0.00 ... 0.00 <BLANKLINE> Startup [#TINDERBOX# Status = PASSED] OSAF_QA: Startup | ... | 0.00 #TINDERBOX# Testname = Startup #TINDERBOX# Status = PASSED #TINDERBOX# Time elapsed = 0.00 (seconds) - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + False """ if repeat < 3: repeat = 3 # You can't get an accurate number otherwise # Create test repo if options.verbose: log('Creating repository for startup time tests') cmd = [ options.runchandler['release'], '--catch=tests', '--profileDir=%s' % options.profileDir, '--parcelPath=%s' % options.parcelPath, '--scriptFile=%s' % os.path.join('tools', 'QATestScripts', 'Performance', 'quit.py') ] if not largeData: cmd += ['--create'] timeout = 180 name = 'Startup' else: cmd += ['--restore=%s' % os.path.join(options.profileDir, '__repository__.001')] timeout = 600 name = 'Startup_with_large_calendar' if options.verbose: log(' '.join(cmd)) if options.params: cmd += [ options.params ] if options.dryrun: result = 0 else: result = build_lib.runCommand(cmd, timeout=timeout, logger=logger) if result != 0: log('***Error exit code=%d, creating %s repository' % (result, name)) failedTests.append(name) return True if options.dryrun: log('- + ' * 15) else: logger('- + ' * 15) # Time startup values = [] timeLog = os.path.join(options.profileDir, 'time.log') if not options.dryrun: if os.path.isfile(timeLog): os.remove(timeLog) cmd = [ timer, r'--format=%e', '-o', timeLog, options.runchandler['release'], '--catch=tests', '--profileDir=%s' % options.profileDir, '--parcelPath=%s' % options.parcelPath, '--scriptFile=%s' % os.path.join('tools', 'QATestScripts', 'Performance', 'end.py') ] if options.verbose: log(' '.join(cmd)) if options.params: cmd += [ options.params ] log(name.ljust(33), newline=' ') for _x in range(repeat): if options.dryrun: result = 0 else: result = build_lib.runCommand(cmd, timeout=180, logger=logger) if result == 0: if options.dryrun: line = '0.0' else: line = open(timeLog).readline()[:-1] try: value = float(line) except ValueError, e: log('| %s' % str(e)) failedTests.append(name) return True log(('%02.2f' % value).rjust(6), newline=' ') values.append(value) else: log('| failed') failedTests.append(name) return True if options.dryrun: log('- + ' * 15) else: logger('- + ' * 15) else: values.sort() value = values[repeat/2] log(' | ', newline='') log(('%02.2f' % value).rjust(6) , newline='') log(u' \u00B1 '.encode('utf8'), newline='') # Unicode PLUS-MINUS SIGN log(('%02.2f' % stddev(values)).rjust(6)) if options.tbox: revision = getattr(build_lib.loadModuleFromFile(os.path.join(options.chandlerHome, 'version.py'), 'vmodule'), 'revision', '') log('') log('%s [#TINDERBOX# Status = PASSED]' % name) log('OSAF_QA: %s | %s | %02.2f' % (name, revision, value)) log('#TINDERBOX# Testname = %s' % name) log('#TINDERBOX# Status = PASSED') log('#TINDERBOX# Time elapsed = %02.2f (seconds)' % value) if options.dryrun: log('- + ' * 15) else: logger('- + ' * 15) return False | b699ba32e2c975274e5bcf6e3ec7d39769952732 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/b699ba32e2c975274e5bcf6e3ec7d39769952732/rt.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
22178,
22016,
14650,
12,
2116,
16,
5441,
16,
7876,
751,
33,
8381,
16,
7666,
33,
23,
16,
1194,
33,
1330,
4672,
3536,
1939,
11850,
813,
7434,
18,
225,
4080,
702,
273,
1109,
1320,
1435,
4080,
866,
1320,
12,
2116,
13,
4080,
702,
18,
25011,
2681,
225,
273,
1053,
4080,
702,
18,
11369,
273,
1053,
225,
4080,
1086,
22178,
22016,
14650,
12,
2116,
16,
1173,
13640,
19,
4757,
19,
957,
6134,
21837,
3352,
364,
11850,
813,
7434,
342,
2777,
19,
9340,
19,
1997,
782,
464,
749,
2777,
1493,
14683,
33,
16341,
1493,
5040,
1621,
33,
3813,
67,
5040,
1493,
1065,
2183,
743,
33,
6642,
19,
53,
789,
395,
15041,
19,
751,
2697,
1493,
4263,
812,
33,
6642,
19,
53,
789,
395,
15041,
19,
25024,
19,
27176,
18,
2074,
1493,
2640,
300,
397,
300,
397,
300,
397,
300,
397,
300,
397,
300,
397,
300,
397,
300,
397,
300,
397,
300,
397,
300,
397,
300,
397,
300,
397,
300,
397,
300,
397,
342,
13640,
19,
4757,
19,
957,
1493,
2139,
5095,
73,
300,
83,
1842,
67,
5040,
19,
957,
18,
1330,
1372,
19,
9340,
19,
1997,
782,
464,
749,
2777,
1493,
14683,
33,
16341,
1493,
5040,
1621,
33,
3813,
67,
5040,
1493,
1065,
2183,
743,
33,
6642,
19,
53,
789,
395,
15041,
19,
751,
2697,
1493,
4263,
812,
33,
6642,
19,
53,
789,
395,
15041,
19,
25024,
19,
409,
18,
2074,
3603,
416,
11794,
374,
18,
713,
300,
397,
300,
397,
300,
397,
300,
397,
300,
397,
300,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
22178,
22016,
14650,
12,
2116,
16,
5441,
16,
7876,
751,
33,
8381,
16,
7666,
33,
23,
16,
1194,
33,
1330,
4672,
3536,
1939,
11850,
813,
7434,
18,
225,
4080,
702,
273,
1109,
1320,
1435,
4080,
866,
1320,
12,
2116,
13,
4080,
702,
18,
25011,
2681,
225,
273,
1053,
4080,
702,
18,
11369,
273,
1053,
225,
4080,
1086,
22178,
22016,
14650,
12,
2116,
16,
1173,
13640,
19,
4757,
19,
957,
6134,
21837,
3352,
364,
11850,
813,
7434,
342,
2777,
19,
9340,
19,
1997,
782,
464,
749,
2777,
1493,
14683,
33,
16341,
1493,
5040,
1621,
33,
3813,
67,
5040,
1493,
1065,
2183,
743,
33,
6642,
19,
53,
789,
395,
15041,
19,
751,
2697,
1493,
4263,
812,
33,
6642,
19,
2
] | |
try: record['originalairdate'] = unicode(prog.year, 'utf8') except (UnicodeEncodeError, TypeError): record['originalairdate'] = prog.year | record['originalairdate'] = prog.year | def _getScheduledRecordedProgramList(self): '''Find all Scheduled and Recorded programs return array of found programs, if none then empty array is returned ''' programs=[] | da58d67ff802989f12b584ed8dfcff2d3581d752 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13713/da58d67ff802989f12b584ed8dfcff2d3581d752/jamu.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
588,
10660,
426,
3850,
785,
9459,
682,
12,
2890,
4672,
9163,
3125,
777,
17286,
471,
868,
3850,
785,
25038,
327,
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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,
389,
588,
10660,
426,
3850,
785,
9459,
682,
12,
2890,
4672,
9163,
3125,
777,
17286,
471,
868,
3850,
785,
25038,
327,
526,
434,
1392,
25038,
16,
309,
6555,
1508,
1008,
526,
353,
2106,
9163,
25038,
33,
8526,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
ui.show_msg(self.window, _("File ") + "\"" + tags[0]['fullpath'] + "\"" + _(" not found. Please specify a valid music directory in preferences."), _("Edit Tags"), 'editTagsError', gtk.BUTTONS_CLOSE, self.dialog_destroy) | ui.show_msg(self.window, _("File ") + "\"" + tags[0]['fullpath'] + "\"" + _(" not found. Please specify a valid music directory in preferences."), _("Edit Tags"), 'editTagsError', gtk.BUTTONS_CLOSE, response_cb=self.dialog_destroy) | def on_tags_edit(self, widget): # Try loading module global tagpy if tagpy is None: try: import tagpy try: # Set default tag encoding to utf8.. fixes some reported bugs. import tagpy.id3v2 as id3v2 id3v2.FrameFactory.instance().setDefaultTextEncoding(tagpy.StringType.UTF8) except: pass except: pass if tagpy is None: ui.show_msg(self.window, _("Taglib and/or tagpy not found, tag editing support disabled."), _("Edit Tags"), 'editTagsError', gtk.BUTTONS_CLOSE, self.dialog_destroy) return if not os.path.isdir(misc.file_from_utf8(self.musicdir[self.profile_num])): ui.show_msg(self.window, _("The path") + " " + self.musicdir[self.profile_num] + " " + _("does not exist. Please specify a valid music directory in preferences."), _("Edit Tags"), 'editTagsError', gtk.BUTTONS_CLOSE, self.dialog_destroy) return ui.change_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH)) self.edit_style_orig = self.searchtext.get_style() while gtk.events_pending(): gtk.main_iteration() files = [] temp_mpdpaths = [] if self.current_tab == self.TAB_INFO: if self.status and self.status['state'] in ['play', 'pause']: # Use current file in songinfo: mpdpath = mpdh.get(self.songinfo, 'file') fullpath = self.musicdir[self.profile_num] + mpdpath files.append(fullpath) temp_mpdpaths.append(mpdpath) elif self.current_tab == self.TAB_LIBRARY: # Populates files array with selected library items: items = self.library_get_recursive_filenames(False) for item in items: files.append(self.musicdir[self.profile_num] + item) temp_mpdpaths.append(item) elif self.current_tab == self.TAB_CURRENT: # Populates files array with selected current playlist items: model, selected = self.current_selection.get_selected_rows() for path in selected: if not self.filterbox_visible: item = mpdh.get(self.songs[path[0]], 'file') else: item = mpdh.get(self.songs[self.filter_row_mapping[path[0]]], 'file') files.append(self.musicdir[self.profile_num] + item) temp_mpdpaths.append(item) if len(files) == 0: ui.change_cursor(None) return self.tagpy_is_91 = None # Initialize tags: tags = [] for filenum in range(len(files)): tags.append({'title':'', 'artist':'', 'album':'', 'year':'', 'track':'', 'genre':'', 'comment':'', 'title-changed':False, 'artist-changed':False, 'album-changed':False, 'year-changed':False, 'track-changed':False, 'genre-changed':False, 'comment-changed':False, 'fullpath':misc.file_from_utf8(files[filenum]), 'mpdpath':temp_mpdpaths[filenum]}) self.tagnum = -1 if not os.path.exists(tags[0]['fullpath']): ui.change_cursor(None) ui.show_msg(self.window, _("File ") + "\"" + tags[0]['fullpath'] + "\"" + _(" not found. Please specify a valid music directory in preferences."), _("Edit Tags"), 'editTagsError', gtk.BUTTONS_CLOSE, self.dialog_destroy) return if self.tags_next_tag(tags) == False: ui.change_cursor(None) ui.show_msg(self.window, _("No music files with editable tags found."), _("Edit Tags"), 'editTagsError', gtk.BUTTONS_CLOSE, self.dialog_destroy) return editwindow = ui.dialog(parent=self.window, flags=gtk.DIALOG_MODAL, role='editTags', resizable=False, separator=False) editwindow.set_size_request(375, -1) table = gtk.Table(9, 2, False) table.set_row_spacings(2) filelabel = ui.label(select=True, wrap=True) filehbox = gtk.HBox() sonataicon = ui.image(stock='sonata', stocksize=gtk.ICON_SIZE_DND, x=1) blanklabel = ui.label(w=15, h=12) filehbox.pack_start(sonataicon, False, False, 2) filehbox.pack_start(filelabel, True, True, 2) filehbox.pack_start(blanklabel, False, False, 2) titlelabel = ui.label(text=_("Title") + ":", x=1) titleentry = ui.entry() titlebutton = ui.button() titlebuttonvbox = gtk.VBox() self.tags_win_create_apply_all_button(titlebutton, titlebuttonvbox, titleentry) titlehbox = gtk.HBox() titlehbox.pack_start(titlelabel, False, False, 2) titlehbox.pack_start(titleentry, True, True, 2) titlehbox.pack_start(titlebuttonvbox, False, False, 2) artistlabel = ui.label(text=_("Artist") + ":", x=1) artistentry = ui.entry() artisthbox = gtk.HBox() artistbutton = ui.button() artistbuttonvbox = gtk.VBox() self.tags_win_create_apply_all_button(artistbutton, artistbuttonvbox, artistentry) artisthbox.pack_start(artistlabel, False, False, 2) artisthbox.pack_start(artistentry, True, True, 2) artisthbox.pack_start(artistbuttonvbox, False, False, 2) albumlabel = ui.label(text=_("Album") + ":", x=1) albumentry = ui.entry() albumhbox = gtk.HBox() albumbutton = ui.button() albumbuttonvbox = gtk.VBox() self.tags_win_create_apply_all_button(albumbutton, albumbuttonvbox, albumentry) albumhbox.pack_start(albumlabel, False, False, 2) albumhbox.pack_start(albumentry, True, True, 2) albumhbox.pack_start(albumbuttonvbox, False, False, 2) yearlabel = ui.label(text=" " + _("Year") + ":", x=1) yearentry = ui.entry(w=50) handlerid = yearentry.connect("insert_text", self.tags_win_entry_constraint, True) yearentry.set_data('handlerid', handlerid) tracklabel = ui.label(text=" " + _("Track") + ":", x=1) trackentry = ui.entry(w=50) handlerid2 = trackentry.connect("insert_text", self.tags_win_entry_constraint, False) trackentry.set_data('handlerid2', handlerid2) yearbutton = ui.button() yearbuttonvbox = gtk.VBox() self.tags_win_create_apply_all_button(yearbutton, yearbuttonvbox, yearentry) trackbutton = ui.button() trackbuttonvbox = gtk.VBox() self.tags_win_create_apply_all_button(trackbutton, trackbuttonvbox, trackentry, True) yearandtrackhbox = gtk.HBox() yearandtrackhbox.pack_start(yearlabel, False, False, 2) yearandtrackhbox.pack_start(yearentry, True, True, 2) yearandtrackhbox.pack_start(yearbuttonvbox, False, False, 2) yearandtrackhbox.pack_start(tracklabel, False, False, 2) yearandtrackhbox.pack_start(trackentry, True, True, 2) yearandtrackhbox.pack_start(trackbuttonvbox, False, False, 2) genrelabel = ui.label(text=_("Genre") + ":", x=1) genrecombo = ui.comboentry(list=self.tags_win_genres(), wrap=2) genreentry = genrecombo.get_child() genrehbox = gtk.HBox() genrebutton = ui.button() genrebuttonvbox = gtk.VBox() self.tags_win_create_apply_all_button(genrebutton, genrebuttonvbox, genreentry) genrehbox.pack_start(genrelabel, False, False, 2) genrehbox.pack_start(genrecombo, True, True, 2) genrehbox.pack_start(genrebuttonvbox, False, False, 2) commentlabel = ui.label(text=_("Comment") + ":", x=1) commententry = ui.entry() commenthbox = gtk.HBox() commentbutton = ui.button() commentbuttonvbox = gtk.VBox() self.tags_win_create_apply_all_button(commentbutton, commentbuttonvbox, commententry) commenthbox.pack_start(commentlabel, False, False, 2) commenthbox.pack_start(commententry, True, True, 2) commenthbox.pack_start(commentbuttonvbox, False, False, 2) ui.set_widths_equal([titlelabel, artistlabel, albumlabel, yearlabel, genrelabel, commentlabel, sonataicon]) genrecombo.set_size_request(-1, titleentry.size_request()[1]) tablewidgets = [ui.label(), filehbox, ui.label(), titlehbox, artisthbox, albumhbox, yearandtrackhbox, genrehbox, commenthbox, ui.label()] for i in range(len(tablewidgets)): table.attach(tablewidgets[i], 1, 2, i+1, i+2, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 2, 0) editwindow.vbox.pack_start(table) saveall_button = None if len(files) > 1: # Only show save all button if more than one song being edited. saveall_button = ui.button(text=_("Save _All")) editwindow.action_area.pack_start(saveall_button) cancelbutton = editwindow.add_button(gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT) savebutton = editwindow.add_button(gtk.STOCK_SAVE, gtk.RESPONSE_ACCEPT) editwindow.connect('delete_event', self.tags_win_hide, tags) entries = [titleentry, artistentry, albumentry, yearentry, trackentry, genreentry, commententry, filelabel] buttons = [titlebutton, artistbutton, albumbutton, yearbutton, trackbutton, genrebutton, commentbutton] entries_names = ["title", "artist", "album", "year", "track", "genre", "comment"] editwindow.connect('response', self.tags_win_response, tags, entries, entries_names) if saveall_button: saveall_button.connect('clicked', self.tags_win_save_all, editwindow, tags, entries, entries_names) for i in range(len(entries)-1): entries[i].connect('changed', self.tags_win_entry_changed) for i in range(len(buttons)): buttons[i].connect('clicked', self.tags_win_apply_all, entries_names[i], tags, entries) self.tags_win_update(editwindow, tags, entries, entries_names) ui.change_cursor(None) entries[7].set_size_request(editwindow.size_request()[0] - titlelabel.size_request()[0] - 50, -1) editwindow.show_all() | 42ec8106d5d9032fcd77e092d270c87208745f84 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2312/42ec8106d5d9032fcd77e092d270c87208745f84/main.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
603,
67,
4156,
67,
4619,
12,
2890,
16,
3604,
4672,
468,
6161,
7153,
1605,
2552,
1047,
2074,
309,
1047,
2074,
353,
599,
30,
775,
30,
1930,
1047,
2074,
775,
30,
468,
1000,
805,
1047,
2688,
358,
7718,
28,
838,
24436,
2690,
14010,
22398,
18,
1930,
1047,
2074,
18,
350,
23,
90,
22,
487,
612,
23,
90,
22,
612,
23,
90,
22,
18,
3219,
1733,
18,
1336,
7675,
542,
1868,
1528,
4705,
12,
2692,
2074,
18,
780,
559,
18,
5159,
28,
13,
1335,
30,
1342,
1335,
30,
1342,
309,
1047,
2074,
353,
599,
30,
5915,
18,
4500,
67,
3576,
12,
2890,
18,
5668,
16,
389,
2932,
1805,
2941,
471,
19,
280,
1047,
2074,
486,
1392,
16,
1047,
15755,
2865,
5673,
1199,
3631,
389,
2932,
4666,
8750,
6,
3631,
296,
4619,
3453,
668,
2187,
22718,
18,
20068,
55,
67,
13384,
16,
365,
18,
12730,
67,
11662,
13,
327,
309,
486,
1140,
18,
803,
18,
291,
1214,
12,
23667,
18,
768,
67,
2080,
67,
3158,
28,
12,
2890,
18,
81,
14894,
1214,
63,
2890,
18,
5040,
67,
2107,
22643,
30,
5915,
18,
4500,
67,
3576,
12,
2890,
18,
5668,
16,
389,
2932,
1986,
589,
7923,
397,
315,
315,
397,
365,
18,
81,
14894,
1214,
63,
2890,
18,
5040,
67,
2107,
65,
397,
315,
315,
397,
389,
2932,
20657,
486,
1005,
18,
7801,
4800,
279,
923,
26225,
1867,
316,
12750,
1199,
3631,
389,
2932,
4666,
8750,
6,
3631,
296,
4619,
3453,
668,
2187,
22718,
18,
20068,
55,
67,
13384,
16,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
603,
67,
4156,
67,
4619,
12,
2890,
16,
3604,
4672,
468,
6161,
7153,
1605,
2552,
1047,
2074,
309,
1047,
2074,
353,
599,
30,
775,
30,
1930,
1047,
2074,
775,
30,
468,
1000,
805,
1047,
2688,
358,
7718,
28,
838,
24436,
2690,
14010,
22398,
18,
1930,
1047,
2074,
18,
350,
23,
90,
22,
487,
612,
23,
90,
22,
612,
23,
90,
22,
18,
3219,
1733,
18,
1336,
7675,
542,
1868,
1528,
4705,
12,
2692,
2074,
18,
780,
559,
18,
5159,
28,
13,
1335,
30,
1342,
1335,
30,
1342,
309,
1047,
2074,
353,
599,
30,
5915,
18,
4500,
67,
3576,
12,
2890,
18,
5668,
16,
389,
2932,
1805,
2941,
471,
19,
280,
1047,
2074,
486,
1392,
16,
1047,
15755,
2865,
2
] |
,'F':'float' ,'D':'double' | ,'F32':'float:4' ,'F64':'float:8' | def build_simple_str_liststore(l): r = gtk.ListStore(str) for e in l: r.append([e]) return r | 78440d3152e6d6ffda16bfdc0ae622d790564364 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4850/78440d3152e6d6ffda16bfdc0ae622d790564364/GameConqueror.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1361,
67,
9647,
67,
701,
67,
1098,
2233,
12,
80,
4672,
436,
273,
22718,
18,
682,
2257,
12,
701,
13,
364,
425,
316,
328,
30,
436,
18,
6923,
3816,
73,
5717,
327,
436,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1361,
67,
9647,
67,
701,
67,
1098,
2233,
12,
80,
4672,
436,
273,
22718,
18,
682,
2257,
12,
701,
13,
364,
425,
316,
328,
30,
436,
18,
6923,
3816,
73,
5717,
327,
436,
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
] |
sage: var('m') m | sage: var('m,n') (m, n) | def assume(*args): """ Make the given assumptions. INPUT: - ``*args`` - assumptions EXAMPLES:: sage: assume(x > 0) sage: bool(sqrt(x^2) == x) True sage: forget() sage: bool(sqrt(x^2) == x) False An integer constraint:: sage: var('n, P, r, r2') (n, P, r, r2) sage: assume(n, 'integer') sage: c = P*e^(r*n) sage: d = P*(1+r2)^n sage: solve(c==d,r2) [r2 == e^r - 1] :: sage: sin(n*pi) sin(pi*n) sage: sin(n*pi).simplify() 0 sage: forget() sage: sin(n*pi).simplify() sin(pi*n) TESTS: Test that you can do two non-relational declarations at once (fixing Trac ticket 7084):: sage: var('m') m sage: assume(n, 'integer'); assume(m, 'integer') sage: sin(n*pi).simplify() 0 sage: sin(m*pi).simplify() 0 sage: forget() """ for x in preprocess_assumptions(args): if isinstance(x, (tuple, list)): assume(*x) else: try: x.assume() except KeyError: raise TypeError, "assume not defined for objects of type '%s'"%type(x) | af93235ce102ea3788490bdc96edce12d6067a9d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/af93235ce102ea3788490bdc96edce12d6067a9d/assumptions.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6750,
30857,
1968,
4672,
3536,
4344,
326,
864,
6287,
573,
18,
225,
12943,
30,
225,
300,
225,
12176,
14,
1968,
10335,
300,
6287,
573,
225,
5675,
8900,
11386,
2866,
225,
272,
410,
30,
6750,
12,
92,
405,
374,
13,
272,
410,
30,
1426,
12,
24492,
12,
92,
66,
22,
13,
422,
619,
13,
1053,
272,
410,
30,
13776,
1435,
272,
410,
30,
1426,
12,
24492,
12,
92,
66,
22,
13,
422,
619,
13,
1083,
225,
1922,
3571,
4954,
2866,
225,
272,
410,
30,
569,
2668,
82,
16,
453,
16,
436,
16,
436,
22,
6134,
261,
82,
16,
453,
16,
436,
16,
436,
22,
13,
272,
410,
30,
6750,
12,
82,
16,
296,
7745,
6134,
272,
410,
30,
276,
273,
453,
14,
73,
29020,
86,
14,
82,
13,
272,
410,
30,
302,
273,
453,
21556,
21,
15,
86,
22,
13,
66,
82,
272,
410,
30,
12439,
12,
71,
631,
72,
16,
86,
22,
13,
306,
86,
22,
422,
425,
66,
86,
300,
404,
65,
225,
493,
225,
272,
410,
30,
5367,
12,
82,
14,
7259,
13,
5367,
12,
7259,
14,
82,
13,
272,
410,
30,
5367,
12,
82,
14,
7259,
2934,
9812,
412,
1164,
1435,
374,
272,
410,
30,
13776,
1435,
272,
410,
30,
5367,
12,
82,
14,
7259,
2934,
9812,
412,
1164,
1435,
5367,
12,
7259,
14,
82,
13,
225,
22130,
55,
30,
225,
7766,
716,
1846,
848,
741,
2795,
1661,
17,
5488,
287,
12312,
622,
3647,
261,
904,
310,
2197,
71,
9322,
16647,
5193,
13,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6750,
30857,
1968,
4672,
3536,
4344,
326,
864,
6287,
573,
18,
225,
12943,
30,
225,
300,
225,
12176,
14,
1968,
10335,
300,
6287,
573,
225,
5675,
8900,
11386,
2866,
225,
272,
410,
30,
6750,
12,
92,
405,
374,
13,
272,
410,
30,
1426,
12,
24492,
12,
92,
66,
22,
13,
422,
619,
13,
1053,
272,
410,
30,
13776,
1435,
272,
410,
30,
1426,
12,
24492,
12,
92,
66,
22,
13,
422,
619,
13,
1083,
225,
1922,
3571,
4954,
2866,
225,
272,
410,
30,
569,
2668,
82,
16,
453,
16,
436,
16,
436,
22,
6134,
261,
82,
16,
453,
16,
436,
16,
436,
22,
13,
272,
410,
30,
6750,
12,
82,
16,
296,
7745,
6134,
272,
410,
30,
276,
2
] |
if self.debug: log.msg('ftp_USER params: %s' % params) | log.debug('ftp_USER params: %s' % params) | def ftp_USER(self, params): """Get the login name, and reset the session PASS is expected to follow | cdcaf038ab7a8d9d6eba20fa49c93c98c9d905a0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/cdcaf038ab7a8d9d6eba20fa49c93c98c9d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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
13487,
67,
4714,
12,
2890,
16,
859,
4672,
3536,
967,
326,
3925,
508,
16,
471,
2715,
326,
1339,
17882,
353,
2665,
358,
2805,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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.adjustSize() | def __init__(self,parent=None, signalManager = None, name = "Imputer"): OWWidget.__init__(self, parent, signalManager, name) self.inputs = [("Classified Examples", ExampleTableWithClass, self.cdata, Default)] self.outputs = [("Classified Examples", ExampleTableWithClass, Default), ("Imputer", orange.ImputerConstructor)] | c851d11d09284089edf54d1ccc2d14f74a5be5e7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/c851d11d09284089edf54d1ccc2d14f74a5be5e7/OWImputer.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2938,
33,
7036,
16,
4277,
1318,
273,
599,
16,
508,
273,
315,
1170,
458,
264,
6,
4672,
18233,
4609,
16186,
2738,
972,
12,
2890,
16,
982,
16,
4277,
1318,
16,
508,
13,
225,
365,
18,
10029,
273,
306,
2932,
797,
939,
19830,
3113,
5090,
1388,
1190,
797,
16,
365,
18,
71,
892,
16,
2989,
25887,
365,
18,
12295,
273,
306,
2932,
797,
939,
19830,
3113,
5090,
1388,
1190,
797,
16,
2989,
3631,
7566,
1170,
458,
264,
3113,
578,
726,
18,
1170,
458,
264,
6293,
25887,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2938,
33,
7036,
16,
4277,
1318,
273,
599,
16,
508,
273,
315,
1170,
458,
264,
6,
4672,
18233,
4609,
16186,
2738,
972,
12,
2890,
16,
982,
16,
4277,
1318,
16,
508,
13,
225,
365,
18,
10029,
273,
306,
2932,
797,
939,
19830,
3113,
5090,
1388,
1190,
797,
16,
365,
18,
71,
892,
16,
2989,
25887,
365,
18,
12295,
273,
306,
2932,
797,
939,
19830,
3113,
5090,
1388,
1190,
797,
16,
2989,
3631,
7566,
1170,
458,
264,
3113,
578,
726,
18,
1170,
458,
264,
6293,
25887,
2,
-100,
-100,
-100,
-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.graph.add((subj, dcterms["tableOfContents"], toc_resource)) | self.graph.add((toc_resource, dct["isPartOf"], self.dataset_resource)) self.graph.add((subj, dct["tableOfContents"], toc_resource)) | def convert(self, indata): data = json.read(indata) if data["key"].startswith("/user/"): return | 02cf5291fc029decc1161f03e51e28c2900474a0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4788/02cf5291fc029decc1161f03e51e28c2900474a0/json2rdf.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1765,
12,
2890,
16,
316,
892,
4672,
501,
273,
1163,
18,
896,
12,
728,
396,
13,
225,
309,
501,
9614,
856,
6,
8009,
17514,
1918,
2932,
19,
1355,
4898,
4672,
327,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
22398,
316,
326,
981,
30,
1652,
1765,
12,
2890,
16,
316,
892,
4672,
501,
273,
1163,
18,
896,
12,
728,
396,
13,
225,
309,
501,
9614,
856,
6,
8009,
17514,
1918,
2932,
19,
1355,
4898,
4672,
327,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
node = repo.changectx(opts['rev']).node() | ctx = repo.changectx(opts['rev']) if not ctx: raise util.Abort(_('repository has no revisions')) node = ctx.node() | def archive(ui, repo, dest, **opts): '''create unversioned archive of a repository revision By default, the revision used is the parent of the working directory; use "-r" to specify a different revision. To specify the type of archive to create, use "-t". Valid types are: "files" (default): a directory full of files "tar": tar archive, uncompressed "tbz2": tar archive, compressed using bzip2 "tgz": tar archive, compressed using gzip "uzip": zip archive, uncompressed "zip": zip archive, compressed using deflate The exact name of the destination archive or directory is given using a format string; see "hg help export" for details. Each member added to an archive file has a directory prefix prepended. Use "-p" to specify a format string for the prefix. The default is the basename of the archive, with suffixes removed. ''' node = repo.changectx(opts['rev']).node() dest = cmdutil.make_filename(repo, dest, node) if os.path.realpath(dest) == repo.root: raise util.Abort(_('repository root cannot be destination')) dummy, matchfn, dummy = cmdutil.matchpats(repo, [], opts) kind = opts.get('type') or 'files' prefix = opts['prefix'] if dest == '-': if kind == 'files': raise util.Abort(_('cannot archive plain files to stdout')) dest = sys.stdout if not prefix: prefix = os.path.basename(repo.root) + '-%h' prefix = cmdutil.make_filename(repo, prefix, node) archival.archive(repo, dest, node, kind, not opts['no_decode'], matchfn, prefix) | 26bfcd2f4b5df01e4c297e7b81f13551ca5523ff /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11312/26bfcd2f4b5df01e4c297e7b81f13551ca5523ff/commands.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5052,
12,
4881,
16,
3538,
16,
1570,
16,
2826,
4952,
4672,
9163,
2640,
29645,
5052,
434,
279,
3352,
6350,
225,
2525,
805,
16,
326,
6350,
1399,
353,
326,
982,
434,
326,
5960,
1867,
31,
999,
3701,
86,
6,
358,
4800,
279,
3775,
6350,
18,
225,
2974,
4800,
326,
618,
434,
5052,
358,
752,
16,
999,
3701,
88,
9654,
225,
2364,
1953,
854,
30,
225,
315,
2354,
6,
261,
1886,
4672,
279,
1867,
1983,
434,
1390,
315,
11718,
6877,
8232,
5052,
16,
20560,
315,
18587,
94,
22,
6877,
8232,
5052,
16,
8968,
1450,
324,
4450,
22,
315,
88,
9764,
6877,
8232,
5052,
16,
8968,
1450,
10331,
315,
89,
4450,
6877,
3144,
5052,
16,
20560,
315,
4450,
6877,
3144,
5052,
16,
8968,
1450,
1652,
20293,
225,
1021,
5565,
508,
434,
326,
2929,
5052,
578,
1867,
353,
864,
1450,
279,
740,
533,
31,
2621,
315,
26981,
2809,
3359,
6,
364,
3189,
18,
225,
8315,
3140,
3096,
358,
392,
5052,
585,
711,
279,
1867,
1633,
26989,
18,
225,
2672,
3701,
84,
6,
358,
4800,
279,
740,
533,
364,
326,
1633,
18,
1021,
805,
353,
326,
4882,
434,
326,
5052,
16,
598,
18333,
3723,
18,
9163,
225,
1103,
273,
3538,
18,
24083,
386,
92,
12,
4952,
3292,
9083,
19486,
309,
486,
1103,
30,
1002,
1709,
18,
13572,
24899,
2668,
9071,
711,
1158,
18325,
26112,
756,
273,
1103,
18,
2159,
1435,
1570,
273,
24884,
18,
6540,
67,
3459,
12,
7422,
16,
1570,
16,
756,
13,
309,
1140,
18,
803,
18,
7688,
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,
5052,
12,
4881,
16,
3538,
16,
1570,
16,
2826,
4952,
4672,
9163,
2640,
29645,
5052,
434,
279,
3352,
6350,
225,
2525,
805,
16,
326,
6350,
1399,
353,
326,
982,
434,
326,
5960,
1867,
31,
999,
3701,
86,
6,
358,
4800,
279,
3775,
6350,
18,
225,
2974,
4800,
326,
618,
434,
5052,
358,
752,
16,
999,
3701,
88,
9654,
225,
2364,
1953,
854,
30,
225,
315,
2354,
6,
261,
1886,
4672,
279,
1867,
1983,
434,
1390,
315,
11718,
6877,
8232,
5052,
16,
20560,
315,
18587,
94,
22,
6877,
8232,
5052,
16,
8968,
1450,
324,
4450,
22,
315,
88,
9764,
6877,
8232,
5052,
16,
8968,
1450,
10331,
315,
89,
4450,
6877,
3144,
5052,
16,
20560,
315,
4450,
6877,
3144,
5052,
2
] |
TixSubWidget.__init__(self, master, name, destroy_physically) | TixSubWidget.__init__(self, master, name, destroy_physically) | def __init__(self, master, name, destroy_physically=1): | 0049f0036898e656085d5c214ba07642a9c25a6e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/0049f0036898e656085d5c214ba07642a9c25a6e/Tix.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
4171,
16,
508,
16,
5546,
67,
844,
1900,
6478,
33,
21,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
21,
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
] |
path=basedir.save_config_path(site, dir, leaf) | path=basedir.save_config_path(site, dir) path=os.path.join(path, leaf) | def save_path(site, dir, leaf, create=1): parent=basedir.save_config_path(site, dir) if os.path.isdir(parent): path=basedir.save_config_path(site, dir, leaf) else: path=choices.save(dir, leaf, create) return path | e6eb2cc22cdef290eb0e3ae781ee887012194dee /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4591/e6eb2cc22cdef290eb0e3ae781ee887012194dee/mime_handler.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1923,
67,
803,
12,
4256,
16,
1577,
16,
7839,
16,
752,
33,
21,
4672,
982,
33,
31722,
18,
5688,
67,
1425,
67,
803,
12,
4256,
16,
1577,
13,
309,
1140,
18,
803,
18,
291,
1214,
12,
2938,
4672,
589,
33,
31722,
18,
5688,
67,
1425,
67,
803,
12,
4256,
16,
1577,
13,
589,
33,
538,
18,
803,
18,
5701,
12,
803,
16,
7839,
13,
469,
30,
589,
33,
11937,
18,
5688,
12,
1214,
16,
7839,
16,
752,
13,
225,
327,
589,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1923,
67,
803,
12,
4256,
16,
1577,
16,
7839,
16,
752,
33,
21,
4672,
982,
33,
31722,
18,
5688,
67,
1425,
67,
803,
12,
4256,
16,
1577,
13,
309,
1140,
18,
803,
18,
291,
1214,
12,
2938,
4672,
589,
33,
31722,
18,
5688,
67,
1425,
67,
803,
12,
4256,
16,
1577,
13,
589,
33,
538,
18,
803,
18,
5701,
12,
803,
16,
7839,
13,
469,
30,
589,
33,
11937,
18,
5688,
12,
1214,
16,
7839,
16,
752,
13,
225,
327,
589,
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
] |
items = l.items | def ll_pop_zero(func, l): length = l.length if func is dum_checkidx and (length == 0): raise IndexError newlength = length - 1 res = l.items[0] j = 0 items = l.items j1 = j+1 while j < newlength: items[j] = items[j1] j = j1 j1 += 1 ITEM = typeOf(l).TO.ITEM if isinstance(ITEM, Ptr): items[newlength] = nullptr(ITEM.TO) _ll_list_resize_le(l, newlength) return res | afabe8603c579750f81fa9c16896184dfa4a53b8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/afabe8603c579750f81fa9c16896184dfa4a53b8/rlist.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6579,
67,
5120,
67,
7124,
12,
644,
16,
328,
4672,
769,
273,
328,
18,
2469,
309,
1326,
353,
4569,
67,
1893,
3465,
471,
261,
2469,
422,
374,
4672,
1002,
10195,
394,
2469,
273,
769,
300,
404,
400,
273,
328,
18,
3319,
63,
20,
65,
525,
273,
374,
525,
21,
273,
525,
15,
21,
1323,
525,
411,
394,
2469,
30,
1516,
63,
78,
65,
273,
1516,
63,
78,
21,
65,
525,
273,
525,
21,
525,
21,
1011,
404,
25504,
273,
23170,
12,
80,
2934,
4296,
18,
12674,
309,
1549,
12,
12674,
16,
14898,
4672,
1516,
63,
2704,
2469,
65,
273,
446,
6723,
12,
12674,
18,
4296,
13,
389,
2906,
67,
1098,
67,
15169,
67,
298,
12,
80,
16,
394,
2469,
13,
327,
400,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6579,
67,
5120,
67,
7124,
12,
644,
16,
328,
4672,
769,
273,
328,
18,
2469,
309,
1326,
353,
4569,
67,
1893,
3465,
471,
261,
2469,
422,
374,
4672,
1002,
10195,
394,
2469,
273,
769,
300,
404,
400,
273,
328,
18,
3319,
63,
20,
65,
525,
273,
374,
525,
21,
273,
525,
15,
21,
1323,
525,
411,
394,
2469,
30,
1516,
63,
78,
65,
273,
1516,
63,
78,
21,
65,
525,
273,
525,
21,
525,
21,
1011,
404,
25504,
273,
23170,
12,
80,
2934,
4296,
18,
12674,
309,
1549,
12,
12674,
16,
14898,
4672,
1516,
63,
2704,
2469,
65,
273,
446,
6723,
12,
12674,
18,
4296,
13,
389,
2906,
67,
1098,
67,
15169,
67,
298,
12,
80,
16,
394,
2
] | |
print "P Pick polarity set to %s"%self.dicts[self.stPt]['PPol'] | msg = "P Pick polarity set to %s"%self.dicts[self.stPt]['PPol'] appendTextview(self.textviewStdOut, msg) | def pick(self, event): #import ipdb; ipdb.set_trace() #We want to round from the picking location to #the time value of the nearest time sample: samp_rate = self.streams[self.stPt][0].stats.sampling_rate pickSample = event.xdata * samp_rate pickSample = round(pickSample) pickSample = pickSample / samp_rate # we need the position of the cursor location # in the seismogram array: xpos = pickSample * samp_rate # Set new P Pick if self.flagPhase==0 and event.key==self.dictKeybindings['setPick']: self.delPLine() self.delPLabel() self.delPsynthLine() self.dicts[self.stPt]['P'] = pickSample self.drawPLine() self.drawPLabel() self.drawPsynthLine() self.drawPsynthLabel() #check if the new P pick lies outside of the Error Picks try: if self.dicts[self.stPt]['P']<self.dicts[self.stPt]['PErr1']: self.delPErr1Line() self.delPErr1() except: pass try: if self.dicts[self.stPt]['P']>self.dicts[self.stPt]['PErr2']: self.delPErr2Line() self.delPErr2() except: pass # Update all subplots self.redraw() # Console output print "P Pick set at %.3f" % self.dicts[self.stPt]['P'] # Set P Pick weight if self.dicts[self.stPt].has_key('P'): if self.flagPhase==0 and event.key==self.dictKeybindings['setPWeight0']: self.delPLabel() self.dicts[self.stPt]['PWeight']=0 self.drawPLabel() self.redraw() print "P Pick weight set to %i"%self.dicts[self.stPt]['PWeight'] if self.flagPhase==0 and event.key==self.dictKeybindings['setPWeight1']: self.delPLabel() self.dicts[self.stPt]['PWeight']=1 print "P Pick weight set to %i"%self.dicts[self.stPt]['PWeight'] self.drawPLabel() self.redraw() if self.flagPhase==0 and event.key==self.dictKeybindings['setPWeight2']: self.delPLabel() self.dicts[self.stPt]['PWeight']=2 print "P Pick weight set to %i"%self.dicts[self.stPt]['PWeight'] self.drawPLabel() self.redraw() if self.flagPhase==0 and event.key==self.dictKeybindings['setPWeight3']: self.delPLabel() self.dicts[self.stPt]['PWeight']=3 print "P Pick weight set to %i"%self.dicts[self.stPt]['PWeight'] self.drawPLabel() self.redraw() # Set P Pick polarity if self.dicts[self.stPt].has_key('P'): if self.flagPhase==0 and event.key==self.dictKeybindings['setPPolUp']: self.delPLabel() self.dicts[self.stPt]['PPol']='up' self.drawPLabel() self.redraw() print "P Pick polarity set to %s"%self.dicts[self.stPt]['PPol'] if self.flagPhase==0 and event.key==self.dictKeybindings['setPPolPoorUp']: self.delPLabel() self.dicts[self.stPt]['PPol']='poorup' self.drawPLabel() self.redraw() print "P Pick polarity set to %s"%self.dicts[self.stPt]['PPol'] if self.flagPhase==0 and event.key==self.dictKeybindings['setPPolDown']: self.delPLabel() self.dicts[self.stPt]['PPol']='down' self.drawPLabel() self.redraw() print "P Pick polarity set to %s"%self.dicts[self.stPt]['PPol'] if self.flagPhase==0 and event.key==self.dictKeybindings['setPPolPoorDown']: self.delPLabel() self.dicts[self.stPt]['PPol']='poordown' self.drawPLabel() self.redraw() print "P Pick polarity set to %s"%self.dicts[self.stPt]['PPol'] # Set P Pick onset if self.dicts[self.stPt].has_key('P'): if self.flagPhase == 0 and event.key == self.dictKeybindings['setPOnsetImpulsive']: self.delPLabel() self.dicts[self.stPt]['POnset'] = 'impulsive' self.drawPLabel() self.redraw() print "P pick onset set to %s" % self.dicts[self.stPt]['POnset'] elif self.flagPhase == 0 and event.key == self.dictKeybindings['setPOnsetEmergent']: self.delPLabel() self.dicts[self.stPt]['POnset'] = 'emergent' self.drawPLabel() self.redraw() print "P pick onset set to %s" % self.dicts[self.stPt]['POnset'] # Set new S Pick if self.flagPhase==1 and event.key==self.dictKeybindings['setPick']: self.delSLine() self.delSLabel() self.delSsynthLine() self.dicts[self.stPt]['S'] = pickSample self.dicts[self.stPt]['Saxind'] = self.axs.index(event.inaxes) self.drawSLine() self.drawSLabel() self.drawSsynthLine() self.drawSsynthLabel() #check if the new S pick lies outside of the Error Picks try: if self.dicts[self.stPt]['S']<self.dicts[self.stPt]['SErr1']: self.delSErr1Line() self.delSErr1() except: pass try: if self.dicts[self.stPt]['S']>self.dicts[self.stPt]['SErr2']: self.delSErr2Line() self.delSErr2() except: pass # Update all subplots self.redraw() # Console output print "S Pick set at %.3f" % self.dicts[self.stPt]['S'] # Set S Pick weight if self.dicts[self.stPt].has_key('S'): if self.flagPhase==1 and event.key==self.dictKeybindings['setSWeight0']: self.delSLabel() self.dicts[self.stPt]['SWeight']=0 self.drawSLabel() self.redraw() print "S Pick weight set to %i"%self.dicts[self.stPt]['SWeight'] if self.flagPhase==1 and event.key==self.dictKeybindings['setSWeight1']: self.delSLabel() self.dicts[self.stPt]['SWeight']=1 self.drawSLabel() self.redraw() print "S Pick weight set to %i"%self.dicts[self.stPt]['SWeight'] if self.flagPhase==1 and event.key==self.dictKeybindings['setSWeight2']: self.delSLabel() self.dicts[self.stPt]['SWeight']=2 self.drawSLabel() self.redraw() print "S Pick weight set to %i"%self.dicts[self.stPt]['SWeight'] if self.flagPhase==1 and event.key==self.dictKeybindings['setSWeight3']: self.delSLabel() self.dicts[self.stPt]['SWeight']=3 self.drawSLabel() self.redraw() print "S Pick weight set to %i"%self.dicts[self.stPt]['SWeight'] # Set S Pick polarity if self.dicts[self.stPt].has_key('S'): if self.flagPhase==1 and event.key==self.dictKeybindings['setSPolUp']: self.delSLabel() self.dicts[self.stPt]['SPol']='up' self.drawSLabel() self.redraw() print "S Pick polarity set to %s"%self.dicts[self.stPt]['SPol'] if self.flagPhase==1 and event.key==self.dictKeybindings['setSPolPoorUp']: self.delSLabel() self.dicts[self.stPt]['SPol']='poorup' self.drawSLabel() self.redraw() print "S Pick polarity set to %s"%self.dicts[self.stPt]['SPol'] if self.flagPhase==1 and event.key==self.dictKeybindings['setSPolDown']: self.delSLabel() self.dicts[self.stPt]['SPol']='down' self.drawSLabel() self.redraw() print "S Pick polarity set to %s"%self.dicts[self.stPt]['SPol'] if self.flagPhase==1 and event.key==self.dictKeybindings['setSPolPoorDown']: self.delSLabel() self.dicts[self.stPt]['SPol']='poordown' self.drawSLabel() self.redraw() print "S Pick polarity set to %s"%self.dicts[self.stPt]['SPol'] # Set S Pick onset if self.dicts[self.stPt].has_key('S'): if self.flagPhase == 1 and event.key == self.dictKeybindings['setSOnsetImpulsive']: self.delSLabel() self.dicts[self.stPt]['SOnset'] = 'impulsive' self.drawSLabel() self.redraw() print "S pick onset set to %s" % self.dicts[self.stPt]['SOnset'] elif self.flagPhase == 1 and event.key == self.dictKeybindings['setSOnsetEmergent']: self.delSLabel() self.dicts[self.stPt]['SOnset'] = 'emergent' self.drawSLabel() self.redraw() print "S pick onset set to %s" % self.dicts[self.stPt]['SOnset'] # Remove P Pick if self.flagPhase==0 and event.key==self.dictKeybindings['delPick']: # Try to remove all existing Pick lines and P Pick variable self.delPLine() self.delP() self.delPWeight() self.delPPol() self.delPOnset() self.delPLabel() # Try to remove existing Pick Error 1 lines and variable self.delPErr1Line() self.delPErr1() # Try to remove existing Pick Error 2 lines and variable self.delPErr2Line() self.delPErr2() # Update all subplots self.redraw() # Remove S Pick if self.flagPhase==1 and event.key==self.dictKeybindings['delPick']: # Try to remove all existing Pick lines and P Pick variable self.delSLine() self.delS() self.delSWeight() self.delSPol() self.delSOnset() self.delSLabel() # Try to remove existing Pick Error 1 lines and variable self.delSErr1Line() self.delSErr1() # Try to remove existing Pick Error 2 lines and variable self.delSErr2Line() self.delSErr2() # Update all subplots self.redraw() # Set new P Pick uncertainties if self.flagPhase==0 and event.key==self.dictKeybindings['setPickError']: # Set Flag to determine scenario try: # Set left Error Pick if pickSample < self.dicts[self.stPt]['P']: errFlag=1 # Set right Error Pick else: errFlag=2 # Set no Error Pick (no P Pick yet) except: return # Case 1 if errFlag==1: # Define global variables seen outside # Remove old lines from the plot before plotting the new ones self.delPErr1Line() # Save time value of sample nearest to error pick self.dicts[self.stPt]['PErr1'] = pickSample # Plot the lines for the P Error pick in all three traces self.drawPErr1Line() # Update all subplots self.redraw() # Console output print "P Error Pick 1 set at %.3f" % \ self.dicts[self.stPt]['PErr1'] # Case 2 if errFlag==2: # Define global variables seen outside # Remove old lines from the plot before plotting the new ones self.delPErr2Line() # Save time value of sample nearest to error pick self.dicts[self.stPt]['PErr2'] = pickSample # Plot the lines for the P Error pick in all three traces self.drawPErr2Line() # Update all subplots self.redraw() # Console output print "P Error Pick 2 set at %.3f" % \ self.dicts[self.stPt]['PErr2'] # Set new S Pick uncertainties if self.flagPhase==1 and event.key==self.dictKeybindings['setPickError']: # Set Flag to determine scenario try: # Set left Error Pick if pickSample < self.dicts[self.stPt]['S']: errFlag=1 # Set right Error Pick else: errFlag=2 # Set no Error Pick (no S Pick yet) except: return # Case 1 if errFlag==1: # Define global variables seen outside # Remove old lines from the plot before plotting the new ones self.delSErr1Line() # Save sample value of error pick (round to integer sample value) self.dicts[self.stPt]['SErr1'] = pickSample # Plot the lines for the S Error pick in all three traces self.drawSErr1Line() # Update all subplots self.redraw() # Console output print "S Error Pick 1 set at %.3f" % \ self.dicts[self.stPt]['SErr1'] # Case 2 if errFlag==2: # Define global variables seen outside # Remove old lines from the plot before plotting the new ones self.delSErr2Line() # Save sample value of error pick (round to integer sample value) self.dicts[self.stPt]['SErr2'] = pickSample # Plot the lines for the S Error pick in all three traces self.drawSErr2Line() # Update all subplots self.redraw() # Console output print "S Error Pick 2 set at %.3f" % \ self.dicts[self.stPt]['SErr2'] # Magnitude estimation picking: if self.flagPhase==2 and event.key==self.dictKeybindings['setMagMin'] and len(self.axs) > 2: if event.inaxes == self.axs[1]: self.delMagMinCross1() ydata=event.inaxes.lines[0].get_ydata() #get the first line hoping that it is the seismogram! cutoffSamples=xpos-self.magPickWindow #remember, how much samples there are before our small window! We have to add this number for our MagMinT estimation! self.dicts[self.stPt]['MagMin1']=np.min(ydata[xpos-self.magPickWindow:xpos+self.magPickWindow]) # save time of magnitude minimum in seconds tmp_magtime = cutoffSamples + np.argmin(ydata[xpos-self.magPickWindow:xpos+self.magPickWindow]) tmp_magtime = tmp_magtime / samp_rate self.dicts[self.stPt]['MagMin1T'] = tmp_magtime #delete old MagMax Pick, if new MagMin Pick is higher try: if self.dicts[self.stPt]['MagMin1'] > self.dicts[self.stPt]['MagMax1']: self.delMagMaxCross1() self.delMagMax1() except: pass self.drawMagMinCross1() self.redraw() print "Minimum for magnitude estimation set: %s at %.3f" % \ (self.dicts[self.stPt]['MagMin1'], self.dicts[self.stPt]['MagMin1T']) elif event.inaxes == self.axs[2]: self.delMagMinCross2() ydata=event.inaxes.lines[0].get_ydata() #get the first line hoping that it is the seismogram! cutoffSamples=xpos-self.magPickWindow #remember, how much samples there are before our small window! We have to add this number for our MagMinT estimation! self.dicts[self.stPt]['MagMin2']=np.min(ydata[xpos-self.magPickWindow:xpos+self.magPickWindow]) # save time of magnitude minimum in seconds tmp_magtime = cutoffSamples + np.argmin(ydata[xpos-self.magPickWindow:xpos+self.magPickWindow]) tmp_magtime = tmp_magtime / samp_rate self.dicts[self.stPt]['MagMin2T'] = tmp_magtime #delete old MagMax Pick, if new MagMin Pick is higher try: if self.dicts[self.stPt]['MagMin2'] > self.dicts[self.stPt]['MagMax2']: self.delMagMaxCross2() self.delMagMax2() except: pass self.drawMagMinCross2() self.redraw() print "Minimum for magnitude estimation set: %s at %.3f" % \ (self.dicts[self.stPt]['MagMin2'], self.dicts[self.stPt]['MagMin2T']) if self.flagPhase==2 and event.key==self.dictKeybindings['setMagMax'] and len(self.axs) > 2: if event.inaxes == self.axs[1]: self.delMagMaxCross1() ydata=event.inaxes.lines[0].get_ydata() #get the first line hoping that it is the seismogram! cutoffSamples=xpos-self.magPickWindow #remember, how much samples there are before our small window! We have to add this number for our MagMinT estimation! self.dicts[self.stPt]['MagMax1']=np.max(ydata[xpos-self.magPickWindow:xpos+self.magPickWindow]) # save time of magnitude maximum in seconds tmp_magtime = cutoffSamples + np.argmax(ydata[xpos-self.magPickWindow:xpos+self.magPickWindow]) tmp_magtime = tmp_magtime / samp_rate self.dicts[self.stPt]['MagMax1T'] = tmp_magtime #delete old MagMax Pick, if new MagMax Pick is higher try: if self.dicts[self.stPt]['MagMin1'] > self.dicts[self.stPt]['MagMax1']: self.delMagMinCross1() self.delMagMin1() except: pass self.drawMagMaxCross1() self.redraw() print "Maximum for magnitude estimation set: %s at %.3f" % \ (self.dicts[self.stPt]['MagMax1'], self.dicts[self.stPt]['MagMax1T']) elif event.inaxes == self.axs[2]: self.delMagMaxCross2() ydata=event.inaxes.lines[0].get_ydata() #get the first line hoping that it is the seismogram! cutoffSamples=xpos-self.magPickWindow #remember, how much samples there are before our small window! We have to add this number for our MagMinT estimation! self.dicts[self.stPt]['MagMax2']=np.max(ydata[xpos-self.magPickWindow:xpos+self.magPickWindow]) # save time of magnitude maximum in seconds tmp_magtime = cutoffSamples + np.argmax(ydata[xpos-self.magPickWindow:xpos+self.magPickWindow]) tmp_magtime = tmp_magtime / samp_rate self.dicts[self.stPt]['MagMax2T'] = tmp_magtime #delete old MagMax Pick, if new MagMax Pick is higher try: if self.dicts[self.stPt]['MagMin2'] > self.dicts[self.stPt]['MagMax2']: self.delMagMinCross2() self.delMagMin2() except: pass self.drawMagMaxCross2() self.redraw() print "Maximum for magnitude estimation set: %s at %.3f" % \ (self.dicts[self.stPt]['MagMax2'],self.dicts[self.stPt]['MagMax2T']) if self.flagPhase == 2 and event.key == self.dictKeybindings['delMagMinMax']: if event.inaxes == self.axs[1]: self.delMagMaxCross1() self.delMagMinCross1() self.delMagMin1() self.delMagMax1() elif event.inaxes == self.axs[2]: self.delMagMaxCross2() self.delMagMinCross2() self.delMagMin2() self.delMagMax2() else: return self.redraw() | b822b77814749ba0fa0b0a638d2c2e8ccf514f6c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10470/b822b77814749ba0fa0b0a638d2c2e8ccf514f6c/obspyck.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6002,
12,
2890,
16,
871,
4672,
468,
5666,
2359,
1966,
31,
2359,
1966,
18,
542,
67,
5129,
1435,
468,
3218,
2545,
358,
3643,
628,
326,
6002,
310,
2117,
358,
468,
5787,
813,
460,
434,
326,
11431,
813,
3296,
30,
10747,
67,
5141,
273,
365,
18,
16320,
63,
2890,
18,
334,
16484,
6362,
20,
8009,
5296,
18,
23002,
67,
5141,
6002,
8504,
273,
871,
18,
92,
892,
380,
10747,
67,
5141,
6002,
8504,
273,
3643,
12,
11503,
8504,
13,
6002,
8504,
273,
6002,
8504,
342,
10747,
67,
5141,
468,
732,
1608,
326,
1754,
434,
326,
3347,
2117,
468,
316,
326,
695,
6228,
5553,
526,
30,
30031,
273,
6002,
8504,
380,
10747,
67,
5141,
225,
468,
1000,
394,
453,
23038,
309,
365,
18,
6420,
11406,
631,
20,
471,
871,
18,
856,
631,
2890,
18,
1576,
653,
15863,
3292,
542,
17968,
3546,
30,
365,
18,
3771,
52,
1670,
1435,
365,
18,
3771,
52,
2224,
1435,
365,
18,
3771,
52,
11982,
451,
1670,
1435,
365,
18,
16287,
63,
2890,
18,
334,
16484,
23962,
52,
3546,
273,
6002,
8504,
365,
18,
9446,
52,
1670,
1435,
365,
18,
9446,
52,
2224,
1435,
365,
18,
9446,
52,
11982,
451,
1670,
1435,
365,
18,
9446,
52,
11982,
451,
2224,
1435,
468,
1893,
309,
326,
394,
453,
6002,
328,
606,
8220,
434,
326,
1068,
453,
20642,
775,
30,
309,
365,
18,
16287,
63,
2890,
18,
334,
16484,
23962,
52,
3546,
32,
2890,
18,
16287,
63,
2890,
18,
334,
16484,
23962,
1423,
523,
21,
3546,
30,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6002,
12,
2890,
16,
871,
4672,
468,
5666,
2359,
1966,
31,
2359,
1966,
18,
542,
67,
5129,
1435,
468,
3218,
2545,
358,
3643,
628,
326,
6002,
310,
2117,
358,
468,
5787,
813,
460,
434,
326,
11431,
813,
3296,
30,
10747,
67,
5141,
273,
365,
18,
16320,
63,
2890,
18,
334,
16484,
6362,
20,
8009,
5296,
18,
23002,
67,
5141,
6002,
8504,
273,
871,
18,
92,
892,
380,
10747,
67,
5141,
6002,
8504,
273,
3643,
12,
11503,
8504,
13,
6002,
8504,
273,
6002,
8504,
342,
10747,
67,
5141,
468,
732,
1608,
326,
1754,
434,
326,
3347,
2117,
468,
316,
326,
695,
6228,
5553,
526,
30,
30031,
273,
6002,
8504,
380,
10747,
67,
5141,
225,
468,
1000,
394,
453,
23038,
2
] |
actor = vtk.vtkTextActor() | actor = vtk.vtkTextActor() | def __init__(self): | 5d5cd99a1c1efaf0ffb78b152f96c66ac44cfd60 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10228/5d5cd99a1c1efaf0ffb78b152f96c66ac44cfd60/vtk_utils.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
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
] |
if v.message != 32 or not self.auto_open: | if v.args[0] != 32 or not self.auto_open: | def request(self, method, url, body=None, headers={}): """Send a complete request to the server.""" | 1d6ba71bcaa05e769688a67865f6a2377c37bff0 /local1/tlutelli/issta_data/temp/all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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
590,
12,
2890,
16,
707,
16,
880,
16,
1417,
33,
7036,
16,
1607,
12938,
4672,
3536,
3826,
279,
3912,
590,
358,
326,
1438,
12123,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
'coordinates': get_coordinates(geometry)} | 'coordinates': get_coordinates(self)} | def get_coordinates(geometry): gtype = geometry.GetGeometryType() geom_count = geometry.GetGeometryCount() coordinates = [] | f3c97359caf81e28f92b4ec9b4bd28269c54ae44 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10289/f3c97359caf81e28f92b4ec9b4bd28269c54ae44/ogr.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
16941,
12,
14330,
4672,
314,
723,
273,
5316,
18,
967,
9823,
559,
1435,
7364,
67,
1883,
273,
5316,
18,
967,
9823,
1380,
1435,
5513,
273,
5378,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
16941,
12,
14330,
4672,
314,
723,
273,
5316,
18,
967,
9823,
559,
1435,
7364,
67,
1883,
273,
5316,
18,
967,
9823,
1380,
1435,
5513,
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
] |
slen, raw = ord(raw[0]), raw[1:] | slen, raw = consume_utf8_length(raw) | def _read_manifest(self): if '/manifest' not in self.entries: raise LitError('Lit file does not have a valid manifest') raw = self.get_file('/manifest') self.manifest = {} while raw: slen, raw = ord(raw[0]), raw[1:] if slen == 0: break root, raw = raw[:slen].decode('utf8'), raw[slen:] if not raw: raise LitError('Truncated manifest') for state in ['spine', 'not spine', 'css', 'images']: num_files, raw = int32(raw), raw[4:] if num_files == 0: continue for i in xrange(num_files): if len(raw) < 5: raise LitError('Truncated manifest') offset, raw = u32(raw), raw[4:] slen, raw = ord(raw[0]), raw[1:] internal, raw = raw[:slen].decode('utf8'), raw[slen:] slen, raw = ord(raw[0]), raw[1:] original, raw = raw[:slen].decode('utf8'), raw[slen:] slen, raw = ord(raw[0]), raw[1:] mime_type, raw = raw[:slen].decode('utf8'), raw[slen+1:] self.manifest[internal] = ManifestItem( original, internal, mime_type, offset, root, state) mlist = self.manifest.values() shared = mlist[0].path for item in mlist[1:]: path = item.path while shared and not path.startswith(shared): try: shared = shared[:shared.rindex("/", 0, -2) + 1] except ValueError: shared = None if not shared: break if shared: slen = len(shared) for item in mlist: item.path = item.path[slen:] | 1eba7afa35284fba49addae1594c0ae0751f3555 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9125/1eba7afa35284fba49addae1594c0ae0751f3555/reader.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
896,
67,
14357,
12,
2890,
4672,
309,
1173,
14357,
11,
486,
316,
365,
18,
8219,
30,
1002,
511,
305,
668,
2668,
23707,
585,
1552,
486,
1240,
279,
923,
5643,
6134,
1831,
273,
365,
18,
588,
67,
768,
2668,
19,
14357,
6134,
365,
18,
14357,
273,
2618,
1323,
1831,
30,
272,
1897,
16,
1831,
273,
7865,
67,
3158,
28,
67,
2469,
12,
1899,
13,
309,
272,
1897,
422,
374,
30,
898,
1365,
16,
1831,
273,
1831,
10531,
87,
1897,
8009,
3922,
2668,
3158,
28,
19899,
1831,
63,
87,
1897,
26894,
309,
486,
1831,
30,
1002,
511,
305,
668,
2668,
23825,
5643,
6134,
364,
919,
316,
10228,
1752,
558,
2187,
296,
902,
1694,
558,
2187,
296,
5212,
2187,
296,
7369,
3546,
30,
818,
67,
2354,
16,
1831,
273,
509,
1578,
12,
1899,
3631,
1831,
63,
24,
26894,
309,
818,
67,
2354,
422,
374,
30,
1324,
364,
277,
316,
12314,
12,
2107,
67,
2354,
4672,
309,
562,
12,
1899,
13,
411,
1381,
30,
1002,
511,
305,
668,
2668,
23825,
5643,
6134,
1384,
16,
1831,
273,
582,
1578,
12,
1899,
3631,
1831,
63,
24,
26894,
272,
1897,
16,
1831,
273,
7865,
67,
3158,
28,
67,
2469,
12,
1899,
13,
2713,
16,
1831,
273,
1831,
10531,
87,
1897,
8009,
3922,
2668,
3158,
28,
19899,
1831,
63,
87,
1897,
26894,
272,
1897,
16,
1831,
273,
7865,
67,
3158,
28,
67,
2469,
12,
1899,
13,
2282,
16,
1831,
273,
1831,
10531,
87,
1897,
8009,
3922,
2668,
3158,
28,
19899,
1831,
63,
87,
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,
896,
67,
14357,
12,
2890,
4672,
309,
1173,
14357,
11,
486,
316,
365,
18,
8219,
30,
1002,
511,
305,
668,
2668,
23707,
585,
1552,
486,
1240,
279,
923,
5643,
6134,
1831,
273,
365,
18,
588,
67,
768,
2668,
19,
14357,
6134,
365,
18,
14357,
273,
2618,
1323,
1831,
30,
272,
1897,
16,
1831,
273,
7865,
67,
3158,
28,
67,
2469,
12,
1899,
13,
309,
272,
1897,
422,
374,
30,
898,
1365,
16,
1831,
273,
1831,
10531,
87,
1897,
8009,
3922,
2668,
3158,
28,
19899,
1831,
63,
87,
1897,
26894,
309,
486,
1831,
30,
1002,
511,
305,
668,
2668,
23825,
5643,
6134,
364,
919,
316,
10228,
1752,
558,
2187,
296,
902,
1694,
558,
2187,
296,
5212,
2187,
296,
2
] |
self.exportAttributes(outfile, level, namespace_, name_='ContinuousChar') | self.exportAttributes(outfile, level, [], namespace_, name_='ContinuousChar') | def export(self, outfile, level, namespace_='', name_='ContinuousChar', namespacedef_=''): showIndent(outfile, level) outfile.write('<%s%s%s' % (namespace_, name_, namespacedef_ and ' ' + namespacedef_ or '', )) self.exportAttributes(outfile, level, namespace_, name_='ContinuousChar') if self.hasContent_(): outfile.write('>\n') self.exportChildren(outfile, level + 1, namespace_, name_) showIndent(outfile, level) outfile.write('</%s%s>\n' % (namespace_, name_)) else: outfile.write('/>\n') | 10f2a4b3101435822c472af9b202a5a0bb496366 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14016/10f2a4b3101435822c472af9b202a5a0bb496366/_nexml.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3359,
12,
2890,
16,
8756,
16,
1801,
16,
1981,
67,
2218,
2187,
508,
67,
2218,
26509,
2156,
2187,
1981,
536,
67,
2218,
11,
4672,
2405,
7790,
12,
26050,
16,
1801,
13,
8756,
18,
2626,
2668,
32,
9,
87,
9,
87,
9,
87,
11,
738,
261,
4937,
67,
16,
508,
67,
16,
1981,
536,
67,
471,
296,
296,
397,
1981,
536,
67,
578,
10226,
8623,
365,
18,
6530,
2498,
12,
26050,
16,
1801,
16,
5378,
16,
1981,
67,
16,
508,
67,
2218,
26509,
2156,
6134,
309,
365,
18,
5332,
1350,
67,
13332,
8756,
18,
2626,
2668,
5333,
82,
6134,
365,
18,
6530,
4212,
12,
26050,
16,
1801,
397,
404,
16,
1981,
67,
16,
508,
67,
13,
2405,
7790,
12,
26050,
16,
1801,
13,
8756,
18,
2626,
2668,
1757,
9,
87,
9,
87,
5333,
82,
11,
738,
261,
4937,
67,
16,
508,
67,
3719,
469,
30,
8756,
18,
2626,
2668,
19,
5333,
82,
6134,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
2187,
508,
67,
2218,
26509,
2156,
2187,
1981,
536,
67,
2218,
11,
4672,
2405,
7790,
12,
26050,
16,
1801,
13,
8756,
18,
2626,
2668,
32,
9,
87,
9,
87,
9,
87,
11,
738,
261,
4937,
67,
16,
508,
67,
16,
1981,
536,
67,
471,
296,
296,
397,
1981,
536,
67,
578,
10226,
8623,
365,
18,
6530,
2498,
12,
26050,
16,
1801,
16,
5378,
16,
1981,
67,
16,
508,
67,
2218,
26509,
2156,
6134,
309,
365,
18,
5332,
1350,
67,
13332,
8756,
18,
2626,
2668,
5333,
82,
6134,
365,
18,
6530,
4212,
12,
26050,
16,
1801,
397,
404,
16,
1981,
67,
16,
508,
67,
13,
2405,
7790,
12,
2
] |
print_undoc_symbols(PREFIX, docdir, incdir) | print_undoc_symbols(PREFIXES, docdir, incdir) | def print_undoc_symbols(prefix, docdir, incdir): docs = [] for sect in DOCSECTIONS: for file in glob.glob(os.path.join(docdir, sect, "*.tex")): docs.append(open(file).read()) docs = "\n".join(docs) incfiles = os.path.join(incdir, INCLUDEPATTERN) fp = os.popen("ctags -IDL_IMPORT --c-types=%s -f - %s" % (TAG_KINDS, incfiles)) dict = findnames(fp, prefix) names = dict.keys() names.sort() for name in names: if docs.find(name) == -1: print dict[name], name | 3765bd23f1517b1a04fc6472a2ca1e8ea61a227f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/3765bd23f1517b1a04fc6472a2ca1e8ea61a227f/undoc_symbols.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1172,
67,
1074,
504,
67,
15536,
12,
3239,
16,
997,
1214,
16,
7290,
1214,
4672,
3270,
273,
5378,
225,
364,
29140,
316,
5467,
39,
19082,
55,
30,
364,
585,
316,
4715,
18,
10581,
12,
538,
18,
803,
18,
5701,
12,
2434,
1214,
16,
29140,
16,
315,
11146,
21763,
6,
3719,
30,
3270,
18,
6923,
12,
3190,
12,
768,
2934,
896,
10756,
225,
3270,
273,
1548,
82,
9654,
5701,
12,
8532,
13,
225,
7290,
2354,
273,
1140,
18,
803,
18,
5701,
12,
9523,
1214,
16,
28062,
10831,
13,
225,
4253,
273,
1140,
18,
84,
3190,
2932,
299,
1341,
300,
734,
48,
67,
20445,
1493,
71,
17,
2352,
5095,
87,
300,
74,
300,
738,
87,
6,
738,
261,
7927,
67,
47,
2356,
55,
16,
7290,
2354,
3719,
2065,
273,
1104,
1973,
12,
7944,
16,
1633,
13,
1257,
273,
2065,
18,
2452,
1435,
1257,
18,
3804,
1435,
364,
508,
316,
1257,
30,
309,
3270,
18,
4720,
12,
529,
13,
422,
300,
21,
30,
1172,
2065,
63,
529,
6487,
508,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1074,
504,
67,
15536,
12,
3239,
16,
997,
1214,
16,
7290,
1214,
4672,
3270,
273,
5378,
225,
364,
29140,
316,
5467,
39,
19082,
55,
30,
364,
585,
316,
4715,
18,
10581,
12,
538,
18,
803,
18,
5701,
12,
2434,
1214,
16,
29140,
16,
315,
11146,
21763,
6,
3719,
30,
3270,
18,
6923,
12,
3190,
12,
768,
2934,
896,
10756,
225,
3270,
273,
1548,
82,
9654,
5701,
12,
8532,
13,
225,
7290,
2354,
273,
1140,
18,
803,
18,
5701,
12,
9523,
1214,
16,
28062,
10831,
13,
225,
4253,
273,
1140,
18,
84,
3190,
2932,
299,
1341,
300,
734,
48,
67,
20445,
1493,
71,
17,
2352,
5095,
87,
300,
74,
300,
738,
87,
6,
738,
261,
7927,
67,
2
] |
Example ------- | Examples -------- | def cublasDnrm2(n, x, incx): """ Euclidean norm (2-norm) of real vector. Computes the Euclidean norm of a real double-precision vector. Parameters ---------- n : int Number of elements in input vectors. x : ctypes.c_void_p Pointer to double-precision input vector. incx : int Storage spacing between elements of `x`. Returns ------- nrm : numpy.float64 Euclidean norm of `x`. Example ------- >>> import pycuda.autoinit >>> import pycuda.gpuarray as gpuarray >>> import numpy as np >>> x = np.random.rand(5).astype(np.float64) >>> x_gpu = gpuarray.to_gpu(x) >>> nrm = cublasDnrm2(x.size, x_gpu.gpudata, 1) >>> np.allclose(nrm, np.linalg.norm(x)) True """ a = _libcublas.cublasDnrm2(n, int(x), incx) status = cublasGetError() cublasCheckStatus(status) return np.float64(a) | f3eb0a79d8c436d509dec60f91ff7a7dcced528c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14753/f3eb0a79d8c436d509dec60f91ff7a7dcced528c/cublas.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
276,
30579,
19053,
8864,
22,
12,
82,
16,
619,
16,
7290,
92,
4672,
3536,
512,
22392,
4651,
261,
22,
17,
7959,
13,
434,
2863,
3806,
18,
225,
14169,
281,
326,
512,
22392,
4651,
434,
279,
2863,
1645,
17,
14548,
3806,
18,
225,
7012,
12181,
290,
294,
509,
3588,
434,
2186,
316,
810,
10046,
18,
619,
294,
6983,
18,
71,
67,
6459,
67,
84,
7107,
358,
1645,
17,
14548,
810,
3806,
18,
7290,
92,
294,
509,
5235,
13259,
3086,
2186,
434,
1375,
92,
8338,
225,
2860,
18365,
290,
8864,
294,
3972,
18,
5659,
1105,
512,
22392,
4651,
434,
1375,
92,
8338,
225,
19830,
27093,
4080,
1930,
2395,
71,
13177,
18,
5854,
885,
305,
4080,
1930,
2395,
71,
13177,
18,
23162,
1126,
487,
21810,
1126,
4080,
1930,
3972,
487,
1130,
4080,
619,
273,
1130,
18,
9188,
18,
7884,
12,
25,
2934,
689,
388,
12,
6782,
18,
5659,
1105,
13,
4080,
619,
67,
23162,
273,
21810,
1126,
18,
869,
67,
23162,
12,
92,
13,
4080,
290,
8864,
273,
276,
30579,
19053,
8864,
22,
12,
92,
18,
1467,
16,
619,
67,
23162,
18,
23162,
892,
16,
404,
13,
4080,
1130,
18,
454,
4412,
12,
82,
8864,
16,
1130,
18,
80,
11521,
18,
7959,
12,
92,
3719,
1053,
225,
3536,
225,
279,
273,
389,
2941,
71,
30579,
18,
71,
30579,
19053,
8864,
22,
12,
82,
16,
509,
12,
92,
3631,
7290,
92,
13,
1267,
273,
276,
30579,
967,
668,
1435,
276,
30579,
1564,
1482,
12,
2327,
13,
327,
1130,
18,
5659,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
276,
30579,
19053,
8864,
22,
12,
82,
16,
619,
16,
7290,
92,
4672,
3536,
512,
22392,
4651,
261,
22,
17,
7959,
13,
434,
2863,
3806,
18,
225,
14169,
281,
326,
512,
22392,
4651,
434,
279,
2863,
1645,
17,
14548,
3806,
18,
225,
7012,
12181,
290,
294,
509,
3588,
434,
2186,
316,
810,
10046,
18,
619,
294,
6983,
18,
71,
67,
6459,
67,
84,
7107,
358,
1645,
17,
14548,
810,
3806,
18,
7290,
92,
294,
509,
5235,
13259,
3086,
2186,
434,
1375,
92,
8338,
225,
2860,
18365,
290,
8864,
294,
3972,
18,
5659,
1105,
512,
22392,
4651,
434,
1375,
92,
8338,
225,
19830,
27093,
4080,
1930,
2395,
71,
13177,
18,
5854,
885,
305,
4080,
1930,
2395,
71,
13177,
18,
2
] |
_active.append(self) | def __init__(self, args, bufsize=0, executable=None, stdin=None, stdout=None, stderr=None, preexec_fn=None, close_fds=False, shell=False, cwd=None, env=None, universal_newlines=False, startupinfo=None, creationflags=0): """Create new Popen instance.""" _cleanup() | 091f97ac75923a9f8149f440cdb29114d4267997 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/091f97ac75923a9f8149f440cdb29114d4267997/subprocess.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
833,
16,
1681,
1467,
33,
20,
16,
9070,
33,
7036,
16,
8801,
33,
7036,
16,
3909,
33,
7036,
16,
4514,
33,
7036,
16,
675,
4177,
67,
4293,
33,
7036,
16,
1746,
67,
74,
2377,
33,
8381,
16,
5972,
33,
8381,
16,
7239,
33,
7036,
16,
1550,
33,
7036,
16,
26182,
67,
31276,
33,
8381,
16,
11850,
1376,
33,
7036,
16,
6710,
7133,
33,
20,
4672,
3536,
1684,
394,
14339,
791,
12123,
389,
16732,
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,
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,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
833,
16,
1681,
1467,
33,
20,
16,
9070,
33,
7036,
16,
8801,
33,
7036,
16,
3909,
33,
7036,
16,
4514,
33,
7036,
16,
675,
4177,
67,
4293,
33,
7036,
16,
1746,
67,
74,
2377,
33,
8381,
16,
5972,
33,
8381,
16,
7239,
33,
7036,
16,
1550,
33,
7036,
16,
26182,
67,
31276,
33,
8381,
16,
11850,
1376,
33,
7036,
16,
6710,
7133,
33,
20,
4672,
3536,
1684,
394,
14339,
791,
12123,
389,
16732,
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
] | |
self.__character = character | def __init__(self, character, weight): self.__level = character.modulus() self.__character = character self.__P1 = p1list.P1List(self.level()) # The list returned from P1List is guaranteed to be sorted. # Thus each list constructed below is also sorted. This is # important since the index function assumes the list is sorted. L = [(i, u, v) for i in range(weight-2+1) \ for u, v in self.__P1.list()] | f01e95305ef47ec6d1b6fc037549dd29c31e2dcf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/f01e95305ef47ec6d1b6fc037549dd29c31e2dcf/manin_symbols.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
3351,
16,
3119,
4672,
365,
16186,
2815,
273,
3351,
18,
1711,
17284,
1435,
365,
16186,
52,
21,
273,
293,
21,
1098,
18,
52,
21,
682,
12,
2890,
18,
2815,
10756,
468,
1021,
666,
2106,
628,
453,
21,
682,
353,
15403,
358,
506,
3115,
18,
468,
22073,
1517,
666,
15688,
5712,
353,
2546,
3115,
18,
225,
1220,
353,
468,
10802,
3241,
326,
770,
445,
13041,
326,
666,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
3351,
16,
3119,
4672,
365,
16186,
2815,
273,
3351,
18,
1711,
17284,
1435,
365,
16186,
52,
21,
273,
293,
21,
1098,
18,
52,
21,
682,
12,
2890,
18,
2815,
10756,
468,
1021,
666,
2106,
628,
453,
21,
682,
353,
15403,
358,
506,
3115,
18,
468,
22073,
1517,
666,
15688,
5712,
353,
2546,
3115,
18,
225,
1220,
353,
468,
10802,
3241,
326,
770,
445,
13041,
326,
666,
353,
3115,
18,
511,
273,
306,
12,
77,
16,
582,
16,
331,
13,
364,
277,
316,
1048,
12,
4865,
17,
22,
15,
21,
13,
521,
364,
582,
16,
331,
316,
365,
16186,
52,
21,
18,
1098,
1435,
65,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] | |
command = 'CONVERT_PDF\nPATH=%s\n' % (absdocpath,) result = self.sendRequest(command) return result | return absdocpath | def convertToPDF(self, filename, data): """Send a request to a running pyuno server to convert to PDF. | ddf7bf8471df24d5d021583656effd577dadfe80 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9162/ddf7bf8471df24d5d021583656effd577dadfe80/client.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8137,
17508,
12,
2890,
16,
1544,
16,
501,
4672,
3536,
3826,
279,
590,
358,
279,
3549,
2395,
318,
83,
1438,
358,
1765,
358,
12667,
18,
2,
0,
0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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8137,
17508,
12,
2890,
16,
1544,
16,
501,
4672,
3536,
3826,
279,
590,
358,
279,
3549,
2395,
318,
83,
1438,
358,
1765,
358,
12667,
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
] |
def do_forecasts(self, city): | def do_forecasts(self, line): | def do_forecasts(self, city): """ forecasts CITY | 8827b15496f5f474965b352a253dfc2648a268e0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7471/8827b15496f5f474965b352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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
1405,
4155,
87,
12,
2890,
16,
980,
4672,
3536,
18763,
87,
385,
4107,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
form_fs = self.get_fs_layout_content(portal_meta, skin_id, scheme_id, file_id, rtype) | form_fs = self.get_fs_layout_content(portal, skin_id, scheme_id, file_id, rtype) | def updateLayoutForms(self, portal, locator, skin_id, f_action, file_id): """ reload Naaya portal layout files""" report = {} portal_path = portal.absolute_url(1) portal_meta = portal.meta_type file_custom = [] for fid in file_id.split(','): file_custom.append(fid.strip()) | ba7db54416bb4a2a8ec35d231a25c000f8c28f7e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3287/ba7db54416bb4a2a8ec35d231a25c000f8c28f7e/NaayaUpdater.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
3744,
18529,
12,
2890,
16,
11899,
16,
8871,
16,
18705,
67,
350,
16,
284,
67,
1128,
16,
585,
67,
350,
4672,
3536,
7749,
16350,
528,
69,
11899,
3511,
1390,
8395,
2605,
273,
2618,
11899,
67,
803,
273,
11899,
18,
12547,
67,
718,
12,
21,
13,
11899,
67,
3901,
273,
11899,
18,
3901,
67,
723,
585,
67,
3662,
273,
5378,
364,
13444,
316,
585,
67,
350,
18,
4939,
12,
17023,
4672,
585,
67,
3662,
18,
6923,
12,
27268,
18,
6406,
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,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
2605,
273,
2618,
11899,
67,
803,
273,
11899,
18,
12547,
67,
718,
12,
21,
13,
11899,
67,
3901,
273,
11899,
18,
3901,
67,
723,
585,
67,
3662,
273,
5378,
364,
13444,
316,
585,
67,
350,
18,
4939,
12,
17023,
4672,
585,
67,
3662,
18,
6923,
12,
27268,
18,
6406,
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
] |
newCacheWhitelist[cKey] = res[:-1] | newCacheWhitelist[cKey] = tuple(res[1:]) | def __cacheAllRefresh(self): """This method has to be called from synchronized block.""" if self.allDataCacheRefresh > time.time(): return | 2d6b03ec5735bdc3185b3b5ecbcfa402ac08edae /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5428/2d6b03ec5735bdc3185b3b5ecbcfa402ac08edae/ListBW.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2493,
1595,
8323,
12,
2890,
4672,
3536,
2503,
707,
711,
358,
506,
2566,
628,
3852,
1203,
12123,
309,
365,
18,
454,
751,
1649,
8323,
405,
813,
18,
957,
13332,
327,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2493,
1595,
8323,
12,
2890,
4672,
3536,
2503,
707,
711,
358,
506,
2566,
628,
3852,
1203,
12123,
309,
365,
18,
454,
751,
1649,
8323,
405,
813,
18,
957,
13332,
327,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
sys.stderr.write("'generate_hostconf = True' in main.mk.\n") | sys.stderr.write("'generate_hostconf = False' in main.mk.\n") | def read_all_autochecks(): global autochecks autochecks = [] for f in glob.glob(autochecksdir + '/*.mk'): try: autochecks += eval(file(f).read()) except SyntaxError,e: sys.stderr.write("Syntax error in file %s: %s\n" % (f, e)) sys.exit(3) except Exception, e: sys.stderr.write("Error in file %s:\n%s\n" % (f, e)) sys.exit(3) # Exchange inventorized check parameters with those configured by # the user. if check_parameters != []: new_autochecks = [] for autocheck in autochecks: host, checktype, item, params = autocheck descr = service_description(checktype, item) entries = service_extra_conf(host, descr, check_parameters) if len(entries) > 0: new_autochecks.append( (host, checktype, item, entries[0] ) ) else: new_autochecks.append(autocheck) # leave unchanged autochecks = new_autochecks | 0797f5629eab93c749801724afe7c6bdf113f63c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5589/0797f5629eab93c749801724afe7c6bdf113f63c/check_mk.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
67,
454,
67,
6079,
12366,
13332,
2552,
3656,
12366,
3656,
12366,
273,
5378,
364,
284,
316,
4715,
18,
10581,
12,
6079,
12366,
1214,
397,
1173,
11146,
24816,
11,
4672,
775,
30,
3656,
12366,
1011,
5302,
12,
768,
12,
74,
2934,
896,
10756,
1335,
18453,
16,
73,
30,
2589,
18,
11241,
18,
2626,
2932,
8070,
555,
316,
585,
738,
87,
30,
738,
87,
64,
82,
6,
738,
261,
74,
16,
425,
3719,
2589,
18,
8593,
12,
23,
13,
1335,
1185,
16,
425,
30,
2589,
18,
11241,
18,
2626,
2932,
668,
316,
585,
738,
87,
5581,
82,
9,
87,
64,
82,
6,
738,
261,
74,
16,
425,
3719,
2589,
18,
8593,
12,
23,
13,
468,
18903,
316,
616,
280,
1235,
866,
1472,
598,
5348,
4351,
635,
468,
326,
729,
18,
309,
866,
67,
3977,
480,
5378,
30,
394,
67,
6079,
12366,
273,
5378,
364,
3656,
1893,
316,
3656,
12366,
30,
1479,
16,
866,
723,
16,
761,
16,
859,
273,
3656,
1893,
18426,
273,
1156,
67,
3384,
12,
1893,
723,
16,
761,
13,
3222,
273,
1156,
67,
7763,
67,
3923,
12,
2564,
16,
18426,
16,
866,
67,
3977,
13,
309,
562,
12,
8219,
13,
405,
374,
30,
394,
67,
6079,
12366,
18,
6923,
12,
261,
2564,
16,
866,
723,
16,
761,
16,
3222,
63,
20,
65,
262,
262,
469,
30,
394,
67,
6079,
12366,
18,
6923,
12,
6079,
1893,
13,
468,
8851,
14827,
3656,
12366,
273,
394,
67,
6079,
12366,
225,
2,
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,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
67,
454,
67,
6079,
12366,
13332,
2552,
3656,
12366,
3656,
12366,
273,
5378,
364,
284,
316,
4715,
18,
10581,
12,
6079,
12366,
1214,
397,
1173,
11146,
24816,
11,
4672,
775,
30,
3656,
12366,
1011,
5302,
12,
768,
12,
74,
2934,
896,
10756,
1335,
18453,
16,
73,
30,
2589,
18,
11241,
18,
2626,
2932,
8070,
555,
316,
585,
738,
87,
30,
738,
87,
64,
82,
6,
738,
261,
74,
16,
425,
3719,
2589,
18,
8593,
12,
23,
13,
1335,
1185,
16,
425,
30,
2589,
18,
11241,
18,
2626,
2932,
668,
316,
585,
738,
87,
5581,
82,
9,
87,
64,
82,
6,
738,
261,
74,
16,
425,
3719,
2589,
18,
8593,
12,
23,
13,
468,
18903,
316,
616,
280,
2
] |
cmd = "chown %s:%s"%(instr.new_user, instr.new_group) | cmd = "chown --no-dereference %s:%s"%(instr.new_user, instr.new_group) | def apply(self, builder, instr, role, path): #print "path = %s"%path dp = filespec.FSFileSpecDataProvider(path) files = dp.abs_match(instr.filespec) if (instr.new_user is None): cmd = "chgrp %s"%(instr.new_group) elif (instr.new_group is None): cmd = "chown %s"%(instr.new_user) else: cmd = "chown %s:%s"%(instr.new_user, instr.new_group) | aa04e24d82d850be1b6ba75142138081011efa52 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4427/aa04e24d82d850be1b6ba75142138081011efa52/filedep.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2230,
12,
2890,
16,
2089,
16,
16170,
16,
2478,
16,
589,
4672,
225,
468,
1188,
315,
803,
273,
738,
87,
28385,
803,
9986,
273,
1390,
705,
18,
4931,
812,
1990,
20757,
12,
803,
13,
1390,
273,
9986,
18,
5113,
67,
1916,
12,
267,
701,
18,
2354,
705,
13,
309,
261,
267,
701,
18,
2704,
67,
1355,
353,
599,
4672,
1797,
273,
315,
343,
17532,
738,
87,
6,
17105,
267,
701,
18,
2704,
67,
1655,
13,
1327,
261,
267,
701,
18,
2704,
67,
1655,
353,
599,
4672,
1797,
273,
315,
343,
995,
738,
87,
6,
17105,
267,
701,
18,
2704,
67,
1355,
13,
469,
30,
1797,
273,
315,
343,
995,
738,
87,
5319,
87,
6,
17105,
267,
701,
18,
2704,
67,
1355,
16,
16170,
18,
2704,
67,
1655,
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,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990,
20757,
12,
803,
13,
1390,
273,
9986,
18,
5113,
67,
1916,
12,
267,
701,
18,
2354,
705,
13,
309,
261,
267,
701,
18,
2704,
67,
1355,
353,
599,
4672,
1797,
273,
315,
343,
17532,
738,
87,
6,
17105,
267,
701,
18,
2704,
67,
1655,
13,
1327,
261,
267,
701,
18,
2704,
67,
1655,
353,
599,
4672,
1797,
273,
315,
343,
995,
738,
87,
6,
17105,
267,
701,
18,
2704,
67,
1355,
13,
469,
30,
1797,
273,
315,
343,
995,
738,
87,
5319,
87,
6,
17105,
267,
701,
18,
2
] |
data = f.read( ) | data = f.read( ).splitlines( ) | def plot_hpgl(file): '''Send an HPGL file to the plotter found connected to the computer.''' f = open(file, 'r') data = f.read( ) f.close( ) plotter = instantiate_plotter( ) plotter.write(data) | 900ee970e8d7085bcf26502d0f42cb437198bd54 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3716/900ee970e8d7085bcf26502d0f42cb437198bd54/plot-hpgl.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3207,
67,
15373,
7043,
12,
768,
4672,
9163,
3826,
392,
670,
52,
11261,
585,
358,
326,
3207,
387,
1392,
5840,
358,
326,
26579,
1093,
6309,
284,
273,
1696,
12,
768,
16,
296,
86,
6134,
501,
273,
284,
18,
896,
12,
262,
18,
4939,
3548,
12,
262,
284,
18,
4412,
12,
262,
225,
3207,
387,
273,
10275,
67,
4032,
387,
12,
262,
3207,
387,
18,
2626,
12,
892,
13,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3207,
67,
15373,
7043,
12,
768,
4672,
9163,
3826,
392,
670,
52,
11261,
585,
358,
326,
3207,
387,
1392,
5840,
358,
326,
26579,
1093,
6309,
284,
273,
1696,
12,
768,
16,
296,
86,
6134,
501,
273,
284,
18,
896,
12,
262,
18,
4939,
3548,
12,
262,
284,
18,
4412,
12,
262,
225,
3207,
387,
273,
10275,
67,
4032,
387,
12,
262,
3207,
387,
18,
2626,
12,
892,
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
] |
gtk.threads_enter() | def _display(): self.__fileview.clear() self.set_long_title(shorten_home_name(directory)) self.__currentdirectory = directory globaldict = {'directory':directory} try: contexts = self.service.boss.call_command('contexts', 'get_contexts', contextname='directory', globaldict=globaldict) self.__toolbar.set_contexts(contexts) except self.service.boss.ServiceNotFoundError: pass | dc8a3196a85275351261f3901d9cb0737707794a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2233/dc8a3196a85275351261f3901d9cb0737707794a/filemanager.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
5417,
13332,
365,
16186,
768,
1945,
18,
8507,
1435,
365,
18,
542,
67,
5748,
67,
2649,
12,
6620,
275,
67,
8712,
67,
529,
12,
5149,
3719,
365,
16186,
2972,
5149,
273,
1867,
2552,
1576,
273,
13666,
5149,
4278,
5149,
97,
775,
30,
5781,
273,
365,
18,
3278,
18,
70,
8464,
18,
1991,
67,
3076,
2668,
18332,
2187,
296,
588,
67,
18332,
2187,
819,
529,
2218,
5149,
2187,
2552,
1576,
33,
6347,
1576,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
5417,
13332,
365,
16186,
768,
1945,
18,
8507,
1435,
365,
18,
542,
67,
5748,
67,
2649,
12,
6620,
275,
67,
8712,
67,
529,
12,
5149,
3719,
365,
16186,
2972,
5149,
273,
1867,
2552,
1576,
273,
13666,
5149,
4278,
5149,
97,
775,
30,
5781,
273,
365,
18,
3278,
18,
70,
8464,
18,
1991,
67,
3076,
2668,
18332,
2187,
296,
588,
67,
18332,
2187,
819,
529,
2218,
5149,
2187,
2552,
1576,
33,
6347,
1576,
13,
365,
16186,
18849,
18,
542,
67,
18332,
12,
18332,
13,
1335,
365,
18,
3278,
18,
70,
8464,
18,
1179,
13276,
30,
1342,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] | |
if tag != self.mru[-1] and tag not in self.ignore: self.mru.append(tag) self.mru = self.mru[-10:] | if tag not in self.ignore: if self.idx < -1: self.mru = self.mru[:self.idx + 1] self.idx = -1 if self.mru and datetime.now() - self.lastselect < timedelta(seconds=.5): self.mru[self.idx] = tag elif tag != self.mru[-1]: self.mru.append(tag) self.mru = self.mru[-10:] self.lastselect = datetime.now() | def select(self, tag): if tag is self.PREV: if self.sel.id not in self.ignore: self.idx -= 1 elif tag is self.NEXT: self.idx += 1 else: if isinstance(tag, Tag): tag = tag.id wmii['view'] = tag | 947f9f6dc984f4bf2289c0427070941e2a4cf9e5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12629/947f9f6dc984f4bf2289c0427070941e2a4cf9e5/fs.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2027,
12,
2890,
16,
1047,
4672,
309,
1047,
353,
365,
18,
3670,
58,
30,
309,
365,
18,
1786,
18,
350,
486,
316,
365,
18,
6185,
30,
365,
18,
3465,
3947,
404,
1327,
1047,
353,
365,
18,
25539,
30,
365,
18,
3465,
1011,
404,
469,
30,
309,
1549,
12,
2692,
16,
4034,
4672,
1047,
273,
1047,
18,
350,
18200,
2835,
3292,
1945,
3546,
273,
1047,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2027,
12,
2890,
16,
1047,
4672,
309,
1047,
353,
365,
18,
3670,
58,
30,
309,
365,
18,
1786,
18,
350,
486,
316,
365,
18,
6185,
30,
365,
18,
3465,
3947,
404,
1327,
1047,
353,
365,
18,
25539,
30,
365,
18,
3465,
1011,
404,
469,
30,
309,
1549,
12,
2692,
16,
4034,
4672,
1047,
273,
1047,
18,
350,
18200,
2835,
3292,
1945,
3546,
273,
1047,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 response.status != 200: self.report(EntryDeletionMustReturn200("Expected an HTTP status code of 200 on sending a DELETE but instead received %d" % response.status)) | if response.status >= 400: self.report(EntryDeletionFailed("HTTP Status %d" % response.status)) | def testDoubleAddWithSameAtomId(self): """POST two Atom entries with the same atom:id to the collection. The response for both MUST be 201 and two new entries must be created.""" toc = self.enumerate_collection() startnum = len(toc) # Add a new entry (response, content) = self.http.request(self.entry_coll_uri, "POST", body=CONTENT_WITH_SRC, headers={'Content-Type': 'application/atom+xml', 'Accept': '*/*'}) if response.status != 201: self.report(EntryCreationMustReturn201("Actually returned an HTTP status code %d" % response.status)) return toc = self.enumerate_collection() # Make sure it was added to the collection if startnum >= len(toc): self.report(EntryCreationMustBeReflectedInFeed("Number of entries went from %d before to %d entries after the entry was created." % (startnum, len(toc)))) return # The location header should match the link/@rel="edit" edituri = absolutize(self.entry_coll_uri, response['location']) | 62545eb4a0f245496aec57ddf77c32bdf1a873f9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5012/62545eb4a0f245496aec57ddf77c32bdf1a873f9/appclienttest.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
5265,
986,
1190,
8650,
3641,
548,
12,
2890,
4672,
3536,
3798,
2795,
7149,
3222,
598,
326,
1967,
3179,
30,
350,
358,
326,
1849,
18,
1021,
766,
364,
3937,
10685,
506,
3786,
471,
2795,
394,
3222,
1297,
506,
2522,
12123,
17919,
273,
365,
18,
7924,
12600,
67,
5548,
1435,
787,
2107,
273,
562,
12,
1391,
13,
468,
1436,
279,
394,
1241,
261,
2740,
16,
913,
13,
273,
365,
18,
2505,
18,
2293,
12,
2890,
18,
4099,
67,
12910,
67,
1650,
16,
315,
3798,
3113,
1417,
33,
9689,
67,
9147,
67,
28413,
16,
1607,
5899,
11,
1350,
17,
559,
4278,
296,
3685,
19,
7466,
15,
2902,
2187,
296,
5933,
4278,
296,
5549,
4035,
6792,
309,
766,
18,
2327,
480,
3786,
30,
365,
18,
6006,
12,
1622,
9906,
10136,
990,
6734,
2932,
2459,
3452,
2106,
392,
2239,
1267,
981,
738,
72,
6,
738,
766,
18,
2327,
3719,
327,
17919,
273,
365,
18,
7924,
12600,
67,
5548,
1435,
468,
4344,
3071,
518,
1703,
3096,
358,
326,
1849,
309,
787,
2107,
1545,
562,
12,
1391,
4672,
365,
18,
6006,
12,
1622,
9906,
10136,
1919,
24452,
329,
382,
8141,
2932,
1854,
434,
3222,
16343,
628,
738,
72,
1865,
358,
738,
72,
3222,
1839,
326,
1241,
1703,
2522,
1199,
738,
261,
1937,
2107,
16,
562,
12,
1391,
3719,
3719,
327,
468,
1021,
2117,
1446,
1410,
845,
326,
1692,
19,
36,
2878,
1546,
4619,
6,
3874,
1650,
273,
2417,
355,
322,
554,
12,
2890,
18,
4099,
67,
12910,
67,
1650,
16,
766,
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,
1842,
5265,
986,
1190,
8650,
3641,
548,
12,
2890,
4672,
3536,
3798,
2795,
7149,
3222,
598,
326,
1967,
3179,
30,
350,
358,
326,
1849,
18,
1021,
766,
364,
3937,
10685,
506,
3786,
471,
2795,
394,
3222,
1297,
506,
2522,
12123,
17919,
273,
365,
18,
7924,
12600,
67,
5548,
1435,
787,
2107,
273,
562,
12,
1391,
13,
468,
1436,
279,
394,
1241,
261,
2740,
16,
913,
13,
273,
365,
18,
2505,
18,
2293,
12,
2890,
18,
4099,
67,
12910,
67,
1650,
16,
315,
3798,
3113,
1417,
33,
9689,
67,
9147,
67,
28413,
16,
1607,
5899,
11,
1350,
17,
559,
4278,
296,
3685,
19,
7466,
15,
2902,
2187,
296,
5933,
4278,
296,
5549,
4035,
6792,
309,
766,
18,
2327,
480,
2
] |
date += timedelta(days= 7 * intfloor(weeks)) | date += datetime.timedelta(days= 7 * intfloor(weeks)) | def add_weeks(self, cursor, user, company, date, weeks, context=None): day_per_week = company.hours_per_work_week / company.hours_per_work_day | 37977ffd4cba2a2b2be5d263a7cf423a44376bec /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9282/37977ffd4cba2a2b2be5d263a7cf423a44376bec/work.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
67,
10741,
87,
12,
2890,
16,
3347,
16,
729,
16,
9395,
16,
1509,
16,
17314,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
67,
10741,
87,
12,
2890,
16,
3347,
16,
729,
16,
9395,
16,
1509,
16,
17314,
16,
819,
33,
7036,
4672,
2548,
67,
457,
67,
10741,
273,
9395,
18,
16814,
67,
457,
67,
1252,
67,
10741,
342,
9395,
18,
16814,
67,
457,
67,
1252,
67,
2881,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
datetable = {'nl': { 'januari':{ 'sl':'%d. januar', 'it':'%d gennaio', 'en':'January %d', 'de':'%d. Januar', 'fr':'%d janvier', 'af':'01-%02d', 'ca':'%d de gener', 'oc':'%d de geni%%C3%%A8r', }, 'februari':{ 'sl':'%d. februar', 'it':'%d febbraio', 'en':'February %d', 'de':'%d. Februar', 'fr':'%d fevrier', 'af':'02-%02d', 'ca':'%d de febrer', 'oc':'%d de febri%%C3%%A8r', }, 'maart':{ 'sl':'%d. marec', 'it':'%d marzo', 'en':'March %d', 'de':'%d. März', 'fr':'%d mars', 'af':'03-%02d', 'ca':'%d de_mar%%C3%%A7', 'oc':'%d de_mar%%C3%%A7', }, 'april':{ 'sl':'%d. april', 'it':'%d aprile', 'en':'April %d', 'de':'%d. April', 'fr':'%d avril', 'af':'04-%02d', 'ca':'%d d\'abril', 'oc':'%d d\'abril', }, 'mei':{ 'sl':'%d. maj', 'it':'%d maggio', 'en':'May %d', 'de':'%d. Mai', 'fr':'%d mai', 'af':'05-%02d', 'ca':'%d de maig', 'oc':'%d de mai', }, 'juni':{ 'sl':'%d. junij', 'it':'%d giugno', 'en':'June %d', 'de':'%d. Juni', 'fr':'%d juin', 'af':'06-%02d', 'ca':'%d de juny', 'oc':'%d de junh', }, 'juli':{ 'sl':'%d. julij', 'it':'%d luglio', 'en':'July %d', 'de':'%d. Juli', 'fr':'%d juillet', 'af':'07-%02d', 'ca':'%d de juliol', 'oc':'%d de julhet', }, 'augustus':{ 'sl':'%d. avgust', 'it':'%d agosto', 'en':'August %d', 'de':'%d. August', 'fr':'%d aout', 'af':'08-%02d', 'ca':'%d d\'agost', 'oc':'%d d\'agost', }, 'september':{'sl':'%d. september', 'it':'%d settembre', 'en':'September %d', 'de':'%d. September', 'fr':'%d septembre', 'af':'09-%02d', 'ca':'%d de setembre', 'oc':'%d de setembre', }, 'oktober':{ 'sl':'%d. oktober', 'it':'%d ottobre', 'en':'October %d', 'de':'%d. Oktober', 'fr':'%d octobre', 'af':'10-%02d', 'ca':'%d d\'octubre', 'oc':'%d d\'octobre', }, 'november':{ 'sl':'%d. november', 'it':'%d novembre', 'en':'November %d', 'de':'%d. November', 'fr':'%d novembre', 'af':'11-%02d', 'ca':'%d de novembre', 'oc':'%d de novembre', }, 'december':{ 'sl':'%d. december', 'it':'%d dicembre', 'en':'December %d', 'de':'%d. Dezember', 'fr':'%d decembre', 'af':'12-%02d', 'ca':'%d de desembre', 'oc':'%d de decembre', }, }} | datetable = { 'nl':{ 'januari':{ 'sl':'%d. januar', 'it':'%d gennaio', 'en':'January %d', 'de':'%d. Januar', 'fr':'%d janvier', 'af':'01-%02d', 'ca':'%d de gener', 'oc':'%d de geni%%C3%%A8r', 'is':'%d. janúar', }, 'februari':{ 'sl':'%d. februar', 'it':'%d febbraio', 'en':'February %d', 'de':'%d. Februar', 'fr':'%d fevrier', 'af':'02-%02d', 'ca':'%d de febrer', 'oc':'%d de febri%%C3%%A8r', 'is':'%d. febrúar', }, 'maart':{ 'sl':'%d. marec', 'it':'%d marzo', 'en':'March %d', 'de':'%d. März', 'fr':'%d mars', 'af':'03-%02d', 'ca':'%d de_mar%%C3%%A7', 'oc':'%d de_mar%%C3%%A7', 'is':'%d. mars', }, 'april':{ 'sl':'%d. april', 'it':'%d aprile', 'en':'April %d', 'de':'%d. April', 'fr':'%d avril', 'af':'04-%02d', 'ca':'%d d\'abril', 'oc':'%d d\'abril', 'is':'%d. apríl', }, 'mei':{ 'sl':'%d. maj', 'it':'%d maggio', 'en':'May %d', 'de':'%d. Mai', 'fr':'%d mai', 'af':'05-%02d', 'ca':'%d de maig', 'oc':'%d de mai', 'is':'%d. maí', }, 'juni':{ 'sl':'%d. junij', 'it':'%d giugno', 'en':'June %d', 'de':'%d. Juni', 'fr':'%d juin', 'af':'06-%02d', 'ca':'%d de juny', 'oc':'%d de junh', 'is':'%d. júní', }, 'juli':{ 'sl':'%d. julij', 'it':'%d luglio', 'en':'July %d', 'de':'%d. Juli', 'fr':'%d juillet', 'af':'07-%02d', 'ca':'%d de juliol', 'oc':'%d de julhet', 'is':'%d. júlí', }, 'augustus':{ 'sl':'%d. avgust', 'it':'%d agosto', 'en':'August %d', 'de':'%d. August', 'fr':'%d aout', 'af':'08-%02d', 'ca':'%d d\'agost', 'oc':'%d d\'agost', 'is':'%d. ágúst', }, 'september':{ 'sl':'%d. september', 'it':'%d settembre', 'en':'September %d', 'de':'%d. September', 'fr':'%d septembre', 'af':'09-%02d', 'ca':'%d de setembre', 'oc':'%d de setembre', 'is':'%d. september', }, 'oktober':{ 'sl':'%d. oktober', 'it':'%d ottobre', 'en':'October %d', 'de':'%d. Oktober', 'fr':'%d octobre', 'af':'10-%02d', 'ca':'%d d\'octubre', 'oc':'%d d\'octobre', 'is':'%d. október', }, 'november':{ 'sl':'%d. november', 'it':'%d novembre', 'en':'November %d', 'de':'%d. November', 'fr':'%d novembre', 'af':'11-%02d', 'ca':'%d de novembre', 'oc':'%d de novembre', 'is':'%d. nóvember', }, 'december':{ 'sl':'%d. december', 'it':'%d dicembre', 'en':'December %d', 'de':'%d. Dezember', 'fr':'%d decembre', 'af':'12-%02d', 'ca':'%d de desembre', 'oc':'%d de decembre', 'is':'%d. desember', }, } } | def __call__(self, m, d): import wikipedia return wikipedia.html2unicode((date_format[m][self.code]) % d, language = self.code) | ca48d3138797b7e59dd655330057f8c316aa4626 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4404/ca48d3138797b7e59dd655330057f8c316aa4626/date.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
1991,
972,
12,
2890,
16,
312,
16,
302,
4672,
1930,
21137,
327,
21137,
18,
2620,
22,
9124,
12443,
712,
67,
2139,
63,
81,
6362,
2890,
18,
710,
5717,
738,
302,
16,
2653,
273,
365,
18,
710,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
1991,
972,
12,
2890,
16,
312,
16,
302,
4672,
1930,
21137,
327,
21137,
18,
2620,
22,
9124,
12443,
712,
67,
2139,
63,
81,
6362,
2890,
18,
710,
5717,
738,
302,
16,
2653,
273,
365,
18,
710,
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
] |
print inputPorts[0] | def setInputValues(self, module, inputPorts): """ Function used to set a value inside 'module', given the input port(s). """ if len(inputPorts)==1: ## Cleaning the previous connector... if inputPorts[0] in module.inputPorts: del module.inputPorts[inputPorts[0]] new_connector = ModuleConnector(create_constant(self.element),\ 'value') print inputPorts[0] module.set_input_port(inputPorts[0], new_connector) else: for j in xrange(len(inputPorts)): ## Cleaning the previous connector... if inputPorts[j] in module.inputPorts: del module.inputPorts[inputPorts[j]] new_connector = ModuleConnector(create_constant(self.element[j]),\ 'value') module.set_input_port(inputPorts[j], new_connector) | aff643cb1acbe5c897ed8a0603617697767a2b71 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6341/aff643cb1acbe5c897ed8a0603617697767a2b71/fold.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
21687,
1972,
12,
2890,
16,
1605,
16,
810,
11107,
4672,
3536,
4284,
1399,
358,
444,
279,
460,
4832,
296,
2978,
2187,
864,
326,
810,
1756,
12,
87,
2934,
3536,
309,
562,
12,
2630,
11107,
13,
631,
21,
30,
7541,
9645,
310,
326,
2416,
8703,
2777,
309,
810,
11107,
63,
20,
65,
316,
1605,
18,
2630,
11107,
30,
1464,
1605,
18,
2630,
11107,
63,
2630,
11107,
63,
20,
13563,
394,
67,
23159,
273,
5924,
7487,
12,
2640,
67,
14384,
12,
2890,
18,
2956,
3631,
64,
296,
1132,
6134,
1605,
18,
542,
67,
2630,
67,
655,
12,
2630,
11107,
63,
20,
6487,
394,
67,
23159,
13,
469,
30,
364,
525,
316,
12314,
12,
1897,
12,
2630,
11107,
3719,
30,
7541,
9645,
310,
326,
2416,
8703,
2777,
309,
810,
11107,
63,
78,
65,
316,
1605,
18,
2630,
11107,
30,
1464,
1605,
18,
2630,
11107,
63,
2630,
11107,
63,
78,
13563,
394,
67,
23159,
273,
5924,
7487,
12,
2640,
67,
14384,
12,
2890,
18,
2956,
63,
78,
65,
3631,
64,
296,
1132,
6134,
1605,
18,
542,
67,
2630,
67,
655,
12,
2630,
11107,
63,
78,
6487,
394,
67,
23159,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
21687,
1972,
12,
2890,
16,
1605,
16,
810,
11107,
4672,
3536,
4284,
1399,
358,
444,
279,
460,
4832,
296,
2978,
2187,
864,
326,
810,
1756,
12,
87,
2934,
3536,
309,
562,
12,
2630,
11107,
13,
631,
21,
30,
7541,
9645,
310,
326,
2416,
8703,
2777,
309,
810,
11107,
63,
20,
65,
316,
1605,
18,
2630,
11107,
30,
1464,
1605,
18,
2630,
11107,
63,
2630,
11107,
63,
20,
13563,
394,
67,
23159,
273,
5924,
7487,
12,
2640,
67,
14384,
12,
2890,
18,
2956,
3631,
64,
296,
1132,
6134,
1605,
18,
542,
67,
2630,
67,
655,
12,
2630,
11107,
63,
20,
6487,
394,
67,
23159,
13,
469,
30,
364,
525,
316,
12314,
12,
1897,
12,
2630,
11107,
3719,
30,
7541,
2
] | |
self.kickCallback((self.host, self.port), channel) | self.kickCallback((self.host, self.port), channel, kicker, message) | def botKicked(self, bot, channel, kicker, message): """Apparently we aren't wanted any longer. Log the event and report to our owner""" log.msg("Bot %r on server %r was kicked from %r by %r: %r" % (bot.nickname, self.host, channel, kicker, message)) if self.kickCallback: self.kickCallback((self.host, self.port), channel) | 6d2b3a04dfeeb39a1ed0edc46d7214348e48601b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6757/6d2b3a04dfeeb39a1ed0edc46d7214348e48601b/IRC.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2512,
47,
1200,
329,
12,
2890,
16,
2512,
16,
1904,
16,
417,
5448,
16,
883,
4672,
3536,
1294,
2938,
715,
732,
11526,
1404,
15504,
1281,
7144,
18,
1827,
326,
871,
471,
2605,
358,
3134,
3410,
8395,
613,
18,
3576,
2932,
6522,
738,
86,
603,
1438,
738,
86,
1703,
23228,
329,
628,
738,
86,
635,
738,
86,
30,
738,
86,
6,
738,
261,
4819,
18,
17091,
529,
16,
365,
18,
2564,
16,
1904,
16,
417,
5448,
16,
883,
3719,
309,
365,
18,
79,
1200,
2428,
30,
365,
18,
79,
1200,
2428,
12443,
2890,
18,
2564,
16,
365,
18,
655,
3631,
1904,
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,
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2605,
358,
3134,
3410,
8395,
613,
18,
3576,
2932,
6522,
738,
86,
603,
1438,
738,
86,
1703,
23228,
329,
628,
738,
86,
635,
738,
86,
30,
738,
86,
6,
738,
261,
4819,
18,
17091,
529,
16,
365,
18,
2564,
16,
1904,
16,
417,
5448,
16,
883,
3719,
309,
365,
18,
79,
1200,
2428,
30,
365,
18,
79,
1200,
2428,
12443,
2890,
18,
2564,
16,
365,
18,
655,
3631,
1904,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if profile.shirt_type is not None and profile.shirt_size is not None: | if profile.shirt_type in shirt_types and profile.shirt_size in shirt_sizes: | def __init__(self, newclslist): self.clslist = newclslist | 5cc85d82c677018ed31b8081254f2e9d9f53639a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12041/5cc85d82c677018ed31b8081254f2e9d9f53639a/adminvitals.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
394,
6429,
1098,
4672,
365,
18,
6429,
1098,
273,
394,
6429,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
394,
6429,
1098,
4672,
365,
18,
6429,
1098,
273,
394,
6429,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
res = self.setRequest(requestName,requestString,desiredStatus=requestStatus) if not res['OK']: errStr = "RequestDBFile._setRequestStatus: Failed to update status of %s to %s." % (requestName,requestStatus) gLogger.error(errStr,res['Message']) res = self.setRequest(requestName,requestString) return S_ERROR(errStr) gLogger.info("RequestDBFile._setRequestStatus: Successfully set status of %s to %s." % (requestName,requestStatus)) | res = self.setRequest( requestName, requestString, desiredStatus = requestStatus ) if not res['OK']: errStr = "RequestDBFile._setRequestStatus: Failed to update status of %s to %s." % ( requestName, requestStatus ) gLogger.error( errStr, res['Message'] ) res = self.setRequest( requestName, requestString ) return S_ERROR( errStr ) gLogger.info( "RequestDBFile._setRequestStatus: Successfully set status of %s to %s." % ( requestName, requestStatus ) ) | def setRequestStatus(self,requestName,requestStatus): """ Set the request status """ gLogger.info("RequestDBFile._setRequestStatus: Attempting to set status of %s to %s." % (requestName,requestStatus)) try: # First obtain the request string res = self.__getRequestString(requestName) if not res['OK']: errStr = "RequestDBFile._setRequestStatus: Failed to get the request string for %s." % requestName gLogger.error(errStr,res['Message']) return S_ERROR(errStr) requestString = res['Value'] # Delete the original request res = self.deleteRequest(requestName) if not res['OK']: errStr = "RequestDBFile._setRequestStatus: Failed to remove %s." % requestName gLogger.error(errStr,res['Message']) return S_ERROR(errStr) # Set the request with the desired status res = self.setRequest(requestName,requestString,desiredStatus=requestStatus) if not res['OK']: errStr = "RequestDBFile._setRequestStatus: Failed to update status of %s to %s." % (requestName,requestStatus) gLogger.error(errStr,res['Message']) res = self.setRequest(requestName,requestString) return S_ERROR(errStr) gLogger.info("RequestDBFile._setRequestStatus: Successfully set status of %s to %s." % (requestName,requestStatus)) return S_OK() except Exception, x: errStr = "RequestDBFile._setRequestStatus: Exception while setting request status." gLogger.exception(errStr,requestName,lException=x) return S_ERROR(errStr) | 457151afa0c3cb1200853bb72493b03e8f994fca /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/457151afa0c3cb1200853bb72493b03e8f994fca/RequestDBFile.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
12475,
1482,
12,
2890,
16,
2293,
461,
16,
2293,
1482,
4672,
3536,
1000,
326,
590,
1267,
3536,
314,
3328,
18,
1376,
2932,
691,
2290,
812,
6315,
542,
691,
1482,
30,
12864,
310,
358,
444,
1267,
434,
225,
738,
87,
358,
738,
87,
1199,
738,
261,
2293,
461,
16,
2293,
1482,
3719,
775,
30,
468,
5783,
7161,
326,
590,
533,
400,
273,
365,
16186,
588,
691,
780,
12,
2293,
461,
13,
309,
486,
400,
3292,
3141,
3546,
30,
393,
1585,
273,
315,
691,
2290,
812,
6315,
542,
691,
1482,
30,
11175,
358,
336,
326,
590,
533,
364,
738,
87,
1199,
738,
225,
590,
461,
314,
3328,
18,
1636,
12,
370,
1585,
16,
455,
3292,
1079,
19486,
327,
348,
67,
3589,
12,
370,
1585,
13,
590,
780,
273,
400,
3292,
620,
3546,
468,
2504,
326,
2282,
590,
400,
273,
365,
18,
3733,
691,
12,
2293,
461,
13,
309,
486,
400,
3292,
3141,
3546,
30,
393,
1585,
273,
315,
691,
2290,
812,
6315,
542,
691,
1482,
30,
11175,
358,
1206,
738,
87,
1199,
738,
225,
590,
461,
314,
3328,
18,
1636,
12,
370,
1585,
16,
455,
3292,
1079,
19486,
327,
348,
67,
3589,
12,
370,
1585,
13,
468,
1000,
326,
590,
598,
326,
6049,
1267,
400,
273,
365,
18,
542,
691,
12,
590,
461,
16,
590,
780,
16,
6049,
1482,
273,
590,
1482,
262,
309,
486,
400,
3292,
3141,
3546,
30,
393,
1585,
273,
315,
691,
2290,
812,
6315,
542,
691,
1482,
30,
11175,
358,
1089,
1267,
434,
738,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
12475,
1482,
12,
2890,
16,
2293,
461,
16,
2293,
1482,
4672,
3536,
1000,
326,
590,
1267,
3536,
314,
3328,
18,
1376,
2932,
691,
2290,
812,
6315,
542,
691,
1482,
30,
12864,
310,
358,
444,
1267,
434,
225,
738,
87,
358,
738,
87,
1199,
738,
261,
2293,
461,
16,
2293,
1482,
3719,
775,
30,
468,
5783,
7161,
326,
590,
533,
400,
273,
365,
16186,
588,
691,
780,
12,
2293,
461,
13,
309,
486,
400,
3292,
3141,
3546,
30,
393,
1585,
273,
315,
691,
2290,
812,
6315,
542,
691,
1482,
30,
11175,
358,
336,
326,
590,
533,
364,
738,
87,
1199,
738,
225,
590,
461,
314,
3328,
18,
1636,
12,
370,
1585,
16,
455,
3292,
1079,
19486,
327,
348,
67,
2
] |
g, t = function_deps[x._count] | k = formdata.coefficient_renumbering[x] g, t = function_deps[k] | def function_deps(x): g, t = function_deps[x._count] return make_deps(geometry=g, topology=t, coefficients=True) | f2d44f848c00da19d85bc6bd20c2229b74c1cfa2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/624/f2d44f848c00da19d85bc6bd20c2229b74c1cfa2/transformations.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
445,
67,
14877,
12,
92,
4672,
417,
273,
30642,
18,
8075,
8714,
67,
1187,
1226,
310,
63,
92,
65,
314,
16,
268,
273,
445,
67,
14877,
63,
79,
65,
327,
1221,
67,
14877,
12,
14330,
33,
75,
16,
9442,
33,
88,
16,
14229,
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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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
445,
67,
14877,
12,
92,
4672,
417,
273,
30642,
18,
8075,
8714,
67,
1187,
1226,
310,
63,
92,
65,
314,
16,
268,
273,
445,
67,
14877,
63,
79,
65,
327,
1221,
67,
14877,
12,
14330,
33,
75,
16,
9442,
33,
88,
16,
14229,
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
] |
keep[os.path.dirname(path)] = True | keep[os.path.dirname(relativePath)] = True | def _doCommit(self, uJob, cs, commitFlags, opJournal, tagSet, reposRollback, localRollback, rollbackPhase, fsJob, updateDatabase, callback, tagScript, dbCache, autoPinList, flags, journal, directoryCandidates): if not (commitFlags.justDatabase or commitFlags.test): # run preremove scripts before updating the database, otherwise # the file lists which get sent to them are incorrect. skipping # this makes --test a little inaccurate, but life goes on callback.runningPreTagHandlers() fsJob.preapply(tagSet, tagScript) | c643900fd788a4de0b8ae30ecdec132bd54fbd7f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8747/c643900fd788a4de0b8ae30ecdec132bd54fbd7f/database.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2896,
5580,
12,
2890,
16,
582,
2278,
16,
2873,
16,
3294,
5094,
16,
1061,
16336,
16,
1047,
694,
16,
13686,
12703,
16,
1191,
12703,
16,
8006,
11406,
16,
2662,
2278,
16,
1089,
4254,
16,
1348,
16,
1047,
3651,
16,
1319,
1649,
16,
3656,
12178,
682,
16,
2943,
16,
13001,
16,
1867,
18455,
4672,
309,
486,
261,
7371,
5094,
18,
3732,
4254,
578,
3294,
5094,
18,
3813,
4672,
468,
1086,
846,
264,
351,
841,
8873,
1865,
9702,
326,
2063,
16,
3541,
468,
326,
585,
6035,
1492,
336,
3271,
358,
2182,
854,
11332,
18,
14195,
468,
333,
7297,
1493,
3813,
279,
12720,
316,
69,
2803,
340,
16,
1496,
17140,
13998,
603,
1348,
18,
8704,
1386,
1805,
6919,
1435,
2662,
2278,
18,
1484,
9010,
12,
2692,
694,
16,
1047,
3651,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2896,
5580,
12,
2890,
16,
582,
2278,
16,
2873,
16,
3294,
5094,
16,
1061,
16336,
16,
1047,
694,
16,
13686,
12703,
16,
1191,
12703,
16,
8006,
11406,
16,
2662,
2278,
16,
1089,
4254,
16,
1348,
16,
1047,
3651,
16,
1319,
1649,
16,
3656,
12178,
682,
16,
2943,
16,
13001,
16,
1867,
18455,
4672,
309,
486,
261,
7371,
5094,
18,
3732,
4254,
578,
3294,
5094,
18,
3813,
4672,
468,
1086,
846,
264,
351,
841,
8873,
1865,
9702,
326,
2063,
16,
3541,
468,
326,
585,
6035,
1492,
336,
3271,
358,
2182,
854,
11332,
18,
14195,
468,
333,
7297,
1493,
3813,
279,
12720,
316,
69,
2803,
340,
16,
1496,
17140,
13998,
603,
1348,
18,
8704,
1386,
1805,
6919,
1435,
2662,
2
] |
if not nodes: generate_docstring_dictionary() | def __init__(self, maxread=1000, script_subdirectory=None, logfile=None, server=None,server_tmpdir=None): """ EXAMPLES:: sage: singular == loads(dumps(singular)) True """ prompt = '\n> ' Expect.__init__(self, name = 'singular', prompt = prompt, command = "Singular -t --ticks-per-sec 1000", #no tty and fine grained cputime() maxread = maxread, server = server, server_tmpdir = server_tmpdir, script_subdirectory = script_subdirectory, restart_on_ctrlc = True, verbose_start = False, logfile = logfile, eval_using_file_cutoff=100 if os.uname()[0]=="SunOS" else 1000) self.__libs = [] self._prompt_wait = prompt self.__to_clear = [] # list of variable names that need to be cleared. if not nodes: generate_docstring_dictionary() | 892c8149323efb7e00d91b9ee3b4109a0b54bdfc /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/892c8149323efb7e00d91b9ee3b4109a0b54bdfc/singular.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
943,
896,
33,
18088,
16,
2728,
67,
1717,
5149,
33,
7036,
16,
15204,
33,
7036,
16,
1438,
33,
7036,
16,
3567,
67,
5645,
1214,
33,
7036,
4672,
3536,
5675,
8900,
11386,
2866,
225,
272,
410,
30,
10048,
422,
6277,
12,
13302,
1121,
12,
17835,
3719,
1053,
3536,
6866,
273,
2337,
82,
34,
296,
15510,
16186,
2738,
972,
12,
2890,
16,
508,
273,
296,
17835,
2187,
6866,
273,
6866,
16,
1296,
273,
315,
25383,
300,
88,
1493,
11767,
17,
457,
17,
3321,
4336,
3113,
468,
2135,
21520,
471,
11079,
3087,
1920,
276,
458,
494,
1435,
943,
896,
273,
943,
896,
16,
1438,
273,
1438,
16,
1438,
67,
5645,
1214,
273,
1438,
67,
5645,
1214,
16,
2728,
67,
1717,
5149,
273,
2728,
67,
1717,
5149,
16,
7870,
67,
265,
67,
16277,
71,
273,
1053,
16,
3988,
67,
1937,
273,
1083,
16,
15204,
273,
15204,
16,
5302,
67,
9940,
67,
768,
67,
16131,
33,
6625,
309,
1140,
18,
318,
339,
1435,
63,
20,
65,
31713,
29636,
4618,
6,
469,
4336,
13,
365,
16186,
21571,
225,
273,
5378,
365,
6315,
13325,
67,
7048,
273,
6866,
365,
16186,
869,
67,
8507,
273,
5378,
282,
468,
666,
434,
2190,
1257,
716,
1608,
358,
506,
16054,
18,
309,
486,
2199,
30,
2103,
67,
24675,
67,
15556,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
943,
896,
33,
18088,
16,
2728,
67,
1717,
5149,
33,
7036,
16,
15204,
33,
7036,
16,
1438,
33,
7036,
16,
3567,
67,
5645,
1214,
33,
7036,
4672,
3536,
5675,
8900,
11386,
2866,
225,
272,
410,
30,
10048,
422,
6277,
12,
13302,
1121,
12,
17835,
3719,
1053,
3536,
6866,
273,
2337,
82,
34,
296,
15510,
16186,
2738,
972,
12,
2890,
16,
508,
273,
296,
17835,
2187,
6866,
273,
6866,
16,
1296,
273,
315,
25383,
300,
88,
1493,
11767,
17,
457,
17,
3321,
4336,
3113,
468,
2135,
21520,
471,
11079,
3087,
1920,
276,
458,
494,
1435,
943,
896,
273,
943,
896,
16,
1438,
273,
1438,
16,
1438,
67,
5645,
1214,
273,
1438,
67,
5645,
2
] | |
MASTERD_PID = "ganeti-master" | MASTERD_PID = "ganeti-masterd" | def SplitVersion(version): """Splits version number stored in an int. Returns: tuple; (major, minor, revision) """ assert isinstance(version, int) (major, remainder) = divmod(version, 1000000) (minor, revision) = divmod(remainder, 10000) return (major, minor, revision) | bff2ddc5b98c2ade7a8d0cfa0e36a50581b1947f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7542/bff2ddc5b98c2ade7a8d0cfa0e36a50581b1947f/constants.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5385,
1444,
12,
1589,
4672,
3536,
16582,
1177,
1300,
4041,
316,
392,
509,
18,
225,
2860,
30,
3193,
31,
261,
14019,
16,
8439,
16,
6350,
13,
225,
3536,
1815,
1549,
12,
1589,
16,
509,
13,
225,
261,
14019,
16,
10022,
13,
273,
26105,
12,
1589,
16,
15088,
13,
261,
17364,
16,
6350,
13,
273,
26105,
12,
2764,
25407,
16,
12619,
13,
225,
327,
261,
14019,
16,
8439,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5385,
1444,
12,
1589,
4672,
3536,
16582,
1177,
1300,
4041,
316,
392,
509,
18,
225,
2860,
30,
3193,
31,
261,
14019,
16,
8439,
16,
6350,
13,
225,
3536,
1815,
1549,
12,
1589,
16,
509,
13,
225,
261,
14019,
16,
10022,
13,
273,
26105,
12,
1589,
16,
15088,
13,
261,
17364,
16,
6350,
13,
273,
26105,
12,
2764,
25407,
16,
12619,
13,
225,
327,
261,
14019,
16,
8439,
16,
6350,
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
] |
by reducing the poits modulo all primes of good reduction up | by reducing the points modulo all primes of good reduction up | def saturate(self, max_prime=-1, odd_primes_only=False): r""" Saturate this subgroup of the Mordell-Weil group. INPUT: - ``max_prime`` (int, default -1) -- saturation is performed for all primes up to `max_prime`. If `-1` (default) then an upper bound is computed for the primes at which the subgroup may not be saturated, and this is used; however, if the computed bound is greater than a value set by the eclib library (currently 97) then no saturation will be attempted at primes above this. - ``odd_primes_only`` (bool, default False) -- only do saturation at odd primes. (If the points have been found via 2-descent they should alreday be 2-saturated.) | 1cc4edc9aafb88d044d853b60331d1432546cf60 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/1cc4edc9aafb88d044d853b60331d1432546cf60/interface.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5942,
295,
340,
12,
2890,
16,
943,
67,
16382,
29711,
21,
16,
14800,
67,
683,
4485,
67,
3700,
33,
8381,
4672,
436,
8395,
25793,
295,
340,
333,
720,
1655,
434,
326,
490,
517,
1165,
17,
3218,
330,
1041,
18,
225,
12943,
30,
225,
300,
12176,
1896,
67,
16382,
10335,
261,
474,
16,
805,
300,
21,
13,
1493,
22824,
353,
9591,
364,
777,
846,
4485,
731,
358,
1375,
1896,
67,
16382,
8338,
971,
1375,
17,
21,
68,
261,
1886,
13,
1508,
392,
3854,
2489,
353,
8470,
364,
326,
846,
4485,
622,
1492,
326,
720,
1655,
2026,
486,
506,
5942,
28480,
16,
471,
333,
353,
1399,
31,
14025,
16,
309,
326,
8470,
2489,
353,
6802,
2353,
279,
460,
444,
635,
326,
425,
830,
495,
5313,
261,
2972,
715,
16340,
13,
1508,
1158,
22824,
903,
506,
18121,
622,
846,
4485,
5721,
333,
18,
225,
300,
12176,
31755,
67,
683,
4485,
67,
3700,
10335,
261,
6430,
16,
805,
1083,
13,
1493,
1338,
741,
22824,
622,
14800,
846,
4485,
18,
225,
261,
2047,
326,
3143,
1240,
2118,
1392,
3970,
576,
17,
5569,
319,
2898,
1410,
524,
1118,
528,
506,
576,
17,
12973,
28480,
12998,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5942,
295,
340,
12,
2890,
16,
943,
67,
16382,
29711,
21,
16,
14800,
67,
683,
4485,
67,
3700,
33,
8381,
4672,
436,
8395,
25793,
295,
340,
333,
720,
1655,
434,
326,
490,
517,
1165,
17,
3218,
330,
1041,
18,
225,
12943,
30,
225,
300,
12176,
1896,
67,
16382,
10335,
261,
474,
16,
805,
300,
21,
13,
1493,
22824,
353,
9591,
364,
777,
846,
4485,
731,
358,
1375,
1896,
67,
16382,
8338,
971,
1375,
17,
21,
68,
261,
1886,
13,
1508,
392,
3854,
2489,
353,
8470,
364,
326,
846,
4485,
622,
1492,
326,
720,
1655,
2026,
486,
506,
5942,
28480,
16,
471,
333,
353,
1399,
31,
14025,
16,
309,
326,
8470,
2489,
353,
6802,
2353,
279,
460,
444,
635,
2
] |
split_thread.start() | for thread in (split_thread, cpp, cpq): thread.start() | def main(): # init defaults options = Options() max_procs = MAX_PROCS max_transfers_per_host = MAX_TRANSFERS_PER_HOST rm_cmd_template = RM_CMD_TEMPLATE cat_cmd_template = CAT_CMD_TEMPLATE logfile = LOG_FILE cleanonly = False # just remove chunks and exit chunkdir = CHUNK_DIR # get the command line options try: optlist, args = getopt.gnu_getopt( \ sys.argv[1:], 't:u:f:r:l:b:svhp', ['help', 'rsync', 'scp', 'rcp',\ 'chunkdir=','logfile=']) for opt, arg in optlist: if opt in ('-h', '--help'): _usage() _help() sys.exit(1) except Exception: print 'ERROR: options', sys.exc_info()[1] sys.exit(2) if len(args) < 2: print 'ERROR: 2 args required' _usage() sys.exit(2) # get name of file to transfer try: if args[0] == 'clean': cleanonly = True options.filename = args[1] else: options.filename = args[0] filepath = os.path.abspath(options.filename) if not os.path.isfile(filepath): print 'ERROR: %s not found' % filepath sys.exit(2) options.filedest = args[1] except Exception: print 'ERROR: %s' % sys.exc_info()[1] _usage() sys.exit(2) # parse the command line targetlist = [] # takes host names for opt, arg in optlist: if opt == '-f': # file # read '\n' separated hosts from file try: hostfile = open(arg, 'r') except Exception: print 'ERROR: Failed to open hosts file:', arg sys.exit(2) for host in hostfile: targetlist.append(host.strip()) hostfile.close() elif opt == '-r': try: # format: -r <basehost[0-1,3-3,5-11...]> # eg. -r host[1-2,4-5] generates host1, host2, host4, host5 arg = arg.replace(' ','') # remove white space host_regex = '[a-zA-Z]{1}[a-zA-Z0-9\-]' range_regex = '[0-9]+\-[0-9]+(,[0-9]+\-[0-9]+)+' regex = host_regex + '\[' + range_regex + '\]' basehost = arg.split('[')[0] # get 3 part ranges eg: ['1-3','5-5'] ranges = arg.split('[')[1].strip('[]').split(',') for rng in ranges: first = rng.split('-')[0] last = rng.split('-')[1] for num in range(int(first), int(last)+1): leadingZeros = len(first) - len(str(num)) host = basehost + '0'*leadingZeros + str(num) targetlist.append(host) except Exception: print 'ERROR: Invalid argument for -r:', arg print sys.exc_info()[1] _usage() sys.exit(2) elif opt == '-l': # read quoted list of comma separated hosts from command line hostlist = arg.split() for host in hostlist: targetlist.append(host.strip()) elif opt == '-b': # chunk size options.chunksize = arg elif opt == '-u': # username options.username = arg + '@' elif opt == '-s': # log transfer statistics options.logger = Logger() elif opt == '-v': # verbose output options.verbose = True elif opt == '-t': # transfers per host max_transfers_per_host = int(arg) elif opt == '-p': # chunk persistence options.cleanup = False elif opt == '--rsync': # use rsync options.cp_cmd_template = RSYNC_CMD_TEMPLATE elif opt == '--scp': # use scp options.cp_cmd_template = SCP_CMD_TEMPLATE elif opt == '--rcp': # use rcp options.cp_cmd_template = RCP_CMD_TEMPLATE elif opt == '--chunkdir': chunkdir = arg elif opt == '--logfile': logfile = arg else: print 'invalid option: %s' % opt # set up a list database of all hosts DB = Database() DB.hostlist.append(Host(gethostname(), DB, [], options.username, \ max_transfers_per_host)) DB.roothost = DB.hostlist[0] targetlist = set(targetlist) # remove duplicates for target in targetlist: DB.hostlist.append(Host(target, DB, [], options.username, \ max_transfers_per_host)) DB.hostcount = len(DB.hostlist) # build prefix for file chunk names options.chunk_base_name = \ os.path.join(chunkdir, os.path.split(options.filename)[-1])+ '.chunk_' # create semaphore to limit processc creation procsema = threading.Semaphore(max_procs) ###### create queue and poll threads ###################################### # The queue threads (commandq and cpq) share a process list with a poll # thread (cmd_poll and cp_poll). The queue threads are fed commands # to run and then the Popen objects are added to the process list along # with process data. The poll threads will then poll the processes until # they finish, at which point the output can be handled. threads = [] # # create a thread for dealing with process output cmd_procs = [] cmdp = CmdPoll(procsema, cmd_procs) cmdp.daemon = True threads.append(cmdp) # # initialize the background command queue thread commandq = CommandQueue(procsema, cmd_procs) commandq.daemon = True threads.append(commandq) # # create thread for dealing with transfer process output scp_procs = [] cpp = CpPoll(procsema, scp_procs, DB, options, commandq) cpp.daemon = True threads.append(cpp) # # init thread for queueing scp transfers cpq = CpCommandQueue(procsema, scp_procs) cpq.daemon = True threads.append(cpq) ########################################################################### for thread in threads: thread.start() # If clean was passed as first argument, remove chunks from all hosts # and exit. if cleanonly is True: print 'removing chunks ...' for host in DB.hostlist: rmCmd = rm_cmd_template % \ (options.username+host.hostname, options.chunk_base_name) commandq.put(rmCmd) commandq.finish() while commandq.isAlive() or cmdp.isAlive(): time.sleep(0.5) print 'done' sys.exit(0) # split the file to transfer in a separate thread split_thread = Splitter(DB, options) threads.append(split_thread) split_thread.daemon = True split_thread.start() ##### Initiate the transfers ##### if options.logger: options.logger.filename = logfile options.logger.start() print 'transferring %s to %d hosts ...' %(options.filename, len(targetlist)) try: # returns once transfers are complete initiateTransfers(DB, options, commandq, cpq) print '%d transfers complete' % (DB.hosts_with_file - 1) cpq.finish() # exit gracefully cpp.finish() except KeyboardInterrupt: # kill split, cpq, and poll threads split_thread.kill() commandq.killprocs() # stop current processes (calls to cat) cpq.kill() # kill cpq thread and scp processes cpp.kill() cmdp.kill() print '[!] aborted transfers' except Exception: split_thread.kill() commandq.killprocs() cpq.kill() cpp.kill() cmdp.kill() print 'ERROR: initiateTransfers() ', sys.exc_info()[1] # in case transfers were interrupted, let threads finish execution. ## may need to modify this try: while split_thread.isAlive() or cpq.isAlive() or cpp.isAlive(): time.sleep(0.5) except KeyboardInterrupt: pass # must wait for cat processes to finish before removing chunks if options.cleanup is True: print 'removing chunks ...' commandq.wait_for_procs() # wait for calls to cat to finish for host in DB.hostlist: rmCmd = rm_cmd_template % \ (options.username+host.hostname, options.chunk_base_name) commandq.put(rmCmd) # wait for procs to finish commandq.finish() # finish work on current queue, then exit while commandq.isAlive(): time.sleep(0.5) # terminate the log file if options.logger: options.logger.done() | 06772f294757c1ad6f6efefb804370839037d93c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1260/06772f294757c1ad6f6efefb804370839037d93c/scpTsunamiE.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
13332,
468,
1208,
3467,
702,
273,
5087,
1435,
943,
67,
27537,
273,
4552,
67,
3373,
4596,
943,
67,
2338,
18881,
67,
457,
67,
2564,
273,
4552,
67,
16596,
6553,
55,
67,
3194,
67,
8908,
6692,
67,
4172,
67,
3202,
273,
534,
49,
67,
19473,
67,
12205,
6573,
67,
4172,
67,
3202,
273,
30210,
67,
19473,
67,
12205,
15204,
273,
2018,
67,
3776,
2721,
3700,
273,
1083,
468,
2537,
1206,
6055,
471,
2427,
2441,
1214,
273,
28096,
67,
4537,
225,
468,
336,
326,
1296,
980,
702,
775,
30,
2153,
1098,
16,
833,
273,
336,
3838,
18,
1600,
89,
67,
588,
3838,
12,
521,
2589,
18,
19485,
63,
21,
30,
6487,
296,
88,
30,
89,
30,
74,
30,
86,
30,
80,
30,
70,
30,
5751,
15373,
2187,
10228,
5201,
2187,
296,
5453,
1209,
2187,
296,
18461,
2187,
296,
1310,
84,
2187,
64,
296,
6551,
1214,
33,
17023,
28806,
2218,
5717,
364,
2153,
16,
1501,
316,
2153,
1098,
30,
309,
2153,
316,
7707,
17,
76,
2187,
3534,
5201,
11,
4672,
389,
9167,
1435,
389,
5201,
1435,
2589,
18,
8593,
12,
21,
13,
1335,
1185,
30,
1172,
296,
3589,
30,
702,
2187,
2589,
18,
10075,
67,
1376,
1435,
63,
21,
65,
2589,
18,
8593,
12,
22,
13,
225,
309,
562,
12,
1968,
13,
411,
576,
30,
1172,
296,
3589,
30,
576,
833,
1931,
11,
389,
9167,
1435,
2589,
18,
8593,
12,
22,
13,
225,
468,
336,
508,
434,
585,
358,
7412,
775,
30,
309,
833,
63,
20,
65,
422,
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,
2774,
13332,
468,
1208,
3467,
702,
273,
5087,
1435,
943,
67,
27537,
273,
4552,
67,
3373,
4596,
943,
67,
2338,
18881,
67,
457,
67,
2564,
273,
4552,
67,
16596,
6553,
55,
67,
3194,
67,
8908,
6692,
67,
4172,
67,
3202,
273,
534,
49,
67,
19473,
67,
12205,
6573,
67,
4172,
67,
3202,
273,
30210,
67,
19473,
67,
12205,
15204,
273,
2018,
67,
3776,
2721,
3700,
273,
1083,
468,
2537,
1206,
6055,
471,
2427,
2441,
1214,
273,
28096,
67,
4537,
225,
468,
336,
326,
1296,
980,
702,
775,
30,
2153,
1098,
16,
833,
273,
336,
3838,
18,
1600,
89,
67,
588,
3838,
12,
521,
2589,
18,
19485,
63,
21,
30,
6487,
296,
88,
30,
89,
30,
74,
30,
86,
2
] |
if not options.repository: | if not self.options.repository: | def __call__(self, args): from os.path import join from source import ChangesetApplicationFailure self.__load() | eeda904e2bbeed2d4a2346b6096cf76095964797 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5981/eeda904e2bbeed2d4a2346b6096cf76095964797/tailor.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
1991,
972,
12,
2890,
16,
833,
4672,
628,
1140,
18,
803,
1930,
1233,
628,
1084,
1930,
17776,
278,
3208,
5247,
225,
365,
16186,
945,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
1991,
972,
12,
2890,
16,
833,
4672,
628,
1140,
18,
803,
1930,
1233,
628,
1084,
1930,
17776,
278,
3208,
5247,
225,
365,
16186,
945,
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
] |
val = 'ptr_%d' % id | val = 'ptr_%d' % self._get_unique_ptr(val) | def register_box(self, id, name, val): try: return self.boxes[id] except KeyError: result = name.lower() + '_' + str(id) self.boxes[id] = result if name.endswith('Ptr'): val = 'ptr_%d' % id self.box_creations.append('%s = %s(%s)' % (result, name, val)) return result | 9c7173ab794b7b65456b91969f6da96bd0d6c2c0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6934/9c7173ab794b7b65456b91969f6da96bd0d6c2c0/loopparser.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1744,
67,
2147,
12,
2890,
16,
612,
16,
508,
16,
1244,
4672,
775,
30,
327,
365,
18,
15918,
63,
350,
65,
1335,
4999,
30,
563,
273,
508,
18,
8167,
1435,
397,
4427,
397,
609,
12,
350,
13,
365,
18,
15918,
63,
350,
65,
273,
563,
309,
508,
18,
5839,
1918,
2668,
5263,
11,
4672,
1244,
273,
296,
6723,
10185,
72,
11,
738,
365,
6315,
588,
67,
6270,
67,
6723,
12,
1125,
13,
365,
18,
2147,
67,
1793,
1012,
18,
6923,
29909,
87,
273,
738,
87,
9275,
87,
2506,
738,
261,
2088,
16,
508,
16,
1244,
3719,
327,
563,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1744,
67,
2147,
12,
2890,
16,
612,
16,
508,
16,
1244,
4672,
775,
30,
327,
365,
18,
15918,
63,
350,
65,
1335,
4999,
30,
563,
273,
508,
18,
8167,
1435,
397,
4427,
397,
609,
12,
350,
13,
365,
18,
15918,
63,
350,
65,
273,
563,
309,
508,
18,
5839,
1918,
2668,
5263,
11,
4672,
1244,
273,
296,
6723,
10185,
72,
11,
738,
365,
6315,
588,
67,
6270,
67,
6723,
12,
1125,
13,
365,
18,
2147,
67,
1793,
1012,
18,
6923,
29909,
87,
273,
738,
87,
9275,
87,
2506,
738,
261,
2088,
16,
508,
16,
1244,
3719,
327,
563,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
playground_livetime = abs(segs & playground_segs) nonplayground_livetime = abs(seg - playground_segs) | playground_livetime = float(abs(segs & playground_segs)) nonplayground_livetime = float(abs(segs - playground_segs)) | def update_from_db(self, filename, live_time_program = "thinca", vetoes_name = "vetoes", verbose = False): working_filename = dbtables.get_connection_filename(filename, tmp_path = None, verbose = verbose) connection = sqlite3.connect(working_filename) | e19a0e53185df38cc34f86c47f22da7de7b08119 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5758/e19a0e53185df38cc34f86c47f22da7de7b08119/far_plot.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
67,
2080,
67,
1966,
12,
2890,
16,
1544,
16,
8429,
67,
957,
67,
12890,
273,
315,
451,
267,
5353,
3113,
331,
11453,
281,
67,
529,
273,
315,
90,
11453,
281,
3113,
3988,
273,
1083,
4672,
5960,
67,
3459,
273,
1319,
9373,
18,
588,
67,
4071,
67,
3459,
12,
3459,
16,
1853,
67,
803,
273,
599,
16,
3988,
273,
3988,
13,
1459,
273,
16184,
23,
18,
3612,
12,
20478,
67,
3459,
13,
2,
0,
0,
0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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
67,
2080,
67,
1966,
12,
2890,
16,
1544,
16,
8429,
67,
957,
67,
12890,
273,
315,
451,
267,
5353,
3113,
331,
11453,
281,
67,
529,
273,
315,
90,
11453,
281,
3113,
3988,
273,
1083,
4672,
5960,
67,
3459,
273,
1319,
9373,
18,
588,
67,
4071,
67,
3459,
12,
3459,
16,
1853,
67,
803,
273,
599,
16,
3988,
273,
3988,
13,
1459,
273,
16184,
23,
18,
3612,
12,
20478,
67,
3459,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
data_row.append(snpsd.callProbabilities[j][k]) outStr += deliminator.join(data_row) | outStr += deliminator+str(snpsd.callProbabilities[j][k]) outStr +="\n" del snpsd | def writeRawSnpsDatasToFile(filename,snpsds,chromosomes=[1,2,3,4,5], deliminator=", ", missingVal = "NA", accDecoder=None, withArrayIds = False, callProbFile=None): """ 2008-05-17 for callProbFile, modify it to output a row immediately. no memory hoarding, untested. 2008-05-17 modify it to output a row immediately. no memory hoarding fix a slight bug. arrayIds is outputted always using ', ' as delimiter Writes data to a file. """ import sys,csv sys.stderr.write("Writing data to file: %s ..."%filename) numSnps = 0 for i in range(0,len(chromosomes)): numSnps += len(snpsds[i].positions) accessions = snpsds[0].accessions for i in range(1,len(chromosomes)): if accessions != snpsds[i].accessions: raise Exception("Accessions are different between SNPs datas") decoder = RawDecoder() decoder['NA']=missingVal print "NumSnps: "+str(numSnps)+", NumAcc: "+str(len(accessions))+"\n" #writer = csv.writer(open(filename, 'w'), delimiter=deliminator) if withArrayIds: #writer.writerow(['-', '-']+snpsds[0].arrayIds) outStr = deliminator.join(['-', '-'])+deliminator+deliminator.join(snpsds[0].arrayIds)+"\n" else: outStr = "" fieldStrings = ["Chromosome", "Positions"] if accDecoder: for acc in snpsds[i].accessions: fieldStrings.append(str(accDecoder[acc])) else: for acc in snpsds[i].accessions: fieldStrings.append(str(acc)) #writer.writerow(fieldStrings) f = open(filename, 'w') outStr += deliminator.join(fieldStrings)+"\n" f.write(outStr) for i in range(0,len(chromosomes)): outStr="" for j in range(0,len(snpsds[i].positions)): outStr += str(chromosomes[i])+deliminator+str(snpsds[i].positions[j])+deliminator outStr += deliminator.join(snpsds[i].snps[j])+"\n" #data_row = [chromosomes[i], snpsds[i].positions[j]] #for k in range(0, len(snpsds[0].accessions)): # data_row.append(decoder[snpsds[i].snps[j][k]]) #writer.writerow(data_row) f.write(outStr) #del writer if callProbFile: f = open(callProbFile, 'w') outStr = "" if withArrayIds: outStr += deliminator.join(['-', '-']+snpsds[0].arrayIds)+'\n' f.write(outStr) for i in range(0,len(chromosomes)): outStr = "" snpsd = snpsds[i] snpsds[i] = [] for j in range(0,len(snpsd.positions)): data_row = [chromosomes[i], snpsd.positions[j]] for k in range(0, len(snpsd.accessions)): data_row.append(snpsd.callProbabilities[j][k]) outStr += deliminator.join(data_row) f.write(outStr) del snpsd del writer sys.stderr.write("Done.\n") | 418bb04d946b1524e072b4b071dc11c3801609ef /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9645/418bb04d946b1524e072b4b071dc11c3801609ef/snpsdata.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1045,
4809,
10461,
1121,
14305,
15450,
12,
3459,
16,
8134,
1121,
2377,
16,
16298,
538,
21912,
22850,
21,
16,
22,
16,
23,
16,
24,
16,
25,
6487,
10508,
4240,
1546,
16,
3104,
3315,
3053,
273,
315,
11277,
3113,
4078,
7975,
33,
7036,
16,
598,
1076,
2673,
273,
1083,
16,
745,
9152,
812,
33,
7036,
4672,
3536,
4044,
28,
17,
6260,
17,
4033,
364,
745,
9152,
812,
16,
5612,
518,
358,
876,
279,
1027,
7636,
18,
1158,
3778,
26025,
1060,
310,
16,
640,
88,
3149,
18,
4044,
28,
17,
6260,
17,
4033,
5612,
518,
358,
876,
279,
1027,
7636,
18,
1158,
3778,
26025,
1060,
310,
2917,
279,
20049,
7934,
18,
526,
2673,
353,
876,
2344,
3712,
1450,
2265,
296,
487,
5654,
30053,
501,
358,
279,
585,
18,
3536,
1930,
2589,
16,
6715,
2589,
18,
11241,
18,
2626,
2932,
18835,
501,
358,
585,
30,
738,
87,
18483,
9,
3459,
13,
818,
10461,
1121,
273,
374,
364,
277,
316,
1048,
12,
20,
16,
1897,
12,
16298,
538,
21912,
3719,
30,
818,
10461,
1121,
1011,
562,
12,
8134,
1121,
2377,
63,
77,
8009,
12388,
13,
225,
2006,
1115,
273,
4556,
1121,
2377,
63,
20,
8009,
3860,
1115,
364,
277,
316,
1048,
12,
21,
16,
1897,
12,
16298,
538,
21912,
3719,
30,
309,
2006,
1115,
480,
4556,
1121,
2377,
63,
77,
8009,
3860,
1115,
30,
1002,
1185,
2932,
1862,
1115,
854,
3775,
3086,
14204,
18124,
5386,
7923,
282,
8320,
273,
6576,
7975,
1435,
8320,
3292,
11277,
3546,
33,
7337,
3053,
225,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1045,
4809,
10461,
1121,
14305,
15450,
12,
3459,
16,
8134,
1121,
2377,
16,
16298,
538,
21912,
22850,
21,
16,
22,
16,
23,
16,
24,
16,
25,
6487,
10508,
4240,
1546,
16,
3104,
3315,
3053,
273,
315,
11277,
3113,
4078,
7975,
33,
7036,
16,
598,
1076,
2673,
273,
1083,
16,
745,
9152,
812,
33,
7036,
4672,
3536,
4044,
28,
17,
6260,
17,
4033,
364,
745,
9152,
812,
16,
5612,
518,
358,
876,
279,
1027,
7636,
18,
1158,
3778,
26025,
1060,
310,
16,
640,
88,
3149,
18,
4044,
28,
17,
6260,
17,
4033,
5612,
518,
358,
876,
279,
1027,
7636,
18,
1158,
3778,
26025,
1060,
310,
2917,
279,
20049,
7934,
18,
526,
2673,
353,
876,
2344,
3712,
1450,
2265,
296,
2
] |
n = unicode(getattr(self.options, name) or "", "utf-8") | n = getattr(self.options, name) | def setmb(name): n = unicode(getattr(self.options, name) or "", "utf-8") if n: env.metabook[name] = n | dfd7572654b4c30a622f169e0119a13f36e9d72b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12391/dfd7572654b4c30a622f169e0119a13f36e9d72b/options.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
1627,
12,
529,
4672,
290,
273,
3869,
12,
2890,
18,
2116,
16,
508,
13,
309,
290,
30,
1550,
18,
10578,
378,
1184,
63,
529,
65,
273,
290,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1627,
12,
529,
4672,
290,
273,
3869,
12,
2890,
18,
2116,
16,
508,
13,
309,
290,
30,
1550,
18,
10578,
378,
1184,
63,
529,
65,
273,
290,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
with open("rs_dump2.html", "w") as f: f.write(self.html[1]) | def download_serverhtml(self): """downloads html with the important informations """ file_server_url = re.search(r"<form action=\"(.*?)\"", self.html[0]).group(1) self.html[1] = self.req.load(file_server_url, cookies=True, post={"dl.start": "Free"}) with open("rs_dump2.html", "w") as f: f.write(self.html[1]) self.html_old = time() self.get_wait_time() | 9107885456c67f46eba52f6bc155c16e3f9b7612 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9838/9107885456c67f46eba52f6bc155c16e3f9b7612/RapidshareCom.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4224,
67,
3567,
2620,
12,
2890,
4672,
3536,
7813,
87,
1729,
598,
326,
10802,
26978,
3536,
585,
67,
3567,
67,
718,
273,
283,
18,
3072,
12,
86,
6,
32,
687,
1301,
5189,
21110,
2412,
3113,
365,
18,
2620,
63,
20,
65,
2934,
1655,
12,
21,
13,
365,
18,
2620,
63,
21,
65,
273,
365,
18,
3658,
18,
945,
12,
768,
67,
3567,
67,
718,
16,
7237,
33,
5510,
16,
1603,
5899,
6,
5761,
18,
1937,
6877,
315,
9194,
6,
6792,
225,
365,
18,
2620,
67,
1673,
273,
813,
1435,
365,
18,
588,
67,
7048,
67,
957,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4224,
67,
3567,
2620,
12,
2890,
4672,
3536,
7813,
87,
1729,
598,
326,
10802,
26978,
3536,
585,
67,
3567,
67,
718,
273,
283,
18,
3072,
12,
86,
6,
32,
687,
1301,
5189,
21110,
2412,
3113,
365,
18,
2620,
63,
20,
65,
2934,
1655,
12,
21,
13,
365,
18,
2620,
63,
21,
65,
273,
365,
18,
3658,
18,
945,
12,
768,
67,
3567,
67,
718,
16,
7237,
33,
5510,
16,
1603,
5899,
6,
5761,
18,
1937,
6877,
315,
9194,
6,
6792,
225,
365,
18,
2620,
67,
1673,
273,
813,
1435,
365,
18,
588,
67,
7048,
67,
957,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] | |
print 'extern GimpCompositeFunction %s;' % ("gimp_composite_unsupported") | print 'extern GimpCompositeFunction %s();' % ("gimp_composite_unsupported") | print >>fpout, 'typedef GimpCompositeFunction (*GimpCompositeFunctionTable[%s][%s][%s][%s]);' % ("GIMP_COMPOSITE_N", "GIMP_PIXELFORMAT_N", "GIMP_PIXELFORMAT_N", "GIMP_PIXELFORMAT_N") | f5e839a39c751867051e44f224ab9ad5de4a6598 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11058/f5e839a39c751867051e44f224ab9ad5de4a6598/make-gimp-composite-dispatch.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1172,
1671,
7944,
659,
16,
296,
723,
536,
611,
14532,
9400,
2083,
261,
14,
43,
14532,
9400,
2083,
1388,
14451,
87,
6362,
9,
87,
6362,
9,
87,
6362,
9,
87,
65,
13869,
738,
7566,
43,
9883,
67,
4208,
24595,
67,
50,
3113,
315,
43,
9883,
67,
27381,
2247,
7254,
67,
50,
3113,
315,
43,
9883,
67,
27381,
2247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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1172,
1671,
7944,
659,
16,
296,
723,
536,
611,
14532,
9400,
2083,
261,
14,
43,
14532,
9400,
2083,
1388,
14451,
87,
6362,
9,
87,
6362,
9,
87,
6362,
9,
87,
65,
13869,
738,
7566,
43,
9883,
67,
4208,
24595,
67,
50,
3113,
315,
43,
9883,
67,
27381,
2247,
7254,
67,
50,
3113,
315,
43,
9883,
67,
27381,
2247,
7254,
67,
50,
3113,
315,
43,
9883,
67,
27381,
2247,
7254,
67,
50,
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
] |
optlist, args = getopt.getopt(sys.argv[1:], "hct", ["help", "clean", "test", "package", "build-stamp="]) | optlist, args = getopt.getopt(sys.argv[1:], "hct", ["help", "clean", "test", "package", "build-stamp=", "publish", "register"]) | def usage(): """This function is used to print out help either by request, or if an invalid option is used.""" print print "Usage: python build.py [command]" print print "\t--help\t\t\tprint this help message" print "\t--clean\t\t\tclean out this build by deleting the %s directory" % properties["targetDir"] print "\t--test\t\t\trun the test suite, leaving all artifacts in %s" % properties["testDir"] print "\t--package\t\tpackage everything up into a tarball for release to sourceforge in %s" % properties["packageDir"] print "\t--build-stamp [tag]\tfor --package, this specifies a special tag, generating version tag '%s-<tag>'" % properties["version"] print "\t\t\t\tIf this option isn't used, default will be tag will be '%s-<current time>'" % properties["version"] print "\t--publish\t\tpublish this release to the deployment server" print "\t--register\t\tregister this release with http://pypi.python.org/pypi" print | 90990401532f7e6b2d5037c025499a14786b1651 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7713/90990401532f7e6b2d5037c025499a14786b1651/build.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4084,
13332,
3536,
2503,
445,
353,
1399,
358,
1172,
596,
2809,
3344,
635,
590,
16,
578,
309,
392,
2057,
1456,
353,
1399,
12123,
1172,
1172,
315,
5357,
30,
5790,
1361,
18,
2074,
306,
3076,
4279,
1172,
1172,
1548,
88,
413,
5201,
64,
88,
64,
88,
64,
88,
1188,
333,
2809,
883,
6,
1172,
1548,
88,
413,
6200,
64,
88,
64,
88,
64,
88,
6200,
596,
333,
1361,
635,
12993,
326,
738,
87,
1867,
6,
738,
1790,
9614,
3299,
1621,
11929,
1172,
1548,
88,
413,
3813,
64,
88,
64,
88,
64,
313,
318,
326,
1842,
11371,
16,
15086,
777,
16259,
316,
738,
87,
6,
738,
1790,
9614,
3813,
1621,
11929,
1172,
1548,
88,
413,
5610,
64,
88,
64,
88,
5610,
7756,
731,
1368,
279,
29441,
364,
3992,
358,
1084,
1884,
908,
316,
738,
87,
6,
738,
1790,
9614,
5610,
1621,
11929,
1172,
1548,
88,
413,
3510,
17,
14317,
306,
2692,
13944,
88,
1884,
1493,
5610,
16,
333,
11470,
279,
4582,
1047,
16,
12516,
1177,
1047,
1995,
87,
17,
32,
2692,
1870,
6,
738,
1790,
9614,
1589,
11929,
1172,
1548,
88,
64,
88,
64,
88,
64,
88,
2047,
333,
1456,
5177,
1404,
1399,
16,
805,
903,
506,
1047,
903,
506,
1995,
87,
17,
32,
2972,
813,
1870,
6,
738,
1790,
9614,
1589,
11929,
1172,
1548,
88,
413,
6543,
64,
88,
64,
88,
6543,
333,
3992,
358,
326,
6314,
1438,
6,
1172,
1548,
88,
413,
4861,
64,
88,
64,
88,
4861,
333,
3992,
598,
1062,
2207,
22680,
77,
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,
4084,
13332,
3536,
2503,
445,
353,
1399,
358,
1172,
596,
2809,
3344,
635,
590,
16,
578,
309,
392,
2057,
1456,
353,
1399,
12123,
1172,
1172,
315,
5357,
30,
5790,
1361,
18,
2074,
306,
3076,
4279,
1172,
1172,
1548,
88,
413,
5201,
64,
88,
64,
88,
64,
88,
1188,
333,
2809,
883,
6,
1172,
1548,
88,
413,
6200,
64,
88,
64,
88,
64,
88,
6200,
596,
333,
1361,
635,
12993,
326,
738,
87,
1867,
6,
738,
1790,
9614,
3299,
1621,
11929,
1172,
1548,
88,
413,
3813,
64,
88,
64,
88,
64,
313,
318,
326,
1842,
11371,
16,
15086,
777,
16259,
316,
738,
87,
6,
738,
1790,
9614,
3813,
1621,
11929,
1172,
1548,
88,
413,
5610,
64,
88,
64,
88,
2
] |
for name in self.get_handler_names(): if name.endswith('.metadata'): continue | for name in self.get_names(): | def get_new_id(self, prefix=''): ids = [] for name in self.get_handler_names(): if name.endswith('.metadata'): continue if prefix: if not name.startswith(prefix): continue name = name[len(prefix):] try: id = int(name) except ValueError: continue ids.append(id) | 1fa77be5b783398ca5fc70ac4c6bcf0d082732e2 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12681/1fa77be5b783398ca5fc70ac4c6bcf0d082732e2/tracker.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
2704,
67,
350,
12,
2890,
16,
1633,
2218,
11,
4672,
3258,
273,
5378,
364,
508,
316,
365,
18,
588,
67,
1973,
13332,
309,
1633,
30,
309,
486,
508,
18,
17514,
1918,
12,
3239,
4672,
1324,
508,
273,
508,
63,
1897,
12,
3239,
4672,
65,
775,
30,
612,
273,
509,
12,
529,
13,
1335,
2068,
30,
1324,
3258,
18,
6923,
12,
350,
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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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
2704,
67,
350,
12,
2890,
16,
1633,
2218,
11,
4672,
3258,
273,
5378,
364,
508,
316,
365,
18,
588,
67,
1973,
13332,
309,
1633,
30,
309,
486,
508,
18,
17514,
1918,
12,
3239,
4672,
1324,
508,
273,
508,
63,
1897,
12,
3239,
4672,
65,
775,
30,
612,
273,
509,
12,
529,
13,
1335,
2068,
30,
1324,
3258,
18,
6923,
12,
350,
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
] |
print "***C" | def FillinConAttr(self, attr): if (self.contype == "smi"): if (self.port == ""): print "***A" raise InvalidDomainError("No port specified") attr.extend([ "smi", str(self.port) ]) elif (self.contype == "lan"): if (self.address == ""): print "***B" raise InvalidDomainError("No address specified") attr.append("lan") if (self.port != ""): attr.extend(["-p", self.port]) if (self.username != ""): attr.extend(["-U", self.username]) if (self.password != ""): attr.extend(["-P", self.password]) if (self.authtype != ""): attr.extend(["-A", self.authtype]) if (self.privilege != ""): attr.extend(["-L", self.privilege]) if (self.auth_alg != ""): attr.extend(["-Ra", self.auth_alg]) if (self.integ_alg != ""): attr.extend(["-Ri", self.integ_alg]) if (self.conf_alg != ""): attr.extend(["-Rc", self.conf_alg]) if (self.bmc_key != ""): attr.extend(["-Rk", self.bmc_key]) if (self.lookup_uses_priv): attr.append("-Rl") for h in self.hacks: attr.extend(["-H", h]) if (self.address2 != ""): attr.append("-s") if (self.port2 != ""): attr.extend(["-p2", self.port2]) attr.append(self.address) if (self.address2 != ""): attr.append(self.address2) else: print "***C" raise InvalidDomainError("Invalid connection type: " + self.contype) | 9a494271213765e6cd1c2cecaa81860143e9e82a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3867/9a494271213765e6cd1c2cecaa81860143e9e82a/_domain.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
14192,
267,
442,
3843,
12,
2890,
16,
1604,
4672,
309,
261,
2890,
18,
591,
723,
422,
315,
4808,
77,
6,
4672,
309,
261,
2890,
18,
655,
422,
1408,
4672,
1172,
315,
14465,
37,
6,
1002,
1962,
3748,
668,
2932,
2279,
1756,
1269,
7923,
1604,
18,
14313,
3816,
315,
4808,
77,
3113,
609,
12,
2890,
18,
655,
13,
308,
13,
1327,
261,
2890,
18,
591,
723,
422,
315,
6115,
6,
4672,
309,
261,
2890,
18,
2867,
422,
1408,
4672,
1172,
315,
14465,
38,
6,
1002,
1962,
3748,
668,
2932,
2279,
1758,
1269,
7923,
1604,
18,
6923,
2932,
6115,
7923,
309,
261,
2890,
18,
655,
480,
1408,
4672,
1604,
18,
14313,
3816,
6,
17,
84,
3113,
365,
18,
655,
5717,
309,
261,
2890,
18,
5053,
480,
1408,
4672,
1604,
18,
14313,
3816,
6,
17,
57,
3113,
365,
18,
5053,
5717,
309,
261,
2890,
18,
3664,
480,
1408,
4672,
1604,
18,
14313,
3816,
6,
17,
52,
3113,
365,
18,
3664,
5717,
309,
261,
2890,
18,
5854,
647,
388,
480,
1408,
4672,
1604,
18,
14313,
3816,
6,
17,
37,
3113,
365,
18,
5854,
647,
388,
5717,
309,
261,
2890,
18,
28459,
908,
480,
1408,
4672,
1604,
18,
14313,
3816,
6,
17,
48,
3113,
365,
18,
28459,
908,
5717,
309,
261,
2890,
18,
1944,
67,
18413,
480,
1408,
4672,
1604,
18,
14313,
3816,
6,
17,
12649,
3113,
365,
18,
1944,
67,
18413,
5717,
309,
261,
2890,
18,
14970,
67,
18413,
480,
1408,
4672,
1604,
18,
14313,
3816,
6,
17,
54,
77,
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,
14192,
267,
442,
3843,
12,
2890,
16,
1604,
4672,
309,
261,
2890,
18,
591,
723,
422,
315,
4808,
77,
6,
4672,
309,
261,
2890,
18,
655,
422,
1408,
4672,
1172,
315,
14465,
37,
6,
1002,
1962,
3748,
668,
2932,
2279,
1756,
1269,
7923,
1604,
18,
14313,
3816,
315,
4808,
77,
3113,
609,
12,
2890,
18,
655,
13,
308,
13,
1327,
261,
2890,
18,
591,
723,
422,
315,
6115,
6,
4672,
309,
261,
2890,
18,
2867,
422,
1408,
4672,
1172,
315,
14465,
38,
6,
1002,
1962,
3748,
668,
2932,
2279,
1758,
1269,
7923,
1604,
18,
6923,
2932,
6115,
7923,
309,
261,
2890,
18,
655,
480,
1408,
4672,
1604,
18,
14313,
3816,
6,
17,
84,
3113,
365,
18,
655,
5717,
2
] | |
return min(self.slideNumber + 1, self.last_slide()) | return min((self.slideNumber or 1) + 1, self.last_slide()) | def next_slide(self): return min(self.slideNumber + 1, self.last_slide()) | e38a9f4a565c588f47efdeefb92038d05ab048f4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/888/e38a9f4a565c588f47efdeefb92038d05ab048f4/SlideShow.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1024,
67,
26371,
12,
2890,
4672,
327,
1131,
12,
2890,
18,
26371,
1854,
397,
404,
16,
365,
18,
2722,
67,
26371,
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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1652,
1024,
67,
26371,
12,
2890,
4672,
327,
1131,
12,
2890,
18,
26371,
1854,
397,
404,
16,
365,
18,
2722,
67,
26371,
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
] |
self.status_bar = TFrame(root, name = 'statusbar', style='FlatFrame' ) self.status_bar.pack(side = BOTTOM, fill=X) | self.status_bar = TFrame(root, name='statusbar', style='FlatFrame') self.status_bar.pack(side=BOTTOM, fill=X) | def build_window(self): root = self.application.root p_frame = TFrame(root, style='FlatFrame') p_frame.pack(side = 'right', fill = Y) palette_frame = TFrame(p_frame, style='FlatFrame', borderwidth=3) palette_frame.pack(side = 'right', fill = Y) b = TLabel(p_frame, style='VLine3') self.pc=PluginContainer(p_frame,self.root, self) self.pc.rborder=b b = TLabel(root, style='VLine2') b.pack(side = 'right', fill = Y) | 5bd05aab08ecc99debb8be46af1003105e4183ab /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3123/5bd05aab08ecc99debb8be46af1003105e4183ab/mainwindow.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1361,
67,
5668,
12,
2890,
4672,
1365,
273,
365,
18,
3685,
18,
3085,
225,
293,
67,
3789,
273,
399,
3219,
12,
3085,
16,
2154,
2218,
16384,
3219,
6134,
293,
67,
3789,
18,
2920,
12,
5564,
273,
296,
4083,
2187,
3636,
273,
1624,
13,
225,
12127,
67,
3789,
273,
399,
3219,
12,
84,
67,
3789,
16,
2154,
2218,
16384,
3219,
2187,
5795,
2819,
33,
23,
13,
12127,
67,
3789,
18,
2920,
12,
5564,
273,
296,
4083,
2187,
3636,
273,
1624,
13,
225,
324,
273,
399,
2224,
12,
84,
67,
3789,
16,
2154,
2218,
58,
1670,
23,
6134,
225,
365,
18,
2436,
33,
3773,
2170,
12,
84,
67,
3789,
16,
2890,
18,
3085,
16,
365,
13,
365,
18,
2436,
18,
6731,
1019,
33,
70,
225,
324,
273,
399,
2224,
12,
3085,
16,
2154,
2218,
58,
1670,
22,
6134,
324,
18,
2920,
12,
5564,
273,
296,
4083,
2187,
3636,
273,
1624,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1361,
67,
5668,
12,
2890,
4672,
1365,
273,
365,
18,
3685,
18,
3085,
225,
293,
67,
3789,
273,
399,
3219,
12,
3085,
16,
2154,
2218,
16384,
3219,
6134,
293,
67,
3789,
18,
2920,
12,
5564,
273,
296,
4083,
2187,
3636,
273,
1624,
13,
225,
12127,
67,
3789,
273,
399,
3219,
12,
84,
67,
3789,
16,
2154,
2218,
16384,
3219,
2187,
5795,
2819,
33,
23,
13,
12127,
67,
3789,
18,
2920,
12,
5564,
273,
296,
4083,
2187,
3636,
273,
1624,
13,
225,
324,
273,
399,
2224,
12,
84,
67,
3789,
16,
2154,
2218,
58,
1670,
23,
6134,
225,
365,
18,
2436,
33,
3773,
2170,
12,
84,
67,
3789,
16,
2890,
18,
3085,
16,
365,
13,
365,
18,
2436,
18,
2
] |
self.rating = gutils.trim(self.page, '<b>User Rating:</b>', '/10') | self.rating = gutils.trim(self.page, '<b>User Rating:</b> \n<b>', '/10') | def get_rating(self): self.rating = gutils.trim(self.page, '<b>User Rating:</b>', '/10') if self.rating and self.rating.find('awaiting') == -1: try: self.rating = float(self.rating) except Exception, e: self.rating = 0 else: self.rating = 0 | 6c8bceb9124a5b82c27af1272e6ba63f56b21c8f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2687/6c8bceb9124a5b82c27af1272e6ba63f56b21c8f/PluginMovieIMDB.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
17326,
12,
2890,
4672,
365,
18,
17326,
273,
314,
5471,
18,
5290,
12,
2890,
18,
2433,
16,
2368,
70,
34,
1299,
534,
1776,
19814,
70,
34,
521,
82,
32,
70,
1870,
16,
1173,
2163,
6134,
309,
365,
18,
17326,
471,
365,
18,
17326,
18,
4720,
2668,
30515,
310,
6134,
422,
300,
21,
30,
775,
30,
365,
18,
17326,
273,
1431,
12,
2890,
18,
17326,
13,
1335,
1185,
16,
425,
30,
365,
18,
17326,
273,
374,
469,
30,
365,
18,
17326,
273,
374,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
17326,
12,
2890,
4672,
365,
18,
17326,
273,
314,
5471,
18,
5290,
12,
2890,
18,
2433,
16,
2368,
70,
34,
1299,
534,
1776,
19814,
70,
34,
521,
82,
32,
70,
1870,
16,
1173,
2163,
6134,
309,
365,
18,
17326,
471,
365,
18,
17326,
18,
4720,
2668,
30515,
310,
6134,
422,
300,
21,
30,
775,
30,
365,
18,
17326,
273,
1431,
12,
2890,
18,
17326,
13,
1335,
1185,
16,
425,
30,
365,
18,
17326,
273,
374,
469,
30,
365,
18,
17326,
273,
374,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
def func_text_html (request, path, mimetype) : | def func_text_html (request, path) : | def func_text_html (request, path, mimetype) : return open(path, "rb").read() | e5879d5f4725acc7589a4f45e6c1975a6092d3b1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4349/e5879d5f4725acc7589a4f45e6c1975a6092d3b1/__init__.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1326,
67,
955,
67,
2620,
261,
2293,
16,
589,
13,
294,
327,
1696,
12,
803,
16,
315,
6731,
20387,
896,
1435,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1326,
67,
955,
67,
2620,
261,
2293,
16,
589,
13,
294,
327,
1696,
12,
803,
16,
315,
6731,
20387,
896,
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
] |
return {0: '8', 1: '8', 'flag': '0', 'border': '0'} | return {0: '8', 1: '8', 'flag': '0', 'border': '0'} | def designTimeSource(self, wId, method=None): if method is None: method = self.insertionMethod if method == 'AddWindow': return {0: 'None', 1: '0', 'flag': '0', 'border': '0'} elif method == 'AddSizer': return {0: 'None', 1: '0', 'flag': '0', 'border': '0'} elif method == 'AddSpacer': return {0: '8', 1: '8', 'flag': '0', 'border': '0'} | f1282503f876232c6a9f48c3d5b7a52bbc481a8d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/f1282503f876232c6a9f48c3d5b7a52bbc481a8d/SizerCompanions.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8281,
950,
1830,
12,
2890,
16,
341,
548,
16,
707,
33,
7036,
4672,
309,
707,
353,
599,
30,
707,
273,
365,
18,
6387,
285,
1305,
225,
309,
707,
422,
296,
986,
3829,
4278,
327,
288,
20,
30,
296,
7036,
2187,
404,
30,
296,
20,
2187,
296,
6420,
4278,
282,
296,
20,
2187,
296,
8815,
4278,
296,
20,
11,
97,
1327,
707,
422,
296,
986,
20512,
4278,
327,
288,
20,
30,
296,
7036,
2187,
404,
30,
296,
20,
2187,
296,
6420,
4278,
282,
296,
20,
2187,
296,
8815,
4278,
296,
20,
11,
97,
1327,
707,
422,
296,
986,
3389,
10598,
4278,
327,
288,
20,
30,
225,
296,
28,
2187,
404,
30,
296,
28,
2187,
296,
6420,
4278,
282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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8281,
950,
1830,
12,
2890,
16,
341,
548,
16,
707,
33,
7036,
4672,
309,
707,
353,
599,
30,
707,
273,
365,
18,
6387,
285,
1305,
225,
309,
707,
422,
296,
986,
3829,
4278,
327,
288,
20,
30,
296,
7036,
2187,
404,
30,
296,
20,
2187,
296,
6420,
4278,
282,
296,
20,
2187,
296,
8815,
4278,
296,
20,
11,
97,
1327,
707,
422,
296,
986,
20512,
4278,
327,
288,
20,
30,
296,
7036,
2187,
404,
30,
296,
20,
2187,
296,
6420,
4278,
282,
296,
20,
2187,
296,
8815,
4278,
296,
20,
11,
97,
1327,
707,
422,
296,
986,
3389,
10598,
4278,
327,
288,
20,
30,
225,
296,
28,
2187,
404,
30,
296,
28,
2187,
296,
6420,
4278,
282,
296,
2
] |
""" return self.parse(mv) | """ return self.parse(mv) | def __call__(self, mv): """ EXAMPLES: sage: rubik = CubeGroup() sage: rubik(1) () """ return self.parse(mv) | 682d310039cd3f0ff12792c4704e67066e622b98 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/682d310039cd3f0ff12792c4704e67066e622b98/cubegroup.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
1991,
972,
12,
2890,
16,
7701,
4672,
3536,
5675,
8900,
11386,
30,
272,
410,
30,
24997,
1766,
273,
385,
4895,
1114,
1435,
272,
410,
30,
24997,
1766,
12,
21,
13,
1832,
3536,
327,
365,
18,
2670,
12,
17509,
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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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
1991,
972,
12,
2890,
16,
7701,
4672,
3536,
5675,
8900,
11386,
30,
272,
410,
30,
24997,
1766,
273,
385,
4895,
1114,
1435,
272,
410,
30,
24997,
1766,
12,
21,
13,
1832,
3536,
327,
365,
18,
2670,
12,
17509,
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
] |
try: doc = etree.parse(fb2file, parser) except: raise logger.info('Parsing failed. Trying to clean up XML...') soup = BeautifulStoneSoup(open(fb2file, 'rb').read()) doc = etree.fromstring(str(soup)) | doc = etree.parse(fb2file, parser) extract_embedded_content(doc) | def generate_html(fb2file, encoding, logger): from lxml import etree tdir = tempfile.mkdtemp(prefix=__appname__+'_') ofile = os.path.join(tdir, 'index.xml') cwd = os.getcwdu() os.chdir(tdir) try: logger.info('Parsing XML...') parser = etree.XMLParser(recover=True, no_network=True) try: doc = etree.parse(fb2file, parser) except: raise logger.info('Parsing failed. Trying to clean up XML...') soup = BeautifulStoneSoup(open(fb2file, 'rb').read()) doc = etree.fromstring(str(soup)) logger.info('Converting XML to HTML...') styledoc = etree.fromstring(fb2_xsl) transform = etree.XSLT(styledoc) result = transform(doc) html = os.path.join(tdir, 'index.html') f = open(html, 'wb') f.write(transform.tostring(result)) f.close() finally: os.chdir(cwd) return html | 1cf4f8661a06bd405c86f9953e860059cb2ea1f7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9125/1cf4f8661a06bd405c86f9953e860059cb2ea1f7/convert_from.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2103,
67,
2620,
12,
19192,
22,
768,
16,
2688,
16,
1194,
4672,
628,
328,
2902,
1930,
12031,
268,
1214,
273,
13275,
18,
24816,
72,
5814,
12,
3239,
33,
972,
2910,
529,
972,
6797,
4623,
13,
434,
398,
273,
1140,
18,
803,
18,
5701,
12,
88,
1214,
16,
296,
1615,
18,
2902,
6134,
7239,
273,
1140,
18,
588,
71,
91,
2544,
1435,
1140,
18,
343,
1214,
12,
88,
1214,
13,
775,
30,
1194,
18,
1376,
2668,
13963,
3167,
7821,
13,
2082,
273,
12031,
18,
4201,
2678,
12,
266,
3165,
33,
5510,
16,
1158,
67,
5185,
33,
5510,
13,
997,
273,
12031,
18,
2670,
12,
19192,
22,
768,
16,
2082,
13,
2608,
67,
20722,
67,
1745,
12,
2434,
13,
1194,
18,
1376,
2668,
2723,
310,
3167,
358,
3982,
7821,
13,
16253,
1259,
504,
273,
12031,
18,
2080,
1080,
12,
19192,
22,
67,
30903,
13,
225,
2510,
273,
12031,
18,
60,
4559,
56,
12,
334,
93,
1259,
504,
13,
563,
273,
2510,
12,
2434,
13,
1729,
273,
1140,
18,
803,
18,
5701,
12,
88,
1214,
16,
296,
1615,
18,
2620,
6134,
284,
273,
1696,
12,
2620,
16,
296,
9464,
6134,
284,
18,
2626,
12,
6547,
18,
14627,
371,
12,
2088,
3719,
284,
18,
4412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18,
24816,
72,
5814,
12,
3239,
33,
972,
2910,
529,
972,
6797,
4623,
13,
434,
398,
273,
1140,
18,
803,
18,
5701,
12,
88,
1214,
16,
296,
1615,
18,
2902,
6134,
7239,
273,
1140,
18,
588,
71,
91,
2544,
1435,
1140,
18,
343,
1214,
12,
88,
1214,
13,
775,
30,
1194,
18,
1376,
2668,
13963,
3167,
7821,
13,
2082,
273,
12031,
18,
4201,
2678,
12,
266,
3165,
33,
5510,
16,
1158,
67,
5185,
33,
5510,
13,
997,
273,
12031,
18,
2670,
12,
19192,
22,
768,
16,
2082,
13,
2608,
67,
20722,
67,
1745,
12,
2434,
13,
1194,
2
] |
for row in item.Item.select('filename', 'filename IS NOT NULL AND filename LIKE ?', (path,)): if samefile(row[0], path): return True | for item_ in item.Item.make_view('filename LIKE ?', (path,)): if samefile(item_.filename, path): return item_ | def _item_exists_for_path(path): # in SQLite, LIKE is case insensitive, so we can use it to only look at # filenames that possibly will match for row in item.Item.select('filename', 'filename IS NOT NULL AND filename LIKE ?', (path,)): if samefile(row[0], path): return True return False | 3de7f49df391e02824778db881076fdde011aa11 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/3de7f49df391e02824778db881076fdde011aa11/commandline.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1726,
67,
1808,
67,
1884,
67,
803,
12,
803,
4672,
468,
316,
16192,
16,
13161,
353,
648,
17904,
16,
1427,
732,
848,
999,
518,
358,
1338,
2324,
622,
468,
9066,
716,
10016,
903,
845,
364,
761,
67,
316,
761,
18,
1180,
18,
6540,
67,
1945,
2668,
3459,
13161,
692,
2187,
261,
803,
16,
3719,
30,
309,
1967,
768,
12,
1726,
27799,
3459,
16,
589,
4672,
327,
761,
67,
327,
1083,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1726,
67,
1808,
67,
1884,
67,
803,
12,
803,
4672,
468,
316,
16192,
16,
13161,
353,
648,
17904,
16,
1427,
732,
848,
999,
518,
358,
1338,
2324,
622,
468,
9066,
716,
10016,
903,
845,
364,
761,
67,
316,
761,
18,
1180,
18,
6540,
67,
1945,
2668,
3459,
13161,
692,
2187,
261,
803,
16,
3719,
30,
309,
1967,
768,
12,
1726,
27799,
3459,
16,
589,
4672,
327,
761,
67,
327,
1083,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return (-1, res, warning, '') | return (-1, res, 'Line ' + str(counter) +' : ' + warning, '') | fields_def = self.fields_get(cr, uid, context=context) | 0e4fa6a5dfc21523ffda8c6169d4dca20776c412 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12853/0e4fa6a5dfc21523ffda8c6169d4dca20776c412/orm.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1466,
67,
536,
273,
365,
18,
2821,
67,
588,
12,
3353,
16,
4555,
16,
819,
33,
2472,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1466,
67,
536,
273,
365,
18,
2821,
67,
588,
12,
3353,
16,
4555,
16,
819,
33,
2472,
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
] |
elif str(packet.data) == "!stresstest": | elif str(packet.data) == "!stresstest" and not playing: | def run(self): global restartClient, playbackFile record = None self.logger.debug('creating socket') self.socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.logger.debug('connecting to server') self.socket.connect((self.ip, self.port)) | 4989f087dd9f1da61280156785b2e1a7d073601d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5557/4989f087dd9f1da61280156785b2e1a7d073601d/client.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
12,
2890,
4672,
2552,
7870,
1227,
16,
26335,
812,
1409,
273,
599,
365,
18,
4901,
18,
4148,
2668,
23799,
2987,
6134,
365,
18,
7814,
273,
2987,
18,
7814,
12,
7814,
18,
6799,
67,
18819,
16,
2987,
18,
3584,
3507,
67,
13693,
13,
365,
18,
4901,
18,
4148,
2668,
3612,
310,
358,
1438,
6134,
225,
365,
18,
7814,
18,
3612,
12443,
2890,
18,
625,
16,
365,
18,
655,
3719,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
12,
2890,
4672,
2552,
7870,
1227,
16,
26335,
812,
1409,
273,
599,
365,
18,
4901,
18,
4148,
2668,
23799,
2987,
6134,
365,
18,
7814,
273,
2987,
18,
7814,
12,
7814,
18,
6799,
67,
18819,
16,
2987,
18,
3584,
3507,
67,
13693,
13,
365,
18,
4901,
18,
4148,
2668,
3612,
310,
358,
1438,
6134,
225,
365,
18,
7814,
18,
3612,
12443,
2890,
18,
625,
16,
365,
18,
655,
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
] |
proto = code.getFunctionPrototype(method) | proto = code.getFunctionPrototype(method, urlprefix, urlsuffix) | def generateFunctionDocs(code, method): name = code.getFunctionName(method) proto = code.getFunctionPrototype(method) comment = code.getFunctionComment(method) if (comment == ""): comment = "Undocumented function.<br>\n" chunk = '<table bgcolor="e8e8e8" border=0 cellspacing=0 cellpadding=5 width="100%"><tr><td>' + "\n" chunk = chunk + '<a name="' + name + '"><b>' + name + "</b></a><br>\n" chunk = chunk + proto + "<br>\n" chunk = chunk + comment chunk = chunk + "</td></tr></table><br>\n" return chunk | e47fdbe42407a99cef6b7537e6d8c9c841f7c7ac /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8543/e47fdbe42407a99cef6b7537e6d8c9c841f7c7ac/gendocs.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2103,
2083,
12656,
12,
710,
16,
707,
4672,
508,
273,
981,
18,
588,
25258,
12,
2039,
13,
3760,
273,
981,
18,
588,
2083,
15846,
12,
2039,
16,
880,
3239,
16,
6903,
2609,
13,
2879,
273,
981,
18,
588,
2083,
4469,
12,
2039,
13,
309,
261,
3469,
422,
1408,
4672,
2879,
273,
315,
984,
5457,
329,
445,
22782,
2848,
5333,
82,
6,
2441,
273,
2368,
2121,
31509,
1546,
73,
28,
73,
28,
73,
28,
6,
5795,
33,
20,
2484,
14080,
33,
20,
2484,
9598,
33,
25,
1835,
1546,
6625,
9,
14050,
313,
4438,
4465,
1870,
397,
1548,
82,
6,
2441,
273,
2441,
397,
2368,
69,
508,
5300,
397,
508,
397,
2119,
4438,
70,
1870,
397,
508,
397,
6823,
70,
4695,
69,
4438,
2848,
5333,
82,
6,
2441,
273,
2441,
397,
3760,
397,
3532,
2848,
5333,
82,
6,
2441,
273,
2441,
397,
2879,
2441,
273,
2441,
397,
6823,
4465,
4695,
313,
4695,
2121,
4438,
2848,
5333,
82,
6,
327,
2441,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
710,
16,
707,
4672,
508,
273,
981,
18,
588,
25258,
12,
2039,
13,
3760,
273,
981,
18,
588,
2083,
15846,
12,
2039,
16,
880,
3239,
16,
6903,
2609,
13,
2879,
273,
981,
18,
588,
2083,
4469,
12,
2039,
13,
309,
261,
3469,
422,
1408,
4672,
2879,
273,
315,
984,
5457,
329,
445,
22782,
2848,
5333,
82,
6,
2441,
273,
2368,
2121,
31509,
1546,
73,
28,
73,
28,
73,
28,
6,
5795,
33,
20,
2484,
14080,
33,
20,
2484,
9598,
33,
25,
1835,
1546,
6625,
9,
14050,
313,
4438,
4465,
1870,
397,
1548,
82,
6,
2441,
273,
2441,
397,
2368,
69,
508,
5300,
397,
508,
397,
2119,
4438,
70,
1870,
397,
508,
397,
6823,
70,
2
] |
expected = """ | preamble = """ | def test_mul_ovf(self): ops = """ [i0, i1] i2 = int_and(i0, 255) i3 = int_lt(i1, 5) guard_true(i3) [] i4 = int_gt(i1, -10) guard_true(i4) [] i5 = int_mul_ovf(i2, i1) guard_no_overflow() [] i6 = int_lt(i5, -2550) guard_false(i6) [] i7 = int_ge(i5, 1276) guard_false(i7) [] i8 = int_gt(i5, 126) guard_true(i8) [] jump(i0, i1) """ expected = """ [i0, i1] i2 = int_and(i0, 255) i3 = int_lt(i1, 5) guard_true(i3) [] i4 = int_gt(i1, -10) guard_true(i4) [] i5 = int_mul(i2, i1) i8 = int_gt(i5, 126) guard_true(i8) [] jump(i0, i1) """ self.optimize_loop(ops, expected) | addc2b77177b49468137a20034ac27db7b4ba464 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6934/addc2b77177b49468137a20034ac27db7b4ba464/test_optimizeopt.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
16411,
67,
1527,
74,
12,
2890,
4672,
6727,
273,
3536,
306,
77,
20,
16,
277,
21,
65,
277,
22,
273,
509,
67,
464,
12,
77,
20,
16,
4561,
13,
277,
23,
273,
509,
67,
5618,
12,
77,
21,
16,
1381,
13,
11026,
67,
3767,
12,
77,
23,
13,
5378,
277,
24,
273,
509,
67,
4521,
12,
77,
21,
16,
300,
2163,
13,
11026,
67,
3767,
12,
77,
24,
13,
5378,
277,
25,
273,
509,
67,
16411,
67,
1527,
74,
12,
77,
22,
16,
277,
21,
13,
11026,
67,
2135,
67,
11512,
1435,
5378,
277,
26,
273,
509,
67,
5618,
12,
77,
25,
16,
300,
10395,
20,
13,
11026,
67,
5743,
12,
77,
26,
13,
5378,
277,
27,
273,
509,
67,
908,
12,
77,
25,
16,
2593,
6669,
13,
11026,
67,
5743,
12,
77,
27,
13,
5378,
277,
28,
273,
509,
67,
4521,
12,
77,
25,
16,
28245,
13,
11026,
67,
3767,
12,
77,
28,
13,
5378,
11833,
12,
77,
20,
16,
277,
21,
13,
3536,
27841,
273,
3536,
306,
77,
20,
16,
277,
21,
65,
277,
22,
273,
509,
67,
464,
12,
77,
20,
16,
4561,
13,
277,
23,
273,
509,
67,
5618,
12,
77,
21,
16,
1381,
13,
11026,
67,
3767,
12,
77,
23,
13,
5378,
277,
24,
273,
509,
67,
4521,
12,
77,
21,
16,
300,
2163,
13,
11026,
67,
3767,
12,
77,
24,
13,
5378,
277,
25,
273,
509,
67,
16411,
12,
77,
22,
16,
277,
21,
13,
277,
28,
273,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
16411,
67,
1527,
74,
12,
2890,
4672,
6727,
273,
3536,
306,
77,
20,
16,
277,
21,
65,
277,
22,
273,
509,
67,
464,
12,
77,
20,
16,
4561,
13,
277,
23,
273,
509,
67,
5618,
12,
77,
21,
16,
1381,
13,
11026,
67,
3767,
12,
77,
23,
13,
5378,
277,
24,
273,
509,
67,
4521,
12,
77,
21,
16,
300,
2163,
13,
11026,
67,
3767,
12,
77,
24,
13,
5378,
277,
25,
273,
509,
67,
16411,
67,
1527,
74,
12,
77,
22,
16,
277,
21,
13,
11026,
67,
2135,
67,
11512,
1435,
5378,
277,
26,
273,
509,
67,
5618,
12,
77,
25,
16,
300,
10395,
20,
13,
11026,
67,
5743,
12,
77,
26,
13,
5378,
277,
2
] |
else: answer['points'] = 0 answer['feedback'] = self.incor_fb answer['id'] = elixer.m_hash(answer) | answer['id'] = elixer.m_hash(answer) | def build_answers(self): self.single_answer = 1 | cf63ddff404b0bab9edcec3e700be8ea842ee0e3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12927/cf63ddff404b0bab9edcec3e700be8ea842ee0e3/bb9_course.py | [
1,
8585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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1361,
67,
22340,
12,
2890,
4672,
365,
18,
7526,
67,
13490,
273,
404,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
user_passwd, host = splituser(host) | if host: user_passwd, host = splituser(host) host = unquote(host) realhost = host | def open_https(self, url, data=None): """Use HTTPS protocol.""" import httplib if type(url) is type(""): host, selector = splithost(url) user_passwd, host = splituser(host) else: host, selector = url urltype, rest = splittype(selector) if string.lower(urltype) == 'https': realhost, rest = splithost(rest) user_passwd, realhost = splituser(realhost) if user_passwd: selector = "%s://%s%s" % (urltype, realhost, rest) #print "proxy via https:", host, selector if not host: raise IOError, ('https error', 'no host given') if user_passwd: import base64 auth = string.strip(base64.encodestring(user_passwd)) else: auth = None h = httplib.HTTPS(host, 0, key_file=self.key_file, cert_file=self.cert_file) if data is not None: h.putrequest('POST', selector) h.putheader('Content-type', 'application/x-www-form-urlencoded') h.putheader('Content-length', '%d' % len(data)) else: h.putrequest('GET', selector) if auth: h.putheader('Authorization: Basic %s' % auth) for args in self.addheaders: apply(h.putheader, args) h.endheaders() if data is not None: h.send(data + '\r\n') errcode, errmsg, headers = h.getreply() fp = h.getfile() if errcode == 200: return addinfourl(fp, headers, url) else: return self.http_error(url, fp, errcode, errmsg, headers) | a374199911ecdaaef97384f722058239956bef5d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/a374199911ecdaaef97384f722058239956bef5d/urllib.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1696,
67,
4528,
12,
2890,
16,
880,
16,
501,
33,
7036,
4672,
3536,
3727,
18904,
1771,
12123,
1930,
15851,
6673,
309,
618,
12,
718,
13,
353,
618,
2932,
6,
4672,
1479,
16,
3451,
273,
6121,
483,
669,
12,
718,
13,
309,
1479,
30,
729,
67,
24002,
16,
1479,
273,
1416,
1355,
12,
2564,
13,
1479,
273,
25611,
12,
2564,
13,
2863,
2564,
273,
1479,
469,
30,
1479,
16,
3451,
273,
880,
880,
723,
16,
3127,
273,
1416,
723,
12,
9663,
13,
309,
533,
18,
8167,
12,
718,
723,
13,
422,
296,
4528,
4278,
2863,
2564,
16,
3127,
273,
6121,
483,
669,
12,
8792,
13,
729,
67,
24002,
16,
2863,
2564,
273,
1416,
1355,
12,
7688,
2564,
13,
309,
729,
67,
24002,
30,
3451,
273,
2213,
87,
23155,
87,
9,
87,
6,
738,
261,
718,
723,
16,
2863,
2564,
16,
3127,
13,
468,
1188,
315,
5656,
3970,
2333,
2773,
16,
1479,
16,
3451,
309,
486,
1479,
30,
1002,
8340,
16,
7707,
4528,
555,
2187,
296,
2135,
1479,
864,
6134,
309,
729,
67,
24002,
30,
1930,
1026,
1105,
1357,
273,
533,
18,
6406,
12,
1969,
1105,
18,
1331,
1145,
371,
12,
1355,
67,
24002,
3719,
469,
30,
1357,
273,
599,
366,
273,
15851,
6673,
18,
18657,
12,
2564,
16,
374,
16,
498,
67,
768,
33,
2890,
18,
856,
67,
768,
16,
3320,
67,
768,
33,
2890,
18,
7593,
67,
768,
13,
309,
501,
353,
486,
599,
30,
366,
18,
458,
2293,
2668,
3798,
2187,
3451,
13,
366,
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,
1696,
67,
4528,
12,
2890,
16,
880,
16,
501,
33,
7036,
4672,
3536,
3727,
18904,
1771,
12123,
1930,
15851,
6673,
309,
618,
12,
718,
13,
353,
618,
2932,
6,
4672,
1479,
16,
3451,
273,
6121,
483,
669,
12,
718,
13,
309,
1479,
30,
729,
67,
24002,
16,
1479,
273,
1416,
1355,
12,
2564,
13,
1479,
273,
25611,
12,
2564,
13,
2863,
2564,
273,
1479,
469,
30,
1479,
16,
3451,
273,
880,
880,
723,
16,
3127,
273,
1416,
723,
12,
9663,
13,
309,
533,
18,
8167,
12,
718,
723,
13,
422,
296,
4528,
4278,
2863,
2564,
16,
3127,
273,
6121,
483,
669,
12,
8792,
13,
729,
67,
24002,
16,
2863,
2564,
273,
1416,
1355,
12,
7688,
2564,
13,
309,
2
] |
real = (section[-1],) + section[1:] | real = (section[-1],) + section[:-1] | def _read_base(self): config = ConfigParser(self.schemas) config.read(self.config_name) | 81c6ef047a309129437d75af4237e8007ecd20c8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5794/81c6ef047a309129437d75af4237e8007ecd20c8/gencontrol.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
896,
67,
1969,
12,
2890,
4672,
642,
273,
25076,
12,
2890,
18,
17928,
13,
642,
18,
896,
12,
2890,
18,
1425,
67,
529,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
896,
67,
1969,
12,
2890,
4672,
642,
273,
25076,
12,
2890,
18,
17928,
13,
642,
18,
896,
12,
2890,
18,
1425,
67,
529,
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
] |
'time' : time | 'time' : time, | def __init__(self, cr, uid, name, parents=rml_parents, tag=rml_tag, context=None): if not context: context={} self.cr = cr self.uid = uid self.pool = pooler.get_pool(cr.dbname) user = self.pool.get('res.users').browse(cr, uid, uid, context=context) self.localcontext = { 'user': user, 'company': user.company_id, 'repeatIn': self.repeatIn, 'setLang': self.setLang, 'setTag': self.setTag, 'removeParentNode': self.removeParentNode, 'format': self.format, 'formatLang': self.formatLang, 'logo' : user.company_id.logo, 'lang' : user.company_id.partner_id.lang, 'translate' : self._translate, 'setHtmlImage' : self.set_html_image, 'strip_name' : self._strip_name, 'time' : time } self.localcontext.update(context) self.rml_header = user.company_id.rml_header self.rml_header2 = user.company_id.rml_header2 self.rml_header3 = user.company_id.rml_header3 self.logo = user.company_id.logo self.name = name self._node = None self.parents = parents self.tag = tag self._lang_cache = {} self.lang_dict = {} self.default_lang = {} self.lang_dict_called = False self._transl_regex = re.compile('(\[\[.+?\]\])') | 3a395e4cf9b6dabffc6d848f49fc52ac78a37541 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/3a395e4cf9b6dabffc6d848f49fc52ac78a37541/report_sxw.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
4422,
16,
4555,
16,
508,
16,
6298,
33,
86,
781,
67,
12606,
16,
1047,
33,
86,
781,
67,
2692,
16,
819,
33,
7036,
4672,
309,
486,
819,
30,
819,
12938,
365,
18,
3353,
273,
4422,
365,
18,
1911,
273,
4555,
365,
18,
6011,
273,
2845,
264,
18,
588,
67,
6011,
12,
3353,
18,
20979,
13,
729,
273,
365,
18,
6011,
18,
588,
2668,
455,
18,
5577,
16063,
25731,
12,
3353,
16,
4555,
16,
4555,
16,
819,
33,
2472,
13,
365,
18,
3729,
2472,
273,
288,
296,
1355,
4278,
729,
16,
296,
16840,
4278,
729,
18,
16840,
67,
350,
16,
296,
9374,
382,
4278,
365,
18,
9374,
382,
16,
296,
542,
7275,
4278,
365,
18,
542,
7275,
16,
296,
542,
1805,
4278,
365,
18,
542,
1805,
16,
296,
4479,
3054,
907,
4278,
365,
18,
4479,
3054,
907,
16,
296,
2139,
4278,
365,
18,
2139,
16,
296,
2139,
7275,
4278,
365,
18,
2139,
7275,
16,
296,
19882,
11,
294,
729,
18,
16840,
67,
350,
18,
19882,
16,
296,
4936,
11,
294,
729,
18,
16840,
67,
350,
18,
31993,
67,
350,
18,
4936,
16,
296,
13929,
11,
294,
365,
6315,
13929,
16,
296,
542,
4353,
2040,
11,
294,
365,
18,
542,
67,
2620,
67,
2730,
16,
296,
6406,
67,
529,
11,
294,
365,
6315,
6406,
67,
529,
16,
296,
957,
11,
294,
813,
16,
565,
289,
365,
18,
3729,
2472,
18,
2725,
12,
2472,
13,
365,
18,
86,
781,
67,
3374,
273,
729,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
4422,
16,
4555,
16,
508,
16,
6298,
33,
86,
781,
67,
12606,
16,
1047,
33,
86,
781,
67,
2692,
16,
819,
33,
7036,
4672,
309,
486,
819,
30,
819,
12938,
365,
18,
3353,
273,
4422,
365,
18,
1911,
273,
4555,
365,
18,
6011,
273,
2845,
264,
18,
588,
67,
6011,
12,
3353,
18,
20979,
13,
729,
273,
365,
18,
6011,
18,
588,
2668,
455,
18,
5577,
16063,
25731,
12,
3353,
16,
4555,
16,
4555,
16,
819,
33,
2472,
13,
365,
18,
3729,
2472,
273,
288,
296,
1355,
4278,
729,
16,
296,
16840,
4278,
729,
18,
16840,
67,
350,
16,
296,
9374,
382,
4278,
365,
18,
9374,
382,
16,
296,
542,
7275,
4278,
2
] |
ALGORITHM: Uses Pari function \emph{idealstar} | ALGORITHM: Uses Pari function ``idealstar`` | def idealstar(self, flag=1): r""" Returns the finite abelian group $(O_K/I)^*$, where I is the ideal self of the number field K, and $O_K$ is the ring of integers of K. | ef0819690a4fd01b3d6fba60378c1b5b3e6c0cda /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/ef0819690a4fd01b3d6fba60378c1b5b3e6c0cda/number_field_ideal.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
23349,
10983,
12,
2890,
16,
2982,
33,
21,
4672,
436,
8395,
2860,
326,
25922,
1223,
292,
2779,
1041,
27488,
51,
67,
47,
19,
45,
13,
66,
26788,
16,
1625,
467,
353,
326,
23349,
365,
434,
326,
1300,
652,
1475,
16,
471,
271,
51,
67,
47,
8,
353,
326,
9221,
434,
12321,
434,
1475,
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,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
23349,
10983,
12,
2890,
16,
2982,
33,
21,
4672,
436,
8395,
2860,
326,
25922,
1223,
292,
2779,
1041,
27488,
51,
67,
47,
19,
45,
13,
66,
26788,
16,
1625,
467,
353,
326,
23349,
365,
434,
326,
1300,
652,
1475,
16,
471,
271,
51,
67,
47,
8,
353,
326,
9221,
434,
12321,
434,
1475,
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
] |
self._sendmail(to, StringIO(msgtext)) | self._sendmail(to_addrs, StringIO(msgtext)) | def sendmail(self, subject, template, data, to_addrs, mime_headers={}): from email.mime.text import MIMEText from email.utils import formatdate from sshg import config if isinstance(to_addrs, basestring): to_addrs = [to_addrs] stream = generate_template('email/%s' % template, **data) body = stream.render('text') headers = {} headers['X-Mailer'] = '%s %s, by UfSoft.org' % (__package__, __version__) headers['X-Screener-Version'] = __version__ headers['Precedence'] = 'bulk' headers['Auto-Submitted'] = 'auto-generated' headers['Subject'] = subject headers['From'] = (config.notification.from_name, config.notification.smtp_from) headers['Reply-To'] = config.notification.reply_to | 83527fa1d7cc4218076e830c410e17b3bf598770 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5807/83527fa1d7cc4218076e830c410e17b3bf598770/notification.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1366,
4408,
12,
2890,
16,
3221,
16,
1542,
16,
501,
16,
358,
67,
23305,
16,
4892,
67,
2485,
12938,
4672,
628,
2699,
18,
11757,
18,
955,
1930,
13195,
1528,
628,
2699,
18,
5471,
1930,
740,
712,
628,
7056,
75,
1930,
642,
309,
1549,
12,
869,
67,
23305,
16,
10699,
4672,
358,
67,
23305,
273,
306,
869,
67,
23305,
65,
1407,
273,
2103,
67,
3202,
2668,
3652,
5258,
87,
11,
738,
1542,
16,
2826,
892,
13,
1417,
273,
1407,
18,
5902,
2668,
955,
6134,
1607,
273,
2618,
1607,
3292,
60,
17,
23666,
3546,
273,
1995,
87,
738,
87,
16,
635,
587,
74,
12468,
18,
3341,
11,
738,
261,
972,
5610,
972,
16,
1001,
1589,
972,
13,
1607,
3292,
60,
17,
1541,
266,
708,
17,
1444,
3546,
273,
1001,
1589,
972,
1607,
3292,
1386,
24092,
3546,
273,
296,
14597,
11,
1607,
3292,
4965,
17,
28882,
3546,
273,
296,
6079,
17,
11168,
11,
1607,
3292,
6638,
3546,
273,
3221,
1607,
3292,
1265,
3546,
273,
261,
1425,
18,
9927,
18,
2080,
67,
529,
16,
642,
18,
9927,
18,
20278,
67,
2080,
13,
1607,
3292,
7817,
17,
774,
3546,
273,
642,
18,
9927,
18,
10629,
67,
869,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1366,
4408,
12,
2890,
16,
3221,
16,
1542,
16,
501,
16,
358,
67,
23305,
16,
4892,
67,
2485,
12938,
4672,
628,
2699,
18,
11757,
18,
955,
1930,
13195,
1528,
628,
2699,
18,
5471,
1930,
740,
712,
628,
7056,
75,
1930,
642,
309,
1549,
12,
869,
67,
23305,
16,
10699,
4672,
358,
67,
23305,
273,
306,
869,
67,
23305,
65,
1407,
273,
2103,
67,
3202,
2668,
3652,
5258,
87,
11,
738,
1542,
16,
2826,
892,
13,
1417,
273,
1407,
18,
5902,
2668,
955,
6134,
1607,
273,
2618,
1607,
3292,
60,
17,
23666,
3546,
273,
1995,
87,
738,
87,
16,
635,
587,
74,
12468,
18,
3341,
11,
738,
261,
972,
5610,
972,
16,
1001,
1589,
972,
13,
1607,
3292,
60,
2
] |
if 'section' in inspect.getargspec(mod.__init__).args: | if 'section' in inspect.getargspec(mod.__init__)[0]: | def _load_component(self,structured_name,configsection=None): #from: http://mail.python.org/pipermail/python-list/2003-May/204392.html component_names = structured_name.split('.') mod = __import__('.'.join(component_names[:-1])) for component_name in component_names[1:]: mod = getattr(mod, component_name) if configsection==None: plugininstance=mod(self.config) else: #check if plugin supports config override if 'section' in inspect.getargspec(mod.__init__).args: plugininstance=mod(self.config,section=configsection) else: raise Exception,'Cannot set Config Section %s : Plugin %s does not support config override'%(configsection,mod) return plugininstance | 84af532e49f72391050a2a0305973f4c1c2435a5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10919/84af532e49f72391050a2a0305973f4c1c2435a5/core.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
945,
67,
4652,
12,
2890,
16,
17233,
67,
529,
16,
1425,
3464,
33,
7036,
4672,
468,
2080,
30,
1062,
2207,
4408,
18,
8103,
18,
3341,
19,
7259,
457,
4408,
19,
8103,
17,
1098,
19,
6976,
23,
17,
49,
528,
19,
21573,
5520,
22,
18,
2620,
1794,
67,
1973,
273,
19788,
67,
529,
18,
4939,
2668,
1093,
13,
681,
273,
1001,
5666,
972,
2668,
1093,
18,
5701,
12,
4652,
67,
1973,
10531,
17,
21,
22643,
364,
1794,
67,
529,
316,
1794,
67,
1973,
63,
21,
30,
14542,
681,
273,
3869,
12,
1711,
16,
1794,
67,
529,
13,
225,
309,
642,
3464,
631,
7036,
30,
1909,
1336,
33,
1711,
12,
2890,
18,
1425,
13,
469,
30,
468,
1893,
309,
1909,
6146,
642,
3849,
309,
296,
3464,
11,
316,
5334,
18,
588,
23172,
12,
1711,
16186,
2738,
972,
25146,
20,
14542,
1909,
1336,
33,
1711,
12,
2890,
18,
1425,
16,
3464,
33,
1425,
3464,
13,
469,
30,
1002,
1185,
11189,
4515,
444,
1903,
10092,
738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,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
945,
67,
4652,
12,
2890,
16,
17233,
67,
529,
16,
1425,
3464,
33,
7036,
4672,
468,
2080,
30,
1062,
2207,
4408,
18,
8103,
18,
3341,
19,
7259,
457,
4408,
19,
8103,
17,
1098,
19,
6976,
23,
17,
49,
528,
19,
21573,
5520,
22,
18,
2620,
1794,
67,
1973,
273,
19788,
67,
529,
18,
4939,
2668,
1093,
13,
681,
273,
1001,
5666,
972,
2668,
1093,
18,
5701,
12,
4652,
67,
1973,
10531,
17,
21,
22643,
364,
1794,
67,
529,
316,
1794,
67,
1973,
63,
21,
30,
14542,
681,
273,
3869,
12,
1711,
16,
1794,
67,
529,
13,
225,
309,
642,
3464,
631,
7036,
30,
1909,
1336,
33,
1711,
12,
2890,
18,
1425,
13,
469,
30,
468,
1893,
309,
2
] |
args=('test.blah', 'a') | args=(sys.stderr,) | def formatException(self, ei): return "Got a [%s]" % ei[0].__name__ | 64298ce715559bce045d9dbf2007e82f63d8a5c3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12029/64298ce715559bce045d9dbf2007e82f63d8a5c3/test_logging.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
740,
503,
12,
2890,
16,
13247,
4672,
327,
315,
15617,
279,
9799,
87,
4279,
738,
13247,
63,
20,
8009,
972,
529,
972,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
740,
503,
12,
2890,
16,
13247,
4672,
327,
315,
15617,
279,
9799,
87,
4279,
738,
13247,
63,
20,
8009,
972,
529,
972,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 xid <> self.lastxid: | if xid != self.lastxid: | def dummy(): pass | e6b5917a3f1232d3676928a6fb5ae07cc948f164 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/e6b5917a3f1232d3676928a6fb5ae07cc948f164/rpc.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
9609,
13332,
1342,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
9609,
13332,
1342,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.build(tempStory, filename, canvasmaker) | self.build(tempStory, **buildKwds) | def multiBuild(self, story, filename=None, canvasmaker=canvas.Canvas, maxPasses = 10): """Makes multiple passes until all indexing flowables are happy.""" self._indexingFlowables = [] #scan the story and keep a copy for thing in story: if thing.isIndexing(): self._indexingFlowables.append(thing) | 2143778542b93890a6cb784f40391937efdd8ef0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3878/2143778542b93890a6cb784f40391937efdd8ef0/doctemplate.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3309,
3116,
12,
2890,
16,
17285,
16,
1544,
33,
7036,
16,
5953,
29261,
33,
15424,
18,
12971,
16,
943,
6433,
281,
273,
1728,
4672,
3536,
14534,
3229,
11656,
3180,
777,
14403,
4693,
1538,
854,
5622,
2074,
12123,
365,
6315,
1615,
310,
5249,
1538,
273,
5378,
468,
9871,
326,
17285,
471,
3455,
279,
1610,
364,
7757,
316,
17285,
30,
309,
7757,
18,
291,
24465,
13332,
365,
6315,
1615,
310,
5249,
1538,
18,
6923,
12,
4274,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3309,
3116,
12,
2890,
16,
17285,
16,
1544,
33,
7036,
16,
5953,
29261,
33,
15424,
18,
12971,
16,
943,
6433,
281,
273,
1728,
4672,
3536,
14534,
3229,
11656,
3180,
777,
14403,
4693,
1538,
854,
5622,
2074,
12123,
365,
6315,
1615,
310,
5249,
1538,
273,
5378,
468,
9871,
326,
17285,
471,
3455,
279,
1610,
364,
7757,
316,
17285,
30,
309,
7757,
18,
291,
24465,
13332,
365,
6315,
1615,
310,
5249,
1538,
18,
6923,
12,
4274,
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
] |
elif value == "1": | elif data == "1": | def end_boolean(self, join=string.join): value = join(self._data, "") if value == "0": self.append(False) elif value == "1": self.append(True) else: raise TypeError, "bad boolean value" self._value = 0 | 80ead46c3b0b9513bc116e8fe08faa2f91145a91 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/80ead46c3b0b9513bc116e8fe08faa2f91145a91/xmlrpclib.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
679,
67,
6494,
12,
2890,
16,
1233,
33,
1080,
18,
5701,
4672,
460,
273,
1233,
12,
2890,
6315,
892,
16,
1408,
13,
309,
460,
422,
315,
20,
6877,
365,
18,
6923,
12,
8381,
13,
1327,
501,
422,
315,
21,
6877,
365,
18,
6923,
12,
5510,
13,
469,
30,
1002,
3580,
16,
315,
8759,
1250,
460,
6,
365,
6315,
1132,
273,
374,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
679,
67,
6494,
12,
2890,
16,
1233,
33,
1080,
18,
5701,
4672,
460,
273,
1233,
12,
2890,
6315,
892,
16,
1408,
13,
309,
460,
422,
315,
20,
6877,
365,
18,
6923,
12,
8381,
13,
1327,
501,
422,
315,
21,
6877,
365,
18,
6923,
12,
5510,
13,
469,
30,
1002,
3580,
16,
315,
8759,
1250,
460,
6,
365,
6315,
1132,
273,
374,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
f=open(res, "wb") f.write(data) f.close() | open(res, "wb").write(data) | def getDiskPath(self, name, size=None): try: return nget(self.diskpaths, name) except KeyError: pass try: data = self.zf.read('images/%s' % name.replace("'", '-').encode('utf-8')) except KeyError: # no such file if name[0] != name[0].upper(): return self.getDiskPath(name[0].upper() + name[1:], size) return None try: ext = '.' + name.rsplit('.', 1)[1] except IndexError: ext = '' if ext.lower() == '.svg': ext = '.svg.png' elif ext.lower() == '.gif': ext = '.gif.png' res = os.path.join(self.tmpdir, 'image%04d%s' % (len(self.diskpaths), ext)) self.diskpaths[name] = res f=open(res, "wb") f.write(data) f.close() return res | 3eef7b31a38c096d04f05419b663c667358280db /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12391/3eef7b31a38c096d04f05419b663c667358280db/zipwiki.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
6247,
743,
12,
2890,
16,
508,
16,
963,
33,
7036,
4672,
775,
30,
327,
290,
588,
12,
2890,
18,
10863,
4481,
16,
508,
13,
1335,
4999,
30,
1342,
775,
30,
501,
273,
365,
18,
94,
74,
18,
896,
2668,
7369,
5258,
87,
11,
738,
508,
18,
2079,
29823,
3113,
4014,
2934,
3015,
2668,
3158,
17,
28,
26112,
1335,
4999,
30,
468,
1158,
4123,
585,
309,
508,
63,
20,
65,
480,
508,
63,
20,
8009,
5797,
13332,
327,
365,
18,
588,
6247,
743,
12,
529,
63,
20,
8009,
5797,
1435,
397,
508,
63,
21,
30,
6487,
963,
13,
327,
599,
225,
775,
30,
1110,
273,
2611,
397,
508,
18,
86,
4939,
2668,
1093,
16,
404,
25146,
21,
65,
1335,
10195,
30,
1110,
273,
875,
309,
1110,
18,
8167,
1435,
422,
2418,
11451,
4278,
1110,
273,
2418,
11451,
18,
6446,
11,
1327,
1110,
18,
8167,
1435,
422,
2418,
13905,
4278,
1110,
273,
2418,
13905,
18,
6446,
11,
400,
273,
1140,
18,
803,
18,
5701,
12,
2890,
18,
5645,
1214,
16,
296,
2730,
9,
3028,
72,
9,
87,
11,
738,
261,
1897,
12,
2890,
18,
10863,
4481,
3631,
1110,
3719,
365,
18,
10863,
4481,
63,
529,
65,
273,
400,
1696,
12,
455,
16,
315,
9464,
20387,
2626,
12,
892,
13,
327,
400,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
6247,
743,
12,
2890,
16,
508,
16,
963,
33,
7036,
4672,
775,
30,
327,
290,
588,
12,
2890,
18,
10863,
4481,
16,
508,
13,
1335,
4999,
30,
1342,
775,
30,
501,
273,
365,
18,
94,
74,
18,
896,
2668,
7369,
5258,
87,
11,
738,
508,
18,
2079,
29823,
3113,
4014,
2934,
3015,
2668,
3158,
17,
28,
26112,
1335,
4999,
30,
468,
1158,
4123,
585,
309,
508,
63,
20,
65,
480,
508,
63,
20,
8009,
5797,
13332,
327,
365,
18,
588,
6247,
743,
12,
529,
63,
20,
8009,
5797,
1435,
397,
508,
63,
21,
30,
6487,
963,
13,
327,
599,
225,
775,
30,
1110,
273,
2611,
397,
508,
18,
86,
4939,
2668,
1093,
16,
404,
25146,
21,
65,
2
] |
raise TestFailed, 'zip(None) - expected TypeError, got', e | raise TestFailed, 'zip(None) - expected TypeError, got %s' % e | def __getitem__(self, i): if i < 0 or i > 2: raise IndexError return i + 4 | 715812667366cc747ac78598d462dd7ff75d4bb2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/715812667366cc747ac78598d462dd7ff75d4bb2/test_b2.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
31571,
972,
12,
2890,
16,
277,
4672,
309,
277,
411,
374,
578,
277,
405,
576,
30,
1002,
10195,
327,
277,
397,
1059,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
31571,
972,
12,
2890,
16,
277,
4672,
309,
277,
411,
374,
578,
277,
405,
576,
30,
1002,
10195,
327,
277,
397,
1059,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
[[] []] | [[]] | def __iter__(self): """ Returns a generator object which iterates through the elements of self. The order in which the elements are generated is based on a 'weight' of a matrix which is the number of iterations on the base ring that are required to reach that matrix. | fc8668435f7b85920caaf7d3fba000d9ccfadc71 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/fc8668435f7b85920caaf7d3fba000d9ccfadc71/matrix_space.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2165,
972,
12,
2890,
4672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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2165,
972,
12,
2890,
4672,
3536,
2860,
279,
4456,
733,
1492,
16960,
3059,
326,
2186,
434,
365,
18,
225,
1021,
1353,
316,
1492,
326,
2186,
854,
4374,
353,
2511,
603,
279,
296,
4865,
11,
434,
279,
3148,
1492,
353,
326,
1300,
434,
11316,
603,
326,
1026,
9221,
716,
854,
1931,
358,
9287,
716,
3148,
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
] |
request.write(xml) | request.write(unicode(xml).encode('utf-8')) | def _render(self, xml, request): if xml: request.setHeader('content-type', 'text/xml') request.write(xml) request.finish() else: request.write(error.NoResource("Message #%d not found" % self.id).render(request)) request.finish() | 73d105bfb80510e2e546cdf32c62fd6ff14c5ce2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9478/73d105bfb80510e2e546cdf32c62fd6ff14c5ce2/MessageViewer.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
5902,
12,
2890,
16,
2025,
16,
590,
4672,
309,
2025,
30,
590,
18,
542,
1864,
2668,
1745,
17,
723,
2187,
296,
955,
19,
2902,
6134,
590,
18,
2626,
12,
9124,
12,
2902,
2934,
3015,
2668,
3158,
17,
28,
26112,
590,
18,
13749,
1435,
469,
30,
590,
18,
2626,
12,
1636,
18,
2279,
1420,
2932,
1079,
31974,
72,
486,
1392,
6,
738,
365,
18,
350,
2934,
5902,
12,
2293,
3719,
590,
18,
13749,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
5902,
12,
2890,
16,
2025,
16,
590,
4672,
309,
2025,
30,
590,
18,
542,
1864,
2668,
1745,
17,
723,
2187,
296,
955,
19,
2902,
6134,
590,
18,
2626,
12,
9124,
12,
2902,
2934,
3015,
2668,
3158,
17,
28,
26112,
590,
18,
13749,
1435,
469,
30,
590,
18,
2626,
12,
1636,
18,
2279,
1420,
2932,
1079,
31974,
72,
486,
1392,
6,
738,
365,
18,
350,
2934,
5902,
12,
2293,
3719,
590,
18,
13749,
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
] |
view_load=%s, select_level=%s, readonly=%s ,required=%s | view_load=%s, select_level=%s, readonly=%s ,required=%s ,relation_field=%s | def _field_create(self, cr, context={}): cr.execute("SELECT id FROM ir_model WHERE model=%s", (self._name,)) if not cr.rowcount: cr.execute('SELECT nextval(%s)', ('ir_model_id_seq',)) model_id = cr.fetchone()[0] cr.execute("INSERT INTO ir_model (id,model, name, info,state) VALUES (%s, %s, %s, %s, %s)", (model_id, self._name, self._description, self.__doc__, 'base')) else: model_id = cr.fetchone()[0] if 'module' in context: name_id = 'model_'+self._name.replace('.','_') cr.execute('select * from ir_model_data where name=%s and res_id=%s', (name_id,model_id)) if not cr.rowcount: cr.execute("INSERT INTO ir_model_data (name,date_init,date_update,module,model,res_id) VALUES (%s, now(), now(), %s, %s, %s)", \ (name_id, context['module'], 'ir.model', model_id) ) | 0e66332749e1f5ab3dcf3ae41d6a7b3c10442ec3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/0e66332749e1f5ab3dcf3ae41d6a7b3c10442ec3/orm.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1518,
67,
2640,
12,
2890,
16,
4422,
16,
819,
12938,
4672,
4422,
18,
8837,
2932,
4803,
612,
4571,
9482,
67,
2284,
4852,
938,
5095,
87,
3113,
261,
2890,
6315,
529,
16,
3719,
309,
486,
4422,
18,
492,
1883,
30,
4422,
18,
8837,
2668,
4803,
1024,
1125,
9275,
87,
13,
2187,
7707,
481,
67,
2284,
67,
350,
67,
5436,
2187,
3719,
938,
67,
350,
273,
4422,
18,
5754,
476,
1435,
63,
20,
65,
4422,
18,
8837,
2932,
11356,
12421,
9482,
67,
2284,
261,
350,
16,
2284,
16,
508,
16,
1123,
16,
2019,
13,
13477,
6142,
87,
16,
738,
87,
16,
738,
87,
16,
738,
87,
16,
738,
87,
2225,
16,
261,
2284,
67,
350,
16,
365,
6315,
529,
16,
365,
6315,
3384,
16,
365,
16186,
2434,
972,
16,
296,
1969,
26112,
469,
30,
938,
67,
350,
273,
4422,
18,
5754,
476,
1435,
63,
20,
65,
309,
296,
2978,
11,
316,
819,
30,
508,
67,
350,
273,
296,
2284,
4623,
15,
2890,
6315,
529,
18,
2079,
2668,
1093,
11189,
4623,
13,
4422,
18,
8837,
2668,
4025,
380,
628,
9482,
67,
2284,
67,
892,
1625,
508,
5095,
87,
471,
400,
67,
350,
5095,
87,
2187,
261,
529,
67,
350,
16,
2284,
67,
350,
3719,
309,
486,
4422,
18,
492,
1883,
30,
4422,
18,
8837,
2932,
11356,
12421,
9482,
67,
2284,
67,
892,
261,
529,
16,
712,
67,
2738,
16,
712,
67,
2725,
16,
2978,
16,
2284,
16,
455,
67,
350,
13,
13477,
6142,
87,
16,
2037,
9334,
2037,
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,
1518,
67,
2640,
12,
2890,
16,
4422,
16,
819,
12938,
4672,
4422,
18,
8837,
2932,
4803,
612,
4571,
9482,
67,
2284,
4852,
938,
5095,
87,
3113,
261,
2890,
6315,
529,
16,
3719,
309,
486,
4422,
18,
492,
1883,
30,
4422,
18,
8837,
2668,
4803,
1024,
1125,
9275,
87,
13,
2187,
7707,
481,
67,
2284,
67,
350,
67,
5436,
2187,
3719,
938,
67,
350,
273,
4422,
18,
5754,
476,
1435,
63,
20,
65,
4422,
18,
8837,
2932,
11356,
12421,
9482,
67,
2284,
261,
350,
16,
2284,
16,
508,
16,
1123,
16,
2019,
13,
13477,
6142,
87,
16,
738,
87,
16,
738,
87,
16,
738,
87,
16,
738,
87,
2225,
16,
261,
2284,
67,
350,
16,
365,
6315,
529,
2
] |
Draw a frame made of 3D rulers, with major and minor ticks. | Draw a frame made of 3-D rulers, with major and minor ticks. | def ruler_frame(lower_left, upper_right, ticks=4, sub_ticks=4, **kwds): """ Draw a frame made of 3D rulers, with major and minor ticks. INPUT: - ``lower_left`` - the lower left corner of the frame, as a list, tuple, or vector - ``upper_right`` - the upper right corner of the frame, as a list, tuple, or vector - ``ticks`` - (default: 4) the number of major ticks shown on each ruler - ``sub_ticks`` - (default: 4) the number of shown subdivisions between each major tick Type ``line3d.options`` for a dictionary of the default options for lines which are also available. EXAMPLES: A ruler frame:: sage: from sage.plot.plot3d.shapes2 import ruler_frame sage: F = ruler_frame([1,2,3],vector([2,3,4])); F A ruler frame with some options:: sage: F = ruler_frame([1,2,3],vector([2,3,4]),ticks=6, sub_ticks=2, color='red'); F """ return ruler(lower_left, (upper_right[0], lower_left[1], lower_left[2]), ticks=ticks, sub_ticks=sub_ticks, absolute=True, **kwds) \ + ruler(lower_left, (lower_left[0], upper_right[1], lower_left[2]), ticks=ticks, sub_ticks=sub_ticks, absolute=True, **kwds) \ + ruler(lower_left, (lower_left[0], lower_left[1], upper_right[2]), ticks=ticks, sub_ticks=sub_ticks, absolute=True, **kwds) | ac565fa7b2ba6c3b1ae16697410547f7b11f5dcf /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/ac565fa7b2ba6c3b1ae16697410547f7b11f5dcf/shapes2.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
436,
17040,
67,
3789,
12,
8167,
67,
4482,
16,
3854,
67,
4083,
16,
13003,
33,
24,
16,
720,
67,
11767,
33,
24,
16,
2826,
25577,
4672,
3536,
10184,
279,
2623,
7165,
434,
890,
17,
40,
436,
332,
414,
16,
598,
7888,
471,
8439,
13003,
18,
225,
12943,
30,
225,
300,
12176,
8167,
67,
4482,
10335,
300,
326,
2612,
2002,
11055,
434,
326,
2623,
16,
487,
279,
666,
16,
3193,
16,
578,
3806,
225,
300,
12176,
5797,
67,
4083,
10335,
300,
326,
3854,
2145,
11055,
434,
326,
2623,
16,
487,
279,
666,
16,
3193,
16,
578,
3806,
225,
300,
12176,
11767,
10335,
300,
261,
1886,
30,
1059,
13,
326,
1300,
434,
7888,
13003,
12188,
603,
1517,
436,
17040,
225,
300,
12176,
1717,
67,
11767,
10335,
300,
261,
1886,
30,
1059,
13,
326,
1300,
434,
12188,
25741,
12682,
3086,
1517,
7888,
4024,
225,
1412,
12176,
1369,
23,
72,
18,
2116,
10335,
364,
279,
3880,
434,
326,
805,
702,
364,
2362,
1492,
854,
2546,
2319,
18,
225,
5675,
8900,
11386,
30,
225,
432,
436,
17040,
2623,
2866,
225,
272,
410,
30,
628,
272,
410,
18,
4032,
18,
4032,
23,
72,
18,
17648,
22,
1930,
436,
17040,
67,
3789,
272,
410,
30,
478,
273,
436,
17040,
67,
3789,
3816,
21,
16,
22,
16,
23,
6487,
7737,
3816,
22,
16,
23,
16,
24,
5717,
1769,
478,
225,
432,
436,
17040,
2623,
598,
2690,
702,
2866,
225,
272,
410,
30,
478,
273,
436,
17040,
67,
3789,
3816,
21,
16,
22,
16,
23,
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,
436,
17040,
67,
3789,
12,
8167,
67,
4482,
16,
3854,
67,
4083,
16,
13003,
33,
24,
16,
720,
67,
11767,
33,
24,
16,
2826,
25577,
4672,
3536,
10184,
279,
2623,
7165,
434,
890,
17,
40,
436,
332,
414,
16,
598,
7888,
471,
8439,
13003,
18,
225,
12943,
30,
225,
300,
12176,
8167,
67,
4482,
10335,
300,
326,
2612,
2002,
11055,
434,
326,
2623,
16,
487,
279,
666,
16,
3193,
16,
578,
3806,
225,
300,
12176,
5797,
67,
4083,
10335,
300,
326,
3854,
2145,
11055,
434,
326,
2623,
16,
487,
279,
666,
16,
3193,
16,
578,
3806,
225,
300,
12176,
11767,
10335,
300,
261,
1886,
30,
1059,
13,
326,
1300,
434,
7888,
13003,
12188,
603,
1517,
436,
17040,
225,
2
] |
def __init__(self, master, buttons): | def __init__(self, master, buttons, callback = None): | def __init__(self, master, buttons): self.master = master self.buttons = buttons | c851d11d09284089edf54d1ccc2d14f74a5be5e7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/c851d11d09284089edf54d1ccc2d14f74a5be5e7/OWImputer.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
4171,
16,
9502,
16,
1348,
273,
599,
4672,
365,
18,
7525,
273,
4171,
365,
18,
16016,
273,
9502,
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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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
4171,
16,
9502,
16,
1348,
273,
599,
4672,
365,
18,
7525,
273,
4171,
365,
18,
16016,
273,
9502,
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
] |
textobject.setWordSpace((extra*1.0/(nwords - 1))) | textobject.setWordSpace((basicWidth-length)/(nwords-1.0)) | def draw(self): from reportlab.lib.enums import TA_LEFT, TA_CENTER, TA_RIGHT, TA_JUSTIFY style = self.style lines = self.lines rightIndent = style.rightIndent leftIndent = style.leftIndent leading = style.leading font = style.fontName size = style.fontSize alignment = style.alignment firstindent = style.firstLineIndent c = self.canv escape = c._escape #if debug: # print "FAST", id(self), "page number", c.getPageNumber() height = self.height #if debug: # c.rect(0,0,-1, height-size, fill=1, stroke=1) c.translate(0, height-size) textobject = c.beginText() code = textobject._code #textobject.setTextOrigin(0,firstindent) textobject.setFont(font, size) if style.textColor: textobject.setFillColor(style.textColor) first = 1 y = 0 basicWidth = self.availableWidth - rightIndent count = 0 nlines = len(lines) while count<nlines: (text, length, nwords) = lines[count] count = count+1 thisindent = leftIndent if first: thisindent = firstindent if alignment==TA_LEFT: x = thisindent elif alignment==TA_CENTER: extra = basicWidth - length x = thisindent + extra/2.0 elif alignment==TA_RIGHT: extra = basicWidth - length x = thisindent + extra elif alignment==TA_JUSTIFY: x = thisindent extra = basicWidth - length wordspace = extra*1.0/nwords if count<nlines: # patch from doug@pennatus.com, 9 Nov 2002 # was: textobject.setWordSpace(wordspace) textobject.setWordSpace((extra*1.0/(nwords - 1))) else: textobject.setWordSpace(0.0) textobject.setTextOrigin(x,y) text = escape(text) code.append('(%s) Tj' % text) #textobject.textOut(text) y = y-leading c.drawText(textobject) | 8e964059053b9454c9007cadd13e3a4d20c46e8f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/8e964059053b9454c9007cadd13e3a4d20c46e8f/para.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3724,
12,
2890,
4672,
628,
2605,
7411,
18,
2941,
18,
7924,
87,
1930,
399,
37,
67,
10066,
16,
399,
37,
67,
19835,
16,
399,
37,
67,
11847,
16,
399,
37,
67,
46,
5996,
12096,
2154,
273,
365,
18,
4060,
2362,
273,
365,
18,
3548,
2145,
7790,
273,
2154,
18,
4083,
7790,
2002,
7790,
273,
2154,
18,
4482,
7790,
7676,
273,
2154,
18,
27200,
3512,
273,
2154,
18,
5776,
461,
963,
273,
2154,
18,
5776,
1225,
8710,
273,
2154,
18,
14409,
1122,
9355,
273,
2154,
18,
3645,
1670,
7790,
276,
273,
365,
18,
4169,
90,
4114,
273,
276,
6315,
6939,
468,
430,
1198,
30,
468,
565,
1172,
315,
2046,
882,
3113,
612,
12,
2890,
3631,
315,
2433,
1300,
3113,
276,
18,
588,
1964,
1854,
1435,
2072,
273,
365,
18,
4210,
468,
430,
1198,
30,
468,
565,
276,
18,
2607,
12,
20,
16,
20,
16,
17,
21,
16,
2072,
17,
1467,
16,
3636,
33,
21,
16,
11040,
33,
21,
13,
276,
18,
13929,
12,
20,
16,
2072,
17,
1467,
13,
977,
1612,
273,
276,
18,
10086,
1528,
1435,
981,
273,
977,
1612,
6315,
710,
468,
955,
1612,
18,
542,
1528,
7571,
12,
20,
16,
3645,
9355,
13,
977,
1612,
18,
542,
5711,
12,
5776,
16,
963,
13,
309,
2154,
18,
955,
2957,
30,
977,
1612,
18,
542,
8026,
2957,
12,
4060,
18,
955,
2957,
13,
1122,
273,
404,
677,
273,
374,
5337,
2384,
273,
365,
18,
5699,
2384,
300,
2145,
7790,
1056,
273,
374,
290,
3548,
273,
562,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3724,
12,
2890,
4672,
628,
2605,
7411,
18,
2941,
18,
7924,
87,
1930,
399,
37,
67,
10066,
16,
399,
37,
67,
19835,
16,
399,
37,
67,
11847,
16,
399,
37,
67,
46,
5996,
12096,
2154,
273,
365,
18,
4060,
2362,
273,
365,
18,
3548,
2145,
7790,
273,
2154,
18,
4083,
7790,
2002,
7790,
273,
2154,
18,
4482,
7790,
7676,
273,
2154,
18,
27200,
3512,
273,
2154,
18,
5776,
461,
963,
273,
2154,
18,
5776,
1225,
8710,
273,
2154,
18,
14409,
1122,
9355,
273,
2154,
18,
3645,
1670,
7790,
276,
273,
365,
18,
4169,
90,
4114,
273,
276,
6315,
6939,
468,
430,
1198,
30,
468,
565,
1172,
315,
2046,
882,
3113,
612,
12,
2890,
3631,
315,
2433,
1300,
3113,
2
] |
path = os.path.join(os.getcwd(), 'icons') | path = os.path.join(os.getcwd(), 'icons/mugshots') | def OnIconButton(self, evt): # get current working directory # TODO: record the last opened path in config file try: path = os.path.join(os.getcwd(), 'icons') except Exception, msg: path = '' # open the image browser dialog dlg = ib.ImageDialog(self, path) | 2343157026e27ad0b5bde78cc13fbd2e47f9427b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9686/2343157026e27ad0b5bde78cc13fbd2e47f9427b/makefriends.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2755,
5554,
3616,
12,
2890,
16,
6324,
4672,
468,
336,
783,
5960,
1867,
468,
2660,
30,
1409,
326,
1142,
10191,
589,
316,
642,
585,
775,
30,
589,
273,
1140,
18,
803,
18,
5701,
12,
538,
18,
588,
11089,
9334,
296,
14516,
19,
81,
9024,
76,
6968,
6134,
1335,
1185,
16,
1234,
30,
589,
273,
875,
225,
468,
1696,
326,
1316,
4748,
6176,
25840,
273,
9834,
18,
2040,
6353,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2755,
5554,
3616,
12,
2890,
16,
6324,
4672,
468,
336,
783,
5960,
1867,
468,
2660,
30,
1409,
326,
1142,
10191,
589,
316,
642,
585,
775,
30,
589,
273,
1140,
18,
803,
18,
5701,
12,
538,
18,
588,
11089,
9334,
296,
14516,
19,
81,
9024,
76,
6968,
6134,
1335,
1185,
16,
1234,
30,
589,
273,
875,
225,
468,
1696,
326,
1316,
4748,
6176,
25840,
273,
9834,
18,
2040,
6353,
12,
2890,
16,
589,
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
] |
spg._centrosymmetric = bool(f.readline().split()[1]) | spg._centrosymmetric = bool(int(f.readline().split()[1])) | def _read_datafile_entry(spg, no, symbol, setting, f): """Read space group data from f to spg.""" spg._no = no spg._symbol = symbol.strip() spg._setting = setting spg._centrosymmetric = bool(f.readline().split()[1]) # primitive vectors f.readline() spg._scaled_primitive_cell = np.array([map(float, f.readline().split()) for i in range(3)], dtype=np.float) # primitive reciprocal vectors f.readline() spg._reciprocal_cell = np.array([map(int, f.readline().split()) for i in range(3)], dtype=np.int) # subtranslations spg._nsubtrans = int(f.readline().split()[0]) spg._subtrans = np.array([map(float, f.readline().split()) for i in range(spg._nsubtrans)], dtype=np.float) # symmetry operations nsym = int(f.readline().split()[0]) symop = np.array([map(float, f.readline().split()) for i in range(nsym)], dtype=np.float) spg._nsymop = nsym spg._rotations = np.array(symop[:,:9].reshape((nsym,3,3)), dtype=np.int) spg._translations = symop[:,9:] | 4fa6d35fad9042915ad2c1a9831f4dd1fb3509ee /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5572/4fa6d35fad9042915ad2c1a9831f4dd1fb3509ee/spacegroup.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
896,
67,
892,
768,
67,
4099,
12,
1752,
75,
16,
1158,
16,
3273,
16,
3637,
16,
284,
4672,
3536,
1994,
3476,
1041,
501,
628,
284,
358,
1694,
75,
12123,
1694,
75,
6315,
2135,
273,
1158,
1694,
75,
6315,
7175,
273,
3273,
18,
6406,
1435,
1694,
75,
6315,
8920,
273,
3637,
1694,
75,
6315,
2998,
6973,
2942,
6899,
273,
1426,
12,
474,
12,
74,
18,
896,
1369,
7675,
4939,
1435,
63,
21,
22643,
468,
8225,
10046,
284,
18,
896,
1369,
1435,
1694,
75,
6315,
20665,
67,
683,
5025,
67,
3855,
273,
1130,
18,
1126,
3816,
1458,
12,
5659,
16,
284,
18,
896,
1369,
7675,
4939,
10756,
364,
277,
316,
1048,
12,
23,
13,
6487,
3182,
33,
6782,
18,
5659,
13,
468,
8225,
5863,
30101,
10046,
284,
18,
896,
1369,
1435,
1694,
75,
6315,
266,
3449,
30101,
67,
3855,
273,
1130,
18,
1126,
3816,
1458,
12,
474,
16,
284,
18,
896,
1369,
7675,
4939,
10756,
364,
277,
316,
1048,
12,
23,
13,
6487,
3182,
33,
6782,
18,
474,
13,
468,
720,
13457,
1694,
75,
6315,
82,
1717,
2338,
273,
509,
12,
74,
18,
896,
1369,
7675,
4939,
1435,
63,
20,
5717,
1694,
75,
6315,
1717,
2338,
273,
1130,
18,
1126,
3816,
1458,
12,
5659,
16,
284,
18,
896,
1369,
7675,
4939,
10756,
364,
277,
316,
1048,
12,
1752,
75,
6315,
82,
1717,
2338,
13,
6487,
3182,
33,
6782,
18,
5659,
13,
468,
26144,
5295,
3153,
2942,
273,
509,
12,
74,
18,
896,
1369,
7675,
4939,
1435,
63,
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,
896,
67,
892,
768,
67,
4099,
12,
1752,
75,
16,
1158,
16,
3273,
16,
3637,
16,
284,
4672,
3536,
1994,
3476,
1041,
501,
628,
284,
358,
1694,
75,
12123,
1694,
75,
6315,
2135,
273,
1158,
1694,
75,
6315,
7175,
273,
3273,
18,
6406,
1435,
1694,
75,
6315,
8920,
273,
3637,
1694,
75,
6315,
2998,
6973,
2942,
6899,
273,
1426,
12,
474,
12,
74,
18,
896,
1369,
7675,
4939,
1435,
63,
21,
22643,
468,
8225,
10046,
284,
18,
896,
1369,
1435,
1694,
75,
6315,
20665,
67,
683,
5025,
67,
3855,
273,
1130,
18,
1126,
3816,
1458,
12,
5659,
16,
284,
18,
896,
1369,
7675,
4939,
10756,
364,
277,
316,
1048,
12,
23,
13,
6487,
3182,
33,
6782,
18,
2
] |
def __instance(self, cb, *args): | if self.__resume_filename: self.resume_instance(self.__resume_filename) else: self.new_instance() | def __instance(self, cb, *args): for i in self.__postponed_share: self.share_instance(i, self._initiating) self.__postponed_share = [] cb(*args) | 3a49b60a6de588c9ec4840acc5b9555570894754 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5598/3a49b60a6de588c9ec4840acc5b9555570894754/shared.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
309,
365,
16186,
25158,
67,
3459,
30,
365,
18,
25158,
67,
1336,
12,
2890,
16186,
25158,
67,
3459,
13,
469,
30,
365,
18,
2704,
67,
1336,
1435,
225,
364,
277,
316,
365,
16186,
2767,
500,
329,
67,
14419,
30,
365,
18,
14419,
67,
1336,
12,
77,
16,
365,
6315,
2738,
22906,
13,
365,
16186,
2767,
500,
329,
67,
14419,
273,
5378,
2875,
30857,
1968,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
309,
365,
16186,
25158,
67,
3459,
30,
365,
18,
25158,
67,
1336,
12,
2890,
16186,
25158,
67,
3459,
13,
469,
30,
365,
18,
2704,
67,
1336,
1435,
225,
364,
277,
316,
365,
16186,
2767,
500,
329,
67,
14419,
30,
365,
18,
14419,
67,
1336,
12,
77,
16,
365,
6315,
2738,
22906,
13,
365,
16186,
2767,
500,
329,
67,
14419,
273,
5378,
2875,
30857,
1968,
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
] |
sys.stderr.write("props not set correctly for %s\n" % path) | sys.stderr.write("Props issue on: %s\n" % path) sys.stderr.write(hr) | def checkPath(path,autoprops): log_message ("checkPath: [%s]\n" % (path)); #sys.stderr.write ("Checking autoprops on [%s] ...\n" % (path)) okay = 1 is_dir = (path[-1] == '/') for pattern in autoprops.keys(): #log_message("#Pattern [%s] \n" % (pattern)) if fnmatch(path,pattern): #log_message("#Match [%s ~ %s] \n" % (pattern, path)) items = autoprops[pattern] for item in items: propname = item[0] log_message("#Propname [%s] \n" % (propname)) if is_dir and propname == 'svn:keywords': log_message ("Skip checking %s on directory [%s] ...\n" % (propname, path)) else: expected = item[1] # already lower case cmd = "%s propget -t %s %s %s %s" % (SVNLOOK,trans,repos,propname,path) #propget = Popen(split (cmd), stdout=PIPE).stdout #log_message("Launch command=%s \n" % (cmd)) (propget, prop_in) = popen2.popen2(cmd) #log_message("Read output \n") propval = lower(propget.read()) status = propget.close() prop_in.close() #log_message("Finish command \n") if propval.find(expected) < 0: okay = 0 #if not status: sys.stderr.write("hook: Property value '%s=%s' not found (or not expected) on path '%s'\n" % (propname,expected,path)) log_message ("checkPath: [%s] done\n" % (path)); return okay | fef05254d679458dcfa6dfb040cc1761ddbe9dc2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2574/fef05254d679458dcfa6dfb040cc1761ddbe9dc2/checkprops.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
743,
12,
803,
16,
5854,
556,
16703,
4672,
613,
67,
2150,
7566,
1893,
743,
30,
9799,
87,
13944,
82,
6,
738,
261,
803,
10019,
468,
9499,
18,
11241,
18,
2626,
7566,
14294,
2059,
556,
16703,
603,
9799,
87,
65,
1372,
64,
82,
6,
738,
261,
803,
3719,
21194,
273,
404,
353,
67,
1214,
273,
261,
803,
18919,
21,
65,
422,
2023,
13,
364,
1936,
316,
2059,
556,
16703,
18,
2452,
13332,
468,
1330,
67,
2150,
2932,
7,
3234,
9799,
87,
65,
521,
82,
6,
738,
261,
4951,
3719,
309,
18764,
12,
803,
16,
4951,
4672,
468,
1330,
67,
2150,
2932,
7,
2060,
9799,
87,
4871,
738,
87,
65,
521,
82,
6,
738,
261,
4951,
16,
589,
3719,
1516,
273,
2059,
556,
16703,
63,
4951,
65,
364,
761,
316,
1516,
30,
2270,
529,
273,
761,
63,
20,
65,
613,
67,
2150,
2932,
7,
4658,
529,
9799,
87,
65,
521,
82,
6,
738,
261,
5986,
529,
3719,
309,
353,
67,
1214,
471,
2270,
529,
422,
296,
31505,
30,
11771,
4278,
613,
67,
2150,
7566,
6368,
6728,
738,
87,
603,
1867,
9799,
87,
65,
1372,
64,
82,
6,
738,
261,
5986,
529,
16,
589,
3719,
469,
30,
2665,
273,
761,
63,
21,
65,
468,
1818,
2612,
648,
1797,
273,
2213,
87,
2270,
588,
300,
88,
738,
87,
738,
87,
738,
87,
738,
87,
6,
738,
261,
23927,
50,
1502,
3141,
16,
2338,
16,
15564,
16,
5986,
529,
16,
803,
13,
468,
5986,
588,
273,
14339,
12,
4939,
261,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
743,
12,
803,
16,
5854,
556,
16703,
4672,
613,
67,
2150,
7566,
1893,
743,
30,
9799,
87,
13944,
82,
6,
738,
261,
803,
10019,
468,
9499,
18,
11241,
18,
2626,
7566,
14294,
2059,
556,
16703,
603,
9799,
87,
65,
1372,
64,
82,
6,
738,
261,
803,
3719,
21194,
273,
404,
353,
67,
1214,
273,
261,
803,
18919,
21,
65,
422,
2023,
13,
364,
1936,
316,
2059,
556,
16703,
18,
2452,
13332,
468,
1330,
67,
2150,
2932,
7,
3234,
9799,
87,
65,
521,
82,
6,
738,
261,
4951,
3719,
309,
18764,
12,
803,
16,
4951,
4672,
468,
1330,
67,
2150,
2932,
7,
2060,
9799,
87,
4871,
738,
87,
65,
521,
82,
6,
738,
261,
4951,
16,
589,
3719,
2
] |
if cmd==f90: cmd = self.compiler_f90[0] | if cmd == f90: cmd = self.compiler_f90[0] | def get_version_cmd(self): """Compiler command to print out version information.""" f77 = self.executables.get('compiler_f77') if f77 is not None: f77 = f77[0] cmd = self.executables.get('version_cmd') if cmd is not None: cmd = cmd[0] if cmd==f77: cmd = self.compiler_f77[0] else: f90 = self.executables.get('compiler_f90') if f90 is not None: f90 = f90[0] if cmd==f90: cmd = self.compiler_f90[0] return cmd | 888d6eddcb686d7b4b502b34be35be9acec84f6b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/14925/888d6eddcb686d7b4b502b34be35be9acec84f6b/__init__.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
1589,
67,
4172,
12,
2890,
4672,
3536,
9213,
1296,
358,
1172,
596,
1177,
1779,
12123,
284,
4700,
273,
365,
18,
4177,
322,
1538,
18,
588,
2668,
9576,
67,
74,
4700,
6134,
309,
284,
4700,
353,
486,
599,
30,
284,
4700,
273,
284,
4700,
63,
20,
65,
1797,
273,
365,
18,
4177,
322,
1538,
18,
588,
2668,
1589,
67,
4172,
6134,
309,
1797,
353,
486,
599,
30,
1797,
273,
1797,
63,
20,
65,
309,
1797,
631,
74,
4700,
30,
1797,
273,
365,
18,
9576,
67,
74,
4700,
63,
20,
65,
469,
30,
284,
9349,
273,
365,
18,
4177,
322,
1538,
18,
588,
2668,
9576,
67,
74,
9349,
6134,
309,
284,
9349,
353,
486,
599,
30,
284,
9349,
273,
284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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,
336,
67,
1589,
67,
4172,
12,
2890,
4672,
3536,
9213,
1296,
358,
1172,
596,
1177,
1779,
12123,
284,
4700,
273,
365,
18,
4177,
322,
1538,
18,
588,
2668,
9576,
67,
74,
4700,
6134,
309,
284,
4700,
353,
486,
599,
30,
284,
4700,
273,
284,
4700,
63,
20,
65,
1797,
273,
365,
18,
4177,
322,
1538,
18,
588,
2668,
1589,
67,
4172,
6134,
309,
1797,
353,
486,
599,
30,
1797,
273,
1797,
63,
20,
65,
309,
1797,
631,
74,
4700,
30,
1797,
273,
365,
18,
9576,
67,
74,
4700,
63,
20,
65,
469,
30,
284,
9349,
273,
365,
18,
4177,
322,
1538,
18,
588,
2668,
9576,
67,
74,
9349,
6134,
309,
284,
9349,
353,
486,
599,
30,
284,
9349,
2
] |
class pAdicGeneralExtensionFieldCappedRelative(pAdicGeneralExtensionGeneric, pAdicCappedRelativeFieldGeneric): def __init__(self, upoly, epoly, poly, prec, halt, print_mode, names): pAdicGeneralExtensionGeneric.__init__(self, upoly, epoly, poly, prec, print_mode, names, pAdicGeneralExtensionCappedRelativeElement) | def __init__(self, upoly, epoly, poly, prec, halt, print_mode, names): pAdicGeneralExtensionGeneric.__init__(self, upoly, epoly, poly, prec, print_mode, names, pAdicGeneralExtensionCappedRelativeElement) | ba045ed1184b908554216b56093b975bd5ff14cc /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/ba045ed1184b908554216b56093b975bd5ff14cc/padic_extension_leaves.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
731,
355,
93,
16,
425,
16353,
16,
7573,
16,
13382,
16,
18389,
16,
1172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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
731,
355,
93,
16,
425,
16353,
16,
7573,
16,
13382,
16,
18389,
16,
1172,
67,
3188,
16,
1257,
4672,
293,
1871,
335,
12580,
3625,
7014,
16186,
2738,
972,
12,
2890,
16,
731,
355,
93,
16,
425,
16353,
16,
7573,
16,
13382,
16,
1172,
67,
3188,
16,
1257,
16,
293,
1871,
335,
12580,
3625,
4664,
1845,
8574,
1046,
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
] | |
obj.doDefaultAction() | def activatePosition(self,pos): ID=self.getIDFromPosition(pos) obj=self._IDs[ID]["node"] if obj is None: return role=getMozillaRole(obj.IAccessibleRole) states=obj.IAccessibleStates if (role==IAccessibleHandler.ROLE_SYSTEM_TEXT and not states&IAccessibleHandler.STATE_SYSTEM_READONLY) or role==IAccessibleHandler.ROLE_SYSTEM_COMBOBOX: if not self.passThrough: self.passThrough=True virtualBufferHandler.reportPassThrough(self) obj.setFocus() else: obj.doDefaultAction() obj.setFocus() return if role in [IAccessibleHandler.ROLE_SYSTEM_CHECKBUTTON,IAccessibleHandler.ROLE_SYSTEM_RADIOBUTTON]: obj.doDefaultAction() obj.setFocus() elif role==IAccessibleHandler.ROLE_SYSTEM_PUSHBUTTON: obj.doDefaultAction() elif role in [IAccessibleHandler.ROLE_SYSTEM_LINK,IAccessibleHandler.ROLE_SYSTEM_GRAPHIC]: obj.doDefaultAction() obj.setFocus() | aab9c074a2b596ba809a26d7c0398aafaa0055bd /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9340/aab9c074a2b596ba809a26d7c0398aafaa0055bd/adobe.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10235,
2555,
12,
2890,
16,
917,
4672,
1599,
33,
2890,
18,
588,
734,
1265,
2555,
12,
917,
13,
1081,
33,
2890,
6315,
5103,
63,
734,
6362,
6,
2159,
11929,
309,
1081,
353,
599,
30,
327,
2478,
33,
588,
49,
11142,
10745,
2996,
12,
2603,
18,
45,
10451,
2996,
13,
5493,
33,
2603,
18,
45,
10451,
7629,
309,
261,
4615,
631,
45,
10451,
1503,
18,
16256,
67,
14318,
67,
5151,
471,
486,
5493,
10,
45,
10451,
1503,
18,
7998,
67,
14318,
67,
6949,
10857,
13,
578,
2478,
631,
45,
10451,
1503,
18,
16256,
67,
14318,
67,
4208,
5315,
16876,
30,
309,
486,
365,
18,
5466,
14287,
30,
365,
18,
5466,
14287,
33,
5510,
5024,
1892,
1503,
18,
6006,
6433,
14287,
12,
2890,
13,
1081,
18,
542,
9233,
1435,
469,
30,
1081,
18,
542,
9233,
1435,
327,
309,
2478,
316,
306,
45,
10451,
1503,
18,
16256,
67,
14318,
67,
10687,
20068,
16,
45,
10451,
1503,
18,
16256,
67,
14318,
67,
28829,
4294,
20068,
14542,
1081,
18,
542,
9233,
1435,
1327,
2478,
631,
45,
10451,
1503,
18,
16256,
67,
14318,
67,
30348,
20068,
30,
1327,
2478,
316,
306,
45,
10451,
1503,
18,
16256,
67,
14318,
67,
10554,
16,
45,
10451,
1503,
18,
16256,
67,
14318,
67,
24372,
2871,
14542,
1081,
18,
542,
9233,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10235,
2555,
12,
2890,
16,
917,
4672,
1599,
33,
2890,
18,
588,
734,
1265,
2555,
12,
917,
13,
1081,
33,
2890,
6315,
5103,
63,
734,
6362,
6,
2159,
11929,
309,
1081,
353,
599,
30,
327,
2478,
33,
588,
49,
11142,
10745,
2996,
12,
2603,
18,
45,
10451,
2996,
13,
5493,
33,
2603,
18,
45,
10451,
7629,
309,
261,
4615,
631,
45,
10451,
1503,
18,
16256,
67,
14318,
67,
5151,
471,
486,
5493,
10,
45,
10451,
1503,
18,
7998,
67,
14318,
67,
6949,
10857,
13,
578,
2478,
631,
45,
10451,
1503,
18,
16256,
67,
14318,
67,
4208,
5315,
16876,
30,
309,
486,
365,
18,
5466,
14287,
30,
365,
18,
5466,
14287,
33,
5510,
5024,
1892,
1503,
18,
6006,
6433,
2
] | |
self.mungeMakefiles(util.normpath(self.macros.builddir + os.sep + self.dir), self.command) | self.buildMakeDependencies(util.normpath(self.macros.builddir + os.sep + self.dir), self.command) | def do(self, macros): | c191d02c68c0ba5fd9dc046fc1b7a2dc073d24ca /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/c191d02c68c0ba5fd9dc046fc1b7a2dc073d24ca/build.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
12,
2890,
16,
24302,
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,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
12,
2890,
16,
24302,
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
] |
if not m: | if m == (None, None): | def quoteaddr(addr): """Quote a subset of the email addresses defined by RFC 821. Should be able to handle anything rfc822.parseaddr can handle. """ m=None try: m=rfc822.parseaddr(addr)[1] except AttributeError: pass if not m: #something weird here.. punt -ddm return addr else: return "<%s>" % m | 342456d5d25be692c3ddd43d0446b52555251ccc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/342456d5d25be692c3ddd43d0446b52555251ccc/smtplib.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4914,
684,
3069,
12,
4793,
4672,
3536,
10257,
279,
7931,
434,
326,
2699,
6138,
2553,
635,
8372,
1725,
5340,
18,
225,
9363,
506,
7752,
358,
1640,
6967,
16590,
24532,
18,
2670,
4793,
848,
1640,
18,
3536,
312,
33,
7036,
775,
30,
312,
33,
16784,
24532,
18,
2670,
4793,
12,
4793,
25146,
21,
65,
1335,
6394,
30,
1342,
309,
312,
422,
261,
7036,
16,
599,
4672,
468,
30289,
20843,
2674,
838,
293,
10032,
300,
449,
81,
327,
3091,
469,
30,
327,
3532,
9,
87,
2984,
738,
312,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4914,
684,
3069,
12,
4793,
4672,
3536,
10257,
279,
7931,
434,
326,
2699,
6138,
2553,
635,
8372,
1725,
5340,
18,
225,
9363,
506,
7752,
358,
1640,
6967,
16590,
24532,
18,
2670,
4793,
848,
1640,
18,
3536,
312,
33,
7036,
775,
30,
312,
33,
16784,
24532,
18,
2670,
4793,
12,
4793,
25146,
21,
65,
1335,
6394,
30,
1342,
309,
312,
422,
261,
7036,
16,
599,
4672,
468,
30289,
20843,
2674,
838,
293,
10032,
300,
449,
81,
327,
3091,
469,
30,
327,
3532,
9,
87,
2984,
738,
312,
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
] |
self._logger.info("has temp"+str(self._WxCurrent.has_key['th1.temp'])) self._logger.info("has hum"+str(self._WxCurrent.has_key['th1.hum'])) self._logger.info("got pressure "+pressure) if self._WxCurrent.has_key['th1.temp'] and self._WxCurrent.has_key['th1.humidity']: self._logger.info("calculating pressure") pressure = round(StationToSeaLevelPressure( pressure, self.ALTITUDE, self._WxCurrent['th1.temp'], self.MEAN_TEMP, self._WxCurrent['th1.humidity'], 'paDavisVP'),1) self._WxCurrent['barometer.pressure'] = pressure self._WxCurrent['barometer.forecast'] = forecast self._WxCurrent['barometer.forecastTxt'] = forecastTxt self._report_barometer(pressure) self._logger.info("Barometer Forecast: %s, Pressure: %d mb", forecastTxt, pressure) | try: self._logger.info("has temp"+str(self._WxCurrent.has_key['th1.temp'])) self._logger.info("has hum"+str(self._WxCurrent.has_key['th1.hum'])) self._logger.info("got pressure "+pressure) if self._WxCurrent.has_key['th1.temp'] and self._WxCurrent.has_key['th1.humidity']: self._logger.info("calculating pressure") pressure = round(StationToSeaLevelPressure( pressure, self.ALTITUDE, self._WxCurrent['th1.temp'], self.MEAN_TEMP, self._WxCurrent['th1.humidity'], 'paDavisVP'),1) self._WxCurrent['barometer.pressure'] = pressure self._WxCurrent['barometer.forecast'] = forecast self._WxCurrent['barometer.forecastTxt'] = forecastTxt self._report_barometer(pressure) self._logger.info("Barometer Forecast: %s, Pressure: %d mb", forecastTxt, pressure) except Exception, e: self._logger.exception(e.message) | def _parse_barometer_record(self, record): """ | b8715bfdf374d8da341565ae2d3ee463a0a00c04 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3323/b8715bfdf374d8da341565ae2d3ee463a0a00c04/WMRS200Parser.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2670,
67,
3215,
362,
847,
67,
3366,
12,
2890,
16,
1409,
4672,
3536,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2670,
67,
3215,
362,
847,
67,
3366,
12,
2890,
16,
1409,
4672,
3536,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
of `w` that qualifies as a Lyndon word. | of `w` that is a Lyndon word. | def standard_factorization(self): r""" Returns the standard factorization of self. | 0392dbfbd4660240610d6340b53857ca3e7aa64c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/0392dbfbd4660240610d6340b53857ca3e7aa64c/word.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4529,
67,
6812,
1588,
12,
2890,
4672,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4529,
67,
6812,
1588,
12,
2890,
4672,
436,
8395,
2860,
326,
4529,
5578,
1588,
434,
365,
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
] |
except SIPRegistrationDidNotEnd, e: | except (SIPRegistrationDidFail, SIPRegistrationDidNotEnd), e: | def _CH_unregister(self, command): notification_center = NotificationCenter() # Cancel any timer which would restart the registration process if self._refresh_timer is not None and self._refresh_timer.active(): self._refresh_timer.cancel() self._refresh_timer = None self.registered = False if self._registration is not None: self._registration.end(timeout=2) try: while True: notification = self._data_channel.wait() if notification.sender is self._registration and notification.name == 'SIPRegistrationDidEnd': break except SIPRegistrationDidNotEnd, e: notification_center.post_notification('SIPAccountRegistrationDidNotEnd', sender=self.account, data=TimestampedNotificationData(code=e.code, reason=e.reason, registration=self._registration)) else: notification_center.post_notification('SIPAccountRegistrationDidEnd', sender=self.account, data=TimestampedNotificationData(registration=self._registration)) finally: notification_center.remove_observer(self, sender=self._registration) self._registration = None command.signal() | 686915396eedbb7834a5d3e6d7d4954280e2943a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5703/686915396eedbb7834a5d3e6d7d4954280e2943a/account.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1792,
67,
318,
4861,
12,
2890,
16,
1296,
4672,
3851,
67,
5693,
273,
8050,
8449,
1435,
468,
10347,
1281,
5441,
1492,
4102,
7870,
326,
7914,
1207,
309,
365,
6315,
9144,
67,
12542,
353,
486,
599,
471,
365,
6315,
9144,
67,
12542,
18,
3535,
13332,
365,
6315,
9144,
67,
12542,
18,
10996,
1435,
365,
6315,
9144,
67,
12542,
273,
599,
365,
18,
14327,
273,
1083,
309,
365,
6315,
14170,
353,
486,
599,
30,
365,
6315,
14170,
18,
409,
12,
4538,
33,
22,
13,
775,
30,
1323,
1053,
30,
3851,
273,
365,
6315,
892,
67,
4327,
18,
7048,
1435,
309,
3851,
18,
15330,
353,
365,
6315,
14170,
471,
3851,
18,
529,
422,
296,
17739,
7843,
18250,
1638,
4278,
898,
1335,
261,
17739,
7843,
18250,
3754,
16,
348,
2579,
7843,
18250,
1248,
1638,
3631,
425,
30,
3851,
67,
5693,
18,
2767,
67,
9927,
2668,
17739,
3032,
7843,
18250,
1248,
1638,
2187,
5793,
33,
2890,
18,
4631,
16,
501,
33,
4921,
329,
4386,
751,
12,
710,
33,
73,
18,
710,
16,
3971,
33,
73,
18,
10579,
16,
7914,
33,
2890,
6315,
14170,
3719,
469,
30,
3851,
67,
5693,
18,
2767,
67,
9927,
2668,
17739,
3032,
7843,
18250,
1638,
2187,
5793,
33,
2890,
18,
4631,
16,
501,
33,
4921,
329,
4386,
751,
12,
14170,
33,
2890,
6315,
14170,
3719,
3095,
30,
3851,
67,
5693,
18,
4479,
67,
30971,
12,
2890,
16,
5793,
33,
2890,
6315,
14170,
13,
365,
6315,
14170,
273,
599,
1296,
18,
10420,
1435,
2,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1792,
67,
318,
4861,
12,
2890,
16,
1296,
4672,
3851,
67,
5693,
273,
8050,
8449,
1435,
468,
10347,
1281,
5441,
1492,
4102,
7870,
326,
7914,
1207,
309,
365,
6315,
9144,
67,
12542,
353,
486,
599,
471,
365,
6315,
9144,
67,
12542,
18,
3535,
13332,
365,
6315,
9144,
67,
12542,
18,
10996,
1435,
365,
6315,
9144,
67,
12542,
273,
599,
365,
18,
14327,
273,
1083,
309,
365,
6315,
14170,
353,
486,
599,
30,
365,
6315,
14170,
18,
409,
12,
4538,
33,
22,
13,
775,
30,
1323,
1053,
30,
3851,
273,
365,
6315,
892,
67,
4327,
18,
7048,
1435,
309,
3851,
18,
15330,
353,
365,
6315,
14170,
471,
3851,
18,
529,
422,
296,
17739,
7843,
18250,
1638,
4278,
898,
2
] |
self.toolsToolbar.setGeometry(QRect(0,312,30,183)) | self.toolsToolbar.setGeometry(QRect(0,322,30,189)) | def __init__(self,parent = None,name = None,fl = 0): QMainWindow.__init__(self,parent,name,fl) self.statusBar() | 2bdc60455ab85cd2792604c15ae9034d3632b0df /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/2bdc60455ab85cd2792604c15ae9034d3632b0df/MainWindowUI.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2938,
273,
599,
16,
529,
273,
599,
16,
2242,
273,
374,
4672,
2238,
6376,
3829,
16186,
2738,
972,
12,
2890,
16,
2938,
16,
529,
16,
2242,
13,
365,
18,
2327,
5190,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2938,
273,
599,
16,
529,
273,
599,
16,
2242,
273,
374,
4672,
2238,
6376,
3829,
16186,
2738,
972,
12,
2890,
16,
2938,
16,
529,
16,
2242,
13,
365,
18,
2327,
5190,
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
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.