rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
sequencelengths
256
256
attention_mask
sequencelengths
256
256
labels
sequencelengths
128
128
def copy(self, cr, uid, id, default=None, context={}):
def copy(self, cr, uid, id, default=None, context=None):
def copy(self, cr, uid, id, default=None, context={}): group_name = self.read(cr, uid, [id], ['name'])[0]['name'] default.update({'name': _('%s (copy)')%group_name}) return super(groups, self).copy(cr, uid, id, default, context)
b4e5c513112036bb6d6eee7e16eda547ccda80eb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/b4e5c513112036bb6d6eee7e16eda547ccda80eb/res_user.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 12, 2890, 16, 4422, 16, 4555, 16, 612, 16, 805, 33, 7036, 16, 819, 33, 7036, 4672, 1041, 67, 529, 273, 365, 18, 896, 12, 3353, 16, 4555, 16, 306, 350, 6487, 10228, 529, 19486, 63, 20, 23962, 529, 3546, 805, 18, 2725, 12590, 11, 529, 4278, 389, 29909, 87, 261, 3530, 2506, 13, 9, 1655, 67, 529, 6792, 327, 2240, 12, 4650, 16, 365, 2934, 3530, 12, 3353, 16, 4555, 16, 612, 16, 805, 16, 819, 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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16, 306, 350, 6487, 10228, 529, 19486, 63, 20, 23962, 529, 3546, 805, 18, 2725, 12590, 11, 529, 4278, 389, 29909, 87, 261, 3530, 2506, 13, 9, 1655, 67, 529, 6792, 327, 2240, 12, 4650, 16, 365, 2934, 3530, 12, 3353, 16, 4555, 16, 612, 16, 805, 16, 819, 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 ]
r'\1__time__=misc.cputime(); __wall__=misc.walltime(); \2; print ' +
r';\1__time__=misc.cputime(); __wall__=misc.walltime(); \2; print ' +
def preparse(line, reset=True, do_time=False, ignore_prompts=False): r""" EXAMPLES: sage: preparse("ZZ.<x> = ZZ['x']") "ZZ = ZZ['x']; (x,) = ZZ._first_ngens(1)" sage: preparse("ZZ.<x> = ZZ['y']") "ZZ = ZZ['y']; (x,) = ZZ._first_ngens(1)" sage: preparse("ZZ.<x,y> = ZZ[]") "ZZ = ZZ['x, y']; (x, y,) = ZZ._first_ngens(2)" sage: preparse("ZZ.<x,y> = ZZ['u,v']") "ZZ = ZZ['u,v']; (x, y,) = ZZ._first_ngens(2)" sage: preparse("ZZ.<x> = QQ[2^(1/3)]") 'ZZ = QQ[Integer(2)**(Integer(1)/Integer(3))]; (x,) = ZZ._first_ngens(1)' sage: QQ[2^(1/3)] Number Field in a with defining polynomial x^3 - 2 sage: preparse("a^b") 'a**b' sage: preparse("a^^b") 'a^b' sage: 8^1 8 sage: 8^^1 9 sage: 9^^1 8 sage: preparse("A \ B") 'A ._backslash_(B)' sage: preparse("time R.<x> = ZZ[]", do_time=True) '_time__=misc.cputime(); __wall__=misc.walltime(); R = ZZ[\'x\']; print "Time: CPU %.2f s, Wall: %.2f s"%(misc.cputime(__time__), misc.walltime(__wall__)); (x,) = R._first_ngens(1)' """ global quote_state if reset: quote_state = None L = line.lstrip() if len(L) > 0 and L[0] in ['#', '!']: return line if L.startswith('...'): i = line.find('...') return line[:i+3] + preparse(line[i+3:], reset=reset, do_time=do_time, ignore_prompts=ignore_prompts) if ignore_prompts: # Get rid of leading sage: and >>> so that pasting of examples from # the documentation works. line = strip_prompts(line) # This part handles lines with semi-colons all at once # Then can also handle multiple lines more efficiently, but # that optimization can be done later. L, literals, quote_state = strip_string_literals(line, quote_state) # Ellipsis Range # [1..n] try: L = parse_ellipsis(L, preparse_step=False) except SyntaxError: pass if implicit_mul_level: # Implicit Multiplication # 2x -> 2*x L = implicit_mul(L, level = implicit_mul_level) # Wrapping # 1 + 0.5 -> Integer(1) + RealNumber('0.5') L = preparse_numeric_literals(L) # Generators # R.0 -> R.gen(0) L = re.sub(r'([_a-zA-Z]\w*|[)\]])\.(\d+)', r'\1.gen(\2)', L) # Use ^ for exponentiation and ^^ for xor # (A side effect is that **** becomes xor as well.) L = L.replace('^', '**').replace('****', '^') # Make it easy to match statement ends L = ';%s;' % L.replace('\n', ';\n;') if do_time: # Separate time statement L = re.sub(r';(\s*)time +(\w)', r';time;\1\2', L) # Construction with generators # R.<...> = obj() # R.<.... = R[] L = preparse_generators(L) # Calculus functions # f(x,y) = x^3 - sin(y) L = preparse_calculus(L) # Backslash L = re.sub(r'''\\\s*([^*/;:\\#'"]+)''', r'._backslash_(\1)', L) if do_time: # Time keyword L = re.sub(r';time;(\s*)(\S[^;]*)', r'\1__time__=misc.cputime(); __wall__=misc.walltime(); \2; print ' + '"Time: CPU %%.2f s, Wall: %%.2f s"%%(misc.cputime(__time__), misc.walltime(__wall__))', L) # Remove extra ;'s L = L.replace(';\n;', '\n')[1:-1] line = L % literals return line
24b47dac91072a25c13666235ac8db706b2199ad /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/24b47dac91072a25c13666235ac8db706b2199ad/preparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 675, 2670, 12, 1369, 16, 2715, 33, 5510, 16, 741, 67, 957, 33, 8381, 16, 2305, 67, 17401, 1092, 33, 8381, 4672, 436, 8395, 5675, 8900, 11386, 30, 272, 410, 30, 675, 2670, 2932, 27096, 22782, 92, 34, 273, 2285, 62, 3292, 92, 3546, 7923, 315, 27096, 273, 2285, 62, 3292, 92, 3546, 31, 261, 92, 16, 13, 273, 2285, 62, 6315, 3645, 67, 3368, 773, 12, 21, 2225, 272, 410, 30, 675, 2670, 2932, 27096, 22782, 92, 34, 273, 2285, 62, 3292, 93, 3546, 7923, 315, 27096, 273, 2285, 62, 3292, 93, 3546, 31, 261, 92, 16, 13, 273, 2285, 62, 6315, 3645, 67, 3368, 773, 12, 21, 2225, 272, 410, 30, 675, 2670, 2932, 27096, 22782, 92, 16, 93, 34, 273, 2285, 62, 63, 4279, 13, 315, 27096, 273, 2285, 62, 3292, 92, 16, 677, 3546, 31, 261, 92, 16, 677, 16, 13, 273, 2285, 62, 6315, 3645, 67, 3368, 773, 12, 22, 2225, 272, 410, 30, 675, 2670, 2932, 27096, 22782, 92, 16, 93, 34, 273, 2285, 62, 3292, 89, 16, 90, 3546, 7923, 315, 27096, 273, 2285, 62, 3292, 89, 16, 90, 3546, 31, 261, 92, 16, 677, 16, 13, 273, 2285, 62, 6315, 3645, 67, 3368, 773, 12, 22, 2225, 272, 410, 30, 675, 2670, 2932, 27096, 22782, 92, 34, 273, 2238, 53, 63, 22, 29020, 21, 19, 23, 13, 4279, 13, 296, 27096, 273, 2238, 53, 63, 4522, 12, 22, 13, 636, 12, 4522, 12, 21, 13176, 4522, 12, 23, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 675, 2670, 12, 1369, 16, 2715, 33, 5510, 16, 741, 67, 957, 33, 8381, 16, 2305, 67, 17401, 1092, 33, 8381, 4672, 436, 8395, 5675, 8900, 11386, 30, 272, 410, 30, 675, 2670, 2932, 27096, 22782, 92, 34, 273, 2285, 62, 3292, 92, 3546, 7923, 315, 27096, 273, 2285, 62, 3292, 92, 3546, 31, 261, 92, 16, 13, 273, 2285, 62, 6315, 3645, 67, 3368, 773, 12, 21, 2225, 272, 410, 30, 675, 2670, 2932, 27096, 22782, 92, 34, 273, 2285, 62, 3292, 93, 3546, 7923, 315, 27096, 273, 2285, 62, 3292, 93, 3546, 31, 261, 92, 16, 13, 273, 2285, 62, 6315, 3645, 67, 3368, 773, 12, 21, 2225, 272, 410, 30, 675, 2670, 2932, 27096, 22782, 2 ]
list_avail_ids=self.pool.get('hr.analytic.timesheet').search(cr,uid,[])
list_avail_ids = self.pool.get('hr.analytic.timesheet').search(cr, uid, [])
def write(self, cr, uid, ids,vals,context={}): vals_line={}
3378bd4d3a4d503d59d259ae7c1220f1547be7df /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/3378bd4d3a4d503d59d259ae7c1220f1547be7df/project_timesheet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 4524, 16, 2472, 12938, 4672, 5773, 67, 1369, 12938, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 4524, 16, 2472, 12938, 4672, 5773, 67, 1369, 12938, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 Type.split()[-1]
return Type.strip()
def GetFinalTypeValue(Type, FieldName, TypedefDict, SUDict): Value = TypedefDict.get(Type) if Value == None: Value = SUDict.get(Type) if Value == None: return None LBPos = Value.find('{') while LBPos == -1: FTList = Value.split() for FT in FTList: if FT not in ('struct', 'union'): Value = TypedefDict.get(FT) if Value == None: Value = SUDict.get(FT) break if Value == None: return None LBPos = Value.find('{')
80c8ce8ea9af8e5a3564b17c9e73fc68c9125734 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/914/80c8ce8ea9af8e5a3564b17c9e73fc68c9125734/c.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 7951, 559, 620, 12, 559, 16, 31578, 16, 1412, 536, 5014, 16, 11726, 5014, 4672, 1445, 273, 1412, 536, 5014, 18, 588, 12, 559, 13, 309, 1445, 422, 599, 30, 1445, 273, 11726, 5014, 18, 588, 12, 559, 13, 309, 1445, 422, 599, 30, 327, 599, 225, 511, 38, 1616, 273, 1445, 18, 4720, 2668, 95, 6134, 1323, 511, 38, 1616, 422, 300, 21, 30, 478, 56, 682, 273, 1445, 18, 4939, 1435, 364, 478, 56, 316, 478, 56, 682, 30, 309, 478, 56, 486, 316, 7707, 1697, 2187, 296, 18910, 11, 4672, 1445, 273, 1412, 536, 5014, 18, 588, 12, 4464, 13, 309, 1445, 422, 599, 30, 1445, 273, 11726, 5014, 18, 588, 12, 4464, 13, 898, 225, 309, 1445, 422, 599, 30, 327, 599, 225, 511, 38, 1616, 273, 1445, 18, 4720, 2668, 95, 6134, 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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11726, 5014, 4672, 1445, 273, 1412, 536, 5014, 18, 588, 12, 559, 13, 309, 1445, 422, 599, 30, 1445, 273, 11726, 5014, 18, 588, 12, 559, 13, 309, 1445, 422, 599, 30, 327, 599, 225, 511, 38, 1616, 273, 1445, 18, 4720, 2668, 95, 6134, 1323, 511, 38, 1616, 422, 300, 21, 30, 478, 56, 682, 273, 1445, 18, 4939, 1435, 364, 478, 56, 316, 478, 56, 682, 30, 309, 478, 56, 486, 316, 7707, 1697, 2187, 296, 18910, 11, 4672, 1445, 273, 1412, 536, 5014, 18, 588, 12, 4464, 13, 309, 1445, 422, 599, 30, 1445, 273, 11726, 5014, 18, 588, 12, 4464, 13, 2 ]
mtime, size = res[1], res[2]
mtime, size = res_hash[1], res_hash[2]
def check_db(self, conn, verbose=False, dry_run=False, force=False): """check if the hashes that are stored in the database are up to date for performance, this function talks very low level to the database""" # get a database cursor, but make it persistent which is faster try: conn.mycursor except AttributeError: conn.mycursor = conn.Hash._connection.getConnection().cursor() c = conn.mycursor
ef0c889e6b860a33e3563a751fac9ad31ab50ab2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10990/ef0c889e6b860a33e3563a751fac9ad31ab50ab2/hashes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 1966, 12, 2890, 16, 1487, 16, 3988, 33, 8381, 16, 10299, 67, 2681, 33, 8381, 16, 2944, 33, 8381, 4672, 3536, 1893, 309, 326, 9869, 716, 854, 4041, 316, 326, 2063, 854, 731, 358, 1509, 225, 364, 9239, 16, 333, 445, 26591, 87, 8572, 4587, 1801, 358, 326, 2063, 8395, 468, 336, 279, 2063, 3347, 16, 1496, 1221, 518, 9195, 1492, 353, 12063, 775, 30, 1487, 18, 4811, 9216, 1335, 6394, 30, 1487, 18, 4811, 9216, 273, 1487, 18, 2310, 6315, 4071, 18, 588, 1952, 7675, 9216, 1435, 276, 273, 1487, 18, 4811, 9216, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1966, 12, 2890, 16, 1487, 16, 3988, 33, 8381, 16, 10299, 67, 2681, 33, 8381, 16, 2944, 33, 8381, 4672, 3536, 1893, 309, 326, 9869, 716, 854, 4041, 316, 326, 2063, 854, 731, 358, 1509, 225, 364, 9239, 16, 333, 445, 26591, 87, 8572, 4587, 1801, 358, 326, 2063, 8395, 468, 336, 279, 2063, 3347, 16, 1496, 1221, 518, 9195, 1492, 353, 12063, 775, 30, 1487, 18, 4811, 9216, 1335, 6394, 30, 1487, 18, 4811, 9216, 273, 1487, 18, 2310, 6315, 4071, 18, 588, 1952, 7675, 9216, 1435, 276, 273, 1487, 18, 4811, 9216, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
key = (p, None, None, arch)
key = (p, arch)
def doop_source(self, pkg):
fa6c1b506f7548b5fdf29486ef79b23c7680b1a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fa6c1b506f7548b5fdf29486ef79b23c7680b1a2/britney.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 556, 67, 3168, 12, 2890, 16, 3475, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 556, 67, 3168, 12, 2890, 16, 3475, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
error_handler=log.err)
error_handler=d.errback)
def sms_list_cb(messages): sms_found = False
45c00959c14e666ef31b3f93137f14e6d66959e4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12036/45c00959c14e666ef31b3f93137f14e6d66959e4/test_dbus.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16188, 67, 1098, 67, 7358, 12, 6833, 4672, 16188, 67, 7015, 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,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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, 16188, 67, 1098, 67, 7358, 12, 6833, 4672, 16188, 67, 7015, 273, 1083, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
explanation = """A TALES expresson defining a condition which will be
explanation = """A TALES expression defining a condition which will be
def getCategoryElements(self, category): tagnames = self._registry[category].keys() tagnames.sort() return tagnames
b3ff8033909e009a4948665eee2c96a772a29e32 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11941/b3ff8033909e009a4948665eee2c96a772a29e32/TaggedValueSupport.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19110, 3471, 12, 2890, 16, 3150, 4672, 1047, 1973, 273, 365, 6315, 9893, 63, 4743, 8009, 2452, 1435, 1047, 1973, 18, 3804, 1435, 327, 1047, 1973, 2, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19110, 3471, 12, 2890, 16, 3150, 4672, 1047, 1973, 273, 365, 6315, 9893, 63, 4743, 8009, 2452, 1435, 1047, 1973, 18, 3804, 1435, 327, 1047, 1973, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
runlog('echo mounting target %s to %s ' % (pdev, self.target)
runlog('echo mounting target %s to %s ' % (pdev, self.target))
def ready_target(self): self._check_target() makepaths(self.target) device = self.machine.array_hack(self.machine.current.machine_type) clause = Eq('filesystem', self.machine.current.filesystem) clause &= Gt('partition', '0') table = 'filesystem_mounts natural join mounts' mounts = self.cursor.select(table=table, clause=clause, order='mnt_point') if mounts[0].mnt_point != '/': raise Error, 'bad set of mounts', mounts mddev = False mdnum = 0 if device == '/dev/md': mddev = True pdev = '/dev/md0' mdnum += 1 else: pdev = self._pdev(device, mounts[0].partition) runlog('echo mounting target %s to %s ' % (pdev, self.target) clause &= Neq('mnt_point', '/') mounts = self.cursor.select(table=table, clause=clause, order='ord') mountable = [mount for mount in mounts if mount.fstype != 'swap'] runlog('mount %s %s' % (pdev, self.target)) for mnt in mountable: tpath = os.path.join(self.target, mnt.mnt_point[1:]) makepaths(tpath) if mddev: pdev = '/dev/md%d' % mdnum else: pdev = self._pdev(device, mnt.partition) mdnum += 1 runlog('mount %s %s' % (pdev, tpath)) self._mounted = True
1b48125dff910871adfb99a70c9c638b746c0663 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2558/1b48125dff910871adfb99a70c9c638b746c0663/nfsinstaller.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5695, 67, 3299, 12, 2890, 4672, 365, 6315, 1893, 67, 3299, 1435, 1221, 4481, 12, 2890, 18, 3299, 13, 2346, 273, 365, 18, 9149, 18, 1126, 67, 76, 484, 12, 2890, 18, 9149, 18, 2972, 18, 9149, 67, 723, 13, 6591, 273, 24931, 2668, 17846, 2187, 365, 18, 9149, 18, 2972, 18, 17846, 13, 6591, 12058, 611, 88, 2668, 10534, 2187, 296, 20, 6134, 1014, 273, 296, 17846, 67, 4778, 87, 15145, 1233, 19399, 11, 19399, 273, 365, 18, 9216, 18, 4025, 12, 2121, 33, 2121, 16, 6591, 33, 18128, 16, 1353, 2218, 21818, 67, 1153, 6134, 309, 19399, 63, 20, 8009, 21818, 67, 1153, 480, 2023, 30, 1002, 1068, 16, 296, 8759, 444, 434, 19399, 2187, 19399, 3481, 5206, 273, 1083, 3481, 2107, 273, 374, 309, 2346, 422, 1173, 5206, 19, 1264, 4278, 3481, 5206, 273, 1053, 293, 5206, 273, 1173, 5206, 19, 1264, 20, 11, 3481, 2107, 1011, 404, 469, 30, 293, 5206, 273, 365, 6315, 84, 5206, 12, 5964, 16, 19399, 63, 20, 8009, 10534, 13, 1086, 1330, 2668, 12946, 5344, 310, 1018, 738, 87, 358, 738, 87, 296, 738, 261, 84, 5206, 16, 365, 18, 3299, 3719, 6591, 12058, 7455, 85, 2668, 21818, 67, 1153, 2187, 2023, 13, 19399, 273, 365, 18, 9216, 18, 4025, 12, 2121, 33, 2121, 16, 6591, 33, 18128, 16, 1353, 2218, 517, 6134, 5344, 429, 273, 306, 4778, 364, 5344, 316, 19399, 309, 5344, 18, 74, 27273, 480, 296, 22270, 3546, 1086, 1330, 2668, 4778, 738, 87, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5695, 67, 3299, 12, 2890, 4672, 365, 6315, 1893, 67, 3299, 1435, 1221, 4481, 12, 2890, 18, 3299, 13, 2346, 273, 365, 18, 9149, 18, 1126, 67, 76, 484, 12, 2890, 18, 9149, 18, 2972, 18, 9149, 67, 723, 13, 6591, 273, 24931, 2668, 17846, 2187, 365, 18, 9149, 18, 2972, 18, 17846, 13, 6591, 12058, 611, 88, 2668, 10534, 2187, 296, 20, 6134, 1014, 273, 296, 17846, 67, 4778, 87, 15145, 1233, 19399, 11, 19399, 273, 365, 18, 9216, 18, 4025, 12, 2121, 33, 2121, 16, 6591, 33, 18128, 16, 1353, 2218, 21818, 67, 1153, 6134, 309, 19399, 63, 20, 8009, 21818, 67, 1153, 480, 2023, 30, 1002, 1068, 16, 296, 8759, 444, 434, 19399, 2187, 19399, 2 ]
dlg=wxMessageDialog(self, 'Delete file %s from disk?' % file, NAME, wxYES_NO | wxNO_DEFAULT | wxICON_QUESTION)
dlg=wxMessageDialog( self, 'Delete file %s from disk?' % file, NAME, wxYES_NO | wxNO_DEFAULT | wxICON_QUESTION)
def on_file_remove(self, event): if self.project <> None: item = self.tree.GetSelection() file = self.tree.GetItemText(item) if item != self.root and self.activeitem != self.root: self.tree.Delete(item) self.project.remove(file) self.projectSave() self.nb.SetPageText(0, 'Editor') self.editor.Clear() self.editor.Enable(0) dlg=wxMessageDialog(self, 'Delete file %s from disk?' % file, NAME, wxYES_NO | wxNO_DEFAULT | wxICON_QUESTION) result = dlg.ShowModal() if result == wxID_YES: try: self.activateMenuItemsFileSelected(FALSE) os.remove(file) except: customMsgBox(self, '%s:\n%s\n%s' % sys.exc_info(), 'error') dlg.Destroy() else: customMsgBox(self, 'No file selected.', 'wakeup')
3ba07fe9c5b636ef447aa47e40d9f258c1d32e0a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1278/3ba07fe9c5b636ef447aa47e40d9f258c1d32e0a/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 768, 67, 4479, 12, 2890, 16, 871, 4672, 309, 365, 18, 4406, 2813, 599, 30, 761, 273, 365, 18, 3413, 18, 967, 6233, 1435, 585, 273, 365, 18, 3413, 18, 967, 1180, 1528, 12, 1726, 13, 309, 761, 480, 365, 18, 3085, 471, 365, 18, 3535, 1726, 480, 365, 18, 3085, 30, 365, 18, 3413, 18, 2613, 12, 1726, 13, 365, 18, 4406, 18, 4479, 12, 768, 13, 365, 18, 4406, 4755, 1435, 365, 18, 6423, 18, 694, 1964, 1528, 12, 20, 16, 296, 6946, 6134, 365, 18, 9177, 18, 9094, 1435, 365, 18, 9177, 18, 8317, 12, 20, 13, 25840, 33, 27226, 1079, 6353, 12, 365, 16, 296, 2613, 585, 738, 87, 628, 4234, 4899, 738, 585, 16, 6048, 16, 7075, 29081, 67, 3417, 571, 7075, 3417, 67, 5280, 571, 7075, 21745, 67, 4740, 1146, 13, 563, 273, 25840, 18, 5706, 20191, 1435, 309, 563, 422, 7075, 734, 67, 29081, 30, 775, 30, 365, 18, 10014, 4599, 3126, 812, 7416, 12, 21053, 13, 1140, 18, 4479, 12, 768, 13, 1335, 30, 1679, 3332, 3514, 12, 2890, 16, 1995, 87, 5581, 82, 9, 87, 64, 82, 9, 87, 11, 738, 2589, 18, 10075, 67, 1376, 9334, 296, 1636, 6134, 25840, 18, 10740, 1435, 469, 30, 1679, 3332, 3514, 12, 2890, 16, 296, 2279, 585, 3170, 1093, 16, 296, 91, 911, 416, 6134, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 768, 67, 4479, 12, 2890, 16, 871, 4672, 309, 365, 18, 4406, 2813, 599, 30, 761, 273, 365, 18, 3413, 18, 967, 6233, 1435, 585, 273, 365, 18, 3413, 18, 967, 1180, 1528, 12, 1726, 13, 309, 761, 480, 365, 18, 3085, 471, 365, 18, 3535, 1726, 480, 365, 18, 3085, 30, 365, 18, 3413, 18, 2613, 12, 1726, 13, 365, 18, 4406, 18, 4479, 12, 768, 13, 365, 18, 4406, 4755, 1435, 365, 18, 6423, 18, 694, 1964, 1528, 12, 20, 16, 296, 6946, 6134, 365, 18, 9177, 18, 9094, 1435, 365, 18, 9177, 18, 8317, 12, 20, 13, 25840, 33, 27226, 1079, 6353, 12, 365, 16, 296, 2613, 585, 738, 87, 628, 4234, 4899, 2 ]
self._remote("openURL(%s)" % url, autoraise) def open_new(self, url): self.open(url, 1) class Galeon: """Launcher class for Galeon browsers.""" def __init__(self, name): self.name = name self.basename = os.path.basename(name) def _remote(self, action, autoraise): raise_opt = ("--noraise", "")[autoraise] cmd = "%s %s %s >/dev/null 2>&1" % (self.name, raise_opt, action) rc = os.system(cmd) if rc: import time os.system("%s >/dev/null 2>&1 &" % self.name) time.sleep(PROCESS_CREATION_DELAY) rc = os.system(cmd) return not rc def open(self, url, new=0, autoraise=1): if new: self._remote("-w '%s'" % url, autoraise) else: self._remote("-n '%s'" % url, autoraise) def open_new(self, url): self.open(url, 1) class Konqueror:
raise Error("Bad 'new' parameter to open(); expected 0, 1, or 2, got %s" % new) return self._remote(url, action % url, autoraise) class Mozilla(UnixBrowser): """Launcher class for Mozilla/Netscape browsers.""" raise_opts = ("-noraise", "-raise") remote_cmd = '-remote' remote_action = "openURL(%s)" remote_action_newwin = "openURL(%s,new-window)" remote_action_newtab = "openURL(%s,new-tab)" Netscape = Mozilla class Galeon(UnixBrowser): """Launcher class for Galeon/Epiphany browsers.""" raise_opts = ("-noraise", "") remote_action = "-n '%s'" remote_action_newwin = "-w '%s'" remote_background = True class Konqueror(BaseBrowser):
def open(self, url, new=0, autoraise=1): if new: self._remote("openURL(%s, new-window)"%url, autoraise) else: self._remote("openURL(%s)" % url, autoraise)
336cf8e9a006f0abbd7712771acc892711f93ebd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/336cf8e9a006f0abbd7712771acc892711f93ebd/webbrowser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 12, 2890, 16, 880, 16, 394, 33, 20, 16, 2059, 10610, 784, 33, 21, 4672, 309, 394, 30, 365, 6315, 7222, 2932, 3190, 1785, 9275, 87, 16, 394, 17, 5668, 2225, 9, 718, 16, 2059, 10610, 784, 13, 469, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 12, 2890, 16, 880, 16, 394, 33, 20, 16, 2059, 10610, 784, 33, 21, 4672, 309, 394, 30, 365, 6315, 7222, 2932, 3190, 1785, 9275, 87, 16, 394, 17, 5668, 2225, 9, 718, 16, 2059, 10610, 784, 13, 469, 30, 365, 6315, 7222, 2932, 3190, 1785, 9275, 87, 2225, 738, 880, 16, 2059, 10610, 784, 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 ]
return ht/IR(reg)
return self.__adjust_heegner_index(ht/IR(reg))
def heegner_index(self, D, min_p=3, prec=5, verbose=False): """ Return an interval that contains the SQUARE of the index of the Heegner point in the group of K-rational points *modulo torsion* on the twist of the elliptic curve by D, computed using the Gross-Zagier formula and/or a point search. WARNING: This function uses the Gross-Zagier formula. When E is 681b and D=-8 for some reason the returned index is 9/4 which is off by a factor of 4. Evidently the GZ formula must be modified when D=-8.
66fe3e29edf60e502e090fe26104e6ab0c1c4e36 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/66fe3e29edf60e502e090fe26104e6ab0c1c4e36/ell_rational_field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3904, 1332, 1224, 67, 1615, 12, 2890, 16, 463, 16, 225, 1131, 67, 84, 33, 23, 16, 13382, 33, 25, 16, 3988, 33, 8381, 4672, 3536, 2000, 392, 3673, 716, 1914, 326, 348, 17483, 434, 326, 770, 434, 326, 8264, 1332, 1224, 1634, 316, 326, 1041, 434, 1475, 17, 7034, 287, 3143, 380, 1711, 26478, 268, 1383, 285, 14, 603, 326, 2339, 376, 434, 326, 415, 549, 21507, 8882, 635, 463, 16, 8470, 1450, 326, 611, 3984, 17, 62, 346, 2453, 8013, 471, 19, 280, 279, 1634, 1623, 18, 225, 9744, 30, 1220, 445, 4692, 326, 611, 3984, 17, 62, 346, 2453, 8013, 18, 5203, 512, 353, 1666, 11861, 70, 471, 463, 29711, 28, 364, 2690, 3971, 326, 2106, 770, 353, 2468, 19, 24, 1492, 353, 3397, 635, 279, 5578, 434, 1059, 18, 282, 512, 1246, 23351, 326, 611, 62, 8013, 1297, 506, 4358, 1347, 463, 29711, 28, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3904, 1332, 1224, 67, 1615, 12, 2890, 16, 463, 16, 225, 1131, 67, 84, 33, 23, 16, 13382, 33, 25, 16, 3988, 33, 8381, 4672, 3536, 2000, 392, 3673, 716, 1914, 326, 348, 17483, 434, 326, 770, 434, 326, 8264, 1332, 1224, 1634, 316, 326, 1041, 434, 1475, 17, 7034, 287, 3143, 380, 1711, 26478, 268, 1383, 285, 14, 603, 326, 2339, 376, 434, 326, 415, 549, 21507, 8882, 635, 463, 16, 8470, 1450, 326, 611, 3984, 17, 62, 346, 2453, 8013, 471, 19, 280, 279, 1634, 1623, 18, 225, 9744, 30, 1220, 445, 4692, 326, 611, 3984, 17, 62, 346, 2453, 8013, 18, 5203, 512, 353, 1666, 11861, 70, 471, 463, 29711, 28, 364, 2690, 3971, 326, 2 ]
ctrl = self.ctrls[param.keyword] val = param.getValue(ctrl) if val != self.orig[param.keyword]: self.dprint("%s has changed from %s(%s) to %s(%s)" % (param.keyword, self.orig[param.keyword], type(self.orig[param.keyword]), val, type(val))) self.obj.classprefs._set(param.keyword, val) updated[param.keyword] = True
if param.isSettable(): ctrl = self.ctrls[param.keyword] val = param.getValue(ctrl) if val != self.orig[param.keyword]: self.dprint("%s has changed from %s(%s) to %s(%s)" % (param.keyword, self.orig[param.keyword], type(self.orig[param.keyword]), val, type(val))) self.obj.classprefs._set(param.keyword, val) updated[param.keyword] = True
def update(self): hier = self.obj.classprefs._getMRO() self.dprint(hier) updated = {} for cls in hier: if 'default_classprefs' not in dir(cls): continue for param in cls.default_classprefs: if param.keyword in updated: # Don't update with value in superclass continue ctrl = self.ctrls[param.keyword] val = param.getValue(ctrl) if val != self.orig[param.keyword]: self.dprint("%s has changed from %s(%s) to %s(%s)" % (param.keyword, self.orig[param.keyword], type(self.orig[param.keyword]), val, type(val))) self.obj.classprefs._set(param.keyword, val) updated[param.keyword] = True
e529bf7052e4d682be76cb28de0c6a80688a2b73 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11522/e529bf7052e4d682be76cb28de0c6a80688a2b73/userparams.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 4672, 366, 2453, 273, 365, 18, 2603, 18, 1106, 1484, 2556, 6315, 588, 49, 1457, 1435, 365, 18, 72, 1188, 12, 76, 2453, 13, 3526, 273, 2618, 364, 2028, 316, 366, 2453, 30, 309, 296, 1886, 67, 1106, 1484, 2556, 11, 486, 316, 1577, 12, 6429, 4672, 1324, 225, 364, 579, 316, 2028, 18, 1886, 67, 1106, 1484, 2556, 30, 309, 579, 18, 11041, 316, 3526, 30, 468, 7615, 1404, 1089, 598, 460, 316, 12098, 1324, 225, 6414, 273, 365, 18, 16277, 87, 63, 891, 18, 11041, 65, 1244, 273, 579, 18, 24805, 12, 16277, 13, 309, 1244, 480, 365, 18, 4949, 63, 891, 18, 11041, 14542, 365, 18, 72, 1188, 27188, 87, 711, 3550, 628, 738, 87, 9275, 87, 13, 358, 738, 87, 9275, 87, 2225, 738, 261, 891, 18, 11041, 16, 365, 18, 4949, 63, 891, 18, 11041, 6487, 618, 12, 2890, 18, 4949, 63, 891, 18, 11041, 65, 3631, 1244, 16, 618, 12, 1125, 20349, 365, 18, 2603, 18, 1106, 1484, 2556, 6315, 542, 12, 891, 18, 11041, 16, 1244, 13, 3526, 63, 891, 18, 11041, 65, 273, 1053, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 4672, 366, 2453, 273, 365, 18, 2603, 18, 1106, 1484, 2556, 6315, 588, 49, 1457, 1435, 365, 18, 72, 1188, 12, 76, 2453, 13, 3526, 273, 2618, 364, 2028, 316, 366, 2453, 30, 309, 296, 1886, 67, 1106, 1484, 2556, 11, 486, 316, 1577, 12, 6429, 4672, 1324, 225, 364, 579, 316, 2028, 18, 1886, 67, 1106, 1484, 2556, 30, 309, 579, 18, 11041, 316, 3526, 30, 468, 7615, 1404, 1089, 598, 460, 316, 12098, 1324, 225, 6414, 273, 365, 18, 16277, 87, 63, 891, 18, 11041, 65, 1244, 273, 579, 18, 24805, 12, 16277, 13, 309, 1244, 480, 365, 18, 4949, 63, 891, 18, 11041, 14542, 365, 18, 72, 1188, 27188, 87, 711, 3550, 2 ]
ale.run()
ale.run(True)
def run(self): self.main_dialog.show_all()
16084a27c73f645574b81b805fc3b2659242e1a4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8416/16084a27c73f645574b81b805fc3b2659242e1a4/awnLauncherEditor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 365, 18, 5254, 67, 12730, 18, 4500, 67, 454, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 365, 18, 5254, 67, 12730, 18, 4500, 67, 454, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.WriteLn("$(OBJS): CXXFLAGS := $(CFLAGS_$(BUILDTYPE)) "
self.WriteLn("$(OBJS): GYP_CXXFLAGS := $(CFLAGS_$(BUILDTYPE)) "
def WriteSources(self, configs, deps, sources, extra_outputs, extra_link_deps, part_of_all): """Write Makefile code for any 'sources' from the gyp input. These are source files necessary to build the current target.
0bb14d2527c2da6851f14ab0f38e2db9b2b4f63b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6220/0bb14d2527c2da6851f14ab0f38e2db9b2b4f63b/make.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 8628, 12, 2890, 16, 6784, 16, 8740, 16, 5550, 16, 2870, 67, 12295, 16, 2870, 67, 1232, 67, 14877, 16, 1087, 67, 792, 67, 454, 4672, 3536, 3067, 4344, 768, 981, 364, 1281, 296, 10141, 11, 628, 326, 314, 879, 810, 18, 8646, 854, 1084, 1390, 4573, 358, 1361, 326, 783, 1018, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 8628, 12, 2890, 16, 6784, 16, 8740, 16, 5550, 16, 2870, 67, 12295, 16, 2870, 67, 1232, 67, 14877, 16, 1087, 67, 792, 67, 454, 4672, 3536, 3067, 4344, 768, 981, 364, 1281, 296, 10141, 11, 628, 326, 314, 879, 810, 18, 8646, 854, 1084, 1390, 4573, 358, 1361, 326, 783, 1018, 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 ]
print 'Restoring iptables...' fireWall.flushBanList() print 'Exiting...'
logSys.info("Restoring iptables...") fireWall.flushBanList(debug) logSys.info("Exiting...")
def createDaemon(): """Detach a process from the controlling terminal and run it in the background as a daemon. http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/278731 """ try: # Fork a child process so the parent can exit. This will return control # to the command line or shell. This is required so that the new process # is guaranteed not to be a process group leader. We have this guarantee # because the process GID of the parent is inherited by the child, but # the child gets a new PID, making it impossible for its PID to equal its # PGID. pid = os.fork() except OSError, e: return((e.errno, e.strerror)) # ERROR (return a tuple) if (pid == 0): # The first child. # Next we call os.setsid() to become the session leader of this new # session. The process also becomes the process group leader of the # new process group. Since a controlling terminal is associated with a # session, and this new session has not yet acquired a controlling # terminal our process now has no controlling terminal. This shouldn't # fail, since we're guaranteed that the child is not a process group # leader. os.setsid() # When the first child terminates, all processes in the second child # are sent a SIGHUP, so it's ignored. signal.signal(signal.SIGHUP, signal.SIG_IGN) try: # Fork a second child to prevent zombies. Since the first child is # a session leader without a controlling terminal, it's possible for # it to acquire one by opening a terminal in the future. This second # fork guarantees that the child is no longer a session leader, thus # preventing the daemon from ever acquiring a controlling terminal. pid = os.fork() # Fork a second child. except OSError, e: return((e.errno, e.strerror)) # ERROR (return a tuple) if (pid == 0): # The second child. # Ensure that the daemon doesn't keep any directory in use. Failure # to do this could make a filesystem unmountable. #os.chdir("/") # Give the child complete control over permissions. os.umask(0) else: os._exit(0) # Exit parent (the first child) of the second child. else: os._exit(0) # Exit parent of the first child. # Close all open files. Try the system configuration variable, SC_OPEN_MAX, # for the maximum number of open files to close. If it doesn't exist, use # the default value (configurable). try: maxfd = os.sysconf("SC_OPEN_MAX") except (AttributeError, ValueError): maxfd = 256 # default maximum for fd in range(0, maxfd): try: os.close(fd) except OSError: # ERROR (ignore) pass # Redirect the standard file descriptors to /dev/null. os.open("/dev/null", os.O_RDONLY) # standard input (0) #os.open("/dev/null", os.O_RDWR) # standard output (1) os.open("/tmp/fail2ban.log", os.O_CREAT|os.O_APPEND|os.O_RDWR) # standard output (1) #os.open("/dev/null", os.O_RDWR) # standard error (2) os.open("/tmp/fail2ban.log", os.O_CREAT|os.O_APPEND|os.O_RDWR) # standard error (2) return(0)
f0a01914acbd661a7ffa92b051597816095159bf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12786/f0a01914acbd661a7ffa92b051597816095159bf/fail2ban.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 12858, 13332, 3536, 17650, 279, 1207, 628, 326, 3325, 2456, 8651, 471, 1086, 518, 316, 326, 5412, 487, 279, 8131, 18, 225, 1062, 2207, 345, 7449, 18, 11422, 395, 340, 18, 832, 19, 3033, 15124, 19, 39, 1184, 3618, 19, 15774, 19, 5650, 3151, 19, 5324, 11035, 6938, 3536, 225, 775, 30, 468, 27599, 279, 1151, 1207, 1427, 326, 982, 848, 2427, 18, 225, 1220, 903, 327, 3325, 468, 358, 326, 1296, 980, 578, 5972, 18, 225, 1220, 353, 1931, 1427, 716, 326, 394, 1207, 468, 353, 15403, 486, 358, 506, 279, 1207, 1041, 10302, 18, 225, 1660, 1240, 333, 18779, 468, 2724, 326, 1207, 611, 734, 434, 326, 982, 353, 12078, 635, 326, 1151, 16, 1496, 468, 326, 1151, 5571, 279, 394, 14788, 16, 10480, 518, 23343, 364, 2097, 14788, 358, 3959, 2097, 468, 22116, 734, 18, 4231, 273, 1140, 18, 23335, 1435, 1335, 10002, 16, 425, 30, 327, 12443, 73, 18, 19088, 16, 425, 18, 701, 1636, 3719, 202, 468, 5475, 261, 2463, 279, 3193, 13, 225, 309, 261, 6610, 422, 374, 4672, 202, 282, 468, 1021, 1122, 1151, 18, 225, 468, 4804, 732, 745, 1140, 18, 4424, 350, 1435, 358, 12561, 326, 1339, 10302, 434, 333, 394, 468, 1339, 18, 225, 1021, 1207, 2546, 12724, 326, 1207, 1041, 10302, 434, 326, 468, 394, 1207, 1041, 18, 225, 7897, 279, 3325, 2456, 8651, 353, 3627, 598, 279, 468, 1339, 16, 471, 333, 394, 1339, 711, 486, 4671, 20598, 279, 3325, 2456, 468, 8651, 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, 752, 12858, 13332, 3536, 17650, 279, 1207, 628, 326, 3325, 2456, 8651, 471, 1086, 518, 316, 326, 5412, 487, 279, 8131, 18, 225, 1062, 2207, 345, 7449, 18, 11422, 395, 340, 18, 832, 19, 3033, 15124, 19, 39, 1184, 3618, 19, 15774, 19, 5650, 3151, 19, 5324, 11035, 6938, 3536, 225, 775, 30, 468, 27599, 279, 1151, 1207, 1427, 326, 982, 848, 2427, 18, 225, 1220, 903, 327, 3325, 468, 358, 326, 1296, 980, 578, 5972, 18, 225, 1220, 353, 1931, 1427, 716, 326, 394, 1207, 468, 353, 15403, 486, 358, 506, 279, 1207, 1041, 10302, 18, 225, 1660, 1240, 333, 18779, 468, 2724, 326, 1207, 611, 734, 434, 326, 982, 353, 12078, 635, 326, 1151, 16, 1496, 2 ]
urlbase = url + '%%(version)s/%(component)s/%(arch)s/repodata/' % url
urlbase = url + '%%(version)s/%(component)s/%(arch)s/repodata/'
def __init__(self, basepath, url, version, arches, components, groups, rawurl): if not rawurl: urlbase = url + '%%(version)s/%(component)s/%(arch)s/repodata/' % url else: urlbase = rawurl usettings = [{'version': version, 'component':part, 'arch':arch} for part in components for arch in arches] fnames = ['primary.xml.gz', 'filelists.xml.gz'] self.urls = [urlbase % item + fname \ for item in usettings for fname in fnames] Source.__init__(self, basepath, url, version, arches, components, groups) self.packages = dict() self.deps = dict([('global', dict())]) self.provides = dict([('global', dict())]) self.filemap = dict([(x, dict()) for x in ['global'] + self.arches])
1866e1292003539109475d8557ae10a8ef493155 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11867/1866e1292003539109475d8557ae10a8ef493155/Packages.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 23853, 16, 880, 16, 1177, 16, 6637, 281, 16, 4085, 16, 3252, 16, 13954, 4672, 309, 486, 13954, 30, 880, 1969, 273, 880, 397, 1995, 17105, 1589, 13, 87, 5258, 12, 4652, 13, 87, 5258, 12, 991, 13, 87, 19, 266, 7832, 396, 2473, 469, 30, 880, 1969, 273, 13954, 584, 278, 1256, 273, 20031, 11, 1589, 4278, 1177, 16, 296, 4652, 4278, 2680, 16, 296, 991, 4278, 991, 97, 364, 1087, 316, 4085, 364, 6637, 316, 6637, 281, 65, 25294, 273, 10228, 8258, 18, 2902, 18, 9764, 2187, 296, 7540, 292, 1486, 18, 2902, 18, 9764, 3546, 365, 18, 10518, 273, 306, 718, 1969, 738, 761, 397, 5299, 521, 364, 761, 316, 584, 278, 1256, 364, 5299, 316, 25294, 65, 4998, 16186, 2738, 972, 12, 2890, 16, 23853, 16, 880, 16, 1177, 16, 6637, 281, 16, 4085, 16, 3252, 13, 365, 18, 10308, 273, 2065, 1435, 365, 18, 14877, 273, 2065, 3816, 2668, 6347, 2187, 2065, 10756, 5717, 365, 18, 685, 13427, 273, 2065, 3816, 2668, 6347, 2187, 2065, 10756, 5717, 365, 18, 768, 1458, 273, 2065, 3816, 12, 92, 16, 2065, 10756, 364, 619, 316, 10228, 6347, 3546, 397, 365, 18, 991, 281, 5717, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 23853, 16, 880, 16, 1177, 16, 6637, 281, 16, 4085, 16, 3252, 16, 13954, 4672, 309, 486, 13954, 30, 880, 1969, 273, 880, 397, 1995, 17105, 1589, 13, 87, 5258, 12, 4652, 13, 87, 5258, 12, 991, 13, 87, 19, 266, 7832, 396, 2473, 469, 30, 880, 1969, 273, 13954, 584, 278, 1256, 273, 20031, 11, 1589, 4278, 1177, 16, 296, 4652, 4278, 2680, 16, 296, 991, 4278, 991, 97, 364, 1087, 316, 4085, 364, 6637, 316, 6637, 281, 65, 25294, 273, 10228, 8258, 18, 2902, 18, 9764, 2187, 296, 7540, 292, 1486, 18, 2902, 18, 9764, 3546, 365, 18, 10518, 273, 306, 718, 1969, 738, 761, 397, 5299, 521, 364, 761, 2 ]
self.progress = float(self.finished_tasks) / ( len(self.waiting_tasks) + self.finished_tasks)
total = len(self.waiting_tasks) + self.finished_tasks self.progress = float(self.finished_tasks) / total if total else 0
def start_next_task(self): to_start = get_option('jobs') - len(self.running_tasks) for i in range(to_start): try: task = self.waiting_tasks.pop(0) except IndexError: if not self.running_tasks: self.done() return self.running_tasks.append(task) task.add_listener('finished', self.task_finished) task.start() self.count += 1 self.progress = float(self.finished_tasks) / ( len(self.waiting_tasks) + self.finished_tasks)
3ed10da09b8d0bd8f95ce62549f8af605cc1b6ec /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2369/3ed10da09b8d0bd8f95ce62549f8af605cc1b6ec/soundconverter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 67, 4285, 67, 4146, 12, 2890, 4672, 358, 67, 1937, 273, 336, 67, 3482, 2668, 10088, 6134, 300, 562, 12, 2890, 18, 8704, 67, 9416, 13, 364, 277, 316, 1048, 12, 869, 67, 1937, 4672, 775, 30, 1562, 273, 365, 18, 20241, 67, 9416, 18, 5120, 12, 20, 13, 1335, 10195, 30, 309, 486, 365, 18, 8704, 67, 9416, 30, 365, 18, 8734, 1435, 327, 365, 18, 8704, 67, 9416, 18, 6923, 12, 4146, 13, 1562, 18, 1289, 67, 12757, 2668, 13527, 2187, 365, 18, 4146, 67, 13527, 13, 1562, 18, 1937, 1435, 365, 18, 1883, 1011, 404, 365, 18, 8298, 273, 1431, 12, 2890, 18, 13527, 67, 9416, 13, 342, 261, 562, 12, 2890, 18, 20241, 67, 9416, 13, 397, 365, 18, 13527, 67, 9416, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 67, 4285, 67, 4146, 12, 2890, 4672, 358, 67, 1937, 273, 336, 67, 3482, 2668, 10088, 6134, 300, 562, 12, 2890, 18, 8704, 67, 9416, 13, 364, 277, 316, 1048, 12, 869, 67, 1937, 4672, 775, 30, 1562, 273, 365, 18, 20241, 67, 9416, 18, 5120, 12, 20, 13, 1335, 10195, 30, 309, 486, 365, 18, 8704, 67, 9416, 30, 365, 18, 8734, 1435, 327, 365, 18, 8704, 67, 9416, 18, 6923, 12, 4146, 13, 1562, 18, 1289, 67, 12757, 2668, 13527, 2187, 365, 18, 4146, 67, 13527, 13, 1562, 18, 1937, 1435, 365, 18, 1883, 1011, 404, 365, 18, 8298, 273, 1431, 12, 2890, 18, 13527, 67, 9416, 13, 342, 261, 562, 12, 2890, 18, 20241, 2 ]
??
Elliptic Curve defined by y^2 + y = x^3 - 7*x + 6 over Rational Field
def global_integral_model(self): r""" Return a model of self which is integral at all primes
34f0258b9b27b30b55af6901a18b9ea2df9faba4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/34f0258b9b27b30b55af6901a18b9ea2df9faba4/ell_rational_field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2552, 67, 14970, 23811, 67, 2284, 12, 2890, 4672, 436, 8395, 2000, 279, 938, 434, 365, 1492, 353, 21423, 622, 777, 846, 4485, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2552, 67, 14970, 23811, 67, 2284, 12, 2890, 4672, 436, 8395, 2000, 279, 938, 434, 365, 1492, 353, 21423, 622, 777, 846, 4485, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
head = '<body bgcolor="
head = '<body bgcolor="
def html(etype, evalue, etb, context=5): """Return a nice HTML document describing the traceback.""" import sys, os, types, time, traceback import keyword, tokenize, linecache, inspect, pydoc if type(etype) is types.ClassType: etype = etype.__name__ pyver = 'Python ' + sys.version.split()[0] + ': ' + sys.executable date = time.ctime(time.time()) head = '<body bgcolor="#f0f0ff">' + pydoc.html.heading( '<big><big><strong>%s</strong></big></big>' % str(etype), '#ffffff', '#aa55cc', pyver + '<br>' + date) + '''
09029ec15c2b61a0aa506286a6bb485f468ac920 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/09029ec15c2b61a0aa506286a6bb485f468ac920/cgitb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1729, 12, 5872, 16, 425, 1132, 16, 3393, 70, 16, 819, 33, 25, 4672, 3536, 990, 279, 13752, 3982, 1668, 16868, 326, 10820, 12123, 1930, 2589, 16, 1140, 16, 1953, 16, 813, 16, 10820, 1930, 4932, 16, 13672, 16, 4739, 557, 807, 16, 5334, 16, 2395, 2434, 225, 309, 618, 12, 5872, 13, 353, 1953, 18, 18328, 30, 24700, 273, 24700, 16186, 529, 972, 2395, 502, 273, 296, 15774, 296, 397, 2589, 18, 1589, 18, 4939, 1435, 63, 20, 65, 397, 4290, 296, 397, 2589, 18, 17751, 1509, 273, 813, 18, 21261, 12, 957, 18, 957, 10756, 910, 273, 2368, 3432, 31509, 1546, 7, 74, 20, 74, 20, 1403, 7918, 397, 2395, 2434, 18, 2620, 18, 19948, 12, 2368, 14002, 4438, 14002, 4438, 9110, 9822, 87, 1757, 9110, 4695, 14002, 4695, 14002, 1870, 738, 609, 12, 5872, 3631, 2946, 18217, 2187, 2946, 7598, 2539, 952, 2187, 2395, 502, 397, 2368, 2848, 1870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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1729, 12, 5872, 16, 425, 1132, 16, 3393, 70, 16, 819, 33, 25, 4672, 3536, 990, 279, 13752, 3982, 1668, 16868, 326, 10820, 12123, 1930, 2589, 16, 1140, 16, 1953, 16, 813, 16, 10820, 1930, 4932, 16, 13672, 16, 4739, 557, 807, 16, 5334, 16, 2395, 2434, 225, 309, 618, 12, 5872, 13, 353, 1953, 18, 18328, 30, 24700, 273, 24700, 16186, 529, 972, 2395, 502, 273, 296, 15774, 296, 397, 2589, 18, 1589, 18, 4939, 1435, 63, 20, 65, 397, 4290, 296, 397, 2589, 18, 17751, 1509, 273, 813, 18, 21261, 12, 957, 18, 957, 10756, 910, 273, 2368, 3432, 31509, 1546, 7, 74, 20, 74, 20, 1403, 7918, 397, 2395, 2434, 18, 2620, 18, 19948, 12, 2 ]
if expr.offset != None: query = subexpr + '\nLIMIT %d OFFSET %d' % (expr.limit, expr.offset)
if expr.offset != None: query = (subexpr, ' LIMIT ', str(expr.limit), ' OFFSET ', str(expr.offset))
def OffsetLimit(self, expr, subexpr): # Check that we have some kind of SELECT expression in subexpr allowed = [nodes.MapResult, nodes.Select, nodes.Sort, nodes.Distinct] assert expr[0].__class__ in allowed, \ 'OffsetLimit can only be used with the result of MapResult, Select, ' \ 'Distinct or Sort!' # Add LIMIT clause if expr.limit != None: if expr.offset != None: query = subexpr + '\nLIMIT %d OFFSET %d' % (expr.limit, expr.offset) else: query = subexpr + '\nLIMIT %d' % expr.limit else: if expr.offset != None: # Note: The MySQL manual actually suggests this number. # Let's hope it's future-proof. query = subexpr + '\nOFFSET %d' % expr.offset return query
d865e4bb2a2ccd72870204a5984403ca535a7525 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5223/d865e4bb2a2ccd72870204a5984403ca535a7525/emit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9874, 3039, 12, 2890, 16, 3065, 16, 720, 8638, 4672, 225, 468, 2073, 716, 732, 1240, 2690, 3846, 434, 9111, 2652, 316, 720, 8638, 2935, 273, 306, 4690, 18, 863, 1253, 16, 2199, 18, 3391, 16, 2199, 18, 4416, 16, 2199, 18, 23402, 65, 1815, 3065, 63, 20, 8009, 972, 1106, 972, 316, 2935, 16, 521, 296, 2335, 3039, 848, 1338, 506, 1399, 598, 326, 563, 434, 1635, 1253, 16, 6766, 16, 296, 521, 296, 23402, 578, 5928, 5124, 225, 468, 1436, 13319, 6591, 309, 3065, 18, 3595, 480, 599, 30, 309, 3065, 18, 3348, 480, 599, 30, 843, 273, 261, 1717, 8638, 16, 296, 13319, 2265, 609, 12, 8638, 18, 3595, 3631, 296, 26019, 2265, 609, 12, 8638, 18, 3348, 3719, 469, 30, 843, 273, 720, 8638, 397, 2337, 82, 8283, 738, 72, 11, 738, 3065, 18, 3595, 469, 30, 309, 3065, 18, 3348, 480, 599, 30, 468, 3609, 30, 1021, 13485, 11297, 6013, 19816, 87, 333, 1300, 18, 468, 4202, 10559, 1807, 27370, 518, 1807, 3563, 17, 24207, 18, 843, 273, 720, 8638, 397, 2337, 82, 11271, 738, 72, 11, 738, 3065, 18, 3348, 225, 327, 843, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9874, 3039, 12, 2890, 16, 3065, 16, 720, 8638, 4672, 225, 468, 2073, 716, 732, 1240, 2690, 3846, 434, 9111, 2652, 316, 720, 8638, 2935, 273, 306, 4690, 18, 863, 1253, 16, 2199, 18, 3391, 16, 2199, 18, 4416, 16, 2199, 18, 23402, 65, 1815, 3065, 63, 20, 8009, 972, 1106, 972, 316, 2935, 16, 521, 296, 2335, 3039, 848, 1338, 506, 1399, 598, 326, 563, 434, 1635, 1253, 16, 6766, 16, 296, 521, 296, 23402, 578, 5928, 5124, 225, 468, 1436, 13319, 6591, 309, 3065, 18, 3595, 480, 599, 30, 309, 3065, 18, 3348, 480, 599, 30, 843, 273, 261, 1717, 8638, 16, 296, 13319, 2265, 609, 12, 8638, 18, 3595, 3631, 296, 26019, 2265, 609, 12, 2 ]
paths_root_path = All(ValidPath(), UnicodeString(strip=True, min=3, not_empty=True))
paths_root_path = All(ValidPath(), UnicodeString(strip=True, min=1, not_empty=True))
def ApplicationUiSettingsForm(): class _ApplicationUiSettingsForm(formencode.Schema): allow_extra_fields = True filter_extra_fields = False web_push_ssl = OneOf(['true', 'false'], if_missing='false') paths_root_path = All(ValidPath(), UnicodeString(strip=True, min=3, not_empty=True)) hooks_changegroup_update = OneOf(['True', 'False'], if_missing=False) hooks_changegroup_repo_size = OneOf(['True', 'False'], if_missing=False) return _ApplicationUiSettingsForm
6cba5ca536d608a918ccff4b4dd84cbcb5477729 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4230/6cba5ca536d608a918ccff4b4dd84cbcb5477729/forms.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4257, 13943, 2628, 1204, 13332, 667, 389, 3208, 13943, 2628, 1204, 12, 687, 3015, 18, 3078, 4672, 1699, 67, 7763, 67, 2821, 273, 1053, 1034, 67, 7763, 67, 2821, 273, 1083, 3311, 67, 6206, 67, 8157, 273, 6942, 951, 12, 3292, 3767, 2187, 296, 5743, 17337, 309, 67, 7337, 2218, 5743, 6134, 2953, 67, 3085, 67, 803, 273, 4826, 12, 1556, 743, 9334, 9633, 780, 12, 6406, 33, 5510, 16, 1131, 33, 21, 16, 486, 67, 5531, 33, 5510, 3719, 9153, 67, 3427, 1655, 67, 2725, 273, 6942, 951, 12, 3292, 5510, 2187, 296, 8381, 17337, 309, 67, 7337, 33, 8381, 13, 9153, 67, 3427, 1655, 67, 7422, 67, 1467, 273, 6942, 951, 12, 3292, 5510, 2187, 296, 8381, 17337, 309, 67, 7337, 33, 8381, 13, 225, 327, 389, 3208, 13943, 2628, 1204, 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, 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, 3208, 13943, 2628, 1204, 12, 687, 3015, 18, 3078, 4672, 1699, 67, 7763, 67, 2821, 273, 1053, 1034, 67, 7763, 67, 2821, 273, 1083, 3311, 67, 6206, 67, 8157, 273, 6942, 951, 12, 3292, 3767, 2187, 296, 5743, 17337, 309, 67, 7337, 2218, 5743, 6134, 2953, 67, 3085, 67, 803, 273, 4826, 12, 1556, 743, 9334, 9633, 780, 12, 6406, 33, 5510, 16, 1131, 33, 21, 16, 486, 67, 5531, 33, 5510, 3719, 9153, 67, 3427, 1655, 67, 2725, 273, 6942, 951, 12, 3292, 5510, 2187, 296, 8381, 17337, 309, 67, 7337, 33, 8381, 13, 9153, 67, 3427, 1655, 67, 7422, 67, 1467, 273, 6942, 951, 12, 3292, 5510, 2187, 296, 2 ]
xml = urllib2.urlopen(icon).read()
data = urllib2.urlopen(url).read()
def _download_icon(icon): global output_filename, icon_count if icon: try: xml = urllib2.urlopen(icon).read() except (URLError, HTTPError), e: raise RuntimeError("Cannot download icon: %s" % str(e)) else: icon = Icon.parse(xml) buf = StringIO(base64.decodestring(icon.data.value)) img = Image.open(buf) img.save("%s_%s.%s" % (output_filename or "icon", icon_count, img.format.lower())) icon_count += 1
3e773525c78b7221898b1673522feddcbf11b1df /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3449/3e773525c78b7221898b1673522feddcbf11b1df/xcap_icon.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 7813, 67, 3950, 12, 3950, 4672, 2552, 876, 67, 3459, 16, 4126, 67, 1883, 309, 4126, 30, 775, 30, 501, 273, 11527, 22, 18, 295, 18589, 12, 718, 2934, 896, 1435, 1335, 261, 1785, 668, 16, 14415, 3631, 425, 30, 1002, 7265, 2932, 4515, 4224, 4126, 30, 738, 87, 6, 738, 609, 12, 73, 3719, 469, 30, 4126, 273, 16011, 18, 2670, 12, 2902, 13, 1681, 273, 15777, 12, 1969, 1105, 18, 4924, 1145, 371, 12, 3950, 18, 892, 18, 1132, 3719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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 7813, 67, 3950, 12, 3950, 4672, 2552, 876, 67, 3459, 16, 4126, 67, 1883, 309, 4126, 30, 775, 30, 501, 273, 11527, 22, 18, 295, 18589, 12, 718, 2934, 896, 1435, 1335, 261, 1785, 668, 16, 14415, 3631, 425, 30, 1002, 7265, 2932, 4515, 4224, 4126, 30, 738, 87, 6, 738, 609, 12, 73, 3719, 469, 30, 4126, 273, 16011, 18, 2670, 12, 2902, 13, 1681, 273, 15777, 12, 1969, 1105, 18, 4924, 1145, 371, 12, 3950, 18, 892, 18, 1132, 3719, 3774, 273, 3421, 18, 3190, 12, 4385, 13, 3774, 18, 5688, 27188, 87, 10185, 87, 7866, 87, 6, 738, 261, 2844, 67, 3459, 578, 315, 3950, 3113, 4126, 67, 1883, 16, 3774, 18, 2139, 18, 2 ]
def getOwnerDocument(self): return self.ownerDocument
def getSpecified(self): return self.specified
def getNodeType(self): return ATTRIBUTE_NODE
c8ae5ffbca873780c4e78ef8f80593471370b673 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/c8ae5ffbca873780c4e78ef8f80593471370b673/ZDOM.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20525, 12, 2890, 4672, 327, 15941, 67, 8744, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20525, 12, 2890, 4672, 327, 15941, 67, 8744, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
rng = ConstantRNG(0)
if rndseed is None : rng = ConstantRNG(0) else : rng = GaussianRNG(rndseed, 0, 0.1)
def update_factor_concentrations(self, currentState, size, rndseed) : """ The update function of the simulator, calculates the instances of the next timestep.
5b9e395eee8bebef290e0e04304a3a7225b3acc7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1770/5b9e395eee8bebef290e0e04304a3a7225b3acc7/translattice.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 6812, 67, 11504, 8230, 1012, 12, 2890, 16, 17773, 16, 963, 16, 20391, 12407, 13, 294, 3536, 1021, 1089, 445, 434, 326, 3142, 11775, 16, 17264, 326, 3884, 434, 326, 1024, 27072, 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 ]
def OnDeviceAttached(self, eventstring): if eventstring.payload[0].split("
def OnDeviceAttached(self, event): if event.payload[0].split("
def OnDeviceAttached(self, eventstring): if eventstring.payload[0].split("#")[1] == 'Vid_0403&Pid_f850': if self.enabled: self.__start__(*self.args) eg.Unbind("System.DeviceAttached", self.OnDeviceAttached)
884cec873ae893a8ceef260cd2de3edc2887cc6c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8076/884cec873ae893a8ceef260cd2de3edc2887cc6c/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 3654, 14890, 12, 2890, 16, 871, 1080, 4672, 309, 871, 1080, 18, 7648, 63, 20, 8009, 4939, 2932, 7, 7923, 63, 21, 65, 422, 296, 58, 350, 67, 3028, 4630, 10, 12478, 67, 74, 28, 3361, 4278, 309, 365, 18, 5745, 30, 365, 16186, 1937, 972, 30857, 2890, 18, 1968, 13, 9130, 18, 984, 4376, 2932, 3163, 18, 3654, 14890, 3113, 365, 18, 1398, 3654, 14890, 13, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2755, 3654, 14890, 12, 2890, 16, 871, 1080, 4672, 309, 871, 1080, 18, 7648, 63, 20, 8009, 4939, 2932, 7, 7923, 63, 21, 65, 422, 296, 58, 350, 67, 3028, 4630, 10, 12478, 67, 74, 28, 3361, 4278, 309, 365, 18, 5745, 30, 365, 16186, 1937, 972, 30857, 2890, 18, 1968, 13, 9130, 18, 984, 4376, 2932, 3163, 18, 3654, 14890, 3113, 365, 18, 1398, 3654, 14890, 13, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return [(nm,self._get_key_info(k)) for (nm,k) in entries] def _list_keys(self,path):
return ((nm,self._get_key_info(k)) for (nm,k) in entries) def _iter_keys(self,path): """Iterator over keys contained in the given directory. This generator yields (name,key) pairs for each entry in the given directory. If the path is not a directory, it raises the approprate error. """
def listdirinfo(self,path="./",wildcard=None,full=False,absolute=False,dirs_only=False,files_only=False): keys = self._list_keys(path) entries = self._filter_keys(path,keys,wildcard,full,absolute,dirs_only,files_only) return [(nm,self._get_key_info(k)) for (nm,k) in entries]
08fcb5eb9943873d0265d2d6261d936a7e404984 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5578/08fcb5eb9943873d0265d2d6261d936a7e404984/s3fs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13529, 1376, 12, 2890, 16, 803, 1546, 18, 19, 3113, 22887, 33, 7036, 16, 2854, 33, 8381, 16, 12547, 33, 8381, 16, 8291, 67, 3700, 33, 8381, 16, 2354, 67, 3700, 33, 8381, 4672, 1311, 273, 365, 6315, 1098, 67, 2452, 12, 803, 13, 3222, 273, 365, 6315, 2188, 67, 2452, 12, 803, 16, 2452, 16, 22887, 16, 2854, 16, 12547, 16, 8291, 67, 3700, 16, 2354, 67, 3700, 13, 327, 306, 12, 15094, 16, 2890, 6315, 588, 67, 856, 67, 1376, 12, 79, 3719, 364, 261, 15094, 16, 79, 13, 316, 3222, 65, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13529, 1376, 12, 2890, 16, 803, 1546, 18, 19, 3113, 22887, 33, 7036, 16, 2854, 33, 8381, 16, 12547, 33, 8381, 16, 8291, 67, 3700, 33, 8381, 16, 2354, 67, 3700, 33, 8381, 4672, 1311, 273, 365, 6315, 1098, 67, 2452, 12, 803, 13, 3222, 273, 365, 6315, 2188, 67, 2452, 12, 803, 16, 2452, 16, 22887, 16, 2854, 16, 12547, 16, 8291, 67, 3700, 16, 2354, 67, 3700, 13, 327, 306, 12, 15094, 16, 2890, 6315, 588, 67, 856, 67, 1376, 12, 79, 3719, 364, 261, 15094, 16, 79, 13, 316, 3222, 65, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
inh_fdoc = self._docmap[fdoc.overrides()] ifparam_names = [p.name() for p in inh_fdoc.parameter_list()] ikwarg_name = inh_fdoc.kwarg() and inh_fdoc.kwarg().name() ivararg_name = inh_fdoc.vararg() and inh_fdoc.vararg().name() if (fparam_names != ifparam_names[:len(fparam_names)] or kwarg_name != ikwarg_name or vararg_name != ivararg_name): if fname != '__init__': estr =(('Warning: The parameters of %s do not '+ 'match the parameters of the base class '+ 'method %s; not inheriting documentation.') % (fdoc.uid(), inh_fdoc.uid())) estr = epytext.wordwrap(estr, 9, 75-9).strip() if sys.stderr.softspace: print >>sys.stderr print >>sys.stderr, estr break fdoc = inh_fdoc
fdoc = self._docmap[fdoc.overrides()]
def _func_details(self, functions, cls, heading='Function Details'): """ @return: The HTML code for a function details table. This is used by L{_module_to_html} to describe the functions in a module; and by L{_class_to_html} to describe member functions. @rtype: C{string} """ functions = self._filtersort_links(functions) if len(functions) == 0: return '' str = self._table_header(heading, 'details')+'</table>\n'
39e5af73828c8af59d5a33364eb58c056bcb1d75 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/39e5af73828c8af59d5a33364eb58c056bcb1d75/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 644, 67, 6395, 12, 2890, 16, 4186, 16, 2028, 16, 11053, 2218, 2083, 21897, 11, 4672, 3536, 632, 2463, 30, 1021, 3982, 981, 364, 279, 445, 3189, 1014, 18, 225, 1220, 353, 1399, 635, 511, 95, 67, 2978, 67, 869, 67, 2620, 97, 358, 6401, 326, 4186, 316, 279, 1605, 31, 471, 635, 511, 95, 67, 1106, 67, 869, 67, 2620, 97, 358, 6401, 3140, 4186, 18, 632, 86, 723, 30, 385, 95, 1080, 97, 3536, 4186, 273, 365, 6315, 2188, 3804, 67, 7135, 12, 10722, 13, 309, 562, 12, 10722, 13, 422, 374, 30, 327, 875, 609, 273, 365, 6315, 2121, 67, 3374, 12, 19948, 16, 296, 6395, 6134, 6797, 1757, 2121, 5333, 82, 11, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 644, 67, 6395, 12, 2890, 16, 4186, 16, 2028, 16, 11053, 2218, 2083, 21897, 11, 4672, 3536, 632, 2463, 30, 1021, 3982, 981, 364, 279, 445, 3189, 1014, 18, 225, 1220, 353, 1399, 635, 511, 95, 67, 2978, 67, 869, 67, 2620, 97, 358, 6401, 326, 4186, 316, 279, 1605, 31, 471, 635, 511, 95, 67, 1106, 67, 869, 67, 2620, 97, 358, 6401, 3140, 4186, 18, 632, 86, 723, 30, 385, 95, 1080, 97, 3536, 4186, 273, 365, 6315, 2188, 3804, 67, 7135, 12, 10722, 13, 309, 562, 12, 10722, 13, 422, 374, 30, 327, 875, 609, 273, 365, 6315, 2121, 67, 3374, 12, 19948, 16, 296, 6395, 6134, 6797, 1757, 2121, 5333, 82, 11, 2, -100 ]
SQL_Data = "select email, password from user where id=%s"%uid query_result = run_sql(SQL_Data)
query_result = run_sql("select email, password from user where id=%s", (uid,))
def getDataUid(request,uid): """It takes the email and password from a given userId, from the MySQL database, if don't exist it just returns guest values for email and password getDataUid(request,uid) -> [email,password] """ email = 'guest' password = 'none' SQL_Data = "select email, password from user where id=%s"%uid query_result = run_sql(SQL_Data) if len(query_result)>0: email = query_result[0][0] password = query_result[0][1] if password == None or email =='': email = 'guest' list = [email] +[password] return list
89522df1aa794a89017aeb7e5aa2e1881da95d6e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12027/89522df1aa794a89017aeb7e5aa2e1881da95d6e/webuser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4303, 11994, 12, 2293, 16, 1911, 4672, 3536, 7193, 5530, 326, 2699, 471, 2201, 628, 279, 864, 6249, 16, 628, 326, 13485, 2063, 16, 309, 2727, 1404, 1005, 518, 2537, 1135, 13051, 924, 364, 2699, 471, 2201, 225, 4303, 11994, 12, 2293, 16, 1911, 13, 317, 306, 3652, 16, 3664, 65, 225, 3536, 225, 2699, 273, 296, 18908, 11, 2201, 273, 296, 6102, 11, 225, 843, 67, 2088, 273, 1086, 67, 4669, 2932, 4025, 2699, 16, 2201, 628, 729, 1625, 612, 5095, 87, 3113, 261, 1911, 16, 3719, 225, 309, 562, 12, 2271, 67, 2088, 13, 34, 20, 30, 225, 2699, 273, 843, 67, 2088, 63, 20, 6362, 20, 65, 2201, 273, 843, 67, 2088, 63, 20, 6362, 21, 65, 225, 309, 2201, 422, 599, 578, 225, 2699, 422, 11, 4278, 2699, 273, 296, 18908, 11, 666, 273, 306, 3652, 65, 397, 63, 3664, 65, 327, 666, 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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, 13485, 2063, 16, 309, 2727, 1404, 1005, 518, 2537, 1135, 13051, 924, 364, 2699, 471, 2201, 225, 4303, 11994, 12, 2293, 16, 1911, 13, 317, 306, 3652, 16, 3664, 65, 225, 3536, 225, 2699, 273, 296, 18908, 11, 2201, 273, 296, 6102, 11, 225, 843, 67, 2088, 273, 1086, 67, 4669, 2932, 4025, 2699, 16, 2201, 628, 729, 1625, 612, 5095, 87, 3113, 261, 1911, 16, 3719, 225, 309, 562, 12, 2271, 67, 2088, 13, 34, 20, 30, 225, 2699, 273, 843, 67, 2088, 63, 20, 6362, 20, 65, 2201, 273, 843, 67, 2088, 63, 20, 6362, 2 ]
self.imports = Collection(self, key=f)
self.imports = Collection(self, key=ns)
def __init__(self, parent=None): """parent -- instance variables: targetNamespace -- schema's declared targetNamespace, or empty string. _imported_schemas -- namespace keyed dict of schema dependencies, if a schema is provided instance will not resolve import statement. _included_schemas -- schemaLocation keyed dict of component schemas, if schema is provided instance will not resolve include statement. _base_url -- needed for relative URLs support, only works with URLs relative to initial document. includes -- collection of include statements imports -- collection of import statements elements -- collection of global element declarations types -- collection of global type definitions attr_decl -- collection of global attribute declarations attr_groups -- collection of global attribute group definitions model_groups -- collection of model group definitions notations -- collection of notations
5b20f2b0904cc43a45210136aca4b3c019980b52 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/5b20f2b0904cc43a45210136aca4b3c019980b52/XMLSchema.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 33, 7036, 4672, 3536, 2938, 1493, 791, 3152, 30, 1018, 3402, 1493, 1963, 1807, 7886, 1018, 3402, 16, 578, 1008, 533, 18, 389, 29266, 67, 17928, 1493, 1981, 17408, 2065, 434, 1963, 5030, 16, 309, 279, 1963, 353, 2112, 791, 903, 486, 2245, 1930, 3021, 18, 389, 20405, 67, 17928, 1493, 1963, 2735, 17408, 2065, 434, 1794, 12783, 16, 309, 1963, 353, 2112, 791, 903, 486, 2245, 2341, 3021, 18, 389, 1969, 67, 718, 1493, 3577, 364, 3632, 10414, 2865, 16, 1338, 6330, 598, 10414, 3632, 358, 2172, 1668, 18, 6104, 1493, 1849, 434, 2341, 6317, 10095, 1493, 1849, 434, 1930, 6317, 2186, 1493, 1849, 434, 2552, 930, 12312, 1953, 1493, 1849, 434, 2552, 618, 6377, 1604, 67, 8840, 1493, 1849, 434, 2552, 1566, 12312, 1604, 67, 4650, 1493, 1849, 434, 2552, 1566, 1041, 6377, 938, 67, 4650, 1493, 1849, 434, 938, 1041, 6377, 486, 1012, 1493, 1849, 434, 486, 1012, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 33, 7036, 4672, 3536, 2938, 1493, 791, 3152, 30, 1018, 3402, 1493, 1963, 1807, 7886, 1018, 3402, 16, 578, 1008, 533, 18, 389, 29266, 67, 17928, 1493, 1981, 17408, 2065, 434, 1963, 5030, 16, 309, 279, 1963, 353, 2112, 791, 903, 486, 2245, 1930, 3021, 18, 389, 20405, 67, 17928, 1493, 1963, 2735, 17408, 2065, 434, 1794, 12783, 16, 309, 1963, 353, 2112, 791, 903, 486, 2245, 2341, 3021, 18, 389, 1969, 67, 718, 1493, 3577, 364, 3632, 10414, 2865, 16, 1338, 6330, 598, 10414, 3632, 358, 2172, 1668, 18, 6104, 1493, 1849, 434, 2341, 6317, 10095, 1493, 1849, 434, 1930, 6317, 2186, 1493, 1849, 434, 2552, 930, 12312, 1953, 1493, 2 ]
file = StringIO.StringIO(data)
file = BytesIO(data)
def test_parse_file(self): # Try parsing a file out = self.Outputter() parser = expat.ParserCreate(namespace_separator='!') parser.returns_unicode = 1 for name in self.handler_names: setattr(parser, name, getattr(out, name)) file = StringIO.StringIO(data)
4ca947183154a7cfc7a6ccbb2e5c856a16a5dce3 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/4ca947183154a7cfc7a6ccbb2e5c856a16a5dce3/test_pyexpat.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2670, 67, 768, 12, 2890, 4672, 468, 6161, 5811, 279, 585, 596, 273, 365, 18, 1447, 387, 1435, 2082, 273, 1329, 270, 18, 2678, 1684, 12, 4937, 67, 11287, 2218, 5124, 13, 2082, 18, 6154, 67, 9124, 273, 404, 364, 508, 316, 365, 18, 4176, 67, 1973, 30, 9241, 12, 4288, 16, 508, 16, 3869, 12, 659, 16, 508, 3719, 585, 273, 15777, 18, 780, 4294, 12, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2670, 67, 768, 12, 2890, 4672, 468, 6161, 5811, 279, 585, 596, 273, 365, 18, 1447, 387, 1435, 2082, 273, 1329, 270, 18, 2678, 1684, 12, 4937, 67, 11287, 2218, 5124, 13, 2082, 18, 6154, 67, 9124, 273, 404, 364, 508, 316, 365, 18, 4176, 67, 1973, 30, 9241, 12, 4288, 16, 508, 16, 3869, 12, 659, 16, 508, 3719, 585, 273, 15777, 18, 780, 4294, 12, 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 ]
sage: matrix([[ lp.facet_normal(i)*lp.vertex(j) + lp.facet_constant(i) for i in range(0,3)] for j in range(0,3)]) [-22 0 0] [ 0 -22 0] [ 0 0 -11]
sage: fns = [p.facet_normal(i) for i in range(p.nfacets())] sage: fns [(11, -1, 1, 3), (-11, -1, 1, 3), (0, 1, -1, -3)] sage: fcs = [p.facet_constant(i) for i in range(p.nfacets())] sage: fcs [0, 0, 11] Now we manually compute the distance matrix of this polytope. Since it is a triangle, each line (corresponding to a facet) should have two zeros (vertices of the corresponding facet) and one positive number (since our normals are inner):: sage: matrix([[fns[i] * p.vertex(j) + fcs[i] ... for j in range(p.nvertices())] ... for i in range(p.nfacets())]) [22 0 0] [ 0 22 0] [ 0 0 11]
def facet_constant(self, i): r""" Return the constant in the ``i``-th facet inequality of this polytope. The i-th facet inequality is given by self.facet_normal(i) * X + self.facet_constant(i) >= 0. INPUT: - ``i`` - integer, the index of the facet OUTPUT: - integer -- the constant in the ``i``-th facet inequality. EXAMPLES: Let's take a look at facets of the octahedron and some polytopes inside it:: sage: o = lattice_polytope.octahedron(3) sage: o.vertices() [ 1 0 0 -1 0 0] [ 0 1 0 0 -1 0] [ 0 0 1 0 0 -1] sage: o.facet_normal(0) (-1, -1, 1) sage: o.facet_constant(0) 1 sage: m = copy(o.vertices()) sage: m[0,0] = 0 sage: m [ 0 0 0 -1 0 0] [ 0 1 0 0 -1 0] [ 0 0 1 0 0 -1] sage: p = LatticePolytope(m) sage: p.facet_normal(0) (-1, 0, 0) sage: p.facet_constant(0) 0 sage: m[0,3] = 0 sage: m [ 0 0 0 0 0 0] [ 0 1 0 0 -1 0] [ 0 0 1 0 0 -1] sage: p = LatticePolytope(m) sage: p.facet_normal(0) (0, -1, 1) sage: p.facet_constant(0) 1
e3f0d73c977e1b95e04d9f79185bb2622b0245d3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/e3f0d73c977e1b95e04d9f79185bb2622b0245d3/lattice_polytope.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11082, 67, 14384, 12, 2890, 16, 277, 4672, 436, 8395, 2000, 326, 5381, 316, 326, 12176, 77, 10335, 17, 451, 11082, 316, 9729, 560, 434, 333, 7573, 869, 347, 18, 225, 1021, 277, 17, 451, 11082, 316, 9729, 560, 353, 864, 635, 365, 18, 21568, 67, 6130, 12, 77, 13, 380, 1139, 397, 365, 18, 21568, 67, 14384, 12, 77, 13, 1545, 374, 18, 225, 12943, 30, 225, 300, 12176, 77, 10335, 300, 3571, 16, 326, 770, 434, 326, 11082, 225, 11550, 30, 225, 300, 3571, 1493, 326, 5381, 316, 326, 12176, 77, 10335, 17, 451, 11082, 316, 9729, 560, 18, 225, 5675, 8900, 11386, 30, 225, 10559, 1807, 4862, 279, 2324, 622, 21681, 434, 326, 10844, 9795, 329, 1949, 471, 2690, 7573, 3669, 281, 4832, 518, 2866, 225, 272, 410, 30, 320, 273, 16690, 67, 16353, 869, 347, 18, 13410, 9795, 329, 1949, 12, 23, 13, 272, 410, 30, 320, 18, 17476, 1435, 306, 404, 225, 374, 225, 374, 300, 21, 225, 374, 225, 374, 65, 306, 374, 225, 404, 225, 374, 225, 374, 300, 21, 225, 374, 65, 306, 374, 225, 374, 225, 404, 225, 374, 225, 374, 300, 21, 65, 272, 410, 30, 320, 18, 21568, 67, 6130, 12, 20, 13, 24927, 21, 16, 300, 21, 16, 404, 13, 272, 410, 30, 320, 18, 21568, 67, 14384, 12, 20, 13, 404, 272, 410, 30, 312, 273, 1610, 12, 83, 18, 17476, 10756, 272, 410, 30, 312, 63, 20, 16, 20, 65, 273, 374, 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, 11082, 67, 14384, 12, 2890, 16, 277, 4672, 436, 8395, 2000, 326, 5381, 316, 326, 12176, 77, 10335, 17, 451, 11082, 316, 9729, 560, 434, 333, 7573, 869, 347, 18, 225, 1021, 277, 17, 451, 11082, 316, 9729, 560, 353, 864, 635, 365, 18, 21568, 67, 6130, 12, 77, 13, 380, 1139, 397, 365, 18, 21568, 67, 14384, 12, 77, 13, 1545, 374, 18, 225, 12943, 30, 225, 300, 12176, 77, 10335, 300, 3571, 16, 326, 770, 434, 326, 11082, 225, 11550, 30, 225, 300, 3571, 1493, 326, 5381, 316, 326, 12176, 77, 10335, 17, 451, 11082, 316, 9729, 560, 18, 225, 5675, 8900, 11386, 30, 225, 10559, 1807, 4862, 279, 2324, 622, 21681, 434, 326, 10844, 9795, 2 ]
print hits
def recieve_hits (self, qstring, hits, max): matches = [] self.results = {} print hits for info in hits: output = {} output['name'] = os.path.basename(info[0]) output['uri'] = info[0] output['type'] = info[1] if TYPES.has_key(output['type']) == 0: output['type'] = "Other Files" try: self.results[output['type']].append(output) except: self.results[output['type']] = [output] for key in self.results.keys(): for res in self.results[key][0:MAX_RESULTS]: matches.append(TrackerLiveFileMatch(self,res)) #if len(self.results[key]) > MAX_RESULTS: # matches.append( TrackerMoreMatch(self,qstring,key) ) self.emit_query_ready(qstring, matches) print "Tracker response for %s, - %s hits returned, %s shown" % (qstring, len(hits), len(matches))
5c0a2a835b40f67b0989dba3488f42f3f4bc7ba5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6358/5c0a2a835b40f67b0989dba3488f42f3f4bc7ba5/tracker-handler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1950, 21271, 67, 15173, 261, 2890, 16, 1043, 1080, 16, 11076, 16, 943, 4672, 1885, 273, 5378, 365, 18, 4717, 273, 2618, 225, 364, 1123, 316, 11076, 30, 876, 273, 2618, 876, 3292, 529, 3546, 273, 1140, 18, 803, 18, 13909, 12, 1376, 63, 20, 5717, 876, 3292, 1650, 3546, 273, 1123, 63, 20, 65, 876, 3292, 723, 3546, 273, 1123, 63, 21, 65, 309, 3463, 55, 18, 5332, 67, 856, 12, 2844, 3292, 723, 19486, 422, 374, 30, 876, 3292, 723, 3546, 273, 315, 8290, 6471, 6, 775, 30, 365, 18, 4717, 63, 2844, 3292, 723, 3546, 8009, 6923, 12, 2844, 13, 1335, 30, 365, 18, 4717, 63, 2844, 3292, 723, 3546, 65, 273, 306, 2844, 65, 364, 498, 316, 365, 18, 4717, 18, 2452, 13332, 364, 400, 316, 365, 18, 4717, 63, 856, 6362, 20, 30, 6694, 67, 20602, 14542, 1885, 18, 6923, 12, 8135, 12328, 812, 2060, 12, 2890, 16, 455, 3719, 468, 430, 562, 12, 2890, 18, 4717, 63, 856, 5717, 405, 4552, 67, 20602, 30, 468, 202, 8436, 18, 6923, 12, 11065, 264, 7417, 2060, 12, 2890, 16, 85, 1080, 16, 856, 13, 262, 365, 18, 18356, 67, 2271, 67, 1672, 12, 85, 1080, 16, 1885, 13, 1172, 315, 8135, 766, 364, 738, 87, 16, 300, 738, 87, 11076, 2106, 16, 738, 87, 12188, 6, 738, 261, 85, 1080, 16, 562, 12, 15173, 3631, 562, 12, 8436, 3719, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1950, 21271, 67, 15173, 261, 2890, 16, 1043, 1080, 16, 11076, 16, 943, 4672, 1885, 273, 5378, 365, 18, 4717, 273, 2618, 225, 364, 1123, 316, 11076, 30, 876, 273, 2618, 876, 3292, 529, 3546, 273, 1140, 18, 803, 18, 13909, 12, 1376, 63, 20, 5717, 876, 3292, 1650, 3546, 273, 1123, 63, 20, 65, 876, 3292, 723, 3546, 273, 1123, 63, 21, 65, 309, 3463, 55, 18, 5332, 67, 856, 12, 2844, 3292, 723, 19486, 422, 374, 30, 876, 3292, 723, 3546, 273, 315, 8290, 6471, 6, 775, 30, 365, 18, 4717, 63, 2844, 3292, 723, 3546, 8009, 6923, 12, 2844, 13, 1335, 30, 365, 18, 4717, 63, 2844, 3292, 723, 3546, 65, 273, 306, 2844, 65, 2 ]
keys = self._retrievePublicKey(keyurl)
keys = self._retrievePublicKey(keyurl, repo)
def getKeyForRepo(self, repo, callback=None): """ Retrieve a key for a repository If needed, prompt for if the key should be imported using callback @param repo: Repository object to retrieve the key of. @param callback: Callback function to use for asking for verification of a key. Takes a dictionary of key info. """ keyurls = repo.gpgkey key_installed = False for keyurl in keyurls: keys = self._retrievePublicKey(keyurl) for info in keys: # Check if key is already installed if info['keyid'] in misc.return_keyids_from_pubring(repo.gpgdir): self.logger.info(_('GPG key at %s (0x%s) is already imported') % ( keyurl, info['hexkeyid'])) continue
14ccb3cd86c89f5ae96f74f78210287e14943b68 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5445/14ccb3cd86c89f5ae96f74f78210287e14943b68/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3579, 1290, 8791, 12, 2890, 16, 3538, 16, 1348, 33, 7036, 4672, 3536, 10708, 279, 498, 364, 279, 3352, 971, 3577, 16, 6866, 364, 309, 326, 498, 1410, 506, 9101, 1450, 1348, 225, 632, 891, 3538, 30, 6281, 733, 358, 4614, 326, 498, 434, 18, 632, 891, 1348, 30, 8444, 445, 358, 999, 364, 29288, 364, 11805, 434, 279, 498, 18, 23004, 279, 3880, 434, 498, 1123, 18, 3536, 498, 10518, 273, 3538, 18, 6403, 75, 856, 498, 67, 13435, 273, 1083, 364, 498, 718, 316, 498, 10518, 30, 1311, 273, 365, 6315, 17466, 9632, 12, 856, 718, 16, 3538, 13, 364, 1123, 316, 1311, 30, 468, 2073, 309, 498, 353, 1818, 5876, 309, 1123, 3292, 856, 350, 3546, 316, 20448, 18, 2463, 67, 856, 2232, 67, 2080, 67, 10174, 8022, 12, 7422, 18, 6403, 75, 1214, 4672, 365, 18, 4901, 18, 1376, 24899, 2668, 9681, 43, 498, 622, 738, 87, 261, 20, 92, 9, 87, 13, 353, 1818, 9101, 6134, 738, 261, 498, 718, 16, 1123, 3292, 7118, 856, 350, 3546, 3719, 1324, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3579, 1290, 8791, 12, 2890, 16, 3538, 16, 1348, 33, 7036, 4672, 3536, 10708, 279, 498, 364, 279, 3352, 971, 3577, 16, 6866, 364, 309, 326, 498, 1410, 506, 9101, 1450, 1348, 225, 632, 891, 3538, 30, 6281, 733, 358, 4614, 326, 498, 434, 18, 632, 891, 1348, 30, 8444, 445, 358, 999, 364, 29288, 364, 11805, 434, 279, 498, 18, 23004, 279, 3880, 434, 498, 1123, 18, 3536, 498, 10518, 273, 3538, 18, 6403, 75, 856, 498, 67, 13435, 273, 1083, 364, 498, 718, 316, 498, 10518, 30, 1311, 273, 365, 6315, 17466, 9632, 12, 856, 718, 16, 3538, 13, 364, 1123, 316, 1311, 30, 468, 2073, 309, 498, 353, 1818, 5876, 309, 1123, 3292, 856, 350, 2 ]
if Responder.move_count < len(self.move_responses): this_move = self.move_responses[Responder.move_count] Responder.move_count = Responder.move_count + 1 self.reply(200, this_move) else: self.reply(200, 'NOOP') def handle_stop(self, matchid, moves_element): if moves_element == None: moves_element.self.bad_request("Malformed STOP command (no moves)") return print "moves_element:", moves_element self.reply(200, 'DONE')
if not isinstance(moves_element, ElementGGP): if moves_element == "NIL": moves_element = ElementGGP("()") else: self.bad_request("Malformed %s command (moves string and not NIL)" % command) return if play: if Responder.move_count < len(self.move_responses): this_move = self.move_responses[Responder.move_count] Responder.move_count = Responder.move_count + 1 self.reply(200, this_move) else: self.reply(200, 'NOOP') else: self.reply(200, 'DONE')
def handle_play(self, matchid, moves_element): if moves_element == None: moves_element.self.bad_request("Malformed PLAY command (no moves)") return print "moves_element:", moves_element # Scripted responses if Responder.move_count < len(self.move_responses): this_move = self.move_responses[Responder.move_count] Responder.move_count = Responder.move_count + 1 self.reply(200, this_move) else: self.reply(200, 'NOOP')
19e2a3fa16d7c2269ac1ad9a96e45f49b9adb63a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7008/19e2a3fa16d7c2269ac1ad9a96e45f49b9adb63a/GGP.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 1601, 12, 2890, 16, 845, 350, 16, 13934, 67, 2956, 4672, 309, 13934, 67, 2956, 422, 599, 30, 13934, 67, 2956, 18, 2890, 18, 8759, 67, 2293, 2932, 18695, 453, 7868, 1296, 261, 2135, 13934, 2225, 13, 327, 225, 1172, 315, 81, 10829, 67, 2956, 2773, 16, 13934, 67, 2956, 225, 468, 7739, 329, 7220, 309, 1124, 17707, 18, 8501, 67, 1883, 411, 562, 12, 2890, 18, 8501, 67, 11822, 4672, 333, 67, 8501, 273, 365, 18, 8501, 67, 11822, 63, 28840, 18, 8501, 67, 1883, 65, 1124, 17707, 18, 8501, 67, 1883, 273, 1124, 17707, 18, 8501, 67, 1883, 397, 404, 365, 18, 10629, 12, 6976, 16, 333, 67, 8501, 13, 469, 30, 365, 18, 10629, 12, 6976, 16, 296, 3417, 3665, 6134, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 2956, 4672, 309, 13934, 67, 2956, 422, 599, 30, 13934, 67, 2956, 18, 2890, 18, 8759, 67, 2293, 2932, 18695, 453, 7868, 1296, 261, 2135, 13934, 2225, 13, 327, 225, 1172, 315, 81, 10829, 67, 2956, 2773, 16, 13934, 67, 2956, 225, 468, 7739, 329, 7220, 309, 1124, 17707, 18, 8501, 67, 1883, 411, 562, 12, 2890, 18, 8501, 67, 11822, 4672, 333, 67, 8501, 273, 365, 18, 8501, 67, 11822, 63, 28840, 18, 8501, 67, 1883, 65, 1124, 17707, 18, 8501, 67, 1883, 273, 1124, 17707, 18, 8501, 67, 1883, 397, 404, 365, 18, 10629, 12, 6976, 16, 333, 67, 8501, 13, 469, 30, 365, 18, 2 ]
["BUG1234 DEBUG : passes/text.html = TIMEOUT PASS"],
["BUGCR1234 DEBUG : passes/text.html = TIMEOUT PASS"],
def test_valid_expectations(self): self.assert_lines_lint( ["passes/text.html = PASS"], "") self.assert_lines_lint( ["passes/text.html = FAIL PASS"], "") self.assert_lines_lint( ["passes/text.html = CRASH TIMEOUT FAIL PASS"], "") self.assert_lines_lint( ["BUG1234 MAC : passes/text.html = PASS FAIL"], "") self.assert_lines_lint( ["SKIP BUG1234 : passes/text.html = TIMEOUT PASS"], "") self.assert_lines_lint( ["BUG1234 DEBUG : passes/text.html = TIMEOUT PASS"], "") self.assert_lines_lint( ["BUG1234 DEBUG SKIP : passes/text.html = TIMEOUT PASS"], "") self.assert_lines_lint( ["BUG1234 MAC DEBUG SKIP : passes/text.html = TIMEOUT PASS"], "") self.assert_lines_lint( ["BUG1234 DEBUG MAC : passes/text.html = TIMEOUT PASS"], "") self.assert_lines_lint( ["SLOW BUG1234 : passes/text.html = PASS"], "") self.assert_lines_lint( ["WONTFIX SKIP : passes/text.html = TIMEOUT"], "")
b1e56747c60975e0eae8fc5abbc091023580cd0e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/b1e56747c60975e0eae8fc5abbc091023580cd0e/test_expectations_unittest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 877, 67, 12339, 1012, 12, 2890, 4672, 365, 18, 11231, 67, 3548, 67, 5671, 12, 8247, 5466, 281, 19, 955, 18, 2620, 273, 17882, 6, 6487, 1408, 13, 365, 18, 11231, 67, 3548, 67, 5671, 12, 8247, 5466, 281, 19, 955, 18, 2620, 273, 15806, 17882, 6, 6487, 1408, 13, 365, 18, 11231, 67, 3548, 67, 5671, 12, 8247, 5466, 281, 19, 955, 18, 2620, 273, 385, 2849, 2664, 24374, 15806, 17882, 6, 6487, 1408, 13, 365, 18, 11231, 67, 3548, 67, 5671, 12, 8247, 4827, 28462, 14246, 294, 11656, 19, 955, 18, 2620, 273, 17882, 15806, 6, 6487, 1408, 13, 365, 18, 11231, 67, 3548, 67, 5671, 12, 8247, 22589, 10937, 43, 28462, 294, 11656, 19, 955, 18, 2620, 273, 24374, 17882, 6, 6487, 1408, 13, 365, 18, 11231, 67, 3548, 67, 5671, 12, 8247, 4827, 5093, 28462, 6369, 294, 11656, 19, 955, 18, 2620, 273, 24374, 17882, 6, 6487, 1408, 13, 365, 18, 11231, 67, 3548, 67, 5671, 12, 8247, 4827, 28462, 6369, 18420, 294, 11656, 19, 955, 18, 2620, 273, 24374, 17882, 6, 6487, 1408, 13, 365, 18, 11231, 67, 3548, 67, 5671, 12, 8247, 4827, 28462, 14246, 6369, 18420, 294, 11656, 19, 955, 18, 2620, 273, 24374, 17882, 6, 6487, 1408, 13, 365, 18, 11231, 67, 3548, 67, 5671, 12, 8247, 4827, 28462, 6369, 14246, 294, 11656, 19, 955, 18, 2620, 273, 24374, 17882, 6, 6487, 1408, 13, 365, 18, 11231, 67, 3548, 67, 5671, 12, 8247, 55, 4130, 10937, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 877, 67, 12339, 1012, 12, 2890, 4672, 365, 18, 11231, 67, 3548, 67, 5671, 12, 8247, 5466, 281, 19, 955, 18, 2620, 273, 17882, 6, 6487, 1408, 13, 365, 18, 11231, 67, 3548, 67, 5671, 12, 8247, 5466, 281, 19, 955, 18, 2620, 273, 15806, 17882, 6, 6487, 1408, 13, 365, 18, 11231, 67, 3548, 67, 5671, 12, 8247, 5466, 281, 19, 955, 18, 2620, 273, 385, 2849, 2664, 24374, 15806, 17882, 6, 6487, 1408, 13, 365, 18, 11231, 67, 3548, 67, 5671, 12, 8247, 4827, 28462, 14246, 294, 11656, 19, 955, 18, 2620, 273, 17882, 15806, 6, 6487, 1408, 13, 365, 18, 11231, 67, 3548, 67, 5671, 12, 8247, 22589, 10937, 43, 28462, 294, 11656, 2 ]
scrolledwindow = gtk.ScrolledWindow() scrolledwindow.set_policy(gtk.POLICY_AUTOMATIC,gtk.POLICY_AUTOMATIC) self.pack_start(scrolledwindow) self.viewport = gtk.Viewport() self.viewport.modify_bg(gtk.STATE_NORMAL, gtk.gdk.color_parse("white")) scrolledwindow.add(self.viewport)
eventbox = gtk.EventBox() self.add(eventbox) color = self.new_parent.contactList.get_style().base[gtk.STATE_NORMAL] eventbox.modify_bg(gtk.STATE_NORMAL, gtk.gdk.color_parse("white")) frame = gtk.Frame() frame.set_shadow_type(gtk.SHADOW_IN) eventbox.add(frame)
def build_interface(self): scrolledwindow = gtk.ScrolledWindow() scrolledwindow.set_policy(gtk.POLICY_AUTOMATIC,gtk.POLICY_AUTOMATIC) self.pack_start(scrolledwindow)
83a200d579bb831f8f76d2d58f83b385981056c5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2651/83a200d579bb831f8f76d2d58f83b385981056c5/arkadas.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 5831, 12, 2890, 4672, 888, 25054, 5668, 273, 22718, 18, 1541, 25054, 3829, 1435, 888, 25054, 5668, 18, 542, 67, 5086, 12, 4521, 79, 18, 26366, 67, 37, 1693, 1872, 11781, 16, 4521, 79, 18, 26366, 67, 37, 1693, 1872, 11781, 13, 365, 18, 2920, 67, 1937, 12, 1017, 25054, 5668, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 5831, 12, 2890, 4672, 888, 25054, 5668, 273, 22718, 18, 1541, 25054, 3829, 1435, 888, 25054, 5668, 18, 542, 67, 5086, 12, 4521, 79, 18, 26366, 67, 37, 1693, 1872, 11781, 16, 4521, 79, 18, 26366, 67, 37, 1693, 1872, 11781, 13, 365, 18, 2920, 67, 1937, 12, 1017, 25054, 5668, 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 ]
re.MULTILINE, *flags),
re.MULTILINE | flags),
sage: 'divisors' in _search_src_or_doc('src', '^ *def prime', interact=False)
a25d2de8ae4e697bf56a971e8c62303e0954bef8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/a25d2de8ae4e697bf56a971e8c62303e0954bef8/sagedoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 272, 410, 30, 296, 2892, 291, 1383, 11, 316, 389, 3072, 67, 4816, 67, 280, 67, 2434, 2668, 4816, 2187, 10731, 380, 536, 17014, 2187, 16592, 33, 8381, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 272, 410, 30, 296, 2892, 291, 1383, 11, 316, 389, 3072, 67, 4816, 67, 280, 67, 2434, 2668, 4816, 2187, 10731, 380, 536, 17014, 2187, 16592, 33, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
write_message("Number of keywords (-nkeywords) must be an integer higher than 1. Using default value of 15...")
write_message("Number of keywords for processing (-nkeywords) must be an integer higher than 1. Using default value of 70...")
def main(): """Main function """ global options long_flags =["pdffile=", "textfile=" "thesaurus=","ontology=", "output=","nkeywords=", "mode=", "help", "version"] short_flags ="f:t:k:K:o:n:m:hV" format_string = "%Y-%m-%d %H:%M:%S" outwords = 15 input_file = "" dict_file = "" output = 1 mode = 1 temp_text = tmpdir + '/bibclassify.pdftotext.' + str(os.getpid()) try: opts, args = getopt.getopt(sys.argv[1:], short_flags, long_flags) except getopt.GetoptError, err: write_message(err, sys.stderr) usage(1) if args: usage(1) try: for opt in opts: if opt == ("-h","") or opt == ("--help",""): usage(1) elif opt == ("-V","") or opt == ("--version",""): print "Version 0.1" sys.exit(1) elif opt[0] in [ "-f", "--pdffile" ]: if input_file=="": cmd = "%s -nopgbrk -q " % pdftotext + opt[1] + " " + temp_text errcode = os.system(cmd) if errcode == 0 and os.path.exists("%s" % temp_text): input_file = temp_text else: print "Error while running %s.\n" % cmd sys.exit(1) else: print "Either text of pdf file in input" sys.exit(1) elif opt[0] in [ "-t", "--textfile" ]: if input_file=="": input_file = opt[1] else: print "Either text of pdf file in input" sys.exit(1) elif opt[0] in [ "-k", "--thesaurus" ]: if dict_file=="": dict_file = opt[1] else: print "Either a text thesaurus or an ontology (in .rdf format)" sys.exit(1) elif opt[0] in [ "-K", "--ontology" ]: if dict_file=="" and opt[1].find(".rdf")!=-1: dict_file = opt[1] else: print "Either a text thesaurus or an ontology (in .rdf format)" sys.exit(1) elif opt[0] in [ "-o", "--output" ]: try: if str(opt[1]).lower().strip() == "html": output = 1 elif str(opt[1]).lower().strip() == "text": output = 0 else: write_message('Output mode (-o) can only be "HTML" or "TEXT". Using default output mode (HTML)') except: write_message('Output mode (-o) can only be "HTML" or "TEXT". Using default output mode (HTML)') elif opt[0] in [ "-m", "--mode" ]: try: if str(opt[1]).lower().strip() == "fast": mode = 1 elif str(opt[1]).lower().strip() == "slow": mode = 0 else: write_message('Processing mode (-m) can only be "FAST" or "SLOW". Using default output mode (fast)') except: write_message('Processing mode (-m) can only be "FAST" or "SLOW". Using default output mode (fast)') elif opt[0] in [ "-n", "--nkeywords" ]: try: num = int(opt[1]) if num>1: outwords = num else: write_message("Number of keywords (-nkeywords) must be an integer higher than 1. Using default value of 15...") except ValueError: write_message("Number of keywords (-n) must be an integer. Using default value of 15...") except StandardError, e: write_message(e, sys.stderr) sys.exit(1) if input_file == "" or dict_file == "": write_message("Need to enter the name of an input file AND a thesaurus file \n") usage(1) # Weak method to detect dict_file. Need to improve this (e.g. by looking inside the metadata with rdflib?) if dict_file.find(".rdf")!=-1: outcome = generate_keywords_rdf(input_file, dict_file, output, outwords, mode) # profiling: # profile(input_file, dict_file) else: # Treat as text outcome = generate_keywords(input_file, dict_file) if outwords > len(outcome): outwords = len(outcome) if output == 0: for i in range(outwords): print outcome[i] else: print "<html>" print "<head>" print "<title>Keywords</title>" print "<body>" print "<table>" print '<tr><div class="pagebox2" align="top"><small>' for i in range(outwords): print "<b>" + str(outcome[i]) + "</b><br>" print '</small></div></tr>' print "</table></body>" print "</html>" return
e370f85299a0a2ebca37fc2311af0cdcffe61261 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2594/e370f85299a0a2ebca37fc2311af0cdcffe61261/bibclassifylib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 3536, 6376, 445, 3536, 225, 2552, 702, 1525, 67, 7133, 273, 9614, 7699, 768, 1546, 16, 315, 955, 768, 1546, 315, 7915, 28659, 407, 1546, 10837, 1580, 4676, 1546, 16, 315, 2844, 1546, 10837, 82, 11771, 1546, 16, 315, 3188, 1546, 16, 315, 5201, 3113, 315, 1589, 11929, 3025, 67, 7133, 273, 6, 74, 30, 88, 30, 79, 30, 47, 30, 83, 30, 82, 30, 81, 30, 76, 58, 6, 740, 67, 1080, 273, 2213, 61, 6456, 81, 6456, 72, 738, 44, 5319, 49, 5319, 55, 6, 596, 3753, 273, 4711, 810, 67, 768, 273, 1408, 2065, 67, 768, 273, 1408, 876, 273, 404, 1965, 273, 404, 1906, 67, 955, 273, 20213, 397, 1173, 70, 495, 1106, 1164, 18, 22353, 1222, 352, 408, 1093, 397, 609, 12, 538, 18, 588, 6610, 10756, 225, 775, 30, 1500, 16, 833, 273, 336, 3838, 18, 588, 3838, 12, 9499, 18, 19485, 63, 21, 30, 6487, 3025, 67, 7133, 16, 1525, 67, 7133, 13, 1335, 336, 3838, 18, 967, 3838, 668, 16, 393, 30, 1045, 67, 2150, 12, 370, 16, 2589, 18, 11241, 13, 4084, 12, 21, 13, 309, 833, 30, 4084, 12, 21, 13, 225, 775, 30, 364, 2153, 316, 1500, 30, 309, 2153, 422, 7566, 17, 76, 3113, 3660, 13, 225, 578, 2153, 422, 7566, 413, 5201, 3113, 3660, 4672, 4084, 12, 21, 13, 1327, 2153, 422, 7566, 17, 58, 3113, 3660, 13, 225, 578, 2153, 422, 7566, 413, 1589, 3113, 3660, 4672, 1172, 315, 1444, 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, 3536, 6376, 445, 3536, 225, 2552, 702, 1525, 67, 7133, 273, 9614, 7699, 768, 1546, 16, 315, 955, 768, 1546, 315, 7915, 28659, 407, 1546, 10837, 1580, 4676, 1546, 16, 315, 2844, 1546, 10837, 82, 11771, 1546, 16, 315, 3188, 1546, 16, 315, 5201, 3113, 315, 1589, 11929, 3025, 67, 7133, 273, 6, 74, 30, 88, 30, 79, 30, 47, 30, 83, 30, 82, 30, 81, 30, 76, 58, 6, 740, 67, 1080, 273, 2213, 61, 6456, 81, 6456, 72, 738, 44, 5319, 49, 5319, 55, 6, 596, 3753, 273, 4711, 810, 67, 768, 273, 1408, 2065, 67, 768, 273, 1408, 876, 273, 404, 1965, 273, 404, 1906, 67, 955, 273, 20213, 397, 1173, 70, 495, 2 ]
except AttributeError: pass
def load(cls, fname): r""" Load an object from a save file.
b866fa681c3bd3c933dce1836c1e90c749ffe493 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3400/b866fa681c3bd3c933dce1836c1e90c749ffe493/base.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 12, 6429, 16, 5299, 4672, 436, 8395, 4444, 392, 733, 628, 279, 1923, 585, 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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, 392, 733, 628, 279, 1923, 585, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
q = dns.message.make_query("_baz._tcp.local", dns.rdatatype.PTR,
q = dns.message.make_query("_baz._udp.local", dns.rdatatype.PTR,
def test_SRVWithEmptyTXT(self): ret = uut.start_and_wait("-b " + ipaddr + ' -s mybaz:baz:555:udp:') self.expectEqual(0, ret)
4fca2d60dca4ff36d10022dd2a4e64b62c67e766 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9489/4fca2d60dca4ff36d10022dd2a4e64b62c67e766/test_mdns.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 10090, 58, 1190, 1921, 29399, 12, 2890, 4672, 325, 273, 582, 322, 18, 1937, 67, 464, 67, 7048, 2932, 17, 70, 315, 397, 2359, 4793, 397, 296, 300, 87, 3399, 70, 1561, 30, 70, 1561, 30, 2539, 25, 30, 26029, 2497, 13, 365, 18, 12339, 5812, 12, 20, 16, 325, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 10090, 58, 1190, 1921, 29399, 12, 2890, 4672, 325, 273, 582, 322, 18, 1937, 67, 464, 67, 7048, 2932, 17, 70, 315, 397, 2359, 4793, 397, 296, 300, 87, 3399, 70, 1561, 30, 70, 1561, 30, 2539, 25, 30, 26029, 2497, 13, 365, 18, 12339, 5812, 12, 20, 16, 325, 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 ]
"as gen_%d:" % context.lookup_data('clause_num'), "for dummy in gen_%d:" % context.lookup_data('clause_num'),
"as gen_%d:" % context.lookup_data('decl_num'), "for dummy in gen_%d:" % context.lookup_data('decl_num'),
def gen_fc_for_true(rule, arg_patterns, arg_context): engine = rule.rule_base.engine patterns = rule.goal_arg_patterns() if len(arg_patterns) == len(patterns): context = contexts.bc_context(rule) try: if all(itertools.imap(lambda pat, arg: pat.match_pattern(context, context, arg, arg_context), patterns, arg_patterns)): rule.rule_base.num_bc_rules_matched += 1 mark1 = context.mark(True) if rule.pattern(0).match_data(context, context, (('STARTING_LINENO', context.lookup_data('start_lineno')), "with engine.lookup(%r, %r, context, \\" % \ (context.lookup_data('kb_name'), context.lookup_data('entity_name')), ('INDENT', 19), "rule.foreach_patterns(%d)) \\" % context.lookup_data('clause_num'), 'POPINDENT', ('INDENT', 2), "as gen_%d:" % context.lookup_data('clause_num'), "for dummy in gen_%d:" % context.lookup_data('clause_num'), ('ENDING_LINENO', context.lookup_data('end_lineno')), ('INDENT', 2))): context.end_save_all_undo() rule.rule_base.num_bc_rule_successes += 1 yield else: context.end_save_all_undo() context.undo_to_mark(mark1) rule.rule_base.num_bc_rule_failures += 1 finally: context.done()
bd4e660a9ed69b909bf026a87883b9b1a9562934 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14714/bd4e660a9ed69b909bf026a87883b9b1a9562934/compiler_bc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3157, 67, 7142, 67, 1884, 67, 3767, 12, 5345, 16, 1501, 67, 13317, 16, 1501, 67, 2472, 4672, 4073, 273, 1720, 18, 5345, 67, 1969, 18, 8944, 6884, 273, 1720, 18, 27354, 67, 3175, 67, 13317, 1435, 309, 562, 12, 3175, 67, 13317, 13, 422, 562, 12, 13317, 4672, 819, 273, 5781, 18, 13459, 67, 2472, 12, 5345, 13, 775, 30, 309, 777, 12, 2165, 6642, 18, 12161, 12, 14661, 9670, 16, 1501, 30, 9670, 18, 1916, 67, 4951, 12, 2472, 16, 819, 16, 1501, 16, 1501, 67, 2472, 3631, 6884, 16, 1501, 67, 13317, 3719, 30, 1720, 18, 5345, 67, 1969, 18, 2107, 67, 13459, 67, 7482, 67, 11073, 1011, 404, 2267, 21, 273, 819, 18, 3355, 12, 5510, 13, 309, 1720, 18, 4951, 12, 20, 2934, 1916, 67, 892, 12, 2472, 16, 819, 16, 261, 2668, 7570, 1360, 67, 20663, 1157, 51, 2187, 819, 18, 8664, 67, 892, 2668, 1937, 67, 17782, 6134, 3631, 315, 1918, 4073, 18, 8664, 9275, 86, 16, 738, 86, 16, 819, 16, 1736, 6, 738, 521, 261, 2472, 18, 8664, 67, 892, 2668, 8899, 67, 529, 19899, 819, 18, 8664, 67, 892, 2668, 1096, 67, 529, 6134, 3631, 7707, 2356, 2222, 2187, 5342, 3631, 315, 5345, 18, 25055, 67, 13317, 9275, 72, 3719, 1736, 6, 738, 819, 18, 8664, 67, 892, 2668, 18128, 67, 2107, 19899, 296, 30374, 2356, 2222, 2187, 7707, 2356, 2222, 2187, 576, 3631, 315, 345, 3157, 10185, 72, 2773, 738, 819, 18, 8664, 67, 892, 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, 3157, 67, 7142, 67, 1884, 67, 3767, 12, 5345, 16, 1501, 67, 13317, 16, 1501, 67, 2472, 4672, 4073, 273, 1720, 18, 5345, 67, 1969, 18, 8944, 6884, 273, 1720, 18, 27354, 67, 3175, 67, 13317, 1435, 309, 562, 12, 3175, 67, 13317, 13, 422, 562, 12, 13317, 4672, 819, 273, 5781, 18, 13459, 67, 2472, 12, 5345, 13, 775, 30, 309, 777, 12, 2165, 6642, 18, 12161, 12, 14661, 9670, 16, 1501, 30, 9670, 18, 1916, 67, 4951, 12, 2472, 16, 819, 16, 1501, 16, 1501, 67, 2472, 3631, 6884, 16, 1501, 67, 13317, 3719, 30, 1720, 18, 5345, 67, 1969, 18, 2107, 67, 13459, 67, 7482, 67, 11073, 1011, 404, 2267, 21, 273, 819, 18, 3355, 2 ]
log.info('>> %s' % line)
log.warning('>> %s' % line)
def stderr_cb(self, line): line.strip(' \t\n') if line: log.info('>> %s' % line)
60d592f15b490e8199623ca6d40476242896f11e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/60d592f15b490e8199623ca6d40476242896f11e/videothumb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4514, 67, 7358, 12, 2890, 16, 980, 4672, 980, 18, 6406, 2668, 521, 88, 64, 82, 6134, 309, 980, 30, 613, 18, 1376, 2668, 9778, 738, 87, 11, 738, 980, 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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, 4672, 980, 18, 6406, 2668, 521, 88, 64, 82, 6134, 309, 980, 30, 613, 18, 1376, 2668, 9778, 738, 87, 11, 738, 980, 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 ]
if (x1-x0)**2 + (y1-y0)**2 <= dotSmall**2:
if (x1-x0)**2 + (y1-y0)**2 < dotSmall**2 - 0.1:
def isEmpty (self, x0, y0): # Make sure spiral search don't put dots outside the graph alloc = self.get_allocation() width = alloc.width height = alloc.height if not 0 <= x0 <= width or not 0 <= y0 <= height: return False for x1, y1, type, name, text in self.spots.values(): x1, y1 = self.transCords(x1, y1) if (x1-x0)**2 + (y1-y0)**2 <= dotSmall**2: return False return True
ed6e7f8fe6139ffb2a75aa4de13757198f8bc724 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5339/ed6e7f8fe6139ffb2a75aa4de13757198f8bc724/SpotGraph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2709, 261, 2890, 16, 619, 20, 16, 677, 20, 4672, 225, 468, 4344, 3071, 1694, 481, 287, 1623, 2727, 1404, 1378, 19522, 8220, 326, 2667, 4767, 273, 365, 18, 588, 67, 29299, 1435, 1835, 273, 4767, 18, 2819, 2072, 273, 4767, 18, 4210, 309, 486, 374, 1648, 619, 20, 1648, 1835, 578, 486, 374, 1648, 677, 20, 1648, 2072, 30, 327, 1083, 225, 364, 619, 21, 16, 677, 21, 16, 618, 16, 508, 16, 977, 316, 365, 18, 1752, 6968, 18, 2372, 13332, 619, 21, 16, 677, 21, 273, 365,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2709, 261, 2890, 16, 619, 20, 16, 677, 20, 4672, 225, 468, 4344, 3071, 1694, 481, 287, 1623, 2727, 1404, 1378, 19522, 8220, 326, 2667, 4767, 273, 365, 18, 588, 67, 29299, 1435, 1835, 273, 4767, 18, 2819, 2072, 273, 4767, 18, 4210, 309, 486, 374, 1648, 619, 20, 1648, 1835, 578, 486, 374, 1648, 677, 20, 1648, 2072, 30, 327, 1083, 225, 364, 619, 21, 16, 677, 21, 16, 618, 16, 508, 16, 977, 316, 365, 18, 1752, 6968, 18, 2372, 13332, 619, 21, 16, 677, 21, 273, 365, 18, 2338, 39, 517, 87, 12, 92, 21, 16, 677, 21, 13, 309, 261, 92, 21, 17, 92, 20, 13, 636, 22, 397, 261, 93, 21, 17, 93, 2 ]
if journal: journal = journal[0] else: journal = None
journal = journal and journal[0] or False
def default_get(self, cr, uid, fields, context): """ To get default values for the object. @param self: The object pointer. @param cr: A database cursor @param uid: ID of the user currently logged in @param fields: List of fields for which we want default values @param context: A standard dictionary @return: A dictionary which of fields with values. """ res = super(pos_make_payment, self).default_get(cr, uid, fields, context=context)
d7ed28f534b42c198e2595b1cde400d83d23596a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/d7ed28f534b42c198e2595b1cde400d83d23596a/pos_payment.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 805, 67, 588, 12, 2890, 16, 4422, 16, 4555, 16, 1466, 16, 819, 4672, 3536, 2974, 336, 805, 924, 364, 326, 733, 18, 632, 891, 365, 30, 1021, 733, 4407, 18, 632, 891, 4422, 30, 432, 2063, 3347, 632, 891, 4555, 30, 1599, 434, 326, 729, 4551, 7545, 316, 632, 891, 1466, 30, 987, 434, 1466, 364, 1492, 732, 2545, 805, 924, 632, 891, 819, 30, 432, 4529, 3880, 632, 2463, 30, 432, 3880, 1492, 434, 1466, 598, 924, 18, 3536, 400, 273, 2240, 12, 917, 67, 6540, 67, 9261, 16, 365, 2934, 1886, 67, 588, 12, 3353, 16, 4555, 16, 1466, 16, 819, 33, 2472, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 805, 67, 588, 12, 2890, 16, 4422, 16, 4555, 16, 1466, 16, 819, 4672, 3536, 2974, 336, 805, 924, 364, 326, 733, 18, 632, 891, 365, 30, 1021, 733, 4407, 18, 632, 891, 4422, 30, 432, 2063, 3347, 632, 891, 4555, 30, 1599, 434, 326, 729, 4551, 7545, 316, 632, 891, 1466, 30, 987, 434, 1466, 364, 1492, 732, 2545, 805, 924, 632, 891, 819, 30, 432, 4529, 3880, 632, 2463, 30, 432, 3880, 1492, 434, 1466, 598, 924, 18, 3536, 400, 273, 2240, 12, 917, 67, 6540, 67, 9261, 16, 365, 2934, 1886, 67, 588, 12, 3353, 16, 4555, 16, 1466, 16, 819, 33, 2472, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def on_darken_background_scale_change_value(self, widget):
def on_darken_background_scale_change_value(self, widget, scroll, value):
def on_darken_background_scale_change_value(self, widget): """Background darkness setting changed""" self.config['background_darkness'] = widget.get_value() self.config.save()
07eb2d88c7f8008d7a65778c6239e9308eca86af /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1032/07eb2d88c7f8008d7a65778c6239e9308eca86af/prefseditor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 25045, 275, 67, 9342, 67, 5864, 67, 3427, 67, 1132, 12, 2890, 16, 3604, 16, 5532, 16, 460, 4672, 3536, 8199, 23433, 4496, 3637, 3550, 8395, 365, 18, 1425, 3292, 9342, 67, 25045, 4496, 3546, 273, 3604, 18, 588, 67, 1132, 1435, 365, 18, 1425, 18, 5688, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 603, 67, 25045, 275, 67, 9342, 67, 5864, 67, 3427, 67, 1132, 12, 2890, 16, 3604, 16, 5532, 16, 460, 4672, 3536, 8199, 23433, 4496, 3637, 3550, 8395, 365, 18, 1425, 3292, 9342, 67, 25045, 4496, 3546, 273, 3604, 18, 588, 67, 1132, 1435, 365, 18, 1425, 18, 5688, 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 ]
parser.add_option("-t","--threshold", default=3,
parser.add_option("-t","--threshold", default=3, type=int,
def get_parser(): usage = "usage: %prog [options]" parser = OptionParser(usage, description=__description__,version=__version__) parser.add_option("-s","--service", default='WEBUI', help="Report on this service (WEBUI,SCHEDULER), Default is WEBUI") parser.add_option("-t","--threshold", default=3, help="This is the number of days after a reservation of a machine takes place, that the nag emails will commence") parser.add_option("-c","--config-file",dest="configfile",default=None) return parser
8ba2e8f26fb0765551bb12a3d8ad2d2e4b4e7f7a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14755/8ba2e8f26fb0765551bb12a3d8ad2d2e4b4e7f7a/nag_email.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 4288, 13332, 4084, 273, 315, 9167, 30, 738, 14654, 306, 2116, 4279, 2082, 273, 18862, 12, 9167, 16, 2477, 33, 972, 3384, 972, 16, 1589, 33, 972, 1589, 972, 13, 2082, 18, 1289, 67, 3482, 2932, 17, 87, 15937, 413, 3278, 3113, 805, 2218, 6950, 3000, 45, 2187, 2809, 1546, 4820, 603, 333, 1156, 261, 6950, 3000, 45, 16, 55, 15023, 1506, 654, 3631, 2989, 353, 13880, 3000, 45, 7923, 2082, 18, 1289, 67, 3482, 2932, 17, 88, 15937, 413, 8699, 3113, 805, 33, 23, 16, 618, 33, 474, 16, 2809, 1546, 2503, 353, 326, 1300, 434, 4681, 1839, 279, 18438, 434, 279, 5228, 5530, 3166, 16, 716, 326, 290, 346, 14255, 903, 1543, 802, 7923, 2082, 18, 1289, 67, 3482, 2932, 17, 71, 15937, 413, 1425, 17, 768, 3113, 10488, 1546, 1425, 768, 3113, 1886, 33, 7036, 13, 327, 2082, 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, 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 2082, 273, 18862, 12, 9167, 16, 2477, 33, 972, 3384, 972, 16, 1589, 33, 972, 1589, 972, 13, 2082, 18, 1289, 67, 3482, 2932, 17, 87, 15937, 413, 3278, 3113, 805, 2218, 6950, 3000, 45, 2187, 2809, 1546, 4820, 603, 333, 1156, 261, 6950, 3000, 45, 16, 55, 15023, 1506, 654, 3631, 2989, 353, 13880, 3000, 45, 7923, 2082, 18, 1289, 67, 3482, 2932, 17, 88, 15937, 413, 8699, 3113, 805, 33, 23, 16, 618, 33, 474, 16, 2809, 1546, 2503, 353, 326, 1300, 434, 4681, 1839, 279, 18438, 434, 279, 5228, 5530, 3166, 16, 716, 326, 290, 346, 14255, 903, 1543, 802, 7923, 2 ]
def generate_context(self):
def generate_context(self, lines):
def generate_context(self): index = -1 non_valid = 0 for line in sys.stdin: index += 1 if index <= 0: self.add_line(line, color=Color.BLUE) #title self.add_newline() self.add_line(" No. Score Point") #head continue parts = line.split() for i in range(len(parts)): parts[i] = int(parts[i])
6857ef8d54f4ea6b4eb99d3b1d40b0735bc435a7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/600/6857ef8d54f4ea6b4eb99d3b1d40b0735bc435a7/process.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 2472, 12, 2890, 16, 2362, 4672, 770, 273, 300, 21, 1661, 67, 877, 273, 374, 364, 980, 316, 2589, 18, 21772, 30, 770, 1011, 404, 309, 770, 1648, 374, 30, 365, 18, 1289, 67, 1369, 12, 1369, 16, 2036, 33, 2957, 18, 14618, 1821, 13, 468, 2649, 365, 18, 1289, 67, 22861, 1435, 365, 18, 1289, 67, 1369, 2932, 2631, 18, 565, 20671, 282, 4686, 7923, 468, 1978, 1324, 2140, 273, 980, 18, 4939, 1435, 364, 277, 316, 1048, 12, 1897, 12, 6019, 3719, 30, 2140, 63, 77, 65, 273, 509, 12, 6019, 63, 77, 5717, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 2472, 12, 2890, 16, 2362, 4672, 770, 273, 300, 21, 1661, 67, 877, 273, 374, 364, 980, 316, 2589, 18, 21772, 30, 770, 1011, 404, 309, 770, 1648, 374, 30, 365, 18, 1289, 67, 1369, 12, 1369, 16, 2036, 33, 2957, 18, 14618, 1821, 13, 468, 2649, 365, 18, 1289, 67, 22861, 1435, 365, 18, 1289, 67, 1369, 2932, 2631, 18, 565, 20671, 282, 4686, 7923, 468, 1978, 1324, 2140, 273, 980, 18, 4939, 1435, 364, 277, 316, 1048, 12, 1897, 12, 6019, 3719, 30, 2140, 63, 77, 65, 273, 509, 12, 6019, 63, 77, 5717, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.val = parent.value
def cancel(self): print "slider - cancel" def save(self): print "slider - save" def checkValues(self): if self.parent.value < 0: self.parent.value = 0 if self.parent.value > 10: self.parent.value = 10
def __init__(self, parent): self.parent = parent self.val = parent.value
bc7774d93d62c8c63ffc37af68df9f3b7b0c4c54 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/bc7774d93d62c8c63ffc37af68df9f3b7b0c4c54/config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 4672, 365, 18, 2938, 273, 982, 365, 18, 1125, 273, 982, 18, 1132, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 4672, 365, 18, 2938, 273, 982, 365, 18, 1125, 273, 982, 18, 1132, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
rationale = "Push the whole project tree and all its modules to remove location from projects.py."
rationale = "Push the whole project tree and all its modules to remote location from projects.py."
def __init__(self): usage = "\n%prog push\n\n" rationale = "Push the whole project tree and all its modules to remove location from projects.py."
1a9a47215685ee8cfc077c487c3592922ac57268 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8259/1a9a47215685ee8cfc077c487c3592922ac57268/Push.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 4084, 273, 1548, 82, 9, 14654, 1817, 64, 82, 64, 82, 6, 436, 367, 5349, 273, 315, 7621, 326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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 4084, 273, 1548, 82, 9, 14654, 1817, 64, 82, 64, 82, 6, 436, 367, 5349, 273, 315, 7621, 326, 7339, 1984, 2151, 471, 777, 2097, 4381, 358, 1206, 2117, 628, 10137, 18, 2074, 1199, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 pdb; pdb.set_trace()
def p_error(p): ex = MOFParseError() import pdb; pdb.set_trace() ex.file = p.lexer.parser.file ex.lineno = p.lineno ex.column = _find_column(p.lexer.parser.mof, p) ex.context = _get_error_context(p.lexer.parser.mof, p) raise ex
5139cfd8c0575cee7e78f310a5d4376e96b09a94 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10648/5139cfd8c0575cee7e78f310a5d4376e96b09a94/mof_compiler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 293, 67, 1636, 12, 84, 4672, 431, 273, 490, 3932, 21004, 1435, 431, 18, 768, 273, 293, 18, 31731, 18, 4288, 18, 768, 431, 18, 17782, 273, 293, 18, 17782, 431, 18, 2827, 273, 389, 4720, 67, 2827, 12, 84, 18, 31731, 18, 4288, 18, 81, 792, 16, 293, 13, 431, 18, 2472, 273, 389, 588, 67, 1636, 67, 2472, 12, 84, 18, 31731, 18, 4288, 18, 81, 792, 16, 293, 13, 1002, 431, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 293, 67, 1636, 12, 84, 4672, 431, 273, 490, 3932, 21004, 1435, 431, 18, 768, 273, 293, 18, 31731, 18, 4288, 18, 768, 431, 18, 17782, 273, 293, 18, 17782, 431, 18, 2827, 273, 389, 4720, 67, 2827, 12, 84, 18, 31731, 18, 4288, 18, 81, 792, 16, 293, 13, 431, 18, 2472, 273, 389, 588, 67, 1636, 67, 2472, 12, 84, 18, 31731, 18, 4288, 18, 81, 792, 16, 293, 13, 1002, 431, 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 ]
def __init__(self, path, *args, **kwargs):
def __init__(self, path):
def __init__(self, path, *args, **kwargs): FileSystemEvent.__init__(self, event_type=EVENT_TYPE_DELETED, path=path)
c9abda2ffe9e9a0a2b5734531bea05a9cd758f50 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14346/c9abda2ffe9e9a0a2b5734531bea05a9cd758f50/events.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 589, 4672, 10931, 1133, 16186, 2738, 972, 12, 2890, 16, 871, 67, 723, 33, 10454, 67, 2399, 67, 27392, 16, 589, 33, 803, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 589, 4672, 10931, 1133, 16186, 2738, 972, 12, 2890, 16, 871, 67, 723, 33, 10454, 67, 2399, 67, 27392, 16, 589, 33, 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, -100, -100, -100, -100, -100, -100, -100, -100 ]
volume_mapper.SetVolumeRayCastFunction(composite_function)
def LoadVolume(self): proj = Project() image = proj.imagedata
8f6722c0ec701c0388681c4d85c9eb9c0b037b63 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10228/8f6722c0ec701c0388681c4d85c9eb9c0b037b63/volume.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4444, 4545, 12, 2890, 4672, 10296, 273, 5420, 1435, 1316, 273, 10296, 18, 381, 11349, 396, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4444, 4545, 12, 2890, 4672, 10296, 273, 5420, 1435, 1316, 273, 10296, 18, 381, 11349, 396, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
cmd += abs(speed)*"key right\n"
cmd += (speed / 5) * "key up\n" cmd += (speed % 5) * "key right\n"
def wmcb(self, messages): state = self.state for message in messages: if message[0] == cwiid.MESG_BTN: state["buttons"] = message[1] #elif message[0] == cwiid.MESG_STATUS: # print "\nStatus: ", message[1] elif message[0] == cwiid.MESG_ERROR: if message[1] == cwiid.ERROR_DISCONNECT: self.wm = None if self.ms is not None: self.ms.close() self.ms = None continue else: print "ERROR: ", message[1] elif message[0] == cwiid.MESG_ACC: state["acc"] = message[1] else: print "Unknown message!", message laststate = self.laststate if ('buttons' in laststate) and (laststate['buttons'] <> state['buttons']): if state['buttons'] == 0: self.maxButtons = 0 elif state['buttons'] < self.maxButtons: continue else: self.maxButtons = state['buttons'] self.lasttime = 0 self.firstPress = True if laststate['buttons'] == cwiid.BTN_B and not state['buttons'] == cwiid.BTN_B: del state['BTN_B'] self.ms.cmd('play speed normal') if (laststate['buttons'] & cwiid.BTN_A and laststate['buttons'] & cwiid.BTN_B) and not (state['buttons'] & cwiid.BTN_A and state['buttons'] & cwiid.BTN_B): del state['BTN_AB'] #self.ms.cmd('play speed normal') if self.ms.ok() and (self.wm is not None) and (state["buttons"] > 0) and (time.time() > self.lasttime+self.responsiveness): self.lasttime = time.time() wasFirstPress = False if self.firstPress: wasFirstPress = True self.lasttime = self.lasttime + self.firstPressDelay self.firstPress = False # Stuff that doesn't need roll/etc calculations if state["buttons"] == cwiid.BTN_HOME: self.ms.cmd('key escape') if state["buttons"] == cwiid.BTN_A: self.ms.cmd('key enter') if state["buttons"] == cwiid.BTN_MINUS: self.ms.cmd('key d') if state["buttons"] == cwiid.BTN_UP: self.ms.cmd('key up') if state["buttons"] == cwiid.BTN_DOWN: self.ms.cmd('key down') if state["buttons"] == cwiid.BTN_LEFT: self.ms.cmd('key left') if state["buttons"] == cwiid.BTN_RIGHT: self.ms.cmd('key right') if state["buttons"] == cwiid.BTN_PLUS: self.ms.cmd('key p') if state["buttons"] == cwiid.BTN_1: self.ms.cmd('key i') if state["buttons"] == cwiid.BTN_2: self.ms.cmd('key m') # Do we need to calculate roll, etc? # Currently only BTN_B needs this. calcAcc = state["buttons"] & cwiid.BTN_B if calcAcc: # Calculate the roll/etc. X = self.wii_rel(state["acc"][cwiid.X], cwiid.X) Y = self.wii_rel(state["acc"][cwiid.Y], cwiid.Y) Z = self.wii_rel(state["acc"][cwiid.Z], cwiid.Z) if (Z==0): Z=0.00000001 # Hackishly prevents divide by zeros roll = atan(X/Z) if (Z <= 0.0): if (X>0): roll += 3.14159 else: roll -= 3.14159 pitch = atan(Y/Z*cos(roll)) #print "X: %f, Y: %f, Z: %f; R: %f, P: %f; B: %d \r" % (X, Y, Z, roll, pitch, state["buttons"]), sys.stdout.flush() if state["buttons"] & cwiid.BTN_B and state["buttons"] & cwiid.BTN_LEFT: self.ms.cmd('play seek beginning') if state["buttons"] & cwiid.BTN_B and state["buttons"] & cwiid.BTN_A: speed=do_scale(roll/3.14159, 20, 25) if (speed<-10): speed = -10 state['BTN_AB'] = speed cmd = "" # on first press, press a, # after then use the diff to press left/right if not 'BTN_AB' in laststate: # # query location # Playback Recorded 00:04:20 of 00:25:31 1x 30210 2008-09-10T09:18:00 6523 /video/30210_20080910091800.mpg 25 cmd += "play speed normal\nkey a\n"#"play speed normal\n" else: speed = speed - laststate['BTN_AB'] if speed > 0: cmd += abs(speed)*"key right\n" elif speed < 0: cmd += abs(speed)*"key left\n" if speed <> 0: self.wm.rumble=1 time.sleep(.05) self.wm.rumble=0 if cmd is not None and cmd: self.ms.raw(cmd) if state["buttons"] == cwiid.BTN_B: speed=do_scale(roll/3.14159, 8, 13) state['BTN_B'] = speed if not 'BTN_B' in laststate: # # query location # Playback Recorded 00:04:20 of 00:25:31 1x 30210 2008-09-10T09:18:00 6523 /video/30210_20080910091800.mpg 25 cmd = ""#"play speed normal\n" if speed > 0: cmd += "key .\n" elif speed < 0: cmd += "key ,\n" if speed <> 0: cmd += "key "+str(abs(speed)-1)+"\n" #print cmd elif laststate['BTN_B']<>speed: self.wm.rumble=1 time.sleep(.05) self.wm.rumble=0 if speed == 0: cmd = "play speed normal" elif ((laststate['BTN_B'] > 0) and (speed > 0)) or ((laststate['BTN_B'] < 0) and (speed < 0)): cmd = "key "+str(abs(speed)-1)+"\n" elif speed>0: cmd = "key .\nkey "+str(abs(speed)-1)+"\n" else: cmd = "key ,\nkey "+str(abs(speed)-1)+"\n" else: cmd = None if cmd is not None: self.ms.raw(cmd) self.laststate = state.copy() #NOTE TO SELF: REMEMBER .copy() !!!
9eb36b0ba14388c68d42a46c215a4db9e14b59c4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10401/9eb36b0ba14388c68d42a46c215a4db9e14b59c4/myth_py_wii.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 18200, 7358, 12, 2890, 16, 2743, 4672, 919, 273, 365, 18, 2019, 364, 883, 316, 2743, 30, 309, 883, 63, 20, 65, 422, 14098, 77, 350, 18, 958, 30820, 67, 38, 56, 50, 30, 919, 9614, 16016, 11929, 273, 883, 63, 21, 65, 468, 292, 430, 883, 63, 20, 65, 422, 14098, 77, 350, 18, 958, 30820, 67, 8608, 30, 468, 202, 1188, 1548, 82, 1482, 30, 3104, 883, 63, 21, 65, 1327, 883, 63, 20, 65, 422, 14098, 77, 350, 18, 958, 30820, 67, 3589, 30, 309, 883, 63, 21, 65, 422, 14098, 77, 350, 18, 3589, 67, 13498, 11032, 30, 365, 18, 91, 81, 273, 599, 309, 365, 18, 959, 353, 486, 599, 30, 365, 18, 959, 18, 4412, 1435, 365, 18, 959, 273, 599, 1324, 469, 30, 1172, 315, 3589, 30, 3104, 883, 63, 21, 65, 1327, 883, 63, 20, 65, 422, 14098, 77, 350, 18, 958, 30820, 67, 31414, 30, 919, 9614, 8981, 11929, 273, 883, 63, 21, 65, 469, 30, 1172, 315, 4874, 883, 5, 3113, 883, 1142, 2019, 273, 365, 18, 2722, 2019, 309, 7707, 16016, 11, 316, 1142, 2019, 13, 471, 261, 2722, 2019, 3292, 16016, 3546, 2813, 919, 3292, 16016, 3546, 4672, 309, 919, 3292, 16016, 3546, 422, 374, 30, 365, 18, 1896, 14388, 273, 374, 1327, 919, 3292, 16016, 3546, 411, 365, 18, 1896, 14388, 30, 1324, 469, 30, 365, 18, 1896, 14388, 273, 919, 3292, 16016, 3546, 365, 18, 2722, 957, 273, 374, 365, 18, 3645, 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, 18200, 7358, 12, 2890, 16, 2743, 4672, 919, 273, 365, 18, 2019, 364, 883, 316, 2743, 30, 309, 883, 63, 20, 65, 422, 14098, 77, 350, 18, 958, 30820, 67, 38, 56, 50, 30, 919, 9614, 16016, 11929, 273, 883, 63, 21, 65, 468, 292, 430, 883, 63, 20, 65, 422, 14098, 77, 350, 18, 958, 30820, 67, 8608, 30, 468, 202, 1188, 1548, 82, 1482, 30, 3104, 883, 63, 21, 65, 1327, 883, 63, 20, 65, 422, 14098, 77, 350, 18, 958, 30820, 67, 3589, 30, 309, 883, 63, 21, 65, 422, 14098, 77, 350, 18, 3589, 67, 13498, 11032, 30, 365, 18, 91, 81, 273, 599, 309, 365, 18, 959, 353, 486, 599, 30, 365, 18, 2 ]
if iface[0:3] == ETHERNET_PREFIX:
if is_wired( iface[0:3] ):
def remove_dummy(): """removes the dummy0 network configuration file """ filename = NETWORK_CONFIG_DIR + DUMMY_LAN try: # Backup the dummy file if os.path.exists( filename ): os.rename( filename, filename + BACKUP_SUFFIX ) except IOError, (errno, strerror): pass # Take no action if destination or backup file don't exist ! return
24dfada1e695168a5ff3ad6ccaa518a6a04acacc /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8479/24dfada1e695168a5ff3ad6ccaa518a6a04acacc/network_config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 67, 21050, 13332, 3536, 2764, 10829, 326, 9609, 20, 2483, 1664, 585, 3536, 1544, 273, 15351, 10566, 67, 7203, 67, 4537, 397, 463, 2799, 22114, 67, 11074, 775, 30, 468, 225, 11856, 326, 9609, 585, 309, 1140, 18, 803, 18, 1808, 12, 1544, 262, 30, 1140, 18, 18539, 12, 1544, 16, 1544, 397, 15842, 3079, 67, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 67, 21050, 13332, 3536, 2764, 10829, 326, 9609, 20, 2483, 1664, 585, 3536, 1544, 273, 15351, 10566, 67, 7203, 67, 4537, 397, 463, 2799, 22114, 67, 11074, 775, 30, 468, 225, 11856, 326, 9609, 585, 309, 1140, 18, 803, 18, 1808, 12, 1544, 262, 30, 1140, 18, 18539, 12, 1544, 16, 1544, 397, 15842, 3079, 67, 14964, 262, 1335, 8340, 16, 261, 19088, 16, 609, 1636, 4672, 1342, 565, 468, 225, 17129, 1158, 1301, 309, 2929, 578, 5114, 585, 2727, 1404, 1005, 401, 327, 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 ]
children = node.children if len(children) == 2: name = children[0].astext() if name == 'syntaxhighlight': body = children[1].astext() args = body.split() if args[0] == 'on': self.syntaxhighlighting = 1 elif args[0] == 'off': self.syntaxhighlighting = 0 else: self.syntaxhighlight_lexer = args[0] raise nodes.SkipChildren()
pass
def visit_field(self, node): # Note that the syntaxhighlight directive produces this field node. # See class SyntaxHighlight, above. #ipshell('At visit_field') children = node.children if len(children) == 2: name = children[0].astext() if name == 'syntaxhighlight': body = children[1].astext() args = body.split() if args[0] == 'on': self.syntaxhighlighting = 1 elif args[0] == 'off': self.syntaxhighlighting = 0 else: self.syntaxhighlight_lexer = args[0] raise nodes.SkipChildren()
9f7a68885ccb5e448f0e1dc04a35bcae79a4721a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5620/9f7a68885ccb5e448f0e1dc04a35bcae79a4721a/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 1518, 12, 2890, 16, 756, 4672, 468, 3609, 716, 326, 6279, 15978, 8655, 15505, 333, 652, 756, 18, 468, 2164, 667, 11517, 16205, 16, 5721, 18, 468, 625, 10304, 2668, 861, 3757, 67, 1518, 6134, 2325, 273, 756, 18, 5906, 309, 562, 12, 5906, 13, 422, 576, 30, 508, 273, 2325, 63, 20, 8009, 689, 408, 1435, 309, 508, 422, 296, 14308, 15978, 4278, 1417, 273, 2325, 63, 21, 8009, 689, 408, 1435, 833, 273, 1417, 18, 4939, 1435, 309, 833, 63, 20, 65, 422, 296, 265, 4278, 365, 18, 14308, 15978, 310, 273, 404, 1327, 833, 63, 20, 65, 422, 296, 3674, 4278, 365, 18, 14308, 15978, 310, 273, 374, 469, 30, 365, 18, 14308, 15978, 67, 31731, 273, 833, 63, 20, 65, 1002, 2199, 18, 6368, 4212, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 1518, 12, 2890, 16, 756, 4672, 468, 3609, 716, 326, 6279, 15978, 8655, 15505, 333, 652, 756, 18, 468, 2164, 667, 11517, 16205, 16, 5721, 18, 468, 625, 10304, 2668, 861, 3757, 67, 1518, 6134, 2325, 273, 756, 18, 5906, 309, 562, 12, 5906, 13, 422, 576, 30, 508, 273, 2325, 63, 20, 8009, 689, 408, 1435, 309, 508, 422, 296, 14308, 15978, 4278, 1417, 273, 2325, 63, 21, 8009, 689, 408, 1435, 833, 273, 1417, 18, 4939, 1435, 309, 833, 63, 20, 65, 422, 296, 265, 4278, 365, 18, 14308, 15978, 310, 273, 404, 1327, 833, 63, 20, 65, 422, 296, 3674, 4278, 365, 18, 14308, 15978, 310, 273, 374, 469, 30, 365, 18, 14308, 2 ]
self.playEntry()
self.changeEntry(0)
def copyFile(self): self.playlist.addFile(self.filelist.getServiceRef()) self.playlist.updateList() if len(self.playlist) == 1: self.playEntry()
4df1ec945881b68e6cdaaf52dff719844b840e6a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/4df1ec945881b68e6cdaaf52dff719844b840e6a/MediaPlayer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26955, 12, 2890, 4672, 365, 18, 1601, 1098, 18, 1289, 812, 12, 2890, 18, 7540, 5449, 18, 588, 1179, 1957, 10756, 365, 18, 1601, 1098, 18, 2725, 682, 1435, 309, 562, 12, 2890, 18, 1601, 1098, 13, 422, 404, 30, 365, 18, 1601, 1622, 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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 2725, 682, 1435, 309, 562, 12, 2890, 18, 1601, 1098, 13, 422, 404, 30, 365, 18, 1601, 1622, 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 ]
def dhcp_request(**kargs):
def dhcp_request(iface=None,**kargs):
def dhcp_request(**kargs): if conf.checkIPaddr != 0: warning("conf.checkIPaddr is not 0, I may not be able to match the answer") return srp1(Ether(dst="ff:ff:ff:ff:ff:ff")/IP(src="0.0.0.0",dst="255.255.255.255")/UDP(sport=68,dport=67)/BOOTP()/DHCP(options=[("message-type","discover"),"end"]),**kargs)
e331990b0d8485c2b144b8e75bc86ef78d647e42 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7311/e331990b0d8485c2b144b8e75bc86ef78d647e42/scapy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24597, 67, 2293, 12, 31479, 33, 7036, 16, 636, 79, 1968, 4672, 309, 2195, 18, 1893, 2579, 4793, 480, 374, 30, 3436, 2932, 3923, 18, 1893, 2579, 4793, 353, 486, 374, 16, 467, 2026, 486, 506, 7752, 358, 845, 326, 5803, 7923, 327, 9133, 84, 21, 12, 41, 1136, 12, 11057, 1546, 1403, 30, 1403, 30, 1403, 30, 1403, 30, 1403, 30, 1403, 7923, 19, 2579, 12, 4816, 1546, 20, 18, 20, 18, 20, 18, 20, 3113, 11057, 1546, 10395, 18, 10395, 18, 10395, 18, 10395, 7923, 19, 20352, 12, 87, 655, 33, 9470, 16, 72, 655, 33, 9599, 13176, 5315, 25634, 1435, 19, 16501, 4258, 12, 2116, 22850, 2932, 2150, 17, 723, 15937, 2251, 3165, 6, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24597, 67, 2293, 12, 31479, 33, 7036, 16, 636, 79, 1968, 4672, 309, 2195, 18, 1893, 2579, 4793, 480, 374, 30, 3436, 2932, 3923, 18, 1893, 2579, 4793, 353, 486, 374, 16, 467, 2026, 486, 506, 7752, 358, 845, 326, 5803, 7923, 327, 9133, 84, 21, 12, 41, 1136, 12, 11057, 1546, 1403, 30, 1403, 30, 1403, 30, 1403, 30, 1403, 30, 1403, 7923, 19, 2579, 12, 4816, 1546, 20, 18, 20, 18, 20, 18, 20, 3113, 11057, 1546, 10395, 18, 10395, 18, 10395, 18, 10395, 7923, 19, 20352, 12, 87, 655, 33, 9470, 16, 72, 655, 33, 9599, 13176, 5315, 25634, 1435, 19, 16501, 4258, 12, 2116, 22850, 2932, 2150, 17, 723, 15937, 2251, 3165, 6, 3631, 2 ]
self.tempWidget.updateText(string)
self.tempWidget.updateText(newName)
def renameActiveWidget(self): exName = str(self.tempWidget.caption) (string,ok) = QInputDialog.getText("Rename", "Enter new name for the widget \"" + exName + "\":", exName) if ok and self.tempWidget != None and str(string) != exName: for widget in self.doc.widgets: if widget.caption.lower() == str(string).lower(): QMessageBox.critical(self,'Qrange Canvas','Unable to rename widget. An instance with that name already exists.', QMessageBox.Ok + QMessageBox.Default) return self.tempWidget.updateText(string) self.tempWidget.updateTooltip() self.doc.enableSave(TRUE)
8fe08ff5b06f53d59ada1a22beecbc7804b22e9b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/8fe08ff5b06f53d59ada1a22beecbc7804b22e9b/orngView.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6472, 3896, 4609, 12, 2890, 4672, 431, 461, 273, 609, 12, 2890, 18, 5814, 4609, 18, 15386, 13, 261, 1080, 16, 601, 13, 273, 2238, 1210, 6353, 18, 588, 1528, 2932, 16019, 3113, 315, 10237, 394, 508, 364, 326, 3604, 11843, 397, 431, 461, 397, 7023, 2773, 16, 431, 461, 13, 309, 1529, 471, 365, 18, 5814, 4609, 480, 599, 471, 609, 12, 1080, 13, 480, 431, 461, 30, 364, 3604, 316, 365, 18, 2434, 18, 18148, 30, 309, 3604, 18, 15386, 18, 8167, 1435, 422, 609, 12, 1080, 2934, 8167, 13332, 30728, 18, 28000, 12, 2890, 11189, 53, 3676, 20966, 17023, 3370, 358, 6472, 3604, 18, 1922, 791, 598, 716, 508, 1818, 1704, 1093, 16, 225, 30728, 18, 8809, 397, 30728, 18, 1868, 13, 327, 365, 18, 5814, 4609, 18, 2725, 1528, 12, 2704, 461, 13, 365, 18, 5814, 4609, 18, 2725, 22444, 1435, 365, 18, 2434, 18, 7589, 4755, 12, 18724, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6472, 3896, 4609, 12, 2890, 4672, 431, 461, 273, 609, 12, 2890, 18, 5814, 4609, 18, 15386, 13, 261, 1080, 16, 601, 13, 273, 2238, 1210, 6353, 18, 588, 1528, 2932, 16019, 3113, 315, 10237, 394, 508, 364, 326, 3604, 11843, 397, 431, 461, 397, 7023, 2773, 16, 431, 461, 13, 309, 1529, 471, 365, 18, 5814, 4609, 480, 599, 471, 609, 12, 1080, 13, 480, 431, 461, 30, 364, 3604, 316, 365, 18, 2434, 18, 18148, 30, 309, 3604, 18, 15386, 18, 8167, 1435, 422, 609, 12, 1080, 2934, 8167, 13332, 30728, 18, 28000, 12, 2890, 11189, 53, 3676, 20966, 17023, 3370, 358, 6472, 3604, 18, 1922, 791, 598, 716, 508, 1818, 1704, 1093, 16, 225, 30728, 2 ]
return
try: stream = self.stream_remove(id = event.strm_id) self.stream_remove(source_port = stream.source_port) except KeyError: pass
def getSourcePort(): portsep = event.source_addr.rfind(':') return int(event.source_addr[portsep+1:])
3eb31b35f41173269b4e298a4ca401582686deab /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9986/3eb31b35f41173269b4e298a4ca401582686deab/torbel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7889, 2617, 13332, 1756, 10814, 273, 871, 18, 3168, 67, 4793, 18, 86, 4720, 2668, 2497, 13, 327, 509, 12, 2575, 18, 3168, 67, 4793, 63, 655, 10814, 15, 21, 30, 5717, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7889, 2617, 13332, 1756, 10814, 273, 871, 18, 3168, 67, 4793, 18, 86, 4720, 2668, 2497, 13, 327, 509, 12, 2575, 18, 3168, 67, 4793, 63, 655, 10814, 15, 21, 30, 5717, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def interaction(self, message, fid, iid):
def interaction(self, message, fid, modified_info):
def interaction(self, message, fid, iid): ##print "interaction: (%s, %s, %s)" % (`message`,`fid`, `iid`) frame = FrameProxy(self.conn, fid) info = None # XXX for now self.gui.interaction(message, frame, info)
f50d0f96a22c3316e023e7a1b6441baf4d54ece3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/f50d0f96a22c3316e023e7a1b6441baf4d54ece3/RemoteDebugger.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13581, 12, 2890, 16, 883, 16, 13444, 16, 22819, 4672, 7541, 1188, 315, 30303, 30, 6142, 87, 16, 738, 87, 16, 738, 87, 2225, 738, 21863, 2150, 9191, 68, 27268, 9191, 1375, 77, 350, 24065, 2623, 273, 8058, 3886, 12, 2890, 18, 4646, 16, 13444, 13, 1123, 273, 599, 468, 11329, 364, 2037, 365, 18, 20292, 18, 30303, 12, 2150, 16, 2623, 16, 1123, 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,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2890, 18, 4646, 16, 13444, 13, 1123, 273, 599, 468, 11329, 364, 2037, 365, 18, 20292, 18, 30303, 12, 2150, 16, 2623, 16, 1123, 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 ]
'generated_resources*.xtb'))
'google_chrome_strings*.xtb'))
def CollectTranslatedStrings(): """Collects all the translations for all the strings specified by kStringIds. Returns a list of tuples of (string_id, language, translated string). The list is sorted by language codes.""" kGeneratedResourcesPath = os.path.join(path_utils.ScriptDir(), '..', '..', '..', 'app/generated_resources.grd') kTranslationDirectory = os.path.join(path_utils.ScriptDir(), '..', '..', '..', 'app', 'resources') kTranslationFiles = glob.glob(os.path.join(kTranslationDirectory, 'generated_resources*.xtb')) # Get the strings out of generated_resources.grd. dom = minidom.parse(kGeneratedResourcesPath) # message_nodes is a list of message dom nodes corresponding to the string # ids we care about. We want to make sure that this list is in the same # order as kStringIds so we can associate them together. message_nodes = [] all_message_nodes = dom.getElementsByTagName('message') for string_id in kStringIds: message_nodes.append([x for x in all_message_nodes if x.getAttribute('name') == string_id][0]) message_texts = [node.firstChild.nodeValue.strip() for node in message_nodes] # The fingerprint of the string is the message ID in the translation files # (xtb files). translation_ids = [str(FP.FingerPrint(text)) for text in message_texts] # Manually put _EN_US in the list of translated strings because it doesn't # have a .xtb file. translated_strings = [] for string_id, message_text in zip(kStringIds, message_texts): translated_strings.append(TranslationStruct(string_id + '_EN_US', 'EN_US', message_text)) # Gather the translated strings from the .xtb files. If an .xtb file doesn't # have the string we want, use the en-US string. for xtb_filename in kTranslationFiles: dom = minidom.parse(xtb_filename) language = dom.documentElement.getAttribute('lang') language = language.replace('-', '_').upper() translation_nodes = {} for translation_node in dom.getElementsByTagName('translation'): translation_id = translation_node.getAttribute('id') if translation_id in translation_ids: translation_nodes[translation_id] = (translation_node.firstChild .nodeValue .strip()) for i, string_id in enumerate(kStringIds): translated_string = translation_nodes.get(translation_ids[i], message_texts[i]) translated_strings.append(TranslationStruct(string_id + '_' + language, language, translated_string)) translated_strings.sort() return translated_strings
b08de9cd2ea9c8412134843fb4520cbed9a21d71 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9392/b08de9cd2ea9c8412134843fb4520cbed9a21d71/create_string_rc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9302, 20421, 7957, 13332, 3536, 28791, 777, 326, 7863, 364, 777, 326, 2064, 1269, 635, 417, 780, 2673, 18, 2860, 279, 666, 434, 10384, 434, 261, 1080, 67, 350, 16, 2653, 16, 9955, 533, 2934, 1021, 666, 353, 3115, 635, 2653, 6198, 12123, 417, 7823, 3805, 743, 273, 1140, 18, 803, 18, 5701, 12, 803, 67, 5471, 18, 3651, 1621, 9334, 11597, 2187, 11597, 2187, 11597, 2187, 296, 2910, 19, 11168, 67, 4683, 18, 3197, 72, 6134, 417, 6717, 2853, 273, 1140, 18, 803, 18, 5701, 12, 803, 67, 5471, 18, 3651, 1621, 9334, 11597, 2187, 11597, 2187, 11597, 2187, 296, 2910, 2187, 296, 4683, 6134, 417, 6717, 2697, 273, 4715, 18, 10581, 12, 538, 18, 803, 18, 5701, 12, 79, 6717, 2853, 16, 296, 9536, 67, 343, 10896, 67, 10219, 11146, 15239, 70, 26112, 225, 468, 968, 326, 2064, 596, 434, 4374, 67, 4683, 18, 3197, 72, 18, 4092, 273, 1131, 350, 362, 18, 2670, 12, 79, 7823, 3805, 743, 13, 468, 883, 67, 4690, 353, 279, 666, 434, 883, 4092, 2199, 4656, 358, 326, 533, 468, 3258, 732, 7671, 2973, 18, 225, 1660, 2545, 358, 1221, 3071, 716, 333, 666, 353, 316, 326, 1967, 468, 1353, 487, 417, 780, 2673, 1427, 732, 848, 13251, 2182, 9475, 18, 883, 67, 4690, 273, 5378, 777, 67, 2150, 67, 4690, 273, 4092, 18, 588, 3471, 10401, 2668, 2150, 6134, 364, 533, 67, 350, 316, 417, 780, 2673, 30, 883, 67, 4690, 18, 6923, 3816, 92, 364, 619, 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, 9302, 20421, 7957, 13332, 3536, 28791, 777, 326, 7863, 364, 777, 326, 2064, 1269, 635, 417, 780, 2673, 18, 2860, 279, 666, 434, 10384, 434, 261, 1080, 67, 350, 16, 2653, 16, 9955, 533, 2934, 1021, 666, 353, 3115, 635, 2653, 6198, 12123, 417, 7823, 3805, 743, 273, 1140, 18, 803, 18, 5701, 12, 803, 67, 5471, 18, 3651, 1621, 9334, 11597, 2187, 11597, 2187, 11597, 2187, 296, 2910, 19, 11168, 67, 4683, 18, 3197, 72, 6134, 417, 6717, 2853, 273, 1140, 18, 803, 18, 5701, 12, 803, 67, 5471, 18, 3651, 1621, 9334, 11597, 2187, 11597, 2187, 11597, 2187, 296, 2910, 2187, 296, 4683, 6134, 417, 6717, 2697, 273, 4715, 18, 10581, 12, 538, 18, 803, 18, 2 ]
self._b = [1] self._n = 2
self._precompute(2)
def __init__(self): SloaneSequence.__init__(self, offset=1) self._b = [1] self._n = 2
f39555539dee27d5652338bfe511963a64e94cae /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/f39555539dee27d5652338bfe511963a64e94cae/sloane_functions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 348, 383, 8806, 4021, 16186, 2738, 972, 12, 2890, 16, 1384, 33, 21, 13, 365, 6315, 70, 273, 306, 21, 65, 365, 6315, 82, 273, 576, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 348, 383, 8806, 4021, 16186, 2738, 972, 12, 2890, 16, 1384, 33, 21, 13, 365, 6315, 70, 273, 306, 21, 65, 365, 6315, 82, 273, 576, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
"contact_email", "licence", "classifiers",
"contact_email", "license", "classifiers",
def is_pure (self): return (self.has_pure_modules() and not self.has_ext_modules() and not self.has_c_libraries())
06271ef5b8372972f1a04b114a1ee1b9edbf92fd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/06271ef5b8372972f1a04b114a1ee1b9edbf92fd/dist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 84, 594, 261, 2890, 4672, 327, 261, 2890, 18, 5332, 67, 84, 594, 67, 6400, 1435, 471, 486, 365, 18, 5332, 67, 408, 67, 6400, 1435, 471, 486, 365, 18, 5332, 67, 71, 67, 31417, 10756, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 84, 594, 261, 2890, 4672, 327, 261, 2890, 18, 5332, 67, 84, 594, 67, 6400, 1435, 471, 486, 365, 18, 5332, 67, 408, 67, 6400, 1435, 471, 486, 365, 18, 5332, 67, 71, 67, 31417, 10756, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for sensor, strategy in self._strategies[sock]:
for sensor, strategy in self._strategies[sock].items():
def on_client_disconnect(self, sock, msg, sock_valid): """Inform client it is about to be disconnected.""" if sock in self._strategies: for sensor, strategy in self._strategies[sock]: self._reactor.remove_strategy(strategy)
5810164fb9c10489a068765fbd688ef2e9cc7ad6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10400/5810164fb9c10489a068765fbd688ef2e9cc7ad6/katcp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 2625, 67, 20177, 12, 2890, 16, 7313, 16, 1234, 16, 7313, 67, 877, 4672, 3536, 25541, 1004, 518, 353, 2973, 358, 506, 17853, 12123, 309, 7313, 316, 365, 6315, 701, 15127, 30, 364, 10583, 16, 6252, 316, 365, 6315, 701, 15127, 63, 15031, 8009, 3319, 13332, 365, 6315, 266, 3362, 18, 4479, 67, 14914, 12, 14914, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 2625, 67, 20177, 12, 2890, 16, 7313, 16, 1234, 16, 7313, 67, 877, 4672, 3536, 25541, 1004, 518, 353, 2973, 358, 506, 17853, 12123, 309, 7313, 316, 365, 6315, 701, 15127, 30, 364, 10583, 16, 6252, 316, 365, 6315, 701, 15127, 63, 15031, 8009, 3319, 13332, 365, 6315, 266, 3362, 18, 4479, 67, 14914, 12, 14914, 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 ]
self.init_graphics_state()
def __init__(self,filename, pagesize=None, bottomup = 1, pageCompression=None, invariant = None, verbosity=0): """Create a canvas of a given size. etc.
9a440973033ba5e229a4fd6aede7303520f48d1f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7053/9a440973033ba5e229a4fd6aede7303520f48d1f/canvas.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 3459, 16, 4689, 554, 33, 7036, 16, 5469, 416, 273, 404, 16, 1363, 15270, 33, 7036, 16, 22514, 273, 599, 16, 11561, 33, 20, 4672, 3536, 1684, 279, 5953, 434, 279, 864, 963, 18, 5527, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3459, 16, 4689, 554, 33, 7036, 16, 5469, 416, 273, 404, 16, 1363, 15270, 33, 7036, 16, 22514, 273, 599, 16, 11561, 33, 20, 4672, 3536, 1684, 279, 5953, 434, 279, 864, 963, 18, 5527, 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 ]
sage: A2 = WeylCharacterRing(['A',2]) sage: a2 = WeightRing(A2) sage: chi = a2(0,0,0)+2*a2(1,0,0)+3*a2(2,0,0) sage: mu = 3*a2(0,0,0)+2*a2(1,0,0)+a2(2,0,0) sage: chi - mu -2*a2(0,0,0) + 2*a2(2,0,0)
sage: A2 = WeylCharacterRing(['A',2]) sage: a2 = WeightRing(A2) sage: chi = a2(0,0,0)+2*a2(1,0,0)+3*a2(2,0,0) sage: mu = 3*a2(0,0,0)+2*a2(1,0,0)+a2(2,0,0) sage: chi - mu -2*a2(0,0,0) + 2*a2(2,0,0)
def _sub_(self, y): """ EXAMPLES: sage: A2 = WeylCharacterRing(['A',2]) sage: a2 = WeightRing(A2) sage: chi = a2(0,0,0)+2*a2(1,0,0)+3*a2(2,0,0) sage: mu = 3*a2(0,0,0)+2*a2(1,0,0)+a2(2,0,0) sage: chi - mu -2*a2(0,0,0) + 2*a2(2,0,0) """ return self._add_(y._neg_())
af4f5f46d5016de6167398d67987ba1855db181e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/af4f5f46d5016de6167398d67987ba1855db181e/weyl_characters.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1717, 67, 12, 2890, 16, 677, 4672, 3536, 5675, 8900, 11386, 30, 272, 410, 30, 432, 22, 273, 678, 402, 80, 7069, 10369, 12, 3292, 37, 2187, 22, 5717, 272, 410, 30, 279, 22, 273, 15437, 10369, 12, 37, 22, 13, 272, 410, 30, 17198, 273, 279, 22, 12, 20, 16, 20, 16, 20, 27921, 22, 14, 69, 22, 12, 21, 16, 20, 16, 20, 27921, 23, 14, 69, 22, 12, 22, 16, 20, 16, 20, 13, 272, 410, 30, 4129, 273, 225, 890, 14, 69, 22, 12, 20, 16, 20, 16, 20, 27921, 22, 14, 69, 22, 12, 21, 16, 20, 16, 20, 27921, 69, 22, 12, 22, 16, 20, 16, 20, 13, 272, 410, 30, 17198, 300, 4129, 300, 22, 14, 69, 22, 12, 20, 16, 20, 16, 20, 13, 397, 576, 14, 69, 22, 12, 22, 16, 20, 16, 20, 13, 3536, 327, 365, 6315, 1289, 67, 12, 93, 6315, 14518, 67, 10756, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 22, 13, 272, 410, 30, 17198, 273, 279, 22, 12, 20, 16, 20, 16, 20, 27921, 22, 14, 69, 22, 12, 21, 16, 20, 16, 20, 27921, 23, 14, 69, 22, 12, 22, 16, 20, 16, 20, 13, 272, 410, 30, 4129, 273, 225, 890, 14, 69, 22, 12, 20, 16, 20, 16, 20, 27921, 22, 14, 69, 22, 12, 21, 16, 20, 16, 20, 27921, 69, 22, 12, 22, 16, 20, 16, 20, 13, 272, 410, 30, 2 ]
return '%s %s.' % ( prio, hostname )
return '%s %s %s %s' % ( prio, weight, port, hostname )
def validRecord( self, recordType, recordData, networkName = None ): # Eliminate trailing . pieces = recordData.split() if len( pieces ) != 4: return None prio = pieces[0] weight = pieces[1] port = pieces[2] hostname = pieces[3] fqdnValidator = FQDNValidator( self.__state ) if not( prio.isdigit() ): return None hostname = fqdnValidator.validRecord('fqdn', hostname, networkName) if not( hostname ): return None return '%s %s.' % ( prio, hostname )
f9e614d0dd14f6370a65e7304af604140c92cb6a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11768/f9e614d0dd14f6370a65e7304af604140c92cb6a/validate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 923, 2115, 12, 365, 16, 1409, 559, 16, 23065, 16, 2483, 461, 273, 599, 262, 30, 468, 512, 7091, 3322, 7341, 263, 10167, 273, 23065, 18, 4939, 1435, 309, 562, 12, 10167, 262, 480, 1059, 30, 327, 599, 14705, 83, 273, 10167, 63, 20, 65, 3119, 273, 10167, 63, 21, 65, 1756, 273, 10167, 63, 22, 65, 5199, 273, 10167, 63, 23, 65, 19897, 5126, 273, 23127, 8609, 5126, 12, 365, 16186, 2019, 262, 309, 486, 12, 14705, 83, 18, 291, 11052, 1435, 262, 30, 327, 599, 5199, 273, 19897, 5126, 18, 877, 2115, 2668, 19206, 5176, 2187, 5199, 16, 2483, 461, 13, 309, 486, 12, 5199, 262, 30, 327, 599, 327, 1995, 87, 738, 87, 1093, 738, 261, 14705, 83, 16, 5199, 262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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, 923, 2115, 12, 365, 16, 1409, 559, 16, 23065, 16, 2483, 461, 273, 599, 262, 30, 468, 512, 7091, 3322, 7341, 263, 10167, 273, 23065, 18, 4939, 1435, 309, 562, 12, 10167, 262, 480, 1059, 30, 327, 599, 14705, 83, 273, 10167, 63, 20, 65, 3119, 273, 10167, 63, 21, 65, 1756, 273, 10167, 63, 22, 65, 5199, 273, 10167, 63, 23, 65, 19897, 5126, 273, 23127, 8609, 5126, 12, 365, 16186, 2019, 262, 309, 486, 12, 14705, 83, 18, 291, 11052, 1435, 262, 30, 327, 599, 5199, 273, 19897, 5126, 18, 877, 2115, 2668, 19206, 5176, 2187, 5199, 16, 2483, 461, 13, 309, 486, 12, 5199, 262, 30, 327, 599, 327, 1995, 87, 738, 87, 1093, 738, 2 ]
link = Link(`uid`, uid)
link = Link(uid.name(), uid)
def _extract_index(self): """ @return: A dictionary mapping from terms to lists of source documents. @rtype: C{dictionary} """ index = {} for (uid, doc) in self._docmap.items(): if (not self._show_private) and self._is_private(`uid`): continue if uid.is_function(): link = Link(`uid`, uid.module()) elif uid.is_method(): link = Link(`uid`, uid.cls()) else: link = Link(`uid`, uid)
36aef14a0edb4bd18076686105d0e4e6c7c10c23 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/36aef14a0edb4bd18076686105d0e4e6c7c10c23/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8004, 67, 1615, 12, 2890, 4672, 3536, 632, 2463, 30, 432, 3880, 2874, 628, 6548, 358, 6035, 434, 1084, 7429, 18, 632, 86, 723, 30, 385, 95, 15556, 97, 3536, 770, 273, 2618, 364, 261, 1911, 16, 997, 13, 316, 365, 6315, 2434, 1458, 18, 3319, 13332, 309, 261, 902, 365, 6315, 4500, 67, 1152, 13, 471, 365, 6315, 291, 67, 1152, 12, 68, 1911, 68, 4672, 1324, 225, 309, 4555, 18, 291, 67, 915, 13332, 1692, 273, 4048, 12, 68, 1911, 9191, 4555, 18, 2978, 10756, 1327, 4555, 18, 291, 67, 2039, 13332, 1692, 273, 4048, 12, 68, 1911, 9191, 4555, 18, 6429, 10756, 469, 30, 1692, 273, 4048, 12, 68, 1911, 9191, 4555, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8004, 67, 1615, 12, 2890, 4672, 3536, 632, 2463, 30, 432, 3880, 2874, 628, 6548, 358, 6035, 434, 1084, 7429, 18, 632, 86, 723, 30, 385, 95, 15556, 97, 3536, 770, 273, 2618, 364, 261, 1911, 16, 997, 13, 316, 365, 6315, 2434, 1458, 18, 3319, 13332, 309, 261, 902, 365, 6315, 4500, 67, 1152, 13, 471, 365, 6315, 291, 67, 1152, 12, 68, 1911, 68, 4672, 1324, 225, 309, 4555, 18, 291, 67, 915, 13332, 1692, 273, 4048, 12, 68, 1911, 9191, 4555, 18, 2978, 10756, 1327, 4555, 18, 291, 67, 2039, 13332, 1692, 273, 4048, 12, 68, 1911, 9191, 4555, 18, 6429, 10756, 469, 30, 1692, 273, 4048, 12, 68, 1911, 9191, 4555, 13, 2, -100 ]
raise NameError, 'invalid file %s to cat to command %s' % file, command
raise NameError, 'invalid file %s to cat to command %s' % (file, command)
def cat_file_to_cmd(file, command, ignorestatus = 0): """ equivalent to 'cat file | command' but knows to use zcat or bzcat if appropriate """ if not os.path.isfile(file): raise NameError, 'invalid file %s to cat to command %s' % file, command if file.endswith('.bz2'): return system('bzcat ' + file + ' | ' + command, ignorestatus) elif (file.endswith('.gz') or file.endswith('.tgz')): return system('zcat ' + file + ' | ' + command, ignorestatus) else: return system('cat ' + file + ' | ' + command, ignorestatus)
ebb036382c8770a5e3be2a148d6227b514391570 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12268/ebb036382c8770a5e3be2a148d6227b514391570/autotest_utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6573, 67, 768, 67, 869, 67, 4172, 12, 768, 16, 1296, 16, 2305, 2327, 273, 374, 4672, 3536, 7680, 358, 296, 2574, 585, 571, 1296, 11, 1496, 21739, 358, 999, 998, 2574, 578, 24788, 2574, 309, 5505, 3536, 309, 486, 1140, 18, 803, 18, 291, 768, 12, 768, 4672, 1002, 25473, 16, 296, 5387, 585, 738, 87, 358, 6573, 358, 1296, 738, 87, 11, 738, 261, 768, 16, 1296, 13, 309, 585, 18, 5839, 1918, 2668, 18, 25292, 22, 11, 4672, 327, 2619, 2668, 25292, 2574, 296, 397, 585, 397, 296, 571, 296, 397, 1296, 16, 2305, 2327, 13, 1327, 261, 768, 18, 5839, 1918, 2668, 18, 9764, 6134, 578, 585, 18, 5839, 1918, 2668, 18, 88, 9764, 26112, 30, 327, 2619, 2668, 94, 2574, 296, 397, 585, 397, 296, 571, 296, 397, 1296, 16, 2305, 2327, 13, 469, 30, 327, 2619, 2668, 2574, 296, 397, 585, 397, 296, 571, 296, 397, 1296, 16, 2305, 2327, 13, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6573, 67, 768, 67, 869, 67, 4172, 12, 768, 16, 1296, 16, 2305, 2327, 273, 374, 4672, 3536, 7680, 358, 296, 2574, 585, 571, 1296, 11, 1496, 21739, 358, 999, 998, 2574, 578, 24788, 2574, 309, 5505, 3536, 309, 486, 1140, 18, 803, 18, 291, 768, 12, 768, 4672, 1002, 25473, 16, 296, 5387, 585, 738, 87, 358, 6573, 358, 1296, 738, 87, 11, 738, 261, 768, 16, 1296, 13, 309, 585, 18, 5839, 1918, 2668, 18, 25292, 22, 11, 4672, 327, 2619, 2668, 25292, 2574, 296, 397, 585, 397, 296, 571, 296, 397, 1296, 16, 2305, 2327, 13, 1327, 261, 768, 18, 5839, 1918, 2668, 18, 9764, 6134, 578, 585, 18, 5839, 1918, 2668, 18, 88, 9764, 2 ]
siteSumDict['Status'] = 'Poor'
siteSumDict['Status'] = 'Poor'
def getPilotSummaryWeb(self,selectDict,sortList,startItem,maxItems): """ Get summary of the pilot jobs status by CE/site in a standard structure """
4281b6ebd17e9e6456de007d4a03f9fe1ab6a236 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/4281b6ebd17e9e6456de007d4a03f9fe1ab6a236/PilotAgentsDB.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1689, 22797, 4733, 4079, 12, 2890, 16, 4025, 5014, 16, 3804, 682, 16, 1937, 1180, 16, 1896, 3126, 4672, 3536, 968, 4916, 434, 326, 293, 22797, 6550, 1267, 635, 29538, 19, 4256, 316, 279, 4529, 3695, 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, 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937, 1180, 16, 1896, 3126, 4672, 3536, 968, 4916, 434, 326, 293, 22797, 6550, 1267, 635, 29538, 19, 4256, 316, 279, 4529, 3695, 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 ]
"""
r"""
def __init__(self): """ Create free hexadecimal string monoid on generators $\{0,1,..,9,a,b,c,d,e,f\}$.
ca219b0206186a194cdf8e11d2082bec654536f8 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/ca219b0206186a194cdf8e11d2082bec654536f8/string_monoid.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 436, 8395, 1788, 4843, 20070, 533, 6921, 839, 603, 13327, 271, 64, 95, 20, 16, 21, 16, 838, 16, 29, 16, 69, 16, 70, 16, 71, 16, 72, 16, 73, 16, 74, 64, 22496, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 436, 8395, 1788, 4843, 20070, 533, 6921, 839, 603, 13327, 271, 64, 95, 20, 16, 21, 16, 838, 16, 29, 16, 69, 16, 70, 16, 71, 16, 72, 16, 73, 16, 74, 64, 22496, 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 ]
self.formatRadio = self.xml.get_widget("formatRadio")
self.formatCheck = self.xml.get_widget("formatCheck") self.ok_button = self.xml.get_widget("ok_part_button") self.fsTypeCombo.list.connect("selection-changed", self.on_fsTypeCombo_set_focus_child)
def __init__(self, xml, partClist): self.xml = xml self.partClist = partClist self.partitionDialog = self.xml.get_widget("partition_dialog") self.partitionDialog.connect ("destroy", self.destroy) self.mountPointCombo = self.xml.get_widget("mountPointCombo") self.fsTypeCombo = self.xml.get_widget("fsTypeCombo") self.sizeCombo = self.xml.get_widget("sizeCombo") self.asPrimaryCheck = self.xml.get_widget("asPrimaryCheck") self.asPrimaryNumCheck = self.xml.get_widget("asPrimaryNumCheck") self.asPrimaryNumCombo = self.xml.get_widget("asPrimaryNumCombo") self.asPrimaryNumBox = self.xml.get_widget("asPrimaryNumBox") self.onDiskCheck = self.xml.get_widget("onDiskCheck") self.onDiskEntry = self.xml.get_widget("onDiskEntry") self.onDiskBox = self.xml.get_widget("onDiskBox") self.onPartCheck = self.xml.get_widget("onPartCheck") self.onPartEntry = self.xml.get_widget("onPartEntry") self.onPartBox = self.xml.get_widget("onPartBox") self.sizeFixedRadio = self.xml.get_widget("sizeFixedRadio") self.sizeSetRadio = self.xml.get_widget("sizeSetRadio") self.sizeMaxRadio = self.xml.get_widget("sizeMaxRadio") self.maxSizeCombo = self.xml.get_widget("maxSizeCombo") self.formatRadio = self.xml.get_widget("formatRadio")
929ed22dc2ac34d175a48b1a35936e1cabfd84f4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5376/929ed22dc2ac34d175a48b1a35936e1cabfd84f4/partWindow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2025, 16, 1087, 39, 1098, 4672, 365, 18, 2902, 273, 2025, 365, 18, 2680, 39, 1098, 273, 1087, 39, 1098, 365, 18, 10534, 6353, 273, 365, 18, 2902, 18, 588, 67, 6587, 2932, 10534, 67, 12730, 7923, 365, 18, 10534, 6353, 18, 3612, 7566, 11662, 3113, 365, 18, 11662, 13, 365, 18, 4778, 2148, 16156, 273, 365, 18, 2902, 18, 588, 67, 6587, 2932, 4778, 2148, 16156, 7923, 365, 18, 2556, 559, 16156, 273, 365, 18, 2902, 18, 588, 67, 6587, 2932, 2556, 559, 16156, 7923, 365, 18, 1467, 16156, 273, 365, 18, 2902, 18, 588, 67, 6587, 2932, 1467, 16156, 7923, 365, 18, 345, 6793, 1564, 273, 365, 18, 2902, 18, 588, 67, 6587, 2932, 345, 6793, 1564, 7923, 365, 18, 345, 6793, 2578, 1564, 273, 365, 18, 2902, 18, 588, 67, 6587, 2932, 345, 6793, 2578, 1564, 7923, 365, 18, 345, 6793, 2578, 16156, 273, 365, 18, 2902, 18, 588, 67, 6587, 2932, 345, 6793, 2578, 16156, 7923, 365, 18, 345, 6793, 2578, 3514, 273, 365, 18, 2902, 18, 588, 67, 6587, 2932, 345, 6793, 2578, 3514, 7923, 365, 18, 265, 6247, 1564, 273, 365, 18, 2902, 18, 588, 67, 6587, 2932, 265, 6247, 1564, 7923, 365, 18, 265, 6247, 1622, 273, 365, 18, 2902, 18, 588, 67, 6587, 2932, 265, 6247, 1622, 7923, 365, 18, 265, 6247, 3514, 273, 365, 18, 2902, 18, 588, 67, 6587, 2932, 265, 6247, 3514, 7923, 365, 18, 265, 1988, 1564, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2025, 16, 1087, 39, 1098, 4672, 365, 18, 2902, 273, 2025, 365, 18, 2680, 39, 1098, 273, 1087, 39, 1098, 365, 18, 10534, 6353, 273, 365, 18, 2902, 18, 588, 67, 6587, 2932, 10534, 67, 12730, 7923, 365, 18, 10534, 6353, 18, 3612, 7566, 11662, 3113, 365, 18, 11662, 13, 365, 18, 4778, 2148, 16156, 273, 365, 18, 2902, 18, 588, 67, 6587, 2932, 4778, 2148, 16156, 7923, 365, 18, 2556, 559, 16156, 273, 365, 18, 2902, 18, 588, 67, 6587, 2932, 2556, 559, 16156, 7923, 365, 18, 1467, 16156, 273, 365, 18, 2902, 18, 588, 67, 6587, 2932, 1467, 16156, 7923, 365, 18, 345, 6793, 1564, 273, 365, 18, 2902, 18, 2 ]
/.../release/RunChandler... --create --catch=tests --profileDir=.../test_profile --parcelPath=.../tools/QATestScripts/DataFiles --scriptFile=.../tools/cats/Functional/FunctionalTestSuite.py -D2 -M0 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + /.../debug/RunChandler... --create --catch=tests --profileDir=.../test_profile --parcelPath=.../tools/QATestScripts/DataFiles --scriptFile=.../tools/cats/Functional/FunctionalTestSuite.py -D2 -M0
/.../release/RunChandler... --create --catch=tests --profileDir=.../test_profile --parcelPath=.../tools/QATestScripts/DataFiles --scriptFile=tools/cats/Functional/FunctionalTestSuite.py -D2 -M0 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + /.../debug/RunChandler... --create --catch=tests --profileDir=.../test_profile --parcelPath=.../tools/QATestScripts/DataFiles --scriptFile=tools/cats/Functional/FunctionalTestSuite.py -D2 -M0
def runFuncTest(options, test='FunctionalTestSuite.py'): """ Run functional test >>> options = parseOptions() >>> checkOptions(options) >>> options.dryrun = True >>> options.verbose = True >>> options.modes = ['release', 'debug'] >>> runFuncTest(options) /.../release/RunChandler... --create --catch=tests --profileDir=.../test_profile --parcelPath=.../tools/QATestScripts/DataFiles --scriptFile=.../tools/cats/Functional/FunctionalTestSuite.py -D2 -M0 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + /.../debug/RunChandler... --create --catch=tests --profileDir=.../test_profile --parcelPath=.../tools/QATestScripts/DataFiles --scriptFile=.../tools/cats/Functional/FunctionalTestSuite.py -D2 -M0 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + False >>> runFuncTest(options, 'TestCreateAccounts.py') /.../release/RunChandler --create --catch=tests --profileDir=.../test_profile --parcelPath=.../tools/QATestScripts/DataFiles --chandlerTests=TestCreateAccounts.py -D2 -M0 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + /.../debug/RunChandler --create --catch=tests --profileDir=.../test_profile --parcelPath=.../tools/QATestScripts/DataFiles --chandlerTests=TestCreateAccounts.py -D2 -M0 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + False >>> options.noStop = True >>> runFuncTest(options, 'TestCreateAccounts.py') /.../release/RunChandler --create --catch=tests --profileDir=.../test_profile --parcelPath=.../tools/QATestScripts/DataFiles --chandlerTests=TestCreateAccounts.py -F -D2 -M0 ... """ # $CHANDLERBIN/$mode/$RUN_CHANDLER --create --catch=tests $FORCE_CONT --profileDir="$PC_DIR" --parcelPath="$PP_DIR" --scriptTimeout=720 --scriptFile="$TESTNAME" -D1 -M2 2>&1 | tee $TESTLOG failed = False for mode in options.modes: cmd = [ options.runchandler[mode], '--create', '--catch=tests', '--profileDir=%s' % options.profileDir, '--parcelPath=%s' % options.parcelPath] if test == 'FunctionalTestSuite.py': cmd += ['--scriptFile=%s' % os.path.join('tools', 'cats', 'Functional', test)] timeout = 1200 else: cmd += ['--chandlerTests=%s' % test] timeout = 900 if options.noStop: cmd += [ '-F' ] if options.verbose or test != 'FunctionalTestSuite.py': cmd += ['-D2', '-M0'] elif not options.verbose: cmd += ['-D1', '-M2'] if options.verbose: log(' '.join(cmd)) if options.dryrun: result = 0 else: result = build_lib.runCommand(cmd, timeout=timeout) if result != 0: log('***Error exit code=%d' % result) failed = True failedTests.append(test) if not options.noStop: break log('- + ' * 15) return failed
ad17cec5f290a1afe127c78e0b20723aa8b8bf15 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/ad17cec5f290a1afe127c78e0b20723aa8b8bf15/rt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 2622, 4709, 12, 2116, 16, 1842, 2218, 2083, 287, 4709, 13587, 18, 2074, 11, 4672, 3536, 1939, 18699, 1842, 225, 4080, 702, 273, 1109, 1320, 1435, 4080, 866, 1320, 12, 2116, 13, 4080, 702, 18, 25011, 2681, 225, 273, 1053, 4080, 702, 18, 11369, 273, 1053, 4080, 702, 18, 19282, 282, 273, 10228, 9340, 2187, 296, 4148, 3546, 225, 4080, 1086, 2622, 4709, 12, 2116, 13, 342, 2777, 19, 9340, 19, 1997, 782, 464, 749, 2777, 1493, 2640, 1493, 14683, 33, 16341, 1493, 5040, 1621, 33, 2777, 19, 3813, 67, 5040, 1493, 1065, 2183, 743, 33, 2777, 19, 6642, 19, 53, 789, 395, 15041, 19, 751, 2697, 1493, 4263, 812, 33, 6642, 19, 24750, 19, 2083, 287, 19, 2083, 287, 4709, 13587, 18, 2074, 300, 40, 22, 300, 49, 20, 300, 397, 300, 397, 300, 397, 300, 397, 300, 397, 300, 397, 300, 397, 300, 397, 300, 397, 300, 397, 300, 397, 300, 397, 300, 397, 300, 397, 300, 397, 342, 2777, 19, 4148, 19, 1997, 782, 464, 749, 2777, 1493, 2640, 1493, 14683, 33, 16341, 1493, 5040, 1621, 33, 2777, 19, 3813, 67, 5040, 1493, 1065, 2183, 743, 33, 2777, 19, 6642, 19, 53, 789, 395, 15041, 19, 751, 2697, 1493, 4263, 812, 33, 6642, 19, 24750, 19, 2083, 287, 19, 2083, 287, 4709, 13587, 18, 2074, 300, 40, 22, 300, 49, 20, 300, 397, 300, 397, 300, 397, 300, 397, 300, 397, 300, 397, 300, 397, 300, 397, 300, 397, 300, 397, 300, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 2622, 4709, 12, 2116, 16, 1842, 2218, 2083, 287, 4709, 13587, 18, 2074, 11, 4672, 3536, 1939, 18699, 1842, 225, 4080, 702, 273, 1109, 1320, 1435, 4080, 866, 1320, 12, 2116, 13, 4080, 702, 18, 25011, 2681, 225, 273, 1053, 4080, 702, 18, 11369, 273, 1053, 4080, 702, 18, 19282, 282, 273, 10228, 9340, 2187, 296, 4148, 3546, 225, 4080, 1086, 2622, 4709, 12, 2116, 13, 342, 2777, 19, 9340, 19, 1997, 782, 464, 749, 2777, 1493, 2640, 1493, 14683, 33, 16341, 1493, 5040, 1621, 33, 2777, 19, 3813, 67, 5040, 1493, 1065, 2183, 743, 33, 2777, 19, 6642, 19, 53, 789, 395, 15041, 19, 751, 2697, 1493, 4263, 812, 33, 6642, 19, 24750, 19, 2083, 287, 2 ]
track = 0
track = "0"
def update_db(slow, verbose=0): from mutagen import File cfg = Config.Config() timenow = time.time() #print "timenow %s" % timenow if slow: #filestr = "find %s -follow -type f -name \"*.mp3\" " % ( arc_root ) filestr = "find %s -follow -type f " % ( arc_root ) else: try: lastupdatesecs=float(cfg.GetConfigItem("lastupdate")) except: lastupdatesecs=0 #print "lastupdatesecs %s" % lastupdatesecs timediff = timenow - lastupdatesecs #print "timediff %s" % timediff #filestr = "find %s -type f -cmin -%d -name \"*.mp3\"" % ( arc_root, (timediff/60)+1 ) filestr = "find %s -type f -cmin -%d " % ( arc_root, (timediff/60)+1 ) cfg.SetConfigItem("lastupdate",str(timenow)) #print filestr files=os.popen(filestr) line_in = files.readline() while ( line_in != "" ): file = line_in[:-1] # chomp the \n line_in = files.readline() # grab the next line path = file[arc_len:] # cut the root off the filename # Check to see if this file is in the #log_message( verbose, "file_in: %s" % ( path ) ) songlist = SongListMaker.SongListMaker() try: songlist.SearchPath( path ) except: log_message( verbose, "error searching db for: %s" % ( path ) ) continue if ( len(songlist.list) > 1 ): for sid in songlist.list: song = Song.Song( sid ) print "#%d:%s" % ( sid, song.path ) raise "you got a problem here." #print file try: nfo = File(file) except AttributeError: print "%s:- Unknown file type"%(file) except KeyboardInterrupt: raise except Exception, err: print "%s:%s"%(file,str(err)) try: samplerate = float(nfo.info.sample_rate) except: print "#Invalid MPEG samplerate:", file continue try: length = float(nfo.info.length) except: print "#Invalid MPEG length:", file continue try: mime = nfo.mime[0] except: print "#Invalid mime/type:", file continue if nfo.tags != None: if nfo.tags.has_key('TPE1'): artist = nfo.tags['TPE1'].text[0].encode('ascii', 'replace') elif nfo.tags.has_key('artist'): artist = nfo.tags['artist'][0].encode('ascii', 'replace') else: artist = "" if nfo.tags.has_key('TALB'): album = nfo.tags['TALB'].text[0].encode('ascii', 'replace') elif nfo.tags.has_key('album'): album = nfo.tags['album'][0].encode('ascii', 'replace') else: album = "" if nfo.tags.has_key('TIT1'): title = nfo.tags['TIT1'].text[0].encode('ascii', 'replace') elif nfo.tags.has_key('TIT2'): title = nfo.tags['TIT2'].text[0].encode('ascii', 'replace') elif nfo.tags.has_key('title'): title = nfo.tags['title'][0].encode('ascii', 'replace') else: title = "" if nfo.tags.has_key('TRCK'): track = nfo.tags['TRCK'].text[0].encode('ascii', 'replace') elif nfo.tags.has_key('tracknumber'): track = nfo.tags['tracknumber'][0].encode('ascii', 'replace') else: track = 0 if not track.find("/") == -1: pos = track.find("/") track = int(track[0:pos]) else: track = int(track) if nfo.tags.has_key('TCON'): genre = nfo.tags['TCON'].text[0].encode('ascii', 'replace') elif nfo.tags.has_key('genre'): genre = nfo.tags['genre'][0].encode('ascii', 'replace') else: genre = "" if nfo.tags.has_key('TDRC'): year = nfo.tags['TDRC'].text[0].encode('ascii', 'replace') elif nfo.tags.has_key('date'): year = nfo.tags['date'][0].encode('ascii', 'replace') else: year = "" comment = "" else: artist="" album="" title="" track=0 genre="" year = "" comment = "" #print "%s %s %s %s %s %s"%(artist,album, title, track, genre, year) if ( len(songlist.list) > 0 ): song = Song.Song( songlist.list[0] ) if (song.artist == artist) and (song.album== album) and (song.title== title) and (int(song.track) == int(track)) and (song.genre == genre) and (song.comment == comment) and (song.year == year) and ( song.mime==mime ) and ( int(song.samplerate) == int(samplerate) ) and (int(song.length) == int(length) ): continue else: log_message( verbose, "fl:%s:%s:%s:%s:%s:%s:%s:%s:%s:%s" % ( artist,album,title,track,genre,comment,year,mime,samplerate,length) ) log_message( verbose, "db:%s:%s:%s:%s:%s:%s:%s:%s:%s:%s" % ( song.artist,song.album,song.title,song.track,song.genre,song.comment,song.year,song.mime,song.samplerate,song.length) ) print "#Updating", path song.Update(artist, album, title, track, genre, comment, year, mime, samplerate, length ) continue print "#Adding", path song = Song.Song( 0, path, artist, album, title, track, genre, comment, year, mime, samplerate, length ) log_message( verbose, "ad:%s:%s:%s:%s:%s:%s:%s:%s:%s:%s" % ( song.artist,song.album,song.title,song.track,song.genre,song.comment,song.year,song.mime,song.samplerate,song.length ) )
750b731c383a64a4ccc10cbdd682c7e77ea36207 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11694/750b731c383a64a4ccc10cbdd682c7e77ea36207/DBSync.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 1966, 12, 87, 821, 16, 3988, 33, 20, 4672, 225, 628, 4318, 346, 275, 1930, 1387, 225, 2776, 273, 1903, 18, 809, 1435, 282, 1658, 275, 543, 273, 813, 18, 957, 1435, 468, 1188, 315, 8584, 275, 543, 738, 87, 6, 738, 1658, 275, 543, 225, 309, 11816, 30, 468, 2354, 313, 273, 315, 4720, 738, 87, 300, 14641, 300, 723, 284, 300, 529, 1239, 11146, 1291, 23, 2412, 315, 738, 261, 8028, 67, 3085, 262, 1390, 313, 273, 315, 4720, 738, 87, 300, 14641, 300, 723, 284, 315, 738, 261, 8028, 67, 3085, 262, 469, 30, 775, 30, 1142, 14703, 557, 87, 33, 5659, 12, 7066, 18, 967, 809, 1180, 2932, 2722, 2725, 6, 3719, 1335, 30, 1142, 14703, 557, 87, 33, 20, 225, 468, 1188, 315, 2722, 14703, 557, 87, 738, 87, 6, 738, 1142, 14703, 557, 87, 7491, 3048, 273, 1658, 275, 543, 300, 1142, 14703, 557, 87, 468, 1188, 315, 20905, 3048, 738, 87, 6, 738, 7491, 3048, 225, 468, 2354, 313, 273, 315, 4720, 738, 87, 300, 723, 284, 300, 71, 1154, 300, 9, 72, 300, 529, 1239, 11146, 1291, 23, 8530, 738, 261, 8028, 67, 3085, 16, 261, 20905, 3048, 19, 4848, 27921, 21, 262, 1390, 313, 273, 315, 4720, 738, 87, 300, 723, 284, 300, 71, 1154, 300, 9, 72, 315, 738, 261, 8028, 67, 3085, 16, 261, 20905, 3048, 19, 4848, 27921, 21, 262, 2776, 18, 694, 809, 1180, 2932, 2722, 2725, 3113, 701, 12, 8584, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 1966, 12, 87, 821, 16, 3988, 33, 20, 4672, 225, 628, 4318, 346, 275, 1930, 1387, 225, 2776, 273, 1903, 18, 809, 1435, 282, 1658, 275, 543, 273, 813, 18, 957, 1435, 468, 1188, 315, 8584, 275, 543, 738, 87, 6, 738, 1658, 275, 543, 225, 309, 11816, 30, 468, 2354, 313, 273, 315, 4720, 738, 87, 300, 14641, 300, 723, 284, 300, 529, 1239, 11146, 1291, 23, 2412, 315, 738, 261, 8028, 67, 3085, 262, 1390, 313, 273, 315, 4720, 738, 87, 300, 14641, 300, 723, 284, 315, 738, 261, 8028, 67, 3085, 262, 469, 30, 775, 30, 1142, 14703, 557, 87, 33, 5659, 12, 7066, 18, 967, 809, 1180, 2932, 2722, 2725, 6, 3719, 2 ]
], CONTEXT)
], 0, None, None, CONTEXT)
def test0030float(self): ''' Test Float. ''' float1_id = self.float.create({ 'float': 1.1, }, CONTEXT) self.assert_(float1_id)
52062c763bf1737b3f2071e48338f60845edc54d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9266/52062c763bf1737b3f2071e48338f60845edc54d/test_tryton.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 713, 5082, 5659, 12, 2890, 4672, 9163, 7766, 5450, 18, 9163, 1431, 21, 67, 350, 273, 365, 18, 5659, 18, 2640, 12590, 296, 5659, 4278, 404, 18, 21, 16, 19879, 13862, 13, 365, 18, 11231, 67, 12, 5659, 21, 67, 350, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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879, 13862, 13, 365, 18, 11231, 67, 12, 5659, 21, 67, 350, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def doublehandler(self, event): pass def accept(self, card): MovingStack.accept(self, card) if card.value == KING: for s in self.game.suits: card = s.cards[-1] if card.value != KING: return self.game.win() self.game.deal() class RowStack(MovingStack): def __init__(self, game, i): self.index = i self.x = MARGIN + XSPACING * i self.y = MARGIN + YSPACING Stack.__init__(self, game) def __repr__(self): return "RowStack(game, %d)" % self.index def placecard(self, card): offset = 0 for c in self.cards: if c is card: break if c.face_shown: offset = offset + 2*MARGIN else: offset = offset + OFFSET card.moveto(self.x, self.y + offset)
class RowStack(OpenStack):
def doublehandler(self, event):
20ce2dd6aa77ea628b49c0c6b820d66211a9a61d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/20ce2dd6aa77ea628b49c0c6b820d66211a9a61d/solitaire.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1645, 4176, 12, 2890, 16, 871, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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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, 1645, 4176, 12, 2890, 16, 871, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
elif opt in ('-?', '--help'):
elif opt in ('-v', '--verbose'): verbosity += 1 elif opt in ('-?', '-h', '--help'):
def main(): output=None copyfunc=None creator=None plist=None nib=None resources=[] SHORTOPTS = "o:ln:r:p:c:?" LONGOPTS=("output=", "link", "nib=", "resource=", "plist=", "creator=", "help") try: options, args = getopt.getopt(sys.argv[1:], SHORTOPTS, LONGOPTS) except getopt.error: usage() if len(args) != 1: usage() for opt, arg in options: if opt in ('-o', '--output'): output = arg elif opt in ('-l', '--link'): copyfunc = os.symlink elif opt in ('-n', '--nib'): nib = arg elif opt in ('-r', '--resource'): resources.append(arg) elif opt in ('-c', '--creator'): creator = arg elif opt in ('-p', '--plist'): plist = arg elif opt in ('-?', '--help'): usage() buildappbundle(args[0], output=output, copyfunc=copyfunc, creator=creator, plist=plist, resources=resources)
9ba26874386b82d533ac595d6e8c747aea05b491 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/9ba26874386b82d533ac595d6e8c747aea05b491/buildappbundle.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 876, 33, 7036, 1610, 644, 33, 7036, 11784, 33, 7036, 21074, 33, 7036, 28421, 33, 7036, 2703, 33, 8526, 20079, 15620, 55, 273, 315, 83, 30, 2370, 30, 86, 30, 84, 30, 71, 30, 7225, 14011, 15620, 55, 33, 2932, 2844, 1546, 16, 315, 1232, 3113, 315, 82, 495, 1546, 16, 315, 3146, 1546, 16, 315, 17842, 1546, 16, 315, 20394, 1546, 16, 315, 5201, 7923, 775, 30, 702, 16, 833, 273, 336, 3838, 18, 588, 3838, 12, 9499, 18, 19485, 63, 21, 30, 6487, 20079, 15620, 55, 16, 14011, 15620, 55, 13, 1335, 336, 3838, 18, 1636, 30, 4084, 1435, 309, 562, 12, 1968, 13, 480, 404, 30, 4084, 1435, 364, 2153, 16, 1501, 316, 702, 30, 309, 2153, 316, 7707, 17, 83, 2187, 3534, 2844, 11, 4672, 876, 273, 1501, 1327, 2153, 316, 7707, 17, 80, 2187, 3534, 1232, 11, 4672, 1610, 644, 273, 1140, 18, 21278, 1327, 2153, 316, 7707, 17, 82, 2187, 3534, 82, 495, 11, 4672, 28421, 273, 1501, 1327, 2153, 316, 7707, 17, 86, 2187, 3534, 3146, 11, 4672, 2703, 18, 6923, 12, 3175, 13, 1327, 2153, 316, 7707, 17, 71, 2187, 3534, 20394, 11, 4672, 11784, 273, 1501, 1327, 2153, 316, 7707, 17, 84, 2187, 3534, 17842, 11, 4672, 21074, 273, 1501, 1327, 2153, 316, 7707, 17, 90, 2187, 3534, 11369, 11, 4672, 11561, 1011, 404, 1327, 2153, 316, 7707, 17, 35, 2187, 2400, 76, 2187, 3534, 5201, 11, 4672, 4084, 1435, 1361, 2910, 9991, 12, 1968, 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, 876, 33, 7036, 1610, 644, 33, 7036, 11784, 33, 7036, 21074, 33, 7036, 28421, 33, 7036, 2703, 33, 8526, 20079, 15620, 55, 273, 315, 83, 30, 2370, 30, 86, 30, 84, 30, 71, 30, 7225, 14011, 15620, 55, 33, 2932, 2844, 1546, 16, 315, 1232, 3113, 315, 82, 495, 1546, 16, 315, 3146, 1546, 16, 315, 17842, 1546, 16, 315, 20394, 1546, 16, 315, 5201, 7923, 775, 30, 702, 16, 833, 273, 336, 3838, 18, 588, 3838, 12, 9499, 18, 19485, 63, 21, 30, 6487, 20079, 15620, 55, 16, 14011, 15620, 55, 13, 1335, 336, 3838, 18, 1636, 30, 4084, 1435, 309, 562, 12, 1968, 13, 480, 404, 30, 4084, 1435, 364, 2153, 16, 1501, 316, 2 ]
permutation objects. ::
permutation objects::
def PermutationGroup(gens=None, gap_group=None, canonicalize=True): """ Return the permutation group associated to `x` (typically a list of generators). INPUT: - ``gens`` - list of generators - ``gap_group`` - a gap permutation group - ``canonicalize`` - bool (default: True), if True sort generators and remove duplicates OUTPUT: a permutation group EXAMPLES:: sage: G = PermutationGroup([[(1,2,3),(4,5)],[(3,4)]]) sage: G Permutation Group with generators [(3,4), (1,2,3)(4,5)] We can also make permutation groups from PARI groups:: sage: H = pari('x^4 - 2*x^3 - 2*x + 1').polgalois() sage: G = PariGroup(H, 4); G PARI group [8, -1, 3, "D(4)"] of degree 4 sage: H = PermutationGroup(G); H # optional - database_gap Transitive group number 3 of degree 4 sage: H.gens() # optional - database_gap [(1,2,3,4), (1,3)] We can also create permutation groups whose generators are Gap permutation objects. :: sage: p = gap('(1,2)(3,7)(4,6)(5,8)'); p (1,2)(3,7)(4,6)(5,8) sage: PermutationGroup([p]) Permutation Group with generators [(1,2)(3,7)(4,6)(5,8)] EXAMPLES: There is an underlying gap object that implements each permutation group. :: sage: G = PermutationGroup([[(1,2,3,4)]]) sage: G._gap_() Group( [ (1,2,3,4) ] ) sage: gap(G) Group( [ (1,2,3,4) ] ) sage: gap(G) is G._gap_() True sage: G = PermutationGroup([[(1,2,3),(4,5)],[(3,4)]]) sage: current_randstate().set_seed_gap() sage: G._gap_().DerivedSeries() [ Group( [ (3,4), (1,2,3)(4,5) ] ), Group( [ (1,5)(3,4), (1,5)(2,4), (1,5,3) ] ) ] TESTS:: sage: PermutationGroup(SymmetricGroup(5)) Traceback (most recent call last): ... TypeError: gens must be a tuple, list, or GapElement """ if not is_ExpectElement(gens) and hasattr(gens, '_permgroup_'): return gens._permgroup_() if gens is not None and not isinstance(gens, (tuple,list, GapElement)): raise TypeError, "gens must be a tuple, list, or GapElement" return PermutationGroup_generic(gens=gens, gap_group=gap_group, canonicalize=canonicalize)
f5f8be9435d58a2a709e6aa602d3c0e6ac097c6a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/f5f8be9435d58a2a709e6aa602d3c0e6ac097c6a/permgroup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13813, 9245, 1114, 12, 23730, 33, 7036, 16, 9300, 67, 1655, 33, 7036, 16, 25839, 33, 5510, 4672, 3536, 2000, 326, 17440, 1041, 3627, 358, 1375, 92, 68, 261, 12846, 6478, 279, 666, 434, 13327, 2934, 225, 12943, 30, 282, 300, 225, 12176, 23730, 10335, 300, 666, 434, 13327, 225, 300, 225, 12176, 14048, 67, 1655, 10335, 300, 279, 9300, 17440, 1041, 225, 300, 225, 12176, 18288, 554, 10335, 300, 1426, 261, 1886, 30, 1053, 3631, 309, 1053, 1524, 13327, 471, 1206, 11211, 282, 11550, 30, 279, 17440, 1041, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 30, 611, 273, 13813, 9245, 1114, 3816, 63, 12, 21, 16, 22, 16, 23, 3631, 12, 24, 16, 25, 13, 6487, 63, 12, 23, 16, 24, 25887, 5717, 272, 410, 30, 611, 13813, 9245, 3756, 598, 13327, 306, 12, 23, 16, 24, 3631, 261, 21, 16, 22, 16, 23, 21433, 24, 16, 25, 25887, 225, 1660, 848, 2546, 1221, 17440, 3252, 628, 3939, 45, 3252, 2866, 225, 272, 410, 30, 670, 273, 779, 77, 2668, 92, 66, 24, 300, 576, 14, 92, 66, 23, 300, 576, 14, 92, 397, 404, 16063, 3915, 25030, 19606, 1435, 272, 410, 30, 611, 273, 2280, 77, 1114, 12, 44, 16, 1059, 1769, 611, 3939, 45, 1041, 306, 28, 16, 300, 21, 16, 890, 16, 315, 40, 12, 24, 2225, 65, 434, 10782, 1059, 272, 410, 30, 670, 273, 13813, 9245, 1114, 12, 43, 1769, 670, 1850, 468, 3129, 300, 2063, 67, 14048, 2604, 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, 13813, 9245, 1114, 12, 23730, 33, 7036, 16, 9300, 67, 1655, 33, 7036, 16, 25839, 33, 5510, 4672, 3536, 2000, 326, 17440, 1041, 3627, 358, 1375, 92, 68, 261, 12846, 6478, 279, 666, 434, 13327, 2934, 225, 12943, 30, 282, 300, 225, 12176, 23730, 10335, 300, 666, 434, 13327, 225, 300, 225, 12176, 14048, 67, 1655, 10335, 300, 279, 9300, 17440, 1041, 225, 300, 225, 12176, 18288, 554, 10335, 300, 1426, 261, 1886, 30, 1053, 3631, 309, 1053, 1524, 13327, 471, 1206, 11211, 282, 11550, 30, 279, 17440, 1041, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 30, 611, 273, 13813, 9245, 1114, 3816, 63, 12, 21, 16, 22, 16, 23, 3631, 12, 24, 16, 25, 13, 6487, 2 ]
r"^(!|!?ubotu\S?\s)?(?P<noalias>-)?\s*(tell\s+(?P<nick>\S+)\s+about\s+)?(?P<factoid>\S.+?)(>\s*(?P<nick2>\S+))?$"
r"^(!|!?ubotu\S?\s)?(?P<noalias>-)?\s*(tell\s+(?P<nick>\S+)\s+about\s+)?(?P<factoid>\S.*?)(>\s*(?P<nick2>\S+).*)?$"
def showfactoid(self, irc, msg, match): r"^(!|!?ubotu\S?\s)?(?P<noalias>-)?\s*(tell\s+(?P<nick>\S+)\s+about\s+)?(?P<factoid>\S.+?)(>\s*(?P<nick2>\S+))?$" withnick = bool(match.group(1)) and msg.args[1].startswith('ubotu') db = self._precheck(irc, msg, withnick=True, timeout=(msg.args[0], match.group('nick'), match.group('factoid'), match.group('nick2'))) if not db: return to = channel = msg.args[0] if channel[0] != '#': to = msg.nick cur = db.cursor() retmsg = '' noalias = match.group('noalias') factoid = match.group('factoid').lower().strip() if ' is ' in match.group(0) or \ '=~' in match.group(0) or \ '<sed>' in match.group(0) or \ factoid.startswith('forget ') or \ factoid.startswith('info ') or \ factoid.startswith('find ') or \ factoid.startswith('search ') or \ factoid.startswith('seen'): return
688a1f944b38d9fd0ca4745c7dd88c42971a0af1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3124/688a1f944b38d9fd0ca4745c7dd88c42971a0af1/plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 3493, 839, 12, 2890, 16, 277, 1310, 16, 1234, 16, 845, 4672, 436, 6, 29020, 5, 96, 5, 35, 373, 352, 89, 64, 55, 10936, 87, 9945, 3680, 52, 32, 2135, 4930, 34, 17, 9945, 64, 87, 21556, 88, 1165, 64, 87, 15, 3680, 52, 32, 17091, 5333, 55, 14456, 87, 15, 21071, 64, 87, 31423, 3680, 52, 32, 3493, 839, 5333, 55, 4509, 8535, 12, 5333, 87, 14, 3680, 52, 32, 17091, 22, 5333, 55, 15, 31376, 9945, 12911, 598, 17091, 273, 1426, 12, 1916, 18, 1655, 12, 21, 3719, 471, 1234, 18, 1968, 63, 21, 8009, 17514, 1918, 2668, 373, 352, 89, 6134, 1319, 273, 365, 6315, 1484, 1893, 12, 481, 71, 16, 1234, 16, 598, 17091, 33, 5510, 16, 2021, 28657, 3576, 18, 1968, 63, 20, 6487, 845, 18, 1655, 2668, 17091, 19899, 845, 18, 1655, 2668, 3493, 839, 19899, 845, 18, 1655, 2668, 17091, 22, 11, 20349, 309, 486, 1319, 30, 327, 358, 273, 1904, 273, 1234, 18, 1968, 63, 20, 65, 309, 1904, 63, 20, 65, 480, 2946, 4278, 358, 273, 1234, 18, 17091, 662, 273, 1319, 18, 9216, 1435, 325, 3576, 273, 875, 225, 1158, 4930, 273, 845, 18, 1655, 2668, 2135, 4930, 6134, 5410, 839, 273, 845, 18, 1655, 2668, 3493, 839, 16063, 8167, 7675, 6406, 1435, 309, 296, 353, 296, 316, 845, 18, 1655, 12, 20, 13, 578, 521, 15196, 20206, 316, 845, 18, 1655, 12, 20, 13, 578, 521, 2368, 730, 1870, 316, 845, 18, 1655, 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, 2405, 3493, 839, 12, 2890, 16, 277, 1310, 16, 1234, 16, 845, 4672, 436, 6, 29020, 5, 96, 5, 35, 373, 352, 89, 64, 55, 10936, 87, 9945, 3680, 52, 32, 2135, 4930, 34, 17, 9945, 64, 87, 21556, 88, 1165, 64, 87, 15, 3680, 52, 32, 17091, 5333, 55, 14456, 87, 15, 21071, 64, 87, 31423, 3680, 52, 32, 3493, 839, 5333, 55, 4509, 8535, 12, 5333, 87, 14, 3680, 52, 32, 17091, 22, 5333, 55, 15, 31376, 9945, 12911, 598, 17091, 273, 1426, 12, 1916, 18, 1655, 12, 21, 3719, 471, 1234, 18, 1968, 63, 21, 8009, 17514, 1918, 2668, 373, 352, 89, 6134, 1319, 273, 365, 6315, 1484, 1893, 12, 481, 71, 16, 1234, 16, 2 ]
def __init__(data = None)
def __init__(data = None):
def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 91) else quickfix.StringField.__init__(self, 91, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 26936, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 26936, 16, 501, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 26936, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 26936, 16, 501, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Indexed sequence of elements [5.0000000000000000, 0, 0, 0, 0]
Indexed sequence: [5.00000000000000, 0, 0, 0, 0]
def fft(self): """ Wraps the gsl FastFourierTransform.forward in fft.pyx. If the length is a power of 2 then this automatically uses the radix2 method. If the number of sample points in the input is a power of 2 then the wrapper for the GSL function gsl_fft_complex_radix2_forward is automatically called. Otherwise, gsl_fft_complex_forward is used.
837c0b7c218776beb9f35f10fe4f0b231105b3a3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/837c0b7c218776beb9f35f10fe4f0b231105b3a3/dft.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15741, 12, 2890, 4672, 3536, 678, 7506, 326, 314, 2069, 9545, 42, 24775, 4059, 18, 11565, 316, 15741, 18, 2074, 92, 18, 225, 971, 326, 769, 353, 279, 7212, 434, 576, 1508, 333, 6635, 4692, 326, 19015, 22, 707, 18, 971, 326, 1300, 434, 3296, 3143, 316, 326, 810, 353, 279, 7212, 434, 576, 1508, 326, 4053, 364, 326, 611, 4559, 445, 314, 2069, 67, 25174, 67, 14259, 67, 6012, 697, 22, 67, 11565, 353, 6635, 2566, 18, 5272, 16, 314, 2069, 67, 25174, 67, 14259, 67, 11565, 353, 1399, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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1508, 333, 6635, 4692, 326, 19015, 22, 707, 18, 971, 326, 1300, 434, 3296, 3143, 316, 326, 810, 353, 279, 7212, 434, 576, 1508, 326, 4053, 364, 326, 611, 4559, 445, 314, 2069, 67, 25174, 67, 14259, 67, 6012, 697, 22, 67, 11565, 353, 6635, 2566, 18, 5272, 16, 314, 2069, 67, 25174, 67, 14259, 67, 11565, 353, 1399, 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 ]
res = None
res = []
def getAttributeDeps(self, attrib): # attrib="ignore", "qx.Class#define" res = None data = self.data # top level if attrib.find('#')== -1: res = data[attrib] # class map else: classId, attribId = attrib.split('#', 1) data = data['classes'][classId].data if attribId in data: res = data[attribId] else: for submap in ('statics', 'members', 'properties'): if attribId in data[submap]: res = data[submap][attribId] break return res
6dc720a460bc9e52faf85f43da37ca1946d59ca1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5718/6dc720a460bc9e52faf85f43da37ca1946d59ca1/Class.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4061, 14430, 12, 2890, 16, 5885, 4672, 225, 468, 5885, 1546, 6185, 3113, 315, 85, 92, 18, 797, 7, 11255, 6, 400, 225, 273, 5378, 501, 273, 365, 18, 892, 468, 1760, 1801, 309, 5885, 18, 4720, 2668, 7, 6134, 631, 300, 21, 30, 400, 273, 501, 63, 14588, 65, 468, 667, 852, 469, 30, 31181, 16, 5885, 548, 273, 5885, 18, 4939, 2668, 7, 2187, 404, 13, 501, 273, 501, 3292, 4701, 3546, 63, 1106, 548, 8009, 892, 309, 5885, 548, 316, 501, 30, 400, 273, 501, 63, 14588, 548, 65, 469, 30, 364, 720, 1458, 316, 7707, 5642, 2102, 2187, 296, 7640, 2187, 296, 4738, 11, 4672, 309, 5885, 548, 316, 501, 63, 1717, 1458, 14542, 400, 273, 501, 63, 1717, 1458, 6362, 14588, 548, 65, 898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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4061, 14430, 12, 2890, 16, 5885, 4672, 225, 468, 5885, 1546, 6185, 3113, 315, 85, 92, 18, 797, 7, 11255, 6, 400, 225, 273, 5378, 501, 273, 365, 18, 892, 468, 1760, 1801, 309, 5885, 18, 4720, 2668, 7, 6134, 631, 300, 21, 30, 400, 273, 501, 63, 14588, 65, 468, 667, 852, 469, 30, 31181, 16, 5885, 548, 273, 5885, 18, 4939, 2668, 7, 2187, 404, 13, 501, 273, 501, 3292, 4701, 3546, 63, 1106, 548, 8009, 892, 309, 5885, 548, 316, 501, 30, 400, 273, 501, 63, 14588, 548, 65, 469, 30, 364, 720, 1458, 316, 7707, 5642, 2102, 2187, 296, 7640, 2187, 296, 4738, 11, 4672, 309, 5885, 548, 316, 501, 63, 1717, 1458, 14542, 2 ]
else: self.out(s)
# function def block, then self.def_name will be its name;
385f05adec449bdea4b9e93217234a88e6f51d67 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/385f05adec449bdea4b9e93217234a88e6f51d67/html_colorize.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 468, 445, 1652, 1203, 16, 1508, 365, 18, 536, 67, 529, 903, 506, 2097, 508, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 468, 445, 1652, 1203, 16, 1508, 365, 18, 536, 67, 529, 903, 506, 2097, 508, 31, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
WHERE category='test' AND build=%s GROUP BY file, fixture ORDER BY fixture""", (build.id,))
WHERE category='test' AND build=%s AND step=%s GROUP BY file, fixture ORDER BY fixture""", (build.id, step.name))
def render_summary(self, req, config, build, step, category): assert category == 'test'
15629190f9a759be821647ca5123fbd37415cea6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4547/15629190f9a759be821647ca5123fbd37415cea6/summarizers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 67, 7687, 12, 2890, 16, 1111, 16, 642, 16, 1361, 16, 2235, 16, 3150, 4672, 1815, 3150, 422, 296, 3813, 11, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 67, 7687, 12, 2890, 16, 1111, 16, 642, 16, 1361, 16, 2235, 16, 3150, 4672, 1815, 3150, 422, 296, 3813, 11, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
a constant factor.
a constant factor (denoted c on the last line above).
def dft(self, chi = lambda x: x): """ Implements a discrete Fourier transform "over QQ" using exact N-th roots of unity.
31abf87c4df4119c8dc23bc27b1c5160b1dbbd00 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/31abf87c4df4119c8dc23bc27b1c5160b1dbbd00/dft.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 302, 1222, 12, 2890, 16, 17198, 273, 3195, 619, 30, 619, 4672, 3536, 29704, 279, 20035, 478, 24775, 2510, 315, 1643, 2238, 53, 6, 1450, 5565, 423, 17, 451, 12876, 434, 640, 560, 18, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 302, 1222, 12, 2890, 16, 17198, 273, 3195, 619, 30, 619, 4672, 3536, 29704, 279, 20035, 478, 24775, 2510, 315, 1643, 2238, 53, 6, 1450, 5565, 423, 17, 451, 12876, 434, 640, 560, 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 ]
print "unsubscribe me"
def remove(self): self.info("remove myself", self.service_type, self.id) if self.subscription_id != None: print "unsubscribe me" self.unsubscribe() for name,action in self._actions.items(): self.info("remove", name,action) del self._actions[name] del action for instance,variables in self._variables.items(): for name, variable in variables.items(): del variables[name] del variable if variables.has_key(instance): del variables[instance] del variables del self
812af040cf55be2fa7a799c6a336f88e285c21f0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11626/812af040cf55be2fa7a799c6a336f88e285c21f0/service.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 12, 2890, 4672, 365, 18, 1376, 2932, 4479, 3399, 2890, 3113, 365, 18, 3278, 67, 723, 16, 365, 18, 350, 13, 309, 365, 18, 11185, 67, 350, 480, 599, 30, 365, 18, 318, 9174, 1435, 364, 508, 16, 1128, 316, 365, 6315, 4905, 18, 3319, 13332, 365, 18, 1376, 2932, 4479, 3113, 508, 16, 1128, 13, 1464, 365, 6315, 4905, 63, 529, 65, 1464, 1301, 364, 791, 16, 7528, 316, 365, 6315, 7528, 18, 3319, 13332, 364, 508, 16, 2190, 316, 3152, 18, 3319, 13332, 1464, 3152, 63, 529, 65, 1464, 2190, 309, 3152, 18, 5332, 67, 856, 12, 1336, 4672, 1464, 3152, 63, 1336, 65, 1464, 3152, 1464, 365, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 12, 2890, 4672, 365, 18, 1376, 2932, 4479, 3399, 2890, 3113, 365, 18, 3278, 67, 723, 16, 365, 18, 350, 13, 309, 365, 18, 11185, 67, 350, 480, 599, 30, 365, 18, 318, 9174, 1435, 364, 508, 16, 1128, 316, 365, 6315, 4905, 18, 3319, 13332, 365, 18, 1376, 2932, 4479, 3113, 508, 16, 1128, 13, 1464, 365, 6315, 4905, 63, 529, 65, 1464, 1301, 364, 791, 16, 7528, 316, 365, 6315, 7528, 18, 3319, 13332, 364, 508, 16, 2190, 316, 3152, 18, 3319, 13332, 1464, 3152, 63, 529, 65, 1464, 2190, 309, 3152, 18, 5332, 67, 856, 12, 1336, 4672, 1464, 3152, 63, 1336, 65, 1464, 3152, 1464, 365, 2, -100, -100, -100, -100, -100, -100, -100 ]
response = self.publish(self.toolpath + '/plone_javascripts.js')
response = self.publish(self.toolpath + '/jstest.js')
def testPublishJSThroughTool(self): response = self.publish(self.toolpath + '/plone_javascripts.js') self.assertEqual(response.getStatus(), 200) self.assertEqual(response.getHeader('Content-Type'), 'application/x-javascript')
4b851d95cf836272a0108bdeda337e7d9a2c055e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12274/4b851d95cf836272a0108bdeda337e7d9a2c055e/testJSRegistry.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 6024, 46, 882, 76, 2642, 6364, 12, 2890, 4672, 766, 273, 365, 18, 6543, 12, 2890, 18, 6738, 803, 397, 1173, 78, 334, 395, 18, 2924, 6134, 365, 18, 11231, 5812, 12, 2740, 18, 588, 1482, 9334, 4044, 13, 365, 18, 11231, 5812, 12, 2740, 18, 588, 1864, 2668, 1350, 17, 559, 19899, 296, 3685, 19, 92, 17, 11242, 6134, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 6024, 46, 882, 76, 2642, 6364, 12, 2890, 4672, 766, 273, 365, 18, 6543, 12, 2890, 18, 6738, 803, 397, 1173, 78, 334, 395, 18, 2924, 6134, 365, 18, 11231, 5812, 12, 2740, 18, 588, 1482, 9334, 4044, 13, 365, 18, 11231, 5812, 12, 2740, 18, 588, 1864, 2668, 1350, 17, 559, 19899, 296, 3685, 19, 92, 17, 11242, 6134, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
glRasterPos2f(x, -3)
w = f.Advance(str(x)) glRasterPos2f(x-(self.xscale_pixel/self.xscale_data)*(w/2.), -3)
def paint_axes(self): glLoadIdentity()
d28be66047f60ec194bbac93531e8ff6eb03e8fb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2743/d28be66047f60ec194bbac93531e8ff6eb03e8fb/giraffe.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12574, 67, 10855, 12, 2890, 4672, 5118, 2563, 4334, 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, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def get(self, instance, **kwargs): value = ObjectField.get(self, instance, **kwargs) return [encode(v, instance, **kwargs) for v in value]
def set(self, instance, value, **kwargs): """ If passed-in value is a string, split at line breaks and remove leading and trailing white space before storing in object with rest of properties. """ __traceback_info__ = value, type(value) if type(value) in STRING_TYPES: value = value.split('\n') value = [decode(v.strip(), instance, **kwargs) for v in value if v.strip()] value = filter(None, value) ObjectField.set(self, instance, value, **kwargs)
6c49241026527d58ec33dad69b98fdf197a65ae4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/6c49241026527d58ec33dad69b98fdf197a65ae4/Field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12, 2890, 16, 791, 16, 460, 16, 2826, 4333, 4672, 3536, 971, 2275, 17, 267, 460, 353, 279, 533, 16, 1416, 622, 980, 16217, 471, 1206, 7676, 471, 7341, 9578, 3476, 1865, 15729, 316, 733, 598, 3127, 434, 1790, 18, 3536, 1001, 21696, 67, 1376, 972, 273, 460, 16, 618, 12, 1132, 13, 309, 618, 12, 1132, 13, 316, 9469, 67, 10564, 30, 460, 273, 225, 460, 18, 4939, 2668, 64, 82, 6134, 460, 273, 306, 3922, 12, 90, 18, 6406, 9334, 791, 16, 2826, 4333, 13, 364, 331, 316, 460, 309, 331, 18, 6406, 1435, 65, 460, 273, 1034, 12, 7036, 16, 460, 13, 1033, 974, 18, 542, 12, 2890, 16, 791, 16, 460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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12, 2890, 16, 791, 16, 460, 16, 2826, 4333, 4672, 3536, 971, 2275, 17, 267, 460, 353, 279, 533, 16, 1416, 622, 980, 16217, 471, 1206, 7676, 471, 7341, 9578, 3476, 1865, 15729, 316, 733, 598, 3127, 434, 1790, 18, 3536, 1001, 21696, 67, 1376, 972, 273, 460, 16, 618, 12, 1132, 13, 309, 618, 12, 1132, 13, 316, 9469, 67, 10564, 30, 460, 273, 225, 460, 18, 4939, 2668, 64, 82, 6134, 460, 273, 306, 3922, 12, 90, 18, 6406, 9334, 791, 16, 2826, 4333, 13, 364, 331, 316, 460, 309, 331, 18, 6406, 1435, 65, 460, 273, 1034, 12, 7036, 16, 460, 13, 1033, 974, 18, 542, 12, 2890, 16, 791, 16, 460, 16, 2826, 2 ]
if self.current_state is not None: showIndent(outfile, level) outfile.write('<%scurrent_state>%s</%scurrent_state>\n' % (namespace_, self.format_string(quote_xml(self.current_state).encode(ExternalEncoding), input_name='current_state'), namespace_))
if self.state is not None: showIndent(outfile, level) outfile.write('<%sstate>%s</%sstate>\n' % (namespace_, self.format_string(quote_xml(self.state).encode(ExternalEncoding), input_name='state'), namespace_)) if self.activated is not None: showIndent(outfile, level) outfile.write('<%sactivated>%s</%sactivated>\n' % (namespace_, self.format_string(quote_xml(self.activated).encode(ExternalEncoding), input_name='activated'), namespace_))
def exportChildren(self, outfile, level, namespace_='inv:', name_='system'): if self.generated_uuid is not None: showIndent(outfile, level) outfile.write('<%sgenerated_uuid>%s</%sgenerated_uuid>\n' % (namespace_, self.format_string(quote_xml(self.generated_uuid).encode(ExternalEncoding), input_name='generated_uuid'), namespace_)) if self.local_uuid is not None: showIndent(outfile, level) outfile.write('<%slocal_uuid>%s</%slocal_uuid>\n' % (namespace_, self.format_string(quote_xml(self.local_uuid).encode(ExternalEncoding), input_name='local_uuid'), namespace_)) if self.activation_date is not None: showIndent(outfile, level) outfile.write('<%sactivation_date>%s</%sactivation_date>\n' % (namespace_, self.format_string(quote_xml(self.activation_date).encode(ExternalEncoding), input_name='activation_date'), namespace_)) if self.scheduled_event_start_date is not None: showIndent(outfile, level) outfile.write('<%sscheduled_event_start_date>%s</%sscheduled_event_start_date>\n' % (namespace_, self.format_string(quote_xml(self.scheduled_event_start_date).encode(ExternalEncoding), input_name='scheduled_event_start_date'), namespace_)) if self.launch_date is not None: showIndent(outfile, level) outfile.write('<%slaunch_date>%s</%slaunch_date>\n' % (namespace_, self.format_string(quote_xml(self.launch_date).encode(ExternalEncoding), input_name='launch_date'), namespace_)) if self.ssl_client_certificate is not None: showIndent(outfile, level) outfile.write('<%sssl_client_certificate>%s</%sssl_client_certificate>\n' % (namespace_, self.format_string(quote_xml(self.ssl_client_certificate).encode(ExternalEncoding), input_name='ssl_client_certificate'), namespace_)) if self.ssl_client_key is not None: showIndent(outfile, level) outfile.write('<%sssl_client_key>%s</%sssl_client_key>\n' % (namespace_, self.format_string(quote_xml(self.ssl_client_key).encode(ExternalEncoding), input_name='ssl_client_key'), namespace_)) if self.ssl_server_certificate is not None: showIndent(outfile, level) outfile.write('<%sssl_server_certificate>%s</%sssl_server_certificate>\n' % (namespace_, self.format_string(quote_xml(self.ssl_server_certificate).encode(ExternalEncoding), input_name='ssl_server_certificate'), namespace_)) if self.launching_user is not None: showIndent(outfile, level) outfile.write('<%slaunching_user>%s</%slaunching_user>\n' % (namespace_, self.format_string(quote_xml(self.launching_user).encode(ExternalEncoding), input_name='launching_user'), namespace_)) if self.target_type is not None: showIndent(outfile, level) outfile.write('<%starget_type>%s</%starget_type>\n' % (namespace_, self.format_string(quote_xml(self.target_type).encode(ExternalEncoding), input_name='target_type'), namespace_)) if self.target_name is not None: showIndent(outfile, level) outfile.write('<%starget_name>%s</%starget_name>\n' % (namespace_, self.format_string(quote_xml(self.target_name).encode(ExternalEncoding), input_name='target_name'), namespace_)) if self.target_system_id is not None: showIndent(outfile, level) outfile.write('<%starget_system_id>%s</%starget_system_id>\n' % (namespace_, self.format_string(quote_xml(self.target_system_id).encode(ExternalEncoding), input_name='target_system_id'), namespace_)) if self.available is not None: showIndent(outfile, level) outfile.write('<%savailable>%s</%savailable>\n' % (namespace_, self.format_string(quote_xml(self.available).encode(ExternalEncoding), input_name='available'), namespace_)) if self.is_manageable is not None: showIndent(outfile, level) outfile.write('<%sis_manageable>%s</%sis_manageable>\n' % (namespace_, self.format_string(quote_xml(self.is_manageable).encode(ExternalEncoding), input_name='is_manageable'), namespace_)) if self.log: self.log.export(outfile, level, namespace_, name_='log') if self.managed_status is not None: showIndent(outfile, level) outfile.write('<%smanaged_status>%s</%smanaged_status>\n' % (namespace_, self.format_string(quote_xml(self.managed_status).encode(ExternalEncoding), input_name='managed_status'), namespace_)) if self.force_update_url is not None: showIndent(outfile, level) outfile.write('<%sforce_update_url>%s</%sforce_update_url>\n' % (namespace_, self.format_string(quote_xml(self.force_update_url).encode(ExternalEncoding), input_name='force_update_url'), namespace_)) if self.description is not None: showIndent(outfile, level) outfile.write('<%sdescription>%s</%sdescription>\n' % (namespace_, self.format_string(quote_xml(self.description).encode(ExternalEncoding), input_name='description'), namespace_)) if self.instance_id is not None: showIndent(outfile, level) outfile.write('<%sinstance_id>%s</%sinstance_id>\n' % (namespace_, self.format_string(quote_xml(self.instance_id).encode(ExternalEncoding), input_name='instance_id'), namespace_)) if self.name is not None: showIndent(outfile, level) outfile.write('<%sname>%s</%sname>\n' % (namespace_, self.format_string(quote_xml(self.name).encode(ExternalEncoding), input_name='name'), namespace_)) if self.out_of_date is not None: showIndent(outfile, level) outfile.write('<%sout_of_date>%s</%sout_of_date>\n' % (namespace_, self.format_string(quote_xml(self.out_of_date).encode(ExternalEncoding), input_name='out_of_date'), namespace_)) if self.public_dns_name is not None: showIndent(outfile, level) outfile.write('<%spublic_dns_name>%s</%spublic_dns_name>\n' % (namespace_, self.format_string(quote_xml(self.public_dns_name).encode(ExternalEncoding), input_name='public_dns_name'), namespace_)) if self.reservation_id is not None: showIndent(outfile, level) outfile.write('<%sreservation_id>%s</%sreservation_id>\n' % (namespace_, self.format_string(quote_xml(self.reservation_id).encode(ExternalEncoding), input_name='reservation_id'), namespace_)) if self.current_state is not None: showIndent(outfile, level) outfile.write('<%scurrent_state>%s</%scurrent_state>\n' % (namespace_, self.format_string(quote_xml(self.current_state).encode(ExternalEncoding), input_name='current_state'), namespace_)) if self.target: self.target.export(outfile, level, namespace_, name_='target') if self.system_log: self.system_log.export(outfile, level, namespace_, name_='system_log') if self.networks: self.networks.export(outfile, level, namespace_, name_='networks', )
0edf7ff39fb592b3aec2afae94ce938d1f08b997 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7635/0edf7ff39fb592b3aec2afae94ce938d1f08b997/generateds_system_1_0.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3359, 4212, 12, 2890, 16, 8756, 16, 1801, 16, 1981, 67, 2218, 5768, 30, 2187, 508, 67, 2218, 4299, 11, 4672, 309, 365, 18, 11168, 67, 7080, 353, 486, 599, 30, 2405, 7790, 12, 26050, 16, 1801, 13, 8756, 18, 2626, 2668, 32, 9, 1055, 7489, 67, 7080, 9822, 87, 1757, 9, 1055, 7489, 67, 7080, 5333, 82, 11, 738, 261, 4937, 67, 16, 365, 18, 2139, 67, 1080, 12, 6889, 67, 2902, 12, 2890, 18, 11168, 67, 7080, 2934, 3015, 12, 6841, 4705, 3631, 810, 67, 529, 2218, 11168, 67, 7080, 19899, 1981, 67, 3719, 309, 365, 18, 3729, 67, 7080, 353, 486, 599, 30, 2405, 7790, 12, 26050, 16, 1801, 13, 8756, 18, 2626, 2668, 32, 9, 87, 3729, 67, 7080, 9822, 87, 1757, 9, 87, 3729, 67, 7080, 5333, 82, 11, 738, 261, 4937, 67, 16, 365, 18, 2139, 67, 1080, 12, 6889, 67, 2902, 12, 2890, 18, 3729, 67, 7080, 2934, 3015, 12, 6841, 4705, 3631, 810, 67, 529, 2218, 3729, 67, 7080, 19899, 1981, 67, 3719, 309, 365, 18, 16908, 67, 712, 353, 486, 599, 30, 2405, 7790, 12, 26050, 16, 1801, 13, 8756, 18, 2626, 2668, 32, 9, 87, 16908, 67, 712, 9822, 87, 1757, 9, 87, 16908, 67, 712, 5333, 82, 11, 738, 261, 4937, 67, 16, 365, 18, 2139, 67, 1080, 12, 6889, 67, 2902, 12, 2890, 18, 16908, 67, 712, 2934, 3015, 12, 6841, 4705, 3631, 810, 67, 529, 2218, 16908, 67, 712, 19899, 1981, 67, 3719, 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, 3359, 4212, 12, 2890, 16, 8756, 16, 1801, 16, 1981, 67, 2218, 5768, 30, 2187, 508, 67, 2218, 4299, 11, 4672, 309, 365, 18, 11168, 67, 7080, 353, 486, 599, 30, 2405, 7790, 12, 26050, 16, 1801, 13, 8756, 18, 2626, 2668, 32, 9, 1055, 7489, 67, 7080, 9822, 87, 1757, 9, 1055, 7489, 67, 7080, 5333, 82, 11, 738, 261, 4937, 67, 16, 365, 18, 2139, 67, 1080, 12, 6889, 67, 2902, 12, 2890, 18, 11168, 67, 7080, 2934, 3015, 12, 6841, 4705, 3631, 810, 67, 529, 2218, 11168, 67, 7080, 19899, 1981, 67, 3719, 309, 365, 18, 3729, 67, 7080, 353, 486, 599, 30, 2405, 7790, 12, 26050, 16, 1801, 13, 8756, 18, 2626, 2668, 32, 2 ]
groupBp = bp(*(args), **kArgs)
def bpGroup(*args, **kArgs): groupBp = bp(*(args), **kArgs) argsCopy = args[:] def functor(*cArgs, **ckArgs): return bp(*(cArgs), **kArgs) return functor
f99809fde9e805ac3e6181e479e4e1522eafa148 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8543/f99809fde9e805ac3e6181e479e4e1522eafa148/PythonUtil.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9107, 1114, 30857, 1968, 16, 2826, 79, 2615, 4672, 833, 2951, 273, 833, 10531, 65, 1652, 12882, 280, 30857, 71, 2615, 16, 2826, 363, 2615, 4672, 327, 9107, 12, 21556, 71, 2615, 3631, 2826, 79, 2615, 13, 327, 12882, 280, 565, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9107, 1114, 30857, 1968, 16, 2826, 79, 2615, 4672, 833, 2951, 273, 833, 10531, 65, 1652, 12882, 280, 30857, 71, 2615, 16, 2826, 363, 2615, 4672, 327, 9107, 12, 21556, 71, 2615, 3631, 2826, 79, 2615, 13, 327, 12882, 280, 565, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
list.append(str(x[1]) + "," + str(x[2]) + "," + pol + "," + fec) self.tuning_transponder = ConfigSelection(choices = list)
e = str(x[1]) + "," + str(x[2]) + "," + pol + "," + fec if default is None: default = e list.append(e) self.tuning_transponder = ConfigSelection(choices = list, default = default)
def updateSats(self): orb_pos = self.tuning_sat.orbital_position if orb_pos is not None: transponderlist = nimmanager.getTransponders(orb_pos) list = [] for x in transponderlist: if x[3] == 0: pol = "H" elif x[3] == 1: pol = "V" elif x[3] == 2: pol = "CL" elif x[3] == 3: pol = "CR" else: pol = "??" if x[4] == 0: fec = "FEC_AUTO" elif x[4] == 1: fec = "FEC_1_2" elif x[4] == 2: fec = "FEC_2_3" elif x[4] == 3: fec = "FEC_3_4" elif x[4] == 4: fec = "FEC_5_6" elif x[4] == 5: fec = "FEC_7_8" elif x[4] == 6: fec = "FEC_8_9" elif x[4] == 7: fec = "FEC_3_5" elif x[4] == 8: fec = "FEC_4_5" elif x[4] == 9: fec = "FEC_9_10" elif x[4] == 15: fec = "FEC_None" else: fec = "FEC_Unknown" list.append(str(x[1]) + "," + str(x[2]) + "," + pol + "," + fec) self.tuning_transponder = ConfigSelection(choices = list) self.tuning_transponder.addNotifier(self.retune, initial_call = False)
250e846dc7fb2a3920e1aabd2430adb49fca5314 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6652/250e846dc7fb2a3920e1aabd2430adb49fca5314/plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 55, 2323, 12, 2890, 4672, 16823, 67, 917, 273, 365, 18, 88, 13036, 67, 12973, 18, 280, 3682, 287, 67, 3276, 309, 16823, 67, 917, 353, 486, 599, 30, 906, 17707, 1098, 273, 290, 381, 4181, 18, 588, 1429, 3111, 414, 12, 16640, 67, 917, 13, 666, 273, 5378, 364, 619, 316, 906, 17707, 1098, 30, 309, 619, 63, 23, 65, 422, 374, 30, 2952, 273, 315, 44, 6, 1327, 619, 63, 23, 65, 422, 404, 30, 2952, 273, 315, 58, 6, 1327, 619, 63, 23, 65, 422, 576, 30, 2952, 273, 315, 5017, 6, 1327, 619, 63, 23, 65, 422, 890, 30, 2952, 273, 315, 5093, 6, 469, 30, 2952, 273, 18101, 7225, 309, 619, 63, 24, 65, 422, 374, 30, 284, 557, 273, 315, 42, 7228, 67, 18909, 6, 1327, 619, 63, 24, 65, 422, 404, 30, 284, 557, 273, 315, 42, 7228, 67, 21, 67, 22, 6, 1327, 619, 63, 24, 65, 422, 576, 30, 284, 557, 273, 315, 42, 7228, 67, 22, 67, 23, 6, 1327, 619, 63, 24, 65, 422, 890, 30, 284, 557, 273, 315, 42, 7228, 67, 23, 67, 24, 6, 1327, 619, 63, 24, 65, 422, 1059, 30, 284, 557, 273, 315, 42, 7228, 67, 25, 67, 26, 6, 1327, 619, 63, 24, 65, 422, 1381, 30, 284, 557, 273, 315, 42, 7228, 67, 27, 67, 28, 6, 1327, 619, 63, 24, 65, 422, 1666, 30, 284, 557, 273, 315, 42, 7228, 67, 28, 67, 29, 6, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 55, 2323, 12, 2890, 4672, 16823, 67, 917, 273, 365, 18, 88, 13036, 67, 12973, 18, 280, 3682, 287, 67, 3276, 309, 16823, 67, 917, 353, 486, 599, 30, 906, 17707, 1098, 273, 290, 381, 4181, 18, 588, 1429, 3111, 414, 12, 16640, 67, 917, 13, 666, 273, 5378, 364, 619, 316, 906, 17707, 1098, 30, 309, 619, 63, 23, 65, 422, 374, 30, 2952, 273, 315, 44, 6, 1327, 619, 63, 23, 65, 422, 404, 30, 2952, 273, 315, 58, 6, 1327, 619, 63, 23, 65, 422, 576, 30, 2952, 273, 315, 5017, 6, 1327, 619, 63, 23, 65, 422, 890, 30, 2952, 273, 315, 5093, 6, 469, 30, 2952, 273, 18101, 7225, 309, 619, 63, 2 ]
def __init__(data = None)
def __init__(data = None):
def __init__(data = None) if data == None: quickfix.IntField.__init__(self, 364) else quickfix.IntField.__init__(self, 364, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 1702, 974, 16186, 2738, 972, 12, 2890, 16, 890, 1105, 13, 469, 9549, 904, 18, 1702, 974, 16186, 2738, 972, 12, 2890, 16, 890, 1105, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 1702, 974, 16186, 2738, 972, 12, 2890, 16, 890, 1105, 13, 469, 9549, 904, 18, 1702, 974, 16186, 2738, 972, 12, 2890, 16, 890, 1105, 16, 501, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
idref['ref'] = lambda x: self.id_get(cr, False, x)
idref['ref'] = lambda x: self.id_get(cr, x)
def _process(s, idref): m = re.findall('[^%]%\((.*?)\)[ds]', s) for id in m: if not id in idref: idref[id]=self.id_get(cr, False, id) return s % idref
4bc20ff99f4251e4705e5836bf656f172bf6fd92 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/4bc20ff99f4251e4705e5836bf656f172bf6fd92/convert.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2567, 12, 87, 16, 612, 1734, 4672, 312, 273, 283, 18, 4720, 454, 2668, 5969, 9, 65, 9, 30351, 27482, 25146, 2377, 65, 2187, 272, 13, 364, 612, 316, 312, 30, 309, 486, 612, 316, 612, 1734, 30, 612, 1734, 63, 350, 65, 33, 2890, 18, 350, 67, 588, 12, 3353, 16, 1083, 16, 612, 13, 327, 272, 738, 612, 1734, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2567, 12, 87, 16, 612, 1734, 4672, 312, 273, 283, 18, 4720, 454, 2668, 5969, 9, 65, 9, 30351, 27482, 25146, 2377, 65, 2187, 272, 13, 364, 612, 316, 312, 30, 309, 486, 612, 316, 612, 1734, 30, 612, 1734, 63, 350, 65, 33, 2890, 18, 350, 67, 588, 12, 3353, 16, 1083, 16, 612, 13, 327, 272, 738, 612, 1734, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
'scn': u'Discussione',
'scn': u'Discussioni',
def __init__(self): self.name = None # Updated from http://meta.wikimedia.org/wiki/Interwiki_sorting_order self.alphabetic = [ 'aa','af','ak','als','am','ang','ab','ar','an','arc','roa-rup','frp','as', 'ast','gn','av','ay','az','bm','bn','zh-min-nan','map-bms','ba','be','be-x-old', 'bh','bi','bar','bo','bs','br','bg','bxr','ca','cv','ceb','cs','ch', 'ny','sn', 'tum','cho','co','za','cy','da','pdc','de','dv','nv','dz','mh', 'et','el','eml','en','es','eo','eu','ee','fa','fo','fr','fy','ff','fur','ga', 'gv','gd','gl','ki','glk','gu','got','zh-classical','hak','xal','ko','ha','haw','hy','hi','ho','hsb','hr', 'io','ig','ilo','bpy','id','ia','ie','iu','ik','os','xh','zu','is','it','he', 'jv','kl','pam','kn','kr','ka','ks','csb','kk','kw','rw','ky','rn', 'sw','kv','kg','ht','kj','ku','lad','lbe','lo','la','lv','lb','lij','lt', 'li','ln','jbo','lg','lmo','hu','mk','mg','ml','mt','mi','mr','mzn','ms','cdo', 'mo','mn','mus','my','nah','na','fj','nl','nds-nl','cr','ne','new','ja','nap', 'ce','pih','no','nn','nrm','nov','oc','or','om','ng','hz','ug','uz','pa','pi', 'pag','pap','ps','km','pms','nds','pl','pt','ty','ksh','ro','rmy','rm', 'qu','ru','se','sm','sa','sg','sc','sco','st','tn','sq','ru-sib','scn', 'si','simple','sd','ss','sk','sl','cu','so','sr','sh','su','fi','sv','tl', 'ta','kab','roa-tara','tt','te','tet','th','vi','ti','tg','tpi','to','chr','chy','ve', 'tr','tk','tw','udm','bug','uk','ur','vec','vo','fiu-vro','wa', 'vls','war','wo','wuu','ts','ii','yi','yo','zh-yue','cbk-zam','diq','zea','bat-smg','zh', 'zh-tw','zh-cn'] # knownlanguages is the same list but sorted by code self.knownlanguages = list(self.alphabetic) self.knownlanguages.sort() self.langs = {} # Translation used on all wikis for the different namespaces. # (Please sort languages alphabetically) # You only need to enter translations that differ from _default. self.namespaces = { -2: { '_default': u'Media', 'ab': u'Медиа', 'ar': u'ملف', 'av': u'Медиа', 'az': u'Mediya', 'ba': u'Медиа', 'bat-smg':u'Medija', 'be': u'Мультымедыя', 'be-x-old': u'Мэдыя', 'bg': u'Медия', 'bpy': u'মিডিয়া', 'bs': u'Medija', 'ce': u'Медиа', 'cs': u'Média', 'cu': u'Срѣдьства', 'cv': u'Медиа', 'el': u'Μέσον', 'et': u'Meedia', 'fa': u'مدیا', 'fiu-vro': u'Meediä', 'fo': u'Miðil', 'frp': u'Mèdia', 'ga': u'Meán', 'he': u'מדיה', 'hr': u'Mediji', 'ht': u'Medya', 'hu': u'Média', 'hy': u'Մեդիա', 'is': u'Miðill', 'ka': u'მედია', 'kk': u'Таспа', 'kn': u'ಮೀಡಿಯ', 'ksh':u'Medie', 'ku': u'Medya', 'kv': u'Медиа', 'lt': u'Medija', 'mk': u'Медија', 'ml': u'മീഡിയ', 'mzn': u'مدیا', 'new': u'माध्यम', 'nn': u'Filpeikar', 'no': u'Medium', 'pa': u'ਮੀਡੀਆ', 'rmy':u'Mediya', 'ru': u'Медиа', 'sk': u'Médiá', 'sr': u'Медија', 'su': u'Média', 'ta': u'ஊடகம்', 'te': u'మీడియా', 'tg': u'Медиа', 'th': u'สื่อ', 'udm': u'Медиа', 'uk': u'Медіа', 'ur': u'زریعہ', 'vi': u'Phương tiện', 'vo': u'Nünamakanäd', 'xal': u'Аһар', 'yi': u'מעדיע', }, -1: { '_default': u'Special', 'ab': u'Служебная', 'af': u'Spesiaal', 'als': u'Spezial', 'an': u'Espezial', 'ar': u'خاص', 'ast': u'Especial', 'av': u'Служебная', 'ay': u'Especial', 'az': u'Xüsusi', 'ba': u'Ярҙамсы', 'bar': u'Spezial', 'bat-smg':u'Specialus', 'be': u'Адмысловае', 'be-x-old': u'Спэцыяльныя', 'bg': u'Специални', 'bn': u'বিশেষ', 'bpy': u'বিশেষ', 'br': u'Dibar', 'bs': u'Posebno', 'ca': u'Especial', 'ce': u'Служебная', 'cs': u'Speciální', 'csb': u'Specjalnô', 'cu': u'Нарочьна', 'cv': u'Ятарлă', 'cy': u'Arbennig', 'da': u'Speciel', 'de': u'Spezial', 'el': u'Ειδικό', 'eo': u'Speciala', 'es': u'Especial', 'et': u'Eri', 'eu': u'Aparteko', 'fa': u'ویژه', 'fi': u'Toiminnot', 'fiu-vro': u'Tallituslehekülg', 'fo': u'Serstakur', 'frp': u'Spèciâl', 'fur': u'Speciâl', 'fy': u'Wiki', 'ga': u'Speisialta', 'gn': u'Especial', 'he': u'מיוחד', 'hi': u'विशेष', 'hr': u'Posebno', 'hsb': u'Specialnje', 'ht': u'Espesyal', 'hu': u'Speciális', 'hy': u'Սպասարկողէջ', 'id': u'Istimewa', 'is': u'Kerfissíða', 'it': u'Speciale', 'ja': u'特別', 'jv': u'Astamiwa', 'ka': u'სპეციალური', 'kab': u'Uslig', 'kk': u'Арнайы', 'kn': u'ವಿಶೇಷ', 'ko': u'특수기능', 'ksh':u'Spezial', 'ku': u'Taybet', 'kv': u'Служебная', 'la': u'Specialis', 'li': u'Speciaal', 'lt': u'Specialus', 'mk': u'Специјални', 'ml': u'പ്രത്യേകം', 'mr': u'विशेष', 'ms': u'Istimewa', 'mzn': u'ویژه', 'nah': u'Especial', 'nap': u'Speciale', 'nds': u'Spezial', 'nds-nl': u'Speciaal', 'new': u'विशेष', 'nl': u'Speciaal', 'nn': u'Spesial', 'no': u'Spesial', 'oc': u'Especial', 'os': u'Сæрмагонд', 'pa': u'ਖਾਸ', 'pl': u'Specjalna', 'pt': u'Especial', 'qu': u'Especial', 'rmy':u'Uzalutno', 'ru': u'Служебная', 'sc': u'Speciale', 'scn': u'Speciale', 'sk': u'Špeciálne', 'sl': u'Posebno', 'sq': u'Speciale', 'sr': u'Посебно', 'su': u'Husus', 'ta': u'சிறப்பு', 'te': u'ప్రత్యేక', 'tg': u'Вижа', 'th': u'พิเศษ', 'tr': u'Özel', 'tt': u'Maxsus', 'udm': u'Панель', 'uk': u'Спеціальні', 'ur': u'خاص', 'uz': u'Maxsus', 'vec':u'Speciale', 'vi': u'Đặc biệt', 'vls': u'Specioal', 'vo': u'Patikos', 'wa': u'Sipeciås', 'xal': u'Көдлхнə', 'yi': u'באַזונדער', 'zea': u'Speciaol', }, 0: { '_default': None, }, 1: { '_default': u'Talk', 'ab': u'Обсуждение', 'af': u'Bespreking', 'als': u'Diskussion', 'an': u'Descusión', 'ar': u'نقاش', 'ast': u'Discusión', 'av': u'Обсуждение', 'ay': u'Discusión', 'az': u'Müzakirə', 'ba': u'Фекер алышыу', 'bar': u'Diskussion', 'bat-smg':u'Aptarimas', 'be': u'Размовы', 'be-x-old': u'Абмеркаваньне', 'bg': u'Беседа', 'bm': u'Discuter', 'bn': u'আলাপ', 'bpy': u'য়্যারী', 'br': u'Kaozeal', 'bs': u'Razgovor', 'ca': u'Discussió', 'ce': u'Обсуждение', 'cs': u'Diskuse', 'csb': u'Diskùsëjô', 'cu': u'Бесѣда', 'cv': u'Сӳтсе явасси', 'cy': u'Sgwrs', 'da': u'Diskussion', 'de': u'Diskussion', 'el': u'Συζήτηση', 'eo': u'Diskuto', 'es': u'Discusión', 'et': u'Arutelu', 'eu': u'Eztabaida', 'fa': u'بحث', 'fi': u'Keskustelu', 'fiu-vro': u'Arotus', 'fo': u'Kjak', 'fr': u'Discuter', 'frp': u'Discutar', 'fur': u'Discussion', 'fy': u'Oerlis', 'ga': u'Plé', 'gn': u'Discusión', 'he': u'שיחה', 'hi': u'वार्ता', 'hr': u'Razgovor', 'hsb': u'Diskusija', 'ht': u'Diskite', 'hu': u'Vita', 'hy': u'Քննարկում', 'ia': u'Discussion', 'id': [u'Pembicaraan', u'Bicara'], 'is': u'Spjall', 'it': u'Discussione', 'ja': u'ノート', 'jv': u'Dhiskusi', 'ka': u'განხილვა', 'kab': u'Mmeslay', 'kk': u'Талқылау', 'kn': u'ಚರ್ಚೆಪುಟ', 'ko': u'토론', 'ksh': u'Klaaf', 'ku': u'Nîqaş', 'kv': u'Обсуждение', 'la': u'Disputatio', 'li': u'Euverlèk', 'lt': u'Aptarimas', 'lv': u'Diskusija', 'ml': u'സംവാദം', 'mk': u'Разговор', 'mr': u'चर्चा', 'ms': u'Perbualan', 'mzn': u'بحث', 'nah': u'Discusión', 'nap': u'Discussione', 'nds': u'Diskuschoon', 'nds-nl': u'Overleg', 'new': u'खँलाबँला', 'nl': u'Overleg', 'nn': u'Diskusjon', 'no': u'Diskusjon', 'nv': u"Naaltsoos baa yinísht'į́", 'oc': u'Discutir', 'os': u'Дискусси', 'pa': u'ਚਰਚਾ', 'pl': u'Dyskusja', 'pms':u'Discussion', 'pt': u'Discussão', 'qu': u'Discusión', 'ro': u'Discuţie', 'rmy': [u'Vakyarimata', u'Discuţie'], 'ru': u'Обсуждение', 'sa': u'संभाषणं', 'sc': u'Contièndha', 'scn': u'Discussione', 'sk': u'Diskusia', 'sl': u'Pogovor', 'sq': u'Diskutim', 'sr': u'Разговор', 'su': u'Obrolan', 'sv': u'Diskussion', 'ta': u'பேச்சு', 'te': u'చర్చ', 'tg': u'Баҳс', 'th': u'พูดคุย', 'tr': u'Tartışma', 'tt': u'Bäxäs', 'ty': u'Discuter', 'udm': u'Вераськон', 'uk': u'Обговорення', 'ur': u'تبادلۂ خیال', 'uz': u'Munozara', 'vec':u'Discussion', 'vi': u'Thảo luận', 'vls': u'Discuusje', 'vo': u'Bespik', 'wa': u'Copene', 'wo': u'Discuter', 'xal': u'Ухалвр', 'yi': u'רעדן', 'zea': u'Overleg', }, 2: { '_default': u'User', 'ab': u'Участник', 'af': u'Gebruiker', 'als': u'Benutzer', 'an': u'Usuario', 'ar': u'مستخدم', 'ast': u'Usuariu', 'av': u'Участник', 'ay': u'Usuario', 'az': u'İstifadəçi', 'ba': u'Ҡатнашыусы', 'bar': u'Benutzer', 'bat-smg':u'Naudotojas', 'be': u'Удзельнік', 'be-x-old': u'Удзельнік', 'bg': u'Потребител', 'bm': u'Utilisateur', 'bn': u'ব\u09cdযবহারকারী', 'bpy': u'আতাকুরা', 'br': u'Implijer', 'bs': u'Korisnik', 'ca': u'Usuari', 'ce': u'Участник', 'cs': u'Uživatel', 'csb': u'Brëkòwnik', 'cu': u'Польѕевател҄ь', 'cv': u'Хутшăнакан', 'cy': u'Defnyddiwr', 'da': u'Bruger', 'de': u'Benutzer', 'el': u'Χρήστης', 'eo': u'Vikipediisto', 'es': u'Usuario', 'et': u'Kasutaja', 'eu': u'Lankide', 'fa': u'کاربر', 'fi': u'Käyttäjä', 'fiu-vro': u'Pruukja', 'fo': u'Brúkari', 'fr': u'Utilisateur', 'frp': u'Utilisator', 'fur': u'Utent', 'fy': u'Meidogger', 'ga': u'Úsáideoir', 'gn': u'Usuario', 'he': u'משתמש', 'hi': u'सदस्य', 'hr': u'Suradnik', 'hsb': u'Wužiwar', 'ht': u'Itilizatè', 'hy': u'Մասնակից', 'ia': u'Usator', 'id': u'Pengguna', 'is': u'Notandi', 'it': u'Utente', 'ja': u'利用者', 'jv': u'Panganggo', 'ka': u'მომხმარებელი', 'kab': u'Amseqdac', 'kk': u'Қатысушы', 'kn': u'ಸದಸ್ಯ', 'ko': u'사용자', 'ksh': u'Metmaacher', 'ku': u'Bikarhêner', 'kv': u'Участник', 'la': u'Usor', 'li': u'Gebroeker', 'lt': u'Naudotojas', 'lv': u'Lietotājs', 'mk': u'Корисник', 'ml': u'ഉപയോക്താവ്', 'mr': u'सदस्य', 'ms': u'Pengguna', 'mzn': u'کاربر', 'nah': u'Usuario', 'nap': u'Utente', 'nds': u'Bruker', 'nds-nl': u'Gebruker', 'new': u'छ्येलेमि', 'nl': u'Gebruiker', 'nn': u'Brukar', 'no': u'Bruker', 'nv': u"Choinish'įįhí", 'oc': u'Utilizaire', 'os': u'Архайæг', 'pa': u'ਮੈਂਬਰ', 'pl': u'Wikipedysta', 'pms':u'Utent', 'pt': u'Usuário', 'qu': u'Usuario', 'ro': u'Utilizator', 'rmy':[u'Jeno', u'Utilizator'], 'ru': u'Участник', 'sa': u'योजकः', 'sc': u'Utente', 'scn': u'Utente', 'sk': u'Redaktor', 'sl': u'Uporabnik', 'sq': u'Përdoruesi', 'sr': u'Корисник', 'su': u'Pamaké', 'sv': u'Användare', 'ta': u'பயனர்', 'te': u'సభ్యుడు', 'tg': u'Корбар', 'th': u'ผู้ใช' + u'\u0e49', 'tr': u'Kullanıcı', 'tt': u'Äğzä', 'ty': u'Utilisateur', 'udm': u'Викиавтор', 'uk': u'Користувач', 'ur': u'صارف', 'uz': u'Foydalanuvchi', 'vec':u'Utente', 'vi': u'Thành viên', 'vls': u'Gebruker', 'vo': u'Geban', 'wa': u'Uzeu', 'wo': u'Utilisateur', 'xal': u'Орлцач', 'yi': u'באַניצער', 'zea': u'Gebruker', }, 3: { '_default': u'User talk', 'ab': u'Обсуждение участника', 'af': u'Gebruikerbespreking', 'als': u'Benutzer Diskussion', 'an': u'Descusión usuario', 'ar': u'نقاش المستخدم', 'ast': u'Usuariu discusión', 'av': u'Обсуждение участника', 'ay': u'Usuario Discusión', 'az': u'İstifadəçi müzakirəsi', 'ba': u'Ҡатнашыусы м-н фекер алышыу', 'bar': u'Benutzer Diskussion', 'bat-smg':u'Naudotojo aptarimas', 'be': u'Размовы з удзельнікам', 'be-x-old': u'Гутаркі ўдзельніка', 'bg': u'Потребител беседа', 'bm': u'Discussion Utilisateur', 'bn': u'ব্যবহারকারী আলাপ', 'bpy': u'আতাকুরার য়্যারী', 'br': u'Kaozeadenn Implijer', 'bs': u'Razgovor sa korisnikom', 'ca': u'Usuari Discussió', 'ce': u'Обсуждение участника', 'cs': u'Uživatel diskuse', 'csb': u'Diskùsëjô brëkòwnika', 'cu': u'Польѕевател бесѣда', 'cv': u'Хутшăнаканăн канашлу страници', 'cy': u'Sgwrs Defnyddiwr', 'da': u'Brugerdiskussion', 'de': u'Benutzer Diskussion', 'el': u'Συζήτηση χρήστη', 'eo': u'Vikipediista diskuto', 'es': u'Usuario Discusión', 'et': u'Kasutaja arutelu', 'eu': u'Lankide eztabaida', 'fa': u'بحث کاربر', 'fi': u'Keskustelu käyttäjästä', 'fiu-vro': u'Pruukja arotus', 'fo': u'Brúkari kjak', 'fr': u'Discussion Utilisateur', 'frp': u'Discussion Utilisator', 'fur': u'Discussion utent', 'fy': u'Meidogger oerlis', 'ga': u'Plé úsáideora', 'gn': u'Usuario Discusión', 'he': u'שיחת משתמש', 'hi': u'सदस्य वार्ता', 'hr': u'Razgovor sa suradnikom', 'hsb': u'Diskusija z wužiwarjom', 'ht': u'Diskisyon Itilizatè', 'hu': u'User vita', 'hy': u'Մասնակցի քննարկում', 'ia': u'Discussion Usator', 'id': u'Pembicaraan Pengguna', 'is': u'Notandaspjall', 'it': u'Discussioni utente', 'ja': u'利用者‐会話', 'jv': u'Dhiskusi Panganggo', 'ka': u'მომხმარებელი განხილვა', 'kab': u'Amyannan umsqedac', 'kk': u'Қатысушы талқылауы', 'kn': u'ಸದಸ್ಯರ ಚರ್ಚೆಪುಟ', 'ko': u'사용자토론', 'ksh': u'Metmaacher Klaaf', 'ku': u'Bikarhêner nîqaş', 'kv': u'Обсуждение участника', 'la': u'Disputatio Usoris', 'li': u'Euverlèk gebroeker', 'lt': u'Naudotojo aptarimas', 'lv': u'Lietotāja diskusija', 'mk': u'Разговор со корисник', 'ml': u'ഉപയോക്താവിന്റെ സംവാദം', 'mr': u'सदस्य चर्चा', 'ms': u'Perbualan Pengguna', 'mzn': u'بحث کاربر', 'nah': u'Usuario Discusión', 'nap': u'Discussioni utente', 'nds': u'Bruker Diskuschoon', 'nds-nl': u'Overleg gebruker', 'new': u'छ्येलेमि खँलाबँला', 'nl': u'Overleg gebruiker', 'nn': u'Brukardiskusjon', 'no': u'Brukerdiskusjon', 'nv': u"Choinish'įįhí baa yinísht'į́", 'oc': u'Discussion Utilizaire', 'os': u'Архайæджы дискусси', 'pa': u'ਮੈਂਬਰ ਚਰਚਾ', 'pl': u'Dyskusja wikipedysty', 'pms':u'Ciaciarade', 'pt': u'Usuário Discussão', 'qu': u'Usuario Discusión', 'rmy':[u'Jeno vakyarimata', u'Discuţie Utilizator'], 'ro': u'Discuţie Utilizator', 'ru': u'Обсуждение участника', 'sa': u'योजकसंभाषणं', 'sc': u'Utente discussioni', 'scn': u'Discussioni utente', 'sk': u'Diskusia s redaktorom', 'sl': u'Uporabniški pogovor', 'sq': u'Përdoruesi diskutim', 'sr': u'Разговор са корисником', 'su': u'Obrolan pamaké', 'sv': u'Användardiskussion', 'ta': u'பயனர் பேச்சு', 'te': u'సభ్యులపై చర్చ', 'tg': u'Баҳси корбар', 'th': u'คุยกับผู้ใช้', 'tr': u'Kullanıcı mesaj', 'tt': u'Äğzä bäxäse', 'ty': u'Discussion Utilisateur', 'udm': u'Викиавтор сярысь вераськон', 'uk': u'Обговорення користувача', 'ur': u'تبادلۂ خیال صارف', 'uz': u'Foydalanuvchi munozarasi', 'vec':u'Discussion utente', 'vi': u'Thảo luận Thành viên', 'vls': u'Discuusje gebruker', 'vo': u'Gebanibespik', 'wa': u'Uzeu copene', 'wo': u'Discussion Utilisateur', 'xal': u'Орлцачна тускар ухалвр', 'yi': u'באַניצער רעדן', 'zea': u'Overleg gebruker', }, 4: { '_default': u'Project', }, 5: { '_default': u'Project talk', }, 6: { '_default': u'Image', 'ab': u'Изображение', 'af': u'Beeld', 'als': u'Bild', 'an': u'Imachen', 'ar': u'صورة', 'ast': u'Imaxen', 'av': u'Изображение', 'ay': u'Imagen', 'az': u'Şəkil', 'ba': u'Рәсем', 'bar': u'Bild', 'bat-smg':u'Vaizdas', 'be': u'Выява', 'be-x-old': u'Выява', 'bg': u'Картинка', 'bn': u'চিত্র', 'bpy': u'ছবি', 'br': u'Skeudenn', 'bs': u'Slika', 'ca': u'Imatge', 'cbs': u'Òbrôzk', 'ce': u'Изображение', 'cs': u'Soubor', 'csb': u'Òbrôzk', 'cu': u'Видъ', 'cv': u'Ӳкерчĕк', 'cy': u'Delwedd', 'da': u'Billede', 'de': u'Bild', 'el': u'Εικόνα', 'eo': u'Dosiero', 'es': u'Imagen', 'et': u'Pilt', 'eu': u'Irudi', 'fa': u'تصویر', 'fi': u'Kuva', 'fiu-vro': u'Pilt', 'fo': u'Mynd', 'frp': u'Émâge', 'fur': u'Figure', 'fy': u'Ofbyld', 'ga': u'Íomhá', 'gn': u'Imagen', 'he': u'תמונה', 'hi': u'चित्र', 'hr': u'Slika', 'hsb': u'Wobraz', 'ht': u'Imaj', 'hu': u'Kép', 'hy': u'Պատկեր', 'ia': u'Imagine', 'id': [u'Berkas', u'Gambar'], 'is': u'Mynd', 'it': u'Immagine', 'ja': u'画像', 'jv': u'Gambar', 'ka': u'სურათი', 'kab': u'Tugna', 'kk': u'Сурет', 'kn': u'ಚಿತ್ರ', 'ko': u'그림', 'ksh':u'Beld', 'ku': u'Wêne', 'kv': u'Изображение', 'la': u'Imago', 'li': u'Plaetje', 'lt': u'Vaizdas', 'lv': u'Attēls', 'mk': u'Слика', 'ml': u'ചിത്രം', 'mr': u'चित्र', 'ms': u'Imej', 'mzn': u'تصویر', 'nah': u'Imagen', 'nap': u'Immagine', 'nds': u'Bild', 'nds-nl': u'Ofbeelding', 'new': u'किपा', 'nl': u'Afbeelding', 'nn': u'Fil', 'no': u'Bilde', 'nv': u"E'elyaaígíí", 'oc': u'Imatge', 'os': u'Ныв', 'pa': u'ਤਸਵੀਰ', 'pl': u'Grafika', 'pms':u'Figura', 'pt': u'Imagem', 'qu': u'Imagen', 'rmy':[u'Chitro', u'Imagine'], 'ro': u'Imagine', 'ru': u'Изображение', 'sa': u'चित्रं', 'sc': u'Immàgini', 'scn': u'Immagine', 'sk': u'Obrázok', 'sl': u'Slika', 'sq': u'Figura', 'sr': u'Слика', 'su': u'Gambar', 'sv': u'Bild', 'ta': u'படிமம்', 'te': u'బొమ్మ', 'tg': u'Акс', 'th': u'ภาพ', 'tr': u'Resim', 'tt': u'Räsem', 'udm': u'Суред', 'uk': u'Зображення', 'ur': u'تصویر', 'uz': u'Tasvir', 'vec':u'Imagine', 'vi': u'Hình', 'vls': u'Ofbeeldienge', 'vo': u'Magod', 'wa': u'Imådje', 'xal': u'Зург', 'yi': u'בילד', 'zea': u'Plaetje', }, 7: { '_default': u'Image talk', 'ab': u'Обсуждение изображения', 'af': u'Beeldbespreking', 'als': u'Bild Diskussion', 'an': u'Descusión imachen', 'ar': u'نقاش الصورة', 'ast': u'Imaxen discusión', 'av': u'Обсуждение изображения', 'ay': u'Imagen Discusión', 'az': u'Şəkil müzakirəsi', 'ba': u'Рәсем б-са фекер алышыу', 'bar': u'Bild Diskussion', 'bat-smg':u'Vaizdo aptarimas', 'be': u'Размовы пра выяву', 'be-x-old': u'Абмеркаваньне выявы', 'bg': u'Картинка беседа', 'bm': u'Discussion Image', 'bn': u'চিত্র আলাপ', 'bpy': u'ছবি য়্যারী', 'br': u'Kaozeadenn Skeudenn', 'bs': u'Razgovor o slici', 'ca': u'Imatge Discussió', 'ce': u'Обсуждение изображения', 'cs': u'Soubor diskuse', 'csb': u'Diskùsëjô òbrôzków', 'cu': u'Вида бесѣда', 'cv': u'Ӳкерчĕке сӳтсе явмалли', 'cy': u'Sgwrs Delwedd', 'da': u'Billeddiskussion', 'de': u'Bild Diskussion', 'el': u'Συζήτηση εικόνας', 'eo': u'Dosiera diskuto', 'es': u'Imagen Discusión', 'et': u'Pildi arutelu', 'eu': u'Irudi eztabaida', 'fa': u'بحث تصویر', 'fi': u'Keskustelu kuvasta', 'fiu-vro': u'Pildi arotus', 'fo': u'Mynd kjak', 'fr': u'Discussion Image', 'frp': u'Discussion Émâge', 'fur': u'Discussion figure', 'fy': u'Ofbyld oerlis', 'ga': u'Plé íomhá', 'gn': u'Imagen Discusión', 'he': u'שיחת תמונה', 'hi': u'चित्र वार्ता', 'hr': u'Razgovor o slici', 'hsb': u'Diskusija k wobrazej', 'ht': u'Diskisyon Imaj', 'hu': u'Kép vita', 'hy': u'Պատկերի քննարկում', 'ia': u'Discussion Imagine', 'id': [u'Pembicaraan Berkas', u'Pembicaraan Gambar'], 'is': u'Myndaspjall', 'it': u'Discussioni immagine', 'ja': u'画像‐ノート', 'jv': u'Dhiskusi Gambar', 'ka': u'სურათი განხილვა', 'kab': u'Amyannan n tugna', 'kk': u'Сурет талқылауы', 'kn': u'ಚಿತ್ರ ಚರ್ಚೆಪುಟ', 'ko': u'그림토론', 'ksh':u'Belder Klaaf', 'ku': u'Wêne nîqaş', 'kv': u'Обсуждение изображения', 'la': u'Disputatio Imaginis', 'li': u'Euverlèk plaetje', 'lt': u'Vaizdo aptarimas', 'lv': u'Attēla diskusija', 'mk': u'Разговор за слика', 'ml': u'ചിത്രത്തിന്റെ സംവാദം', 'mr': u'चित्र चर्चा', 'ms': u'Imej Perbualan', 'mzn': u'بحث تصویر', 'nah': u'Imagen Discusión', 'nap': u'Discussioni immagine', 'nds': u'Bild Diskuschoon', 'nds-nl': u'Overleg ofbeelding', 'new': u'किपा खँलाबँला', 'nl': u'Overleg afbeelding', 'nn': u'Fildiskusjon', 'no': u'Bildediskusjon', 'nv': u"E'elyaaígíí baa yinísht'į́", 'oc': u'Discussion Imatge', 'os': u'Нывы тыххæй дискусси', 'pa': u'ਤਸਵੀਰ ਚਰਚਾ', 'pl': u'Dyskusja grafiki', 'pms':u'Discussion dla figura', 'pt': u'Imagem Discussão', 'qu': u'Imagen Discusión', 'rmy':[u'Chitro vakyarimata', u'Discuţie Imagine'], 'ro': u'Discuţie Imagine', 'ru': u'Обсуждение изображения', 'sa': u'चित्रसंभाषणं', 'sc': u'Immàgini contièndha', 'scn': u'Discussioni immagine', 'sk': u'Diskusia k obrázku', 'sl': u'Pogovor o sliki', 'sq': u'Figura diskutim', 'sr': u'Разговор о слици', 'su': u'Obrolan gambar', 'sv': u'Bilddiskussion', 'ta': [u'படிமப் பேச்சு', u'உருவப் பேச்சு'], 'te': u'బొమ్మపై చర్చ', 'tg': u'Баҳси акс', 'th': u'คุยเรื่องภาพ', 'tr': u'Resim tartışma', 'tt': u'Räsem bäxäse', 'ty': u'Discussion Image', 'udm': u'Суред сярысь вераськон', 'uk': u'Обговорення зображення', 'ur': u'تبادلۂ خیال تصویر', 'uz': u'Tasvir munozarasi', 'vec':u'Discussion imagine', 'vi': u'Thảo luận Hình', 'vls': u'Discuusje ofbeeldienge', 'vo': u'Magodibespik', 'wa': u'Imådje copene', 'wo': u'Discussion Image', 'xal': u'Зургин тускар ухалвр', 'yi': u'בילד רעדן', 'zea': u'Overleg plaetje', }, 8: { '_default': u'MediaWiki', 'ar': u'ميدياويكي', 'az': u'MediyaViki', 'bg': u'МедияУики', 'bpy': u'মিডিয়াউইকি', 'bs': u'MedijaViki', 'cy': u'MediaWici', 'fa': u'مدیاویکی', 'fi': u'Järjestelmäviesti', 'fo': u'MidiaWiki', 'he': u'מדיה ויקי', 'ht': u'MedyaWiki', 'is': u'Melding', 'ka': u'მედიავიკი', 'kk': u'МедиаУики', 'kn': u'ಮೀಡಿಯವಿಕಿ', 'ksh':u'MediaWiki', 'mk': u'МедијаВики', 'ml': u'മീഡിയവിക്കി', 'mzn': u'مدیاویکی', 'new': u'मिडियाविकि', 'pa': u'ਮੀਡੀਆਵਿਕਿ', 'rmy':u'MediyaViki', 'sr': u'МедијаВики', 'ta': u'மீடியாவிக்கி', 'te': u'మీడియావికీ', 'tg': u'Медиавики', 'th': u'มีเดียวิกิ', 'tr': u'MedyaViki', 'ur': u'میڈیاوکی', 'vo': u'Sitanuns', 'yi': u'מעדיעװיקי', }, 9: { '_default': u'MediaWiki talk', 'ab': u'Обсуждение MediaWiki', 'af': u'MediaWikibespreking', 'als': u'MediaWiki Diskussion', 'an': u'Descusión MediaWiki', 'ar': u'نقاش ميدياويكي', 'ast': u'MediaWiki discusión', 'av': u'Обсуждение MediaWiki', 'ay': u'MediaWiki Discusión', 'az': u'MediyaViki müzakirəsi', 'ba': u'MediaWiki б-са фекер алышыу', 'bar': u'MediaWiki Diskussion', 'bat-smg':u'MediaWiki aptarimas', 'be': u'Размовы пра MediaWiki', 'be-x-old': u'Абмеркаваньне MediaWiki', 'bg': u'МедияУики беседа', 'bm': u'Discussion MediaWiki', 'bn': u'MediaWiki আলাপ', 'bpy': u'মিডিয়াউইকির য়্যারী', 'br': u'Kaozeadenn MediaWiki', 'bs': u'Razgovor o MedijaVikiju', 'ca': u'MediaWiki Discussió', 'ce': u'Обсуждение MediaWiki', 'cs': u'MediaWiki diskuse', 'csb': u'Diskùsëjô MediaWiki', 'cu': u'MediaWiki бесѣда', 'cv': u'MediaWiki сӳтсе явмалли', 'cy': u'Sgwrs MediaWici', 'da': u'MediaWiki-diskussion', 'de': u'MediaWiki Diskussion', 'eo': u'MediaWiki diskuto', 'es': u'MediaWiki Discusión', 'et': u'MediaWiki arutelu', 'eu': u'MediaWiki eztabaida', 'fa': u'بحث مدیاویکی', 'fi': u'Keskustelu järjestelmäviestistä', 'fiu-vro': u'MediaWiki arotus', 'fo': u'MidiaWiki kjak', 'fr': u'Discussion MediaWiki', 'frp': u'Discussion MediaWiki', 'fur': u'Discussion MediaWiki', 'fy': u'MediaWiki oerlis', 'ga': u'Plé MediaWiki', 'gn': u'MediaWiki Discusión', 'he': u'שיחת מדיה ויקי', 'hr': u'MediaWiki razgovor', 'hsb': u'MediaWiki diskusija', 'ht': u'Diskisyon MedyaWiki', 'hu': u'MediaWiki vita', 'hy': u'MediaWiki քննարկում', 'ia': u'Discussion MediaWiki', 'id': u'Pembicaraan MediaWiki', 'is': u'Meldingarspjall', 'it': u'Discussioni MediaWiki', 'ja': u'MediaWiki‐ノート', 'jv': u'Dhiskusi MediaWiki', 'ka': u'მედიავიკი განხილვა', 'kab': u'Amyannan n MediaWiki', 'kk': u'МедиаУики талқылауы', 'kn': u'ಮೀಡೀಯವಿಕಿ ಚರ್ಚೆ', 'ko': u'MediaWiki토론', 'ksh':u'MediaWiki Klaaf', 'ku': u'MediaWiki nîqaş', 'kv': u'Обсуждение MediaWiki', 'la': u'Disputatio MediaWiki', 'li': u'Euverlèk MediaWiki', 'lt': u'MediaWiki aptarimas', 'lv': u'MediaWiki diskusija', 'mk': u'Разговор за МедијаВики', 'ml': u'മീഡിയവിക്കി സംവാദം', 'ms': u'MediaWiki Perbualan', 'mzn': u'بحث مدیاویکی', 'nah': u'MediaWiki Discusión', 'nap': u'Discussioni MediaWiki', 'nds': u'MediaWiki Diskuschoon', 'nds-nl': u'Overleg MediaWiki', 'new': u'मिडियाविकि खँलाबँला', 'nl': u'Overleg MediaWiki', 'nn': u'MediaWiki-diskusjon', 'no': u'MediaWiki-diskusjon', 'nv': u"MediaWiki baa yinísht'į́", 'oc': u'Discussion MediaWiki', 'os': u'Дискусси MediaWiki', 'pa': u'ਮੀਡੀਆਵਿਕਿ ਚਰਚਾ', 'pl': u'Dyskusja MediaWiki', 'pms':u'Discussion dla MediaWiki', 'pt': u'MediaWiki Discussão', 'qu': u'MediaWiki Discusión', 'rmy':[u'MediyaViki vakyarimata', u'Discuţie MediaWiki'], 'ro': u'Discuţie MediaWiki', 'ru': u'Обсуждение MediaWiki', 'scn': u'Discussioni MediaWiki', 'sk': u'Diskusia k MediaWiki', 'sl': u'Pogovor o MediaWiki', 'sq': u'MediaWiki diskutim', 'sr': u'Разговор о МедијаВикију', 'su': u'Obrolan MediaWiki', 'sv': u'MediaWiki-diskussion', 'ta': u'மீடியாவிக்கி பேச்சு', 'te': u'మీడియావికీ చర్చ', 'tg': u'Баҳси медиавики', 'th': u'คุยเรื่องมีเดียวิกิ', 'tr': u'MedyaViki tartışma', 'tt': u'MediaWiki bäxäse', 'ty': u'Discussion MediaWiki', 'udm': u'MediaWiki сярысь вераськон', 'uk': u'Обговорення MediaWiki', 'ur': u'تبادلۂ خیال میڈیاوکی', 'uz': u'MediaWiki munozarasi', 'vec':u'Discussion MediaWiki', 'vi': u'Thảo luận MediaWiki', 'vls': u'Discuusje MediaWiki', 'vo': u'Bespik dö sitanuns', 'wa': u'MediaWiki copene', 'wo': u'Discussion MediaWiki', 'xal': u'MediaWiki тускар ухалвр', 'yi': u'מעדיעװיקי רעדן', 'zea': u'Overleg MediaWiki', }, 10: { '_default':u'Template', 'ab': u'Шаблон', 'af': u'Sjabloon', 'als': u'Vorlage', 'an': u'Plantilla', 'ar': u'قالب', 'ast': u'Plantilla', 'av': u'Шаблон', 'ay': u'Plantilla', 'az': u'Şablon', 'ba': u'Ҡалып', 'bar': u'Vorlage', 'bat-smg':u'Šablonas', 'be': u'Шаблон', 'be-x-old': u'Шаблён', 'bg': u'Шаблон', 'bm': u'Modèle', 'bpy': u'মডেল', 'br': u'Patrom', 'bs': u'Šablon', 'ca': u'Plantilla', 'cbs': u'Szablóna', 'ce': u'Шаблон', 'cs': u'Šablona', 'csb': u'Szablóna', 'cu': u'Образьць', 'cv': u'Шаблон', 'cy': u'Nodyn', 'da': u'Skabelon', 'de': u'Vorlage', 'el': u'Πρότυπο', 'eo': u'Ŝablono', 'es': u'Plantilla', 'et': u'Mall', 'eu': u'Txantiloi', 'fa': u'الگو', 'fi': u'Malline', 'fiu-vro': u'Näüdüs', 'fo': u'Fyrimynd', 'fr': u'Modèle', 'frp': u'Modèlo', 'fur': u'Model', 'fy': u'Berjocht', 'ga': u'Teimpléad', 'gn': u'Plantilla', 'he': u'תבנית', 'hi': u'साँचा', 'hr': u'Predložak', 'hsb': u'Předłoha', 'ht': u'Modèl', 'hu': u'Sablon', 'hy': u'Կաղապար', 'ia': u'Patrono', 'id': u'Templat', 'is': u'Snið', 'jv': u'Cithakan', 'ka': u'თარგი', 'kab': u'Talɣa', 'kk': u'Үлгі', 'kn': u'ಟೆಂಪ್ಲೇಟು', 'ko': u'틀', 'ksh':u'Schablon', 'ku': u'Şablon', 'kv': u'Шаблон', 'la': u'Formula', 'li': u'Sjabloon', 'lt': u'Šablonas', 'lv': u'Veidne', 'mk': u'Шаблон', 'ml': u'ഫലകം', 'mr': u'साचा', 'ms': u'Templat', 'mzn': u'الگو', 'nah': u'Plantilla', 'nds': u'Vörlaag', 'nds-nl': u'Sjabloon', 'nl': u'Sjabloon', 'nn': u'Mal', 'no': u'Mal', 'oc': u'Modèl', 'os': u'Шаблон', 'pa': u'ਨਮੂਨਾ', 'pl': u'Szablon', 'pms': u'Stamp', 'pt': u'Predefinição', 'qu': u'Plantilla', 'rmy':[u'Sikavno', u'Format'], 'ro': u'Format', 'ru': u'Шаблон', 'sk': u'Šablóna', 'sl': u'Predloga', 'sq': u'Stampa', 'sr': u'Шаблон', 'su': u'Citakan', 'sv': u'Mall', 'ta': u'வார்ப்புரு', 'te': u'మూస', 'tg': u'Шаблон', 'th': u'แม่แบบ', 'tr': u'Şablon', 'tt': u'Ürnäk', 'ty': u'Modèle', 'udm': u'Шаблон', 'uk': u'Шаблон', 'ur': u'سانچہ', 'uz': u'Shablon', 'vi': u'Tiêu bản', 'vls': u'Patrôon', 'vo': u'Samafomot', 'wa': u'Modele', 'wo': u'Modèle', 'xal': u'Зура', 'yi': u'מוסטער', 'zea': u'Sjabloon', }, 11: { '_default': u'Template talk', 'ab': u'Обсуждение шаблона', 'af': u'Sjabloonbespreking', 'als': u'Vorlage Diskussion', 'an': u'Descusión plantilla', 'ar': u'نقاش قالب', 'ast': u'Plantilla discusión', 'av': u'Обсуждение шаблона', 'ay': u'Plantilla Discusión', 'az': u'Şablon müzakirəsi', 'ba': u'Ҡалып б-са фекер алышыу', 'bar': u'Vorlage Diskussion', 'bat-smg':u'Šablono aptarimas', 'be': u'Размовы пра шаблон', 'be-x-old': u'Абмеркаваньне шаблёну', 'bg': u'Шаблон беседа', 'bm': u'Discussion Modèle', 'bpy': u'মডেলর য়্যারী', 'br': u'Kaozeadenn Patrom', 'bs': u'Razgovor o šablonu', 'ca': u'Plantilla Discussió', 'ce': u'Обсуждение шаблона', 'cs': u'Šablona diskuse', 'csb': u'Diskùsëjô Szablónë', 'cu': u'Образьца бесѣда', 'cv': u'Шаблона сӳтсе явмалли', 'cy': u'Sgwrs Nodyn', 'da': u'Skabelondiskussion', 'de': u'Vorlage Diskussion', 'el': u'Συζήτηση προτύπου', 'eo': u'Ŝablona diskuto', 'es': u'Plantilla Discusión', 'et': u'Malli arutelu', 'eu': u'Txantiloi eztabaida', 'fa': u'بحث الگو', 'fi': u'Keskustelu mallineesta', 'fiu-vro': u'Näüdüse arotus', 'fo': u'Fyrimynd kjak', 'fr': u'Discussion Modèle', 'frp': u'Discussion Modèlo', 'fur': u'Discussion model', 'fy': u'Berjocht oerlis', 'ga': u'Plé teimpléid', 'gn': u'Plantilla Discusión', 'he': u'שיחת תבנית', 'hi': u'साँचा वार्ता', 'hr': u'Razgovor o predlošku', 'hsb': u'Diskusija k předłoze', 'ht': u'Diskisyon Modèl', 'hu': u'Sablon vita', 'hy': u'Կաղապարի քննարկում', 'ia': u'Discussion Patrono', 'id': u'Pembicaraan Templat', 'is': u'Sniðaspjall', 'it': u'Discussioni template', 'ja': u'Template‐ノート', 'jv': u'Dhiskusi Cithakan', 'ka': u'თარგი განხილვა', 'kab': u'Amyannan n talɣa', 'kk': u'Үлгі талқылауы', 'kn': u'ಟೆಂಪ್ಲೇಟು ಚರ್ಚೆ', 'ko': u'틀토론', 'ksh':u'Schablone Klaaf', 'ku': u'Şablon nîqaş', 'kv': u'Обсуждение шаблона', 'la': u'Disputatio Formulae', 'li': u'Euverlèk sjabloon', 'lt': u'Šablono aptarimas', 'lv': u'Veidnes diskusija', 'mk': u'Разговор за шаблон', 'ml': u'ഫലകത്തിന്റെ സംവാദം', 'mr': u'साचा चर्चा', 'ms': u'Perbualan Templat', 'mzn': u'بحث الگو', 'nah': u'Plantilla Discusión', 'nap': u'Discussioni template', 'nds': u'Vörlaag Diskuschoon', 'nds-nl': u'Overleg sjabloon', 'nl': u'Overleg sjabloon', 'nn': u'Maldiskusjon', 'no': u'Maldiskusjon', 'oc': u'Discussion Modèl', 'os': u'Шаблоны тыххæй дискусси', 'pa': u'ਨਮੂਨਾ ਚਰਚਾ', 'pl': u'Dyskusja szablonu', 'pms':u'Discussion dlë stamp', 'pt': u'Predefinição Discussão', 'qu': u'Plantilla Discusión', 'rmy':[u'Sikavno vakyarimata', u'Discuţie Format'], 'ro': u'Discuţie Format', 'ru': u'Обсуждение шаблона', 'scn': u'Discussioni template', 'sk': u'Diskusia k šablóne', 'sl': u'Pogovor o predlogi', 'sq': u'Stampa diskutim', 'sr': u'Разговор о шаблону', 'su': u'Obrolan citakan', 'sv': u'Malldiskussion', 'ta': u'வார்ப்புரு பேச்சு', 'te': u'మూస చర్చ', 'tg': u'Баҳси шаблон', 'th': u'คุยเรื่องแม่แบบ', 'tr': u'Şablon tartışma', 'tt': u'Ürnäk bäxäse', 'ty': u'Discussion Modèle', 'udm': u'Шаблон сярысь вераськон', 'uk': u'Обговорення шаблону', 'ur': u'تبادلۂ خیال سانچہ', 'uz': u'Shablon munozarasi', 'vec':u'Discussion template', 'vi': u'Thảo luận Tiêu bản', 'vls': u'Discuusje patrôon', 'vo': u'Samafomotibespik', 'wa': u'Modele copene', 'wo': u'Discussion Modèle', 'xal': u'Зуран тускар ухалвр', 'yi': u'מוסטער רעדן', 'zea': u'Overleg sjabloon', }, 12: { '_default': u'Help', 'ab': u'Справка', 'af': u'Hulp', 'als': u'Hilfe', 'an': u'Aduya', 'ar': u'مساعدة', 'ast': u'Ayuda', 'av': u'Справка', 'ay': u'Ayuda', 'az': u'Kömək', 'ba': u'Белешмә', 'bar': u'Hilfe', 'bat-smg':u'Pagalba', 'be': u'Даведка', 'be-x-old': u'Дапамога', 'bg': u'Помощ', 'bm': u'Aide', 'bpy': u'পাংলাক', 'br': u'Skoazell', 'bs': u'Pomoć', 'ca': u'Ajuda', 'cbs': u'Pòmòc', 'ce': u'Справка', 'cs': u'Nápověda', 'csb': u'Pòmòc', 'cu': u'Помощь', 'cv': u'Пулăшу', 'cy': u'Cymorth', 'da': u'Hjælp', 'de': u'Hilfe', 'el': u'Βοήθεια', 'eo': u'Helpo', 'es': u'Ayuda', 'et': u'Juhend', 'eu': u'Laguntza', 'fa': u'راهنما', 'fi': u'Ohje', 'fiu-vro': u'Oppus', 'fo': u'Hjálp', 'fr': u'Aide', 'frp': u'Éde', 'fur': u'Jutori', 'fy': u'Hulp', 'ga': u'Cabhair', 'gn': u'Ayuda', 'he': u'עזרה', 'hr': u'Pomoć', 'hsb': u'Pomoc', 'ht': u'Èd', 'hu': u'Segítség', 'hy': u'Օգնություն', 'ia': u'Adjuta', 'id': u'Bantuan', 'is': u'Hjálp', 'it': u'Aiuto', 'jv': u'Pitulung', 'ka': u'დახმარება', 'kab': u'Tallat', 'kk': u'Анықтама', 'kn': u'ಸಹಾಯ', 'ko': u'도움말', 'ksh':u'Hölp', 'ku': u'Alîkarî', 'kv': u'Справка', 'la': u'Auxilium', 'lt': u'Pagalba', 'lv': u'Palīdzība', 'mk': u'Помош', 'ml': u'സഹായം', 'ms': u'Bantuan', 'mzn': u'راهنما', 'nah': u'Ayuda', 'nap': u'Aiuto', 'nds': u'Hülp', 'nds-nl': u'Hulpe', 'new': u'ग्वाहालि', 'nn': u'Hjelp', 'no': u'Hjelp', 'nv': u"Aná'álwo'", 'oc': u'Ajuda', 'os': u'Æххуыс', 'pa': u'ਮਦਦ', 'pl': u'Pomoc', 'pms':u'Agiut', 'pt': u'Ajuda', 'qu': u'Ayuda', 'rmy':[u'Zhutipen', u'Ajutor'], 'ro': u'Ajutor', 'ru': u'Справка', 'sa': u'उपकारः', 'scn': u'Aiuto', 'sk': u'Pomoc', 'sl': u'Pomoč', 'sq': u'Ndihmë', 'sr': u'Помоћ', 'su': u'Pitulung', 'sv': u'Hjälp', 'ta': u'உதவி', 'te': u'సహాయము', 'tg': u'Роҳнамо', 'th': u'วิธีใช้', 'tr': u'Yardım', 'tt': u'Yärdäm', 'ty': u'Aide', 'udm': u'Валэктон', 'uk': u'Довідка', 'ur': u'معاونت', 'uz': u'Yordam', 'vec':u'Aiuto', 'vi': u'Trợ giúp', 'vls': u'Ulpe', 'vo': u'Yuf', 'wa': u'Aidance', 'wo': u'Aide', 'xal': u'Цəəлһлһн', 'yi': u'הילף', 'zea': u'Ulpe', }, 13: { '_default': u'Help talk', 'ab': u'Обсуждение справки', 'af': u'Hulpbespreking', 'als': u'Hilfe Diskussion', 'an': u'Descusión aduya', 'ar': u'نقاش المساعدة', 'ast': u'Ayuda discusión', 'av': u'Обсуждение справки', 'ay': u'Ayuda Discusión', 'az': u'Kömək müzakirəsi', 'ba': u'Белешмә б-са фекер алышыу', 'bar': u'Hilfe Diskussion', 'bat-smg':u'Pagalbos aptarimas', 'be': u'Размовы пра даведку', 'be-x-old': u'Абмеркаваньне дапамогі', 'bg': u'Помощ беседа', 'bm': u'Discussion Aide', 'bpy': u'পাংলাকর য়্যারী', 'br': u'Kaozeadenn Skoazell', 'bs': u'Razgovor o pomoći', 'ca': u'Ajuda Discussió', 'ce': u'Обсуждение справки', 'cs': u'Nápověda diskuse', 'csb': u'Diskùsëjô Pòmòcë', 'cu': u'Помощи бесѣда', 'cv': u'Пулăшăва сӳтсе явмалли', 'cy': u'Sgwrs Cymorth', 'da': u'Hjælp-diskussion', 'de': u'Hilfe Diskussion', 'el': u'Συζήτηση βοήθειας', 'eo': u'Helpa diskuto', 'es': u'Ayuda Discusión', 'et': u'Juhendi arutelu', 'eu': u'Laguntza eztabaida', 'fa': u'بحث راهنما', 'fi': u'Keskustelu ohjeesta', 'fiu-vro': u'Oppusõ arotus', 'fo': u'Hjálp kjak', 'fr': u'Discussion Aide', 'frp': u'Discussion Éde', 'fur': u'Discussion jutori', 'fy': u'Hulp oerlis', 'ga': u'Plé cabhrach', 'gn': u'Ayuda Discusión', 'he': u'שיחת עזרה', 'hr': u'Razgovor o pomoći', 'hsb': u'Pomoc diskusija', 'ht': u'Diskisyon Èd', 'hu': u'Segítség vita', 'hy': u'Օգնության քննարկում', 'ia': u'Discussion Adjuta', 'id': u'Pembicaraan Bantuan', 'is': u'Hjálparspjall', 'it': u'Discussioni aiuto', 'ja': u'Help‐ノート', 'jv': u'Dhiskusi Pitulung', 'ka': u'დახმარება განხილვა', 'kab': u'Amyannan n tallat', 'kk': u'Анықтама талқылауы', 'kn': u'ಸಹಾಯ ಚರ್ಚೆ', 'ko': u'도움말토론', 'ksh':u'Hölp Klaaf', 'ku': u'Alîkarî nîqaş', 'kv': u'Обсуждение справки', 'la': u'Disputatio Auxilii', 'li': u'Euverlèk help', 'lt': u'Pagalbos aptarimas', 'lv': u'Palīdzības diskusija', 'mk': u'Разговор за помош', 'ml': u'സഹായത്തിന്റെ സംവാദം', 'ms': u'Perbualan Bantuan', 'mzn': u'بحث راهنما', 'nah': u'Ayuda Discusión', 'nap': u'Discussioni aiuto', 'nds': u'Hülp Diskuschoon', 'nds-nl': u'Overleg hulpe', 'new': u'ग्वाहालि खँलाबँला', 'nl': u'Overleg help', 'nn': u'Hjelpdiskusjon', 'no': u'Hjelpdiskusjon', 'nv': u"Aná'álwo' baa yinísht'į́", 'oc': u'Discussion Ajuda', 'os': u'Æххуысы тыххæй дискусси', 'pa': u'ਮਦਦ ਚਰਚਾ', 'pl': u'Dyskusja pomocy', 'pms':u"Discussion ant sl'agiut", 'pt': u'Ajuda Discussão', 'qu': u'Ayuda Discusión', 'rmy':[u'Zhutipen vakyarimata', u'Discuţie Ajutor'], 'ro': u'Discuţie Ajutor', 'ru': u'Обсуждение справки', 'sa': u'उपकारसंभाषणं', 'scn': u'Discussioni aiuto', 'sk': u'Diskusia k pomoci', 'sl': u'Pogovor o pomoči', 'sq': u'Ndihmë diskutim', 'sr': u'Разговор о помоћи', 'su': u'Obrolan pitulung', 'sv': u'Hjälpdiskussion', 'ta': u'உதவி பேச்சு', 'te': u'సహాయము చర్చ', 'tg': u'Баҳси роҳнамо', 'th': u'คุยเรื่องวิธีใช้', 'tr': u'Yardım tartışma', 'tt': u'Yärdäm bäxäse', 'ty': u'Discussion Aide', 'udm': u'Валэктон сярысь вераськон', 'uk': u'Обговорення довідки', 'ur': u'تبادلۂ خیال معاونت', 'uz': u'Yordam munozarasi', 'vec':u'Discussion aiuto', 'vi': u'Thảo luận Trợ giúp', 'vls': u'Discuusje ulpe', 'vo': u'Yufibespik', 'wa': u'Aidance copene', 'wo': u'Discussion Aide', 'xal': u'Цəəлһлһин тускар ухалвр', 'yi': u'הילף רעדן', 'zea': u'Overleg ulpe', }, 14: { '_default': u'Category', 'ab': u'Категория', 'af': u'Kategorie', 'als': u'Kategorie', 'an': u'Categoría', 'ar': u'تصنيف', 'ast': u'Categoría', 'av': u'Категория', 'ay': u'Categoría', 'az': u'Kateqoriya', 'ba': u'Категория', 'bar': u'Kategorie', 'bat-smg':u'Kategorija', 'be': u'Катэгорыя', 'be-x-old': u'Катэгорыя', 'bg': u'Категория', 'bm': u'Catégorie', 'bpy': u'থাক', 'br': u'Rummad', 'bs': u'Kategorija', 'ca': u'Categoria', 'ce': u'Категория', 'cs': u'Kategorie', 'csb': u'Kategòrëjô', 'cu': u'Катигорї', 'cv': u'Категори', 'cy': u'Categori', 'da': u'Kategori', 'de': u'Kategorie', 'el': u'Κατηγορία', 'eo': u'Kategorio', 'es': u'Categoría', 'et': u'Kategooria', 'eu': u'Kategoria', 'fa': u'رده', 'fi': u'Luokka', 'fiu-vro': u'Katõgooria', 'fo': u'Bólkur', 'fr': u'Catégorie', 'frp': u'Catègorie', 'fur': u'Categorie', 'fy': u'Kategory', 'ga': [u'Catagóir', u'Rang'], 'gn': u'Categoría', 'he': u'קטגוריה', 'hi': u'श्रेणी', 'hr': u'Kategorija', 'hsb': u'Kategorija', 'ht': u'Kategori', 'hu': u'Kategória', 'hy': u'Կատեգորիա', 'ia': u'Categoria', 'id': u'Kategori', 'is': u'Flokkur', 'it': u'Categoria', 'jv': u'Kategori', 'ka': u'კატეგორია', 'kab': u'Taggayt', 'kk': u'Санат', 'kn': u'ವರ್ಗ', 'ko': u'분류', 'ksh':[u'Saachjrupp', u'Saachjropp'], 'ku': u'Kategorî', 'kv': u'Категория', 'la': u'Categoria', 'li': [u'Categorie', u'Kategorie'], 'lt': u'Kategorija', 'lv': u'Kategorija', 'mk': u'Категорија', 'ml': u'വിഭാഗം', 'mr': u'वर्ग', 'ms': u'Kategori', 'mzn': u'رده', 'nah': u'Categoría', 'nap': u'Categoria', 'nds': u'Kategorie', 'nds-nl': [u'Kattegerie', u'Categorie'], 'new': u'पुचः', 'nl': u'Categorie', 'nn': u'Kategori', 'no': u'Kategori', 'nv': u"T'ááłáhági át'éego", 'oc': u'Categoria', 'os': u'Категори', 'pa': u'ਸ਼੍ਰੇਣੀ', 'pl': u'Kategoria', 'pms':u'Categorìa', 'pt': u'Categoria', 'qu': u'Categoría', 'rmy':[u'Shopni', u'Categorie'], 'ro': u'Categorie', 'ru': u'Категория', 'sa': u'वर्गः', 'scn': u'Categoria', 'sk': u'Kategória', 'sl': u'Kategorija', 'sr': u'Категорија', 'su': u'Kategori', 'sv': u'Kategori', 'ta': u'பகுப்பு', 'te': u'వర్గం', 'tg': u'Гурӯҳ', 'th': u'หมวดหมู่', 'tr': u'Kategori', 'tt': u'Törkem', 'ty': u'Catégorie', 'udm': u'Категория', 'uk': u'Категорія', 'ur': u'زمرہ', 'uz': u'Kategoriya', 'vec':u'Categoria', 'vi': u'Thể loại', 'vls': u'Categorie', 'vo': u'Klad', 'wa': u'Categoreye', 'wo': u'Catégorie', 'xal': u'Янз', 'yi': u'קאַטעגאָריע', 'zea': u'Categorie', }, 15: { '_default': u'Category talk', 'ab': u'Обсуждение категории', 'af': u'Kategoriebespreking', 'als': u'Kategorie Diskussion', 'an': u'Descusión categoría', 'ar': u'نقاش التصنيف', 'ast': u'Categoría discusión', 'av': u'Обсуждение категории', 'ay': u'Categoría Discusión', 'az': u'Kateqoriya müzakirəsi', 'ba': u'Категория б-са фекер алышыу', 'bar': u'Kategorie Diskussion', 'bat-smg':u'Kategorijos aptarimas', 'be': u'Размовы пра катэгорыю', 'be-x-old': u'Абмеркаваньне катэгорыі', 'bg': u'Категория беседа', 'bm': u'Discussion Catégorie', 'bpy': u'থাকর য়্যারী', 'br': u'Kaozeadenn Rummad', 'bs': u'Razgovor o kategoriji', 'ca': u'Categoria Discussió', 'ce': u'Обсуждение категории', 'cs': u'Kategorie diskuse', 'csb': u'Diskùsëjô Kategòrëji', 'cu': u'Катигорїѩ бесѣда', 'cv': u'Категорине сӳтсе явмалли', 'cy': u'Sgwrs Categori', 'da': u'Kategoridiskussion', 'de': u'Kategorie Diskussion', 'el': u'Συζήτηση κατηγορίας', 'eo': u'Kategoria diskuto', 'es': u'Categoría Discusión', 'et': u'Kategooria arutelu', 'eu': u'Kategoria eztabaida', 'fa': u'بحث رده', 'fi': u'Keskustelu luokasta', 'fiu-vro': u'Katõgooria arotus', 'fo': u'Bólkur kjak', 'fr': u'Discussion Catégorie', 'frp': u'Discussion Catègorie', 'fur': u'Discussion categorie', 'fy': u'Kategory oerlis', 'ga': u'Plé catagóire', 'gn': u'Categoría Discusión', 'he': u'שיחת קטגוריה', 'hi': u'श्रेणी वार्ता', 'hr': u'Razgovor o kategoriji', 'hsb': u'Diskusija ke kategoriji', 'ht': u'Diskisyon Kategori', 'hu': u'Kategória vita', 'hy': u'Կատեգորիայի քննարկում', 'ia': u'Discussion Categoria', 'id': u'Pembicaraan Kategori', 'is': u'Flokkaspjall', 'it': u'Discussioni categoria', 'ja': u'Category‐ノート', 'jv': u'Dhiskusi Kategori', 'ka': u'კატეგორია განხილვა', 'kab': u'Amyannan n taggayt', 'kk': u'Санат талқылауы', 'kn': u'ವರ್ಗ ಚರ್ಚೆ', 'ko': u'분류토론', 'ksh':u'Saachjrupp Klaaf', 'ku': u'Kategorî nîqaş', 'kv': u'Обсуждение категории', 'la': u'Disputatio Categoriae', 'li': [u'Euverlèk categorie', u'Euverlèk kategorie'], 'lt': u'Kategorijos aptarimas', 'lv': u'Kategorijas diskusija', 'mk': u'Разговор за категорија', 'ml': u'വിഭാഗത്തിന്റെ സംവാദം', 'mr': u'वर्ग चर्चा', 'ms': u'Perbualan Kategori', 'mzn': u'بحث رده', 'nah': u'Categoría Discusión', 'nap': u'Discussioni categoria', 'nds': u'Kategorie Diskuschoon', 'nds-nl': [u'Overleg kattegerie', 'Overleg categorie'], 'new': u'पुचः खँलाबँला', 'nl': u'Overleg categorie', 'nn': u'Kategoridiskusjon', 'no': u'Kategoridiskusjon', 'nv': u"T'ááłáhági át'éego baa yinísht'į́", 'oc': u'Discussion Categoria', 'os': u'Категорийы тыххæй дискусси', 'pa': u'ਸ਼੍ਰੇਣੀ ਚਰਚਾ', 'pl': u'Dyskusja kategorii', 'pms':u'Discussion ant sla categorìa', 'pt': u'Categoria Discussão', 'qu': u'Categoría Discusión', 'rmy':[u'Shopni vakyarimata', u'Discuţie Categorie'], 'ro': u'Discuţie Categorie', 'ru': u'Обсуждение категории', 'sa': u'वर्गसंभाषणं', 'scn': u'Discussioni categoria', 'sk': u'Diskusia ku kategórii', 'sl': u'Pogovor o kategoriji', 'sr': u'Разговор о категорији', 'su': u'Obrolan kategori', 'sv': u'Kategoridiskussion', 'ta': u'பகுப்பு பேச்சு', 'te': u'వర్గం చర్చ', 'tg': u'Баҳси гурӯҳ', 'th': u'คุยเรื่องหมวดหมู่', 'tr': u'Kategori tartışma', 'tt': u'Törkem bäxäse', 'ty': u'Discussion Catégorie', 'udm': u'Категория сярысь вераськон', 'uk': u'Обговорення категорії', 'ur': u'تبادلۂ خیال زمرہ', 'uz': u'Kategoriya munozarasi', 'vec':u'Discussion categoria', 'vi': u'Thảo luận Thể loại', 'vls': u'Discuusje categorie', 'vo': u'Kladibespik', 'wa': u'Categoreye copene', 'wo': u'Discussion Catégorie', 'xal': u'Янзин тускар ухалвр', 'yi': u'קאַטעגאָריע רעדן', 'zea': u'Overleg categorie', }, }
50e42863893a1a4a8cc03199dc0f8384b6016f55 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4404/50e42863893a1a4a8cc03199dc0f8384b6016f55/family.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 18, 529, 273, 599, 468, 19301, 628, 1062, 2207, 3901, 18, 11999, 381, 1980, 18, 3341, 19, 13044, 19, 2465, 13044, 67, 28751, 67, 1019, 365, 18, 287, 8133, 7943, 273, 306, 296, 7598, 17023, 1727, 17023, 581, 17023, 1031, 17023, 301, 17023, 539, 17023, 378, 17023, 297, 17023, 304, 17023, 11828, 17023, 303, 69, 17, 86, 416, 17023, 4840, 84, 17023, 345, 2187, 296, 689, 17023, 1600, 17023, 842, 17023, 528, 17023, 1561, 17023, 25709, 17023, 13392, 17023, 23121, 17, 1154, 17, 13569, 17023, 1458, 17, 70, 959, 17023, 12124, 17023, 2196, 17023, 2196, 17, 92, 17, 1673, 2187, 296, 70, 76, 17023, 13266, 17023, 3215, 17023, 1075, 17023, 2038, 17023, 2848, 17023, 12370, 17023, 70, 92, 86, 17023, 5353, 17023, 19774, 17023, 311, 70, 17023, 2143, 17023, 343, 2187, 296, 18538, 17023, 8134, 2187, 296, 88, 379, 17023, 2599, 17023, 2894, 17023, 11939, 17023, 2431, 17023, 2414, 17023, 84, 7201, 17023, 323, 17023, 15679, 17023, 16588, 17023, 72, 94, 17023, 81, 76, 2187, 296, 278, 17023, 292, 17023, 351, 80, 17023, 275, 17023, 281, 17023, 4361, 17023, 73, 89, 17023, 1340, 17023, 507, 17023, 617, 17023, 4840, 17023, 74, 93, 17023, 1403, 17023, 74, 295, 17023, 15833, 2187, 296, 75, 90, 17023, 19016, 17023, 7043, 17023, 15299, 17023, 7043, 79, 17023, 6891, 17023, 13212, 17023, 23121, 17, 1106, 1706, 17023, 76, 581, 17023, 92, 287, 17023, 28179, 17023, 3395, 17023, 76, 2219, 17023, 18112, 17023, 12266, 17023, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 18, 529, 273, 599, 468, 19301, 628, 1062, 2207, 3901, 18, 11999, 381, 1980, 18, 3341, 19, 13044, 19, 2465, 13044, 67, 28751, 67, 1019, 365, 18, 287, 8133, 7943, 273, 306, 296, 7598, 17023, 1727, 17023, 581, 17023, 1031, 17023, 301, 17023, 539, 17023, 378, 17023, 297, 17023, 304, 17023, 11828, 17023, 303, 69, 17, 86, 416, 17023, 4840, 84, 17023, 345, 2187, 296, 689, 17023, 1600, 17023, 842, 17023, 528, 17023, 1561, 17023, 25709, 17023, 13392, 17023, 23121, 17, 1154, 17, 13569, 17023, 1458, 17, 70, 959, 17023, 12124, 17023, 2196, 17023, 2196, 17, 92, 17, 1673, 2187, 296, 70, 76, 17023, 13266, 17023, 3215, 17023, 1075, 17023, 2038, 2 ]
import Configure, config_c, Options, Utils, Logs from Logs import warn, debug from Configure import conf
from waflib import Configure, Options, Utils, Logs from waflib.Tools import c_config from waflib.Logs import warn, debug from waflib.Configure import conf
#def build(bld):
808f378c9fe6646363b52cfbb114db952bdaa19c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2886/808f378c9fe6646363b52cfbb114db952bdaa19c/boost.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 468, 536, 1361, 12, 70, 1236, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 468, 536, 1361, 12, 70, 1236, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
confautoprc=ReadFile("makepanda/confauto.in")
confautoprc = ReadFile("makepanda/confauto.in")
pandaversion_h += "\n#undef PANDA_OFFICIAL_VERSION\n"
4d498acfe5ebc9517e624dc710c2b46a7217beb8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7242/4d498acfe5ebc9517e624dc710c2b46a7217beb8/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 293, 464, 842, 722, 67, 76, 1011, 1548, 82, 7, 318, 536, 225, 453, 4307, 37, 67, 3932, 1653, 39, 6365, 67, 5757, 64, 82, 6, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 293, 464, 842, 722, 67, 76, 1011, 1548, 82, 7, 318, 536, 225, 453, 4307, 37, 67, 3932, 1653, 39, 6365, 67, 5757, 64, 82, 6, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 " Additional virtual path added: " + result.group(1) + suffix
def handleInfoFile(dirpath, parts, suffix, sceneryObject, authors): # open the info file file = open(os.path.join(dirpath, "info.txt")) infoFileContents = file.readlines() file.close() # define the regex patterns: texturePattern = re.compile("TEXTURE\s+(.*)") litTexturePattern = re.compile("TEXTURE_LIT\s+(.*)") exportPattern = re.compile("Export:\s+(.*)") titlePattern = re.compile("Title:\s+(.*)") authorPattern = re.compile("Author:\s+(.*)") textureAuthorPattern = re.compile("Author, texture:\s+(.*)") conversionAuthorPattern = re.compile("Author, conversion:\s+(.*)") emailPattern = re.compile("Email:\s+(.*)") textureEmailPattern = re.compile("Email, texture:\s+(.*)") conversionEmailPattern = re.compile("Email, conversion:\s+(.*)") urlPattern = re.compile("URL:\s+(.*)") textureUrlPattern = re.compile("URL, texture:\s+(.*)") conversionUrlPattern = re.compile("URL, conversion:\s+(.*)") widthPattern = re.compile("Width:\s+(.*)") heightPattern = re.compile("Height:\s+(.*)") depthPattern = re.compile("Depth:\s+(.*)") descriptionPattern = re.compile("Description:\s+(.*)") excludePattern = re.compile("Exclude:\s+(.*)") animatedPattern = re.compile("Animated:\s+(.*)") # Define the variables to capture the data sceneryObject.virtualPaths.append(parts[2] + suffix) for line in infoFileContents: result = excludePattern.match(line) if result: print " EXCLUDED, reason: " + result.group(1) return 0 result = titlePattern.match(line) if result: sceneryObject.title = result.group(1).replace("\"", "'") continue result = authorPattern.match(line) if result: sceneryObject.author = result.group(1) if not sceneryObject.author in authors: authors.append(sceneryObject.author) continue result = textureAuthorPattern.match(line) if result: sceneryObject.textureAuthor = result.group(1) if not sceneryObject.textureAuthor in authors: authors.append(sceneryObject.textureAuthor) continue result = conversionAuthorPattern.match(line) if result: sceneryObject.conversionAuthor = result.group(1) if not sceneryObject.conversionAuthor in authors: authors.append(sceneryObject.conversionAuthor) continue result = emailPattern.match(line) if result: sceneryObject.email = result.group(1) continue result = textureEmailPattern.match(line) if result: sceneryObject.textureEmail = result.group(1) continue result = conversionEmailPattern.match(line) if result: sceneryObject.conversionEmail = result.group(1) continue result = urlPattern.match(line) if result: sceneryObject.url = result.group(1) continue result = textureUrlPattern.match(line) if result: sceneryObject.textureUrl = result.group(1) continue result = conversionUrlPattern.match(line) if result: sceneryObject.conversionUrl = result.group(1) continue result = widthPattern.match(line) if result: sceneryObject.width = result.group(1) continue result = heightPattern.match(line) if result: sceneryObject.height = result.group(1) continue result = depthPattern.match(line) if result: sceneryObject.depth = result.group(1) continue result = animatedPattern.match(line) if result: sceneryObject.animated = (result.group(1) == "True" or result.group(1) == "Yes") continue result = exportPattern.match(line) if result: sceneryObject.virtualPaths.append(result.group(1) + suffix) print " Additional virtual path added: " + result.group(1) + suffix continue result = descriptionPattern.match(line) if result: sceneryObject.description = "<p>" + result.group(1) + "</p>" continue # Default is to append to the description sceneryObject.description += "<p>" + line + "</p>" if os.path.isfile(os.path.join(dirpath, "tutorial.pdf")): sceneryObject.tutorial = 1 shutil.copyfile(os.path.join(dirpath, "tutorial.pdf"), classes.Configuration.osxFolder + "/doc/" + sceneryObject.title + " Tutorial.pdf") shutil.copyfile(os.path.join(dirpath, "tutorial.pdf"), classes.Configuration.osxWebsiteFolder + "/doc/" + sceneryObject.title + " Tutorial.pdf") htmlFileContent = "" htmlFileContent += "<div id='content'>\n" htmlFileContent += "<h2>" + sceneryObject.title + "</h2>\n" htmlFileContent += "<p class='virtualPath'>\n" for virtualPath in sceneryObject.virtualPaths: htmlFileContent += virtualPath + "<br />\n" htmlFileContent += "</p>\n" htmlFileContent += "<img class='screenshot' src='../" + os.path.join(parts[2], "screenshot.jpg") + "'>\n" htmlFileContent += "<ul class='mainItemDetails'>\n" if (not sceneryObject.author == ""): htmlFileContent += "<li><span class='fieldTitle'>Original Author:</span> " if (not sceneryObject.url == ""): htmlFileContent += "<span class='fieldValue'><a href='" + sceneryObject.url + "'>" + sceneryObject.author + "</a></span>" if (not sceneryObject.email == ""): htmlFileContent += ", <span class='fieldTitle'>email:</span> <span class='fieldValue'><a href='mailto:" + sceneryObject.email + "'>" + sceneryObject.email + "</a></span>" elif (not sceneryObject.email == ""): htmlFileContent += "<span class='fieldValue'><a href='mailto:" + sceneryObject.email + "'>" + sceneryObject.author + "</a></span>" else: htmlFileContent += "<span class='fieldValue'>" + sceneryObject.author + "</span>" htmlFileContent += "</li>\n" if (not sceneryObject.textureAuthor == ""): htmlFileContent += "<li><span class='fieldTitle'>Original Texture Author:</span> " if (not sceneryObject.textureUrl == ""): htmlFileContent += "<span class='fieldValue'><a href='" + sceneryObject.textureUrl + "'>" + sceneryObject.textureAuthor + "</a></span>" if (not sceneryObject.textureEmail == ""): htmlFileContent += ", <span class='fieldTitle'>email:</span> <span class='fieldValue'><a href='mailto:" + sceneryObject.textureEmail + "'>" + sceneryObject.textureEmail + "</a></span>" elif (not sceneryObject.textureEmail == ""): htmlFileContent += "<span class='fieldValue'><a href='mailto:" + sceneryObject.textureEmail + "'>" + sceneryObject.textureAuthor + "</a></span>" else: htmlFileContent += "<span class='fieldValue'>" + sceneryObject.textureAuthor + "</span>" htmlFileContent += "</li>\n" if (not sceneryObject.conversionAuthor == ""): htmlFileContent += "<li><span class='fieldTitle'>Object Conversion By:</span> " if (not sceneryObject.conversionUrl == ""): htmlFileContent += "<span class='fieldValue'><a href='" + sceneryObject.conversionUrl + "'>" + sceneryObject.conversionAuthor + "</a></span>" if (not sceneryObject.conversionEmail == ""): htmlFileContent += ", <span class='fieldTitle'>email:</span> <span class='fieldValue'><a href='mailto:" + sceneryObject.conversionEmail + "'>" + sceneryObject.conversionEmail + "</a></span>" elif (not sceneryObject.conversionEmail == ""): htmlFileContent += "<span class='fieldValue'><a href='mailto:" + sceneryObject.conversionEmail + "'>" + sceneryObject.conversionAuthor + "</a></span>" else: htmlFileContent += "<span class='fieldValue'>" + sceneryObject.conversionAuthor + "</span>" htmlFileContent += "</li>\n" if (not sceneryObject.description == ""): htmlFileContent += "<li><span class='fieldTitle'>Description:</span> <span class='fieldValue'>" + sceneryObject.description + "</span></li>\n" if (not sceneryObject.width == "" and not sceneryObject.height == "" and not sceneryObject.depth == ""): htmlFileContent += "<li><span class='fieldTitle'>Dimensions:</span>\n" htmlFileContent += "<ul class='dimensions'>\n" htmlFileContent += "<li id='width'><span class='fieldTitle'>w:</span> " + sceneryObject.width + "</li>\n" htmlFileContent += "<li id='height'><span class='fieldTitle'>h:</span> " + sceneryObject.height + "</li>\n" htmlFileContent += "<li id='depth'><span class='fieldTitle'>d:</span> " + sceneryObject.depth + "</li>\n" htmlFileContent += "</ul>\n" htmlFileContent += "</li>\n" if (sceneryObject.tutorial): htmlFileContent += "<li><span class='fieldTitle'>Tutorial:</span> <span class='fieldValue'><a href='" + urllib.pathname2url(sceneryObject.title + " Tutorial.pdf") + "' class='nounderline' title='View Tutorial' target='_blank'><img src='../doc/pdf.gif' class='icon' alt='PDF File Icon' /></a>&nbsp;<a href='" + urllib.pathname2url(sceneryObject.title + " Tutorial.pdf") + "' title='View Tutorial' target='_blank'>View Tutorial</a></span></li>\n" htmlFileContent += "</ul>\n" htmlFileContent += "</div>" htmlFileHandle = open(classes.Configuration.osxFolder + "/doc/" + sceneryObject.title + ".html", "w") writeHTMLHeader(htmlFileHandle, "", "OpenSceneryX Object Library for X-Plane") htmlFileHandle.write(htmlFileContent) writeHTMLFooter(htmlFileHandle, "") htmlFileHandle.close() htmlFileHandle = open(classes.Configuration.osxWebsiteFolder + "/doc/" + sceneryObject.title + ".html", "w") writeHTMLHeader(htmlFileHandle, "", "OpenSceneryX Object Library for X-Plane") htmlFileHandle.write(htmlFileContent) writeHTMLFooter(htmlFileHandle, "") htmlFileHandle.close() return 1
9fe6e6418d8874879552cb9bf7dfa7161dcf996e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5176/9fe6e6418d8874879552cb9bf7dfa7161dcf996e/functions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 966, 812, 12, 1214, 803, 16, 2140, 16, 3758, 16, 888, 275, 627, 921, 16, 14494, 4672, 468, 1696, 326, 1123, 585, 585, 273, 1696, 12, 538, 18, 803, 18, 5701, 12, 1214, 803, 16, 315, 1376, 18, 5830, 6, 3719, 1123, 812, 6323, 273, 585, 18, 896, 3548, 1435, 585, 18, 4412, 1435, 225, 468, 4426, 326, 3936, 6884, 30, 11428, 3234, 273, 283, 18, 11100, 2932, 24652, 64, 87, 15, 7444, 2225, 13, 16297, 10967, 3234, 273, 283, 18, 11100, 2932, 24652, 67, 15716, 64, 87, 15, 7444, 2225, 13, 3359, 3234, 273, 283, 18, 11100, 2932, 6144, 5581, 87, 15, 7444, 2225, 13, 2077, 3234, 273, 283, 18, 11100, 2932, 4247, 5581, 87, 15, 7444, 2225, 13, 2869, 3234, 273, 283, 18, 11100, 2932, 3594, 5581, 87, 15, 7444, 2225, 13, 11428, 3594, 3234, 273, 283, 18, 11100, 2932, 3594, 16, 11428, 5581, 87, 15, 7444, 2225, 13, 4105, 3594, 3234, 273, 283, 18, 11100, 2932, 3594, 16, 4105, 5581, 87, 15, 7444, 2225, 13, 2699, 3234, 273, 283, 18, 11100, 2932, 4134, 5581, 87, 15, 7444, 2225, 13, 11428, 4134, 3234, 273, 283, 18, 11100, 2932, 4134, 16, 11428, 5581, 87, 15, 7444, 2225, 13, 4105, 4134, 3234, 273, 283, 18, 11100, 2932, 4134, 16, 4105, 5581, 87, 15, 7444, 2225, 13, 880, 3234, 273, 283, 18, 11100, 2932, 1785, 5581, 87, 15, 7444, 2225, 13, 11428, 1489, 3234, 273, 283, 18, 11100, 2932, 1785, 16, 11428, 5581, 87, 15, 7444, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 966, 812, 12, 1214, 803, 16, 2140, 16, 3758, 16, 888, 275, 627, 921, 16, 14494, 4672, 468, 1696, 326, 1123, 585, 585, 273, 1696, 12, 538, 18, 803, 18, 5701, 12, 1214, 803, 16, 315, 1376, 18, 5830, 6, 3719, 1123, 812, 6323, 273, 585, 18, 896, 3548, 1435, 585, 18, 4412, 1435, 225, 468, 4426, 326, 3936, 6884, 30, 11428, 3234, 273, 283, 18, 11100, 2932, 24652, 64, 87, 15, 7444, 2225, 13, 16297, 10967, 3234, 273, 283, 18, 11100, 2932, 24652, 67, 15716, 64, 87, 15, 7444, 2225, 13, 3359, 3234, 273, 283, 18, 11100, 2932, 6144, 5581, 87, 15, 7444, 2225, 13, 2077, 3234, 273, 283, 18, 11100, 2932, 4247, 5581, 87, 15, 2 ]
pagename = "%s:%s" % (self._cfg.interwikiname, pagename)
pagename = self._interWikiName(pagename)
def addTrail(self, pagename): """ Add page to trail. @param pagename: the page name to add to the trail """ # TODO: acquire lock here, so multiple processes don't clobber # each one trail.
f99365c9d90af75036f3eaac4a0d7c36a3505ad5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/888/f99365c9d90af75036f3eaac4a0d7c36a3505ad5/user.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 18107, 12, 2890, 16, 4262, 1069, 4672, 3536, 1436, 1363, 358, 15569, 18, 225, 632, 891, 4262, 1069, 30, 326, 1363, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 18107, 12, 2890, 16, 4262, 1069, 4672, 3536, 1436, 1363, 358, 15569, 18, 225, 632, 891, 4262, 1069, 30, 326, 1363, 508, 358, 527, 358, 326, 15569, 3536, 468, 2660, 30, 10533, 2176, 2674, 16, 1427, 3229, 8488, 2727, 1404, 30152, 468, 1517, 1245, 15569, 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 ]