rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
Return the rational points on this curve computed via enumeration. INPUT: - ``algorithm`` (string, default: 'enum') -- the algorithm to use. Currently this is ignored. - ``sort`` (boolean, default ``True``) -- whether the output points should be sorted. If False, the order of the output is non-deterministic.
Return a generator object for the rational points on this curve. INPUT: - ``self`` -- a projective curve
def rational_points(self, algorithm="enum", sort=True): r""" Return the rational points on this curve computed via enumeration.
98b600e283b76d988294a386cfe037b70de67ee1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/98b600e283b76d988294a386cfe037b70de67ee1/projective_curve.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 436, 8371, 67, 4139, 12, 2890, 16, 4886, 1546, 7924, 3113, 1524, 33, 5510, 4672, 436, 8395, 2000, 326, 436, 8371, 3143, 603, 333, 8882, 8470, 3970, 16836, 18, 225, 2, 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, 436, 8371, 67, 4139, 12, 2890, 16, 4886, 1546, 7924, 3113, 1524, 33, 5510, 4672, 436, 8395, 2000, 326, 436, 8371, 3143, 603, 333, 8882, 8470, 3970, 16836, 18, 225, 2, -100, -100, -100, ...
'state': fields.selection([('manual','Custom Field'),('base','Base Field')],'Manually Created', required=True, readonly=True),
'state': fields.selection([('manual','Custom Field'),('base','Base Field')],'Manually Created', required=True, readonly=True, select=1),
def fields_view_get(self, cr, uid, view_id=None, view_type='form', context={}, toolbar=False, submenu=False): result = super(ir_model_grid, self).fields_view_get(cr, uid, view_id, view_type, context=context, toolbar=toolbar, submenu=submenu) groups = self.pool.get('res.groups').search(cr, uid, []) groups_br = self.pool...
a439ae096bff599c037611b910c5824bd6702e0e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/a439ae096bff599c037611b910c5824bd6702e0e/ir_model.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1466, 67, 1945, 67, 588, 12, 2890, 16, 4422, 16, 4555, 16, 1476, 67, 350, 33, 7036, 16, 1476, 67, 723, 2218, 687, 2187, 819, 28793, 12748, 33, 8381, 16, 27539, 33, 8381, 4672, 563, 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, 1466, 67, 1945, 67, 588, 12, 2890, 16, 4422, 16, 4555, 16, 1476, 67, 350, 33, 7036, 16, 1476, 67, 723, 2218, 687, 2187, 819, 28793, 12748, 33, 8381, 16, 27539, 33, 8381, 4672, 563, 2...
words[-1].text = words[-1].text+' '
if nText!='' and nText[0]!=' ': words[-1].text = words[-1].text + ' '
def breakLines(self, width): """ Returns a broken line structure. There are two cases A) For the simple case of a single formatting input fragment the output is A fragment specifier with kind = 0 fontName, fontSize, leading, textColor lines= A list of lines Each line has two items. 1) unused width in points 2) word li...
fa2d80d563dacf298f401ed75a135156085eecb0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/fa2d80d563dacf298f401ed75a135156085eecb0/paragraph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 898, 5763, 12, 2890, 16, 1835, 4672, 3536, 2860, 279, 12933, 980, 3695, 18, 6149, 854, 2795, 6088, 225, 432, 13, 2457, 326, 4143, 648, 434, 279, 2202, 10407, 810, 5481, 326, 876, 353, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 898, 5763, 12, 2890, 16, 1835, 4672, 3536, 2860, 279, 12933, 980, 3695, 18, 6149, 854, 2795, 6088, 225, 432, 13, 2457, 326, 4143, 648, 434, 279, 2202, 10407, 810, 5481, 326, 876, 353, ...
sage: K.<a>=NumberField(x^3-2)
sage: K.<a> = NumberField(x^3-2)
def has_split_multiplicative_reduction(self): r""" Return True if there is split multiplicative reduction.
e8b4186c4eff9611db149cc7ab3d28774ae15049 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/e8b4186c4eff9611db149cc7ab3d28774ae15049/ell_local_data.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 711, 67, 4939, 67, 7027, 28884, 67, 1118, 4062, 12, 2890, 4672, 436, 8395, 2000, 1053, 309, 1915, 353, 1416, 3309, 28884, 225, 20176, 18, 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, 0, 0, 0, 0, 0, 0, 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, 711, 67, 4939, 67, 7027, 28884, 67, 1118, 4062, 12, 2890, 4672, 436, 8395, 2000, 1053, 309, 1915, 353, 1416, 3309, 28884, 225, 20176, 18, 2, -100, -100, -100, -100, -100, -100, -100, -10...
testFrame = InterlockWdg(tuiModel.tkRoot)
testFrame = interlocks.InterlocksWdg(tuiModel.tkRoot)
def ab_statusCallback(self, keyVar): """status is 4 ints, so handle specially""" if keyVar[0] is not None: self.tkRoot.call("set_status", keyVar[0], keyVar[1], keyVar[2], keyVar[3])
6b8138d39bdf0e36ebe15c00fdf6df2a098de47c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6236/6b8138d39bdf0e36ebe15c00fdf6df2a098de47c/InterlocksWindow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1223, 67, 2327, 2428, 12, 2890, 16, 498, 1537, 4672, 3536, 2327, 353, 1059, 15542, 16, 1427, 1640, 857, 6261, 8395, 309, 498, 1537, 63, 20, 65, 353, 486, 599, 30, 365, 18, 16099, 2375,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1223, 67, 2327, 2428, 12, 2890, 16, 498, 1537, 4672, 3536, 2327, 353, 1059, 15542, 16, 1427, 1640, 857, 6261, 8395, 309, 498, 1537, 63, 20, 65, 353, 486, 599, 30, 365, 18, 16099, 2375,...
def cmd_die(self,*befehl):
def cmd_die(self,befehl):
def cmd_die(self,*befehl): '''schaltet den Bot ab''' befehl = befehl[0] if befehl['quelle']['ident'] == 'tiax': self.quit('diediedie') else: self.notice(befehl['quelle']['nick'],'Du darfst den Bot nicht abschalten')
97fd12deea4b6666c5a17c647308be3fd93ec7f8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2469/97fd12deea4b6666c5a17c647308be3fd93ec7f8/ircbot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1797, 67, 72, 1385, 12, 2890, 16, 2196, 3030, 25356, 4672, 9163, 28204, 2390, 278, 5545, 15039, 1223, 26418, 506, 3030, 25356, 273, 506, 3030, 25356, 63, 20, 65, 309, 506, 3030, 25356, 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, 1797, 67, 72, 1385, 12, 2890, 16, 2196, 3030, 25356, 4672, 9163, 28204, 2390, 278, 5545, 15039, 1223, 26418, 506, 3030, 25356, 273, 506, 3030, 25356, 63, 20, 65, 309, 506, 3030, 25356, 3...
def runcall(self, func, *args):
def runcall(self, func, *args, **kw):
def runcall(self, func, *args): self.set_cmd(`func`) sys.setprofile(self.dispatcher) try: return apply(func, args) finally: sys.setprofile(None)
7c76e9ea47c5473c749a68d4ceef4f076daffc4a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/7c76e9ea47c5473c749a68d4ceef4f076daffc4a/profile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 436, 551, 454, 12, 2890, 16, 1326, 16, 380, 1968, 16, 2826, 9987, 4672, 365, 18, 542, 67, 4172, 12, 68, 644, 24065, 2589, 18, 542, 5040, 12, 2890, 18, 18495, 13, 775, 30, 327, 2230, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 436, 551, 454, 12, 2890, 16, 1326, 16, 380, 1968, 16, 2826, 9987, 4672, 365, 18, 542, 67, 4172, 12, 68, 644, 24065, 2589, 18, 542, 5040, 12, 2890, 18, 18495, 13, 775, 30, 327, 2230, ...
yield item.title(), str(item.timestamp()), item.comment(), False
yield ImagePage(self.site, item.title().title()), \ unicode(item.timestamp()), item.comment(), item.pageid() > 0
def uploadedImages(self, total=10): """ Yield tuples describing files uploaded by this user. Each tuple is composed of a pywikibot.Page, the timestamp (str in ISO8601 format), comment (unicode) and a bool (always False...). Pages returned are not guaranteed to be unique.
7e07f8a9fa71ca906e1d8e565fb6fdb99e4b4cf6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9005/7e07f8a9fa71ca906e1d8e565fb6fdb99e4b4cf6/page.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9140, 8946, 12, 2890, 16, 2078, 33, 2163, 4672, 3536, 31666, 10384, 16868, 1390, 9140, 635, 333, 729, 18, 8315, 3193, 353, 18673, 434, 279, 2395, 11999, 495, 352, 18, 1964, 16, 326, 2858...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9140, 8946, 12, 2890, 16, 2078, 33, 2163, 4672, 3536, 31666, 10384, 16868, 1390, 9140, 635, 333, 729, 18, 8315, 3193, 353, 18673, 434, 279, 2395, 11999, 495, 352, 18, 1964, 16, 326, 2858...
if re.search(sel, func_std_string(func)):
if rex.search(func_std_string(func)):
def eval_print_amount(self, sel, list, msg): new_list = list if type(sel) == type(""): new_list = [] for func in list: if re.search(sel, func_std_string(func)): new_list.append(func) else: count = len(list) if type(sel) == type(1.0) and 0.0 <= sel < 1.0: count = int(count * sel + .5) new_list = list[:count] elif type(s...
d9839e637b7c812d57b335b956f1d674502783c9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8125/d9839e637b7c812d57b335b956f1d674502783c9/pstats.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5302, 67, 1188, 67, 8949, 12, 2890, 16, 357, 16, 666, 16, 1234, 4672, 394, 67, 1098, 273, 666, 309, 618, 12, 1786, 13, 422, 618, 2932, 6, 4672, 394, 67, 1098, 273, 5378, 364, 1326, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5302, 67, 1188, 67, 8949, 12, 2890, 16, 357, 16, 666, 16, 1234, 4672, 394, 67, 1098, 273, 666, 309, 618, 12, 1786, 13, 422, 618, 2932, 6, 4672, 394, 67, 1098, 273, 5378, 364, 1326, ...
os.system("git checkout %s" % options.files)
if(len(options.files)): os.system("git checkout %s" % options.files) else: os.system("git checkout -f")
def __init__(self): self.all = None self.help = False self.files = ""
15a04b02e87a7c007804f480f0873a3ea9fb2e87 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11991/15a04b02e87a7c007804f480f0873a3ea9fb2e87/darcs-git.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 18, 454, 273, 599, 365, 18, 5201, 273, 1083, 365, 18, 2354, 273, 1408, 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, 1001, 2738, 972, 12, 2890, 4672, 365, 18, 454, 273, 599, 365, 18, 5201, 273, 1083, 365, 18, 2354, 273, 1408, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if worker.cancelled: return
if not result: return
def ondone (worker, result): if worker.cancelled: return self.board.applyMove(parseSAN(self.board,result)) print "move %s" % result
859efe4e8e8cccf6527b8dd7ba9ad84f7f9e8524 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5339/859efe4e8e8cccf6527b8dd7ba9ad84f7f9e8524/PyChess.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 8734, 261, 10124, 16, 563, 4672, 309, 486, 563, 30, 327, 365, 18, 3752, 18, 9010, 7607, 12, 2670, 22721, 12, 2890, 18, 3752, 16, 2088, 3719, 1172, 315, 8501, 738, 87, 6, 738, 56...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 603, 8734, 261, 10124, 16, 563, 4672, 309, 486, 563, 30, 327, 365, 18, 3752, 18, 9010, 7607, 12, 2670, 22721, 12, 2890, 18, 3752, 16, 2088, 3719, 1172, 315, 8501, 738, 87, 6, 738, 56...
self.view_menu.addAction(_('View specific format'))
ac = self.view_menu.addAction(_('View specific format')) ac.setShortcut(Qt.AltModifier+Qt.Key_V)
def __init__(self, listener, opts, actions, parent=None): self.preferences_action, self.quit_action = actions self.spare_servers = [] MainWindow.__init__(self, opts, parent) # Initialize fontconfig in a separate thread as this can be a lengthy # process if run for the first time on this machine from calibre.utils.fonts...
e5bb3888af9bb5b9852acc82a3b7cbdf465e2a8b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/e5bb3888af9bb5b9852acc82a3b7cbdf465e2a8b/ui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2991, 16, 1500, 16, 4209, 16, 982, 33, 7036, 4672, 365, 18, 23219, 67, 1128, 16, 365, 18, 27176, 67, 1128, 273, 4209, 365, 18, 1752, 834, 67, 14247, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2991, 16, 1500, 16, 4209, 16, 982, 33, 7036, 4672, 365, 18, 23219, 67, 1128, 16, 365, 18, 27176, 67, 1128, 273, 4209, 365, 18, 1752, 834, 67, 14247, 27...
raises(TypeError, "MRO conflict among bases ",
raises(TypeError, mro_err_msg,
def raises(exc, expected, callable, *args): try: callable(*args) except exc, msg: if not str(msg).startswith(expected): raise TestFailed, "Message %r, expected %r" % (str(msg), expected) else: raise TestFailed, "Expected %s" % exc
cadd766fabccc57d6c78de8706a0d69fa6336bf6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/cadd766fabccc57d6c78de8706a0d69fa6336bf6/test_descr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14183, 12, 10075, 16, 2665, 16, 4140, 16, 380, 1968, 4672, 775, 30, 4140, 30857, 1968, 13, 1335, 3533, 16, 1234, 30, 309, 486, 609, 12, 3576, 2934, 17514, 1918, 12, 3825, 4672, 1002, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14183, 12, 10075, 16, 2665, 16, 4140, 16, 380, 1968, 4672, 775, 30, 4140, 30857, 1968, 13, 1335, 3533, 16, 1234, 30, 309, 486, 609, 12, 3576, 2934, 17514, 1918, 12, 3825, 4672, 1002, 7...
z = zipfile.ZipFile( archive_path, 'r', zipfile.ZIP_DEFLATED )
z = zipfile.ZipFile( archive_path, 'r', zipfile.ZIP_DEFLATED )
def unzip( archive_path, result_dir ): z = zipfile.ZipFile( archive_path, 'r', zipfile.ZIP_DEFLATED ) for f in z.infolist(): print f.filename if not os.path.exists( os.path.join( result_dir, os.path.dirname( f.filename ) ) ): os.makedirs( os.path.join( result_dir, os.path.dirname( f.filename ) ) ) result = open( os.pat...
924b9589bcb28d88f7617f9a8d1924277a04063f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9980/924b9589bcb28d88f7617f9a8d1924277a04063f/setup_boostbook.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20259, 12, 5052, 67, 803, 16, 563, 67, 1214, 262, 30, 998, 273, 18823, 18, 29394, 12, 5052, 67, 803, 16, 296, 86, 2187, 18823, 18, 13951, 67, 12904, 48, 6344, 262, 364, 284, 316, 998...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20259, 12, 5052, 67, 803, 16, 563, 67, 1214, 262, 30, 998, 273, 18823, 18, 29394, 12, 5052, 67, 803, 16, 296, 86, 2187, 18823, 18, 13951, 67, 12904, 48, 6344, 262, 364, 284, 316, 998...
if is_sqlite3:
if sqlite_version in (2,3):
def update_class(self, spec, old_spec, force=0, adding_v2=0): ''' Determine the differences between the current spec and the database version of the spec, and update where necessary.
3aea804e6e4a305eb0f1130505a0a0ffe7ce0e79 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1906/3aea804e6e4a305eb0f1130505a0a0ffe7ce0e79/back_sqlite.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 1106, 12, 2890, 16, 857, 16, 1592, 67, 2793, 16, 2944, 33, 20, 16, 6534, 67, 90, 22, 33, 20, 4672, 9163, 10229, 326, 16440, 3086, 326, 783, 857, 471, 326, 2063, 1177, 434, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 1106, 12, 2890, 16, 857, 16, 1592, 67, 2793, 16, 2944, 33, 20, 16, 6534, 67, 90, 22, 33, 20, 4672, 9163, 10229, 326, 16440, 3086, 326, 783, 857, 471, 326, 2063, 1177, 434, ...
UIBase.getglobalui().msgtoreadonly(self, uid, content, flags)
ui.msgtoreadonly(self, uid, content, flags)
def savemessage(self, uid, content, flags): imapobj = self.imapserver.acquireconnection() try: try: imapobj.select(self.getfullname()) # Needed for search except imapobj.readonly: UIBase.getglobalui().msgtoreadonly(self, uid, content, flags) # Return indicating message taken, but no UID assigned. # Fudge it. return 0 ...
5454489a164ead0ea75712ea9ef5ccd5bc552cfe /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5335/5454489a164ead0ea75712ea9ef5ccd5bc552cfe/IMAP.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4087, 351, 615, 12, 2890, 16, 4555, 16, 913, 16, 2943, 4672, 20226, 2603, 273, 365, 18, 12161, 3567, 18, 1077, 1039, 4071, 1435, 775, 30, 775, 30, 20226, 2603, 18, 4025, 12, 2890, 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, 4087, 351, 615, 12, 2890, 16, 4555, 16, 913, 16, 2943, 4672, 20226, 2603, 273, 365, 18, 12161, 3567, 18, 1077, 1039, 4071, 1435, 775, 30, 775, 30, 20226, 2603, 18, 4025, 12, 2890, 18, ...
PORT = 33292 def run_chrome(extension_dir, profile_dir, port,untrusted_certificates, custom_args):
PORT = 0 def on_error(func, path, exc_info): import stat if not os.access(path, os.W_OK): os.chmod(path, stat.S_IWUSR) func(path) else: pass def run_chrome(extension_dir, profile_dir, port, untrusted_certificates, custom_args):
def create_profile_dir(): path = mkdtemp() return path
e474f441b10a13d9a67358685e0a01f8158c57a7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/215/e474f441b10a13d9a67358685e0a01f8158c57a7/driver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 5040, 67, 1214, 13332, 589, 273, 31381, 5814, 1435, 327, 589, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 5040, 67, 1214, 13332, 589, 273, 31381, 5814, 1435, 327, 589, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
auth.split()[-1]).split(':')
self._auth.split()[-1]).split(':')
def _authUserPW(self): 'See IHTTPCredentials' global base64 auth=self._auth if auth: if auth.lower().startswith('basic '): if base64 is None: import base64 name, password = base64.decodestring( auth.split()[-1]).split(':') return name, password
5575570fab3a532f4f05e4bc709a6612f7d54009 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9825/5575570fab3a532f4f05e4bc709a6612f7d54009/http.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1944, 1299, 30707, 12, 2890, 4672, 296, 9704, 467, 3693, 6163, 11, 2552, 1026, 1105, 1357, 33, 2890, 6315, 1944, 309, 1357, 30, 309, 1357, 18, 8167, 7675, 17514, 1918, 2668, 13240, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1944, 1299, 30707, 12, 2890, 4672, 296, 9704, 467, 3693, 6163, 11, 2552, 1026, 1105, 1357, 33, 2890, 6315, 1944, 309, 1357, 30, 309, 1357, 18, 8167, 7675, 17514, 1918, 2668, 13240, ...
self.clusterOptimization.setStatusBarText("Evaluation stopped (evaluated %d projections in %d min, %d sec)" % (self.triedPossibilities, secs/60, secs%60))
self.clusterOptimization.setStatusBarText("Evaluation stopped (evaluated %s projections in %d min, %d sec)" % (createStringFromNumber(self.triedPossibilities), secs/60, secs%60))
def getOptimalClusters(self, attributes, minLength, maxLength, addResultFunct): dataSize = len(self.rawdata) self.triedPossibilities = 0
8617e0a22940ee63be8c13fe8e4e8785170c62ec /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/8617e0a22940ee63be8c13fe8e4e8785170c62ec/OWRadvizGraph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 28959, 2840, 13698, 12, 2890, 16, 1677, 16, 21552, 16, 13642, 16, 527, 1253, 42, 6931, 4672, 30216, 273, 562, 12, 2890, 18, 1899, 892, 13, 365, 18, 313, 2092, 1616, 24074, 273, 374, 2,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 28959, 2840, 13698, 12, 2890, 16, 1677, 16, 21552, 16, 13642, 16, 527, 1253, 42, 6931, 4672, 30216, 273, 562, 12, 2890, 18, 1899, 892, 13, 365, 18, 313, 2092, 1616, 24074, 273, 374, 2,...
raise wikipedia.PageNotFound(u"Found family '%s'; Wikisource required." % site.family.name)
raise wikipedia.PageNotFound(u"Found family '%s'; Wikisource required." % site.family.name)
def main(): import os index = None djvu = None pages = None # what would have been changed. debug = False ask = False # Parse command line arguments for arg in wikipedia.handleArgs(): if arg.startswith("-debug"): debug = True elif arg.startswith("-ask"): ask = True elif arg.startswith("-djvu:"): djvu = arg[6:] elif ar...
d67bfeea9d6dffa809c6e92da5ceee1d1a77a309 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4404/d67bfeea9d6dffa809c6e92da5ceee1d1a77a309/djvutext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 1930, 1140, 770, 273, 599, 19754, 90, 89, 273, 599, 4689, 273, 599, 468, 4121, 4102, 1240, 2118, 3550, 18, 1198, 273, 1083, 6827, 273, 1083, 225, 468, 2884, 1296, 980, 1775,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1930, 1140, 770, 273, 599, 19754, 90, 89, 273, 599, 4689, 273, 599, 468, 4121, 4102, 1240, 2118, 3550, 18, 1198, 273, 1083, 6827, 273, 1083, 225, 468, 2884, 1296, 980, 1775,...
self.enter() self.dispatch(t.body) self.leave()
self.write(")") self.enter() self.dispatch(t.body) self.leave() def _For(self, t): self.fill("for ") self.dispatch(t.target) self.write(" in ") self.dispatch(t.iter) self.enter() self.dispatch(t.body) self.leave() if t.orelse: self.fill("else") self.enter() self.dispatch(t.orelse) self.leave
self.fill("def "+t.name + "(")
3fa6c090d8767caf37aa07761e4c9d98f306d65d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/3fa6c090d8767caf37aa07761e4c9d98f306d65d/unparse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 365, 18, 5935, 2932, 536, 13773, 88, 18, 529, 397, 12452, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 365, 18, 5935, 2932, 536, 13773, 88, 18, 529, 397, 12452, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
if child_obj == pyatspi.ROLE_LIST and \
if child_obj.getRole() == pyatspi.ROLE_LIST and \
def verifydropdown(self, window_name, object_name): ''' Verify drop down list / menu poped up @param window_name: Window name to type in, either full name, LDTP's name convention, or a Unix glob. @type window_name: string @param object_name: Object name to type in, either full name, LDTP's name convention, or a Unix g...
937e295395a88b96fca1ccae3a56ab8a7376e810 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11266/937e295395a88b96fca1ccae3a56ab8a7376e810/combo_box.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3929, 18787, 12, 2890, 16, 2742, 67, 529, 16, 733, 67, 529, 4672, 9163, 8553, 3640, 2588, 666, 342, 3824, 1843, 329, 731, 225, 632, 891, 2742, 67, 529, 30, 6076, 508, 358, 618, 316, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3929, 18787, 12, 2890, 16, 2742, 67, 529, 16, 733, 67, 529, 4672, 9163, 8553, 3640, 2588, 666, 342, 3824, 1843, 329, 731, 225, 632, 891, 2742, 67, 529, 30, 6076, 508, 358, 618, 316, ...
setMetadata(filename,
setMetadata(destFSfullPath,
def HTMLFormUploadFile(self, upload, comment, clientMD5=None): """ upload a file via HTML form-based file upload mechanism """
986267974a25fceea33e15da2a6f7317243ba92b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1807/986267974a25fceea33e15da2a6f7317243ba92b/PloneLocalFolderNG.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3982, 1204, 4777, 812, 12, 2890, 16, 3617, 16, 2879, 16, 1004, 6188, 25, 33, 7036, 4672, 3536, 3617, 279, 585, 3970, 3982, 646, 17, 12261, 585, 3617, 12860, 3536, 2, 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, 3982, 1204, 4777, 812, 12, 2890, 16, 3617, 16, 2879, 16, 1004, 6188, 25, 33, 7036, 4672, 3536, 3617, 279, 585, 3970, 3982, 646, 17, 12261, 585, 3617, 12860, 3536, 2, -100, -100, -100, ...
self.opts.log.info(self.updateProgressFullStep("generateNCXByAuthor()"))
self.updateProgressFullStep("NCX Authors")
def generateNCXByAuthor(self, tocTitle): self.opts.log.info(self.updateProgressFullStep("generateNCXByAuthor()"))
1ce23c231468dc03709ee76c7da814fa41c6e4a7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/1ce23c231468dc03709ee76c7da814fa41c6e4a7/catalog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 10346, 60, 858, 3594, 12, 2890, 16, 17919, 4247, 4672, 365, 18, 4952, 18, 1330, 18, 1376, 12, 2890, 18, 2725, 5491, 5080, 4160, 2932, 7163, 10346, 60, 858, 3594, 10031, 3719, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 10346, 60, 858, 3594, 12, 2890, 16, 17919, 4247, 4672, 365, 18, 4952, 18, 1330, 18, 1376, 12, 2890, 18, 2725, 5491, 5080, 4160, 2932, 7163, 10346, 60, 858, 3594, 10031, 3719, 2, ...
try: sig = md5.new(entry.id) except AttributeError: sig = md5.new(entry.link) id = sig.hexdigest()
id = get_uid_from_entry(entry) if not id: logger.warn("Ignored unidentifiable entry without id or link.") continue
def _retrieveSingleFeed(self, feedContainer, url): # feedparser doesn't understand proper file: url's if url.startswith('file://'): url = url[7:] if not os.path.exists(url): raise IOError("Couldn't locate %r" % url) # urllib does not support the 'feed' scheme -- replace with 'http' if url.startswith('feed://'): url = u...
32ecb5539dc21abb532ac89b5b4a937faecb3a57 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10437/32ecb5539dc21abb532ac89b5b4a937faecb3a57/utilities.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 17466, 5281, 8141, 12, 2890, 16, 4746, 2170, 16, 880, 4672, 468, 4746, 4288, 3302, 1404, 22413, 5338, 585, 30, 880, 1807, 309, 880, 18, 17514, 1918, 2668, 768, 8931, 4672, 880, 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, 389, 17466, 5281, 8141, 12, 2890, 16, 4746, 2170, 16, 880, 4672, 468, 4746, 4288, 3302, 1404, 22413, 5338, 585, 30, 880, 1807, 309, 880, 18, 17514, 1918, 2668, 768, 8931, 4672, 880, 273,...
self._save_obj([state], uowtransaction, postupdate=postupdate, post_update_cols=post_update_cols, single=True)
self._save_obj([state], uowtransaction, postupdate=postupdate, post_update_cols=post_update_cols, single=True)
def _save_obj(self, states, uowtransaction, postupdate=False, post_update_cols=None, single=False): """Issue ``INSERT`` and/or ``UPDATE`` statements for a list of objects.
dfab13e9ae147a7112a23db5abc4e4b7addc00fa /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1074/dfab13e9ae147a7112a23db5abc4e4b7addc00fa/mapper.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5688, 67, 2603, 12, 2890, 16, 5493, 16, 18215, 7958, 16, 1603, 2725, 33, 8381, 16, 1603, 67, 2725, 67, 6842, 33, 7036, 16, 2202, 33, 8381, 4672, 3536, 12956, 12176, 11356, 10335, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5688, 67, 2603, 12, 2890, 16, 5493, 16, 18215, 7958, 16, 1603, 2725, 33, 8381, 16, 1603, 67, 2725, 67, 6842, 33, 7036, 16, 2202, 33, 8381, 4672, 3536, 12956, 12176, 11356, 10335, ...
self.screen=pygame.display.set_mode(resolution,pygame.FULLSCREEN)
self.screen=pygame.display.set_mode(resolution)
def __init__(self,width,height): resolution=width,height
2a7c99276f5b119f7efee5cbc8f6dbd6e43dfecc /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6288/2a7c99276f5b119f7efee5cbc8f6dbd6e43dfecc/Gui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2819, 16, 4210, 4672, 7861, 33, 2819, 16, 4210, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2819, 16, 4210, 4672, 7861, 33, 2819, 16, 4210, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
self.send_error(403, "CGI script is not a plain file (%r)" %
self.send_error(403, "CGI script is not a plain file (%r)" %
def run_cgi(self): """Execute a CGI script.""" dir, rest = self.cgi_info i = rest.rfind('?') if i >= 0: rest, query = rest[:i], rest[i+1:] else: query = '' i = rest.find('/') if i >= 0: script, rest = rest[:i], rest[i:] else: script, rest = rest, '' scriptname = dir + '/' + script scriptfile = self.translate_path(scrip...
aa793d710aff96365ddaae869ec50a64b9a5b1df /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/aa793d710aff96365ddaae869ec50a64b9a5b1df/CGIHTTPServer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 19062, 12, 2890, 4672, 3536, 5289, 279, 385, 13797, 2728, 12123, 1577, 16, 3127, 273, 365, 18, 19062, 67, 1376, 277, 273, 3127, 18, 86, 4720, 2668, 4899, 13, 309, 277, 1545, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 67, 19062, 12, 2890, 4672, 3536, 5289, 279, 385, 13797, 2728, 12123, 1577, 16, 3127, 273, 365, 18, 19062, 67, 1376, 277, 273, 3127, 18, 86, 4720, 2668, 4899, 13, 309, 277, 1545, ...
on this element to promote garbage collected.
on this element to promote garbage collection.
def unlink(self): """ Break internal references within the document tree rooted on this element to promote garbage collected. """ self.parentNode = None for child in self.childNodes: child.unlink() self.childNodes = []
7d923a14cd75879abfbac18fd6b00ef126fb1f9f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5758/7d923a14cd75879abfbac18fd6b00ef126fb1f9f/ligolw.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8255, 12, 2890, 4672, 3536, 17030, 2713, 5351, 3470, 326, 1668, 2151, 1365, 329, 603, 333, 930, 358, 28374, 15340, 1849, 18, 3536, 365, 18, 2938, 907, 273, 599, 364, 1151, 316, 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, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8255, 12, 2890, 4672, 3536, 17030, 2713, 5351, 3470, 326, 1668, 2151, 1365, 329, 603, 333, 930, 358, 28374, 15340, 1849, 18, 3536, 365, 18, 2938, 907, 273, 599, 364, 1151, 316, 365, 18, ...
self.mox.StubOutWithMock(gclient_utils, 'subprocess') self.mox.StubOutWithMock(gclient_scm, 'CaptureSVN')
self.mox.StubOutWithMock(gclient.gclient_utils, 'subprocess') self.mox.StubOutWithMock(gclient.gclient_scm, 'CaptureSVN')
def setUp(self): BaseTestCase.setUp(self) self.mox.StubOutWithMock(gclient_utils, 'subprocess') self.mox.StubOutWithMock(gclient_scm, 'CaptureSVN')
90ba161b70b445eba62b2a376e4fa2f508854e13 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6076/90ba161b70b445eba62b2a376e4fa2f508854e13/gclient_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 3360, 4709, 2449, 18, 542, 1211, 12, 2890, 13, 365, 18, 81, 2409, 18, 11974, 1182, 1190, 9865, 12, 75, 2625, 67, 5471, 16, 296, 1717, 2567, 6134, 365, 18, 81, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 3360, 4709, 2449, 18, 542, 1211, 12, 2890, 13, 365, 18, 81, 2409, 18, 11974, 1182, 1190, 9865, 12, 75, 2625, 67, 5471, 16, 296, 1717, 2567, 6134, 365, 18, 81, ...
estr = epytext.wordwrap(estr, 7, startindex=7).strip()
estr = markup.wordwrap(estr, 7, startindex=7).strip()
def _print_errors(self, stream=None): """ Print any errors that were encountered while constructing this C{ObjDoc} to C{stream}. This method should be called at the end of the constructor of every class that is derived from C{ObjDoc} (I{after} the base C{ObjDoc} constructor has been called). @rtype: C{None} """ parse...
7140f1248773f589eaa5826bd2b3d64a09ab01f2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/7140f1248773f589eaa5826bd2b3d64a09ab01f2/objdoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1188, 67, 4324, 12, 2890, 16, 1407, 33, 7036, 4672, 3536, 3038, 1281, 1334, 716, 4591, 9919, 1323, 27389, 333, 385, 95, 2675, 1759, 97, 358, 385, 95, 3256, 5496, 225, 1220, 707, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1188, 67, 4324, 12, 2890, 16, 1407, 33, 7036, 4672, 3536, 3038, 1281, 1334, 716, 4591, 9919, 1323, 27389, 333, 385, 95, 2675, 1759, 97, 358, 385, 95, 3256, 5496, 225, 1220, 707, 1...
paper.size = scribus.Paper_Letter
paper.size = scribus.PAPER_LETTER
def setPaperSize(paperSize): if paperSize == 1: # A4 - 595 x 842 Points paper.size = scribus.Paper_A4 paper.width = 595 paper.height = 842 paper.tmargin = 60 paper.bmargin = 50 paper.lmargin = 50 paper.rmargin = 50 paper.binding = 16 tocstyle.tocRows = 56 paper.pagenumvoffset = 16 paper.textwidth = paper.w...
46399d521e7a1b8ecffd3085b491c16b62d0e358 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3910/46399d521e7a1b8ecffd3085b491c16b62d0e358/FontSample.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17004, 7294, 1225, 12, 27400, 1225, 4672, 309, 15181, 1225, 422, 404, 30, 2868, 468, 432, 24, 300, 1381, 8778, 619, 1725, 9452, 22464, 15181, 18, 1467, 273, 888, 1533, 407, 18, 27339, 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, 17004, 7294, 1225, 12, 27400, 1225, 4672, 309, 15181, 1225, 422, 404, 30, 2868, 468, 432, 24, 300, 1381, 8778, 619, 1725, 9452, 22464, 15181, 18, 1467, 273, 888, 1533, 407, 18, 27339, 67...
self.totalErrors = 0
self.totalErrorsInReport = 0
def __init__(self,options): self.options = options if not(os.path.exists(options.logfile)): print("Couldn't open Selenium server log file, quitting...") sys.exit(1)
e660e4e2d09ca7c136a2cbfd6cbb10979e22ebc1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5718/e660e4e2d09ca7c136a2cbfd6cbb10979e22ebc1/logFormatter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2116, 4672, 365, 18, 2116, 273, 702, 225, 309, 486, 12, 538, 18, 803, 18, 1808, 12, 2116, 18, 28806, 3719, 30, 1172, 2932, 16342, 1404, 1696, 4352, 17327...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2116, 4672, 365, 18, 2116, 273, 702, 225, 309, 486, 12, 538, 18, 803, 18, 1808, 12, 2116, 18, 28806, 3719, 30, 1172, 2932, 16342, 1404, 1696, 4352, 17327...
cvSelf.share.displayName
self._getDisplayNameForShare(cvSelf.share)
def _get(self, contentView, updateCallback=None, getPhrase=None):
26d4c56124e61dd4fed14f5a65fbf453336269eb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/26d4c56124e61dd4fed14f5a65fbf453336269eb/Sharing.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 12, 2890, 16, 913, 1767, 16, 1089, 2428, 33, 7036, 16, 21735, 5648, 33, 7036, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 12, 2890, 16, 913, 1767, 16, 1089, 2428, 33, 7036, 16, 21735, 5648, 33, 7036, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
counts = {'-': 0, '+': 0}
found = False
def display(fn, rev, states, prevstates): counts = {'-': 0, '+': 0} filerevmatches = {} if not opts['all']: a, b, r = prevstates, states, rev else: a, b, r = states, prevstates, prev.get(fn, -1) for change, l in difflinestates(a, b): cols = [fn, str(r)] if opts['line_number']: cols.append(str(l.linenum)) if opts['all']...
68d8aa6f8792bba0d73e8b285df038642e32a5c5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/68d8aa6f8792bba0d73e8b285df038642e32a5c5/commands.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2562, 12, 4293, 16, 5588, 16, 5493, 16, 2807, 7992, 4672, 1392, 273, 1083, 661, 822, 90, 8436, 273, 2618, 309, 486, 1500, 3292, 454, 3546, 30, 279, 16, 324, 16, 436, 273, 2807, 7992, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2562, 12, 4293, 16, 5588, 16, 5493, 16, 2807, 7992, 4672, 1392, 273, 1083, 661, 822, 90, 8436, 273, 2618, 309, 486, 1500, 3292, 454, 3546, 30, 279, 16, 324, 16, 436, 273, 2807, 7992, ...
raise Unauthorised, _('You do not have permission to '
raise Unauthorised, self._('You do not have permission to '
def permission(self): """Check whether the user has permission to execute this action.
ade743793a8c591cf5f28a2d1c898d9c49ebe4f6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1906/ade743793a8c591cf5f28a2d1c898d9c49ebe4f6/actions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4132, 12, 2890, 4672, 3536, 1564, 2856, 326, 729, 711, 4132, 358, 1836, 333, 1301, 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, 4132, 12, 2890, 4672, 3536, 1564, 2856, 326, 729, 711, 4132, 358, 1836, 333, 1301, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
return [(r['id'], r['name'] + ' - ' + r['vat']) \
return [(r['id'], r['name'] or '' + ' - ' + r['vat'] or '') \
def name_get(self, cr, uid, ids, context={}): if not len(ids): return [] return [(r['id'], r['name'] + ' - ' + r['vat']) \ for r in self.read(cr, uid, ids, ['name', 'vat'], context, load='_classic_write')]
e86966d460e2ed55f852e472ad7cd3f673f2edc7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/e86966d460e2ed55f852e472ad7cd3f673f2edc7/l10_be_partner_vat_listing.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 508, 67, 588, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 12938, 4672, 309, 486, 562, 12, 2232, 4672, 327, 5378, 327, 306, 12, 86, 3292, 350, 17337, 436, 3292, 529, 3546, 578, 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, 508, 67, 588, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 12938, 4672, 309, 486, 562, 12, 2232, 4672, 327, 5378, 327, 306, 12, 86, 3292, 350, 17337, 436, 3292, 529, 3546, 578, 8...
self.file_handle = open(file_name, 'r')
self.file_handle = open(file_name, 'rb')
def setFile(self, file_name, content_type): """A helper function which can create a file handle from a given filename and set the content type and length all at once.
935c9962ec73e8e96f9717bdd31d4d5bb767b9cb /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6580/935c9962ec73e8e96f9717bdd31d4d5bb767b9cb/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19658, 12, 2890, 16, 585, 67, 529, 16, 913, 67, 723, 4672, 3536, 37, 4222, 445, 1492, 848, 752, 279, 585, 1640, 628, 279, 864, 1544, 471, 444, 326, 913, 618, 471, 769, 777, 622, 3647...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19658, 12, 2890, 16, 585, 67, 529, 16, 913, 67, 723, 4672, 3536, 37, 4222, 445, 1492, 848, 752, 279, 585, 1640, 628, 279, 864, 1544, 471, 444, 326, 913, 618, 471, 769, 777, 622, 3647...
self.check_sizeof(get_cell().func_code, h + self.align(4*i) + 8*p +\ self.align(i) + 2*p)
self.check_sizeof(get_cell().func_code, size(h + '4i8Pi2P'))
def method(): pass
300a10ceb1febf233333c4843a55c526b4019feb /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8125/300a10ceb1febf233333c4843a55c526b4019feb/test_sys.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 707, 13332, 1342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 707, 13332, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
""" Returns a list of shared modules between the two versions Parameters ---------- - v1 : 'int' version number 1 - v2 : 'int' version number 2
""" getPipelineShare(v1:int,v2:int) -> [int] Returns a list of ids of shared modules between two versions.
def getPipelineShare(self, v1, v2): """ Returns a list of shared modules between the two versions Parameters ---------- - v1 : 'int' version number 1
0d08a982cb8d26e26f2e6ab32b89ef18e54df8fb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6341/0d08a982cb8d26e26f2e6ab32b89ef18e54df8fb/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1689, 3842, 9535, 12, 2890, 16, 331, 21, 16, 331, 22, 4672, 3536, 2860, 279, 666, 434, 5116, 4381, 3086, 326, 2795, 5244, 7012, 12181, 300, 331, 21, 294, 296, 474, 11, 1177, 1300, 404,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1689, 3842, 9535, 12, 2890, 16, 331, 21, 16, 331, 22, 4672, 3536, 2860, 279, 666, 434, 5116, 4381, 3086, 326, 2795, 5244, 7012, 12181, 300, 331, 21, 294, 296, 474, 11, 1177, 1300, 404,...
DIRTY_REACTOR_MSG = "reactor left in unclean state, the following Selectables were left over: "
DIRTY_REACTOR_MSG = "THIS WILL BECOME AN ERROR SOON! reactor left in unclean state, the following Selectables were left over: "
def __init__(self, original): self.value = [original]
e19d680b7faea5fc1bad31384d96595d40382d6c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/e19d680b7faea5fc1bad31384d96595d40382d6c/util.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2282, 4672, 365, 18, 1132, 273, 306, 8830, 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, ...
[ 1, 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, 2738, 972, 12, 2890, 16, 2282, 4672, 365, 18, 1132, 273, 306, 8830, 65, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
__slots__ = ModificationTrackingDict.__slots__ + ('secret_key', 'new')
def pickle_unquote(string): """URL decode a string and load it into pickle""" try: return loads(string.decode('base64')) # unfortunately pickle can cause pretty every error here. # if we get one we catch it and convert it into an UnquoteError except Exception, e: raise UnquoteError(str(e))
84eabcaa81f60d47939ac2d43f01d01eeab598a4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/14437/84eabcaa81f60d47939ac2d43f01d01eeab598a4/securecookie.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13379, 67, 318, 6889, 12, 1080, 4672, 3536, 1785, 2495, 279, 533, 471, 1262, 518, 1368, 13379, 8395, 775, 30, 327, 6277, 12, 1080, 18, 3922, 2668, 1969, 1105, 26112, 468, 640, 24233, 133...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13379, 67, 318, 6889, 12, 1080, 4672, 3536, 1785, 2495, 279, 533, 471, 1262, 518, 1368, 13379, 8395, 775, 30, 327, 6277, 12, 1080, 18, 3922, 2668, 1969, 1105, 26112, 468, 640, 24233, 133...
proxy = _make_proxy() tc.assertEqual(proxy.pass_command("quit", []), "") check_engine(tc, proxy.engine, 'quit', [], "", expect_end=True) proxy.close() tc.assertEqual(proxy._commands_handled,
fx = Proxy_fixture(tc) tc.assertEqual(fx.proxy.pass_command("quit", []), "") fx.check_command('quit', [], "", expect_end=True) fx.proxy.close() tc.assertEqual(fx.commands_handled,
def test_quit_ignores_already_closed(tc): proxy = _make_proxy() tc.assertEqual(proxy.pass_command("quit", []), "") check_engine(tc, proxy.engine, 'quit', [], "", expect_end=True) proxy.close() tc.assertEqual(proxy._commands_handled, [('list_commands', []), ('quit', [])])
d3c1810c39f74e2ab0ab81debc544cc7ea34da4d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6121/d3c1810c39f74e2ab0ab81debc544cc7ea34da4d/gtp_proxy_tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 27176, 67, 724, 3485, 67, 17583, 67, 12204, 12, 5111, 4672, 12661, 273, 7659, 67, 904, 10970, 12, 5111, 13, 1715, 18, 11231, 5812, 12, 19595, 18, 5656, 18, 5466, 67, 3076, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 27176, 67, 724, 3485, 67, 17583, 67, 12204, 12, 5111, 4672, 12661, 273, 7659, 67, 904, 10970, 12, 5111, 13, 1715, 18, 11231, 5812, 12, 19595, 18, 5656, 18, 5466, 67, 3076, 29...
return false
return False
def _scan_product(self, cr, uid, ean, qty, order): # search pricelist_id pricelist_id = self.pool.get('pos.order').read(cr, uid, [order], ['pricelist_id'] ) if not pricelist_id: return False
cc664b259794dde6215dd94ef4ad19c3a6960425 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7397/cc664b259794dde6215dd94ef4ad19c3a6960425/pos.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9871, 67, 5896, 12, 2890, 16, 4422, 16, 4555, 16, 425, 304, 16, 26667, 16, 1353, 4672, 468, 1623, 846, 335, 5449, 67, 350, 846, 335, 5449, 67, 350, 273, 365, 18, 6011, 18, 588, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9871, 67, 5896, 12, 2890, 16, 4422, 16, 4555, 16, 425, 304, 16, 26667, 16, 1353, 4672, 468, 1623, 846, 335, 5449, 67, 350, 846, 335, 5449, 67, 350, 273, 365, 18, 6011, 18, 588, ...
self.linestyle = None
self.linestyle = 'lines'
def __init__(self, scene): """ Initialisation of LinePlot class
71d8a0c344b606da3c4335fda12fbe32b9705f62 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8476/71d8a0c344b606da3c4335fda12fbe32b9705f62/plot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 9065, 4672, 3536, 10188, 10742, 434, 5377, 11532, 667, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 9065, 4672, 3536, 10188, 10742, 434, 5377, 11532, 667, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
g.tree.SetItemTextColour(hl.item, g.tree.itemColour)
if hasattr(g.tree, 'itemColour'): g.tree.SetItemTextColour(hl.item, g.tree.itemColour)
def OnDragOver(self, x, y, d): d,other = self.WhereToDrop(x, y, d) if d != wx.DragNone: obj,parent,parentItem,item = other pos, size = g.tree.FindNodePos(parentItem, obj), obj.GetSize() hl = g.testWin.highLightDT # Set color of highlighted item back to normal if hl and hl.item: if hl.item != parentItem: g.tree.SetItemT...
0433abb04f8737eb247829d6248b99f2b85129a2 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12725/0433abb04f8737eb247829d6248b99f2b85129a2/tree.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 11728, 4851, 12, 2890, 16, 619, 16, 677, 16, 302, 4672, 302, 16, 3011, 273, 365, 18, 5262, 774, 7544, 12, 92, 16, 677, 16, 302, 13, 309, 302, 480, 7075, 18, 11728, 7036, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2755, 11728, 4851, 12, 2890, 16, 619, 16, 677, 16, 302, 4672, 302, 16, 3011, 273, 365, 18, 5262, 774, 7544, 12, 92, 16, 677, 16, 302, 13, 309, 302, 480, 7075, 18, 11728, 7036, 30, ...
error("Could not check in with the Realm Linux management server. Please check your network settings and hardware.")
print "Realm Linux Management: Can not initiate XMLRPC protocol to %s" \ % __serverURL
def doRPC(method, *params): "Return the xmlrpc opject we want." # Apply API versioning params = list(params) params.insert(0, apiVersion) for i in range(5): try: return apply(method, params) except xmlrpclib.Error, e: error("XMLRPC Error: " + str(e)) except socket.error, e: error("Socket Error: %s" % str(e)) except s...
7f886bf1b76ae5eb862a800d302955b394edbeb8 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5056/7f886bf1b76ae5eb862a800d302955b394edbeb8/xmlrpc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 8087, 12, 2039, 16, 380, 2010, 4672, 315, 990, 326, 31811, 1061, 937, 732, 2545, 1199, 225, 468, 5534, 1491, 1177, 310, 859, 273, 666, 12, 2010, 13, 859, 18, 6387, 12, 20, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 8087, 12, 2039, 16, 380, 2010, 4672, 315, 990, 326, 31811, 1061, 937, 732, 2545, 1199, 225, 468, 5534, 1491, 1177, 310, 859, 273, 666, 12, 2010, 13, 859, 18, 6387, 12, 20, 16, 1...
return "??"
return "?? (%d)" % (dif,)
def _IndirectPrefix(self, indirectionFrom, indirectionTo): """Given the indirection level I was declared at (0=Normal, 1=*, 2=**) return a string prefix so I can pass to a function with the required indirection (where the default is the indirection of the method's param. eg, assuming my arg has indirection level of 2,...
696d471f0181c0b86b7f4ddb05475149c38bebb0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/677/696d471f0181c0b86b7f4ddb05475149c38bebb0/makegwparse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 24943, 2244, 12, 2890, 16, 1547, 2769, 1265, 16, 1547, 2769, 774, 4672, 3536, 6083, 326, 1547, 2769, 1801, 467, 1703, 7886, 622, 261, 20, 33, 5506, 16, 404, 33, 14, 16, 576, 33, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24943, 2244, 12, 2890, 16, 1547, 2769, 1265, 16, 1547, 2769, 774, 4672, 3536, 6083, 326, 1547, 2769, 1801, 467, 1703, 7886, 622, 261, 20, 33, 5506, 16, 404, 33, 14, 16, 576, 33, ...
'maxLineCount': 3})],
'maxLineCount': 3}, border=RectType(5, 5, 5, 5))],
def makeMailArea(parcel, oldVersion): blocks = schema.ns("osaf.framework.blocks", parcel.itsView) originatorsArea = \ makeArea(parcel, 'OriginatorsArea', childBlocks=[ makeLabel(parcel, _(u'from')), makeSpacer(parcel, width=8), makeEditor(parcel, 'EditMailOriginators', baseClass=OriginatorsAEBlock, viewAttribute=MailSt...
550dad22ef7508d9bcff69ef20b11c0e5e74d04c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/550dad22ef7508d9bcff69ef20b11c0e5e74d04c/detailblocks.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 6759, 5484, 12, 1065, 2183, 16, 1592, 1444, 4672, 4398, 273, 1963, 18, 2387, 2932, 538, 1727, 18, 12303, 18, 7996, 3113, 779, 2183, 18, 1282, 1767, 13, 4026, 3062, 5484, 273, 521, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 6759, 5484, 12, 1065, 2183, 16, 1592, 1444, 4672, 4398, 273, 1963, 18, 2387, 2932, 538, 1727, 18, 12303, 18, 7996, 3113, 779, 2183, 18, 1282, 1767, 13, 4026, 3062, 5484, 273, 521, ...
self.debug("info: new producer queue added.")
def ftp_STOR(self, line, mode='w'): """Store a file (transfer from the client to the server).""" # A resume could occur in case of APPE or REST commands. # In that case we have to open file object in different ways: # STOR: mode = 'w' # APPE: mode = 'a' # REST: mode = 'r+' (to permit seeking on file object) if 'a' in m...
6651b74b68bd60bf9746812fa74db806f04125c3 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3782/6651b74b68bd60bf9746812fa74db806f04125c3/ftpserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13487, 67, 882, 916, 12, 2890, 16, 980, 16, 1965, 2218, 91, 11, 4672, 3536, 2257, 279, 585, 261, 13866, 628, 326, 1004, 358, 326, 1438, 13, 12123, 468, 432, 10774, 3377, 3334, 316, 648...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13487, 67, 882, 916, 12, 2890, 16, 980, 16, 1965, 2218, 91, 11, 4672, 3536, 2257, 279, 585, 261, 13866, 628, 326, 1004, 358, 326, 1438, 13, 12123, 468, 432, 10774, 3377, 3334, 316, 648...
"(delay=%s milliseconds, interval=%s milliseconds)" \
" (delay=%s seconds, interval=%s seconds)" \
def Init(self, *args): _BaseItemsEvent.Init(self, *args) timer_enabled = self.manager.config.filter.timer_enabled start_delay = self.manager.config.filter.timer_start_delay interval = self.manager.config.filter.timer_interval use_timer = timer_enabled and start_delay and interval if timer_enabled and not use_timer: pri...
866fb9ed4e621bb517247600df08a335016040df /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9857/866fb9ed4e621bb517247600df08a335016040df/addin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4378, 12, 2890, 16, 380, 1968, 4672, 389, 2171, 3126, 1133, 18, 2570, 12, 2890, 16, 380, 1968, 13, 5441, 67, 5745, 273, 365, 18, 4181, 18, 1425, 18, 2188, 18, 12542, 67, 5745, 787, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4378, 12, 2890, 16, 380, 1968, 4672, 389, 2171, 3126, 1133, 18, 2570, 12, 2890, 16, 380, 1968, 13, 5441, 67, 5745, 273, 365, 18, 4181, 18, 1425, 18, 2188, 18, 12542, 67, 5745, 787, 6...
process = self.get_process()
def get_seh_chain(self): """ @rtype: list of tuple( int, int ) @return: List of structured exception handlers. Each SEH is represented as a tuple of two addresses: - Address of the SEH block - Address of the SEH callback function
015d670d265cb2758bfa6d6c506d4c7735582b07 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7261/015d670d265cb2758bfa6d6c506d4c7735582b07/system.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 307, 76, 67, 5639, 12, 2890, 4672, 3536, 632, 86, 723, 30, 225, 666, 434, 3193, 12, 509, 16, 509, 262, 632, 2463, 30, 987, 434, 19788, 1520, 4919, 18, 8315, 3174, 44, 353, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 307, 76, 67, 5639, 12, 2890, 4672, 3536, 632, 86, 723, 30, 225, 666, 434, 3193, 12, 509, 16, 509, 262, 632, 2463, 30, 987, 434, 19788, 1520, 4919, 18, 8315, 3174, 44, 353, ...
`m`th root of unity. This reduces to to the Gauss sum if `b=0`.
`m` th root of unity. This reduces to to the Gauss sum if `b=0`. This method performs an exact calculation and returns an element of a suitable cyclotomic field; see also :meth:`.kloosterman_sum_numerical`, which gives an inexact answer (but is generally much quicker).
def kloosterman_sum(self, a=1,b=0): r""" Return the "twisted" Kloosterman sum associated to this Dirichlet character. This includes Gauss sums, classical Kloosterman sums, Salie sums, etc.
e7cb080b1d244c4536831d929cef63ec4f84e355 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/e7cb080b1d244c4536831d929cef63ec4f84e355/dirichlet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 417, 383, 669, 29650, 67, 1364, 12, 2890, 16, 279, 33, 21, 16, 70, 33, 20, 4672, 436, 8395, 2000, 326, 315, 11246, 25444, 6, 1475, 383, 669, 29650, 2142, 3627, 358, 333, 8446, 1354, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 417, 383, 669, 29650, 67, 1364, 12, 2890, 16, 279, 33, 21, 16, 70, 33, 20, 4672, 436, 8395, 2000, 326, 315, 11246, 25444, 6, 1475, 383, 669, 29650, 2142, 3627, 358, 333, 8446, 1354, ...
return [f for f in self._fields if self._fields_map[f]]
return [f for f in self._fields if self._fields_map.has_key(f)]
def fields(self): """ @return: A dictionary mapping from fields to lists of descriptions. @rtype: C{dictionary} from L{DocField} to C{list} of L{xml.dom.minidom.Document} """ return [f for f in self._fields if self._fields_map[f]]
1bdcaa661906ee198f52b061b725c621ba0ae305 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/1bdcaa661906ee198f52b061b725c621ba0ae305/objdoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1466, 12, 2890, 4672, 3536, 632, 2463, 30, 432, 3880, 2874, 628, 1466, 358, 6035, 434, 15550, 18, 632, 86, 723, 30, 385, 95, 15556, 97, 628, 511, 95, 1759, 974, 97, 358, 385, 95, 109...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1466, 12, 2890, 4672, 3536, 632, 2463, 30, 432, 3880, 2874, 628, 1466, 358, 6035, 434, 15550, 18, 632, 86, 723, 30, 385, 95, 15556, 97, 628, 511, 95, 1759, 974, 97, 358, 385, 95, 109...
reqDir = '%s/%s/ToDo' % (self.root,requestType)
reqDir = '%s/%s/ToDo' % ( self.root, requestType )
def getRequest(self,requestType): """ Obtain a request from the database of a certain type """ gLogger.info("RequestDBFile._getRequest: Attempting to get %s type request." % requestType) try: # Determine the request name to be obtained candidateRequests = [] reqDir = '%s/%s/ToDo' % (self.root,requestType) self.getIdLoc...
457151afa0c3cb1200853bb72493b03e8f994fca /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/457151afa0c3cb1200853bb72493b03e8f994fca/RequestDBFile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4328, 12, 2890, 16, 2293, 559, 4672, 3536, 24850, 279, 590, 628, 326, 2063, 434, 279, 8626, 618, 3536, 314, 3328, 18, 1376, 2932, 691, 2290, 812, 6315, 588, 691, 30, 12864, 310, 358, 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, 4328, 12, 2890, 16, 2293, 559, 4672, 3536, 24850, 279, 590, 628, 326, 2063, 434, 279, 8626, 618, 3536, 314, 3328, 18, 1376, 2932, 691, 2290, 812, 6315, 588, 691, 30, 12864, 310, 358, 3...
FL_Coord, STRING],
FL_Coord, STRING],
def fl_create_lightbutton(type, x, y, w, h, label): """ fl_create_lightbutton(type, x, y, w, h, label) -> object """ retval = _fl_create_lightbutton(type, x, y, w, h, label) return retval
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 2640, 67, 5099, 5391, 12, 723, 16, 619, 16, 677, 16, 341, 16, 366, 16, 1433, 4672, 3536, 1183, 67, 2640, 67, 5099, 5391, 12, 723, 16, 619, 16, 677, 16, 341, 16, 366, 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, 1183, 67, 2640, 67, 5099, 5391, 12, 723, 16, 619, 16, 677, 16, 341, 16, 366, 16, 1433, 4672, 3536, 1183, 67, 2640, 67, 5099, 5391, 12, 723, 16, 619, 16, 677, 16, 341, 16, 366, 16, ...
argument_list = ( delimitedList(call_argument) .setResultsName('argument_list')
argument_list = ( delimitedList(call_argument) .setResultsName('argument_list')
def _defineLanguageSyntax(self): ''' Here is Siml's BNF Creates the objects of the pyParsing library, that do all the work. ''' #define short alias so they don't clutter the text kw = self.defineKeyword # Usage: test = kw('variable') L = Literal # Usage: L('+') S = Suppress ES = ErrStop
8d423a3a49fcffb9fd2045c1638eeede3472d2e1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2720/8d423a3a49fcffb9fd2045c1638eeede3472d2e1/simlparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 11255, 3779, 8070, 12, 2890, 4672, 9163, 13743, 353, 9587, 80, 1807, 605, 26473, 10210, 326, 2184, 434, 326, 2395, 13963, 5313, 16, 716, 741, 777, 326, 1440, 18, 9163, 468, 11255, 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, 11255, 3779, 8070, 12, 2890, 4672, 9163, 13743, 353, 9587, 80, 1807, 605, 26473, 10210, 326, 2184, 434, 326, 2395, 13963, 5313, 16, 716, 741, 777, 326, 1440, 18, 9163, 468, 11255, 3...
(objects, output_dir, libraries, library_dirs) = \ self._fix_link_args (objects, output_dir, takes_libs=1, libraries=libraries, library_dirs=library_dirs)
(objects, output_dir) = self._fix_object_args (objects, output_dir) (libraries, library_dirs, runtime_library_dirs) = \ self._fix_lib_args (libraries, library_dirs, runtime_library_dirs)
def link_executable (self, objects, output_progname, output_dir=None, libraries=None, library_dirs=None, debug=0, extra_preargs=None, extra_postargs=None): (objects, output_dir, libraries, library_dirs) = \ self._fix_link_args (objects, output_dir, takes_libs=1, libraries=libraries, library_dirs=library_dirs)
2d4332f848eeb8350ca495a618c8e75a6bb3814c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/2d4332f848eeb8350ca495a618c8e75a6bb3814c/unixccompiler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1692, 67, 17751, 261, 2890, 16, 2184, 16, 876, 67, 14654, 529, 16, 876, 67, 1214, 33, 7036, 16, 14732, 33, 7036, 16, 5313, 67, 8291, 33, 7036, 16, 1198, 33, 20, 16, 2870, 67, 1484, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1692, 67, 17751, 261, 2890, 16, 2184, 16, 876, 67, 14654, 529, 16, 876, 67, 1214, 33, 7036, 16, 14732, 33, 7036, 16, 5313, 67, 8291, 33, 7036, 16, 1198, 33, 20, 16, 2870, 67, 1484, ...
def pathstrip(path, count=1):
def pathstrip(path, strip):
def pathstrip(path, count=1): pathlen = len(path) i = 0 if count == 0: return '', path.rstrip() while count > 0: i = path.find('/', i) if i == -1: raise PatchError(_("unable to strip away %d dirs from %s") % (count, path)) i += 1 # consume '//' in the path while i < pathlen - 1 and path[i] == '/': i += 1 count -= 1 ret...
c896582c81276c58cc9a50e2cbc359d359d6cfae /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11312/c896582c81276c58cc9a50e2cbc359d359d6cfae/patch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 589, 6406, 12, 803, 16, 2569, 4672, 589, 1897, 273, 562, 12, 803, 13, 277, 273, 374, 309, 1056, 422, 374, 30, 327, 10226, 589, 18, 86, 6406, 1435, 1323, 1056, 405, 374, 30, 277, 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, 589, 6406, 12, 803, 16, 2569, 4672, 589, 1897, 273, 562, 12, 803, 13, 277, 273, 374, 309, 1056, 422, 374, 30, 327, 10226, 589, 18, 86, 6406, 1435, 1323, 1056, 405, 374, 30, 277, 273,...
netResult.addCallbacks(self._sendAnswer, self._sendError,
netResult.addCallbacks(self._sendAnswer, self._sendFormattedFailure,
def _recvMessage(self, findObjMethod, requestID, objectID, message, answerRequired, netArgs, netKw): """Received a message-send.
8ee55b9e8635a9fd1c80dea287eca397063034a5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/8ee55b9e8635a9fd1c80dea287eca397063034a5/pb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 18334, 1079, 12, 2890, 16, 1104, 2675, 1305, 16, 590, 734, 16, 23021, 16, 883, 16, 5803, 3705, 16, 2901, 2615, 16, 2901, 31833, 4672, 3536, 8872, 279, 883, 17, 4661, 18, 2, 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, 389, 18334, 1079, 12, 2890, 16, 1104, 2675, 1305, 16, 590, 734, 16, 23021, 16, 883, 16, 5803, 3705, 16, 2901, 2615, 16, 2901, 31833, 4672, 3536, 8872, 279, 883, 17, 4661, 18, 2, -100, ...
win32api.OutputDebugString("SCI: %r\n" % text)
def SCIInsertText(self, text, pos=-1): # SCIInsertText allows unicode or bytes - but if they are bytes, # the caller must ensure it is encoded correctly. if isinstance(text, unicode): text = text.encode(default_scintilla_encoding) win32api.OutputDebugString("SCI: %r\n" % text) self.SendScintilla(scintillacon.SCI_INSERT...
b8c3afef9dea888d39f88ad125bf681dc0a5620b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/992/b8c3afef9dea888d39f88ad125bf681dc0a5620b/control.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 348, 7266, 4600, 1528, 12, 2890, 16, 977, 16, 949, 29711, 21, 4672, 468, 348, 7266, 4600, 1528, 5360, 5252, 578, 1731, 300, 1496, 309, 2898, 854, 1731, 16, 468, 326, 4894, 1297, 3387, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 348, 7266, 4600, 1528, 12, 2890, 16, 977, 16, 949, 29711, 21, 4672, 468, 348, 7266, 4600, 1528, 5360, 5252, 578, 1731, 300, 1496, 309, 2898, 854, 1731, 16, 468, 326, 4894, 1297, 3387, ...
self.title_fnt = self.loader.load_font("KLEPTOMA.TTF", 60)
self.title_fnt = self.loader.load_font("KLEPTOMA.TTF", 50)
def __init__(self): self.loader = Loader() self.desk = self.loader.load_image("back.png") self.back = self.desk.copy()
cd7078f076adde84568929144c189264b9653acb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6287/cd7078f076adde84568929144c189264b9653acb/gameboard.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 18, 6714, 273, 13920, 1435, 365, 18, 5489, 79, 273, 365, 18, 6714, 18, 945, 67, 2730, 2932, 823, 18, 6446, 7923, 365, 18, 823, 273, 365, 18, 548...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4672, 365, 18, 6714, 273, 13920, 1435, 365, 18, 5489, 79, 273, 365, 18, 6714, 18, 945, 67, 2730, 2932, 823, 18, 6446, 7923, 365, 18, 823, 273, 365, 18, 548...
mt.major, mt.minor = url_mimetype.split('/') url = target if not mt: return _("Unknown mimetype %(mimetype)s of the file %(file)s.") % {"mimetype": url_mimetype, "file": target}
try: mt.major, mt.minor = url_mimetype.split('/') except ValueError: return fmt.text(_('%(extension_name)s %(extension_type)s: Invalid %(argument_name)s=%(argument_value)s!') % { "extension_name": extension_name, "extension_type": extension_type, "argument_name": "url_mimetype", "argument_value": str(url_mimetype), }) ...
def macro_EmbedObject(macro, target=None, 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=False, autostart=False, align=...
8487a97aba188f2533010e4f3673881def398037 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/888/8487a97aba188f2533010e4f3673881def398037/EmbedObject.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11522, 67, 9538, 921, 12, 26448, 16, 1018, 33, 7036, 16, 4262, 1069, 33, 7036, 16, 1835, 33, 13044, 1367, 18, 2802, 1379, 12, 7036, 16, 1431, 16, 10228, 4430, 2187, 296, 351, 2187, 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, 11522, 67, 9538, 921, 12, 26448, 16, 1018, 33, 7036, 16, 4262, 1069, 33, 7036, 16, 1835, 33, 13044, 1367, 18, 2802, 1379, 12, 7036, 16, 1431, 16, 10228, 4430, 2187, 296, 351, 2187, 296...
khi=clip(searchsorted(xa,x),1,npoints)
khi=clip(searchsorted(xa,x),1,len(xa))
def splint(xa, ya, y2a, x): """splint(x_vals, y_vals, y2_vals, x) returns the interpolated from from the spline x can either be a scalar or a listable item, in which case a Numeric Float array will be returned and the multiple interpolations will be done somewhat more efficiently if the array is in reasonable order""" ...
48e6f530db476f0a2a7f5a3dd15941d538896450 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6028/48e6f530db476f0a2a7f5a3dd15941d538896450/spline.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6121, 474, 12, 6995, 16, 27137, 16, 677, 22, 69, 16, 619, 4672, 3536, 13106, 474, 12, 92, 67, 4524, 16, 677, 67, 4524, 16, 677, 22, 67, 4524, 16, 619, 13, 1135, 326, 24985, 628, 62...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6121, 474, 12, 6995, 16, 27137, 16, 677, 22, 69, 16, 619, 4672, 3536, 13106, 474, 12, 92, 67, 4524, 16, 677, 67, 4524, 16, 677, 22, 67, 4524, 16, 619, 13, 1135, 326, 24985, 628, 62...
sources = ['sage/rings/padics/padic_capped_relative_element.pyx', \ 'sage/rings/padics/padic_generic_element.c'],
sources = ['sage/rings/padics/padic_capped_relative_element.pyx'],
def is_newer(file1, file2): """ Return True if either file2 does not exist or is older than file1. If file1 does not exist, always return False. """ if not os.path.exists(file1): return False if not os.path.exists(file2): return True if os.path.getmtime(file2) < os.path.getmtime(file1): return True return False
c82811cc0b935d826f6cfba833e4406f8eb9ed19 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/c82811cc0b935d826f6cfba833e4406f8eb9ed19/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 2704, 264, 12, 768, 21, 16, 585, 22, 4672, 3536, 2000, 1053, 309, 3344, 585, 22, 1552, 486, 1005, 578, 353, 12156, 2353, 585, 21, 18, 225, 971, 585, 21, 1552, 486, 1005, 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, 353, 67, 2704, 264, 12, 768, 21, 16, 585, 22, 4672, 3536, 2000, 1053, 309, 3344, 585, 22, 1552, 486, 1005, 578, 353, 12156, 2353, 585, 21, 18, 225, 971, 585, 21, 1552, 486, 1005, 16,...
def _doDelUsers(self, ids): """ Given a list of user ids, hand off to a deleter plugin if available; has no return value, like the original """
def _doDelUsers(self, names): """ Delete users given by a list of user ids. Has no return value, like the original. """ for name in names: self._doDelUser(name) PluggableAuthService._doDelUsers = _doDelUsers def _doDelUser(self, id): """ Given a user id, hand off to a deleter plugin if available. """
def _doDelUsers(self, ids): """ Given a list of user ids, hand off to a deleter plugin if available; has no return value, like the original """ plugins = self._getOb('plugins') userdeleters = plugins.listPlugins(IUserManagement) if not userdeleters: raise NotImplementedError("There is no plugin that can " " delete us...
d4ed704a8299446a409a45d056f3b50d97a5a658 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12230/d4ed704a8299446a409a45d056f3b50d97a5a658/pas.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2896, 2837, 6588, 12, 2890, 16, 1257, 4672, 3536, 2504, 3677, 864, 635, 279, 666, 434, 729, 3258, 18, 4393, 1158, 327, 460, 16, 3007, 326, 2282, 18, 3536, 364, 508, 316, 1257, 30,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2896, 2837, 6588, 12, 2890, 16, 1257, 4672, 3536, 2504, 3677, 864, 635, 279, 666, 434, 729, 3258, 18, 4393, 1158, 327, 460, 16, 3007, 326, 2282, 18, 3536, 364, 508, 316, 1257, 30,...
self.Refresh()
def mouseAction(self, event): event.Skip() if self.type: return colour = None if event.Entering(): colour = self.selectedColour
3d20474a61ee39f06ee069320865ca5eae9cb4c7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9686/3d20474a61ee39f06ee069320865ca5eae9cb4c7/ColumnHeader.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7644, 1803, 12, 2890, 16, 871, 4672, 871, 18, 6368, 1435, 309, 365, 18, 723, 30, 327, 15046, 273, 599, 309, 871, 18, 10237, 310, 13332, 15046, 273, 365, 18, 8109, 26404, 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, 7644, 1803, 12, 2890, 16, 871, 4672, 871, 18, 6368, 1435, 309, 365, 18, 723, 30, 327, 15046, 273, 599, 309, 871, 18, 10237, 310, 13332, 15046, 273, 365, 18, 8109, 26404, 2, -100, -100,...
EXAMPLES:: sage: Permutation([2,3,4,1]).longest_increasing_subsequence()
EXAMPLES:: sage: Permutation([2,3,1,4]).longest_increasing_subsequence_length() 3 sage: all([i.longest_increasing_subsequence_length() == len(i.robinson_schensted()[0][0]) for i in Permutations(5)]) True """ r=[] for x in self: if max(r+[0]) > x: y = min(filter(lambda z: z > x, r)) r[r.index(y)] = x else: r.append(x)...
def longest_increasing_subsequence(self): r""" Returns a list of the longest increasing subsequences of the permutation p. EXAMPLES:: sage: Permutation([2,3,4,1]).longest_increasing_subsequence() [[2, 3, 4]] """ runs = self.runs() lis = [] max_length = max([len(r) for r in runs]) for run in runs: if len(run) == max_l...
5ab28ca2039b5617294cea698166c82f82a7d475 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/5ab28ca2039b5617294cea698166c82f82a7d475/permutation.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12163, 67, 267, 1793, 11730, 67, 1717, 6178, 12, 2890, 4672, 436, 8395, 2860, 279, 666, 434, 326, 12163, 21006, 720, 17190, 434, 326, 17440, 293, 18, 225, 5675, 8900, 11386, 2866, 225, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12163, 67, 267, 1793, 11730, 67, 1717, 6178, 12, 2890, 4672, 436, 8395, 2860, 279, 666, 434, 326, 12163, 21006, 720, 17190, 434, 326, 17440, 293, 18, 225, 5675, 8900, 11386, 2866, 225, 2...
'hg pull [options] [source]'),
'hg pull [options] [source]'),
def verify(ui, repo): """verify the integrity of the repository""" return repo.verify()
563d8f24727bf6b79c71a3741112ff880f82c5c8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/563d8f24727bf6b79c71a3741112ff880f82c5c8/commands.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3929, 12, 4881, 16, 3538, 4672, 3536, 8705, 326, 24425, 434, 326, 3352, 8395, 327, 3538, 18, 8705, 1435, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3929, 12, 4881, 16, 3538, 4672, 3536, 8705, 326, 24425, 434, 326, 3352, 8395, 327, 3538, 18, 8705, 1435, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
setattr(self.shader.shader, "sfny", params["ny"]["shadowName"])
self.shader.setParamValue("sfny", params["ny"]["shadowName"])
def setShadowParms(self, params): shadername = self.shader.shader.shadername if shadername == "shadowpoint": setattr(self.shader.shader, "sfpx", params["px"]["shadowName"]) #print "Shadowmap: ", getattr(self.shader.shader, "sfpx") setattr(self.shader.shader, "sfpy", params["py"]["shadowName"]) #print "Shadowmap: ", get...
363dd9868541cf56e099d664af09ec8be926ffc1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11560/363dd9868541cf56e099d664af09ec8be926ffc1/BtoRAdapterClasses.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12957, 28572, 12, 2890, 16, 859, 4672, 16700, 529, 273, 365, 18, 674, 1143, 18, 674, 1143, 18, 674, 1143, 529, 309, 16700, 529, 422, 315, 19119, 1153, 6877, 9241, 12, 2890, 18, 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, 444, 12957, 28572, 12, 2890, 16, 859, 4672, 16700, 529, 273, 365, 18, 674, 1143, 18, 674, 1143, 18, 674, 1143, 529, 309, 16700, 529, 422, 315, 19119, 1153, 6877, 9241, 12, 2890, 18, 67...
i = 0
def send_to_graph(title, date, browser_config, results): tbox = title url_format = "http://%s/%s" link_format= "<a href = \"%s\">%s</a>" #value, testname, tbox, timeval, date, branch, buildid, type, data result_format = "%.2f,%s,%s,%d,%d,%s,%s,%s,%s,\n" result_format2 = "%.2f,%s,%s,%d,%d,%s,%s,%s,\n" links = '' for re...
37e88836aa536145177f58825fb8e6898f7c54a1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11102/37e88836aa536145177f58825fb8e6898f7c54a1/run_tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 67, 869, 67, 4660, 12, 2649, 16, 1509, 16, 4748, 67, 1425, 16, 1686, 4672, 268, 2147, 273, 2077, 880, 67, 2139, 273, 315, 2505, 23155, 87, 5258, 87, 6, 1692, 67, 2139, 33, 3532...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 869, 67, 4660, 12, 2649, 16, 1509, 16, 4748, 67, 1425, 16, 1686, 4672, 268, 2147, 273, 2077, 880, 67, 2139, 273, 315, 2505, 23155, 87, 5258, 87, 6, 1692, 67, 2139, 33, 3532...
archivemail.options.quiet = 1 archivemail.options.dry_run = 1
def testOld(self): """archiving an old mailbox with the 'dry-run' option""" for execute in ("package", "system_long", "system_short"): self.mbox_name = make_mbox(messages=3, hours_old=(24 * 181)) self.copy_name = tempfile.mktemp() shutil.copyfile(self.mbox_name, self.copy_name) if execute == "package": archivemail.opti...
7ae1b7bb3f82dbf160411305096fe282e18c5fce /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1746/7ae1b7bb3f82dbf160411305096fe282e18c5fce/test_archivemail.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 7617, 12, 2890, 4672, 3536, 991, 9288, 392, 1592, 14187, 598, 326, 296, 25011, 17, 2681, 11, 1456, 8395, 364, 1836, 316, 7566, 5610, 3113, 315, 4299, 67, 5748, 3113, 315, 4299, 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, 1842, 7617, 12, 2890, 4672, 3536, 991, 9288, 392, 1592, 14187, 598, 326, 296, 25011, 17, 2681, 11, 1456, 8395, 364, 1836, 316, 7566, 5610, 3113, 315, 4299, 67, 5748, 3113, 315, 4299, 67,...
"""
"""
def f_value(ER, EF, dfR, dfF): """
4df9a383125c76d1f060a1bc70e49a9dd5337298 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12971/4df9a383125c76d1f060a1bc70e49a9dd5337298/stats.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 284, 67, 1132, 12, 654, 16, 18162, 16, 3013, 54, 16, 3013, 42, 4672, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 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, 284, 67, 1132, 12, 654, 16, 18162, 16, 3013, 54, 16, 3013, 42, 4672, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
g = Grid0() g.x = 20 g.y = 530 g.demo() D.add(g) g = Grid0() g.x = 140 g.y = 530 g.delta0 = 10 g.demo() D.add(g) g = Grid0() g.x = 260 g.y = 530 g.orientation = 'horizontal' g.demo() D.add(g) sr = ShadedRect0() sr.x = 20 sr.y = 390 sr.fillColorStart = colors.Color(0, 0, 0) sr.fillColorEnd = colors.Color(1, 1, 1) sr....
for row in range(5): y = 530 - row*120 if row == 0: for col in range(3): x = 20 + col*120 g = Grid0() g.x = x g.y = y g.useRects = 0 g.useLines = 1 if col == 0: pass elif col == 1: g.delta0 = 10 elif col == 2: g.orientation = 'horizontal' g.demo() D.add(g) elif row == 1: for col in range(3): x = 20 + col*120 g = Grid0(...
def test(): D = Drawing(450,650) g = Grid0() g.x = 20 g.y = 530 g.demo() D.add(g) g = Grid0() g.x = 140 g.y = 530 g.delta0 = 10 g.demo() D.add(g) g = Grid0() g.x = 260 g.y = 530 g.orientation = 'horizontal' g.demo() D.add(g) sr = ShadedRect0() sr.x = 20 sr.y = 390 sr.fillColorStart = colors.Color(0, 0, 0) sr.fillCo...
2a3e6fc48d80b9c6c5c11a9c8c3f597a854a27ab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/2a3e6fc48d80b9c6c5c11a9c8c3f597a854a27ab/grids.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 13332, 463, 273, 10184, 310, 12, 24, 3361, 16, 26, 3361, 13, 225, 364, 1027, 316, 1048, 12, 25, 4672, 677, 273, 1381, 5082, 300, 1027, 14, 22343, 309, 1027, 422, 374, 30, 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, 1842, 13332, 463, 273, 10184, 310, 12, 24, 3361, 16, 26, 3361, 13, 225, 364, 1027, 316, 1048, 12, 25, 4672, 677, 273, 1381, 5082, 300, 1027, 14, 22343, 309, 1027, 422, 374, 30, 364, ...
version = Version(self.__env)
version = Version(self.env_open())
def _do_version_add(self, name): version = Version(self.__env) version.name = name version.insert()
8bfd000da40b8168bc7c6543227d6aa794adcb52 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/8bfd000da40b8168bc7c6543227d6aa794adcb52/admin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2896, 67, 1589, 67, 1289, 12, 2890, 16, 508, 4672, 1177, 273, 4049, 12, 2890, 18, 3074, 67, 3190, 10756, 1177, 18, 529, 273, 508, 1177, 18, 6387, 1435, 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, 389, 2896, 67, 1589, 67, 1289, 12, 2890, 16, 508, 4672, 1177, 273, 4049, 12, 2890, 18, 3074, 67, 3190, 10756, 1177, 18, 529, 273, 508, 1177, 18, 6387, 1435, 2, -100, -100, -100, -100, ...
def monkeyPatchProfiling(times_run):
def monkeyPatchTiming(times_run):
def monkeyPatchProfiling(times_run): unittest.TestCase.run = unittest_TestCase_run unittest.TestCase.times_run = times_run unittest.TestResult.__init__ = TestResult___init__( unittest.TestResult.__init__ )
e5a92053de4b8aead0daa40511620a6f620b73ad /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1298/e5a92053de4b8aead0daa40511620a6f620b73ad/test_runner.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6921, 856, 7332, 25377, 12, 8293, 67, 2681, 4672, 2836, 3813, 18, 4709, 2449, 18, 2681, 273, 2836, 3813, 67, 4709, 2449, 67, 2681, 2836, 3813, 18, 4709, 2449, 18, 8293, 67, 2681, 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, 6921, 856, 7332, 25377, 12, 8293, 67, 2681, 4672, 2836, 3813, 18, 4709, 2449, 18, 2681, 273, 2836, 3813, 67, 4709, 2449, 67, 2681, 2836, 3813, 18, 4709, 2449, 18, 8293, 67, 2681, 273, ...
except:
except NameError:
def _init_categories(categories=categories): for k,v in globals().items(): if k[:3] == 'LC_': categories[k] = v
86753a5fc602d7b68112b5f8cad6fe12a21fbad3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/86753a5fc602d7b68112b5f8cad6fe12a21fbad3/locale.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2738, 67, 8995, 12, 8995, 33, 8995, 4672, 364, 417, 16, 90, 316, 10941, 7675, 3319, 13332, 309, 417, 10531, 23, 65, 422, 296, 13394, 67, 4278, 6477, 63, 79, 65, 273, 331, 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, 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, 389, 2738, 67, 8995, 12, 8995, 33, 8995, 4672, 364, 417, 16, 90, 316, 10941, 7675, 3319, 13332, 309, 417, 10531, 23, 65, 422, 296, 13394, 67, 4278, 6477, 63, 79, 65, 273, 331, 2, -10...
print "onExtraDataCanChange: %s %s=>%s" %(id, key, value)
logging.debug("onExtraDataCanChange: %s %s=>%s" %(id, key, value))
def onExtraDataCanChange(self, id, key, value): print "onExtraDataCanChange: %s %s=>%s" %(id, key, value) return True, ""
d9e80712040f977a65437d98198220eeff4f916b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1208/d9e80712040f977a65437d98198220eeff4f916b/ufovboxapi.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 7800, 751, 2568, 3043, 12, 2890, 16, 612, 16, 498, 16, 460, 4672, 2907, 18, 4148, 2932, 265, 7800, 751, 2568, 3043, 30, 738, 87, 738, 87, 9207, 9, 87, 6, 8975, 350, 16, 498, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 7800, 751, 2568, 3043, 12, 2890, 16, 612, 16, 498, 16, 460, 4672, 2907, 18, 4148, 2932, 265, 7800, 751, 2568, 3043, 30, 738, 87, 738, 87, 9207, 9, 87, 6, 8975, 350, 16, 498, 1...
print "ERROR: Failed to open '%s':" % buildroot+target, msg
print "ERROR: Failed to open '%s':" % target, msg
def copy_file(source, target): try: source_fd = open(source, "r") except Exception, msg: print "ERROR: Failed to open '%s':" % buildroot+source, msg return 1 try: target_fd = open(target, "w") except Exception, msg: print "ERROR: Failed to open '%s':" % buildroot+target, msg source_fd.close() return 1 data = source_fd....
adf94e2e588a6cb0e5e2817826e4f487169f660a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1143/adf94e2e588a6cb0e5e2817826e4f487169f660a/functions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 67, 768, 12, 3168, 16, 1018, 4672, 775, 30, 1084, 67, 8313, 273, 1696, 12, 3168, 16, 315, 86, 7923, 1335, 1185, 16, 1234, 30, 1172, 315, 3589, 30, 11175, 358, 1696, 1995, 87, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1610, 67, 768, 12, 3168, 16, 1018, 4672, 775, 30, 1084, 67, 8313, 273, 1696, 12, 3168, 16, 315, 86, 7923, 1335, 1185, 16, 1234, 30, 1172, 315, 3589, 30, 11175, 358, 1696, 1995, 87, 1...
if P[1] != 0: raise TypeError, "P = %s is not a finite Weierstrass point. Use local_coordinates_at_nonweierstrass instead!"%P
if P[1] != 0: raise TypeError, "P = %s is not a finite Weierstrass point. Use local_coordinates_at_nonweierstrass instead!"%P
def local_coordinates_at_weierstrass(self, P, prec = 20, name = 't'): """ For a finite Weierstrass point on the hyperelliptic curve y^2 = f(x), returns (x(t), y(t)) such that (y(t))^2 = f(x(t)), where t = y is the local parameter.
030d54071a81b42f8cb0b5bdab1d15f4f3edce25 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/030d54071a81b42f8cb0b5bdab1d15f4f3edce25/hyperelliptic_generic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1191, 67, 16941, 67, 270, 67, 1814, 20778, 313, 428, 12, 2890, 16, 453, 16, 225, 13382, 273, 4200, 16, 508, 273, 296, 88, 11, 4672, 3536, 2457, 279, 25922, 1660, 20778, 313, 428, 1634,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1191, 67, 16941, 67, 270, 67, 1814, 20778, 313, 428, 12, 2890, 16, 453, 16, 225, 13382, 273, 4200, 16, 508, 273, 296, 88, 11, 4672, 3536, 2457, 279, 25922, 1660, 20778, 313, 428, 1634,...
else:
elif value is not None:
def set(self, instance, value, **kwargs): if value=='': value=None else: # should really blow if value is not valid __traceback_info__ = (self.getName(), instance, value, kwargs) value = int(value)
c4412fdf6792b66d54a9ac4c29d485be1d3a3117 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/c4412fdf6792b66d54a9ac4c29d485be1d3a3117/Field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12, 2890, 16, 791, 16, 460, 16, 2826, 4333, 4672, 309, 460, 18920, 4278, 460, 33, 7036, 1327, 460, 353, 486, 599, 30, 468, 1410, 8654, 324, 821, 309, 460, 353, 486, 923, 1001, 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, 444, 12, 2890, 16, 791, 16, 460, 16, 2826, 4333, 4672, 309, 460, 18920, 4278, 460, 33, 7036, 1327, 460, 353, 486, 599, 30, 468, 1410, 8654, 324, 821, 309, 460, 353, 486, 923, 1001, 2...
if s > self._quota:
if self._quota is not None and s > self._quota:
def store(self, oid, serial, data, version, transaction): if transaction is not self._transaction: raise POSException.StorageTransactionError(self, transaction)
5f48194f0adf628155c6138a3fcde59d9ea65eb6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10048/5f48194f0adf628155c6138a3fcde59d9ea65eb6/DemoStorage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1707, 12, 2890, 16, 7764, 16, 2734, 16, 501, 16, 1177, 16, 2492, 4672, 309, 2492, 353, 486, 365, 6315, 7958, 30, 1002, 12511, 503, 18, 3245, 3342, 668, 12, 2890, 16, 2492, 13, 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, 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, 1707, 12, 2890, 16, 7764, 16, 2734, 16, 501, 16, 1177, 16, 2492, 4672, 309, 2492, 353, 486, 365, 6315, 7958, 30, 1002, 12511, 503, 18, 3245, 3342, 668, 12, 2890, 16, 2492, 13, 2, -10...
msg['subject'] = 'IEMCHAT Message from %s' % (room,) msg['From'] = "akrherz@iastate.edu"
msg['subject'] = 'NWSChat Message from %s' % (room,) msg['From'] = "nwschatadmin@noaa.gov"
def really_send_group_email(self, l, room, msgtxt, sender): if not l: return msg = MIMEText("""The following message has been sent to you from
acfbf82e7a253118c0ea8dae0aa49df1647b6f7b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11180/acfbf82e7a253118c0ea8dae0aa49df1647b6f7b/iemchatbot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8654, 67, 4661, 67, 1655, 67, 3652, 12, 2890, 16, 328, 16, 7725, 16, 1234, 5830, 16, 5793, 4672, 309, 486, 328, 30, 327, 1234, 273, 13195, 1528, 2932, 3660, 1986, 3751, 883, 711, 2118,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8654, 67, 4661, 67, 1655, 67, 3652, 12, 2890, 16, 328, 16, 7725, 16, 1234, 5830, 16, 5793, 4672, 309, 486, 328, 30, 327, 1234, 273, 13195, 1528, 2932, 3660, 1986, 3751, 883, 711, 2118,...
return None
def _TryReadUidFile(cls, uid_file): """Try to read a uid file
aa0b600b390915a18b63590554e0859be4319d4d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7542/aa0b600b390915a18b63590554e0859be4319d4d/hv_kvm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 7833, 1994, 11994, 812, 12, 6429, 16, 4555, 67, 768, 4672, 3536, 7833, 358, 855, 279, 4555, 585, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7833, 1994, 11994, 812, 12, 6429, 16, 4555, 67, 768, 4672, 3536, 7833, 358, 855, 279, 4555, 585, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
this = apply(_quickfix.new_NoMsgTypes, args)
this = _quickfix.new_NoMsgTypes(*args)
def __init__(self, *args): this = apply(_quickfix.new_NoMsgTypes, 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, 2279, 3332, 2016, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2279, 3332, 2016, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, ...
DeprecationWarning, 2)
DeprecationWarning, 3)
def nested(*managers): """Support multiple context managers in a single with-statement. Code like this: with nested(A, B, C) as (X, Y, Z): <body> is equivalent to this: with A as X: with B as Y: with C as Z: <body> """ warn("With-statements now directly support multiple context managers", DeprecationWarning, 2) ex...
1917ad587f762777d3d4c686e7ba8fae2d4e0b71 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8546/1917ad587f762777d3d4c686e7ba8fae2d4e0b71/contextlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4764, 30857, 29757, 4672, 3536, 6289, 3229, 819, 21103, 316, 279, 2202, 598, 17, 11516, 18, 225, 3356, 3007, 333, 30, 225, 598, 4764, 12, 37, 16, 605, 16, 385, 13, 487, 261, 60, 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, 4764, 30857, 29757, 4672, 3536, 6289, 3229, 819, 21103, 316, 279, 2202, 598, 17, 11516, 18, 225, 3356, 3007, 333, 30, 225, 598, 4764, 12, 37, 16, 605, 16, 385, 13, 487, 261, 60, 16, ...
sys.exit(0)
sys.exit( 0 )
def showVersion( self, arg ): print "Version:" print " ", __RCSID__ print " ", __VERSION__ sys.exit(0) return DIRAC.S_OK()
729f7ec103fc9f6618f9ffcb968b17863321aa57 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/729f7ec103fc9f6618f9ffcb968b17863321aa57/dirac-myproxy-upload.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 1444, 12, 365, 16, 1501, 262, 30, 1172, 315, 1444, 2773, 1172, 315, 3104, 1001, 54, 4596, 734, 972, 1172, 315, 3104, 1001, 5757, 972, 2589, 18, 8593, 12, 374, 262, 327, 18544, 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, 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, 2405, 1444, 12, 365, 16, 1501, 262, 30, 1172, 315, 1444, 2773, 1172, 315, 3104, 1001, 54, 4596, 734, 972, 1172, 315, 3104, 1001, 5757, 972, 2589, 18, 8593, 12, 374, 262, 327, 18544, 22...
elif type == INDENT and self.blkopenline:
elif typ == INDENT and self.blkopenline:
def run(self): OPENERS=('class', 'def', 'for', 'if', 'try', 'while') INDENT=tokenize.INDENT NAME=tokenize.NAME save_tabsize = tokenize.tabsize tokenize.tabsize = self.tabwidth try: try: for (typ, token, start, end, line) in token_generator(self.readline): if typ == NAME and token in OPENERS: self.blkopenline = line el...
a9d4d5bc2ac7456a2c73453f4544437175d07acd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/677/a9d4d5bc2ac7456a2c73453f4544437175d07acd/AutoIndent.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 7247, 8196, 55, 33, 2668, 1106, 2187, 296, 536, 2187, 296, 1884, 2187, 296, 430, 2187, 296, 698, 2187, 296, 17523, 6134, 30009, 33, 2316, 554, 18, 2356, 2222, 6048,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7247, 8196, 55, 33, 2668, 1106, 2187, 296, 536, 2187, 296, 1884, 2187, 296, 430, 2187, 296, 698, 2187, 296, 17523, 6134, 30009, 33, 2316, 554, 18, 2356, 2222, 6048,...
@param type: type of the breakpoint (one of BPT_... constants)
@param bpttype: type of the breakpoint (one of BPT_... constants)
def AddBptEx(ea, size, bpttype): """ Add a new breakpoint @param ea: any address in the process memory space: @param size: size of the breakpoint (irrelevant for software breakpoints): @param type: type of the breakpoint (one of BPT_... constants) @return: success @note: Only one breakpoint can exist at a given addr...
252fcf805295feb5e4e386c4814ad66b95a426d4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4773/252fcf805295feb5e4e386c4814ad66b95a426d4/idc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1436, 38, 337, 424, 12, 24852, 16, 963, 16, 324, 337, 723, 4672, 3536, 1436, 279, 394, 18820, 225, 632, 891, 24164, 30, 1281, 1758, 316, 326, 1207, 3778, 3476, 30, 632, 891, 963, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1436, 38, 337, 424, 12, 24852, 16, 963, 16, 324, 337, 723, 4672, 3536, 1436, 279, 394, 18820, 225, 632, 891, 24164, 30, 1281, 1758, 316, 326, 1207, 3778, 3476, 30, 632, 891, 963, 30, ...
def _getSuites(verbosity=1, tests=[]):
def _getSuites(verbosity=1, names=[]):
def _getSuites(verbosity=1, tests=[]): """ The obspy test suite. """ if tests == []: names = DEFAULT_MODULES else: names = [] # Search for short cuts in tests, if there are no short cuts, # names variables is equal to tests variable for test in tests: if test in ALL_MODULES: names.append(test) # Construct the test suit...
14842407735ac1065fc802f4b0e401136db0dacd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10470/14842407735ac1065fc802f4b0e401136db0dacd/runtests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 22024, 12, 16629, 8807, 33, 21, 16, 1257, 33, 8526, 4672, 3536, 1021, 3768, 30884, 1842, 11371, 18, 3536, 309, 7434, 422, 5378, 30, 1257, 273, 3331, 67, 12194, 55, 469, 30, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22024, 12, 16629, 8807, 33, 21, 16, 1257, 33, 8526, 4672, 3536, 1021, 3768, 30884, 1842, 11371, 18, 3536, 309, 7434, 422, 5378, 30, 1257, 273, 3331, 67, 12194, 55, 469, 30, 1...
"""
- *encoding*: string, the encoding to use, defaults to "default_encoding" global variable (optional), - *check_for_duplicates*: whether to check for duplicate entries when adding entries to the file, default: False (optional). """ enc = kwargs.get('encoding', default_encoding) check_dup = kwargs.get('check_for_duplicat...
def __init__(self, fpath, enc=default_encoding): """ Constructor.
9d732105697624731ed08ef764908b70660f97db /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5718/9d732105697624731ed08ef764908b70660f97db/polib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 13543, 16, 2446, 33, 1886, 67, 5999, 4672, 300, 380, 5999, 14, 30, 533, 16, 326, 2688, 358, 999, 16, 3467, 358, 315, 1886, 67, 5999, 6, 2552, 2190, 261...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13543, 16, 2446, 33, 1886, 67, 5999, 4672, 300, 380, 5999, 14, 30, 533, 16, 326, 2688, 358, 999, 16, 3467, 358, 315, 1886, 67, 5999, 6, 2552, 2190, 261...
srcdoc = self.get_valdoc(val_doc.imported_from) if srcdoc in self.reachable_valdocs: self.reachable_valdocs.discard(val_doc) if srcdoc in self.contained_valdocs: self.contained_valdocs.discard(val_doc) if srcdoc != val_doc and srcdoc is not None: val_doc.__class__ = srcdoc.__class__ val_doc.__dict__ = srcdoc.__dict__...
src_doc = self.get_valdoc(val_doc.imported_from) if src_doc != val_doc and src_doc is not None: if src_doc in self.reachable_valdocs: self.reachable_valdocs.discard(val_doc) if src_doc in self.contained_valdocs: self.contained_valdocs.discard(val_doc) val_doc.__class__ = src_doc.__class__ val_doc.__dict__ = src_doc....
def __init__(self, root): """ Create a new documentation index, based on the given root set of C{ValueDoc}s. If any C{APIDoc}s reachable from the root set does not have a canonical name, then it will be assigned one. etc. @param root: A dictionary mapping from names to C{ValueDoc}s. """ #: A list of (name, ValueDoc)...
b097566987f7c4a1dcccfb72347f754962ebb8b2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/b097566987f7c4a1dcccfb72347f754962ebb8b2/docindexer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1365, 4672, 3536, 1788, 279, 394, 7323, 770, 16, 2511, 603, 326, 864, 1365, 444, 434, 385, 95, 620, 1759, 97, 87, 18, 225, 971, 1281, 385, 95, 2203, 73...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1365, 4672, 3536, 1788, 279, 394, 7323, 770, 16, 2511, 603, 326, 864, 1365, 444, 434, 385, 95, 620, 1759, 97, 87, 18, 225, 971, 1281, 385, 95, 2203, 73...
relations[other_index[other]] = (other,disp)
relations[other_index[other]] = (other,disp,groupCombatReaction)
def readFromMod(self,modInfo): """Imports faction relations from specified mod.""" self.readFactionEids(modInfo) loadFactory= LoadFactory(False,MreFact) modFile = ModFile(modInfo,loadFactory) modFile.load(True) modFile.convertToLongFids(('FACT',)) for record in modFile.FACT.getActiveRecords(): #--Following is a bit mes...
81923914b6989a5d38c47e7038a12ad2760d1ff6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6682/81923914b6989a5d38c47e7038a12ad2760d1ff6/bosh.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20876, 1739, 12, 2890, 16, 1711, 966, 4672, 3536, 13347, 284, 1128, 7467, 628, 1269, 681, 12123, 365, 18, 896, 42, 1128, 41, 2232, 12, 1711, 966, 13, 1262, 1733, 33, 4444, 1733, 12, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20876, 1739, 12, 2890, 16, 1711, 966, 4672, 3536, 13347, 284, 1128, 7467, 628, 1269, 681, 12123, 365, 18, 896, 42, 1128, 41, 2232, 12, 1711, 966, 13, 1262, 1733, 33, 4444, 1733, 12, 83...
return S_ERROR('PilotJobReferences for job %d not found' % jobID)
return S_ERROR('PilotJobReferences for job %s not found' % jobID) def getPilotsForTaskQueue(self,taskQueueID,gridType=None,limit=None): """ Get IDs of Pilot Agents that were submitted for the given taskQueue, specify optionally the grid type, results are sorted by Submission time an Optional limit can be set. """ if...
def getPilotsForJob(self,jobID,gridType=None): """ Get IDs of Pilot Agents that were submitted for the given job, specify optionally the grid type """
2ea5d216ea7e63f599b9f3dd3d2c22b623f61d75 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/2ea5d216ea7e63f599b9f3dd3d2c22b623f61d75/PilotAgentsDB.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1689, 330, 6968, 1290, 2278, 12, 2890, 16, 4688, 734, 16, 5222, 559, 33, 7036, 4672, 3536, 968, 7115, 434, 453, 22797, 5495, 4877, 716, 4591, 9638, 364, 326, 864, 1719, 16, 4800, 8771, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1689, 330, 6968, 1290, 2278, 12, 2890, 16, 4688, 734, 16, 5222, 559, 33, 7036, 4672, 3536, 968, 7115, 434, 453, 22797, 5495, 4877, 716, 4591, 9638, 364, 326, 864, 1719, 16, 4800, 8771, ...
logfn = datafiledpath('logs', logname)
logfn = datafilepath('logs', logname)
def setLogfileStatus(enabled, logname = None): global logfile if enabled: if not logname: logname = '%s.log' % calledModuleName() logfn = datafiledpath('logs', logname) try: logfile = codecs.open(logfn, 'a', 'utf-8') except IOError: logfile = codecs.open(logfn, 'w', 'utf-8') else: # disable the log file logfile = None
e33594930cf739cade2ad31c9cdd35ca33444959 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4404/e33594930cf739cade2ad31c9cdd35ca33444959/wikipedia.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 1343, 768, 1482, 12, 5745, 16, 613, 529, 273, 599, 4672, 2552, 15204, 309, 3696, 30, 309, 486, 613, 529, 30, 613, 529, 273, 1995, 87, 18, 1330, 11, 738, 2566, 22542, 1435, 613, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 1343, 768, 1482, 12, 5745, 16, 613, 529, 273, 599, 4672, 2552, 15204, 309, 3696, 30, 309, 486, 613, 529, 30, 613, 529, 273, 1995, 87, 18, 1330, 11, 738, 2566, 22542, 1435, 613, ...
def __repr__(self): try: fileno = self.fileno() except Exception, ex: fileno = str(ex) args = (type(self).__name__, id(self), fileno, self.timeout, self._sock.state_string()) return '<%s at 0x%X fileno=%s timeout=%s state_string=%r>' % args
def _formatinfo(self): return socket._formatinfo(self) + ' state_string=%r' % self._sock.state_string()
def __repr__(self): try: fileno = self.fileno() except Exception, ex: fileno = str(ex) args = (type(self).__name__, id(self), fileno, self.timeout, self._sock.state_string()) return '<%s at 0x%X fileno=%s timeout=%s state_string=%r>' % args
f6a6fa079d7f5f6c7d63fe392177b6ba1d235f99 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10423/f6a6fa079d7f5f6c7d63fe392177b6ba1d235f99/sslold.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12715, 972, 12, 2890, 4672, 775, 30, 24256, 273, 365, 18, 7540, 5764, 1435, 1335, 1185, 16, 431, 30, 24256, 273, 609, 12, 338, 13, 833, 273, 261, 723, 12, 2890, 2934, 972, 529, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12715, 972, 12, 2890, 4672, 775, 30, 24256, 273, 365, 18, 7540, 5764, 1435, 1335, 1185, 16, 431, 30, 24256, 273, 609, 12, 338, 13, 833, 273, 261, 723, 12, 2890, 2934, 972, 529, ...
if self.distro.osmajor in recipetasks.excluded_osmajor:
if self.distro.osversion.osmajor in recipetask.task.excluded_osmajor:
def append_tasks(self, recipetask): """ Before appending the task to this Recipe, make sure it applies. ie: not excluded for this distro family or arch. """ if self.distro.arch in recipetasks.excluded_arch: return if self.distro.osmajor in recipetasks.excluded_osmajor: return self.tasks.append(recipetask)
892209f36b4774b95e2b60a143407bbfc6764703 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14755/892209f36b4774b95e2b60a143407bbfc6764703/model.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 714, 67, 9416, 12, 2890, 16, 5863, 278, 835, 4672, 3536, 11672, 19997, 326, 1562, 358, 333, 7776, 3151, 16, 1221, 3071, 518, 10294, 18, 9228, 30, 486, 8845, 364, 333, 27450, 6755, 578, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9416, 12, 2890, 16, 5863, 278, 835, 4672, 3536, 11672, 19997, 326, 1562, 358, 333, 7776, 3151, 16, 1221, 3071, 518, 10294, 18, 9228, 30, 486, 8845, 364, 333, 27450, 6755, 578, ...
l = (l[0], l[1] + "+")
ld = (l[0], l[1] + "+")
def debug(s, msg, r=""): if r: r = "%s:%s:%s" % r repo.ui.debug(" subrepo %s: %s %s\n" % (s, msg, r))
ffbe013a272ae3f12702d0aa7b96e2716197852a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11312/ffbe013a272ae3f12702d0aa7b96e2716197852a/subrepo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1198, 12, 87, 16, 1234, 16, 436, 1546, 6, 4672, 309, 436, 30, 436, 273, 2213, 87, 5319, 87, 5319, 87, 6, 738, 436, 3538, 18, 4881, 18, 4148, 2932, 225, 720, 7422, 738, 87, 30, 738,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1198, 12, 87, 16, 1234, 16, 436, 1546, 6, 4672, 309, 436, 30, 436, 273, 2213, 87, 5319, 87, 5319, 87, 6, 738, 436, 3538, 18, 4881, 18, 4148, 2932, 225, 720, 7422, 738, 87, 30, 738,...
Torsion Subgroup isomorphic to Multiplicative Abelian Group isomorphic to C2 x C8 associated to the Elliptic Curve defined by y^2 = x^3 - 1386747*x + 368636886 over Rational Field
Torsion Subgroup isomorphic to Multiplicative Abelian Group isomorphic to C8 x C2 associated to the Elliptic Curve defined by y^2 = x^3 - 1386747*x + 368636886 over Rational Field
def torsion_subgroup(self, flag=0): """ Returns the torsion subgroup of this elliptic curve.
25d8e322d3a73998543125b90abf1ec73ddce36a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/25d8e322d3a73998543125b90abf1ec73ddce36a/ell_rational_field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 268, 1383, 285, 67, 1717, 1655, 12, 2890, 16, 2982, 33, 20, 4672, 3536, 2860, 326, 268, 1383, 285, 720, 1655, 434, 333, 415, 549, 21507, 8882, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 268, 1383, 285, 67, 1717, 1655, 12, 2890, 16, 2982, 33, 20, 4672, 3536, 2860, 326, 268, 1383, 285, 720, 1655, 434, 333, 415, 549, 21507, 8882, 18, 2, -100, -100, -100, -100, -100, -100...
if translation.src not in dict(field.selection).values():
if isinstance(field.selection, (tuple, list)) \ and translation.src not in \ dict(field.selection).values():
def _clean_translation(self, cursor, user, data, context): translation_obj = self.pool.get('ir.translation') model_data_obj = self.pool.get('ir.model.data') report_obj = self.pool.get('ir.action.report') pool_wizard = pooler.get_pool_wizard(cursor.dbname)
06a0d3a5e251578602a100cdb5289816d7eecdf2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9266/06a0d3a5e251578602a100cdb5289816d7eecdf2/translation.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6200, 67, 10173, 12, 2890, 16, 3347, 16, 729, 16, 501, 16, 819, 4672, 4794, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 481, 18, 10173, 6134, 938, 67, 892, 67, 2603, 273, 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, 389, 6200, 67, 10173, 12, 2890, 16, 3347, 16, 729, 16, 501, 16, 819, 4672, 4794, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 481, 18, 10173, 6134, 938, 67, 892, 67, 2603, 273, 365, ...