rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
Jacobian of the modular curve associated to the congruence subgroup Gamma0(42)
Abelian variety J0(42) of dimension 5
def abelian_variety(self): """ Return the abelian variety that this is a finite subgroup of.
d54847b81567aa533334316a466ed6bddbc8638c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/d54847b81567aa533334316a466ed6bddbc8638c/finite_subgroup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1223, 292, 2779, 67, 4093, 14369, 12, 2890, 4672, 3536, 2000, 326, 1223, 292, 2779, 1394, 14369, 716, 333, 353, 279, 25922, 720, 1655, 434, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1223, 292, 2779, 67, 4093, 14369, 12, 2890, 4672, 3536, 2000, 326, 1223, 292, 2779, 1394, 14369, 716, 333, 353, 279, 25922, 720, 1655, 434, 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 ]
tag_list = [] table = self.buff.get_tag_table() def remove_tag_tag(texttag,data) : if texttag.get_data("is_tag") : table.remove(texttag) table.foreach(remove_tag_tag)
it = start.copy() table = buff.get_tag_table() old_tags = [] new_tags = [] while (it.get_offset() <= end.get_offset()) and (it.get_char() != '\0'): if it.begins_tag() : tags = it.get_tags() for ta in tags : if ta.get_data('is_tag') : print "removing tag %s" %ta.get_data('tagname') table.remove(ta) old_tags.append(ta.get_data('tagname')) it.forward_char()
def _detect_tag(self,buff,start,end) : # Detect tags #------------- tag_list = [] #Removing all texttag related to GTG tags table = self.buff.get_tag_table() def remove_tag_tag(texttag,data) : #pylint: disable-msg=W0613 if texttag.get_data("is_tag") : table.remove(texttag) table.foreach(remove_tag_tag)
d11a5d2913ab9ec9b969e632dab63720868ed791 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8234/d11a5d2913ab9ec9b969e632dab63720868ed791/taskview.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 16518, 67, 2692, 12, 2890, 16, 20664, 16, 1937, 16, 409, 13, 294, 468, 13796, 2342, 468, 16982, 225, 1047, 67, 1098, 273, 5378, 468, 18939, 777, 977, 2692, 3746, 358, 19688, 43, 2342, 1014, 273, 365, 18, 20664, 18, 588, 67, 2692, 67, 2121, 1435, 1652, 1206, 67, 2692, 67, 2692, 12, 955, 2692, 16, 892, 13, 294, 468, 2074, 5671, 30, 4056, 17, 3576, 33, 59, 7677, 3437, 309, 977, 2692, 18, 588, 67, 892, 2932, 291, 67, 2692, 7923, 294, 1014, 18, 4479, 12, 955, 2692, 13, 1014, 18, 25055, 12, 4479, 67, 2692, 67, 2692, 13, 2, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 16518, 67, 2692, 12, 2890, 16, 20664, 16, 1937, 16, 409, 13, 294, 468, 13796, 2342, 468, 16982, 225, 1047, 67, 1098, 273, 5378, 468, 18939, 777, 977, 2692, 3746, 358, 19688, 43, 2342, 1014, 273, 365, 18, 20664, 18, 588, 67, 2692, 67, 2121, 1435, 1652, 1206, 67, 2692, 67, 2692, 12, 955, 2692, 16, 892, 13, 294, 468, 2074, 5671, 30, 4056, 17, 3576, 33, 59, 7677, 3437, 309, 977, 2692, 18, 588, 67, 892, 2932, 291, 67, 2692, 7923, 294, 1014, 18, 4479, 12, 955, 2692, 13, 1014, 18, 25055, 12, 4479, 67, 2692, 67, 2692, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return ComplexNode.references(self) | self.cond.references()
return self.bodyreferences() | self.cond.references()
def references(self): return ComplexNode.references(self) | self.cond.references()
67c89cc6416f403aea70f83efafb2d60b0a315ca /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2040/67c89cc6416f403aea70f83efafb2d60b0a315ca/esotope-bfc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5351, 12, 2890, 4672, 327, 16060, 907, 18, 14353, 12, 2890, 13, 571, 365, 18, 10013, 18, 14353, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5351, 12, 2890, 4672, 327, 16060, 907, 18, 14353, 12, 2890, 13, 571, 365, 18, 10013, 18, 14353, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
value = UID(val) if not value.found_fullname(): try: value = `val` except: value = None
if type(val) is types.StringType: value = `val` else: value = UID(val) if not value.found_fullname(): try: value = `val` except: value = None
def __init__(self, mod, verbosity=0): self._tmp_var = {} self._tmp_type = {} ObjDoc.__init__(self, mod, verbosity)
5a7342bd9f074b3e20345e4934feff2c61a5993a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/5a7342bd9f074b3e20345e4934feff2c61a5993a/objdoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 681, 16, 11561, 33, 20, 4672, 365, 6315, 5645, 67, 1401,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 681, 16, 11561, 33, 20, 4672, 365, 6315, 5645, 67, 1401, 273, 2618, 365, 6315, 5645, 67, 723, 273, 2618, 18760, 1759, 16186, 2738, 972, 12, 2890, 16, 681, 16, 11561, 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 ]
import traceback
def reader(lnum=[lnum]): highlight[lnum[0]] = 1 try: return linecache.getline(file, lnum[0]) finally: lnum[0] += 1
c572d2b8c8b81f1123a6458b6dac838a9268cf42 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8125/c572d2b8c8b81f1123a6458b6dac838a9268cf42/cgitb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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2949, 12, 80, 2107, 22850, 80, 2107, 65, 4672, 8839, 63, 80, 2107, 63, 20, 13563, 273, 404, 775, 30, 327, 4739, 557, 807, 18, 588, 1369, 12, 768, 16, 328, 2107, 63, 20, 5717, 3095, 30, 328, 2107, 63, 20, 65, 1011, 404, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
cstart = point * pointSize nstart = cstart + 3 coordUTM[0] = self.data[cstart] + self.pointsOffsetEast coordUTM[1] = self.data[cstart+1] + self.pointsOffsetNorth normal = self.data[nstart:nstart + 2]
velocity = self._euler2Velocity(pointsLL[point]) if self.bcType == 'dislocation': self._localTrans(velocity, pointsLL[point], normalsArr[point]) for comp in range(self.spatialDim): f.write(' %15e' % self.pointsUTM[iCount + comp]) for comp in range(self.spatialDim): f.write(' %15e' % self.normals[iCount + comp]) f.write('\n') iCount += 3 return def _localTrans(self, velocity, pointsLL, normalsArr) """ Performs an in-place transformation on velocity vector to local coords. """ def _euler2Velocity(self, pointsLL): """ Computes velocities in local Cartesian system from rotation about an Euler pole. """ from pyre.units.angle import deg lonDeg = pointsLL[0]*deg latDeg = pointsLL[1]*deg lonPoint = lonDeg.value latPoint = latDeg.value clat = math.cos(latPoint) slat = math.sin(latPoint) clon = math.cos(lonPoint) slon = math.sin(lonPoint) pX = clat * clon pY = clat * slon pZ = slat pointPole = numpy.array([pX, pY, pZ]) velGlobal = numpy.cross(self.eulerPole, pointPole) rotMatrix = self._makeRot(latPoint, lonPoint) velNED = numpy.dot(rotMatrix, velGlobal) return velNED def _makeRot(latPoint, lonPoint) """ Compute rotation matrix for a given geographic coordinates. """ slat = math.sin(latPoint) clat = math.cos(latPoint) slon = math.sin(lonPoint) clon = math.cos(lonPoint) vec1 = [ -slat * clon, -slat * slon, clat] vec2 = [ -slon, clon, 0.0] vec3 = [ -clat * clon, -clat * slon, -slat] rotMatrix = numpy.array([vec1, vec2, vec3]) return rotMatrix
def _genSpatialDB(self, f): """ Computes dislocations/displacements from Euler pole and writes to spatial DB. """ import numpy # Need to fix from here. # Create a numpy array from the pointsUTM list, but I need to save # the original list. # Use convert to convert to geographic, then loop over the points. # First, compute displacement (velocity) vectors in global coordinates, # then convert to (E, N, U) coordinates, and then, for dislocations, # convert to fault-local coordinates and write results to spatial # database. pointSize = 6 coordUTM = [0.0, 0.0] normal = [0.0, 0.0, 0.0] for point in range(self.numPoints): cstart = point * pointSize nstart = cstart + 3 coordUTM[0] = self.data[cstart] + self.pointsOffsetEast coordUTM[1] = self.data[cstart+1] + self.pointsOffsetNorth normal = self.data[nstart:nstart + 2]
0e4c595f0da3b6db8e5bb13f568c2092547a9ff4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8645/0e4c595f0da3b6db8e5bb13f568c2092547a9ff4/euler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4507, 24648, 2290, 12, 2890, 16, 284, 4672, 3536, 14169, 281, 1015, 12352, 19, 2251, 964, 1346, 628, 512, 17040, 25320, 471, 7262, 358, 15010, 2383, 18, 3536, 1930, 3972, 468, 225, 12324, 358, 2917, 628, 2674, 18, 468, 225, 1788, 279, 3972, 526, 628, 326, 3143, 1693, 49, 666, 16, 1496, 467, 1608, 358, 1923, 468, 225, 326, 2282, 666, 18, 468, 225, 2672, 1765, 358, 1765, 358, 8244, 16983, 16, 1508, 2798, 1879, 326, 3143, 18, 468, 225, 5783, 16, 3671, 1015, 15917, 261, 29418, 560, 13, 10046, 316, 2552, 5513, 16, 468, 225, 1508, 1765, 358, 261, 41, 16, 423, 16, 587, 13, 5513, 16, 471, 1508, 16, 364, 1015, 12352, 16, 468, 225, 1765, 358, 12530, 17, 3729, 5513, 471, 1045, 1686, 358, 15010, 468, 225, 2063, 18, 225, 1634, 1225, 273, 1666, 2745, 1693, 49, 273, 306, 20, 18, 20, 16, 374, 18, 20, 65, 2212, 273, 306, 20, 18, 20, 16, 374, 18, 20, 16, 374, 18, 20, 65, 364, 1634, 316, 1048, 12, 2890, 18, 2107, 5636, 4672, 276, 1937, 273, 1634, 380, 1634, 1225, 290, 1937, 273, 276, 1937, 397, 890, 2745, 1693, 49, 63, 20, 65, 273, 365, 18, 892, 63, 71, 1937, 65, 397, 365, 18, 4139, 2335, 41, 689, 2745, 1693, 49, 63, 21, 65, 273, 365, 18, 892, 63, 71, 1937, 15, 21, 65, 397, 365, 18, 4139, 2335, 50, 7825, 2212, 273, 365, 18, 892, 63, 82, 1937, 30, 82, 1937, 397, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4507, 24648, 2290, 12, 2890, 16, 284, 4672, 3536, 14169, 281, 1015, 12352, 19, 2251, 964, 1346, 628, 512, 17040, 25320, 471, 7262, 358, 15010, 2383, 18, 3536, 1930, 3972, 468, 225, 12324, 358, 2917, 628, 2674, 18, 468, 225, 1788, 279, 3972, 526, 628, 326, 3143, 1693, 49, 666, 16, 1496, 467, 1608, 358, 1923, 468, 225, 326, 2282, 666, 18, 468, 225, 2672, 1765, 358, 1765, 358, 8244, 16983, 16, 1508, 2798, 1879, 326, 3143, 18, 468, 225, 5783, 16, 3671, 1015, 15917, 261, 29418, 560, 13, 10046, 316, 2552, 5513, 16, 468, 225, 1508, 1765, 358, 261, 41, 16, 423, 16, 587, 13, 5513, 16, 471, 1508, 16, 364, 1015, 12352, 16, 468, 225, 2 ]
gLogger.info("TransferAgent.execute: No requests to be executed found.")
gLogger.info( "TransferAgent.execute: No requests to be executed found." )
def executeRequest(self): ################################################ # Get a request from request DB gMonitor.addMark( "Iteration", 1 ) res = self.RequestDBClient.getRequest('transfer') if not res['OK']: gLogger.info("TransferAgent.execute: Failed to get request from database.") return S_OK() elif not res['Value']: gLogger.info("TransferAgent.execute: No requests to be executed found.") return S_OK() requestString = res['Value']['RequestString'] requestName = res['Value']['RequestName'] sourceServer= res['Value']['Server'] try: jobID = int(res['Value']['JobID']) except: jobID = 0 gLogger.info("TransferAgent.execute: Obtained request %s" % requestName)
e9b27a9be4536012e60823ee81099deb0a1fbe85 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/e9b27a9be4536012e60823ee81099deb0a1fbe85/TransferAgent.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 691, 12, 2890, 4672, 19709, 26487, 13151, 468, 968, 279, 590, 628, 590, 2383, 314, 7187, 18, 1289, 3882, 12, 315, 10795, 3113, 404, 262, 400, 273, 365, 18, 691, 2290, 1227, 18, 588, 691, 2668, 13866, 6134, 309, 486, 400, 3292, 3141, 3546, 30, 314, 3328, 18, 1376, 2932, 5912, 3630, 18, 8837, 30, 11175, 358, 336, 590, 628, 2063, 1199, 13, 327, 348, 67, 3141, 1435, 1327, 486, 400, 3292, 620, 3546, 30, 314, 3328, 18, 1376, 12, 315, 5912, 3630, 18, 8837, 30, 2631, 3285, 358, 506, 7120, 1392, 1199, 262, 327, 348, 67, 3141, 1435, 590, 780, 273, 400, 3292, 620, 21712, 691, 780, 3546, 590, 461, 273, 400, 3292, 620, 21712, 691, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 691, 12, 2890, 4672, 19709, 26487, 13151, 468, 968, 279, 590, 628, 590, 2383, 314, 7187, 18, 1289, 3882, 12, 315, 10795, 3113, 404, 262, 400, 273, 365, 18, 691, 2290, 1227, 18, 588, 691, 2668, 13866, 6134, 309, 486, 400, 3292, 3141, 3546, 30, 314, 3328, 18, 1376, 2932, 5912, 3630, 18, 8837, 30, 11175, 358, 336, 590, 628, 2063, 1199, 13, 327, 348, 67, 3141, 1435, 1327, 486, 400, 3292, 620, 3546, 30, 314, 3328, 18, 1376, 12, 315, 5912, 3630, 18, 8837, 30, 2631, 3285, 358, 506, 7120, 1392, 1199, 262, 327, 348, 67, 3141, 1435, 590, 780, 273, 400, 3292, 620, 21712, 691, 780, 3546, 590, 461, 273, 400, 3292, 620, 21712, 691, 2 ]
if mf1[fn] != mf2[fn] and (mf2[fn] != "" or fcmp(fn, mf1)):
if mf1.flags(fn) != mf2.flags(fn) or \ (mf1[fn] != mf2[fn] and (mf2[fn] != "" or fcmp(fn, mf1))):
def mfmatches(node): change = self.changelog.read(node) mf = dict(self.manifest.read(change[0])) for fn in mf.keys(): if not match(fn): del mf[fn] return mf
658f3e9b938f6c61a515cf114590f24c679ea255 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/658f3e9b938f6c61a515cf114590f24c679ea255/localrepo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14749, 8436, 12, 2159, 4672, 2549, 273, 365, 18, 24083, 12970, 18, 896, 12, 2159, 13, 14749, 273, 2065, 12, 2890, 18, 14357, 18, 896, 12, 3427, 63, 20, 22643, 364, 2295, 316, 14749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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14749, 8436, 12, 2159, 4672, 2549, 273, 365, 18, 24083, 12970, 18, 896, 12, 2159, 13, 14749, 273, 2065, 12, 2890, 18, 14357, 18, 896, 12, 3427, 63, 20, 22643, 364, 2295, 316, 14749, 18, 2452, 13332, 309, 486, 845, 12, 4293, 4672, 1464, 14749, 63, 4293, 65, 327, 14749, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
new_id = ir_model_data_obj._get_id(cursor, user,
new_id = ir_model_data_obj.get_id(cursor, user,
def process_liness(self, datas, prefix, fields_def, position=0): line = datas[position] row = {} translate = {} todo = [] warning = ''
d621403a102f4bc709e518348cff1576660a775b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9266/d621403a102f4bc709e518348cff1576660a775b/modelstorage.py
[ 1, 8585, 326, 22398, 316, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 80, 6336, 12, 2890, 16, 5386, 16, 1633, 16, 1466, 67, 536, 16, 1754, 33, 20, 4672, 980, 273, 5386, 63, 3276, 65, 1027, 273, 2618, 4204, 273, 2618, 10621, 273, 5378, 3436, 273, 875, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 '<' + x.__class__.__name__ + ' instance at ' + \ hex(id(x))[2:] + '>'
return '<%s instance at %x>' % (x.__class__.__name__, id(x))
def repr_instance(self, x, level): try: s = __builtin__.repr(x) # Bugs in x.__repr__() can cause arbitrary # exceptions -- then make up something except: return '<' + x.__class__.__name__ + ' instance at ' + \ hex(id(x))[2:] + '>' if len(s) > self.maxstring: i = max(0, (self.maxstring-3)//2) j = max(0, self.maxstring-3-i) s = s[:i] + '...' + s[len(s)-j:] return s
071128f3794f19b81d729ee796c0623c2736aa3d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/071128f3794f19b81d729ee796c0623c2736aa3d/repr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8480, 67, 1336, 12, 2890, 16, 619, 16, 1801, 4672, 775, 30, 272, 273, 1001, 24553, 25648, 12715, 12, 92, 13, 468, 605, 9024, 316, 619, 16186, 12715, 972, 1435, 848, 4620, 11078, 468, 4798, 1493, 1508, 1221, 731, 5943, 1335, 30, 327, 2368, 9, 87, 791, 622, 738, 92, 1870, 738, 261, 92, 16186, 1106, 972, 16186, 529, 972, 16, 612, 12, 92, 3719, 309, 562, 12, 87, 13, 405, 365, 18, 1896, 1080, 30, 277, 273, 943, 12, 20, 16, 261, 2890, 18, 1896, 1080, 17, 23, 13, 759, 22, 13, 525, 273, 943, 12, 20, 16, 365, 18, 1896, 1080, 17, 23, 17, 77, 13, 272, 273, 272, 10531, 77, 65, 397, 20243, 397, 272, 63, 1897, 12, 87, 24950, 78, 26894, 327, 272, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1336, 12, 2890, 16, 619, 16, 1801, 4672, 775, 30, 272, 273, 1001, 24553, 25648, 12715, 12, 92, 13, 468, 605, 9024, 316, 619, 16186, 12715, 972, 1435, 848, 4620, 11078, 468, 4798, 1493, 1508, 1221, 731, 5943, 1335, 30, 327, 2368, 9, 87, 791, 622, 738, 92, 1870, 738, 261, 92, 16186, 1106, 972, 16186, 529, 972, 16, 612, 12, 92, 3719, 309, 562, 12, 87, 13, 405, 365, 18, 1896, 1080, 30, 277, 273, 943, 12, 20, 16, 261, 2890, 18, 1896, 1080, 17, 23, 13, 759, 22, 13, 525, 273, 943, 12, 20, 16, 365, 18, 1896, 1080, 17, 23, 17, 77, 13, 272, 273, 272, 10531, 77, 65, 397, 20243, 397, 272, 2 ]
if len(today) > 0: self.comingup += _('Today') + u':\n' for r in today: self.comingup += u'%s\n' % Unicode(r) if len(tomorrow) > 0: self.comingup += _('Tomorrow') + u':\n' for r in tomorrow: self.comingup += u' %s\n' % Unicode(r) if len(later) > 0: self.comingup += _('This Week') + u':\n' for r in later: self.comingup += u' %s\n' % Unicode(r) if not self.comingup: self.comingup = _('No recordings are scheduled')
self.running = '' for rec in reclist: if rec.status == SCHEDULED: self.comingup += u'%s\n' % Unicode(rec) if rec.status == RECORDING: self.running += u'%s\n' % Unicode(rec)
def __request_description(self): if not self.server: return for key in self.__recordings: if not self.__recordings[key].description: cb = self.__describe_callback self.server.recording_describe(self.__recordings[key].id, callback=cb) return log.info('got all recording descriptions')
30f907f7d72e048e490e7f68865d136f70450395 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/30f907f7d72e048e490e7f68865d136f70450395/client.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2293, 67, 3384, 12, 2890, 4672, 309, 486, 365, 18, 3567, 30, 327, 364, 498, 316, 365, 16186, 3366, 899, 30, 309, 486, 365, 16186, 3366, 899, 63, 856, 8009, 3384, 30, 2875, 273, 365, 16186, 22748, 67, 3394, 365, 18, 3567, 18, 3366, 310, 67, 22748, 12, 2890, 16186, 3366, 899, 63, 856, 8009, 350, 16, 1348, 33, 7358, 13, 327, 613, 18, 1376, 2668, 13212, 777, 14949, 15550, 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, 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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, 1001, 2293, 67, 3384, 12, 2890, 4672, 309, 486, 365, 18, 3567, 30, 327, 364, 498, 316, 365, 16186, 3366, 899, 30, 309, 486, 365, 16186, 3366, 899, 63, 856, 8009, 3384, 30, 2875, 273, 365, 16186, 22748, 67, 3394, 365, 18, 3567, 18, 3366, 310, 67, 22748, 12, 2890, 16186, 3366, 899, 63, 856, 8009, 350, 16, 1348, 33, 7358, 13, 327, 613, 18, 1376, 2668, 13212, 777, 14949, 15550, 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 ]
return
return 'break'
def run_module_event(self, event): """Run the module after setting up the environment.
1adb239ef3ebf62b7cd46fc2588e4c8920d11370 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12029/1adb239ef3ebf62b7cd46fc2588e4c8920d11370/ScriptBinding.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 2978, 67, 2575, 12, 2890, 16, 871, 4672, 3536, 1997, 326, 1605, 1839, 3637, 731, 326, 3330, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 2978, 67, 2575, 12, 2890, 16, 871, 4672, 3536, 1997, 326, 1605, 1839, 3637, 731, 326, 3330, 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 ]
self._run_one_round(output, namespace, self.vars, values)
error = self._run_one_round(output, namespace, self.vars, values) if error: errors.extend(error.get_errors()) if not error.cont: break if errors: raise ExecutionFailures(errors)
def _run(self, output, namespace): items = self._replace_vars_from_items(namespace.variables) for i in range(0, len(items), len(self.vars)): values = items[i:i+len(self.vars)] self._run_one_round(output, namespace, self.vars, values)
0ec40629cd09b4a0b3bda8e23e0d6bc4cd28e4cb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7408/0ec40629cd09b4a0b3bda8e23e0d6bc4cd28e4cb/keywords.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2681, 12, 2890, 16, 876, 16, 1981, 4672, 1516, 273, 365, 6315, 2079, 67, 4699, 67, 2080, 67, 3319, 12, 4937, 18, 7528, 13, 364, 277, 316, 1048, 12, 20, 16, 562, 12, 3319, 3631, 562, 12, 2890, 18, 4699, 3719, 30, 924, 273, 1516, 63, 77, 30, 77, 15, 1897, 12, 2890, 18, 4699, 25887, 365, 6315, 2681, 67, 476, 67, 2260, 12, 2844, 16, 1981, 16, 365, 18, 4699, 16, 924, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2681, 12, 2890, 16, 876, 16, 1981, 4672, 1516, 273, 365, 6315, 2079, 67, 4699, 67, 2080, 67, 3319, 12, 4937, 18, 7528, 13, 364, 277, 316, 1048, 12, 20, 16, 562, 12, 3319, 3631, 562, 12, 2890, 18, 4699, 3719, 30, 924, 273, 1516, 63, 77, 30, 77, 15, 1897, 12, 2890, 18, 4699, 25887, 365, 6315, 2681, 67, 476, 67, 2260, 12, 2844, 16, 1981, 16, 365, 18, 4699, 16, 924, 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 ]
navtrail = '''<a class="navtrail: href="%s/admin/index.%s.html">%s</a>"''' % \
navtrail = '''<a class="navtrail" href="%s/admin/index.%s.html">%s</a>''' % \
def index(req, ln=config.cdslang): """ Main BibFormat administration page. Displays a warning if we find out that etc/biformat dir is not writable by us (as most opeation of BibFormat must write in this directory). @param ln: language """ warnings = [] #FIXME Remove when removing Migration Kit from invenio.bibformat_migration_kit_assistant_lib \ import can_write_migration_status_file if not can_write_migration_status_file(): warnings.append(("WRN_BIBFORMAT_CANNOT_WRITE_MIGRATION_STATUS")) if not bibformatadminlib.can_write_etc_bibformat_dir(): warnings.append(("WRN_BIBFORMAT_CANNOT_WRITE_IN_ETC_BIBFORMAT")) ln = wash_language(ln) _ = gettext_set_language(ln) # Check if user is authorized to administer # If not, still display page but offer to log in try: uid = getUid(req) except MySQLdb.Error, e: return error_page(req) (auth_code, auth_msg) = check_user(req, 'cfgbibformat') if not auth_code: is_admin = True else: is_admin = False navtrail = '''<a class="navtrail: href="%s/admin/index.%s.html">%s</a>"''' % \ (config.weburl, ln, _("Admin Area")) return page(title=_("BibFormat Admin"), body=bibformatadminlib.perform_request_index(ln=ln, warnings=warnings, is_admin=is_admin), language=ln, uid=uid, navtrail = navtrail, lastupdated=__lastupdated__, req=req, warnings=warnings)
f08fe81d00d74f462e6a931c4d621a61c821b5b1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12027/f08fe81d00d74f462e6a931c4d621a61c821b5b1/bibformatadmin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 770, 12, 3658, 16, 7211, 33, 1425, 18, 4315, 2069, 539, 4672, 3536, 12740, 605, 495, 1630, 3981, 4218, 1363, 18, 225, 9311, 87, 279, 3436, 309, 732, 1104, 596, 716, 5527, 19, 70, 6854, 270, 1577, 353, 486, 9691, 635, 584, 261, 345, 4486, 320, 347, 367, 434, 605, 495, 1630, 1297, 1045, 316, 333, 1867, 2934, 225, 632, 891, 7211, 30, 2653, 3536, 5599, 273, 5378, 225, 468, 25810, 3581, 1347, 9427, 15309, 1475, 305, 628, 2198, 275, 1594, 18, 70, 495, 2139, 67, 15746, 67, 8691, 67, 428, 17175, 67, 2941, 521, 1930, 848, 67, 2626, 67, 15746, 67, 2327, 67, 768, 309, 486, 848, 67, 2626, 67, 15746, 67, 2327, 67, 768, 13332, 5599, 18, 6923, 12, 2932, 7181, 50, 67, 38, 13450, 7254, 67, 39, 16791, 67, 11677, 67, 49, 3047, 24284, 67, 8608, 6, 3719, 225, 309, 486, 25581, 2139, 3666, 2941, 18, 4169, 67, 2626, 67, 14175, 67, 70, 495, 2139, 67, 1214, 13332, 5599, 18, 6923, 12, 2932, 7181, 50, 67, 38, 13450, 7254, 67, 39, 16791, 67, 11677, 67, 706, 67, 1584, 39, 67, 38, 13450, 7254, 6, 3719, 225, 7211, 273, 341, 961, 67, 4923, 12, 2370, 13, 389, 273, 24972, 67, 542, 67, 4923, 12, 2370, 13, 225, 468, 2073, 309, 729, 353, 10799, 358, 3981, 1249, 468, 971, 486, 16, 4859, 2562, 1363, 1496, 10067, 358, 613, 316, 775, 30, 4555, 273, 31652, 12, 3658, 13, 1335, 13485, 1966, 18, 668, 16, 425, 30, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 770, 12, 3658, 16, 7211, 33, 1425, 18, 4315, 2069, 539, 4672, 3536, 12740, 605, 495, 1630, 3981, 4218, 1363, 18, 225, 9311, 87, 279, 3436, 309, 732, 1104, 596, 716, 5527, 19, 70, 6854, 270, 1577, 353, 486, 9691, 635, 584, 261, 345, 4486, 320, 347, 367, 434, 605, 495, 1630, 1297, 1045, 316, 333, 1867, 2934, 225, 632, 891, 7211, 30, 2653, 3536, 5599, 273, 5378, 225, 468, 25810, 3581, 1347, 9427, 15309, 1475, 305, 628, 2198, 275, 1594, 18, 70, 495, 2139, 67, 15746, 67, 8691, 67, 428, 17175, 67, 2941, 521, 1930, 848, 67, 2626, 67, 15746, 67, 2327, 67, 768, 309, 486, 848, 67, 2626, 67, 15746, 67, 2327, 67, 768, 13332, 5599, 2 ]
pid = self.app2.pid
pid = self.browserProcess.pid
def startBrowser(self, port, url=None): """Called to spawn the optional app process if it is present in the config.
b2b0962c24ecd082a5d5f0dba5b6462d5e071871 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12466/b2b0962c24ecd082a5d5f0dba5b6462d5e071871/manager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 9132, 12, 2890, 16, 1756, 16, 880, 33, 7036, 4672, 3536, 8185, 358, 12560, 326, 3129, 595, 1207, 309, 518, 353, 3430, 316, 326, 642, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9132, 12, 2890, 16, 1756, 16, 880, 33, 7036, 4672, 3536, 8185, 358, 12560, 326, 3129, 595, 1207, 309, 518, 353, 3430, 316, 326, 642, 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 ]
sage: C = CrystalOfLetters (['D',3]) sage: C.list() [1, 2, 3, -3, -2, -1]
sage: C = CrystalOfLetters (['D',3]) sage: C.list() [1, 2, 3, -3, -2, -1] sage: C.check() True
def f(self, i): r""" TESTS: sage: C = CrystalOfLetters(['C',2]) sage: C(1).f(1) == C(2) True sage: C(2).f(1) == None True sage: C(-2).f(1) == C(-1) True sage: C(-1).f(2) == None True """ assert i in self.index_set()
3e7a6ca48e39fec3d5d307a939794861f7aee6f2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/3e7a6ca48e39fec3d5d307a939794861f7aee6f2/letters.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 284, 12, 2890, 16, 277, 4672, 436, 8395, 22130, 55, 30, 272, 410, 30, 385, 273, 14998, 31365, 951, 24181, 5432, 12, 3292, 39, 2187, 22, 5717, 272, 410, 30, 385, 12, 21, 2934, 74, 12, 21, 13, 422, 385, 12, 22, 13, 1053, 272, 410, 30, 385, 12, 22, 2934, 74, 12, 21, 13, 422, 599, 1053, 272, 410, 30, 385, 19236, 22, 2934, 74, 12, 21, 13, 422, 385, 19236, 21, 13, 1053, 272, 410, 30, 385, 19236, 21, 2934, 74, 12, 22, 13, 422, 599, 1053, 3536, 1815, 277, 316, 365, 18, 1615, 67, 542, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 284, 12, 2890, 16, 277, 4672, 436, 8395, 22130, 55, 30, 272, 410, 30, 385, 273, 14998, 31365, 951, 24181, 5432, 12, 3292, 39, 2187, 22, 5717, 272, 410, 30, 385, 12, 21, 2934, 74, 12, 21, 13, 422, 385, 12, 22, 13, 1053, 272, 410, 30, 385, 12, 22, 2934, 74, 12, 21, 13, 422, 599, 1053, 272, 410, 30, 385, 19236, 22, 2934, 74, 12, 21, 13, 422, 385, 19236, 21, 13, 1053, 272, 410, 30, 385, 19236, 21, 2934, 74, 12, 22, 13, 422, 599, 1053, 3536, 1815, 277, 316, 365, 18, 1615, 67, 542, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self._cache[key] = True
self._cache[key] = True
def search(self, cr, uid, args, offset=0, limit=2000, order=None, context=None, count=False): if context is None: context = {} ids = osv.orm.orm.search(self, cr, uid, args, offset, limit, order, context=context, count=(count and uid==1)) if uid==1: return ids
89f56ccbf6e652f58d70574620860cc41c2cce67 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/89f56ccbf6e652f58d70574620860cc41c2cce67/ir_ui_menu.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1623, 12, 2890, 16, 4422, 16, 4555, 16, 833, 16, 1384, 33, 20, 16, 1800, 33, 17172, 16, 1353, 33, 7036, 16, 819, 33, 7036, 16, 1056, 33, 8381, 4672, 309, 819, 353, 599, 30, 819, 273, 2618, 3258, 273, 1140, 90, 18, 535, 18, 535, 18, 3072, 12, 2890, 16, 4422, 16, 4555, 16, 833, 16, 1384, 16, 1800, 16, 1353, 16, 819, 33, 2472, 16, 1056, 28657, 1883, 471, 4555, 631, 21, 3719, 309, 4555, 631, 21, 30, 327, 3258, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1623, 12, 2890, 16, 4422, 16, 4555, 16, 833, 16, 1384, 33, 20, 16, 1800, 33, 17172, 16, 1353, 33, 7036, 16, 819, 33, 7036, 16, 1056, 33, 8381, 4672, 309, 819, 353, 599, 30, 819, 273, 2618, 3258, 273, 1140, 90, 18, 535, 18, 535, 18, 3072, 12, 2890, 16, 4422, 16, 4555, 16, 833, 16, 1384, 16, 1800, 16, 1353, 16, 819, 33, 2472, 16, 1056, 28657, 1883, 471, 4555, 631, 21, 3719, 309, 4555, 631, 21, 30, 327, 3258, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if self.multiple_values_allowed(section, option): value = self.convert(section, option, value) value = self.convert(section, option, value) self.set(section, option, value)
self.convert_and_set(section, option, value)
def merge_file(self, filename): import ConfigParser c = ConfigParser.ConfigParser() c.read(filename) for sect in c.sections(): for opt in c.options(sect): value = c.get(sect, opt) section = sect option = opt if not self._options.has_key((section, option)): print >> sys.stderr, ("Invalid option %s in" " section %s in file %s" % (opt, sect, filename)) else: if self.multiple_values_allowed(section, option): value = self.convert(section, option, value) value = self.convert(section, option, value) self.set(section, option, value)
cff265ccf0706ec756937341d7f6252e8d7b9c3d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6126/cff265ccf0706ec756937341d7f6252e8d7b9c3d/OptionsClass.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2691, 67, 768, 12, 2890, 16, 1544, 4672, 1930, 25076, 276, 273, 25076, 18, 809, 2678, 1435, 276, 18, 896, 12, 3459, 13, 364, 29140, 316, 276, 18, 11657, 13332, 364, 2153, 316, 276, 18, 2116, 12, 5709, 4672, 460, 273, 276, 18, 588, 12, 5709, 16, 2153, 13, 2442, 273, 29140, 1456, 273, 2153, 309, 486, 365, 6315, 2116, 18, 5332, 67, 856, 12443, 3464, 16, 1456, 3719, 30, 1172, 1671, 2589, 18, 11241, 16, 7566, 1941, 1456, 738, 87, 316, 6, 315, 2442, 738, 87, 316, 585, 738, 87, 6, 738, 261, 3838, 16, 29140, 16, 1544, 3719, 469, 30, 309, 365, 18, 9622, 67, 2372, 67, 8151, 12, 3464, 16, 1456, 4672, 460, 273, 365, 18, 6283, 12, 3464, 16, 1456, 16, 460, 13, 460, 273, 365, 18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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2691, 67, 768, 12, 2890, 16, 1544, 4672, 1930, 25076, 276, 273, 25076, 18, 809, 2678, 1435, 276, 18, 896, 12, 3459, 13, 364, 29140, 316, 276, 18, 11657, 13332, 364, 2153, 316, 276, 18, 2116, 12, 5709, 4672, 460, 273, 276, 18, 588, 12, 5709, 16, 2153, 13, 2442, 273, 29140, 1456, 273, 2153, 309, 486, 365, 6315, 2116, 18, 5332, 67, 856, 12443, 3464, 16, 1456, 3719, 30, 1172, 1671, 2589, 18, 11241, 16, 7566, 1941, 1456, 738, 87, 316, 6, 315, 2442, 738, 87, 316, 585, 738, 87, 6, 738, 261, 3838, 16, 29140, 16, 1544, 3719, 469, 30, 309, 365, 18, 9622, 67, 2372, 67, 8151, 12, 3464, 16, 1456, 4672, 460, 273, 365, 2 ]
loaded_id, saved_id, pasted_id = doc.get_data("AutoTabPluginHandlerIds")
loaded_id, saved_id = doc.get_data("AutoTabPluginHandlerIds")
def disconnect_handlers(self, view): doc = view.get_buffer() loaded_id, saved_id, pasted_id = doc.get_data("AutoTabPluginHandlerIds") doc.disconnect(loaded_id) doc.disconnect(saved_id) view.disconnect(pasted_id) doc.set_data("AutoTabPluginHandlerIds", None)
2911cc9f04b21f90c99ed91bdcc4be7f5f55ebca /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6065/2911cc9f04b21f90c99ed91bdcc4be7f5f55ebca/autotab.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9479, 67, 11046, 12, 2890, 16, 1476, 4672, 997, 273, 1476, 18, 588, 67, 4106, 1435, 225, 4203, 67, 350, 16, 5198, 67, 350, 273, 997, 18, 588, 67, 892, 2932, 4965, 5661, 3773, 1503, 2673, 7923, 997, 18, 20177, 12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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9479, 67, 11046, 12, 2890, 16, 1476, 4672, 997, 273, 1476, 18, 588, 67, 4106, 1435, 225, 4203, 67, 350, 16, 5198, 67, 350, 273, 997, 18, 588, 67, 892, 2932, 4965, 5661, 3773, 1503, 2673, 7923, 997, 18, 20177, 12, 4230, 67, 350, 13, 997, 18, 20177, 12, 14077, 67, 350, 13, 1476, 18, 20177, 12, 84, 689, 329, 67, 350, 13, 997, 18, 542, 67, 892, 2932, 4965, 5661, 3773, 1503, 2673, 3113, 599, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
@dbus.service.method("edu.duke.linux.yum.Updatesd")
self.updd = updd self.allowshutdown = False def doCheck(self): self.updd.updatesCheck() return False @dbus.service.method("edu.duke.linux.yum")
def __init__(self, bus_name, object_path='/Updatesd'): dbus.service.Object.__init__(self, bus_name, object_path)
e2d410c6d27e539632284c34aafe0b0bf67c6b04 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5445/e2d410c6d27e539632284c34aafe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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 5766, 67, 529, 16, 733, 67, 803, 2218, 19, 5121, 72, 11, 4672, 21866, 18, 3278, 18, 921, 16186, 2738, 972, 12, 2890, 16, 5766, 67, 529, 16, 733, 67, 803, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
class IEEEOperationsTestCase(unittest.TestCase): if float.__getformat__("double").startswith("IEEE"): def test_double_infinity(self): big = 4.8e159 pro = big*big self.assertEquals(repr(pro), 'inf') sqr = big**2 self.assertEquals(repr(sqr), 'inf')
def test_float_specials_do_unpack(self): for fmt, data in [('>f', BE_FLOAT_INF), ('>f', BE_FLOAT_NAN), ('<f', LE_FLOAT_INF), ('<f', LE_FLOAT_NAN)]: struct.unpack(fmt, data)
5fe085d7696feedbca22de63b160ada2a3934300 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/5fe085d7696feedbca22de63b160ada2a3934300/test_float.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 5659, 67, 9371, 87, 67, 2896, 67, 17309, 12, 2890, 4672, 364, 1325, 16, 501, 316, 306, 2668, 34, 74, 2187, 9722, 67, 15640, 67, 19212, 3631, 7707, 34, 74, 2187, 9722, 67, 15640, 67, 50, 1258, 3631, 7707, 32, 74, 2187, 5380, 67, 15640, 67, 19212, 3631, 7707, 32, 74, 2187, 5380, 67, 15640, 67, 50, 1258, 13, 14542, 1958, 18, 17309, 12, 8666, 16, 501, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7707, 32, 74, 2187, 5380, 67, 15640, 67, 50, 1258, 13, 14542, 1958, 18, 17309, 12, 8666, 16, 501, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def getnextframedata(self, (size, chromsize)):
def getnextframedata(self, size, chromsize):
def getnextframedata(self, (size, chromsize)): if self.hascache: self.position() self.frameno = self.frameno + 1 data = self.fp.read(size) if len(data) <> size: raise EOFError if chromsize: chromdata = self.fp.read(chromsize) if len(chromdata) <> chromsize: raise EOFError else: chromdata = None # return data, chromdata
620dcd44d24eb8bf113d55f56a197550bc6045b6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/620dcd44d24eb8bf113d55f56a197550bc6045b6/VFile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 4285, 74, 1940, 329, 396, 12, 2890, 16, 963, 16, 8123, 1467, 4672, 309, 365, 18, 5332, 2493, 30, 365, 18, 3276, 1435, 365, 18, 74, 1940, 5764, 273, 365, 18, 74, 1940, 5764, 397, 404, 501, 273, 365, 18, 7944, 18, 896, 12, 1467, 13, 309, 562, 12, 892, 13, 2813, 963, 30, 1002, 6431, 668, 309, 8123, 1467, 30, 8123, 892, 273, 365, 18, 7944, 18, 896, 12, 16298, 1467, 13, 309, 562, 12, 16298, 892, 13, 2813, 8123, 1467, 30, 1002, 6431, 668, 469, 30, 8123, 892, 273, 599, 468, 327, 501, 16, 8123, 892, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 336, 4285, 74, 1940, 329, 396, 12, 2890, 16, 963, 16, 8123, 1467, 4672, 309, 365, 18, 5332, 2493, 30, 365, 18, 3276, 1435, 365, 18, 74, 1940, 5764, 273, 365, 18, 74, 1940, 5764, 397, 404, 501, 273, 365, 18, 7944, 18, 896, 12, 1467, 13, 309, 562, 12, 892, 13, 2813, 963, 30, 1002, 6431, 668, 309, 8123, 1467, 30, 8123, 892, 273, 365, 18, 7944, 18, 896, 12, 16298, 1467, 13, 309, 562, 12, 16298, 892, 13, 2813, 8123, 1467, 30, 1002, 6431, 668, 469, 30, 8123, 892, 273, 599, 468, 327, 501, 16, 8123, 892, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
FXButton(f, i18n._("Add\tAdd hostname and networks that are not filtered.\nNetworks can be either in a.b.d.c/n or a.b.c.d/e.f.g.h format."), None, self, ConfWindow.ID_NOPROXYFOR_ADD) FXButton(f, i18n._("Edit"), None, self, ConfWindow.ID_NOPROXYFOR_EDIT) FXButton(f, i18n._("Remove"), None, self, ConfWindow.ID_NOPROXYFOR_REMOVE)
FXButton(f, i18n._("Add\tAdd hostname and networks that are not filtered.\nNetworks can be either in a.b.d.c/n or a.b.c.d/e.f.g.h format."), None, self, ConfWindow.ID_NOFILTERHOSTS_ADD) FXButton(f, i18n._("Edit"), None, self, ConfWindow.ID_NOFILTERHOSTS_EDIT) FXButton(f, i18n._("Remove"), None, self, ConfWindow.ID_NOFILTERHOSTS_REMOVE)
def proxySettings (self, tabbook): """generate the proxy setting tab""" FXTabItem(tabbook, i18n._("P&roxy Settings"), None) proxy = FXVerticalFrame(tabbook, FRAME_THICK|FRAME_RAISED) proxy_top = FXHorizontalFrame(proxy, LAYOUT_FILL_X|LAYOUT_FILL_Y|LAYOUT_SIDE_TOP)
51e89f1b5e55281c10087ddcb6212bfe31fdd6fd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3948/51e89f1b5e55281c10087ddcb6212bfe31fdd6fd/ConfWindow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2889, 2628, 261, 2890, 16, 3246, 3618, 4672, 3536, 7163, 326, 2889, 3637, 3246, 8395, 478, 3983, 378, 1180, 12, 7032, 3618, 16, 277, 2643, 82, 6315, 2932, 52, 10, 303, 1698, 8709, 6, 3631, 599, 13, 2889, 273, 478, 60, 15704, 3219, 12, 7032, 3618, 16, 20183, 67, 2455, 16656, 96, 15072, 67, 2849, 45, 18204, 13, 2889, 67, 3669, 273, 478, 60, 14457, 3219, 12, 5656, 16, 25239, 5069, 67, 29818, 67, 60, 96, 7868, 5069, 67, 29818, 67, 61, 96, 7868, 5069, 67, 26498, 67, 10462, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2889, 2628, 261, 2890, 16, 3246, 3618, 4672, 3536, 7163, 326, 2889, 3637, 3246, 8395, 478, 3983, 378, 1180, 12, 7032, 3618, 16, 277, 2643, 82, 6315, 2932, 52, 10, 303, 1698, 8709, 6, 3631, 599, 13, 2889, 273, 478, 60, 15704, 3219, 12, 7032, 3618, 16, 20183, 67, 2455, 16656, 96, 15072, 67, 2849, 45, 18204, 13, 2889, 67, 3669, 273, 478, 60, 14457, 3219, 12, 5656, 16, 25239, 5069, 67, 29818, 67, 60, 96, 7868, 5069, 67, 29818, 67, 61, 96, 7868, 5069, 67, 26498, 67, 10462, 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 ]
'PCBuild9'))
'PCbuild'))
def finalize_options (self): from distutils import sysconfig
e62cc3c51b6b133f936cf506302df15bbdb1dad4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3187/e62cc3c51b6b133f936cf506302df15bbdb1dad4/build_ext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12409, 67, 2116, 261, 2890, 4672, 628, 2411, 5471, 1930, 2589, 1425, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 261, 2890, 4672, 628, 2411, 5471, 1930, 2589, 1425, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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.sandboxDB = SandboxDB( 'SandboxDB' )
def initialize( self ): """Sets defaults """
b4d965913476a1364d9be0eece71678878cf26d9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/b4d965913476a1364d9be0eece71678878cf26d9/JobCleaningAgent.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4046, 12, 365, 262, 30, 3536, 2785, 3467, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4046, 12, 365, 262, 30, 3536, 2785, 3467, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
yield self.manifest.item(i)
mi = self.manifest.item(i) if getattr(mi, 'href', None): yield mi
def items(self): for i in self.linear_ids + self.nonlinear_ids: yield self.manifest.item(i)
fb53f18a8f716691ff561afad13db6c79c2707de /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9125/fb53f18a8f716691ff561afad13db6c79c2707de/opf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1516, 12, 2890, 4672, 364, 277, 316, 365, 18, 12379, 67, 2232, 397, 365, 18, 5836, 12379, 67, 2232, 30, 12837, 273, 365, 18, 14357, 18, 1726, 12, 77, 13, 309, 3869, 12, 9197, 16, 296, 7547, 2187, 599, 4672, 2824, 12837, 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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296, 7547, 2187, 599, 4672, 2824, 12837, 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 ]
self.pdbg("parse_desc [DESC] \"%s\" not active" % plugin_name)
if Opt.ParseDBG: self.pdbg("parse_desc [DESC] \"%s\" not active" % plugin_name)
def parse_desc(self): """match patterns against the description string in the plugin header.""" self.parse_dbg_indent += " " match = re_desc_fun.match(self.buffer) if match: p = match.span(0)[1] self.buffer = self.buffer[p:] self.pdbg("parse_desc new buffer = %s" % self.buffer) bang = match.group(1) # means to invert the meaning of the match pat = match.group(2) plugin_name = match.group(3) expr = "[DESC %s/%s/ %s]" % (bang, pat, plugin_name) self.pdbg("parse_desc, expr=%s" % expr) expanded = self.expand_filename(plugin_name) if len(expanded) == 1: expr = "[DESC %s/%s/ %s]" % (bang, pat, expanded[0]) elif expanded == []: self.pdbg("parse_desc [DESC] \"%s\" not active" % plugin_name) self.parse_dbg_indent = self.parse_dbg_indent[:-2] return(False, expr) # file does not exist if self.datadir == None: # this case is reached when doing fromfile checks, # which do not have access to the actual plugin, so we # always assume the test is merely for file existence, # to err on the side of caution self.parse_dbg_indent = self.parse_dbg_indent[:-2] return(True, expr) for xp in expanded: plugin = C.cname(xp) plugin_t = C.truename(plugin) re_pat = re.compile(pat) desc = plugin_description(self.datadir.find_path(plugin)) bool = (re_pat.search(desc) != None) if bang == "!": bool = not bool self.pdbg("parse_desc [DESC] returning: (%s, %s)" % (bool, expr)) if bool: self.parse_dbg_indent = self.parse_dbg_indent[:-2] return(True, "[DESC %s/%s/ %s]" % (bang, pat, plugin_t)) self.parse_dbg_indent = self.parse_dbg_indent[:-2] return(False, expr) self.parse_dbg_indent = self.parse_dbg_indent[:-2] self.parse_error(_["Invalid [DESC] function"]) return(None, None)
0c9007da0c07e550781c18146d5a05ade578dced /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2827/0c9007da0c07e550781c18146d5a05ade578dced/mlox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 5569, 12, 2890, 4672, 3536, 1916, 6884, 5314, 326, 2477, 533, 316, 326, 1909, 1446, 12123, 365, 18, 2670, 67, 1966, 75, 67, 9355, 1011, 315, 225, 315, 845, 273, 283, 67, 5569, 67, 12125, 18, 1916, 12, 2890, 18, 4106, 13, 309, 845, 30, 293, 273, 845, 18, 3969, 12, 20, 25146, 21, 65, 365, 18, 4106, 273, 365, 18, 4106, 63, 84, 26894, 365, 18, 17414, 75, 2932, 2670, 67, 5569, 394, 1613, 273, 738, 87, 6, 738, 365, 18, 4106, 13, 324, 539, 273, 845, 18, 1655, 12, 21, 13, 468, 4696, 358, 9848, 326, 12256, 434, 326, 845, 9670, 273, 845, 18, 1655, 12, 22, 13, 1909, 67, 529, 273, 845, 18, 1655, 12, 23, 13, 3065, 273, 5158, 10964, 738, 87, 5258, 87, 19, 738, 87, 4279, 738, 261, 70, 539, 16, 9670, 16, 1909, 67, 529, 13, 365, 18, 17414, 75, 2932, 2670, 67, 5569, 16, 3065, 5095, 87, 6, 738, 3065, 13, 8406, 273, 365, 18, 12320, 67, 3459, 12, 4094, 67, 529, 13, 309, 562, 12, 17336, 13, 422, 404, 30, 3065, 273, 5158, 10964, 738, 87, 5258, 87, 19, 738, 87, 4279, 738, 261, 70, 539, 16, 9670, 16, 8406, 63, 20, 5717, 1327, 8406, 422, 5378, 30, 309, 12056, 18, 3201, 2290, 43, 30, 365, 18, 17414, 75, 2932, 2670, 67, 5569, 306, 10964, 65, 22049, 87, 2412, 486, 2695, 6, 738, 1909, 67, 529, 13, 365, 18, 2670, 67, 1966, 75, 67, 9355, 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, 1109, 67, 5569, 12, 2890, 4672, 3536, 1916, 6884, 5314, 326, 2477, 533, 316, 326, 1909, 1446, 12123, 365, 18, 2670, 67, 1966, 75, 67, 9355, 1011, 315, 225, 315, 845, 273, 283, 67, 5569, 67, 12125, 18, 1916, 12, 2890, 18, 4106, 13, 309, 845, 30, 293, 273, 845, 18, 3969, 12, 20, 25146, 21, 65, 365, 18, 4106, 273, 365, 18, 4106, 63, 84, 26894, 365, 18, 17414, 75, 2932, 2670, 67, 5569, 394, 1613, 273, 738, 87, 6, 738, 365, 18, 4106, 13, 324, 539, 273, 845, 18, 1655, 12, 21, 13, 468, 4696, 358, 9848, 326, 12256, 434, 326, 845, 9670, 273, 845, 18, 1655, 12, 22, 13, 1909, 67, 529, 273, 845, 18, 2 ]
for item in iterator: yield item self._iterating = False
try: for item in iterator: yield item finally: self._iterating = False
def _iterator_wrapper(self, iterator): for item in iterator: yield item self._iterating = False
a55e3f15d6d53355acae2d809e1a5c512115b0dc /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11398/a55e3f15d6d53355acae2d809e1a5c512115b0dc/mpd.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9838, 67, 8376, 12, 2890, 16, 2775, 4672, 364, 761, 316, 2775, 30, 2824, 761, 365, 6315, 2165, 1776, 273, 1083, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.checkMessageCount(1)
self.checkMessageCount(2)
def testStop(self): self.checkMessageCount(1) messages.StopTrackingChannels().send_to_backend() self.runUrgentCalls() self.feed1.setTitle(u"Booya") f = Feed(u'http://example.com/3') self.feed2.remove() self.checkMessageCount(1)
69858501f3380a2140e17bd59f52ef0c473defe6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12354/69858501f3380a2140e17bd59f52ef0c473defe6/messagetest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 4947, 12, 2890, 4672, 365, 18, 1893, 1079, 1380, 12, 22, 13, 2743, 18, 4947, 12642, 10585, 7675, 4661, 67, 869, 67, 9993, 1435, 365, 18, 2681, 57, 26876, 319, 10125, 1435, 365, 18, 7848, 21, 18, 542, 4247, 12, 89, 6, 38, 5161, 93, 69, 7923, 284, 273, 14013, 12, 89, 11, 2505, 2207, 8236, 18, 832, 19, 23, 6134, 365, 18, 7848, 22, 18, 4479, 1435, 365, 18, 1893, 1079, 1380, 12, 21, 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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0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 4947, 12, 2890, 4672, 365, 18, 1893, 1079, 1380, 12, 22, 13, 2743, 18, 4947, 12642, 10585, 7675, 4661, 67, 869, 67, 9993, 1435, 365, 18, 2681, 57, 26876, 319, 10125, 1435, 365, 18, 7848, 21, 18, 542, 4247, 12, 89, 6, 38, 5161, 93, 69, 7923, 284, 273, 14013, 12, 89, 11, 2505, 2207, 8236, 18, 832, 19, 23, 6134, 365, 18, 7848, 22, 18, 4479, 1435, 365, 18, 1893, 1079, 1380, 12, 21, 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 ]
__swig_setmethods__["CensusChanged"] = _micropolisengine.Micropolis_CensusChanged_set __swig_getmethods__["CensusChanged"] = _micropolisengine.Micropolis_CensusChanged_get if _newclass:CensusChanged = _swig_property(_micropolisengine.Micropolis_CensusChanged_get, _micropolisengine.Micropolis_CensusChanged_set) __swig_setmethods__["MessagePort"] = _micropolisengine.Micropolis_MessagePort_set __swig_getmethods__["MessagePort"] = _micropolisengine.Micropolis_MessagePort_get if _newclass:MessagePort = _swig_property(_micropolisengine.Micropolis_MessagePort_get, _micropolisengine.Micropolis_MessagePort_set) __swig_setmethods__["MesX"] = _micropolisengine.Micropolis_MesX_set __swig_getmethods__["MesX"] = _micropolisengine.Micropolis_MesX_get if _newclass:MesX = _swig_property(_micropolisengine.Micropolis_MesX_get, _micropolisengine.Micropolis_MesX_set) __swig_setmethods__["MesY"] = _micropolisengine.Micropolis_MesY_set __swig_getmethods__["MesY"] = _micropolisengine.Micropolis_MesY_get if _newclass:MesY = _swig_property(_micropolisengine.Micropolis_MesY_get, _micropolisengine.Micropolis_MesY_set)
__swig_setmethods__["censusChanged"] = _micropolisengine.Micropolis_censusChanged_set __swig_getmethods__["censusChanged"] = _micropolisengine.Micropolis_censusChanged_get if _newclass:censusChanged = _swig_property(_micropolisengine.Micropolis_censusChanged_get, _micropolisengine.Micropolis_censusChanged_set) __swig_setmethods__["messagePort"] = _micropolisengine.Micropolis_messagePort_set __swig_getmethods__["messagePort"] = _micropolisengine.Micropolis_messagePort_get if _newclass:messagePort = _swig_property(_micropolisengine.Micropolis_messagePort_get, _micropolisengine.Micropolis_messagePort_set) __swig_setmethods__["mesX"] = _micropolisengine.Micropolis_mesX_set __swig_getmethods__["mesX"] = _micropolisengine.Micropolis_mesX_get if _newclass:mesX = _swig_property(_micropolisengine.Micropolis_mesX_get, _micropolisengine.Micropolis_mesX_set) __swig_setmethods__["mesY"] = _micropolisengine.Micropolis_mesY_set __swig_getmethods__["mesY"] = _micropolisengine.Micropolis_mesY_get if _newclass:mesY = _swig_property(_micropolisengine.Micropolis_mesY_get, _micropolisengine.Micropolis_mesY_set)
def destroy(*args): return _micropolisengine.Micropolis_destroy(*args)
042efdbc14576987266b02bd652be3f94dec4046 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12485/042efdbc14576987266b02bd652be3f94dec4046/micropolisengine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5546, 30857, 1968, 4672, 327, 389, 27593, 1764, 355, 291, 8944, 18, 49, 335, 1764, 355, 291, 67, 11662, 30857, 1968, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5546, 30857, 1968, 4672, 327, 389, 27593, 1764, 355, 291, 8944, 18, 49, 335, 1764, 355, 291, 67, 11662, 30857, 1968, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
azi_angle.append(values[1])
azi_angles.append(values[1])
def __calc_azi(xi, yi): return math.atan2(yi, xi)
87284c81408d8971677c64c765564332b1389cad /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/762/87284c81408d8971677c64c765564332b1389cad/calc_dgs_params.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12448, 67, 1561, 77, 12, 27005, 16, 16805, 4672, 327, 4233, 18, 270, 304, 22, 12, 93, 77, 16, 14087, 13, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12448, 67, 1561, 77, 12, 27005, 16, 16805, 4672, 327, 4233, 18, 270, 304, 22, 12, 93, 77, 16, 14087, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
extra_args = extra_args or ["."]
def GenerateDiff(self, extra_args): # If no file specified, restrict to the current subdir extra_args = extra_args or ["."] cmd = ["hg", "diff", "--git", "-r", self.base_rev] + extra_args data = RunShell(cmd, silent_ok=True) svndiff = [] filecount = 0 for line in data.splitlines(): m = re.match("diff --git a/(\S+) b/(\S+)", line) if m: # Modify line to make it look like as it comes from svn diff. # With this modification no changes on the server side are required # to make upload.py work with Mercurial repos. # NOTE: for proper handling of moved/copied files, we have to use # the second filename. filename = m.group(2) svndiff.append("Index: %s" % filename) svndiff.append("=" * 67) filecount += 1 logging.info(line) else: svndiff.append(line) if not filecount: ErrorExit("No valid patches found in output from hg diff") return "\n".join(svndiff) + "\n"
592f094ecc5f316ca7adfcb8b85f23b9604fee11 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/476/592f094ecc5f316ca7adfcb8b85f23b9604fee11/upload.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6654, 5938, 12, 2890, 16, 2870, 67, 1968, 4672, 468, 971, 1158, 585, 1269, 16, 13108, 358, 326, 783, 16921, 4172, 273, 8247, 26981, 3113, 315, 5413, 3113, 5238, 6845, 3113, 3701, 86, 3113, 365, 18, 1969, 67, 9083, 65, 397, 2870, 67, 1968, 501, 273, 1939, 13220, 12, 4172, 16, 10404, 67, 601, 33, 5510, 13, 5893, 4880, 3048, 273, 5378, 585, 1883, 273, 374, 364, 980, 316, 501, 18, 4939, 3548, 13332, 312, 273, 283, 18, 1916, 2932, 5413, 1493, 6845, 279, 19, 4713, 55, 6975, 324, 19, 4713, 55, 15, 2225, 16, 980, 13, 309, 312, 30, 468, 9518, 980, 358, 1221, 518, 2324, 3007, 487, 518, 14535, 628, 5893, 82, 3122, 18, 468, 3423, 333, 11544, 1158, 3478, 603, 326, 1438, 4889, 854, 1931, 468, 358, 1221, 3617, 18, 2074, 1440, 598, 14940, 1397, 649, 13686, 18, 468, 5219, 30, 364, 5338, 5057, 434, 10456, 19, 22295, 2092, 1390, 16, 732, 1240, 358, 999, 468, 326, 2205, 1544, 18, 1544, 273, 312, 18, 1655, 12, 22, 13, 5893, 4880, 3048, 18, 6923, 2932, 1016, 30, 738, 87, 6, 738, 1544, 13, 5893, 4880, 3048, 18, 6923, 2932, 1546, 380, 21017, 13, 585, 1883, 1011, 404, 2907, 18, 1376, 12, 1369, 13, 469, 30, 5893, 4880, 3048, 18, 6923, 12, 1369, 13, 309, 486, 585, 1883, 30, 1068, 6767, 2932, 2279, 923, 16482, 1392, 316, 876, 628, 22576, 3122, 7923, 327, 1548, 82, 9654, 5701, 12, 5751, 4880, 3048, 13, 397, 1548, 82, 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, 6654, 5938, 12, 2890, 16, 2870, 67, 1968, 4672, 468, 971, 1158, 585, 1269, 16, 13108, 358, 326, 783, 16921, 4172, 273, 8247, 26981, 3113, 315, 5413, 3113, 5238, 6845, 3113, 3701, 86, 3113, 365, 18, 1969, 67, 9083, 65, 397, 2870, 67, 1968, 501, 273, 1939, 13220, 12, 4172, 16, 10404, 67, 601, 33, 5510, 13, 5893, 4880, 3048, 273, 5378, 585, 1883, 273, 374, 364, 980, 316, 501, 18, 4939, 3548, 13332, 312, 273, 283, 18, 1916, 2932, 5413, 1493, 6845, 279, 19, 4713, 55, 6975, 324, 19, 4713, 55, 15, 2225, 16, 980, 13, 309, 312, 30, 468, 9518, 980, 358, 1221, 518, 2324, 3007, 487, 518, 14535, 628, 5893, 82, 3122, 18, 468, 3423, 2 ]
xmllib.XMLParser.__init__(self)
try: xmllib.XMLParser.__init__(self, accept_utf8=1) except TypeError: xmllib.XMLParser.__init__(self)
def __init__(self, target): self.handle_xml = target.xml self.unknown_starttag = target.start self.handle_data = target.data self.unknown_endtag = target.end xmllib.XMLParser.__init__(self)
cd906440fbd0694e165a09262268a608df82deeb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/cd906440fbd0694e165a09262268a608df82deeb/xmlrpclib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1018, 4672, 365, 18, 4110, 67, 2902, 273, 1018, 18, 2902, 365, 18, 8172, 67, 1937, 2692, 273, 1018, 18, 1937, 365, 18, 4110, 67, 892, 273, 1018, 18, 892, 365, 18, 8172, 67, 409, 2692, 273, 1018, 18, 409, 2025, 2941, 18, 4201, 2678, 16186, 2738, 972, 12, 2890, 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,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, 8172, 67, 409, 2692, 273, 1018, 18, 409, 2025, 2941, 18, 4201, 2678, 16186, 2738, 972, 12, 2890, 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 ]
plugins = tuple(plugins)
plugins = str(tuple(plugins))
def getDecryptJob(self): """return job for decrypting""" if self.jobCache.has_key("decrypt"): return None
11c3f296ddc62d75853fa1b3082fd5dd3ab01e02 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9838/11c3f296ddc62d75853fa1b3082fd5dd3ab01e02/FileDatabase.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 17306, 2278, 12, 2890, 4672, 3536, 2463, 1719, 364, 8420, 310, 8395, 309, 365, 18, 4688, 1649, 18, 5332, 67, 856, 2932, 19790, 6, 4672, 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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672, 3536, 2463, 1719, 364, 8420, 310, 8395, 309, 365, 18, 4688, 1649, 18, 5332, 67, 856, 2932, 19790, 6, 4672, 327, 599, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def __init__(self, name, type, stage, inifile, injfile, analysis_dir):
def __init__(self, name, type, analysis_dir):
def __init__(self, name, type, stage, inifile, injfile, analysis_dir): """ Initializing this class with all the needed information @param name: name of the GRB @param type: what dag is this? onoff/inj @param stage: stage of the dag, like uberdag or ligolwdag @param inifile: inifile for this DAG @param injfile: injection file for this DAG @param analysis_dir: path to the analysis directory """
43dcab37fc92bcd058f9d34fa6dd08eb7fbb8898 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3592/43dcab37fc92bcd058f9d34fa6dd08eb7fbb8898/pylal_exttrig_llutils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 508, 16, 618, 16, 6285, 67, 1214, 4672, 3536, 10188, 6894, 333, 667, 598, 777, 326, 3577, 1779, 632, 891, 508, 30, 508, 434, 326, 15228, 38, 632, 891, 618, 30, 4121, 22940, 353, 333, 35, 603, 3674, 19, 267, 78, 632, 891, 6009, 30, 6009, 434, 326, 22940, 16, 3007, 13910, 264, 30204, 578, 16917, 355, 3623, 346, 632, 891, 316, 430, 398, 30, 316, 430, 398, 364, 333, 463, 1781, 632, 891, 316, 78, 768, 30, 10380, 585, 364, 333, 463, 1781, 632, 891, 6285, 67, 1214, 30, 589, 358, 326, 6285, 1867, 3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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 508, 16, 618, 16, 6285, 67, 1214, 4672, 3536, 10188, 6894, 333, 667, 598, 777, 326, 3577, 1779, 632, 891, 508, 30, 508, 434, 326, 15228, 38, 632, 891, 618, 30, 4121, 22940, 353, 333, 35, 603, 3674, 19, 267, 78, 632, 891, 6009, 30, 6009, 434, 326, 22940, 16, 3007, 13910, 264, 30204, 578, 16917, 355, 3623, 346, 632, 891, 316, 430, 398, 30, 316, 430, 398, 364, 333, 463, 1781, 632, 891, 316, 78, 768, 30, 10380, 585, 364, 333, 463, 1781, 632, 891, 6285, 67, 1214, 30, 589, 358, 326, 6285, 1867, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
run('tar', 'czf', '%s.tar.gz' % BUILDNAME, '-X', debuglist.name, '-C', DIST_PARENT, BUILDNAME, need_output=False)
run('tar', 'czf', '%s.tar.gz' % BUILDNAME, '-X', debuglist.name, '-C', DIST_PARENT, BUILDNAME)
def copy(src, dst, hardlink = True): if P.isdir(dst): dst = P.join(dst, P.basename(src)) logger.debug('%s -> %s' % (src, dst)) if hardlink: try: os.link(src, dst) return except OSError, o: if o.errno != errno.EXDEV: # Invalid cross-device link raise shutil.copy2(src, dst)
725843c2e338bb543b1d5d7073c0076ec4ed49e3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13144/725843c2e338bb543b1d5d7073c0076ec4ed49e3/make-dist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 12, 4816, 16, 3046, 16, 7877, 1232, 273, 1053, 4672, 309, 453, 18, 291, 1214, 12, 11057, 4672, 3046, 273, 453, 18, 5701, 12, 11057, 16, 453, 18, 13909, 12, 4816, 3719, 225, 1194, 18, 4148, 29909, 87, 317, 738, 87, 11, 738, 261, 4816, 16, 3046, 3719, 225, 309, 7877, 1232, 30, 775, 30, 1140, 18, 1232, 12, 4816, 16, 3046, 13, 327, 1335, 10002, 16, 320, 30, 309, 320, 18, 19088, 480, 8402, 18, 2294, 15301, 30, 468, 1962, 6828, 17, 5964, 1692, 1002, 11060, 18, 3530, 22, 12, 4816, 16, 3046, 13, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 12, 4816, 16, 3046, 16, 7877, 1232, 273, 1053, 4672, 309, 453, 18, 291, 1214, 12, 11057, 4672, 3046, 273, 453, 18, 5701, 12, 11057, 16, 453, 18, 13909, 12, 4816, 3719, 225, 1194, 18, 4148, 29909, 87, 317, 738, 87, 11, 738, 261, 4816, 16, 3046, 3719, 225, 309, 7877, 1232, 30, 775, 30, 1140, 18, 1232, 12, 4816, 16, 3046, 13, 327, 1335, 10002, 16, 320, 30, 309, 320, 18, 19088, 480, 8402, 18, 2294, 15301, 30, 468, 1962, 6828, 17, 5964, 1692, 1002, 11060, 18, 3530, 22, 12, 4816, 16, 3046, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
_in += 1
self._postcomment() self._parent._parent._in += 1
def __call__(self, *args, **kwargs) : global _in if not _in : self._parent._parent._PyWrite(" %s.%s(%s)" % (self._parent._name, self._action, apply(buildargs, args, kwargs))) _in += 1 retcode = apply(getattr(self._parent._object, self._action), args, kwargs) _in -= 1 return retcode
b64a90f56c6220e080453d410d6535e49b580ebc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/b64a90f56c6220e080453d410d6535e49b580ebc/pycanvas.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 380, 1968, 16, 2826, 4333, 13, 294, 2552, 389, 267, 309, 486, 389, 267, 294, 365, 6315, 2938, 6315, 2938, 6315, 9413, 3067, 2932, 565, 738, 87, 7866, 87, 9275, 87, 2225, 738, 261, 2890, 6315, 2938, 6315, 529, 16, 365, 6315, 1128, 16, 2230, 12, 3510, 1968, 16, 833, 16, 1205, 20349, 365, 6315, 2767, 3469, 1435, 365, 6315, 2938, 6315, 2938, 6315, 267, 1011, 404, 22115, 273, 2230, 12, 588, 1747, 12, 2890, 6315, 2938, 6315, 1612, 16, 365, 6315, 1128, 3631, 833, 16, 1205, 13, 389, 267, 3947, 404, 327, 22115, 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, 1001, 1991, 972, 12, 2890, 16, 380, 1968, 16, 2826, 4333, 13, 294, 2552, 389, 267, 309, 486, 389, 267, 294, 365, 6315, 2938, 6315, 2938, 6315, 9413, 3067, 2932, 565, 738, 87, 7866, 87, 9275, 87, 2225, 738, 261, 2890, 6315, 2938, 6315, 529, 16, 365, 6315, 1128, 16, 2230, 12, 3510, 1968, 16, 833, 16, 1205, 20349, 365, 6315, 2767, 3469, 1435, 365, 6315, 2938, 6315, 2938, 6315, 267, 1011, 404, 22115, 273, 2230, 12, 588, 1747, 12, 2890, 6315, 2938, 6315, 1612, 16, 365, 6315, 1128, 3631, 833, 16, 1205, 13, 389, 267, 3947, 404, 327, 22115, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
\log(n)` time (and in linear time if all weights are equal). On the other hand, if one is given a large (possibly
\log(n)` time (and in linear time if all weights are equal) where `n = V + E`. On the other hand, if one is given a large (possibly
def steiner_tree(self,vertices, weighted = False): r""" Returns a tree of minimum weight connecting the given set of vertices.
2326e362d031217f2f9c415083e8fa35b1ffba5c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/2326e362d031217f2f9c415083e8fa35b1ffba5c/generic_graph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 384, 13685, 264, 67, 3413, 12, 2890, 16, 17476, 16, 13747, 273, 1083, 4672, 436, 8395, 2860, 279, 2151, 434, 5224, 3119, 14244, 326, 864, 444, 434, 6928, 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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8395, 2860, 279, 2151, 434, 5224, 3119, 14244, 326, 864, 444, 434, 6928, 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 ]
gauss.SetRadiusFactor(0.8)
gauss.SetRadiusFactor(0.6)
def BuildEditedImage(imagedata, points): """ Editing the original image in accordance with the edit points in the editor, it is necessary to generate the vtkPolyData via vtkContourFilter """ for point in points: x, y, z = point colour = points[point] imagedata.SetScalarComponentFromDouble(x, y, z, 0, colour) imagedata.Update() gauss = vtk.vtkImageGaussianSmooth() gauss.SetInput(imagedata) gauss.SetRadiusFactor(0.8) gauss.Update() return gauss.GetOutput()
7298b42982fe394bd918e8f96a322e799bab9437 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10228/7298b42982fe394bd918e8f96a322e799bab9437/imagedata_utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3998, 4666, 329, 2040, 12, 381, 11349, 396, 16, 3143, 4672, 3536, 15328, 310, 326, 2282, 1316, 316, 1721, 29342, 598, 326, 3874, 3143, 316, 326, 4858, 16, 518, 353, 4573, 358, 2103, 326, 13659, 12487, 751, 3970, 13659, 660, 477, 1586, 3536, 364, 1634, 316, 3143, 30, 619, 16, 677, 16, 998, 273, 1634, 15046, 273, 3143, 63, 1153, 65, 8902, 329, 396, 18, 694, 13639, 1841, 1265, 5265, 12, 92, 16, 677, 16, 998, 16, 374, 16, 15046, 13, 8902, 329, 396, 18, 1891, 1435, 225, 314, 10325, 273, 13659, 18, 11734, 79, 2040, 43, 12086, 9552, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3998, 4666, 329, 2040, 12, 381, 11349, 396, 16, 3143, 4672, 3536, 15328, 310, 326, 2282, 1316, 316, 1721, 29342, 598, 326, 3874, 3143, 316, 326, 4858, 16, 518, 353, 4573, 358, 2103, 326, 13659, 12487, 751, 3970, 13659, 660, 477, 1586, 3536, 364, 1634, 316, 3143, 30, 619, 16, 677, 16, 998, 273, 1634, 15046, 273, 3143, 63, 1153, 65, 8902, 329, 396, 18, 694, 13639, 1841, 1265, 5265, 12, 92, 16, 677, 16, 998, 16, 374, 16, 15046, 13, 8902, 329, 396, 18, 1891, 1435, 225, 314, 10325, 273, 13659, 18, 11734, 79, 2040, 43, 12086, 9552, 8595, 1435, 314, 10325, 18, 28299, 12, 381, 11349, 396, 13, 314, 10325, 18, 694, 10196, 6837, 12, 20, 2 ]
help = "URL of ChatZilla repository to pull from (default: use hg default in mozilla/extensions/irc/.hg/hgrc; or if that file doesn't exist, use \"" + DEFAULT_CHATZILLA_REPO + "\".)")
help = "URL of ChatZilla repository to pull from (default: use hg default in mozilla/extensions/irc/.hg/hgrc; or if that file doesn't exist, use \"" + DEFAULTS['CHATZILLA_REPO'] + "\".)")
def check_retries_option(option, opt_str, value, parser): if value < 0: raise OptionValueError("%s option value needs to be positive (not '%d')" % (opt_str, value)) setattr(parser.values, option.dest, value)
bb77714db9931969ccbda06021d80525b7562c7a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11044/bb77714db9931969ccbda06021d80525b7562c7a/client.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 15215, 67, 3482, 12, 3482, 16, 2153, 67, 701, 16, 460, 16, 2082, 4672, 309, 460, 411, 374, 30, 1002, 2698, 23610, 27188, 87, 1456, 460, 4260, 358, 506, 6895, 261, 902, 1995, 72, 23291, 738, 261, 3838, 67, 701, 16, 460, 3719, 9241, 12, 4288, 18, 2372, 16, 1456, 18, 10488, 16, 460, 13, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 15215, 67, 3482, 12, 3482, 16, 2153, 67, 701, 16, 460, 16, 2082, 4672, 309, 460, 411, 374, 30, 1002, 2698, 23610, 27188, 87, 1456, 460, 4260, 358, 506, 6895, 261, 902, 1995, 72, 23291, 738, 261, 3838, 67, 701, 16, 460, 3719, 9241, 12, 4288, 18, 2372, 16, 1456, 18, 10488, 16, 460, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if len(desc) > 60: desc = desc[:56]+' ...'
if len(desc) > 60: desc = desc[:56] + ' ...'
def undoable_transactions(self, first_transaction=None, last_transaction=None, PrincipiaUndoBatchSize=None):
966fde8b9dcbf826b59950a8749914790b8a3c9a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9658/966fde8b9dcbf826b59950a8749914790b8a3c9a/Undo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15436, 429, 67, 20376, 12, 2890, 16, 1122, 67, 7958, 33, 7036, 16, 1142, 67, 7958, 33, 7036, 16, 2301, 4613, 1155, 31224, 23304, 33, 7036, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15436, 429, 67, 20376, 12, 2890, 16, 1122, 67, 7958, 33, 7036, 16, 1142, 67, 7958, 33, 7036, 16, 2301, 4613, 1155, 31224, 23304, 33, 7036, 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 ]
self._save_baseline_data(filename, output, ".txt", encoding=None,
self._save_baseline_data(filename, actual_test_output.text, ".txt", encoding=None,
def compare_output(self, port, filename, test_args, actual_test_output, expected_test_output): """Implementation of CompareOutput that checks the output text against the expected text from the LayoutTest directory.""" failures = []
979e4ee82cc6efef5af75780bd7d90b5826a2913 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/979e4ee82cc6efef5af75780bd7d90b5826a2913/text_diff.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3400, 67, 2844, 12, 2890, 16, 1756, 16, 1544, 16, 1842, 67, 1968, 16, 3214, 67, 3813, 67, 2844, 16, 2665, 67, 3813, 67, 2844, 4672, 3536, 13621, 434, 11051, 1447, 716, 4271, 326, 876, 977, 5314, 326, 2665, 977, 628, 326, 9995, 4709, 1867, 12123, 11720, 273, 5378, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3400, 67, 2844, 12, 2890, 16, 1756, 16, 1544, 16, 1842, 67, 1968, 16, 3214, 67, 3813, 67, 2844, 16, 2665, 67, 3813, 67, 2844, 4672, 3536, 13621, 434, 11051, 1447, 716, 4271, 326, 876, 977, 5314, 326, 2665, 977, 628, 326, 9995, 4709, 1867, 12123, 11720, 273, 5378, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return Matrix(GF(2), e ,e, columns).transpose()
return Matrix(GF(2), e , e, columns).transpose()
def _square_matrix(self): """ Return a matrix of dimension self.e x self.e which performs the squaring operation over $GF(2^n)$ on vectors of length e.
e506ccc2459e6e3948659b0d1b28d9d6b70342e4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/e506ccc2459e6e3948659b0d1b28d9d6b70342e4/sr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 19719, 67, 5667, 12, 2890, 4672, 3536, 2000, 279, 3148, 434, 4968, 365, 18, 73, 619, 365, 18, 73, 1492, 11199, 326, 17715, 5968, 1674, 1879, 271, 43, 42, 12, 22, 66, 82, 21877, 603, 10046, 434, 769, 425, 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, 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 4968, 365, 18, 73, 619, 365, 18, 73, 1492, 11199, 326, 17715, 5968, 1674, 1879, 271, 43, 42, 12, 22, 66, 82, 21877, 603, 10046, 434, 769, 425, 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 ]
def fl_set_nmenu_policy(p1, p2): """ fl_set_nmenu_policy(p1, p2) -> num. """ retval = _fl_set_nmenu_policy(p1, p2)
def fl_set_nmenu_policy(pObject, p2): """ fl_set_nmenu_policy(pObject, p2) -> num. """ retval = _fl_set_nmenu_policy(pObject, p2)
def fl_set_nmenu_policy(p1, p2): """ fl_set_nmenu_policy(p1, p2) -> num. """ retval = _fl_set_nmenu_policy(p1, p2) return retval
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 542, 67, 82, 5414, 67, 5086, 12, 84, 921, 16, 293, 22, 4672, 3536, 1183, 67, 542, 67, 82, 5414, 67, 5086, 12, 84, 921, 16, 293, 22, 13, 317, 818, 18, 3536, 225, 5221, 273, 389, 2242, 67, 542, 67, 82, 5414, 67, 5086, 12, 84, 921, 16, 293, 22, 13, 327, 5221, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 542, 67, 82, 5414, 67, 5086, 12, 84, 921, 16, 293, 22, 4672, 3536, 1183, 67, 542, 67, 82, 5414, 67, 5086, 12, 84, 921, 16, 293, 22, 13, 317, 818, 18, 3536, 225, 5221, 273, 389, 2242, 67, 542, 67, 82, 5414, 67, 5086, 12, 84, 921, 16, 293, 22, 13, 327, 5221, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
tx.moveCursor(offset + extraspace, 0)
m = offset + extraspace tx.moveCursor(m, 0)
def cleanBlockQuotedText(text): """This is an internal utility which takes triple- quoted text form within the document and returns (hopefully) the paragraph the user intended originally.""" stripped = string.strip(text) lines = string.split(stripped, '\n') trimmed_lines = map(string.lstrip, lines) return string.join(trimmed_lines, ' ')
6b31b874861a338231612bc3e9fa165b59a293b1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/6b31b874861a338231612bc3e9fa165b59a293b1/paragraph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2721, 1768, 15919, 1528, 12, 955, 4672, 3536, 2503, 353, 392, 2713, 12788, 1492, 5530, 14543, 17, 9298, 977, 646, 3470, 326, 1668, 471, 1135, 261, 76, 1306, 4095, 13, 326, 10190, 326, 729, 12613, 24000, 12123, 13300, 273, 533, 18, 6406, 12, 955,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2721, 1768, 15919, 1528, 12, 955, 4672, 3536, 2503, 353, 392, 2713, 12788, 1492, 5530, 14543, 17, 9298, 977, 646, 3470, 326, 1668, 471, 1135, 261, 76, 1306, 4095, 13, 326, 10190, 326, 729, 12613, 24000, 12123, 13300, 273, 533, 18, 6406, 12, 955, 13, 2362, 273, 533, 18, 4939, 12, 6406, 1845, 16, 2337, 82, 6134, 12350, 67, 3548, 273, 852, 12, 1080, 18, 80, 6406, 16, 2362, 13, 327, 533, 18, 5701, 12, 5290, 2937, 67, 3548, 16, 296, 8624, 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 ]
push(name) need_blank_after_doc = 0
push(self.bold(name)) push('\n')
def _docproperty(self, name, value, mod): results = [] push = results.append
d11e9bddf58ab4c0de85be5a7c233b9b332feaad /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/d11e9bddf58ab4c0de85be5a7c233b9b332feaad/pydoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2434, 4468, 12, 2890, 16, 508,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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 ]
[ 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 ]
"""Get a devstudio path (include, lib or path)."""
"""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."""
def get_msvc_paths (path, version='6.0', platform='x86'): """Get a devstudio path (include, lib or path).""" try: import win32api import win32con except ImportError: return None 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 (win32con.HKEY_CLASSES_ROOT, win32con.HKEY_LOCAL_MACHINE, win32con.HKEY_CURRENT_USER, win32con.HKEY_USERS): try: k = win32api.RegOpenKeyEx(base,K) i = 0 while 1: try: (p,v,t) = win32api.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 win32api.error: break except win32api.error: pass return L
018ef3a8c6b930e05ea82d0ffb0865e6b398f61e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/018ef3a8c6b930e05ea82d0ffb0865e6b398f61e/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, 775, 30, 1930, 5657, 1578, 2425, 1930, 5657, 1578, 591, 1335, 11308, 30, 327, 599, 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, 8082, 1578, 591, 18, 44, 3297, 67, 27337, 67, 9185, 16, 5657, 1578, 591, 18, 44, 3297, 67, 14922, 67, 5535, 1792, 3740, 16, 5657, 1578, 591, 18, 44, 3297, 67, 15487, 67, 4714, 16, 5657, 1578, 591, 18, 44, 3297, 67, 30846, 4672, 775, 30, 417, 273, 5657, 1578, 2425, 18, 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, 5657, 1578, 2425, 18, 1617, 3572, 620, 12, 79, 16, 77, 13, 309, 533, 18, 5797, 12, 84, 13, 422, 589, 30, 776, 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, 775, 30, 1930, 5657, 1578, 2425, 1930, 5657, 1578, 591, 1335, 11308, 30, 327, 599, 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, 2 ]
return env, nl, nl
nl_post = list(nl) nl_post.append(source_node) return env, nl, nl_post
def BuildHooksEnv(self): """Build hooks env.
abd8e8368ada89922620e7092347a3f8678db68e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7542/abd8e8368ada89922620e7092347a3f8678db68e/cmdlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3998, 13620, 3491, 12, 2890, 4672, 3536, 3116, 9153, 1550, 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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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3998, 13620, 3491, 12, 2890, 4672, 3536, 3116, 9153, 1550, 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, -100, -100 ]
cr, uid, self.user_data(cr, uid, context), context)
cr, uid, self.user_data(cr, uid, new_id, context), context)
def create_user(self, cr, uid, context=None): ''' create a new res.user instance from the data stored in the current res.config.users ''' self.pool.get('res.users').create( cr, uid, self.user_data(cr, uid, context), context)
4dbb8813e439e5a52065259f0f7a978a0c241250 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/4dbb8813e439e5a52065259f0f7a978a0c241250/res_user.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 1355, 12, 2890, 16, 4422, 16, 4555, 16, 819, 33, 7036, 4672, 9163, 752, 279, 394, 400, 18, 1355, 791, 628, 326, 501, 4041, 316, 326, 783, 400, 18, 1425, 18, 5577, 9163, 365, 18, 6011, 18, 588, 2668, 455, 18, 5577, 16063, 2640, 12, 4422, 16, 4555, 16, 365, 18, 1355, 67, 892, 12, 3353, 16, 4555, 16, 394, 67, 350, 16, 819, 3631, 819, 13, 225, 2, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 1355, 12, 2890, 16, 4422, 16, 4555, 16, 819, 33, 7036, 4672, 9163, 752, 279, 394, 400, 18, 1355, 791, 628, 326, 501, 4041, 316, 326, 783, 400, 18, 1425, 18, 5577, 9163, 365, 18, 6011, 18, 588, 2668, 455, 18, 5577, 16063, 2640, 12, 4422, 16, 4555, 16, 365, 18, 1355, 67, 892, 12, 3353, 16, 4555, 16, 394, 67, 350, 16, 819, 3631, 819, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
""" The dimension of the space of cusp forms of weight k and character eps. INPUT: eps -- a Dirichlet character k -- integer, a weight >= 2.
r""" The dimension of the space of cusp forms of weight $k$ and character $\epsilon$. INPUT: $\epsilon$ -- a Dirichlet character k -- integer, a weight $\geq 2$.
def dimension_cusp_forms_eps(eps, k=2): """ The dimension of the space of cusp forms of weight k and character eps. INPUT: eps -- a Dirichlet character k -- integer, a weight >= 2. OUTPUT: integer -- the dimension EXAMPLES: sage: G.<eps> = DirichletGroup(9) sage: [sage.modular.dims.dimension_cusp_forms_eps(eps, k) for k in [2..10]] [0, 1, 0, 3, 0, 5, 0, 7, 0] sage: [sage.modular.dims.dimension_cusp_forms_eps(eps^2, k) for k in [2..10]] [0, 0, 2, 0, 4, 0, 6, 0, 8] """ if isinstance(eps, (int,long) ): return dimension_cusp_forms_gamma0(eps,k) if k < 0: return Z(0) if eps.is_even(): if k % 2 == 1: return Z(0) else: # odd if k % 2 == 0: return Z(0) if k == 0: return Z(0) elif k == 1: raise NotImplementedError, "Computation of dimensions of spaces of weight 1 modular forms not implemented." N = eps.modulus() if eps.is_trivial(): return Z(S0(N,k)) if (eps.is_odd() and k%2==0) or (eps.is_even() and k%2==1): return Z(0) K = eps.base_ring() return Z ( K(idxG0(N)*frac(k-1,12)) + CohenOesterle(eps,k) )
c82112a889c87779a875085f7c30d0e045ec245d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/c82112a889c87779a875085f7c30d0e045ec245d/dims.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4968, 67, 71, 407, 84, 67, 9741, 67, 13058, 12, 13058, 16, 417, 33, 22, 4672, 436, 8395, 1021, 4968, 434, 326, 3476, 434, 27964, 84, 10138, 434, 3119, 271, 79, 8, 471, 3351, 271, 64, 13058, 10327, 8, 18, 225, 12943, 30, 271, 64, 13058, 10327, 8, 1493, 279, 8446, 1354, 1810, 3351, 417, 1493, 3571, 16, 279, 3119, 271, 64, 908, 85, 576, 8, 18, 225, 11550, 30, 3571, 1493, 326, 4968, 225, 5675, 8900, 11386, 30, 272, 410, 30, 611, 22782, 13058, 34, 273, 8446, 1354, 1810, 1114, 12, 29, 13, 272, 410, 30, 306, 87, 410, 18, 1711, 2490, 18, 8550, 18, 11808, 67, 71, 407, 84, 67, 9741, 67, 13058, 12, 13058, 16, 417, 13, 364, 417, 316, 306, 22, 838, 2163, 13563, 306, 20, 16, 404, 16, 374, 16, 890, 16, 374, 16, 1381, 16, 374, 16, 2371, 16, 374, 65, 272, 410, 30, 306, 87, 410, 18, 1711, 2490, 18, 8550, 18, 11808, 67, 71, 407, 84, 67, 9741, 67, 13058, 12, 13058, 66, 22, 16, 417, 13, 364, 417, 316, 306, 22, 838, 2163, 13563, 306, 20, 16, 374, 16, 576, 16, 374, 16, 1059, 16, 374, 16, 1666, 16, 374, 16, 1725, 65, 3536, 309, 1549, 12, 13058, 16, 261, 474, 16, 5748, 13, 262, 30, 327, 4968, 67, 71, 407, 84, 67, 9741, 67, 20589, 20, 12, 13058, 16, 79, 13, 225, 309, 417, 411, 374, 30, 327, 2285, 12, 20, 13, 309, 7785, 18, 291, 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, 4968, 67, 71, 407, 84, 67, 9741, 67, 13058, 12, 13058, 16, 417, 33, 22, 4672, 436, 8395, 1021, 4968, 434, 326, 3476, 434, 27964, 84, 10138, 434, 3119, 271, 79, 8, 471, 3351, 271, 64, 13058, 10327, 8, 18, 225, 12943, 30, 271, 64, 13058, 10327, 8, 1493, 279, 8446, 1354, 1810, 3351, 417, 1493, 3571, 16, 279, 3119, 271, 64, 908, 85, 576, 8, 18, 225, 11550, 30, 3571, 1493, 326, 4968, 225, 5675, 8900, 11386, 30, 272, 410, 30, 611, 22782, 13058, 34, 273, 8446, 1354, 1810, 1114, 12, 29, 13, 272, 410, 30, 306, 87, 410, 18, 1711, 2490, 18, 8550, 18, 11808, 67, 71, 407, 84, 67, 9741, 67, 13058, 12, 13058, 16, 2 ]
out,err,res = rhpl.executil.execWithCaptureErrorStatus("/usr/sbin/pvcreate",cmd_args)
out,err,res = rhpl.executil.execWithCaptureErrorStatus("/usr/sbin/pvcreate",command_args)
def initialize_entity(self, entity): #commandstring = "/usr/sbin/pvcreate -M2 " + entity command_args = list() command_args.append("/usr/sbin/pvcreate") command_args.append("-M2") command_args.append(entity) commandstring = ' '.join(command_args) out,err,res = rhpl.executil.execWithCaptureErrorStatus("/usr/sbin/pvcreate",cmd_args) if res != 0: raise CommandError('FATAL', PVCREATE_FAILURE % (commandstring,err))
24feee078fdfa579c17e2d410b2518ade755d0ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3880/24feee078fdfa579c17e2d410b2518ade755d0ba/CommandHandler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4046, 67, 1096, 12, 2890, 16, 1522, 4672, 468, 3076, 1080, 273, 2206, 13640, 19, 87, 4757, 19, 25224, 2640, 300, 49, 22, 315, 397, 1522, 1296, 67, 1968, 273, 666, 1435, 1296, 67, 1968, 18, 6923, 2932, 19, 13640, 19, 87, 4757, 19, 25224, 2640, 7923, 1296, 67, 1968, 18, 6923, 2932, 17, 49, 22, 7923, 1296, 67, 1968, 18, 6923, 12, 1096, 13, 1296, 1080, 273, 296, 2418, 5701, 12, 3076, 67, 1968, 13, 596, 16, 370, 16, 455, 273, 6259, 412, 18, 4177, 1367, 18, 4177, 1190, 12372, 668, 1482, 2932, 19, 13640, 19, 87, 4757, 19, 25224, 2640, 3113, 3076, 67, 1968, 13, 309, 400, 480, 374, 30, 1002, 3498, 668, 2668, 29891, 2187, 27102, 9344, 67, 17623, 738, 261, 3076, 1080, 16, 370, 3719, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4046, 67, 1096, 12, 2890, 16, 1522, 4672, 468, 3076, 1080, 273, 2206, 13640, 19, 87, 4757, 19, 25224, 2640, 300, 49, 22, 315, 397, 1522, 1296, 67, 1968, 273, 666, 1435, 1296, 67, 1968, 18, 6923, 2932, 19, 13640, 19, 87, 4757, 19, 25224, 2640, 7923, 1296, 67, 1968, 18, 6923, 2932, 17, 49, 22, 7923, 1296, 67, 1968, 18, 6923, 12, 1096, 13, 1296, 1080, 273, 296, 2418, 5701, 12, 3076, 67, 1968, 13, 596, 16, 370, 16, 455, 273, 6259, 412, 18, 4177, 1367, 18, 4177, 1190, 12372, 668, 1482, 2932, 19, 13640, 19, 87, 4757, 19, 25224, 2640, 3113, 3076, 67, 1968, 13, 309, 400, 480, 374, 30, 1002, 3498, 668, 2668, 29891, 2187, 2 ]
return cls.from_element(xml)
kwargs.setdefault('xml_application', cls._xml_application) return cls.from_element(xml, *args, **kwargs)
def parse(cls, document): try: xml = etree.XML(document, cls._parser) except etree.XMLSyntaxError, e: raise ParserError(str(e)) else: return cls.from_element(xml)
86a3cb09569495d76ac3ea45504458f43e29e618 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3449/86a3cb09569495d76ac3ea45504458f43e29e618/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 6429, 16, 1668, 4672, 775, 30, 2025, 273, 12031, 18, 4201, 12, 5457, 16, 2028, 6315, 4288, 13, 1335, 12031, 18, 4201, 22510, 16, 425, 30, 1002, 6783, 668, 12, 701, 12, 73, 3719, 469, 30, 1205, 18, 542, 1886, 2668, 2902, 67, 3685, 2187, 2028, 6315, 2902, 67, 3685, 13, 327, 2028, 18, 2080, 67, 2956, 12, 2902, 16, 380, 1968, 16, 2826, 4333, 13, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 6429, 16, 1668, 4672, 775, 30, 2025, 273, 12031, 18, 4201, 12, 5457, 16, 2028, 6315, 4288, 13, 1335, 12031, 18, 4201, 22510, 16, 425, 30, 1002, 6783, 668, 12, 701, 12, 73, 3719, 469, 30, 1205, 18, 542, 1886, 2668, 2902, 67, 3685, 2187, 2028, 6315, 2902, 67, 3685, 13, 327, 2028, 18, 2080, 67, 2956, 12, 2902, 16, 380, 1968, 16, 2826, 4333, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if DEBUG: print 'pkt_type:', pkt_type
BPGSQL_LOGGER.debug('pkt_type: %s' % pkt_type)
def __read_response(self): # # Read a single response from the backend # Looks at the next byte, and calls a more specific # method the handle the rest of the response # # PostgreSQL responses begin with a single character <c>, this # method looks up a method named _pkt_<c> and calls that # to handle the response # if DEBUG: print '>[%s]' % self.__input_buffer
c32b0af4870c2917cab367ac734d9a3b09f288da /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1238/c32b0af4870c2917cab367ac734d9a3b09f288da/bpgsql.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 896, 67, 2740, 12, 2890, 4672, 468, 468, 2720, 279, 2202, 766, 628, 326, 4221, 468, 225, 10176, 87, 622, 326, 1024, 1160, 16, 471, 4097, 279, 1898, 2923, 468, 225, 707, 326, 1640, 326, 3127, 434, 326, 766, 468, 468, 225, 26447, 7220, 2376, 598, 279, 2202, 3351, 411, 71, 20401, 333, 468, 225, 707, 10192, 731, 279, 707, 4141, 389, 5465, 88, 67, 32, 71, 34, 471, 4097, 716, 468, 225, 358, 1640, 326, 766, 468, 309, 6369, 30, 1172, 11279, 14451, 87, 3864, 738, 365, 16186, 2630, 67, 4106, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 896, 67, 2740, 12, 2890, 4672, 468, 468, 2720, 279, 2202, 766, 628, 326, 4221, 468, 225, 10176, 87, 622, 326, 1024, 1160, 16, 471, 4097, 279, 1898, 2923, 468, 225, 707, 326, 1640, 326, 3127, 434, 326, 766, 468, 468, 225, 26447, 7220, 2376, 598, 279, 2202, 3351, 411, 71, 20401, 333, 468, 225, 707, 10192, 731, 279, 707, 4141, 389, 5465, 88, 67, 32, 71, 34, 471, 4097, 716, 468, 225, 358, 1640, 326, 766, 468, 309, 6369, 30, 1172, 11279, 14451, 87, 3864, 738, 365, 16186, 2630, 67, 4106, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
yaml.add_constructor(u"!ref", ref_constructor)
yaml.add_constructor(u"!ir_set", ir_set_constructor)
def ref_constructor(loader, node): xmlid = loader.construct_scalar(node) return Ref(xmlid)
8e841208f4c2d35a14c2f7368d9b82801f784d4b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/8e841208f4c2d35a14c2f7368d9b82801f784d4b/yaml_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1278, 67, 12316, 12, 6714, 16, 756, 4672, 2025, 350, 273, 4088, 18, 10062, 67, 8748, 12, 2159, 13, 327, 3941, 12, 2902, 350, 13, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 67, 8748, 12, 2159, 13, 327, 3941, 12, 2902, 350, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.list[1].set_text(language['conn_info_not_connected'])
self.list[1].set_text(language['disconnected'])
def update_conn_info_win(self, list): """ Updates the information in the connection summary window """ if (self.cont == "Stop"): return False [state, info] = daemon.GetConnectionStatus() [rx, tx] = self.get_current_bandwidth() # Choose info for the data if state == misc.WIRED: text = (language['conn_info_wired'] .replace('$A', str(info[0])) #IP .replace('$B', str(rx)) #RX .replace('$C', str(tx))) #TX elif state == misc.WIRELESS: text = (language['conn_info_wireless'] .replace('$A', str(info[1])) #SSID .replace('$B', str(info[4])) #Speed .replace('$C', str(info[0])) #IP .replace('$D', daemon.FormatSignalForPrinting(str(info[2]))) .replace('$E', str(rx)) .replace('$F', str(tx))) else: text = ''
2d0f2869a4056fb6dc20a00ceee571955e39515e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12280/2d0f2869a4056fb6dc20a00ceee571955e39515e/wicd-client.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 4646, 67, 1376, 67, 8082, 12, 2890, 16, 666, 4672, 3536, 15419, 326, 1779, 316, 326, 1459, 4916, 2742, 3536, 309, 261, 2890, 18, 1213, 422, 315, 4947, 6, 4672, 327, 1083, 225, 306, 2019, 16, 1123, 65, 273, 8131, 18, 967, 1952, 1482, 1435, 306, 20122, 16, 2229, 65, 273, 365, 18, 588, 67, 2972, 67, 29750, 1435, 225, 468, 25593, 1123, 364, 326, 501, 309, 919, 422, 20448, 18, 23109, 5879, 30, 977, 273, 261, 4923, 3292, 4646, 67, 1376, 67, 91, 2921, 3546, 263, 2079, 2668, 8, 37, 2187, 609, 12, 1376, 63, 20, 22643, 565, 468, 2579, 263, 2079, 2668, 8, 38, 2187, 609, 12, 20122, 3719, 540, 468, 54, 60, 263, 2079, 2668, 8, 39, 2187, 609, 12, 978, 20349, 3639, 468, 16556, 1327, 919, 422, 20448, 18, 23109, 862, 26005, 30, 977, 273, 261, 4923, 3292, 4646, 67, 1376, 67, 14538, 2656, 3546, 263, 2079, 2668, 8, 37, 2187, 609, 12, 1376, 63, 21, 22643, 565, 468, 1260, 734, 263, 2079, 2668, 8, 38, 2187, 609, 12, 1376, 63, 24, 22643, 565, 468, 16562, 263, 2079, 2668, 8, 39, 2187, 609, 12, 1376, 63, 20, 22643, 565, 468, 2579, 263, 2079, 2668, 8, 40, 2187, 8131, 18, 1630, 11208, 1290, 5108, 310, 12, 701, 12, 1376, 63, 22, 65, 20349, 263, 2079, 2668, 8, 41, 2187, 609, 12, 20122, 3719, 263, 2079, 2668, 8, 42, 2187, 609, 12, 978, 20349, 469, 30, 977, 273, 875, 2, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 4646, 67, 1376, 67, 8082, 12, 2890, 16, 666, 4672, 3536, 15419, 326, 1779, 316, 326, 1459, 4916, 2742, 3536, 309, 261, 2890, 18, 1213, 422, 315, 4947, 6, 4672, 327, 1083, 225, 306, 2019, 16, 1123, 65, 273, 8131, 18, 967, 1952, 1482, 1435, 306, 20122, 16, 2229, 65, 273, 365, 18, 588, 67, 2972, 67, 29750, 1435, 225, 468, 25593, 1123, 364, 326, 501, 309, 919, 422, 20448, 18, 23109, 5879, 30, 977, 273, 261, 4923, 3292, 4646, 67, 1376, 67, 91, 2921, 3546, 263, 2079, 2668, 8, 37, 2187, 609, 12, 1376, 63, 20, 22643, 565, 468, 2579, 263, 2079, 2668, 8, 38, 2187, 609, 12, 20122, 3719, 540, 468, 54, 60, 263, 2 ]
drawing area. drawing_algorithm The algorithm used to draw the timeline.
drawing area drawing_algorithm The algorithm used to draw the timeline
def __set_initial_values_to_member_variables(self, parent): """ Set initial values to member variables.
9ae715a5e5636a399b096e5ae41244f4b45b148e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5252/9ae715a5e5636a399b096e5ae41244f4b45b148e/gui.py
[ 1, 8585, 326, 22398, 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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, 1001, 542, 67, 6769, 67, 2372, 67, 869, 67, 5990, 67, 7528, 12, 2890, 16, 982, 4672, 3536, 1000, 2172, 924, 358, 3140, 3152, 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 ]
scheduler_name = MscConfig("msc").default_scheduler
scheduler_name = MscConfig().default_scheduler
def _gotScheduler(self, result): if not result: scheduler_name = MscConfig("msc").default_scheduler else: scheduler_name = result if scheduler_name not in MscConfig('msc').schedulers: return Failure("scheduler %s does not exist" % (scheduler_name))
605d2f2b81da4781406cdcf89675b49cf6bdeadd /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5988/605d2f2b81da4781406cdcf89675b49cf6bdeadd/download.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 13212, 11870, 12, 2890, 16, 563, 4672, 309, 486, 563, 30, 8129, 67, 529, 273, 490, 1017, 809, 7675, 1886, 67, 19972, 469, 30, 8129, 67, 529, 273, 563, 309, 8129, 67, 529, 486, 316, 490, 1017, 809, 2668, 959, 71, 16063, 87, 4292, 414, 30, 327, 13436, 2932, 19972, 738, 87, 1552, 486, 1005, 6, 738, 261, 19972, 67, 529, 3719, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 13212, 11870, 12, 2890, 16, 563, 4672, 309, 486, 563, 30, 8129, 67, 529, 273, 490, 1017, 809, 7675, 1886, 67, 19972, 469, 30, 8129, 67, 529, 273, 563, 309, 8129, 67, 529, 486, 316, 490, 1017, 809, 2668, 959, 71, 16063, 87, 4292, 414, 30, 327, 13436, 2932, 19972, 738, 87, 1552, 486, 1005, 6, 738, 261, 19972, 67, 529, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def f_local(target, source, env, for_signature):
def f_local(target, source, env, for_signature, LocalFunc=LocalFunc):
def f_local(target, source, env, for_signature): return SCons.Action.Action(LocalFunc, varlist=['XYZ'])
2144ce5a49644f53e7efcadbd28e456c70787b42 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12817/2144ce5a49644f53e7efcadbd28e456c70787b42/ActionTests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1652, 284, 67, 3729, 12, 3299, 16, 1084, 16, 1550, 16, 364, 67, 8195, 16, 3566, 2622, 33, 2042, 2622, 4672, 327, 20487, 18, 1803, 18, 1803, 12, 2042, 2622, 16, 569, 1098, 33, 3292, 23479, 19486, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1652, 284, 67, 3729, 12, 3299, 16, 1084, 16, 1550, 16, 364, 67, 8195, 16, 3566, 2622, 33, 2042, 2622, 4672, 327, 20487, 18, 1803, 18, 1803, 12, 2042, 2622, 16, 569, 1098, 33, 3292, 23479, 19486, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
datalist.append('(void *)%s' % t.func_data)
astr = '%s_data[%d] = (void *) %s;' % \ (name, k, t.func_data) code2list.append(astr) datalist.append('(void *)NULL')
def make_arrays(funcdict): # functions array contains an entry for every type implemented # NULL should be placed where PyUfunc_ style function will be filled in later # code1list = [] code2list = [] names = funcdict.keys() names.sort() for name in names: uf = funcdict[name] funclist = [] datalist = [] siglist = [] k = 0 sub = 0 if uf.nin > 1: assert uf.nin == 2 thedict = chartotype2 # two inputs and one output else: thedict = chartotype1 # one input and one output for t in uf.type_descriptions: if t.func_data is not None: funclist.append('NULL') astr = '%s_functions[%d] = PyUFunc_%s;' % \ (name, k, thedict[t.type]) code2list.append(astr) if t.type == 'O': astr = '%s_data[%d] = (void *) %s;' % \ (name, k, t.func_data) code2list.append(astr) datalist.append('(void *)NULL') elif t.type == 'M': datalist.append('(void *)"%s"' % t.func_data) else: datalist.append('(void *)%s' % t.func_data) sub += 1 else: datalist.append('(void *)NULL'); tname = chartoname[t.type].upper() funclist.append('%s_%s' % (tname, name)) for x in t.in_ + t.out: siglist.append('PyArray_%s' % (chartoname[x].upper(),)) k += 1 funcnames = ', '.join(funclist) signames = ', '.join(siglist) datanames = ', '.join(datalist) code1list.append("static PyUFuncGenericFunction %s_functions[] = { %s };" \ % (name, funcnames)) code1list.append("static void * %s_data[] = { %s };" \ % (name, datanames)) code1list.append("static char %s_signatures[] = { %s };" \ % (name, signames)) return "\n".join(code1list),"\n".join(code2list)
5283f9b7975eecb6bc8c0ec1fea62b49988f3ec1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/14925/5283f9b7975eecb6bc8c0ec1fea62b49988f3ec1/generate_umath.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 16223, 12, 644, 1576, 4672, 468, 4186, 526, 1914, 392, 1241, 364, 3614, 618, 8249, 468, 282, 3206, 1410, 506, 15235, 1625, 4707, 57, 644, 67, 2154, 445, 903, 506, 6300, 316, 5137, 468, 981, 21, 1098, 273, 5378, 981, 22, 1098, 273, 5378, 1257, 273, 1326, 1576, 18, 2452, 1435, 1257, 18, 3804, 1435, 364, 508, 316, 1257, 30, 582, 74, 273, 1326, 1576, 63, 529, 65, 1326, 1098, 273, 5378, 18462, 376, 273, 5378, 3553, 1098, 273, 5378, 417, 273, 374, 720, 273, 374, 225, 309, 582, 74, 18, 82, 267, 405, 404, 30, 1815, 582, 74, 18, 82, 267, 422, 576, 326, 1576, 273, 4980, 10570, 22, 225, 468, 2795, 4540, 471, 1245, 876, 469, 30, 326, 1576, 273, 4980, 10570, 21, 225, 468, 1245, 810, 471, 1245, 876, 225, 364, 268, 316, 582, 74, 18, 723, 67, 30288, 30, 309, 268, 18, 644, 67, 892, 353, 486, 599, 30, 1326, 1098, 18, 6923, 2668, 8560, 6134, 487, 313, 273, 1995, 87, 67, 10722, 14451, 72, 65, 273, 4707, 57, 2622, 10185, 87, 4359, 738, 521, 261, 529, 16, 417, 16, 326, 1576, 63, 88, 18, 723, 5717, 981, 22, 1098, 18, 6923, 12, 345, 313, 13, 309, 268, 18, 723, 422, 296, 51, 4278, 487, 313, 273, 1995, 87, 67, 892, 14451, 72, 65, 273, 261, 6459, 380, 13, 738, 87, 4359, 738, 521, 261, 529, 16, 417, 16, 268, 18, 644, 67, 892, 13, 981, 22, 1098, 18, 6923, 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, 1221, 67, 16223, 12, 644, 1576, 4672, 468, 4186, 526, 1914, 392, 1241, 364, 3614, 618, 8249, 468, 282, 3206, 1410, 506, 15235, 1625, 4707, 57, 644, 67, 2154, 445, 903, 506, 6300, 316, 5137, 468, 981, 21, 1098, 273, 5378, 981, 22, 1098, 273, 5378, 1257, 273, 1326, 1576, 18, 2452, 1435, 1257, 18, 3804, 1435, 364, 508, 316, 1257, 30, 582, 74, 273, 1326, 1576, 63, 529, 65, 1326, 1098, 273, 5378, 18462, 376, 273, 5378, 3553, 1098, 273, 5378, 417, 273, 374, 720, 273, 374, 225, 309, 582, 74, 18, 82, 267, 405, 404, 30, 1815, 582, 74, 18, 82, 267, 422, 576, 326, 1576, 273, 4980, 10570, 22, 225, 468, 2795, 4540, 471, 1245, 2 ]
print ">>>" + pre
def identifyVuln(self, URL, Params, VulnParam, identifyMode="inc"): # identify Mode can be set to 'inc' for inclusion check or to 'read' for read file check.
c79d6676fc5e369f5ec771b1a18fbd6636fe7457 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4412/c79d6676fc5e369f5ec771b1a18fbd6636fe7457/targetScanner.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9786, 58, 332, 82, 12, 2890, 16, 1976, 16, 8861, 16, 776, 332, 82, 786, 16, 9786, 2309, 1546, 9523, 6, 4672, 468, 9786, 8126, 848, 506, 444, 358, 296, 9523, 11, 364, 26485, 866, 578, 358, 296, 896, 11, 364, 855, 585, 866, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9786, 58, 332, 82, 12, 2890, 16, 1976, 16, 8861, 16, 776, 332, 82, 786, 16, 9786, 2309, 1546, 9523, 6, 4672, 468, 9786, 8126, 848, 506, 444, 358, 296, 9523, 11, 364, 26485, 866, 578, 358, 296, 896, 11, 364, 855, 585, 866, 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 ]
if endrec[-4] == -1 or endrec[-4] == 0xffffffff:
if endrec[-4] == 0xffffffff:
def _EndRecData(fpin): """Return data from the "End of Central Directory" record, or None. The data is a list of the nine items in the ZIP "End of central dir" record followed by a tenth item, the file seek offset of this record.""" fpin.seek(-22, 2) # Assume no archive comment. filesize = fpin.tell() + 22 # Get file size data = fpin.read() if data[0:4] == stringEndArchive and data[-2:] == "\000\000": endrec = struct.unpack(structEndArchive, data) endrec = list(endrec) endrec.append("") # Append the archive comment endrec.append(filesize - 22) # Append the record start offset if endrec[-4] == -1 or endrec[-4] == 0xffffffff: return _EndRecData64(fpin, -22, endrec) return endrec # Search the last END_BLOCK bytes of the file for the record signature. # The comment is appended to the ZIP file and has a 16 bit length. # So the comment may be up to 64K long. We limit the search for the # signature to a few Kbytes at the end of the file for efficiency. # also, the signature must not appear in the comment. END_BLOCK = min(filesize, 1024 * 4) fpin.seek(filesize - END_BLOCK, 0) data = fpin.read() start = data.rfind(stringEndArchive) if start >= 0: # Correct signature string was found endrec = struct.unpack(structEndArchive, data[start:start+22]) endrec = list(endrec) comment = data[start+22:] if endrec[7] == len(comment): # Comment length checks out # Append the archive comment and start offset endrec.append(comment) endrec.append(filesize - END_BLOCK + start) if endrec[-4] == -1 or endrec[-4] == 0xffffffff: return _EndRecData64(fpin, - END_BLOCK + start, endrec) return endrec return # Error, return None
8758505b352b3425ba646bdbff7a34c21eb6618a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12029/8758505b352b3425ba646bdbff7a34c21eb6618a/zipfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1638, 5650, 751, 12, 7944, 267, 4672, 3536, 990, 501, 628, 326, 315, 1638, 434, 385, 12839, 8930, 6, 1409, 16, 578, 599, 18, 225, 1021, 501, 353, 279, 666, 434, 326, 290, 558, 1516, 316, 326, 18277, 315, 1638, 434, 18291, 1577, 6, 1409, 10860, 635, 279, 268, 319, 76, 761, 16, 326, 585, 6520, 1384, 434, 333, 1409, 12123, 4253, 267, 18, 16508, 19236, 3787, 16, 576, 13, 9079, 468, 15983, 1158, 5052, 2879, 18, 14104, 273, 4253, 267, 18, 88, 1165, 1435, 397, 11201, 377, 468, 968, 585, 963, 501, 273, 4253, 267, 18, 896, 1435, 309, 501, 63, 20, 30, 24, 65, 422, 533, 1638, 7465, 471, 501, 18919, 22, 26894, 422, 1548, 3784, 64, 3784, 6877, 679, 3927, 273, 1958, 18, 17309, 12, 1697, 1638, 7465, 16, 501, 13, 679, 3927, 273, 666, 12, 409, 3927, 13, 679, 3927, 18, 6923, 2932, 7923, 9079, 468, 6181, 326, 5052, 2879, 679, 3927, 18, 6923, 12, 25511, 300, 11201, 13, 565, 468, 6181, 326, 1409, 787, 1384, 309, 679, 3927, 18919, 24, 65, 422, 374, 28857, 30, 327, 389, 1638, 5650, 751, 1105, 12, 7944, 267, 16, 300, 3787, 16, 679, 3927, 13, 327, 679, 3927, 468, 5167, 326, 1142, 7273, 67, 11403, 1731, 434, 326, 585, 364, 326, 1409, 3372, 18, 468, 1021, 2879, 353, 12317, 358, 326, 18277, 585, 471, 711, 279, 2872, 2831, 769, 18, 468, 6155, 326, 2879, 2026, 506, 731, 358, 5178, 47, 1525, 18, 225, 1660, 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, 1638, 5650, 751, 12, 7944, 267, 4672, 3536, 990, 501, 628, 326, 315, 1638, 434, 385, 12839, 8930, 6, 1409, 16, 578, 599, 18, 225, 1021, 501, 353, 279, 666, 434, 326, 290, 558, 1516, 316, 326, 18277, 315, 1638, 434, 18291, 1577, 6, 1409, 10860, 635, 279, 268, 319, 76, 761, 16, 326, 585, 6520, 1384, 434, 333, 1409, 12123, 4253, 267, 18, 16508, 19236, 3787, 16, 576, 13, 9079, 468, 15983, 1158, 5052, 2879, 18, 14104, 273, 4253, 267, 18, 88, 1165, 1435, 397, 11201, 377, 468, 968, 585, 963, 501, 273, 4253, 267, 18, 896, 1435, 309, 501, 63, 20, 30, 24, 65, 422, 533, 1638, 7465, 471, 501, 18919, 22, 26894, 422, 1548, 2 ]
self.respond("125 %s" %resp)
self.respond("125 FILE: %s" %resp)
def ftp_STOU(self, line): "store a file with a unique name" # note: RFC 959 prohibited STOU parameters, but this prohibition is obsolete. # note2: RFC 959 wants ftpd to respond with code 250 but I've seen a # lot of FTP servers responding with 125 or 150, and this is a better choice, imho, # because STOU works just like STOR.
95e7957fd9509ce008091ab59ee8efe4bedf1f36 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3782/95e7957fd9509ce008091ab59ee8efe4bedf1f36/FTPServer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13487, 67, 882, 26556, 12, 2890, 16, 980, 4672, 315, 2233, 279, 585, 598, 279, 3089, 508, 6, 468, 4721, 30, 8372, 2468, 6162, 450, 29993, 2347, 26556, 1472, 16, 1496, 333, 450, 15769, 608, 353, 27191, 18, 468, 4721, 22, 30, 8372, 2468, 6162, 14805, 13487, 72, 358, 6846, 598, 981, 16927, 1496, 467, 8081, 5881, 279, 468, 17417, 434, 19324, 7084, 6846, 310, 598, 30616, 578, 18478, 16, 471, 333, 353, 279, 7844, 6023, 16, 709, 15008, 16, 468, 2724, 2347, 26556, 6330, 2537, 3007, 2347, 916, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13487, 67, 882, 26556, 12, 2890, 16, 980, 4672, 315, 2233, 279, 585, 598, 279, 3089, 508, 6, 468, 4721, 30, 8372, 2468, 6162, 450, 29993, 2347, 26556, 1472, 16, 1496, 333, 450, 15769, 608, 353, 27191, 18, 468, 4721, 22, 30, 8372, 2468, 6162, 14805, 13487, 72, 358, 6846, 598, 981, 16927, 1496, 467, 8081, 5881, 279, 468, 17417, 434, 19324, 7084, 6846, 310, 598, 30616, 578, 18478, 16, 471, 333, 353, 279, 7844, 6023, 16, 709, 15008, 16, 468, 2724, 2347, 26556, 6330, 2537, 3007, 2347, 916, 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 ]
print "error registering RemoteInterface '%s'" % rname
def __init__(self, iname, bases=(), attrs=None, __module__=None): if attrs is None: interface.InterfaceClass.__init__(self, iname, bases, attrs, __module__) return
a7ff2851e68ecec1ffcab8127d0144a4951b3772 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/a7ff2851e68ecec1ffcab8127d0144a4951b3772/remoteinterface.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 316, 339, 16, 8337, 33, 9334, 3422, 33, 7036, 16, 1001, 2978, 972, 33, 7036, 4672, 309, 3422, 353, 599, 30, 1560, 18, 1358, 797, 16186, 2738, 972, 12, 2890, 16, 316, 339, 16, 8337, 16, 3422, 16, 1001, 2978, 972, 13, 327, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 599, 30, 1560, 18, 1358, 797, 16186, 2738, 972, 12, 2890, 16, 316, 339, 16, 8337, 16, 3422, 16, 1001, 2978, 972, 13, 327, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
QSIZE = 16 TIME = 5
format = SV.RGB8_FRAMES qsize = 2
def main(): QSIZE = 16 TIME = 5 audio = 0 num, den = 1, 1 opts, args = getopt.getopt(sys.argv[1:], 'aq:r:t:') for opt, arg in opts: if opt == '-a': audio = 1 elif opt == '-q': QSIZE = string.atoi(arg) elif opt == '-r': [nstr, dstr] = string.splitfields(arg, '/') num, den = string.atoi(nstr), string.atoi(dstr) elif opt == '-t': TIME = string.atoi(arg) if args[2:]: sys.stderr.write('usage: Vrec [options] [file [audiofile]]\n') sys.exit(2) if args: filename = args[0] else: filename = 'film.video' if args[1:] and not audio: sys.stderr.write('-a turned on by appearance of 2nd file\n') audio = 1 if audio: if args[1:]: audiofilename = args[1] else: audiofilename = 'film.aiff' else: audiofilename = None gl.foreground() x, y = SV.PAL_XMAX / 4, SV.PAL_YMAX / 4 print x, 'x', y gl.minsize(40, 30) gl.stepunit(8, 6) gl.maxsize(SV.PAL_XMAX, SV.PAL_YMAX) gl.keepaspect(SV.PAL_XMAX, SV.PAL_YMAX) win = gl.winopen(filename) x, y = gl.getsize() print x, 'x', y v = sv.OpenVideo() v.BindGLWindow(win, SV.IN_REPLACE) v.SetSize(x, y) v.BindGLWindow(win, SV.IN_REPLACE) v.SetCaptureFormat(SV.RGB_FRAMES) v.SetCaptureMode(SV.BLOCKING_CAPTURE) v.SetQueueSize(QSIZE) v.InitCapture() if v.GetQueueSize() != QSIZE: QSIZE = v.GetQueueSize() print 'Warning: QSIZE reduced to', QSIZE
15728b345d96a6162fd564e1c123ee9961ee23dc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/15728b345d96a6162fd564e1c123ee9961ee23dc/Vrec.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 740, 273, 29537, 18, 11343, 28, 67, 15072, 55, 1043, 1467, 273, 576, 7447, 273, 374, 818, 16, 5545, 273, 404, 16, 404, 225, 1500, 16, 833, 273, 336, 3838, 18, 588, 3838, 12, 9499, 18, 19485, 63, 21, 30, 6487, 296, 69, 85, 30, 86, 30, 88, 2497, 13, 364, 2153, 16, 1501, 316, 1500, 30, 309, 2153, 422, 2400, 69, 4278, 7447, 273, 404, 1327, 2153, 422, 2400, 85, 4278, 2238, 4574, 273, 533, 18, 270, 11359, 12, 3175, 13, 1327, 2153, 422, 2400, 86, 4278, 306, 82, 701, 16, 302, 701, 65, 273, 533, 18, 4939, 2821, 12, 3175, 16, 2023, 13, 818, 16, 5545, 273, 533, 18, 270, 11359, 12, 82, 701, 3631, 533, 18, 270, 11359, 12, 72, 701, 13, 1327, 2153, 422, 2400, 88, 4278, 8721, 273, 533, 18, 270, 11359, 12, 3175, 13, 225, 309, 833, 63, 22, 30, 14542, 2589, 18, 11241, 18, 2626, 2668, 9167, 30, 776, 3927, 306, 2116, 65, 306, 768, 306, 11509, 768, 13563, 64, 82, 6134, 2589, 18, 8593, 12, 22, 13, 225, 309, 833, 30, 1544, 273, 833, 63, 20, 65, 469, 30, 1544, 273, 296, 7540, 81, 18, 9115, 11, 225, 309, 833, 63, 21, 26894, 471, 486, 7447, 30, 2589, 18, 11241, 18, 2626, 2668, 17, 69, 21826, 603, 635, 9788, 1359, 434, 576, 4880, 585, 64, 82, 6134, 7447, 273, 404, 225, 309, 7447, 30, 309, 833, 63, 21, 30, 14542, 20232, 77, 792, 2550, 273, 833, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 740, 273, 29537, 18, 11343, 28, 67, 15072, 55, 1043, 1467, 273, 576, 7447, 273, 374, 818, 16, 5545, 273, 404, 16, 404, 225, 1500, 16, 833, 273, 336, 3838, 18, 588, 3838, 12, 9499, 18, 19485, 63, 21, 30, 6487, 296, 69, 85, 30, 86, 30, 88, 2497, 13, 364, 2153, 16, 1501, 316, 1500, 30, 309, 2153, 422, 2400, 69, 4278, 7447, 273, 404, 1327, 2153, 422, 2400, 85, 4278, 2238, 4574, 273, 533, 18, 270, 11359, 12, 3175, 13, 1327, 2153, 422, 2400, 86, 4278, 306, 82, 701, 16, 302, 701, 65, 273, 533, 18, 4939, 2821, 12, 3175, 16, 2023, 13, 818, 16, 5545, 273, 533, 18, 270, 11359, 12, 82, 701, 2 ]
'pendingCmds',
def wrapper(self, *args, **keywords): self.lock.acquire() try: method(self, *args, **keywords) finally: self.lock.release()
1ccd869773e1734c1574926c68fdfed456aeae0d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5222/1ccd869773e1734c1574926c68fdfed456aeae0d/manager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4053, 12, 2890, 16, 380, 1968, 16, 2826, 11771, 4672, 365, 18, 739, 18, 1077, 1039, 1435, 775, 30, 707, 12, 2890, 16, 380, 1968, 16, 2826, 11771, 13, 3095, 30, 365, 18, 739, 18, 9340, 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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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 ]
def mqlreaditer(self, sq, asof=None):
def mqlreaditer(self, sq, asof=None, headers=None):
def mqlreaditer(self, sq, asof=None): """read a structure query.""" cursor = True service = '/api/service/mqlread' if isinstance(sq, (tuple, list)): if len(sq) > 1: raise MetawebError("You cannot ask mqlreaditer a query in the form: [{}, {}, ...], just [{}] or {}") sq = sq[0] while 1: subq = dict(query=[sq], cursor=cursor, escape=False) if asof: subq['as_of_time'] = asof qstr = json.dumps(subq, separators=SEPARATORS) r = self._httpreq_json(service, 'POST', form=dict(query=qstr)) for item in self._mqlresult(r): yield item if r['cursor']: cursor = r['cursor'] self.log.info('CONTINUING with %s', cursor) else: return
6947e2e18a5eb9fc8d84060a388f51d20c20d28d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11603/6947e2e18a5eb9fc8d84060a388f51d20c20d28d/session.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 312, 1217, 896, 2165, 12, 2890, 16, 4744, 16, 487, 792, 33, 7036, 16, 1607, 33, 7036, 4672, 3536, 896, 279, 3695, 843, 12123, 225, 3347, 273, 1053, 1156, 273, 1173, 2425, 19, 3278, 19, 81, 1217, 896, 11, 225, 309, 1549, 12, 11410, 16, 261, 8052, 16, 666, 3719, 30, 309, 562, 12, 11410, 13, 405, 404, 30, 1002, 6565, 4875, 668, 2932, 6225, 2780, 6827, 312, 1217, 896, 2165, 279, 843, 316, 326, 646, 30, 11230, 16, 10615, 1372, 6487, 2537, 17936, 578, 3728, 13, 4744, 273, 4744, 63, 20, 65, 225, 1323, 404, 30, 720, 85, 273, 2065, 12, 2271, 22850, 11410, 6487, 3347, 33, 9216, 16, 4114, 33, 8381, 13, 309, 487, 792, 30, 720, 85, 3292, 345, 67, 792, 67, 957, 3546, 273, 487, 792, 225, 1043, 701, 273, 1163, 18, 13302, 1121, 12, 1717, 85, 16, 14815, 33, 4550, 55, 13, 225, 436, 273, 365, 6315, 2022, 1484, 85, 67, 1977, 12, 3278, 16, 296, 3798, 2187, 646, 33, 1576, 12, 2271, 33, 85, 701, 3719, 225, 364, 761, 316, 365, 6315, 81, 1217, 2088, 12, 86, 4672, 2824, 761, 225, 309, 436, 3292, 9216, 3546, 30, 3347, 273, 436, 3292, 9216, 3546, 365, 18, 1330, 18, 1376, 2668, 6067, 706, 57, 1360, 598, 738, 87, 2187, 3347, 13, 469, 30, 327, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 312, 1217, 896, 2165, 12, 2890, 16, 4744, 16, 487, 792, 33, 7036, 16, 1607, 33, 7036, 4672, 3536, 896, 279, 3695, 843, 12123, 225, 3347, 273, 1053, 1156, 273, 1173, 2425, 19, 3278, 19, 81, 1217, 896, 11, 225, 309, 1549, 12, 11410, 16, 261, 8052, 16, 666, 3719, 30, 309, 562, 12, 11410, 13, 405, 404, 30, 1002, 6565, 4875, 668, 2932, 6225, 2780, 6827, 312, 1217, 896, 2165, 279, 843, 316, 326, 646, 30, 11230, 16, 10615, 1372, 6487, 2537, 17936, 578, 3728, 13, 4744, 273, 4744, 63, 20, 65, 225, 1323, 404, 30, 720, 85, 273, 2065, 12, 2271, 22850, 11410, 6487, 3347, 33, 9216, 16, 4114, 33, 8381, 13, 309, 487, 792, 30, 2 ]
if not recorded: x, y = gl.getsize() print x, 'x', y v.SetSize(x, y) v.BindGLWindow(win, SV.IN_REPLACE)
x, y = gl.getsize() print x, 'x', y v.SetSize(x, y) v.BindGLWindow(win, SV.IN_REPLACE)
def main(): QSIZE = 16 TIME = 5 audio = 0 num, den = 1, 1 opts, args = getopt.getopt(sys.argv[1:], 'aq:r:t:') for opt, arg in opts: if opt == '-a': audio = 1 elif opt == '-q': QSIZE = string.atoi(arg) elif opt == '-r': [nstr, dstr] = string.splitfields(arg, '/') num, den = string.atoi(nstr), string.atoi(dstr) elif opt == '-t': TIME = string.atoi(arg) if args[2:]: sys.stderr.write('usage: Vrec [options] [file [audiofile]]\n') sys.exit(2) if args: filename = args[0] else: filename = 'film.video' if args[1:] and not audio: sys.stderr.write('-a turned on by appearance of 2nd file\n') audio = 1 if audio: if args[1:]: audiofilename = args[1] else: audiofilename = 'film.aiff' else: audiofilename = None gl.foreground() x, y = SV.PAL_XMAX / 4, SV.PAL_YMAX / 4 print x, 'x', y gl.minsize(40, 30) gl.stepunit(8, 6) gl.maxsize(SV.PAL_XMAX, SV.PAL_YMAX) gl.keepaspect(SV.PAL_XMAX, SV.PAL_YMAX) win = gl.winopen(filename) x, y = gl.getsize() print x, 'x', y v = sv.OpenVideo() v.BindGLWindow(win, SV.IN_REPLACE) v.SetSize(x, y) v.BindGLWindow(win, SV.IN_REPLACE) v.SetCaptureFormat(SV.RGB_FRAMES) v.SetCaptureMode(SV.BLOCKING_CAPTURE) v.SetQueueSize(QSIZE) v.InitCapture() if v.GetQueueSize() != QSIZE: QSIZE = v.GetQueueSize() print 'Warning: QSIZE reduced to', QSIZE
15728b345d96a6162fd564e1c123ee9961ee23dc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/15728b345d96a6162fd564e1c123ee9961ee23dc/Vrec.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 2238, 4574, 273, 2872, 8721, 273, 1381, 7447, 273, 374, 818, 16, 5545, 273, 404, 16, 404, 225, 1500, 16, 833, 273, 336, 3838, 18, 588, 3838, 12, 9499, 18, 19485, 63, 21, 30, 6487, 296, 69, 85, 30, 86, 30, 88, 2497, 13, 364, 2153, 16, 1501, 316, 1500, 30, 309, 2153, 422, 2400, 69, 4278, 7447, 273, 404, 1327, 2153, 422, 2400, 85, 4278, 2238, 4574, 273, 533, 18, 270, 11359, 12, 3175, 13, 1327, 2153, 422, 2400, 86, 4278, 306, 82, 701, 16, 302, 701, 65, 273, 533, 18, 4939, 2821, 12, 3175, 16, 2023, 13, 818, 16, 5545, 273, 533, 18, 270, 11359, 12, 82, 701, 3631, 533, 18, 270, 11359, 12, 72, 701, 13, 1327, 2153, 422, 2400, 88, 4278, 8721, 273, 533, 18, 270, 11359, 12, 3175, 13, 225, 309, 833, 63, 22, 30, 14542, 2589, 18, 11241, 18, 2626, 2668, 9167, 30, 776, 3927, 306, 2116, 65, 306, 768, 306, 11509, 768, 13563, 64, 82, 6134, 2589, 18, 8593, 12, 22, 13, 225, 309, 833, 30, 1544, 273, 833, 63, 20, 65, 469, 30, 1544, 273, 296, 7540, 81, 18, 9115, 11, 225, 309, 833, 63, 21, 26894, 471, 486, 7447, 30, 2589, 18, 11241, 18, 2626, 2668, 17, 69, 21826, 603, 635, 9788, 1359, 434, 576, 4880, 585, 64, 82, 6134, 7447, 273, 404, 225, 309, 7447, 30, 309, 833, 63, 21, 30, 14542, 20232, 77, 792, 2550, 273, 833, 63, 21, 65, 469, 30, 20232, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 2238, 4574, 273, 2872, 8721, 273, 1381, 7447, 273, 374, 818, 16, 5545, 273, 404, 16, 404, 225, 1500, 16, 833, 273, 336, 3838, 18, 588, 3838, 12, 9499, 18, 19485, 63, 21, 30, 6487, 296, 69, 85, 30, 86, 30, 88, 2497, 13, 364, 2153, 16, 1501, 316, 1500, 30, 309, 2153, 422, 2400, 69, 4278, 7447, 273, 404, 1327, 2153, 422, 2400, 85, 4278, 2238, 4574, 273, 533, 18, 270, 11359, 12, 3175, 13, 1327, 2153, 422, 2400, 86, 4278, 306, 82, 701, 16, 302, 701, 65, 273, 533, 18, 4939, 2821, 12, 3175, 16, 2023, 13, 818, 16, 5545, 273, 533, 18, 270, 11359, 12, 82, 701, 3631, 533, 18, 270, 11359, 12, 2 ]
if not line.endswith('\n')
if not line.endswith('\n'):
def infer_seperator(fname): """Infer seperator for variables in given file. @param fname: filename to retrieve data from @type fname: string @return: inferred seperator @rtype: string """ try: fp = open(fname, 'r') except: return None seperator = None minimum = 1 for i in xrange(3): # try the first 3 lines line = fp.readline(AUTODETECTION_MAXBUFLEN) if not line: break for s in ALLOWED_SEPERATORS: l = len(line.split(s)) if l > minimum: minimum = l seperator = s if seperator: break # stop processing if lines are too long anyways if not line.endswith('\n') break fp.close() return seperator
14fb03b2a528de4511262641245b0103a20f0737 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12567/14fb03b2a528de4511262641245b0103a20f0737/fileformat.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12455, 67, 307, 457, 639, 12, 12749, 4672, 3536, 382, 586, 22282, 639, 364, 3152, 316, 864, 585, 18, 225, 632, 891, 5299, 30, 1544, 358, 4614, 501, 628, 632, 723, 5299, 30, 533, 632, 2463, 30, 13662, 22282, 639, 632, 86, 723, 30, 533, 3536, 775, 30, 4253, 273, 1696, 12, 12749, 16, 296, 86, 6134, 1335, 30, 327, 599, 225, 22282, 639, 273, 599, 5224, 273, 404, 225, 364, 277, 316, 12314, 12, 23, 4672, 468, 775, 326, 1122, 890, 2362, 980, 273, 4253, 18, 896, 1369, 12, 37, 1693, 2712, 1448, 3106, 67, 6694, 3000, 42, 13017, 13, 309, 486, 980, 30, 898, 364, 272, 316, 18592, 2056, 67, 1090, 3194, 3575, 55, 30, 328, 273, 562, 12, 1369, 18, 4939, 12, 87, 3719, 309, 328, 405, 5224, 30, 5224, 273, 328, 22282, 639, 273, 272, 309, 22282, 639, 30, 898, 225, 468, 2132, 4929, 309, 2362, 854, 4885, 1525, 1281, 3052, 309, 486, 980, 18, 5839, 1918, 2668, 64, 82, 11, 4672, 898, 225, 4253, 18, 4412, 1435, 327, 22282, 639, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12455, 67, 307, 457, 639, 12, 12749, 4672, 3536, 382, 586, 22282, 639, 364, 3152, 316, 864, 585, 18, 225, 632, 891, 5299, 30, 1544, 358, 4614, 501, 628, 632, 723, 5299, 30, 533, 632, 2463, 30, 13662, 22282, 639, 632, 86, 723, 30, 533, 3536, 775, 30, 4253, 273, 1696, 12, 12749, 16, 296, 86, 6134, 1335, 30, 327, 599, 225, 22282, 639, 273, 599, 5224, 273, 404, 225, 364, 277, 316, 12314, 12, 23, 4672, 468, 775, 326, 1122, 890, 2362, 980, 273, 4253, 18, 896, 1369, 12, 37, 1693, 2712, 1448, 3106, 67, 6694, 3000, 42, 13017, 13, 309, 486, 980, 30, 898, 364, 272, 316, 18592, 2056, 67, 1090, 3194, 3575, 55, 30, 328, 2 ]
def visit_text(self, node): self.text.append(node.data)
def process_page(self, node): for i in node.childNodes: if i.nodeType == Node.ELEMENT_NODE: self.visit_element(i) elif i.nodeType == Node.TEXT_NODE: txt = i.data.strip() if txt: self.text.append(txt) def process_br(self, node): self.text.append('\n')
def visit_text(self, node): self.text.append(node.data)
f098016b3a88ee359d5eff64b6f382d725f4c2da /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/888/f098016b3a88ee359d5eff64b6f382d725f4c2da/text_html_text_x_moin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 955, 12, 2890, 16, 756, 4672, 365, 18, 955, 18, 6923, 12, 2159, 18, 892, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 955, 12, 2890, 16, 756, 4672, 365, 18, 955, 18, 6923, 12, 2159, 18, 892, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ctf.AddRGBPoint(i/255.0,r,g,b)
ctf.AddRGBPoint(i/16.0,r,g,b)
#def f(x):( (x>>16)&0xff
b21091c150c2db872abf50087e160367925e3d38 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2877/b21091c150c2db872abf50087e160367925e3d38/OlympusDataSource.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 468, 536, 284, 12, 92, 4672, 12, 261, 92, 9778, 2313, 13, 10, 20, 5297, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 468, 536, 284, 12, 92, 4672, 12, 261, 92, 9778, 2313, 13, 10, 20, 5297, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if not PY_STRUCT_RANGE_CHECKING and code in self.BUGGY_RANGE_CHECK: if verbose: print "Skipping buggy range check for code", code else: deprecated_err(pack, ">" + code, x) deprecated_err(pack, "<" + code, x) def run(self): from random import randrange values = [] for exp in range(self.bitsize + 3): values.append(1L << exp) for i in range(self.bitsize): val = 0L for j in range(self.bytesize): val = (val << 8) | randrange(256) values.append(val) for base in values: for val in -base, base: for incr in -1, 0, 1: x = val + incr try: x = int(x) except OverflowError: pass self.test_one(x) for direction in "<>": for code in self.formatpair: for badobject in "a string", 3+42j, randrange: any_err(struct.pack, direction + code, badobject) for args in [("bB", 1), ("hH", 2), ("iI", 4), ("lL", 4), ("qQ", 8)]: t = IntTester(*args) t.run() def test_p_code(): for code, input, expected, expectedback in [ ('p','abc', '\x00', ''), ('1p', 'abc', '\x00', ''), ('2p', 'abc', '\x01a', 'a'), ('3p', 'abc', '\x02ab', 'ab'), ('4p', 'abc', '\x03abc', 'abc'), ('5p', 'abc', '\x03abc\x00', 'abc'), ('6p', 'abc', '\x03abc\x00\x00', 'abc'), ('1000p', 'x'*1000, '\xff' + 'x'*999, 'x'*255)]: got = struct.pack(code, input) if got != expected: raise TestFailed("pack(%r, %r) == %r but expected %r" % (code, input, got, expected)) (got,) = struct.unpack(code, got) if got != expectedback: raise TestFailed("unpack(%r, %r) == %r but expected %r" % (code, input, got, expectedback)) test_p_code() def test_705836(): import math for base in range(1, 33): delta = 0.5 while base - delta / 2.0 != base: delta /= 2.0 smaller = base - delta packed = struct.pack("<f", smaller) unpacked = struct.unpack("<f", packed)[0] verify(base == unpacked) bigpacked = struct.pack(">f", smaller) verify(bigpacked == string_reverse(packed), ">f pack should be byte-reversal of <f pack") unpacked = struct.unpack(">f", bigpacked)[0] verify(base == unpacked) big = (1 << 24) - 1 big = math.ldexp(big, 127 - 23) packed = struct.pack(">f", big) unpacked = struct.unpack(">f", packed)[0] verify(big == unpacked) big = (1 << 25) - 1 big = math.ldexp(big, 127 - 24) try:
bytes = struct.calcsize('q') for format, input, expected in ( ('q', -1, '\xff' * bytes), ('q', 0, '\x00' * bytes), ('Q', 0, '\x00' * bytes), ('q', 1L, '\x00' * (bytes-1) + '\x01'), ('Q', (1L << (8*bytes))-1, '\xff' * bytes), ('q', (1L << (8*bytes-1))-1, '\x7f' + '\xff' * (bytes - 1))): got = struct.pack(format, input) native_expected = bigendian_to_native(expected) self.assertEqual(got, native_expected) retrieved = struct.unpack(format, got)[0] self.assertEqual(retrieved, input) def test_standard_integers(self): import binascii class IntTester(unittest.TestCase): BUGGY_RANGE_CHECK = "bBhHiIlL" def __init__(self, formatpair, bytesize): self.assertEqual(len(formatpair), 2) self.formatpair = formatpair for direction in "<>!=": for code in formatpair: format = direction + code self.assertEqual(struct.calcsize(format), bytesize) self.bytesize = bytesize self.bitsize = bytesize * 8 self.signed_code, self.unsigned_code = formatpair self.unsigned_min = 0 self.unsigned_max = 2L**self.bitsize - 1 self.signed_min = -(2L**(self.bitsize-1)) self.signed_max = 2L**(self.bitsize-1) - 1 def test_one(self, x, pack=struct.pack, unpack=struct.unpack, unhexlify=binascii.unhexlify): code = self.signed_code if self.signed_min <= x <= self.signed_max: expected = long(x) if x < 0: expected += 1L << self.bitsize self.assert_(expected > 0) expected = hex(expected)[2:-1] if len(expected) & 1: expected = "0" + expected expected = unhexlify(expected) expected = "\x00" * (self.bytesize - len(expected)) + expected format = ">" + code got = pack(format, x) self.assertEqual(got, expected) retrieved = unpack(format, got)[0] self.assertEqual(x, retrieved) self.assertRaises((struct.error, TypeError), unpack, format, '\x01' + got) format = "<" + code expected = string_reverse(expected) got = pack(format, x) self.assertEqual(got, expected) retrieved = unpack(format, got)[0] self.assertEqual(x, retrieved) self.assertRaises((struct.error, TypeError), unpack, format, '\x01' + got) else: if not PY_STRUCT_RANGE_CHECKING and code in self.BUGGY_RANGE_CHECK: if verbose: print "Skipping buggy range check for code", code else: deprecated_err(pack, ">" + code, x) deprecated_err(pack, "<" + code, x) code = self.unsigned_code if self.unsigned_min <= x <= self.unsigned_max: format = ">" + code expected = long(x) expected = hex(expected)[2:-1] if len(expected) & 1: expected = "0" + expected expected = unhexlify(expected) expected = "\x00" * (self.bytesize - len(expected)) + expected got = pack(format, x) self.assertEqual(got, expected) retrieved = unpack(format, got)[0] self.assertEqual(x, retrieved) self.assertRaises((struct.error, TypeError), unpack, format, '\x01' + got) format = "<" + code expected = string_reverse(expected) got = pack(format, x) self.assertEqual(got, expected) retrieved = unpack(format, got)[0] self.assertEqual(x, retrieved) self.assertRaises((struct.error, TypeError), unpack, format, '\x01' + got) else: if not PY_STRUCT_RANGE_CHECKING and code in self.BUGGY_RANGE_CHECK: if verbose: print "Skipping buggy range check for code", code else: deprecated_err(pack, ">" + code, x) deprecated_err(pack, "<" + code, x) def run(self): from random import randrange values = [] for exp in range(self.bitsize + 3): values.append(1L << exp) for i in range(self.bitsize): val = 0L for j in range(self.bytesize): val = (val << 8) | randrange(256) values.append(val) for base in values: for val in -base, base: for incr in -1, 0, 1: x = val + incr try: x = int(x) except OverflowError: pass self.test_one(x) for direction in "<>": for code in self.formatpair: for badobject in "a string", 3+42j, randrange: self.assertRaises((struct.error, TypeError), struct.pack, direction + code, badobject) for args in [("bB", 1), ("hH", 2), ("iI", 4), ("lL", 4), ("qQ", 8)]: t = IntTester(*args) t.run() def test_p_code(self): for code, input, expected, expectedback in [ ('p','abc', '\x00', ''), ('1p', 'abc', '\x00', ''), ('2p', 'abc', '\x01a', 'a'), ('3p', 'abc', '\x02ab', 'ab'), ('4p', 'abc', '\x03abc', 'abc'), ('5p', 'abc', '\x03abc\x00', 'abc'), ('6p', 'abc', '\x03abc\x00\x00', 'abc'), ('1000p', 'x'*1000, '\xff' + 'x'*999, 'x'*255)]: got = struct.pack(code, input) self.assertEqual(got, expected) (got,) = struct.unpack(code, got) self.assertEqual(got, expectedback) def test_705836(self): import math for base in range(1, 33): delta = 0.5 while base - delta / 2.0 != base: delta /= 2.0 smaller = base - delta packed = struct.pack("<f", smaller) unpacked = struct.unpack("<f", packed)[0] self.assertEqual(base, unpacked) bigpacked = struct.pack(">f", smaller) self.assertEqual(bigpacked, string_reverse(packed)) unpacked = struct.unpack(">f", bigpacked)[0] self.assertEqual(base, unpacked) big = (1 << 24) - 1 big = math.ldexp(big, 127 - 23)
def test_one(self, x, pack=struct.pack, unpack=struct.unpack, unhexlify=binascii.unhexlify): if verbose: print "trying std", self.formatpair, "on", x, "==", hex(x)
5632ebf427ec8a1d5055bdffc36ecff24f9b9f19 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8125/5632ebf427ec8a1d5055bdffc36ecff24f9b9f19/test_struct.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 476, 12, 2890, 16, 619, 16, 2298, 33, 1697, 18, 2920, 16, 6167, 33, 1697, 18, 17309, 16, 640, 7118, 22451, 33, 4757, 9184, 18, 318, 7118, 22451, 4672, 309, 3988, 30, 1172, 315, 698, 310, 2044, 3113, 365, 18, 2139, 6017, 16, 315, 265, 3113, 619, 16, 315, 631, 3113, 3827, 12, 92, 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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 316, 326, 981, 30, 1652, 1842, 67, 476, 12, 2890, 16, 619, 16, 2298, 33, 1697, 18, 2920, 16, 6167, 33, 1697, 18, 17309, 16, 640, 7118, 22451, 33, 4757, 9184, 18, 318, 7118, 22451, 4672, 309, 3988, 30, 1172, 315, 698, 310, 2044, 3113, 365, 18, 2139, 6017, 16, 315, 265, 3113, 619, 16, 315, 631, 3113, 3827, 12, 92, 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 ]
self.Save(self, os.path.abspath( os.path.join(self.__testDir, TEST_FILENAME)))
self.Save(self, os.path.abspath(os.path.join(self.__testDir, TEST_FILENAME)))
def SetDefaultComments(self, value): self.__defaultComments = value self.Save(self, os.path.abspath( os.path.join(self.__testDir, TEST_FILENAME)))
5e8d09b9993071dd800a19e1c134a96a84718f4a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11176/5e8d09b9993071dd800a19e1c134a96a84718f4a/FTest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1000, 1868, 9051, 12, 2890, 16, 460, 4672, 365, 16186, 1886, 9051, 273, 460, 365, 18, 4755, 12, 2890, 16, 1140, 18, 803, 18, 5113, 803, 12, 538, 18, 803, 18, 5701, 12, 2890, 16186, 3813, 1621, 16, 22130, 67, 16080, 20349, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1000, 1868, 9051, 12, 2890, 16, 460, 4672, 365, 16186, 1886, 9051, 273, 460, 365, 18, 4755, 12, 2890, 16, 1140, 18, 803, 18, 5113, 803, 12, 538, 18, 803, 18, 5701, 12, 2890, 16186, 3813, 1621, 16, 22130, 67, 16080, 20349, 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 ]
img_colview, &imgview_stride,
img_colview, &imgview_stride,
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)
aaea1d322c657ba643c240526cb3f00d5d2d997d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/aaea1d322c657ba643c240526cb3f00d5d2d997d/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,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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, 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 ]
this = apply(_quickfix.new_PreTradeAnonymity, args)
this = _quickfix.new_PreTradeAnonymity(*args)
def __init__(self, *args): this = apply(_quickfix.new_PreTradeAnonymity, args) try: self.this.append(this) except: self.this = this
7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 1386, 22583, 979, 6435, 560, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, 365, 18, 2211, 273, 333, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 line, '\t', test, '=>', '\033[1;31mexpecting %d, got %d\033[0m' % (expect[t], curl) ferr.write(str(line) + ': "' + rule + '", expecting %d, got %d' % (expect[t], curl) + '\n')
print line, '\t', test, '=>', '\033[1;31mexpecting %d, got %d %d\033[0m' % (expect[t], val1, val2) ferr.write(str(line) + ': "' + rule + '", expecting %d, got %d %d' % (expect[t], val1, val2) + '\n')
def main(): fin = open('list.txt', 'r') ferr = open('list.err', 'w') line = 0 if len(sys.argv) > 1: startfrom = int(sys.argv[1]) else: startfrom = 0 for rule in fin: line += 1 rule = rule.strip() if line < startfrom: continue if not rule: continue if rule.startswith('[AutoProxy'): continue if rule.startswith('!'): continue if rule.startswith('@@'): continue if rule.startswith('/') and rule.endswith('/'): continue (test, t) = getUrl(rule) curl = subprocess.call(['/usr/bin/curl', '-4', '-I', '-m', '5', test], stdout=subprocess.PIPE, stderr=subprocess.PIPE) if (t==IP and curl==28) or (t==TLS and curl==35) or (t==URL and curl==56): pass elif t==IP and curl==56: print line, '\t', test, '=>', '\033[31mexpecting %d, got %d\033[0m' % (expect[t], curl) else: print line, '\t', test, '=>', '\033[1;31mexpecting %d, got %d\033[0m' % (expect[t], curl) ferr.write(str(line) + ': "' + rule + '", expecting %d, got %d' % (expect[t], curl) + '\n')
81605752b6277ecca102132175a6300036e192f8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6795/81605752b6277ecca102132175a6300036e192f8/checkRules.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 574, 273, 1696, 2668, 1098, 18, 5830, 2187, 296, 86, 6134, 284, 370, 273, 1696, 2668, 1098, 18, 370, 2187, 296, 91, 6134, 980, 273, 374, 309, 562, 12, 9499, 18, 19485, 13, 405, 404, 30, 787, 2080, 273, 509, 12, 9499, 18, 19485, 63, 21, 5717, 469, 30, 787, 2080, 273, 374, 364, 1720, 316, 574, 30, 980, 1011, 404, 1720, 273, 1720, 18, 6406, 1435, 309, 980, 411, 787, 2080, 30, 1324, 309, 486, 1720, 30, 1324, 309, 1720, 18, 17514, 1918, 2668, 63, 4965, 3886, 11, 4672, 1324, 309, 1720, 18, 17514, 1918, 2668, 5124, 4672, 1324, 309, 1720, 18, 17514, 1918, 2668, 36, 20887, 4672, 1324, 309, 1720, 18, 17514, 1918, 2668, 2473, 13, 471, 1720, 18, 5839, 1918, 2668, 2473, 4672, 1324, 261, 3813, 16, 268, 13, 273, 8928, 12, 5345, 13, 3363, 273, 6652, 18, 1991, 12, 3292, 19, 13640, 19, 4757, 19, 13504, 2187, 2400, 24, 2187, 2400, 45, 2187, 2400, 81, 2187, 296, 25, 2187, 1842, 6487, 3909, 33, 1717, 2567, 18, 27602, 16, 4514, 33, 1717, 2567, 18, 27602, 13, 309, 261, 88, 631, 2579, 471, 3363, 631, 6030, 13, 578, 261, 88, 631, 9905, 471, 3363, 631, 4763, 13, 578, 261, 88, 631, 1785, 471, 3363, 631, 4313, 4672, 1342, 1327, 268, 631, 2579, 471, 3363, 631, 4313, 30, 1172, 980, 16, 2337, 88, 2187, 1842, 16, 30414, 16, 2337, 15265, 63, 6938, 81, 12339, 310, 738, 72, 16, 2363, 738, 72, 64, 15265, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 574, 273, 1696, 2668, 1098, 18, 5830, 2187, 296, 86, 6134, 284, 370, 273, 1696, 2668, 1098, 18, 370, 2187, 296, 91, 6134, 980, 273, 374, 309, 562, 12, 9499, 18, 19485, 13, 405, 404, 30, 787, 2080, 273, 509, 12, 9499, 18, 19485, 63, 21, 5717, 469, 30, 787, 2080, 273, 374, 364, 1720, 316, 574, 30, 980, 1011, 404, 1720, 273, 1720, 18, 6406, 1435, 309, 980, 411, 787, 2080, 30, 1324, 309, 486, 1720, 30, 1324, 309, 1720, 18, 17514, 1918, 2668, 63, 4965, 3886, 11, 4672, 1324, 309, 1720, 18, 17514, 1918, 2668, 5124, 4672, 1324, 309, 1720, 18, 17514, 1918, 2668, 36, 20887, 4672, 1324, 309, 1720, 18, 17514, 1918, 2668, 2 ]
addId(className, runtime, loadtime)
addId(className, runtime, loadtime, node.get('line', -1))
def splitClassAttribute(assembledId, assembled): if assembledId == assembled: # just a class id clazzId = assembledId attribute = u'' else: clazzId = assembledId attribute = assembled[ len(assembledId) +1 :] # a.b.c.d = a.b.c + '.' + d return clazzId, attribute
9fcc2e06b607aced774242b3f05d49061c46732e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5718/9fcc2e06b607aced774242b3f05d49061c46732e/DependencyLoader.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1416, 28634, 12, 345, 5747, 1259, 548, 16, 20489, 1259, 4672, 309, 20489, 1259, 548, 422, 20489, 1259, 30, 225, 468, 2537, 279, 667, 612, 4003, 548, 282, 273, 20489, 1259, 548, 1566, 273, 582, 6309, 469, 30, 4003, 548, 282, 273, 20489, 1259, 548, 1566, 273, 20489, 1259, 63, 562, 12, 345, 5747, 1259, 548, 13, 397, 21, 294, 65, 468, 279, 18, 70, 18, 71, 18, 72, 273, 279, 18, 70, 18, 71, 397, 2611, 397, 302, 225, 327, 4003, 548, 16, 1566, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1416, 28634, 12, 345, 5747, 1259, 548, 16, 20489, 1259, 4672, 309, 20489, 1259, 548, 422, 20489, 1259, 30, 225, 468, 2537, 279, 667, 612, 4003, 548, 282, 273, 20489, 1259, 548, 1566, 273, 582, 6309, 469, 30, 4003, 548, 282, 273, 20489, 1259, 548, 1566, 273, 20489, 1259, 63, 562, 12, 345, 5747, 1259, 548, 13, 397, 21, 294, 65, 468, 279, 18, 70, 18, 71, 18, 72, 273, 279, 18, 70, 18, 71, 397, 2611, 397, 302, 225, 327, 4003, 548, 16, 1566, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
try: return UserToplevel.__dict__['userchild_%s'%name](username = self.username) except KeyError: pass
return InvalidPage(msg = "unauthorized request", username = self.username)
def userchildFactory(self, request, name): try: return UserToplevel.__dict__['userchild_%s'%name](username = self.username) except KeyError: pass
bd3076de576b75d724dc3f1c970752720e01fc0a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/bd3076de576b75d724dc3f1c970752720e01fc0a/twist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 729, 3624, 1733, 12, 2890, 16, 590, 16, 508, 4672, 775, 30, 327, 2177, 3401, 2815, 16186, 1576, 972, 3292, 1355, 3624, 10185, 87, 11, 9, 529, 29955, 5053, 273, 365, 18, 5053, 13, 1335, 4999, 30, 1342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 729, 3624, 1733, 12, 2890, 16, 590, 16, 508, 4672, 775, 30, 327, 2177, 3401, 2815, 16186, 1576, 972, 3292, 1355, 3624, 10185, 87, 11, 9, 529, 29955, 5053, 273, 365, 18, 5053, 13, 1335, 4999, 30, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
logStatusMsg( unicode(m) + os.linesep + u"Could not find path %s and could not make a directory there. Please make sure this path is correct and try creating the folder with proper permissions for me" % os.path.join(self['global']['workingDir'], downDict['Dir'] ), 1, False)
logStatusMsg( unicodeC(m) + os.linesep + u"Could not find path %s and could not make a directory there. Please make sure this path is correct and try creating the folder with proper permissions for me" % os.path.join(self['global']['workingDir'], downDict['Dir'] ), 1, False)
def check(self): global mechanize if not self['global']['urllib'] and not mechanize: logStatusMsg( 'Using urllib2 instead of mechanize. setting urllib = True', 1, False) self['global']['urllib'] = True if 'saveFile' not in self['global'] or self['global']['saveFile'] == None: self['global']['saveFile'] = u'savedstate.dat' if 'downloadDir' not in self['global'] or self['global']['downloadDir'] == None: logStatusMsg(u"Must specify downloadDir in [global] config", 1, False ) raise SystemExit, "Invalid configuration, no download directory" if 'runOnce' not in self['global'] or self['global']['runOnce'] == None: self['global']['runOnce'] = False if 'scanMins' not in self['global'] or self['global']['scanMins'] == None: self['global']['scanMins'] = 15 if self['global']['cookieType'] == 'MSIECookieJar' and self['global']['urllib']: logStatusMsg(u'Cannot use MSIECookieJar with urllib = True. Choose one or the other. May be caused by failed mechanize import', 1, False ) raise SystemExit, "Incompatible configuration, IE cookies must use mechanize. please install and configure mechanize" if self['global']['cookieType'] not in ['MSIECookieJar' ,'LWPCookieJar' , 'MozillaCookieJar' ]: logStatusMsg(u'Invalid cookieType option: %s. Only MSIECookieJar, LWPCookieJar, and MozillaCookieJar are valid options. Exiting...' % self['global']['cookieType'], 1, False) raise SystemExit if 'lockPort' not in self['global'] or self['global']['lockPort'] == None: self['global']['lockPort'] = 8023 if 'log' in self['global'] and self['global']['log']: if 'logFile' not in self['global'] or self['global']['logFile'] == None: self['global']['logFile'] = u'downloads.log' # check all directories to make sure they exist. Ask for creation? if self['global']['downloadDir']: if not os.path.isdir( os.path.join(self['global']['workingDir'], self['global']['downloadDir']) ): try: os.mkdir( os.path.join(self['global']['workingDir'], self['global']['downloadDir']) ) except OSError, m: logStatusMsg( unicode(m) + os.linesep + u"Could not find path %s and could not make a directory there. Please make sure this path is correct and try creating the folder with proper permissions for me" % os.path.join(self['global']['workingDir'], self['global']['downloadDir']), 1, False ) raise SystemExit for thread in self['threads']: if self['threads'][thread]['directory'] and not os.path.isdir( os.path.join(self['global']['workingDir'], self['threads'][thread]['directory']) ): try: os.mkdir( os.path.join(self['global']['workingDir'], self['threads'][thread]['directory']) ) except OSError, m: logStatusMsg( unicode(m) + os.linesep + u"Could not find path %s and could not make a directory there. Please make sure this path is correct and try creating the folder with proper permissions for me" % os.path.join(self['global']['workingDir'], self['threads'][thread]['directory']), 1, False) raise SystemExit for downDict in self['threads'][thread]['downloads']: if downDict['Dir'] and not os.path.isdir( os.path.join(self['global']['workingDir'], downDict['Dir'] ) ): try: os.mkdir( os.path.join(self['global']['workingDir'], downDict['Dir'] ) ) except OSError, m: logStatusMsg( unicode(m) + os.linesep + u"Could not find path %s and could not make a directory there. Please make sure this path is correct and try creating the folder with proper permissions for me" % os.path.join(self['global']['workingDir'], downDict['Dir'] ), 1, False) raise SystemExit
15efa811c3a3c7e375db44557ec2cc39fdd58d98 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1664/15efa811c3a3c7e375db44557ec2cc39fdd58d98/rssdler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 12, 2890, 4672, 2552, 1791, 7472, 554, 309, 486, 365, 3292, 6347, 21712, 718, 2941, 3546, 471, 486, 1791, 7472, 554, 30, 613, 1482, 3332, 12, 296, 7736, 11527, 22, 3560, 434, 1791, 7472, 554, 18, 3637, 11527, 273, 1053, 2187, 404, 16, 1083, 13, 365, 3292, 6347, 21712, 718, 2941, 3546, 273, 1053, 309, 296, 5688, 812, 11, 486, 225, 316, 365, 3292, 6347, 3546, 578, 365, 3292, 6347, 21712, 5688, 812, 3546, 422, 599, 30, 365, 3292, 6347, 21712, 5688, 812, 3546, 273, 582, 1807, 8158, 2019, 18, 3404, 11, 309, 296, 7813, 1621, 11, 486, 316, 365, 3292, 6347, 3546, 578, 365, 3292, 6347, 21712, 7813, 1621, 3546, 422, 599, 30, 613, 1482, 3332, 12, 89, 6, 10136, 4800, 4224, 1621, 316, 306, 6347, 65, 642, 3113, 404, 16, 1083, 262, 1002, 25454, 16, 315, 1941, 1664, 16, 1158, 4224, 1867, 6, 309, 296, 2681, 12212, 11, 486, 316, 365, 3292, 6347, 3546, 578, 365, 3292, 6347, 21712, 2681, 12212, 3546, 422, 599, 30, 365, 3292, 6347, 21712, 2681, 12212, 3546, 273, 1083, 309, 296, 9871, 49, 2679, 11, 486, 316, 365, 3292, 6347, 3546, 578, 365, 3292, 6347, 21712, 9871, 49, 2679, 3546, 422, 599, 30, 365, 3292, 6347, 21712, 9871, 49, 2679, 3546, 273, 4711, 309, 365, 3292, 6347, 21712, 8417, 559, 3546, 422, 296, 49, 2320, 41, 6151, 10813, 11, 471, 365, 3292, 6347, 21712, 718, 2941, 3546, 30, 613, 1482, 3332, 12, 89, 11, 4515, 999, 490, 2320, 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, 2890, 4672, 2552, 1791, 7472, 554, 309, 486, 365, 3292, 6347, 21712, 718, 2941, 3546, 471, 486, 1791, 7472, 554, 30, 613, 1482, 3332, 12, 296, 7736, 11527, 22, 3560, 434, 1791, 7472, 554, 18, 3637, 11527, 273, 1053, 2187, 404, 16, 1083, 13, 365, 3292, 6347, 21712, 718, 2941, 3546, 273, 1053, 309, 296, 5688, 812, 11, 486, 225, 316, 365, 3292, 6347, 3546, 578, 365, 3292, 6347, 21712, 5688, 812, 3546, 422, 599, 30, 365, 3292, 6347, 21712, 5688, 812, 3546, 273, 582, 1807, 8158, 2019, 18, 3404, 11, 309, 296, 7813, 1621, 11, 486, 316, 365, 3292, 6347, 3546, 578, 365, 3292, 6347, 21712, 7813, 1621, 3546, 422, 599, 30, 613, 1482, 3332, 2 ]
raise Unauthorized, 'You are not permitted to access '\ 'this tracker.'
raise Unauthorized, _( 'You are not permitted to access this tracker.')
def handle_message(self, message): ''' message - a Message instance
f9457e5e409c6363bf37d5634a3c77d621f1a603 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1906/f9457e5e409c6363bf37d5634a3c77d621f1a603/mailgw.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 2150, 12, 2890, 16, 883, 4672, 9163, 883, 300, 279, 2350, 791, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 2150, 12, 2890, 16, 883, 4672, 9163, 883, 300, 279, 2350, 791, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 DISABLED_test_download_filename_encoding(self):
def test_download_filename_encoding(self):
def test_download_from_textfield(self): # make sure field data doesn't get transformed when using the # download method value = self.field.download(self.dummy, no_output=True) self.failIf(isinstance(value, str))
e2187ffa036682970b59695f2d5804efe5f9d8b5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12165/e2187ffa036682970b59695f2d5804efe5f9d8b5/test_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 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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, 1842, 67, 7813, 67, 2080, 67, 955, 1518, 12, 2890, 4672, 468, 1221, 3071, 652, 501, 3302, 1404, 336, 10220, 1347, 1450, 326, 468, 4224, 707, 460, 273, 365, 18, 1518, 18, 7813, 12, 2890, 18, 21050, 16, 1158, 67, 2844, 33, 5510, 13, 365, 18, 6870, 2047, 12, 291, 1336, 12, 1132, 16, 609, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
1/x + 1/2 - (x/12) + x^2/24 - (19*x^3/720)
1/x + 1/2 - x/12 + x^2/24 - (19*x^3/720)
def taylor(self, v, a, n): """ Expands self in a truncated Taylor or Laurent series in the variable v around the point a, containing terms through $(x - a)^n$.
7042f0e43d557a3d80ba470d1c31e104f0ec22eb /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/7042f0e43d557a3d80ba470d1c31e104f0ec22eb/calculus.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 268, 528, 80, 280, 12, 2890, 16, 331, 16, 279, 16, 290, 4672, 3536, 7784, 5708, 365, 316, 279, 15282, 399, 528, 80, 280, 578, 511, 8377, 547, 4166, 316, 326, 2190, 331, 6740, 326, 1634, 279, 16, 4191, 6548, 3059, 27488, 92, 300, 279, 13, 66, 82, 8, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 268, 528, 80, 280, 12, 2890, 16, 331, 16, 279, 16, 290, 4672, 3536, 7784, 5708, 365, 316, 279, 15282, 399, 528, 80, 280, 578, 511, 8377, 547, 4166, 316, 326, 2190, 331, 6740, 326, 1634, 279, 16, 4191, 6548, 3059, 27488, 92, 300, 279, 13, 66, 82, 8, 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 ]
'emp_deduction': fields.float('Employee Deduction', digits=(16, int(config['price_accuracy']))), 'comp_deduction': fields.float('Company Deduction', digits=(16, int(config['price_accuracy']))), 'total': fields.function(_total, method=True, store=True, string='Total', digits=(16, int(config['price_accuracy']))),
'emp_deduction': fields.float('Employee Deduction', digits=(16, 4)), 'comp_deduction': fields.float('Company Deduction', digits=(16, 4)), 'total': fields.function(_total, method=True, store=True, string='Total', digits=(16, 4)),
def _total(self, cr, uid, ids, field_names, arg, context): res={} for line in self.browse(cr, uid, ids, context): res[line.id] = line.emp_deduction + line.comp_deduction return res
21786ff375c69b960b487a69bd1343b8b77f3dec /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/21786ff375c69b960b487a69bd1343b8b77f3dec/hr_payroll.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4963, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 652, 67, 1973, 16, 1501, 16, 819, 4672, 400, 12938, 364, 980, 316, 365, 18, 25731, 12, 3353, 16, 4555, 16, 3258, 16, 819, 4672, 400, 63, 1369, 18, 350, 65, 273, 980, 18, 30752, 67, 785, 4062, 397, 980, 18, 2919, 67, 785, 4062, 327, 400, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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389, 4963, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 652, 67, 1973, 16, 1501, 16, 819, 4672, 400, 12938, 364, 980, 316, 365, 18, 25731, 12, 3353, 16, 4555, 16, 3258, 16, 819, 4672, 400, 63, 1369, 18, 350, 65, 273, 980, 18, 30752, 67, 785, 4062, 397, 980, 18, 2919, 67, 785, 4062, 327, 400, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
n,v,f = troveTuple
def getFileContentsFromTrove(self, troveTuple, pathList, callback = None, compressed = False): pathList = [self.fromPath(x) for x in pathList] n,v,f = troveTuple v = self.fromVersion(v) f = self.fromFlavor(f) server = troveTuple[1].trailingLabel().getHost() filePaths = self.c[server].getFileContentsFromTrove((n,v,f), pathList) fileObjList = [] for path in filePaths: if compressed: fileObjList.append( filecontents.FromFilesystem(path, compressed = True)) else: f = gzip.GzipFile(path, "r") fileObjList.append(filecontents.FromFile(f)) return fileObjList
62260bcfc99b8d47e30be4d0373829fb80f9be3c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8747/62260bcfc99b8d47e30be4d0373829fb80f9be3c/shimclient.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6034, 6323, 1265, 56, 303, 537, 12, 2890, 16, 23432, 537, 9038, 16, 589, 682, 16, 1348, 273, 599, 16, 8968, 273, 1083, 4672, 589, 682, 273, 306, 2890, 18, 2080, 743, 12, 92, 13, 364, 619, 316, 589, 682, 65, 331, 273, 365, 18, 2080, 1444, 12, 90, 13, 284, 273, 365, 18, 2080, 2340, 9444, 12, 74, 13, 1438, 273, 23432, 537, 9038, 63, 21, 8009, 26453, 2224, 7675, 588, 2594, 1435, 585, 4466, 273, 365, 18, 71, 63, 3567, 8009, 29925, 6323, 1265, 56, 303, 537, 12443, 82, 16, 90, 16, 74, 3631, 589, 682, 13, 585, 2675, 682, 273, 5378, 364, 589, 316, 585, 4466, 30, 309, 8968, 30, 585, 2675, 682, 18, 6923, 12, 585, 3980, 18, 1265, 12861, 12, 803, 16, 8968, 273, 1053, 3719, 469, 30, 284, 273, 10331, 18, 27825, 812, 12, 803, 16, 315, 86, 7923, 585, 2675, 682, 18, 6923, 12, 768, 3980, 18, 13087, 12, 74, 3719, 327, 585, 2675, 682, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6034, 6323, 1265, 56, 303, 537, 12, 2890, 16, 23432, 537, 9038, 16, 589, 682, 16, 1348, 273, 599, 16, 8968, 273, 1083, 4672, 589, 682, 273, 306, 2890, 18, 2080, 743, 12, 92, 13, 364, 619, 316, 589, 682, 65, 331, 273, 365, 18, 2080, 1444, 12, 90, 13, 284, 273, 365, 18, 2080, 2340, 9444, 12, 74, 13, 1438, 273, 23432, 537, 9038, 63, 21, 8009, 26453, 2224, 7675, 588, 2594, 1435, 585, 4466, 273, 365, 18, 71, 63, 3567, 8009, 29925, 6323, 1265, 56, 303, 537, 12443, 82, 16, 90, 16, 74, 3631, 589, 682, 13, 585, 2675, 682, 273, 5378, 364, 589, 316, 585, 4466, 30, 309, 8968, 30, 585, 2675, 682, 18, 6923, 2 ]
to the DocTestRunner constructor (multiple constants should be or-ed
to the DocTestRunner constructor (multiple constants should be ORed
def optionflags(): r"""
604ac983eaca789afddf36881e954cc7346c8488 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3187/604ac983eaca789afddf36881e954cc7346c8488/test_doctest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1456, 7133, 13332, 436, 8395, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1456, 7133, 13332, 436, 8395, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
sage: C = RandomLinearCode(10,5,GF(4,'a')) sage: C.gen_mat() [ 1 0 0 0 0 x + 1 1 0 0 0] [x + 1 1 0 1 0 x + 1 1 1 0 0] [ 0 x + 1 0 x + 1 0 x x + 1 x + 1 x + 1 0] [ 1 0 x 0 1 0 0 0 0 1] [ 0 0 1 1 0 0 0 0 x x + 1] sage: C.minimum_distance() 2
def minimum_distance(self): r""" Uses a GAP kernel function (in C) written by Steve Linton.
fa2a9031bf5aaeeacb829c7cef2e519448bbc48b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/fa2a9031bf5aaeeacb829c7cef2e519448bbc48b/linear_code.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5224, 67, 8969, 12, 2890, 4672, 436, 8395, 14854, 279, 611, 2203, 5536, 445, 261, 267, 385, 13, 5941, 635, 7780, 537, 511, 474, 265, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5224, 67, 8969, 12, 2890, 4672, 436, 8395, 14854, 279, 611, 2203, 5536, 445, 261, 267, 385, 13, 5941, 635, 7780, 537, 511, 474, 265, 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 ]
para = _colorize(doc, para_token, errors, warnings)
para = _colorize(doc, para_token, errors)
def _add_para(doc, para_token, stack, indent_stack, errors, warnings): """Colorize the given paragraph, and add it to the DOM tree.""" # Check indentation, and update the parent's indentation # when appropriate. if indent_stack[-1] == None: indent_stack[-1] = para_token.indent if para_token.indent == indent_stack[-1]: # Colorize the paragraph and add it. para = _colorize(doc, para_token, errors, warnings) stack[-1].appendChild(para) else: estr = "Improper paragraph indentation." errors.append(StructuringError(estr, para_token))
7bf7c136593a0f12e906094a55f7b8f591c5abaf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/7bf7c136593a0f12e906094a55f7b8f591c5abaf/epytext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1289, 67, 25072, 12, 2434, 16, 12602, 67, 2316, 16, 2110, 16, 3504, 67, 3772, 16, 1334, 16, 5599, 4672, 3536, 2957, 554, 326, 864, 10190, 16, 471, 527, 518, 358, 326, 4703, 2151, 12123, 468, 2073, 12018, 16, 471, 1089, 326, 982, 1807, 12018, 468, 1347, 5505, 18, 309, 3504, 67, 3772, 18919, 21, 65, 422, 599, 30, 3504, 67, 3772, 18919, 21, 65, 273, 12602, 67, 2316, 18, 9355, 309, 12602, 67, 2316, 18, 9355, 422, 3504, 67, 3772, 18919, 21, 14542, 468, 5563, 554, 326, 10190, 471, 527, 518, 18, 12602, 273, 389, 3266, 554, 12, 2434, 16, 12602, 67, 2316, 16, 1334, 13, 2110, 18919, 21, 8009, 6923, 1763, 12, 25072, 13, 469, 30, 5001, 313, 273, 315, 1170, 22754, 10190, 12018, 1199, 1334, 18, 6923, 12, 3823, 4017, 668, 12, 281, 313, 16, 12602, 67, 2316, 3719, 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,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 16, 5599, 4672, 3536, 2957, 554, 326, 864, 10190, 16, 471, 527, 518, 358, 326, 4703, 2151, 12123, 468, 2073, 12018, 16, 471, 1089, 326, 982, 1807, 12018, 468, 1347, 5505, 18, 309, 3504, 67, 3772, 18919, 21, 65, 422, 599, 30, 3504, 67, 3772, 18919, 21, 65, 273, 12602, 67, 2316, 18, 9355, 309, 12602, 67, 2316, 18, 9355, 422, 3504, 67, 3772, 18919, 21, 14542, 468, 5563, 554, 326, 10190, 471, 527, 518, 18, 12602, 273, 389, 3266, 554, 12, 2434, 16, 12602, 67, 2316, 16, 1334, 13, 2110, 18919, 21, 8009, 6923, 1763, 12, 25072, 13, 469, 2 ]
self.removed_documents.append(doc_n)
else: self.removed_documents.append(doc_n)
def unindex_document(self, doc_n): if doc_n in self.added_documents: self.added_documents.remove(doc_n) self.removed_documents.append(doc_n)
20d8b4c9b2edb8f79ebc810f7526c3e49b7c0786 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12681/20d8b4c9b2edb8f79ebc810f7526c3e49b7c0786/documents.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 640, 1615, 67, 5457, 12, 2890, 16, 997, 67, 82, 4672, 309, 997, 67, 82, 316, 365, 18, 9665, 67, 24795, 30, 365, 18, 9665, 67, 24795, 18, 4479, 12, 2434, 67, 82, 13, 365, 18, 14923, 67, 24795, 18, 6923, 12, 2434, 67, 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, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 640, 1615, 67, 5457, 12, 2890, 16, 997, 67, 82, 4672, 309, 997, 67, 82, 316, 365, 18, 9665, 67, 24795, 30, 365, 18, 9665, 67, 24795, 18, 4479, 12, 2434, 67, 82, 13, 365, 18, 14923, 67, 24795, 18, 6923, 12, 2434, 67, 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 ]
def __init__(self, *args, **kwargs):
def __init__(self, label=u'', validators=[], required=True, **kwargs):
def __init__(self, *args, **kwargs): form = kwargs['form'] self.name = kwargs['name'] self.id = kwargs.get('id', form._idprefix + self.name) if args and isinstance(args[0], basestring): self._label = args[0] self.validators = args[1:] else: self._label = self.name self.validators = args self.data = None self.errors = []
2628c7c9ec71ea98325b9042441d263d384c9902 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8614/2628c7c9ec71ea98325b9042441d263d384c9902/fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1433, 33, 89, 11, 2187, 11632, 22850, 6487, 1931, 33, 5510, 16, 2826, 4333, 4672, 646, 273, 1205, 3292, 687, 3546, 365, 18, 529, 273, 1205, 3292, 529, 3546, 365, 18, 350, 273, 1205, 18, 588, 2668, 350, 2187, 646, 6315, 350, 3239, 397, 365, 18, 529, 13, 309, 833, 471, 1549, 12, 1968, 63, 20, 6487, 10699, 4672, 365, 6315, 1925, 273, 833, 63, 20, 65, 365, 18, 23993, 273, 833,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1433, 33, 89, 11, 2187, 11632, 22850, 6487, 1931, 33, 5510, 16, 2826, 4333, 4672, 646, 273, 1205, 3292, 687, 3546, 365, 18, 529, 273, 1205, 3292, 529, 3546, 365, 18, 350, 273, 1205, 18, 588, 2668, 350, 2187, 646, 6315, 350, 3239, 397, 365, 18, 529, 13, 309, 833, 471, 1549, 12, 1968, 63, 20, 6487, 10699, 4672, 365, 6315, 1925, 273, 833, 63, 20, 65, 365, 18, 23993, 273, 833, 63, 21, 26894, 469, 30, 365, 6315, 1925, 273, 365, 18, 529, 365, 18, 23993, 273, 833, 365, 18, 892, 273, 599, 365, 18, 4324, 273, 5378, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
elif line.category_id.contribute and line.category_id.include_in_salary and line.category_id.amount_type == 'fix':
elif line.category_id.contribute and line.category_id.amount_type == 'fix':
def compute_sheet(self, cr, uid, ids, context={}): emp_pool = self.pool.get('hr.employee') slip_pool = self.pool.get('hr.payslip') func_pool = self.pool.get('hr.employee.grade') slip_line_pool = self.pool.get('hr.payslip.line') holiday_pool = self.pool.get('hr.holidays') vals = self.read(cr, uid, ids)[0] emp_ids = ids for slip in self.browse(cr, uid, ids): allow = 0.0 #for emp in emp_pool.browse(cr, uid, [vals['employee_id'][0]]): emp = slip.employee_id sql_req= ''' SELECT c.id as id, c.wage as wage, function as function FROM hr_contract c LEFT JOIN hr_employee emp on (c.employee_id=emp.id) LEFT JOIN hr_contract_wage_type cwt on (cwt.id = c.wage_type_id) LEFT JOIN hr_contract_wage_type_period p on (cwt.period_id = p.id) WHERE (emp.id=%s) AND (date_start <= %s) AND (date_end IS NULL OR date_end >= %s) LIMIT 1 ''' cr.execute(sql_req, (emp.id, vals['date'], vals['date'])) contract_id = cr.dictfetchone() if not contract_id: continue contract = self.pool.get('hr.contract').browse(cr, uid, contract_id['id']) sal_type = contract.wage_type_id.type function = contract.function.id lines = [] if function: func = func_pool.read(cr, uid, function, ['line_ids']) lines = slip_line_pool.browse(cr, uid, func['line_ids'])
9cefb7520803ded7f648633ccca30e623a0dd192 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7339/9cefb7520803ded7f648633ccca30e623a0dd192/hr_payroll.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3671, 67, 8118, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 12938, 4672, 801, 84, 67, 6011, 273, 365, 18, 6011, 18, 588, 2668, 7256, 18, 351, 2817, 1340, 6134, 272, 3169, 67, 6011, 273, 365, 18, 6011, 18, 588, 2668, 7256, 18, 84, 8271, 3169, 6134, 1326, 67, 6011, 273, 365, 18, 6011, 18, 588, 2668, 7256, 18, 351, 2817, 1340, 18, 3994, 6134, 272, 3169, 67, 1369, 67, 6011, 273, 365, 18, 6011, 18, 588, 2668, 7256, 18, 84, 8271, 3169, 18, 1369, 6134, 27836, 67, 6011, 273, 365, 18, 6011, 18, 588, 2668, 7256, 18, 76, 22999, 6134, 225, 5773, 273, 365, 18, 896, 12, 3353, 16, 4555, 16, 3258, 25146, 20, 65, 801, 84, 67, 2232, 273, 3258, 225, 364, 272, 3169, 316, 365, 18, 25731, 12, 3353, 16, 4555, 16, 3258, 4672, 1699, 273, 374, 18, 20, 468, 1884, 801, 84, 316, 801, 84, 67, 6011, 18, 25731, 12, 3353, 16, 4555, 16, 306, 4524, 3292, 351, 2817, 1340, 67, 350, 3546, 63, 20, 13563, 4672, 801, 84, 273, 272, 3169, 18, 351, 2817, 1340, 67, 350, 1847, 67, 3658, 33, 9163, 9111, 276, 18, 350, 487, 612, 16, 276, 18, 91, 410, 487, 341, 410, 16, 445, 487, 445, 4571, 15407, 67, 16351, 276, 9686, 7645, 15407, 67, 351, 2817, 1340, 801, 84, 603, 261, 71, 18, 351, 2817, 1340, 67, 350, 33, 30752, 18, 350, 13, 9686, 7645, 15407, 67, 16351, 67, 91, 410, 67, 723, 276, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3671, 67, 8118, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 12938, 4672, 801, 84, 67, 6011, 273, 365, 18, 6011, 18, 588, 2668, 7256, 18, 351, 2817, 1340, 6134, 272, 3169, 67, 6011, 273, 365, 18, 6011, 18, 588, 2668, 7256, 18, 84, 8271, 3169, 6134, 1326, 67, 6011, 273, 365, 18, 6011, 18, 588, 2668, 7256, 18, 351, 2817, 1340, 18, 3994, 6134, 272, 3169, 67, 1369, 67, 6011, 273, 365, 18, 6011, 18, 588, 2668, 7256, 18, 84, 8271, 3169, 18, 1369, 6134, 27836, 67, 6011, 273, 365, 18, 6011, 18, 588, 2668, 7256, 18, 76, 22999, 6134, 225, 5773, 273, 365, 18, 896, 12, 3353, 16, 4555, 16, 3258, 25146, 20, 65, 2 ]
layout.addWidget(self.sourceObjText, 6, 0) layout.addWidget(sourceFieldLabel, 6, 1) layout.addWidget(self.sourceFieldComboBox, 6, 2)
layout.addWidget(sourceObjLabel, 6, 0) layout.addWidget(self.sourceObjText, 6, 1, 1, 2) layout.addWidget(sourceFieldLabel, 7, 0) layout.addWidget(self.sourceFieldComboBox, 7, 1)
def makeConnectionPopup(self): """Create a dialog to connect moose objects via messages.""" self.connectionDialog = QtGui.QDialog(self) self.connectionDialog.setWindowTitle(self.tr('Create Connection')) self.connectionDialog.setModal(False)
9d1c1f829bc8203d77f528c720f3009ee7424e78 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2961/9d1c1f829bc8203d77f528c720f3009ee7424e78/moosegui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 1952, 13770, 12, 2890, 4672, 3536, 1684, 279, 6176, 358, 3077, 7344, 2584, 2184, 3970, 2743, 12123, 365, 18, 4071, 6353, 273, 23425, 18, 53, 6353, 12, 2890, 13, 365, 18, 4071, 6353, 18, 542, 3829, 4247, 12, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 1952, 13770, 12, 2890, 4672, 3536, 1684, 279, 6176, 358, 3077, 7344, 2584, 2184, 3970, 2743, 12123, 365, 18, 4071, 6353, 273, 23425, 18, 53, 6353, 12, 2890, 13, 365, 18, 4071, 6353, 18, 542, 3829, 4247, 12, 2890, 18, 313, 2668, 1684, 4050, 26112, 365, 18, 4071, 6353, 18, 542, 20191, 12, 8381, 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 ]
replace - replaces one word with another throughout the whole topic. Usage: TOPIC [channel] replace <to replace> <with>
replace - replaces one word (using regexp) with a phrase throughout the whole topic. Usage: TOPIC [channel] replace <to replace - regexp> <phrase>
def cmd_topic(self, user, channel, params): """ Updates the current channel's topic. Usage: TOPIC [channel] [command] <topic>
a5a2497f9290e730263a463cbf28a312754709c7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2194/a5a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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1797, 67, 10476, 12, 2890, 16, 729, 16, 1904, 16, 859, 4672, 3536, 15419, 326, 783, 1904, 1807, 3958, 18, 10858, 30, 8493, 20385, 306, 4327, 65, 306, 3076, 65, 411, 10476, 34, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 not want_quit:
else:
def auto_answer_call(): print 'Auto-answering session' sess.accept(audio=True) auto_answer_timer = None
6dca12d8acc3551844ffc4a0a48129ac916f257c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3449/6dca12d8acc3551844ffc4a0a48129ac916f257c/sip_audio_session.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3656, 67, 13490, 67, 1991, 13332, 1172, 296, 4965, 17, 13490, 310, 1339, 11, 8451, 18, 9436, 12, 11509, 33, 5510, 13, 3656, 67, 13490, 67, 12542, 273, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3656, 67, 13490, 67, 1991, 13332, 1172, 296, 4965, 17, 13490, 310, 1339, 11, 8451, 18, 9436, 12, 11509, 33, 5510, 13, 3656, 67, 13490, 67, 12542, 273, 599, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
'\xd0\x9f\xd0\xb8\xd1\x82\xd0\xbe\xd0\xbd'
b'\xd0\x9f\xd0\xb8\xd1\x82\xd0\xbe\xd0\xbd'
def test_pep263(self): self.assertEqual( "".encode("utf-8"), '\xd0\x9f\xd0\xb8\xd1\x82\xd0\xbe\xd0\xbd' ) self.assertEqual( "\".encode("utf-8"), '\\\xd0\x9f' )
1f5f41e6fce10ba80cc1188ccb9ff69275c88f28 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3187/1f5f41e6fce10ba80cc1188ccb9ff69275c88f28/test_pep263.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 29363, 22, 4449, 12, 2890, 4672, 365, 18, 11231, 5812, 12, 1408, 18, 3015, 2932, 3158, 17, 28, 6, 3631, 324, 8314, 7669, 20, 64, 92, 29, 74, 64, 7669, 20, 64, 6114, 28, 64, 7669, 21, 64, 92, 11149, 64, 7669, 20, 64, 92, 2196, 64, 7669, 20, 64, 6114, 72, 11, 262, 365, 18, 11231, 5812, 12, 7023, 18, 3015, 2932, 3158, 17, 28, 6, 3631, 3718, 64, 7669, 20, 64, 92, 29, 74, 11, 262, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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 64, 6114, 28, 64, 7669, 21, 64, 92, 11149, 64, 7669, 20, 64, 92, 2196, 64, 7669, 20, 64, 6114, 72, 11, 262, 365, 18, 11231, 5812, 12, 7023, 18, 3015, 2932, 3158, 17, 28, 6, 3631, 3718, 64, 7669, 20, 64, 92, 29, 74, 11, 262, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
log.info('different subtitles: %s - %s' % \
log.debug('different subtitles: %s - %s' % \
def sql_add_program(self, channel_id, title, start, stop, subtitle='', description='', episode=''): now = time.time() title = self.__escape_value(title) subtitle = self.__escape_value(subtitle).strip(' \t-_') description = self.__escape_value(description).strip(' \t-_') episode = self.__escape_value(episode).strip(' \t-_')
7c81386095f9d5b2cd3b5ea0853469387b3fa00f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/7c81386095f9d5b2cd3b5ea0853469387b3fa00f/guide.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1847, 67, 1289, 67, 12890, 12, 2890, 16, 1904, 67, 350, 16, 2077, 16, 787, 16, 2132, 16, 20281, 2218, 2187, 2477, 2218, 2187, 17054, 2218, 11, 4672, 2037, 273, 813, 18, 957, 1435, 2077, 273, 365, 16186, 6939, 67, 1132, 12, 2649, 13, 20281, 273, 365, 16186, 6939, 67, 1132, 12, 1717, 2649, 2934, 6406, 2668, 521, 88, 17, 4623, 13, 2477, 273, 365, 16186, 6939, 67, 1132, 12, 3384, 2934, 6406, 2668, 521, 88, 17, 4623, 13, 17054, 273, 365, 16186, 6939, 67, 1132, 12, 29687, 2934, 6406, 2668, 521, 88, 17, 4623, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1847, 67, 1289, 67, 12890, 12, 2890, 16, 1904, 67, 350, 16, 2077, 16, 787, 16, 2132, 16, 20281, 2218, 2187, 2477, 2218, 2187, 17054, 2218, 11, 4672, 2037, 273, 813, 18, 957, 1435, 2077, 273, 365, 16186, 6939, 67, 1132, 12, 2649, 13, 20281, 273, 365, 16186, 6939, 67, 1132, 12, 1717, 2649, 2934, 6406, 2668, 521, 88, 17, 4623, 13, 2477, 273, 365, 16186, 6939, 67, 1132, 12, 3384, 2934, 6406, 2668, 521, 88, 17, 4623, 13, 17054, 273, 365, 16186, 6939, 67, 1132, 12, 29687, 2934, 6406, 2668, 521, 88, 17, 4623, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if time.mktime(date_tuple) > time.time():
if date_tuple > time.gmtime():
def fix_date(date_tuple): if not date_tuple: return date_tuple if time.mktime(date_tuple) > time.time(): # feedparser's parsed date tuple has no DST indication, we need to force it # because there is no UTC equivalent of mktime() date_tuple = date_tuple[:-1] + (-1,) date_tuple = time.localtime(time.mktime(date_tuple) - 3600) # if it is still in the future, the implementation is hopelessly broken, # truncate it to the present if time.mktime(date_tuple) > time.time(): return time.gmtime() else: return date_tuple else: return date_tuple
4d0351ade958acdc08456556326dfb94114e4d73 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10695/4d0351ade958acdc08456556326dfb94114e4d73/normalize.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2917, 67, 712, 12, 712, 67, 8052, 4672, 309, 486, 1509, 67, 8052, 30, 327, 1509, 67, 8052, 309, 1509, 67, 8052, 405, 813, 18, 75, 10838, 13332, 468, 4746, 4288, 1807, 2707, 1509, 3193, 711, 1158, 463, 882, 1547, 829, 16, 732, 1608, 358, 2944, 518, 468, 2724, 1915, 353, 1158, 9951, 7680, 434, 21977, 1435, 1509, 67, 8052, 273, 1509, 67, 8052, 10531, 17, 21, 65, 397, 24927, 21, 16, 13, 1509, 67, 8052, 273, 813, 18, 3729, 957, 12, 957, 18, 24816, 957, 12, 712, 67, 8052, 13, 300, 12396, 13, 468, 309, 518, 353, 4859, 316, 326, 3563, 16, 326, 4471, 353, 19055, 12617, 715, 12933, 16, 468, 10310, 518, 358, 326, 3430, 309, 1509, 67, 8052, 405, 813, 18, 75, 10838, 13332, 327, 813, 18, 75, 10838, 1435, 469, 30, 327, 1509, 67, 8052, 469, 30, 327, 1509, 67, 8052, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2917, 67, 712, 12, 712, 67, 8052, 4672, 309, 486, 1509, 67, 8052, 30, 327, 1509, 67, 8052, 309, 1509, 67, 8052, 405, 813, 18, 75, 10838, 13332, 468, 4746, 4288, 1807, 2707, 1509, 3193, 711, 1158, 463, 882, 1547, 829, 16, 732, 1608, 358, 2944, 518, 468, 2724, 1915, 353, 1158, 9951, 7680, 434, 21977, 1435, 1509, 67, 8052, 273, 1509, 67, 8052, 10531, 17, 21, 65, 397, 24927, 21, 16, 13, 1509, 67, 8052, 273, 813, 18, 3729, 957, 12, 957, 18, 24816, 957, 12, 712, 67, 8052, 13, 300, 12396, 13, 468, 309, 518, 353, 4859, 316, 326, 3563, 16, 326, 4471, 353, 19055, 12617, 715, 12933, 16, 468, 10310, 518, 358, 326, 3430, 309, 2 ]
g.solr.delete('project_id_s:%s AND mount_point_s:%s' % (
g.solr.delete(q='project_id_s:"%s" AND mount_point_s:"%s"' % (
def uninstall(self, project=None, project_id=None): 'Whatever logic is required to tear down a tool' if project_id is None: project_id = project._id # De-index all the artifacts belonging to this tool in one fell swoop g.solr.delete('project_id_s:%s AND mount_point_s:%s' % ( project_id, self.config.options['mount_point'])) for d in model.Discussion.query.find({ 'project_id':project_id, 'app_config_id':self.config._id}): d.delete() # Remove all tags referring to this tool q_aref ={ 'artifact_ref.project_id':project_id, 'artifact_ref.mount_point':self.config.options['mount_point']} model.Tag.query.remove(q_aref) model.TagEvent.query.remove(q_aref) model.UserTags.query.remove(q_aref) self.config.delete()
811a63e40012eeae52e7c08c7e1da779eec8534b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1036/811a63e40012eeae52e7c08c7e1da779eec8534b/app.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16577, 12, 2890, 16, 1984, 33, 7036, 16, 1984, 67, 350, 33, 7036, 4672, 296, 2888, 14299, 4058, 353, 1931, 358, 268, 2091, 2588, 279, 5226, 11, 309, 1984, 67, 350, 353, 599, 30, 1984, 67, 350, 273, 1984, 6315, 350, 468, 1505, 17, 1615, 777, 326, 16259, 17622, 358, 333, 5226, 316, 1245, 284, 1165, 1352, 83, 556, 314, 18, 22495, 18, 3733, 12, 85, 2218, 4406, 67, 350, 67, 87, 2773, 9, 87, 6, 4116, 5344, 67, 1153, 67, 87, 2773, 9, 87, 5187, 738, 261, 1984, 67, 350, 16, 365, 18, 1425, 18, 2116, 3292, 4778, 67, 1153, 3546, 3719, 364, 302, 316, 938, 18, 24393, 18, 2271, 18, 4720, 12590, 296, 4406, 67, 350, 4278, 4406, 67, 350, 16, 296, 2910, 67, 1425, 67, 350, 4278, 2890, 18, 1425, 6315, 350, 97, 4672, 302, 18, 3733, 1435, 468, 3581, 777, 2342, 1278, 20245, 358, 333, 5226, 1043, 67, 834, 74, 273, 95, 296, 17706, 67, 1734, 18, 4406, 67, 350, 4278, 4406, 67, 350, 16, 296, 17706, 67, 1734, 18, 4778, 67, 1153, 4278, 2890, 18, 1425, 18, 2116, 3292, 4778, 67, 1153, 14579, 938, 18, 1805, 18, 2271, 18, 4479, 12, 85, 67, 834, 74, 13, 938, 18, 1805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, 2091, 2588, 279, 5226, 11, 309, 1984, 67, 350, 353, 599, 30, 1984, 67, 350, 273, 1984, 6315, 350, 468, 1505, 17, 1615, 777, 326, 16259, 17622, 358, 333, 5226, 316, 1245, 284, 1165, 1352, 83, 556, 314, 18, 22495, 18, 3733, 12, 85, 2218, 4406, 67, 350, 67, 87, 2773, 9, 87, 6, 4116, 5344, 67, 1153, 67, 87, 2773, 9, 87, 5187, 738, 261, 1984, 67, 350, 16, 365, 18, 1425, 18, 2116, 3292, 4778, 67, 1153, 3546, 3719, 364, 302, 316, 938, 18, 24393, 18, 2271, 18, 4720, 12590, 296, 4406, 67, 350, 2 ]
home, '.mozilla', 'firefox', '*', 'cookies.txt'))
home, '.mozilla', 'firefox*', '*', 'cookies.txt'))
def reset_browser(self): """ Delete crash dialog and browser cache. """ home = os.environ['HOME'] self.delete_if_exists(os.path.join( home, '.mozilla', 'firefox', '*', 'Cache')) self.delete_if_exists(os.path.join( home, '.mozilla', 'firefox', '*', 'sessionstore.js')) self.delete_if_exists(os.path.join( home, '.mozilla', 'firefox', '*', 'history.dat')) self.delete_if_exists(os.path.join( home, '.mozilla', 'firefox', '*', 'cookies.txt'))
84d1bccfe95d0980830086df6775b39b59181adc /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10655/84d1bccfe95d0980830086df6775b39b59181adc/firefox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2715, 67, 11213, 12, 2890, 4672, 3536, 2504, 17053, 6176, 471, 4748, 1247, 18, 3536, 6382, 273, 1140, 18, 28684, 3292, 14209, 3546, 365, 18, 3733, 67, 430, 67, 1808, 12, 538, 18, 803, 18, 5701, 12, 6382, 16, 2418, 8683, 15990, 2187, 296, 12179, 13873, 2187, 14609, 2187, 296, 1649, 26112, 365, 18, 3733, 67, 430, 67, 1808, 12, 538, 18, 803, 18, 5701, 12, 6382, 16, 2418, 8683, 15990, 2187, 296, 12179, 13873, 2187, 14609, 2187, 296, 3184, 2233, 18, 2924, 26112, 365, 18, 3733, 67, 430, 67, 1808, 12, 538, 18, 803, 18, 5701, 12, 6382, 16, 2418, 8683, 15990, 2187, 296, 12179, 13873, 2187, 14609, 2187, 296, 8189, 18, 3404, 26112, 365, 18, 3733, 67, 430, 67, 1808, 12, 538, 18, 803, 18, 5701, 12, 6382, 16, 2418, 8683, 15990, 2187, 296, 12179, 13873, 2187, 14609, 2187, 296, 16240, 18, 5830, 26112, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2715, 67, 11213, 12, 2890, 4672, 3536, 2504, 17053, 6176, 471, 4748, 1247, 18, 3536, 6382, 273, 1140, 18, 28684, 3292, 14209, 3546, 365, 18, 3733, 67, 430, 67, 1808, 12, 538, 18, 803, 18, 5701, 12, 6382, 16, 2418, 8683, 15990, 2187, 296, 12179, 13873, 2187, 14609, 2187, 296, 1649, 26112, 365, 18, 3733, 67, 430, 67, 1808, 12, 538, 18, 803, 18, 5701, 12, 6382, 16, 2418, 8683, 15990, 2187, 296, 12179, 13873, 2187, 14609, 2187, 296, 3184, 2233, 18, 2924, 26112, 365, 18, 3733, 67, 430, 67, 1808, 12, 538, 18, 803, 18, 5701, 12, 6382, 16, 2418, 8683, 15990, 2187, 296, 12179, 13873, 2187, 14609, 2187, 296, 8189, 18, 3404, 26112, 365, 18, 3733, 2 ]
self.captured = self.captured + data
n -= 1 time.sleep(0.01)
def run(self): sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) global PORT PORT = test_support.bind_port(sock, HOST, PORT) sock.listen(1) conn, client = sock.accept() self.captured = "" while 1: data = conn.recv(10) if '\n' in data: break self.captured = self.captured + data
b83fb66944662e981707f15a47735582452d8fbe /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12029/b83fb66944662e981707f15a47735582452d8fbe/test_asyncore.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 7313, 273, 2987, 18, 7814, 12, 7814, 18, 6799, 67, 18819, 16, 2987, 18, 3584, 3507, 67, 13693, 13, 7313, 18, 4424, 27844, 12, 7814, 18, 19815, 67, 25699, 16, 2987, 18, 3584, 67, 862, 8001, 14142, 16, 404, 13, 2552, 20987, 20987, 273, 1842, 67, 13261, 18, 4376, 67, 655, 12, 15031, 16, 21425, 16, 20987, 13, 7313, 18, 18085, 12, 21, 13, 1487, 16, 1004, 273, 7313, 18, 9436, 1435, 365, 18, 71, 1657, 2862, 273, 1408, 1323, 404, 30, 501, 273, 1487, 18, 18334, 12, 2163, 13, 309, 2337, 82, 11, 316, 501, 30, 898, 365, 18, 71, 1657, 2862, 273, 365, 18, 71, 1657, 2862, 397, 501, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 7313, 273, 2987, 18, 7814, 12, 7814, 18, 6799, 67, 18819, 16, 2987, 18, 3584, 3507, 67, 13693, 13, 7313, 18, 4424, 27844, 12, 7814, 18, 19815, 67, 25699, 16, 2987, 18, 3584, 67, 862, 8001, 14142, 16, 404, 13, 2552, 20987, 20987, 273, 1842, 67, 13261, 18, 4376, 67, 655, 12, 15031, 16, 21425, 16, 20987, 13, 7313, 18, 18085, 12, 21, 13, 1487, 16, 1004, 273, 7313, 18, 9436, 1435, 365, 18, 71, 1657, 2862, 273, 1408, 1323, 404, 30, 501, 273, 1487, 18, 18334, 12, 2163, 13, 309, 2337, 82, 11, 316, 501, 30, 898, 365, 18, 71, 1657, 2862, 273, 365, 18, 71, 1657, 2862, 397, 501, 2, -100, -100, -100 ]
return text.ljust(_tw + len(text) - len(_strip_core_re.sub('', text))) + '\r'
return text.ljust(_tw + len(text) - len(_ansi_re.sub('', text))) + '\r'
def term_width_line(text): if not codes: # if no coloring, don't output fancy backspaces return text + '\n' else: # codes are not displayed and must be taken into account by introducing the correction factor return text.ljust(_tw + len(text) - len(_strip_core_re.sub('', text))) + '\r'
a506b3e7142ae5d95341ef8daea3a2b256a923cd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7032/a506b3e7142ae5d95341ef8daea3a2b256a923cd/console.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2481, 67, 2819, 67, 1369, 12, 955, 4672, 309, 486, 6198, 30, 468, 309, 1158, 2036, 310, 16, 2727, 1404, 876, 31701, 1473, 9554, 327, 977, 397, 2337, 82, 11, 469, 30, 468, 6198, 854, 486, 10453, 471, 1297, 506, 9830, 1368, 2236, 635, 16658, 2822, 326, 15104, 5578, 327, 977, 18, 80, 3732, 24899, 11246, 397, 562, 12, 955, 13, 300, 562, 24899, 634, 77, 67, 266, 18, 1717, 2668, 2187, 977, 20349, 397, 2337, 86, 11, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2481, 67, 2819, 67, 1369, 12, 955, 4672, 309, 486, 6198, 30, 468, 309, 1158, 2036, 310, 16, 2727, 1404, 876, 31701, 1473, 9554, 327, 977, 397, 2337, 82, 11, 469, 30, 468, 6198, 854, 486, 10453, 471, 1297, 506, 9830, 1368, 2236, 635, 16658, 2822, 326, 15104, 5578, 327, 977, 18, 80, 3732, 24899, 11246, 397, 562, 12, 955, 13, 300, 562, 24899, 634, 77, 67, 266, 18, 1717, 2668, 2187, 977, 20349, 397, 2337, 86, 11, 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 ]
raise RuntimeError, "Color map %s not known"%cmap
raise RuntimeError, "Color map %s not known"%given_cmap
def _render_on_subplot(self, subplot): options = self.options() cmap = options['cmap'] #cm is the matplotlib color map module from matplotlib import cm try: cmap = cm.__dict__[cmap] except KeyError: from matplotlib.colors import LinearSegmentedColormap as C possibilities = ', '.join([str(x) for x in cm.__dict__.keys() if \ isinstance(cm.__dict__[x], C)]) sage.misc.misc.verbose("The possible color maps include: %s"%possibilities, level=0) raise RuntimeError, "Color map %s not known"%cmap
99e74ab281c357bf759b78aeae23f841b8e0ef44 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/99e74ab281c357bf759b78aeae23f841b8e0ef44/plot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5902, 67, 265, 67, 24523, 12, 2890, 16, 19826, 4672, 702, 273, 365, 18, 2116, 1435, 11136, 273, 702, 3292, 22738, 3546, 468, 7670, 353, 326, 13892, 2036, 852, 1605, 628, 13892, 1930, 5003, 775, 30, 11136, 273, 5003, 16186, 1576, 972, 63, 22738, 65, 1335, 4999, 30, 628, 13892, 18, 9724, 1930, 13921, 4131, 329, 914, 18804, 487, 385, 28550, 273, 2265, 2418, 5701, 3816, 701, 12, 92, 13, 364, 619, 316, 5003, 16186, 1576, 25648, 2452, 1435, 309, 521, 1549, 12, 7670, 16186, 1576, 972, 63, 92, 6487, 385, 13, 5717, 272, 410, 18, 23667, 18, 23667, 18, 11369, 2932, 1986, 3323, 2036, 7565, 2341, 30, 738, 87, 28385, 917, 24074, 16, 1801, 33, 20, 13, 1002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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5902, 67, 265, 67, 24523, 12, 2890, 16, 19826, 4672, 702, 273, 365, 18, 2116, 1435, 11136, 273, 702, 3292, 22738, 3546, 468, 7670, 353, 326, 13892, 2036, 852, 1605, 628, 13892, 1930, 5003, 775, 30, 11136, 273, 5003, 16186, 1576, 972, 63, 22738, 65, 1335, 4999, 30, 628, 13892, 18, 9724, 1930, 13921, 4131, 329, 914, 18804, 487, 385, 28550, 273, 2265, 2418, 5701, 3816, 701, 12, 92, 13, 364, 619, 316, 5003, 16186, 1576, 25648, 2452, 1435, 309, 521, 1549, 12, 7670, 16186, 1576, 972, 63, 92, 6487, 385, 13, 5717, 272, 410, 18, 23667, 18, 23667, 18, 11369, 2932, 1986, 3323, 2036, 7565, 2341, 30, 738, 87, 28385, 917, 24074, 16, 1801, 33, 20, 2 ]