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
instance_names = self.wanted instance_list = [self.cfg.GetInstanceInfo(iname) for iname in instance_names]
all_info = self.cfg.GetAllInstancesInfo() if self.do_locking: instance_names = self.acquired_locks[locking.LEVEL_INSTANCE] else: instance_names = all_info.keys() instance_list = [all_info[iname] for iname in instance_names]
def Exec(self, feedback_fn): """Computes the list of nodes and their attributes.
57a2fb91c82b31e727dedd697b564d04e440dcf3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7542/57a2fb91c82b31e727dedd697b564d04e440dcf3/cmdlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3889, 12, 2890, 16, 10762, 67, 4293, 4672, 3536, 10743, 326, 666, 434, 2199, 471, 3675, 1677, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3889, 12, 2890, 16, 10762, 67, 4293, 4672, 3536, 10743, 326, 666, 434, 2199, 471, 3675, 1677, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
self.check_loops({'jump': 1, 'merge_point': 1,
self.check_loops({'jump': 1,
def f(i): counter = 20 c = 0 while counter > 0: myjitdriver.can_enter_jit(counter=counter, i=i) myjitdriver.jit_merge_point(counter=counter, i=i) s = lst[i] c = len(s) counter -= 1 return c
e2b9e78dd5310255c0d5e1aaae274854a5f5137f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6934/e2b9e78dd5310255c0d5e1aaae274854a5f5137f/test_send.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 284, 12, 77, 4672, 3895, 273, 4200, 276, 273, 374, 1323, 3895, 405, 374, 30, 3399, 78, 305, 7407, 18, 4169, 67, 2328, 67, 78, 305, 12, 7476, 33, 7476, 16, 277, 33, 77, 13, 3399, 78...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 284, 12, 77, 4672, 3895, 273, 4200, 276, 273, 374, 1323, 3895, 405, 374, 30, 3399, 78, 305, 7407, 18, 4169, 67, 2328, 67, 78, 305, 12, 7476, 33, 7476, 16, 277, 33, 77, 13, 3399, 78...
keys = [k for k in keys if k.name.endswith(self._separator)]
keys = ((nm,k) for (nm,k) in keys if k.name.endswith(sep))
def _filter_keys(self,path,keys,wildcard,full,absolute,dirs_only,files_only): """Filter out keys not matching the given criteria.
8ef6d26a6a9b6416ad98420a072855a138f4fecc /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5579/8ef6d26a6a9b6416ad98420a072855a138f4fecc/s3fs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2188, 67, 2452, 12, 2890, 16, 803, 16, 2452, 16, 22887, 16, 2854, 16, 12547, 16, 8291, 67, 3700, 16, 2354, 67, 3700, 4672, 3536, 1586, 596, 1311, 486, 3607, 326, 864, 3582, 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, 0, 0, 0, 0, 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, 2188, 67, 2452, 12, 2890, 16, 803, 16, 2452, 16, 22887, 16, 2854, 16, 12547, 16, 8291, 67, 3700, 16, 2354, 67, 3700, 4672, 3536, 1586, 596, 1311, 486, 3607, 326, 864, 3582, 18, ...
text = publish_string(source = self.raw, writer = MoinWriter(formatter, self.request), enable_exit = None, settings_overrides = {'traceback': 1})
parts = publish_parts(source = self.raw, writer = MoinWriter(formatter, self.request), settings_overrides = {'traceback': 1}) text = '<h2>' + parts['title'] + '</h2>' text += '<h3>' + parts['subtitle'] + '</h3>' text += parts['fragment']
def format(self, formatter): text = publish_string(source = self.raw, writer = MoinWriter(formatter, self.request), enable_exit = None, settings_overrides = {'traceback': 1}) self.request.write(html_escape_unicode(text))
808a47ec40289463ede8bbc7eb49b0efcce50bb6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1278/808a47ec40289463ede8bbc7eb49b0efcce50bb6/rst.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 12, 2890, 16, 4453, 4672, 2140, 273, 225, 3808, 67, 6019, 12, 3168, 273, 365, 18, 1899, 16, 2633, 273, 490, 885, 2289, 12, 12354, 16, 365, 18, 2293, 3631, 1947, 67, 19775, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 2890, 16, 4453, 4672, 2140, 273, 225, 3808, 67, 6019, 12, 3168, 273, 365, 18, 1899, 16, 2633, 273, 490, 885, 2289, 12, 12354, 16, 365, 18, 2293, 3631, 1947, 67, 19775, 273, ...
- resp: server response if succesful
- resp: server response if successful
def xover(self,start,end): """Process an XOVER command (optional server extension) Arguments: - start: start of range - end: end of range Returns: - resp: server response if succesful - list: list of (art-nr, subject, poster, date, id, references, size, lines)"""
2b9ab6deeb822299ae8e193ffb4fa9d7bd4be97e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2120/2b9ab6deeb822299ae8e193ffb4fa9d7bd4be97e/nntplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 619, 1643, 12, 2890, 16, 1937, 16, 409, 4672, 3536, 2227, 392, 1139, 12959, 1296, 261, 10444, 1438, 2710, 13, 13599, 30, 300, 787, 30, 787, 434, 1048, 300, 679, 30, 679, 434, 1048, 286...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 619, 1643, 12, 2890, 16, 1937, 16, 409, 4672, 3536, 2227, 392, 1139, 12959, 1296, 261, 10444, 1438, 2710, 13, 13599, 30, 300, 787, 30, 787, 434, 1048, 300, 679, 30, 679, 434, 1048, 286...
limit = (readBlockSize(keyRing, packetType & 3) + (packetType & 3) + 1 + startLoc)
readBlockSize(keyRing, packetType)
def getGPGKeyTuple(keyId, keyRing, secret=0, passPhrase=''): startPoint = keyRing.tell() keyRing.seek(0, SEEK_END) limit = keyRing.tell() if limit == 0: # empty file, there can be no keys in it raise KeyNotFound(keyId) if secret: assertSigningKey(keyId, keyRing) keyRing.seek(0) while (keyId not in getKeyId(keyRing)): s...
b44b5e443cfcd74ac611138e7368458698f50b96 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/b44b5e443cfcd74ac611138e7368458698f50b96/openpgpfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7162, 18679, 653, 9038, 12, 856, 548, 16, 498, 10369, 16, 4001, 33, 20, 16, 1342, 12812, 2218, 11, 4672, 787, 2148, 273, 498, 10369, 18, 88, 1165, 1435, 498, 10369, 18, 16508, 12, 20, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7162, 18679, 653, 9038, 12, 856, 548, 16, 498, 10369, 16, 4001, 33, 20, 16, 1342, 12812, 2218, 11, 4672, 787, 2148, 273, 498, 10369, 18, 88, 1165, 1435, 498, 10369, 18, 16508, 12, 20, ...
"""
"""
def fl_set_glcanvas_defaults(config): """ fl_set_glcanvas_defaults(config): """ _fl_set_glcanvas_defaults(config)
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 542, 67, 7043, 15424, 67, 7606, 12, 1425, 4672, 3536, 1183, 67, 542, 67, 7043, 15424, 67, 7606, 12, 1425, 4672, 3536, 225, 389, 2242, 67, 542, 67, 7043, 15424, 67, 7606, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1183, 67, 542, 67, 7043, 15424, 67, 7606, 12, 1425, 4672, 3536, 1183, 67, 542, 67, 7043, 15424, 67, 7606, 12, 1425, 4672, 3536, 225, 389, 2242, 67, 542, 67, 7043, 15424, 67, 7606, 12, ...
v[0] = tmp_bit
v[0] = tmp_bit
def NKStarGraph(self,n,k): r''' Returns the (n,k)-star graph. The vertices of the (n,k)-star graph are the set of all arangements of n symbols into labels of length k. There are two adjacency rules for the (n,k)-star graph. Frist, two vertices are adjacent if one can be obtained from the other by swapping the first sy...
aa71796c41743b21cf5dd66d16cf6af9c8e363ee /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/aa71796c41743b21cf5dd66d16cf6af9c8e363ee/graph_generators.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 423, 47, 18379, 4137, 12, 2890, 16, 82, 16, 79, 4672, 436, 26418, 2860, 326, 261, 82, 16, 79, 24950, 10983, 2667, 18, 225, 1021, 6928, 434, 326, 261, 82, 16, 79, 24950, 10983, 2667, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 423, 47, 18379, 4137, 12, 2890, 16, 82, 16, 79, 4672, 436, 26418, 2860, 326, 261, 82, 16, 79, 24950, 10983, 2667, 18, 225, 1021, 6928, 434, 326, 261, 82, 16, 79, 24950, 10983, 2667, ...
cr.execute('Update crm_meeting set caldav_alarm_id=%s \ where id=%s' % (alarm_id, meeting.id))
cr.execute('Update crm_meeting set caldav_alarm_id=%s, \ alarm_id=%s where id=%s' % (alarm_id, basic_alarm.id, meeting.id))
def do_alarm_create(self, cr, uid, ids, context={}): alarm_obj = self.pool.get('calendar.alarm') model_obj = self.pool.get('ir.model') model_id = model_obj.search(cr, uid, [('model', '=', self._name)])[0]
26cfa4092073a5af135483c80028c6b7529d485f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/26cfa4092073a5af135483c80028c6b7529d485f/crm_meeting.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 20681, 67, 2640, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 12938, 4672, 13721, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 11650, 18, 20681, 6134, 938, 67, 2603, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20681, 67, 2640, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 12938, 4672, 13721, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 11650, 18, 20681, 6134, 938, 67, 2603, 273, ...
struct.pack(mask2, self.update, self.btclock, self.timestamp)
struct.pack(self.mask2, self.update, self.btclock, self.timestamp)
def encode(self): return CSPRequest.encode(self) + \ struct.pack(mask2, self.update, self.btclock, self.timestamp)
5ab73709fd24f71f38fc2ed06c5d1fbb3996f217 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8028/5ab73709fd24f71f38fc2ed06c5d1fbb3996f217/mcap_defs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2017, 12, 2890, 4672, 327, 385, 3118, 691, 18, 3015, 12, 2890, 13, 397, 521, 1958, 18, 2920, 12, 4455, 22, 16, 365, 18, 2725, 16, 365, 18, 70, 5111, 739, 16, 365, 18, 5508, 13, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2017, 12, 2890, 4672, 327, 385, 3118, 691, 18, 3015, 12, 2890, 13, 397, 521, 1958, 18, 2920, 12, 4455, 22, 16, 365, 18, 2725, 16, 365, 18, 70, 5111, 739, 16, 365, 18, 5508, 13, 2, ...
body += ' ' + _("Password:") + " %s\n" % ("*" * len(password))
body += ' ' + _("Password:") + " %s\n" % ("*" * len(str(password)))
def send_new_user_account_warning(new_account_email, send_to, password, ln=CFG_SITE_LANG): """Send an email to the address given by send_to about the new account new_account_email.""" _ = gettext_set_language(ln) sub = _("Account created on '%s'") % CFG_SITE_NAME body = _("An account has been created for you on '%s':")...
8810b7577517bd09983e6619dbcc9390f71d279b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1931/8810b7577517bd09983e6619dbcc9390f71d279b/webaccessadmin_lib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 67, 2704, 67, 1355, 67, 4631, 67, 8551, 12, 2704, 67, 4631, 67, 3652, 16, 1366, 67, 869, 16, 2201, 16, 7211, 33, 19727, 67, 20609, 67, 10571, 4672, 3536, 3826, 392, 2699, 358, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1366, 67, 2704, 67, 1355, 67, 4631, 67, 8551, 12, 2704, 67, 4631, 67, 3652, 16, 1366, 67, 869, 16, 2201, 16, 7211, 33, 19727, 67, 20609, 67, 10571, 4672, 3536, 3826, 392, 2699, 358, ...
datas = self.pool.get(model).read(cr, uid, [id], fields, context)
try: datas = self.pool.get(model).read(cr, uid, [id], fields, context) except except_orm: return False
def _result_get(x, keys): if x[1] in keys: return False keys.append(x[1]) if x[3]: model,id = x[2].split(',') id = int(id) fields = self.pool.get(model).fields_get_keys(cr, uid) pos = 0 while pos<len(fields): if fields[pos] in ('report_sxw_content', 'report_rml_content', 'report_sxw', 'report_rml', 'report_sxw_content_...
8e7b6c87d6f5371564286e73f3e3459e590f066a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/8e7b6c87d6f5371564286e73f3e3459e590f066a/ir_values.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2088, 67, 588, 12, 92, 16, 1311, 4672, 309, 619, 63, 21, 65, 316, 1311, 30, 327, 1083, 1311, 18, 6923, 12, 92, 63, 21, 5717, 309, 619, 63, 23, 14542, 938, 16, 350, 273, 619, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2088, 67, 588, 12, 92, 16, 1311, 4672, 309, 619, 63, 21, 65, 316, 1311, 30, 327, 1083, 1311, 18, 6923, 12, 92, 63, 21, 5717, 309, 619, 63, 23, 14542, 938, 16, 350, 273, 619, ...
assert s_arg is not None
if s_arg is None: return False
def annotate_hook(self, func, variables, args_s=[], **kwds_s): if func is None: return bk = self.bookkeeper s_func = bk.immutablevalue(func) uniquekey = 'jitdriver.%s' % func.func_name args_s = args_s[:] for name in variables: if '.' not in name: s_arg = kwds_s['s_' + name] else: objname, fieldname = name.split('.') s_...
b12180b5de3f693496ad9c18fa99946ad1883dfb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6934/b12180b5de3f693496ad9c18fa99946ad1883dfb/jit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13795, 67, 4476, 12, 2890, 16, 1326, 16, 3152, 16, 833, 67, 87, 22850, 6487, 2826, 25577, 67, 87, 4672, 309, 1326, 353, 599, 30, 327, 22723, 273, 365, 18, 3618, 79, 9868, 272, 67, 64...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13795, 67, 4476, 12, 2890, 16, 1326, 16, 3152, 16, 833, 67, 87, 22850, 6487, 2826, 25577, 67, 87, 4672, 309, 1326, 353, 599, 30, 327, 22723, 273, 365, 18, 3618, 79, 9868, 272, 67, 64...
http_stream.__init__(self, conn = conn)
http_stream.__init__(self, sock = sock)
def __init__(self, conn, handlers, cert = None, key = None, ta = (), dynamic_ta = None): self.log("Starting") self.handlers = handlers http_stream.__init__(self, conn = conn) self.expect_close = not want_persistent_server
21ba16becd2cacb82de2177f2ccb1780daa110ff /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/119/21ba16becd2cacb82de2177f2ccb1780daa110ff/https.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1487, 16, 4919, 16, 3320, 273, 599, 16, 498, 273, 599, 16, 13561, 273, 1832, 16, 5976, 67, 2351, 273, 599, 4672, 365, 18, 1330, 2932, 11715, 7923, 365, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1487, 16, 4919, 16, 3320, 273, 599, 16, 498, 273, 599, 16, 13561, 273, 1832, 16, 5976, 67, 2351, 273, 599, 4672, 365, 18, 1330, 2932, 11715, 7923, 365, ...
return "Python Shell"
return self.shell_title
def short_title(self): return "Python Shell"
eeb88076e7f4a89ce76d271379ca0aced0c2d6c7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/eeb88076e7f4a89ce76d271379ca0aced0c2d6c7/PyShell.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3025, 67, 2649, 12, 2890, 4672, 327, 315, 15774, 19433, 6, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3025, 67, 2649, 12, 2890, 4672, 327, 315, 15774, 19433, 6, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
elif name == "index.txt":
elif name.endswith("index.txt"):
def __init__(self, stream, parent, has_name=True, use_bank=False, has_separator=False): OnDemandFilter.__init__(self, "worms2_res", "Worms2 resource", stream, parent, "<") guess = stream.getN(3, False) if guess not in Resource.tag_name: self.name = "Strange chunk!?" self.addPadding() return self.tag = self.doRead("tag"...
6ad82742aeb5ce248df132848aa70c0a386a8d2d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2280/6ad82742aeb5ce248df132848aa70c0a386a8d2d/worms2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1407, 16, 982, 16, 711, 67, 529, 33, 5510, 16, 999, 67, 10546, 33, 8381, 16, 711, 67, 11287, 33, 8381, 4672, 2755, 25461, 1586, 16186, 2738, 972, 12, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1407, 16, 982, 16, 711, 67, 529, 33, 5510, 16, 999, 67, 10546, 33, 8381, 16, 711, 67, 11287, 33, 8381, 4672, 2755, 25461, 1586, 16186, 2738, 972, 12, 2...
+ html_page[match.end():]]
+ html_page[match.start():]]
def add_error(self, html_page, html_errors): add_text = ('<pre style="background-color: #ffd; color: #600; ' 'border: 1px solid #000;">%s</pre>' % cgi.escape(html_errors)) match = self._end_body_regex.search(html_page) if match: return [html_page[:match.start()] + add_text + html_page[match.end():]] else: return [html_...
417afb105e3d5d8a57ef013d1cd708b371755855 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11400/417afb105e3d5d8a57ef013d1cd708b371755855/wdg_validate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 1636, 12, 2890, 16, 1729, 67, 2433, 16, 1729, 67, 4324, 4672, 527, 67, 955, 273, 7707, 32, 1484, 2154, 1546, 9342, 17, 3266, 30, 468, 1403, 72, 31, 2036, 30, 468, 28133, 31,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 67, 1636, 12, 2890, 16, 1729, 67, 2433, 16, 1729, 67, 4324, 4672, 527, 67, 955, 273, 7707, 32, 1484, 2154, 1546, 9342, 17, 3266, 30, 468, 1403, 72, 31, 2036, 30, 468, 28133, 31,...
elif b == None:
elif not b:
def unidiff(a, ad, b, bd, fn, r=None, text=False, showfunc=False, ignorews=False): if not a and not b: return "" epoch = util.datestr((0, 0)) if not text and (util.binary(a) or util.binary(b)): l = ['Binary file %s has changed\n' % fn] elif a == None: b = b.splitlines(1) l1 = "--- %s\t%s\n" % ("/dev/null", epoch) l2 ...
45f39c17b0fb199b95305101fd6c61b0e929f814 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/45f39c17b0fb199b95305101fd6c61b0e929f814/mdiff.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 640, 350, 3048, 12, 69, 16, 1261, 16, 324, 16, 13837, 16, 2295, 16, 436, 33, 7036, 16, 977, 33, 8381, 16, 2405, 644, 33, 8381, 16, 2305, 4749, 33, 8381, 4672, 225, 309, 486, 279, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 640, 350, 3048, 12, 69, 16, 1261, 16, 324, 16, 13837, 16, 2295, 16, 436, 33, 7036, 16, 977, 33, 8381, 16, 2405, 644, 33, 8381, 16, 2305, 4749, 33, 8381, 4672, 225, 309, 486, 279, 4...
def note_element(line):
def note_element(element):
def note_element(line): """Print the meteorological element we are reading.""" # See ftp://ftp.ncdc.noaa.gov/pub/data/ushcn/v2/monthly/readme.txt element = line[6] assert element in '1234' element = {'1':'mean maximum temperature', '2':'mean minimum temperature', '3':'average temperature', '4':'precipitation', }[elemen...
a71ab7b92d8043413ba119ed6e49a88e9820a6e0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6890/a71ab7b92d8043413ba119ed6e49a88e9820a6e0/io.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4721, 67, 2956, 12, 2956, 4672, 3536, 5108, 326, 5100, 73, 280, 18224, 930, 732, 854, 6453, 12123, 468, 2164, 13487, 2207, 11727, 18, 82, 4315, 71, 18, 2135, 7598, 18, 75, 1527, 19, 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, 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, 4721, 67, 2956, 12, 2956, 4672, 3536, 5108, 326, 5100, 73, 280, 18224, 930, 732, 854, 6453, 12123, 468, 2164, 13487, 2207, 11727, 18, 82, 4315, 71, 18, 2135, 7598, 18, 75, 1527, 19, 10...
print 'B' print 'highest_scoring_id', highest_scoring_id print 'highest_scoring_id in nodes:', highest_scoring_id in self._node_pool try: del self._node_pool[highest_scoring_id] except KeyError: print "couldn't delete", highest_scoring_id if self._safe: self.save() logging.debug('Deleting node from node pool')
delete_highest_scoring_id = True
def _resume_populate(self): '''Gather a group of TwitterUsers. Tries to choose a highly interconnected group. Picks up where a previous _populate() call stopped''' while self._node_pool and len(self._community_members) < self._max_population: #choose person on list with highest interconnection #first 0 at end of line i...
ef227cdbabff264d1bffcd87491ebedbc8ee1534 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14113/ef227cdbabff264d1bffcd87491ebedbc8ee1534/populate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 25158, 67, 19936, 12, 2890, 4672, 9163, 26092, 279, 1041, 434, 19551, 6588, 18, 10000, 281, 358, 9876, 279, 3551, 715, 1554, 8537, 1041, 18, 453, 20642, 731, 1625, 279, 2416, 389, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25158, 67, 19936, 12, 2890, 4672, 9163, 26092, 279, 1041, 434, 19551, 6588, 18, 10000, 281, 358, 9876, 279, 3551, 715, 1554, 8537, 1041, 18, 453, 20642, 731, 1625, 279, 2416, 389, 1...
glyphs_to_append=("_1025", "_2049")
glyphs_to_append=("_1025", "_2561")
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") initialcount=176 elif font_name=="parmesan": glyphs_to_append=("_1025",...
5e58ce24f078d67f25368e0eba680cf9c28c8737 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7096/5e58ce24f078d67f25368e0eba680cf9c28c8737/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...
if __containsIf(node.thenPart):
if len(node.thenPart) == 1 and __containsIf(node.thenPart):
def __if(node): result = "if(%s)" % compress(node.condition) thenCode = compress(node.thenPart) elsePart = getattr(node, "elsePart", None) if elsePart: # Special handling for cascaded if-else-if cases where the else might be # attached to the wrong if in cases where the braces are omitted. if __containsIf(node.thenPar...
42c22a0d8da6756694e12aa04e29b74eb46179de /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12949/42c22a0d8da6756694e12aa04e29b74eb46179de/Compressor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 430, 12, 2159, 4672, 563, 273, 315, 430, 9275, 87, 2225, 738, 8099, 12, 2159, 18, 4175, 13, 1508, 1085, 273, 8099, 12, 2159, 18, 15991, 1988, 13, 469, 1988, 273, 3869, 12, 2159, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 430, 12, 2159, 4672, 563, 273, 315, 430, 9275, 87, 2225, 738, 8099, 12, 2159, 18, 4175, 13, 1508, 1085, 273, 8099, 12, 2159, 18, 15991, 1988, 13, 469, 1988, 273, 3869, 12, 2159, ...
'setup.exe & chrome.7z.') option_parser.add_option('-v', '--last_chrome_version', help='Version of the previous installer. ' + 'Used only for the purpose of naming archive file. Optional.')
'setup.exe, courgette.exe (if --diff_algorithm is COURGETTE) ' + '& chrome.7z.') option_parser.add_option('-f', '--setup_exe_format', default='COMPRESSED', help='How setup.exe should be included {COMPRESSED|DIFF|FULL}.') option_parser.add_option('-a', '--diff_algorithm', default='BSDIFF', help='Diff algorithm to use wh...
def main(options): """Main method that reads input file, creates archive file and write resource input file. """ current_version = BuildVersion(options.output_dir) config = Readconfig(options.output_dir, options.input_file, current_version) staging_dir = MakeStagingDirectory(options.output_dir) CopyAllFilesToStaging...
28937b29b58e9aa1989349335ef83995e008098e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9392/28937b29b58e9aa1989349335ef83995e008098e/create_installer_archive.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 2116, 4672, 3536, 6376, 707, 716, 6838, 810, 585, 16, 3414, 5052, 585, 471, 1045, 1058, 810, 585, 18, 3536, 783, 67, 1589, 273, 3998, 1444, 12, 2116, 18, 2844, 67, 1214, 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, 2774, 12, 2116, 4672, 3536, 6376, 707, 716, 6838, 810, 585, 16, 3414, 5052, 585, 471, 1045, 1058, 810, 585, 18, 3536, 783, 67, 1589, 273, 3998, 1444, 12, 2116, 18, 2844, 67, 1214, 13, ...
filename, extension = os.path.splitext(current_file)
dummy, filename, extension = decompose_file(current_file) if extension: extension = '.' + extension
def Move_Files_to_Storage(parameters, curdir, form, user_info=None): """ The function moves files received from the standard submission's form through file input element(s). Websubmit_engine built the following file organization in the directory curdir/files curdir/files | _____________________________________________...
9996b95382441eecce2da6fd99836417575b1925 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12027/9996b95382441eecce2da6fd99836417575b1925/Move_Files_to_Storage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9933, 67, 2697, 67, 869, 67, 3245, 12, 3977, 16, 662, 1214, 16, 646, 16, 729, 67, 1376, 33, 7036, 4672, 3536, 1021, 445, 13934, 1390, 5079, 628, 326, 4529, 8515, 1807, 646, 3059, 585, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9933, 67, 2697, 67, 869, 67, 3245, 12, 3977, 16, 662, 1214, 16, 646, 16, 729, 67, 1376, 33, 7036, 4672, 3536, 1021, 445, 13934, 1390, 5079, 628, 326, 4529, 8515, 1807, 646, 3059, 585, ...
def __repr__(self):
def _repr_(self):
def __repr__(self): """ EXAMPLES::
e050660b40043fea1aabd4f39f7277f80dae21b1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/e050660b40043fea1aabd4f39f7277f80dae21b1/element_wrapper.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12715, 67, 12, 2890, 4672, 3536, 5675, 8900, 11386, 2866, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12715, 67, 12, 2890, 4672, 3536, 5675, 8900, 11386, 2866, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
if checkProg('DVI to DTL converter', ['dv2dt']) != ['', 'none'] and checkProg('DTL to DVI converter', ['dt2dv']) != ['', 'none']: addToRC(r'\Format dvi2 dvi DraftDVI "" "" "document"') checkProg('a HTML previewer', ['mozilla file://$$p$$i', 'netscape'], rc_entry = [ r'\Format html html ...
addToRC(r'\Format dvi2 dvi DraftDVI "" "" "document"') checkViewer('a HTML previewer', ['mozilla file://$$p$$i', 'netscape'], rc_entry = [r'\Format html html HTML H "%%" "" "document"'])
def checkFormatEntries(): ''' Check all formats (\Format entries) ''' checkProg('a Tgif viewer and editor', ['tgif'], rc_entry = [ r'\Format tgif obj Tgif "" "%%" "%%" ""']) # checkProg('a FIG viewer and editor', ['xfig'], rc_entry = [ r'\Format fig fig FIG "" "...
d5443737342903de489d527802cd2cdd38987d74 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7514/d5443737342903de489d527802cd2cdd38987d74/configure.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 1630, 5400, 13332, 9163, 2073, 777, 6449, 17938, 1630, 3222, 13, 9163, 866, 626, 75, 2668, 69, 399, 13905, 14157, 471, 4858, 2187, 10228, 88, 13905, 17337, 4519, 67, 4099, 273, 306, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1630, 5400, 13332, 9163, 2073, 777, 6449, 17938, 1630, 3222, 13, 9163, 866, 626, 75, 2668, 69, 399, 13905, 14157, 471, 4858, 2187, 10228, 88, 13905, 17337, 4519, 67, 4099, 273, 306, ...
self._canvas.circle( circle.cx, circle.cy, circle.r)
self._canvas.circle( circle.cx, circle.cy, circle.r, link_info=self._get_link_info_dict(circle))
def drawCircle(self, circle): self._canvas.circle( circle.cx, circle.cy, circle.r)
37afe6db14252697b2c6f0bd32cd0cbf4e4ebe03 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3878/37afe6db14252697b2c6f0bd32cd0cbf4e4ebe03/renderSVG.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 19490, 12, 2890, 16, 12470, 4672, 365, 6315, 15424, 18, 18970, 12, 12470, 18, 71, 92, 16, 12470, 18, 2431, 16, 12470, 18, 86, 13, 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, 3724, 19490, 12, 2890, 16, 12470, 4672, 365, 6315, 15424, 18, 18970, 12, 12470, 18, 71, 92, 16, 12470, 18, 2431, 16, 12470, 18, 86, 13, 2, -100, -100, -100, -100, -100, -100, -100, -10...
gencache.EnsureModule("{4AFFC9A0-5F99-101B-AF4E-00AA003F0F07}", 0, 8, 0)
gencache.EnsureDispatch("Access.Application")
def GenerateSupport(): # dao gencache.EnsureModule("{00025E01-0000-0000-C000-000000000046}", 0, 4, 0) # Access gencache.EnsureModule("{4AFFC9A0-5F99-101B-AF4E-00AA003F0F07}", 0, 8, 0)
4ac69dbd825555279fd9e8c310e68e0a8aca54df /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/677/4ac69dbd825555279fd9e8c310e68e0a8aca54df/testAccess.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6654, 6289, 13332, 468, 15229, 314, 1331, 807, 18, 12512, 3120, 2932, 95, 3784, 2947, 41, 1611, 17, 2787, 17, 2787, 17, 39, 3784, 17, 2787, 9449, 8749, 1532, 16, 374, 16, 1059, 16, 374...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6654, 6289, 13332, 468, 15229, 314, 1331, 807, 18, 12512, 3120, 2932, 95, 3784, 2947, 41, 1611, 17, 2787, 17, 2787, 17, 39, 3784, 17, 2787, 9449, 8749, 1532, 16, 374, 16, 1059, 16, 374...
if group_ip.version == 4:
if addrinfo[0] == socket.AF_INET:
def sender(group): group_ip = ipaddr.IP(group) s = socket.socket(_sockfam(group_ip), socket.SOCK_DGRAM) # Set Time-to-live (optional) ttl_bin = struct.pack('@i', MYTTL) if group_ip.version == 4: s.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_TTL, ttl_bin) else: s.setsockopt(socket.IPPROTO_IPV6, socket.IPV6_MULTI...
388637d373807b82cdd4fc04cf46f0b81f162768 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8546/388637d373807b82cdd4fc04cf46f0b81f162768/mcast.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5793, 12, 1655, 4672, 1041, 67, 625, 273, 2359, 4793, 18, 2579, 12, 1655, 13, 225, 272, 273, 2987, 18, 7814, 24899, 15031, 74, 301, 12, 1655, 67, 625, 3631, 2987, 18, 3584, 3507, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5793, 12, 1655, 4672, 1041, 67, 625, 273, 2359, 4793, 18, 2579, 12, 1655, 13, 225, 272, 273, 2987, 18, 7814, 24899, 15031, 74, 301, 12, 1655, 67, 625, 3631, 2987, 18, 3584, 3507, 67, ...
try: if self.options['direction'] == "" or self.options['direction'] == None:
if self.options.has_key('direction'): if self.options['direction'] == "":
def injectScript(self): """ Returns a string of script to inject in to the page """
28b4eb28ad2dfae50793b0a48b1f28a52237851c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5464/28b4eb28ad2dfae50793b0a48b1f28a52237851c/BrowserMediaAnimatedBase.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4590, 3651, 12, 2890, 4672, 3536, 2860, 279, 533, 434, 2728, 358, 4590, 316, 358, 326, 1363, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 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, 4590, 3651, 12, 2890, 4672, 3536, 2860, 279, 533, 434, 2728, 358, 4590, 316, 358, 326, 1363, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
files = subprocess.Popen(cmdline, stdin = subprocess.PIPE, stdout = subprocess.PIPE, stderr = subprocess.PIPE )
p = subprocess.Popen(cmdline, stdin = subprocess.PIPE, stdout = subprocess.PIPE, stderr = subprocess.PIPE )
def run_cgi(self): """Execute a CGI script.""" path = self.path dir, rest = self.cgi_info
074707e14c1bde99dc168e8c2df4e1c4dee1e26d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3187/074707e14c1bde99dc168e8c2df4e1c4dee1e26d/CGIHTTPServer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 19062, 12, 2890, 4672, 3536, 5289, 279, 385, 13797, 2728, 12123, 589, 273, 365, 18, 803, 1577, 16, 3127, 273, 365, 18, 19062, 67, 1376, 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, 1086, 67, 19062, 12, 2890, 4672, 3536, 5289, 279, 385, 13797, 2728, 12123, 589, 273, 365, 18, 803, 1577, 16, 3127, 273, 365, 18, 19062, 67, 1376, 2, -100, -100, -100, -100, -100, -100, ...
assert (self.public_key is None and self.private_key_id is None) or \ self.public_key.get_DER() == self.private_key_id.get_public_DER() assert (self.manifest_public_key is None and self.manifest_private_key_id is None) or \ self.manifest_public_key.get_DER() == self.manifest_private_key_id.get_public_DER()
assert self.public_key is None or self.private_key_id is None or self.public_key.get_DER() == self.private_key_id.get_public_DER() assert self.manifest_public_key is None or self.manifest_private_key_id is None or self.manifest_public_key.get_DER() == self.manifest_private_key_id.get_public_DER()
def sql_decode(self, vals): """ Extra assertions for SQL decode of a ca_detail_obj. """ rpki.sql.sql_persistent.sql_decode(self, vals) assert (self.public_key is None and self.private_key_id is None) or \ self.public_key.get_DER() == self.private_key_id.get_public_DER() assert (self.manifest_public_key is None and self...
a2385fb6b3d70e5542dc515e48ebc527133ddf2b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/119/a2385fb6b3d70e5542dc515e48ebc527133ddf2b/rpki_engine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1847, 67, 3922, 12, 2890, 16, 5773, 4672, 3536, 13592, 7820, 364, 3063, 2495, 434, 279, 3474, 67, 8992, 67, 2603, 18, 3536, 436, 5465, 77, 18, 4669, 18, 4669, 67, 19393, 18, 4669, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1847, 67, 3922, 12, 2890, 16, 5773, 4672, 3536, 13592, 7820, 364, 3063, 2495, 434, 279, 3474, 67, 8992, 67, 2603, 18, 3536, 436, 5465, 77, 18, 4669, 18, 4669, 67, 19393, 18, 4669, 67, ...
line(out_h, indent, 'extern PyTypeObject %sType;', names[-1])
line(out_h, indent, 'extern PyTypeObject %s$$Type;', names[-1])
def python(env, out_h, out, cls, superCls, names, superNames, constructors, methods, protectedMethods, fields, instanceFields, mapping, sequence, declares, typeset, excludes, moduleName): line(out_h) line(out_h, 0, '#include <Python.h>') line(out_h) indent = 0 for name in names[:-1]: line(out_h, indent, 'namespace %s...
3e61e3b062cf8b7c7651d24ca920d92424ba740f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6913/3e61e3b062cf8b7c7651d24ca920d92424ba740f/python.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5790, 12, 3074, 16, 596, 67, 76, 16, 596, 16, 2028, 16, 2240, 20822, 16, 1257, 16, 2240, 1557, 16, 19874, 16, 2590, 16, 4750, 4712, 16, 1466, 16, 791, 2314, 16, 2874, 16, 3102, 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, 5790, 12, 3074, 16, 596, 67, 76, 16, 596, 16, 2028, 16, 2240, 20822, 16, 1257, 16, 2240, 1557, 16, 19874, 16, 2590, 16, 4750, 4712, 16, 1466, 16, 791, 2314, 16, 2874, 16, 3102, 16, ...
cmd = "objdump -p -j .dynamic 2>/dev/null " + f
cmd = 'if ! type objdump >/dev/null 2>&1; then exit 10; fi;' \ "objdump -p -j .dynamic 2>/dev/null " + f f = os.popen(cmd) dump = f.read() rv = f.close() if rv == 10: raise OSError, 'objdump command not found'
def _get_soname(f): # assuming GNU binutils / ELF if not f: return None cmd = "objdump -p -j .dynamic 2>/dev/null " + f res = re.search(r'\sSONAME\s+([^\s]+)', os.popen(cmd).read()) if not res: return None return res.group(1)
43723e2ad81599b54172a5dcc48790e51ff64f5f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8546/43723e2ad81599b54172a5dcc48790e51ff64f5f/util.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 816, 339, 12, 74, 4672, 468, 15144, 611, 50, 57, 4158, 5471, 342, 512, 9105, 309, 486, 284, 30, 327, 599, 1797, 273, 296, 430, 401, 618, 1081, 8481, 405, 19, 5206, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 588, 67, 816, 339, 12, 74, 4672, 468, 15144, 611, 50, 57, 4158, 5471, 342, 512, 9105, 309, 486, 284, 30, 327, 599, 1797, 273, 296, 430, 401, 618, 1081, 8481, 405, 19, 5206, 19, ...
f = open(srcPref + "../doc/libxml2-api.xml")
f = open(os.path.join(srcPref,"..","doc","libxml2-api.xml"))
def buildStubs(): global py_types global py_return_types global unknown_types try: f = open(srcPref + "libxml2-api.xml") data = f.read() (parser, target) = getparser() parser.feed(data) parser.close() except IOError, msg: try: f = open(srcPref + "../doc/libxml2-api.xml") data = f.read() (parser, target) = getparser(...
2fc6df95cc021fb16debe942697eda86eeba39ae /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12659/2fc6df95cc021fb16debe942697eda86eeba39ae/generator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 11974, 87, 13332, 2552, 2395, 67, 2352, 2552, 2395, 67, 2463, 67, 2352, 2552, 5917, 67, 2352, 225, 775, 30, 284, 273, 1696, 12, 4816, 23218, 397, 315, 2941, 2902, 22, 17, 2425, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 11974, 87, 13332, 2552, 2395, 67, 2352, 2552, 2395, 67, 2463, 67, 2352, 2552, 5917, 67, 2352, 225, 775, 30, 284, 273, 1696, 12, 4816, 23218, 397, 315, 2941, 2902, 22, 17, 2425, 1...
elif hasattr(attr, '__call__') and attr():
elif hasattr(attr, '__call__') and (attr() or (x == 'sizeOverride' and attr() is not None)):
def keys(self): ret = [] for x in self._keys: attr = getattr(self, x) if hasattr(attr, 'keys'): if attr.keys(): ret.append(x) elif hasattr(attr, '__call__') and attr(): ret.append(x) return ret
2e1a73817fe329e8bd5e8a1caa6db5fb8c3a7863 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8747/2e1a73817fe329e8bd5e8a1caa6db5fb8c3a7863/trove.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1311, 12, 2890, 4672, 325, 273, 5378, 364, 619, 316, 365, 6315, 2452, 30, 1604, 273, 3869, 12, 2890, 16, 619, 13, 309, 3859, 12, 1747, 16, 296, 2452, 11, 4672, 309, 1604, 18, 2452, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1311, 12, 2890, 4672, 325, 273, 5378, 364, 619, 316, 365, 6315, 2452, 30, 1604, 273, 3869, 12, 2890, 16, 619, 13, 309, 3859, 12, 1747, 16, 296, 2452, 11, 4672, 309, 1604, 18, 2452, 1...
this = apply(_quickfix.new_StandInstDbID, args)
this = _quickfix.new_StandInstDbID(*args)
def __init__(self, *args): this = apply(_quickfix.new_StandInstDbID, 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, 20612, 10773, 4331, 734, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 20612, 10773, 4331, 734, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335,...
return False
return True
def on_input(self, key): key_commands = { "^J": self.on_enter, "^M": self.on_enter, "\n": self.on_enter, ' ': self.on_space, "/": self.on_slash, "KEY_UP": self.move_cursor_up, "KEY_DOWN": self.move_cursor_down, "o": self.toggle_offline_show, "^F": self.start_search, } res = self.input.do_command(key) if res: return Fal...
d0cfb69b02ceda831530c782c15758edb6b9e914 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9814/d0cfb69b02ceda831530c782c15758edb6b9e914/tab.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 2630, 12, 2890, 16, 498, 4672, 498, 67, 7847, 273, 288, 15017, 46, 6877, 365, 18, 265, 67, 2328, 16, 15017, 49, 6877, 365, 18, 265, 67, 2328, 16, 1548, 82, 6877, 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, 603, 67, 2630, 12, 2890, 16, 498, 4672, 498, 67, 7847, 273, 288, 15017, 46, 6877, 365, 18, 265, 67, 2328, 16, 15017, 49, 6877, 365, 18, 265, 67, 2328, 16, 1548, 82, 6877, 365, 18, ...
self._write_css(directory)
self._write_docs(directory, verbose)
def write(self, directory=None, verbose=1): """ Write the documentation to the given directory.
1cbf22bf435c5a597ad3c4c61bb27adb7b7cf726 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/1cbf22bf435c5a597ad3c4c61bb27adb7b7cf726/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 1867, 33, 7036, 16, 3988, 33, 21, 4672, 3536, 2598, 326, 7323, 358, 326, 864, 1867, 18, 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, 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, 1045, 12, 2890, 16, 1867, 33, 7036, 16, 3988, 33, 21, 4672, 3536, 2598, 326, 7323, 358, 326, 864, 1867, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
subpackage_name, subpackage_path,
subpackage_name, subpackage_path, parent_name,
def _get_configuration_from_setup_py(self, setup_py, subpackage_name, subpackage_path, caller_level = 1): # In case setup_py imports local modules: sys.path.insert(0,os.path.dirname(setup_py)) try: fo_setup_py = open(setup_py, 'U') setup_name = os.path.splitext(os.path.basename(setup_py))[0] n = dot_join(self.name,subp...
680a44a631b3d039dc63d108274eeeefa062de34 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14925/680a44a631b3d039dc63d108274eeeefa062de34/misc_util.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 7025, 67, 2080, 67, 8401, 67, 2074, 12, 2890, 16, 3875, 67, 2074, 16, 720, 5610, 67, 529, 16, 720, 5610, 67, 803, 16, 982, 67, 529, 16, 4894, 67, 2815, 273, 404, 4672...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 588, 67, 7025, 67, 2080, 67, 8401, 67, 2074, 12, 2890, 16, 3875, 67, 2074, 16, 720, 5610, 67, 529, 16, 720, 5610, 67, 803, 16, 982, 67, 529, 16, 4894, 67, 2815, 273, 404, 4672...
self.assertEqual( cl.getclusters(2), [[(0, 0), (2, 6), (3, 6), (2, 5), (3, 5), (3, 4), (1, 5)], [(7, 3), (9, 2), (9, 3), (8, 1), (8, 3)]])
expected = [[(18,13), (15, 12), (17,12), (18,12), (19,12), (16,11), (18, 11), (19,10)], [(0,0), (1, 4), (1,2), (2,3), (4,1), (5,2), (6,1), (4,3)]] self.assertTrue( compare_list( clusters, expected ), "Elements differ!\n%s\n%s" % (clusters, expected))
def testPointDoubling(self): "test for bug ?" data = [ (0,0), (7,3), (2,6), (3,5), (3,6), (0,0), (8,1), (3,4), (8,3), (9,2), (2,5), (9,3) ] cl = KMeansClustering(data) clusters = cl.getclusters(2) self.assertEqual( cl.getclusters(2), [[(0, 0), (2, 6), (3, 6), (2, 5), (3, 5), (3, 4), (1, 5)], [(7, 3), (9, 2), (9, 3), (8...
5ccd132bd7da32723ab337e5a2dc50e962b3fa61 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9551/5ccd132bd7da32723ab337e5a2dc50e962b3fa61/clusterTests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 2148, 3244, 440, 310, 12, 2890, 4672, 315, 3813, 364, 7934, 17921, 501, 273, 306, 261, 20, 16, 20, 3631, 261, 27, 16, 23, 3631, 261, 22, 16, 26, 3631, 261, 23, 16, 25, 3631, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2148, 3244, 440, 310, 12, 2890, 4672, 315, 3813, 364, 7934, 17921, 501, 273, 306, 261, 20, 16, 20, 3631, 261, 27, 16, 23, 3631, 261, 22, 16, 26, 3631, 261, 23, 16, 25, 3631, ...
deferred = None
def maybeDeferred(f, *args, **kw): """Invoke a function that may or may not return a deferred. Call the given function with the given arguments. If the returned object is a C{Deferred}, return it. If the returned object is a C{Failure}, wrap it with C{fail} and return it. Otherwise, wrap it in C{succeed} and return...
527ec4e30d23959d4b63c11691f8ad5924e58e8f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12595/527ec4e30d23959d4b63c11691f8ad5924e58e8f/defer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6944, 16886, 12, 74, 16, 380, 1968, 16, 2826, 9987, 4672, 3536, 10969, 279, 445, 716, 2026, 578, 2026, 486, 327, 279, 7045, 18, 225, 3049, 326, 864, 445, 598, 326, 864, 1775, 18, 225, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6944, 16886, 12, 74, 16, 380, 1968, 16, 2826, 9987, 4672, 3536, 10969, 279, 445, 716, 2026, 578, 2026, 486, 327, 279, 7045, 18, 225, 3049, 326, 864, 445, 598, 326, 864, 1775, 18, 225, ...
'present': True,
'present': self.busmaster[path].get('busmaster',True),
def findsensors(self,path=""): uncachedpath = "/uncached%s" % path mincycle = 600 for sensor in self.owfs.dir(uncachedpath): ## remove /uncached/bus.x from sensorname sensor = sensor.split("/")[-1] ## check if it is really a sensor if self.issensor.match(sensor): self.debug("found Sensor %s at Bus %r" % (sensor,path))...
40318f9db79bb2be8a5d73ce6055b45500583d38 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5166/40318f9db79bb2be8a5d73ce6055b45500583d38/OWFS_Connector.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13094, 12575, 12, 2890, 16, 803, 1546, 6, 4672, 6301, 2004, 803, 273, 2206, 551, 2004, 9, 87, 6, 738, 589, 1131, 13946, 273, 14707, 364, 10583, 316, 365, 18, 543, 2556, 18, 1214, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13094, 12575, 12, 2890, 16, 803, 1546, 6, 4672, 6301, 2004, 803, 273, 2206, 551, 2004, 9, 87, 6, 738, 589, 1131, 13946, 273, 14707, 364, 10583, 316, 365, 18, 543, 2556, 18, 1214, 12, ...
(fd, tmpfilename) = mkstemp_file(dirname, basename)
(fd, tmpfilename) = mkstemp_file(dirname, tmpprefix)
def extractCpio(self, filedata, read_data, filenamehash, devinode, filenames): filename = filedata[0] data = read_data(filedata[5]) fileinfo = filenamehash.get(filename) if fileinfo == None: self.printErr("cpio file %s not in rpm header" % filename) return (fn, flag, mode, mtime, dev, inode, user, group, rdev, linkto, ...
73fe5b4e17300fe703da079a2bdf4fefe1e4ee56 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1143/73fe5b4e17300fe703da079a2bdf4fefe1e4ee56/oldpyrpm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 28954, 1594, 12, 2890, 16, 585, 892, 16, 855, 67, 892, 16, 1544, 2816, 16, 4461, 267, 390, 16, 9066, 4672, 1544, 273, 585, 892, 63, 20, 65, 501, 273, 855, 67, 892, 12, 768, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2608, 28954, 1594, 12, 2890, 16, 585, 892, 16, 855, 67, 892, 16, 1544, 2816, 16, 4461, 267, 390, 16, 9066, 4672, 1544, 273, 585, 892, 63, 20, 65, 501, 273, 855, 67, 892, 12, 768, 8...
mdig.repository = ModelRepository.ModelRepository()
mdig.repository = modelrepository.ModelRepository()
def main(argv): global simulations # Do a migration of model repository data if len(argv) > 0 and argv[0] == 'migrate': do_migration(argv[1:]) # Otherwise start up normally mdig_config = config.get_config() logger = setupLogger(mdig_config["LOGGING"]["ansi"]) the_action = process_options(argv) signal.signal(signal.S...
c22a8ac1e03674fc59fdff540e6ae0c2d85dd773 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10332/c22a8ac1e03674fc59fdff540e6ae0c2d85dd773/mdig.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 19485, 4672, 2552, 3142, 21011, 225, 468, 2256, 279, 6333, 434, 938, 3352, 501, 309, 562, 12, 19485, 13, 405, 374, 471, 5261, 63, 20, 65, 422, 296, 22083, 4278, 741, 67, 1574...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 19485, 4672, 2552, 3142, 21011, 225, 468, 2256, 279, 6333, 434, 938, 3352, 501, 309, 562, 12, 19485, 13, 405, 374, 471, 5261, 63, 20, 65, 422, 296, 22083, 4278, 741, 67, 1574...
return self.__porevisiondate @property def translators(self): return self.__translators class Translator(object): def __init__(self, name, mail, ismaintainer): self.name = name self.mail = mail self.ismaintainer = ismaintainer
return self._porevisiondate
def updatedate(self): if self.__template: #if template... return self.__potcreationdate else: #if NOT template... return self.__porevisiondate
569cb008f201fd5615072299951acfa2ed026f12 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5857/569cb008f201fd5615072299951acfa2ed026f12/GetTranslationsStatus.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3526, 340, 12, 2890, 4672, 309, 365, 16186, 3202, 30, 468, 430, 1542, 2777, 327, 365, 16186, 13130, 17169, 712, 469, 30, 468, 430, 4269, 1542, 2777, 327, 365, 16186, 25973, 2820, 712, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3526, 340, 12, 2890, 4672, 309, 365, 16186, 3202, 30, 468, 430, 1542, 2777, 327, 365, 16186, 13130, 17169, 712, 469, 30, 468, 430, 4269, 1542, 2777, 327, 365, 16186, 25973, 2820, 712, 22...
x_to_p_less_one = x**(p-1) x_to_p = x_to_p_less_one * x x_to_p_cubed = x_to_p.square() * x_to_p r = (base_ring(1) / base_ring(2)) * (x_to_p_cubed + Q[1]*x_to_p + S(Q[0]))
x_to_p_less_one = x**(p-1) x_to_p = x_to_p_less_one * x x_to_p_cubed = x_to_p.square() * x_to_p r = (base_ring(1) / base_ring(2)) * (x_to_p_cubed + Q[1]*x_to_p + S(Q[0]))
def frobenius_expansion_by_newton(Q, p, M): r""" Computes the action of Frobenius on $dx/y$ and on $x dx/y$, using Newton's method (as suggested in Kedlaya's paper). (This function does *not* yet use the cohomology relations -- that happens afterwards in the "reduction" step.) More specifically, it finds $F_0$ and $F...
e8c5dfe629aabf0303b396e56733ea0c7032d92a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/e8c5dfe629aabf0303b396e56733ea0c7032d92a/monsky_washnitzer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 284, 303, 19425, 8384, 67, 2749, 12162, 67, 1637, 67, 2704, 1917, 12, 53, 16, 293, 16, 490, 4672, 436, 8395, 14169, 281, 326, 1301, 434, 478, 303, 19425, 8384, 603, 271, 13437, 19, 93,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 284, 303, 19425, 8384, 67, 2749, 12162, 67, 1637, 67, 2704, 1917, 12, 53, 16, 293, 16, 490, 4672, 436, 8395, 14169, 281, 326, 1301, 434, 478, 303, 19425, 8384, 603, 271, 13437, 19, 93,...
`beginchar' is the start character for the fragment. If self is not looking at an instance of `beginchar' then getdelimited returns the empty string.
`beginchar' is the start character for the fragment. If self is not looking at an instance of `beginchar' then getdelimited returns the empty string.
def getdelimited(self, beginchar, endchars, allowcomments = 1): """Parse a header fragment delimited by special characters.
52d51c96f28f628bf085945df0f7b389d6cbc349 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/52d51c96f28f628bf085945df0f7b389d6cbc349/rfc822.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 3771, 1038, 329, 12, 2890, 16, 2376, 3001, 16, 679, 7549, 16, 1699, 9231, 273, 404, 4672, 3536, 3201, 279, 1446, 5481, 18609, 635, 4582, 3949, 18, 2, 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, 336, 3771, 1038, 329, 12, 2890, 16, 2376, 3001, 16, 679, 7549, 16, 1699, 9231, 273, 404, 4672, 3536, 3201, 279, 1446, 5481, 18609, 635, 4582, 3949, 18, 2, -100, -100, -100, -100, -100, ...
code, message, environ, self.global_conf,
code, message, environ, self.global_conf,
def change_response(status, headers, exc_info=None): status_code = status.split(' ') try: code = int(status_code[0]) except (ValueError, TypeError): raise Exception( 'StatusBasedForward middleware ' 'received an invalid status code %s'%repr(status_code[0]) ) message = ' '.join(status_code[1:]) new_url = self.mapper( co...
ad2b5581c6f72b5cb630b6b63eb84b3414214056 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2097/ad2b5581c6f72b5cb630b6b63eb84b3414214056/errordocument.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2549, 67, 2740, 12, 2327, 16, 1607, 16, 3533, 67, 1376, 33, 7036, 4672, 1267, 67, 710, 273, 1267, 18, 4939, 2668, 8624, 775, 30, 981, 273, 509, 12, 2327, 67, 710, 63, 20, 5717, 1335,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2549, 67, 2740, 12, 2327, 16, 1607, 16, 3533, 67, 1376, 33, 7036, 4672, 1267, 67, 710, 273, 1267, 18, 4939, 2668, 8624, 775, 30, 981, 273, 509, 12, 2327, 67, 710, 63, 20, 5717, 1335,...
raise 'InvalidRequestError', 'No such user'
raise InvalidRequestError('No such user')
def verifyKey(self, key): """Verify a key. Raises an exception if the key is invalid or expired. """
489bf001853502ab2475f5de200186dc8fe65457 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12219/489bf001853502ab2475f5de200186dc8fe65457/PasswordResetTool.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3929, 653, 12, 2890, 16, 498, 4672, 3536, 8097, 279, 498, 18, 20497, 392, 1520, 309, 326, 498, 353, 2057, 578, 7708, 18, 3536, 2, 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, 3929, 653, 12, 2890, 16, 498, 4672, 3536, 8097, 279, 498, 18, 20497, 392, 1520, 309, 326, 498, 353, 2057, 578, 7708, 18, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if not self.progress.is_running ():
if self.progress.is_running ():
def on_browser_net_stop (self, browser): if not self.progress.is_running (): self.dest_url_box.set_sensitive (True) self.dest_url_box.show () self.dest_url_box.set_visible_window (True) self.stopped ()
07bc990b14fd32166da637b0af70782199803d02 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3179/07bc990b14fd32166da637b0af70782199803d02/translation.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 11213, 67, 2758, 67, 5681, 261, 2890, 16, 4748, 4672, 309, 365, 18, 8298, 18, 291, 67, 8704, 1832, 30, 365, 18, 10488, 67, 718, 67, 2147, 18, 542, 67, 23481, 261, 5510, 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, 603, 67, 11213, 67, 2758, 67, 5681, 261, 2890, 16, 4748, 4672, 309, 365, 18, 8298, 18, 291, 67, 8704, 1832, 30, 365, 18, 10488, 67, 718, 67, 2147, 18, 542, 67, 23481, 261, 5510, 13, ...
def price_get_multi_old(self, cr, uid, product_map, context=None): """multi products 'price_get' @param context: { 'date': Date of the pricelist (%Y-%m-%d), @return: a dict with product_id as key and the product price as value } """ def _create_parent_category_list(id, lst): if not id: return [] parent = product_categ...
def price_get_multi_old(self, cr, uid, product_map, context=None): """multi products 'price_get' @param context: { 'date': Date of the pricelist (%Y-%m-%d), @return: a dict with product_id as key and the product price as value } """
1d78ae166ba2ab9323049a83a16e403e5cd4f91c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/1d78ae166ba2ab9323049a83a16e403e5cd4f91c/pricelist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6205, 67, 588, 67, 7027, 67, 1673, 12, 2890, 16, 4422, 16, 4555, 16, 3017, 67, 1458, 16, 819, 33, 7036, 4672, 3536, 7027, 10406, 296, 8694, 67, 588, 11, 632, 891, 819, 30, 288, 296, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6205, 67, 588, 67, 7027, 67, 1673, 12, 2890, 16, 4422, 16, 4555, 16, 3017, 67, 1458, 16, 819, 33, 7036, 4672, 3536, 7027, 10406, 296, 8694, 67, 588, 11, 632, 891, 819, 30, 288, 296, ...
os.unlink(support.TESTFN)
support.unlink(support.TESTFN)
def tearDown(self): os.unlink(support.TESTFN)
4bc266f6f8d4a579841898968a2ce26b1a66dd17 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8125/4bc266f6f8d4a579841898968a2ce26b1a66dd17/test_posix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 268, 2091, 4164, 12, 2890, 4672, 1140, 18, 318, 1232, 12, 13261, 18, 16961, 19793, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 268, 2091, 4164, 12, 2890, 4672, 1140, 18, 318, 1232, 12, 13261, 18, 16961, 19793, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
nuninst[arch] = []
nuninst[arch] = set()
def get_nuninst(self, requested_arch=None, build=False): """Return the uninstallability statistic for all the architectures
469d67fca2e47a8c81512c4f86db64b0f50e5032 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2784/469d67fca2e47a8c81512c4f86db64b0f50e5032/britney.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 82, 318, 8591, 12, 2890, 16, 3764, 67, 991, 33, 7036, 16, 1361, 33, 8381, 4672, 3536, 990, 326, 16577, 2967, 21605, 364, 777, 326, 6637, 15004, 1823, 2, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 82, 318, 8591, 12, 2890, 16, 3764, 67, 991, 33, 7036, 16, 1361, 33, 8381, 4672, 3536, 990, 326, 16577, 2967, 21605, 364, 777, 326, 6637, 15004, 1823, 2, -100, -100, -100, -100...
print "downloaded profile", document.get_pseudo()
def get_profile(self, peer_id): print "downloaded profile", document.get_pseudo() self.network.get_profile(peer_id, self._on_new_profile)
abc0f3df001d5dda270799d625ee8cb2469420c6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2522/abc0f3df001d5dda270799d625ee8cb2469420c6/plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 5040, 12, 2890, 16, 4261, 67, 350, 4672, 365, 18, 5185, 18, 588, 67, 5040, 12, 12210, 67, 350, 16, 365, 6315, 265, 67, 2704, 67, 5040, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 5040, 12, 2890, 16, 4261, 67, 350, 4672, 365, 18, 5185, 18, 588, 67, 5040, 12, 12210, 67, 350, 16, 365, 6315, 265, 67, 2704, 67, 5040, 13, 2, -100, -100, -100, -100, -100, ...
def btnScan_clicked(self,widget):
def btnScan_clicked(self,widget, data = None):
def btnScan_clicked(self,widget): # scan the area for bluetooth devices and show the results watch = gtk.gdk.Cursor(gtk.gdk.WATCH) self.window.window.set_cursor(watch) self.model.clear() self.model.append(['...', 'Now scanning...']) gobject.idle_add(self.cb_btnScan_clicked)
3397f9f1c50ccb125dcd8c579936e104f847d2d3 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/61/3397f9f1c50ccb125dcd8c579936e104f847d2d3/proximity.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10638, 7972, 67, 7475, 329, 12, 2890, 16, 6587, 16, 501, 273, 599, 4672, 468, 4135, 326, 5091, 364, 2811, 26654, 7166, 471, 2405, 326, 1686, 4267, 273, 22718, 18, 75, 2883, 18, 6688, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10638, 7972, 67, 7475, 329, 12, 2890, 16, 6587, 16, 501, 273, 599, 4672, 468, 4135, 326, 5091, 364, 2811, 26654, 7166, 471, 2405, 326, 1686, 4267, 273, 22718, 18, 75, 2883, 18, 6688, 1...
this = apply(_quickfix.new_SecurityReqID, args)
this = _quickfix.new_SecurityReqID(*args)
def __init__(self, *args): this = apply(_quickfix.new_SecurityReqID, 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, 4368, 6113, 734, 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, 4368, 6113, 734, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, 3...
'\xac\xfa\xfd\xc6\xa7\xe5\x16\x8f\xa2Q\xb8\xb7\xbe\xab'
"t\xb6\xc1'\x83\x17\xae\xc9ZO\x84V\x7fX"
def __call__(self, M, mode = "ECB"): r""" INPUT: - ``M`` - a StringMonoidElement - ``mode`` - ignored (default: 'ECB') EXAMPLES:: sage: FF = FiniteField(2) sage: P.<x> = PolynomialRing(FF) sage: LFSR = LFSRCryptosystem(FF) sage: IS_1 = [ FF(a) for a in [0,1,0,1,0,0,0] ] sage: e1 = LFSR((x^7 + x + 1,IS_1)) sage:...
167bed5ea8e840387fb5e1a1d6d53caebf07e721 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/167bed5ea8e840387fb5e1a1d6d53caebf07e721/stream_cipher.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 490, 16, 1965, 273, 315, 7228, 38, 6, 4672, 436, 8395, 12943, 30, 282, 300, 225, 12176, 49, 10335, 300, 279, 514, 11415, 839, 1046, 225, 300, 225, 12176,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1991, 972, 12, 2890, 16, 490, 16, 1965, 273, 315, 7228, 38, 6, 4672, 436, 8395, 12943, 30, 282, 300, 225, 12176, 49, 10335, 300, 279, 514, 11415, 839, 1046, 225, 300, 225, 12176,...
firstPageTitle = str(arg[7:])
firstPageTitle = arg[7:]
def checkbot(): """ Main function """ # Command line configurable parameters repeat = True # Restart after having check all the images? limit = 80 # How many images check? time_sleep = 30 # How many time sleep after the check? skip_number = 0 # How many images to skip before checking? wait_number = 0 # How many time sl...
d3a2fc48d4e5f9ca045c9ff352693a14beec01b3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4404/d3a2fc48d4e5f9ca045c9ff352693a14beec01b3/checkimages.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 4819, 13332, 3536, 12740, 445, 3536, 468, 3498, 980, 14593, 1472, 7666, 273, 1053, 468, 20709, 1839, 7999, 866, 777, 326, 4602, 35, 1800, 273, 8958, 468, 9017, 4906, 4602, 866, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4819, 13332, 3536, 12740, 445, 3536, 468, 3498, 980, 14593, 1472, 7666, 273, 1053, 468, 20709, 1839, 7999, 866, 777, 326, 4602, 35, 1800, 273, 8958, 468, 9017, 4906, 4602, 866, 35, ...
repo = self.pconn.repository(id) if not repo: system_exit(os.EX_DATAERR, _("Repository with id: [%s] not found") % id)
repo = self.get_repo(id)
def run(self): id = self.get_required_option('id') repo = self.pconn.repository(id) if not repo: system_exit(os.EX_DATAERR, _("Repository with id: [%s] not found") % id) optdict = vars(self.opts) for k, v in optdict.items(): if not v: continue method = self.find(k) if method: # special method stale = method(repo, v) if...
e0cd776c182b7b15fde52b81f7b354e403cabf32 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10692/e0cd776c182b7b15fde52b81f7b354e403cabf32/repo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 612, 273, 365, 18, 588, 67, 4718, 67, 3482, 2668, 350, 6134, 3538, 273, 365, 18, 588, 67, 7422, 12, 350, 13, 2153, 1576, 273, 4153, 12, 2890, 18, 4952, 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, 1086, 12, 2890, 4672, 612, 273, 365, 18, 588, 67, 4718, 67, 3482, 2668, 350, 6134, 3538, 273, 365, 18, 588, 67, 7422, 12, 350, 13, 2153, 1576, 273, 4153, 12, 2890, 18, 4952, 13, 364,...
def saveToFileDirect(self, fileName, ext, size = QSize(), overwriteExisting = 0):
def saveToFileDirect(self, fileName, size = None):
def saveToFileDirect(self, fileName, ext, size = QSize(), overwriteExisting = 0): sizeDlg = OWChooseImageSizeDlg(self) sizeDlg.saveToFileDirect(fileName, ext, size, overwriteExisting)
950f5c32e790bc4cbadc7212208657605f6d8292 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/950f5c32e790bc4cbadc7212208657605f6d8292/OWGraph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 15450, 5368, 12, 2890, 16, 3968, 16, 963, 273, 599, 4672, 963, 40, 23623, 273, 18233, 24529, 28576, 40, 23623, 12, 2890, 13, 963, 40, 23623, 18, 5688, 15450, 5368, 12, 17812, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 15450, 5368, 12, 2890, 16, 3968, 16, 963, 273, 599, 4672, 963, 40, 23623, 273, 18233, 24529, 28576, 40, 23623, 12, 2890, 13, 963, 40, 23623, 18, 5688, 15450, 5368, 12, 17812, 16, ...
self._enqueue_message(message_id, content, content_type, failure_report='partial', success_report='no')
self._enqueue_message(message_id, content, IsComposingMessage.content_type, failure_report='partial', success_report='no')
def send_composing_indication(self, state, refresh, last_active=None, remote_identity=None): if self.direction == 'recvonly': raise ChatStreamError('Cannot send message on recvonly stream') content_type = IsComposingMessage.content_type if state not in ('active', 'idle'): raise ValueError('Invalid value for composing i...
53d8a757b5ad03567337a6d2e9fa055bba0ab4ce /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3449/53d8a757b5ad03567337a6d2e9fa055bba0ab4ce/msrp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 67, 832, 24014, 67, 728, 829, 12, 2890, 16, 919, 16, 4460, 16, 1142, 67, 3535, 33, 7036, 16, 2632, 67, 10781, 33, 7036, 4672, 309, 365, 18, 9855, 422, 296, 18334, 3700, 4278, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1366, 67, 832, 24014, 67, 728, 829, 12, 2890, 16, 919, 16, 4460, 16, 1142, 67, 3535, 33, 7036, 16, 2632, 67, 10781, 33, 7036, 4672, 309, 365, 18, 9855, 422, 296, 18334, 3700, 4278, 1...
def _resolveDependencies(self, uJob, jobSet, split = False):
def _resolveDependencies(self, uJob, jobSet, split = False, resolveDeps = True):
def _resolveDependencies(self, uJob, jobSet, split = False):
b7289c5579f3cce32d9fd4cc35d3bba87e0b8c10 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/b7289c5579f3cce32d9fd4cc35d3bba87e0b8c10/conaryclient.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 10828, 8053, 12, 2890, 16, 582, 2278, 16, 1719, 694, 16, 1416, 273, 1083, 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, ...
[ 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 10828, 8053, 12, 2890, 16, 582, 2278, 16, 1719, 694, 16, 1416, 273, 1083, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
from enthought.traits.ui.api import View, VSplit, Item
from enthought.traits.ui.api import View, Group, Item
def on_margin_click(self, event): if self.object.error: print event.GetPosition() #self.object.error.edit_traits() self.control.CallTipShow(self.squiggle_lines[0], self.object.error.traceback)
d95f463ddf373540566a95d0d6b7cd3e1251c72e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13168/d95f463ddf373540566a95d0d6b7cd3e1251c72e/source_editor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 10107, 67, 7475, 12, 2890, 16, 871, 4672, 309, 365, 18, 1612, 18, 1636, 30, 1172, 871, 18, 967, 2555, 1435, 468, 2890, 18, 1612, 18, 1636, 18, 4619, 67, 2033, 1282, 1435, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 10107, 67, 7475, 12, 2890, 16, 871, 4672, 309, 365, 18, 1612, 18, 1636, 30, 1172, 871, 18, 967, 2555, 1435, 468, 2890, 18, 1612, 18, 1636, 18, 4619, 67, 2033, 1282, 1435, 36...
gLogger.info("SRM2Storage.isFile: Checking whether %s path(s) are file(s)." % len(urls))
gLogger.debug("SRM2Storage.isFile: Checking whether %s path(s) are file(s)." % len(urls))
def isFile(self,path): """Check if the given path exists and it is a file """ if type(path) in types.StringTypes: urls = [path] elif type(path) == types.ListType: urls = path else: return S_ERROR("SRM2Storage.isFile: Supplied path must be string or list of strings")
65f6eeefcc68513bb80614609dded77332a53729 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/65f6eeefcc68513bb80614609dded77332a53729/SRM2Storage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11655, 12, 2890, 16, 803, 4672, 3536, 1564, 309, 326, 864, 589, 1704, 471, 518, 353, 279, 585, 3536, 309, 618, 12, 803, 13, 316, 1953, 18, 780, 2016, 30, 6903, 273, 306, 803, 65, 132...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11655, 12, 2890, 16, 803, 4672, 3536, 1564, 309, 326, 864, 589, 1704, 471, 518, 353, 279, 585, 3536, 309, 618, 12, 803, 13, 316, 1953, 18, 780, 2016, 30, 6903, 273, 306, 803, 65, 132...
<object %(ob_data)s %(ob_type)s %(ob_width)s %(ob_height)s %(ob_align)s> %(quality)s%(wmode)s%(autostart)s%(play)s%(loop)s%(menu)s<p>%(alt)s</p>
<object %(ob_data)s %(ob_type)s %(ob_width)s %(ob_height)s %(ob_align)s> %(movie)s%(quality)s%(wmode)s%(autostart)s%(play)s%(loop)s%(menu)s<p>%(alt)s</p>
def macro_EmbedObject(macro, target=wikiutil.required_arg(unicode), pagename=None, width=wikiutil.UnitArgument(None, float, ['px', 'em', 'mm', '%']), height=wikiutil.UnitArgument(None, float, ['px', 'em', 'mm', '%']), alt=u'', play=False, stop=True, loop=False, quality=(u'high', u'low', u'medium'), op=True, repeat=Fals...
e944ad4d26e541d71b3388f7dd10e2a4db7ef0fa /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/888/e944ad4d26e541d71b3388f7dd10e2a4db7ef0fa/EmbedObject.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11522, 67, 9538, 921, 12, 26448, 16, 1018, 33, 13044, 1367, 18, 4718, 67, 3175, 12, 9124, 3631, 4262, 1069, 33, 7036, 16, 1835, 33, 13044, 1367, 18, 2802, 1379, 12, 7036, 16, 1431, 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, 11522, 67, 9538, 921, 12, 26448, 16, 1018, 33, 13044, 1367, 18, 4718, 67, 3175, 12, 9124, 3631, 4262, 1069, 33, 7036, 16, 1835, 33, 13044, 1367, 18, 2802, 1379, 12, 7036, 16, 1431, 16,...
this_dep_data = Record(table=table, quantity=quantity,
this_dep_data = Record(name=name, quantity=quantity, agg_func=agg_func,
def __call__(self, lst): return lst[self.n]
b5af14daa2f1967a49e58413cef62b78984573cc /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12871/b5af14daa2f1967a49e58413cef62b78984573cc/log.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 9441, 4672, 327, 9441, 63, 2890, 18, 82, 65, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 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, 1001, 1991, 972, 12, 2890, 16, 9441, 4672, 327, 9441, 63, 2890, 18, 82, 65, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
res = self.__getDNFromUID(fstat.uid)
res = self.__getDNFromUID( fstat.uid )
def getFileMetadata(self,lfn,ownership=False): """ Returns the file metadata associated to a supplied LFN """ res = self.__checkArgumentFormat(lfn) if not res['OK']: return res lfns = res['Value'] # If we have less than three lfns to query a session doesn't make sense created = self.__openSession() failed = {} successf...
6280f3782654b93320f684f56a83a6624459bcec /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/6280f3782654b93320f684f56a83a6624459bcec/LcgFileCatalogClient.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6034, 2277, 12, 2890, 16, 80, 4293, 16, 995, 12565, 33, 8381, 4672, 3536, 2860, 326, 585, 1982, 3627, 358, 279, 4580, 18803, 50, 3536, 400, 273, 365, 16186, 1893, 1379, 1630, 12, 80, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6034, 2277, 12, 2890, 16, 80, 4293, 16, 995, 12565, 33, 8381, 4672, 3536, 2860, 326, 585, 1982, 3627, 358, 279, 4580, 18803, 50, 3536, 400, 273, 365, 16186, 1893, 1379, 1630, 12, 80, 4...
'type_id': fields.many2one('crm.case.resource.type', 'Version', domain="[('object_id.model', '=', 'project.issue')]"),
'type_id': fields.many2one('crm.case.resource.type', 'Version'),
def _get_data(self, cr, uid, ids, field_names, arg, context=None): if context is None: context = {} """ @param cr: the current row, from the database cursor, @param uid: the current users ID for security checks, @param ids: List of case and section Datas IDs @param context: A standard dictionary for contextual values "...
e3c4cb38d8aadc9424cc493b61f386607a0200d4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/e3c4cb38d8aadc9424cc493b61f386607a0200d4/project_issue_report.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 892, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 652, 67, 1973, 16, 1501, 16, 819, 33, 7036, 4672, 309, 819, 353, 599, 30, 819, 273, 2618, 3536, 632, 891, 4422, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 892, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 652, 67, 1973, 16, 1501, 16, 819, 33, 7036, 4672, 309, 819, 353, 599, 30, 819, 273, 2618, 3536, 632, 891, 4422, 30, 3...
"""<b> Load Favorite </b> <p> Allows the user to choose a "favorite file" from disk to add to the personal favorites list. File must have a .txt extension.
"""<b>Load Favorite </b> <p> <img source=\"ui/actions/Properties Manager/LoadFavorite.png\"><br> Allows the user to load a <i>favorites file</i> from disk to be added to the favorites list. Favorites files must have a .txt extension.
def WhatsThis_EditDnaDisplayStyle_PropertyManager(propMgr): """ Add "What's This" text for widgets in the Edit DNA Display Style Property Manager. """ propMgr.applyFavoriteButton.setWhatsThis( """<b> Apply Favorite </b> <p> Apply the DNA display style settings stored in the current favorite (selected in the combobox) ...
87f357202ce4dca36c1dcc7491686a22c7a639d9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/87f357202ce4dca36c1dcc7491686a22c7a639d9/WhatsThisText_for_PropertyManagers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3497, 2323, 2503, 67, 4666, 40, 6582, 4236, 2885, 67, 1396, 1318, 12, 5986, 9455, 4672, 3536, 1436, 315, 23801, 1807, 1220, 6, 977, 364, 10965, 316, 326, 15328, 463, 11277, 9311, 9767, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3497, 2323, 2503, 67, 4666, 40, 6582, 4236, 2885, 67, 1396, 1318, 12, 5986, 9455, 4672, 3536, 1436, 315, 23801, 1807, 1220, 6, 977, 364, 10965, 316, 326, 15328, 463, 11277, 9311, 9767, 4...
def set_window_height_fixed(self): self.window.set_geometry_hints(self.window, max_width=self.h, max_height=-1)
def on_expander_activate(self, expander): currheight = self.window.get_size()[1] self.expanded = False # Note that get_expanded() will return the state of the expander # before this current click window_about_to_be_expanded = not self.expander.get_expanded() if window_about_to_be_expanded: if self.window.get_size()[1] ...
153223b666549d0d24eaaef97d7672f05f8e13f3 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2312/153223b666549d0d24eaaef97d7672f05f8e13f3/sonata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 12320, 264, 67, 10014, 12, 2890, 16, 4542, 264, 4672, 4306, 4210, 273, 365, 18, 5668, 18, 588, 67, 1467, 1435, 63, 21, 65, 365, 18, 17336, 273, 1083, 468, 3609, 716, 336, 67...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 12320, 264, 67, 10014, 12, 2890, 16, 4542, 264, 4672, 4306, 4210, 273, 365, 18, 5668, 18, 588, 67, 1467, 1435, 63, 21, 65, 365, 18, 17336, 273, 1083, 468, 3609, 716, 336, 67...
'ru' : lambda v: dh_yearBC( v, u'%d до н. э.' ),
'ru' : lambda v: dh_yearBC( v, u'%d год до н. э.' ),
def MakeParameter( decoder, param ): newValue = decoder[1](param) if len(decoder) == 4 and len(newValue) < decoder[3]: # force parameter length by taking the first digit in the list and repeating it required number of times # This converts "205" into "0205" for "%4d" newValue = decoder[0][0] * (decoder[3]-len(newValue)...
0d587fb24710c43da6fbd7dd40eca0304587d218 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4404/0d587fb24710c43da6fbd7dd40eca0304587d218/date.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4344, 1662, 12, 8320, 16, 579, 262, 30, 6129, 273, 8320, 63, 21, 29955, 891, 13, 309, 562, 12, 21070, 13, 422, 1059, 471, 562, 12, 2704, 620, 13, 411, 8320, 63, 23, 14542, 468, 2944,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4344, 1662, 12, 8320, 16, 579, 262, 30, 6129, 273, 8320, 63, 21, 29955, 891, 13, 309, 562, 12, 21070, 13, 422, 1059, 471, 562, 12, 2704, 620, 13, 411, 8320, 63, 23, 14542, 468, 2944,...
def __init__(self, widget, master, valueName, propagateState = 1): self.widget = widget self.master = master self.valueName = valueName self.propagateState = propagateState def __call__(self, *value): if self.widget.isEnabled() or not self.propagateState: if len(value): disabled = not value[0] else: disabled = not get...
def __init__(self, widget, master, valueName, propagateState = 1): self.widget = widget self.master = master self.valueName = valueName self.propagateState = propagateState def __call__(self, *value): if self.widget.isEnabled() or not self.propagateState: if len(value): disabled = not value[0] else: disabled = not get...
def __init__(self, widget, master, valueName, propagateState = 1): self.widget = widget self.master = master self.valueName = valueName self.propagateState = propagateState
ec58355f0e4e6cbc25734f2c717e88966d659bd7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/ec58355f0e4e6cbc25734f2c717e88966d659bd7/OWGUI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 3604, 16, 4171, 16, 460, 461, 16, 13551, 1119, 273, 404, 4672, 365, 18, 6587, 273, 3604, 365, 18, 7525, 273, 4171, 365, 18, 1132, 461, 273, 460, 461, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 3604, 16, 4171, 16, 460, 461, 16, 13551, 1119, 273, 404, 4672, 365, 18, 6587, 273, 3604, 365, 18, 7525, 273, 4171, 365, 18, 1132, 461, 273, 460, 461, 3...
print >> pbs, script
print >> pbs, pbs_script
def allJobs(): ''' list all jobs ''' names = [] for job in alljobs: names.append(job['name']) return names
3b8b6236b41f92dafdcc326a6bc9eb16e029ae73 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/401/3b8b6236b41f92dafdcc326a6bc9eb16e029ae73/simuCluster.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 777, 7276, 13332, 9163, 666, 777, 6550, 9163, 1257, 273, 5378, 364, 1719, 316, 777, 10088, 30, 1257, 18, 6923, 12, 4688, 3292, 529, 19486, 327, 1257, 282, 2, 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, 777, 7276, 13332, 9163, 666, 777, 6550, 9163, 1257, 273, 5378, 364, 1719, 316, 777, 10088, 30, 1257, 18, 6923, 12, 4688, 3292, 529, 19486, 327, 1257, 282, 2, -100, -100, -100, -100, -100...
dl.append(self.dispatch(decodeTag(child.tag)[1], child)) return defer.DeferredList(dl)
return self.dispatch(decodeTag(child.tag)[1], child) return defer.fail(ValueError("no acceptable tag found"))
def _messageReceived(self, msg):
f6d6c418060c0f3be704ec36d6b024d507a36a5d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2459/f6d6c418060c0f3be704ec36d6b024d507a36a5d/xsdl.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2150, 8872, 12, 2890, 16, 1234, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 389, 2150, 8872, 12, 2890, 16, 1234, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
def print_doc(self, doc, decor=False): if not doc: return self.print_listing(['Command', 'Description'], doc, ' --', decor)
def print_doc(self, docs): if not docs: return for cmd, doc in docs: print cmd print '\n\t-- %s\n' % doc
def print_doc(self, doc, decor=False): if not doc: return self.print_listing(['Command', 'Description'], doc, ' --', decor)
0bb2bcbc544c4f40e3722cc8a4dba479c592dff4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/0bb2bcbc544c4f40e3722cc8a4dba479c592dff4/admin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1172, 67, 2434, 12, 2890, 16, 997, 16, 4839, 33, 8381, 4672, 309, 486, 997, 30, 327, 365, 18, 1188, 67, 21228, 12, 3292, 2189, 2187, 296, 3291, 17337, 997, 16, 296, 225, 1493, 2187, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1172, 67, 2434, 12, 2890, 16, 997, 16, 4839, 33, 8381, 4672, 309, 486, 997, 30, 327, 365, 18, 1188, 67, 21228, 12, 3292, 2189, 2187, 296, 3291, 17337, 997, 16, 296, 225, 1493, 2187, ...
log_filename = ("scp-%s-%s.log" % (self.name, kvm_utils.generate_random_string(4)))
def copy_files_to(self, local_path, remote_path, nic_index=0, timeout=600): """ Transfer files to the guest.
bb7fcce0c60db93e7cf8a1a474bdbec15d253887 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10349/bb7fcce0c60db93e7cf8a1a474bdbec15d253887/kvm_vm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 67, 2354, 67, 869, 12, 2890, 16, 1191, 67, 803, 16, 2632, 67, 803, 16, 11562, 67, 1615, 33, 20, 16, 2021, 33, 28133, 4672, 3536, 12279, 1390, 358, 326, 13051, 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, 1610, 67, 2354, 67, 869, 12, 2890, 16, 1191, 67, 803, 16, 2632, 67, 803, 16, 11562, 67, 1615, 33, 20, 16, 2021, 33, 28133, 4672, 3536, 12279, 1390, 358, 326, 13051, 18, 2, -100, -100...
this = apply(_quickfix.new_ReversalIndicator, args)
this = _quickfix.new_ReversalIndicator(*args)
def __init__(self, *args): this = apply(_quickfix.new_ReversalIndicator, 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, 426, 2496, 287, 13140, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 426, 2496, 287, 13140, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, ...
Ah = self.h
def __mul__(self, other): if isinstance(other, Matrix3): # Caching repeatedly accessed attributes in local variables # apparently increases performance by 20%. Attrib: Will McGugan. Aa = self.a Ab = self.b Ac = self.c Ad = self.d Ae = self.e Af = self.f Ag = self.g Ah = self.h Ai = self.i Aj = self.j Ak = self.k Ba = ...
2151a22e7991fa47eb449b5b47262aeaa758ebff /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7978/2151a22e7991fa47eb449b5b47262aeaa758ebff/euclid.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 16411, 972, 12, 2890, 16, 1308, 4672, 309, 1549, 12, 3011, 16, 7298, 23, 4672, 468, 23782, 310, 30412, 15539, 1677, 316, 1191, 3152, 468, 29614, 715, 7033, 3304, 9239, 635, 4200, 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, 1001, 16411, 972, 12, 2890, 16, 1308, 4672, 309, 1549, 12, 3011, 16, 7298, 23, 4672, 468, 23782, 310, 30412, 15539, 1677, 316, 1191, 3152, 468, 29614, 715, 7033, 3304, 9239, 635, 4200, 9...
return
return new
def deepcopy(self): #bruce 050704; don't know whether this is complete [needs review by Mark; is it ok it only sets .ui? #####@@@@@] "Make a copy of self (a gamessParms object), which shares no mutable state with self. (Used to copy a Gamess Jig containing self.)" newname = self.name + " copy" # copy needs a different ...
fc9b5b0c1e4bcfbe715253fdd9f0953ea2657119 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/fc9b5b0c1e4bcfbe715253fdd9f0953ea2657119/jig_Gamess.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7217, 12, 2890, 4672, 468, 2848, 3965, 374, 3361, 27, 3028, 31, 2727, 1404, 5055, 2856, 333, 353, 3912, 306, 20600, 10725, 635, 6622, 31, 353, 518, 1529, 518, 1338, 1678, 263, 4881, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7217, 12, 2890, 4672, 468, 2848, 3965, 374, 3361, 27, 3028, 31, 2727, 1404, 5055, 2856, 333, 353, 3912, 306, 20600, 10725, 635, 6622, 31, 353, 518, 1529, 518, 1338, 1678, 263, 4881, 35, ...
z = ZipFile(zipstream, 'w') path = os.path.join(tdir, *name.split('/')) shutil.copyfileobj(datastream, open(path, 'wb')) for info in names: current = os.path.join(tdir, *info.filename.split('/')) if os.path.isdir(current): z.writestr(info.filename+'/', '', 0700) else: z.write(current, info.filename, compress_type=info....
with closing(ZipFile(zipstream, 'w')) as z: for info in names: fname = decode_arcname(info.filename) current = os.path.join(tdir, *fname.split('/')) if os.path.isdir(current): z.writestr(info.filename+'/', '', 0700) else: z.write(current, info.filename, compress_type=info.compress_type)
def safe_replace(zipstream, name, datastream): ''' Replace a file in a zip file in a safe manner. This proceeds by extracting and re-creating the zipfile. This is neccessary because :method:`ZipFile.replace` sometimes created corrupted zip files. :param zipstream: Stream from a zip file :param name: The name of...
90bf890e10e1b94de2516aed57e6ff57395a5843 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/90bf890e10e1b94de2516aed57e6ff57395a5843/zipfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4183, 67, 2079, 12, 4450, 3256, 16, 508, 16, 27973, 4672, 9163, 6910, 279, 585, 316, 279, 3144, 585, 316, 279, 4183, 21296, 18, 1220, 11247, 87, 635, 27117, 471, 283, 17, 23799, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4183, 67, 2079, 12, 4450, 3256, 16, 508, 16, 27973, 4672, 9163, 6910, 279, 585, 316, 279, 3144, 585, 316, 279, 4183, 21296, 18, 1220, 11247, 87, 635, 27117, 471, 283, 17, 23799, 326, 1...
s = s[:j] + ' j += len(kwd) + 1
last_hash = s[:j].rfind(' last_newline = s[:j].rfind('\n') if last_hash > last_newline: j += len(kwd) else: s = s[:j] + ' j += len(kwd) + 1
def parse_keywords(kwd, s): j = 0 v = [] while True: i = s[j:].find(kwd) if i == -1: break j = i + j s = s[:j] + '#' + s[j:] j += len(kwd) + 1 k = s[j:].find('\n') if k == -1: k = len(s) for X in s[j:j+k].split(): if X[0] == '#': # skip rest of line break v.append(X) return v, s
23b6f378898290e649fe110303ee89875dd9097a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/23b6f378898290e649fe110303ee89875dd9097a/cython.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 11771, 12, 79, 3623, 16, 272, 4672, 525, 273, 374, 331, 273, 5378, 1323, 1053, 30, 277, 273, 272, 63, 78, 30, 8009, 4720, 12, 79, 3623, 13, 309, 277, 422, 300, 21, 30, 89...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 11771, 12, 79, 3623, 16, 272, 4672, 525, 273, 374, 331, 273, 5378, 1323, 1053, 30, 277, 273, 272, 63, 78, 30, 8009, 4720, 12, 79, 3623, 13, 309, 277, 422, 300, 21, 30, 89...
<td><para style="answer_left">""" + to_xml(str(que.column_name)) + """</para>
<td><para style="answer_left">""" + to_xml(tools.ustr(que.column_name)) + """</para>
def divide_list(lst, n): return [lst[i::n] for i in range(n)]
359c4ac3c3deec88d37b44f93123f5d4ba02f3b3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7339/359c4ac3c3deec88d37b44f93123f5d4ba02f3b3/survey_form.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12326, 67, 1098, 12, 16923, 16, 290, 4672, 327, 306, 16923, 63, 77, 2866, 82, 65, 364, 277, 316, 1048, 12, 82, 25887, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12326, 67, 1098, 12, 16923, 16, 290, 4672, 327, 306, 16923, 63, 77, 2866, 82, 65, 364, 277, 316, 1048, 12, 82, 25887, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
print city print result
def city_exists(city): print "city exists %s ?" % city try: conn = psycopg2.connect("dbname='%s' user='%s' host='%s' password='%s'" % \ (www.settings.DATABASE_NAME, www.settings.DATABASE_USER, www.settings.DATABASE_HOST, www.settings.DATABASE_PASSWORD)) except psycopg2.OperationalError: return False cursor = conn.cur...
8a60f68cc76119786c5fa3294a9eda1eb78232e3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14904/8a60f68cc76119786c5fa3294a9eda1eb78232e3/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12797, 67, 1808, 12, 14240, 4672, 225, 1172, 315, 14240, 1704, 738, 87, 17921, 738, 12797, 775, 30, 1487, 273, 4250, 93, 22295, 75, 22, 18, 3612, 2932, 20979, 28713, 87, 11, 729, 28713, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12797, 67, 1808, 12, 14240, 4672, 225, 1172, 315, 14240, 1704, 738, 87, 17921, 738, 12797, 775, 30, 1487, 273, 4250, 93, 22295, 75, 22, 18, 3612, 2932, 20979, 28713, 87, 11, 729, 28713, ...
pass
meths = [fixfeat(x) for x in meths]
def append_doc(fun, keyword, meths): if keyword == "feature": pass else: meths = [":py:func:`%s`" % x for x in meths] dc = ", ".join(meths) fun.__doc__ += '\n\t:%s: %s' % (keyword, dc)
37ed8fe750989e519512ed40c97a44a41c9bb2bb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2886/37ed8fe750989e519512ed40c97a44a41c9bb2bb/conf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 714, 67, 2434, 12, 12125, 16, 4932, 16, 7917, 87, 4672, 225, 309, 4932, 422, 315, 7238, 6877, 7917, 87, 273, 306, 904, 29735, 12, 92, 13, 364, 619, 316, 7917, 87, 65, 469, 30, 7917, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 714, 67, 2434, 12, 12125, 16, 4932, 16, 7917, 87, 4672, 225, 309, 4932, 422, 315, 7238, 6877, 7917, 87, 273, 306, 904, 29735, 12, 92, 13, 364, 619, 316, 7917, 87, 65, 469, 30, 7917, ...
self.newship=faction_ships.getRandomFighter(faction)
self.newship=faction_ships.getRandomFighter(self.faction)
def loop (self): isSig=0 if (self.you.isNull()): self.Lose (1) return if (self.arrived==3): if (not self.istarget): curun=VS.getUnit(self.curiter) if (self.enemy): if (curun==self.enemy): self.enemy.setTarget(self.you) self.curiter+=1 if (you.isNull()): self.Lose(1) return if (self.enemy.isNull()): self.Win(you,1) retu...
a537f39c17600bf6b993994cfcfafc164c3f274f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2883/a537f39c17600bf6b993994cfcfafc164c3f274f/bounty.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2798, 261, 2890, 4672, 353, 8267, 33, 20, 309, 261, 2890, 18, 19940, 18, 291, 2041, 1435, 4672, 365, 18, 1504, 307, 261, 21, 13, 327, 309, 261, 2890, 18, 5399, 2950, 631, 23, 4672, 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, 2798, 261, 2890, 4672, 353, 8267, 33, 20, 309, 261, 2890, 18, 19940, 18, 291, 2041, 1435, 4672, 365, 18, 1504, 307, 261, 21, 13, 327, 309, 261, 2890, 18, 5399, 2950, 631, 23, 4672, 3...
if d['Status'] == 'install ok installed':
if "ok installed" in d['Status']:
def parse_status(path): control = "" for line in file(path).readlines(): if not line.strip(): yield control control = "" else: control += line
4d7aa96c98c1aab3b4f61d10ab79b5d10b8cf385 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10616/4d7aa96c98c1aab3b4f61d10ab79b5d10b8cf385/pkgman.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 2327, 12, 803, 4672, 3325, 273, 1408, 364, 980, 316, 585, 12, 803, 2934, 896, 3548, 13332, 309, 486, 980, 18, 6406, 13332, 2824, 3325, 3325, 273, 1408, 469, 30, 3325, 1011, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 2327, 12, 803, 4672, 3325, 273, 1408, 364, 980, 316, 585, 12, 803, 2934, 896, 3548, 13332, 309, 486, 980, 18, 6406, 13332, 2824, 3325, 3325, 273, 1408, 469, 30, 3325, 1011, 9...
def search(self, charset, criteria):
def search(self, charset, *criteria):
def search(self, charset, criteria): """Search mailbox for matching messages.
71a5ba2bad9f65889796d806ddc5f2b241ae229d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/71a5ba2bad9f65889796d806ddc5f2b241ae229d/imaplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1623, 12, 2890, 16, 4856, 16, 380, 9714, 4672, 3536, 2979, 14187, 364, 3607, 2743, 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, ...
[ 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1623, 12, 2890, 16, 4856, 16, 380, 9714, 4672, 3536, 2979, 14187, 364, 3607, 2743, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
expected_flags.sort()
def test_flags_irrelevant(self): # check that the result (numeric result + flags raised) of an # arithmetic operation doesn't depend on the current flags
f6fcf1773375414de2096c5062c3bbd03540e518 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3187/f6fcf1773375414de2096c5062c3bbd03540e518/test_decimal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 7133, 67, 481, 27719, 12, 2890, 4672, 468, 866, 716, 326, 563, 261, 5246, 563, 397, 2943, 11531, 13, 434, 392, 468, 30828, 1674, 3302, 1404, 2447, 603, 326, 783, 2943, 2, 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, 1842, 67, 7133, 67, 481, 27719, 12, 2890, 4672, 468, 866, 716, 326, 563, 261, 5246, 563, 397, 2943, 11531, 13, 434, 392, 468, 30828, 1674, 3302, 1404, 2447, 603, 326, 783, 2943, 2, -10...
dest = self.findFileInDir(u"%s.%s" % (available_metadata['title'], ext), graphicsdirs, suffix=self.graphic_suffix[graphic_type], fuzzy_match=True)
dest = self.findFileInDir(u"%s.%s" % (sanitiseFileName(available_metadata['title']), ext), graphicsdirs, suffix=self.graphic_suffix[graphic_type], fuzzy_match=True)
def processMythTvMetaData(self): '''Check each video file in the mythvideo directories download graphics files and meta data then update MythTV data base meta data with any new information. ''' # If there were directories specified move them and update the MythTV db meta data accordingly if self.config['video_dir']: if...
f132146d19febfbd3e15736f0f51f9e3d1f72607 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13713/f132146d19febfbd3e15736f0f51f9e3d1f72607/jamu.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 12062, 451, 56, 90, 6998, 12, 2890, 4672, 9163, 1564, 1517, 6191, 585, 316, 326, 3399, 451, 9115, 6402, 4224, 17313, 1390, 471, 2191, 501, 1508, 1089, 8005, 451, 15579, 501, 1026, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 12062, 451, 56, 90, 6998, 12, 2890, 4672, 9163, 1564, 1517, 6191, 585, 316, 326, 3399, 451, 9115, 6402, 4224, 17313, 1390, 471, 2191, 501, 1508, 1089, 8005, 451, 15579, 501, 1026, ...
print >> sys.stderr, "Can't find " + single_entry + " in " + EAPDIR
print >> sys.stderr, "Can't find " + single_entry + " in " + APPSDIR
def main(): """ This program is used to generate the menu in enlightenment for the pentoo livecd Future version _might_ support other VM like gnome or others but kde :-) """ if options.listsupported: listdb() return 0 if options.simulate: print star + "Starting simulation" if options.listonly: print star + "Listing s...
163e5647d94b9b3d2efc08063789b5192703a389 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7161/163e5647d94b9b3d2efc08063789b5192703a389/genmenu.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 3536, 1220, 5402, 353, 1399, 358, 2103, 326, 3824, 316, 570, 5099, 275, 475, 364, 326, 293, 319, 5161, 328, 427, 557, 72, 9108, 1177, 389, 81, 750, 67, 2865, 1308, 8251, 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, 2774, 13332, 3536, 1220, 5402, 353, 1399, 358, 2103, 326, 3824, 316, 570, 5099, 275, 475, 364, 326, 293, 319, 5161, 328, 427, 557, 72, 9108, 1177, 389, 81, 750, 67, 2865, 1308, 8251, 3...
self.wave_ringtone = None
def start(self): settings = SIPSimpleSettings() stream = self.session.proposed_streams[0] self.file_selector = stream.file_selector self.filename = filename = os.path.join(settings.file_transfer.directory.normalized, self.file_selector.name) i = 1 while os.path.exists(filename): filename = '%s.%d' % (self.filename, i) ...
a5708954fdf38b67940bec40d73cfdd5517b0122 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3449/a5708954fdf38b67940bec40d73cfdd5517b0122/sip_session.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 2890, 4672, 1947, 273, 348, 2579, 5784, 2628, 1435, 1407, 273, 365, 18, 3184, 18, 685, 7423, 67, 16320, 63, 20, 65, 365, 18, 768, 67, 9663, 273, 1407, 18, 768, 67, 9663, 365...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 787, 12, 2890, 4672, 1947, 273, 348, 2579, 5784, 2628, 1435, 1407, 273, 365, 18, 3184, 18, 685, 7423, 67, 16320, 63, 20, 65, 365, 18, 768, 67, 9663, 273, 1407, 18, 768, 67, 9663, 365...
if img_pil.mode in ("RGB", "RGBA"):
if img_pil.mode in ("RGB", "RGBA", "L"):
def notify(self, sender, event): """ Notification sent by node """ img = self.node.get_input(self.param_str) img_pil = img.copy() img_pil.thumbnail((100,100)) if img_pil != None: if img_pil.mode in ("RGB", "RGBA"): img = ImageQt(img_pil) else : img = ImageQt(img.convert("RGBA")) pix=QPixmap.fromImage(img) self.set_imag...
1cbc058212fad93de5a2bb9dc5b058ef42f8ebef /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4914/1cbc058212fad93de5a2bb9dc5b058ef42f8ebef/images_wralea.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5066, 12, 2890, 16, 5793, 16, 871, 4672, 3536, 8050, 3271, 635, 756, 3536, 3774, 273, 365, 18, 2159, 18, 588, 67, 2630, 12, 2890, 18, 891, 67, 701, 13, 3774, 67, 84, 330, 273, 3774, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5066, 12, 2890, 16, 5793, 16, 871, 4672, 3536, 8050, 3271, 635, 756, 3536, 3774, 273, 365, 18, 2159, 18, 588, 67, 2630, 12, 2890, 18, 891, 67, 701, 13, 3774, 67, 84, 330, 273, 3774, ...
if self.debugging: print '*welcome*', `self.welcome`
if self.debugging: print '*welcome*', self.sanitize(self.welcome)
def getwelcome(self): if self.debugging: print '*welcome*', `self.welcome` return self.welcome
a400852e53478ba4d10fbcf752119754d73c29d3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/a400852e53478ba4d10fbcf752119754d73c29d3/ftplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 91, 16312, 12, 2890, 4672, 309, 365, 18, 4148, 1998, 30, 1172, 14609, 91, 16312, 14, 2187, 365, 18, 20266, 12, 2890, 18, 91, 16312, 13, 327, 365, 18, 91, 16312, 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, 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, 336, 91, 16312, 12, 2890, 4672, 309, 365, 18, 4148, 1998, 30, 1172, 14609, 91, 16312, 14, 2187, 365, 18, 20266, 12, 2890, 18, 91, 16312, 13, 327, 365, 18, 91, 16312, 2, -100, -100, -...
def endTagTable(self, token): if (self.tree.elementInScope("tbody", variant="table") or self.tree.elementInScope("thead", variant="table") or self.tree.elementInScope("tfoot", variant="table")): self.clearStackToTableBodyContext() self.endTagTableRowGroup( impliedTagToken(self.tree.openElements[-1].name))
def endTagOther(self, token): self.parser.phases["inTable"].processEndTag(token) class InRowPhase(Phase): def __init__(self, parser, tree): Phase.__init__(self, parser, tree) self.startTagHandler = utils.MethodDispatcher([ ("html", self.startTagHtml), (("td", "th"), self.startTagTableCell), (("caption", "col", "colg...
def endTagTable(self, token): if (self.tree.elementInScope("tbody", variant="table") or self.tree.elementInScope("thead", variant="table") or self.tree.elementInScope("tfoot", variant="table")): self.clearStackToTableBodyContext() self.endTagTableRowGroup( impliedTagToken(self.tree.openElements[-1].name)) self.parser.p...
5cc56a5db432ce478d90ee0dd744811935854947 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10463/5cc56a5db432ce478d90ee0dd744811935854947/html5parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 29765, 8290, 12, 2890, 16, 1147, 4672, 365, 18, 4288, 18, 844, 3304, 9614, 267, 1388, 6, 8009, 2567, 25633, 12, 2316, 13, 282, 667, 657, 1999, 11406, 12, 11406, 4672, 225, 1652, 1001, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29765, 8290, 12, 2890, 16, 1147, 4672, 365, 18, 4288, 18, 844, 3304, 9614, 267, 1388, 6, 8009, 2567, 25633, 12, 2316, 13, 282, 667, 657, 1999, 11406, 12, 11406, 4672, 225, 1652, 1001, ...
self._write_var_details(public, private, doc.variables(), uid)
self._write_var_details(public, private, doc, doc.variables())
def _write_module(self, public, private, uid, doc): """ Write an HTML page describing the given module to the given streams. @param public: The output stream for the public version of the page. @param private: The output stream for the private version of the page. @param uid: The UID of the module to document. @param d...
6ecda71cd0e7e4752ddec3a0c1619699a3092855 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/6ecda71cd0e7e4752ddec3a0c1619699a3092855/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2626, 67, 2978, 12, 2890, 16, 1071, 16, 3238, 16, 4555, 16, 997, 4672, 3536, 2598, 392, 3982, 1363, 16868, 326, 864, 1605, 358, 326, 864, 8205, 18, 632, 891, 1071, 30, 1021, 876, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2626, 67, 2978, 12, 2890, 16, 1071, 16, 3238, 16, 4555, 16, 997, 4672, 3536, 2598, 392, 3982, 1363, 16868, 326, 864, 1605, 358, 326, 864, 8205, 18, 632, 891, 1071, 30, 1021, 876, ...
verts = data.keys()
verts = set(data.keys())
def __init__(self, data=None, pos=None, loops=None, format=None, boundary=[], weighted=None, implementation='networkx', sparse=True, vertex_labels=True, **kwds): """ TESTS:: sage: G = Graph() sage: loads(dumps(G)) == G True sage: a = matrix(2,2,[1,0,0,1]) sage: Graph(a).adjacency_matrix() == a True
4f9c413501b90399eaf8a3c01e52aad1fd917485 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/4f9c413501b90399eaf8a3c01e52aad1fd917485/graph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 501, 33, 7036, 16, 949, 33, 7036, 16, 14075, 33, 7036, 16, 740, 33, 7036, 16, 7679, 22850, 6487, 13747, 33, 7036, 16, 4471, 2218, 5185, 92, 2187, 9387, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 501, 33, 7036, 16, 949, 33, 7036, 16, 14075, 33, 7036, 16, 740, 33, 7036, 16, 7679, 22850, 6487, 13747, 33, 7036, 16, 4471, 2218, 5185, 92, 2187, 9387, ...
f=open('/tmp/debug', 'w') f.write(new) f.write(newr) f.close() print newr
def main(argv): recID=0 opts,pargs=getopt.getopt(argv,'i:') for opt, arg in opts: if opt == '-i': recID=arg result=format_record(recID=recID,of='xm') if result: #change the result to MARC by applying a template result = bibconvert_xslt_engine.convert(result, "marcxmltoplain.xsl") #call a sub that changes the stuff t...
1279bffd911eb9ab711b9a977807e811c9a1a6d4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/14116/1279bffd911eb9ab711b9a977807e811c9a1a6d4/editor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 19485, 4672, 225, 1950, 734, 33, 20, 1500, 16, 1065, 564, 33, 588, 3838, 18, 588, 3838, 12, 19485, 11189, 77, 2497, 13, 364, 2153, 16, 1501, 316, 1500, 30, 309, 2153, 422, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 19485, 4672, 225, 1950, 734, 33, 20, 1500, 16, 1065, 564, 33, 588, 3838, 18, 588, 3838, 12, 19485, 11189, 77, 2497, 13, 364, 2153, 16, 1501, 316, 1500, 30, 309, 2153, 422, ...
self.collection.findOne(type = Movie, title = unicode(title)).watched = watched
self.smewtd.collection.findOne(Movie, title = unicode(title)).watched = watched
def updateWatched(self, title, watched): self.collection.findOne(type = Movie, title = unicode(title)).watched = watched
b40935ee44f858d3c15866962fac2e822d407b3b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11141/b40935ee44f858d3c15866962fac2e822d407b3b/mainwidget.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 5234, 329, 12, 2890, 16, 2077, 16, 23135, 4672, 365, 18, 5548, 18, 4720, 3335, 12, 723, 273, 26963, 16, 2077, 273, 5252, 12, 2649, 13, 2934, 7585, 329, 273, 23135, 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, 1089, 5234, 329, 12, 2890, 16, 2077, 16, 23135, 4672, 365, 18, 5548, 18, 4720, 3335, 12, 723, 273, 26963, 16, 2077, 273, 5252, 12, 2649, 13, 2934, 7585, 329, 273, 23135, 2, -100, -100,...
assert self.printInterests()
assert self.printInterestsIfDebug()
def handleInterestDoneMessage(self, di): """ This handles the interest done messages and may dispatch a action based on the ID, Context """ assert self.notify.debugCall() id = di.getUint16() scope = di.getUint32() expect_scope = self.getInterestScopeId(id) print "handleInterestDoneMessage--> Received ID:%s Scope:%s"%(i...
89775fc9c26f3ea3b58b50241e39dc1220ecbcf0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7242/89775fc9c26f3ea3b58b50241e39dc1220ecbcf0/DoInterestManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 29281, 7387, 1079, 12, 2890, 16, 4314, 4672, 3536, 1220, 7372, 326, 16513, 2731, 2743, 471, 2026, 3435, 279, 1301, 2511, 603, 326, 1599, 16, 1772, 3536, 1815, 365, 18, 12336, 18, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 29281, 7387, 1079, 12, 2890, 16, 4314, 4672, 3536, 1220, 7372, 326, 16513, 2731, 2743, 471, 2026, 3435, 279, 1301, 2511, 603, 326, 1599, 16, 1772, 3536, 1815, 365, 18, 12336, 18, 4...