rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
def t_error(t): print "Illegal character '%s'" % t.value[0] t.skip(1) lex.lex() gdl = open('parse_test.kif').read() lex.input(gdl)
yacc.yacc() file = open(sys.argv[1], 'r').read() result = yacc.parse(file)
def t_error(t): print "Illegal character '%s'" % t.value[0] t.skip(1)
81c1347c5845cbf89926a3682e137f49b74a7fe2 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7008/81c1347c5845cbf89926a3682e137f49b74a7fe2/gdllex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 268, 67, 1636, 12, 88, 4672, 1172, 315, 12195, 3351, 1995, 87, 4970, 738, 268, 18, 1132, 63, 20, 65, 268, 18, 7457, 12, 21, 13, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 268, 67, 1636, 12, 88, 4672, 1172, 315, 12195, 3351, 1995, 87, 4970, 738, 268, 18, 1132, 63, 20, 65, 268, 18, 7457, 12, 21, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
i = self.to_bits(i)
i = self.to_bits(i, self.m)
def interpolation_polynomial(self, k=None): r""" Return a univariate polynomial over an extension field representing this S-box.
722300ff09b8199db5acea36fda4b2778a4c12e9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/722300ff09b8199db5acea36fda4b2778a4c12e9/sbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12851, 67, 3915, 13602, 12, 2890, 16, 417, 33, 7036, 4672, 436, 8395, 2000, 279, 640, 27693, 16991, 1879, 392, 2710, 652, 5123, 333, 348, 17, 2147, 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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, 2710, 652, 5123, 333, 348, 17, 2147, 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 ]
for i in range(len(newtxt)): if newtxt[i]!=txt[i*2]: print "error at: %d (%02x != %02x)" % (i,ord(newtxt[i]),ord(txt[i]))
for i in range(len(txt)): if newtxt[i*2]!=txt[i]: print "error at: %d (%02x != %02x)" % (i,ord(newtxt[i*2]),ord(txt[i]))
def read(self,buffer): fh=buffer.getReadFileObject() txt=fh.read() print "BinaryFilter: reading %d bytes" % len(txt)
d27344360d563e40e38e6af9b7919f9504d0eb65 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11522/d27344360d563e40e38e6af9b7919f9504d0eb65/buffers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 2890, 16, 4106, 4672, 7625, 33, 4106, 18, 588, 1994, 21471, 1435, 6463, 33, 19260, 18, 896, 1435, 1172, 315, 5905, 1586, 30, 6453, 738, 72, 1731, 6, 738, 562, 12, 5830, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 2890, 16, 4106, 4672, 7625, 33, 4106, 18, 588, 1994, 21471, 1435, 6463, 33, 19260, 18, 896, 1435, 1172, 315, 5905, 1586, 30, 6453, 738, 72, 1731, 6, 738, 562, 12, 5830, 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 ]
_fl_popup_entry_get_by_value = cfuncproto(so_libforms, "fl_popup_entry_get_by_value", cty.POINTER(FL_POPUP_ENTRY), [cty.POINTER(FL_POPUP), cty.c_long],
_fl_popup_entry_get_by_value = cfuncproto(so_libforms, "fl_popup_entry_get_by_value", cty.POINTER(FL_POPUP_ENTRY), [cty.POINTER(FL_POPUP), cty.c_long],
def fl_popup_entry_get_by_position(p1, p2): """ fl_popup_entry_get_by_position(p1, p2) -> popup_entry """ retval = _fl_popup_entry_get_by_position(p1, p2) return retval
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 16086, 67, 4099, 67, 588, 67, 1637, 67, 3276, 12, 84, 21, 16, 293, 22, 4672, 3536, 1183, 67, 16086, 67, 4099, 67, 588, 67, 1637, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 16086, 67, 4099, 67, 588, 67, 1637, 67, 3276, 12, 84, 21, 16, 293, 22, 4672, 3536, 1183, 67, 16086, 67, 4099, 67, 588, 67, 1637, 67, 3276, 12, 84, 21, 16, 293, 22, 13, 317, 10431, 67, 4099, 3536, 225, 5221, 273, 389, 2242, 67, 16086, 67, 4099, 67, 588, 67, 1637, 67, 3276, 12, 84, 21, 16, 293, 22, 13, 327, 5221, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return '(' + ', '.join(map(lambda t: '0x%04x' % t, t)) + ')'
return '(' + ', '.join(['0x%0*X' % (precision, item) for item in t]) + ')'
def hexrepr(t): if t is None: return 'None' try: len(t) except: return '0x%04x' % t try: return '(' + ', '.join(map(lambda t: '0x%04x' % t, t)) + ')' except TypeError, why: print '* failed to convert %r: %s' % (t, why) raise
489293afae138cacb82b94b69bee6266f1364acd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/489293afae138cacb82b94b69bee6266f1364acd/gencodec.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3827, 12715, 12, 88, 4672, 225, 309, 268, 353, 599, 30, 327, 296, 7036, 11, 775, 30, 562, 12, 88, 13, 1335, 30, 327, 296, 20, 92, 9, 3028, 92, 11, 738, 268, 775, 30, 327, 7321, 397, 2265, 2418, 5701, 12, 3292, 20, 92, 9, 20, 14, 60, 11, 738, 261, 14548, 16, 761, 13, 364, 761, 316, 268, 5717, 397, 5777, 1335, 3580, 16, 11598, 30, 1172, 14609, 2535, 358, 1765, 738, 86, 30, 738, 87, 11, 738, 261, 88, 16, 11598, 13, 1002, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3827, 12715, 12, 88, 4672, 225, 309, 268, 353, 599, 30, 327, 296, 7036, 11, 775, 30, 562, 12, 88, 13, 1335, 30, 327, 296, 20, 92, 9, 3028, 92, 11, 738, 268, 775, 30, 327, 7321, 397, 2265, 2418, 5701, 12, 3292, 20, 92, 9, 20, 14, 60, 11, 738, 261, 14548, 16, 761, 13, 364, 761, 316, 268, 5717, 397, 5777, 1335, 3580, 16, 11598, 30, 1172, 14609, 2535, 358, 1765, 738, 86, 30, 738, 87, 11, 738, 261, 88, 16, 11598, 13, 1002, 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 ]
new_sources.append(source)
target_ext = '.c'
def swig_sources (self, sources): """Walk the list of source files in 'sources', looking for SWIG interface (.i) files. Run SWIG on all that are found, and return a modified 'sources' list with SWIG source files replaced by the generated C (or C++) files. """ new_sources = [] swig_sources = [] swig_targets = {} # XXX this drops generated C/C++ files into the source tree, which # is fine for developers who want to distribute the generated # source -- but there should be an option to put SWIG output in # the temp dir. if self.swig_cpp: target_ext = '.cpp' else: target_ext = '.c' for source in sources: (base, ext) = os.path.splitext(source) if ext == ".i": # SWIG interface file new_sources.append(base + target_ext) swig_sources.append(source) swig_targets[source] = new_sources[-1] else: new_sources.append(source) if not swig_sources: return new_sources swig = self.find_swig() swig_cmd = [swig, "-python", "-ISWIG"] if self.swig_cpp: swig_cmd.append("-c++") for source in swig_sources: target = swig_targets[source] self.announce("swigging %s to %s" % (source, target)) self.spawn(swig_cmd + ["-o", target, source]) return new_sources
792d215f022fc86e5b15c34c904b2f0ac7c51fb7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10522/792d215f022fc86e5b15c34c904b2f0ac7c51fb7/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1352, 360, 67, 10141, 261, 2890, 16, 5550, 4672, 225, 3536, 9463, 326, 666, 434, 1084, 1390, 316, 296, 10141, 2187, 7849, 364, 16392, 3047, 1560, 261, 18, 77, 13, 1390, 18, 225, 1939, 16392, 3047, 603, 777, 716, 854, 1392, 16, 471, 327, 279, 4358, 296, 10141, 11, 666, 598, 16392, 3047, 1084, 1390, 8089, 635, 326, 4374, 385, 261, 280, 385, 27245, 1390, 18, 3536, 225, 394, 67, 10141, 273, 5378, 1352, 360, 67, 10141, 273, 5378, 1352, 360, 67, 11358, 273, 2618, 225, 468, 11329, 333, 29535, 4374, 385, 19, 39, 9904, 1390, 1368, 326, 1084, 2151, 16, 1492, 468, 353, 11079, 364, 21701, 10354, 2545, 358, 25722, 326, 4374, 468, 1084, 1493, 1496, 1915, 1410, 506, 392, 1456, 358, 1378, 16392, 3047, 876, 316, 468, 326, 1906, 1577, 18, 225, 309, 365, 18, 5328, 360, 67, 4057, 84, 30, 1018, 67, 408, 273, 2418, 4057, 84, 11, 469, 30, 1018, 67, 408, 273, 2418, 71, 11, 225, 364, 1084, 316, 5550, 30, 261, 1969, 16, 1110, 13, 273, 1140, 18, 803, 18, 4939, 408, 12, 3168, 13, 309, 1110, 422, 3552, 77, 6877, 2398, 468, 16392, 3047, 1560, 585, 394, 67, 10141, 18, 6923, 12, 1969, 397, 1018, 67, 408, 13, 1352, 360, 67, 10141, 18, 6923, 12, 3168, 13, 1352, 360, 67, 11358, 63, 3168, 65, 273, 394, 67, 10141, 18919, 21, 65, 469, 30, 1018, 67, 408, 273, 2418, 71, 11, 225, 309, 486, 1352, 360, 67, 10141, 30, 327, 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, 1352, 360, 67, 10141, 261, 2890, 16, 5550, 4672, 225, 3536, 9463, 326, 666, 434, 1084, 1390, 316, 296, 10141, 2187, 7849, 364, 16392, 3047, 1560, 261, 18, 77, 13, 1390, 18, 225, 1939, 16392, 3047, 603, 777, 716, 854, 1392, 16, 471, 327, 279, 4358, 296, 10141, 11, 666, 598, 16392, 3047, 1084, 1390, 8089, 635, 326, 4374, 385, 261, 280, 385, 27245, 1390, 18, 3536, 225, 394, 67, 10141, 273, 5378, 1352, 360, 67, 10141, 273, 5378, 1352, 360, 67, 11358, 273, 2618, 225, 468, 11329, 333, 29535, 4374, 385, 19, 39, 9904, 1390, 1368, 326, 1084, 2151, 16, 1492, 468, 353, 11079, 364, 21701, 10354, 2545, 358, 25722, 326, 4374, 468, 1084, 1493, 1496, 1915, 2 ]
self.assertEqual(len(w.warnings), 1) self.assertWarning(None, w, "Overriding __cmp__ blocks inheritance of __hash__ in 3.x")
self.assertEqual(len(w.warnings), 0)
def __cmp__(self, other): pass
3614aa13b041d970501f928d931c71c7455b9c65 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8125/3614aa13b041d970501f928d931c71c7455b9c65/test_py3kwarn.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 9625, 972, 12, 2890, 16, 1308, 4672, 1342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 9625, 972, 12, 2890, 16, 1308, 4672, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.logger.info("Update completed with no upstream changes")
self.update()
def update(self, single_commit, concatenate_logs): """ Update an existing tailorized project.
9b269212ee408c540f4509c0d7f43963db083a55 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5981/9b269212ee408c540f4509c0d7f43963db083a55/tailor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 16, 2202, 67, 7371, 16, 11361, 67, 10011, 4672, 3536, 2315, 392, 2062, 5798, 280, 1235, 1984, 18, 2, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 16, 2202, 67, 7371, 16, 11361, 67, 10011, 4672, 3536, 2315, 392, 2062, 5798, 280, 1235, 1984, 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 ]
classname=classname, itemid=itemid)
classname=classname, itemid=itemid, property=property)
def hasPermission(self, permission, classname=_marker, itemid=None): """Check whether the user has 'permission' on the current class.""" if classname is self._marker: classname = self.client.classname return self.db.security.hasPermission(permission, self.client.userid, classname=classname, itemid=itemid)
e4bbfc8364f8d98d89e32237d78d5c001690c749 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1906/e4bbfc8364f8d98d89e32237d78d5c001690c749/actions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26097, 12, 2890, 16, 4132, 16, 7479, 33, 67, 11145, 16, 16862, 33, 7036, 4672, 3536, 1564, 2856, 326, 729, 711, 296, 9827, 11, 603, 326, 783, 667, 12123, 309, 7479, 353, 365, 6315, 11145, 30, 7479, 273, 365, 18, 2625, 18, 18340, 327, 365, 18, 1966, 18, 7462, 18, 5332, 5041, 12, 9827, 16, 365, 18, 2625, 18, 8339, 16, 7479, 33, 18340, 16, 16862, 33, 17252, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26097, 12, 2890, 16, 4132, 16, 7479, 33, 67, 11145, 16, 16862, 33, 7036, 4672, 3536, 1564, 2856, 326, 729, 711, 296, 9827, 11, 603, 326, 783, 667, 12123, 309, 7479, 353, 365, 6315, 11145, 30, 7479, 273, 365, 18, 2625, 18, 18340, 327, 365, 18, 1966, 18, 7462, 18, 5332, 5041, 12, 9827, 16, 365, 18, 2625, 18, 8339, 16, 7479, 33, 18340, 16, 16862, 33, 17252, 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 ]
instances = [self.cfg.GetInstanceInfo(name) for name in self.cfg.GetInstanceList()]
def Exec(self, feedback_fn): """Return cluster config.
593224035f548b41dd048f71a126c55f76f847ed /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7542/593224035f548b41dd048f71a126c55f76f847ed/cmdlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3889, 12, 2890, 16, 10762, 67, 4293, 4672, 3536, 990, 2855, 642, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3889, 12, 2890, 16, 10762, 67, 4293, 4672, 3536, 990, 2855, 642, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
"""
"""
def setControlEffect(self, animName, effect, partName = None, lodName = None): """ Sets the amount by which the named animation contributes to the overall pose. This controls blending of multiple animations; it only makes sense to call this after a previous call to enableBlend(). """ for control in self.getAnimControls(animName, partName, lodName): control.getPart().setControlEffect(control, effect)
f27cf426e1d544aac938e5bbdfe9d7f560354a86 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8543/f27cf426e1d544aac938e5bbdfe9d7f560354a86/Actor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 3367, 12477, 12, 2890, 16, 10536, 461, 16, 5426, 16, 1087, 461, 273, 599, 16, 328, 369, 461, 273, 599, 4672, 3536, 11511, 326, 3844, 635, 1492, 326, 4141, 8794, 356, 1141, 358, 326, 13914, 26948, 18, 225, 1220, 11022, 2811, 2846, 434, 3229, 25536, 31, 518, 1338, 7297, 12764, 358, 745, 333, 1839, 279, 2416, 745, 358, 4237, 4802, 409, 7675, 3536, 364, 3325, 316, 365, 18, 588, 20892, 16795, 12, 304, 381, 461, 16, 1087, 461, 16, 328, 369, 461, 4672, 3325, 18, 588, 1988, 7675, 542, 3367, 12477, 12, 7098, 16, 5426, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 3367, 12477, 12, 2890, 16, 10536, 461, 16, 5426, 16, 1087, 461, 273, 599, 16, 328, 369, 461, 273, 599, 4672, 3536, 11511, 326, 3844, 635, 1492, 326, 4141, 8794, 356, 1141, 358, 326, 13914, 26948, 18, 225, 1220, 11022, 2811, 2846, 434, 3229, 25536, 31, 518, 1338, 7297, 12764, 358, 745, 333, 1839, 279, 2416, 745, 358, 4237, 4802, 409, 7675, 3536, 364, 3325, 316, 365, 18, 588, 20892, 16795, 12, 304, 381, 461, 16, 1087, 461, 16, 328, 369, 461, 4672, 3325, 18, 588, 1988, 7675, 542, 3367, 12477, 12, 7098, 16, 5426, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
sec = time.mktime(time.strptime(accountingParams["accounting/interval-end"], "%Y-%m-%d %H:%M:%S")) - time.time()
sec = time.mktime(time.strptime(accountingParams["accounting/interval-end"], "%Y-%m-%d %H:%M:%S")) - time.time() - time.timezone
def redraw(self): """ Redraws bandwidth panel. """ # doesn't draw if headless (indicating that the instance is for a pause buffer) if self.win: if not self.lock.acquire(False): return try: self.clear() dlColor = util.getColor(BANDWIDTH_GRAPH_COLOR_DL) ulColor = util.getColor(BANDWIDTH_GRAPH_COLOR_UL) # draws label, dropping stats if there's not enough room labelContents = "Bandwidth (cap: %s, burst: %s):" % (self.bwRate, self.bwBurst) if self.maxX < len(labelContents): labelContents = "%s):" % labelContents[:labelContents.find(",")] # removes burst measure if self.maxX < len(labelContents): labelContents = "Bandwidth:" # removes both self.addstr(0, 0, labelContents, util.LABEL_ATTR) # current numeric measures self.addstr(1, 0, "Downloaded (%s/sec):" % util.getSizeLabel(self.lastDownloadRate), curses.A_BOLD | dlColor) self.addstr(1, 35, "Uploaded (%s/sec):" % util.getSizeLabel(self.lastUploadRate), curses.A_BOLD | ulColor) # graph bounds in KB (uses highest recorded value as max) self.addstr(2, 0, "%4s" % str(self.maxDownloadRate / 1024 / BANDWIDTH_GRAPH_SAMPLES), dlColor) self.addstr(7, 0, " 0", dlColor) self.addstr(2, 35, "%4s" % str(self.maxUploadRate / 1024 / BANDWIDTH_GRAPH_SAMPLES), ulColor) self.addstr(7, 35, " 0", ulColor) # creates bar graph of bandwidth usage over time for col in range(BANDWIDTH_GRAPH_COL): bytesDownloaded = self.downloadRates[col + 1] colHeight = min(5, 5 * bytesDownloaded / self.maxDownloadRate) for row in range(colHeight): self.addstr(7 - row, col + 5, " ", curses.A_STANDOUT | dlColor) for col in range(BANDWIDTH_GRAPH_COL): bytesUploaded = self.uploadRates[col + 1] colHeight = min(5, 5 * bytesUploaded / self.maxUploadRate) for row in range(colHeight): self.addstr(7 - row, col + 40, " ", curses.A_STANDOUT | ulColor) if self.isAccounting: try: accountingParams = self.conn.get_info(["accounting/hibernating", "accounting/bytes", "accounting/bytes-left", "accounting/interval-end"]) hibernateStr = accountingParams["accounting/hibernating"] hibernateColor = "green" if hibernateStr == "soft": hibernateColor = "yellow" elif hibernateStr == "hard": hibernateColor = "red" self.addstr(9, 0, "Accounting (", curses.A_BOLD) self.addstr(9, 12, hibernateStr, curses.A_BOLD | util.getColor(hibernateColor)) self.addstr(9, 12 + len(hibernateStr), "):", curses.A_BOLD) sec = time.mktime(time.strptime(accountingParams["accounting/interval-end"], "%Y-%m-%d %H:%M:%S")) - time.time() resetHours = sec / 3600 sec %= 3600 resetMin = sec / 60 sec %= 60 self.addstr(9, 35, "Time to reset: %i:%02i:%02i" % (resetHours, resetMin, sec)) read = util.getSizeLabel(int(accountingParams["accounting/bytes"].split(" ")[0])) written = util.getSizeLabel(int(accountingParams["accounting/bytes"].split(" ")[1])) limit = util.getSizeLabel(int(accountingParams["accounting/bytes"].split(" ")[0]) + int(accountingParams["accounting/bytes-left"].split(" ")[0])) self.addstr(10, 2, "%s / %s" % (read, limit), dlColor) self.addstr(10, 37, "%s / %s" % (written, limit), ulColor) except TorCtl.TorCtlClosed: self.addstr(9, 0, "Accounting:", curses.A_BOLD) self.addstr(9, 12, "Shutting Down...") self.refresh() finally: self.lock.release()
c615c5a3622fddd2019c63d7738120ba75ceb4c1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13459/c615c5a3622fddd2019c63d7738120ba75ceb4c1/bandwidthPanel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16540, 12, 2890, 4672, 3536, 4621, 1899, 87, 20508, 6594, 18, 3536, 468, 3302, 1404, 3724, 309, 910, 2656, 261, 728, 335, 1776, 716, 326, 791, 353, 364, 279, 11722, 1613, 13, 309, 365, 18, 8082, 30, 309, 486, 365, 18, 739, 18, 1077, 1039, 12, 8381, 4672, 327, 775, 30, 365, 18, 8507, 1435, 8910, 2957, 273, 1709, 18, 588, 2957, 12, 38, 4307, 10023, 67, 24372, 67, 10989, 67, 8914, 13, 7493, 2957, 273, 1709, 18, 588, 2957, 12, 38, 4307, 10023, 67, 24372, 67, 10989, 67, 1506, 13, 225, 468, 30013, 1433, 16, 3640, 1382, 3177, 309, 1915, 1807, 486, 7304, 7725, 1433, 6323, 273, 315, 24621, 261, 5909, 30, 738, 87, 16, 27966, 30, 738, 87, 13, 2773, 738, 261, 2890, 18, 70, 91, 4727, 16, 365, 18, 70, 91, 38, 18593, 13, 309, 365, 18, 1896, 60, 411, 562, 12, 1925, 6323, 4672, 1433, 6323, 273, 2213, 87, 13, 2773, 738, 1433, 6323, 10531, 1925, 6323, 18, 4720, 2932, 16, 7923, 65, 225, 468, 7157, 27966, 6649, 309, 365, 18, 1896, 60, 411, 562, 12, 1925, 6323, 4672, 1433, 6323, 273, 315, 24621, 2773, 282, 468, 7157, 3937, 225, 365, 18, 1289, 701, 12, 20, 16, 374, 16, 1433, 6323, 16, 1709, 18, 13545, 67, 12043, 13, 225, 468, 783, 6389, 22692, 365, 18, 1289, 701, 12, 21, 16, 374, 16, 315, 4164, 4230, 6142, 87, 19, 3321, 13, 2773, 738, 1709, 18, 588, 1225, 2224, 12, 2890, 18, 2722, 7109, 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, 16540, 12, 2890, 4672, 3536, 4621, 1899, 87, 20508, 6594, 18, 3536, 468, 3302, 1404, 3724, 309, 910, 2656, 261, 728, 335, 1776, 716, 326, 791, 353, 364, 279, 11722, 1613, 13, 309, 365, 18, 8082, 30, 309, 486, 365, 18, 739, 18, 1077, 1039, 12, 8381, 4672, 327, 775, 30, 365, 18, 8507, 1435, 8910, 2957, 273, 1709, 18, 588, 2957, 12, 38, 4307, 10023, 67, 24372, 67, 10989, 67, 8914, 13, 7493, 2957, 273, 1709, 18, 588, 2957, 12, 38, 4307, 10023, 67, 24372, 67, 10989, 67, 1506, 13, 225, 468, 30013, 1433, 16, 3640, 1382, 3177, 309, 1915, 1807, 486, 7304, 7725, 1433, 6323, 273, 315, 24621, 261, 5909, 30, 738, 87, 16, 27966, 30, 2 ]
func.WriteDestinationInitalizationValidation(file)
def WriteGLES2CLibImplementation(self, filename): """Writes the GLES2 c lib implementation.""" file = CHeaderWriter( filename, "// These functions emluate GLES2 over command buffers.\n")
ce383f32a1bfbe4ca33b88a0cbbb79c7f077428d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/ce383f32a1bfbe4ca33b88a0cbbb79c7f077428d/build_gles2_cmd_buffer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 43, 11386, 22, 5017, 495, 13621, 12, 2890, 16, 1544, 4672, 3536, 8368, 326, 611, 11386, 22, 276, 2561, 4471, 12123, 585, 273, 385, 1864, 2289, 12, 1544, 16, 16177, 8646, 4186, 801, 28832, 340, 611, 11386, 22, 1879, 1296, 9664, 8403, 82, 7923, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 43, 11386, 22, 5017, 495, 13621, 12, 2890, 16, 1544, 4672, 3536, 8368, 326, 611, 11386, 22, 276, 2561, 4471, 12123, 585, 273, 385, 1864, 2289, 12, 1544, 16, 16177, 8646, 4186, 801, 28832, 340, 611, 11386, 22, 1879, 1296, 9664, 8403, 82, 7923, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return TypeError
raise TypeError
def get_keyword_arguments(self, name): try: return self._server.get_keyword_arguments(name) except xmlrpclib.Error: return TypeError
c9393784c602d69f1024e1075f1f8f4f6c2608e2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7408/c9393784c602d69f1024e1075f1f8f4f6c2608e2/Remote.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 11041, 67, 7099, 12, 2890, 16, 508, 4672, 775, 30, 327, 365, 6315, 3567, 18, 588, 67, 11041, 67, 7099, 12, 529, 13, 1335, 2025, 13832, 830, 495, 18, 668, 30, 327, 3580, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 ]
self.show(name, title, text)
self.show(name, title, text, edit=0)
def do_review(self):
a0dd5c7ba1a16a3f39f963d576d3d261c2fdd34e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/a0dd5c7ba1a16a3f39f963d576d3d261c2fdd34e/faqmain.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 16041, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 ]
def test_exceptionListener_is_None(self):
def test_default_exceptionListener_is_None(self):
def test_exceptionListener_is_None(self): self.assert_(self.conn.exceptionListener is None) # XXX need to sort out a few more issues with exception listeners #conn.exceptionListener = ExceptionListener()
d0da844bd6bb49779f0d603cd0f89d320f111860 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4106/d0da844bd6bb49779f0d603cd0f89d320f111860/test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 1886, 67, 4064, 2223, 67, 291, 67, 7036, 12, 2890, 4672, 365, 18, 11231, 67, 12, 2890, 18, 4646, 18, 4064, 2223, 353, 599, 13, 468, 11329, 1608, 358, 1524, 596, 279, 11315, 1898, 8296, 598, 1520, 4679, 468, 4646, 18, 4064, 2223, 273, 1185, 2223, 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, 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 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 1886, 67, 4064, 2223, 67, 291, 67, 7036, 12, 2890, 4672, 365, 18, 11231, 67, 12, 2890, 18, 4646, 18, 4064, 2223, 353, 599, 13, 468, 11329, 1608, 358, 1524, 596, 279, 11315, 1898, 8296, 598, 1520, 4679, 468, 4646, 18, 4064, 2223, 273, 1185, 2223, 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 ]
def __init__(data = None)
def __init__(data = None):
def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 655) else quickfix.StringField.__init__(self, 655, 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, 8982, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 8982, 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,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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, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 8982, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 8982, 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 ]
context.reopen() context.stayOpen = 1
def prepare_openid(self, req, client, requested_uri): 'Performs initialization of OpenID authentication.'
28bb7747823c110a3a066f0e6a659974eae6f2a5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10424/28bb7747823c110a3a066f0e6a659974eae6f2a5/proxy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2911, 67, 20619, 12, 2890, 16, 1111, 16, 1004, 16, 3764, 67, 1650, 4672, 296, 9409, 10313, 434, 25781, 5107, 1093, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2911, 67, 20619, 12, 2890, 16, 1111, 16, 1004, 16, 3764, 67, 1650, 4672, 296, 9409, 10313, 434, 25781, 5107, 1093, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
sStart = '%s %s' %( sStart, self.year)
sStart = '%s %s' % ( sStart, self.year )
def getResourceUsage(self): """Returns a dictionary containing CPUConsumed, CPULimit, WallClockConsumed and WallClockLimit for current slot. All values returned in seconds. """ if not self.bin: return S_ERROR('Could not determine bin directory for LSF')
b590345882082ff68315923d410c01c4d6437735 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/b590345882082ff68315923d410c01c4d6437735/LSFTimeLeft.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5070, 5357, 12, 2890, 4672, 3536, 1356, 279, 3880, 4191, 12154, 20554, 16, 5181, 1506, 1038, 16, 678, 454, 14027, 20554, 471, 678, 454, 14027, 3039, 364, 783, 4694, 18, 225, 4826, 924, 2106, 316, 3974, 18, 3536, 309, 486, 365, 18, 4757, 30, 327, 348,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5070, 5357, 12, 2890, 4672, 3536, 1356, 279, 3880, 4191, 12154, 20554, 16, 5181, 1506, 1038, 16, 678, 454, 14027, 20554, 471, 678, 454, 14027, 3039, 364, 783, 4694, 18, 225, 4826, 924, 2106, 316, 3974, 18, 3536, 309, 486, 365, 18, 4757, 30, 327, 348, 67, 3589, 2668, 4445, 486, 4199, 4158, 1867, 364, 511, 22395, 6134, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if p2cread != -1: p2cread.Close() if c2pwrite != -1: c2pwrite.Close() if errwrite != -1: errwrite.Close()
def _execute_child(self, args, executable, preexec_fn, close_fds, cwd, env, universal_newlines, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, unused_restore_signals, unused_start_new_session): """Execute program (MS Windows version)"""
05e4f1845479b3c19e68b477d8c0ab6bd4d40de9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3187/05e4f1845479b3c19e68b477d8c0ab6bd4d40de9/subprocess.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8837, 67, 3624, 12, 2890, 16, 833, 16, 9070, 16, 675, 4177, 67, 4293, 16, 1746, 67, 74, 2377, 16, 7239, 16, 1550, 16, 26182, 67, 31276, 16, 11850, 1376, 16, 6710, 7133, 16, 5972, 16, 293, 22, 71, 896, 16, 293, 22, 71, 2626, 16, 276, 22, 84, 896, 16, 276, 22, 84, 2626, 16, 393, 896, 16, 393, 2626, 16, 10197, 67, 13991, 67, 29659, 16, 10197, 67, 1937, 67, 2704, 67, 3184, 4672, 3536, 5289, 5402, 261, 3537, 8202, 1177, 15574, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8837, 67, 3624, 12, 2890, 16, 833, 16, 9070, 16, 675, 4177, 67, 4293, 16, 1746, 67, 74, 2377, 16, 7239, 16, 1550, 16, 26182, 67, 31276, 16, 11850, 1376, 16, 6710, 7133, 16, 5972, 16, 293, 22, 71, 896, 16, 293, 22, 71, 2626, 16, 276, 22, 84, 896, 16, 276, 22, 84, 2626, 16, 393, 896, 16, 393, 2626, 16, 10197, 67, 13991, 67, 29659, 16, 10197, 67, 1937, 67, 2704, 67, 3184, 4672, 3536, 5289, 5402, 261, 3537, 8202, 1177, 15574, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
setattr(opts, attr, XPath(getattr(opts, attr),
setattr(opts, attr, XPath(getattr(opts, attr),
def convert(htmlfile, opts, notification=None, create_epub=True, oeb_cover=False, extract_to=None): htmlfile = os.path.abspath(htmlfile) if opts.output is None: opts.output = os.path.splitext(os.path.basename(htmlfile))[0] + '.epub' opts.profile = PROFILES[opts.profile] opts.output = os.path.abspath(opts.output) if opts.override_css is not None: try: opts.override_css = open(opts.override_css, 'rb').read().decode(preferred_encoding, 'replace') except: opts.override_css = opts.override_css.decode(preferred_encoding, 'replace') if opts.from_opf: opts.from_opf = os.path.abspath(opts.from_opf) if opts.from_ncx: opts.from_ncx = os.path.abspath(opts.from_ncx) if htmlfile.lower().endswith('.opf'): opf = OPF(htmlfile, os.path.dirname(os.path.abspath(htmlfile))) filelist = opf_traverse(opf, verbose=opts.verbose, encoding=opts.encoding) if not filelist: # Bad OPF look for a HTML file instead htmlfile = find_html_index(walk(os.path.dirname(htmlfile)))[0] if htmlfile is None: raise ValueError('Could not find suitable file to convert.') filelist = get_filelist(htmlfile, opts)[1] mi = merge_metadata(None, opf, opts) else: opf, filelist = get_filelist(htmlfile, opts) mi = merge_metadata(htmlfile, opf, opts) opts.chapter = XPath(opts.chapter, namespaces={'re':'http://exslt.org/regular-expressions'}) for x in (1, 2, 3): attr = 'level%d_toc'%x if getattr(opts, attr): setattr(opts, attr, XPath(getattr(opts, attr), namespaces={'re':'http://exslt.org/regular-expressions'})) else: setattr(opts, attr, None) with TemporaryDirectory(suffix='_html2epub', keep=opts.keep_intermediate) as tdir: if opts.keep_intermediate: print 'Intermediate files in', tdir resource_map, htmlfile_map, generated_toc, stylesheet_map = \ parse_content(filelist, opts, tdir) logger = logging.getLogger('html2epub') resources = [os.path.join(tdir, 'content', f) for f in resource_map.values()] title_page, has_title_page = process_title_page(mi, filelist, htmlfile_map, opts, tdir) spine = [htmlfile_map[f.path] for f in filelist] if not oeb_cover and title_page is not None: spine = [title_page] + spine mi.cover = None mi.cover_data = (None, None) mi = create_metadata(tdir, mi, spine, resources) buf = cStringIO.StringIO() if mi.toc: rebase_toc(mi.toc, htmlfile_map, tdir) if opts.use_auto_toc or mi.toc is None or len(list(mi.toc.flat())) < 2: mi.toc = generated_toc if opts.from_ncx: toc = TOC() toc.read_ncx_toc(opts.from_ncx) mi.toc = toc for item in mi.manifest: if getattr(item, 'mime_type', None) == 'text/html': item.mime_type = 'application/xhtml+xml' opf_path = os.path.join(tdir, 'metadata.opf') with open(opf_path, 'wb') as f: mi.render(f, buf, 'toc.ncx') toc = buf.getvalue() if toc: with open(os.path.join(tdir, 'toc.ncx'), 'wb') as f: f.write(toc) if opts.show_ncx: print toc split(opf_path, opts, stylesheet_map) if opts.page: logger.info('\tBuilding page map...') add_page_map(opf_path, opts) check_links(opf_path, opts.pretty_print) opf = OPF(opf_path, tdir) opf.remove_guide() oeb_cover_file = None if oeb_cover and title_page is not None: oeb_cover_file = find_oeb_cover(os.path.join(tdir, 'content', title_page)) if has_title_page or (oeb_cover and oeb_cover_file): opf.create_guide_element() if has_title_page and not oeb_cover: opf.add_guide_item('cover', 'Cover', 'content/'+spine[0]) if oeb_cover and oeb_cover_file: opf.add_guide_item('cover', 'Cover', 'content/'+oeb_cover_file) cpath = os.path.join(tdir, 'content', 'resources', '_cover_.jpg') if os.path.exists(cpath): opf.add_path_to_manifest(cpath, 'image/jpeg') with open(opf_path, 'wb') as f: f.write(opf.render()) ncx_path = os.path.join(os.path.dirname(opf_path), 'toc.ncx') if os.path.exists(ncx_path) and os.stat(ncx_path).st_size > opts.profile.flow_size: logger.info('Condensing NCX from %d bytes...'%os.stat(ncx_path).st_size) condense_ncx(ncx_path) if os.stat(ncx_path).st_size > opts.profile.flow_size: logger.warn('NCX still larger than allowed size at %d bytes. Menu based Table of Contents may not work on device.'%os.stat(ncx_path).st_size) if create_epub: epub = initialize_container(opts.output) epub.add_dir(tdir) epub.close() run_plugins_on_postprocess(opts.output, 'epub') logger.info(_('Output written to ')+opts.output) if opts.show_opf: print open(opf_path, 'rb').read() if opts.extract_to is not None: if os.path.exists(opts.extract_to): shutil.rmtree(opts.extract_to) shutil.copytree(tdir, opts.extract_to) if extract_to is not None: if os.path.exists(extract_to): shutil.rmtree(extract_to) shutil.copytree(tdir, extract_to)
62688a6822fce9a5af20458cd9e4ccc78e487fe7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9125/62688a6822fce9a5af20458cd9e4ccc78e487fe7/from_html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 12, 2620, 768, 16, 1500, 16, 3851, 33, 7036, 16, 752, 67, 881, 373, 33, 5510, 16, 320, 24008, 67, 3165, 33, 8381, 16, 2608, 67, 869, 33, 7036, 4672, 1729, 768, 273, 1140, 18, 803, 18, 5113, 803, 12, 2620, 768, 13, 309, 1500, 18, 2844, 353, 599, 30, 1500, 18, 2844, 273, 1140, 18, 803, 18, 4939, 408, 12, 538, 18, 803, 18, 13909, 12, 2620, 768, 3719, 63, 20, 65, 397, 2418, 881, 373, 11, 1500, 18, 5040, 273, 4629, 12669, 63, 4952, 18, 5040, 65, 1500, 18, 2844, 273, 1140, 18, 803, 18, 5113, 803, 12, 4952, 18, 2844, 13, 309, 1500, 18, 10601, 67, 5212, 353, 486, 599, 30, 775, 30, 1500, 18, 10601, 67, 5212, 273, 1696, 12, 4952, 18, 10601, 67, 5212, 16, 296, 6731, 16063, 896, 7675, 3922, 12, 23616, 67, 5999, 16, 296, 2079, 6134, 1335, 30, 1500, 18, 10601, 67, 5212, 273, 1500, 18, 10601, 67, 5212, 18, 3922, 12, 23616, 67, 5999, 16, 296, 2079, 6134, 309, 1500, 18, 2080, 67, 556, 74, 30, 1500, 18, 2080, 67, 556, 74, 273, 1140, 18, 803, 18, 5113, 803, 12, 4952, 18, 2080, 67, 556, 74, 13, 309, 1500, 18, 2080, 67, 14202, 92, 30, 1500, 18, 2080, 67, 14202, 92, 273, 1140, 18, 803, 18, 5113, 803, 12, 4952, 18, 2080, 67, 14202, 92, 13, 309, 1729, 768, 18, 8167, 7675, 5839, 1918, 2668, 18, 556, 74, 11, 4672, 1061, 74, 273, 7247, 42, 12, 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, 1765, 12, 2620, 768, 16, 1500, 16, 3851, 33, 7036, 16, 752, 67, 881, 373, 33, 5510, 16, 320, 24008, 67, 3165, 33, 8381, 16, 2608, 67, 869, 33, 7036, 4672, 1729, 768, 273, 1140, 18, 803, 18, 5113, 803, 12, 2620, 768, 13, 309, 1500, 18, 2844, 353, 599, 30, 1500, 18, 2844, 273, 1140, 18, 803, 18, 4939, 408, 12, 538, 18, 803, 18, 13909, 12, 2620, 768, 3719, 63, 20, 65, 397, 2418, 881, 373, 11, 1500, 18, 5040, 273, 4629, 12669, 63, 4952, 18, 5040, 65, 1500, 18, 2844, 273, 1140, 18, 803, 18, 5113, 803, 12, 4952, 18, 2844, 13, 309, 1500, 18, 10601, 67, 5212, 353, 486, 599, 30, 775, 30, 1500, 2 ]
sph_radius = ht/2.
rd_kz = [ k for k in obj.__dict__.keys() if radiusHoup_prefix in k] radii=[ obj.__dict__[k] for k in rd_kz ] sph_radius = 1.0*sum(radii)/len(radii)
def spheres( obj , **kwds ): X_attr = kwds.get('X_attr', 'X') Y_attr = kwds.get('Y_attr', 'Y') pos_dist = kwds.get('dist', 'Distance') pos_az = kwds.get('az', 'Azimuth') circ_attr = kwds.get('circ_attr', 'Circonference') height_attr = kwds.get('height_attr', 'Haut') botHoup_attr = kwds.get('botHoup', 'BaseHoup') radiusHoup = kwds.get('radiusHoup', None) wood = kwds.get( 'wood', True ) rgb = kwds.get('rgb', None) if not obj.__dict__.has_key("posX") and not obj.__dict__.has_key("posY"): try : r = obj.__dict__[pos_dist] a = obj.__dict__[pos_az] obj.posX = r*cos( radians(forest2geomAZ(a)) ) obj.posY = r*sin( radians(forest2geomAZ(a)) ) except KeyError: obj.posX = obj.__dict__[X_attr] obj.posY = obj.__dict__[Y_attr] ht = 100* (obj.__dict__[height_attr] - obj.__dict__[botHoup_attr]) if radiusHoup : sph_radius = obj.__dict__[radiusHoup] else : sph_radius = ht/2. h = pgl.Translated( pgl.Vector3(obj.posX, obj.posY, obj.__dict__[botHoup_attr]*100 + sph_radius), pgl.Sphere(sph_radius,10,5) ) tr = pgl.Translated(pgl.Vector3(obj.posX, obj.posY, 0), pgl.Cylinder( obj.__dict__[circ_attr]/(2*pi), obj.__dict__[botHoup_attr]*100 + ht*0.1) ) if rgb == None: s_h = pgl.Shape(h, houppier_material(), obj.pid) else : r,g,b = rgb s_h = pgl.Shape(h, houppier_material(r,g,b), obj.pid) s_tr = pgl.Shape(tr, trunk_material(), obj.pid+100000) if wood: return ( s_h, s_tr ) else : return ( s_h, )
8e57cbfdff4ebb559b6e45cdafb7b70293078052 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/799/8e57cbfdff4ebb559b6e45cdafb7b70293078052/dresser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 272, 844, 11737, 12, 1081, 269, 2826, 25577, 262, 30, 1139, 67, 1747, 273, 17149, 18, 588, 2668, 60, 67, 1747, 2187, 296, 60, 6134, 1624, 67, 1747, 273, 17149, 18, 588, 2668, 61, 67, 1747, 2187, 296, 61, 6134, 949, 67, 4413, 273, 17149, 18, 588, 2668, 4413, 2187, 296, 7200, 6134, 949, 67, 1561, 273, 17149, 18, 588, 2668, 1561, 2187, 296, 37, 94, 15968, 6134, 18956, 67, 1747, 273, 17149, 18, 588, 2668, 11614, 71, 67, 1747, 2187, 296, 10887, 591, 1134, 6134, 2072, 67, 1747, 273, 17149, 18, 588, 2668, 4210, 67, 1747, 2187, 296, 44, 5854, 6134, 2512, 44, 83, 416, 67, 1747, 273, 17149, 18, 588, 2668, 4819, 44, 83, 416, 2187, 296, 2171, 44, 83, 416, 6134, 5725, 44, 83, 416, 273, 17149, 18, 588, 2668, 11282, 44, 83, 416, 2187, 599, 13, 341, 4773, 273, 17149, 18, 588, 12, 296, 91, 4773, 2187, 1053, 262, 6917, 273, 17149, 18, 588, 2668, 10948, 2187, 599, 13, 225, 309, 486, 1081, 16186, 1576, 25648, 5332, 67, 856, 2932, 917, 60, 7923, 471, 486, 1081, 16186, 1576, 25648, 5332, 67, 856, 2932, 917, 61, 6, 4672, 775, 294, 436, 273, 1081, 16186, 1576, 972, 63, 917, 67, 4413, 65, 279, 273, 1081, 16186, 1576, 972, 63, 917, 67, 1561, 65, 1081, 18, 917, 60, 273, 436, 14, 14445, 12, 13703, 12, 1405, 334, 22, 10049, 26315, 12, 69, 3719, 262, 1081, 18, 917, 61, 273, 436, 14, 21861, 12, 13703, 12, 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, 272, 844, 11737, 12, 1081, 269, 2826, 25577, 262, 30, 1139, 67, 1747, 273, 17149, 18, 588, 2668, 60, 67, 1747, 2187, 296, 60, 6134, 1624, 67, 1747, 273, 17149, 18, 588, 2668, 61, 67, 1747, 2187, 296, 61, 6134, 949, 67, 4413, 273, 17149, 18, 588, 2668, 4413, 2187, 296, 7200, 6134, 949, 67, 1561, 273, 17149, 18, 588, 2668, 1561, 2187, 296, 37, 94, 15968, 6134, 18956, 67, 1747, 273, 17149, 18, 588, 2668, 11614, 71, 67, 1747, 2187, 296, 10887, 591, 1134, 6134, 2072, 67, 1747, 273, 17149, 18, 588, 2668, 4210, 67, 1747, 2187, 296, 44, 5854, 6134, 2512, 44, 83, 416, 67, 1747, 273, 17149, 18, 588, 2668, 4819, 44, 83, 416, 2187, 2 ]
msg = "WARNING: header file %s is in your directory, but not in CVS"%(dir+"/"+x) print msg WARNINGS.append(msg)
if ((skip=="ALL") or (skip.count(x)==0)): msg = "WARNING: header file %s is in your directory, but not in CVS"%(dir+"/"+x) print msg WARNINGS.append(msg)
def CopyAllHeaders(dir): # get a list of headers dirlist = os.listdir(dir) dirlist.sort() files = fnmatch.filter(dirlist,"*.h")+fnmatch.filter(dirlist,"*.I")+fnmatch.filter(dirlist,"*.T") # sanity check - do headers in directory match headers in CVS? cvsentries = ReadCvsEntries(dir) if (cvsentries != 0): cvsheaders = fnmatch.filter(cvsentries,"*.h")+fnmatch.filter(cvsentries,"*.I")+fnmatch.filter(cvsentries,"*.T") for x in SetDifference(files, cvsheaders): msg = "WARNING: header file %s is in your directory, but not in CVS"%(dir+"/"+x) print msg WARNINGS.append(msg) for x in SetDifference(cvsheaders, files): msg = "WARNING: header file %s is CVS, but not in your directory"%(dir+"/"+x) print msg WARNINGS.append(msg) # actually copy the headers. copied = [] for filename in files: srcfile = dir + "/" + filename dstfile = PREFIX + "/include/" + filename if (older(dstfile,srcfile)): copied.append(filename) WriteFile(dstfile,ReadFile(srcfile)) if (len(copied)>0): print "\nCompiling in directory: %s\n\nCopied headers: %s"%(dir,copied)
f69bc407e33e89c140c06a05174d14d733231b05 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7242/f69bc407e33e89c140c06a05174d14d733231b05/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5631, 1595, 3121, 12, 1214, 4672, 468, 336, 279, 666, 434, 1607, 1577, 1098, 273, 1140, 18, 1098, 1214, 12, 1214, 13, 1577, 1098, 18, 3804, 1435, 1390, 273, 18764, 18, 2188, 12, 1214, 1098, 10837, 11146, 76, 7923, 15, 4293, 1916, 18, 2188, 12, 1214, 1098, 10837, 11146, 45, 7923, 15, 4293, 1916, 18, 2188, 12, 1214, 1098, 10837, 11146, 56, 7923, 468, 16267, 866, 300, 741, 1607, 316, 1867, 845, 1607, 316, 385, 14640, 35, 276, 6904, 8219, 273, 2720, 39, 6904, 5400, 12, 1214, 13, 309, 261, 71, 6904, 8219, 480, 374, 4672, 276, 6904, 2485, 273, 18764, 18, 2188, 12, 71, 6904, 8219, 10837, 11146, 76, 7923, 15, 4293, 1916, 18, 2188, 12, 71, 6904, 8219, 10837, 11146, 45, 7923, 15, 4293, 1916, 18, 2188, 12, 71, 6904, 8219, 10837, 11146, 56, 7923, 364, 619, 316, 1000, 16220, 12, 2354, 16, 276, 6904, 2485, 4672, 309, 14015, 7457, 31713, 4685, 7923, 578, 261, 7457, 18, 1883, 12, 92, 13, 631, 20, 3719, 30, 1234, 273, 315, 9511, 30, 1446, 585, 738, 87, 353, 316, 3433, 1867, 16, 1496, 486, 316, 385, 14640, 6, 17105, 1214, 9078, 4898, 15, 92, 13, 1172, 1234, 9744, 55, 18, 6923, 12, 3576, 13, 364, 619, 316, 1000, 16220, 12, 71, 6904, 2485, 16, 1390, 4672, 1234, 273, 315, 9511, 30, 1446, 585, 738, 87, 353, 385, 14640, 16, 1496, 486, 316, 3433, 1867, 6, 17105, 1214, 9078, 4898, 15, 92, 13, 1172, 1234, 9744, 55, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5631, 1595, 3121, 12, 1214, 4672, 468, 336, 279, 666, 434, 1607, 1577, 1098, 273, 1140, 18, 1098, 1214, 12, 1214, 13, 1577, 1098, 18, 3804, 1435, 1390, 273, 18764, 18, 2188, 12, 1214, 1098, 10837, 11146, 76, 7923, 15, 4293, 1916, 18, 2188, 12, 1214, 1098, 10837, 11146, 45, 7923, 15, 4293, 1916, 18, 2188, 12, 1214, 1098, 10837, 11146, 56, 7923, 468, 16267, 866, 300, 741, 1607, 316, 1867, 845, 1607, 316, 385, 14640, 35, 276, 6904, 8219, 273, 2720, 39, 6904, 5400, 12, 1214, 13, 309, 261, 71, 6904, 8219, 480, 374, 4672, 276, 6904, 2485, 273, 18764, 18, 2188, 12, 71, 6904, 8219, 10837, 11146, 76, 7923, 15, 4293, 1916, 18, 2188, 12, 71, 2 ]
file.preamble[0:0] = conv[paperpackage]
file.preamble[0:0] = [conv[paperpackage]]
def remove_paperpackage(file): i = find_token(file.header, '\\paperpackage', 0) if i == -1: return paperpackage = split(file.header[i])[1] if paperpackage in ("a4", "a4wide", "widemarginsa4"): conv = {"a4":"\\usepackage{a4}","a4wide": "\\usepackage{a4wide}", "widemarginsa4": "\\usepackage[widemargins]{a4}"} # for compatibility we ensure it is the first entry in preamble file.preamble[0:0] = conv[paperpackage] del file.header[i] i = find_token(file.header, '\\papersize', 0) if i != -1: file.header[i] = "\\papersize default"
a0c546831e16fa90305c12b484d556abfcd0cb5c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7514/a0c546831e16fa90305c12b484d556abfcd0cb5c/lyx_1_4.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 67, 27400, 5610, 12, 768, 4672, 277, 273, 1104, 67, 2316, 12, 768, 18, 3374, 16, 3718, 27400, 5610, 2187, 374, 13, 225, 309, 277, 422, 300, 21, 30, 327, 225, 15181, 5610, 273, 1416, 12, 768, 18, 3374, 63, 77, 5717, 63, 21, 65, 225, 309, 15181, 5610, 316, 7566, 69, 24, 3113, 315, 69, 24, 26767, 3113, 315, 26767, 10107, 13098, 24, 6, 4672, 6292, 273, 12528, 69, 24, 15563, 1695, 1202, 5610, 95, 69, 24, 1532, 10837, 69, 24, 26767, 6877, 8422, 1202, 5610, 95, 69, 24, 26767, 1532, 16, 315, 26767, 10107, 13098, 24, 6877, 8422, 1202, 5610, 63, 26767, 10107, 87, 7073, 69, 24, 1532, 97, 468, 364, 8926, 732, 3387, 518, 353, 326, 1122, 1241, 316, 27841, 585, 18, 84, 793, 7119, 63, 20, 30, 20, 65, 273, 306, 4896, 63, 27400, 5610, 13563, 225, 1464, 585, 18, 3374, 63, 77, 65, 225, 277, 273, 1104, 67, 2316, 12, 768, 18, 3374, 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, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 67, 27400, 5610, 12, 768, 4672, 277, 273, 1104, 67, 2316, 12, 768, 18, 3374, 16, 3718, 27400, 5610, 2187, 374, 13, 225, 309, 277, 422, 300, 21, 30, 327, 225, 15181, 5610, 273, 1416, 12, 768, 18, 3374, 63, 77, 5717, 63, 21, 65, 225, 309, 15181, 5610, 316, 7566, 69, 24, 3113, 315, 69, 24, 26767, 3113, 315, 26767, 10107, 13098, 24, 6, 4672, 6292, 273, 12528, 69, 24, 15563, 1695, 1202, 5610, 95, 69, 24, 1532, 10837, 69, 24, 26767, 6877, 8422, 1202, 5610, 95, 69, 24, 26767, 1532, 16, 315, 26767, 10107, 13098, 24, 6877, 8422, 1202, 5610, 63, 26767, 10107, 87, 7073, 69, 24, 1532, 97, 468, 364, 8926, 732, 3387, 518, 2 ]
def isclass(k): return isinstance(k, (types.ClassType, types.TypeType)) classes = [val for name, val in inspect.getmembers(module, isclass)] return dsu(filter(ITestCase.implementedBy, classes), self.sorter)
classes = [] for name, val in inspect.getmembers(module): try: if ITestCase.implementedBy(val): classes.append(val) except TypeError: pass return dsu(classes, self.sorter)
def isclass(k): ## XXX -- work around. remove ASAP. ## inspect.isclass checks for ClassType and then if __bases__ ## is an attribute. ## t.conch.insults.text.CharacterAttributes has a (buggy?) __getattr__ ## which returns objects for any given attribute. Hence it has ## __bases__, hence, inspect.isclass believes instances to be classes. ## Remove this workaround and replace w/ inspect.isclass if ## CharacterAttributes is fixed. return isinstance(k, (types.ClassType, types.TypeType))
417900bbbba09deea35e44769fc548cebf7548eb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/417900bbbba09deea35e44769fc548cebf7548eb/runner.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 28209, 12, 79, 4672, 7541, 11329, 1493, 1440, 6740, 18, 1206, 5355, 2203, 18, 7541, 5334, 18, 291, 1106, 4271, 364, 1659, 559, 471, 1508, 309, 1001, 18602, 972, 7541, 353, 392, 1566, 18, 7541, 268, 18, 591, 343, 18, 2679, 406, 87, 18, 955, 18, 7069, 2498, 711, 279, 261, 925, 7797, 8535, 1001, 588, 1747, 972, 7541, 1492, 1135, 2184, 364, 1281, 864, 1566, 18, 225, 670, 802, 518, 711, 7541, 1001, 18602, 972, 16, 20356, 16, 5334, 18, 291, 1106, 3952, 1385, 3324, 3884, 358, 506, 3318, 18, 7541, 3581, 333, 18975, 471, 1453, 341, 19, 5334, 18, 291, 1106, 309, 7541, 6577, 2498, 353, 5499, 18, 327, 1549, 12, 79, 16, 261, 2352, 18, 18328, 16, 1953, 18, 559, 559, 3719, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 28209, 12, 79, 4672, 7541, 11329, 1493, 1440, 6740, 18, 1206, 5355, 2203, 18, 7541, 5334, 18, 291, 1106, 4271, 364, 1659, 559, 471, 1508, 309, 1001, 18602, 972, 7541, 353, 392, 1566, 18, 7541, 268, 18, 591, 343, 18, 2679, 406, 87, 18, 955, 18, 7069, 2498, 711, 279, 261, 925, 7797, 8535, 1001, 588, 1747, 972, 7541, 1492, 1135, 2184, 364, 1281, 864, 1566, 18, 225, 670, 802, 518, 711, 7541, 1001, 18602, 972, 16, 20356, 16, 5334, 18, 291, 1106, 3952, 1385, 3324, 3884, 358, 506, 3318, 18, 7541, 3581, 333, 18975, 471, 1453, 341, 19, 5334, 18, 291, 1106, 309, 7541, 6577, 2498, 353, 5499, 18, 327, 1549, 12, 79, 16, 261, 2352, 18, 2 ]
wxWindow.SelectItem(self.uriDictMap[uri])
wxWindow.SelectItem(wxWindow.uriDictMap[uri])
def SelectUri(self, uri): """ Selects the proper uri when we have navigated to a different one via some tool other than the sideBar. """ wxWindow = app.association[id(self)] self.ignoreChangeSelect = true wxWindow.SelectItem(self.uriDictMap[uri]) self.ignoreChangeSelect = false
b7ad789081f8cbbd91fe44c53bc1d1f2fbd86294 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/b7ad789081f8cbbd91fe44c53bc1d1f2fbd86294/SideBar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6766, 3006, 12, 2890, 16, 2003, 4672, 3536, 6766, 87, 326, 5338, 2003, 1347, 732, 1240, 290, 4911, 690, 358, 279, 3775, 1245, 3970, 2690, 5226, 1308, 2353, 326, 4889, 5190, 18, 3536, 7075, 3829, 273, 595, 18, 19358, 63, 350, 12, 2890, 25887, 365, 18, 6185, 3043, 3391, 273, 638, 7075, 3829, 18, 3391, 1180, 12, 27226, 3829, 18, 1650, 5014, 863, 63, 1650, 5717, 365, 18, 6185, 3043, 3391, 273, 629, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6766, 3006, 12, 2890, 16, 2003, 4672, 3536, 6766, 87, 326, 5338, 2003, 1347, 732, 1240, 290, 4911, 690, 358, 279, 3775, 1245, 3970, 2690, 5226, 1308, 2353, 326, 4889, 5190, 18, 3536, 7075, 3829, 273, 595, 18, 19358, 63, 350, 12, 2890, 25887, 365, 18, 6185, 3043, 3391, 273, 638, 7075, 3829, 18, 3391, 1180, 12, 27226, 3829, 18, 1650, 5014, 863, 63, 1650, 5717, 365, 18, 6185, 3043, 3391, 273, 629, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.sock.send(chr(c1)) self.sock.send(chr(c2)) self.sock.send(chr(c3)) self.sock.send(chr(c4))
s = chr(c1) + chr(c2) + chr(c3) + chr(c4) self.sock.send(s)
def sendbyte(self, byte): nbyte = socket.htonl(byte) c1 = (nbyte >> 24) & 0xFF c2 = (nbyte >> 16) & 0xFF c3 = (nbyte >> 8) & 0xFF c4 = (nbyte >> 0) & 0xFF self.sock.send(chr(c1)) self.sock.send(chr(c2)) self.sock.send(chr(c3)) self.sock.send(chr(c4))
a558529168a21392b06fa1d97be250b116343cc9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3479/a558529168a21392b06fa1d97be250b116343cc9/ggzboard_net.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 7229, 12, 2890, 16, 1160, 4672, 290, 7229, 273, 2987, 18, 647, 265, 80, 12, 7229, 13, 276, 21, 273, 261, 82, 7229, 1671, 4248, 13, 473, 374, 6356, 276, 22, 273, 261, 82, 7229, 1671, 2872, 13, 473, 374, 6356, 276, 23, 273, 261, 82, 7229, 1671, 1725, 13, 473, 374, 6356, 276, 24, 273, 261, 82, 7229, 1671, 374, 13, 473, 374, 6356, 365, 18, 15031, 18, 4661, 12, 15182, 12, 71, 21, 3719, 365, 18, 15031, 18, 4661, 12, 15182, 12, 71, 22, 3719, 365, 18, 15031, 18, 4661, 12, 15182, 12, 71, 23, 3719, 365, 18, 15031, 18, 4661, 12, 15182, 12, 71, 24, 3719, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 7229, 12, 2890, 16, 1160, 4672, 290, 7229, 273, 2987, 18, 647, 265, 80, 12, 7229, 13, 276, 21, 273, 261, 82, 7229, 1671, 4248, 13, 473, 374, 6356, 276, 22, 273, 261, 82, 7229, 1671, 2872, 13, 473, 374, 6356, 276, 23, 273, 261, 82, 7229, 1671, 1725, 13, 473, 374, 6356, 276, 24, 273, 261, 82, 7229, 1671, 374, 13, 473, 374, 6356, 365, 18, 15031, 18, 4661, 12, 15182, 12, 71, 21, 3719, 365, 18, 15031, 18, 4661, 12, 15182, 12, 71, 22, 3719, 365, 18, 15031, 18, 4661, 12, 15182, 12, 71, 23, 3719, 365, 18, 15031, 18, 4661, 12, 15182, 12, 71, 24, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(language == "all"): return "all"
def GetSubLanguages(self,language): """Return all suported subtitles languages in a dictionary If language var is set, returns SubLanguageID for it """
2da448c0883c320332ef464827145e157b3bee3f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1108/2da448c0883c320332ef464827145e157b3bee3f/OSDBServer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 1676, 12912, 12, 2890, 16, 4923, 4672, 3536, 990, 777, 1169, 24726, 720, 17643, 8191, 316, 279, 3880, 971, 2653, 569, 353, 444, 16, 1135, 2592, 3779, 734, 364, 518, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 1676, 12912, 12, 2890, 16, 4923, 4672, 3536, 990, 777, 1169, 24726, 720, 17643, 8191, 316, 279, 3880, 971, 2653, 569, 353, 444, 16, 1135, 2592, 3779, 734, 364, 518, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
piece_list[pn] = piece_list[pn].replace(source_string, translated_string.decode('utf8'))
piece_list[pn] = piece_list[pn].replace(source_string, translated_string)
def _parse_text(self, text, level=None): if not level: level=[] res = self._regex.findall(text) todo = [] # translate the text # the "split [[]] if not match [[]]" is not very nice, but I # don't see how I could do it better... # what I'd like to do is a re.sub(NOT pattern, func, string) # but I don't know how to do that... # translate the RML file if 'lang' in self.localcontext: lang = self.localcontext['lang'] if lang and text and not text.isspace(): transl_obj = self.pool.get('ir.translation') piece_list = self._transl_regex.split(text) for pn in range(len(piece_list)): if not self._transl_regex.match(piece_list[pn]): source_string = piece_list[pn].replace('\n', ' ').strip() if len(source_string): translated_string = transl_obj._get_source(self.cr, self.uid, self.name, 'rml', lang, source_string) if translated_string: piece_list[pn] = piece_list[pn].replace(source_string, translated_string.decode('utf8')) text = ''.join(piece_list) for key in res: newtext = self._eval(key) for i in range(len(level)): if isinstance(newtext, list): newtext = newtext[level[i]] if isinstance(newtext, list): todo.append((key, newtext)) else: # if there are two [[]] blocks the same, it will replace both # but it's ok because it should evaluate to the same thing # anyway newtext = tools.ustr(newtext) text = text.replace('[['+key+']]', newtext) self._node.data = text if len(todo): for key, newtext in todo: parent_node = self._find_parent(self._node, parents) assert parents.get(parent_node.localName, False), 'No parent node found !' nodes = [parent_node] for i in range(len(newtext) - 1): newnode = parent_node.cloneNode(1) if parents.get(parent_node.localName, False): n = parent_node.parentNode parent_node.parentNode.insertAfter(newnode, parent_node) nodes.append(newnode) return False return text
2d8f1c3a562d2736770fda601b1db154fc856872 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12853/2d8f1c3a562d2736770fda601b1db154fc856872/report_sxw.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2670, 67, 955, 12, 2890, 16, 977, 16, 1801, 33, 7036, 4672, 309, 486, 1801, 30, 1801, 33, 8526, 400, 273, 365, 6315, 7584, 18, 4720, 454, 12, 955, 13, 10621, 273, 5378, 468, 4204, 326, 977, 468, 326, 315, 4939, 306, 8526, 65, 309, 486, 845, 306, 8526, 4279, 353, 486, 8572, 13752, 16, 1496, 467, 468, 2727, 1404, 2621, 3661, 467, 3377, 741, 518, 7844, 2777, 468, 4121, 467, 14271, 3007, 358, 741, 353, 279, 283, 18, 1717, 12, 4400, 1936, 16, 1326, 16, 533, 13, 468, 1496, 467, 2727, 1404, 5055, 3661, 358, 741, 716, 2777, 468, 4204, 326, 534, 1495, 585, 309, 296, 4936, 11, 316, 365, 18, 3729, 2472, 30, 3303, 273, 365, 18, 3729, 2472, 3292, 4936, 3546, 309, 3303, 471, 977, 471, 486, 977, 18, 1054, 909, 13332, 2162, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 481, 18, 10173, 6134, 11151, 67, 1098, 273, 365, 6315, 5379, 67, 7584, 18, 4939, 12, 955, 13, 364, 11059, 316, 1048, 12, 1897, 12, 30100, 67, 1098, 3719, 30, 309, 486, 365, 6315, 5379, 67, 7584, 18, 1916, 12, 30100, 67, 1098, 63, 7449, 65, 4672, 1084, 67, 1080, 273, 11151, 67, 1098, 63, 7449, 8009, 2079, 2668, 64, 82, 2187, 296, 296, 2934, 6406, 1435, 309, 562, 12, 3168, 67, 1080, 4672, 9955, 67, 1080, 273, 2162, 67, 2603, 6315, 588, 67, 3168, 12, 2890, 18, 3353, 16, 365, 18, 1911, 16, 365, 18, 529, 16, 296, 86, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2670, 67, 955, 12, 2890, 16, 977, 16, 1801, 33, 7036, 4672, 309, 486, 1801, 30, 1801, 33, 8526, 400, 273, 365, 6315, 7584, 18, 4720, 454, 12, 955, 13, 10621, 273, 5378, 468, 4204, 326, 977, 468, 326, 315, 4939, 306, 8526, 65, 309, 486, 845, 306, 8526, 4279, 353, 486, 8572, 13752, 16, 1496, 467, 468, 2727, 1404, 2621, 3661, 467, 3377, 741, 518, 7844, 2777, 468, 4121, 467, 14271, 3007, 358, 741, 353, 279, 283, 18, 1717, 12, 4400, 1936, 16, 1326, 16, 533, 13, 468, 1496, 467, 2727, 1404, 5055, 3661, 358, 741, 716, 2777, 468, 4204, 326, 534, 1495, 585, 309, 296, 4936, 11, 316, 365, 18, 3729, 2472, 30, 3303, 273, 2 ]
self.cookiejar.save(self.cookiejar.filename)
try: self.cookiejar.save(self.cookiejar.filename) except e: log.error("Couldn't write cookiefile %s: %s" % \ (self.cookiejar.filename,str(e))
def request(self, host, handler, request_body, verbose=0): h = self.make_connection(host) if verbose: h.set_debuglevel(1)
2f5579929fe21479831b378a1dc5f0b561c346c0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5050/2f5579929fe21479831b378a1dc5f0b561c346c0/base.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 590, 12, 2890, 16, 1479, 16, 1838, 16, 590, 67, 3432, 16, 3988, 33, 20, 4672, 366, 273, 365, 18, 6540, 67, 4071, 12, 2564, 13, 309, 3988, 30, 366, 18, 542, 67, 4148, 2815, 12, 21, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 590, 12, 2890, 16, 1479, 16, 1838, 16, 590, 67, 3432, 16, 3988, 33, 20, 4672, 366, 273, 365, 18, 6540, 67, 4071, 12, 2564, 13, 309, 3988, 30, 366, 18, 542, 67, 4148, 2815, 12, 21, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
[2 3 1]
[2 2 3]
def __call__(self, A): """ Create a Hill cipher.
51cd7d320083a73fc73557afa79953365f6da7f1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/51cd7d320083a73fc73557afa79953365f6da7f1/classical.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 432, 4672, 3536, 1788, 279, 670, 737, 5867, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 432, 4672, 3536, 1788, 279, 670, 737, 5867, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
_('Where are replies to list messages directed? <tt>Poster</tt> is <em>strongly</em> recommended for most mailing lists.'),
_('''Where are replies to list messages directed? <tt>Poster</tt> is <em>strongly</em> recommended for most mailing lists.'''),
def GetConfigInfo(self): langs = self.GetAvailableLanguages()
d4117e2559487604b13fa55121d903681fad00c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2120/d4117e2559487604b13fa55121d903681fad00c3/MailList.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26666, 966, 12, 2890, 4672, 26467, 273, 365, 18, 967, 5268, 12912, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26666, 966, 12, 2890, 4672, 26467, 273, 365, 18, 967, 5268, 12912, 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, -100 ]
l.grid(row=self.row, col=0, sticky="w")
l.grid(row=self.row, column=0, sticky="w")
def make_entry(self, label, var): l = Label(self.top, text=label) l.grid(row=self.row, col=0, sticky="w") e = Entry(self.top, textvariable=var, exportselection=0) e.grid(row=self.row, col=1, sticky="we") self.row = self.row + 1 return e
eb58f5d6cdc3d693eedc40229a5f161babf6920a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/eb58f5d6cdc3d693eedc40229a5f161babf6920a/SearchDialogBase.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 4099, 12, 2890, 16, 1433, 16, 569, 4672, 328, 273, 5287, 12, 2890, 18, 3669, 16, 977, 33, 1925, 13, 328, 18, 5222, 12, 492, 33, 2890, 18, 492, 16, 1057, 33, 20, 16, 21750, 1546, 91, 7923, 425, 273, 3841, 12, 2890, 18, 3669, 16, 977, 6105, 33, 1401, 16, 3359, 10705, 33, 20, 13, 425, 18, 5222, 12, 492, 33, 2890, 18, 492, 16, 645, 33, 21, 16, 21750, 1546, 1814, 7923, 365, 18, 492, 273, 365, 18, 492, 397, 404, 327, 425, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 4099, 12, 2890, 16, 1433, 16, 569, 4672, 328, 273, 5287, 12, 2890, 18, 3669, 16, 977, 33, 1925, 13, 328, 18, 5222, 12, 492, 33, 2890, 18, 492, 16, 1057, 33, 20, 16, 21750, 1546, 91, 7923, 425, 273, 3841, 12, 2890, 18, 3669, 16, 977, 6105, 33, 1401, 16, 3359, 10705, 33, 20, 13, 425, 18, 5222, 12, 492, 33, 2890, 18, 492, 16, 645, 33, 21, 16, 21750, 1546, 1814, 7923, 365, 18, 492, 273, 365, 18, 492, 397, 404, 327, 425, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
proj.window = window = float(dicom.image.window) proj.level = level = float(dicom.image.level)
proj.window = window proj.level = level
def ImportDirectory(self, pubsub_evt=None, dir_=None): """ Import medical images (if any) and generate vtkImageData, saving data inside Project instance. """
1dfad6a762fd4fc3cef64f2679aa8af6b4291b4b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10228/1dfad6a762fd4fc3cef64f2679aa8af6b4291b4b/control.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6164, 2853, 12, 2890, 16, 23288, 67, 73, 11734, 33, 7036, 16, 1577, 67, 33, 7036, 4672, 3536, 6164, 6735, 1706, 4602, 261, 430, 1281, 13, 471, 2103, 13659, 2040, 751, 16, 12392, 501, 4832, 5420, 791, 18, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6164, 2853, 12, 2890, 16, 23288, 67, 73, 11734, 33, 7036, 16, 1577, 67, 33, 7036, 4672, 3536, 6164, 6735, 1706, 4602, 261, 430, 1281, 13, 471, 2103, 13659, 2040, 751, 16, 12392, 501, 4832, 5420, 791, 18, 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 ]
f = StringIO(txt) import HyperArch h = HyperArch.HyperArchive(self) h.processUnixMailbox(f, HyperArch.Article) h.close() f.close()
private_p = self.archive_private if mm_cfg.PUBLIC_EXTERNAL_ARCHIVER and not private_p: self.ExternalArchive(mm_cfg.PUBLIC_EXTERNAL_ARCHIVER, txt) elif mm_cfg.PRIVATE_EXTERNAL_ARCHIVER and private_p: self.ExternalArchive(mm_cfg.PRIVATE_EXTERNAL_ARCHIVER, txt) else: f = StringIO(txt) import HyperArch h = HyperArch.HyperArchive(self) h.processUnixMailbox(f, HyperArch.Article) h.close() f.close()
def ArchiveMail(self, msg): """Store postings in mbox and/or pipermail archive, depending."""
e2febc2b7abfbd1e8e62e5281f93db263feab828 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2120/e2febc2b7abfbd1e8e62e5281f93db263feab828/Archiver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13124, 6759, 12, 2890, 16, 1234, 4672, 3536, 2257, 1603, 899, 316, 312, 2147, 471, 19, 280, 4790, 457, 4408, 5052, 16, 8353, 12123, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13124, 6759, 12, 2890, 16, 1234, 4672, 3536, 2257, 1603, 899, 316, 312, 2147, 471, 19, 280, 4790, 457, 4408, 5052, 16, 8353, 12123, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
tzi = TimeZoneInfo( 'Mountain Standard Time' ) MissingTZPatch = datetime.datetime( 2007,11,2,tzinfo=tzi ).utctimetuple() != (2007,11,2,6,0,0,4,306,0) DynamicTZSupport = not MissingTZPatch and datetime.datetime( 2003,11,2,tzinfo=tzi).utctimetuple() == (2003,11,2,7,0,0,6,306,0)
tzi = TimeZoneInfo('Mountain Standard Time') MissingTZPatch = datetime.datetime(2007,11,2,tzinfo=tzi).utctimetuple() != (2007,11,2,6,0,0,4,306,0) DynamicTZSupport = not MissingTZPatch and datetime.datetime(2003,11,2,tzinfo=tzi).utctimetuple() == (2003,11,2,7,0,0,6,306,0)
def GetTZCapabilities(): """Run a few known tests to determine the capabilities of the time zone database on this machine. Note Dynamic Time Zone support is not available on any platform at this time; this is a limitation of this library, not the platform.""" tzi = TimeZoneInfo( 'Mountain Standard Time' ) MissingTZPatch = datetime.datetime( 2007,11,2,tzinfo=tzi ).utctimetuple() != (2007,11,2,6,0,0,4,306,0) DynamicTZSupport = not MissingTZPatch and datetime.datetime( 2003,11,2,tzinfo=tzi).utctimetuple() == (2003,11,2,7,0,0,6,306,0) del tzi return vars()
59648a863c896e2f14363d0c28a25b3865360d9a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/992/59648a863c896e2f14363d0c28a25b3865360d9a/win32timezone.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 21647, 14012, 13332, 3536, 1997, 279, 11315, 4846, 7434, 358, 4199, 326, 12359, 434, 326, 813, 4157, 2063, 603, 333, 5228, 18, 3609, 12208, 2647, 10912, 2865, 353, 486, 2319, 603, 1281, 4072, 622, 333, 813, 31, 333, 353, 279, 17732, 434, 333, 5313, 16, 486, 326, 4072, 12123, 6016, 77, 273, 16491, 966, 2668, 8725, 530, 8263, 2647, 6134, 10230, 21647, 7332, 273, 3314, 18, 6585, 12, 6976, 27, 16, 2499, 16, 22, 16, 12994, 1376, 33, 12994, 77, 2934, 322, 299, 381, 278, 2268, 1435, 480, 261, 6976, 27, 16, 2499, 16, 22, 16, 26, 16, 20, 16, 20, 16, 24, 16, 29490, 16, 20, 13, 12208, 21647, 6289, 273, 486, 10230, 21647, 7332, 471, 3314, 18, 6585, 12, 6976, 23, 16, 2499, 16, 22, 16, 12994, 1376, 33, 12994, 77, 2934, 322, 299, 381, 278, 2268, 1435, 422, 261, 6976, 23, 16, 2499, 16, 22, 16, 27, 16, 20, 16, 20, 16, 26, 16, 29490, 16, 20, 13, 1464, 6016, 77, 327, 4153, 1435, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 21647, 14012, 13332, 3536, 1997, 279, 11315, 4846, 7434, 358, 4199, 326, 12359, 434, 326, 813, 4157, 2063, 603, 333, 5228, 18, 3609, 12208, 2647, 10912, 2865, 353, 486, 2319, 603, 1281, 4072, 622, 333, 813, 31, 333, 353, 279, 17732, 434, 333, 5313, 16, 486, 326, 4072, 12123, 6016, 77, 273, 16491, 966, 2668, 8725, 530, 8263, 2647, 6134, 10230, 21647, 7332, 273, 3314, 18, 6585, 12, 6976, 27, 16, 2499, 16, 22, 16, 12994, 1376, 33, 12994, 77, 2934, 322, 299, 381, 278, 2268, 1435, 480, 261, 6976, 27, 16, 2499, 16, 22, 16, 26, 16, 20, 16, 20, 16, 24, 16, 29490, 16, 20, 13, 12208, 21647, 6289, 273, 486, 10230, 21647, 7332, 471, 2 ]
if not self.data_matrix and self.turn_into_array:
""" 2008-06-02 correct a bug here, opposite judgement of self.data_matrix """ if self.data_matrix and self.turn_into_array:
def processRowIDColID(self): if not self.data_matrix and self.turn_into_array: self.data_matrix = num.array(self.data_matrix, num.int8) if self.row_id_ls is None and self.strain_acc_list is not None: self.row_id_ls = [] for i in range(len(self.strain_acc_list)): if self.category_list is not None: row_id = (self.strain_acc_list[i], self.category_list[i]) else: row_id = self.strain_acc_list[i] self.row_id_ls.append(row_id) if self.col_id_ls is None and self.header is not None: self.col_id_ls = [] for i in range(2,len(self.header)): col_id = self.header[i] self.col_id_ls.append(col_id)
3137954729780f17e488e528592538abf552c064 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9645/3137954729780f17e488e528592538abf552c064/SNP.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 1999, 734, 914, 734, 12, 2890, 4672, 3536, 4044, 28, 17, 7677, 17, 3103, 3434, 279, 7934, 2674, 16, 20759, 525, 1100, 75, 820, 434, 365, 18, 892, 67, 5667, 3536, 309, 365, 18, 892, 67, 5667, 471, 365, 18, 20922, 67, 18591, 67, 1126, 30, 365, 18, 892, 67, 5667, 273, 818, 18, 1126, 12, 2890, 18, 892, 67, 5667, 16, 818, 18, 474, 28, 13, 225, 309, 365, 18, 492, 67, 350, 67, 3251, 353, 599, 471, 365, 18, 27568, 67, 8981, 67, 1098, 353, 486, 599, 30, 365, 18, 492, 67, 350, 67, 3251, 273, 5378, 364, 277, 316, 1048, 12, 1897, 12, 2890, 18, 27568, 67, 8981, 67, 1098, 3719, 30, 309, 365, 18, 4743, 67, 1098, 353, 486, 599, 30, 1027, 67, 350, 273, 261, 2890, 18, 27568, 67, 8981, 67, 1098, 63, 77, 6487, 365, 18, 4743, 67, 1098, 63, 77, 5717, 469, 30, 1027, 67, 350, 273, 365, 18, 27568, 67, 8981, 67, 1098, 63, 77, 65, 365, 18, 492, 67, 350, 67, 3251, 18, 6923, 12, 492, 67, 350, 13, 225, 309, 365, 18, 1293, 67, 350, 67, 3251, 353, 599, 471, 365, 18, 3374, 353, 486, 599, 30, 365, 18, 1293, 67, 350, 67, 3251, 273, 5378, 364, 277, 316, 1048, 12, 22, 16, 1897, 12, 2890, 18, 3374, 3719, 30, 645, 67, 350, 273, 365, 18, 3374, 63, 77, 65, 365, 18, 1293, 67, 350, 67, 3251, 18, 6923, 12, 1293, 67, 350, 13, 225, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 1999, 734, 914, 734, 12, 2890, 4672, 3536, 4044, 28, 17, 7677, 17, 3103, 3434, 279, 7934, 2674, 16, 20759, 525, 1100, 75, 820, 434, 365, 18, 892, 67, 5667, 3536, 309, 365, 18, 892, 67, 5667, 471, 365, 18, 20922, 67, 18591, 67, 1126, 30, 365, 18, 892, 67, 5667, 273, 818, 18, 1126, 12, 2890, 18, 892, 67, 5667, 16, 818, 18, 474, 28, 13, 225, 309, 365, 18, 492, 67, 350, 67, 3251, 353, 599, 471, 365, 18, 27568, 67, 8981, 67, 1098, 353, 486, 599, 30, 365, 18, 492, 67, 350, 67, 3251, 273, 5378, 364, 277, 316, 1048, 12, 1897, 12, 2890, 18, 27568, 67, 8981, 67, 1098, 3719, 30, 309, 365, 2 ]
"""Returns maximum exponent (= Emin - prec + 1)"""
"""Returns maximum exponent (= Emax - prec + 1)"""
def Etop(self): """Returns maximum exponent (= Emin - prec + 1)""" return int(self.Emax - self.prec + 1)
7668379fdb08b387cb5d4fdf6978fec3901fa44a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/7668379fdb08b387cb5d4fdf6978fec3901fa44a/decimal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 512, 3669, 12, 2890, 4672, 3536, 1356, 4207, 9100, 261, 33, 512, 1896, 300, 13382, 397, 404, 15574, 327, 509, 12, 2890, 18, 1514, 651, 300, 365, 18, 4036, 397, 404, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 512, 3669, 12, 2890, 4672, 3536, 1356, 4207, 9100, 261, 33, 512, 1896, 300, 13382, 397, 404, 15574, 327, 509, 12, 2890, 18, 1514, 651, 300, 365, 18, 4036, 397, 404, 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 ]
return None
return self.OnAction(cid, item, data)
def OnItem(self, action, data, match=None): #Item: 3 ut_item_helmet #Item: 0 team_CTF_redflag cid, item = string.split(data, ' ', 1) client = self.clients.getByCID(cid) if client: #correct flag/bomb-pickups if 'flag' in item or 'bomb' in item: self.OnAction(cid, item, data) self.verbose('Itempickup corrected to action: %s' %item) return None #self.verbose('OnItem: %s picked up %s' % (client.name, item) ) return b3.events.Event(b3.events.EVT_CLIENT_ITEM_PICKUP, item, client) return None
18cfe2dbe85be73e8cc735c383a57c6e18a8a390 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12909/18cfe2dbe85be73e8cc735c383a57c6e18a8a390/iourt41.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 1180, 12, 2890, 16, 1301, 16, 501, 16, 845, 33, 7036, 4672, 468, 1180, 30, 890, 5218, 67, 1726, 67, 76, 292, 10578, 468, 1180, 30, 374, 5927, 67, 1268, 42, 67, 1118, 6420, 7504, 16, 761, 273, 533, 18, 4939, 12, 892, 16, 296, 2265, 404, 13, 1004, 273, 365, 18, 16931, 18, 588, 858, 25992, 12, 13478, 13, 309, 1004, 30, 468, 6746, 2982, 19, 70, 16659, 17, 11503, 18294, 309, 296, 6420, 11, 316, 761, 578, 296, 70, 16659, 11, 316, 761, 30, 365, 18, 1398, 1803, 12, 13478, 16, 761, 16, 501, 13, 365, 18, 11369, 2668, 1180, 11503, 416, 19864, 358, 1301, 30, 738, 87, 11, 738, 1726, 13, 327, 365, 18, 1398, 1803, 12, 13478, 16, 761, 16, 501, 13, 468, 2890, 18, 11369, 2668, 1398, 1180, 30, 738, 87, 25534, 731, 738, 87, 11, 738, 261, 2625, 18, 529, 16, 761, 13, 262, 327, 324, 23, 18, 5989, 18, 1133, 12, 70, 23, 18, 5989, 18, 24427, 56, 67, 11935, 67, 12674, 67, 1102, 3507, 3079, 16, 761, 16, 1004, 13, 327, 599, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 1180, 12, 2890, 16, 1301, 16, 501, 16, 845, 33, 7036, 4672, 468, 1180, 30, 890, 5218, 67, 1726, 67, 76, 292, 10578, 468, 1180, 30, 374, 5927, 67, 1268, 42, 67, 1118, 6420, 7504, 16, 761, 273, 533, 18, 4939, 12, 892, 16, 296, 2265, 404, 13, 1004, 273, 365, 18, 16931, 18, 588, 858, 25992, 12, 13478, 13, 309, 1004, 30, 468, 6746, 2982, 19, 70, 16659, 17, 11503, 18294, 309, 296, 6420, 11, 316, 761, 578, 296, 70, 16659, 11, 316, 761, 30, 365, 18, 1398, 1803, 12, 13478, 16, 761, 16, 501, 13, 365, 18, 11369, 2668, 1180, 11503, 416, 19864, 358, 1301, 30, 738, 87, 11, 738, 1726, 13, 327, 365, 18, 2 ]
dir = makepath(dir) if dir not in L:
dir, dircase = makepath(dir) if not dirs_in_sys_path.has_key(dircase):
def makepath(*paths): dir = os.path.join(*paths) return os.path.normcase(os.path.abspath(dir))
c4ce4db3160f9a22a1062ef98f6390b7bfe4e61d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/c4ce4db3160f9a22a1062ef98f6390b7bfe4e61d/site.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 803, 30857, 4481, 4672, 1577, 273, 1140, 18, 803, 18, 5701, 30857, 4481, 13, 327, 1140, 18, 803, 18, 7959, 3593, 12, 538, 18, 803, 18, 5113, 803, 12, 1214, 3719, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 803, 30857, 4481, 4672, 1577, 273, 1140, 18, 803, 18, 5701, 30857, 4481, 13, 327, 1140, 18, 803, 18, 7959, 3593, 12, 538, 18, 803, 18, 5113, 803, 12, 1214, 3719, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
representative of an element of SL_2(Z) modulo G. This function specfically returns data needed for the first part of the reduction step (the first coordinate).
representative of an element of SL_2(Z) modulo G. This function specfically returns data needed for the first part of the reduction step (the first coordinate).
def _coset_reduction_data_first_coord(G): """ Compute data used for determining the canonical coset representative of an element of SL_2(Z) modulo G. This function specfically returns data needed for the first part of the reduction step (the first coordinate).
eb301dff111c888467560bbc7545e7b8e22d5329 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/eb301dff111c888467560bbc7545e7b8e22d5329/congroup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 14445, 278, 67, 1118, 4062, 67, 892, 67, 3645, 67, 5732, 12, 43, 4672, 3536, 8155, 501, 1399, 364, 23789, 326, 7378, 4987, 278, 23174, 434, 392, 930, 434, 348, 48, 67, 22, 12, 62, 13, 26109, 611, 18, 225, 1220, 445, 857, 74, 6478, 1135, 501, 3577, 364, 326, 1122, 1087, 434, 326, 20176, 2235, 261, 5787, 1122, 7799, 2934, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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74, 6478, 1135, 501, 3577, 364, 326, 1122, 1087, 434, 326, 20176, 2235, 261, 5787, 1122, 7799, 2934, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
"""equlizer settings""" if FC().is_eq_enable: pre = self.controls.eq.get_preamp() bands = self.controls.eq.get_bands() self.set_all_bands(pre, bands)
def play(self, bean): self.bean = bean if not bean: return None path = bean.path
7d4044fa942b3eae98b34c9d771de0b8f1a4da28 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14563/7d4044fa942b3eae98b34c9d771de0b8f1a4da28/gstreamer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6599, 12, 2890, 16, 3931, 4672, 365, 18, 14496, 273, 3931, 309, 486, 3931, 30, 327, 599, 589, 273, 3931, 18, 803, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 365, 18, 14496, 273, 3931, 309, 486, 3931, 30, 327, 599, 589, 273, 3931, 18, 803, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 state, mapper, connection, has_identity, instance_key in tups:
for state, mapper, connection, has_identity, \ instance_key, row_switch in tups:
def _save_obj(self, states, uowtransaction, postupdate=False, post_update_cols=None, single=False): """Issue ``INSERT`` and/or ``UPDATE`` statements for a list of objects.
dfab13e9ae147a7112a23db5abc4e4b7addc00fa /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1074/dfab13e9ae147a7112a23db5abc4e4b7addc00fa/mapper.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5688, 67, 2603, 12, 2890, 16, 5493, 16, 18215, 7958, 16, 1603, 2725, 33, 8381, 16, 1603, 67, 2725, 67, 6842, 33, 7036, 16, 2202, 33, 8381, 4672, 3536, 12956, 12176, 11356, 10335, 471, 19, 280, 12176, 8217, 10335, 6317, 364, 279, 666, 434, 2184, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5688, 67, 2603, 12, 2890, 16, 5493, 16, 18215, 7958, 16, 1603, 2725, 33, 8381, 16, 1603, 67, 2725, 67, 6842, 33, 7036, 16, 2202, 33, 8381, 4672, 3536, 12956, 12176, 11356, 10335, 471, 19, 280, 12176, 8217, 10335, 6317, 364, 279, 666, 434, 2184, 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 ]
The least common multiple of a and b, or if a is a list and b is omitted the least common multiple of all elements of v.
The least common multiple of a and b, or, if a is a list and b is omitted, the least common multiple of all elements of a.
def lcm(a, b=None, integer=False): """ The least common multiple of a and b, or if a is a list and b is omitted the least common multiple of all elements of v. NOTE: Use integer=True to make this vastly faster if you are working with lists of integers. INPUT: a -- number b -- number (optional) integer -- (default: False); if True, do an integer LCM or v -- vector integer -- (default: False); if True, do an integer LCM NOTE -- this is *vastly* faster than doing the generic LCM EXAMPLES: sage: LCM(97,100) 9700 sage: LCM(0,2) 0 sage: LCM(-3,-5) 15 sage: LCM([1,2,3,4,5/3]) 60 sage: v = LCM(range(1,10000),integer=True) # *very* fast! sage: len(str(v)) 4349 """ if integer: if isinstance(a,(list,tuple)): return sage.rings.integer.LCM_list(a) else: return integer_ring.ZZ(a).lcm(\ integer_ring.ZZ(b)) if isinstance(a, (list,tuple)): return __LCM_list(a) if not isinstance(a, RingElement): a = integer_ring.ZZ(a) return a.lcm(b)
bdc03f71082d359479de239409797484223e36e0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/bdc03f71082d359479de239409797484223e36e0/arith.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 328, 7670, 12, 69, 16, 324, 33, 7036, 16, 3571, 33, 8381, 4672, 3536, 1021, 4520, 2975, 3229, 434, 279, 471, 324, 16, 578, 16, 309, 279, 353, 279, 666, 471, 324, 353, 16195, 16, 326, 4520, 2975, 3229, 434, 777, 2186, 434, 279, 18, 225, 5219, 30, 2672, 3571, 33, 5510, 358, 1221, 333, 331, 689, 715, 12063, 309, 1846, 854, 5960, 598, 6035, 434, 12321, 18, 225, 12943, 30, 279, 1493, 1300, 324, 1493, 1300, 261, 10444, 13, 3571, 1493, 261, 1886, 30, 1083, 1769, 309, 1053, 16, 741, 392, 3571, 511, 9611, 578, 331, 1493, 3806, 3571, 1493, 261, 1886, 30, 1083, 1769, 309, 1053, 16, 741, 392, 3571, 511, 9611, 5219, 1493, 333, 353, 380, 90, 689, 715, 14, 12063, 2353, 9957, 326, 5210, 511, 9611, 225, 5675, 8900, 11386, 30, 272, 410, 30, 511, 9611, 12, 10580, 16, 6625, 13, 16340, 713, 272, 410, 30, 511, 9611, 12, 20, 16, 22, 13, 374, 272, 410, 30, 511, 9611, 19236, 23, 16, 17, 25, 13, 4711, 272, 410, 30, 511, 9611, 3816, 21, 16, 22, 16, 23, 16, 24, 16, 25, 19, 23, 5717, 4752, 272, 410, 30, 331, 273, 511, 9611, 12, 3676, 12, 21, 16, 23899, 3631, 7745, 33, 5510, 13, 282, 468, 380, 3242, 14, 4797, 5, 272, 410, 30, 562, 12, 701, 12, 90, 3719, 1059, 5026, 29, 3536, 309, 3571, 30, 309, 1549, 12, 69, 16, 12, 1098, 16, 8052, 3719, 30, 327, 272, 410, 18, 86, 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, 328, 7670, 12, 69, 16, 324, 33, 7036, 16, 3571, 33, 8381, 4672, 3536, 1021, 4520, 2975, 3229, 434, 279, 471, 324, 16, 578, 16, 309, 279, 353, 279, 666, 471, 324, 353, 16195, 16, 326, 4520, 2975, 3229, 434, 777, 2186, 434, 279, 18, 225, 5219, 30, 2672, 3571, 33, 5510, 358, 1221, 333, 331, 689, 715, 12063, 309, 1846, 854, 5960, 598, 6035, 434, 12321, 18, 225, 12943, 30, 279, 1493, 1300, 324, 1493, 1300, 261, 10444, 13, 3571, 1493, 261, 1886, 30, 1083, 1769, 309, 1053, 16, 741, 392, 3571, 511, 9611, 578, 331, 1493, 3806, 3571, 1493, 261, 1886, 30, 1083, 1769, 309, 1053, 16, 741, 392, 3571, 511, 9611, 5219, 1493, 333, 353, 2 ]
if not res['OK']: return res return res['Value']
end = time.time() oDataOperation.setEndTime() oDataOperation.setValueByKey('TransferTime',end-start) if not res['OK']: oDataOperation.setValueByKey('TransferOK',0) oDataOperation.setValueByKey('FinalStatus','Failed') res['AccountingOperation'] = oDataOperation return res res = res['Value'] if not res['OK']: oDataOperation.setValueByKey('TransferOK',0) oDataOperation.setValueByKey('FinalStatus','Failed') res['AccountingOperation'] = oDataOperation return res
def __gfal_operation_wrapper(self,operation,gfalDict,srmRequestID=None):
84d28999c850ebcc648557ccda78869a09c24615 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/84d28999c850ebcc648557ccda78869a09c24615/SRM2Storage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 75, 74, 287, 67, 7624, 67, 8376, 12, 2890, 16, 7624, 16, 75, 74, 287, 5014, 16, 87, 8864, 691, 734, 33, 7036, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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1652, 1001, 75, 74, 287, 67, 7624, 67, 8376, 12, 2890, 16, 7624, 16, 75, 74, 287, 5014, 16, 87, 8864, 691, 734, 33, 7036, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.setWSS(value) self.setSlowBlank(value)
self.setAspectWSS(value) self.setAspectSlowBlank(value)
def setAspectRatio(self, value): eAVSwitch.getInstance().setAspectRatio(value) self.setWSS(value) self.setSlowBlank(value)
05626c8692bb0775f993ee23494926b21c266eac /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/05626c8692bb0775f993ee23494926b21c266eac/AVSwitch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 17468, 8541, 12, 2890, 16, 460, 4672, 425, 5856, 10200, 18, 588, 1442, 7675, 542, 17468, 8541, 12, 1132, 13, 365, 18, 542, 59, 1260, 12, 1132, 13, 365, 18, 542, 28733, 7796, 12, 1132, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 17468, 8541, 12, 2890, 16, 460, 4672, 425, 5856, 10200, 18, 588, 1442, 7675, 542, 17468, 8541, 12, 1132, 13, 365, 18, 542, 59, 1260, 12, 1132, 13, 365, 18, 542, 28733, 7796, 12, 1132, 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 ]
if p_indices is not None: assert len(p_indices) == 1 else: p_indices = [first_idx] points.append((0,0, z))
p_indices = (first_idx,) points.append((0,0, z))
def gen_ring(ring_idx, r, z): p_indices = None if ring_point_indices is not None: p_indices = ring_point_indices[ring_idx]
3ced297c55913885e4b6094b0c0e25c20e66ad10 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11985/3ced297c55913885e4b6094b0c0e25c20e66ad10/tet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3157, 67, 8022, 12, 8022, 67, 3465, 16, 436, 16, 998, 4672, 293, 67, 6836, 273, 599, 309, 9221, 67, 1153, 67, 6836, 353, 486, 599, 30, 293, 67, 6836, 273, 9221, 67, 1153, 67, 6836, 63, 8022, 67, 3465, 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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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, 3157, 67, 8022, 12, 8022, 67, 3465, 16, 436, 16, 998, 4672, 293, 67, 6836, 273, 599, 309, 9221, 67, 1153, 67, 6836, 353, 486, 599, 30, 293, 67, 6836, 273, 9221, 67, 1153, 67, 6836, 63, 8022, 67, 3465, 65, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
_socket.ssl = ssl
def patch_socket(dns=True): from gevent.socket import socket, fromfd, ssl, socketpair _socket = __import__('socket') _socket.socket = socket _socket.fromfd = fromfd _socket.ssl = ssl _socket.socketpair = socketpair if dns: patch_dns()
73b5936f3cae849d319600a0b180804a2f963f1c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10423/73b5936f3cae849d319600a0b180804a2f963f1c/monkey.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4729, 67, 7814, 12, 14926, 33, 5510, 4672, 628, 314, 2575, 18, 7814, 1930, 2987, 16, 628, 8313, 16, 5832, 16, 2987, 6017, 389, 7814, 273, 1001, 5666, 972, 2668, 7814, 6134, 389, 7814, 18, 7814, 273, 2987, 389, 7814, 18, 2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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4729, 67, 7814, 12, 14926, 33, 5510, 4672, 628, 314, 2575, 18, 7814, 1930, 2987, 16, 628, 8313, 16, 5832, 16, 2987, 6017, 389, 7814, 273, 1001, 5666, 972, 2668, 7814, 6134, 389, 7814, 18, 7814, 273, 2987, 389, 7814, 18, 2080, 8313, 273, 628, 8313, 389, 7814, 18, 7814, 6017, 273, 2987, 6017, 309, 6605, 30, 4729, 67, 14926, 1435, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def fl_get_formbrowser_area(ob, x, y, w, h): """ fl_get_formbrowser_area(ob, x, y, w, h) -> num. """ retval = _fl_get_formbrowser_area(ob, x, y, w, h)
def fl_get_formbrowser_area(pObject, x, y, w, h): """ fl_get_formbrowser_area(pObject, x, y, w, h) -> num. """ retval = _fl_get_formbrowser_area(pObject, x, y, w, h)
def fl_get_formbrowser_area(ob, x, y, w, h): """ fl_get_formbrowser_area(ob, x, y, w, h) -> num. """ retval = _fl_get_formbrowser_area(ob, x, y, w, h) return retval
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 588, 67, 687, 11213, 67, 5036, 12, 84, 921, 16, 619, 16, 677, 16, 341, 16, 366, 4672, 3536, 1183, 67, 588, 67, 687, 11213, 67, 5036, 12, 84, 921, 16, 619, 16, 677, 16, 341, 16, 366, 13, 317, 818, 18, 3536, 225, 5221, 273, 389, 2242, 67, 588, 67, 687, 11213, 67, 5036, 12, 84, 921, 16, 619, 16, 677, 16, 341, 16, 366, 13, 327, 5221, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 588, 67, 687, 11213, 67, 5036, 12, 84, 921, 16, 619, 16, 677, 16, 341, 16, 366, 4672, 3536, 1183, 67, 588, 67, 687, 11213, 67, 5036, 12, 84, 921, 16, 619, 16, 677, 16, 341, 16, 366, 13, 317, 818, 18, 3536, 225, 5221, 273, 389, 2242, 67, 588, 67, 687, 11213, 67, 5036, 12, 84, 921, 16, 619, 16, 677, 16, 341, 16, 366, 13, 327, 5221, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Return the residue characteristic of self, i.e. the prime p such that this is a p-adic space.
Return the residue characteristic of self, i.e. the prime `p` such that this is a `p`-adic space.
def prime(self): r""" Return the residue characteristic of self, i.e. the prime p such that this is a p-adic space.
b526c3d210b712e2659f9ba0fab589c5ff5e9564 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/b526c3d210b712e2659f9ba0fab589c5ff5e9564/genus0.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17014, 12, 2890, 4672, 436, 8395, 2000, 326, 14765, 23158, 434, 365, 16, 277, 18, 73, 18, 326, 17014, 293, 4123, 716, 333, 353, 279, 293, 17, 20333, 3476, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17014, 12, 2890, 4672, 436, 8395, 2000, 326, 14765, 23158, 434, 365, 16, 277, 18, 73, 18, 326, 17014, 293, 4123, 716, 333, 353, 279, 293, 17, 20333, 3476, 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 ]
if filename == '<string>' and mainpyfile: filename = mainpyfile
if filename == '<string>' and self.mainpyfile: filename = self.mainpyfile
def defaultFile(self): """Produce a reasonable default.""" filename = self.curframe.f_code.co_filename if filename == '<string>' and mainpyfile: filename = mainpyfile return filename
395f3ef345f02d02734ed4aa5c409f3875cf0504 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/395f3ef345f02d02734ed4aa5c409f3875cf0504/pdb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 805, 812, 12, 2890, 4672, 3536, 25884, 279, 23589, 805, 12123, 1544, 273, 365, 18, 1397, 3789, 18, 74, 67, 710, 18, 2894, 67, 3459, 309, 1544, 422, 2368, 1080, 1870, 471, 365, 18, 5254, 2074, 768, 30, 1544, 273, 365, 18, 5254, 2074, 768, 327, 1544, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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 805, 12123, 1544, 273, 365, 18, 1397, 3789, 18, 74, 67, 710, 18, 2894, 67, 3459, 309, 1544, 422, 2368, 1080, 1870, 471, 365, 18, 5254, 2074, 768, 30, 1544, 273, 365, 18, 5254, 2074, 768, 327, 1544, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
c = connection.execute("describe " + table.fullname, {})
rp = connection.execute("describe " + self._escape_table_name(table), {})
def reflecttable(self, connection, table): # reference: http://dev.mysql.com/doc/refman/5.0/en/name-case-sensitivity.html cs = connection.execute("show variables like 'lower_case_table_names'").fetchone()[1] if isinstance(cs, array): cs = cs.tostring() case_sensitive = int(cs) == 0
81f42181f431eb8ea96c94ee8a2d798f11a296e7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1074/81f42181f431eb8ea96c94ee8a2d798f11a296e7/mysql.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3037, 2121, 12, 2890, 16, 1459, 16, 1014, 4672, 468, 2114, 30, 225, 1062, 2207, 5206, 18, 12527, 18, 832, 19, 2434, 19, 1734, 4728, 19, 25, 18, 20, 19, 275, 19, 529, 17, 3593, 17, 87, 773, 20862, 18, 2620, 2873, 273, 1459, 18, 8837, 2932, 4500, 3152, 3007, 296, 8167, 67, 3593, 67, 2121, 67, 1973, 4970, 2934, 5754, 476, 1435, 63, 21, 65, 309, 1549, 12, 2143, 16, 526, 4672, 2873, 273, 2873, 18, 14627, 371, 1435, 648, 67, 23481, 273, 509, 12, 2143, 13, 422, 374, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3037, 2121, 12, 2890, 16, 1459, 16, 1014, 4672, 468, 2114, 30, 225, 1062, 2207, 5206, 18, 12527, 18, 832, 19, 2434, 19, 1734, 4728, 19, 25, 18, 20, 19, 275, 19, 529, 17, 3593, 17, 87, 773, 20862, 18, 2620, 2873, 273, 1459, 18, 8837, 2932, 4500, 3152, 3007, 296, 8167, 67, 3593, 67, 2121, 67, 1973, 4970, 2934, 5754, 476, 1435, 63, 21, 65, 309, 1549, 12, 2143, 16, 526, 4672, 2873, 273, 2873, 18, 14627, 371, 1435, 648, 67, 23481, 273, 509, 12, 2143, 13, 422, 374, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if i.depth >= max_depth: father = i max_depth = i.depth if father: father.add_child(name) else:
i.add_child(name) if not deps:
def add_node(self, name, deps): max_depth, father = 0, None for i in [Node(x, self) for x in deps]: if i.depth >= max_depth: father = i max_depth = i.depth if father: father.add_child(name) else: Node(name, self)
9e182ca8855d2a70434760dbccf7e601872dd1b0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9266/9e182ca8855d2a70434760dbccf7e601872dd1b0/module.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 2159, 12, 2890, 16, 508, 16, 8740, 4672, 943, 67, 5979, 16, 284, 4806, 273, 374, 16, 599, 364, 277, 316, 306, 907, 12, 92, 16, 365, 13, 364, 619, 316, 8740, 14542, 277, 18, 1289, 67, 3624, 12, 529, 13, 309, 486, 8740, 30, 2029, 12, 529, 16, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 2159, 12, 2890, 16, 508, 16, 8740, 4672, 943, 67, 5979, 16, 284, 4806, 273, 374, 16, 599, 364, 277, 316, 306, 907, 12, 92, 16, 365, 13, 364, 619, 316, 8740, 14542, 277, 18, 1289, 67, 3624, 12, 529, 13, 309, 486, 8740, 30, 2029, 12, 529, 16, 365, 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 ]
def parse(self):
def parse(self,type_regex=None):
def parse(self): """ Each line of the frame cache file is like the following:
a7bd5749d7e3884dc25892a5f5265bab9a159fab /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5758/a7bd5749d7e3884dc25892a5f5265bab9a159fab/pipeline.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 723, 67, 7584, 33, 7036, 4672, 3536, 8315, 980, 434, 326, 2623, 1247, 585, 353, 3007, 326, 3751, 30, 2, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 723, 67, 7584, 33, 7036, 4672, 3536, 8315, 980, 434, 326, 2623, 1247, 585, 353, 3007, 326, 3751, 30, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
sage: K = Qp(13,7) sage: R.<t> = K[] sage: R([K(13), K(1)]) (1 + O(13^7))*t + (13 + O(13^8)) sage: T.<t> = ZZ[] sage: R(t + 2) (1 + O(13^7))*t + (2 + O(13^7))
sage: K = Qp(13,7) sage: R.<t> = K[] sage: R([K(13), K(1)]) (1 + O(13^7))*t + (13 + O(13^8)) sage: T.<t> = ZZ[] sage: R(t + 2) (1 + O(13^7))*t + (2 + O(13^7))
def __init__(self, parent, x=None, check=True, is_gen=False, construct = False, absprec = infinity, relprec = infinity): """ TESTS: sage: K = Qp(13,7) sage: R.<t> = K[] sage: R([K(13), K(1)]) (1 + O(13^7))*t + (13 + O(13^8)) sage: T.<t> = ZZ[] sage: R(t + 2) (1 + O(13^7))*t + (2 + O(13^7)) """ Polynomial.__init__(self, parent, is_gen=is_gen) if construct: (self._poly, self._valbase, self._relprecs, self._normalized, self._valaddeds, self._list) = x #the last two of these may be None return
25e51da7a32c89efd830c94e464c8a3b58021062 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/25e51da7a32c89efd830c94e464c8a3b58021062/polynomial_padic_capped_relative_dense.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 16, 619, 33, 7036, 16, 866, 33, 5510, 16, 353, 67, 4507, 33, 8381, 16, 4872, 273, 1083, 16, 2417, 4036, 273, 27272, 16, 1279, 4036, 273, 27272, 4672, 3536, 22130, 55, 30, 272, 410, 30, 1475, 273, 2238, 84, 12, 3437, 16, 27, 13, 272, 410, 30, 534, 22782, 88, 34, 273, 1475, 8526, 272, 410, 30, 534, 3816, 47, 12, 3437, 3631, 1475, 12, 21, 13, 5717, 261, 21, 397, 531, 12, 3437, 66, 27, 3719, 14, 88, 397, 261, 3437, 397, 531, 12, 3437, 66, 28, 3719, 272, 410, 30, 399, 22782, 88, 34, 273, 2285, 62, 8526, 272, 410, 30, 534, 12, 88, 397, 576, 13, 261, 21, 397, 531, 12, 3437, 66, 27, 3719, 14, 88, 397, 261, 22, 397, 531, 12, 3437, 66, 27, 3719, 3536, 6730, 13602, 16186, 2738, 972, 12, 2890, 16, 982, 16, 353, 67, 4507, 33, 291, 67, 4507, 13, 309, 4872, 30, 261, 2890, 6315, 16353, 16, 365, 6315, 1125, 1969, 16, 365, 6315, 2878, 1484, 2143, 16, 365, 6315, 17762, 16, 365, 6315, 1125, 9665, 87, 16, 365, 6315, 1098, 13, 273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, 33, 5510, 16, 353, 67, 4507, 33, 8381, 16, 4872, 273, 1083, 16, 2417, 4036, 273, 27272, 16, 1279, 4036, 273, 27272, 4672, 3536, 22130, 55, 30, 272, 410, 30, 1475, 273, 2238, 84, 12, 3437, 16, 27, 13, 272, 410, 30, 534, 22782, 88, 34, 273, 1475, 8526, 272, 410, 30, 534, 3816, 47, 12, 3437, 3631, 1475, 12, 21, 13, 5717, 261, 21, 397, 531, 12, 3437, 66, 27, 3719, 14, 88, 397, 261, 3437, 397, 531, 12, 3437, 66, 28, 3719, 272, 410, 30, 399, 22782, 88, 34, 273, 2285, 62, 8526, 272, 410, 30, 534, 12, 88, 397, 576, 13, 261, 2 ]
if os.sep in unicode(path):
path = unicode(path) if os.sep in path:
def open_book_path(self, path): if os.sep in unicode(path): open_local_file(path) else: format = unicode(path) path = self.view.model().db.format_abspath(self.current_row, format) if path is not None: open_local_file(path)
233baa63c6de7f2f45ad23cd53a4e74929330e3b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/233baa63c6de7f2f45ad23cd53a4e74929330e3b/book_info.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 67, 3618, 67, 803, 12, 2890, 16, 589, 4672, 589, 273, 5252, 12, 803, 13, 309, 1140, 18, 10814, 316, 589, 30, 1696, 67, 3729, 67, 768, 12, 803, 13, 469, 30, 740, 273, 5252, 12, 803, 13, 589, 273, 365, 18, 1945, 18, 2284, 7675, 1966, 18, 2139, 67, 5113, 803, 12, 2890, 18, 2972, 67, 492, 16, 740, 13, 309, 589, 353, 486, 599, 30, 1696, 67, 3729, 67, 768, 12, 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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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, 1696, 67, 3618, 67, 803, 12, 2890, 16, 589, 4672, 589, 273, 5252, 12, 803, 13, 309, 1140, 18, 10814, 316, 589, 30, 1696, 67, 3729, 67, 768, 12, 803, 13, 469, 30, 740, 273, 5252, 12, 803, 13, 589, 273, 365, 18, 1945, 18, 2284, 7675, 1966, 18, 2139, 67, 5113, 803, 12, 2890, 18, 2972, 67, 492, 16, 740, 13, 309, 589, 353, 486, 599, 30, 1696, 67, 3729, 67, 768, 12, 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 ]
(o_descr,d_descr)=hlr_utils.get_descr(obj)
o_descr = hlr_utils.get_descr(obj)
def rebin_axis_1D(obj,axis_out): """ This function rebins the primary axis for a SOM or a SO based on the given NessiList axis. Parameters: ---------- -> obj is the SOM or SO to be rebinned -> axis_out is a NessiList containing the axis to rebin the SOM or SO to Returns: ------- <- A SOM or SO that has been rebinned according to the provided axis Exceptions: ---------- <- TypeError is raised if the rebinning axis given is not a NessiList <- TypeError is raised if object being rebinned is not a SOM or a SO """ # import the helper functions import hlr_utils # set up for working through data try: axis_out.__type__ except AttributeError: raise TypeError, "Rebinning axis must be a NessiList!" (o_descr,d_descr)=hlr_utils.get_descr(obj) if o_descr == "number" or o_descr == "list": raise TypeError, "Do not know how to handle given type: %s" %\ o_descr else: pass (result,res_descr)=hlr_utils.empty_result(obj) result=hlr_utils.copy_som_attr(result,res_descr,obj,o_descr) # iterate through the values import axis_manip for i in range(hlr_utils.get_length(obj)): axis_in = hlr_utils.get_value(obj,i,o_descr,"x",0) val = hlr_utils.get_value(obj,i,o_descr) err2 = hlr_utils.get_err2(obj,i,o_descr) value=axis_manip.rebin_axis_1D(axis_in, val, err2, axis_out) xvals=[] xvals.append(axis_out) map_so = hlr_utils.get_map_so(obj,None,i) hlr_utils.result_insert(result,res_descr,value,map_so,"all",0,xvals) return result
766ac4ad90bc5477427ed44f10694c1d5e7af5bd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/763/766ac4ad90bc5477427ed44f10694c1d5e7af5bd/hlr_rebin_axis_1D.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 283, 4757, 67, 4890, 67, 21, 40, 12, 2603, 16, 4890, 67, 659, 4672, 3536, 1220, 445, 283, 11862, 326, 3354, 2654, 364, 279, 348, 1872, 578, 279, 7460, 2511, 603, 326, 864, 423, 403, 77, 682, 2654, 18, 225, 7012, 30, 12181, 317, 1081, 353, 326, 348, 1872, 578, 7460, 358, 506, 283, 4757, 11748, 317, 2654, 67, 659, 353, 279, 423, 403, 77, 682, 4191, 326, 2654, 358, 283, 4757, 326, 348, 1872, 578, 7460, 358, 225, 2860, 30, 18365, 3290, 432, 348, 1872, 578, 7460, 716, 711, 2118, 283, 4757, 11748, 4888, 358, 326, 2112, 2654, 225, 12781, 30, 12181, 3290, 3580, 353, 11531, 309, 326, 283, 4757, 2093, 2654, 864, 353, 486, 279, 423, 403, 77, 682, 3290, 3580, 353, 11531, 309, 733, 3832, 283, 4757, 11748, 353, 486, 279, 348, 1872, 578, 279, 7460, 3536, 225, 468, 1930, 326, 4222, 4186, 1930, 366, 10826, 67, 5471, 225, 468, 444, 731, 364, 5960, 3059, 501, 775, 30, 2654, 67, 659, 16186, 723, 972, 1335, 6394, 30, 1002, 3580, 16, 315, 426, 4757, 2093, 2654, 1297, 506, 279, 423, 403, 77, 682, 4442, 225, 320, 67, 28313, 273, 366, 10826, 67, 5471, 18, 588, 67, 28313, 12, 2603, 13, 225, 309, 320, 67, 28313, 422, 315, 2696, 6, 578, 320, 67, 28313, 422, 315, 1098, 6877, 1002, 3580, 16, 315, 3244, 486, 5055, 3661, 358, 1640, 864, 618, 30, 738, 87, 6, 738, 64, 320, 67, 28313, 469, 30, 1342, 225, 261, 2088, 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, 283, 4757, 67, 4890, 67, 21, 40, 12, 2603, 16, 4890, 67, 659, 4672, 3536, 1220, 445, 283, 11862, 326, 3354, 2654, 364, 279, 348, 1872, 578, 279, 7460, 2511, 603, 326, 864, 423, 403, 77, 682, 2654, 18, 225, 7012, 30, 12181, 317, 1081, 353, 326, 348, 1872, 578, 7460, 358, 506, 283, 4757, 11748, 317, 2654, 67, 659, 353, 279, 423, 403, 77, 682, 4191, 326, 2654, 358, 283, 4757, 326, 348, 1872, 578, 7460, 358, 225, 2860, 30, 18365, 3290, 432, 348, 1872, 578, 7460, 716, 711, 2118, 283, 4757, 11748, 4888, 358, 326, 2112, 2654, 225, 12781, 30, 12181, 3290, 3580, 353, 11531, 309, 326, 283, 4757, 2093, 2654, 864, 353, 486, 279, 423, 2 ]
return None
return self if not group_decl.modelGroup().isDeepResolved(): self._queueForResolution() return self
def _resolve (self): if self.isResolved(): return self node = self.__domNode context = self._context() scope = self._scope() ref_attr = NodeAttribute(node, 'ref') if xsd.nodeIsNamed(node, 'group'): # 3.9.2 says use 3.8.2, which is ModelGroup. The group # inside a particle is a groupRef. If there is no group # with that name, this throws an exception as expected. if ref_attr is None: raise pyxb.SchemaValidationError('group particle without reference') # Named groups can only appear at global scope, so no need # to use context here. (ref_ns, ref_ln) = self._namespaceContext().interpretQName(ref_attr) group_decl = ref_ns.modelGroupDefinitions().get(ref_ln) if group_decl is None: self._queueForResolution() return None
97a23ffbe2ae0cfebd28adc717e68c09e968c8d8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7171/97a23ffbe2ae0cfebd28adc717e68c09e968c8d8/structures.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 10828, 261, 2890, 4672, 309, 365, 18, 291, 12793, 13332, 327, 365, 756, 273, 365, 16186, 9859, 907, 819, 273, 365, 6315, 2472, 1435, 2146, 273, 365, 6315, 4887, 1435, 1278, 67, 1747, 273, 2029, 1499, 12, 2159, 16, 296, 1734, 6134, 309, 14802, 18, 2159, 2520, 7604, 12, 2159, 16, 296, 1655, 11, 4672, 468, 890, 18, 29, 18, 22, 20185, 999, 890, 18, 28, 18, 22, 16, 1492, 353, 3164, 1114, 18, 225, 1021, 1041, 468, 4832, 279, 20036, 353, 279, 1041, 1957, 18, 225, 971, 1915, 353, 1158, 1041, 468, 598, 716, 508, 16, 333, 1216, 392, 1520, 487, 2665, 18, 309, 1278, 67, 1747, 353, 599, 30, 1002, 2395, 6114, 18, 3078, 12101, 2668, 1655, 20036, 2887, 2114, 6134, 468, 9796, 3252, 848, 1338, 9788, 622, 2552, 2146, 16, 1427, 1158, 1608, 468, 358, 999, 819, 2674, 18, 261, 1734, 67, 2387, 16, 1278, 67, 2370, 13, 273, 365, 6315, 4937, 1042, 7675, 24713, 13688, 12, 1734, 67, 1747, 13, 1041, 67, 8840, 273, 1278, 67, 2387, 18, 2284, 1114, 7130, 7675, 588, 12, 1734, 67, 2370, 13, 309, 1041, 67, 8840, 353, 599, 30, 365, 6315, 4000, 1290, 11098, 1435, 327, 599, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 10828, 261, 2890, 4672, 309, 365, 18, 291, 12793, 13332, 327, 365, 756, 273, 365, 16186, 9859, 907, 819, 273, 365, 6315, 2472, 1435, 2146, 273, 365, 6315, 4887, 1435, 1278, 67, 1747, 273, 2029, 1499, 12, 2159, 16, 296, 1734, 6134, 309, 14802, 18, 2159, 2520, 7604, 12, 2159, 16, 296, 1655, 11, 4672, 468, 890, 18, 29, 18, 22, 20185, 999, 890, 18, 28, 18, 22, 16, 1492, 353, 3164, 1114, 18, 225, 1021, 1041, 468, 4832, 279, 20036, 353, 279, 1041, 1957, 18, 225, 971, 1915, 353, 1158, 1041, 468, 598, 716, 508, 16, 333, 1216, 392, 1520, 487, 2665, 18, 309, 1278, 67, 1747, 353, 599, 30, 1002, 2395, 6114, 18, 3078, 12101, 2 ]
if mainobject is object: return main except AttributeError: pass
if mainobject is object: return main
def getmodule(object): """Try to guess which module an object was defined in.""" if isclass(object): return sys.modules.get(object.__module__) try: file = getabsfile(object) except TypeError: return None if modulesbyfile.has_key(file): return sys.modules[modulesbyfile[file]] for module in sys.modules.values(): if hasattr(module, '__file__'): modulesbyfile[getabsfile(module)] = module.__name__ if modulesbyfile.has_key(file): return sys.modules[modulesbyfile[file]] main = sys.modules['__main__'] try: mainobject = getattr(main, object.__name__) if mainobject is object: return main except AttributeError: pass builtin = sys.modules['__builtin__'] try: builtinobject = getattr(builtin, object.__name__) if builtinobject is object: return builtin except AttributeError: pass
6519d6f0567d77a800a040af43cf26e8f0a25324 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/6519d6f0567d77a800a040af43cf26e8f0a25324/inspect.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 2978, 12, 1612, 4672, 3536, 7833, 358, 7274, 1492, 1605, 392, 733, 1703, 2553, 316, 12123, 309, 28209, 12, 1612, 4672, 327, 2589, 18, 6400, 18, 588, 12, 1612, 16186, 2978, 972, 13, 775, 30, 585, 273, 336, 5113, 768, 12, 1612, 13, 1335, 3580, 30, 327, 599, 309, 4381, 1637, 768, 18, 5332, 67, 856, 12, 768, 4672, 327, 2589, 18, 6400, 63, 6400, 1637, 768, 63, 768, 13563, 364, 1605, 316, 2589, 18, 6400, 18, 2372, 13332, 309, 3859, 12, 2978, 16, 4940, 768, 7250, 4672, 4381, 1637, 768, 63, 588, 5113, 768, 12, 2978, 25887, 273, 1605, 16186, 529, 972, 309, 4381, 1637, 768, 18, 5332, 67, 856, 12, 768, 4672, 327, 2589, 18, 6400, 63, 6400, 1637, 768, 63, 768, 13563, 2774, 273, 2589, 18, 6400, 3292, 972, 5254, 972, 3546, 775, 30, 2774, 1612, 273, 3869, 12, 5254, 16, 733, 16186, 529, 972, 13, 309, 2774, 1612, 353, 733, 30, 327, 2774, 15273, 273, 2589, 18, 6400, 3292, 972, 24553, 972, 3546, 775, 30, 15273, 1612, 273, 3869, 12, 24553, 16, 733, 16186, 529, 972, 13, 309, 15273, 1612, 353, 733, 30, 327, 15273, 1335, 6394, 30, 1342, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 2978, 12, 1612, 4672, 3536, 7833, 358, 7274, 1492, 1605, 392, 733, 1703, 2553, 316, 12123, 309, 28209, 12, 1612, 4672, 327, 2589, 18, 6400, 18, 588, 12, 1612, 16186, 2978, 972, 13, 775, 30, 585, 273, 336, 5113, 768, 12, 1612, 13, 1335, 3580, 30, 327, 599, 309, 4381, 1637, 768, 18, 5332, 67, 856, 12, 768, 4672, 327, 2589, 18, 6400, 63, 6400, 1637, 768, 63, 768, 13563, 364, 1605, 316, 2589, 18, 6400, 18, 2372, 13332, 309, 3859, 12, 2978, 16, 4940, 768, 7250, 4672, 4381, 1637, 768, 63, 588, 5113, 768, 12, 2978, 25887, 273, 1605, 16186, 529, 972, 309, 4381, 1637, 768, 18, 5332, 67, 856, 12, 768, 4672, 327, 2589, 18, 2 ]
if flags&records:
if flags&RECORDS:
def __init__(self, stdin, environ, response, clean=0, # "static" variables that we want to be local for speed SEQUENCE=1, DEFAULT=2, RECORD=4, RECORDS=8, REC=12, # RECORD|RECORDS EMPTY=16, CONVERTED=32, hasattr=hasattr, getattr=getattr, setattr=setattr, search_type=regex.compile( ':[a-zA-Z][a-zA-Z0-9_]+$' ).search, rfind=string.rfind, ): # Avoid the overhead of scrubbing the environment in the # case of request cloning for traversal purposes. If the # clean flag is set, we know we can use the passed in # environ dict directly.
61eaceb62f9e9cbb359b1947fb1d0a2c8c506379 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/61eaceb62f9e9cbb359b1947fb1d0a2c8c506379/HTTPRequest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 8801, 16, 5473, 16, 766, 16, 2721, 33, 20, 16, 468, 315, 3845, 6, 3152, 716, 732, 2545, 358, 506, 1191, 364, 8632, 27118, 33, 21, 16, 3331, 33, 22, 16, 24346, 33, 24, 16, 2438, 9428, 3948, 33, 28, 16, 2438, 39, 33, 2138, 16, 468, 24346, 96, 862, 9428, 3948, 8984, 33, 2313, 16, 3492, 2204, 6404, 33, 1578, 16, 3859, 33, 5332, 1747, 16, 3869, 33, 588, 1747, 16, 9241, 33, 542, 1747, 16, 1623, 67, 723, 33, 7584, 18, 11100, 12, 4290, 63, 69, 17, 9600, 17, 62, 6362, 69, 17, 9600, 17, 62, 20, 17, 29, 67, 3737, 9227, 262, 18, 3072, 16, 31257, 33, 1080, 18, 86, 4720, 16, 262, 30, 468, 17843, 326, 23188, 434, 11991, 22298, 310, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 8801, 16, 5473, 16, 766, 16, 2721, 33, 20, 16, 468, 315, 3845, 6, 3152, 716, 732, 2545, 358, 506, 1191, 364, 8632, 27118, 33, 21, 16, 3331, 33, 22, 16, 24346, 33, 24, 16, 2438, 9428, 3948, 33, 28, 16, 2438, 39, 33, 2138, 16, 468, 24346, 96, 862, 9428, 3948, 8984, 33, 2313, 16, 3492, 2204, 6404, 33, 1578, 16, 3859, 33, 5332, 1747, 16, 3869, 33, 588, 1747, 16, 9241, 33, 542, 1747, 16, 1623, 67, 723, 33, 7584, 18, 11100, 12, 4290, 63, 69, 17, 9600, 17, 62, 6362, 69, 17, 9600, 17, 62, 20, 17, 29, 67, 3737, 9227, 262, 18, 3072, 16, 31257, 33, 1080, 18, 2 ]
@param where: The type of page for which a navigation bar should be generated. Possible values are C{'class'}, C{'module'}, C{'package'}, C{'tree'}, C{'index'}, and C{'help'}. @type where: C{string}
@param where: An identifier indicating what page we're creating a navigation bar for. This is either a UID (for an object documentation page); or one of the strings C{'tree'}, C{'index'}, and C{'help'}. @type where: C{UID} or C{string} @param top: Whether this is the navigation bar at the top of the page. @type top: C{boolean}
def _navbar(self, where, uid=None): """ @return: The HTML code for a navigation bar on the given type of page. The navigation bar typically looks like:: [ Package Module Class Tree Index Help ] @rtype: C{string} @param where: The type of page for which a navigation bar should be generated. Possible values are C{'class'}, C{'module'}, C{'package'}, C{'tree'}, C{'index'}, and C{'help'}. @type where: C{string} """ str = self._start_of('Navbar') str += '<table class="navbar" border="0" width="100%"' str += ' cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">\n' str += ' <tr>\n' str += ' <td width="100%">\n' str += ' <table border="0" cellpadding="0" cellspacing="0">\n' str += ' <tr valign="top">\n'
60b4598f963657af72659f4c3492b6028c51c37e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/60b4598f963657af72659f4c3492b6028c51c37e/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 11589, 3215, 12, 2890, 16, 1625, 16, 4555, 33, 7036, 4672, 3536, 632, 2463, 30, 1021, 3982, 981, 364, 279, 10394, 4653, 603, 326, 864, 618, 434, 1363, 18, 225, 1021, 10394, 4653, 14755, 10192, 3007, 2866, 225, 306, 7508, 5924, 1659, 4902, 3340, 11288, 308, 225, 632, 86, 723, 30, 385, 95, 1080, 97, 632, 891, 1625, 30, 1922, 2756, 11193, 4121, 1363, 732, 4565, 4979, 279, 10394, 4653, 364, 18, 225, 1220, 353, 3344, 279, 10034, 261, 1884, 392, 733, 7323, 1363, 1769, 578, 1245, 434, 326, 2064, 385, 27828, 3413, 11, 5779, 385, 27828, 1615, 11, 5779, 471, 385, 27828, 5201, 11, 5496, 632, 723, 1625, 30, 385, 95, 3060, 97, 578, 385, 95, 1080, 97, 632, 891, 1760, 30, 17403, 333, 353, 326, 10394, 4653, 622, 326, 1760, 434, 326, 1363, 18, 632, 723, 1760, 30, 385, 95, 6494, 97, 3536, 609, 273, 365, 6315, 1937, 67, 792, 2668, 12599, 3215, 6134, 609, 1011, 2368, 2121, 667, 1546, 11589, 3215, 6, 5795, 1546, 20, 6, 1835, 1546, 6625, 9, 5187, 609, 1011, 296, 2484, 9598, 1546, 20, 6, 31509, 1546, 7, 69, 20, 71, 20, 1403, 6, 2484, 14080, 1546, 20, 6, 5333, 82, 11, 609, 1011, 296, 225, 411, 313, 5333, 82, 11, 609, 1011, 296, 565, 411, 4465, 1835, 1546, 6625, 16407, 5333, 82, 11, 609, 1011, 296, 1377, 411, 2121, 5795, 1546, 20, 6, 2484, 9598, 1546, 20, 6, 2484, 14080, 1546, 20, 6, 5333, 82, 11, 609, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 11589, 3215, 12, 2890, 16, 1625, 16, 4555, 33, 7036, 4672, 3536, 632, 2463, 30, 1021, 3982, 981, 364, 279, 10394, 4653, 603, 326, 864, 618, 434, 1363, 18, 225, 1021, 10394, 4653, 14755, 10192, 3007, 2866, 225, 306, 7508, 5924, 1659, 4902, 3340, 11288, 308, 225, 632, 86, 723, 30, 385, 95, 1080, 97, 632, 891, 1625, 30, 1922, 2756, 11193, 4121, 1363, 732, 4565, 4979, 279, 10394, 4653, 364, 18, 225, 1220, 353, 3344, 279, 10034, 261, 1884, 392, 733, 7323, 1363, 1769, 578, 1245, 434, 326, 2064, 385, 27828, 3413, 11, 5779, 385, 27828, 1615, 11, 5779, 471, 385, 27828, 5201, 11, 5496, 632, 723, 1625, 30, 385, 95, 3060, 97, 578, 385, 95, 2 ]
unlink(file2) error = system(SWFRENDER + " /tmp/test.swf -o %s" % file2)
unlink(file) error = system(SWFRENDER + " /tmp/test.swf -o %s" % file)
def runtools(self, filename, page, file1, file2, file12):
a822c33ef7e2df2abe7cf982020aac1c739f8445 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5722/a822c33ef7e2df2abe7cf982020aac1c739f8445/testpdfs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 6642, 12, 2890, 16, 1544, 16, 1363, 16, 585, 21, 16, 585, 22, 16, 585, 2138, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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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 ]
rstack.resume_point("CALL_METHOD", f, returns=w_result)
rstack.resume_point("CALL_METHOD", f, w_self, returns=w_result)
def CALL_METHOD(f, oparg, *ignored): # opargs contains the arg, and kwarg count, excluding the implicit 'self' n_args = oparg & 0xff n_kwargs = (oparg >> 8) & 0xff w_self = f.peekvalue(n_args + (2 * n_kwargs)) w_callable = f.peekvalue(n_args + (2 * n_kwargs) + 1) n = n_args + (w_self is not None) if not n_kwargs: try: w_result = f.space.call_valuestack(w_callable, n, f) rstack.resume_point("CALL_METHOD", f, n_args, returns=w_result) finally: f.dropvalues(n_args + 2) else: keywords = [None] * n_kwargs keywords_w = [None] * n_kwargs while True: n_kwargs -= 1 if n_kwargs < 0: break w_value = f.popvalue() w_key = f.popvalue() key = f.space.str_w(w_key) keywords[n_kwargs] = key keywords_w[n_kwargs] = w_value arguments = f.popvalues(n) args = f.argument_factory(arguments, keywords, keywords_w, None, None) try: w_result = f.space.call_args(w_callable, args) rstack.resume_point("CALL_METHOD", f, returns=w_result) finally: f.dropvalues(1 + (w_self is None)) f.pushvalue(w_result)
85251138ab46185e23ac8ddb9935ca10a1993318 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6934/85251138ab46185e23ac8ddb9935ca10a1993318/callmethod.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 22753, 67, 5327, 12, 74, 16, 1061, 3175, 16, 380, 24055, 4672, 468, 1061, 1968, 1914, 326, 1501, 16, 471, 19554, 1056, 16, 19560, 326, 10592, 296, 2890, 11, 290, 67, 1968, 273, 1061, 3175, 473, 374, 5297, 290, 67, 4333, 273, 261, 556, 3175, 1671, 1725, 13, 473, 374, 5297, 341, 67, 2890, 273, 284, 18, 347, 3839, 1132, 12, 82, 67, 1968, 397, 261, 22, 380, 290, 67, 4333, 3719, 341, 67, 7293, 273, 284, 18, 347, 3839, 1132, 12, 82, 67, 1968, 397, 261, 22, 380, 290, 67, 4333, 13, 397, 404, 13, 290, 273, 290, 67, 1968, 397, 261, 91, 67, 2890, 353, 486, 599, 13, 225, 309, 486, 290, 67, 4333, 30, 775, 30, 341, 67, 2088, 273, 284, 18, 2981, 18, 1991, 67, 4531, 395, 484, 12, 91, 67, 7293, 16, 290, 16, 284, 13, 436, 3772, 18, 25158, 67, 1153, 2932, 13730, 67, 5327, 3113, 284, 16, 290, 67, 1968, 16, 1135, 33, 91, 67, 2088, 13, 3095, 30, 284, 18, 7285, 2372, 12, 82, 67, 1968, 397, 576, 13, 469, 30, 7093, 273, 306, 7036, 65, 380, 290, 67, 4333, 7093, 67, 91, 273, 306, 7036, 65, 380, 290, 67, 4333, 1323, 1053, 30, 290, 67, 4333, 3947, 404, 309, 290, 67, 4333, 411, 374, 30, 898, 341, 67, 1132, 273, 284, 18, 5120, 1132, 1435, 341, 67, 856, 273, 284, 18, 5120, 1132, 1435, 498, 273, 284, 18, 2981, 18, 701, 67, 91, 12, 91, 67, 856, 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, 22753, 67, 5327, 12, 74, 16, 1061, 3175, 16, 380, 24055, 4672, 468, 1061, 1968, 1914, 326, 1501, 16, 471, 19554, 1056, 16, 19560, 326, 10592, 296, 2890, 11, 290, 67, 1968, 273, 1061, 3175, 473, 374, 5297, 290, 67, 4333, 273, 261, 556, 3175, 1671, 1725, 13, 473, 374, 5297, 341, 67, 2890, 273, 284, 18, 347, 3839, 1132, 12, 82, 67, 1968, 397, 261, 22, 380, 290, 67, 4333, 3719, 341, 67, 7293, 273, 284, 18, 347, 3839, 1132, 12, 82, 67, 1968, 397, 261, 22, 380, 290, 67, 4333, 13, 397, 404, 13, 290, 273, 290, 67, 1968, 397, 261, 91, 67, 2890, 353, 486, 599, 13, 225, 309, 486, 290, 67, 4333, 30, 775, 2 ]
divider = field.widget.divider if getattr(field.widget, 'timestamp', None): divider = "\n\n" + str(DateTime()) + divider
def process_form(self, instance, field, form, empty_marker=None, emptyReturnsMarker=False): """handle text formatting""" text_format = None value = None # text field with formatting value = form.get(field.getName(), empty_marker)
376d7af40a563cfff8df4e40d7d855406b5fc939 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/376d7af40a563cfff8df4e40d7d855406b5fc939/Widget.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 687, 12, 2890, 16, 791, 16, 652, 16, 646, 16, 1008, 67, 11145, 33, 7036, 16, 1008, 1356, 7078, 33, 8381, 4672, 3536, 4110, 977, 10407, 8395, 977, 67, 2139, 273, 599, 460, 273, 599, 468, 977, 652, 598, 10407, 460, 273, 646, 18, 588, 12, 1518, 18, 17994, 9334, 1008, 67, 11145, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 687, 12, 2890, 16, 791, 16, 652, 16, 646, 16, 1008, 67, 11145, 33, 7036, 16, 1008, 1356, 7078, 33, 8381, 4672, 3536, 4110, 977, 10407, 8395, 977, 67, 2139, 273, 599, 460, 273, 599, 468, 977, 652, 598, 10407, 460, 273, 646, 18, 588, 12, 1518, 18, 17994, 9334, 1008, 67, 11145, 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 ]
[(u'object1', <UtiltiyTerm object1, instance of Object>), (u'object2', <UtiltiyTerm object2, instance of Object>), (u'object3', <UtiltiyTerm object3, instance of Object>)]
[(u'object1', <UtilityTerm object1, instance of Object>), (u'object2', <UtilityTerm object2, instance of Object>), (u'object3', <UtilityTerm object3, instance of Object>)]
... def __repr__(self):
9d3ea1c3199a9cfb3a12acbf8d1bed27165a7f87 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9537/9d3ea1c3199a9cfb3a12acbf8d1bed27165a7f87/vocabulary.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1372, 377, 1652, 1001, 12715, 972, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1372, 377, 1652, 1001, 12715, 972, 12, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
def _laplace_latex_(*args):
def _laplace_latex_(self, *args):
def _laplace_latex_(*args): r""" Return LaTeX expression for Laplace transform of a symbolic function. EXAMPLES:: sage: from sage.calculus.calculus import _laplace_latex_ sage: var('s,t') (s, t) sage: f(t) = function('f',t) sage: _laplace_latex_(f(t),t,s) '\\mathcal{L}\\left(f\\left(t\\right), t, s\\right)' AUTHORS: - Golam Mortuza Hossain (2009-06-22) """ return "\\mathcal{L}\\left(%s\\right)"%(', '.join([latex(x) for x in args]))
9f774223e4745a0d335873c3b96c949e3be36475 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/9f774223e4745a0d335873c3b96c949e3be36475/calculus.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 11821, 964, 67, 26264, 67, 12, 2890, 16, 380, 1968, 4672, 436, 8395, 2000, 21072, 21575, 60, 2652, 364, 21072, 964, 2510, 434, 279, 16754, 445, 18, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 30, 628, 272, 410, 18, 12780, 407, 18, 12780, 407, 1930, 389, 11821, 964, 67, 26264, 67, 272, 410, 30, 569, 2668, 87, 16, 88, 6134, 261, 87, 16, 268, 13, 272, 410, 30, 284, 12, 88, 13, 273, 445, 2668, 74, 2187, 88, 13, 272, 410, 30, 389, 11821, 964, 67, 26264, 67, 12, 74, 12, 88, 3631, 88, 16, 87, 13, 3718, 15949, 771, 95, 48, 97, 1695, 4482, 12, 74, 1695, 4482, 12, 88, 1695, 4083, 3631, 268, 16, 272, 1695, 4083, 2506, 225, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 11821, 964, 67, 26264, 67, 12, 2890, 16, 380, 1968, 4672, 436, 8395, 2000, 21072, 21575, 60, 2652, 364, 21072, 964, 2510, 434, 279, 16754, 445, 18, 225, 5675, 8900, 11386, 2866, 225, 272, 410, 30, 628, 272, 410, 18, 12780, 407, 18, 12780, 407, 1930, 389, 11821, 964, 67, 26264, 67, 272, 410, 30, 569, 2668, 87, 16, 88, 6134, 261, 87, 16, 268, 13, 272, 410, 30, 284, 12, 88, 13, 273, 445, 2668, 74, 2187, 88, 13, 272, 410, 30, 389, 11821, 964, 67, 26264, 67, 12, 74, 12, 88, 3631, 88, 16, 87, 13, 3718, 15949, 771, 95, 48, 97, 1695, 4482, 12, 74, 1695, 4482, 12, 88, 1695, 4083, 3631, 268, 16, 2 ]
pyftpdlib.ftpserver.logline = line_logger
def line_logger(msg): if (msg.find("kill") >= 0): server.stop = True print 'shutting down server' sys.exit(0)
814d8c519498ba4f6ab732363a6f66cc5da8a33c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5060/814d8c519498ba4f6ab732363a6f66cc5da8a33c/testserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 980, 67, 4901, 12, 3576, 4672, 309, 261, 3576, 18, 4720, 2932, 16418, 7923, 1545, 374, 4672, 1438, 18, 5681, 273, 1053, 1172, 296, 674, 25387, 2588, 1438, 11, 2589, 18, 8593, 12, 20, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 980, 67, 4901, 12, 3576, 4672, 309, 261, 3576, 18, 4720, 2932, 16418, 7923, 1545, 374, 4672, 1438, 18, 5681, 273, 1053, 1172, 296, 674, 25387, 2588, 1438, 11, 2589, 18, 8593, 12, 20, 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 ]
def set_password(self, value='', already_hashed=False):
def set_password(self, value = '', already_hashed = False):
def set_password(self, value='', already_hashed=False): """Set a password on this sheet.""" if not already_hashed: value = hash_password(value) self._password = value
31f1a17022804adb2d15701d138a8345a6f685f5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1351/31f1a17022804adb2d15701d138a8345a6f685f5/worksheet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 3664, 12, 2890, 16, 460, 273, 10226, 1818, 67, 2816, 329, 273, 1083, 4672, 3536, 694, 279, 2201, 603, 333, 6202, 12123, 309, 486, 1818, 67, 2816, 329, 30, 460, 273, 1651, 67, 3664, 12, 1132, 13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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, 444, 67, 3664, 12, 2890, 16, 460, 273, 10226, 1818, 67, 2816, 329, 273, 1083, 4672, 3536, 694, 279, 2201, 603, 333, 6202, 12123, 309, 486, 1818, 67, 2816, 329, 30, 460, 273, 1651, 67, 3664, 12, 1132, 13, 365, 6315, 3664, 273, 460, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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.parse_percent_directives()
def is_html(self): """ Returns True if this is an HTML cell. An HTML cell whose system is HTML and is typically specified by '%html' at the top of the cell.
fcd2aab9896251f9fe30af9a2996d617648001f6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/fcd2aab9896251f9fe30af9a2996d617648001f6/cell.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 2620, 12, 2890, 4672, 3536, 2860, 1053, 309, 333, 353,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 2620, 12, 2890, 4672, 3536, 2860, 1053, 309, 333, 353, 392, 3982, 2484, 18, 225, 1922, 3982, 2484, 8272, 2619, 353, 3982, 471, 353, 14755, 1269, 635, 1995, 2620, 11, 622, 326, 1760, 434, 326, 2484, 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 ]
XXX When wrapping around and failing to find anything, the portion of the text after the selection is searched twice :-(
def search_text(self, text, prog=None, ok=0): """Search a text widget for the pattern.
e7199a4b7f527e211b0e10b549ecb6851bfe98d5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/e7199a4b7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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1623, 67, 955, 12, 2890, 16, 977, 16, 11243, 33, 7036, 16, 1529, 33, 20, 4672, 3536, 2979, 279, 977, 3604, 364, 326, 1936, 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 ]
origbold = bold origitalic = italic
def SysFont(name, size, bold=0, italic=0): """pygame.font.SysFont(name, size, bold=0, italic=0) -> Font create a pygame Font from system font resources This will search the system fonts for the given font name. You can also enable bold or italic styles, and the appropriate system font will be selected if available. This will always return a valid Font object, and will fallback on the builtin pygame font if the given font is not found. Name can also be a comma separated list of names, in which case set of names will be searched in order. Pygame uses a small set of common font aliases, if the specific font you ask for is not available, a reasonable alternative may be used. """ import pygame.font if not Sysfonts: initsysfonts() fontname = None if name: allnames = name for name in allnames.split(','): origbold = bold origitalic = italic name = _simplename(name) styles = Sysfonts.get(name) if not styles: styles = Sysalias.get(name) if styles: while not fontname: fontname = styles.get((bold, italic)) if italic: italic = 0 elif bold: bold = 0 elif not fontname: fontname = styles.values()[0] if fontname: break font = pygame.font.Font(fontname, size) if name: if origbold and not bold: font.set_bold(1) if origitalic and not italic: font.set_italic(1) else: if bold: font.set_bold(1) elif italic: font.set_italic(1) return font
ca5d89783ff94ee98c45799f2426265c7e24f7ac /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1298/ca5d89783ff94ee98c45799f2426265c7e24f7ac/sysfont.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16995, 5711, 12, 529, 16, 963, 16, 13068, 33, 20, 16, 31709, 33, 20, 4672, 3536, 2074, 13957, 18, 5776, 18, 12712, 5711, 12, 529, 16, 963, 16, 13068, 33, 20, 16, 31709, 33, 20, 13, 317, 10063, 752, 279, 2395, 13957, 10063, 628, 2619, 3512, 2703, 225, 1220, 903, 1623, 326, 2619, 16450, 364, 326, 864, 3512, 508, 18, 4554, 848, 2546, 4237, 13068, 578, 31709, 5687, 16, 471, 326, 5505, 2619, 3512, 903, 506, 3170, 309, 2319, 18, 225, 1220, 903, 3712, 327, 279, 923, 10063, 733, 16, 471, 903, 5922, 603, 326, 15273, 2395, 13957, 3512, 309, 326, 864, 3512, 353, 486, 1392, 18, 225, 1770, 848, 2546, 506, 279, 8716, 8936, 666, 434, 1257, 16, 316, 1492, 648, 444, 434, 1257, 903, 506, 19242, 316, 1353, 18, 453, 4338, 339, 4692, 279, 5264, 444, 434, 2975, 3512, 6900, 16, 309, 326, 2923, 3512, 1846, 6827, 364, 353, 486, 2319, 16, 279, 23589, 10355, 2026, 506, 1399, 18, 3536, 1930, 2395, 13957, 18, 5776, 225, 309, 486, 16995, 22052, 30, 1208, 9499, 22052, 1435, 225, 3512, 529, 273, 599, 309, 508, 30, 777, 1973, 273, 508, 364, 508, 316, 777, 1973, 18, 4939, 12, 17023, 4672, 508, 273, 389, 9812, 412, 1069, 12, 529, 13, 5687, 273, 16995, 22052, 18, 588, 12, 529, 13, 309, 486, 5687, 30, 5687, 273, 16995, 4930, 18, 588, 12, 529, 13, 309, 5687, 30, 1323, 486, 3512, 529, 30, 3512, 529, 273, 5687, 18, 588, 12443, 16390, 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, 16995, 5711, 12, 529, 16, 963, 16, 13068, 33, 20, 16, 31709, 33, 20, 4672, 3536, 2074, 13957, 18, 5776, 18, 12712, 5711, 12, 529, 16, 963, 16, 13068, 33, 20, 16, 31709, 33, 20, 13, 317, 10063, 752, 279, 2395, 13957, 10063, 628, 2619, 3512, 2703, 225, 1220, 903, 1623, 326, 2619, 16450, 364, 326, 864, 3512, 508, 18, 4554, 848, 2546, 4237, 13068, 578, 31709, 5687, 16, 471, 326, 5505, 2619, 3512, 903, 506, 3170, 309, 2319, 18, 225, 1220, 903, 3712, 327, 279, 923, 10063, 733, 16, 471, 903, 5922, 603, 326, 15273, 2395, 13957, 3512, 309, 326, 864, 3512, 353, 486, 1392, 18, 225, 1770, 848, 2546, 506, 279, 8716, 8936, 666, 434, 1257, 2 ]
self.pushOKHeaders('image/gif')
inOneHour = time.gmtime(time.time() + 3600) expiryDate = time.strftime('%a, %d %b %Y %H:%M:%S GMT', inOneHour) extraHeaders = {'Expires': expiryDate} self.pushOKHeaders('image/gif', extraHeaders)
def onRequest(self, path, params): """Handles a decoded HTTP request.""" if path == '/': path = '/Home' if path == '/helmet.gif': self.pushOKHeaders('image/gif') self.push(self.helmet) else: try: name = path[1:].capitalize() handler = getattr(self, 'on' + name) except AttributeError: self.pushError(404, "Not found: '%s'" % url) else: # This is a request for a valid page; run the handler. self.pushOKHeaders('text/html') self.pushPreamble(name) handler(params) timeString = time.asctime(time.localtime()) self.push(self.footer % timeString)
f52f2d890498484d13b002f537e7616e27a554aa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9857/f52f2d890498484d13b002f537e7616e27a554aa/pop3proxy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 691, 12, 2890, 16, 589, 16, 859, 4672, 3536, 8788, 279, 6383, 2239, 590, 12123, 309, 589, 422, 2023, 30, 589, 273, 1173, 8684, 11, 225, 309, 589, 422, 1173, 76, 292, 10578, 18, 13905, 4278, 225, 316, 3335, 13433, 273, 813, 18, 75, 10838, 12, 957, 18, 957, 1435, 397, 12396, 13, 10839, 1626, 273, 813, 18, 701, 9982, 29909, 69, 16, 738, 72, 738, 70, 738, 61, 738, 44, 5319, 49, 5319, 55, 21706, 2187, 316, 3335, 13433, 13, 2870, 3121, 273, 13666, 14449, 4278, 10839, 1626, 97, 365, 18, 6206, 3141, 3121, 2668, 2730, 19, 13905, 2187, 2870, 3121, 13, 365, 18, 6206, 12, 2890, 18, 76, 292, 10578, 13, 469, 30, 775, 30, 508, 273, 589, 63, 21, 30, 8009, 5909, 7053, 554, 1435, 1838, 273, 3869, 12, 2890, 16, 296, 265, 11, 397, 508, 13, 1335, 6394, 30, 365, 18, 6206, 668, 12, 11746, 16, 315, 1248, 1392, 30, 1995, 87, 4970, 738, 880, 13, 469, 30, 468, 1220, 353, 279, 590, 364, 279, 923, 1363, 31, 1086, 326, 1838, 18, 365, 18, 6206, 3141, 3121, 2668, 955, 19, 2620, 6134, 365, 18, 6206, 52, 793, 7119, 12, 529, 13, 1838, 12, 2010, 13, 813, 780, 273, 813, 18, 345, 21261, 12, 957, 18, 3729, 957, 10756, 365, 18, 6206, 12, 2890, 18, 14723, 738, 813, 780, 13, 225, 2, 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, 1, 0, 0, 0, 0, 0, 0, 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, 691, 12, 2890, 16, 589, 16, 859, 4672, 3536, 8788, 279, 6383, 2239, 590, 12123, 309, 589, 422, 2023, 30, 589, 273, 1173, 8684, 11, 225, 309, 589, 422, 1173, 76, 292, 10578, 18, 13905, 4278, 225, 316, 3335, 13433, 273, 813, 18, 75, 10838, 12, 957, 18, 957, 1435, 397, 12396, 13, 10839, 1626, 273, 813, 18, 701, 9982, 29909, 69, 16, 738, 72, 738, 70, 738, 61, 738, 44, 5319, 49, 5319, 55, 21706, 2187, 316, 3335, 13433, 13, 2870, 3121, 273, 13666, 14449, 4278, 10839, 1626, 97, 365, 18, 6206, 3141, 3121, 2668, 2730, 19, 13905, 2187, 2870, 3121, 13, 365, 18, 6206, 12, 2890, 18, 76, 292, 10578, 13, 469, 30, 775, 30, 2 ]
for item in self.conn.do.search('album', model.get_value(model.get_iter(path), 1), 'artist', self.view_artist_artist):
for item in self.browse_search_album_by_artist(self.view_artist_artist, model.get_value(model.get_iter(path), 1)):
def browser_get_selected_items_recursive(self, return_root): # If return_root=True, return main directories whenever possible # instead of individual songs in order to reduce the number of # mpd calls we need to make. items = [] model, selected = self.browser_selection.get_selected_rows() if self.view == self.VIEW_FILESYSTEM: if return_root and not self.search_mode_enabled() and ((self.root == "/" and len(selected) == len(self.browserdata)) or (self.root != "/" and len(selected) >= len(self.browserdata)-2)): # Everything selected, this is faster.. items.append(self.root) else: for path in selected: if model.get_value(model.get_iter(path), 2) != "/" and model.get_value(model.get_iter(path), 2) != "..": if model.get_value(model.get_iter(path), 0) == gtk.STOCK_OPEN: if return_root and not self.search_mode_enabled(): items.append(model.get_value(model.get_iter(path), 1)) else: for item in self.conn.do.listall(model.get_value(model.get_iter(path), 1)): if item.type == 'file': items.append(item.file) else: items.append(model.get_value(model.get_iter(path), 1)) elif self.view == self.VIEW_ARTIST: for path in selected: if model.get_value(model.get_iter(path), 2) != "/" and model.get_value(model.get_iter(path), 2) != "..": if self.view_artist_level == 1: for item in self.conn.do.search('artist', model.get_value(model.get_iter(path), 1)): items.append(item.file) else: if model.get_value(model.get_iter(path), 0) == 'album': for item in self.conn.do.search('album', model.get_value(model.get_iter(path), 1), 'artist', self.view_artist_artist): items.append(item.file) else: items.append(model.get_value(model.get_iter(path), 1)) elif self.view == self.VIEW_ALBUM: for path in selected: if model.get_value(model.get_iter(path), 2) != "/" and model.get_value(model.get_iter(path), 2) != "..": if self.root == "/": for item in self.conn.do.search('album', model.get_value(model.get_iter(path), 1)): items.append(item.file) else: items.append(model.get_value(model.get_iter(path), 1)) # Make sure we don't have any EXACT duplicates: items = remove_list_duplicates(items, True) return items
ef335bb5758783289bea4a5b77282ae0c87d687a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2312/ef335bb5758783289bea4a5b77282ae0c87d687a/sonata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4748, 67, 588, 67, 8109, 67, 3319, 67, 10543, 12, 2890, 16, 327, 67, 3085, 4672, 468, 971, 327, 67, 3085, 33, 5510, 16, 327, 2774, 6402, 17334, 3323, 468, 3560, 434, 7327, 272, 7260, 316, 1353, 358, 5459, 326, 1300, 434, 468, 6749, 72, 4097, 732, 1608, 358, 1221, 18, 1516, 273, 5378, 938, 16, 3170, 273, 365, 18, 11213, 67, 10705, 18, 588, 67, 8109, 67, 3870, 1435, 309, 365, 18, 1945, 422, 365, 18, 12145, 67, 3776, 14318, 30, 309, 327, 67, 3085, 471, 486, 365, 18, 3072, 67, 3188, 67, 5745, 1435, 471, 14015, 2890, 18, 3085, 422, 4016, 471, 562, 12, 8109, 13, 422, 562, 12, 2890, 18, 11213, 892, 3719, 578, 261, 2890, 18, 3085, 480, 4016, 471, 562, 12, 8109, 13, 1545, 562, 12, 2890, 18, 11213, 892, 24950, 22, 3719, 30, 468, 26553, 3170, 16, 333, 353, 12063, 838, 1516, 18, 6923, 12, 2890, 18, 3085, 13, 469, 30, 364, 589, 316, 3170, 30, 309, 938, 18, 588, 67, 1132, 12, 2284, 18, 588, 67, 2165, 12, 803, 3631, 576, 13, 480, 4016, 471, 938, 18, 588, 67, 1132, 12, 2284, 18, 588, 67, 2165, 12, 803, 3631, 576, 13, 480, 315, 838, 6877, 309, 938, 18, 588, 67, 1132, 12, 2284, 18, 588, 67, 2165, 12, 803, 3631, 374, 13, 422, 22718, 18, 31487, 3507, 67, 11437, 30, 309, 327, 67, 3085, 471, 486, 365, 18, 3072, 67, 3188, 67, 5745, 13332, 1516, 18, 6923, 12, 2284, 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, 4748, 67, 588, 67, 8109, 67, 3319, 67, 10543, 12, 2890, 16, 327, 67, 3085, 4672, 468, 971, 327, 67, 3085, 33, 5510, 16, 327, 2774, 6402, 17334, 3323, 468, 3560, 434, 7327, 272, 7260, 316, 1353, 358, 5459, 326, 1300, 434, 468, 6749, 72, 4097, 732, 1608, 358, 1221, 18, 1516, 273, 5378, 938, 16, 3170, 273, 365, 18, 11213, 67, 10705, 18, 588, 67, 8109, 67, 3870, 1435, 309, 365, 18, 1945, 422, 365, 18, 12145, 67, 3776, 14318, 30, 309, 327, 67, 3085, 471, 486, 365, 18, 3072, 67, 3188, 67, 5745, 1435, 471, 14015, 2890, 18, 3085, 422, 4016, 471, 562, 12, 8109, 13, 422, 562, 12, 2890, 18, 11213, 892, 3719, 578, 261, 2 ]
self.libs = None
self.libraries = None
self.undef = None
cdb20ba56d1c14cdf5a90df2b0cfc94d869c2e55 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/cdb20ba56d1c14cdf5a90df2b0cfc94d869c2e55/build_ext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 365, 18, 318, 536, 273, 599, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 365, 18, 318, 536, 273, 599, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
content.append(tag('ul')[[ tag('li')[item] for item in listItems ]])
content = [ tag('p')[ content ], tag('ul')[[ tag('li')[item] for item in listItems ]], ]
def component_log(self, element, args): """Convert the log message to HTML. If the message seems to be preformatted (it has some lines with indentation) it is stuck into a <pre>. Otherwise it is converted to HTML by replacing newlines with <br> tags and converting bulletted lists. """ log = XML.dig(args.message.xml, "message", "body", "commit", "log") if not log: return [] content = [] lines = Util.getNormalizedLog(log) nonListItemLines = [] listItems = []
25fe33525db4db3aa03df90343a6b886986d898c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6757/25fe33525db4db3aa03df90343a6b886986d898c/Commit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1794, 67, 1330, 12, 2890, 16, 930, 16, 833, 4672, 3536, 2723, 326, 613, 883, 358, 3982, 18, 971, 326, 883, 12001, 358, 506, 675, 14897, 261, 305, 711, 2690, 2362, 598, 12018, 13, 518, 353, 384, 9031, 1368, 279, 411, 1484, 18652, 5272, 518, 353, 5970, 358, 3982, 635, 13993, 19181, 598, 411, 2848, 34, 2342, 471, 14540, 31650, 2344, 6035, 18, 3536, 613, 273, 3167, 18, 5606, 12, 1968, 18, 2150, 18, 2902, 16, 315, 2150, 3113, 315, 3432, 3113, 315, 7371, 3113, 315, 1330, 7923, 309, 486, 613, 30, 327, 5378, 913, 273, 5378, 2362, 273, 3564, 18, 588, 15577, 1343, 12, 1330, 13, 1661, 13575, 5763, 273, 5378, 666, 3126, 273, 5378, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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536, 2723, 326, 613, 883, 358, 3982, 18, 971, 326, 883, 12001, 358, 506, 675, 14897, 261, 305, 711, 2690, 2362, 598, 12018, 13, 518, 353, 384, 9031, 1368, 279, 411, 1484, 18652, 5272, 518, 353, 5970, 358, 3982, 635, 13993, 19181, 598, 411, 2848, 34, 2342, 471, 14540, 31650, 2344, 6035, 18, 3536, 613, 273, 3167, 18, 5606, 12, 1968, 18, 2150, 18, 2902, 16, 315, 2150, 3113, 315, 3432, 3113, 315, 7371, 3113, 315, 1330, 7923, 309, 486, 613, 30, 327, 5378, 913, 273, 5378, 2362, 273, 3564, 18, 588, 15577, 1343, 12, 1330, 13, 1661, 13575, 5763, 273, 5378, 666, 3126, 273, 5378, 2, -100, -100 ]
res = self.make_response(raw_res)
res = self.make_response(raw_res, end_time - start_time)
def do_request(self, req, status, time_request): app = lint.middleware(self.app) old_stdout = sys.stdout out = StringIO() try: sys.stdout = out start_time = time.time() raw_res = wsgilib.raw_interactive(app, req.url, **req.environ) end_time = time.time() finally: sys.stdout = old_stdout sys.stderr.write(out.getvalue()) res = self.make_response(raw_res) res.request = req if self.namespace is not None: self.namespace['res'] = res self.check_status(status, res) self.check_errors(res) if time_request: return end_time - start_time
90680266c6d4645d6a3382f7b4579f79f4757170 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2097/90680266c6d4645d6a3382f7b4579f79f4757170/fixture.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 2293, 12, 2890, 16, 1111, 16, 1267, 16, 813, 67, 2293, 4672, 595, 273, 19477, 18, 17352, 12, 2890, 18, 2910, 13, 1592, 67, 10283, 273, 2589, 18, 10283, 596, 273, 15777, 1435, 775, 30, 2589, 18, 10283, 273, 596, 787, 67, 957, 273, 813, 18, 957, 1435, 1831, 67, 455, 273, 341, 1055, 330, 495, 18, 1899, 67, 24761, 12, 2910, 16, 1111, 18, 718, 16, 2826, 3658, 18, 28684, 13, 679, 67, 957, 273, 813, 18, 957, 1435, 3095, 30, 2589, 18, 10283, 273, 1592, 67, 10283, 2589, 18, 11241, 18, 2626, 12, 659, 18, 588, 1132, 10756, 400, 273, 365, 18, 6540, 67, 2740, 12, 1899, 67, 455, 16, 679, 67, 957, 300, 787, 67, 957, 13, 400, 18, 2293, 273, 1111, 309, 365, 18, 4937, 353, 486, 599, 30, 365, 18, 4937, 3292, 455, 3546, 273, 400, 365, 18, 1893, 67, 2327, 12, 2327, 16, 400, 13, 365, 18, 1893, 67, 4324, 12, 455, 13, 309, 813, 67, 2293, 30, 327, 679, 67, 957, 300, 787, 67, 957, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 741, 67, 2293, 12, 2890, 16, 1111, 16, 1267, 16, 813, 67, 2293, 4672, 595, 273, 19477, 18, 17352, 12, 2890, 18, 2910, 13, 1592, 67, 10283, 273, 2589, 18, 10283, 596, 273, 15777, 1435, 775, 30, 2589, 18, 10283, 273, 596, 787, 67, 957, 273, 813, 18, 957, 1435, 1831, 67, 455, 273, 341, 1055, 330, 495, 18, 1899, 67, 24761, 12, 2910, 16, 1111, 18, 718, 16, 2826, 3658, 18, 28684, 13, 679, 67, 957, 273, 813, 18, 957, 1435, 3095, 30, 2589, 18, 10283, 273, 1592, 67, 10283, 2589, 18, 11241, 18, 2626, 12, 659, 18, 588, 1132, 10756, 400, 273, 365, 18, 6540, 67, 2740, 12, 1899, 67, 455, 16, 679, 67, 957, 300, 2 ]
L1, error_bound = self.Lseries_deriv_at1(10*sqrt(self.conductor()) + 10)
L1, error_bound = E.Lseries_deriv_at1(10*sqrt(E.conductor()) + 10)
def sha_an(self, use_database=False): """ Returns the Birch and Swinnerton-Dyer conjectural order of Sha, unless the analytic rank is > 1, in which case this function returns 0.
281f4370d8301f7ec470b1771e1f9fd389a9831b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/281f4370d8301f7ec470b1771e1f9fd389a9831b/ell_rational_field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6056, 67, 304, 12, 2890, 16, 999, 67, 6231, 33, 8381, 4672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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6056, 67, 304, 12, 2890, 16, 999, 67, 6231, 33, 8381, 4672, 3536, 2860, 326, 605, 481, 343, 471, 5434, 267, 82, 1051, 265, 17, 40, 93, 264, 356, 937, 3766, 1353, 434, 2638, 69, 16, 3308, 326, 392, 7834, 335, 6171, 353, 405, 404, 16, 316, 1492, 648, 333, 445, 1135, 374, 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 ]
TixWidget.__init__(self,master,'tixNoteBook', ['options'], cnf, kw) self.subwidget_list['nbframe'] = TixSubWidget(self, 'nbframe', destroy_physically=0)
TixWidget.__init__(self,master,'tixNoteBook', ['options'], cnf, kw) self.subwidget_list['nbframe'] = TixSubWidget(self, 'nbframe', destroy_physically=0)
def __init__ (self,master=None,cnf={}, **kw):
0049f0036898e656085d5c214ba07642a9c25a6e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/0049f0036898e656085d5c214ba07642a9c25a6e/Tix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 16, 7525, 33, 7036, 16, 10305, 74, 28793, 2826, 9987, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1001, 2738, 972, 261, 2890, 16, 7525, 33, 7036, 16, 10305, 74, 28793, 2826, 9987, 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 ]
x - self.panX,
x - self.panX,
def moveCursorToMouse( self, x, y):
be664b78331ccad2eb127fa6a59c36fb10a1c0b2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12485/be664b78331ccad2eb127fa6a59c36fb10a1c0b2/tiledrawingarea.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3635, 6688, 774, 9186, 12, 365, 16, 619, 16, 677, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3635, 6688, 774, 9186, 12, 365, 16, 619, 16, 677, 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 ]
if url is None: return plaintext_to_html(label)
if url is None: return label
def href(self, target, label=None, css_class=None, context=None): """ Return the HTML code for an HREF link to the given target (which can be a C{VariableDoc}, a C{ValueDoc}, or a C{DottedName}. If a C{NamespaceDoc} C{context} is specified, the target label is contextualized to it. """ assert isinstance(target, (APIDoc, DottedName))
780903e689c2cb7776770bdf22844a1b4f360bff /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/780903e689c2cb7776770bdf22844a1b4f360bff/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3897, 12, 2890, 16, 1018, 16, 1433, 33, 7036, 16, 3747, 67, 1106, 33, 7036, 16, 819, 33, 7036, 4672, 3536, 2000, 326, 3982, 981, 364, 392, 670, 10771, 1692, 358, 326, 864, 1018, 261, 12784, 848, 506, 279, 385, 95, 3092, 1759, 5779, 279, 385, 95, 620, 1759, 5779, 578, 279, 385, 95, 10412, 2344, 461, 5496, 971, 279, 385, 95, 3402, 1759, 97, 385, 95, 2472, 97, 353, 1269, 16, 326, 1018, 1433, 353, 22724, 1235, 358, 518, 18, 3536, 1815, 1549, 12, 3299, 16, 261, 2203, 734, 504, 16, 17502, 2344, 461, 3719, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 1692, 358, 326, 864, 1018, 261, 12784, 848, 506, 279, 385, 95, 3092, 1759, 5779, 279, 385, 95, 620, 1759, 5779, 578, 279, 385, 95, 10412, 2344, 461, 5496, 971, 279, 385, 95, 3402, 1759, 97, 385, 95, 2472, 97, 353, 1269, 16, 326, 1018, 1433, 353, 22724, 1235, 358, 518, 18, 3536, 1815, 1549, 12, 3299, 16, 261, 2203, 734, 504, 16, 17502, 2344, 461, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
f = file('/home/richard/foo.txt', 'a+') f.write(str(urlparts))
def getAuthorizedURL(url, auth): # annoyingly, xmlrpclib only recognises user@pass style # authentication, so having gone to the trouble of parsing # it out, we now need to add it back in again if not auth: return url import urlparse urlparts = list(urlparse.urlparse(url)) urlparts[1] = auth+'@'+urlparts[1] f = file('/home/richard/foo.txt', 'a+') f.write(str(urlparts)) return urlparse.urlunparse(urlparts)
30b050cbd78e047c83aba5f73d15c0e9ff30b4df /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6274/30b050cbd78e047c83aba5f73d15c0e9ff30b4df/smtp2zope.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 15341, 1785, 12, 718, 16, 1357, 4672, 468, 14115, 14946, 715, 16, 2025, 13832, 830, 495, 1338, 14603, 6141, 729, 36, 5466, 2154, 468, 5107, 16, 1427, 7999, 22296, 358, 326, 23432, 1255, 434, 5811, 468, 518, 596, 16, 732, 2037, 1608, 358, 527, 518, 1473, 316, 3382, 309, 486, 1357, 30, 327, 880, 225, 1930, 15185, 225, 880, 6019, 273, 666, 12, 718, 2670, 18, 718, 2670, 12, 718, 3719, 880, 6019, 63, 21, 65, 273, 1357, 6797, 20887, 15, 718, 6019, 63, 21, 65, 327, 15185, 18, 718, 318, 2670, 12, 718, 6019, 13, 225, 2, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 15341, 1785, 12, 718, 16, 1357, 4672, 468, 14115, 14946, 715, 16, 2025, 13832, 830, 495, 1338, 14603, 6141, 729, 36, 5466, 2154, 468, 5107, 16, 1427, 7999, 22296, 358, 326, 23432, 1255, 434, 5811, 468, 518, 596, 16, 732, 2037, 1608, 358, 527, 518, 1473, 316, 3382, 309, 486, 1357, 30, 327, 880, 225, 1930, 15185, 225, 880, 6019, 273, 666, 12, 718, 2670, 18, 718, 2670, 12, 718, 3719, 880, 6019, 63, 21, 65, 273, 1357, 6797, 20887, 15, 718, 6019, 63, 21, 65, 327, 15185, 18, 718, 318, 2670, 12, 718, 6019, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
except IOError, msg:
except (OSError, IOError), msg:
def openpage(self, url_pair): url, fragment = url_pair try: return self.urlopener.open(url) except IOError, msg: msg = self.sanitize(msg) self.note(0, "Error %s", msg) if self.verbose > 0: self.show(" HREF ", url, " from", self.todo[url_pair]) self.setbad(url_pair, msg) return None
dc5ada59337cc2a889a11b8174f078e3f2a6135a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/dc5ada59337cc2a889a11b8174f078e3f2a6135a/webchecker.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 2433, 12, 2890, 16, 880, 67, 6017, 4672, 880, 16, 5481, 273, 880, 67, 6017, 775, 30, 327, 365, 18, 295, 16884, 708, 18, 3190, 12, 718, 13, 1335, 261, 4618, 668, 16, 8340, 3631, 1234, 30, 1234, 273, 365, 18, 20266, 12, 3576, 13, 365, 18, 7652,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 2433, 12, 2890, 16, 880, 67, 6017, 4672, 880, 16, 5481, 273, 880, 67, 6017, 775, 30, 327, 365, 18, 295, 16884, 708, 18, 3190, 12, 718, 13, 1335, 261, 4618, 668, 16, 8340, 3631, 1234, 30, 1234, 273, 365, 18, 20266, 12, 3576, 13, 365, 18, 7652, 12, 20, 16, 315, 668, 738, 87, 3113, 1234, 13, 309, 365, 18, 11369, 405, 374, 30, 365, 18, 4500, 2932, 670, 10771, 3104, 880, 16, 315, 225, 628, 3113, 365, 18, 9012, 63, 718, 67, 6017, 5717, 365, 18, 542, 8759, 12, 718, 67, 6017, 16, 1234, 13, 327, 599, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if file is None:
if file is _file: return file elif file=='str': return _file.getvalue() else:
def debugprint(obj, depth=-1, file=None): """Print a computation graph to file :type obj: Variable, Apply, or Function instance :param obj: symbolic thing to print :type depth: integer :param depth: print graph to this depth (-1 for unlimited) :type file: None or file-like object :param file: print to this file (None means sys.stdout) :rtype: None or file-like object :returns: `file` argument Each line printed represents a Variable in the graph. The indentation of each line corresponds to its depth in the symbolic graph. The first part of the text identifies whether it is an input (if a name or type is printed) or the output of some Apply (in which case the Op is printed). The second part of the text is the memory location of the Variable. If a Variable is encountered multiple times in the depth-first search, it is only printed recursively the first time. Later, just the Variable and its memory location are printed. If an Apply has multiple outputs, then a '.N' suffix will be appended to the Apply's identifier, to indicate which output a line corresponds to. """ if file is None: _file = sys.stdout else: _file = file done = set() results_to_print = [] if isinstance(obj, gof.Variable): results_to_print.append(obj) elif isinstance(obj, gof.Apply): results_to_print.extend(obj.outputs) elif isinstance(obj, Function): results_to_print.extend(obj.maker.env.outputs) for r in results_to_print: debugmode.debugprint(r, depth=depth, done=done, file=_file) if file is None: _file.flush() return file
7ed088781711b55663f005678762dbe4fb25ab93 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/7ed088781711b55663f005678762dbe4fb25ab93/printing.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1198, 1188, 12, 2603, 16, 3598, 29711, 21, 16, 585, 33, 7036, 4672, 3536, 5108, 279, 16039, 2667, 358, 585, 225, 294, 723, 1081, 30, 7110, 16, 5534, 16, 578, 4284, 791, 294, 891, 1081, 30, 16754, 7757, 358, 1172, 294, 723, 3598, 30, 3571, 294, 891, 3598, 30, 1172, 2667, 358, 333, 3598, 24927, 21, 364, 640, 21325, 13, 294, 723, 585, 30, 599, 578, 585, 17, 5625, 733, 294, 891, 585, 30, 1172, 358, 333, 585, 261, 7036, 4696, 2589, 18, 10283, 13, 225, 294, 86, 723, 30, 599, 578, 585, 17, 5625, 733, 294, 6154, 30, 1375, 768, 68, 1237, 225, 8315, 980, 14099, 8686, 279, 7110, 316, 326, 2667, 18, 1021, 12018, 434, 1517, 980, 13955, 358, 2097, 3598, 316, 326, 16754, 2667, 18, 1021, 1122, 1087, 434, 326, 977, 25283, 2856, 518, 353, 392, 810, 261, 430, 279, 508, 578, 618, 353, 14099, 13, 578, 326, 876, 434, 2690, 5534, 261, 267, 1492, 648, 326, 6066, 353, 14099, 2934, 1021, 2205, 1087, 434, 326, 977, 353, 326, 3778, 2117, 434, 326, 7110, 18, 225, 971, 279, 7110, 353, 9919, 3229, 4124, 316, 326, 3598, 17, 3645, 1623, 16, 518, 353, 1338, 14099, 8536, 326, 1122, 813, 18, 225, 511, 2045, 16, 2537, 326, 7110, 471, 2097, 3778, 2117, 854, 14099, 18, 225, 971, 392, 5534, 711, 3229, 6729, 16, 1508, 279, 2418, 50, 11, 3758, 903, 506, 12317, 358, 326, 5534, 1807, 2756, 16, 358, 10768, 1492, 876, 279, 980, 13955, 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, 1198, 1188, 12, 2603, 16, 3598, 29711, 21, 16, 585, 33, 7036, 4672, 3536, 5108, 279, 16039, 2667, 358, 585, 225, 294, 723, 1081, 30, 7110, 16, 5534, 16, 578, 4284, 791, 294, 891, 1081, 30, 16754, 7757, 358, 1172, 294, 723, 3598, 30, 3571, 294, 891, 3598, 30, 1172, 2667, 358, 333, 3598, 24927, 21, 364, 640, 21325, 13, 294, 723, 585, 30, 599, 578, 585, 17, 5625, 733, 294, 891, 585, 30, 1172, 358, 333, 585, 261, 7036, 4696, 2589, 18, 10283, 13, 225, 294, 86, 723, 30, 599, 578, 585, 17, 5625, 733, 294, 6154, 30, 1375, 768, 68, 1237, 225, 8315, 980, 14099, 8686, 279, 7110, 316, 326, 2667, 18, 1021, 12018, 434, 1517, 2 ]
if context is None: context = getcontext()
def to_eng_string(self, context=None): """Convert to engineering-type string.
323d0b30a64964b89a85e1b02e8fcc4017ce9fa7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/323d0b30a64964b89a85e1b02e8fcc4017ce9fa7/decimal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 67, 24688, 67, 1080, 12, 2890, 16, 819, 33, 7036, 4672, 3536, 2723, 358, 4073, 264, 310, 17, 723, 533, 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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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 67, 24688, 67, 1080, 12, 2890, 16, 819, 33, 7036, 4672, 3536, 2723, 358, 4073, 264, 310, 17, 723, 533, 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 ]
line = fd.readline ().strip ()
lines = fd.readlines ()
def check_program (name, prog, ver_regex, req_version, failifnot = False): check_started ("Checking for " + name + " >= " + req_version) rc = False version = None try: fd = os.popen (prog + " 2>&1") line = fd.readline ().strip () fd.close () if VERBOSE: print "\n# '" + prog + "' returned '" + line + "'" m = re.match (ver_regex, line) if not m: raise version = m.group (1) if not compare_version (version, req_version): raise check_finished (version + ", OK") rc = True except: if version: check_finished (version + " < " + req_version + ", FAILED") else: check_finished ("FAILED") if not rc and failifnot: print "\n" + name + " version " + req_version + " and above is required to build this project" sys.exit (1) return rc
d1d05a728990bf02584bb70d0eca5637dcaae898 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2556/d1d05a728990bf02584bb70d0eca5637dcaae898/tibs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 12890, 261, 529, 16, 11243, 16, 1924, 67, 7584, 16, 1111, 67, 1589, 16, 2321, 430, 902, 273, 1083, 4672, 866, 67, 14561, 7566, 14294, 364, 315, 397, 508, 397, 315, 1545, 315, 397, 1111, 67, 1589, 13, 4519, 273, 1083, 1177, 273, 599, 775, 30, 5194, 273, 1140, 18, 84, 3190, 261, 14654, 397, 315, 576, 22393, 21, 7923, 2362, 273, 5194, 18, 896, 3548, 1832, 5194, 18, 4412, 1832, 225, 309, 27857, 30, 1172, 1548, 82, 7, 2119, 397, 11243, 397, 2491, 2106, 2119, 397, 980, 397, 5862, 225, 312, 273, 283, 18, 1916, 261, 502, 67, 7584, 16, 980, 13, 309, 486, 312, 30, 1002, 225, 1177, 273, 312, 18, 1655, 261, 21, 13, 309, 486, 3400, 67, 1589, 261, 1589, 16, 1111, 67, 1589, 4672, 1002, 225, 866, 67, 13527, 261, 1589, 397, 3104, 7791, 7923, 4519, 273, 1053, 1335, 30, 309, 1177, 30, 866, 67, 13527, 261, 1589, 397, 315, 411, 315, 397, 1111, 67, 1589, 397, 3104, 18497, 7923, 469, 30, 866, 67, 13527, 7566, 11965, 7923, 225, 309, 486, 4519, 471, 2321, 430, 902, 30, 1172, 1548, 82, 6, 397, 508, 397, 315, 1177, 315, 397, 1111, 67, 1589, 397, 315, 471, 5721, 353, 1931, 358, 1361, 333, 1984, 6, 2589, 18, 8593, 261, 21, 13, 225, 327, 4519, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 12890, 261, 529, 16, 11243, 16, 1924, 67, 7584, 16, 1111, 67, 1589, 16, 2321, 430, 902, 273, 1083, 4672, 866, 67, 14561, 7566, 14294, 364, 315, 397, 508, 397, 315, 1545, 315, 397, 1111, 67, 1589, 13, 4519, 273, 1083, 1177, 273, 599, 775, 30, 5194, 273, 1140, 18, 84, 3190, 261, 14654, 397, 315, 576, 22393, 21, 7923, 2362, 273, 5194, 18, 896, 3548, 1832, 5194, 18, 4412, 1832, 225, 309, 27857, 30, 1172, 1548, 82, 7, 2119, 397, 11243, 397, 2491, 2106, 2119, 397, 980, 397, 5862, 225, 312, 273, 283, 18, 1916, 261, 502, 67, 7584, 16, 980, 13, 309, 486, 312, 30, 1002, 225, 1177, 273, 312, 18, 1655, 261, 21, 2 ]
d = len_axis
d=0
def run(self): db = sqlalchemy.create_engine(self.object.schema_id.database_id.connection_url,encoding='utf-8') metadata = sqlalchemy.MetaData(db) print 'Connected to database...', self.object.schema_id.database_id.connection_url
5b70a65f158403d40ef338c3d7da76112c0a148f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7339/5b70a65f158403d40ef338c3d7da76112c0a148f/query.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 1319, 273, 1847, 24182, 18, 2640, 67, 8944, 12, 2890, 18, 1612, 18, 4821, 67, 350, 18, 6231, 67, 350, 18, 4071, 67, 718, 16, 5999, 2218, 3158, 17, 28, 6134, 1982, 273, 1847, 24182, 18, 6998, 12, 1966, 13, 1172, 296, 8932, 358, 2063, 7821, 16, 365, 18, 1612, 18, 4821, 67, 350, 18, 6231, 67, 350, 18, 4071, 67, 718, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1319, 273, 1847, 24182, 18, 2640, 67, 8944, 12, 2890, 18, 1612, 18, 4821, 67, 350, 18, 6231, 67, 350, 18, 4071, 67, 718, 16, 5999, 2218, 3158, 17, 28, 6134, 1982, 273, 1847, 24182, 18, 6998, 12, 1966, 13, 1172, 296, 8932, 358, 2063, 7821, 16, 365, 18, 1612, 18, 4821, 67, 350, 18, 6231, 67, 350, 18, 4071, 67, 718, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
yaml.add_implicit_resolver(u'!emailaddress', EMAIL_PATTERN)
yaml.add_implicit_resolver(EmailAddress.yaml_tag, EMAIL_RE)
def __ne__(self, other): if isinstance(other, EmailAddress): if (other.user != self.user and other.domain != self.domain): return True return False
a8f8aa6fd40d048d0c675438916aaef0f01cac14 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3557/a8f8aa6fd40d048d0c675438916aaef0f01cac14/emailaddress.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4644, 972, 12, 2890, 16, 1308, 4672, 309, 1549, 12, 3011, 16, 8166, 1887, 4672, 309, 261, 3011, 18, 1355, 480, 365, 18, 1355, 471, 1308, 18, 4308, 480, 365, 18, 4308, 4672, 327, 1053, 327, 1083, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4644, 972, 12, 2890, 16, 1308, 4672, 309, 1549, 12, 3011, 16, 8166, 1887, 4672, 309, 261, 3011, 18, 1355, 480, 365, 18, 1355, 471, 1308, 18, 4308, 480, 365, 18, 4308, 4672, 327, 1053, 327, 1083, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if task is None: debug('result handler ignoring extra sentinel') continue
if ready: if task is None: debug('result handler ignoring extra sentinel') continue on_state_change(task) join_exited_workers()
def run(self): get = self.get outqueue = self.outqueue cache = self.cache putlock = self.putlock
409811c9c25cd86bffb6fbec5abbd7fce80b765f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2024/409811c9c25cd86bffb6fbec5abbd7fce80b765f/pool.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 336, 273, 365, 18, 588, 596, 4000, 273, 365, 18, 659, 4000, 1247, 273, 365, 18, 2493, 1378, 739, 273, 365, 18, 458, 739, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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 739, 273, 365, 18, 458, 739, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return self._executeSingleFileCatalogFunction( lfn, 'isLink', catalogs=catalogs ) else: return self._executeFileCatalogFunction( lfn, 'isLink', catalogs=catalogs ) def getCatalogReadLink( self, lfn, singleFile=False, catalogs=[] ):
return self._executeSingleFileCatalogFunction( lfn, 'isLink', catalogs = catalogs ) else: return self._executeFileCatalogFunction( lfn, 'isLink', catalogs = catalogs ) def getCatalogReadLink( self, lfn, singleFile = False, catalogs = [] ):
def getCatalogIsLink( self, lfn, singleFile=False, catalogs=[] ): """ Determine whether the path is registered as a link in the FileCatalog 'lfn' is the paths to check (can be a single path or list of paths) """ if singleFile: return self._executeSingleFileCatalogFunction( lfn, 'isLink', catalogs=catalogs ) else: return self._executeFileCatalogFunction( lfn, 'isLink', catalogs=catalogs )
8cfc8d124489ba672254aee3d1fff4f748757c6c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/8cfc8d124489ba672254aee3d1fff4f748757c6c/ReplicaManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1927, 4392, 2520, 2098, 12, 365, 16, 328, 4293, 16, 2202, 812, 33, 8381, 16, 26455, 33, 8526, 262, 30, 3536, 10229, 2856, 326, 589, 353, 4104, 487, 279, 1692, 316, 326, 1387, 9769, 225, 296, 80, 4293, 11, 353, 326, 2953, 358, 866, 261, 4169, 506, 279, 2202, 589, 578, 666, 434, 2953, 13, 3536, 309, 2202, 812, 30, 327, 365, 6315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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1927, 4392, 2520, 2098, 12, 365, 16, 328, 4293, 16, 2202, 812, 33, 8381, 16, 26455, 33, 8526, 262, 30, 3536, 10229, 2856, 326, 589, 353, 4104, 487, 279, 1692, 316, 326, 1387, 9769, 225, 296, 80, 4293, 11, 353, 326, 2953, 358, 866, 261, 4169, 506, 279, 2202, 589, 578, 666, 434, 2953, 13, 3536, 309, 2202, 812, 30, 327, 365, 6315, 8837, 5281, 812, 9769, 2083, 12, 328, 4293, 16, 296, 291, 2098, 2187, 26455, 33, 2574, 287, 14072, 262, 469, 30, 327, 365, 6315, 8837, 812, 9769, 2083, 12, 328, 4293, 16, 296, 291, 2098, 2187, 26455, 33, 2574, 287, 14072, 262, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
FieldStorage class with an added get function.
FieldStorage class with a get function that provides an empty string as the default value for the 'default' parameter, mimicking the CGI interface.
def end_headers(self): pass
a834c4782e0c1c35cf7f1159a7cfaa86bfd7dde0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/a834c4782e0c1c35cf7f1159a7cfaa86bfd7dde0/ModPythonHandler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 679, 67, 2485, 12, 2890, 4672, 1342, 2, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 679, 67, 2485, 12, 2890, 4672, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
self.body.append('\\hypertarget{%s}{' % node.get('refid'))
self.body.append('\n\\hypertarget{%s}{' % node.get('refid'))
def visit_target(self, node): # BUG: why not (refuri or refid or refname) means not footnote ? if not ('refuri' in node or 'refid' in node or 'refname' in node): self.body += [r'\hypertarget{%s}{' % id for id in node['ids']] self.context.append('}' * len(node['ids'])) elif node.get('refid'): self.body.append('\\hypertarget{%s}{' % node.get('refid')) self.context.append('}') else: self.context.append('')
770acf8a2c64555461b48403404ff537a469fea4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5620/770acf8a2c64555461b48403404ff537a469fea4/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 3299, 12, 2890, 16, 756, 4672, 468, 10937, 43, 30, 11598, 486, 261, 1734, 1650, 578, 1278, 350, 578, 1278, 529, 13, 4696, 486, 14200, 7652, 692, 309, 486, 7707, 1734, 1650, 11, 316, 756, 578, 296, 1734, 350, 11, 316, 756, 578, 296, 1734, 529, 11, 316, 756, 4672, 365, 18, 3432, 1011, 306, 86, 8314, 18112, 672, 826, 95, 9, 87, 8637, 11, 738, 612, 364, 612, 316, 756, 3292, 2232, 3546, 65, 365, 18, 2472, 18, 6923, 2668, 1713, 380, 562, 12, 2159, 3292, 2232, 3546, 3719, 1327, 756, 18, 588, 2668, 1734, 350, 11, 4672, 365, 18, 3432, 18, 6923, 2668, 64, 82, 1695, 18112, 672, 826, 95, 9, 87, 8637, 11, 738, 756, 18, 588, 2668, 1734, 350, 26112, 365, 18, 2472, 18, 6923, 2668, 1713, 13, 469, 30, 365, 18, 2472, 18, 6923, 2668, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 3299, 12, 2890, 16, 756, 4672, 468, 10937, 43, 30, 11598, 486, 261, 1734, 1650, 578, 1278, 350, 578, 1278, 529, 13, 4696, 486, 14200, 7652, 692, 309, 486, 7707, 1734, 1650, 11, 316, 756, 578, 296, 1734, 350, 11, 316, 756, 578, 296, 1734, 529, 11, 316, 756, 4672, 365, 18, 3432, 1011, 306, 86, 8314, 18112, 672, 826, 95, 9, 87, 8637, 11, 738, 612, 364, 612, 316, 756, 3292, 2232, 3546, 65, 365, 18, 2472, 18, 6923, 2668, 1713, 380, 562, 12, 2159, 3292, 2232, 3546, 3719, 1327, 756, 18, 588, 2668, 1734, 350, 11, 4672, 365, 18, 3432, 18, 6923, 2668, 64, 82, 1695, 18112, 672, 826, 95, 9, 87, 8637, 11, 2 ]
rec=(self.timer.isInTimer(eventid=eventId, begin=beginTime, duration=duration, service=self.service) > 0)
rec=(self.timer.isInTimer(eventid=eventId, begin=beginTime, duration=duration, service=self.service) > ((duration/10)*8))
def buildSingleEntry(self, eventId, beginTime, duration, EventName): rec=(self.timer.isInTimer(eventid=eventId, begin=beginTime, duration=duration, service=self.service) > 0) r1=self.datetime_rect r2=self.descr_rect res = [ None ] # no private data needed t = localtime(beginTime) res.append((eListboxPythonMultiContent.TYPE_TEXT, r1.left(), r1.top(), r1.width(), r1.height(), 0, RT_HALIGN_LEFT, "%02d.%02d, %02d:%02d"%(t[2],t[1],t[3],t[4]))) if rec: res.append((eListboxPythonMultiContent.TYPE_PIXMAP_ALPHATEST, r2.left(), r2.top(), 21, 21, loadPNG(resolveFilename(SCOPE_SKIN_IMAGE, 'epgclock-fs8.png')))) res.append((eListboxPythonMultiContent.TYPE_TEXT, r2.left() + 25, r2.top(), r2.width(), r2.height(), 0, RT_HALIGN_LEFT, EventName)) else: res.append((eListboxPythonMultiContent.TYPE_TEXT, r2.left(), r2.top(), r2.width(), r2.height(), 0, RT_HALIGN_LEFT, EventName)) return res
36bc1fa5226f5c1942f68b0afb485441e437be8a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6652/36bc1fa5226f5c1942f68b0afb485441e437be8a/EpgList.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 5281, 1622, 12, 2890, 16, 26004, 16, 2376, 950, 16, 3734, 16, 2587, 461, 4672, 1950, 28657, 2890, 18, 12542, 18, 291, 382, 6777, 12, 2575, 350, 33, 2575, 548, 16, 2376, 33, 10086, 950, 16, 3734, 33, 8760, 16, 1156, 33, 2890, 18, 3278, 13, 405, 14015, 8760, 19, 2163, 17653, 28, 3719, 436, 21, 33, 2890, 18, 6585, 67, 2607, 436, 22, 33, 2890, 18, 28313, 67, 2607, 400, 273, 306, 599, 308, 225, 468, 1158, 3238, 501, 3577, 268, 273, 1191, 957, 12, 10086, 950, 13, 400, 18, 6923, 12443, 73, 682, 2147, 15774, 5002, 1350, 18, 2399, 67, 5151, 16, 436, 21, 18, 4482, 9334, 436, 21, 18, 3669, 9334, 436, 21, 18, 2819, 9334, 436, 21, 18, 4210, 9334, 374, 16, 13060, 67, 44, 26439, 67, 10066, 16, 2213, 3103, 72, 7866, 3103, 72, 16, 738, 3103, 72, 5319, 3103, 72, 6, 17105, 88, 63, 22, 6487, 88, 63, 21, 6487, 88, 63, 23, 6487, 88, 63, 24, 65, 20349, 309, 1950, 30, 400, 18, 6923, 12443, 73, 682, 2147, 15774, 5002, 1350, 18, 2399, 67, 27381, 8352, 67, 19799, 1777, 882, 16, 436, 22, 18, 4482, 9334, 436, 22, 18, 3669, 9334, 9035, 16, 9035, 16, 1262, 23092, 12, 10828, 5359, 12, 19444, 67, 11129, 706, 67, 13603, 16, 296, 881, 13241, 739, 17, 2556, 28, 18, 6446, 26112, 3719, 400, 18, 6923, 12443, 73, 682, 2147, 15774, 5002, 1350, 18, 2399, 67, 5151, 16, 436, 22, 18, 4482, 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, 1361, 5281, 1622, 12, 2890, 16, 26004, 16, 2376, 950, 16, 3734, 16, 2587, 461, 4672, 1950, 28657, 2890, 18, 12542, 18, 291, 382, 6777, 12, 2575, 350, 33, 2575, 548, 16, 2376, 33, 10086, 950, 16, 3734, 33, 8760, 16, 1156, 33, 2890, 18, 3278, 13, 405, 14015, 8760, 19, 2163, 17653, 28, 3719, 436, 21, 33, 2890, 18, 6585, 67, 2607, 436, 22, 33, 2890, 18, 28313, 67, 2607, 400, 273, 306, 599, 308, 225, 468, 1158, 3238, 501, 3577, 268, 273, 1191, 957, 12, 10086, 950, 13, 400, 18, 6923, 12443, 73, 682, 2147, 15774, 5002, 1350, 18, 2399, 67, 5151, 16, 436, 21, 18, 4482, 9334, 436, 21, 18, 3669, 9334, 436, 21, 18, 2 ]
self.valid_values.extend(["embedded/empty","embedded/rm","embedded/unmerge","embedded/runscript","embedded/mergeroot","embedded/packages","embedded/use","embedded/fs-type"])
self.valid_values.extend(["embedded/empty","embedded/rm","embedded/unmerge","embedded/fs-prepare","embedded/fs-finish","embedded/mergeroot","embedded/packages","embedded/use","embedded/fs-type","boot/kernel"])
def __init__(self,spec,addlargs): self.required_values=[] self.valid_values=[] self.valid_values.extend(["embedded/empty","embedded/rm","embedded/unmerge","embedded/runscript","embedded/mergeroot","embedded/packages","embedded/use","embedded/fs-type"])
25fc772748ff920715e7a9f0b96e9cb31d3a33f6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7327/25fc772748ff920715e7a9f0b96e9cb31d3a33f6/embedded_target.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2793, 16, 1289, 80, 1968, 4672, 365, 18, 4718, 67, 2372, 33, 8526, 365, 18, 877, 67, 2372, 33, 8526, 365, 18, 877, 67, 2372, 18, 14313, 3816, 6, 20722, 19, 5531, 15937, 20722, 19, 8864, 15937, 20722, 19, 318, 2702, 15937, 20722, 19, 2681, 4263, 15937, 20722, 19, 6592, 693, 1632, 15937, 20722, 19, 10308, 15937, 20722, 19, 1202, 15937, 20722, 19, 2556, 17, 723, 6, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2793, 16, 1289, 80, 1968, 4672, 365, 18, 4718, 67, 2372, 33, 8526, 365, 18, 877, 67, 2372, 33, 8526, 365, 18, 877, 67, 2372, 18, 14313, 3816, 6, 20722, 19, 5531, 15937, 20722, 19, 8864, 15937, 20722, 19, 318, 2702, 15937, 20722, 19, 2681, 4263, 15937, 20722, 19, 6592, 693, 1632, 15937, 20722, 19, 10308, 15937, 20722, 19, 1202, 15937, 20722, 19, 2556, 17, 723, 6, 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 ]
if not (0 <= i < self.yearlen) or wdaymask[i] == self.rr._wkst:
if (not (0 <= i < self.yearlen) or self.wdaymask[i] == self.rrule._wkst):
def wset(self, year, month, day): set = [None]*self.yearlen i = datetime.date(year, month, day).toordinal()-self.yearordinal start = i for j in range(7): set[i] = i i += 1 if not (0 <= i < self.yearlen) or wdaymask[i] == self.rr._wkst: break return set, start, i
b6d02321017f6062893e0b89e3c8b0dbc1bba103 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8441/b6d02321017f6062893e0b89e3c8b0dbc1bba103/rrule.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 341, 542, 12, 2890, 16, 3286, 16, 3138, 16, 2548, 4672, 444, 273, 306, 7036, 5772, 2890, 18, 6874, 1897, 277, 273, 3314, 18, 712, 12, 6874, 16, 3138, 16, 2548, 2934, 869, 517, 1490, 1435, 17, 2890, 18, 6874, 517, 1490, 787, 273, 277, 364, 525, 316, 1048, 12, 27, 4672, 444, 63, 77, 65, 273, 277, 277, 1011, 404, 309, 261, 902, 261, 20, 1648, 277, 411, 365, 18, 6874, 1897, 13, 578, 365, 18, 91, 2881, 4455, 63, 77, 65, 422, 365, 18, 523, 725, 6315, 17736, 334, 4672, 898, 327, 444, 16, 787, 16, 277, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 341, 542, 12, 2890, 16, 3286, 16, 3138, 16, 2548, 4672, 444, 273, 306, 7036, 5772, 2890, 18, 6874, 1897, 277, 273, 3314, 18, 712, 12, 6874, 16, 3138, 16, 2548, 2934, 869, 517, 1490, 1435, 17, 2890, 18, 6874, 517, 1490, 787, 273, 277, 364, 525, 316, 1048, 12, 27, 4672, 444, 63, 77, 65, 273, 277, 277, 1011, 404, 309, 261, 902, 261, 20, 1648, 277, 411, 365, 18, 6874, 1897, 13, 578, 365, 18, 91, 2881, 4455, 63, 77, 65, 422, 365, 18, 523, 725, 6315, 17736, 334, 4672, 898, 327, 444, 16, 787, 16, 277, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
=special_position_settings.assert_is_positive_definite)
=special_position_settings.assert_is_positive_definite())
def get_special_position_settings(self, special_position_settings=None, crystal_symmetry=None, force_symmetry=False): assert special_position_settings is None or crystal_symmetry is None assert self.crystal_symmetry is not None or crystal_symmetry is not None or special_position_settings is not None if (crystal_symmetry is None): crystal_symmetry = special_position_settings if (self.crystal_symmetry is not None): if (crystal_symmetry is None): crystal_symmetry = self.crystal_symmetry else: crystal_symmetry = self.crystal_symmetry.join_symmetry( other_symmetry=crystal_symmetry, force=force_symmetry) assert crystal_symmetry.unit_cell() is not None assert crystal_symmetry.space_group_info() is not None if (special_position_settings is None): special_position_settings = crystal.special_position_settings( crystal_symmetry=crystal_symmetry) else: special_position_settings = crystal.special_position_settings( crystal_symmetry=crystal_symmetry, min_distance_sym_equiv =special_position_settings.min_distance_sym_equiv, u_star_tolerance =special_position_settings.u_star_tolerance, assert_is_positive_definite =special_position_settings.assert_is_positive_definite) return special_position_settings
c399cbd82107d08f753b4004b07416b016736b86 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/696/c399cbd82107d08f753b4004b07416b016736b86/interpretation.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 9371, 67, 3276, 67, 4272, 12, 2890, 16, 4582, 67, 3276, 67, 4272, 33, 7036, 16, 4422, 31365, 67, 8117, 18042, 33, 7036, 16, 2944, 67, 8117, 18042, 33, 8381, 4672, 1815, 4582, 67, 3276, 67, 4272, 353, 599, 578, 4422, 31365, 67, 8117, 18042, 353, 599, 1815, 365, 18, 3353, 31365, 67, 8117, 18042, 353, 486, 599, 578, 4422, 31365, 67, 8117, 18042, 353, 486, 599, 578, 4582, 67, 3276, 67, 4272, 353, 486, 599, 309, 261, 3353, 31365, 67, 8117, 18042, 353, 599, 4672, 4422, 31365, 67, 8117, 18042, 273, 4582, 67, 3276, 67, 4272, 309, 261, 2890, 18, 3353, 31365, 67, 8117, 18042, 353, 486, 599, 4672, 309, 261, 3353, 31365, 67, 8117, 18042, 353, 599, 4672, 4422, 31365, 67, 8117, 18042, 273, 365, 18, 3353, 31365, 67, 8117, 18042, 469, 30, 4422, 31365, 67, 8117, 18042, 273, 365, 18, 3353, 31365, 67, 8117, 18042, 18, 5701, 67, 8117, 18042, 12, 1308, 67, 8117, 18042, 33, 3353, 31365, 67, 8117, 18042, 16, 2944, 33, 5734, 67, 8117, 18042, 13, 1815, 4422, 31365, 67, 8117, 18042, 18, 4873, 67, 3855, 1435, 353, 486, 599, 1815, 4422, 31365, 67, 8117, 18042, 18, 2981, 67, 1655, 67, 1376, 1435, 353, 486, 599, 309, 261, 9371, 67, 3276, 67, 4272, 353, 599, 4672, 4582, 67, 3276, 67, 4272, 273, 4422, 31365, 18, 9371, 67, 3276, 67, 4272, 12, 4422, 31365, 67, 8117, 18042, 33, 3353, 31365, 67, 8117, 18042, 13, 469, 30, 4582, 67, 3276, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 9371, 67, 3276, 67, 4272, 12, 2890, 16, 4582, 67, 3276, 67, 4272, 33, 7036, 16, 4422, 31365, 67, 8117, 18042, 33, 7036, 16, 2944, 67, 8117, 18042, 33, 8381, 4672, 1815, 4582, 67, 3276, 67, 4272, 353, 599, 578, 4422, 31365, 67, 8117, 18042, 353, 599, 1815, 365, 18, 3353, 31365, 67, 8117, 18042, 353, 486, 599, 578, 4422, 31365, 67, 8117, 18042, 353, 486, 599, 578, 4582, 67, 3276, 67, 4272, 353, 486, 599, 309, 261, 3353, 31365, 67, 8117, 18042, 353, 599, 4672, 4422, 31365, 67, 8117, 18042, 273, 4582, 67, 3276, 67, 4272, 309, 261, 2890, 18, 3353, 31365, 67, 8117, 18042, 353, 486, 599, 4672, 309, 261, 3353, 31365, 67, 8117, 2 ]
s = ''
s = []
def _safe_read(self, amt): """Read the number of bytes requested, compensating for partial reads.
80ba8e85490515c293959a4196cbd99b1b3819a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/80ba8e85490515c293959a4196cbd99b1b3819a2/httplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4626, 67, 896, 12, 2890, 16, 25123, 4672, 3536, 1994, 326, 1300, 434, 1731, 3764, 16, 1161, 773, 1776, 364, 4702, 6838, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4626, 67, 896, 12, 2890, 16, 25123, 4672, 3536, 1994, 326, 1300, 434, 1731, 3764, 16, 1161, 773, 1776, 364, 4702, 6838, 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 ]
self.tooltips.set_tip(minimize, _("If enabled, closing Sonata will minimize it to the system tray. Note that it's currently impossible to detect if there actually is a system tray, so only check this if you have one."))
minimize.set_tooltip_text(_("If enabled, closing Sonata will minimize it to the system tray. Note that it's currently impossible to detect if there actually is a system tray, so only check this if you have one."))
def on_prefs(self, widget): prefswindow = ui.dialog(title=_("Preferences"), parent=self.window, flags=gtk.DIALOG_DESTROY_WITH_PARENT, role='preferences', resizable=False, separator=False) hbox = gtk.HBox() prefsnotebook = gtk.Notebook() # MPD tab mpdlabel = ui.label(markup='<b>' + _('MPD Connection') + '</b>', y=1) controlbox = gtk.HBox() profiles = ui.combo() add_profile = ui.button(img=ui.image(stock=gtk.STOCK_ADD)) remove_profile = ui.button(img=ui.image(stock=gtk.STOCK_REMOVE)) self.prefs_populate_profile_combo(profiles, self.profile_num, remove_profile) controlbox.pack_start(profiles, False, False, 2) controlbox.pack_start(remove_profile, False, False, 2) controlbox.pack_start(add_profile, False, False, 2) namebox = gtk.HBox() namelabel = ui.label(text=_("Name") + ":") namebox.pack_start(namelabel, False, False, 0) nameentry = ui.entry() namebox.pack_start(nameentry, True, True, 10) hostbox = gtk.HBox() hostlabel = ui.label(text=_("Host") + ":") hostbox.pack_start(hostlabel, False, False, 0) hostentry = ui.entry() hostbox.pack_start(hostentry, True, True, 10) portbox = gtk.HBox() portlabel = ui.label(text=_("Port") + ":") portbox.pack_start(portlabel, False, False, 0) portentry = ui.entry() portbox.pack_start(portentry, True, True, 10) dirbox = gtk.HBox() dirlabel = ui.label(text=_("Music dir") + ":") dirbox.pack_start(dirlabel, False, False, 0) direntry = ui.entry() direntry.connect('changed', self.prefs_direntry_changed, profiles) dirbox.pack_start(direntry, True, True, 10) passwordbox = gtk.HBox() passwordlabel = ui.label(text=_("Password") + ":") passwordbox.pack_start(passwordlabel, False, False, 0) passwordentry = ui.entry(password=True) self.tooltips.set_tip(passwordentry, _("Leave blank if no password is required.")) passwordbox.pack_start(passwordentry, True, True, 10) mpd_labels = [namelabel, hostlabel, portlabel, passwordlabel, dirlabel] ui.set_widths_equal(mpd_labels) autoconnect = gtk.CheckButton(_("Autoconnect on start")) autoconnect.set_active(self.autoconnect) # Fill in entries with current profile: self.prefs_profile_chosen(profiles, nameentry, hostentry, portentry, passwordentry, direntry) # Update display if $MPD_HOST or $MPD_PORT is set: host, port, password = self.mpd_env_vars() if host or port: using_mpd_env_vars = True if not host: host = "" if not port: port = "" if not password: password = "" hostentry.set_text(str(host)) portentry.set_text(str(port)) passwordentry.set_text(str(password)) nameentry.set_text(_("Using MPD_HOST/PORT")) for widget in [hostentry, portentry, passwordentry, nameentry, profiles, add_profile, remove_profile]: widget.set_sensitive(False) else: using_mpd_env_vars = False for widget in [hostentry, portentry, passwordentry, nameentry, profiles, add_profile, remove_profile]: widget.set_sensitive(True) nameentry.connect('changed', self.prefs_nameentry_changed, profiles, remove_profile) hostentry.connect('changed', self.prefs_hostentry_changed, profiles) portentry.connect('changed', self.prefs_portentry_changed, profiles) passwordentry.connect('changed', self.prefs_passwordentry_changed, profiles) profiles.connect('changed', self.prefs_profile_chosen, nameentry, hostentry, portentry, passwordentry, direntry) add_profile.connect('clicked', self.prefs_add_profile, nameentry, profiles, remove_profile) remove_profile.connect('clicked', self.prefs_remove_profile, profiles, remove_profile) mpd_frame = gtk.Frame() table = gtk.Table(6, 2, False) table.set_col_spacings(3) table.attach(ui.label(), 1, 3, 1, 2, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 10, 0) table.attach(namebox, 1, 3, 2, 3, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 10, 0) table.attach(hostbox, 1, 3, 3, 4, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 10, 0) table.attach(portbox, 1, 3, 4, 5, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 10, 0) table.attach(passwordbox, 1, 3, 5, 6, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 10, 0) table.attach(dirbox, 1, 3, 6, 7, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 10, 0) table.attach(ui.label(), 1, 3, 7, 8, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 10, 0) mpd_frame.add(table) mpd_frame.set_label_widget(controlbox) mpd_table = gtk.Table(9, 2, False) mpd_table.set_col_spacings(3) mpd_table.attach(ui.label(), 1, 3, 1, 2, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 10, 0) mpd_table.attach(mpdlabel, 1, 3, 2, 3, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 15, 0) mpd_table.attach(ui.label(), 1, 3, 3, 4, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 10, 0) mpd_table.attach(mpd_frame, 1, 3, 4, 10, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) mpd_table.attach(ui.label(), 1, 3, 10, 11, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) mpd_table.attach(autoconnect, 1, 3, 11, 12, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) mpd_table.attach(ui.label(), 1, 3, 12, 13, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) mpd_table.attach(ui.label(), 1, 3, 13, 14, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) mpd_table.attach(ui.label(), 1, 3, 14, 15, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) # Extras tab if not audioscrobbler is not None: self.as_enabled = False as_label = ui.label(markup='<b>' + _('Extras') + '</b>') as_frame = gtk.Frame() as_frame.set_label_widget(as_label) as_frame.set_shadow_type(gtk.SHADOW_NONE) as_frame.set_border_width(15) as_vbox = gtk.VBox() as_vbox.set_border_width(15) as_checkbox = gtk.CheckButton(_("Enable Audioscrobbler")) as_checkbox.set_active(self.as_enabled) as_vbox.pack_start(as_checkbox, False) as_table = gtk.Table(2, 2) as_table.set_col_spacings(3) as_user_label = ui.label(text=" " + _("Username:")) as_pass_label = ui.label(text=" " + _("Password:")) as_user_entry = ui.entry(text=self.as_username, changed_cb=self.prefs_as_username_changed) if len(self.as_password_md5) > 0: as_pass_entry = ui.entry(text='1234', password=True, changed_cb=self.prefs_as_password_changed) else: as_pass_entry = ui.entry(text='', password=True, changed_cb=self.prefs_as_password_changed) displaylabel2 = ui.label(markup='<b>' + _('Notification') + '</b>', y=1) display_notification = gtk.CheckButton(_("Popup notification on song changes")) display_notification.set_active(self.show_notification) notifhbox = gtk.HBox() notif_blank = ui.label(x=1) notifhbox.pack_start(notif_blank) list = [] for i in self.popuptimes: if i != _('Entire song'): list.append(i + ' ' + gettext.ngettext('second', 'seconds', int(i))) else: list.append(i) notification_options = ui.combo(list=list, active=self.popup_option, changed_cb=self.prefs_notiftime_changed) notification_locs = ui.combo(list=self.popuplocations, active=self.traytips.notifications_location, changed_cb=self.prefs_notiflocation_changed) display_notification.connect('toggled', self.prefs_notif_toggled, notifhbox) notifhbox.pack_start(notification_options, False, False, 2) notifhbox.pack_start(notification_locs, False, False, 2) if not self.show_notification: notifhbox.set_sensitive(False) crossfadecheck = gtk.CheckButton(_("Enable Crossfade")) crossfadespin = gtk.SpinButton() crossfadespin.set_digits(0) crossfadespin.set_range(1, 30) crossfadespin.set_value(self.xfade) crossfadespin.set_numeric(True) crossfadespin.set_increments(1,5) crossfadespin.set_size_request(70,-1) crossfadelabel2 = ui.label(text=_("Fade length") + ":", x=1) crossfadelabel3 = ui.label(text=_("sec")) if not self.xfade_enabled: crossfadespin.set_sensitive(False) crossfadelabel2.set_sensitive(False) crossfadelabel3.set_sensitive(False) crossfadecheck.set_active(False) else: crossfadespin.set_sensitive(True) crossfadelabel2.set_sensitive(True) crossfadelabel3.set_sensitive(True) crossfadecheck.set_active(True) crossfadebox = gtk.HBox() crossfadebox.pack_start(crossfadelabel2) crossfadebox.pack_start(crossfadespin, False, False, 5) crossfadebox.pack_start(crossfadelabel3, False, False, 0) crossfadecheck.connect('toggled', self.prefs_crossfadecheck_toggled, crossfadespin, crossfadelabel2, crossfadelabel3) as_table.attach(as_user_label, 0, 1, 0, 1) as_table.attach(as_user_entry, 1, 2, 0, 1) as_table.attach(as_pass_label, 0, 1, 1, 2) as_table.attach(as_pass_entry, 1, 2, 1, 2) as_table.attach(ui.label(), 0, 2, 2, 3) as_table.attach(display_notification, 0, 2, 3, 4) as_table.attach(notifhbox, 0, 2, 4, 5) as_table.attach(ui.label(), 0, 2, 5, 6) as_table.attach(crossfadecheck, 0, 2, 6, 7) as_table.attach(crossfadebox, 0, 2, 7, 8) as_table.attach(ui.label(), 0, 2, 8, 9) as_vbox.pack_start(as_table, False) as_frame.add(as_vbox) as_checkbox.connect('toggled', self.prefs_as_enabled_toggled, as_user_entry, as_pass_entry, as_user_label, as_pass_label) if not self.as_enabled or audioscrobbler is None: as_user_entry.set_sensitive(False) as_pass_entry.set_sensitive(False) as_user_label.set_sensitive(False) as_pass_label.set_sensitive(False) # Display tab table2 = gtk.Table(7, 2, False) displaylabel = ui.label(markup='<b>' + _('Display') + '</b>', y=1) display_art_hbox = gtk.HBox() display_art = gtk.CheckButton(_("Enable album art")) display_art.set_active(self.show_covers) display_stylized_combo = ui.combo(list=[_("Standard"), _("Stylized")], active=self.covers_type, changed_cb=self.prefs_stylized_toggled) display_stylized_hbox = gtk.HBox() display_stylized_hbox.pack_start(ui.label(text=_("Artwork style:"), x=1)) display_stylized_hbox.pack_start(display_stylized_combo, False, False, 5) display_stylized_hbox.set_sensitive(self.show_covers) display_art_combo = ui.combo(list=[_("Local only"), _("Local, then remote")], active=self.covers_pref) orderart_label = ui.label(text=_("Search order:"), x=1) display_art_hbox.pack_start(orderart_label) display_art_hbox.pack_start(display_art_combo, False, False, 5) display_art_hbox.set_sensitive(self.show_covers) display_art_location_hbox = gtk.HBox() display_art_location_hbox.pack_start(ui.label(text=_("Save art to:"), x=1)) list = ["~/.covers/"] for item in ["/cover.jpg", "/album.jpg", "/folder.jpg", "/" + _("custom")]: list.append("../" + _("file_path") + item) display_art_location = ui.combo(list=list, active=self.art_location, changed_cb=self.prefs_art_location_changed) display_art_location_hbox.pack_start(display_art_location, False, False, 5) display_art_location_hbox.set_sensitive(self.show_covers) display_art.connect('toggled', self.prefs_art_toggled, display_art_hbox, display_art_location_hbox, display_stylized_hbox) display_playback = gtk.CheckButton(_("Enable playback/volume buttons")) display_playback.set_active(self.show_playback) display_playback.connect('toggled', self.prefs_playback_toggled) display_progress = gtk.CheckButton(_("Enable progressbar")) display_progress.set_active(self.show_progress) display_progress.connect('toggled', self.prefs_progress_toggled) display_statusbar = gtk.CheckButton(_("Enable statusbar")) display_statusbar.set_active(self.show_statusbar) display_statusbar.connect('toggled', self.prefs_statusbar_toggled) display_lyrics = gtk.CheckButton(_("Enable lyrics")) display_lyrics.set_active(self.show_lyrics) display_lyrics_location_hbox = gtk.HBox() savelyrics_label = ui.label(text=_("Save lyrics to:"), x=1) display_lyrics_location_hbox.pack_start(savelyrics_label) display_lyrics_location = ui.combo(list=["~/.lyrics/", "../" + _("file_path") + "/"], active=self.lyrics_location, changed_cb=self.prefs_lyrics_location_changed) display_lyrics_location_hbox.pack_start(display_lyrics_location, False, False, 5) display_lyrics_location_hbox.set_sensitive(self.show_lyrics) display_lyrics.connect('toggled', self.prefs_lyrics_toggled, display_lyrics_location_hbox) display_trayicon = gtk.CheckButton(_("Enable system tray icon")) display_trayicon.set_active(self.show_trayicon) if not HAVE_EGG and not HAVE_STATUS_ICON: display_trayicon.set_sensitive(False) table2.attach(ui.label(), 1, 3, 1, 2, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 15, 0) table2.attach(displaylabel, 1, 3, 2, 3, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 15, 0) table2.attach(ui.label(), 1, 3, 3, 4, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 15, 0) table2.attach(display_playback, 1, 3, 4, 5, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table2.attach(display_progress, 1, 3, 5, 6, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table2.attach(display_statusbar, 1, 3, 6, 7, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table2.attach(display_trayicon, 1, 3, 7, 8, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table2.attach(display_lyrics, 1, 3, 8, 9, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table2.attach(display_lyrics_location_hbox, 1, 3, 9, 10, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table2.attach(display_art, 1, 3, 10, 11, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table2.attach(display_stylized_hbox, 1, 3, 11, 12, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table2.attach(display_art_hbox, 1, 3, 12, 13, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table2.attach(display_art_location_hbox, 1, 3, 13, 14, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table2.attach(ui.label(), 1, 3, 14, 15, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 75, 0) # Behavior tab table3 = gtk.Table() behaviorlabel = ui.label(markup='<b>' + _('Window Behavior') + '</b>', y=1) win_sticky = gtk.CheckButton(_("Show window on all workspaces")) win_sticky.set_active(self.sticky) win_ontop = gtk.CheckButton(_("Keep window above other windows")) win_ontop.set_active(self.ontop) update_start = gtk.CheckButton(_("Update MPD library on start")) update_start.set_active(self.update_on_start) self.tooltips.set_tip(update_start, _("If enabled, Sonata will automatically update your MPD library when it starts up.")) exit_stop = gtk.CheckButton(_("Stop playback on exit")) exit_stop.set_active(self.stop_on_exit) self.tooltips.set_tip(exit_stop, _("MPD allows playback even when the client is not open. If enabled, Sonata will behave like a more conventional music player and, instead, stop playback upon exit.")) minimize = gtk.CheckButton(_("Minimize to system tray on close/escape")) minimize.set_active(self.minimize_to_systray) self.tooltips.set_tip(minimize, _("If enabled, closing Sonata will minimize it to the system tray. Note that it's currently impossible to detect if there actually is a system tray, so only check this if you have one.")) display_trayicon.connect('toggled', self.prefs_trayicon_toggled, minimize) if HAVE_STATUS_ICON and self.statusicon.is_embedded() and self.statusicon.get_visible(): minimize.set_sensitive(True) elif HAVE_EGG and self.trayicon.get_property('visible') == True: minimize.set_sensitive(True) else: minimize.set_sensitive(False) infofilebox = gtk.HBox() infofile_usage = gtk.CheckButton(_("Write status file:")) infofile_usage.set_active(self.use_infofile) self.tooltips.set_tip(infofile_usage, _("If enabled, Sonata will create a xmms-infopipe like file containing information about the current song. Many applications support the xmms-info file (Instant Messengers, IRC Clients...)")) infopath_options = ui.entry(text=self.infofile_path) self.tooltips.set_tip(infopath_options, _("If enabled, Sonata will create a xmms-infopipe like file containing information about the current song. Many applications support the xmms-info file (Instant Messengers, IRC Clients...)")) if not self.use_infofile: infopath_options.set_sensitive(False) infofile_usage.connect('toggled', self.prefs_infofile_toggled, infopath_options) infofilebox.pack_start(infofile_usage, False, False, 0) infofilebox.pack_start(infopath_options, True, True, 5) behaviorlabel2 = ui.label(markup='<b>' + _('Miscellaneous') + '</b>', y=1) table3.attach(ui.label(), 1, 3, 1, 2, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 15, 0) table3.attach(behaviorlabel, 1, 3, 2, 3, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 15, 0) table3.attach(ui.label(), 1, 3, 3, 4, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 15, 0) table3.attach(win_sticky, 1, 3, 4, 5, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table3.attach(win_ontop, 1, 3, 5, 6, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table3.attach(minimize, 1, 3, 6, 7, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table3.attach(ui.label(), 1, 3, 7, 8, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 15, 0) table3.attach(behaviorlabel2, 1, 3, 8, 9, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 15, 0) table3.attach(ui.label(), 1, 3, 9, 10, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 15, 0) table3.attach(update_start, 1, 3, 10, 11, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table3.attach(exit_stop, 1, 3, 11, 12, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table3.attach(infofilebox, 1, 3, 12, 13, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table3.attach(ui.label(), 1, 3, 13, 14, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table3.attach(ui.label(), 1, 3, 14, 15, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table3.attach(ui.label(), 1, 3, 15, 16, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table3.attach(ui.label(), 1, 3, 16, 17, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table3.attach(ui.label(), 1, 3, 17, 18, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table3.attach(ui.label(), 1, 3, 18, 19, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) # Format tab table4 = gtk.Table(9, 2, False) table4.set_col_spacings(3) formatlabel = ui.label(markup='<b>' + _('Song Formatting') + '</b>', y=1) currentformatbox = gtk.HBox() currentlabel = ui.label(text=_("Current playlist:")) currentoptions = ui.entry(text=self.currentformat) currentformatbox.pack_start(currentlabel, False, False, 0) currentformatbox.pack_start(currentoptions, False, False, 10) libraryformatbox = gtk.HBox() librarylabel = ui.label(text=_("Library:")) libraryoptions = ui.entry(text=self.libraryformat) libraryformatbox.pack_start(librarylabel, False, False, 0) libraryformatbox.pack_start(libraryoptions, False, False, 10) titleformatbox = gtk.HBox() titlelabel = ui.label(text=_("Window title:")) titleoptions = ui.entry(text=self.titleformat) titleoptions.set_text(self.titleformat) titleformatbox.pack_start(titlelabel, False, False, 0) titleformatbox.pack_start(titleoptions, False, False, 10) currsongformatbox1 = gtk.HBox() currsonglabel1 = ui.label(text=_("Current song line 1:")) currsongoptions1 = ui.entry(text=self.currsongformat1) currsongformatbox1.pack_start(currsonglabel1, False, False, 0) currsongformatbox1.pack_start(currsongoptions1, False, False, 10) currsongformatbox2 = gtk.HBox() currsonglabel2 = ui.label(text=_("Current song line 2:")) currsongoptions2 = ui.entry(text=self.currsongformat2) currsongformatbox2.pack_start(currsonglabel2, False, False, 0) currsongformatbox2.pack_start(currsongoptions2, False, False, 10) formatlabels = [currentlabel, librarylabel, titlelabel, currsonglabel1, currsonglabel2] for label in formatlabels: label.set_alignment(0, 0.5) ui.set_widths_equal(formatlabels) availableheading = ui.label(markup='<small>' + _('Available options') + ':</small>', y=0) availablevbox = gtk.VBox() availableformatbox = gtk.HBox() availableformatting = ui.label(markup='<small><span font_family="Monospace">%A</span> - ' + _('Artist name') + '\n<span font_family="Monospace">%B</span> - ' + _('Album name') + '\n<span font_family="Monospace">%T</span> - ' + _('Track name') + '\n<span font_family="Monospace">%N</span> - ' + _('Track number') + '\n<span font_family="Monospace">%D</span> - ' + _('Disc Number') + '\n<span font_family="Monospace">%Y</span> - ' + _('Year') + '</small>', y=0) availableformatting2 = ui.label(markup='<small><span font_family="Monospace">%G</span> - ' + _('Genre') + '\n<span font_family="Monospace">%F</span> - ' + _('File name') + '\n<span font_family="Monospace">%S</span> - ' + _('Stream name') + '\n<span font_family="Monospace">%L</span> - ' + _('Song length') + '\n<span font_family="Monospace">%E</span> - ' + _('Elapsed time (title only)') + '</small>', y=0) availableformatbox.pack_start(availableformatting) availableformatbox.pack_start(availableformatting2) availablevbox.pack_start(availableformatbox, False, False, 0) additionalinfo = ui.label(markup='<small>{ } - ' + _('Info displayed only if all enclosed tags are defined') + '\n' + '| - ' + _('Creates columns in the current playlist') + '</small>', y=0) availablevbox.pack_start(additionalinfo, False, False, 4) table4.attach(ui.label(), 1, 3, 1, 2, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 15, 0) table4.attach(formatlabel, 1, 3, 2, 3, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 15, 0) table4.attach(ui.label(), 1, 3, 3, 4, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 15, 0) table4.attach(currentformatbox, 1, 3, 4, 5, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table4.attach(libraryformatbox, 1, 3, 5, 6, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table4.attach(titleformatbox, 1, 3, 6, 7, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table4.attach(currsongformatbox1, 1, 3, 7, 8, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table4.attach(currsongformatbox2, 1, 3, 8, 9, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table4.attach(ui.label(), 1, 3, 9, 10, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table4.attach(availableheading, 1, 3, 10, 11, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table4.attach(availablevbox, 1, 3, 11, 12, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 45, 0) table4.attach(ui.label(), 1, 3, 12, 13, gtk.FILL|gtk.EXPAND, gtk.FILL|gtk.EXPAND, 30, 0) table_names = [[_("_MPD"), mpd_table], [_("_Display"), table2], [_("_Behavior"), table3], [_("_Format"), table4], [_("_Extras"), as_frame]] for table_name in table_names: tmplabel = ui.label(textmn=table_name[0]) prefsnotebook.append_page(table_name[1], tmplabel) hbox.pack_start(prefsnotebook, False, False, 10) prefswindow.vbox.pack_start(hbox, False, False, 10) close_button = prefswindow.add_button(gtk.STOCK_CLOSE, gtk.RESPONSE_CLOSE) prefswindow.show_all() close_button.grab_focus() prefswindow.connect('response', self.prefs_window_response, prefsnotebook, exit_stop, win_ontop, display_art_combo, win_sticky, direntry, minimize, update_start, autoconnect, currentoptions, libraryoptions, titleoptions, currsongoptions1, currsongoptions2, crossfadecheck, crossfadespin, infopath_options, hostentry, portentry, passwordentry, using_mpd_env_vars) # Save previous connection properties to determine if we should try to # connect to MPD after prefs are closed: self.prev_host = self.host[self.profile_num] self.prev_port = self.port[self.profile_num] self.prev_password = self.password[self.profile_num] response = prefswindow.show()
5178d7eb73657d7ee78706340fbf0fc5d779c7ee /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2312/5178d7eb73657d7ee78706340fbf0fc5d779c7ee/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 1484, 2556, 12, 2890, 16, 3604, 4672, 15503, 5668, 273, 5915, 18, 12730, 12, 2649, 33, 67, 2932, 12377, 6, 3631, 982, 33, 2890, 18, 5668, 16, 2943, 33, 4521, 79, 18, 2565, 18683, 67, 1639, 25870, 61, 67, 9147, 67, 14943, 16, 2478, 2218, 23219, 2187, 400, 6934, 33, 8381, 16, 4182, 33, 8381, 13, 366, 2147, 273, 22718, 18, 44, 3514, 1435, 15503, 24422, 273, 22718, 18, 19751, 1435, 468, 13480, 40, 3246, 6749, 72, 1925, 273, 5915, 18, 1925, 12, 15056, 2218, 32, 70, 1870, 397, 389, 2668, 4566, 40, 4050, 6134, 397, 4357, 70, 1870, 16, 677, 33, 21, 13, 3325, 2147, 273, 22718, 18, 44, 3514, 1435, 11788, 273, 5915, 18, 25053, 1435, 527, 67, 5040, 273, 5915, 18, 5391, 12, 6081, 33, 4881, 18, 2730, 12, 15381, 33, 4521, 79, 18, 31487, 3507, 67, 8355, 3719, 1206, 67, 5040, 273, 5915, 18, 5391, 12, 6081, 33, 4881, 18, 2730, 12, 15381, 33, 4521, 79, 18, 31487, 3507, 67, 22122, 3719, 365, 18, 1484, 2556, 67, 19936, 67, 5040, 67, 25053, 12, 18314, 16, 365, 18, 5040, 67, 2107, 16, 1206, 67, 5040, 13, 3325, 2147, 18, 2920, 67, 1937, 12, 18314, 16, 1083, 16, 1083, 16, 576, 13, 3325, 2147, 18, 2920, 67, 1937, 12, 4479, 67, 5040, 16, 1083, 16, 1083, 16, 576, 13, 3325, 2147, 18, 2920, 67, 1937, 12, 1289, 67, 5040, 16, 1083, 16, 1083, 16, 576, 13, 508, 2147, 273, 22718, 18, 44, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 1484, 2556, 12, 2890, 16, 3604, 4672, 15503, 5668, 273, 5915, 18, 12730, 12, 2649, 33, 67, 2932, 12377, 6, 3631, 982, 33, 2890, 18, 5668, 16, 2943, 33, 4521, 79, 18, 2565, 18683, 67, 1639, 25870, 61, 67, 9147, 67, 14943, 16, 2478, 2218, 23219, 2187, 400, 6934, 33, 8381, 16, 4182, 33, 8381, 13, 366, 2147, 273, 22718, 18, 44, 3514, 1435, 15503, 24422, 273, 22718, 18, 19751, 1435, 468, 13480, 40, 3246, 6749, 72, 1925, 273, 5915, 18, 1925, 12, 15056, 2218, 32, 70, 1870, 397, 389, 2668, 4566, 40, 4050, 6134, 397, 4357, 70, 1870, 16, 677, 33, 21, 13, 3325, 2147, 273, 22718, 18, 44, 3514, 1435, 11788, 273, 5915, 18, 2 ]
params.append(positon)
params.append(position)
def get_col_pbx(colID=-1, ln='', position = ''): """Returns either all portalboxes associated with a collection, or based on either colID or language or both. colID - collection id ln - language id""" sql = "SELECT id_portalbox, id_collection, ln, score, position, title, body FROM collection_portalbox, portalbox WHERE id_portalbox = portalbox.id" params = [] try: if colID > -1: sql += " AND id_collection=%s" params.append(colID) if ln: sql += " AND ln=%s" params.append(ln) if position: sql += " AND position=%s" params.append(positon) sql += " ORDER BY position, ln, score desc" res = run_sql(sql, tuple(params)) return res except StandardError, e: return ""
03cf020f955d18ec92c945843c45bb029934bacb /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2139/03cf020f955d18ec92c945843c45bb029934bacb/websearchadminlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1293, 67, 5733, 92, 12, 1293, 734, 29711, 21, 16, 7211, 2218, 2187, 1754, 273, 875, 4672, 3536, 1356, 3344, 777, 11899, 15918, 3627, 598, 279, 1849, 16, 578, 2511, 603, 3344, 645, 734, 578, 2653, 578, 3937, 18, 645, 734, 300, 1849, 612, 7211, 300, 2653, 612, 8395, 225, 1847, 273, 315, 4803, 612, 67, 24386, 2147, 16, 612, 67, 5548, 16, 7211, 16, 4462, 16, 1754, 16, 2077, 16, 1417, 4571, 1849, 67, 24386, 2147, 16, 11899, 2147, 4852, 612, 67, 24386, 2147, 273, 11899, 2147, 18, 350, 6, 225, 859, 273, 5378, 775, 30, 309, 645, 734, 405, 300, 21, 30, 1847, 1011, 315, 4116, 612, 67, 5548, 5095, 87, 6, 859, 18, 6923, 12, 1293, 734, 13, 309, 7211, 30, 1847, 1011, 315, 4116, 7211, 5095, 87, 6, 859, 18, 6923, 12, 2370, 13, 309, 1754, 30, 1847, 1011, 315, 4116, 1754, 5095, 87, 6, 859, 18, 6923, 12, 3276, 13, 1847, 1011, 315, 10205, 6953, 1754, 16, 7211, 16, 4462, 3044, 6, 400, 273, 1086, 67, 4669, 12, 4669, 16, 3193, 12, 2010, 3719, 327, 400, 1335, 31160, 16, 425, 30, 327, 1408, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 1293, 67, 5733, 92, 12, 1293, 734, 29711, 21, 16, 7211, 2218, 2187, 1754, 273, 875, 4672, 3536, 1356, 3344, 777, 11899, 15918, 3627, 598, 279, 1849, 16, 578, 2511, 603, 3344, 645, 734, 578, 2653, 578, 3937, 18, 645, 734, 300, 1849, 612, 7211, 300, 2653, 612, 8395, 225, 1847, 273, 315, 4803, 612, 67, 24386, 2147, 16, 612, 67, 5548, 16, 7211, 16, 4462, 16, 1754, 16, 2077, 16, 1417, 4571, 1849, 67, 24386, 2147, 16, 11899, 2147, 4852, 612, 67, 24386, 2147, 273, 11899, 2147, 18, 350, 6, 225, 859, 273, 5378, 775, 30, 309, 645, 734, 405, 300, 21, 30, 1847, 1011, 315, 4116, 612, 67, 5548, 5095, 87, 6, 859, 18, 2 ]
gLogger.error(errStr,res['Message'])
gLogger.error( errStr, res['Message'] )
def removeReplica(self,storageElementName,lfn): """ Remove replica at the supplied Storage Element from Storage Element then file catalogue 'storageElementName' is the storage where the file is to be removed 'lfn' is the file to be removed """ if type(lfn) == types.ListType: lfns = lfn elif type(lfn) == types.StringType: lfns = [lfn] else: errStr = "ReplicaManager.removeReplica: Supplied lfns must be string or list of strings." gLogger.error(errStr) return S_ERROR(errStr) gLogger.verbose("ReplicaManager.removeReplica: Attempting to remove catalogue entry for %s lfns at %s." % (len(lfns),storageElementName)) res = self.fileCatalogue.getReplicas(lfns,True) if not res['OK']: errStr = "ReplicaManager.removeReplica: Completely failed to get replicas for lfns." gLogger.error(errStr,res['Message']) return res failed = res['Value']['Failed'] successful = {} replicaTuples = [] for lfn,repDict in res['Value']['Successful'].items(): if not repDict.has_key(storageElementName): # The file doesn't exist at the storage element so don't have to remove it successful[lfn] = True elif len(repDict.keys()) == 1: # The file has only a single replica so don't remove gLogger.error("The replica you are trying to remove is the only one.","%s @ %s" % (lfn,storageElementName)) failed[lfn] = "Failed to remove sole replica" else: sePfn = repDict[storageElementName] replicaTuple = (lfn,sePfn) replicaTuples.append(replicaTuple) res = self.__removeReplica(storageElementName,replicaTuples) if not res['OK']: return res failed.update(res['Value']['Failed']) successful.update(res['Value']['Successful']) resDict = {'Successful':successful,'Failed':failed} gDataStoreClient.commit() return S_OK(resDict)
9fabceb719d19d46d8b75011d2932552dbe360f9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/9fabceb719d19d46d8b75011d2932552dbe360f9/ReplicaManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 14222, 12, 2890, 16, 5697, 30584, 16, 80, 4293, 4672, 3536, 3581, 12335, 622, 326, 4580, 5235, 3010, 628, 5235, 3010, 1508, 585, 20833, 225, 296, 5697, 30584, 11, 353, 326, 2502, 1625, 326, 585, 353, 358, 506, 3723, 296, 80, 4293, 11, 353, 326, 585, 358, 506, 3723, 3536, 309, 618, 12, 80, 4293, 13, 422, 1953, 18, 19366, 30, 18594, 2387, 273, 328, 4293, 1327, 618, 12, 80, 4293, 13, 422, 1953, 18, 780, 559, 30, 18594, 2387, 273, 306, 80, 4293, 65, 469, 30, 393, 1585, 273, 315, 14222, 1318, 18, 4479, 14222, 30, 3425, 3110, 18594, 2387, 1297, 506, 533, 578, 666, 434, 2064, 1199, 314, 3328, 18, 1636, 12, 370, 1585, 13, 327, 348, 67, 3589, 12, 370, 1585, 13, 314, 3328, 18, 11369, 2932, 14222, 1318, 18, 4479, 14222, 30, 12864, 310, 358, 1206, 20833, 1241, 364, 738, 87, 18594, 2387, 622, 738, 87, 1199, 738, 261, 1897, 12, 20850, 2387, 3631, 5697, 30584, 3719, 400, 273, 365, 18, 768, 9769, 344, 18, 588, 17248, 12, 20850, 2387, 16, 5510, 13, 309, 486, 400, 3292, 3141, 3546, 30, 393, 1585, 273, 315, 14222, 1318, 18, 4479, 14222, 30, 8359, 2357, 2535, 358, 336, 21545, 364, 18594, 2387, 1199, 314, 3328, 18, 1636, 12, 393, 1585, 16, 400, 3292, 1079, 3546, 262, 327, 400, 2535, 273, 400, 3292, 620, 21712, 2925, 3546, 6873, 273, 2618, 12335, 25813, 273, 5378, 364, 328, 4293, 16, 14462, 5014, 316, 400, 3292, 620, 21712, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 14222, 12, 2890, 16, 5697, 30584, 16, 80, 4293, 4672, 3536, 3581, 12335, 622, 326, 4580, 5235, 3010, 628, 5235, 3010, 1508, 585, 20833, 225, 296, 5697, 30584, 11, 353, 326, 2502, 1625, 326, 585, 353, 358, 506, 3723, 296, 80, 4293, 11, 353, 326, 585, 358, 506, 3723, 3536, 309, 618, 12, 80, 4293, 13, 422, 1953, 18, 19366, 30, 18594, 2387, 273, 328, 4293, 1327, 618, 12, 80, 4293, 13, 422, 1953, 18, 780, 559, 30, 18594, 2387, 273, 306, 80, 4293, 65, 469, 30, 393, 1585, 273, 315, 14222, 1318, 18, 4479, 14222, 30, 3425, 3110, 18594, 2387, 1297, 506, 533, 578, 666, 434, 2064, 1199, 314, 3328, 18, 1636, 12, 370, 1585, 13, 2 ]
if (sld.lower() in ( "co", "ac", "com", "edu", "org", "net", "gov", "mil", "int") and len(tld) == 2):
if sld.lower() in ("co", "ac", "com", "edu", "org", "net", "gov", "mil", "int", "aero", "biz", "cat", "coop", "info", "jobs", "mobi", "museum", "name", "pro", "travel", "eu") and len(tld) == 2:
def set_ok_domain(self, cookie, request): if self.is_blocked(cookie.domain): debug(" domain %s is in user block-list", cookie.domain) return False if self.is_not_allowed(cookie.domain): debug(" domain %s is not in user allow-list", cookie.domain) return False if cookie.domain_specified: req_host, erhn = eff_request_host(request) domain = cookie.domain if self.strict_domain and (domain.count(".") >= 2): i = domain.rfind(".") j = domain.rfind(".", 0, i) if j == 0: # domain like .foo.bar tld = domain[i+1:] sld = domain[j+1:i] if (sld.lower() in ( "co", "ac", "com", "edu", "org", "net", "gov", "mil", "int") and len(tld) == 2): # domain like .co.uk debug(" country-code second level domain %s", domain) return False if domain.startswith("."): undotted_domain = domain[1:] else: undotted_domain = domain embedded_dots = (undotted_domain.find(".") >= 0) if not embedded_dots and domain != ".local": debug(" non-local domain %s contains no embedded dot", domain) return False if cookie.version == 0: if (not erhn.endswith(domain) and (not erhn.startswith(".") and not ("."+erhn).endswith(domain))): debug(" effective request-host %s (even with added " "initial dot) does not end end with %s", erhn, domain) return False if (cookie.version > 0 or (self.strict_ns_domain & self.DomainRFC2965Match)): if not domain_match(erhn, domain): debug(" effective request-host %s does not domain-match " "%s", erhn, domain) return False if (cookie.version > 0 or (self.strict_ns_domain & self.DomainStrictNoDots)): host_prefix = req_host[:-len(domain)] if (host_prefix.find(".") >= 0 and not IPV4_RE.search(req_host)): debug(" host prefix %s for domain %s contains a dot", host_prefix, domain) return False return True
788bbe0990f652227ea8b9f197c52ec55259b2cf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/788bbe0990f652227ea8b9f197c52ec55259b2cf/cookielib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 601, 67, 4308, 12, 2890, 16, 3878, 16, 590, 4672, 309, 365, 18, 291, 67, 23156, 12, 8417, 18, 4308, 4672, 1198, 2932, 282, 2461, 738, 87, 353, 316, 729, 1203, 17, 1098, 3113, 3878, 18, 4308, 13, 327, 1083, 309, 365, 18, 291, 67, 902, 67, 8151, 12, 8417, 18, 4308, 4672, 1198, 2932, 282, 2461, 738, 87, 353, 486, 316, 729, 1699, 17, 1098, 3113, 3878, 18, 4308, 13, 327, 1083, 309, 3878, 18, 4308, 67, 13827, 30, 1111, 67, 2564, 16, 6445, 76, 82, 273, 16419, 67, 2293, 67, 2564, 12, 2293, 13, 2461, 273, 3878, 18, 4308, 309, 365, 18, 13948, 67, 4308, 471, 261, 4308, 18, 1883, 2932, 1199, 13, 1545, 576, 4672, 277, 273, 2461, 18, 86, 4720, 2932, 1199, 13, 525, 273, 2461, 18, 86, 4720, 2932, 1199, 16, 374, 16, 277, 13, 309, 525, 422, 374, 30, 225, 468, 2461, 3007, 263, 11351, 18, 3215, 23373, 273, 2461, 63, 77, 15, 21, 26894, 272, 1236, 273, 2461, 63, 78, 15, 21, 30, 77, 65, 309, 272, 1236, 18, 8167, 1435, 316, 7566, 2894, 3113, 315, 1077, 3113, 315, 832, 3113, 315, 28049, 3113, 315, 3341, 3113, 315, 2758, 3113, 315, 75, 1527, 3113, 315, 81, 330, 3113, 315, 474, 3113, 315, 69, 2439, 3113, 315, 70, 452, 3113, 315, 2574, 3113, 315, 2894, 556, 3113, 315, 1376, 3113, 315, 10088, 3113, 315, 81, 30875, 3113, 315, 81, 1202, 379, 3113, 315, 529, 3113, 315, 685, 3113, 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, 444, 67, 601, 67, 4308, 12, 2890, 16, 3878, 16, 590, 4672, 309, 365, 18, 291, 67, 23156, 12, 8417, 18, 4308, 4672, 1198, 2932, 282, 2461, 738, 87, 353, 316, 729, 1203, 17, 1098, 3113, 3878, 18, 4308, 13, 327, 1083, 309, 365, 18, 291, 67, 902, 67, 8151, 12, 8417, 18, 4308, 4672, 1198, 2932, 282, 2461, 738, 87, 353, 486, 316, 729, 1699, 17, 1098, 3113, 3878, 18, 4308, 13, 327, 1083, 309, 3878, 18, 4308, 67, 13827, 30, 1111, 67, 2564, 16, 6445, 76, 82, 273, 16419, 67, 2293, 67, 2564, 12, 2293, 13, 2461, 273, 3878, 18, 4308, 309, 365, 18, 13948, 67, 4308, 471, 261, 4308, 18, 1883, 2932, 1199, 13, 1545, 2 ]