rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
or this command won't work. When using pdflatex, you must
or this command won't work. When using pdflatex or xelatex, you must
def eval(self, x, globals, strip=False, filename=None, debug=None, density=None, pdflatex=None, locals={}): """ INPUT:
12cbced4c423573c5a4da0ddb9e58a2d0102170d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9417/12cbced4c423573c5a4da0ddb9e58a2d0102170d/latex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5302, 12, 2890, 16, 619, 16, 10941, 16, 2569, 33, 8381, 16, 1544, 33, 7036, 16, 1198, 33, 7036, 16, 12142, 33, 7036, 16, 8169, 26264, 33, 7036, 16, 8985, 12938, 4672, 3536, 12943, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5302, 12, 2890, 16, 619, 16, 10941, 16, 2569, 33, 8381, 16, 1544, 33, 7036, 16, 1198, 33, 7036, 16, 12142, 33, 7036, 16, 8169, 26264, 33, 7036, 16, 8985, 12938, 4672, 3536, 12943, 30, ...
return "/antibody/%i/" % self.antibody.id
return "/experimentdb/antibody/%i/" % self.id
def get_absolute_url(self): return "/antibody/%i/" % self.antibody.id
5dd5f96eada6a54d6acfe7b59d2b11d012cb8491 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10806/5dd5f96eada6a54d6acfe7b59d2b11d012cb8491/models.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 12547, 67, 718, 12, 2890, 4672, 327, 2206, 970, 495, 973, 5258, 77, 4898, 738, 365, 18, 970, 495, 973, 18, 350, 2, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 12547, 67, 718, 12, 2890, 4672, 327, 2206, 970, 495, 973, 5258, 77, 4898, 738, 365, 18, 970, 495, 973, 18, 350, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
assert_almost_equal_spec(np.log(x), y)
assert_almost_equal(np.log(x), y)
def test_special_values(self): xl = [] yl = []
8b1f7849329ff9e20b8d222e88356569aa585393 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14925/8b1f7849329ff9e20b8d222e88356569aa585393/test_umath_complex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 9371, 67, 2372, 12, 2890, 4672, 15643, 273, 5378, 677, 80, 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,...
[ 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 9371, 67, 2372, 12, 2890, 4672, 15643, 273, 5378, 677, 80, 273, 5378, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
cython_include = ' '.join(['-I %s'%x for x in includes if len(x.strip()) > 0 ]) cmd = 'cd %s && cython -p --incref-local-binop %s %s.pyx 1>log 2>err '%(build_dir, cython_include, name)
cython_include = ' '.join(["-I '%s'"%x for x in includes if len(x.strip()) > 0 ]) cmd = "cd '%s' && cython -p --incref-local-binop %s '%s.pyx' 1>log 2>err " % (build_dir, cython_include, name)
def cython(filename, verbose=False, compile_message=False, use_cache=False, create_local_c_file=False): if not filename.endswith('pyx'): print "File (=%s) should have extension .pyx"%filename clean_filename = sanitize(filename) base = os.path.split(os.path.splitext(clean_filename)[0])[1] abs_base = os.path.abspath(os....
8be00766fc8504cf04187cfb55ea714e3bd7f4b2 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/8be00766fc8504cf04187cfb55ea714e3bd7f4b2/cython.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6143, 3041, 12, 3459, 16, 3988, 33, 8381, 16, 4074, 67, 2150, 33, 8381, 16, 999, 67, 2493, 33, 8381, 16, 752, 67, 3729, 67, 71, 67, 768, 33, 8381, 4672, 309, 486, 1544, 18, 5839, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6143, 3041, 12, 3459, 16, 3988, 33, 8381, 16, 4074, 67, 2150, 33, 8381, 16, 999, 67, 2493, 33, 8381, 16, 752, 67, 3729, 67, 71, 67, 768, 33, 8381, 4672, 309, 486, 1544, 18, 5839, 1...
cursor, user, {'name': line.date, 'period': period, 'journal': line.statement.journal.journal.id, 'date': line.date, 'lines': [('create', x) for x in move_lines], }, context=context) self.write( cursor, user, line.id, {'move': move_id}, context=context)
cursor, user, { 'name': line.date, 'period': period_id, 'journal': line.statement.journal.journal.id, 'date': line.date, 'lines': [('create', x) for x in move_lines], }, context=context) self.write(cursor, user, line.id, { 'move': move_id, }, context=context)
def create_move(self, cursor, user, line, context=None): move_obj = self.pool.get('account.move') period_obj = self.pool.get('account.period') period = period_obj.find(cursor, user, date=line.date, context=context)
0f304fb23e424d176ea456a60d8772d11978308c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9288/0f304fb23e424d176ea456a60d8772d11978308c/statement.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 8501, 12, 2890, 16, 3347, 16, 729, 16, 980, 16, 819, 33, 7036, 4672, 3635, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, 8501, 6134, 3879, 67, 2603, 273, 365, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 8501, 12, 2890, 16, 3347, 16, 729, 16, 980, 16, 819, 33, 7036, 4672, 3635, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, 8501, 6134, 3879, 67, 2603, 273, 365, 18, ...
except: pass
except: container = None if container and container.is_routine(): if _is_parameter_for(name, container, docmap): return container else: container = container.cls() or container.module()
def findUID(name, container=None, docmap=None): """ Attempt to find the UID for the object that can be accessed with the name C{name} from the module C{module}. @param name: The name used to identify the object. @type name: C{string} @param container: The UID of the class or module containing the object. If no contai...
f2efada598a03b112566cb14de407579eb41246c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/f2efada598a03b112566cb14de407579eb41246c/uid.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 3060, 12, 529, 16, 1478, 33, 7036, 16, 997, 1458, 33, 7036, 4672, 3536, 12864, 358, 1104, 326, 10034, 364, 326, 733, 716, 848, 506, 15539, 598, 326, 508, 385, 95, 529, 97, 628, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1104, 3060, 12, 529, 16, 1478, 33, 7036, 16, 997, 1458, 33, 7036, 4672, 3536, 12864, 358, 1104, 326, 10034, 364, 326, 733, 716, 848, 506, 15539, 598, 326, 508, 385, 95, 529, 97, 628, ...
FROM test_runs INNER JOIN builds ON (builds.id = test_runs.build_id) INNER JOIN branches ON (builds.branch_id = branches.id)
FROM test_runs INNER JOIN builds ON (builds.id = test_runs.build_id) INNER JOIN branches ON (builds.branch_id = branches.id)
def getLatestTestRunValues(id, form): #first get build information machineid = int(form.getvalue('machineid')) branchid = int(form.getvalue('branchid')) sql = """SELECT test_runs.*, builds.id as build_id, builds.ref_build_id, builds.ref_changeset, date_run FROM test_runs INNER JOIN builds ON (builds.id = test_runs.bu...
31bff652b03dcfbbb6433e6dc9c335c12be506d5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14013/31bff652b03dcfbbb6433e6dc9c335c12be506d5/api.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 18650, 4709, 1997, 1972, 12, 350, 16, 646, 4672, 468, 3645, 336, 1361, 1779, 225, 5228, 350, 273, 509, 12, 687, 18, 588, 1132, 2668, 9149, 350, 26112, 3803, 350, 273, 509, 12, 687...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18650, 4709, 1997, 1972, 12, 350, 16, 646, 4672, 468, 3645, 336, 1361, 1779, 225, 5228, 350, 273, 509, 12, 687, 18, 588, 1132, 2668, 9149, 350, 26112, 3803, 350, 273, 509, 12, 687...
d['scanner'] = ClamdScanner()
d['scanner'] = ClamdScanner(get_clamav_conf()) d['virus_buf'] = StringIO()
def getAttrs (self, url, headers): d = super(VirusFilter, self).getAttrs(url, headers) # weed out the rules that don't apply to this url rules = [ rule for rule in self.rules if rule.appliesTo(url) ] if not rules: return d d['scanner'] = ClamdScanner() return d
c1d07a5dae765cc144bb6ec68299de892bfde3ff /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3948/c1d07a5dae765cc144bb6ec68299de892bfde3ff/VirusFilter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 8262, 261, 2890, 16, 880, 16, 1607, 4672, 302, 273, 2240, 12, 58, 481, 407, 1586, 16, 365, 2934, 588, 8262, 12, 718, 16, 1607, 13, 468, 732, 329, 596, 326, 2931, 716, 2727, 1404...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8262, 261, 2890, 16, 880, 16, 1607, 4672, 302, 273, 2240, 12, 58, 481, 407, 1586, 16, 365, 2934, 588, 8262, 12, 718, 16, 1607, 13, 468, 732, 329, 596, 326, 2931, 716, 2727, 1404...
if frame.f_globals.get('__name__') == TAL_INTERP_MODULE_NAME: caller = frame.f_back if caller.f_globals.get('__name__') == TAL_INTERP_MODULE_NAME: caller_name = caller.f_code.co_name source_file = None position = None if caller_name in ('do_useMacro', 'do_defineSlot'): source_file = caller.f_locals.get('saved_sourc...
se = self.stack_extra if se: info = se.get(frame, None) if info: source_file, lineno = info return source_file, lineno interp = frame.f_locals.get('self', None) source_file = interp.sourceFile position = interp.position if position: lineno = position[0] or 0 else: lineno = 0 return source_file, lineno
def getTALPosition(self, frame): """If the frame is in TALInterpreter.interpret(), detects what template was being interpreted and where, but only for specific interpreter frames. Returns the source file and line number. """ # Get TAL frames. XXX brittle in many ways. if frame.f_globals.get('__name__') == TAL_INTERP_...
c4288c63b00f4964e49fd0ff0dc0f6b3617c356b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/c4288c63b00f4964e49fd0ff0dc0f6b3617c356b/ZopeScriptDebugServer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3181, 1013, 2555, 12, 2890, 16, 2623, 4672, 3536, 2047, 326, 2623, 353, 316, 399, 1013, 30010, 18, 24713, 9334, 5966, 87, 4121, 1542, 1703, 3832, 19898, 471, 1625, 16, 1496, 1338, 364, 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, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3181, 1013, 2555, 12, 2890, 16, 2623, 4672, 3536, 2047, 326, 2623, 353, 316, 399, 1013, 30010, 18, 24713, 9334, 5966, 87, 4121, 1542, 1703, 3832, 19898, 471, 1625, 16, 1496, 1338, 364, 2...
self.bIsRunning = 0
self.m_bIsRunning = 0
def StartPackages(self): """Activate all packages
54ffec807df4acdcdd8fab12b225a27dbe06e238 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2853/54ffec807df4acdcdd8fab12b225a27dbe06e238/pManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3603, 11425, 12, 2890, 4672, 3536, 21370, 777, 5907, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3603, 11425, 12, 2890, 4672, 3536, 21370, 777, 5907, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def shortest_path_all_pairs(self): """ Uses the Floyd-Warshall algorithm to find a shortest path for each pair of vertices.
def shortest_path_all_pairs(self, by_weight=True, default_weight=1): """ Uses the Floyd-Warshall algorithm to find a shortest weighted path for each pair of vertices. The weights (labels) on the vertices can be anything that can be compared and can be summed. INPUT: by_weight -- If False, figure distances by the num...
def shortest_path_all_pairs(self): """ Uses the Floyd-Warshall algorithm to find a shortest path for each pair of vertices. OUTPUT: A tuple (dist, pred). They are both dicts of dicts. The first indicates the length dist[u][v] of the shortest weighted path from u to v. The second is more complicated-- it indicates the ...
0eb545f4bd5277ba007e70cfb5feb17bb1d39bf8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/0eb545f4bd5277ba007e70cfb5feb17bb1d39bf8/graph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20579, 67, 803, 67, 454, 67, 11545, 12, 2890, 16, 635, 67, 4865, 33, 5510, 16, 805, 67, 4865, 33, 21, 4672, 3536, 14854, 326, 478, 2466, 72, 17, 59, 1178, 4886, 358, 1104, 279, 20579...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20579, 67, 803, 67, 454, 67, 11545, 12, 2890, 16, 635, 67, 4865, 33, 5510, 16, 805, 67, 4865, 33, 21, 4672, 3536, 14854, 326, 478, 2466, 72, 17, 59, 1178, 4886, 358, 1104, 279, 20579...
MIMEText(text, _charset=Utils.GetCharSet(self.preferred_language))
MIMEText(text, _charset=Utils.GetCharSet(self.preferred_language)))
def __sendAdminBounceNotice(self, member, msg): # BAW: This is a bit kludgey, but we're not providing as much # information in the new admin bounce notices as we used to (some of # it was of dubious value). However, we'll provide empty, strange, or # meaningless strings for the unused %()s fields so that the language ...
b6eb28831f257bb067c6fdef254ed9bb0caa32c9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2120/b6eb28831f257bb067c6fdef254ed9bb0caa32c9/Bouncer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4661, 4446, 38, 8386, 20127, 12, 2890, 16, 3140, 16, 1234, 4672, 468, 605, 12999, 30, 1220, 353, 279, 2831, 15290, 1100, 75, 402, 16, 1496, 732, 4565, 486, 17721, 487, 9816, 468, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4661, 4446, 38, 8386, 20127, 12, 2890, 16, 3140, 16, 1234, 4672, 468, 605, 12999, 30, 1220, 353, 279, 2831, 15290, 1100, 75, 402, 16, 1496, 732, 4565, 486, 17721, 487, 9816, 468, ...
buf.insert(end, str(symbol) + ":" + data + "\n")
buf.insert(end, data + "\n")
def decoded(widget, symbol, data): if not results: return buf = results.props.buffer end = buf.get_end_iter() buf.insert(end, str(symbol) + ":" + data + "\n") results.scroll_to_iter(end, 0)
e91b12e9caffe8d1b7a62381fc4da37263468591 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10284/e91b12e9caffe8d1b7a62381fc4da37263468591/test_pygtk.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6383, 12, 6587, 16, 3273, 16, 501, 4672, 309, 486, 1686, 30, 327, 1681, 273, 1686, 18, 9693, 18, 4106, 679, 273, 1681, 18, 588, 67, 409, 67, 2165, 1435, 1681, 18, 6387, 12, 409, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6383, 12, 6587, 16, 3273, 16, 501, 4672, 309, 486, 1686, 30, 327, 1681, 273, 1686, 18, 9693, 18, 4106, 679, 273, 1681, 18, 588, 67, 409, 67, 2165, 1435, 1681, 18, 6387, 12, 409, 16, ...
def __div__(self, other): return "C.__div__" def __rdiv__(self, other): return "C.__rdiv__" vereq(C() / 1, "C.__div__") vereq(1 / C(), "C.__rdiv__")
def __floordiv__(self, other): return "C.__floordiv__" def __rfloordiv__(self, other): return "C.__rfloordiv__" vereq(C() // 1, "C.__floordiv__") vereq(1 // C(), "C.__rfloordiv__")
def __div__(self, other): return "C.__div__"
876595902d55c46321b25bd4b48d094b3d6068b0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/876595902d55c46321b25bd4b48d094b3d6068b0/test_descr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2892, 972, 12, 2890, 16, 1308, 4672, 327, 315, 39, 16186, 2892, 14437, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2892, 972, 12, 2890, 16, 1308, 4672, 327, 315, 39, 16186, 2892, 14437, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
zipposting_filename = self.get_path(collection_id, self.zipposting_filename, writer)
zipposting_filename = self.get_path(collection_id, self.zipposting_filename)
def do_zip_post(self, post_data): try: metabook_data = post_data['metabook'] base_url = post_data['base_url'] post_url = post_data['post_url'] except KeyError, exc: return self.error_response('POST argument required: %s' % exc) template_blacklist = post_data.get('template_blacklist', '') login_credentials = post_data.g...
45092b096c70013c2ea0a192c91b71c392f2b7ef /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12391/45092b096c70013c2ea0a192c91b71c392f2b7ef/serve.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 4450, 67, 2767, 12, 2890, 16, 1603, 67, 892, 4672, 775, 30, 5100, 378, 1184, 67, 892, 273, 1603, 67, 892, 3292, 10578, 378, 1184, 3546, 1026, 67, 718, 273, 1603, 67, 892, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 4450, 67, 2767, 12, 2890, 16, 1603, 67, 892, 4672, 775, 30, 5100, 378, 1184, 67, 892, 273, 1603, 67, 892, 3292, 10578, 378, 1184, 3546, 1026, 67, 718, 273, 1603, 67, 892, 32...
self.cmdqueue.append('t %s' % arg)
if arg: raise CmdError, "too many arguments" pid = self.lastEvent.get_pid() thread = self.lastEvent.get_thread() pc = thread.get_pc() code = thread.disassemble(pc, 16)[0] size = code[1] opcode = code[2].lower() if ' ' in opcode: opcode = opcode[ : opcode.find(' ') ] if opcode in self.jump_instructions...
def do_step(self, arg): """ p - step on the current assembly instruction next - step on the current assembly instruction step - step on the current assembly instruction """ self.cmdqueue.append('t %s' % arg)
e5897c270d08d5db4cf1949512379b0310a18309 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7261/e5897c270d08d5db4cf1949512379b0310a18309/pdebug.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 4119, 12, 2890, 16, 1501, 4672, 3536, 293, 300, 2235, 603, 326, 783, 19931, 7592, 1024, 300, 2235, 603, 326, 783, 19931, 7592, 2235, 300, 2235, 603, 326, 783, 19931, 7592, 3536,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 4119, 12, 2890, 16, 1501, 4672, 3536, 293, 300, 2235, 603, 326, 783, 19931, 7592, 1024, 300, 2235, 603, 326, 783, 19931, 7592, 2235, 300, 2235, 603, 326, 783, 19931, 7592, 3536,...
self.timer = time.clock
self.timer = self.get_time = time.clock
def __init__(self, timer=None): self.timings = {} self.cur = None self.cmd = ""
bc75e8f6af740f0d3b26d6eeaa9a4428ce268142 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/bc75e8f6af740f0d3b26d6eeaa9a4428ce268142/profile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 5441, 33, 7036, 4672, 365, 18, 8584, 899, 273, 2618, 365, 18, 1397, 273, 599, 365, 18, 4172, 273, 1408, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5441, 33, 7036, 4672, 365, 18, 8584, 899, 273, 2618, 365, 18, 1397, 273, 599, 365, 18, 4172, 273, 1408, 2, -100, -100, -100, -100, -100, -100, -100, -100...
self.SetMenuBar(self.mainmenu)
self.SetMenuBar(self.mainmenu)
def init_menubar(self): self.mainmenu = wxMenuBar() mainwindow = self
3ba07fe9c5b636ef447aa47e40d9f258c1d32e0a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1278/3ba07fe9c5b636ef447aa47e40d9f258c1d32e0a/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 67, 27617, 373, 297, 12, 2890, 4672, 365, 18, 5254, 5414, 273, 7075, 4599, 5190, 1435, 2774, 5668, 273, 365, 2, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 67, 27617, 373, 297, 12, 2890, 4672, 365, 18, 5254, 5414, 273, 7075, 4599, 5190, 1435, 2774, 5668, 273, 365, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
if field != 'login_base': assert unicmp(site[field], site_fields[field])
assert site[field] == site_fields[field]
def random_site(): return { 'name': randstr(254), 'abbreviated_name': randstr(50), 'login_base': randstr(20, letters).lower(), 'latitude': int(randfloat(-90.0, 90.0) * 1000) / 1000.0, 'longitude': int(randfloat(-180.0, 180.0) * 1000) / 1000.0, }
a398df93b73f78e8192757e2c165adb2e0453444 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7598/a398df93b73f78e8192757e2c165adb2e0453444/Test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2744, 67, 4256, 13332, 327, 288, 296, 529, 4278, 5605, 701, 12, 26261, 3631, 296, 378, 9854, 67, 529, 4278, 5605, 701, 12, 3361, 3631, 296, 5819, 67, 1969, 4278, 5605, 701, 12, 3462, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2744, 67, 4256, 13332, 327, 288, 296, 529, 4278, 5605, 701, 12, 26261, 3631, 296, 378, 9854, 67, 529, 4278, 5605, 701, 12, 3361, 3631, 296, 5819, 67, 1969, 4278, 5605, 701, 12, 3462, 1...
G.shift(self.x,self.y)
G.shift(x,y)
def draw(self): fillColor = self.fillColor strokeColor = self.strokeColor g = Group() bg = self.background shadow = self.shadow if bg: shadow = Color(bg.red*shadow,bg.green*shadow,bg.blue*shadow) self._paintLogo(g,dy=-2.5, dx=2,fillColor=shadow) self._paintLogo(g,fillColor=fillColor) g.skew(kx=10, ky=0) g.shift(0,35.5)...
73cd5ccc2ed9bda0f2ca36194a280952629de0d3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/73cd5ccc2ed9bda0f2ca36194a280952629de0d3/corp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 12, 2890, 4672, 3636, 2957, 273, 365, 18, 5935, 2957, 11040, 2957, 273, 365, 18, 16181, 2957, 314, 273, 3756, 1435, 7611, 273, 365, 18, 9342, 10510, 273, 365, 18, 19119, 309, 7611,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 12, 2890, 4672, 3636, 2957, 273, 365, 18, 5935, 2957, 11040, 2957, 273, 365, 18, 16181, 2957, 314, 273, 3756, 1435, 7611, 273, 365, 18, 9342, 10510, 273, 365, 18, 19119, 309, 7611,...
num = self.numShades
num = float(self.numShades)
def draw(self): # general widget bits group = Group() rect = Rect(self.x, self.y, self.width, self.height) rect.strokeColor = self.strokeColor rect.strokeWidth = self.strokeWidth rect.fillColor = None group.add(rect)
2a3e6fc48d80b9c6c5c11a9c8c3f597a854a27ab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/2a3e6fc48d80b9c6c5c11a9c8c3f597a854a27ab/grids.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 12, 2890, 4672, 468, 7470, 3604, 4125, 1041, 273, 3756, 1435, 225, 4917, 273, 9315, 12, 2890, 18, 92, 16, 365, 18, 93, 16, 365, 18, 2819, 16, 365, 18, 4210, 13, 4917, 18, 16181...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 12, 2890, 4672, 468, 7470, 3604, 4125, 1041, 273, 3756, 1435, 225, 4917, 273, 9315, 12, 2890, 18, 92, 16, 365, 18, 93, 16, 365, 18, 2819, 16, 365, 18, 4210, 13, 4917, 18, 16181...
result.append('\n%s' % title)
result.append('\n%s' % saxutils.escape(title))
def format_episode_list(self, episode_list, caption=None): """ Format a list of episodes for tooltips and notifications Return a listing of episodes title separated by a line break. Long title are troncated: "xxxx...xxxx" If the list is too long, it is cut and the string "x others episodes" is append episode_list can ...
aa88ba98ca3d429add1802070965c5d400c9b8a2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12778/aa88ba98ca3d429add1802070965c5d400c9b8a2/trayicon.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 67, 29687, 67, 1098, 12, 2890, 16, 17054, 67, 1098, 16, 11006, 33, 7036, 4672, 3536, 4077, 279, 666, 434, 5529, 27134, 364, 358, 4397, 7146, 471, 9208, 2000, 279, 11591, 434, 5529, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 740, 67, 29687, 67, 1098, 12, 2890, 16, 17054, 67, 1098, 16, 11006, 33, 7036, 4672, 3536, 4077, 279, 666, 434, 5529, 27134, 364, 358, 4397, 7146, 471, 9208, 2000, 279, 11591, 434, 5529, ...
admin = userlib.User(self.site, self.info['user']) adminPage = admin.getUserTalkPage() adminText = adminPage.get() note = pywikibot.translate(self.site.lang, self.note_admin) % self.parts comment = pywikibot.translate(self.site.lang, self.msg_admin) % self.parts adminText += note self.save(adminText, adminPage, comment...
if self.site.sitename() == 'wikipedia:de': admin = userlib.User(self.site, self.info['user']) adminPage = admin.getUserTalkPage() adminText = adminPage.get() note = pywikibot.translate(self.site.lang, self.note_admin) % self.parts comment = pywikibot.translate(self.site.lang, self.msg_admin) % self.parts adminText += n...
def treat(self, userPage): """ Loads the given page, does some changes, and saves it. """ talkText = self.load(userPage) if not talkText: # sanity check. No talk page found. return unblock_tpl = self.unblock_tpl[self.site.lang] project_name = self.project_name[self.site.lang] user = userlib.User(self.site, userPage.tit...
b68ad239639b0fd0196e03c7e57e5a887b240e8a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4404/b68ad239639b0fd0196e03c7e57e5a887b240e8a/blockreview.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10116, 12, 2890, 16, 729, 1964, 4672, 3536, 4444, 87, 326, 864, 1363, 16, 1552, 2690, 3478, 16, 471, 14649, 518, 18, 3536, 26591, 1528, 273, 365, 18, 945, 12, 1355, 1964, 13, 309, 486,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10116, 12, 2890, 16, 729, 1964, 4672, 3536, 4444, 87, 326, 864, 1363, 16, 1552, 2690, 3478, 16, 471, 14649, 518, 18, 3536, 26591, 1528, 273, 365, 18, 945, 12, 1355, 1964, 13, 309, 486,...
self.class_name = self.m.group('class')
self.class_name = '' self.factory = (self.m.group('factory'), self.m.group('method'))
def __init__(self, line=None, comp_name='', class_name='', params=None): self.comp_name = comp_name self.class_name = class_name if params is None: self.params = {} else: self.params = params self.factory = None
102b791569b78fa95f7f4bd8ae4158ca0037b827 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/102b791569b78fa95f7f4bd8ae4158ca0037b827/methodparse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 980, 33, 7036, 16, 1161, 67, 529, 2218, 2187, 667, 67, 529, 2218, 2187, 859, 33, 7036, 4672, 365, 18, 2919, 67, 529, 273, 1161, 67, 529, 365, 18, 1106,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 980, 33, 7036, 16, 1161, 67, 529, 2218, 2187, 667, 67, 529, 2218, 2187, 859, 33, 7036, 4672, 365, 18, 2919, 67, 529, 273, 1161, 67, 529, 365, 18, 1106,...
for target in targets:
for subName, subVersion, subFlavor in targets:
def _processRedirects(self, jobSet, troveSource, recurse): # this returns redirectHack, which maps targets of redirections # to the sources of those redirections
62cff97e1a485000f9def48e399e1a22d46a2da2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/62cff97e1a485000f9def48e399e1a22d46a2da2/conaryclient.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2567, 21978, 12, 2890, 16, 1719, 694, 16, 23432, 537, 1830, 16, 11502, 4672, 468, 333, 1135, 3136, 44, 484, 16, 1492, 7565, 5774, 434, 19611, 87, 468, 358, 326, 5550, 434, 5348, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2567, 21978, 12, 2890, 16, 1719, 694, 16, 23432, 537, 1830, 16, 11502, 4672, 468, 333, 1135, 3136, 44, 484, 16, 1492, 7565, 5774, 434, 19611, 87, 468, 358, 326, 5550, 434, 5348, 1...
if _debug: print "\t%s: Called JpegImage.render()" % rendererName
debugMsg("Called JpegImage.render()")
def render(self): """ Does JpegImage object specific (pre)rendering stuff """ if _debug: print "\t%s: Called JpegImage.render()" % rendererName
c44140bd3d918f82e3b4fb0f16f6949f4d7b003e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8476/c44140bd3d918f82e3b4fb0f16f6949f4d7b003e/image.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 4672, 3536, 9637, 804, 9001, 2040, 733, 2923, 261, 1484, 13, 5902, 310, 10769, 3536, 309, 389, 4148, 30, 1172, 1548, 88, 9, 87, 30, 11782, 804, 9001, 2040, 18, 5902, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 4672, 3536, 9637, 804, 9001, 2040, 733, 2923, 261, 1484, 13, 5902, 310, 10769, 3536, 309, 389, 4148, 30, 1172, 1548, 88, 9, 87, 30, 11782, 804, 9001, 2040, 18, 5902, 10...
if __debug__ and self.debug >= 4: _mesg('write literal size %s' % len(literal))
if __debug__: if self.debug >= 4: _mesg('write literal size %s' % len(literal))
def _command(self, name, *args):
b7ea8daca8563042c122b826472f3e45d15d1c52 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/b7ea8daca8563042c122b826472f3e45d15d1c52/imaplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3076, 12, 2890, 16, 508, 16, 380, 1968, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3076, 12, 2890, 16, 508, 16, 380, 1968, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
OWGUI.hSlider(self.extraTopBox, self, 'graph.lineLength', box=' Line length ', minValue=0, maxValue=10, step=1, callback = self.updateGraph)
OWGUI.hSlider(self.extraTopBox, self, 'graph.lineLength', box='Line length', minValue=0, maxValue=10, step=1, callback = self.updateGraph)
def __init__(self,parent=None, signalManager = None): OWLinProj.__init__(self, parent, signalManager, "Polyviz", graphClass = OWPolyvizGraph)
2bbae2650b36dbd0136135a1d27cd2dfc53ec6f2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6366/2bbae2650b36dbd0136135a1d27cd2dfc53ec6f2/OWPolyviz.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2938, 33, 7036, 16, 4277, 1318, 273, 599, 4672, 25266, 267, 626, 78, 16186, 2738, 972, 12, 2890, 16, 982, 16, 4277, 1318, 16, 315, 12487, 23167, 3113, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2938, 33, 7036, 16, 4277, 1318, 273, 599, 4672, 25266, 267, 626, 78, 16186, 2738, 972, 12, 2890, 16, 982, 16, 4277, 1318, 16, 315, 12487, 23167, 3113, 26...
return struct_time()(1,2,3)
return struct_time((1,2,3))
def localtime(timep=None): return struct_time()(1,2,3)
bc13b2f2ec9aa9cf2382a72dacbd12b1326e2ade /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4470/bc13b2f2ec9aa9cf2382a72dacbd12b1326e2ade/time.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1191, 957, 12, 957, 84, 33, 7036, 4672, 327, 1958, 67, 957, 12443, 21, 16, 22, 16, 23, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1191, 957, 12, 957, 84, 33, 7036, 4672, 327, 1958, 67, 957, 12443, 21, 16, 22, 16, 23, 3719, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
'scn': u'Discussioni immagine',
'scn': u'Discussioni mmàggini',
def __init__(self): self.name = None # Updated from http://meta.wikimedia.org/wiki/Interwiki_sorting_order self.alphabetic = [ 'aa','af','ak','als','am','ang','ab','ar','an','arc','roa-rup','frp','as', 'ast','gn','av','ay','az','bm','bn','zh-min-nan','map-bms','ba','be','be-x-old', 'bh','bi','bar','bo','bs','br','bg','...
50e42863893a1a4a8cc03199dc0f8384b6016f55 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4404/50e42863893a1a4a8cc03199dc0f8384b6016f55/family.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 18, 529, 273, 599, 468, 19301, 628, 1062, 2207, 3901, 18, 11999, 381, 1980, 18, 3341, 19, 13044, 19, 2465, 13044, 67, 28751, 67, 1019, 365, 18, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 18, 529, 273, 599, 468, 19301, 628, 1062, 2207, 3901, 18, 11999, 381, 1980, 18, 3341, 19, 13044, 19, 2465, 13044, 67, 28751, 67, 1019, 365, 18, 28...
self.window.show_all()
def __init__(self): self.builder = gtk.Builder() self.builder.add_from_file('zkiosk-ui.glade') self.window = self.builder.get_object('window1') self.Browser = self.builder.get_object('Browser') self.window.show_all() self.webview = webkit.WebView() self.Browser.add(self.webview) self.Browser.show_all() #cambiando a p...
380b8483449b07dab5afd6760a61ad93a92a9c27 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4445/380b8483449b07dab5afd6760a61ad93a92a9c27/zKiosk.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 18, 9574, 273, 22718, 18, 1263, 1435, 365, 18, 9574, 18, 1289, 67, 2080, 67, 768, 2668, 22888, 7441, 79, 17, 4881, 18, 7043, 2486, 6134, 365, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 18, 9574, 273, 22718, 18, 1263, 1435, 365, 18, 9574, 18, 1289, 67, 2080, 67, 768, 2668, 22888, 7441, 79, 17, 4881, 18, 7043, 2486, 6134, 365, 18, ...
line = preparser_ipython.preparse_ipython(line)
line = preparser_ipython.preparse_ipython(line, not continuation)
def do_prefilter_paste(line, continuation): """ Alternate prefilter for input. INPUT: line -- a single line; must *not* have any newlines in it continuation -- whether the input line is really part of the previous line, because of open parens or backslash. """ if '\n' in line: raise RuntimeError, "bug in function that...
35f1199a89152472bf9e38ccd4ffce0318b3120d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/35f1199a89152472bf9e38ccd4ffce0318b3120d/interpreter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 1484, 2188, 67, 29795, 12, 1369, 16, 17378, 4672, 3536, 21498, 340, 675, 2188, 364, 810, 18, 225, 12943, 30, 980, 1493, 279, 2202, 980, 31, 1297, 380, 902, 14, 1240, 1281, 191...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 1484, 2188, 67, 29795, 12, 1369, 16, 17378, 4672, 3536, 21498, 340, 675, 2188, 364, 810, 18, 225, 12943, 30, 980, 1493, 279, 2202, 980, 31, 1297, 380, 902, 14, 1240, 1281, 191...
sbox += self.inversion_polynomials(xi,wi,r*c*e) sbox += self.field_polynomials("x",i) sbox += self.field_polynomials("w",i)
sbox += self.inversion_polynomials(xi, wi, r*c*e) sbox += self.field_polynomials("x", i) sbox += self.field_polynomials("w", i)
def round_polynomials(self, i, plaintext = None, ciphertext = None): r""" Return list of polynomials for a given round $i$.
cd82551727ddbae04c5b28f55b59ec14654a84ab /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/cd82551727ddbae04c5b28f55b59ec14654a84ab/sr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3643, 67, 3915, 13602, 87, 12, 2890, 16, 277, 16, 11917, 273, 599, 16, 12657, 273, 599, 4672, 436, 8395, 2000, 666, 434, 16991, 87, 364, 279, 864, 3643, 271, 77, 8, 18, 2, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3643, 67, 3915, 13602, 87, 12, 2890, 16, 277, 16, 11917, 273, 599, 16, 12657, 273, 599, 4672, 436, 8395, 2000, 666, 434, 16991, 87, 364, 279, 864, 3643, 271, 77, 8, 18, 2, -100, -100...
"""
"""
def getDefaultValue(self, parameter): """ Created: 15.04.2006, KP Description: Return the default value of a parameter """ if parameter == "MinSize": return 15 return 0
6d7b572696d4ecdce2049b45a6e109836f3272c9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2877/6d7b572696d4ecdce2049b45a6e109836f3272c9/SegmentationFilters.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19569, 12, 2890, 16, 1569, 4672, 3536, 12953, 30, 4711, 18, 3028, 18, 6976, 26, 16, 1475, 52, 6507, 30, 2000, 326, 805, 460, 434, 279, 1569, 3536, 309, 1569, 422, 315, 2930, 1225, 6877...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19569, 12, 2890, 16, 1569, 4672, 3536, 12953, 30, 4711, 18, 3028, 18, 6976, 26, 16, 1475, 52, 6507, 30, 2000, 326, 805, 460, 434, 279, 1569, 3536, 309, 1569, 422, 315, 2930, 1225, 6877...
_string = p.sub(r"\\texttt{\1}", _string)
string = p.sub(r"\\texttt{\1}", string) return string def transform_alerts(string): """ alerts """
def transform(string): """ convert/transform one line """ global frame_opened, enum_item_level # nasty thing to do global frame_header, frame_footer, next_frame_footer preamble = "" # for enumeration/itemize environment commands # handle itemizing/enumerations p = re.compile("^([\*\#]+).*$") m = p.match(string) ...
1947325dce6126afe82562ecb94d6cdf480ca241 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14466/1947325dce6126afe82562ecb94d6cdf480ca241/wiki2beamer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2510, 12, 1080, 4672, 3536, 1765, 19, 6547, 1245, 980, 3536, 2552, 2623, 67, 25304, 16, 2792, 67, 1726, 67, 2815, 565, 468, 290, 689, 93, 7757, 358, 741, 2552, 2623, 67, 3374, 16, 2623...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2510, 12, 1080, 4672, 3536, 1765, 19, 6547, 1245, 980, 3536, 2552, 2623, 67, 25304, 16, 2792, 67, 1726, 67, 2815, 565, 468, 290, 689, 93, 7757, 358, 741, 2552, 2623, 67, 3374, 16, 2623...
if not self._sf.keepAlive(self._getObj()):
if not self._sf.keepAlive(self._obj):
def _ping (self): #pragma: no cover """ For some reason, it seems that keepAlive doesn't, so every so often I need to recreate the objects """ try: if not self._sf.keepAlive(self._getObj()): logger.debug("... died, recreating ...") self._obj = self._create_func() except Ice.ObjectNotExistException: # The connection is ...
605e8eddbce9e8e7a80e418082a1e612f0bf028c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12409/605e8eddbce9e8e7a80e418082a1e612f0bf028c/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1382, 261, 2890, 4672, 468, 683, 9454, 30, 1158, 5590, 3536, 2457, 2690, 3971, 16, 518, 12001, 716, 24115, 3302, 1404, 16, 1427, 3614, 1427, 16337, 467, 1608, 358, 23052, 326, 2184, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1382, 261, 2890, 4672, 468, 683, 9454, 30, 1158, 5590, 3536, 2457, 2690, 3971, 16, 518, 12001, 716, 24115, 3302, 1404, 16, 1427, 3614, 1427, 16337, 467, 1608, 358, 23052, 326, 2184, ...
def selectmany_1(self):
def select_many_1(self):
def selectmany_1(self): return Query(self.W1) \ .selectmany(lambda s: s.split(' ')) \ .tolist()
f134b825431ac82f3dbba76e7a945a0e195d27cf /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14315/f134b825431ac82f3dbba76e7a945a0e195d27cf/pyquery.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2027, 67, 9353, 67, 21, 12, 2890, 4672, 327, 2770, 12, 2890, 18, 59, 21, 13, 521, 263, 4025, 9353, 12, 14661, 272, 30, 272, 18, 4939, 2668, 296, 3719, 521, 263, 3490, 376, 1435, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2027, 67, 9353, 67, 21, 12, 2890, 4672, 327, 2770, 12, 2890, 18, 59, 21, 13, 521, 263, 4025, 9353, 12, 14661, 272, 30, 272, 18, 4939, 2668, 296, 3719, 521, 263, 3490, 376, 1435, 2, ...
res['name']='______________________________________' res['price_subtotal']='___________' res['currency']='_'
res['name']='_______________________________________________' res['price_subtotal']='____________' res['currency']='____'
def invoice_lines(self,invoice): result =[] sub_total={} info=[] invoice_list=[] res={} list_in_seq={} ids = self.pool.get('account.invoice.line').search(self.cr, self.uid, [('invoice_id', '=', invoice.id)]) ids.sort() for id in range(0,len(ids)): info = self.pool.get('account.invoice.line').browse(self.cr, self.uid,id...
9c806c8d58c33356c2a2009569871b585a2ae0e8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/9c806c8d58c33356c2a2009569871b585a2ae0e8/special_message_invoice.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9179, 67, 3548, 12, 2890, 16, 16119, 4672, 563, 273, 8526, 720, 67, 4963, 12938, 1123, 33, 8526, 9179, 67, 1098, 33, 8526, 400, 12938, 666, 67, 267, 67, 5436, 12938, 3258, 273, 365, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9179, 67, 3548, 12, 2890, 16, 16119, 4672, 563, 273, 8526, 720, 67, 4963, 12938, 1123, 33, 8526, 9179, 67, 1098, 33, 8526, 400, 12938, 666, 67, 267, 67, 5436, 12938, 3258, 273, 365, 18...
self.assert_(disp not in self.msg[headername])
self.assertEqual(self.msg[headername].find(disp), -1)
def test_delNotations_missing(self): # Check that nothing is removed if the disposition is not # there. for headername in ["subject", "to"]: for disp in (self.ham, self.spam, self.unsure): # Add a notation to the header header = self.msg[headername] self.assert_(disp not in header) options["Headers", "notate_%s" % (hea...
274fd041277b8777bd1567b84a52d889f51c6bcc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6126/274fd041277b8777bd1567b84a52d889f51c6bcc/test_message.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 3771, 1248, 1012, 67, 7337, 12, 2890, 4672, 468, 2073, 716, 5083, 353, 3723, 309, 326, 23913, 353, 486, 468, 1915, 18, 364, 1446, 529, 316, 8247, 7857, 3113, 315, 869, 11929, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 3771, 1248, 1012, 67, 7337, 12, 2890, 4672, 468, 2073, 716, 5083, 353, 3723, 309, 326, 23913, 353, 486, 468, 1915, 18, 364, 1446, 529, 316, 8247, 7857, 3113, 315, 869, 11929, ...
self.verticesPerEdge = float(self.nVertices) / float(self.nEdges) self.edgesPerVertex = float(self.nEdges) / float(self.nVertices)
if self.nEdges > 0: self.verticesPerEdge = float(self.nVertices) / float(self.nEdges) else: self.verticesPerEdge = 0 if self.nVertices > 0: self.edgesPerVertex = float(self.nEdges) / float(self.nVertices) else: self.edgesPerVertex = 0
def setGraph(self, graph): if graph == None: return #print "OWNetwork/setGraph: new visualizer..." self.visualize = NetworkOptimization(graph, self) self.nVertices = len(graph) self.nShown = len(graph) self.nEdges = len(graph.getEdges()) self.verticesPerEdge = float(self.nVertices) / float(self.nEdges) self.edgesPerVer...
faa0fdf6c2050939bf968f4debea45cd0eda241f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6366/faa0fdf6c2050939bf968f4debea45cd0eda241f/OWNetwork.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 4137, 12, 2890, 16, 2667, 4672, 309, 2667, 422, 599, 30, 327, 468, 1188, 315, 7306, 3906, 19, 542, 4137, 30, 394, 11623, 1824, 7070, 365, 18, 26671, 554, 273, 5128, 13930, 1588, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4137, 12, 2890, 16, 2667, 4672, 309, 2667, 422, 599, 30, 327, 468, 1188, 315, 7306, 3906, 19, 542, 4137, 30, 394, 11623, 1824, 7070, 365, 18, 26671, 554, 273, 5128, 13930, 1588, 1...
'proxy-password' or 'proxy_password' variable.
'proxy-password' or 'proxy_password' variable, or in 'http_proxy' or 'https_proxy' as "protocol://[username:password@]host:port".
def _get_access_url(self, url): return url.to_string()
fd7144c02bd0a385dbf6cd8b54d685ceef911565 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6580/fd7144c02bd0a385dbf6cd8b54d685ceef911565/http.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 3860, 67, 718, 12, 2890, 16, 880, 4672, 327, 880, 18, 869, 67, 1080, 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,...
[ 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 3860, 67, 718, 12, 2890, 16, 880, 4672, 327, 880, 18, 869, 67, 1080, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
if groups is None: break auth=self.HTTP_AUTHORIZATION
if groups is None: roles=None auth=''
def publish(self, module_name, after_list, published='web_objects',
ce36b9e307df69ea62df6d1e120ffd941cc06920 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/ce36b9e307df69ea62df6d1e120ffd941cc06920/Publish.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3808, 12, 2890, 16, 1605, 67, 529, 16, 1839, 67, 1098, 16, 9487, 2218, 4875, 67, 6911, 2187, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3808, 12, 2890, 16, 1605, 67, 529, 16, 1839, 67, 1098, 16, 9487, 2218, 4875, 67, 6911, 2187, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
for uid in meeting_ob.participants.uids:
for uid in meeting_ob.participants.attendees.keys():
def jstree_participants(self): """ """ jstree, participants = [], {} site = self.getSite() meeting_config = meeting_module.get_config() meeting_obs = site.getCatalogedObjectsCheckView(meta_type=meeting_config['meta_type'], approved=1)
a95b3dd51705b926dcdefeface3f8a0b7a373e21 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3287/a95b3dd51705b926dcdefeface3f8a0b7a373e21/reports.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 525, 334, 992, 67, 2680, 27620, 12, 2890, 4672, 3536, 3536, 525, 334, 992, 16, 22346, 273, 5378, 16, 2618, 2834, 273, 365, 18, 588, 4956, 1435, 18721, 310, 67, 1425, 273, 18721, 310, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 525, 334, 992, 67, 2680, 27620, 12, 2890, 4672, 3536, 3536, 525, 334, 992, 16, 22346, 273, 5378, 16, 2618, 2834, 273, 365, 18, 588, 4956, 1435, 18721, 310, 67, 1425, 273, 18721, 310, 6...
irc.reply("The trigger for regexp '%s' is '%s'" % (regexp, action))
irc.reply("The action for regexp trigger '%s' is '%s'" % (regexp, action))
def show(self, irc, msg, args, channel, regexp): """[<channel>] <regexp>
3326212d55da8465809c774105ff6ecb54d2e788 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12790/3326212d55da8465809c774105ff6ecb54d2e788/plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 12, 2890, 16, 277, 1310, 16, 1234, 16, 833, 16, 1904, 16, 7195, 4672, 3536, 63, 32, 4327, 34, 65, 411, 17745, 34, 2, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 12, 2890, 16, 277, 1310, 16, 1234, 16, 833, 16, 1904, 16, 7195, 4672, 3536, 63, 32, 4327, 34, 65, 411, 17745, 34, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
<screen position="60,80" size="595,436" title="CI assignment" > <widget name="CAidList.desc" position="10,10" size="575,22" font="Regular;20" /> <widget name="CAidList" position="10,40" size="575,45" font="Regular;20" /> <widget name="ServiceList.desc" position="10,90" size="575,22" font="Regular;20" /> <widget name="S...
<screen name="CIconfigMenu" position="center,center" size="560,440" title="CI assignment" > <ePixmap pixmap="skin_default/buttons/red.png" position="0,0" size="140,40" alphatest="on" /> <ePixmap pixmap="skin_default/buttons/green.png" position="140,0" size="140,40" alphatest="on" /> <ePixmap pixmap="skin_default/button...
def cancel(self): self.close()
7ac3daaddd1d808a9238391cd14613931900e4f9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6652/7ac3daaddd1d808a9238391cd14613931900e4f9/plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3755, 12, 2890, 4672, 365, 18, 4412, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3755, 12, 2890, 4672, 365, 18, 4412, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
def destroy(self, *args): self.dialog.destroy() class AddTagDialog(object):
class AddTagDialog(gtk.Dialog):
def destroy(self, *args): self.dialog.destroy()
44deb3636adb3eb180d1cc44ce811a1cb782bb80 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4764/44deb3636adb3eb180d1cc44ce811a1cb782bb80/widgets.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5546, 12, 2890, 16, 380, 1968, 4672, 365, 18, 12730, 18, 11662, 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...
[ 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5546, 12, 2890, 16, 380, 1968, 4672, 365, 18, 12730, 18, 11662, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.cache[id].sync() else: self.db.restartFile(id)
self.cache[id].abortDownload() self.db.restartFile(id)
def restartFile(self, id): """ restart file""" if self.cache.has_key(id): self.cache[id].abortDownload() self.cache[id].status = 3 self.cache[id].name = self.cache[id].url self.cache[id].error = "" self.cache[id].sync() else: self.db.restartFile(id) e = UpdateEvent("file", id, "collector" if not self.getFile(id).packa...
95fe4671c27b09e56a8eaa4558f5933f41787801 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9838/95fe4671c27b09e56a8eaa4558f5933f41787801/FileDatabase.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7870, 812, 12, 2890, 16, 612, 4672, 3536, 7870, 585, 8395, 309, 365, 18, 2493, 18, 5332, 67, 856, 12, 350, 4672, 365, 18, 2493, 63, 350, 8009, 18623, 7109, 1435, 365, 18, 2493, 63, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7870, 812, 12, 2890, 16, 612, 4672, 3536, 7870, 585, 8395, 309, 365, 18, 2493, 18, 5332, 67, 856, 12, 350, 4672, 365, 18, 2493, 63, 350, 8009, 18623, 7109, 1435, 365, 18, 2493, 63, 3...
attrs = spillproperties("Properties %s:\n" % tag, attrs, lambda t: t[1] == 'property')
attrs = spilldescriptors("Data descriptors %s:\n" % tag, attrs, lambda t: t[1] == 'data descriptor')
def spilldata(msg, attrs, predicate): ok, attrs = _split_list(attrs, predicate) if ok: hr.maybe() push(msg) for name, kind, homecls, value in ok: if callable(value) or inspect.isdatadescriptor(value): doc = getattr(value, "__doc__", None) else: doc = None push(self.docother(getattr(object, name), name, mod, 70, doc) + ...
210cc240dc7573286fe4f4380906712aae9b9a70 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/210cc240dc7573286fe4f4380906712aae9b9a70/pydoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1694, 737, 892, 12, 3576, 16, 3422, 16, 5641, 4672, 1529, 16, 3422, 273, 389, 4939, 67, 1098, 12, 7039, 16, 5641, 13, 309, 1529, 30, 15407, 18, 19133, 1435, 1817, 12, 3576, 13, 364, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1694, 737, 892, 12, 3576, 16, 3422, 16, 5641, 4672, 1529, 16, 3422, 273, 389, 4939, 67, 1098, 12, 7039, 16, 5641, 13, 309, 1529, 30, 15407, 18, 19133, 1435, 1817, 12, 3576, 13, 364, ...
CfgLine.fixup()
CfgLine.fixup(self)
def fixup(self): CfgLine.fixup() useContext("in-pstn") for obj in configlets.config_entries: if isinstance(obj, configlets.CfgPhone): print obj.__class__.__name__
a151ded7d689ca87a7d5d62264e35e1c751dbba4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2627/a151ded7d689ca87a7d5d62264e35e1c751dbba4/cfg_line_zaphfc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2917, 416, 12, 2890, 4672, 24631, 1670, 18, 904, 416, 12, 2890, 13, 999, 1042, 2932, 267, 17, 84, 334, 82, 7923, 364, 1081, 316, 642, 17307, 18, 1425, 67, 8219, 30, 309, 1549, 12, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2917, 416, 12, 2890, 4672, 24631, 1670, 18, 904, 416, 12, 2890, 13, 999, 1042, 2932, 267, 17, 84, 334, 82, 7923, 364, 1081, 316, 642, 17307, 18, 1425, 67, 8219, 30, 309, 1549, 12, 26...
http = httplib.HTTPConnection(self.base_host, self.base_port) url = "http://" + self.base_host if self.base_port != 80:
http = httplib.HTTPConnection(host, port) url = "http://" + host if port != 80:
def http_request(self, path_name=None, cookie_string=None, form={}, full_path=None): if full_path: path = full_path else: if self.config.get('cb_single_url'): path = self.base_path else: path = self.base_path + '/' + self.config.get('cb_' + path_name) form['action'] = path_name if self.config['secret']: form['secret'] ...
1d05ca0679d8926498de733ed6d870f585f6e94f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13219/1d05ca0679d8926498de733ed6d870f585f6e94f/server.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1062, 67, 2293, 12, 2890, 16, 589, 67, 529, 33, 7036, 16, 3878, 67, 1080, 33, 7036, 16, 646, 28793, 1983, 67, 803, 33, 7036, 4672, 309, 1983, 67, 803, 30, 589, 273, 1983, 67, 803, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1062, 67, 2293, 12, 2890, 16, 589, 67, 529, 33, 7036, 16, 3878, 67, 1080, 33, 7036, 16, 646, 28793, 1983, 67, 803, 33, 7036, 4672, 309, 1983, 67, 803, 30, 589, 273, 1983, 67, 803, ...
self.total_bytes += bytes
self.total_bytes += size_bytes
def clean_pathname(self, pathname): """Clean a single pathname""" try: bytes = FileUtilities.getsize(pathname) except: traceback.print_exc() line = str(sys.exc_info()[1]) + " " + pathname + "\n" print line self.gui.append_text(line, 'error', self.__iter) return
1c7a72b2ef6d0891881a72a5b740d84a77712f22 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7853/1c7a72b2ef6d0891881a72a5b740d84a77712f22/Worker.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2721, 67, 28336, 12, 2890, 16, 9806, 4672, 3536, 7605, 279, 2202, 9806, 8395, 775, 30, 1731, 273, 1387, 11864, 18, 588, 1467, 12, 28336, 13, 1335, 30, 10820, 18, 1188, 67, 10075, 1435, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2721, 67, 28336, 12, 2890, 16, 9806, 4672, 3536, 7605, 279, 2202, 9806, 8395, 775, 30, 1731, 273, 1387, 11864, 18, 588, 1467, 12, 28336, 13, 1335, 30, 10820, 18, 1188, 67, 10075, 1435, ...
code_block.options = {
code_role.options = code_block.options = {
def code_block(name, arguments, options, content, lineno, content_offset, block_text, state, state_machine): """ Create a code-block directive for docutils.
45a6df56ddcd4a2e515fff071d268df8f1a53ab6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/45a6df56ddcd4a2e515fff071d268df8f1a53ab6/rst.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 981, 67, 2629, 12, 529, 16, 1775, 16, 702, 16, 913, 16, 7586, 16, 913, 67, 3348, 16, 1203, 67, 955, 16, 919, 16, 919, 67, 9149, 4672, 3536, 1788, 279, 981, 17, 2629, 8655, 364, 997...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 981, 67, 2629, 12, 529, 16, 1775, 16, 702, 16, 913, 16, 7586, 16, 913, 67, 3348, 16, 1203, 67, 955, 16, 919, 16, 919, 67, 9149, 4672, 3536, 1788, 279, 981, 17, 2629, 8655, 364, 997...
salt = string.join(map(lambda x: chr(x), salt), '')
salt = string.join(map(chr, salt), '')
def __getEncryptionKey(self, privKey, snmpEngineBoots, snmpEngineTime): salt = [ self._localInt>>56&0xff, self._localInt>>48&0xff, self._localInt>>40&0xff, self._localInt>>32&0xff, self._localInt>>24&0xff, self._localInt>>16&0xff, self._localInt>>8&0xff, self._localInt&0xff ] if self._localInt == 0xffffffffffffffffL: ...
6c6728a9fa75cbf5dad50de60795de1d16d64891 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/587/6c6728a9fa75cbf5dad50de60795de1d16d64891/aes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 26740, 12, 2890, 16, 22849, 16, 15366, 4410, 15817, 87, 16, 15366, 4410, 950, 4672, 4286, 273, 306, 365, 6315, 3729, 1702, 9778, 4313, 10, 20, 5297, 16, 365, 6315, 3729, 1702,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 26740, 12, 2890, 16, 22849, 16, 15366, 4410, 15817, 87, 16, 15366, 4410, 950, 4672, 4286, 273, 306, 365, 6315, 3729, 1702, 9778, 4313, 10, 20, 5297, 16, 365, 6315, 3729, 1702,...
def _coerce_impl(self, x):
def _coerce_from_special_method(self, x): """ Tries to coerce to self by calling a special underscore method. If no such method is defined, raises an AttributeError instead of a TypeError. """
def __call__(self, x): r""" Create a new object in self from x.
51db3b4ba3e1601df442dc6dc63910c90aac5b5a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/51db3b4ba3e1601df442dc6dc63910c90aac5b5a/expect.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 619, 4672, 436, 8395, 1788, 279, 394, 733, 316, 365, 628, 619, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 619, 4672, 436, 8395, 1788, 279, 394, 733, 316, 365, 628, 619, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def load_fileobj(fileobj, gz = False, xmldoc = None, contenthandler = None):
def load_fileobj(fileobj, gz = None, xmldoc = None, contenthandler = None):
def load_fileobj(fileobj, gz = False, xmldoc = None, contenthandler = None): """ Parse the contents of the file object fileobj, and return the contents as a LIGO Light Weight document tree. The file object does not need to be seekable. The file is gzip decompressed while reading if gz is set to True. If the optional...
a6609b0e22abdcb993241fb93f7d83d0e32abf28 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5758/a6609b0e22abdcb993241fb93f7d83d0e32abf28/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 67, 768, 2603, 12, 768, 2603, 16, 14136, 273, 599, 16, 2025, 2434, 273, 599, 16, 913, 4176, 273, 599, 4672, 3536, 2884, 326, 2939, 434, 326, 585, 733, 17041, 16, 471, 327, 326, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1262, 67, 768, 2603, 12, 768, 2603, 16, 14136, 273, 599, 16, 2025, 2434, 273, 599, 16, 913, 4176, 273, 599, 4672, 3536, 2884, 326, 2939, 434, 326, 585, 733, 17041, 16, 471, 327, 326, ...
index=randid()
index = randint(-2000000000, 2000000000)
def catalogObject(self, object, uid, threshold=None,idxs=[]): """ Adds an object to the Catalog by iteratively applying it all indexes.
8430ae6c5d023444299a01fa4d815c7986f5ea7b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/8430ae6c5d023444299a01fa4d815c7986f5ea7b/Catalog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6222, 921, 12, 2890, 16, 733, 16, 4555, 16, 5573, 33, 7036, 16, 24156, 33, 8526, 4672, 3536, 15605, 392, 733, 358, 326, 14953, 635, 1400, 17526, 13650, 518, 777, 5596, 18, 2, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6222, 921, 12, 2890, 16, 733, 16, 4555, 16, 5573, 33, 7036, 16, 24156, 33, 8526, 4672, 3536, 15605, 392, 733, 358, 326, 14953, 635, 1400, 17526, 13650, 518, 777, 5596, 18, 2, -100, -10...
self.DeAdvertiseAds(sorted_offline[:len(new_ads)])
self.DeAdvertiseAds(sorted_offline[:len(offline_ads) - (self.numclassads - len(new_ads))])
def Update(self): # Check last match times for an recent match matched_sites = self.GetLastMatchedSites() # Check for expired classads, delete them (OFFLINE_EXPIRE_ADS_AFTER should do this) #self.RemoveExpiredClassads() # Check for new startd's reporting, save them while deleting the older ones (max numclassads) for...
0cf72e269a2614722cfaa9035938ecbcb5389851 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12601/0cf72e269a2614722cfaa9035938ecbcb5389851/OfflineAds.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2315, 12, 2890, 4672, 225, 468, 2073, 1142, 845, 4124, 364, 392, 8399, 845, 4847, 67, 12180, 273, 365, 18, 967, 3024, 15400, 17055, 1435, 225, 468, 2073, 364, 7708, 667, 17318, 16, 1430,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2315, 12, 2890, 4672, 225, 468, 2073, 1142, 845, 4124, 364, 392, 8399, 845, 4847, 67, 12180, 273, 365, 18, 967, 3024, 15400, 17055, 1435, 225, 468, 2073, 364, 7708, 667, 17318, 16, 1430,...
self.hboxlayout53.addWidget(self.gamess_checkbox)
self.hboxlayout56.addWidget(self.gamess_checkbox)
def setupUi(self, UserPrefsDialog): UserPrefsDialog.setObjectName("UserPrefsDialog") UserPrefsDialog.resize(QtCore.QSize(QtCore.QRect(0,0,609,642).size()).expandedTo(UserPrefsDialog.minimumSizeHint()))
30deb2219e016847d91b37e801c50b75fbd1c3cf /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/30deb2219e016847d91b37e801c50b75fbd1c3cf/UserPrefsDialog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 13943, 12, 2890, 16, 2177, 1386, 2556, 6353, 4672, 2177, 1386, 2556, 6353, 18, 542, 16707, 2932, 1299, 1386, 2556, 6353, 7923, 2177, 1386, 2556, 6353, 18, 15169, 12, 23310, 4670, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3875, 13943, 12, 2890, 16, 2177, 1386, 2556, 6353, 4672, 2177, 1386, 2556, 6353, 18, 542, 16707, 2932, 1299, 1386, 2556, 6353, 7923, 2177, 1386, 2556, 6353, 18, 15169, 12, 23310, 4670, 18,...
import os, tempfile
def handle(self, info=None): info = info or sys.exc_info() if self.format == "html": self.file.write(reset())
ad078a0d7a4a4a840c259ec4a744043375de452b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8546/ad078a0d7a4a4a840c259ec4a744043375de452b/cgitb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 12, 2890, 16, 1123, 33, 7036, 4672, 1123, 273, 1123, 578, 2589, 18, 10075, 67, 1376, 1435, 309, 365, 18, 2139, 422, 315, 2620, 6877, 365, 18, 768, 18, 2626, 12, 6208, 10756, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 12, 2890, 16, 1123, 33, 7036, 4672, 1123, 273, 1123, 578, 2589, 18, 10075, 67, 1376, 1435, 309, 365, 18, 2139, 422, 315, 2620, 6877, 365, 18, 768, 18, 2626, 12, 6208, 10756, 2, ...
initialcount=174
def initialize_glyphs(): global initial_glyphs, initialcount, count for number in initial_glyphs: toto="_00%02d" % int(number) initial_glyphs.insert(0,toto) initial_glyphs.remove(number) if font_name=="gregorio": glyphs_to_append=("_1025", "_2049") elif font_name=="parmesan": glyphs_to_append=("_1025", "_2049") elif fo...
c89b3bb8d0947e303724f61d69db9a11f9ae6f48 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7096/c89b3bb8d0947e303724f61d69db9a11f9ae6f48/squarize.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4046, 67, 19426, 87, 13332, 2552, 2172, 67, 19426, 87, 16, 2172, 1883, 16, 1056, 364, 1300, 316, 2172, 67, 19426, 87, 30, 268, 6302, 1546, 67, 713, 9, 3103, 72, 6, 738, 509, 12, 2696...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4046, 67, 19426, 87, 13332, 2552, 2172, 67, 19426, 87, 16, 2172, 1883, 16, 1056, 364, 1300, 316, 2172, 67, 19426, 87, 30, 268, 6302, 1546, 67, 713, 9, 3103, 72, 6, 738, 509, 12, 2696...
Torsion quotient of 3-d lattice N by Sublattice <N(1, 8, 0), N(0, 12, 0)>
Quotient with torsion of 3-d lattice N by Sublattice <N(1, 8, 0), N(0, 12, 0)> See :class:`ToricLattice_quotient` for more examples.
def quotient(self, sub, check=True): """ Return the quotient of ``self`` by the given sublattice ``sub``. INPUT:
4fdaf981b4663ca977be3beaca7fd701133d42d6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/4fdaf981b4663ca977be3beaca7fd701133d42d6/toric_lattice.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26708, 12, 2890, 16, 720, 16, 866, 33, 5510, 4672, 3536, 2000, 326, 26708, 434, 12176, 2890, 10335, 635, 326, 864, 17809, 24966, 12176, 1717, 68, 8338, 225, 12943, 30, 2, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26708, 12, 2890, 16, 720, 16, 866, 33, 5510, 4672, 3536, 2000, 326, 26708, 434, 12176, 2890, 10335, 635, 326, 864, 17809, 24966, 12176, 1717, 68, 8338, 225, 12943, 30, 2, -100, -100, -10...
AbelianGroup( 3, [2, 3, 7])
Abelian Group isomorphic to Z/2Z x Z/3Z x Z/7Z
def exponent(self): """ Return the exponent of this abelian group.
474e9cd21e5543c10385340d5e9747ad7d0f1773 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/474e9cd21e5543c10385340d5e9747ad7d0f1773/abelian_group.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9100, 12, 2890, 4672, 3536, 2000, 326, 9100, 434, 333, 1223, 292, 2779, 1041, 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, ...
[ 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9100, 12, 2890, 4672, 3536, 2000, 326, 9100, 434, 333, 1223, 292, 2779, 1041, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if isprobe and akey != -1: key = akey akey = -1 else: key = scanner.next()
key = scanner.next()
def getcourse(isprobe, akey): "Get a course and distance from the user." key = 0 dquad = copy.copy(game.quadrant) navmode = "unspecified" itemp = "curt" dsect = coord() iprompt = False if game.landed and not isprobe: prout(_("Dummy! You can't leave standard orbit until you")) proutn(_("are back aboard the ship.")) scan...
63a85c0b15819cc85d8acf7a6ee6e067ff6c4362 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3176/63a85c0b15819cc85d8acf7a6ee6e067ff6c4362/sst.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 5566, 12, 291, 27230, 16, 279, 856, 4672, 315, 967, 279, 4362, 471, 3888, 628, 326, 729, 1199, 498, 273, 374, 302, 21733, 273, 1610, 18, 3530, 12, 13957, 18, 21733, 6890, 13, 8775...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5566, 12, 291, 27230, 16, 279, 856, 4672, 315, 967, 279, 4362, 471, 3888, 628, 326, 729, 1199, 498, 273, 374, 302, 21733, 273, 1610, 18, 3530, 12, 13957, 18, 21733, 6890, 13, 8775...
bb.error("BUG init called with None as data object!!!") import traceback traceback.print_stack()
bb.debug(2,"BUG init called with None as data object!!!")
def init(urls = [], d = None): if d == None: bb.error("BUG init called with None as data object!!!") import traceback traceback.print_stack() return for m in methods: m.urls = [] for u in urls: for m in methods: m.data = d if m.supports(u, d): m.urls.append(u)
b4e57fe2beb7aeacc6504dd2ff3feef83860a461 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2672/b4e57fe2beb7aeacc6504dd2ff3feef83860a461/fetch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 12, 10518, 273, 5378, 16, 302, 273, 599, 4672, 309, 302, 422, 599, 30, 7129, 18, 4148, 12, 22, 10837, 4827, 1208, 2566, 598, 599, 487, 501, 733, 8548, 4442, 13, 327, 225, 364, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1208, 12, 10518, 273, 5378, 16, 302, 273, 599, 4672, 309, 302, 422, 599, 30, 7129, 18, 4148, 12, 22, 10837, 4827, 1208, 2566, 598, 599, 487, 501, 733, 8548, 4442, 13, 327, 225, 364, ...
assert_arrays_equal(actual, desired)
self.assertRavelEqual(actual, desired)
def test_gradient(self): first = agg.Rgba(0.,0.,0.,0.) second = agg.Rgba(1.,1.,1.,1.) actual = first.gradient(second,.5).asarray() desired = array((.5,.5,.5,.5)) assert_arrays_equal(actual, desired)
7f4e15fee9a66e5d9c0d75f3599b8e53c73823c5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13166/7f4e15fee9a66e5d9c0d75f3599b8e53c73823c5/rgba_test_case.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 20219, 12, 2890, 4672, 1122, 273, 10421, 18, 22333, 69, 12, 20, 12990, 20, 12990, 20, 12990, 20, 12998, 2205, 273, 10421, 18, 22333, 69, 12, 21, 12990, 21, 12990, 21, 12990, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 20219, 12, 2890, 4672, 1122, 273, 10421, 18, 22333, 69, 12, 20, 12990, 20, 12990, 20, 12990, 20, 12998, 2205, 273, 10421, 18, 22333, 69, 12, 21, 12990, 21, 12990, 21, 12990, ...
easy_run.call("rm -rf %s "%output)
def check_sites_rt(cmd, xrsp_init, output, selection, selection_str, tolerance=1.e-3): easy_run.call(cmd) xrsp = xray_structure_plus(file_name = output) assert approx_equal(xrsp.occ, xrsp_init.occ,tolerance) assert approx_equal(xrsp.u_iso, xrsp_init.u_iso,tolerance) assert approx_equal(xrsp.u_cart, xrsp_init.u_cart...
d3b962327f9bfcab4633f0d80f058ec29ecde30b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/696/d3b962327f9bfcab4633f0d80f058ec29ecde30b/tst_pdbtools.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 12180, 67, 3797, 12, 4172, 16, 20912, 1752, 67, 2738, 16, 876, 16, 4421, 16, 4421, 67, 701, 16, 10673, 33, 21, 18, 73, 17, 23, 4672, 12779, 67, 2681, 18, 1991, 12, 4172, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 12180, 67, 3797, 12, 4172, 16, 20912, 1752, 67, 2738, 16, 876, 16, 4421, 16, 4421, 67, 701, 16, 10673, 33, 21, 18, 73, 17, 23, 4672, 12779, 67, 2681, 18, 1991, 12, 4172, 1...
<a href="http://bugs.frugalware.org/?dev=vmiklos">my tasks</a> |
<a href="http://bugs.frugalware.org/?dev=vmiklos&order=dateopened&sort=desc">my tasks</a> |
def handler(req): out = []
f0b8422131af119064deb68549d3c34b0c89e602 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11934/f0b8422131af119064deb68549d3c34b0c89e602/firefox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1838, 12, 3658, 4672, 596, 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, ...
[ 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1838, 12, 3658, 4672, 596, 273, 5378, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
visitor.drawPolygon(self.stringToTupleList(self.points), self.shapeSettings.getSettings());
visitor.drawPolygon(self.stringToTupleList(self.points.getValue()), self.shapeSettings.getSettings());
def acceptVisitor(self, visitor): visitor.drawPolygon(self.stringToTupleList(self.points), self.shapeSettings.getSettings());
06453359608f8196f368780a52b6f172d1d410c4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12409/06453359608f8196f368780a52b6f172d1d410c4/ROI_utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2791, 7413, 12, 2890, 16, 8000, 4672, 8000, 18, 9446, 11787, 12, 2890, 18, 1080, 774, 9038, 682, 12, 2890, 18, 4139, 3631, 365, 18, 4867, 2628, 18, 588, 2628, 10663, 2, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2791, 7413, 12, 2890, 16, 8000, 4672, 8000, 18, 9446, 11787, 12, 2890, 18, 1080, 774, 9038, 682, 12, 2890, 18, 4139, 3631, 365, 18, 4867, 2628, 18, 588, 2628, 10663, 2, -100, -100, -10...
"""returns a string representing an object's 'owning' class' fully-qualified name or in the case of a string, returns just the string
"""returns a string representing an object's 'owning' class' fully-qualified name or in the case of a string, returns just the string
def __str__(): """return the properly formatted error given the ITestMethod's status"""
0890a2331ecc0224902839aa0bfb229eaa875f68 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/0890a2331ecc0224902839aa0bfb229eaa875f68/itrial.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 13332, 3536, 2463, 326, 8214, 4955, 555, 864, 326, 467, 4709, 1305, 1807, 1267, 8395, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 701, 972, 13332, 3536, 2463, 326, 8214, 4955, 555, 864, 326, 467, 4709, 1305, 1807, 1267, 8395, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
"""this function suffers from horrible polymorphism sometimes we get a Document, sometimes a plain dict """ if isinstance(document, dict): self.documents_ids.add(document['document_id']) else: self.documents_ids.add(document.document_id)
self.documents_ids.add(document['document_id'])
def addMatch(self, document): """this function suffers from horrible polymorphism sometimes we get a Document, sometimes a plain dict """ if isinstance(document, dict): self.documents_ids.add(document['document_id']) else: self.documents_ids.add(document.document_id)
9b42b264624664d39b69c97853926dcdc1d5c3d7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2259/9b42b264624664d39b69c97853926dcdc1d5c3d7/p2pquerier.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 2060, 12, 2890, 16, 1668, 4672, 3536, 2211, 445, 272, 3809, 414, 628, 29404, 86, 1523, 2952, 2942, 7657, 6228, 16594, 732, 336, 279, 4319, 16, 16594, 279, 7351, 2065, 3536, 309, 154...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 527, 2060, 12, 2890, 16, 1668, 4672, 3536, 2211, 445, 272, 3809, 414, 628, 29404, 86, 1523, 2952, 2942, 7657, 6228, 16594, 732, 336, 279, 4319, 16, 16594, 279, 7351, 2065, 3536, 309, 154...
type="string", dest="HBA/DEV", help="Set ALUA Logical Unit Group")
type="string", dest="HBA/DEV LU_GP_NAME", help="Set ALUA Logical Unit Group")
def main(): parser = OptionParser() parser.add_option("--addlungp", action="callback", callback=tcm_add_alua_lugp, nargs=1, type="string", dest="lu_gp_name", help="Add ALUA Logical Unit Group") parser.add_option("--addtgptgp", action="callback", callback=tcm_add_alua_tgptgp, nargs=1, type="string", dest="tg_pt_gp_name...
4c194d669c66de05e59b8f6bf36c03a86371d1df /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8449/4c194d669c66de05e59b8f6bf36c03a86371d1df/tcm_node.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 225, 2082, 273, 18862, 1435, 2082, 18, 1289, 67, 3482, 2932, 413, 1289, 80, 318, 6403, 3113, 1301, 1546, 3394, 3113, 1348, 33, 5111, 81, 67, 1289, 67, 700, 69, 67, 80, 637...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 225, 2082, 273, 18862, 1435, 2082, 18, 1289, 67, 3482, 2932, 413, 1289, 80, 318, 6403, 3113, 1301, 1546, 3394, 3113, 1348, 33, 5111, 81, 67, 1289, 67, 700, 69, 67, 80, 637...
for fd in set((p2cread, c2pwrite, errwrite))-set((0,1,2)): if fd: os.close(fd)
if p2cread and p2cread not in (0,): os.close(p2cread) if c2pwrite and c2pwrite not in (p2cread, 1): os.close(c2pwrite) if errwrite and errwrite not in (p2cread, c2pwrite, 2): os.close(errwrite)
def _execute_child(self, args, executable, preexec_fn, close_fds, cwd, env, universal_newlines, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite): """Execute program (POSIX version)"""
6c86a85ca0b4c879babe341ee78d780b989ecebe /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3187/6c86a85ca0b4c879babe341ee78d780b989ecebe/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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 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...
server = Server("http://betty.userland.com")
server = ServerProxy("http://betty.userland.com")
def __getattr__(self, name): # magic method dispatcher return _Method(self.__request, name)
d7d5c0a166bfd40e0617fe88635cb21a32c3bc7a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/d7d5c0a166bfd40e0617fe88635cb21a32c3bc7a/xmlrpclib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 1747, 972, 12, 2890, 16, 508, 4672, 468, 8146, 707, 7393, 327, 389, 1305, 12, 2890, 16186, 2293, 16, 508, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 1747, 972, 12, 2890, 16, 508, 4672, 468, 8146, 707, 7393, 327, 389, 1305, 12, 2890, 16186, 2293, 16, 508, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
raise SMTPAuthenticationError(code, resp) return (code, resp)
if code in (235, 503): return (code, resp) raise SMTPAuthenticationError(code, resp)
def encode_plain(user, password): s = "\0%s\0%s" % (user, password) return encode_base64(s.encode('ascii'), eol='')
b35e4efd9e3f99e8a38b5a609a2d5317f5390c37 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8125/b35e4efd9e3f99e8a38b5a609a2d5317f5390c37/smtplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2017, 67, 7446, 12, 1355, 16, 2201, 4672, 272, 273, 1548, 20, 9, 87, 64, 20, 9, 87, 6, 738, 261, 1355, 16, 2201, 13, 327, 2017, 67, 1969, 1105, 12, 87, 18, 3015, 2668, 9184, 19899,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2017, 67, 7446, 12, 1355, 16, 2201, 4672, 272, 273, 1548, 20, 9, 87, 64, 20, 9, 87, 6, 738, 261, 1355, 16, 2201, 13, 327, 2017, 67, 1969, 1105, 12, 87, 18, 3015, 2668, 9184, 19899,...
m = self.add_module('__main__') return execfile(file, m.__dict__)
m = self.add_module('__main__') return execfile(file, m.__dict__)
def r_execfile(self, file):
ce7c76df1b92a89c9b48d025af1313d1dcf28c4f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/ce7c76df1b92a89c9b48d025af1313d1dcf28c4f/rexec.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 436, 67, 4177, 768, 12, 2890, 16, 585, 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, ...
[ 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 436, 67, 4177, 768, 12, 2890, 16, 585, 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, ...
if self._vars.has_key(name): return
def createTest(self, name, val, idx, (acFun, acCtx)): # Make sure creation allowed, create a new column instance but # do not replace the old one if name == self.name: raise error.NoAccessError(idx=idx, name=name) if self._vars.has_key(name): return if val is not None and \ self.maxAccess != 'readcreate' or \ acFun and...
99731021fa5ab2f97046e80c30058ba7fcd1aadf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/587/99731021fa5ab2f97046e80c30058ba7fcd1aadf/SNMPv2-SMI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 4709, 12, 2890, 16, 508, 16, 1244, 16, 2067, 16, 261, 1077, 22783, 16, 1721, 6442, 3719, 30, 468, 4344, 3071, 6710, 2935, 16, 752, 279, 394, 1057, 791, 1496, 468, 741, 486, 1453, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 4709, 12, 2890, 16, 508, 16, 1244, 16, 2067, 16, 261, 1077, 22783, 16, 1721, 6442, 3719, 30, 468, 4344, 3071, 6710, 2935, 16, 752, 279, 394, 1057, 791, 1496, 468, 741, 486, 1453, ...
self._create_private_docs = kwargs.get('private', 1)
def __init__(self, docmap, **kwargs): """ Construct a new HTML formatter, using the given documentation map. @param docmap: The documentation to output. @type docmap: L{DocMap} @param kwargs: Keyword arguments: - C{prj_name}: The name of the project. Defaults to none. (type=C{string}) - C{prj_url}: The target for the...
dad6dd09c82d3878a78d977cc13da79d4420db2b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/dad6dd09c82d3878a78d977cc13da79d4420db2b/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 997, 1458, 16, 2826, 4333, 4672, 3536, 14291, 279, 394, 3982, 4453, 16, 1450, 326, 864, 7323, 852, 18, 632, 891, 997, 1458, 30, 1021, 7323, 358, 876, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 997, 1458, 16, 2826, 4333, 4672, 3536, 14291, 279, 394, 3982, 4453, 16, 1450, 326, 864, 7323, 852, 18, 632, 891, 997, 1458, 30, 1021, 7323, 358, 876, 18,...
sp = os.popen("aesub '$sp' 2>/dev/null", "r").read()[:-1] sp = string.split(sp, os.pathsep)
paths = os.popen("aesub '$sp' 2>/dev/null", "r").read()[:-1] sp.extend(string.split(paths, os.pathsep))
def whereis(file): for dir in string.split(os.environ['PATH'], os.pathsep): f = os.path.join(dir, file) if os.path.isfile(f): try: st = os.stat(f) except OSError: continue if stat.S_IMODE(st[stat.ST_MODE]) & 0111: return f return None
57f4916ea1171ca70f2a80811c88b7a58f9fda7c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12817/57f4916ea1171ca70f2a80811c88b7a58f9fda7c/runtest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1625, 291, 12, 768, 4672, 364, 1577, 316, 533, 18, 4939, 12, 538, 18, 28684, 3292, 4211, 17337, 1140, 18, 803, 10814, 4672, 284, 273, 1140, 18, 803, 18, 5701, 12, 1214, 16, 585, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1625, 291, 12, 768, 4672, 364, 1577, 316, 533, 18, 4939, 12, 538, 18, 28684, 3292, 4211, 17337, 1140, 18, 803, 10814, 4672, 284, 273, 1140, 18, 803, 18, 5701, 12, 1214, 16, 585, 13, ...
str += '<a class="navbar" href="'+`where.module()`+'.html">' str += 'Module</a>&nbsp;&nbsp;&nbsp;</th>\n'
str += self._uid_to_href(where.module(), 'Module', 'navbar') str += '&nbsp;&nbsp;&nbsp;</th>\n'
def _navbar(self, where=None, top=0): """ @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: An identifier indicating what page we're creating a navigation bar for. This is either a...
7e1af2abc702612461ceeb001b4b551d49cb71d3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/7e1af2abc702612461ceeb001b4b551d49cb71d3/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 11589, 3215, 12, 2890, 16, 1625, 33, 7036, 16, 1760, 33, 20, 4672, 3536, 632, 2463, 30, 1021, 3982, 981, 364, 279, 10394, 4653, 603, 326, 864, 618, 434, 1363, 18, 225, 1021, 10394...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 33, 7036, 16, 1760, 33, 20, 4672, 3536, 632, 2463, 30, 1021, 3982, 981, 364, 279, 10394, 4653, 603, 326, 864, 618, 434, 1363, 18, 225, 1021, 10394...
"You seem to no longer be a list member.")
"You seem to no longer be a list member.", user)
def optionslinks(listname, user=user): mlist = MailList.MailList(listname, lock=0) addrs = Utils.FindMatchingAddresses(user, mlist.members, mlist.digest_members) if addrs: addr = Utils.ObscureEmail(addrs[0]) if mlist.obscure_addresses: addr = Utils.ObscureEmail(addr) url = mlist.GetOptionsURL(addr) link = Link(url, mli...
7a8a0554b2a09886fbca63e3de1f1da8ae97ceea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2120/7a8a0554b2a09886fbca63e3de1f1da8ae97ceea/handle_opts.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 702, 7135, 12, 1098, 529, 16, 729, 33, 1355, 4672, 312, 1098, 273, 11542, 682, 18, 6759, 682, 12, 1098, 529, 16, 2176, 33, 20, 13, 11755, 273, 6091, 18, 3125, 9517, 7148, 12, 1355, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 702, 7135, 12, 1098, 529, 16, 729, 33, 1355, 4672, 312, 1098, 273, 11542, 682, 18, 6759, 682, 12, 1098, 529, 16, 2176, 33, 20, 13, 11755, 273, 6091, 18, 3125, 9517, 7148, 12, 1355, 1...
self.conn.execute('INSERT INTO books_authors_link(book, author) VALUES (?,?)', (id, aid))
self.conn.execute('INSERT INTO books_authors_link(book, author) VALUES (?,?)', (id, aid))
def set_authors(self, id, authors, notify=True): ''' `authors`: A list of authors. ''' if not authors: authors = [_('Unknown')] self.conn.execute('DELETE FROM books_authors_link WHERE book=?',(id,)) self.conn.execute('DELETE FROM authors WHERE (SELECT COUNT(id) FROM books_authors_link WHERE author=authors.id) < 1') for...
3d353816487f3e359bbe20780da43c8a5516752e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9125/3d353816487f3e359bbe20780da43c8a5516752e/database2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 19368, 12, 2890, 16, 612, 16, 14494, 16, 5066, 33, 5510, 4672, 9163, 1375, 19368, 68, 30, 432, 666, 434, 14494, 18, 9163, 309, 486, 14494, 30, 14494, 273, 306, 67, 2668, 4874,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19368, 12, 2890, 16, 612, 16, 14494, 16, 5066, 33, 5510, 4672, 9163, 1375, 19368, 68, 30, 432, 666, 434, 14494, 18, 9163, 309, 486, 14494, 30, 14494, 273, 306, 67, 2668, 4874,...
Uses Denis Simon's GP/PARI scripts from \url{http://www.math.unicaen.fr/~simon/}.
Uses Denis Simon's GP/PARI scripts from http://www.math.unicaen.fr/~simon/.
def simon_two_descent(self, verbose=0, lim1=5, lim3=50, limtriv=10, maxprob=20, limbigprime=30): r""" Computes lower and upper bounds on the rank of the Mordell-Weil group, and a list of independent points. INPUT:
650f1818f624820481186d5c23dd6c8792ace92e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/650f1818f624820481186d5c23dd6c8792ace92e/ell_number_field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3142, 265, 67, 15415, 67, 5569, 319, 12, 2890, 16, 3988, 33, 20, 16, 20167, 21, 33, 25, 16, 20167, 23, 33, 3361, 16, 20167, 313, 427, 33, 2163, 16, 943, 7748, 33, 3462, 16, 20167, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3142, 265, 67, 15415, 67, 5569, 319, 12, 2890, 16, 3988, 33, 20, 16, 20167, 21, 33, 25, 16, 20167, 23, 33, 3361, 16, 20167, 313, 427, 33, 2163, 16, 943, 7748, 33, 3462, 16, 20167, ...
num_events = (tokenlist[2].split('.'))[0] line_to_write = "resource events " + str(num_events) + "0\n"
num_events = float(tokenlist[2]) line_to_write = "resource events " + str(num_events * 10) + "\n"
def main(): global configuration # Initialize the service logger. servicelogger.init('nodemanager') # ensure that only one instance is running at a time... gotlock = runonce.getprocesslock("seattlenodemanager") if gotlock == True: # I got the lock. All is well... pass else: if gotlock: servicelogger.log("[ERROR]:A...
18beceef477dad7911d3edd4c5ddb872085a365c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7263/18beceef477dad7911d3edd4c5ddb872085a365c/nmmain.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 225, 2552, 1664, 225, 468, 9190, 326, 1156, 1194, 18, 24658, 12970, 693, 18, 2738, 2668, 2159, 4181, 6134, 225, 468, 3387, 716, 1338, 1245, 791, 353, 3549, 622, 279, 813, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 225, 2552, 1664, 225, 468, 9190, 326, 1156, 1194, 18, 24658, 12970, 693, 18, 2738, 2668, 2159, 4181, 6134, 225, 468, 3387, 716, 1338, 1245, 791, 353, 3549, 622, 279, 813, 27...
if not data.startswith("<?xml"): data = '<?xml version="1.0" ?>\n' + data self.feed(data) self.close() return self.root def add(self, node): self.node.addNode(node) def push(self, node): self.node.addNode(node) self.node=self.node.__nodes__[-1] def pop(self): self.node=self.node.aq_parent def unknown_starttag(sel...
self.dom=minidom.parseString(data) return Node(self.dom)
def parse(self, data): # prepending a XML preample to make xmllib happy # (Collector #863) if not data.startswith("<?xml"): data = '<?xml version="1.0" ?>\n' + data self.feed(data) self.close() return self.root
e4679cb4de3e61d889e778f09116cd5b6da0fcf9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/e4679cb4de3e61d889e778f09116cd5b6da0fcf9/xmltools.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 501, 4672, 468, 8254, 310, 279, 3167, 675, 1511, 358, 1221, 2025, 2941, 5622, 2074, 468, 261, 7134, 468, 28, 4449, 13, 309, 486, 501, 18, 17514, 1918, 2932, 12880, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 501, 4672, 468, 8254, 310, 279, 3167, 675, 1511, 358, 1221, 2025, 2941, 5622, 2074, 468, 261, 7134, 468, 28, 4449, 13, 309, 486, 501, 18, 17514, 1918, 2932, 12880, ...
def srp(x,iface=None,filter=None,type=None, *args,**kargs):
def srp(x,iface=None,filter=None,type=ETH_P_ALL, *args,**kargs):
def srp(x,iface=None,filter=None,type=None, *args,**kargs): """Send and receive packets at layer 2""" if not kargs.has_key("timeout"): kargs["timeout"] = -1 a,b,c=sndrcv(conf.L2socket(iface=iface, filter=filter, type=type),x,*args,**kargs) return a,b
f48dcff41c3f3bed52e1b9f9918702e26d1ade9a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7311/f48dcff41c3f3bed52e1b9f9918702e26d1ade9a/scapy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9133, 84, 12, 92, 16, 31479, 33, 7036, 16, 2188, 33, 7036, 16, 723, 33, 1584, 44, 67, 52, 67, 4685, 16, 380, 1968, 16, 636, 79, 1968, 4672, 3536, 3826, 471, 6798, 12640, 622, 3018, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9133, 84, 12, 92, 16, 31479, 33, 7036, 16, 2188, 33, 7036, 16, 723, 33, 1584, 44, 67, 52, 67, 4685, 16, 380, 1968, 16, 636, 79, 1968, 4672, 3536, 3826, 471, 6798, 12640, 622, 3018, ...
if not hasattr(irc.getRealIrc(), "_Freenode_capabed") and not force:
if not hasattr(irc.getRealIrc(), "_Freenode_capabed") or force:
def do376(self, irc, msg, force=False): # End of /MOTD command. """ The new freenode ircd-seven requires using the 'CAP' command to set capabilities, rather than hyperirons 'CAPAB' command. You request "CAP REQ IDENTIFY-MSG" and the server will respond with either "CAP <nick> ACK :identify-msg" to acknowledge, or "CAP ...
f6b26f34086eecb0b73d235dc35bf6088320db8b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3124/f6b26f34086eecb0b73d235dc35bf6088320db8b/plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 6418, 26, 12, 2890, 16, 277, 1310, 16, 1234, 16, 2944, 33, 8381, 4672, 468, 4403, 434, 342, 49, 1974, 40, 1296, 18, 3536, 1021, 394, 284, 2842, 390, 277, 1310, 72, 17, 307, 3995...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 6418, 26, 12, 2890, 16, 277, 1310, 16, 1234, 16, 2944, 33, 8381, 4672, 468, 4403, 434, 342, 49, 1974, 40, 1296, 18, 3536, 1021, 394, 284, 2842, 390, 277, 1310, 72, 17, 307, 3995...
if os.environ['LIBTBX_RUN_SCONS_WITHOUT_WARNINGS']:
if (os.environ.get("LIBTBX_RUN_SCONS_WITHOUT_WARNINGS") is not None):
def run(): engine_path = find_scons_engine_path() if (engine_path is not None): sys.path.insert(0, engine_path) try: import SCons except ImportError: del sys.path[0] try: import SCons.Script except ImportError: msg = ["SCons is not available.", " A possible solution is to unpack a SCons distribution in", " one of the...
84dab298c8526c200bb8f7b9fcdd11c6a6ae8499 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/696/84dab298c8526c200bb8f7b9fcdd11c6a6ae8499/scons.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 13332, 4073, 67, 803, 273, 1104, 67, 87, 8559, 67, 8944, 67, 803, 1435, 309, 261, 8944, 67, 803, 353, 486, 599, 4672, 2589, 18, 803, 18, 6387, 12, 20, 16, 4073, 67, 803, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 13332, 4073, 67, 803, 273, 1104, 67, 87, 8559, 67, 8944, 67, 803, 1435, 309, 261, 8944, 67, 803, 353, 486, 599, 4672, 2589, 18, 803, 18, 6387, 12, 20, 16, 4073, 67, 803, 13, ...
print "bans=", self.chanbans.keys()
LOG.debug( "bans=" + self.chanbans.keys() )
def gotChanModes(self, whoset, change, nicks):
f899ea488d0fb3cf67e370d92f3f2890bfe0d05e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12372/f899ea488d0fb3cf67e370d92f3f2890bfe0d05e/dtella_bridgeserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2363, 6255, 18868, 12, 2890, 16, 600, 538, 278, 16, 2549, 16, 10909, 87, 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, ...
[ 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2363, 6255, 18868, 12, 2890, 16, 600, 538, 278, 16, 2549, 16, 10909, 87, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
sorted.sort(cmp0) for fl, stl in sorted: yield 'f', fl, stl
sorted.sort(cmp1) for e in sorted: yield e
def seen(fn): if fn in known: return True known[fn] = 1
96032505f683e49a6628cd8635161914c169b238 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/96032505f683e49a6628cd8635161914c169b238/dirstate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5881, 12, 4293, 4672, 309, 2295, 316, 4846, 30, 327, 1053, 4846, 63, 4293, 65, 273, 404, 2, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5881, 12, 4293, 4672, 309, 2295, 316, 4846, 30, 327, 1053, 4846, 63, 4293, 65, 273, 404, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
NotImplementedError: 3d plotting not implemented for Graphics primitive """ raise NotImplementedError, "3d plotting not implemented for %s" % self._repr_()
NotImplementedError: 3D plotting not implemented for Graphics primitive """ raise NotImplementedError, "3D plotting not implemented for %s" % self._repr_()
def plot3d(self, **kwds): """ Plots 3D version of 2D graphics object. Not implemented for base class.
f5911b48af58e087054aed55c1fd8bdd9af44c11 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/f5911b48af58e087054aed55c1fd8bdd9af44c11/primitive.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3207, 23, 72, 12, 2890, 16, 2826, 25577, 4672, 3536, 3008, 6968, 890, 40, 1177, 434, 576, 40, 17313, 733, 18, 225, 2288, 8249, 364, 1026, 667, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3207, 23, 72, 12, 2890, 16, 2826, 25577, 4672, 3536, 3008, 6968, 890, 40, 1177, 434, 576, 40, 17313, 733, 18, 225, 2288, 8249, 364, 1026, 667, 18, 2, -100, -100, -100, -100, -100, -100...
{'port': 8000, 'docroot': _webkit_tests}, {'port': 8080, 'docroot': _webkit_tests}, {'port': 8443, 'docroot': _webkit_tests, 'sslcert': _pem_file}, {'port': 9000, 'docroot': _pending_tests}, {'port': 9080, 'docroot': _pending_tests}, {'port': 9443, 'docroot': _pending_tests, 'sslcert': _pem_file},
def PathFromBase(*pathies): return google.path_utils.FindUpward(THISDIR, *pathies)
511bc35a87f7be79eae745963bf57e6b7b96aa97 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5060/511bc35a87f7be79eae745963bf57e6b7b96aa97/http_server.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2666, 1265, 2171, 30857, 803, 606, 4672, 327, 5200, 18, 803, 67, 5471, 18, 3125, 1211, 2913, 12, 2455, 5127, 4537, 16, 380, 803, 606, 13, 225, 2, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2666, 1265, 2171, 30857, 803, 606, 4672, 327, 5200, 18, 803, 67, 5471, 18, 3125, 1211, 2913, 12, 2455, 5127, 4537, 16, 380, 803, 606, 13, 225, 2, -100, -100, -100, -100, -100, -100, -1...
page.append('<!-- build: %s avg: %02.5f count: %d stddev: %02.5f -->\n' % (buildkey, avg, n, v))
page.append('<!-- build: %s avg: %02.5fs count: %d stddev: %02.5fs -->\n' % (buildkey, avg*60, n, v*60))
def generateSummaryPage(self, pagename, tests, startdate, enddate): # tests { testname: { build: { date: { hour: [ (testname, itemDateTime, delta.days, buildname, hour, revision, runs, total, average) ] }}}}
43dbd9c32ee1466b10babbd57467db663088a153 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/43dbd9c32ee1466b10babbd57467db663088a153/perf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 4733, 1964, 12, 2890, 16, 4262, 1069, 16, 7434, 16, 787, 712, 16, 679, 712, 4672, 468, 7434, 288, 1842, 529, 30, 288, 1361, 30, 288, 1509, 30, 288, 6126, 30, 306, 261, 3813, 52...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2103, 4733, 1964, 12, 2890, 16, 4262, 1069, 16, 7434, 16, 787, 712, 16, 679, 712, 4672, 468, 7434, 288, 1842, 529, 30, 288, 1361, 30, 288, 1509, 30, 288, 6126, 30, 306, 261, 3813, 52...
return _Latex_prefs._option["pdflatex"] _Latex_prefs._option["pdflatex"] = bool(t)
from sage.misc.misc import deprecation deprecation('Use engine() instead.') return _Latex_prefs._option["engine"] == "pdflatex" elif t: from sage.misc.misc import deprecation deprecation('Use engine("pdflatex") instead.') self.engine("pdflatex") else: from sage.misc.misc import deprecation deprecation('Use engine("late...
def pdflatex(self, t = None): """ Controls whether Sage uses PDFLaTeX or LaTeX when typesetting with :func:`view`, in ``%latex`` cells, etc. INPUT: - ``t`` -- boolean or None
f861246ed3920cddfa7558f769e8b83392788530 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/f861246ed3920cddfa7558f769e8b83392788530/latex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8169, 26264, 12, 2890, 16, 268, 273, 599, 4672, 3536, 8888, 87, 2856, 348, 410, 4692, 12667, 30745, 21575, 60, 578, 21072, 21575, 60, 1347, 1953, 278, 1787, 598, 294, 644, 28288, 1945, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8169, 26264, 12, 2890, 16, 268, 273, 599, 4672, 3536, 8888, 87, 2856, 348, 410, 4692, 12667, 30745, 21575, 60, 578, 21072, 21575, 60, 1347, 1953, 278, 1787, 598, 294, 644, 28288, 1945, 9...
"""Initialize a ExternalCommand instance, specifying the command to be executed and eventually the working directory."""
""" Initialize a ExternalCommand instance, specifying the command to be executed and eventually the working directory. The instance will use the logger ``tailor.shell``. """
def __init__(self, command=None, cwd=None): """Initialize a ExternalCommand instance, specifying the command to be executed and eventually the working directory."""
d5415c55d5b8dc74b99345bfb181f78241cd6323 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5981/d5415c55d5b8dc74b99345bfb181f78241cd6323/shwrap.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1296, 33, 7036, 16, 7239, 33, 7036, 4672, 3536, 7520, 279, 11352, 2189, 791, 16, 13664, 326, 1296, 358, 506, 7120, 471, 18011, 326, 5960, 1867, 12123, 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, 0, 0, 0, 0, 0, 0, 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, 1296, 33, 7036, 16, 7239, 33, 7036, 4672, 3536, 7520, 279, 11352, 2189, 791, 16, 13664, 326, 1296, 358, 506, 7120, 471, 18011, 326, 5960, 1867, 12123, 2, ...
ki[0,q] = s0 + sum([ kj[0,t] for t in range(q+1) ]) ki[1,q] = s1 + sum([ kj[1,t] for t in range(q+1) ]) ki[2,q] = s2 + sum([ kj[2,t] for t in range(q+1) ]) ki[3,q] = s3 + sum([ kj[3,t] for t in range(q+1) ])
ki[0, q] = s0 + sum([ kj[0, t] for t in range(q+1) ]) ki[1, q] = s1 + sum([ kj[1, t] for t in range(q+1) ]) ki[2, q] = s2 + sum([ kj[2, t] for t in range(q+1) ]) ki[3, q] = s3 + sum([ kj[3, t] for t in range(q+1) ])
def key_schedule(self, kj, i): """ Return $k_i$ for a given $i$ and $k_j$ with $j = i-1$. TESTS: sage: sr = mq.SR(10,4,4,8, star=True, allow_zero_inversions=True) sage: ki = sr.state_array() sage: for i in range(10): ... ki = sr.key_schedule(ki,i+1) sage: print sr.hex_str_matrix(ki) B4 3E 23 6F EF 92 E9 8F 5B E2 51 1...
e506ccc2459e6e3948659b0d1b28d9d6b70342e4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/e506ccc2459e6e3948659b0d1b28d9d6b70342e4/sr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 498, 67, 10676, 12, 2890, 16, 417, 78, 16, 277, 4672, 3536, 2000, 271, 79, 67, 77, 8, 364, 279, 864, 271, 77, 8, 471, 271, 79, 67, 78, 8, 598, 271, 78, 273, 277, 17, 21, 8, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 498, 67, 10676, 12, 2890, 16, 417, 78, 16, 277, 4672, 3536, 2000, 271, 79, 67, 77, 8, 364, 279, 864, 271, 77, 8, 471, 271, 79, 67, 78, 8, 598, 271, 78, 273, 277, 17, 21, 8, 18,...
self.getAuthenticationTool()._doDelUserRoles(name)
self.getAuthenticationTool()._doDelUserRoles([name])
def admin_revokeuserroles(self, name='', roles=[], REQUEST=None): """ Revoke roles from an user. """ for t in self.utConvertToList(roles): role, location = t.split('||') if location == '/': location = '' loc = self.unrestrictedTraverse(location) if location != '': res = self.utListDifference(loc.get_local_roles_for_use...
aa33a854943b2921f13ed7c01605910bdd4627a9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3287/aa33a854943b2921f13ed7c01605910bdd4627a9/CHMSite.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3981, 67, 9083, 3056, 1355, 7774, 12, 2890, 16, 508, 2218, 2187, 4900, 22850, 6487, 12492, 33, 7036, 4672, 3536, 23863, 4900, 628, 392, 729, 18, 3536, 364, 268, 316, 365, 18, 322, 2723, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3981, 67, 9083, 3056, 1355, 7774, 12, 2890, 16, 508, 2218, 2187, 4900, 22850, 6487, 12492, 33, 7036, 4672, 3536, 23863, 4900, 628, 392, 729, 18, 3536, 364, 268, 316, 365, 18, 322, 2723, ...
def __init__(self, resources):
def __init__(self, txn, resources): self._txn = txn
def __init__(self, resources): self._resources = resources
fbc8326d16094b1c5281d42c2bcf4f150c2b854f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10048/fbc8326d16094b1c5281d42c2bcf4f150c2b854f/manager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 7827, 16, 2703, 4672, 365, 6315, 24790, 273, 7827, 365, 6315, 4683, 273, 2703, 2, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7827, 16, 2703, 4672, 365, 6315, 24790, 273, 7827, 365, 6315, 4683, 273, 2703, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
sel.click("//a[@id='l_event_" + id + "']")
sel.click("//a[@id='event_upcoming[%i]']"%id)
def soon_test_delete_event_basic(self):
c1fb7da89e650178ac071c8c07dfecee3d9a104e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5139/c1fb7da89e650178ac071c8c07dfecee3d9a104e/create_event.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17136, 67, 3813, 67, 3733, 67, 2575, 67, 13240, 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, ...
[ 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17136, 67, 3813, 67, 3733, 67, 2575, 67, 13240, 12, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
log.info("Deleting %s", filename) if not self.dry_run: if os.path.isdir(filename) and not os.path.islink(filename): shutil.rmtree(filename) else: os.unlink(filename)
if os.path.exists(filename) or os.path.islink(filename): log.info("Deleting %s", filename) if not self.dry_run: if os.path.isdir(filename) and not os.path.islink(filename): shutil.rmtree(filename) else: os.unlink(filename)
def delete_blockers(self, blockers): for filename in blockers: log.info("Deleting %s", filename) if not self.dry_run: if os.path.isdir(filename) and not os.path.islink(filename): shutil.rmtree(filename) else: os.unlink(filename)
78a680c55cab1f7258f120c27fd0bcfe21625751 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8186/78a680c55cab1f7258f120c27fd0bcfe21625751/easy_install.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1430, 67, 2629, 414, 12, 2890, 16, 1203, 414, 4672, 364, 1544, 316, 1203, 414, 30, 613, 18, 1376, 2932, 20433, 738, 87, 3113, 1544, 13, 309, 486, 365, 18, 25011, 67, 2681, 30, 309, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1430, 67, 2629, 414, 12, 2890, 16, 1203, 414, 4672, 364, 1544, 316, 1203, 414, 30, 613, 18, 1376, 2932, 20433, 738, 87, 3113, 1544, 13, 309, 486, 365, 18, 25011, 67, 2681, 30, 309, 1...
this = apply(_quickfix.new_RegistEmail, args)
this = _quickfix.new_RegistEmail(*args)
def __init__(self, *args): this = apply(_quickfix.new_RegistEmail, args) try: self.this.append(this) except: self.this = this
7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 1617, 376, 4134, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 1617, 376, 4134, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, 3...