rem
stringlengths 2
226k
| add
stringlengths 0
227k
| context
stringlengths 8
228k
| meta
stringlengths 156
215
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
warn("Tables rebuilt because of dependencies updated: '" \ +"', '".join(dependingTables) + "'")
|
if not self.quiet: warn("Tables rebuilt because of dependencies updated: '" \ +"', '".join(dependingTables) + "'")
|
def build(self, tables): """ Builds the given tables.
|
dec8906e07681ee925caef6e895971c9e8464f07 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11128/dec8906e07681ee925caef6e895971c9e8464f07/build.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1361,
12,
2890,
16,
4606,
4672,
3536,
3998,
87,
326,
864,
4606,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
from Numeric import array self.atoms.SetCartesianPositions(array(atoms.get_positions()))
|
from Numeric import array, Float self.atoms.SetCartesianPositions(array(atoms.get_positions(), Float))
|
def get_forces(self, atoms): from Numeric import array self.atoms.SetCartesianPositions(array(atoms.get_positions())) return npy.array(self.calc.GetCartesianForces())
|
00836fe7ba7dc98ee8997299b7e06ef0e82cd0bc /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5735/00836fe7ba7dc98ee8997299b7e06ef0e82cd0bc/old.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
1884,
764,
12,
2890,
16,
9006,
4672,
628,
16980,
1930,
526,
16,
5450,
365,
18,
14937,
18,
694,
13006,
13404,
11024,
12,
1126,
12,
14937,
18,
588,
67,
12388,
9334,
5450,
3719,
327,
1130,
93,
18,
1126,
12,
2890,
18,
12448,
18,
967,
13006,
13404,
1290,
764,
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,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
1884,
764,
12,
2890,
16,
9006,
4672,
628,
16980,
1930,
526,
16,
5450,
365,
18,
14937,
18,
694,
13006,
13404,
11024,
12,
1126,
12,
14937,
18,
588,
67,
12388,
9334,
5450,
3719,
327,
1130,
93,
18,
1126,
12,
2890,
18,
12448,
18,
967,
13006,
13404,
1290,
764,
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
] |
return self._action(*troveSpecs, ActionClass = GroupFindAction)
|
return self._action(ActionClass = GroupFindAction, *troveSpecs)
|
def find(self, *troveSpecs): return self._action(*troveSpecs, ActionClass = GroupFindAction)
|
d5cd416fce497abb2065fa1182b9d65b8242d794 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8747/d5cd416fce497abb2065fa1182b9d65b8242d794/groupsetrecipe.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1104,
12,
2890,
16,
380,
88,
303,
537,
15999,
4672,
327,
365,
6315,
1128,
30857,
88,
303,
537,
15999,
16,
4382,
797,
273,
3756,
3125,
1803,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1104,
12,
2890,
16,
380,
88,
303,
537,
15999,
4672,
327,
365,
6315,
1128,
30857,
88,
303,
537,
15999,
16,
4382,
797,
273,
3756,
3125,
1803,
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
] |
'bytes'."""
|
'bytes'. 'zinfo_or_arcname' is either a ZipInfo instance or the name of the file in the archive.""" if not isinstance(zinfo_or_arcname, ZipInfo): zinfo = ZipInfo(filename=zinfo_or_arcname, date_time=time.localtime(time.time())) zinfo.compress_type = self.compression else: zinfo = zinfo_or_arcname
|
def writestr(self, zinfo, bytes): """Write a file into the archive. The contents is the string 'bytes'.""" self._writecheck(zinfo) zinfo.file_size = len(bytes) # Uncompressed size zinfo.CRC = binascii.crc32(bytes) # CRC-32 checksum if zinfo.compress_type == ZIP_DEFLATED: co = zlib.compressobj(zlib.Z_DEFAULT_COMPRESSION, zlib.DEFLATED, -15) bytes = co.compress(bytes) + co.flush() zinfo.compress_size = len(bytes) # Compressed size else: zinfo.compress_size = zinfo.file_size zinfo.header_offset = self.fp.tell() # Start of header bytes self.fp.write(zinfo.FileHeader()) zinfo.file_offset = self.fp.tell() # Start of file bytes self.fp.write(bytes) if zinfo.flag_bits & 0x08: # Write CRC and file sizes after the file data self.fp.write(struct.pack("<lll", zinfo.CRC, zinfo.compress_size, zinfo.file_size)) self.filelist.append(zinfo) self.NameToInfo[zinfo.filename] = zinfo
|
ea70053892533503a724420f7e62e3c30e16ed64 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/ea70053892533503a724420f7e62e3c30e16ed64/zipfile.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
7262,
313,
12,
2890,
16,
998,
1376,
16,
1731,
4672,
3536,
3067,
279,
585,
1368,
326,
5052,
18,
225,
1021,
2939,
353,
326,
533,
296,
3890,
10332,
225,
296,
94,
1376,
67,
280,
67,
11828,
529,
11,
353,
3344,
279,
8603,
966,
791,
578,
326,
508,
434,
326,
585,
316,
326,
5052,
12123,
309,
486,
1549,
12,
94,
1376,
67,
280,
67,
11828,
529,
16,
8603,
966,
4672,
998,
1376,
273,
8603,
966,
12,
3459,
33,
94,
1376,
67,
280,
67,
11828,
529,
16,
1509,
67,
957,
33,
957,
18,
3729,
957,
12,
957,
18,
957,
1435,
3719,
998,
1376,
18,
14706,
67,
723,
273,
365,
18,
23766,
469,
30,
998,
1376,
273,
998,
1376,
67,
280,
67,
11828,
529,
365,
6315,
2626,
1893,
12,
94,
1376,
13,
998,
1376,
18,
768,
67,
1467,
273,
562,
12,
3890,
13,
5411,
468,
1351,
15385,
963,
998,
1376,
18,
26803,
273,
28222,
18,
22988,
1578,
12,
3890,
13,
4202,
468,
21773,
17,
1578,
6697,
309,
998,
1376,
18,
14706,
67,
723,
422,
18277,
67,
12904,
48,
6344,
30,
1825,
273,
24220,
18,
14706,
2603,
12,
94,
2941,
18,
62,
67,
5280,
67,
4208,
14227,
16,
24220,
18,
12904,
48,
6344,
16,
300,
3600,
13,
1731,
273,
1825,
18,
14706,
12,
3890,
13,
397,
1825,
18,
11330,
1435,
998,
1376,
18,
14706,
67,
1467,
273,
562,
12,
3890,
13,
565,
468,
5427,
4638,
963,
469,
30,
998,
1376,
18,
14706,
67,
1467,
273,
998,
1376,
18,
768,
67,
1467,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
7262,
313,
12,
2890,
16,
998,
1376,
16,
1731,
4672,
3536,
3067,
279,
585,
1368,
326,
5052,
18,
225,
1021,
2939,
353,
326,
533,
296,
3890,
10332,
225,
296,
94,
1376,
67,
280,
67,
11828,
529,
11,
353,
3344,
279,
8603,
966,
791,
578,
326,
508,
434,
326,
585,
316,
326,
5052,
12123,
309,
486,
1549,
12,
94,
1376,
67,
280,
67,
11828,
529,
16,
8603,
966,
4672,
998,
1376,
273,
8603,
966,
12,
3459,
33,
94,
1376,
67,
280,
67,
11828,
529,
16,
1509,
67,
957,
33,
957,
18,
3729,
957,
12,
957,
18,
957,
1435,
3719,
998,
1376,
18,
14706,
67,
723,
273,
365,
18,
23766,
469,
30,
998,
1376,
273,
998,
1376,
67,
280,
67,
2
] |
self.error('Driver letter\n')
|
self.error('Driver letter required\n')
|
def do_run(self, options, args): windows = platform == "Windows" if options.unmount:
|
541006a76a12343a29852dec14beab20966e9909 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5578/541006a76a12343a29852dec14beab20966e9909/fsmount.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
2681,
12,
2890,
16,
702,
16,
833,
4672,
225,
9965,
273,
4072,
422,
315,
10399,
6,
225,
309,
702,
18,
318,
4778,
30,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
2681,
12,
2890,
16,
702,
16,
833,
4672,
225,
9965,
273,
4072,
422,
315,
10399,
6,
225,
309,
702,
18,
318,
4778,
30,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
extra_params = warning_level
|
extra_params = [warning_level, "-tt"]
|
def do_matrix_check() : python_versions=("2.3","2.4","2.5","2.6","2.7","3.1","3.2") berkeleydb_versions=("4.1","4.2","4.3","4.4","4.5","4.6","4.7","4.8","5.0") warning_level=(["-Wdefault"], ["-Werror"])[1] import subprocess for py in python_versions : for bdb in berkeleydb_versions : print print "*** Testing bindings for Python %s and Berkeley DB %s" %(py,bdb) extra_params = warning_level # Extra flags for 3.x extra_params += [] if float(py)<=2.999 else ["-bb -tt"] # Extra flags for >=2.6 extra_params += [] if ((float(py)<=2.599) or (float(py)>=2.999)) else ["-3 -tt"] params = extra_params + ["setup.py", "-q", \ "--berkeley-db=/usr/local/BerkeleyDB."+bdb,"build", "-f"] params = ["/usr/local/bin/python"+py] + params print "EXECUTING:", " ".join(params) ret=subprocess.call(params) if ret : print print ">>> Testsuite skipped" print else : params = ["/usr/local/bin/python"+py] + extra_params + ["test.py","-p"] print "EXECUTING:", " ".join(params) subprocess.call(params)
|
470ffe42527e6b62b77e9d3a4541c3702aa1a497 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1929/470ffe42527e6b62b77e9d3a4541c3702aa1a497/test-full_prerelease.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
5667,
67,
1893,
1435,
294,
5790,
67,
10169,
33,
2932,
22,
18,
23,
15937,
22,
18,
24,
15937,
22,
18,
25,
15937,
22,
18,
26,
15937,
22,
18,
27,
15937,
23,
18,
21,
15937,
23,
18,
22,
7923,
27965,
79,
292,
402,
1966,
67,
10169,
33,
2932,
24,
18,
21,
15937,
24,
18,
22,
15937,
24,
18,
23,
15937,
24,
18,
24,
15937,
24,
18,
25,
15937,
24,
18,
26,
15937,
24,
18,
27,
15937,
24,
18,
28,
15937,
25,
18,
20,
7923,
225,
3436,
67,
2815,
33,
3816,
6,
17,
59,
1886,
6,
6487,
8247,
17,
59,
1636,
6,
5717,
63,
21,
65,
1930,
6652,
225,
364,
2395,
316,
5790,
67,
10169,
294,
364,
324,
1966,
316,
27965,
79,
292,
402,
1966,
67,
10169,
294,
1172,
1172,
315,
14465,
7766,
310,
7394,
364,
6600,
738,
87,
471,
605,
264,
79,
292,
402,
2383,
738,
87,
6,
8975,
2074,
16,
70,
1966,
13,
2870,
67,
2010,
273,
306,
8551,
67,
2815,
16,
3701,
748,
11929,
468,
13592,
2943,
364,
890,
18,
92,
2870,
67,
2010,
1011,
5378,
309,
1431,
12,
2074,
13,
32,
33,
22,
18,
11984,
469,
8247,
17,
9897,
300,
748,
11929,
468,
13592,
2943,
364,
1545,
22,
18,
26,
2870,
67,
2010,
1011,
5378,
309,
14015,
5659,
12,
2074,
13,
32,
33,
22,
18,
25,
2733,
13,
578,
261,
5659,
12,
2074,
13,
34,
33,
22,
18,
11984,
3719,
469,
8247,
17,
23,
300,
748,
11929,
859,
273,
2870,
67,
2010,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
67,
5667,
67,
1893,
1435,
294,
5790,
67,
10169,
33,
2932,
22,
18,
23,
15937,
22,
18,
24,
15937,
22,
18,
25,
15937,
22,
18,
26,
15937,
22,
18,
27,
15937,
23,
18,
21,
15937,
23,
18,
22,
7923,
27965,
79,
292,
402,
1966,
67,
10169,
33,
2932,
24,
18,
21,
15937,
24,
18,
22,
15937,
24,
18,
23,
15937,
24,
18,
24,
15937,
24,
18,
25,
15937,
24,
18,
26,
15937,
24,
18,
27,
15937,
24,
18,
28,
15937,
25,
18,
20,
7923,
225,
3436,
67,
2815,
33,
3816,
6,
17,
59,
1886,
6,
6487,
8247,
17,
59,
1636,
6,
5717,
63,
21,
65,
1930,
6652,
225,
364,
2395,
316,
5790,
67,
10169,
294,
364,
324,
2
] |
move_ids.append(act[1])
|
if isinstance(act[1], (int, long)): move_ids.append(act[1]) else: move_ids.extend(act[1])
|
def set_inventory_moves(self, cursor, user, shipment_id, name, value, arg, context=None): move_obj = self.pool.get('stock.move')
|
67c254956f284f804a6e62bd66d638cb1b74207e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9298/67c254956f284f804a6e62bd66d638cb1b74207e/shipment.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
67,
26024,
67,
81,
10829,
12,
2890,
16,
3347,
16,
729,
16,
26990,
67,
350,
16,
508,
16,
460,
16,
1501,
16,
819,
33,
7036,
4672,
3635,
67,
2603,
273,
365,
18,
6011,
18,
588,
2668,
15381,
18,
8501,
6134,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
3347,
16,
729,
16,
26990,
67,
350,
16,
508,
16,
460,
16,
1501,
16,
819,
33,
7036,
4672,
3635,
67,
2603,
273,
365,
18,
6011,
18,
588,
2668,
15381,
18,
8501,
6134,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.assertRaises(POSException.VersionError, self._storage.load, oid, 'bogus')
|
data, revid = self._storage.load(oid, 'bogus') assert pickle.loads(data) == 11
|
def checkVersionedLoadErrors(self): oid = self._storage.new_oid() version = 'test-version' revid = self._dostore(oid, data=11) revid = self._dostore(oid, revid=revid, data=12, version=version) # Try to load a bogus oid self.assertRaises(KeyError, self._storage.load, self._storage.new_oid(), '') # Try to load a bogus version string self.assertRaises(POSException.VersionError, self._storage.load, oid, 'bogus')
|
f1ee732285102e57cecb53cb7466f9b967cd3af2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10048/f1ee732285102e57cecb53cb7466f9b967cd3af2/VersionStorage.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
23676,
2563,
4229,
12,
2890,
4672,
7764,
273,
365,
6315,
5697,
18,
2704,
67,
839,
1435,
1177,
273,
296,
3813,
17,
1589,
11,
283,
1246,
273,
365,
6315,
72,
669,
479,
12,
839,
16,
501,
33,
2499,
13,
283,
1246,
273,
365,
6315,
72,
669,
479,
12,
839,
16,
283,
1246,
33,
266,
1246,
16,
501,
33,
2138,
16,
1177,
33,
1589,
13,
468,
6161,
358,
1262,
279,
324,
28774,
7764,
365,
18,
11231,
12649,
6141,
12,
653,
668,
16,
365,
6315,
5697,
18,
945,
16,
365,
6315,
5697,
18,
2704,
67,
839,
9334,
28707,
468,
6161,
358,
1262,
279,
324,
28774,
1177,
533,
365,
18,
11231,
12649,
6141,
12,
7057,
503,
18,
1444,
668,
16,
365,
6315,
5697,
18,
945,
16,
7764,
16,
296,
70,
28774,
6134,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
866,
23676,
2563,
4229,
12,
2890,
4672,
7764,
273,
365,
6315,
5697,
18,
2704,
67,
839,
1435,
1177,
273,
296,
3813,
17,
1589,
11,
283,
1246,
273,
365,
6315,
72,
669,
479,
12,
839,
16,
501,
33,
2499,
13,
283,
1246,
273,
365,
6315,
72,
669,
479,
12,
839,
16,
283,
1246,
33,
266,
1246,
16,
501,
33,
2138,
16,
1177,
33,
1589,
13,
468,
6161,
358,
1262,
279,
324,
28774,
7764,
365,
18,
11231,
12649,
6141,
12,
653,
668,
16,
365,
6315,
5697,
18,
945,
16,
365,
6315,
5697,
18,
2704,
67,
839,
9334,
28707,
468,
6161,
358,
1262,
279,
324,
28774,
1177,
533,
365,
18,
11231,
12649,
6141,
12,
7057,
503,
18,
1444,
668,
16,
365,
2
] |
Writes a three dimensional array. The first axis is the step, i.e number of trace, the second is the pixel in that step and the third
|
Writes a three dimensional array. The first axis is the step, i.e number of trace, the second is the pixel in that step and the third
|
def __dayplotGetMinMaxValues(self, *args, **kwargs): """ Takes a Stream object and calculates the min and max values for each pixel in the dayplot.
|
ac0468b3b204e42963e836956a78c9c18fddeffc /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10470/ac0468b3b204e42963e836956a78c9c18fddeffc/waveform.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2881,
4032,
967,
17454,
1972,
12,
2890,
16,
380,
1968,
16,
2826,
4333,
4672,
3536,
23004,
279,
3961,
733,
471,
17264,
326,
1131,
471,
943,
924,
364,
1517,
4957,
316,
326,
2548,
4032,
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
] |
>>> check(y.diagonal(0, 1));
|
>>> check(y.diagonal(0, 0));
|
def _numarray_tests(): ''' >>> from numpy_ext import * >>> x = new_array() >>> y = x.copy() >>> p = _printer() >>> check = p.check >>> exercise_numarray(x, p) >>> check(y.astype()); >>> check(y.argmax()); >>> check(y.argmax(0)); >>> check(y.argmin()); >>> check(y.argmin(0)); >>> check(y.argsort()); >>> check(y.argsort(1)); >>> y.byteswap(); >>> check(y); >>> check(y.diagonal()); >>> check(y.diagonal(1)); >>> check(y.diagonal(0, 1)); >>> check(y.diagonal(0, 1, 0)); >>> check(y.is_c_array()); >>> check(y.isbyteswapped()); >>> check(y.trace()); >>> check(y.trace(1)); >>> check(y.trace(0, 1)); >>> check(y.trace(0, 1, 0)); >>> check(y.new('D')); >>> y.sort(); >>> check(y); >>> check(y.type()); >>> check(y.factory((1.2, 3.4))); >>> check(y.factory((1.2, 3.4), "Double")); >>> check(y.factory((1.2, 3.4), "Double", (1,2,1))); >>> check(y.factory((1.2, 3.4), "Double", (2,1,1), false)); >>> check(y.factory((1.2, 3.4), "Double", (2,), true, true)); >>> p.results [] >>> del p ''' pass
|
49d4aac8ec00a0eee4232402a97c1da5cf5560e8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9978/49d4aac8ec00a0eee4232402a97c1da5cf5560e8/numpy.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2107,
1126,
67,
16341,
13332,
9163,
4080,
628,
3972,
67,
408,
1930,
380,
4080,
619,
273,
394,
67,
1126,
1435,
4080,
677,
273,
619,
18,
3530,
1435,
4080,
293,
273,
389,
30439,
1435,
4080,
866,
273,
293,
18,
1893,
4080,
24165,
67,
2107,
1126,
12,
92,
16,
293,
13,
225,
4080,
866,
12,
93,
18,
689,
388,
10663,
225,
4080,
866,
12,
93,
18,
3175,
1896,
10663,
4080,
866,
12,
93,
18,
3175,
1896,
12,
20,
10019,
225,
4080,
866,
12,
93,
18,
3175,
1154,
10663,
4080,
866,
12,
93,
18,
3175,
1154,
12,
20,
10019,
225,
4080,
866,
12,
93,
18,
1968,
499,
10663,
4080,
866,
12,
93,
18,
1968,
499,
12,
21,
10019,
225,
4080,
677,
18,
3890,
91,
438,
5621,
4080,
866,
12,
93,
1769,
225,
4080,
866,
12,
93,
18,
30130,
10663,
4080,
866,
12,
93,
18,
30130,
12,
21,
10019,
4080,
866,
12,
93,
18,
30130,
12,
20,
16,
374,
10019,
4080,
866,
12,
93,
18,
30130,
12,
20,
16,
404,
16,
374,
10019,
225,
4080,
866,
12,
93,
18,
291,
67,
71,
67,
1126,
10663,
4080,
866,
12,
93,
18,
291,
3890,
91,
438,
1845,
10663,
225,
4080,
866,
12,
93,
18,
5129,
10663,
4080,
866,
12,
93,
18,
5129,
12,
21,
10019,
4080,
866,
12,
93,
18,
5129,
12,
20,
16,
404,
10019,
4080,
866,
12,
93,
18,
5129,
12,
20,
16,
404,
16,
374,
10019,
225,
4080,
866,
12,
93,
18,
2704,
2668,
40,
6134,
1769,
4080,
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,
2107,
1126,
67,
16341,
13332,
9163,
4080,
628,
3972,
67,
408,
1930,
380,
4080,
619,
273,
394,
67,
1126,
1435,
4080,
677,
273,
619,
18,
3530,
1435,
4080,
293,
273,
389,
30439,
1435,
4080,
866,
273,
293,
18,
1893,
4080,
24165,
67,
2107,
1126,
12,
92,
16,
293,
13,
225,
4080,
866,
12,
93,
18,
689,
388,
10663,
225,
4080,
866,
12,
93,
18,
3175,
1896,
10663,
4080,
866,
12,
93,
18,
3175,
1896,
12,
20,
10019,
225,
4080,
866,
12,
93,
18,
3175,
1154,
10663,
4080,
866,
12,
93,
18,
3175,
1154,
12,
20,
10019,
225,
4080,
866,
12,
93,
18,
1968,
499,
10663,
4080,
866,
12,
93,
18,
1968,
499,
12,
21,
10019,
225,
4080,
2
] |
method='{http://www.opengis.net/wfs}Get'):
|
srsname=None, method='{http://www.opengis.net/wfs}Get'):
|
def getfeature(self, typename=None, filter=None, bbox=None, featureid=None, featureversion=None, propertyname=['*'], maxfeatures=None, method='{http://www.opengis.net/wfs}Get'): """Request and return feature data as a file-like object. Parameters ---------- typename : list List of typenames (string) filter : string XML-encoded OGC filter expression. bbox : tuple (left, bottom, right, top) in the feature type's coordinates. featureid : list List of unique feature ids (string) featureversion : string Default is most recent feature version. propertyname : list List of feature property names. '*' matches all. maxfeatures : int Maximum number of features to be returned. method : string Qualified name of the HTTP DCP method to use.
|
7620dbe8432ef7a70f2e34d4c8f3d2868486374a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11708/7620dbe8432ef7a70f2e34d4c8f3d2868486374a/wfs.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
7238,
12,
2890,
16,
26735,
33,
7036,
16,
1034,
33,
7036,
16,
8472,
33,
7036,
16,
2572,
350,
33,
7036,
16,
2572,
1589,
33,
7036,
16,
1272,
529,
33,
3292,
14,
17337,
943,
7139,
33,
7036,
16,
26200,
529,
33,
7036,
16,
707,
2218,
95,
2505,
2207,
5591,
18,
20580,
18,
2758,
19,
91,
2556,
97,
967,
11,
4672,
3536,
691,
471,
327,
2572,
501,
487,
279,
585,
17,
5625,
733,
18,
225,
7012,
12181,
26735,
294,
666,
987,
434,
3815,
6809,
261,
1080,
13,
1034,
294,
533,
3167,
17,
10787,
531,
15396,
1034,
2652,
18,
8472,
294,
3193,
261,
4482,
16,
5469,
16,
2145,
16,
1760,
13,
316,
326,
2572,
618,
1807,
5513,
18,
2572,
350,
294,
666,
987,
434,
3089,
2572,
3258,
261,
1080,
13,
2572,
1589,
294,
533,
2989,
353,
4486,
8399,
2572,
1177,
18,
1272,
529,
294,
666,
987,
434,
2572,
1272,
1257,
18,
5306,
1885,
777,
18,
943,
7139,
294,
509,
18848,
1300,
434,
4467,
358,
506,
2106,
18,
707,
294,
533,
24180,
508,
434,
326,
2239,
463,
4258,
707,
358,
999,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
7238,
12,
2890,
16,
26735,
33,
7036,
16,
1034,
33,
7036,
16,
8472,
33,
7036,
16,
2572,
350,
33,
7036,
16,
2572,
1589,
33,
7036,
16,
1272,
529,
33,
3292,
14,
17337,
943,
7139,
33,
7036,
16,
26200,
529,
33,
7036,
16,
707,
2218,
95,
2505,
2207,
5591,
18,
20580,
18,
2758,
19,
91,
2556,
97,
967,
11,
4672,
3536,
691,
471,
327,
2572,
501,
487,
279,
585,
17,
5625,
733,
18,
225,
7012,
12181,
26735,
294,
666,
987,
434,
3815,
6809,
261,
1080,
13,
1034,
294,
533,
3167,
17,
10787,
531,
15396,
1034,
2652,
18,
8472,
294,
3193,
261,
4482,
16,
5469,
16,
2145,
16,
1760,
13,
316,
326,
2572,
618,
1807,
5513,
18,
2572,
350,
2
] |
if self.debug: print >>sys.stderr, "
|
self.debug(1, "
|
def run(self): self.state=self.initial[0] self.send_sock = l = conf.L3socket() while 1: try: if self.debug: print >>sys.stderr, "## state=[%s]" % self.state
|
e317d2d22c1e4dfdb0e7e1931d53d122598d79fb /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7311/e317d2d22c1e4dfdb0e7e1931d53d122598d79fb/scapy.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
12,
2890,
4672,
365,
18,
2019,
33,
2890,
18,
6769,
63,
20,
65,
365,
18,
4661,
67,
15031,
273,
328,
273,
2195,
18,
48,
23,
7814,
1435,
1323,
404,
30,
775,
30,
309,
365,
18,
4148,
30,
1172,
1671,
9499,
18,
11241,
16,
315,
1189,
919,
33,
14451,
87,
4279,
738,
365,
18,
2019,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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,
315,
1189,
919,
33,
14451,
87,
4279,
738,
365,
18,
2019,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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(os.path.join(directory, name), 'w')
|
f = open(os.path.join(directory, name), 'wb')
|
def write_images(self, directory): for (name, data) in self.IMAGES.items(): f = open(os.path.join(directory, name), 'w') f.write(base64.decodestring(data)) f.close()
|
2b69e7ac45461732b1622381597218b0dd3a8d58 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3512/2b69e7ac45461732b1622381597218b0dd3a8d58/html.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1045,
67,
7369,
12,
2890,
16,
1867,
4672,
364,
261,
529,
16,
501,
13,
316,
365,
18,
13603,
55,
18,
3319,
13332,
284,
273,
1696,
12,
538,
18,
803,
18,
5701,
12,
5149,
16,
508,
3631,
296,
9464,
6134,
284,
18,
2626,
12,
1969,
1105,
18,
4924,
1145,
371,
12,
892,
3719,
284,
18,
4412,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1045,
67,
7369,
12,
2890,
16,
1867,
4672,
364,
261,
529,
16,
501,
13,
316,
365,
18,
13603,
55,
18,
3319,
13332,
284,
273,
1696,
12,
538,
18,
803,
18,
5701,
12,
5149,
16,
508,
3631,
296,
9464,
6134,
284,
18,
2626,
12,
1969,
1105,
18,
4924,
1145,
371,
12,
892,
3719,
284,
18,
4412,
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
] |
push(name) need_blank_after_doc = 0
|
push(self.bold(name)) push('\n')
|
def _docproperty(self, name, value, mod): results = [] push = results.append
|
41b8b8a0df4f3e404b0e2be71e8c5ba7ae6ac80c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/41b8b8a0df4f3e404b0e2be71e8c5ba7ae6ac80c/pydoc.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2434,
4468,
12,
2890,
16,
508,
16,
460,
16,
681,
4672,
1686,
273,
5378,
1817,
273,
1686,
18,
6923,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2434,
4468,
12,
2890,
16,
508,
16,
460,
16,
681,
4672,
1686,
273,
5378,
1817,
273,
1686,
18,
6923,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 rox.app_dir.find(d)==0:
|
if app_dir.find(d)==0:
|
def _run_by_injector(): """Internal function.""" try: from zeroinstall.injector import basedir for d in basedir.xdg_cache_dirs: if rox.app_dir.find(d)==0: # Applicaion is in a cache dir return True elif rox._roxlib_dir.find(d)==0: # ROX-Lib is in a cache dir, we are probably being run by the # injector return True except: pass return False
|
b933633bc6f75861fd45b41140b0d6ccd143145c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4591/b933633bc6f75861fd45b41140b0d6ccd143145c/mime_handler.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2681,
67,
1637,
67,
28660,
13332,
3536,
3061,
445,
12123,
775,
30,
628,
24910,
885,
3429,
18,
28660,
1930,
15573,
364,
302,
316,
15573,
18,
7669,
75,
67,
2493,
67,
8291,
30,
309,
721,
92,
18,
2910,
67,
1214,
18,
4720,
12,
72,
13,
631,
20,
30,
468,
1716,
6996,
285,
353,
316,
279,
1247,
1577,
327,
1053,
1327,
721,
92,
6315,
303,
92,
2941,
67,
1214,
18,
4720,
12,
72,
13,
631,
20,
30,
468,
6525,
60,
17,
5664,
353,
316,
279,
1247,
1577,
16,
732,
854,
8656,
3832,
1086,
635,
326,
468,
15958,
327,
1053,
225,
1335,
30,
1342,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2681,
67,
1637,
67,
28660,
13332,
3536,
3061,
445,
12123,
775,
30,
628,
24910,
885,
3429,
18,
28660,
1930,
15573,
364,
302,
316,
15573,
18,
7669,
75,
67,
2493,
67,
8291,
30,
309,
721,
92,
18,
2910,
67,
1214,
18,
4720,
12,
72,
13,
631,
20,
30,
468,
1716,
6996,
285,
353,
316,
279,
1247,
1577,
327,
1053,
1327,
721,
92,
6315,
303,
92,
2941,
67,
1214,
18,
4720,
12,
72,
13,
631,
20,
30,
468,
6525,
60,
17,
5664,
353,
316,
279,
1247,
1577,
16,
732,
854,
8656,
3832,
1086,
635,
326,
468,
15958,
327,
1053,
225,
1335,
30,
1342,
327,
1083,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
pass
|
if not (refID in self.pendingSockets): return canceltimer(self.pendingSockets[refID][2]) self.pendingSockets[refID][2] = None if frame.content == STATUS_CONFIRMED: self.pendingSockets[refID][0] = True try: self.pendingSockets[refID][1].release() except: pass
|
def _pending_client(self, frame, refID): pass
|
aa293112179760621e4e879489565b9632bd205e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7995/aa293112179760621e4e879489565b9632bd205e/Multiplexer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
9561,
67,
2625,
12,
2890,
16,
2623,
16,
1278,
734,
4672,
225,
309,
486,
261,
1734,
734,
316,
365,
18,
9561,
4534,
87,
4672,
327,
282,
3755,
12542,
12,
2890,
18,
9561,
4534,
87,
63,
1734,
734,
6362,
22,
5717,
282,
365,
18,
9561,
4534,
87,
63,
1734,
734,
6362,
22,
65,
273,
599,
282,
309,
2623,
18,
1745,
422,
7136,
67,
2248,
1653,
54,
25773,
30,
365,
18,
9561,
4534,
87,
63,
1734,
734,
6362,
20,
65,
273,
1053,
282,
775,
30,
365,
18,
9561,
4534,
87,
63,
1734,
734,
6362,
21,
8009,
9340,
1435,
1335,
30,
1342,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
9561,
67,
2625,
12,
2890,
16,
2623,
16,
1278,
734,
4672,
225,
309,
486,
261,
1734,
734,
316,
365,
18,
9561,
4534,
87,
4672,
327,
282,
3755,
12542,
12,
2890,
18,
9561,
4534,
87,
63,
1734,
734,
6362,
22,
5717,
282,
365,
18,
9561,
4534,
87,
63,
1734,
734,
6362,
22,
65,
273,
599,
282,
309,
2623,
18,
1745,
422,
7136,
67,
2248,
1653,
54,
25773,
30,
365,
18,
9561,
4534,
87,
63,
1734,
734,
6362,
20,
65,
273,
1053,
282,
775,
30,
365,
18,
9561,
4534,
87,
63,
1734,
734,
6362,
21,
8009,
9340,
1435,
1335,
30,
1342,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return re.sub(r'((\\[\\abfnrtv\'"]|\\x..|\\u....)+)',
|
return re.sub(r'((\\[\\abfnrtv\'"]|\\[0-9]..|\\x..|\\u....)+)',
|
def repr_string(self, x, level): test = cram(x, self.maxstring) testrepr = repr(test) if '\\' in test and '\\' not in replace(testrepr, (r'\\', '')): # Backslashes are only literal in the string and are never # needed to make any special characters, so show a raw string. return 'r' + testrepr[0] + self.escape(test) + testrepr[0] return re.sub(r'((\\[\\abfnrtv\'"]|\\x..|\\u....)+)', r'<font color="#c040c0">\1</font>', self.escape(testrepr))
|
a2ebd065552d2e5c9c6624a04e40faa9148962e9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/a2ebd065552d2e5c9c6624a04e40faa9148962e9/pydoc.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8480,
67,
1080,
12,
2890,
16,
619,
16,
1801,
4672,
1842,
273,
276,
1940,
12,
92,
16,
365,
18,
1896,
1080,
13,
1842,
12715,
273,
8480,
12,
3813,
13,
309,
5282,
316,
1842,
471,
5282,
486,
316,
1453,
12,
3813,
12715,
16,
261,
86,
11,
1695,
2187,
875,
3719,
30,
468,
4297,
13675,
854,
1338,
7158,
316,
326,
533,
471,
854,
5903,
468,
3577,
358,
1221,
1281,
4582,
3949,
16,
1427,
2405,
279,
1831,
533,
18,
327,
296,
86,
11,
397,
1842,
12715,
63,
20,
65,
397,
365,
18,
6939,
12,
3813,
13,
397,
1842,
12715,
63,
20,
65,
327,
283,
18,
1717,
12,
86,
11,
12443,
1695,
63,
1695,
378,
4293,
3797,
90,
3730,
11929,
26984,
63,
20,
17,
29,
65,
838,
26984,
92,
838,
26984,
89,
6265,
13,
6975,
2187,
436,
11,
32,
5776,
2036,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8480,
67,
1080,
12,
2890,
16,
619,
16,
1801,
4672,
1842,
273,
276,
1940,
12,
92,
16,
365,
18,
1896,
1080,
13,
1842,
12715,
273,
8480,
12,
3813,
13,
309,
5282,
316,
1842,
471,
5282,
486,
316,
1453,
12,
3813,
12715,
16,
261,
86,
11,
1695,
2187,
875,
3719,
30,
468,
4297,
13675,
854,
1338,
7158,
316,
326,
533,
471,
854,
5903,
468,
3577,
358,
1221,
1281,
4582,
3949,
16,
1427,
2405,
279,
1831,
533,
18,
327,
296,
86,
11,
397,
1842,
12715,
63,
20,
65,
397,
365,
18,
6939,
12,
3813,
13,
397,
1842,
12715,
63,
20,
65,
327,
283,
18,
1717,
12,
86,
11,
12443,
1695,
63,
1695,
378,
4293,
3797,
90,
3730,
11929,
26984,
63,
2
] |
print("\nWarning: %s already exists. Will not be " "overwritten...\n" % confpath) else: try: open(confpath, "w").write(confdata) os.chmod(confpath, 0600) except Exception, e: print("Error %s occured while trying to write configuration " "file to '%s'\n" % (e, confpath)) raise SystemExit(1)
|
result = raw_input("\nWarning: %s already exists. " "Overwrite? [y/N]: " % confpath) if result not in ['Y', 'y']: print("Leaving %s unchanged" % confpath) return try: open(confpath, "w").write(confdata) os.chmod(confpath, 0600) except Exception, e: print("Error %s occured while trying to write configuration " "file to '%s'\n" % (e, confpath)) raise SystemExit(1)
|
def create_conf(confpath, confdata): # don't overwrite existing bcfg2.conf file if os.path.exists(confpath): print("\nWarning: %s already exists. Will not be " "overwritten...\n" % confpath) else: try: open(confpath, "w").write(confdata) os.chmod(confpath, 0600) except Exception, e: print("Error %s occured while trying to write configuration " "file to '%s'\n" % (e, confpath)) raise SystemExit(1)
|
4b866e4d510f83404425a5ffad3b6149627b273a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11867/4b866e4d510f83404425a5ffad3b6149627b273a/Init.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
67,
3923,
12,
3923,
803,
16,
2195,
892,
4672,
468,
2727,
1404,
6156,
2062,
6533,
2137,
22,
18,
3923,
585,
309,
1140,
18,
803,
18,
1808,
12,
3923,
803,
4672,
563,
273,
1831,
67,
2630,
31458,
82,
6210,
30,
738,
87,
1818,
1704,
18,
315,
315,
20832,
35,
306,
93,
19,
50,
14542,
315,
738,
2195,
803,
13,
309,
563,
486,
316,
10228,
61,
2187,
296,
93,
3546,
30,
1172,
2932,
1682,
5339,
738,
87,
14827,
6,
738,
2195,
803,
13,
327,
775,
30,
1696,
12,
3923,
803,
16,
315,
91,
20387,
2626,
12,
3923,
892,
13,
1140,
18,
343,
1711,
12,
3923,
803,
16,
13026,
713,
13,
1335,
1185,
16,
425,
30,
1172,
2932,
668,
738,
87,
16206,
1323,
8374,
358,
1045,
1664,
315,
315,
768,
358,
1995,
87,
8314,
82,
6,
738,
261,
73,
16,
2195,
803,
3719,
1002,
25454,
12,
21,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
67,
3923,
12,
3923,
803,
16,
2195,
892,
4672,
468,
2727,
1404,
6156,
2062,
6533,
2137,
22,
18,
3923,
585,
309,
1140,
18,
803,
18,
1808,
12,
3923,
803,
4672,
563,
273,
1831,
67,
2630,
31458,
82,
6210,
30,
738,
87,
1818,
1704,
18,
315,
315,
20832,
35,
306,
93,
19,
50,
14542,
315,
738,
2195,
803,
13,
309,
563,
486,
316,
10228,
61,
2187,
296,
93,
3546,
30,
1172,
2932,
1682,
5339,
738,
87,
14827,
6,
738,
2195,
803,
13,
327,
775,
30,
1696,
12,
3923,
803,
16,
315,
91,
20387,
2626,
12,
3923,
892,
13,
1140,
18,
343,
1711,
12,
3923,
803,
16,
13026,
713,
13,
1335,
1185,
16,
425,
30,
1172,
2932,
668,
738,
2
] |
res = self._findFiles([lfn],['FileID'],connection=connection) if not res['Value']['Successful'].has_key(lfn):
|
res = self._findFiles( [lfn], ['FileID'], connection = connection ) if not res['Value']['Successful'].has_key( lfn ):
|
def setReplicaHost(self,lfns,connection=False): connection = self._getConnection(connection) """ Set replica host in the catalog """ successful = {} failed = {} for lfn,info in lfns.items(): res = self._checkInfo(info,['SE','NewSE']) if not res['OK']: failed[lfn] = res['Message'] continue newSE = info['NewSE'] se = info['SE'] res = self._findFiles([lfn],['FileID'],connection=connection) if not res['Value']['Successful'].has_key(lfn): failed[lfn] = res['Value']['Failed'][lfn] continue fileID = res['Value']['Successful'][lfn]['FileID'] res = self._setReplicaHost(fileID,se,newSE,connection=connection) if res['OK']: successful[lfn] = res['Value'] else: failed[lfn] = res['Message'] return S_OK({'Successful':successful,'Failed':failed})
|
26c5008a7adbc1c761e2409bed59b7710e5f2c74 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/26c5008a7adbc1c761e2409bed59b7710e5f2c74/FileManagerBase.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
14222,
2594,
12,
2890,
16,
20850,
2387,
16,
4071,
33,
8381,
4672,
1459,
273,
365,
6315,
588,
1952,
12,
4071,
13,
3536,
1000,
12335,
1479,
316,
326,
6222,
3536,
6873,
273,
2618,
2535,
273,
2618,
364,
328,
4293,
16,
1376,
316,
18594,
2387,
18,
3319,
13332,
400,
273,
365,
6315,
1893,
966,
12,
1376,
16,
3292,
1090,
17023,
1908,
1090,
19486,
309,
486,
400,
3292,
3141,
3546,
30,
2535,
63,
80,
4293,
65,
273,
400,
3292,
1079,
3546,
1324,
394,
1090,
273,
1123,
3292,
1908,
1090,
3546,
695,
273,
1123,
3292,
1090,
3546,
400,
273,
365,
6315,
4720,
2697,
12,
306,
80,
4293,
6487,
10228,
812,
734,
17337,
1459,
273,
1459,
262,
309,
486,
400,
3292,
620,
21712,
14277,
29489,
5332,
67,
856,
12,
328,
4293,
262,
30,
2535,
63,
80,
4293,
65,
273,
400,
3292,
620,
21712,
2925,
3546,
63,
80,
4293,
65,
1324,
585,
734,
273,
400,
3292,
620,
21712,
14277,
3546,
63,
80,
4293,
23962,
812,
734,
3546,
400,
273,
365,
6315,
542,
14222,
2594,
12,
768,
734,
16,
307,
16,
2704,
1090,
16,
4071,
33,
4071,
13,
309,
400,
3292,
3141,
3546,
30,
6873,
63,
80,
4293,
65,
273,
400,
3292,
620,
3546,
469,
30,
2535,
63,
80,
4293,
65,
273,
400,
3292,
1079,
3546,
327,
348,
67,
3141,
12590,
11,
14277,
4278,
18418,
11189,
2925,
4278,
7307,
6792,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
14222,
2594,
12,
2890,
16,
20850,
2387,
16,
4071,
33,
8381,
4672,
1459,
273,
365,
6315,
588,
1952,
12,
4071,
13,
3536,
1000,
12335,
1479,
316,
326,
6222,
3536,
6873,
273,
2618,
2535,
273,
2618,
364,
328,
4293,
16,
1376,
316,
18594,
2387,
18,
3319,
13332,
400,
273,
365,
6315,
1893,
966,
12,
1376,
16,
3292,
1090,
17023,
1908,
1090,
19486,
309,
486,
400,
3292,
3141,
3546,
30,
2535,
63,
80,
4293,
65,
273,
400,
3292,
1079,
3546,
1324,
394,
1090,
273,
1123,
3292,
1908,
1090,
3546,
695,
273,
1123,
3292,
1090,
3546,
400,
273,
365,
6315,
4720,
2697,
12,
306,
80,
4293,
6487,
10228,
812,
734,
17337,
1459,
273,
1459,
262,
309,
486,
400,
3292,
620,
2
] |
first_index = middle + 1
|
first_index = middle
|
def _search_ts (self, target_ts, first_index, last_index):
|
4ecbff9abd7e2f864d67e0b05021f56f111de597 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12310/4ecbff9abd7e2f864d67e0b05021f56f111de597/Timeline.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
3072,
67,
3428,
261,
2890,
16,
1018,
67,
3428,
16,
1122,
67,
1615,
16,
1142,
67,
1615,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
3072,
67,
3428,
261,
2890,
16,
1018,
67,
3428,
16,
1122,
67,
1615,
16,
1142,
67,
1615,
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
] |
FoundationPlist.writePlist(installinfo,
|
FoundationPlist.writePlist(installinfo,
|
def check(id=''): '''Checks for available new or updated managed software, downloading installer items if needed. Returns 1 if there are available updates, 0 if there are no available updates, and -1 if there were errors.''' getMachineFacts() munkicommon.report['MachineInfo'] = machine ManagedInstallDir = munkicommon.pref('ManagedInstallDir') if munkicommon.munkistatusoutput: munkistatus.activate() munkistatus.message("Checking for available updates...") munkistatus.detail("") munkistatus.percent("-1") munkicommon.log("### Beginning managed software check ###") mainmanifestpath = getPrimaryManifest(id) if munkicommon.stopRequested(): return 0 installinfo = {} if mainmanifestpath: # initialize our installinfo record installinfo['managed_installs'] = [] installinfo['removals'] = [] munkicommon.display_detail("**Checking for installs**") installinfo = processManifestForInstalls(mainmanifestpath, installinfo) if munkicommon.stopRequested(): return 0 if munkicommon.munkistatusoutput: # reset progress indicator and detail field munkistatus.message("Checking for additional changes...") munkistatus.percent("-1") munkistatus.detail('') # now generate a list of items to be uninstalled munkicommon.display_detail("**Checking for removals**") if munkicommon.stopRequested(): return 0 installinfo = processManifestForRemovals(mainmanifestpath, installinfo) # filter managed_installs to get items already installed installed_items = [item for item in installinfo.get('managed_installs',[]) if item.get('installed')] # filter managed_installs to get problem items: # not installed, but no installer item problem_items = [item for item in installinfo.get('managed_installs',[]) if item.get('installed') == False and not item.get('installer_item')] # filter removals to get items already removed (or never installed) removed_items = [item for item in installinfo.get('removals',[]) if item.get('installed') == False] # filter managed_installs and removals lists # so they have only items that need action installinfo['managed_installs'] = \ [item for item in installinfo.get('managed_installs',[]) if item.get('installer_item')] installinfo['removals'] = \ [item for item in installinfo.get('removals',[]) if item.get('installed')] munkicommon.report['ManagedInstalls'] = installed_items munkicommon.report['ProblemInstalls'] = problem_items munkicommon.report['RemovedItems'] = removed_items munkicommon.report['ItemsToInstall'] = installinfo['managed_installs'] munkicommon.report['ItemsToRemove'] = installinfo['removals'] # clean up cache dir # remove any item in the cache that isn't scheduled # to be used for an install or removal # this could happen if an item is downloaded on one # updatecheck run, but later removed from the manifest # before it is installed or removed - so the cached item # is no longer needed. cache_list = [item["installer_item"] for item in installinfo.get('managed_installs',[])] cache_list.extend([item["uninstaller_item"] for item in installinfo.get('removals',[]) if item.get('uninstaller_item')]) cachedir = os.path.join(ManagedInstallDir, "Cache") for item in os.listdir(cachedir): if item.endswith(".download"): # we have a partial download here # remove the ".download" from the end of the filename fullitem = os.path.splitext(item)[0] if os.path.exists(os.path.join(cachedir, fullitem)): # we have a partial and a full download # for the same item. (This shouldn't happen.) # remove the partial download. os.unlink(os.path.join(cachedir, item)) elif problem_items == []: # problem items is our list of items # that need to be installed but are missing # the installer_item; these might be partial # downloads. So if we have no problem items, it's # OK to get rid of any partial downloads hanging around. os.unlink(os.path.join(cachedir, item)) elif item not in cache_list: munkicommon.display_detail("Removing %s from cache" % item) os.unlink(os.path.join(cachedir, item)) # write out install list so our installer # can use it to install things in the right order installinfochanged = True installinfopath = os.path.join(ManagedInstallDir, "InstallInfo.plist") if os.path.exists(installinfopath): oldinstallinfo = FoundationPlist.readPlist(installinfopath) if oldinstallinfo == installinfo: installinfochanged = False munkicommon.display_detail("No change in InstallInfo.") if installinfochanged: FoundationPlist.writePlist(installinfo, os.path.join(ManagedInstallDir, "InstallInfo.plist")) else: # couldn't get a primary manifest. Check to see if we have a valid # install/remove list from an earlier run. munkicommon.display_error( "Could not retrieve managed install primary manifest.") installinfopath = os.path.join(ManagedInstallDir, "InstallInfo.plist") if os.path.exists(installinfopath): try: installinfo = FoundationPlist.readPlist(installinfopath) except FoundationPlist.NSPropertyListSerializationException: installinfo = {} else: munkicommon.report['ItemsToInstall'] = \ installinfo.get('managed_installs',[]) munkicommon.report['ItemsToRemove'] = \ installinfo.get('removals',[]) installcount = len(installinfo.get("managed_installs",[])) removalcount = len(installinfo.get("removals",[])) munkicommon.log("") if installcount: munkicommon.display_info( "The following items will be installed or upgraded:") for item in installinfo.get('managed_installs',[]): if item.get('installer_item'): munkicommon.display_info(" + %s-%s" % (item.get('name',''), item.get('version_to_install',''))) if item.get('description'): munkicommon.display_info(" %s" % item['description']) if item.get('RestartAction') == 'RequireRestart' or \ item.get('RestartAction') == 'RecommendRestart': munkicommon.display_info(" *Restart required") munkicommon.report['RestartRequired'] = True if item.get('RestartAction') == 'RequireLogout': munkicommon.display_info(" *Logout required") munkicommon.report['LogoutRequired'] = True if removalcount: munkicommon.display_info("The following items will be removed:") for item in installinfo.get('removals',[]): if item.get('installed'): munkicommon.display_info(" - %s" % item.get('name')) if item.get('RestartAction') == 'RequireRestart' or \ item.get('RestartAction') == 'RecommendRestart': munkicommon.display_info(" *Restart required") munkicommon.report['RestartRequired'] = True if item.get('RestartAction') == 'RequireLogout': munkicommon.display_info(" *Logout required") munkicommon.report['LogoutRequired'] = True if installcount == 0 and removalcount == 0: munkicommon.display_info( "No changes to managed software are available.") munkicommon.savereport() munkicommon.log("### End managed software check ###") if installcount or removalcount: return 1 else: return 0
|
5350042f4ddfb098468c8d75b15dfa28757b9321 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6241/5350042f4ddfb098468c8d75b15dfa28757b9321/updatecheck.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
866,
12,
350,
2218,
11,
4672,
9163,
4081,
364,
2319,
394,
578,
3526,
7016,
17888,
16,
23742,
16050,
1516,
309,
3577,
18,
2860,
404,
309,
1915,
854,
2319,
4533,
16,
374,
309,
1915,
854,
1158,
2319,
4533,
16,
471,
300,
21,
309,
1915,
4591,
1334,
1093,
6309,
2108,
3093,
9766,
87,
1435,
312,
1683,
335,
362,
2586,
18,
6006,
3292,
6981,
966,
3546,
273,
5228,
225,
10024,
6410,
1621,
273,
312,
1683,
335,
362,
2586,
18,
25724,
2668,
10055,
6410,
1621,
6134,
225,
309,
312,
1683,
335,
362,
2586,
18,
81,
1683,
376,
996,
2844,
30,
312,
1683,
376,
996,
18,
10014,
1435,
312,
1683,
376,
996,
18,
2150,
2932,
14294,
364,
2319,
4533,
7070,
13,
312,
1683,
376,
996,
18,
8992,
2932,
7923,
312,
1683,
376,
996,
18,
8849,
2932,
17,
21,
7923,
225,
312,
1683,
335,
362,
2586,
18,
1330,
2932,
13151,
14323,
2093,
7016,
17888,
866,
11849,
7923,
225,
2774,
14357,
803,
273,
11398,
9121,
12,
350,
13,
309,
312,
1683,
335,
362,
2586,
18,
5681,
11244,
13332,
327,
374,
225,
3799,
1376,
273,
2618,
225,
309,
2774,
14357,
803,
30,
468,
4046,
3134,
3799,
1376,
1409,
3799,
1376,
3292,
19360,
67,
5425,
87,
3546,
273,
5378,
3799,
1376,
3292,
2764,
1527,
1031,
3546,
273,
5378,
312,
1683,
335,
362,
2586,
18,
5417,
67,
8992,
2932,
636,
14294,
364,
31011,
636,
7923,
3799,
1376,
273,
1207,
9121,
1290,
6410,
87,
12,
5254,
14357,
803,
16,
3799,
1376,
13,
309,
312,
1683,
335,
362,
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,
12,
350,
2218,
11,
4672,
9163,
4081,
364,
2319,
394,
578,
3526,
7016,
17888,
16,
23742,
16050,
1516,
309,
3577,
18,
2860,
404,
309,
1915,
854,
2319,
4533,
16,
374,
309,
1915,
854,
1158,
2319,
4533,
16,
471,
300,
21,
309,
1915,
4591,
1334,
1093,
6309,
2108,
3093,
9766,
87,
1435,
312,
1683,
335,
362,
2586,
18,
6006,
3292,
6981,
966,
3546,
273,
5228,
225,
10024,
6410,
1621,
273,
312,
1683,
335,
362,
2586,
18,
25724,
2668,
10055,
6410,
1621,
6134,
225,
309,
312,
1683,
335,
362,
2586,
18,
81,
1683,
376,
996,
2844,
30,
312,
1683,
376,
996,
18,
10014,
1435,
312,
1683,
376,
996,
18,
2150,
2932,
14294,
364,
2319,
4533,
7070,
13,
312,
1683,
2
] |
speedrace(hdlr, pct, pct+pct_step, circs_per_node, save_every, out_dir)
|
speedrace(hdlr, pct, pct+pct_step, circs_per_node, save_every, out_dir, max_fetch_time)
|
def main(argv): TorUtil.read_config(argv[1]) (start_pct,stop_pct,nodes_per_slice,save_every, circs_per_node,out_dir) = read_config(argv[1]) try: (c,hdlr) = setup_handler() except Exception, e: plog("WARN", "Can't connect to Tor: "+str(e)) sql_file = os.getcwd()+'/'+out_dir+'/bwauthority.sqlite' hdlr.attach_sql_listener('sqlite:///'+sql_file) # set SOCKS proxy socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS5, tor_host, tor_port) socket.socket = socks.socksocket while True: pct = start_pct plog('INFO', 'Beginning time loop') while pct < stop_pct: pct_step = hdlr.rank_to_percent(nodes_per_slice) hdlr.reset_stats() hdlr.commit() plog('DEBUG', 'Reset stats') speedrace(hdlr, pct, pct+pct_step, circs_per_node, save_every, out_dir) plog('DEBUG', 'speedroced') hdlr.commit() hdlr.close_circuits() lo = str(round(pct,1)) hi = str(round(pct+pct_step,1)) hdlr.write_sql_stats(pct, pct+pct_step, os.getcwd()+'/'+out_dir+'/sql-'+lo+':'+hi+"-done-"+strftime("20%y-%m-%d-%H:%M:%S")) hdlr.write_strm_bws(pct, pct+pct_step, os.getcwd()+'/'+out_dir+'/bws-'+lo+':'+hi+"-done-"+strftime("20%y-%m-%d-%H:%M:%S")) plog('DEBUG', 'Wrote stats') pct += pct_step hdlr.save_sql_file(sql_file, "db-"+str(lo)+":"+str(hi)+"-"+strftime("20%y-%m-%d-%H:%M:%S")+".sqlite")
|
e8450ad1cd3c23315f682731ad3047861f509350 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3762/e8450ad1cd3c23315f682731ad3047861f509350/bwauthority.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
12,
19485,
4672,
23763,
1304,
18,
896,
67,
1425,
12,
19485,
63,
21,
5717,
261,
1937,
67,
23989,
16,
5681,
67,
23989,
16,
4690,
67,
457,
67,
6665,
16,
5688,
67,
20434,
16,
5886,
2143,
67,
457,
67,
2159,
16,
659,
67,
1214,
13,
273,
855,
67,
1425,
12,
19485,
63,
21,
5717,
225,
775,
30,
261,
71,
16,
76,
5761,
86,
13,
273,
3875,
67,
4176,
1435,
1335,
1185,
16,
425,
30,
293,
1330,
2932,
27999,
3113,
315,
2568,
1404,
3077,
358,
23763,
30,
13773,
701,
12,
73,
3719,
225,
1847,
67,
768,
273,
1140,
18,
588,
11089,
1435,
6797,
2473,
15,
659,
67,
1214,
6797,
19,
70,
91,
24763,
18,
19460,
11,
366,
5761,
86,
18,
7331,
67,
4669,
67,
12757,
2668,
19460,
2207,
2473,
15,
4669,
67,
768,
13,
225,
468,
444,
20834,
55,
2889,
7313,
87,
18,
542,
1886,
5656,
12,
15031,
87,
18,
16085,
67,
2399,
67,
3584,
3507,
55,
25,
16,
8934,
67,
2564,
16,
8934,
67,
655,
13,
2987,
18,
7814,
273,
7313,
87,
18,
15031,
7814,
225,
1323,
1053,
30,
19857,
273,
787,
67,
23989,
293,
1330,
2668,
5923,
2187,
296,
8149,
2093,
813,
2798,
6134,
225,
1323,
19857,
411,
2132,
67,
23989,
30,
19857,
67,
4119,
273,
366,
5761,
86,
18,
11500,
67,
869,
67,
8849,
12,
4690,
67,
457,
67,
6665,
13,
366,
5761,
86,
18,
6208,
67,
5296,
1435,
366,
5761,
86,
18,
7371,
1435,
293,
1330,
2668,
9394,
2187,
296,
7013,
3177,
6134,
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,
12,
19485,
4672,
23763,
1304,
18,
896,
67,
1425,
12,
19485,
63,
21,
5717,
261,
1937,
67,
23989,
16,
5681,
67,
23989,
16,
4690,
67,
457,
67,
6665,
16,
5688,
67,
20434,
16,
5886,
2143,
67,
457,
67,
2159,
16,
659,
67,
1214,
13,
273,
855,
67,
1425,
12,
19485,
63,
21,
5717,
225,
775,
30,
261,
71,
16,
76,
5761,
86,
13,
273,
3875,
67,
4176,
1435,
1335,
1185,
16,
425,
30,
293,
1330,
2932,
27999,
3113,
315,
2568,
1404,
3077,
358,
23763,
30,
13773,
701,
12,
73,
3719,
225,
1847,
67,
768,
273,
1140,
18,
588,
11089,
1435,
6797,
2473,
15,
659,
67,
1214,
6797,
19,
70,
91,
24763,
18,
19460,
11,
366,
5761,
86,
2
] |
def base_ring(self): """ Return the underlying base ring. """ return self._base_ring
|
def __repr__(self): return "SpecialCubicQuotientRing over %s with polynomial T = %s" % \ (self._base_ring, PolynomialRing(self._base_ring)( [self._b, self._a, 0, 1]))
|
c26d6b07795f11a9104ed5b11740f789a4ab67f6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/c26d6b07795f11a9104ed5b11740f789a4ab67f6/monsky_washnitzer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
12715,
972,
12,
2890,
4672,
327,
315,
12193,
39,
17616,
7678,
1979,
10369,
1879,
738,
87,
598,
16991,
399,
273,
738,
87,
6,
738,
521,
261,
2890,
6315,
1969,
67,
8022,
16,
6730,
13602,
10369,
12,
2890,
6315,
1969,
67,
8022,
21433,
306,
2890,
6315,
70,
16,
365,
6315,
69,
16,
374,
16,
404,
22643,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
12715,
972,
12,
2890,
4672,
327,
315,
12193,
39,
17616,
7678,
1979,
10369,
1879,
738,
87,
598,
16991,
399,
273,
738,
87,
6,
738,
521,
261,
2890,
6315,
1969,
67,
8022,
16,
6730,
13602,
10369,
12,
2890,
6315,
1969,
67,
8022,
21433,
306,
2890,
6315,
70,
16,
365,
6315,
69,
16,
374,
16,
404,
22643,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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["medium_label"].setText(_("exceeds dual layer medium!"))
|
self["medium_label"].setText(_("Exceeds dual layer medium!"))
|
def updateSize(self): size = self.project.size/(1024*1024) MAX_DL = self.project.MAX_DL-100 MAX_SL = self.project.MAX_SL-100 print "updateSize:", size, "MAX_DL:", MAX_DL, "MAX_SL:", MAX_SL if size > MAX_DL: percent = 100 * size / float(MAX_DL) self["space_label_dual"].text = "%d MB (%.2f%%)" % (size, percent) self["space_bar_dual"].value = int(percent) self["space_bar_single"].value = 100 self["space_label_single"].text = "" self["medium_label"].setText(_("exceeds dual layer medium!")) self["medium_label"].setForegroundColorNum(2) if self.previous_size < MAX_DL: self.session.open(MessageBox,text = _("exceeds dual layer medium!"), type = MessageBox.TYPE_ERROR) elif size > MAX_SL: percent = 100 * size / float(MAX_DL) self["space_label_dual"].text = "%d MB (%.2f%%)" % (size, percent) self["space_bar_dual"].value = int(percent) self["space_bar_single"].value = 100 self["space_label_single"].text = "" self["medium_label"].setText(_("required medium type:") + " " + _("DUAL LAYER DVD") + ", %d MB " % (MAX_DL - size) + _("free")) self["medium_label"].setForegroundColorNum(1) if self.previous_size < MAX_SL: self.session.open(MessageBox, text = _("Your collection exceeds the size of a single layer medium, you will need a blank dual layer DVD!"), timeout = 10, type = MessageBox.TYPE_INFO) elif size < MAX_SL: percent = 100 * size / float(MAX_SL) self["space_label_single"].text = "%d MB (%.2f%%)" % (size, percent) self["space_bar_single"].value = int(percent) self["space_bar_dual"].value = 0 self["space_label_dual"].text = "" self["medium_label"].setText(_("required medium type:") + " " + _("SINGLE LAYER DVD") + ", %d MB " % (MAX_SL - size) + _("free")) self["medium_label"].setForegroundColorNum(0) self.previous_size = size
|
16e2662171701ce64bf2e789168e8cee54dc8588 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6652/16e2662171701ce64bf2e789168e8cee54dc8588/TitleList.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
1225,
12,
2890,
4672,
963,
273,
365,
18,
4406,
18,
1467,
19,
12,
2163,
3247,
14,
2163,
3247,
13,
4552,
67,
8914,
273,
365,
18,
4406,
18,
6694,
67,
8914,
17,
6625,
4552,
67,
4559,
273,
365,
18,
4406,
18,
6694,
67,
4559,
17,
6625,
1172,
315,
2725,
1225,
2773,
16,
963,
16,
315,
6694,
67,
8914,
2773,
16,
4552,
67,
8914,
16,
315,
6694,
67,
4559,
2773,
16,
4552,
67,
4559,
309,
963,
405,
4552,
67,
8914,
30,
5551,
273,
2130,
380,
963,
342,
1431,
12,
6694,
67,
8914,
13,
365,
9614,
2981,
67,
1925,
67,
72,
1462,
6,
8009,
955,
273,
2213,
72,
17897,
6142,
18,
22,
74,
11438,
2225,
738,
261,
1467,
16,
5551,
13,
365,
9614,
2981,
67,
3215,
67,
72,
1462,
6,
8009,
1132,
273,
509,
12,
8849,
13,
365,
9614,
2981,
67,
3215,
67,
7526,
6,
8009,
1132,
273,
2130,
365,
9614,
2981,
67,
1925,
67,
7526,
6,
8009,
955,
273,
1408,
365,
9614,
19011,
67,
1925,
6,
8009,
542,
1528,
24899,
2932,
424,
5288,
87,
24557,
3018,
16212,
4442,
3719,
365,
9614,
19011,
67,
1925,
6,
8009,
542,
23206,
2957,
2578,
12,
22,
13,
309,
365,
18,
11515,
67,
1467,
411,
4552,
67,
8914,
30,
365,
18,
3184,
18,
3190,
12,
27647,
16,
955,
273,
389,
2932,
338,
5288,
87,
24557,
3018,
16212,
4442,
3631,
618,
273,
2350,
3514,
18,
2399,
67,
3589,
13,
1327,
963,
405,
4552,
67,
4559,
30,
5551,
273,
2130,
380,
963,
342,
1431,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
1225,
12,
2890,
4672,
963,
273,
365,
18,
4406,
18,
1467,
19,
12,
2163,
3247,
14,
2163,
3247,
13,
4552,
67,
8914,
273,
365,
18,
4406,
18,
6694,
67,
8914,
17,
6625,
4552,
67,
4559,
273,
365,
18,
4406,
18,
6694,
67,
4559,
17,
6625,
1172,
315,
2725,
1225,
2773,
16,
963,
16,
315,
6694,
67,
8914,
2773,
16,
4552,
67,
8914,
16,
315,
6694,
67,
4559,
2773,
16,
4552,
67,
4559,
309,
963,
405,
4552,
67,
8914,
30,
5551,
273,
2130,
380,
963,
342,
1431,
12,
6694,
67,
8914,
13,
365,
9614,
2981,
67,
1925,
67,
72,
1462,
6,
8009,
955,
273,
2213,
72,
17897,
6142,
18,
22,
74,
11438,
2225,
738,
261,
1467,
16,
5551,
2
] |
license = 'BSD',
|
license = 'LGPL',
|
def finalize_options(self): build_ext.finalize_options(self) self.include_dirs.insert(0, 'include') self.pyrex_include_dirs.extend(self.include_dirs)
|
fb7c0814001a30edd3c24892c3fd6eaf7520360a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12343/fb7c0814001a30edd3c24892c3fd6eaf7520360a/setup.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
12409,
67,
2116,
12,
2890,
4672,
1361,
67,
408,
18,
30343,
67,
2116,
12,
2890,
13,
365,
18,
6702,
67,
8291,
18,
6387,
12,
20,
16,
296,
6702,
6134,
365,
18,
2074,
266,
92,
67,
6702,
67,
8291,
18,
14313,
12,
2890,
18,
6702,
67,
8291,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
12409,
67,
2116,
12,
2890,
4672,
1361,
67,
408,
18,
30343,
67,
2116,
12,
2890,
13,
365,
18,
6702,
67,
8291,
18,
6387,
12,
20,
16,
296,
6702,
6134,
365,
18,
2074,
266,
92,
67,
6702,
67,
8291,
18,
14313,
12,
2890,
18,
6702,
67,
8291,
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
] |
def getHash(self, path=None): """Get the hash of a file.
|
def getHash(self, path): """Get the hash of a file stored in ``path``.
|
def getHash(self, path=None): """Get the hash of a file.
|
fb0d438c88490272f659933b5d44bb0582381fa2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9162/fb0d438c88490272f659933b5d44bb0582381fa2/cachemanager.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
16075,
12,
2890,
16,
589,
33,
7036,
4672,
3536,
967,
326,
1651,
434,
279,
585,
18,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
16075,
12,
2890,
16,
589,
33,
7036,
4672,
3536,
967,
326,
1651,
434,
279,
585,
18,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
s.bind('', self.port)
|
s.bind(('', self.port))
|
def __init__(self, port=None, connection_hook=None): self.connections = [] self.port = port or self.default_port self.connection_hook = connection_hook
|
9a580c440c4f064a92bbc537ac3a2df1c0998afc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/9a580c440c4f064a92bbc537ac3a2df1c0998afc/protocol.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
1756,
33,
7036,
16,
1459,
67,
4476,
33,
7036,
4672,
365,
18,
13313,
273,
5378,
365,
18,
655,
273,
1756,
578,
365,
18,
1886,
67,
655,
365,
18,
4071,
67,
4476,
273,
1459,
67,
4476,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
1756,
33,
7036,
16,
1459,
67,
4476,
33,
7036,
4672,
365,
18,
13313,
273,
5378,
365,
18,
655,
273,
1756,
578,
365,
18,
1886,
67,
655,
365,
18,
4071,
67,
4476,
273,
1459,
67,
4476,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 (invalid[index], "kNoError", "GL_INVALID_ENUM") return ("---ERROR1---", "kNoError", "GL_INVALID_ENUM")
|
return (invalid[index], "kNoError", self.gl_error) return ("---ERROR1---", "kNoError", self.gl_error)
|
def GetInvalidArg(self, offset, index): """returns an invalid value by index.""" if 'invalid' in self.enum_info: invalid = self.enum_info['invalid'] num_invalid = len(invalid) if index >= num_invalid: index = num_invalid - 1 return (invalid[index], "kNoError", "GL_INVALID_ENUM") return ("---ERROR1---", "kNoError", "GL_INVALID_ENUM")
|
51330b3a08d845da9815b843e020833e62577828 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/51330b3a08d845da9815b843e020833e62577828/build_gles2_cmd_buffer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
968,
1941,
4117,
12,
2890,
16,
1384,
16,
770,
4672,
3536,
6154,
392,
2057,
460,
635,
770,
12123,
309,
296,
5387,
11,
316,
365,
18,
7924,
67,
1376,
30,
2057,
273,
365,
18,
7924,
67,
1376,
3292,
5387,
3546,
818,
67,
5387,
273,
562,
12,
5387,
13,
309,
770,
1545,
818,
67,
5387,
30,
770,
273,
818,
67,
5387,
300,
404,
327,
261,
5387,
63,
1615,
6487,
315,
79,
2279,
668,
3113,
315,
11261,
67,
9347,
67,
16509,
7923,
327,
7566,
6062,
3589,
21,
6062,
3113,
315,
79,
2279,
668,
3113,
315,
11261,
67,
9347,
67,
16509,
7923,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
968,
1941,
4117,
12,
2890,
16,
1384,
16,
770,
4672,
3536,
6154,
392,
2057,
460,
635,
770,
12123,
309,
296,
5387,
11,
316,
365,
18,
7924,
67,
1376,
30,
2057,
273,
365,
18,
7924,
67,
1376,
3292,
5387,
3546,
818,
67,
5387,
273,
562,
12,
5387,
13,
309,
770,
1545,
818,
67,
5387,
30,
770,
273,
818,
67,
5387,
300,
404,
327,
261,
5387,
63,
1615,
6487,
315,
79,
2279,
668,
3113,
315,
11261,
67,
9347,
67,
16509,
7923,
327,
7566,
6062,
3589,
21,
6062,
3113,
315,
79,
2279,
668,
3113,
315,
11261,
67,
9347,
67,
16509,
7923,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
M_PROPPATCH = 9
|
M_PROPPATCH = 9
|
def init(): """ This function is called by the server at startup time """ return CallBack()
|
3de9a0d15ba9eb7275476985ecfc3381876d7703 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10002/3de9a0d15ba9eb7275476985ecfc3381876d7703/apache.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1208,
13332,
3536,
1220,
445,
353,
2566,
635,
326,
1438,
622,
11850,
813,
3536,
225,
327,
3049,
2711,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1208,
13332,
3536,
1220,
445,
353,
2566,
635,
326,
1438,
622,
11850,
813,
3536,
225,
327,
3049,
2711,
1435,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
site = server.Site(root)
|
rewriter = rewrite.RewriterResource(root, helpimagesrewrite) site = server.Site(rewriter)
|
def main(): # the start and stop stuff will be handled from the freevo script logfile = '%s/webserver-%s.log' % (config.LOGDIR, os.getuid()) log.startLogging(open(logfile, 'a')) if os.path.isdir(os.path.join(os.environ['FREEVO_PYTHON'], 'www/htdocs')): docRoot = os.path.join(os.environ['FREEVO_PYTHON'], 'www/htdocs') else: docRoot = os.path.join(config.SHARE_DIR, 'htdocs') root = static.File(docRoot) root.processors = { '.rpy': script.ResourceScript, } root.putChild('vhost', vhost.VHostMonsterResource()) site = server.Site(root) application = app.Application('web') application.listenTCP(config.WWW_PORT, site) application.run(save=0)
|
f520ecdadf2f70a3822e5eb9fee23ac465913844 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/f520ecdadf2f70a3822e5eb9fee23ac465913844/webserver.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
13332,
468,
326,
787,
471,
2132,
10769,
903,
506,
7681,
628,
326,
4843,
12307,
2728,
225,
15204,
273,
1995,
87,
19,
1814,
2266,
502,
6456,
87,
18,
1330,
11,
738,
261,
1425,
18,
4842,
4537,
16,
1140,
18,
588,
1911,
10756,
613,
18,
1937,
7735,
12,
3190,
12,
28806,
16,
296,
69,
26112,
225,
309,
1140,
18,
803,
18,
291,
1214,
12,
538,
18,
803,
18,
5701,
12,
538,
18,
28684,
3292,
28104,
16169,
67,
16235,
20131,
17337,
296,
5591,
19,
647,
8532,
26112,
30,
997,
2375,
273,
1140,
18,
803,
18,
5701,
12,
538,
18,
28684,
3292,
28104,
16169,
67,
16235,
20131,
17337,
296,
5591,
19,
647,
8532,
6134,
469,
30,
997,
2375,
273,
1140,
18,
803,
18,
5701,
12,
1425,
18,
8325,
862,
67,
4537,
16,
296,
647,
8532,
6134,
225,
1365,
273,
760,
18,
812,
12,
2434,
2375,
13,
1365,
18,
22962,
273,
288,
2418,
86,
2074,
4278,
2728,
18,
1420,
3651,
16,
289,
225,
1365,
18,
458,
1763,
2668,
90,
2564,
2187,
16574,
18,
58,
2594,
11415,
8190,
1420,
10756,
283,
6299,
273,
225,
10738,
18,
17631,
1091,
1420,
12,
3085,
16,
2809,
7369,
21489,
13,
2834,
273,
1438,
18,
4956,
12,
266,
6299,
13,
225,
2521,
273,
595,
18,
3208,
2668,
4875,
6134,
2521,
18,
18085,
13891,
12,
1425,
18,
19989,
59,
67,
6354,
16,
2834,
13,
225,
2521,
18,
2681,
12,
5688,
33,
20,
13,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
13332,
468,
326,
787,
471,
2132,
10769,
903,
506,
7681,
628,
326,
4843,
12307,
2728,
225,
15204,
273,
1995,
87,
19,
1814,
2266,
502,
6456,
87,
18,
1330,
11,
738,
261,
1425,
18,
4842,
4537,
16,
1140,
18,
588,
1911,
10756,
613,
18,
1937,
7735,
12,
3190,
12,
28806,
16,
296,
69,
26112,
225,
309,
1140,
18,
803,
18,
291,
1214,
12,
538,
18,
803,
18,
5701,
12,
538,
18,
28684,
3292,
28104,
16169,
67,
16235,
20131,
17337,
296,
5591,
19,
647,
8532,
26112,
30,
997,
2375,
273,
1140,
18,
803,
18,
5701,
12,
538,
18,
28684,
3292,
28104,
16169,
67,
16235,
20131,
17337,
296,
5591,
19,
647,
8532,
6134,
469,
30,
997,
2375,
273,
1140,
18,
2
] |
dir = os.path.expanduser("~/.Trash") for file in FileUtilities.children_in_directory(dir, False): yield file
|
dirname = os.path.expanduser("~/.Trash") for filename in FileUtilities.children_in_directory(dirname, False): yield filename
|
def list_files(self): dir = os.path.expanduser("~/.Trash") for file in FileUtilities.children_in_directory(dir, False): yield file # fixme http://www.ramendik.ru/docs/trashspec.html # http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html # GNOME 2.22, Fedora 9 ~/.local/share/Trash dir = os.path.expanduser("~/.local/share/Trash") for file in FileUtilities.children_in_directory(dir, False): yield file
|
737a941d1a6026b292895c42a857f9ec0bf05cea /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7853/737a941d1a6026b292895c42a857f9ec0bf05cea/CleanerBackend.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
666,
67,
2354,
12,
2890,
4672,
4283,
273,
1140,
18,
803,
18,
12320,
1355,
2932,
98,
15865,
29420,
7923,
364,
1544,
316,
1387,
11864,
18,
5906,
67,
267,
67,
5149,
12,
12287,
16,
1083,
4672,
2824,
1544,
468,
2917,
3501,
1062,
2207,
5591,
18,
1940,
409,
1766,
18,
8653,
19,
8532,
19,
28665,
2793,
18,
2620,
468,
1062,
2207,
10005,
87,
18,
74,
15656,
281,
11869,
18,
3341,
19,
31722,
17,
2793,
19,
31722,
17,
2793,
17,
20,
18,
26,
18,
2620,
468,
611,
3417,
958,
576,
18,
3787,
16,
27278,
2468,
4871,
15865,
3729,
19,
14419,
19,
29420,
1577,
273,
1140,
18,
803,
18,
12320,
1355,
2932,
98,
15865,
3729,
19,
14419,
19,
29420,
7923,
364,
585,
316,
1387,
11864,
18,
5906,
67,
267,
67,
5149,
12,
1214,
16,
1083,
4672,
2824,
585,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
666,
67,
2354,
12,
2890,
4672,
4283,
273,
1140,
18,
803,
18,
12320,
1355,
2932,
98,
15865,
29420,
7923,
364,
1544,
316,
1387,
11864,
18,
5906,
67,
267,
67,
5149,
12,
12287,
16,
1083,
4672,
2824,
1544,
468,
2917,
3501,
1062,
2207,
5591,
18,
1940,
409,
1766,
18,
8653,
19,
8532,
19,
28665,
2793,
18,
2620,
468,
1062,
2207,
10005,
87,
18,
74,
15656,
281,
11869,
18,
3341,
19,
31722,
17,
2793,
19,
31722,
17,
2793,
17,
20,
18,
26,
18,
2620,
468,
611,
3417,
958,
576,
18,
3787,
16,
27278,
2468,
4871,
15865,
3729,
19,
14419,
19,
29420,
1577,
273,
1140,
18,
803,
18,
12320,
1355,
2932,
98,
15865,
3729,
19,
14419,
19,
29420,
7923,
364,
585,
2
] |
self.string = list(string)
|
self.index = 0 self.string = string
|
def __init__(self, string):
|
d46b2a42eda94cbac3b610e36d5f97230d629068 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/d46b2a42eda94cbac3b610e36d5f97230d629068/sre_parse.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
533,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
533,
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
] |
index = self.bisect(self, item)
|
index = bisect.bisect(self.list, item)
|
def __contains__(self, item): if self.__len__() == 0: return False index = self.bisect(self, item) if index == 0: return False if item in self.__getitem__(index-1): return True return False
|
ceb5841528feafa5a760412ecaeedf36fbba1e7b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13031/ceb5841528feafa5a760412ecaeedf36fbba1e7b/mirrorlist_server.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
12298,
972,
12,
2890,
16,
761,
4672,
309,
365,
16186,
1897,
972,
1435,
422,
374,
30,
327,
1083,
770,
273,
27031,
18,
70,
291,
386,
12,
2890,
18,
1098,
16,
761,
13,
309,
770,
422,
374,
30,
327,
1083,
309,
761,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
12298,
972,
12,
2890,
16,
761,
4672,
309,
365,
16186,
1897,
972,
1435,
422,
374,
30,
327,
1083,
770,
273,
27031,
18,
70,
291,
386,
12,
2890,
18,
1098,
16,
761,
13,
309,
770,
422,
374,
30,
327,
1083,
309,
761,
316,
365,
16186,
31571,
972,
12,
1615,
17,
21,
4672,
327,
1053,
327,
1083,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
dev=self.selectedDevice(c) dev.onlyChannel=channel
|
dev = self.selectedDevice(c) dev.onlyChannel = channel
|
def regulate(self, c, channel, temperature, loadresistor=30000): """Initializes temperature regulation
|
ca09465af7cd0d53cd2656a51c12b3b3003818f7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7016/ca09465af7cd0d53cd2656a51c12b3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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
960,
6243,
12,
2890,
16,
276,
16,
1904,
16,
12843,
16,
1262,
455,
376,
280,
33,
23,
2787,
4672,
3536,
9685,
12843,
960,
6234,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
raise ScriptError("Patch %s from bug %s failed to download and apply." % (patch['url'], patch['bug_id']))
|
raise ScriptError(message="Patch %s from bug %s failed to download and apply." % (patch['url'], patch['bug_id']))
|
def apply_patch(self, patch, force=False): # It's possible that the patch was not made from the root directory. # We should detect and handle that case. curl_process = subprocess.Popen(['curl', '--location', '--silent', '--show-error', patch['url']], stdout=subprocess.PIPE) args = [self.script_path('svn-apply'), '--reviewer', patch['reviewer']] if force: args.append('--force') patch_apply_process = subprocess.Popen(args, stdin=curl_process.stdout)
|
cbfef173775a18c163a046efa120abeeff3a6751 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9392/cbfef173775a18c163a046efa120abeeff3a6751/scm.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2230,
67,
2272,
12,
2890,
16,
4729,
16,
2944,
33,
8381,
4672,
468,
2597,
1807,
3323,
716,
326,
4729,
1703,
486,
7165,
628,
326,
1365,
1867,
18,
468,
1660,
1410,
5966,
471,
1640,
716,
648,
18,
3363,
67,
2567,
273,
6652,
18,
52,
3190,
12,
3292,
13504,
2187,
3534,
3562,
2187,
3534,
21862,
2187,
3534,
4500,
17,
1636,
2187,
4729,
3292,
718,
3546,
6487,
3909,
33,
1717,
2567,
18,
27602,
13,
833,
273,
306,
2890,
18,
4263,
67,
803,
2668,
31505,
17,
9010,
19899,
3534,
16041,
264,
2187,
4729,
3292,
16041,
264,
3546,
65,
309,
2944,
30,
833,
18,
6923,
2668,
413,
5734,
6134,
4729,
67,
9010,
67,
2567,
273,
6652,
18,
52,
3190,
12,
1968,
16,
8801,
33,
13504,
67,
2567,
18,
10283,
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,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
2890,
16,
4729,
16,
2944,
33,
8381,
4672,
468,
2597,
1807,
3323,
716,
326,
4729,
1703,
486,
7165,
628,
326,
1365,
1867,
18,
468,
1660,
1410,
5966,
471,
1640,
716,
648,
18,
3363,
67,
2567,
273,
6652,
18,
52,
3190,
12,
3292,
13504,
2187,
3534,
3562,
2187,
3534,
21862,
2187,
3534,
4500,
17,
1636,
2187,
4729,
3292,
718,
3546,
6487,
3909,
33,
1717,
2567,
18,
27602,
13,
833,
273,
306,
2890,
18,
4263,
67,
803,
2668,
31505,
17,
9010,
19899,
3534,
16041,
264,
2187,
4729,
3292,
16041,
264,
3546,
65,
309,
2944,
30,
833,
18,
6923,
2668,
413,
5734,
6134,
4729,
67,
9010,
67,
2567,
273,
6652,
18,
52,
3190,
12,
1968,
16,
8801,
2
] |
return chain(self.status())
|
for msg in chain(self.status()): yield msg
|
def stop(self): if self._status == 'stopped': raise DiscoError("%s already stopped" % self) try: os.kill(self.pid, signal.SIGTERM) while self._status == 'running': pass except Exception: pass return chain(self.status())
|
ad8c242af148154828b966902f5ab8e49963a98c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/373/ad8c242af148154828b966902f5ab8e49963a98c/disco.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2132,
12,
2890,
4672,
309,
365,
6315,
2327,
422,
296,
24228,
4278,
1002,
3035,
2894,
668,
27188,
87,
1818,
9627,
6,
738,
365,
13,
775,
30,
1140,
18,
16418,
12,
2890,
18,
6610,
16,
4277,
18,
18513,
15176,
13,
1323,
365,
6315,
2327,
422,
296,
8704,
4278,
1342,
1335,
1185,
30,
1342,
327,
2687,
12,
2890,
18,
2327,
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,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2132,
12,
2890,
4672,
309,
365,
6315,
2327,
422,
296,
24228,
4278,
1002,
3035,
2894,
668,
27188,
87,
1818,
9627,
6,
738,
365,
13,
775,
30,
1140,
18,
16418,
12,
2890,
18,
6610,
16,
4277,
18,
18513,
15176,
13,
1323,
365,
6315,
2327,
422,
296,
8704,
4278,
1342,
1335,
1185,
30,
1342,
327,
2687,
12,
2890,
18,
2327,
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
] |
selected_tabs.add(row[0])
|
selected_tabs.add((1, row[0]))
|
def get_selection_and_children(self): """This returns the selection and, in the case of parent rows, returns all children, too. This is particularly useful for getting selections that include children of folders.
|
1f498bda8c507f0b63f8859884457bea2e925013 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12354/1f498bda8c507f0b63f8859884457bea2e925013/tablistmanager.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
10705,
67,
464,
67,
5906,
12,
2890,
4672,
3536,
2503,
1135,
326,
4421,
471,
16,
316,
326,
648,
434,
982,
2595,
16,
1135,
777,
2325,
16,
4885,
18,
225,
1220,
353,
6826,
715,
5301,
364,
8742,
21738,
716,
2341,
2325,
434,
9907,
18,
2,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
10705,
67,
464,
67,
5906,
12,
2890,
4672,
3536,
2503,
1135,
326,
4421,
471,
16,
316,
326,
648,
434,
982,
2595,
16,
1135,
777,
2325,
16,
4885,
18,
225,
1220,
353,
6826,
715,
5301,
364,
8742,
21738,
716,
2341,
2325,
434,
9907,
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
] |
print " abort!" return
|
raise RuntimeError, "certain not superset of knownKeep"
|
def split(self, childSize, otherMarkerId, turn=-1): print "split for", self, childSize, otherMarkerId, turn
|
d3360650260167e99d819d46c099993d6e0f1f9e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3755/d3360650260167e99d819d46c099993d6e0f1f9e/predictsplits.py
|
[
1,
8585,
326,
22398,
316,
326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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1416,
12,
2890,
16,
1151,
1225,
16,
1308,
7078,
548,
16,
7005,
29711,
21,
4672,
1172,
315,
4939,
364,
3113,
365,
16,
1151,
1225,
16,
1308,
7078,
548,
16,
7005,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
'Added interdiff support')
|
'Improved login form')
|
def testDashboard5(self): """Testing dashboard view (mine)""" self.client.login(username='doc', password='doc')
|
d72238b7393eae1f5069fef4eba2d906a7ba3bdf /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1600/d72238b7393eae1f5069fef4eba2d906a7ba3bdf/tests.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
14830,
25,
12,
2890,
4672,
3536,
22218,
11825,
1476,
261,
3081,
15574,
365,
18,
2625,
18,
5819,
12,
5053,
2218,
2434,
2187,
2201,
2218,
2434,
6134,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
14830,
25,
12,
2890,
4672,
3536,
22218,
11825,
1476,
261,
3081,
15574,
365,
18,
2625,
18,
5819,
12,
5053,
2218,
2434,
2187,
2201,
2218,
2434,
6134,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
deps = create_deps(ext_modules) cython(deps, ext_modules)
|
hi, med, lo = compile_command_list(ext_modules) execute_list_of_commands(hi + med + lo)
|
def create_deps(ext_modules): # first we compute the complete graph of dependencies deps = {} for m in ext_modules: m.extra_compile_args += extra_compile_args for i in range(len(m.sources)): f = m.sources[i] if f[-4:] == '.pyx': visited = set() deps_graph(deps, f, visited) base = os.path.splitext(f)[0] f = f[:-4] + '.pxd' if os.path.exists(f): deps_graph(deps, f, visited) return deps
|
12aff705aa1e2b2dc6e401b763fe2e9e51bdf02d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/12aff705aa1e2b2dc6e401b763fe2e9e51bdf02d/setup.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
67,
14877,
12,
408,
67,
6400,
4672,
468,
1122,
732,
3671,
326,
3912,
2667,
434,
5030,
8740,
273,
2618,
364,
312,
316,
1110,
67,
6400,
30,
312,
18,
7763,
67,
11100,
67,
1968,
1011,
2870,
67,
11100,
67,
1968,
364,
277,
316,
1048,
12,
1897,
12,
81,
18,
10141,
3719,
30,
284,
273,
312,
18,
10141,
63,
77,
65,
309,
284,
18919,
24,
26894,
422,
2418,
2074,
92,
4278,
9711,
273,
444,
1435,
8740,
67,
4660,
12,
14877,
16,
284,
16,
9711,
13,
1026,
273,
1140,
18,
803,
18,
4939,
408,
12,
74,
25146,
20,
65,
284,
273,
284,
10531,
17,
24,
65,
397,
2418,
4430,
72,
11,
309,
1140,
18,
803,
18,
1808,
12,
74,
4672,
8740,
67,
4660,
12,
14877,
16,
284,
16,
9711,
13,
225,
327,
8740,
225,
2,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
67,
14877,
12,
408,
67,
6400,
4672,
468,
1122,
732,
3671,
326,
3912,
2667,
434,
5030,
8740,
273,
2618,
364,
312,
316,
1110,
67,
6400,
30,
312,
18,
7763,
67,
11100,
67,
1968,
1011,
2870,
67,
11100,
67,
1968,
364,
277,
316,
1048,
12,
1897,
12,
81,
18,
10141,
3719,
30,
284,
273,
312,
18,
10141,
63,
77,
65,
309,
284,
18919,
24,
26894,
422,
2418,
2074,
92,
4278,
9711,
273,
444,
1435,
8740,
67,
4660,
12,
14877,
16,
284,
16,
9711,
13,
1026,
273,
1140,
18,
803,
18,
4939,
408,
12,
74,
25146,
20,
65,
284,
273,
284,
10531,
17,
24,
65,
397,
2418,
4430,
72,
11,
309,
1140,
18,
803,
18,
1808,
12,
74,
4672,
2
] |
print "Skipping"
|
print "Skipping exercise(): input file not available."
|
def exercise () : from iotbx import file_reader pdb_file = libtbx.env.find_in_repositories( relative_path="phenix_regression/pdb/1ywf.pdb", test=os.path.isfile) pdb_file_h = libtbx.env.find_in_repositories( relative_path="phenix_regression/pdb/1ywf_h.pdb", test=os.path.isfile) if pdb_file is None : print "Skipping" return False log = cStringIO.StringIO() pdb_in = file_reader.any_file(pdb_file_h, force_type="pdb").file_object pdb_hierarchy = pdb_in.construct_hierarchy() xray_structure = pdb_in.xray_structure_simple() sec_str_from_pdb_file = pdb_in.extract_secondary_structure() m = manager(pdb_hierarchy=pdb_hierarchy, xray_structure=xray_structure, sec_str_from_pdb_file=sec_str_from_pdb_file) m.find_automatically(log=log) bonds_table = m.get_bonds_table(log=log) assert bonds_table.bonds.size() == 109 m.params.h_bond_restraints.substitute_n_for_h = True bonds_table = m.get_bonds_table(log=log) assert bonds_table.flag_use_bond.count(True) == 106 (frac_alpha, frac_beta) = m.calculate_structure_content() assert ("%.3f" % frac_alpha) == "0.643" assert ("%.3f" % frac_beta) == "0.075" del m # using KSDSSP try : m = manager(pdb_hierarchy=pdb_hierarchy, xray_structure=xray_structure, sec_str_from_pdb_file=None) m.find_automatically(log=log) bonds_table = m.get_bonds_table(log=log) assert bonds_table.bonds.size() == 93 m.params.h_bond_restraints.substitute_n_for_h = True bonds_table = m.get_bonds_table(log=log) assert bonds_table.flag_use_bond.count(True) == 86 (frac_alpha, frac_beta) = m.calculate_structure_content() assert ("%.3f" % frac_alpha) == "0.552" assert ("%.3f" % frac_beta) == "0.066" del m del pdb_hierarchy del xray_structure except RuntimeError : print "skipping KSDSSP test" # without hydrogens pdb_in = file_reader.any_file(pdb_file, force_type="pdb").file_object pdb_hierarchy = pdb_in.construct_hierarchy() xray_structure = pdb_in.xray_structure_simple() sec_str_from_pdb_file = pdb_in.extract_secondary_structure() m = manager(pdb_hierarchy=pdb_hierarchy, xray_structure=xray_structure, sec_str_from_pdb_file=sec_str_from_pdb_file) m.find_automatically(log=log) bonds_table = m.get_bonds_table(log=log) assert bonds_table.bonds.size() == 109 del m # using KSDSSP try : m = manager(pdb_hierarchy=pdb_hierarchy, xray_structure=xray_structure, sec_str_from_pdb_file=None) m.find_automatically(log=log) bonds_table = m.get_bonds_table(log=log) assert bonds_table.bonds.size() == 93 except RuntimeError : print "skipping KSDSSP test" print "OK"
|
0bc14071d9364def7d33a409fac526a38f23f248 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/696/0bc14071d9364def7d33a409fac526a38f23f248/secondary_structure.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
24165,
1832,
294,
628,
30956,
70,
92,
1930,
585,
67,
10530,
10892,
67,
768,
273,
2561,
18587,
92,
18,
3074,
18,
4720,
67,
267,
67,
26626,
12,
3632,
67,
803,
1546,
13819,
697,
67,
1574,
16345,
19,
17414,
19,
21,
93,
15581,
18,
17414,
3113,
1842,
33,
538,
18,
803,
18,
291,
768,
13,
10892,
67,
768,
67,
76,
273,
2561,
18587,
92,
18,
3074,
18,
4720,
67,
267,
67,
26626,
12,
3632,
67,
803,
1546,
13819,
697,
67,
1574,
16345,
19,
17414,
19,
21,
93,
15581,
67,
76,
18,
17414,
3113,
1842,
33,
538,
18,
803,
18,
291,
768,
13,
309,
10892,
67,
768,
353,
599,
294,
1172,
315,
16877,
24165,
13332,
810,
585,
486,
2319,
1199,
327,
1083,
613,
273,
276,
780,
4294,
18,
780,
4294,
1435,
10892,
67,
267,
273,
585,
67,
10530,
18,
2273,
67,
768,
12,
17414,
67,
768,
67,
76,
16,
2944,
67,
723,
1546,
17414,
20387,
768,
67,
1612,
10892,
67,
17937,
273,
10892,
67,
267,
18,
10062,
67,
17937,
1435,
619,
435,
67,
7627,
273,
10892,
67,
267,
18,
92,
435,
67,
7627,
67,
9647,
1435,
1428,
67,
701,
67,
2080,
67,
17414,
67,
768,
273,
10892,
67,
267,
18,
8004,
67,
19674,
67,
7627,
1435,
312,
273,
3301,
12,
17414,
67,
17937,
33,
17414,
67,
17937,
16,
619,
435,
67,
7627,
33,
92,
435,
67,
7627,
16,
1428,
67,
701,
67,
2080,
67,
17414,
67,
768,
33,
3321,
67,
701,
67,
2080,
67,
17414,
67,
768,
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,
24165,
1832,
294,
628,
30956,
70,
92,
1930,
585,
67,
10530,
10892,
67,
768,
273,
2561,
18587,
92,
18,
3074,
18,
4720,
67,
267,
67,
26626,
12,
3632,
67,
803,
1546,
13819,
697,
67,
1574,
16345,
19,
17414,
19,
21,
93,
15581,
18,
17414,
3113,
1842,
33,
538,
18,
803,
18,
291,
768,
13,
10892,
67,
768,
67,
76,
273,
2561,
18587,
92,
18,
3074,
18,
4720,
67,
267,
67,
26626,
12,
3632,
67,
803,
1546,
13819,
697,
67,
1574,
16345,
19,
17414,
19,
21,
93,
15581,
67,
76,
18,
17414,
3113,
1842,
33,
538,
18,
803,
18,
291,
768,
13,
309,
10892,
67,
768,
353,
599,
294,
1172,
315,
16877,
24165,
13332,
810,
585,
486,
2319,
1199,
2
] |
d = FSPageTemplate.__dict__ d['source.xml'] = d['source.html'] = Src()
|
source_dot_xml = Src() setattr(FSPageTemplate, 'source.xml', FSPageTemplate.source_dot_xml) setattr(FSPageTemplate, 'source.html', FSPageTemplate.source_dot_xml)
|
def _exec(self, bound_names, args, kw): """Call a FSPageTemplate""" try: response = self.REQUEST.RESPONSE except AttributeError: response = None # Read file first to get a correct content_type default value. self._updateFromFS()
|
6aed3d2ffbfbdc919c13c47bad2bba3569ff3d5c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1843/6aed3d2ffbfbdc919c13c47bad2bba3569ff3d5c/FSPageTemplate.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4177,
12,
2890,
16,
2489,
67,
1973,
16,
833,
16,
5323,
4672,
3536,
1477,
279,
9247,
1964,
2283,
8395,
775,
30,
766,
273,
365,
18,
5519,
18,
14508,
1335,
6394,
30,
766,
273,
599,
468,
2720,
585,
1122,
358,
336,
279,
3434,
913,
67,
723,
805,
460,
18,
365,
6315,
2725,
1265,
4931,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4177,
12,
2890,
16,
2489,
67,
1973,
16,
833,
16,
5323,
4672,
3536,
1477,
279,
9247,
1964,
2283,
8395,
775,
30,
766,
273,
365,
18,
5519,
18,
14508,
1335,
6394,
30,
766,
273,
599,
468,
2720,
585,
1122,
358,
336,
279,
3434,
913,
67,
723,
805,
460,
18,
365,
6315,
2725,
1265,
4931,
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
] |
watchpats.append("Forcing node %s to be terminated" % node)
|
watchpats.append("Node %s will be fenced because termination was requested" % node)
|
def __call__(self, node): self.incr("calls") if len(self.CM.Env["nodes"]) < 2: return self.skipped()
|
0aba552579a25f5248eac3b2776812d5f9c7051e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11962/0aba552579a25f5248eac3b2776812d5f9c7051e/CTStests.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
1991,
972,
12,
2890,
16,
756,
4672,
365,
18,
267,
3353,
2932,
12550,
7923,
309,
562,
12,
2890,
18,
9611,
18,
3491,
9614,
4690,
6,
5717,
411,
576,
30,
327,
365,
18,
25346,
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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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if re.search( table_name+r'[.]', table_param ) is None:
|
if table_param.find( table_name+'.' ) == -1:
|
def __init__( self, table_name, table_param, param_ranges_opt, verbose = False ): """ Parse --param-ranges option. Creates self.param which is the table_name and the table_param appended together (with a '.') and self.param_ranges, which is a list of tuples that give the lower parameter value, whether it is an open or closed boundary, and the same for the upper parameter. For example, if table_name is coinc_inspiral, table_param is mchirp and param_ranges_opt is '[2,8);[8,17]' will get: self.param = 'coinc_inspiral.mchirp' self.param_ranges = [ ( ('>=',2.0), ('<',8.0) ), ( ('>=',8.0), ('<=', 17.0) ) ]
|
aa613f9ca1679aa7fff3f9cfa9b4bb9989c85fd7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3592/aa613f9ca1679aa7fff3f9cfa9b4bb9989c85fd7/ligolw_sqlutils.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
365,
16,
1014,
67,
529,
16,
1014,
67,
891,
16,
579,
67,
14530,
67,
3838,
16,
3988,
273,
1083,
262,
30,
3536,
2884,
1493,
891,
17,
14530,
1456,
18,
10210,
365,
18,
891,
1492,
353,
326,
1014,
67,
529,
471,
326,
1014,
67,
891,
12317,
9475,
261,
1918,
279,
2611,
13,
471,
365,
18,
891,
67,
14530,
16,
1492,
353,
279,
666,
434,
10384,
716,
8492,
326,
2612,
1569,
460,
16,
2856,
518,
353,
392,
1696,
578,
4375,
7679,
16,
471,
326,
1967,
364,
326,
3854,
1569,
18,
2457,
3454,
16,
309,
1014,
67,
529,
353,
13170,
71,
67,
267,
1752,
481,
287,
16,
1014,
67,
891,
353,
312,
343,
481,
84,
471,
579,
67,
14530,
67,
3838,
353,
5271,
22,
16,
28,
1769,
63,
28,
16,
4033,
3864,
903,
336,
30,
365,
18,
891,
273,
296,
12645,
71,
67,
267,
1752,
481,
287,
18,
81,
343,
481,
84,
11,
365,
18,
891,
67,
14530,
273,
306,
261,
7707,
34,
33,
2187,
22,
18,
20,
3631,
7707,
32,
2187,
28,
18,
20,
13,
262,
16,
261,
7707,
34,
33,
2187,
28,
18,
20,
3631,
7707,
32,
33,
2187,
8043,
18,
20,
13,
262,
308,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
365,
16,
1014,
67,
529,
16,
1014,
67,
891,
16,
579,
67,
14530,
67,
3838,
16,
3988,
273,
1083,
262,
30,
3536,
2884,
1493,
891,
17,
14530,
1456,
18,
10210,
365,
18,
891,
1492,
353,
326,
1014,
67,
529,
471,
326,
1014,
67,
891,
12317,
9475,
261,
1918,
279,
2611,
13,
471,
365,
18,
891,
67,
14530,
16,
1492,
353,
279,
666,
434,
10384,
716,
8492,
326,
2612,
1569,
460,
16,
2856,
518,
353,
392,
1696,
578,
4375,
7679,
16,
471,
326,
1967,
364,
326,
3854,
1569,
18,
2457,
3454,
16,
309,
1014,
67,
529,
353,
13170,
71,
67,
267,
1752,
481,
287,
16,
1014,
67,
891,
353,
312,
343,
481,
84,
471,
579,
2
] |
regex_find_licenses = re.compile(r'(?<!\{)\{\{(?:[Tt]emplate:|)([^{]*?)[|\n<}]', re.DOTALL)
|
regex_find_licenses = re.compile(r'(?<!\{)\{\{(?:[Tt]emplate:|)([^{]+?)[|\n<}]', re.DOTALL)
|
def smartDetection(self): """ The bot instead of checking if there's a simple template in the image's description, checks also if that template is a license or something else. In this sense this type of check is smart. """ self.seems_ok = False self.license_found = None self.hiddentemplates = self.loadHiddenTemplates() self.licenses_found = self.image.getTemplates() self.whiteTemplatesFound = False regex_find_licenses = re.compile(r'(?<!\{)\{\{(?:[Tt]emplate:|)([^{]*?)[|\n<}]', re.DOTALL) templatesInTheImageRaw = regex_find_licenses.findall(self.imageCheckText) self.allLicenses = list() if self.list_licenses == []: raise wikipedia.Error(u'No licenses allowed provided, add that option to the code to make the script working correctly') # Found the templates ONLY in the image's description for template_selected in templatesInTheImageRaw: for templateReal in self.licenses_found: if self.convert_to_url(template_selected).lower().replace('template:', '') == \ self.convert_to_url(templateReal.title().lower().replace('template:', '')): if templateReal not in self.allLicenses: # don't put the same template, twice. self.allLicenses.append(templateReal) if self.licenses_found != []: self.templateInList() if self.license_found == None and self.allLicenses != list(): self.license_found = self.license_selected if not self.seems_ok and self.license_found != None: rep_text_license_fake = u"\n*[[:Image:%s]] seems to have " % self.imageName + \ "a ''fake license'', license detected: <nowiki>%s</nowiki>" % self.license_found regexFakeLicense = r"\* ?\[\[:Image:%s\]\] seems to have " % (re.escape(self.imageName)) + \ "a ''fake license'', license detected: <nowiki>%s</nowiki>$" % (re.escape(self.license_found)) printWithTimeZone(u"%s seems to have a fake license: %s, reporting..." % (self.imageName, self.license_found)) self.report_image(self.imageName, rep_text = rep_text_license_fake, addings = False, regex = regexFakeLicense) elif self.license_found != None: printWithTimeZone(u"%s seems ok, license found: %s..." % (self.imageName, self.license_found)) return (self.license_found, self.whiteTemplatesFound)
|
c8bd831cf36832667e225d2876619a25779e9888 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4404/c8bd831cf36832667e225d2876619a25779e9888/checkimages.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
13706,
10214,
12,
2890,
4672,
3536,
1021,
2512,
3560,
434,
6728,
309,
1915,
1807,
279,
4143,
1542,
316,
326,
1316,
1807,
2477,
16,
4271,
2546,
309,
716,
1542,
353,
279,
8630,
578,
5943,
469,
18,
657,
333,
12764,
333,
618,
434,
866,
353,
13706,
18,
3536,
365,
18,
307,
7424,
67,
601,
273,
1083,
365,
18,
12687,
67,
7015,
273,
599,
365,
18,
76,
1873,
319,
351,
3483,
273,
365,
18,
945,
9345,
8218,
1435,
365,
18,
80,
16548,
67,
7015,
273,
365,
18,
2730,
18,
588,
8218,
1435,
365,
18,
14739,
8218,
2043,
273,
1083,
3936,
67,
4720,
67,
80,
16548,
273,
283,
18,
11100,
12,
86,
11,
24261,
64,
95,
5153,
23241,
95,
23203,
56,
88,
65,
29761,
30,
96,
13,
8178,
95,
3737,
8535,
63,
8960,
82,
32,
11839,
2187,
283,
18,
17591,
4685,
13,
5539,
382,
1986,
2040,
4809,
273,
3936,
67,
4720,
67,
80,
16548,
18,
4720,
454,
12,
2890,
18,
2730,
1564,
1528,
13,
365,
18,
454,
48,
16548,
273,
666,
1435,
309,
365,
18,
1098,
67,
80,
16548,
422,
5378,
30,
1002,
21137,
18,
668,
12,
89,
11,
2279,
26457,
2935,
2112,
16,
527,
716,
1456,
358,
326,
981,
358,
1221,
326,
2728,
5960,
8783,
6134,
468,
10750,
326,
5539,
20747,
316,
326,
1316,
1807,
2477,
364,
1542,
67,
8109,
316,
5539,
382,
1986,
2040,
4809,
30,
364,
1542,
6955,
316,
365,
18,
80,
16548,
67,
7015,
30,
309,
365,
18,
6283,
67,
869,
67,
718,
12,
3202,
67,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
13706,
10214,
12,
2890,
4672,
3536,
1021,
2512,
3560,
434,
6728,
309,
1915,
1807,
279,
4143,
1542,
316,
326,
1316,
1807,
2477,
16,
4271,
2546,
309,
716,
1542,
353,
279,
8630,
578,
5943,
469,
18,
657,
333,
12764,
333,
618,
434,
866,
353,
13706,
18,
3536,
365,
18,
307,
7424,
67,
601,
273,
1083,
365,
18,
12687,
67,
7015,
273,
599,
365,
18,
76,
1873,
319,
351,
3483,
273,
365,
18,
945,
9345,
8218,
1435,
365,
18,
80,
16548,
67,
7015,
273,
365,
18,
2730,
18,
588,
8218,
1435,
365,
18,
14739,
8218,
2043,
273,
1083,
3936,
67,
4720,
67,
80,
16548,
273,
283,
18,
11100,
12,
86,
11,
24261,
64,
95,
5153,
23241,
95,
23203,
56,
88,
2
] |
or self.getType() != u'bittorrent'):
|
or self.get_type() != u'bittorrent'):
|
def startUpload(self): if (self.get_state() not in (u'finished', u'uploading-paused') or self.getType() != u'bittorrent'): return self.manualUpload = True if _downloads.has_key(self.dlid): c = command.StartDownloadCommand(RemoteDownloader.dldaemon, self.dlid) c.send() else: self.before_changing_status() self.status['state'] = u'uploading' self.after_changing_status() self.restart() self.signal_change()
|
f2fa1d771c944ca514cd470008d100ce0c0da511 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12354/f2fa1d771c944ca514cd470008d100ce0c0da511/downloader.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
787,
4777,
12,
2890,
4672,
309,
261,
2890,
18,
588,
67,
2019,
1435,
486,
316,
261,
89,
11,
13527,
2187,
582,
11,
6327,
310,
17,
8774,
3668,
6134,
578,
365,
18,
588,
67,
723,
1435,
480,
582,
11,
3682,
13039,
547,
11,
4672,
327,
365,
18,
19840,
4777,
273,
1053,
309,
389,
7813,
87,
18,
5332,
67,
856,
12,
2890,
18,
5761,
350,
4672,
276,
273,
1296,
18,
1685,
7109,
2189,
12,
5169,
4164,
6714,
18,
72,
1236,
8636,
16,
365,
18,
5761,
350,
13,
276,
18,
4661,
1435,
469,
30,
365,
18,
5771,
67,
343,
18183,
67,
2327,
1435,
365,
18,
2327,
3292,
2019,
3546,
273,
582,
11,
6327,
310,
11,
365,
18,
5205,
67,
343,
18183,
67,
2327,
1435,
365,
18,
19164,
1435,
365,
18,
10420,
67,
3427,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
787,
4777,
12,
2890,
4672,
309,
261,
2890,
18,
588,
67,
2019,
1435,
486,
316,
261,
89,
11,
13527,
2187,
582,
11,
6327,
310,
17,
8774,
3668,
6134,
578,
365,
18,
588,
67,
723,
1435,
480,
582,
11,
3682,
13039,
547,
11,
4672,
327,
365,
18,
19840,
4777,
273,
1053,
309,
389,
7813,
87,
18,
5332,
67,
856,
12,
2890,
18,
5761,
350,
4672,
276,
273,
1296,
18,
1685,
7109,
2189,
12,
5169,
4164,
6714,
18,
72,
1236,
8636,
16,
365,
18,
5761,
350,
13,
276,
18,
4661,
1435,
469,
30,
365,
18,
5771,
67,
343,
18183,
67,
2327,
1435,
365,
18,
2327,
3292,
2019,
3546,
273,
582,
11,
6327,
310,
11,
365,
18,
5205,
67,
343,
18183,
2
] |
signal.alarm(max(math.ceil(prevTimeout - passed), 1))
|
signal.alarm(int(max(math.ceil(prevTimeout - passed), 1)))
|
def alarmhandler(signum,stackframe): raise alarmExc("timeout expired")
|
5c228c4a7a2880defc1ea9809ca61b9010176abf /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/34/5c228c4a7a2880defc1ea9809ca61b9010176abf/pycompat.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
13721,
4176,
12,
2977,
379,
16,
3772,
3789,
4672,
1002,
13721,
29924,
2932,
4538,
7708,
7923,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
13721,
4176,
12,
2977,
379,
16,
3772,
3789,
4672,
1002,
13721,
29924,
2932,
4538,
7708,
7923,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
license_path = os.path.join(path, filename)
|
if filename.startswith('/'): license_path = os.path.join(os.getcwd(), filename[1:]) else: license_path = os.path.join(path, filename)
|
def ParseDir(path): """Examine a third_party/foo component and extract its metadata.""" # Parse metadata fields out of README.chromium. # We examine "LICENSE" for the license file by default. metadata = { "License File": "LICENSE", # Relative path to license text. "Name": None, # Short name (for header on about:credits). "URL": None, # Project home page. } if path in SPECIAL_CASES: metadata.update(SPECIAL_CASES[path]) else: # Try to find README.chromium. readme_path = os.path.join(path, 'README.chromium') if not os.path.exists(readme_path): raise LicenseError("missing README.chromium") for line in open(readme_path): line = line.strip() if not line: break for key in metadata.keys(): field = key + ": " if line.startswith(field): metadata[key] = line[len(field):] # Check that all expected metadata is present. for key, value in metadata.iteritems(): if not value: raise LicenseError("couldn't find '" + key + "' line " "in README.chromium or licences.py " "SPECIAL_CASES") # Check that the license file exists. for filename in (metadata["License File"], "COPYING"): license_path = os.path.join(path, filename) if os.path.exists(license_path): metadata["License File"] = filename break license_path = None if not license_path: raise LicenseError("License file not found. " "Either add a file named LICENSE, " "import upstream's COPYING if available, " "or add a 'License File:' line to README.chromium " "with the appropriate path.") return metadata
|
8283b10cafab170f6dfd7f266163aefc223892fe /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5060/8283b10cafab170f6dfd7f266163aefc223892fe/licenses.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2884,
1621,
12,
803,
4672,
3536,
424,
301,
558,
279,
12126,
67,
21214,
19,
11351,
1794,
471,
2608,
2097,
1982,
12123,
225,
468,
2884,
1982,
1466,
596,
434,
10746,
958,
18,
16298,
5077,
18,
468,
1660,
19707,
558,
315,
6065,
23396,
6,
364,
326,
8630,
585,
635,
805,
18,
1982,
273,
288,
315,
13211,
1387,
6877,
315,
6065,
23396,
3113,
225,
468,
19873,
589,
358,
8630,
977,
18,
315,
461,
6877,
599,
16,
9079,
468,
7925,
508,
261,
1884,
1446,
603,
2973,
30,
20610,
1282,
2934,
315,
1785,
6877,
599,
16,
7734,
468,
5420,
6382,
1363,
18,
289,
225,
309,
589,
316,
22872,
6365,
67,
13415,
55,
30,
1982,
18,
2725,
12,
13847,
6365,
67,
13415,
55,
63,
803,
5717,
469,
30,
468,
6161,
358,
1104,
10746,
958,
18,
16298,
5077,
18,
24778,
67,
803,
273,
1140,
18,
803,
18,
5701,
12,
803,
16,
296,
6949,
958,
18,
16298,
5077,
6134,
309,
486,
1140,
18,
803,
18,
1808,
12,
896,
3501,
67,
803,
4672,
1002,
16832,
668,
2932,
7337,
10746,
958,
18,
16298,
5077,
7923,
225,
364,
980,
316,
1696,
12,
896,
3501,
67,
803,
4672,
980,
273,
980,
18,
6406,
1435,
309,
486,
980,
30,
898,
364,
498,
316,
1982,
18,
2452,
13332,
652,
273,
498,
397,
6398,
315,
309,
980,
18,
17514,
1918,
12,
1518,
4672,
1982,
63,
856,
65,
273,
980,
63,
1897,
12,
1518,
4672,
65,
225,
468,
2073,
716,
777,
2665,
1982,
353,
3430,
18,
364,
498,
16,
460,
316,
1982,
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,
2884,
1621,
12,
803,
4672,
3536,
424,
301,
558,
279,
12126,
67,
21214,
19,
11351,
1794,
471,
2608,
2097,
1982,
12123,
225,
468,
2884,
1982,
1466,
596,
434,
10746,
958,
18,
16298,
5077,
18,
468,
1660,
19707,
558,
315,
6065,
23396,
6,
364,
326,
8630,
585,
635,
805,
18,
1982,
273,
288,
315,
13211,
1387,
6877,
315,
6065,
23396,
3113,
225,
468,
19873,
589,
358,
8630,
977,
18,
315,
461,
6877,
599,
16,
9079,
468,
7925,
508,
261,
1884,
1446,
603,
2973,
30,
20610,
1282,
2934,
315,
1785,
6877,
599,
16,
7734,
468,
5420,
6382,
1363,
18,
289,
225,
309,
589,
316,
22872,
6365,
67,
13415,
55,
30,
1982,
18,
2725,
12,
13847,
6365,
67,
13415,
55,
63,
2
] |
cr = db.cursor()
|
def list(self): db = sql_db.db_connect('template1') cr = db.cursor() try: try: cr = db.cursor() db_user = tools.config["db_user"] if not db_user and os.name == 'posix': import pwd db_user = pwd.getpwuid(os.getuid())[0] if not db_user: cr.execute("select decode(usename, 'escape') from pg_user where usesysid=(select datdba from pg_database where datname=%s)", (tools.config["db_name"],)) res = cr.fetchone() db_user = res and str(res[0]) if db_user: cr.execute("select decode(datname, 'escape') from pg_database where datdba=(select usesysid from pg_user where usename=%s) and datname not in ('template0', 'template1', 'postgres')", (db_user,)) else: cr.execute("select decode(datname, 'escape') from pg_database where datname not in('template0', 'template1','postgres')") res = [str(name) for (name,) in cr.fetchall()] except: res = [] finally: cr.close() sql_db.close_db('template1') res.sort() return res
|
dbdd4c582ec44f0cc8ce5522a1b0d6d71d1d6536 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/dbdd4c582ec44f0cc8ce5522a1b0d6d71d1d6536/web_services.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
666,
12,
2890,
4672,
1319,
273,
1847,
67,
1966,
18,
1966,
67,
3612,
2668,
3202,
21,
6134,
775,
30,
775,
30,
1319,
67,
1355,
273,
8513,
18,
1425,
9614,
1966,
67,
1355,
11929,
309,
486,
1319,
67,
1355,
471,
1140,
18,
529,
422,
296,
24463,
4278,
1930,
14720,
1319,
67,
1355,
273,
14720,
18,
588,
14921,
1911,
12,
538,
18,
588,
1911,
10756,
63,
20,
65,
309,
486,
1319,
67,
1355,
30,
4422,
18,
8837,
2932,
4025,
2495,
12,
407,
1069,
16,
296,
6939,
6134,
628,
7184,
67,
1355,
1625,
4692,
1900,
350,
28657,
4025,
1150,
1966,
69,
628,
7184,
67,
6231,
1625,
1150,
529,
5095,
87,
2225,
16,
261,
6642,
18,
1425,
9614,
1966,
67,
529,
6,
6487,
3719,
400,
273,
4422,
18,
5754,
476,
1435,
1319,
67,
1355,
273,
400,
471,
609,
12,
455,
63,
20,
5717,
309,
1319,
67,
1355,
30,
4422,
18,
8837,
2932,
4025,
2495,
12,
3404,
529,
16,
296,
6939,
6134,
628,
7184,
67,
6231,
1625,
1150,
1966,
69,
28657,
4025,
4692,
1900,
350,
628,
7184,
67,
1355,
1625,
584,
1069,
5095,
87,
13,
471,
1150,
529,
486,
316,
7707,
3202,
20,
2187,
296,
3202,
21,
2187,
296,
2767,
14107,
23291,
16,
261,
1966,
67,
1355,
16,
3719,
469,
30,
4422,
18,
8837,
2932,
4025,
2495,
12,
3404,
529,
16,
296,
6939,
6134,
628,
7184,
67,
6231,
1625,
1150,
529,
486,
316,
2668,
3202,
20,
2187,
296,
3202,
21,
17023,
2767,
14107,
23291,
13,
400,
273,
306,
701,
12,
529,
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,
666,
12,
2890,
4672,
1319,
273,
1847,
67,
1966,
18,
1966,
67,
3612,
2668,
3202,
21,
6134,
775,
30,
775,
30,
1319,
67,
1355,
273,
8513,
18,
1425,
9614,
1966,
67,
1355,
11929,
309,
486,
1319,
67,
1355,
471,
1140,
18,
529,
422,
296,
24463,
4278,
1930,
14720,
1319,
67,
1355,
273,
14720,
18,
588,
14921,
1911,
12,
538,
18,
588,
1911,
10756,
63,
20,
65,
309,
486,
1319,
67,
1355,
30,
4422,
18,
8837,
2932,
4025,
2495,
12,
407,
1069,
16,
296,
6939,
6134,
628,
7184,
67,
1355,
1625,
4692,
1900,
350,
28657,
4025,
1150,
1966,
69,
628,
7184,
67,
6231,
1625,
1150,
529,
5095,
87,
2225,
16,
261,
6642,
18,
1425,
9614,
1966,
67,
529,
6,
2
] |
|
def print_decls(decldict):
|
def print_decls(decldict, value):
|
def print_decls(decldict): for t, d in decldict.items(): d = d.keys() if not d: continue d.sort() print 'syn keyword %s%s %s' % (syntax_name, normalize(t), ' '.join(d))
|
f7d9779be336dd165ada7dd3923f3f7d87d4a728 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6171/f7d9779be336dd165ada7dd3923f3f7d87d4a728/vim-syn-gen.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1172,
67,
323,
6429,
12,
8840,
1576,
16,
460,
4672,
364,
268,
16,
302,
316,
3496,
1576,
18,
3319,
13332,
302,
273,
302,
18,
2452,
1435,
309,
486,
302,
30,
1324,
302,
18,
3804,
1435,
1172,
296,
11982,
4932,
738,
87,
9,
87,
738,
87,
11,
738,
261,
14308,
67,
529,
16,
3883,
12,
88,
3631,
296,
2418,
5701,
12,
72,
3719,
225,
2,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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1172,
67,
323,
6429,
12,
8840,
1576,
16,
460,
4672,
364,
268,
16,
302,
316,
3496,
1576,
18,
3319,
13332,
302,
273,
302,
18,
2452,
1435,
309,
486,
302,
30,
1324,
302,
18,
3804,
1435,
1172,
296,
11982,
4932,
738,
87,
9,
87,
738,
87,
11,
738,
261,
14308,
67,
529,
16,
3883,
12,
88,
3631,
296,
2418,
5701,
12,
72,
3719,
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
] |
elif UName == "osf1":
|
elif UName == "osf1":
|
def GetVersion(Key): # # Only read the file if an environment variable is "missing" (they # usually all are, ok), and only read it once. # #print("WriteVariablesIntoEnvironment:3") Value = Versions.get(Key) if Value: return Value # # CM3VERSION d5.7.1 # CM3VERSIONNUM 050701 # CM3LASTCHANGED 2009-01-21 # RegExp = re.compile("(" + "|".join(Versions.keys()) + ") (.+)$", re.IGNORECASE) ShFilePath = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "version") for Line in open(ShFilePath): Match = RegExp.match(Line) if Match: MatchKey = Match.group(1) # # We are here because one of them wasn't found, but we should be # sure only to overwrite what we don't have. # if not Versions[MatchKey]: Value = Match.group(2) Versions[MatchKey] = Value exec("%s = \"%s\"" % (MatchKey, Value), locals(), globals()) # # Make sure we found every key in the file (at least those # not defined in the environment) # MissingKey = None for Item in Versions.iteritems(): #print(Item) if Item[1] is None: MissingKey = Item[0] File = __file__ sys.stderr.write("%(File)s: %(MissingKey)s not found in %(ShFilePath)s\n" % vars()) if MissingKey: sys.exit(1) return Versions.get(Key)
|
a5382390fc1645f62582e9440bae90e340b3d767 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9328/a5382390fc1645f62582e9440bae90e340b3d767/pylib.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
968,
1444,
12,
653,
4672,
468,
468,
5098,
855,
326,
585,
309,
392,
3330,
2190,
353,
315,
7337,
6,
261,
451,
402,
468,
11234,
777,
854,
16,
1529,
3631,
471,
1338,
855,
518,
3647,
18,
468,
468,
1188,
2932,
3067,
6158,
5952,
5494,
30,
23,
7923,
1445,
273,
28375,
18,
588,
12,
653,
13,
309,
1445,
30,
327,
1445,
468,
468,
15871,
23,
5757,
302,
25,
18,
27,
18,
21,
468,
15871,
23,
5757,
6069,
374,
3361,
27,
1611,
468,
15871,
23,
14378,
24435,
4044,
29,
17,
1611,
17,
5340,
468,
10679,
273,
283,
18,
11100,
2932,
2932,
397,
11747,
9654,
5701,
12,
5940,
18,
2452,
10756,
397,
9369,
261,
18,
6975,
8,
3113,
283,
18,
20118,
13415,
13,
2638,
5598,
273,
1140,
18,
803,
18,
5701,
12,
538,
18,
803,
18,
12287,
12,
538,
18,
803,
18,
12287,
12,
538,
18,
803,
18,
5113,
803,
12,
972,
768,
972,
3719,
3631,
315,
1589,
7923,
364,
5377,
316,
1696,
12,
1555,
5598,
4672,
4639,
273,
10679,
18,
1916,
12,
1670,
13,
309,
4639,
30,
4639,
653,
273,
4639,
18,
1655,
12,
21,
13,
468,
468,
1660,
854,
2674,
2724,
1245,
434,
2182,
14487,
1404,
1392,
16,
1496,
732,
1410,
506,
468,
3071,
1338,
358,
6156,
4121,
732,
2727,
1404,
1240,
18,
468,
309,
486,
28375,
63,
2060,
653,
14542,
1445,
273,
4639,
18,
1655,
12,
22,
13,
28375,
63,
2060,
653,
65,
273,
1445,
1196,
27188,
87,
273,
22049,
87,
8530,
738,
261,
2060,
653,
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,
968,
1444,
12,
653,
4672,
468,
468,
5098,
855,
326,
585,
309,
392,
3330,
2190,
353,
315,
7337,
6,
261,
451,
402,
468,
11234,
777,
854,
16,
1529,
3631,
471,
1338,
855,
518,
3647,
18,
468,
468,
1188,
2932,
3067,
6158,
5952,
5494,
30,
23,
7923,
1445,
273,
28375,
18,
588,
12,
653,
13,
309,
1445,
30,
327,
1445,
468,
468,
15871,
23,
5757,
302,
25,
18,
27,
18,
21,
468,
15871,
23,
5757,
6069,
374,
3361,
27,
1611,
468,
15871,
23,
14378,
24435,
4044,
29,
17,
1611,
17,
5340,
468,
10679,
273,
283,
18,
11100,
2932,
2932,
397,
11747,
9654,
5701,
12,
5940,
18,
2452,
10756,
397,
9369,
261,
18,
6975,
8,
3113,
283,
18,
20118,
13415,
2
] |
self.assertEqual(sys.exc_info()[0], 'OverflowError')
|
self.assertEqual(sys.exc_info()[0], OverflowError)
|
def _raise_during_standard_error_message(*args, **kw): raise ZeroDivisionError('testing')
|
706b2a37f5c717c21c45c27fefdb17762443caf2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9658/706b2a37f5c717c21c45c27fefdb17762443caf2/testSimpleItem.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
11628,
67,
72,
4017,
67,
10005,
67,
1636,
67,
2150,
30857,
1968,
16,
2826,
9987,
4672,
1002,
12744,
28223,
668,
2668,
3813,
310,
6134,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
11628,
67,
72,
4017,
67,
10005,
67,
1636,
67,
2150,
30857,
1968,
16,
2826,
9987,
4672,
1002,
12744,
28223,
668,
2668,
3813,
310,
6134,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if data[f] != False:
|
if data[f]: data[f].sort()
|
def copy_data(self, cr, uid, id, default=None, context=None): """ Copy given record's data with all its fields values
|
01f2d0c0db3743d0f4c0b2f6e774549050434cc2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/01f2d0c0db3743d0f4c0b2f6e774549050434cc2/orm.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1610,
67,
892,
12,
2890,
16,
4422,
16,
4555,
16,
612,
16,
805,
33,
7036,
16,
819,
33,
7036,
4672,
3536,
5631,
864,
1409,
1807,
501,
598,
777,
2097,
1466,
924,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1610,
67,
892,
12,
2890,
16,
4422,
16,
4555,
16,
612,
16,
805,
33,
7036,
16,
819,
33,
7036,
4672,
3536,
5631,
864,
1409,
1807,
501,
598,
777,
2097,
1466,
924,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
console.stdoutln("NOTE: Skipping Jmol-viewer section")
|
console.stdoutln("NOTE: Skipping Jmol-viewer section")
|
def html_tls_graph_path(self, chain, ntls): """Generates the HTML table describing the path (set of tls groups) for the given number of segments(h, or ntls) """ ## class HTMLReport() cpartition = chain.partition_collection.get_chain_partition(ntls) if cpartition == None: return None
|
80aaf2a14dfcc5b684aad61f8ca72e81b353162c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10674/80aaf2a14dfcc5b684aad61f8ca72e81b353162c/html.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1729,
67,
17116,
67,
4660,
67,
803,
12,
2890,
16,
2687,
16,
9513,
3251,
4672,
3536,
6653,
326,
3982,
1014,
16868,
326,
589,
261,
542,
434,
6871,
3252,
13,
364,
326,
864,
1300,
434,
5155,
12,
76,
16,
578,
9513,
3251,
13,
3536,
7541,
667,
3982,
4820,
1435,
276,
10534,
273,
2687,
18,
10534,
67,
5548,
18,
588,
67,
5639,
67,
10534,
12,
496,
3251,
13,
309,
276,
10534,
422,
599,
30,
327,
599,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1729,
67,
17116,
67,
4660,
67,
803,
12,
2890,
16,
2687,
16,
9513,
3251,
4672,
3536,
6653,
326,
3982,
1014,
16868,
326,
589,
261,
542,
434,
6871,
3252,
13,
364,
326,
864,
1300,
434,
5155,
12,
76,
16,
578,
9513,
3251,
13,
3536,
7541,
667,
3982,
4820,
1435,
276,
10534,
273,
2687,
18,
10534,
67,
5548,
18,
588,
67,
5639,
67,
10534,
12,
496,
3251,
13,
309,
276,
10534,
422,
599,
30,
327,
599,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if calname == "":
|
if calname is None:
|
def importProcess(self, text, extension=None, item=None, changes=None, previousView=None, updateCallback=None): # the item parameter is so that a share item can be passed in for us # to populate.
|
c4fe9d0f1a7be58d33664be3c6eb832fd34a787d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/c4fe9d0f1a7be58d33664be3c6eb832fd34a787d/ICalendar.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1930,
2227,
12,
2890,
16,
977,
16,
2710,
33,
7036,
16,
761,
33,
7036,
16,
3478,
33,
7036,
16,
2416,
1767,
33,
7036,
16,
1089,
2428,
33,
7036,
4672,
468,
326,
761,
1569,
353,
1427,
716,
279,
7433,
761,
848,
506,
2275,
316,
364,
584,
468,
358,
6490,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1930,
2227,
12,
2890,
16,
977,
16,
2710,
33,
7036,
16,
761,
33,
7036,
16,
3478,
33,
7036,
16,
2416,
1767,
33,
7036,
16,
1089,
2428,
33,
7036,
4672,
468,
326,
761,
1569,
353,
1427,
716,
279,
7433,
761,
848,
506,
2275,
316,
364,
584,
468,
358,
6490,
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
] |
schedIdList += " " + \ str( job.runningJob['schedulerId'] ).strip() command = "glite-wms-job-cancel --json --noint " + schedIdList out, ret = self.ExecuteCommand( self.proxyString + command ) if ret != 0 : raise SchedulerError('error executing glite-wms-job-cancel', out) elif ret == 0 and out.find("result: success") == -1 : raise SchedulerError('error', out)
|
jobsToKill.append(str( job.runningJob['schedulerId'] ).strip()) chunk = lambda ulist, step: map(lambda i: ulist[i:i+step], xrange(0, len(ulist), step)) lljobs = chunk(jobsToKill, self.killThreshold) for x in lljobs : schedIdList = ' '.join(x) command = "glite-wms-job-cancel --json --noint " + schedIdList out, ret = self.ExecuteCommand( self.proxyString + command ) if ret != 0 : raise SchedulerError('error executing glite-wms-job-cancel', out) elif ret == 0 and out.find("result: success") == -1 : raise SchedulerError('error', out) return 0
|
def kill( self, obj ): """ kill job """ # the object passed is a job if type(obj) == Job and self.valid( obj.runningJob ): # check for the RunningJob integrity schedIdList = str( obj.runningJob['schedulerId'] ).strip() # the object passed is a Task elif type(obj) == Task : schedIdList = "" for job in obj.jobs: if not self.valid( job.runningJob ): continue schedIdList += " " + \ str( job.runningJob['schedulerId'] ).strip() command = "glite-wms-job-cancel --json --noint " + schedIdList out, ret = self.ExecuteCommand( self.proxyString + command ) if ret != 0 : raise SchedulerError('error executing glite-wms-job-cancel', out) elif ret == 0 and out.find("result: success") == -1 : raise SchedulerError('error', out)
|
53423e453953da739f4a02830391dc962d257904 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8886/53423e453953da739f4a02830391dc962d257904/SchedulerGLite.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8673,
12,
365,
16,
1081,
262,
30,
3536,
8673,
1719,
3536,
225,
468,
326,
733,
2275,
353,
279,
1719,
309,
618,
12,
2603,
13,
422,
3956,
471,
365,
18,
877,
12,
1081,
18,
8704,
2278,
262,
30,
225,
468,
866,
364,
326,
20480,
2278,
24425,
23964,
22117,
273,
609,
12,
1081,
18,
8704,
2278,
3292,
19972,
548,
3546,
262,
18,
6406,
1435,
225,
468,
326,
733,
2275,
353,
279,
3837,
1327,
618,
12,
2603,
13,
422,
3837,
294,
225,
23964,
22117,
273,
1408,
364,
1719,
316,
1081,
18,
10088,
30,
309,
486,
365,
18,
877,
12,
1719,
18,
8704,
2278,
262,
30,
1324,
23964,
22117,
1011,
315,
315,
397,
521,
609,
12,
1719,
18,
8704,
2278,
3292,
19972,
548,
3546,
262,
18,
6406,
1435,
225,
1296,
273,
315,
7043,
1137,
17,
91,
959,
17,
4688,
17,
10996,
1493,
1977,
1493,
82,
763,
315,
397,
23964,
22117,
225,
596,
16,
325,
273,
365,
18,
5289,
2189,
12,
365,
18,
5656,
780,
397,
1296,
262,
225,
309,
325,
480,
374,
294,
1002,
12620,
668,
2668,
1636,
11274,
5118,
1137,
17,
91,
959,
17,
4688,
17,
10996,
2187,
596,
13,
1327,
325,
422,
374,
471,
596,
18,
4720,
2932,
2088,
30,
2216,
7923,
422,
300,
21,
294,
1002,
12620,
668,
2668,
1636,
2187,
596,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8673,
12,
365,
16,
1081,
262,
30,
3536,
8673,
1719,
3536,
225,
468,
326,
733,
2275,
353,
279,
1719,
309,
618,
12,
2603,
13,
422,
3956,
471,
365,
18,
877,
12,
1081,
18,
8704,
2278,
262,
30,
225,
468,
866,
364,
326,
20480,
2278,
24425,
23964,
22117,
273,
609,
12,
1081,
18,
8704,
2278,
3292,
19972,
548,
3546,
262,
18,
6406,
1435,
225,
468,
326,
733,
2275,
353,
279,
3837,
1327,
618,
12,
2603,
13,
422,
3837,
294,
225,
23964,
22117,
273,
1408,
364,
1719,
316,
1081,
18,
10088,
30,
309,
486,
365,
18,
877,
12,
1719,
18,
8704,
2278,
262,
30,
1324,
23964,
22117,
1011,
315,
315,
397,
521,
609,
12,
1719,
18,
8704,
2278,
3292,
19972,
2
] |
f = sqrt(distnorm/sum)
|
f = sqrt(distnorm/max(sum,1e-6))
|
def LSMT(self): # optimize the distance transformation # build vector o effect = 0 self.getDistance() o = [] for i in xrange(1,self.n): for j in xrange(i): o.append((self.originalDistances[i,j],(i,j))) o.sort(_mycompare) # find the ties in o, and construct the d vector sorting in order within ties d = [] td = [] uv = [] # numbers of consecutively tied o values (i,j) = o[0][1] distnorm = self.projectedDistances[i,j]*self.projectedDistances[i,j] td = [self.projectedDistances[i,j]] # fetch distance for l in xrange(1,len(o)): # copy now sorted distances in an array # but sort distances within a tied o (i,j) = o[l][1] cd = self.projectedDistances[i,j] distnorm += self.projectedDistances[i,j]*self.projectedDistances[i,j] if o[l][0] != o[l-1][0]: # differing value, flush sum = reduce(lambda x,y:x+y,td)+0.0 d.append([sum,len(td),sum/len(td),td]) td = [] td.append(cd) sum = reduce(lambda x,y:x+y,td)+0.0 d.append([sum,len(td),sum/len(td),td]) #### # keep merging non-monotonous areas in d monotony = 0 while not monotony and len(d) > 1: monotony = 1 pi = 0 # index n = 1 # n-areas nd = [] r = d[0] # current area for i in range(1,len(d)): tr = d[i] if r[2]>=tr[2]: monotony = 0 effect = 1 r[0] += tr[0] r[1] += tr[1] r[2] = tr[0]/tr[1] r[3] += tr[3] else: nd.append(r) r = tr nd.append(r) d = nd # normalizing multiplier sum = 0.0 for i in d: sum += i[2]*i[2]*i[1] f = sqrt(distnorm/sum) # transform O k = 0 for i in d: for j in range(i[1]): (ii,jj) = o[k][1] self.distances[ii,jj] = f*i[2] k += 1 assert(len(o) == k) self.freshD = 0 return effect
|
c474478c97cb0593e748e02c9775117c045b1180 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/c474478c97cb0593e748e02c9775117c045b1180/orngMDS.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
29204,
6152,
12,
2890,
4672,
468,
10979,
326,
3888,
8620,
468,
1361,
3806,
320,
5426,
273,
374,
365,
18,
588,
7200,
1435,
320,
273,
5378,
364,
277,
316,
12314,
12,
21,
16,
2890,
18,
82,
4672,
364,
525,
316,
12314,
12,
77,
4672,
320,
18,
6923,
12443,
2890,
18,
8830,
5133,
6872,
63,
77,
16,
78,
6487,
12,
77,
16,
78,
20349,
320,
18,
3804,
24899,
4811,
9877,
13,
468,
1104,
326,
268,
606,
316,
320,
16,
471,
4872,
326,
302,
3806,
9602,
316,
1353,
3470,
268,
606,
302,
273,
5378,
6655,
273,
5378,
14303,
273,
5378,
468,
5600,
434,
356,
15166,
4492,
268,
2092,
320,
924,
261,
77,
16,
78,
13,
273,
320,
63,
20,
6362,
21,
65,
2411,
7959,
273,
365,
18,
685,
6059,
5133,
6872,
63,
77,
16,
78,
5772,
2890,
18,
685,
6059,
5133,
6872,
63,
77,
16,
78,
65,
6655,
273,
306,
2890,
18,
685,
6059,
5133,
6872,
63,
77,
16,
78,
13563,
468,
2158,
3888,
364,
328,
316,
12314,
12,
21,
16,
1897,
12,
83,
3719,
30,
468,
1610,
2037,
3115,
12491,
316,
392,
526,
468,
1496,
1524,
12491,
3470,
279,
268,
2092,
320,
261,
77,
16,
78,
13,
273,
320,
63,
80,
6362,
21,
65,
7976,
273,
365,
18,
685,
6059,
5133,
6872,
63,
77,
16,
78,
65,
2411,
7959,
1011,
365,
18,
685,
6059,
5133,
6872,
63,
77,
16,
78,
5772,
2890,
18,
685,
6059,
5133,
6872,
63,
77,
16,
78,
65,
309,
320,
63,
80,
6362,
20,
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,
29204,
6152,
12,
2890,
4672,
468,
10979,
326,
3888,
8620,
468,
1361,
3806,
320,
5426,
273,
374,
365,
18,
588,
7200,
1435,
320,
273,
5378,
364,
277,
316,
12314,
12,
21,
16,
2890,
18,
82,
4672,
364,
525,
316,
12314,
12,
77,
4672,
320,
18,
6923,
12443,
2890,
18,
8830,
5133,
6872,
63,
77,
16,
78,
6487,
12,
77,
16,
78,
20349,
320,
18,
3804,
24899,
4811,
9877,
13,
468,
1104,
326,
268,
606,
316,
320,
16,
471,
4872,
326,
302,
3806,
9602,
316,
1353,
3470,
268,
606,
302,
273,
5378,
6655,
273,
5378,
14303,
273,
5378,
468,
5600,
434,
356,
15166,
4492,
268,
2092,
320,
924,
261,
77,
16,
78,
13,
273,
320,
63,
20,
6362,
21,
2
] |
vbox.pack_start(hbox, gtk.TRUE, gtk.TRUE, 0)
|
vbox.pack_start(hbox, True, True, 0)
|
def __init__(self): self.return_keyval = gtk.gdk.keyval_from_name("Return") self.left_keyval = gtk.gdk.keyval_from_name("Left") self.right_keyval = gtk.gdk.keyval_from_name("Right") self.up_keyval = gtk.gdk.keyval_from_name("Up") self.down_keyval = gtk.gdk.keyval_from_name("Down") self.backspace_keyval = gtk.gdk.keyval_from_name("BackSpace") self.delete_keyval = gtk.gdk.keyval_from_name("Delete") self.home_keyval = gtk.gdk.keyval_from_name("Home") self.end_keyval = gtk.gdk.keyval_from_name("End")
|
2744524bbe73c70a7af8961c0bcea5e15fbb0a13 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3867/2744524bbe73c70a7af8961c0bcea5e15fbb0a13/ipmigui.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
365,
18,
2463,
67,
856,
1125,
273,
22718,
18,
75,
2883,
18,
856,
1125,
67,
2080,
67,
529,
2932,
990,
7923,
365,
18,
4482,
67,
856,
1125,
273,
22718,
18,
75,
2883,
18,
856,
1125,
67,
2080,
67,
529,
2932,
3910,
7923,
365,
18,
4083,
67,
856,
1125,
273,
22718,
18,
75,
2883,
18,
856,
1125,
67,
2080,
67,
529,
2932,
4726,
7923,
365,
18,
416,
67,
856,
1125,
273,
22718,
18,
75,
2883,
18,
856,
1125,
67,
2080,
67,
529,
2932,
1211,
7923,
365,
18,
2378,
67,
856,
1125,
273,
22718,
18,
75,
2883,
18,
856,
1125,
67,
2080,
67,
529,
2932,
4164,
7923,
365,
18,
823,
2981,
67,
856,
1125,
273,
22718,
18,
75,
2883,
18,
856,
1125,
67,
2080,
67,
529,
2932,
2711,
3819,
7923,
365,
18,
3733,
67,
856,
1125,
273,
22718,
18,
75,
2883,
18,
856,
1125,
67,
2080,
67,
529,
2932,
2613,
7923,
365,
18,
8712,
67,
856,
1125,
273,
22718,
18,
75,
2883,
18,
856,
1125,
67,
2080,
67,
529,
2932,
8684,
7923,
365,
18,
409,
67,
856,
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,
2890,
4672,
365,
18,
2463,
67,
856,
1125,
273,
22718,
18,
75,
2883,
18,
856,
1125,
67,
2080,
67,
529,
2932,
990,
7923,
365,
18,
4482,
67,
856,
1125,
273,
22718,
18,
75,
2883,
18,
856,
1125,
67,
2080,
67,
529,
2932,
3910,
7923,
365,
18,
4083,
67,
856,
1125,
273,
22718,
18,
75,
2883,
18,
856,
1125,
67,
2080,
67,
529,
2932,
4726,
7923,
365,
18,
416,
67,
856,
1125,
273,
22718,
18,
75,
2883,
18,
856,
1125,
67,
2080,
67,
529,
2932,
1211,
7923,
365,
18,
2378,
67,
856,
1125,
273,
22718,
18,
75,
2883,
18,
856,
1125,
67,
2080,
67,
529,
2932,
4164,
7923,
365,
18,
823,
2981,
67,
856,
1125,
2
] |
mul1s rax, t1 mulel rax muleh ah, flags=(OF,CF)
|
mul1s rax, t1, flags=(OF,CF) mulel rax muleh ah
|
def macroop IMUL_B_M
|
b64d0bdeda1662091746c3695b4429fcc6f69342 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6787/b64d0bdeda1662091746c3695b4429fcc6f69342/multiply_and_divide.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11522,
556,
6246,
1506,
67,
38,
67,
49,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11522,
556,
6246,
1506,
67,
38,
67,
49,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 = [module.__filename__]
|
head, tail = os.path.split(module.__filename__) path = [head]
|
def reload(self, module, path=None): if path is None and hasattr(module, '__filename__'): path = [module.__filename__] return ihooks.ModuleImporter.reload(self, module, path)
|
9eca6c4d59803ed1f62627fa0024674267283d18 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/9eca6c4d59803ed1f62627fa0024674267283d18/rexec.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
7749,
12,
2890,
16,
1605,
16,
589,
33,
7036,
4672,
309,
589,
353,
599,
471,
3859,
12,
2978,
16,
4940,
3459,
7250,
4672,
910,
16,
5798,
273,
1140,
18,
803,
18,
4939,
12,
2978,
16186,
3459,
972,
13,
589,
273,
306,
1978,
65,
327,
277,
10468,
18,
3120,
21927,
18,
17517,
12,
2890,
16,
1605,
16,
589,
13,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
7749,
12,
2890,
16,
1605,
16,
589,
33,
7036,
4672,
309,
589,
353,
599,
471,
3859,
12,
2978,
16,
4940,
3459,
7250,
4672,
910,
16,
5798,
273,
1140,
18,
803,
18,
4939,
12,
2978,
16186,
3459,
972,
13,
589,
273,
306,
1978,
65,
327,
277,
10468,
18,
3120,
21927,
18,
17517,
12,
2890,
16,
1605,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (sys.platform == "win32"):
|
if (sys.platform != "win32"): CopyAllHeaders('panda/src/glxdisplay') else:
|
def CreatePandaVersionFiles(): version1=int(VERSION.split(".")[0]) version2=int(VERSION.split(".")[1]) version3=int(VERSION.split(".")[2]) nversion=version1*1000000+version2*1000+version3 pandaversion_h = PANDAVERSION_H.replace("VERSION1",str(version1)) pandaversion_h = pandaversion_h.replace("VERSION2",str(version2)) pandaversion_h = pandaversion_h.replace("VERSION3",str(version3)) pandaversion_h = pandaversion_h.replace("NVERSION",str(nversion)) checkpandaversion_cxx = CHECKPANDAVERSION_CXX.replace("VERSION1",str(version1)) checkpandaversion_cxx = checkpandaversion_cxx.replace("VERSION2",str(version2)) checkpandaversion_cxx = checkpandaversion_cxx.replace("VERSION3",str(version3)) checkpandaversion_cxx = checkpandaversion_cxx.replace("NVERSION",str(nversion)) checkpandaversion_h = CHECKPANDAVERSION_H.replace("VERSION1",str(version1)) checkpandaversion_h = checkpandaversion_h.replace("VERSION2",str(version2)) checkpandaversion_h = checkpandaversion_h.replace("VERSION3",str(version3)) checkpandaversion_h = checkpandaversion_h.replace("NVERSION",str(nversion)) ConditionalWriteFile('built/include/pandaVersion.h', pandaversion_h) ConditionalWriteFile('built/include/checkPandaVersion.cxx', checkpandaversion_cxx) ConditionalWriteFile('built/include/checkPandaVersion.h', checkpandaversion_h) ConditionalWriteFile("built/tmp/null.cxx","")
|
f7a6726c5099ebae926d5d09ee18a7f322e81784 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8543/f7a6726c5099ebae926d5d09ee18a7f322e81784/makepanda.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1788,
52,
464,
69,
1444,
2697,
13332,
1177,
21,
33,
474,
12,
5757,
18,
4939,
2932,
1199,
25146,
20,
5717,
1177,
22,
33,
474,
12,
5757,
18,
4939,
2932,
1199,
25146,
21,
5717,
1177,
23,
33,
474,
12,
5757,
18,
4939,
2932,
1199,
25146,
22,
5717,
290,
1589,
33,
1589,
21,
14,
21,
9449,
15,
1589,
22,
14,
18088,
15,
1589,
23,
225,
293,
464,
842,
722,
67,
76,
273,
453,
4307,
37,
5757,
67,
44,
18,
2079,
2932,
5757,
21,
3113,
701,
12,
1589,
21,
3719,
293,
464,
842,
722,
67,
76,
273,
293,
464,
842,
722,
67,
76,
18,
2079,
2932,
5757,
22,
3113,
701,
12,
1589,
22,
3719,
293,
464,
842,
722,
67,
76,
273,
293,
464,
842,
722,
67,
76,
18,
2079,
2932,
5757,
23,
3113,
701,
12,
1589,
23,
3719,
293,
464,
842,
722,
67,
76,
273,
293,
464,
842,
722,
67,
76,
18,
2079,
2932,
50,
5757,
3113,
701,
12,
82,
1589,
3719,
225,
866,
84,
464,
842,
722,
67,
71,
5279,
273,
14565,
52,
4307,
37,
5757,
67,
39,
5619,
18,
2079,
2932,
5757,
21,
3113,
701,
12,
1589,
21,
3719,
866,
84,
464,
842,
722,
67,
71,
5279,
273,
866,
84,
464,
842,
722,
67,
71,
5279,
18,
2079,
2932,
5757,
22,
3113,
701,
12,
1589,
22,
3719,
866,
84,
464,
842,
722,
67,
71,
5279,
273,
866,
84,
464,
842,
722,
67,
71,
5279,
18,
2079,
2932,
5757,
23,
3113,
701,
12,
1589,
23,
3719,
866,
84,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1788,
52,
464,
69,
1444,
2697,
13332,
1177,
21,
33,
474,
12,
5757,
18,
4939,
2932,
1199,
25146,
20,
5717,
1177,
22,
33,
474,
12,
5757,
18,
4939,
2932,
1199,
25146,
21,
5717,
1177,
23,
33,
474,
12,
5757,
18,
4939,
2932,
1199,
25146,
22,
5717,
290,
1589,
33,
1589,
21,
14,
21,
9449,
15,
1589,
22,
14,
18088,
15,
1589,
23,
225,
293,
464,
842,
722,
67,
76,
273,
453,
4307,
37,
5757,
67,
44,
18,
2079,
2932,
5757,
21,
3113,
701,
12,
1589,
21,
3719,
293,
464,
842,
722,
67,
76,
273,
293,
464,
842,
722,
67,
76,
18,
2079,
2932,
5757,
22,
3113,
701,
12,
1589,
22,
3719,
293,
464,
842,
722,
67,
76,
273,
2
] |
elif _isfunction(v) or _isclass(v):
|
elif _isfunction(v) or _isclass(v) or _ismethod(v):
|
def run__test__(self, d, name): """d, name -> Treat dict d like module.__test__.
|
5f8b0b1fd4801b4808223077643c24d41130b81e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/5f8b0b1fd4801b4808223077643c24d41130b81e/doctest.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
972,
3813,
972,
12,
2890,
16,
302,
16,
508,
4672,
3536,
72,
16,
508,
317,
26564,
2065,
302,
3007,
1605,
16186,
3813,
25648,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
972,
3813,
972,
12,
2890,
16,
302,
16,
508,
4672,
3536,
72,
16,
508,
317,
26564,
2065,
302,
3007,
1605,
16186,
3813,
25648,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
<unittest.TestResult run=3 errors=0 failures=3>
|
<unittest.TestResult run=3 errors=0 failures=2>
|
def test_DocFileSuite(): """We can test tests found in text files using a DocFileSuite. We create a suite by providing the names of one or more text files that include examples: >>> import unittest >>> suite = doctest.DocFileSuite('test_doctest.txt', ... 'test_doctest2.txt', ... 'test_doctest4.txt') >>> suite.run(unittest.TestResult()) <unittest.TestResult run=3 errors=0 failures=3> The test files are looked for in the directory containing the calling module. A package keyword argument can be provided to specify a different relative location. >>> import unittest >>> suite = doctest.DocFileSuite('test_doctest.txt', ... 'test_doctest2.txt', ... 'test_doctest4.txt', ... package='test') >>> suite.run(unittest.TestResult()) <unittest.TestResult run=3 errors=0 failures=3> '/' should be used as a path separator. It will be converted to a native separator at run time: >>> suite = doctest.DocFileSuite('../test/test_doctest.txt') >>> suite.run(unittest.TestResult()) <unittest.TestResult run=1 errors=0 failures=1> If DocFileSuite is used from an interactive session, then files are resolved relative to the directory of sys.argv[0]: >>> import new, os.path, test.test_doctest >>> save_argv = sys.argv >>> sys.argv = [test.test_doctest.__file__] >>> suite = doctest.DocFileSuite('test_doctest.txt', ... package=new.module('__main__')) >>> sys.argv = save_argv By setting `module_relative=False`, os-specific paths may be used (including absolute paths and paths relative to the working directory): >>> # Get the absolute path of the test package. >>> test_doctest_path = os.path.abspath(test.test_doctest.__file__) >>> test_pkg_path = os.path.split(test_doctest_path)[0] >>> # Use it to find the absolute path of test_doctest.txt. >>> test_file = os.path.join(test_pkg_path, 'test_doctest.txt') >>> suite = doctest.DocFileSuite(test_file, module_relative=False) >>> suite.run(unittest.TestResult()) <unittest.TestResult run=1 errors=0 failures=1> It is an error to specify `package` when `module_relative=False`: >>> suite = doctest.DocFileSuite(test_file, module_relative=False, ... package='test') Traceback (most recent call last): ValueError: Package may only be specified for module-relative paths. You can specify initial global variables: >>> suite = doctest.DocFileSuite('test_doctest.txt', ... 'test_doctest2.txt', ... 'test_doctest4.txt', ... globs={'favorite_color': 'blue'}) >>> suite.run(unittest.TestResult()) <unittest.TestResult run=3 errors=0 failures=2> In this case, we supplied a missing favorite color. You can provide doctest options: >>> suite = doctest.DocFileSuite('test_doctest.txt', ... 'test_doctest2.txt', ... 'test_doctest4.txt', ... optionflags=doctest.DONT_ACCEPT_BLANKLINE, ... globs={'favorite_color': 'blue'}) >>> suite.run(unittest.TestResult()) <unittest.TestResult run=3 errors=0 failures=3> And, you can provide setUp and tearDown functions: You can supply setUp and teatDoen functions: >>> def setUp(t): ... import test.test_doctest ... test.test_doctest.sillySetup = True >>> def tearDown(t): ... import test.test_doctest ... del test.test_doctest.sillySetup Here, we installed a silly variable that the test expects: >>> suite = doctest.DocFileSuite('test_doctest.txt', ... 'test_doctest2.txt', ... 'test_doctest4.txt', ... setUp=setUp, tearDown=tearDown) >>> suite.run(unittest.TestResult()) <unittest.TestResult run=3 errors=0 failures=2> But the tearDown restores sanity: >>> import test.test_doctest >>> test.test_doctest.sillySetup Traceback (most recent call last): ... AttributeError: 'module' object has no attribute 'sillySetup' The setUp and tearDown funtions are passed test objects. Here, we'll use a setUp function to set the favorite color in test_doctest.txt: >>> def setUp(test): ... test.globs['favorite_color'] = 'blue' >>> suite = doctest.DocFileSuite('test_doctest.txt', setUp=setUp) >>> suite.run(unittest.TestResult()) <unittest.TestResult run=1 errors=0 failures=0> Here, we didn't need to use a tearDown function because we modified the test globals. The test globals are automatically cleared for us after a test. Tests in a file run using `DocFileSuite` can also access the `__file__` global, which is set to the name of the file containing the tests: >>> suite = doctest.DocFileSuite('test_doctest3.txt') >>> suite.run(unittest.TestResult()) <unittest.TestResult run=1 errors=0 failures=0> If the tests contain non-ASCII characters, we have to specify which encoding the file is encoded with. We do so by using the `encoding` parameter: >>> suite = doctest.DocFileSuite('test_doctest.txt', ... 'test_doctest2.txt', ... 'test_doctest4.txt', ... encoding='utf-8') >>> suite.run(unittest.TestResult()) <unittest.TestResult run=3 errors=0 failures=2> """
|
b1a9f2772ba21f268a8164908714e5a106be50d1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/b1a9f2772ba21f268a8164908714e5a106be50d1/test_doctest.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
1759,
812,
13587,
13332,
3536,
3218,
848,
1842,
7434,
1392,
316,
977,
1390,
1450,
279,
3521,
812,
13587,
18,
225,
1660,
752,
279,
11371,
635,
17721,
326,
1257,
434,
1245,
578,
1898,
977,
1390,
716,
2341,
10991,
30,
225,
4080,
1930,
2836,
3813,
4080,
11371,
273,
31263,
395,
18,
1759,
812,
13587,
2668,
3813,
67,
2896,
299,
395,
18,
5830,
2187,
1372,
17311,
296,
3813,
67,
2896,
299,
395,
22,
18,
5830,
2187,
1372,
17311,
296,
3813,
67,
2896,
299,
395,
24,
18,
5830,
6134,
4080,
11371,
18,
2681,
12,
4873,
3813,
18,
4709,
1253,
10756,
411,
4873,
3813,
18,
4709,
1253,
1086,
33,
23,
1334,
33,
20,
11720,
33,
22,
34,
225,
1021,
1842,
1390,
854,
27321,
364,
316,
326,
1867,
4191,
326,
4440,
1605,
18,
225,
432,
2181,
4932,
1237,
848,
506,
2112,
358,
4800,
279,
3775,
3632,
2117,
18,
225,
4080,
1930,
2836,
3813,
4080,
11371,
273,
31263,
395,
18,
1759,
812,
13587,
2668,
3813,
67,
2896,
299,
395,
18,
5830,
2187,
1372,
17311,
296,
3813,
67,
2896,
299,
395,
22,
18,
5830,
2187,
1372,
17311,
296,
3813,
67,
2896,
299,
395,
24,
18,
5830,
2187,
1372,
17311,
2181,
2218,
3813,
6134,
4080,
11371,
18,
2681,
12,
4873,
3813,
18,
4709,
1253,
10756,
411,
4873,
3813,
18,
4709,
1253,
1086,
33,
23,
1334,
33,
20,
11720,
33,
22,
34,
225,
2023,
1410,
506,
1399,
487,
279,
589,
4182,
18,
225,
2597,
903,
506,
5970,
358,
279,
6448,
4182,
622,
1086,
813,
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,
1759,
812,
13587,
13332,
3536,
3218,
848,
1842,
7434,
1392,
316,
977,
1390,
1450,
279,
3521,
812,
13587,
18,
225,
1660,
752,
279,
11371,
635,
17721,
326,
1257,
434,
1245,
578,
1898,
977,
1390,
716,
2341,
10991,
30,
225,
4080,
1930,
2836,
3813,
4080,
11371,
273,
31263,
395,
18,
1759,
812,
13587,
2668,
3813,
67,
2896,
299,
395,
18,
5830,
2187,
1372,
17311,
296,
3813,
67,
2896,
299,
395,
22,
18,
5830,
2187,
1372,
17311,
296,
3813,
67,
2896,
299,
395,
24,
18,
5830,
6134,
4080,
11371,
18,
2681,
12,
4873,
3813,
18,
4709,
1253,
10756,
411,
4873,
3813,
18,
4709,
1253,
1086,
33,
23,
1334,
33,
20,
11720,
33,
22,
34,
225,
1021,
1842,
1390,
2
] |
path = os.path.join(self.configpath, LAYER_DIRS[layer])
|
path = os.path.join(self.mapServ_inst.configpath, LAYER_DIRS[layer])
|
def coord_to_path(self, tile_coord, layer): self.lock.acquire() path = os.path.join(self.configpath, LAYER_DIRS[layer]) path = fileUtils.check_dir(path) path = fileUtils.check_dir(path, '%d' % tile_coord[2]) path = fileUtils.check_dir(path, "%d" % (tile_coord[0] / 1024)) path = fileUtils.check_dir(path, "%d" % (tile_coord[0] % 1024)) path = fileUtils.check_dir(path, "%d" % (tile_coord[1] / 1024)) self.lock.release() return os.path.join(path, "%d.png" % (tile_coord[1] % 1024))
|
e47ed51cf02f70923536b0b3bfe9e89d6c1e5fbf /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5373/e47ed51cf02f70923536b0b3bfe9e89d6c1e5fbf/tilesRepoFS.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2745,
67,
869,
67,
803,
12,
2890,
16,
4769,
67,
5732,
16,
3018,
4672,
365,
18,
739,
18,
1077,
1039,
1435,
589,
273,
1140,
18,
803,
18,
5701,
12,
2890,
18,
1458,
827,
90,
67,
8591,
18,
1425,
803,
16,
25239,
654,
67,
4537,
55,
63,
6363,
5717,
589,
273,
585,
1989,
18,
1893,
67,
1214,
12,
803,
13,
589,
273,
585,
1989,
18,
1893,
67,
1214,
12,
803,
16,
1995,
72,
11,
738,
4769,
67,
5732,
63,
22,
5717,
589,
273,
585,
1989,
18,
1893,
67,
1214,
12,
803,
16,
2213,
72,
6,
738,
261,
15368,
67,
5732,
63,
20,
65,
342,
6250,
3719,
589,
273,
585,
1989,
18,
1893,
67,
1214,
12,
803,
16,
2213,
72,
6,
738,
261,
15368,
67,
5732,
63,
20,
65,
738,
6250,
3719,
589,
273,
585,
1989,
18,
1893,
67,
1214,
12,
803,
16,
2213,
72,
6,
738,
261,
15368,
67,
5732,
63,
21,
65,
342,
6250,
3719,
365,
18,
739,
18,
9340,
1435,
327,
1140,
18,
803,
18,
5701,
12,
803,
16,
2213,
72,
18,
6446,
6,
738,
261,
15368,
67,
5732,
63,
21,
65,
738,
6250,
3719,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
803,
18,
5701,
12,
2890,
18,
1458,
827,
90,
67,
8591,
18,
1425,
803,
16,
25239,
654,
67,
4537,
55,
63,
6363,
5717,
589,
273,
585,
1989,
18,
1893,
67,
1214,
12,
803,
13,
589,
273,
585,
1989,
18,
1893,
67,
1214,
12,
803,
16,
1995,
72,
11,
738,
4769,
67,
5732,
63,
22,
5717,
589,
273,
585,
1989,
18,
1893,
67,
1214,
12,
803,
16,
2213,
72,
6,
738,
261,
15368,
67,
5732,
63,
20,
65,
342,
6250,
3719,
589,
273,
585,
1989,
18,
1893,
67,
1214,
12,
803,
16,
2213,
72,
2
] |
return self.tk.call(self._w, 'info', 'right', index)
|
return self.tk.call(self._w, 'info', 'right', index)
|
def info_right(self, index):
|
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,
1123,
67,
4083,
12,
2890,
16,
770,
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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,
1652,
1123,
67,
4083,
12,
2890,
16,
770,
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
] |
r""" A simple periodic sequence. INPUT: n -- non negative integer OUTPUT: integer -- function value EXAMPLES: sage: a = sloane.A000035;a
|
def __init__(self): r"""
|
def _eval(self, n): return Integer(2*n)
|
69a199217d612e1c590af73e16003812c85b93ec /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/69a199217d612e1c590af73e16003812c85b93ec/sloane_functions.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
8622,
12,
2890,
16,
290,
4672,
327,
2144,
12,
22,
14,
82,
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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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,
389,
8622,
12,
2890,
16,
290,
4672,
327,
2144,
12,
22,
14,
82,
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,
-100,
-100,
-100
] |
outputs[-1:] = \
|
outputs.extend (
|
def copy_tree (src, dst, preserve_mode=1, preserve_times=1, preserve_symlinks=0, update=0, verbose=0, dry_run=0): """Copy an entire directory tree 'src' to a new location 'dst'. Both 'src' and 'dst' must be directory names. If 'src' is not a directory, raise DistutilsFileError. If 'dst' does not exist, it is created with 'mkpath()'. The end result of the copy is that every file in 'src' is copied to 'dst', and directories under 'src' are recursively copied to 'dst'. Return the list of files copied (under their output names) -- note that if 'update' is true, this might be less than the list of files considered. Return value is not affected by 'dry_run'. 'preserve_mode' and 'preserve_times' are the same as for 'copy_file'; note that they only apply to regular files, not to directories. If 'preserve_symlinks' is true, symlinks will be copied as symlinks (on platforms that support them!); otherwise (the default), the destination of the symlink will be copied. 'update' and 'verbose' are the same as for 'copy_file'.""" if not dry_run and not os.path.isdir (src): raise DistutilsFileError, \ "cannot copy tree %s: not a directory" % src try: names = os.listdir (src) except os.error, (errno, errstr): if dry_run: names = [] else: raise DistutilsFileError, \ "error listing files in %s: %s" % (src, errstr) if not dry_run: mkpath (dst, verbose=verbose) outputs = [] for n in names: src_name = os.path.join (src, n) dst_name = os.path.join (dst, n) if preserve_symlinks and os.path.islink (src_name): link_dest = os.readlink (src_name) if verbose: print "linking %s -> %s" % (dst_name, link_dest) if not dry_run: os.symlink (link_dest, dst_name) outputs.append (dst_name) elif os.path.isdir (src_name): outputs[-1:] = \ copy_tree (src_name, dst_name, preserve_mode, preserve_times, preserve_symlinks, update, verbose, dry_run) else: if (copy_file (src_name, dst_name, preserve_mode, preserve_times, update, verbose, dry_run)): outputs.append (dst_name) return outputs
|
f49afccb1be8414afed28dee04df060fdc754715 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/f49afccb1be8414afed28dee04df060fdc754715/util.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1610,
67,
3413,
261,
4816,
16,
3046,
16,
9420,
67,
3188,
33,
21,
16,
9420,
67,
8293,
33,
21,
16,
9420,
67,
21278,
87,
33,
20,
16,
1089,
33,
20,
16,
3988,
33,
20,
16,
10299,
67,
2681,
33,
20,
4672,
282,
3536,
2951,
392,
7278,
1867,
2151,
296,
4816,
11,
358,
279,
394,
2117,
296,
11057,
10332,
225,
19118,
296,
4816,
11,
471,
296,
11057,
11,
1297,
506,
1867,
1257,
18,
225,
971,
296,
4816,
11,
353,
486,
279,
1867,
16,
1002,
19893,
5471,
812,
668,
18,
225,
971,
296,
11057,
11,
1552,
486,
1005,
16,
518,
353,
2522,
598,
296,
24816,
803,
1435,
10332,
225,
1021,
679,
563,
434,
326,
1610,
353,
716,
3614,
585,
316,
296,
4816,
11,
353,
9268,
358,
296,
11057,
2187,
471,
6402,
3613,
296,
4816,
11,
854,
8536,
9268,
358,
296,
11057,
10332,
225,
2000,
326,
666,
434,
1390,
9268,
261,
9341,
3675,
876,
1257,
13,
1493,
4721,
716,
309,
296,
2725,
11,
353,
638,
16,
333,
4825,
506,
5242,
2353,
326,
666,
434,
1390,
7399,
18,
225,
2000,
460,
353,
486,
9844,
635,
296,
25011,
67,
2681,
10332,
225,
296,
27297,
67,
3188,
11,
471,
296,
27297,
67,
8293,
11,
854,
326,
1967,
487,
364,
296,
3530,
67,
768,
13506,
4721,
716,
2898,
1338,
2230,
358,
6736,
1390,
16,
486,
358,
6402,
18,
225,
971,
296,
27297,
67,
21278,
87,
11,
353,
638,
16,
23146,
903,
506,
9268,
487,
23146,
261,
265,
17422,
716,
2865,
2182,
5,
1769,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1610,
67,
3413,
261,
4816,
16,
3046,
16,
9420,
67,
3188,
33,
21,
16,
9420,
67,
8293,
33,
21,
16,
9420,
67,
21278,
87,
33,
20,
16,
1089,
33,
20,
16,
3988,
33,
20,
16,
10299,
67,
2681,
33,
20,
4672,
282,
3536,
2951,
392,
7278,
1867,
2151,
296,
4816,
11,
358,
279,
394,
2117,
296,
11057,
10332,
225,
19118,
296,
4816,
11,
471,
296,
11057,
11,
1297,
506,
1867,
1257,
18,
225,
971,
296,
4816,
11,
353,
486,
279,
1867,
16,
1002,
19893,
5471,
812,
668,
18,
225,
971,
296,
11057,
11,
1552,
486,
1005,
16,
518,
353,
2522,
598,
296,
24816,
803,
1435,
10332,
225,
1021,
679,
563,
434,
326,
1610,
353,
716,
3614,
585,
316,
2
] |
process_list = get_cmd_output('ps -e -o comm,user=').strip().split('\n')
|
process_list = commands.getoutput('ps -e -o comm,user=').strip().split('\n')
|
def testing_status() : server_name = 'rcssserver' server_user = '' process_list = get_cmd_output('ps -e -o comm,user=').strip().split('\n') process_list.pop(0) team_count_map = {} cmd_count_map = {} matched_cmds = {} for process in process_list : info = process.split() (cmd, user) = (info[0], info[1]) cmd_count_map[cmd] = 1 + cmd_count_map.get(cmd, 0) for pattern in team_name_map.keys() : if pattern.match(cmd) : matched_cmds[cmd] = 1 team_name = team_name_map[pattern] team_count_map[team_name] = 1 + team_count_map.get(team_name, 0) break if not server_user and cmd == server_name : server_user = user message = ' #rcssserver: ' if server_user : server_count = cmd_count_map[server_name] if len(team_count_map) <= 1 : count_cmd_map = {} sucess = False for cmd in cmd_count_map.keys() : count_cmd_map.setdefault(cmd_count_map[cmd], []).append(cmd) count_list = count_cmd_map.keys() count_list.sort() count_list.reverse() for count in count_list : for cmd in count_cmd_map[count] : if not matched_cmds.has_key(cmd) : team_count_map['[' + cmd + ']'] = cmd_count_map[cmd] if len(team_count_map) >= 2 : sucess = True break if sucess : break message += '%d, %s, (' % (server_count, server_user) for team in sorted(team_count_map.keys()) : message += '%s x %d, ' % (team, team_count_map[team]) message = message.rstrip(', ') + ')' else : message += '0' return message
|
004ed3b935e239e61feea17b4ad35f4c4ed06166 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/228/004ed3b935e239e61feea17b4ad35f4c4ed06166/client.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
7769,
67,
2327,
1435,
294,
1438,
67,
529,
273,
296,
1310,
1049,
3567,
11,
1438,
67,
1355,
273,
875,
225,
1207,
67,
1098,
273,
4364,
18,
588,
2844,
2668,
1121,
300,
73,
300,
83,
1543,
16,
1355,
2218,
2934,
6406,
7675,
4939,
2668,
64,
82,
6134,
1207,
67,
1098,
18,
5120,
12,
20,
13,
225,
5927,
67,
1883,
67,
1458,
273,
2618,
1797,
67,
1883,
67,
1458,
273,
2618,
4847,
67,
24680,
273,
2618,
225,
364,
1207,
316,
1207,
67,
1098,
294,
1123,
273,
1207,
18,
4939,
1435,
261,
4172,
16,
729,
13,
273,
261,
1376,
63,
20,
6487,
1123,
63,
21,
5717,
225,
1797,
67,
1883,
67,
1458,
63,
4172,
65,
273,
404,
397,
1797,
67,
1883,
67,
1458,
18,
588,
12,
4172,
16,
374,
13,
364,
1936,
316,
5927,
67,
529,
67,
1458,
18,
2452,
1435,
294,
309,
1936,
18,
1916,
12,
4172,
13,
294,
4847,
67,
24680,
63,
4172,
65,
273,
404,
5927,
67,
529,
273,
5927,
67,
529,
67,
1458,
63,
4951,
65,
5927,
67,
1883,
67,
1458,
63,
10035,
67,
529,
65,
273,
404,
397,
5927,
67,
1883,
67,
1458,
18,
588,
12,
10035,
67,
529,
16,
374,
13,
898,
225,
309,
486,
1438,
67,
1355,
471,
1797,
422,
1438,
67,
529,
294,
1438,
67,
1355,
273,
729,
225,
883,
273,
296,
468,
1310,
1049,
3567,
30,
296,
225,
309,
1438,
67,
1355,
294,
1438,
67,
1883,
273,
1797,
67,
1883,
67,
1458,
63,
3567,
67,
529,
65,
225,
309,
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,
7769,
67,
2327,
1435,
294,
1438,
67,
529,
273,
296,
1310,
1049,
3567,
11,
1438,
67,
1355,
273,
875,
225,
1207,
67,
1098,
273,
4364,
18,
588,
2844,
2668,
1121,
300,
73,
300,
83,
1543,
16,
1355,
2218,
2934,
6406,
7675,
4939,
2668,
64,
82,
6134,
1207,
67,
1098,
18,
5120,
12,
20,
13,
225,
5927,
67,
1883,
67,
1458,
273,
2618,
1797,
67,
1883,
67,
1458,
273,
2618,
4847,
67,
24680,
273,
2618,
225,
364,
1207,
316,
1207,
67,
1098,
294,
1123,
273,
1207,
18,
4939,
1435,
261,
4172,
16,
729,
13,
273,
261,
1376,
63,
20,
6487,
1123,
63,
21,
5717,
225,
1797,
67,
1883,
67,
1458,
63,
4172,
65,
273,
404,
397,
1797,
67,
1883,
2
] |
elif text.find('
|
elif text.find('
|
#enddef - closes a scope
|
0ae3bc473d70b671840d2febe0a653a31a4589b5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9355/0ae3bc473d70b671840d2febe0a653a31a4589b5/wmliterator.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
468,
409,
536,
300,
13445,
279,
2146,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
468,
409,
536,
300,
13445,
279,
2146,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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.enableCmdBtns() self.enableHistBtns()
|
self.enableCmdButtons() self.enableHistButtons()
|
def __init__(self, master, actor,
|
d1909c3750f356969ac52bbe45612907850f17e7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6354/d1909c3750f356969ac52bbe45612907850f17e7/GuideWdg.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
4171,
16,
8327,
16,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
4171,
16,
8327,
16,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
connection = MTurkConnection(operation.action)
|
connection = MTurkConnection(action)
|
def operation_execute(key): operation = datastore.get(key) if not operation.completed and not operation.error: connection = MTurkConnection(operation.action) try: operation.execute(connection) self.completed = datetime.now() except (BotoClientError, BotoServerError), response: self.error = response_error(response) self.put()
|
b4cc6abefee1ce6aef654df5be65743d01c92c4c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14392/b4cc6abefee1ce6aef654df5be65743d01c92c4c/main.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1674,
67,
8837,
12,
856,
4672,
1674,
273,
9290,
18,
588,
12,
856,
13,
225,
309,
486,
1674,
18,
13615,
471,
486,
1674,
18,
1636,
30,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1674,
67,
8837,
12,
856,
4672,
1674,
273,
9290,
18,
588,
12,
856,
13,
225,
309,
486,
1674,
18,
13615,
471,
486,
1674,
18,
1636,
30,
1459,
273,
22068,
20628,
1952,
12,
1128,
13,
225,
775,
30,
1674,
18,
8837,
12,
4071,
13,
225,
365,
18,
13615,
273,
3314,
18,
3338,
1435,
1335,
261,
38,
6302,
1227,
668,
16,
605,
6302,
8777,
3631,
766,
30,
365,
18,
1636,
273,
766,
67,
1636,
12,
2740,
13,
225,
365,
18,
458,
1435,
282,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
loader = importer.find_module(modname) if hasattr(loader,'get_source'):
|
try: loader = importer.find_module(modname) except SyntaxError: continue if hasattr(loader, 'get_source'):
|
def run(self, callback, key=None, completer=None, onerror=None): if key: key = key.lower() self.quit = False seen = {}
|
126c879b406f24363bdfccffa16e62acc695aea1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8546/126c879b406f24363bdfccffa16e62acc695aea1/pydoc.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
12,
2890,
16,
1348,
16,
498,
33,
7036,
16,
31848,
33,
7036,
16,
20991,
33,
7036,
4672,
309,
498,
30,
498,
273,
498,
18,
8167,
1435,
365,
18,
27176,
273,
1083,
5881,
273,
2618,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
12,
2890,
16,
1348,
16,
498,
33,
7036,
16,
31848,
33,
7036,
16,
20991,
33,
7036,
4672,
309,
498,
30,
498,
273,
498,
18,
8167,
1435,
365,
18,
27176,
273,
1083,
5881,
273,
2618,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
raise ValueError, 'You must provide a source address for this\
|
raise ValueError, 'You must provide a source address for this \
|
def __call__(self): recipients = [str(mail.strip()) for mail in \ self.element.recipients.split(',')] mailhost = getToolByName(aq_inner(self.context), "MailHost") if not mailhost: raise ComponentLookupError, 'You must have a Mailhost utility to \
|
d21e9ee976da48d9609790851a11196e38318d7a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12184/d21e9ee976da48d9609790851a11196e38318d7a/mail.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
1991,
972,
12,
2890,
4672,
12045,
273,
306,
701,
12,
4408,
18,
6406,
10756,
364,
4791,
316,
521,
365,
18,
2956,
18,
27925,
18,
4939,
12,
2187,
6134,
65,
4791,
2564,
273,
336,
6364,
5911,
12,
69,
85,
67,
7872,
12,
2890,
18,
2472,
3631,
315,
6759,
2594,
7923,
309,
486,
4791,
2564,
30,
1002,
5435,
6609,
668,
16,
296,
6225,
1297,
1240,
279,
11542,
2564,
12788,
358,
521,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
2564,
273,
336,
6364,
5911,
12,
69,
85,
67,
7872,
12,
2890,
18,
2472,
3631,
315,
6759,
2594,
7923,
309,
486,
4791,
2564,
30,
1002,
5435,
6609,
668,
16,
296,
6225,
1297,
1240,
279,
11542,
2564,
12788,
358,
521,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
and job.runningJob['status'] != 'SD': :
|
and job.runningJob['status'] != 'SD':
|
def query(self, obj, objType='node') : """ query status and eventually other scheduler related information """
|
c39edd21061a0424fe50fad47d6984792fe4bfcf /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8886/c39edd21061a0424fe50fad47d6984792fe4bfcf/Scheduler.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
843,
12,
2890,
16,
1081,
16,
30078,
2218,
2159,
6134,
294,
3536,
843,
1267,
471,
18011,
1308,
8129,
3746,
1779,
3536,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
843,
12,
2890,
16,
1081,
16,
30078,
2218,
2159,
6134,
294,
3536,
843,
1267,
471,
18011,
1308,
8129,
3746,
1779,
3536,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
print 'called Break'
|
def trapit(what): print 'TRAPPED', what what.trap(juice.UnhandledRemoteJuiceError)
|
e56dcf564dc442d95c85eb44f592b6672bad21ad /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8962/e56dcf564dc442d95c85eb44f592b6672bad21ad/test_q2q.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
23034,
305,
12,
23770,
4672,
1172,
296,
4349,
2203,
12120,
2187,
4121,
4121,
18,
27170,
12,
78,
89,
1812,
18,
26952,
5169,
46,
89,
1812,
668,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
23034,
305,
12,
23770,
4672,
1172,
296,
4349,
2203,
12120,
2187,
4121,
4121,
18,
27170,
12,
78,
89,
1812,
18,
26952,
5169,
46,
89,
1812,
668,
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
] |
|
self.isBusy = False
|
def onCompleted(self, links): self.sayTo(self.employer, "Build complete.") self.isBusy = False for k in links.keys(): self.sayTo(self.employer, k + ": " + links[k])
|
f0130d66ba28b8a109656ac4672968689759b937 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10496/f0130d66ba28b8a109656ac4672968689759b937/buildbot.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
603,
9556,
12,
2890,
16,
4716,
4672,
365,
18,
87,
528,
774,
12,
2890,
18,
351,
2817,
264,
16,
315,
3116,
3912,
1199,
13,
364,
417,
316,
4716,
18,
2452,
13332,
365,
18,
87,
528,
774,
12,
2890,
18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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
603,
9556,
12,
2890,
16,
4716,
4672,
365,
18,
87,
528,
774,
12,
2890,
18,
351,
2817,
264,
16,
315,
3116,
3912,
1199,
13,
364,
417,
316,
4716,
18,
2452,
13332,
365,
18,
87,
528,
774,
12,
2890,
18,
351,
2817,
264,
16,
417,
397,
6398,
315,
397,
4716,
63,
79,
5717,
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
] |
|
pass
|
raise NotImplementedError
|
def index_shuffle(self, ind): """Change the indices.
|
34282af38d23e10b103d48f60c68963923bb99f3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5735/34282af38d23e10b103d48f60c68963923bb99f3/constraints.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
770,
67,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
770,
67,
31980,
12,
2890,
16,
1547,
4672,
3536,
3043,
326,
4295,
18,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
path = path.replace('/', os.sep)
|
path = self._absnorm(path)
|
def wait_until_removed(self, path, timeout='1 minute'): """Waits until the given file or directory is removed.
|
4e92df2860c270b97129fb5577b1caec2faab8a2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6988/4e92df2860c270b97129fb5577b1caec2faab8a2/OperatingSystem.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2529,
67,
12198,
67,
14923,
12,
2890,
16,
589,
16,
2021,
2218,
21,
8044,
11,
4672,
3536,
26153,
3180,
326,
864,
585,
578,
1867,
353,
3723,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2529,
67,
12198,
67,
14923,
12,
2890,
16,
589,
16,
2021,
2218,
21,
8044,
11,
4672,
3536,
26153,
3180,
326,
864,
585,
578,
1867,
353,
3723,
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
] |
out += ch
|
out += chr(ord(ch))
|
def PyUnicode_EncodeUTF7(s, size, encodeSetO, encodeWhiteSpace, errors):
|
0e540b97b49394c1d38eed66d9b3eec5969d6c9a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/0e540b97b49394c1d38eed66d9b3eec5969d6c9a/unicodecodec.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4707,
16532,
67,
5509,
5159,
27,
12,
87,
16,
963,
16,
2017,
694,
51,
16,
2017,
23108,
16,
1334,
4672,
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,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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
semi = string.rfind(type, ';')
|
semi = type.rfind(';')
|
def open_data(self, url, data=None): """Use "data" URL.""" # ignore POSTed data # # syntax of data URLs: # dataurl := "data:" [ mediatype ] [ ";base64" ] "," data # mediatype := [ type "/" subtype ] *( ";" parameter ) # data := *urlchar # parameter := attribute "=" value import StringIO, mimetools, time try: [type, data] = string.split(url, ',', 1) except ValueError: raise IOError, ('data error', 'bad data URL') if not type: type = 'text/plain;charset=US-ASCII' semi = string.rfind(type, ';') if semi >= 0 and '=' not in type[semi:]: encoding = type[semi+1:] type = type[:semi] else: encoding = '' msg = [] msg.append('Date: %s'%time.strftime('%a, %d %b %Y %T GMT', time.gmtime(time.time()))) msg.append('Content-type: %s' % type) if encoding == 'base64': import base64 data = base64.decodestring(data) else: data = unquote(data) msg.append('Content-length: %d' % len(data)) msg.append('') msg.append(data) msg = string.join(msg, '\n') f = StringIO.StringIO(msg) headers = mimetools.Message(f, 0) f.fileno = None # needed for addinfourl return addinfourl(f, headers, url)
|
2a3596c7d04c9635576a712f85db07ce4de4bff2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/2a3596c7d04c9635576a712f85db07ce4de4bff2/urllib.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1696,
67,
892,
12,
2890,
16,
880,
16,
501,
33,
7036,
4672,
3536,
3727,
315,
892,
6,
1976,
12123,
468,
2305,
5485,
329,
501,
468,
468,
6279,
434,
501,
10414,
30,
468,
501,
718,
282,
519,
315,
892,
2773,
306,
25381,
308,
306,
13636,
1969,
1105,
6,
308,
5753,
501,
468,
25381,
519,
306,
618,
4016,
12308,
308,
380,
12,
11430,
1569,
262,
468,
501,
1377,
519,
380,
718,
3001,
468,
1569,
519,
1566,
9671,
460,
1930,
15777,
16,
20369,
278,
8192,
16,
813,
775,
30,
306,
723,
16,
501,
65,
273,
533,
18,
4939,
12,
718,
16,
2265,
2187,
404,
13,
1335,
2068,
30,
1002,
8340,
16,
7707,
892,
555,
2187,
296,
8759,
501,
1976,
6134,
309,
486,
618,
30,
618,
273,
296,
955,
19,
7446,
31,
9999,
33,
3378,
17,
13756,
11,
23161,
273,
618,
18,
86,
4720,
2668,
4359,
13,
309,
23161,
1545,
374,
471,
5214,
486,
316,
618,
63,
307,
9197,
30,
14542,
2688,
273,
618,
63,
307,
9197,
15,
21,
26894,
618,
273,
618,
10531,
307,
9197,
65,
469,
30,
2688,
273,
875,
1234,
273,
5378,
1234,
18,
6923,
2668,
1626,
30,
738,
87,
11,
9,
957,
18,
701,
9982,
29909,
69,
16,
738,
72,
738,
70,
738,
61,
738,
56,
21706,
2187,
813,
18,
75,
10838,
12,
957,
18,
957,
1435,
20349,
1234,
18,
6923,
2668,
1350,
17,
723,
30,
738,
87,
11,
738,
618,
13,
309,
2688,
422,
296,
1969,
1105,
4278,
1930,
1026,
1105,
501,
273,
1026,
1105,
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,
892,
12,
2890,
16,
880,
16,
501,
33,
7036,
4672,
3536,
3727,
315,
892,
6,
1976,
12123,
468,
2305,
5485,
329,
501,
468,
468,
6279,
434,
501,
10414,
30,
468,
501,
718,
282,
519,
315,
892,
2773,
306,
25381,
308,
306,
13636,
1969,
1105,
6,
308,
5753,
501,
468,
25381,
519,
306,
618,
4016,
12308,
308,
380,
12,
11430,
1569,
262,
468,
501,
1377,
519,
380,
718,
3001,
468,
1569,
519,
1566,
9671,
460,
1930,
15777,
16,
20369,
278,
8192,
16,
813,
775,
30,
306,
723,
16,
501,
65,
273,
533,
18,
4939,
12,
718,
16,
2265,
2187,
404,
13,
1335,
2068,
30,
1002,
8340,
16,
7707,
892,
555,
2187,
296,
8759,
501,
1976,
6134,
309,
2
] |
return False, "Cannot find block device %s" % (disk,)
|
_Fail("Cannot find block device %s", disk)
|
def BlockdevGrow(disk, amount): """Grow a stack of block devices. This function is called recursively, with the childrens being the first ones to resize. @type disk: L{objects.Disk} @param disk: the disk to be grown @rtype: (status, result) @return: a tuple with the status of the operation (True/False), and the errors message if status is False """ r_dev = _RecursiveFindBD(disk) if r_dev is None: return False, "Cannot find block device %s" % (disk,) try: r_dev.Grow(amount) except errors.BlockDeviceError, err: _Fail("Failed to grow block device: %s", err, exc=True) return True, None
|
afdc3985644be8d2b91d9f0e37dfda391a30d036 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7542/afdc3985644be8d2b91d9f0e37dfda391a30d036/backend.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3914,
5206,
30948,
12,
10863,
16,
3844,
4672,
3536,
30948,
279,
2110,
434,
1203,
7166,
18,
225,
1220,
445,
353,
2566,
8536,
16,
598,
326,
2325,
87,
3832,
326,
1122,
5945,
358,
7041,
18,
225,
632,
723,
4234,
30,
511,
95,
6911,
18,
6247,
97,
632,
891,
4234,
30,
326,
4234,
358,
506,
13334,
82,
632,
86,
723,
30,
261,
2327,
16,
563,
13,
632,
2463,
30,
279,
3193,
598,
326,
1267,
434,
326,
1674,
261,
5510,
19,
8381,
3631,
471,
326,
1334,
883,
309,
1267,
353,
1083,
225,
3536,
436,
67,
5206,
273,
389,
10483,
3125,
18096,
12,
10863,
13,
309,
436,
67,
5206,
353,
599,
30,
389,
3754,
2932,
4515,
1104,
1203,
2346,
738,
87,
3113,
4234,
13,
225,
775,
30,
436,
67,
5206,
18,
30948,
12,
8949,
13,
1335,
1334,
18,
1768,
3654,
668,
16,
393,
30,
389,
3754,
2932,
2925,
358,
13334,
1203,
2346,
30,
738,
87,
3113,
393,
16,
3533,
33,
5510,
13,
225,
327,
1053,
16,
599,
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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,
5945,
358,
7041,
18,
225,
632,
723,
4234,
30,
511,
95,
6911,
18,
6247,
97,
632,
891,
4234,
30,
326,
4234,
358,
506,
13334,
82,
632,
86,
723,
30,
261,
2327,
16,
563,
13,
632,
2463,
30,
279,
3193,
598,
326,
1267,
434,
326,
1674,
261,
5510,
19,
8381,
3631,
471,
326,
1334,
883,
309,
1267,
353,
1083,
225,
3536,
436,
67,
5206,
273,
389,
10483,
3125,
18096,
12,
10863,
13,
309,
436,
67,
5206,
353,
599,
30,
389,
3754,
2932,
4515,
1104,
1203,
2346,
738,
87,
3113,
2
] |
def __init__(self, toplot, xvals=None, yvals=None,
|
def __init__(self, data, xvals=None, yvals=None,
|
def __init__(self, toplot, xvals=None, yvals=None, binary=1, inline=_unset, **keyw): """GridData constructor.
|
57b7d171447e091edf5aff623b42289284f0cd78 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9569/57b7d171447e091edf5aff623b42289284f0cd78/__init__.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
501,
16,
619,
4524,
33,
7036,
16,
677,
4524,
33,
7036,
16,
3112,
33,
21,
16,
6370,
33,
67,
18579,
16,
2826,
856,
91,
4672,
3536,
6313,
751,
3885,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
501,
16,
619,
4524,
33,
7036,
16,
677,
4524,
33,
7036,
16,
3112,
33,
21,
16,
6370,
33,
67,
18579,
16,
2826,
856,
91,
4672,
3536,
6313,
751,
3885,
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
] |
iid = model.InvoiceItem(description='Penguin Dinner ticket (included in registraion)',
|
iid = model.InvoiceItem(description='Penguin Dinner ticket (included in registration)',
|
def _build_invoice(self): person = c.registration.person r = c.registration
|
4564a7b8c923eccde8041311a7f7d56b61a99834 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12856/4564a7b8c923eccde8041311a7f7d56b61a99834/registration.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
3510,
67,
16119,
12,
2890,
4672,
6175,
273,
276,
18,
14170,
18,
12479,
436,
273,
276,
18,
14170,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
3510,
67,
16119,
12,
2890,
4672,
6175,
273,
276,
18,
14170,
18,
12479,
436,
273,
276,
18,
14170,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
for base in (_HKEY_CLASSES_ROOT, _HKEY_LOCAL_MACHINE, _HKEY_CURRENT_USER, _HKEY_USERS):
|
for base in (HKEY_CLASSES_ROOT, HKEY_LOCAL_MACHINE, HKEY_CURRENT_USER, HKEY_USERS):
|
def get_msvc_paths (path, version='6.0', platform='x86'): """Get a list of devstudio directories (include, lib or path). Return a list of strings; will be empty list if unable to access the registry or appropriate registry keys not found.""" if not _can_read_reg: return [] L = [] if path=='lib': path= 'Library' path = string.upper(path + ' Dirs') K = ('Software\\Microsoft\\Devstudio\\%s\\' + 'Build System\\Components\\Platforms\\Win32 (%s)\\Directories') % \ (version,platform) for base in (_HKEY_CLASSES_ROOT, _HKEY_LOCAL_MACHINE, _HKEY_CURRENT_USER, _HKEY_USERS): try: k = _RegOpenKeyEx(base,K) i = 0 while 1: try: (p,v,t) = _RegEnumValue(k,i) if string.upper(p) == path: V = string.split(v,';') for v in V: if v == '' or v in L: continue L.append(v) break i = i + 1 except _RegError: break except _RegError: pass return L
|
f524abb944b7edf65acd200dfe2f4076696b42e3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/f524abb944b7edf65acd200dfe2f4076696b42e3/msvccompiler.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
959,
4227,
67,
4481,
261,
803,
16,
1177,
2218,
26,
18,
20,
2187,
4072,
2218,
92,
5292,
11,
4672,
3536,
967,
279,
666,
434,
4461,
334,
4484,
6402,
261,
6702,
16,
2561,
578,
589,
2934,
225,
2000,
279,
666,
434,
2064,
31,
903,
506,
1008,
666,
309,
13496,
358,
2006,
326,
4023,
578,
5505,
4023,
1311,
486,
1392,
12123,
225,
309,
486,
389,
4169,
67,
896,
67,
1574,
30,
327,
5378,
225,
511,
273,
5378,
309,
589,
18920,
2941,
4278,
589,
33,
296,
9313,
11,
589,
273,
533,
18,
5797,
12,
803,
397,
296,
8446,
87,
6134,
1475,
273,
7707,
21742,
1695,
22350,
1695,
8870,
334,
4484,
1695,
9,
87,
10471,
397,
296,
3116,
2332,
1695,
7171,
1695,
8201,
87,
1695,
18049,
1578,
6142,
87,
13,
1695,
13071,
6134,
738,
521,
261,
1589,
16,
9898,
13,
364,
1026,
316,
261,
44,
3297,
67,
27337,
67,
9185,
16,
670,
3297,
67,
14922,
67,
5535,
1792,
3740,
16,
670,
3297,
67,
15487,
67,
4714,
16,
670,
3297,
67,
30846,
4672,
775,
30,
417,
273,
389,
1617,
3678,
653,
424,
12,
1969,
16,
47,
13,
277,
273,
374,
1323,
404,
30,
775,
30,
261,
84,
16,
90,
16,
88,
13,
273,
389,
1617,
3572,
620,
12,
79,
16,
77,
13,
309,
533,
18,
5797,
12,
84,
13,
422,
589,
30,
776,
273,
533,
18,
4939,
12,
90,
11189,
4359,
13,
364,
331,
316,
776,
30,
309,
331,
422,
875,
578,
331,
316,
511,
30,
1324,
511,
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,
336,
67,
959,
4227,
67,
4481,
261,
803,
16,
1177,
2218,
26,
18,
20,
2187,
4072,
2218,
92,
5292,
11,
4672,
3536,
967,
279,
666,
434,
4461,
334,
4484,
6402,
261,
6702,
16,
2561,
578,
589,
2934,
225,
2000,
279,
666,
434,
2064,
31,
903,
506,
1008,
666,
309,
13496,
358,
2006,
326,
4023,
578,
5505,
4023,
1311,
486,
1392,
12123,
225,
309,
486,
389,
4169,
67,
896,
67,
1574,
30,
327,
5378,
225,
511,
273,
5378,
309,
589,
18920,
2941,
4278,
589,
33,
296,
9313,
11,
589,
273,
533,
18,
5797,
12,
803,
397,
296,
8446,
87,
6134,
1475,
273,
7707,
21742,
1695,
22350,
1695,
8870,
334,
4484,
1695,
9,
87,
10471,
397,
296,
3116,
2332,
1695,
2
] |
line = line[m.end() - 1:]
|
line = line[m.end(1):] elif empty: line = line[m.end(1):]
|
def subconvert(line, ofp, table, discards, autoclosing, knownempty, endchar=None): stack = [] while line: if line[0] == endchar and not stack: return line[1:] m = _comment_rx.match(line) if m: text = m.group(1) if text: ofp.write("(COMMENT\n") ofp.write("-%s\n" % encode(text)) ofp.write(")COMMENT\n") ofp.write("-\\n\n") else: ofp.write("-\\n\n") line = line[m.end():] continue m = _begin_env_rx.match(line) if m: # re-write to use the macro handler line = r"\%s%s" % (m.group(1), line[m.end():]) continue m =_end_env_rx.match(line) if m: # end of environment envname = m.group(1) if envname == "document": # special magic for n in stack[1:]: if n not in autoclosing: raise LaTeXFormatError("open element on stack: " + `n`) # should be more careful, but this is easier to code: stack = [] ofp.write(")document\n") elif envname == stack[-1]: ofp.write(")%s\n" % envname) del stack[-1] else:
|
fd9c2ca53cfbd9d2df1c1c71382345041d3849ae /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/fd9c2ca53cfbd9d2df1c1c71382345041d3849ae/latex2esis.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
720,
6283,
12,
1369,
16,
434,
84,
16,
1014,
16,
10388,
87,
16,
23173,
10910,
16,
4846,
5531,
16,
679,
3001,
33,
7036,
4672,
2110,
273,
5378,
1323,
980,
30,
309,
980,
63,
20,
65,
422,
679,
3001,
471,
486,
2110,
30,
327,
980,
63,
21,
26894,
312,
273,
389,
3469,
67,
20122,
18,
1916,
12,
1369,
13,
309,
312,
30,
977,
273,
312,
18,
1655,
12,
21,
13,
309,
977,
30,
434,
84,
18,
2626,
2932,
12,
12200,
64,
82,
7923,
434,
84,
18,
2626,
2932,
6456,
87,
64,
82,
6,
738,
2017,
12,
955,
3719,
434,
84,
18,
2626,
2932,
13,
12200,
64,
82,
7923,
434,
84,
18,
2626,
2932,
20400,
82,
64,
82,
7923,
469,
30,
434,
84,
18,
2626,
2932,
20400,
82,
64,
82,
7923,
980,
273,
980,
63,
81,
18,
409,
13332,
65,
1324,
312,
273,
389,
10086,
67,
3074,
67,
20122,
18,
1916,
12,
1369,
13,
309,
312,
30,
468,
283,
17,
2626,
358,
999,
326,
11522,
1838,
980,
273,
436,
12691,
9,
87,
9,
87,
6,
738,
261,
81,
18,
1655,
12,
21,
3631,
980,
63,
81,
18,
409,
13332,
5717,
1324,
312,
273,
67,
409,
67,
3074,
67,
20122,
18,
1916,
12,
1369,
13,
309,
312,
30,
468,
679,
434,
3330,
1550,
529,
273,
312,
18,
1655,
12,
21,
13,
309,
1550,
529,
422,
315,
5457,
6877,
468,
4582,
8146,
364,
290,
316,
2110,
63,
21,
30,
14542,
309,
290,
486,
316,
23173,
10910,
30,
1002,
21072,
21575,
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,
720,
6283,
12,
1369,
16,
434,
84,
16,
1014,
16,
10388,
87,
16,
23173,
10910,
16,
4846,
5531,
16,
679,
3001,
33,
7036,
4672,
2110,
273,
5378,
1323,
980,
30,
309,
980,
63,
20,
65,
422,
679,
3001,
471,
486,
2110,
30,
327,
980,
63,
21,
26894,
312,
273,
389,
3469,
67,
20122,
18,
1916,
12,
1369,
13,
309,
312,
30,
977,
273,
312,
18,
1655,
12,
21,
13,
309,
977,
30,
434,
84,
18,
2626,
2932,
12,
12200,
64,
82,
7923,
434,
84,
18,
2626,
2932,
6456,
87,
64,
82,
6,
738,
2017,
12,
955,
3719,
434,
84,
18,
2626,
2932,
13,
12200,
64,
82,
7923,
434,
84,
18,
2626,
2932,
20400,
82,
64,
82,
7923,
469,
2
] |
if not type(obj) in [str, unicode]:
|
if not _is_in(type(obj), [str, unicode]):
|
def _require_string(obj): if not type(obj) in [str, unicode]: raise NamespaceRequirementError
|
3c551ef3827ddde6b2f4571bc3357a59857633a1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7995/3c551ef3827ddde6b2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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
6528,
67,
1080,
12,
2603,
4672,
309,
486,
389,
291,
67,
267,
12,
723,
12,
2603,
3631,
306,
701,
16,
5252,
65,
4672,
1002,
6005,
18599,
668,
565,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
row.coinc_event_id = coinc_event_id
|
cid = lsctables.CoincTable.get_next_id() row.coinc_event_id = cid
|
def populate_inspiral_tables(MBTA_frame, UID, set_keys = MBTA_set_keys, \ process_id = 'process:process_id:0', \ event_id_dict = insp_event_id_dict, \ coinc_event_id_base=InspiralCoincIdBase): """ create xml file and populate the SnglInspiral and CoincInspiral tables from a coinc .gwf file from MBTA xmldoc: xml file to append the tables to MBTA_frame: frame file to get info about triggers from set_keys: columns in the SnglInspiral Table to set process_id: process_id event_id_dict: {ifo:event_id} dictionary to assign event_id's coinc_event_id: coinc_event_id detectors: detectors participating in the coinc returns xmldoc and contents of the comment field """ #initialize xml document xmldoc = ligolw.Document() xmldoc.appendChild(ligolw.LIGO_LW()) #dictionaries to store about individual triggers end_time_s = {} end_time_ns = {} snr = {} mass1 = {} mass2 = {} Deff = {} mchirp = {} eta = {} #extract the information from the frame file events = Fr.frgetevent(MBTA_frame) #get the ifos from the event name for event in events: if 'MbtaHLV' in event['name']: detectors = H1L1V1_detlist elif 'MbtaHL' in event['name']: detectors = H1L1_detlist elif 'MbtaHV' in event['name']: detectors = H1V1_detlist elif 'MbtaH' in event['name']: detectors = H1_detlist elif 'MbtaLV' in event['name']: detectors = L1V1_detlist elif 'MbtaL' in event['name']: detectors = L1_detlist elif 'MbtaV' in event['name']: detectors = V1_detlist else: raise ValueError, "Invalid FrEvent name" log_data = event['comment'] + '\n' far = [line.split(':')[1].split()[0] for line in log_data.splitlines() if \ 'False Alarm Rate' in line][0] for ifo in detectors: end_time_s[ifo], end_time_ns[ifo] = str(event[ifo+':end_time']).split('.') snr[ifo] = float(event[ifo+':SNR']) mass1[ifo] = float(event[ifo+':mass1']) mass2[ifo] = float(event[ifo+':mass2']) mchirp[ifo], eta[ifo] = compute_mchirp_eta(mass1[ifo],mass2[ifo]) Deff[ifo] = float(event[ifo+':eff_distance']) #fill the SnglInspiralTable sin_table = lsctables.New(lsctables.SnglInspiralTable) xmldoc.childNodes[0].appendChild(sin_table) for ifo in detectors: row = sin_table.RowType() row.ifo = ifo row.search = 'MBTA' row.end_time = int(end_time_s[ifo]) row.end_time_ns = int(end_time_ns[ifo]) row.mass1 = mass1[ifo] row.mass2 = mass2[ifo] row.mchirp = mchirp[ifo] row.mtotal = mass1[ifo] + mass2[ifo] row.eta = eta[ifo] row.snr = snr[ifo] row.eff_distance = Deff[ifo] row.event_id = event_id_dict[ifo] row.process_id = process_id row.channel = '' #zero out the rest of the columns #should work in chi2 and chi2cut for key in sin_table.validcolumns.keys(): if key not in set_keys: setattr(row,key,None) sin_table.append(row) #CoincInspiralTable #using the conventions found in: #https://www.lsc-group.phys.uwm.edu/ligovirgo/cbcnote/S6Plan/ #090505160219S6PlanningNotebookCoinc_and_Experiment_Tables_ihope_implementation? #highlight=%28coinc%29|%28table%29 if len(detectors) < 2: return xmldoc, log_data, detectors coinc_event_id = coinc_event_id_base + str(UID) cin_table = lsctables.New(lsctables.CoincInspiralTable) xmldoc.childNodes[0].appendChild(cin_table) row = cin_table.RowType() row.set_ifos(detectors) row.coinc_event_id = coinc_event_id row.end_time = int(end_time_s['H1']) row.end_time_ns = int(end_time_ns['H1']) row.mass = (sum(mass1.values()) + sum(mass2.values()))/3 row.mchirp = sum(mchirp.values())/3 #the snr here is really the snr NOT effective snr row.snr = pow(sum([x*x for x in snr.values()]),0.5) #far is triggers/day row.false_alarm_rate = float(far) row.combined_far = 0 cin_table.append(row) return xmldoc, log_data, detectors
|
af257218e83ac728902869fa75f174902babf41f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5758/af257218e83ac728902869fa75f174902babf41f/utils.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6490,
67,
267,
1752,
481,
287,
67,
9373,
12,
7969,
9833,
67,
3789,
16,
10034,
16,
444,
67,
2452,
273,
17897,
9833,
67,
542,
67,
2452,
16,
521,
1207,
67,
350,
273,
296,
2567,
30,
2567,
67,
350,
30,
20,
2187,
521,
871,
67,
350,
67,
1576,
273,
316,
1752,
67,
2575,
67,
350,
67,
1576,
16,
521,
13170,
71,
67,
2575,
67,
350,
67,
1969,
33,
382,
1752,
481,
287,
27055,
71,
548,
2171,
4672,
3536,
752,
2025,
585,
471,
6490,
326,
348,
3368,
80,
382,
1752,
481,
287,
471,
28932,
71,
382,
1752,
481,
287,
4606,
628,
279,
13170,
71,
263,
75,
15581,
585,
628,
17897,
9833,
2025,
2434,
30,
2025,
585,
358,
714,
326,
4606,
358,
17897,
9833,
67,
3789,
30,
2623,
585,
358,
336,
1123,
2973,
11752,
628,
444,
67,
2452,
30,
2168,
316,
326,
348,
3368,
80,
382,
1752,
481,
287,
3555,
358,
444,
1207,
67,
350,
30,
1207,
67,
350,
871,
67,
350,
67,
1576,
30,
288,
20299,
30,
2575,
67,
350,
97,
3880,
358,
2683,
871,
67,
350,
1807,
13170,
71,
67,
2575,
67,
350,
30,
13170,
71,
67,
2575,
67,
350,
13826,
87,
30,
13826,
87,
30891,
1776,
316,
326,
13170,
71,
225,
1135,
2025,
2434,
471,
2939,
434,
326,
2879,
652,
3536,
468,
11160,
2025,
1668,
2025,
2434,
273,
16917,
355,
91,
18,
2519,
1435,
2025,
2434,
18,
6923,
1763,
12,
80,
360,
355,
91,
18,
2053,
16387,
67,
48,
59,
10756,
468,
72,
14336,
358,
1707,
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,
6490,
67,
267,
1752,
481,
287,
67,
9373,
12,
7969,
9833,
67,
3789,
16,
10034,
16,
444,
67,
2452,
273,
17897,
9833,
67,
542,
67,
2452,
16,
521,
1207,
67,
350,
273,
296,
2567,
30,
2567,
67,
350,
30,
20,
2187,
521,
871,
67,
350,
67,
1576,
273,
316,
1752,
67,
2575,
67,
350,
67,
1576,
16,
521,
13170,
71,
67,
2575,
67,
350,
67,
1969,
33,
382,
1752,
481,
287,
27055,
71,
548,
2171,
4672,
3536,
752,
2025,
585,
471,
6490,
326,
348,
3368,
80,
382,
1752,
481,
287,
471,
28932,
71,
382,
1752,
481,
287,
4606,
628,
279,
13170,
71,
263,
75,
15581,
585,
628,
17897,
9833,
2025,
2434,
30,
2025,
585,
358,
714,
326,
4606,
2
] |
obj = self.parse_header(data)
|
obj = self._parse_realmedia_file(data)
|
def parse_objects(self, stream):
|
47877dfb08c6f43c07b0e458250fb48397a0d7e6 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5551/47877dfb08c6f43c07b0e458250fb48397a0d7e6/realmedia.py
|
[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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
67,
6911,
12,
2890,
16,
1407,
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
] |
serializer.start_keyword(self._keyword) serializer.end_keyword(self._keyword)
|
if self._keyword: serializer.start_keyword(self._keyword) serializer.end_keyword(self._keyword)
|
def serialize(self, serializer): serializer.start_keyword(self._keyword) serializer.end_keyword(self._keyword)
|
2aaf76c987baf2de8e2b740de02e1f6dd44f4b75 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6988/2aaf76c987baf2de8e2b740de02e1f6dd44f4b75/fixture.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4472,
12,
2890,
16,
6340,
4672,
6340,
18,
1937,
67,
11041,
12,
2890,
6315,
11041,
13,
6340,
18,
409,
67,
11041,
12,
2890,
6315,
11041,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4472,
12,
2890,
16,
6340,
4672,
6340,
18,
1937,
67,
11041,
12,
2890,
6315,
11041,
13,
6340,
18,
409,
67,
11041,
12,
2890,
6315,
11041,
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
] |
types_callProxyMethod = [StringType,ListType,DictionaryType]
|
types_callProxyMethod = [StringType,TupleType,DictionaryType]
|
def initializeLcgFileCatalogProxyHandler(serviceInfo): global lfcCombinedClient lfcCombinedClient = LcgFileCatalogCombinedClient() return S_OK()
|
1b93f09d0e7ef9a769bbec95dee9da3c61cca28b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/1b93f09d0e7ef9a769bbec95dee9da3c61cca28b/LcgFileCatalogProxyHandler.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4046,
48,
26275,
812,
9769,
3886,
1503,
12,
3278,
966,
4672,
2552,
328,
7142,
27994,
1227,
328,
7142,
27994,
1227,
273,
511,
26275,
812,
9769,
27994,
1227,
1435,
327,
348,
67,
3141,
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,
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0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4046,
48,
26275,
812,
9769,
3886,
1503,
12,
3278,
966,
4672,
2552,
328,
7142,
27994,
1227,
328,
7142,
27994,
1227,
273,
511,
26275,
812,
9769,
27994,
1227,
1435,
327,
348,
67,
3141,
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
] |
H = G._list_of_elements_in_H()
|
H = [ int(x) for x in G._list_of_elements_in_H() ]
|
def _coset_reduction_data_first_coord(G): """ Compute data used for determining the canonical coset representative of an element of SL_2(Z) modulo G. This function specfically returns data needed for the first part of the reduction step (the first coordinate).
|
eb301dff111c888467560bbc7545e7b8e22d5329 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/eb301dff111c888467560bbc7545e7b8e22d5329/congroup.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
14445,
278,
67,
1118,
4062,
67,
892,
67,
3645,
67,
5732,
12,
43,
4672,
3536,
8155,
501,
1399,
364,
23789,
326,
7378,
4987,
278,
23174,
434,
392,
930,
434,
348,
48,
67,
22,
12,
62,
13,
26109,
611,
18,
225,
1220,
445,
857,
74,
6478,
1135,
501,
3577,
364,
326,
1122,
1087,
434,
326,
20176,
2235,
261,
5787,
1122,
7799,
2934,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
14445,
278,
67,
1118,
4062,
67,
892,
67,
3645,
67,
5732,
12,
43,
4672,
3536,
8155,
501,
1399,
364,
23789,
326,
7378,
4987,
278,
23174,
434,
392,
930,
434,
348,
48,
67,
22,
12,
62,
13,
26109,
611,
18,
225,
1220,
445,
857,
74,
6478,
1135,
501,
3577,
364,
326,
1122,
1087,
434,
326,
20176,
2235,
261,
5787,
1122,
7799,
2934,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 finalize_product(self): "if requested, make bonds and/or join units into one part" desc = " (N = %d)" % self.ncopies self.final_msg_accum = "%s making %s%s: " % (self.msg_modename.split()[0], self.product_type, desc) msg0 = "leaving mode, finalizing product..." self.status_msg(self.final_msg_accum + msg0) print "fyi: extrude params not mentioned in statusbar: offset = %r, tol = %r" % (self.offset, self.bond_tolerance) if self.whendone_make_bonds:
|
def finalize_product(self, cancelling = 0): "if requested, make bonds and/or join units into one part; cancelling = 1 means just do cleanup, use diff msgs" if not cancelling: desc = " (N = %d)" % self.ncopies self.final_msg_accum = "%s making %s%s: " % (self.msg_modename.split()[0], self.product_type, desc) msg0 = "leaving mode, finalizing product..." self.status_msg(self.final_msg_accum + msg0) print "fyi: extrude params not mentioned in statusbar: offset = %r, tol = %r" % (self.offset, self.bond_tolerance) else: msg = "%s cancelled (alpha warning: might not fully restore initial state)" % (self.msg_modename.split()[0],) self.status_msg( msg) if self.whendone_make_bonds and not cancelling:
|
def StateDone(self): ## self.update_from_controls() #k 041017 night - will this help or hurt? since hard to know, not adding it now. # restore normal appearance for mol in self.molcopies: try: del mol._colorfunc mol.changeapp(0) except: pass self.finalize_product() # ... and emit status message about it return None
|
93def9cf394f749ee4f6f85c71a4645a60945878 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/93def9cf394f749ee4f6f85c71a4645a60945878/extrudeMode.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3287,
7387,
12,
2890,
4672,
7541,
365,
18,
2725,
67,
2080,
67,
24350,
1435,
468,
79,
374,
9803,
1611,
27,
290,
750,
300,
903,
333,
2809,
578,
366,
295,
88,
35,
3241,
7877,
358,
5055,
16,
486,
6534,
518,
2037,
18,
468,
5217,
2212,
9788,
1359,
364,
12629,
316,
365,
18,
21260,
22295,
606,
30,
775,
30,
1464,
12629,
6315,
3266,
644,
12629,
18,
3427,
2910,
12,
20,
13,
1335,
30,
1342,
365,
18,
30343,
67,
5896,
1435,
468,
1372,
471,
3626,
1267,
883,
2973,
518,
327,
599,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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7541,
365,
18,
2725,
67,
2080,
67,
24350,
1435,
468,
79,
374,
9803,
1611,
27,
290,
750,
300,
903,
333,
2809,
578,
366,
295,
88,
35,
3241,
7877,
358,
5055,
16,
486,
6534,
518,
2037,
18,
468,
5217,
2212,
9788,
1359,
364,
12629,
316,
365,
18,
21260,
22295,
606,
30,
775,
30,
1464,
12629,
6315,
3266,
644,
12629,
18,
3427,
2910,
12,
20,
13,
1335,
30,
1342,
365,
18,
30343,
67,
5896,
1435,
468,
1372,
471,
3626,
1267,
883,
2973,
518,
327,
599,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
print "*** FINISHED ***"
|
print "***_FINISHED_***"
|
def updateMonitoringInformation( jobs ):
|
f28943d46a1275727d8c070b84ce3598227b3c8b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1488/f28943d46a1275727d8c070b84ce3598227b3c8b/Remote.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
18410,
5369,
12,
6550,
262,
30,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
18410,
5369,
12,
6550,
262,
30,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
assert descr in node.curfields
|
fieldnode = node.curfields[descr] resbox = op.result opt.assertval(resbox, fieldnode.source)
|
def getfield_gc(self, opt, op): node = opt.spec.getnode(op.args[0]) descr = op.descr assert isinstance(descr, AbstractValue) if node.virtual: assert descr in node.curfields return None return op
|
2a4f036953ba7f84f56cdc173003fb1c30722732 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6934/2a4f036953ba7f84f56cdc173003fb1c30722732/optimize3.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
1518,
67,
13241,
12,
2890,
16,
2153,
16,
1061,
4672,
756,
273,
2153,
18,
2793,
18,
588,
2159,
12,
556,
18,
1968,
63,
20,
5717,
18426,
273,
1061,
18,
28313,
1815,
1549,
12,
28313,
16,
4115,
620,
13,
309,
756,
18,
12384,
30,
652,
2159,
273,
756,
18,
1397,
2821,
63,
28313,
65,
400,
2147,
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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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
1518,
67,
13241,
12,
2890,
16,
2153,
16,
1061,
4672,
756,
273,
2153,
18,
2793,
18,
588,
2159,
12,
556,
18,
1968,
63,
20,
5717,
18426,
273,
1061,
18,
28313,
1815,
1549,
12,
28313,
16,
4115,
620,
13,
309,
756,
18,
12384,
30,
652,
2159,
273,
756,
18,
1397,
2821,
63,
28313,
65,
400,
2147,
273,
1061,
18,
2088,
2153,
18,
11231,
1125,
12,
455,
2147,
16,
652,
2159,
18,
3168,
13,
327,
599,
327,
1061,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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._stop = False
|
self._stop = self._closed = False
|
def __init__(self, name, env=None, prefix='zodb_', config=None): """Create a new storage.
|
ea82bc70eae6ac2afa78935c67947cd34432ac5f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/ea82bc70eae6ac2afa78935c67947cd34432ac5f/BerkeleyBase.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
508,
16,
1550,
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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,
1001,
2738,
972,
12,
2890,
16,
508,
16,
1550,
33,
7036,
16,
1633,
2218,
94,
10605,
67,
2187,
642,
33,
7036,
4672,
3536,
1684,
279,
394,
2502,
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
] |
"%s cannot be child of %s" % (repr(node), repr(self) )
|
"%s cannot be child of %s" % (repr(node), repr(self))
|
def appendChild(self, node): if node.nodeType not in self.childNodeTypes: raise HierarchyRequestErr, \ "%s cannot be child of %s" % (repr(node), repr(self) ) if node.parentNode is not None: node.parentNode.removeChild(node) if self.childNodes: last = self.lastChild node.previousSibling = last last.nextSibling = node else: node.previousSibling = None node.nextSibling = None self.childNodes.append(node) if self._makeParentNodes: node.parentNode = self return node
|
3d9b92654f18f440a68a8e80ed41265487140c54 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/3d9b92654f18f440a68a8e80ed41265487140c54/minidom.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5833,
12,
2890,
16,
756,
4672,
309,
756,
18,
2159,
559,
486,
316,
365,
18,
3624,
907,
2016,
30,
1002,
670,
6000,
691,
2524,
16,
521,
2213,
87,
2780,
506,
1151,
434,
738,
87,
6,
738,
261,
12715,
12,
2159,
3631,
8480,
12,
2890,
3719,
309,
756,
18,
2938,
907,
353,
486,
599,
30,
756,
18,
2938,
907,
18,
4479,
1763,
12,
2159,
13,
309,
365,
18,
3624,
3205,
30,
1142,
273,
365,
18,
2722,
1763,
756,
18,
11515,
10291,
273,
1142,
1142,
18,
4285,
10291,
273,
756,
469,
30,
756,
18,
11515,
10291,
273,
599,
756,
18,
4285,
10291,
273,
599,
365,
18,
3624,
3205,
18,
6923,
12,
2159,
13,
309,
365,
6315,
6540,
3054,
3205,
30,
756,
18,
2938,
907,
273,
365,
327,
756,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
2890,
3719,
309,
756,
18,
2938,
907,
353,
486,
599,
30,
756,
18,
2938,
907,
18,
4479,
1763,
12,
2159,
13,
309,
365,
18,
3624,
3205,
30,
1142,
273,
365,
18,
2722,
1763,
756,
18,
11515,
10291,
273,
1142,
1142,
18,
4285,
10291,
273,
756,
469,
30,
756,
18,
11515,
10291,
273,
599,
756,
18,
4285,
10291,
273,
599,
365,
18,
3624,
3205,
18,
6923,
12,
2159,
13,
309,
365,
6315,
6540,
3054,
3205,
30,
2
] |
'</text:list-item>' '</text:list>')
|
'<text:list-item>' '<text:list>' '<text:list-item>' '<text:p>eggs</text:p>' '</text:list-item>' '</text:list>' '</text:list-item>' '</text:list>' '</text:list-item>' '</text:list>')
|
def test_append_sub_item(self): # XXX Fail until a true odf_list element is implemented breakfast = odf_create_list() spam = odf_create_list_item(u'spam') ham = odf_create_list_item(u'ham') eggs = odf_create_list_item(u'eggs')
|
c85637406aa6ba3e15ed3c5f3443dfe819814624 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10612/c85637406aa6ba3e15ed3c5f3443dfe819814624/test_content.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
6923,
67,
1717,
67,
1726,
12,
2890,
4672,
468,
11329,
8911,
3180,
279,
638,
320,
2180,
67,
1098,
930,
353,
8249,
898,
8076,
273,
320,
2180,
67,
2640,
67,
1098,
1435,
24824,
273,
320,
2180,
67,
2640,
67,
1098,
67,
1726,
12,
89,
1807,
84,
301,
6134,
366,
301,
273,
320,
2180,
67,
2640,
67,
1098,
67,
1726,
12,
89,
11,
31698,
6134,
9130,
564,
273,
320,
2180,
67,
2640,
67,
1098,
67,
1726,
12,
89,
11,
1332,
564,
6134,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
6923,
67,
1717,
67,
1726,
12,
2890,
4672,
468,
11329,
8911,
3180,
279,
638,
320,
2180,
67,
1098,
930,
353,
8249,
898,
8076,
273,
320,
2180,
67,
2640,
67,
1098,
1435,
24824,
273,
320,
2180,
67,
2640,
67,
1098,
67,
1726,
12,
89,
1807,
84,
301,
6134,
366,
301,
273,
320,
2180,
67,
2640,
67,
1098,
67,
1726,
12,
89,
11,
31698,
6134,
9130,
564,
273,
320,
2180,
67,
2640,
67,
1098,
67,
1726,
12,
89,
11,
1332,
564,
6134,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
rcr t1, t1, imm
|
rcri t1, t1, imm
|
def macroop RCR_M_I
|
66911a1fab9900768db67610346585245a484ef4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6787/66911a1fab9900768db67610346585245a484ef4/rotate.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11522,
556,
534,
5093,
67,
49,
67,
45,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11522,
556,
534,
5093,
67,
49,
67,
45,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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.liststore = liststore = gtk.ListStore(str, str)
|
self.liststore = liststore = gtk.ListStore(str)
|
def __init__(self, *arg): gtk.Entry.__init__(self, *arg) self.set_editable(False) self.hwindow = gtk.Window() self.hwindow.set_position(gtk.WIN_POS_MOUSE) self.hwindow.set_decorated(False) vbox = gtk.VBox() self.liststore = liststore = gtk.ListStore(str, str) self.treeview = treeview = gtk.TreeView(liststore) self.hwindow.set_default_size(200, 300)
|
52a18dc9abc5f0d68a536f1ffff67bac53cc3297 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2456/52a18dc9abc5f0d68a536f1ffff67bac53cc3297/config.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
380,
3175,
4672,
22718,
18,
1622,
16186,
2738,
972,
12,
2890,
16,
380,
3175,
13,
365,
18,
542,
67,
19653,
12,
8381,
13,
225,
365,
18,
76,
5668,
273,
22718,
18,
3829,
1435,
365,
18,
76,
5668,
18,
542,
67,
3276,
12,
4521,
79,
18,
24572,
67,
7057,
67,
5980,
8001,
13,
365,
18,
76,
5668,
18,
542,
67,
11880,
690,
12,
8381,
13,
331,
2147,
273,
22718,
18,
58,
3514,
1435,
365,
18,
1098,
2233,
273,
666,
2233,
273,
22718,
18,
682,
2257,
12,
701,
13,
365,
18,
3413,
1945,
273,
2151,
1945,
273,
22718,
18,
2471,
1767,
12,
1098,
2233,
13,
365,
18,
76,
5668,
18,
542,
67,
1886,
67,
1467,
12,
6976,
16,
225,
11631,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
380,
3175,
4672,
22718,
18,
1622,
16186,
2738,
972,
12,
2890,
16,
380,
3175,
13,
365,
18,
542,
67,
19653,
12,
8381,
13,
225,
365,
18,
76,
5668,
273,
22718,
18,
3829,
1435,
365,
18,
76,
5668,
18,
542,
67,
3276,
12,
4521,
79,
18,
24572,
67,
7057,
67,
5980,
8001,
13,
365,
18,
76,
5668,
18,
542,
67,
11880,
690,
12,
8381,
13,
331,
2147,
273,
22718,
18,
58,
3514,
1435,
365,
18,
1098,
2233,
273,
666,
2233,
273,
22718,
18,
682,
2257,
12,
701,
13,
365,
18,
3413,
1945,
273,
2151,
1945,
273,
22718,
18,
2471,
1767,
12,
1098,
2233,
13,
365,
18,
76,
5668,
18,
542,
67,
1886,
67,
2
] |
"""
|
"""% d
|
def c_code(self, node, name, (img2d, filtersflipped), (z, ), sub): if node.inputs[0].type.dtype != node.inputs[1].type.dtype: raise NotImplementedError() assert node.inputs[0].type.dtype == node.inputs[1].type.dtype d=locals() d.update(sub)
|
6ef4fe09e7b91d6db497a10ee67d728eda46182a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/6ef4fe09e7b91d6db497a10ee67d728eda46182a/conv.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
276,
67,
710,
12,
2890,
16,
756,
16,
508,
16,
261,
6081,
22,
72,
16,
3415,
12357,
1845,
3631,
261,
94,
16,
262,
16,
720,
4672,
309,
756,
18,
10029,
63,
20,
8009,
723,
18,
8972,
480,
756,
18,
10029,
63,
21,
8009,
723,
18,
8972,
30,
1002,
11206,
1435,
1815,
756,
18,
10029,
63,
20,
8009,
723,
18,
8972,
422,
756,
18,
10029,
63,
21,
8009,
723,
18,
8972,
302,
33,
17977,
1435,
302,
18,
2725,
12,
1717,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
276,
67,
710,
12,
2890,
16,
756,
16,
508,
16,
261,
6081,
22,
72,
16,
3415,
12357,
1845,
3631,
261,
94,
16,
262,
16,
720,
4672,
309,
756,
18,
10029,
63,
20,
8009,
723,
18,
8972,
480,
756,
18,
10029,
63,
21,
8009,
723,
18,
8972,
30,
1002,
11206,
1435,
1815,
756,
18,
10029,
63,
20,
8009,
723,
18,
8972,
422,
756,
18,
10029,
63,
21,
8009,
723,
18,
8972,
302,
33,
17977,
1435,
302,
18,
2725,
12,
1717,
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
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.