rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
try: body = [output, extra] except NameError: body = [output]
body = [output]
def perform_checkcollectionstatus(colID, ln, confirm=0, callback='yes'): """Check the configuration of the collections.""" subtitle = """<a name="11"></a>Collections Status&nbsp;&nbsp&nbsp;[<a href="%s/admin/websearch/guide.html#5">?</a>]""" % weburl output = "" colID = int(colID) col_dict = dict(get_def_name('', "c...
fb83561e15cf55d482f8b6090f9c163f4f103bae /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2139/fb83561e15cf55d482f8b6090f9c163f4f103bae/websearchadminlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 1893, 5548, 2327, 12, 1293, 734, 16, 7211, 16, 6932, 33, 20, 16, 1348, 2218, 9707, 11, 4672, 3536, 1564, 326, 1664, 434, 326, 6980, 12123, 225, 20281, 273, 3536, 32, 69, 508,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3073, 67, 1893, 5548, 2327, 12, 1293, 734, 16, 7211, 16, 6932, 33, 20, 16, 1348, 2218, 9707, 11, 4672, 3536, 1564, 326, 1664, 434, 326, 6980, 12123, 225, 20281, 273, 3536, 32, 69, 508,...
for cl in getgx().allclasses:
builtinclasses = [cl for cl in getgx().allclasses if cl.mv.module.builtin] nonbuiltinclasses = [cl for cl in getgx().allclasses if not cl.mv.module.builtin] for cl in builtinclasses: if cl.ident in ['datetime', 'date', 'time', 'timedelta']: continue
def template_parameters(): # --- determine initial template variables (we might add prediction here later on) for cl in getgx().allclasses: # (first do class template vars, as function depend on them) # XXX recursion! vars = cl.vars.values() #if not cl.bases and not cl.children: # XXX if cl.mv.module.builtin: if cl.id...
6a7cd3ec9604a1996a0f44096bd9413947e659e6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4470/6a7cd3ec9604a1996a0f44096bd9413947e659e6/cpp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1542, 67, 3977, 13332, 468, 9948, 4199, 2172, 1542, 3152, 261, 1814, 4825, 527, 8239, 2674, 5137, 603, 13, 15273, 4701, 273, 306, 830, 364, 927, 316, 336, 75, 92, 7675, 454, 4701, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1542, 67, 3977, 13332, 468, 9948, 4199, 2172, 1542, 3152, 261, 1814, 4825, 527, 8239, 2674, 5137, 603, 13, 15273, 4701, 273, 306, 830, 364, 927, 316, 336, 75, 92, 7675, 454, 4701, 309, ...
elif window[-1]=='G':
elif window.endswith('G'):
def lcc_mult(seq,wsize,start,end): """Return a list called lccsal, the LCC, a complexity measure
3d45bf521c4adc9e7c82272c7e26271842ba064f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7167/3d45bf521c4adc9e7c82272c7e26271842ba064f/lcc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 328, 952, 67, 5421, 12, 5436, 16, 91, 1467, 16, 1937, 16, 409, 4672, 3536, 990, 279, 666, 2566, 328, 952, 21982, 16, 326, 511, 6743, 16, 279, 21610, 6649, 2, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 328, 952, 67, 5421, 12, 5436, 16, 91, 1467, 16, 1937, 16, 409, 4672, 3536, 990, 279, 666, 2566, 328, 952, 21982, 16, 326, 511, 6743, 16, 279, 21610, 6649, 2, -100, -100, -100, -100, ...
components = self.url.split("@")
if self.url.startswith('ssh:'): regex = r"(ssh://(?:[\w]+@)?[-\w:\.]+/[-\w\.]+)(?:@([\w/]+))?" components = re.search(regex, self.url).groups() else: components = self.url.split("@")
def update(self, options, args, file_list): """Runs git to update or transparently checkout the working copy.
689755ca0ddff5b08bf963b1ea4f19d3a03aa942 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6076/689755ca0ddff5b08bf963b1ea4f19d3a03aa942/gclient_scm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 16, 702, 16, 833, 16, 585, 67, 1098, 4672, 3536, 9361, 5071, 358, 1089, 578, 17270, 715, 13926, 326, 5960, 1610, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 16, 702, 16, 833, 16, 585, 67, 1098, 4672, 3536, 9361, 5071, 358, 1089, 578, 17270, 715, 13926, 326, 5960, 1610, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
for version in kernel_list.split(','):
for version in re.split(r'[, ]+', kernel_list): if not version: continue
def _get_kernel_data(kernel_list, cmdline): # the RPC supports cmdline per kernel version in a dictionary kernels = [] for version in kernel_list.split(','): kernel_info = {'version': version} if cmdline: kernel_info['cmdline'] = cmdline kernels.append(kernel_info)
06cd15b545634ca4da63ed765188a00d14b9e01b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12268/06cd15b545634ca4da63ed765188a00d14b9e01b/job.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 8111, 67, 892, 12, 8111, 67, 1098, 16, 22877, 4672, 468, 326, 8295, 6146, 22877, 1534, 5536, 1177, 316, 279, 3880, 5536, 87, 273, 5378, 364, 1177, 316, 283, 18, 4939, 12,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 8111, 67, 892, 12, 8111, 67, 1098, 16, 22877, 4672, 468, 326, 8295, 6146, 22877, 1534, 5536, 1177, 316, 279, 3880, 5536, 87, 273, 5378, 364, 1177, 316, 283, 18, 4939, 12,...
task=self.pool.get('project.task.work').browse(cr,uid,ids)[0] line_id=task.hr_analytic_timesheet_id
task = self.pool.get('project.task.work').browse(cr, uid, ids)[0] line_id = task.hr_analytic_timesheet_id
def write(self, cr, uid, ids,vals,context={}): vals_line={}
3378bd4d3a4d503d59d259ae7c1220f1547be7df /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/3378bd4d3a4d503d59d259ae7c1220f1547be7df/project_timesheet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 4524, 16, 2472, 12938, 4672, 5773, 67, 1369, 12938, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 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, 1045, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 4524, 16, 2472, 12938, 4672, 5773, 67, 1369, 12938, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
if s[:4] == '&
if s[:4] == u'&
def str2XML(self, line): """return a valid XML string""" try: s = unicode(line, config.LOCALE) while s[-1] == ' ': s = s[:-1] if s[:4] == '&#34': s = s[5:] if s[-4:] == '#34;': s = s[:-5] # replace all & to &amp; ... s = s.replace("&", "&amp;")
e4e4639f6ea3e57e463f291a7c76a06466bdd9d8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/e4e4639f6ea3e57e463f291a7c76a06466bdd9d8/fxdimdb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 609, 22, 4201, 12, 2890, 16, 980, 4672, 3536, 2463, 279, 923, 3167, 533, 8395, 775, 30, 272, 273, 5252, 12, 1369, 16, 642, 18, 25368, 13, 1323, 272, 18919, 21, 65, 422, 296, 4290, 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, 609, 22, 4201, 12, 2890, 16, 980, 4672, 3536, 2463, 279, 923, 3167, 533, 8395, 775, 30, 272, 273, 5252, 12, 1369, 16, 642, 18, 25368, 13, 1323, 272, 18919, 21, 65, 422, 296, 4290, 27...
pos=wxPoint(0, 0), size=wxSize(48, 13), style=0) self.fixedWidthChk = wxCheckBox(id=wxID_STCSTYLEEDITDLGFIXEDWIDTHCHK, label='', name='fixedWidthChk', parent=self.panel1, pos=wxPoint(0, 23), size=wxSize(13, 19), style=0)
pos=wx.Point(0, 0), size=wx.Size(48, 13), style=0) self.fixedWidthChk = wx.CheckBox(id=wxID_STCSTYLEEDITDLGFIXEDWIDTHCHK, label='', name='fixedWidthChk', parent=self.panel1, pos=wx.Point(0, 23), size=wx.Size(16, 19), style=0)
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi...
1e19321bfb8d6ff348cd85bdad3a1a4c2f517fa0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/1e19321bfb8d6ff348cd85bdad3a1a4c2f517fa0/STCStyleEditor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2738, 67, 16277, 87, 12, 2890, 16, 846, 496, 4672, 468, 4374, 707, 16, 2727, 1404, 3874, 7075, 6353, 16186, 2738, 972, 12, 2890, 16, 612, 33, 27226, 734, 67, 882, 39, 15066, 10776...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2738, 67, 16277, 87, 12, 2890, 16, 846, 496, 4672, 468, 4374, 707, 16, 2727, 1404, 3874, 7075, 6353, 16186, 2738, 972, 12, 2890, 16, 612, 33, 27226, 734, 67, 882, 39, 15066, 10776...
(\s*<.*?>\s*)
(\s*<.*>\s*)
def analyse_text(text): if text[:7] == 'Index: ': return True if text[:5] == 'diff ': return True if text[:4] == '--- ': return 0.9
12eb5978e72b9cab6147e1fc57b9cace92c33e8b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2885/12eb5978e72b9cab6147e1fc57b9cace92c33e8b/text.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31087, 67, 955, 12, 955, 4672, 309, 977, 10531, 27, 65, 422, 296, 1016, 30, 4290, 327, 1053, 309, 977, 10531, 25, 65, 422, 296, 5413, 4290, 327, 1053, 309, 977, 10531, 24, 65, 422, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31087, 67, 955, 12, 955, 4672, 309, 977, 10531, 27, 65, 422, 296, 1016, 30, 4290, 327, 1053, 309, 977, 10531, 25, 65, 422, 296, 5413, 4290, 327, 1053, 309, 977, 10531, 24, 65, 422, 3...
locals = codeBlock.localnames() if name in locals:
if name in codeBlock.locals:
def getNameAttribs(self, name, module, codeBlock=None): if codeBlock: locals = codeBlock.localnames() if name in locals: objType = codeBlock.locals[name].objtype res = self.getTypeAttribs(objType, module) if res is not None: return res if name in module.globals: objType = module.globals[name].signature res = self.getTy...
0df8901faaa945bd36510b4a339f64decaa407d8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/0df8901faaa945bd36510b4a339f64decaa407d8/PySourceView.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1723, 31292, 12, 2890, 16, 508, 16, 1605, 16, 981, 1768, 33, 7036, 4672, 309, 981, 1768, 30, 309, 508, 316, 981, 1768, 18, 17977, 30, 30078, 273, 981, 1768, 18, 17977, 63, 529, 8009, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1723, 31292, 12, 2890, 16, 508, 16, 1605, 16, 981, 1768, 33, 7036, 4672, 309, 981, 1768, 30, 309, 508, 316, 981, 1768, 18, 17977, 30, 30078, 273, 981, 1768, 18, 17977, 63, 529, 8009, ...
with func(), put the results along with the Thread's name into the response Queue. Stop running once an item is None.''' name = currentThread().getName()
with func(), put the results along with the Thread's name into the response Queue. Stop running once an item is None.''' name = threading.currentThread().getName() ziplock = threading.Lock()
def run(request, response, func=download_from_web): '''Get items from the request Queue, process them with func(), put the results along with the Thread's name into the response Queue. Stop running once an item is None.''' name = currentThread().getName() while 1: item = request.get() if item is None: break (sUrl, sF...
9c27bc1a32b99b38cf401a7be5d2fe4720312e76 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12499/9c27bc1a32b99b38cf401a7be5d2fe4720312e76/pypt_core.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2293, 16, 766, 16, 1326, 33, 7813, 67, 2080, 67, 4875, 4672, 9163, 967, 1516, 628, 326, 590, 7530, 16, 1207, 2182, 598, 1326, 9334, 1378, 326, 1686, 7563, 598, 326, 4884, 180...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2293, 16, 766, 16, 1326, 33, 7813, 67, 2080, 67, 4875, 4672, 9163, 967, 1516, 628, 326, 590, 7530, 16, 1207, 2182, 598, 1326, 9334, 1378, 326, 1686, 7563, 598, 326, 4884, 180...
set({frozenbag(('a',))})
{frozenbag(('a',))}
def multichoose(it: Iterable, k): """ Returns a set of all possible multisets of length k on unique elements from iterable. The number of sets returned is C(n+k-1, k) where: C is the binomial coefficient function n is the number of unique elements in iterable k is the cardinality of the resulting multisets
62da6e70babb13c16bb5a4224cf757be3a0102f3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5397/62da6e70babb13c16bb5a4224cf757be3a0102f3/collections_.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1778, 1354, 22494, 12, 305, 30, 6725, 16, 417, 4672, 3536, 2860, 279, 444, 434, 777, 3323, 22945, 2413, 434, 769, 417, 603, 3089, 2186, 628, 6087, 18, 1021, 1300, 434, 1678, 2106, 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, 1778, 1354, 22494, 12, 305, 30, 6725, 16, 417, 4672, 3536, 2860, 279, 444, 434, 777, 3323, 22945, 2413, 434, 769, 417, 603, 3089, 2186, 628, 6087, 18, 1021, 1300, 434, 1678, 2106, 353, ...
self.update_section_numbers(self.document, "", 1)
self.update_section_numbers(self.document)
def transform(self): self.maxdepth = self.startnode.details.get('depth', sys.maxint) self.startnode.parent.remove(self.startnode) self.update_section_numbers(self.document, "", 1)
ed9fa0c91ae8bcc4d1316f1011938aac5958b9f8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5620/ed9fa0c91ae8bcc4d1316f1011938aac5958b9f8/parts.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2510, 12, 2890, 4672, 365, 18, 1896, 5979, 273, 365, 18, 1937, 2159, 18, 6395, 18, 588, 2668, 5979, 2187, 2589, 18, 1896, 474, 13, 365, 18, 1937, 2159, 18, 2938, 18, 4479, 12, 2890, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2510, 12, 2890, 4672, 365, 18, 1896, 5979, 273, 365, 18, 1937, 2159, 18, 6395, 18, 588, 2668, 5979, 2187, 2589, 18, 1896, 474, 13, 365, 18, 1937, 2159, 18, 2938, 18, 4479, 12, 2890, ...
res.append((imgName, latest[0], latest[1], latest[2], latest[3], latest[4], latest[5], grades[0][6]))
res.append((imgName, latest[0], latest[2], latest[3], latest[4], latest[1], latest[5], grades[0][6]))
def get_grades(res_output_dir = None, idList = None): """ Returns all images grades in the database. Only the latest grade, when available, is returned for each image. Both user-defined and previous release grades are checked for grading information and comment. @return a list of tuples [(image name, grade, comment), ...
06bbf02326e39180c5d0c43ecf29eafadd9d283a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11651/06bbf02326e39180c5d0c43ecf29eafadd9d283a/grading.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 13088, 12, 455, 67, 2844, 67, 1214, 273, 599, 16, 29174, 273, 599, 4672, 3536, 2860, 777, 4602, 24396, 316, 326, 2063, 18, 5098, 326, 4891, 7324, 16, 1347, 2319, 16, 353, 2106...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13088, 12, 455, 67, 2844, 67, 1214, 273, 599, 16, 29174, 273, 599, 4672, 3536, 2860, 777, 4602, 24396, 316, 326, 2063, 18, 5098, 326, 4891, 7324, 16, 1347, 2319, 16, 353, 2106...
})
}, 403)
def testNewScreenshotPermissionDenied(self): """Testing the reviewrequests/screenshot/new API with Permission Denied error""" review_request = ReviewRequest.objects.filter(public=True).\ exclude(submitter=self.user)[0]
21b56ac1dbc418157976dcd64bb81c1d6995a975 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1600/21b56ac1dbc418157976dcd64bb81c1d6995a975/tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1908, 29354, 5041, 10410, 12, 2890, 4672, 3536, 22218, 326, 10725, 11420, 19, 29435, 19, 2704, 1491, 598, 8509, 22453, 2092, 555, 8395, 10725, 67, 2293, 273, 21354, 691, 18, 6911, 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, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1908, 29354, 5041, 10410, 12, 2890, 4672, 3536, 22218, 326, 10725, 11420, 19, 29435, 19, 2704, 1491, 598, 8509, 22453, 2092, 555, 8395, 10725, 67, 2293, 273, 21354, 691, 18, 6911, 18...
self.tk.call(self._w, 'anchor', 'set', index)
self.tk.call(self._w, 'anchor', 'set', index)
def anchor_set(self, index):
22710823fb554a796dc96c44885d7a9389426824 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/22710823fb554a796dc96c44885d7a9389426824/Tix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6984, 67, 542, 12, 2890, 16, 770, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6984, 67, 542, 12, 2890, 16, 770, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def __init__(self, storage):
def __init__(self, file_obj, storage):
def __init__(self, storage): omero.util.Servant.__init__(self) self.storage = storage self.storage.incr(self) self.stamp = time.time()
997b64a9c17c5a7d9a682b0647c95bdf013b7c8c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12409/997b64a9c17c5a7d9a682b0647c95bdf013b7c8c/tables.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 585, 67, 2603, 16, 2502, 4672, 8068, 2439, 18, 1367, 18, 827, 7445, 16186, 2738, 972, 12, 2890, 13, 365, 18, 5697, 273, 2502, 365, 18, 5697, 18, 267, 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, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 585, 67, 2603, 16, 2502, 4672, 8068, 2439, 18, 1367, 18, 827, 7445, 16186, 2738, 972, 12, 2890, 13, 365, 18, 5697, 273, 2502, 365, 18, 5697, 18, 267, 3...
return set(self) == set(other)
return set(self) != set(other)
def __ne__(self, other): return set(self) == set(other)
d455784061edf13d8210e66b786f0db3909262e5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3187/d455784061edf13d8210e66b786f0db3909262e5/_abcoll.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4644, 972, 12, 2890, 16, 1308, 4672, 327, 444, 12, 2890, 13, 422, 444, 12, 3011, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4644, 972, 12, 2890, 16, 1308, 4672, 327, 444, 12, 2890, 13, 422, 444, 12, 3011, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
return [port for port in client_ports if client.get_port_flags(port) & jack.IsOutput ]
return [port for port in client_ports if monitor_client.get_port_flags(port) & jack.IsOutput ]
def outports(client) : #TODO assert is string client_ports = _ports_of_client(client) return [port for port in client_ports if client.get_port_flags(port) & jack.IsOutput ]
7966e22855b4c00c398506a8416f929e50d01492 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1456/7966e22855b4c00c398506a8416f929e50d01492/jack_bus_connect.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 596, 4363, 12, 2625, 13, 294, 468, 6241, 1815, 353, 533, 1004, 67, 4363, 273, 389, 4363, 67, 792, 67, 2625, 12, 2625, 13, 327, 306, 655, 364, 1756, 316, 1004, 67, 4363, 309, 6438, 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, 596, 4363, 12, 2625, 13, 294, 468, 6241, 1815, 353, 533, 1004, 67, 4363, 273, 389, 4363, 67, 792, 67, 2625, 12, 2625, 13, 327, 306, 655, 364, 1756, 316, 1004, 67, 4363, 309, 6438, 67...
def clear(self): self.bb_definer_id = None self.sb_definer_id = None self.sc_definer_id = None self.missed_injections = []
def clear(self): self.bb_definer_id = None self.sb_definer_id = None self.sc_definer_id = None self.missed_injections = []
bda9934b4450fe05001a0bec22c8b186ac2c3c12 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5758/bda9934b4450fe05001a0bec22c8b186ac2c3c12/SnglBurstUtils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2424, 12, 2890, 4672, 365, 18, 9897, 67, 5649, 264, 67, 350, 273, 599, 365, 18, 18366, 67, 5649, 264, 67, 350, 273, 599, 365, 18, 1017, 67, 5649, 264, 67, 350, 273, 599, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2424, 12, 2890, 4672, 365, 18, 9897, 67, 5649, 264, 67, 350, 273, 599, 365, 18, 18366, 67, 5649, 264, 67, 350, 273, 599, 365, 18, 1017, 67, 5649, 264, 67, 350, 273, 599, 365, 18, 1...
signal_alarm(3)
signal_alarm(20)
def test_main(): if imp.lock_held(): # If the import lock is held, the threads will hang raise TestSkipped("can't run when import lock is held") test.test_support.run_unittest(SocketServerTest)
853fcbfd3690338ffe2715ce0efac0a865ef8e4c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12029/853fcbfd3690338ffe2715ce0efac0a865ef8e4c/test_socketserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 5254, 13332, 309, 1646, 18, 739, 67, 76, 488, 13332, 468, 971, 326, 1930, 2176, 353, 15770, 16, 326, 7403, 903, 25733, 1002, 7766, 16425, 2932, 4169, 1404, 1086, 1347, 1930, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5254, 13332, 309, 1646, 18, 739, 67, 76, 488, 13332, 468, 971, 326, 1930, 2176, 353, 15770, 16, 326, 7403, 903, 25733, 1002, 7766, 16425, 2932, 4169, 1404, 1086, 1347, 1930, 21...
(r"(?P<macro>!?\[\[(?P<macroname>[\w/+-]+)" r"(\]\]|\((?P<macroargs>.*?)\)\]\]))"),
def process(self, req, text, in_paragraph=False): if self.error: text = system_message(Markup('Error: Failed to load processor ' '<code>%s</code>', self.name), self.error) else: text = self.processor(req, text) if in_paragraph: content_for_span = None interrupt_paragraph = False if isinstance(text, Element): tagname = ...
6fb869d9fd6e67bd4358394bb9b0b71bfc3db785 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/6fb869d9fd6e67bd4358394bb9b0b71bfc3db785/formatter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 12, 2890, 16, 1111, 16, 977, 16, 316, 67, 22445, 33, 8381, 4672, 309, 365, 18, 1636, 30, 977, 273, 2619, 67, 2150, 12, 13111, 2668, 668, 30, 11175, 358, 1262, 6659, 296, 2368, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 12, 2890, 16, 1111, 16, 977, 16, 316, 67, 22445, 33, 8381, 4672, 309, 365, 18, 1636, 30, 977, 273, 2619, 67, 2150, 12, 13111, 2668, 668, 30, 11175, 358, 1262, 6659, 296, 2368, ...
self.close_request(request)
self.shutdown_request(request)
def process_request(self, request, client_address): """Fork a new subprocess to process the request.""" self.collect_children() pid = os.fork() if pid: # Parent process if self.active_children is None: self.active_children = [] self.active_children.append(pid) request.close() #close socket handle in parent process retu...
be384c5e24adab105c55b98acb56ec64e5ffd106 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12029/be384c5e24adab105c55b98acb56ec64e5ffd106/SocketServer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 2293, 12, 2890, 16, 590, 16, 1004, 67, 2867, 4672, 3536, 22662, 279, 394, 6652, 358, 1207, 326, 590, 12123, 365, 18, 14676, 67, 5906, 1435, 4231, 273, 1140, 18, 23335, 1435, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 2293, 12, 2890, 16, 590, 16, 1004, 67, 2867, 4672, 3536, 22662, 279, 394, 6652, 358, 1207, 326, 590, 12123, 365, 18, 14676, 67, 5906, 1435, 4231, 273, 1140, 18, 23335, 1435, ...
redirectto = redirectto+"
redirectto += "
def oneDone(self, entry): title = entry.title username = entry.username ipedit = entry.ipedit timestamp = entry.timestamp text = entry.text editRestriction = entry.editRestriction moveRestriction = entry.moveRestriction revisionId = entry.revisionid
5fabd8503b611266414aae0bf6d41ae404fc33e4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4404/5fabd8503b611266414aae0bf6d41ae404fc33e4/wikipedia.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1245, 7387, 12, 2890, 16, 1241, 4672, 2077, 273, 1241, 18, 2649, 2718, 273, 1241, 18, 5053, 277, 1845, 305, 273, 1241, 18, 625, 4619, 2858, 273, 1241, 18, 5508, 977, 273, 1241, 18, 955...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1245, 7387, 12, 2890, 16, 1241, 4672, 2077, 273, 1241, 18, 2649, 2718, 273, 1241, 18, 5053, 277, 1845, 305, 273, 1241, 18, 625, 4619, 2858, 273, 1241, 18, 5508, 977, 273, 1241, 18, 955...
SConsEnvironment.__init__(self, tools=tools, **kwargs)
AddOption('--release', dest='release', type='string', nargs=1, action='store', metavar='RELEASE', help='Release version') AddOption('--arch', dest='arch', type='string', nargs=1, action='store', metavar='ARCH', help='Architecture to build for') SConsEnvironment.__init__(self, ENV = os.environ, tools=tools, **kwargs)
def __init__(self, **kwargs): try: tools = list(kwargs.pop("tools")) tools.append('packaging') except KeyError: tools = ['default', 'packaging']
66f9359fba48509c75321948135ed3a2d2d7cbd0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12409/66f9359fba48509c75321948135ed3a2d2d7cbd0/blitz_tools.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2826, 4333, 4672, 775, 30, 8513, 273, 666, 12, 4333, 18, 5120, 2932, 6642, 6, 3719, 8513, 18, 6923, 2668, 2920, 5755, 6134, 1335, 4999, 30, 8513, 273, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2826, 4333, 4672, 775, 30, 8513, 273, 666, 12, 4333, 18, 5120, 2932, 6642, 6, 3719, 8513, 18, 6923, 2668, 2920, 5755, 6134, 1335, 4999, 30, 8513, 273, 10...
rule = getattr(obj, colorby, None)
rule = getattr(obj, encode_page(colorby), None)
def getcolors(obj): rule = getattr(obj, colorby, None) color = getattr(obj, 'fillcolor', None) if rule and not color: self.colorfiltervalues.update(rule) rule = ', '.join(sorted(rule)) re_color = getattr(self, 're_color', None) # Add to filterordervalues in the nonmodified form if re_color: rule = re_color.sub(self.col...
0f239dff4cab548aefd29c73f1bfec5bbe6960b3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/888/0f239dff4cab548aefd29c73f1bfec5bbe6960b3/ShowGraph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 9724, 12, 2603, 4672, 1720, 273, 3869, 12, 2603, 16, 2017, 67, 2433, 12, 3266, 1637, 3631, 599, 13, 2036, 273, 3869, 12, 2603, 16, 296, 5935, 3266, 2187, 599, 13, 309, 1720, 471, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9724, 12, 2603, 4672, 1720, 273, 3869, 12, 2603, 16, 2017, 67, 2433, 12, 3266, 1637, 3631, 599, 13, 2036, 273, 3869, 12, 2603, 16, 296, 5935, 3266, 2187, 599, 13, 309, 1720, 471, ...
if not hasattr(self, "saved_xarray"): raise exceptions.AssertionError, "resampling not set up yet. Call setup_resampling() first."
assert hasattr(self, "saved_xarray"), "resampling not set up yet. Call setup_resampling() first."
def resample(self): "resample() randomly draws a set of points equal in size to the original set from the cached data for bootstrapping" if not hasattr(self, "saved_xarray"): raise exceptions.AssertionError, "resampling not set up yet. Call setup_resampling() first." ranlist=Numeric.floor(self.get_random_list(self.poi...
382dc08208ee80c9a4bb844fe31c3a4d8be8121d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6028/382dc08208ee80c9a4bb844fe31c3a4d8be8121d/fitting_toolkit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19220, 12, 2890, 4672, 315, 455, 1511, 1435, 20153, 30013, 279, 444, 434, 3143, 3959, 316, 963, 358, 326, 2282, 444, 628, 326, 3472, 501, 364, 7065, 1382, 6, 1815, 3859, 12, 2890, 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, 19220, 12, 2890, 4672, 315, 455, 1511, 1435, 20153, 30013, 279, 444, 434, 3143, 3959, 316, 963, 358, 326, 2282, 444, 628, 326, 3472, 501, 364, 7065, 1382, 6, 1815, 3859, 12, 2890, 16, ...
RED + "(" + args["type"] + ")" + NORMAL, args["text"]
RED + "(" + args["type"] + ")" + NORMAL, args["text"])
def on_pubmsg(self, c, e): """Whenever someone speaks in a channel where our bot resides, this is executed""" import string msg = e.arguments()[0] args = {} args["text"] = msg args["type"] = e.eventtype() args["source"] = e.source() args["channel"] = e.target() # Then check with all the global handlers, see if any matc...
8aab94a1962d93c208d116b987976ab124f8e1a9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10749/8aab94a1962d93c208d116b987976ab124f8e1a9/moobot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 10174, 3576, 12, 2890, 16, 276, 16, 425, 4672, 3536, 2888, 4009, 502, 18626, 272, 22736, 316, 279, 1904, 1625, 3134, 2512, 400, 4369, 16, 333, 353, 7120, 8395, 1930, 533, 1234, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 10174, 3576, 12, 2890, 16, 276, 16, 425, 4672, 3536, 2888, 4009, 502, 18626, 272, 22736, 316, 279, 1904, 1625, 3134, 2512, 400, 4369, 16, 333, 353, 7120, 8395, 1930, 533, 1234, ...
action="store", type="string", dest="newskel", default = None,
action="store", type="string", dest="newskel", default=None,
def mod_profile_parse_arguments(app, configuration): usage_text = "\n\t%s profile --group=<nom> [--name=<nouveau_nom>] [--rename-group=<nouveau_nom>]\n" % stylize(ST_APPNAME, "%prog") \ + "\t\t[--comment=<nouveau_commentaire>] [--shell=<nouveau_shell>] [--skel=<nouveau_skel>]\n" \ + "\t\t[--quota=<nouveau_quota>] [--a...
461c24b546b5d0469c4e29582a85905d96b60351 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7650/461c24b546b5d0469c4e29582a85905d96b60351/argparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 681, 67, 5040, 67, 2670, 67, 7099, 12, 2910, 16, 1664, 4672, 225, 4084, 67, 955, 273, 1548, 82, 64, 88, 9, 87, 3042, 1493, 1655, 27127, 12306, 34, 306, 413, 529, 27127, 82, 1395, 537...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 681, 67, 5040, 67, 2670, 67, 7099, 12, 2910, 16, 1664, 4672, 225, 4084, 67, 955, 273, 1548, 82, 64, 88, 9, 87, 3042, 1493, 1655, 27127, 12306, 34, 306, 413, 529, 27127, 82, 1395, 537...
default_val = val
def set(self, cursor, user, name, model, res_id, val, context=None): """ Set property value for res_id """ model_field_obj = self.pool.get('ir.model.field')
70a898af6d79d43cb4bc81eb74dcd15bf049afb0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9266/70a898af6d79d43cb4bc81eb74dcd15bf049afb0/property.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12, 2890, 16, 3347, 16, 729, 16, 508, 16, 938, 16, 400, 67, 350, 16, 1244, 16, 819, 33, 7036, 4672, 3536, 1000, 1272, 460, 364, 400, 67, 350, 3536, 938, 67, 1518, 67, 2603, 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, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12, 2890, 16, 3347, 16, 729, 16, 508, 16, 938, 16, 400, 67, 350, 16, 1244, 16, 819, 33, 7036, 4672, 3536, 1000, 1272, 460, 364, 400, 67, 350, 3536, 938, 67, 1518, 67, 2603, 27...
(self.prefixlen == 32), return a list with just ourself.
(self._prefixlen == 32), return a list with just ourself.
def subnet(self, prefixlen_diff=1): """The subnets which join to make the current subnet.
40b07eb447109d6e300602cf20ea2a475f9a4962 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4528/40b07eb447109d6e300602cf20ea2a475f9a4962/ipaddr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8821, 12, 2890, 16, 1633, 1897, 67, 5413, 33, 21, 4672, 3536, 1986, 19140, 1492, 1233, 358, 1221, 326, 783, 8821, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8821, 12, 2890, 16, 1633, 1897, 67, 5413, 33, 21, 4672, 3536, 1986, 19140, 1492, 1233, 358, 1221, 326, 783, 8821, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
'FROM "' + self._table + '"')
'FROM "' + table + '"')
def default_sequence(self, cursor, user, context=None): ''' Return the default value for sequence field. ''' cursor.execute('SELECT MAX(sequence) ' \ 'FROM "' + self._table + '"') res = cursor.fetchone() if res: return res[0] return 0
470777919ef85caaff5859c7a34cf537f55ff405 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9266/470777919ef85caaff5859c7a34cf537f55ff405/modelstorage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 805, 67, 6178, 12, 2890, 16, 3347, 16, 729, 16, 819, 33, 7036, 4672, 9163, 2000, 326, 805, 460, 364, 3102, 652, 18, 9163, 3347, 18, 8837, 2668, 4803, 4552, 12, 6178, 13, 296, 521, 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, 805, 67, 6178, 12, 2890, 16, 3347, 16, 729, 16, 819, 33, 7036, 4672, 9163, 2000, 326, 805, 460, 364, 3102, 652, 18, 9163, 3347, 18, 8837, 2668, 4803, 4552, 12, 6178, 13, 296, 521, 29...
auths[env_name] = cls(filename, realm)
auths[env_name] = cls(os.path.abspath(filename), realm)
def _auth_callback(option, opt_str, value, parser, cls): info = value.split(',', 3) if len(info) != 3: raise OptionValueError("Incorrect number of parameters for %s" % option)
38c21d4117d4405227e14e713b9deb3547f5c82b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9317/38c21d4117d4405227e14e713b9deb3547f5c82b/standalone.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1944, 67, 3394, 12, 3482, 16, 2153, 67, 701, 16, 460, 16, 2082, 16, 2028, 4672, 1123, 273, 460, 18, 4939, 12, 2187, 2187, 890, 13, 309, 562, 12, 1376, 13, 480, 890, 30, 1002, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 1944, 67, 3394, 12, 3482, 16, 2153, 67, 701, 16, 460, 16, 2082, 16, 2028, 4672, 1123, 273, 460, 18, 4939, 12, 2187, 2187, 890, 13, 309, 562, 12, 1376, 13, 480, 890, 30, 1002, ...
out('\n</p>\n')
out('\n</p><br />\n')
def write_imports(self, out, doc): assert isinstance(doc, NamespaceDoc) imports = doc.select_variables(imported=True, public=self._public_filter) if not imports: return
ead96d86090e18fdeec64a06319b925d20efd2b2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/ead96d86090e18fdeec64a06319b925d20efd2b2/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 21350, 12, 2890, 16, 596, 16, 997, 4672, 1815, 1549, 12, 2434, 16, 6005, 1759, 13, 10095, 273, 997, 18, 4025, 67, 7528, 12, 29266, 33, 5510, 16, 1071, 33, 2890, 6315, 482, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1045, 67, 21350, 12, 2890, 16, 596, 16, 997, 4672, 1815, 1549, 12, 2434, 16, 6005, 1759, 13, 10095, 273, 997, 18, 4025, 67, 7528, 12, 29266, 33, 5510, 16, 1071, 33, 2890, 6315, 482, ...
os.close(r2w[rd])
os.close(r2w[rd]) ; os.close( rd ) p.unregister( r2w[rd] ) p.unregister( rd )
def test_poll1(): """Basic functional test of poll object Create a bunch of pipe and test that poll works with them. """ print 'Running poll test 1' p = select.poll() NUM_PIPES = 12 MSG = " This is a test." MSG_LEN = len(MSG) readers = [] writers = [] r2w = {} w2r = {} for i in range(NUM_PIPES): rd, wr = os.pipe() p...
7df471db89dc663b66037c656e758b99fba2d76d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/7df471db89dc663b66037c656e758b99fba2d76d/test_poll.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 13835, 21, 13332, 3536, 8252, 18699, 1842, 434, 7672, 733, 225, 1788, 279, 25606, 434, 6010, 471, 1842, 716, 7672, 6330, 598, 2182, 18, 3536, 1172, 296, 7051, 7672, 1842, 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, 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, 13835, 21, 13332, 3536, 8252, 18699, 1842, 434, 7672, 733, 225, 1788, 279, 25606, 434, 6010, 471, 1842, 716, 7672, 6330, 598, 2182, 18, 3536, 1172, 296, 7051, 7672, 1842, 404, ...
+--------------+ | 1 2 38 | | 4 top 36 | | 6 7 33 | +--------------+--------------+--------------+--------------+ | 9 10 11 | 17 18 3 | 27 29 32 | 48 34 35 | | 12 left 13 | 20 front 5 | 26 right 31 | 45 rear 37 | | 14 15 16 | 22 23 8 | 25 28 30 | 43 39 40 | +--...
+--------------+ | 1 2 38 | | 4 top 36 | | 6 7 33 | +------------+--------------+-------------+------------+ | 9 10 11 | 17 18 3 | 27 29 32 | 48 34 35 | | 12 left 13 | 20 front 5 | 26 right 31 | 45 rear 37 | | 14 15 16 | 22 23 8 | 25 28 30 | 43 39 40 | +------------+----------...
def display2d(self,mv): r""" Displays a 2d map of the Rubik's cube after the move mv has been made. Nothing is returned. EXAMPLES: sage: rubik = CubeGroup() sage: rubik.display2d("") +--------------+ | 1 2 3 | | 4 top 5 | | 6 7 8 | +--------------+--------------+--------------+--------------+ | 9 ...
ffecca43e67eb5a268ace7448b4aa9b938a485ff /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/ffecca43e67eb5a268ace7448b4aa9b938a485ff/cubegroup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2562, 22, 72, 12, 2890, 16, 17509, 4672, 436, 8395, 9311, 87, 279, 576, 72, 852, 434, 326, 534, 373, 1766, 1807, 18324, 1839, 326, 3635, 7701, 711, 2118, 7165, 18, 13389, 353, 2106, 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, 2562, 22, 72, 12, 2890, 16, 17509, 4672, 436, 8395, 9311, 87, 279, 576, 72, 852, 434, 326, 534, 373, 1766, 1807, 18324, 1839, 326, 3635, 7701, 711, 2118, 7165, 18, 13389, 353, 2106, 18...
nength: %(hid_caps.output_report_byte_length)d byte(s)
length: %(hid_caps.output_report_byte_length)d byte(s)
def __getitem__(self, key): if '.' not in key: return self.parent[key] else: all_keys = key.split('.') curr_var = self.parent[all_keys[0]] for item in all_keys[1:]: new_var = getattr(curr_var, item) curr_var = new_var return new_var
43513eb3826c47180d7efd24f1fb4081705d1cc0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11669/43513eb3826c47180d7efd24f1fb4081705d1cc0/tools.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31571, 972, 12, 2890, 16, 498, 4672, 309, 2611, 486, 316, 498, 30, 327, 365, 18, 2938, 63, 856, 65, 469, 30, 777, 67, 2452, 273, 498, 18, 4939, 2668, 1093, 13, 4306, 67, 1401, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31571, 972, 12, 2890, 16, 498, 4672, 309, 2611, 486, 316, 498, 30, 327, 365, 18, 2938, 63, 856, 65, 469, 30, 777, 67, 2452, 273, 498, 18, 4939, 2668, 1093, 13, 4306, 67, 1401, ...
if os.path.isfile(f): os.remove(f) elif os.path.isdir(f): rmdir(f) elif '*' in f: map(kill,glob.glob(f))
if '*' in f: map(kill,glob.glob(f)) else: if verbose>=2: print 'kill(%s)' % f if os.path.isfile(f): os.remove(f) elif os.path.isdir(f): rmdir(f)
def kill(f): 'remove directory or file unconditionally' if os.path.isfile(f): os.remove(f) elif os.path.isdir(f): rmdir(f) elif '*' in f: map(kill,glob.glob(f))
c258160e5347c9a6c26750a829c6309944154151 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/c258160e5347c9a6c26750a829c6309944154151/daily.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8673, 12, 74, 4672, 296, 4479, 1867, 578, 585, 6301, 1434, 22913, 11, 309, 5306, 316, 284, 30, 852, 12, 16418, 16, 10581, 18, 10581, 12, 74, 3719, 469, 30, 309, 3988, 34, 33, 22, 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, 8673, 12, 74, 4672, 296, 4479, 1867, 578, 585, 6301, 1434, 22913, 11, 309, 5306, 316, 284, 30, 852, 12, 16418, 16, 10581, 18, 10581, 12, 74, 3719, 469, 30, 309, 3988, 34, 33, 22, 30,...
("/newride", NewRideHandler),
("/newride.*", NewRideHandler),
def main(): global MAP_APIKEY, FROM_EMAIL_ADDR, NOTIFY_EMAIL_ADDR logging.getLogger().setLevel(logging.DEBUG) # prepopulate the database query = db.Query(Ride) if query.count() < 2: newRide = Ride() newRide.max_passengers = 3 newRide.num_passengers = 0 newRide.driver = users.User("bmiller@luther.edu") newRide.start_...
77683a51337178ae30286b6a777530baaa315d6d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9768/77683a51337178ae30286b6a777530baaa315d6d/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 2552, 12815, 67, 2557, 3297, 16, 4571, 67, 14686, 67, 14142, 16, 4269, 12096, 67, 14686, 67, 14142, 225, 2907, 18, 588, 3328, 7675, 542, 2355, 12, 11167, 18, 9394, 13, 468, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 2552, 12815, 67, 2557, 3297, 16, 4571, 67, 14686, 67, 14142, 16, 4269, 12096, 67, 14686, 67, 14142, 225, 2907, 18, 588, 3328, 7675, 542, 2355, 12, 11167, 18, 9394, 13, 468, ...
if self.db.version != CACHE_SCHEMA_VERSION: self.__cleanCache() for t in self.db.tables: cu.execute("DROP TABLE %s" % (t,)) self.db.setVersion(CACHE_SCHEMA_VERSION)
self.__cleanDatabase(cu)
def createSchema(self, dbInfo, schemaVersion): self.db = dbstore.connect(dbInfo[1], driver = dbInfo[0]) cu = self.db.cursor() if "CacheContents" in self.db.tables: if self.db.version != CACHE_SCHEMA_VERSION: self.__cleanCache() for t in self.db.tables: cu.execute("DROP TABLE %s" % (t,)) self.db.setVersion(CACHE_SCHEMA_...
5e77f528807fbf106029a4caa89fa4ffd83d8172 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/5e77f528807fbf106029a4caa89fa4ffd83d8172/cacheset.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 3078, 12, 2890, 16, 1319, 966, 16, 1963, 1444, 4672, 365, 18, 1966, 273, 1319, 2233, 18, 3612, 12, 1966, 966, 63, 21, 6487, 3419, 273, 1319, 966, 63, 20, 5717, 15985, 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, 752, 3078, 12, 2890, 16, 1319, 966, 16, 1963, 1444, 4672, 365, 18, 1966, 273, 1319, 2233, 18, 3612, 12, 1966, 966, 63, 21, 6487, 3419, 273, 1319, 966, 63, 20, 5717, 15985, 273, 365, ...
if (editor.event is not None and editor.event.itsItem.itsUUID == uuid and not widgie.belongsOnCanvas(editor.event.itsItem)): widgie.GrabFocusHack()
if editor.event is not None: if isDead(editor.event.itsItem): editor.event = None if editor.IsShown(): editor.HideAndResetFocus() elif (editor.event.itsItem.itsUUID == uuid and not widgie.belongsOnCanvas(editor.event.itsItem)): widgie.GrabFocusHack()
def onItemNotification(self, notificationType, data): # Work around bug 6137 and bug 3727: If an item changes # while we're editing it, finish editing. if (notificationType == 'collectionChange'): op, coll, name, uuid, dirties = data if op == 'changed': for widgie in self.calendarBlockWidgets(): editor = widgie.editor ...
dd93d4487579ea2c117245d0650b424f1a94d59e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/dd93d4487579ea2c117245d0650b424f1a94d59e/CalendarCanvas.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 1180, 4386, 12, 2890, 16, 3851, 559, 16, 501, 4672, 468, 4147, 6740, 7934, 1666, 24942, 471, 7934, 18091, 5324, 30, 971, 392, 761, 3478, 468, 1323, 732, 4565, 15755, 518, 16, 4076, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 1180, 4386, 12, 2890, 16, 3851, 559, 16, 501, 4672, 468, 4147, 6740, 7934, 1666, 24942, 471, 7934, 18091, 5324, 30, 971, 392, 761, 3478, 468, 1323, 732, 4565, 15755, 518, 16, 4076, ...
self.__testMethodName = methodName
self._testMethodName = methodName
def __init__(self, methodName='runTest'): """Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name. """ try: self.__testMethodName = methodName testMethod = getattr(self, methodName) self.__testMethodDoc = te...
75ecd8e0d687dfdcd2d80ec6d2e0349454779b1f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/75ecd8e0d687dfdcd2d80ec6d2e0349454779b1f/unittest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4918, 2218, 2681, 4709, 11, 4672, 3536, 1684, 392, 791, 434, 326, 667, 716, 903, 999, 326, 4141, 1842, 707, 1347, 7120, 18, 20497, 279, 2068, 309, 326, 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, 1001, 2738, 972, 12, 2890, 16, 4918, 2218, 2681, 4709, 11, 4672, 3536, 1684, 392, 791, 434, 326, 667, 716, 903, 999, 326, 4141, 1842, 707, 1347, 7120, 18, 20497, 279, 2068, 309, 326, 7...
return str(timestamp.strftime('%A'))
return str(timestamp.strftime('%A').decode(encoding))
def format_date(timestamp): """ Converts a UNIX timestamp to a date representation. This function returns "Today", "Yesterday", a weekday name or the date in %x format, which (according to the Python docs) is the "Locale's appropriate date representation". Returns None if there has been an error converting the timesta...
54cf803159561c7c69f7fad296d3c9e8aa1c8fe8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12778/54cf803159561c7c69f7fad296d3c9e8aa1c8fe8/util.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 67, 712, 12, 5508, 4672, 3536, 20377, 279, 23160, 2858, 358, 279, 1509, 4335, 18, 1220, 445, 1135, 315, 56, 20136, 3113, 315, 61, 26309, 3113, 279, 7560, 508, 578, 326, 1509, 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, 740, 67, 712, 12, 5508, 4672, 3536, 20377, 279, 23160, 2858, 358, 279, 1509, 4335, 18, 1220, 445, 1135, 315, 56, 20136, 3113, 315, 61, 26309, 3113, 279, 7560, 508, 578, 326, 1509, 316, ...
if __debug__:
if DEBUG:
def toggle_colorize_event(self, event): if self.after_id: after_id = self.after_id self.after_id = None if __debug__: print "cancel scheduled recolorizer" self.after_cancel(after_id) if self.allow_colorizing and self.colorizing: if __debug__: print "stop colorizing" self.stop_colorizing = 1 self.allow_colorizing = not ...
4eac93808fdd8f20626f02a6a00d4c5b9809f2e0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/4eac93808fdd8f20626f02a6a00d4c5b9809f2e0/ColorDelegator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10486, 67, 3266, 554, 67, 2575, 12, 2890, 16, 871, 4672, 309, 365, 18, 5205, 67, 350, 30, 1839, 67, 350, 273, 365, 18, 5205, 67, 350, 365, 18, 5205, 67, 350, 273, 599, 309, 6369, 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, 10486, 67, 3266, 554, 67, 2575, 12, 2890, 16, 871, 4672, 309, 365, 18, 5205, 67, 350, 30, 1839, 67, 350, 273, 365, 18, 5205, 67, 350, 365, 18, 5205, 67, 350, 273, 599, 309, 6369, 3...
initTemplate=initTemplate % {'project_name':projectName,'add_content_permission':'Add %s content' % projectName,'imports':imports, 'toolinit':toolinit }
initTemplate=initTemplate % {'project_name':self.projectName,'add_content_permission':'Add %s content' % self.projectName,'imports':imports, 'toolinit':toolinit }
def generateStdFiles(self, target,projectName,generatedModules): #generates __init__.py, Extensions/Install.py and the skins directory #the result is a QuickInstaller installable product
3512d5059b16c4fe80c9ddf5ddc3b56d485808f9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11941/3512d5059b16c4fe80c9ddf5ddc3b56d485808f9/ArchGenXML.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 10436, 2697, 12, 2890, 16, 1018, 16, 4406, 461, 16, 11168, 7782, 4672, 468, 3441, 815, 1001, 2738, 25648, 2074, 16, 23105, 19, 6410, 18, 2074, 471, 326, 4343, 2679, 1867, 468, 5787...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 10436, 2697, 12, 2890, 16, 1018, 16, 4406, 461, 16, 11168, 7782, 4672, 468, 3441, 815, 1001, 2738, 25648, 2074, 16, 23105, 19, 6410, 18, 2074, 471, 326, 4343, 2679, 1867, 468, 5787...
completeness=0.98,
completeness=0.98,
def r_values(self, table=True, rows=False, d_min=None, d_max=None, again=False): if rows: table=True
4fa6d98bb6e0c1ffda77342002c496103b9a60b7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/696/4fa6d98bb6e0c1ffda77342002c496103b9a60b7/twin_f_model.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 436, 67, 2372, 12, 2890, 16, 1014, 33, 5510, 16, 2595, 33, 8381, 16, 302, 67, 1154, 33, 7036, 16, 302, 67, 1896, 33, 7036, 16, 3382, 33, 8381, 4672, 309, 2595, 30, 1014, 33, 5510, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 436, 67, 2372, 12, 2890, 16, 1014, 33, 5510, 16, 2595, 33, 8381, 16, 302, 67, 1154, 33, 7036, 16, 302, 67, 1896, 33, 7036, 16, 3382, 33, 8381, 4672, 309, 2595, 30, 1014, 33, 5510, ...
if (lod < len(self.__partBundleDict.values())): partBundles = self.__partBundleDict.values()[lod].values()
lodnames = self.getLODNames() if (lod < len(lodnames)): partBundles = self.__partBundleDict[lodnames[lod]].values()
def update(self, lod=0): """ update(lod) """ if (lod < len(self.__partBundleDict.values())): partBundles = self.__partBundleDict.values()[lod].values() for partBundle in partBundles: partBundle.node().update() else: self.notify.warning('update() - no lod: %d' % lod)
f3ecd1b3be1dfb26d71ee04e5cafdbea5f5b53a9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8543/f3ecd1b3be1dfb26d71ee04e5cafdbea5f5b53a9/Actor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 16, 328, 369, 33, 20, 4672, 3536, 1089, 12, 80, 369, 13, 3536, 328, 369, 1973, 273, 365, 18, 588, 48, 1212, 1557, 1435, 309, 261, 80, 369, 411, 562, 12, 80, 369, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 16, 328, 369, 33, 20, 4672, 3536, 1089, 12, 80, 369, 13, 3536, 328, 369, 1973, 273, 365, 18, 588, 48, 1212, 1557, 1435, 309, 261, 80, 369, 411, 562, 12, 80, 369, 19...
def build_https_handler(): try: from mechanize._urllib2_support import HTTPSHandler except ImportError: HTTPSHandler = None return HTTPSHandler
def build_https_handler(): try: from mechanize._urllib2_support import HTTPSHandler except ImportError: HTTPSHandler = None return HTTPSHandler
52f3ceff21662c60154f1cfeecdfee99a8ae33c8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8598/52f3ceff21662c60154f1cfeecdfee99a8ae33c8/_browser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 4528, 67, 4176, 13332, 775, 30, 628, 1791, 7472, 554, 6315, 718, 2941, 22, 67, 13261, 1930, 18904, 1503, 1335, 11308, 30, 18904, 1503, 273, 599, 225, 327, 18904, 1503, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 4528, 67, 4176, 13332, 775, 30, 628, 1791, 7472, 554, 6315, 718, 2941, 22, 67, 13261, 1930, 18904, 1503, 1335, 11308, 30, 18904, 1503, 273, 599, 225, 327, 18904, 1503, 225, 2, ...
sources=['_capi.c']
sources=['_capi.c'],
def configuration(parent_package='',top_path=None): from numpy.distutils.misc_util import Configuration config = Configuration('numarray',parent_package,top_path) config.add_data_files('numpy/') # Configure fftpack_lite config.add_extension('_capi', sources=['_capi.c'] ) return config
a10da324f8a5d4d7e68fdfcb6a63c420f3c4b99d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/14925/a10da324f8a5d4d7e68fdfcb6a63c420f3c4b99d/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1664, 12, 2938, 67, 5610, 2218, 2187, 3669, 67, 803, 33, 7036, 4672, 628, 3972, 18, 4413, 5471, 18, 23667, 67, 1367, 1930, 4659, 642, 273, 4659, 2668, 2107, 1126, 2187, 2938, 67, 5610, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1664, 12, 2938, 67, 5610, 2218, 2187, 3669, 67, 803, 33, 7036, 4672, 628, 3972, 18, 4413, 5471, 18, 23667, 67, 1367, 1930, 4659, 642, 273, 4659, 2668, 2107, 1126, 2187, 2938, 67, 5610, ...
else
else:
def __init__(data = None) if data == None: quickfix.IntField.__init__(self, 427) else quickfix.IntField.__init__(self, 427, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 13, 309, 501, 422, 599, 30, 9549, 904, 18, 1702, 974, 16186, 2738, 972, 12, 2890, 16, 1059, 5324, 13, 469, 30, 9549, 904, 18, 1702, 974, 16186, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 13, 309, 501, 422, 599, 30, 9549, 904, 18, 1702, 974, 16186, 2738, 972, 12, 2890, 16, 1059, 5324, 13, 469, 30, 9549, 904, 18, 1702, 974, 16186, 27...
'
'
def rebuild(dir): r""" Check whether the interpreter and wrapper sources have been written since the last time this module was changed. If not, write them. EXAMPLES: sage: from sage.ext.gen_interpreters import * sage: testdir = tmp_filename() sage: os.mkdir(testdir) sage: rebuild(testdir) Building interpreters for fa...
89c8332de5c914b500ffb00940fc8eebaae69cfa /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9417/89c8332de5c914b500ffb00940fc8eebaae69cfa/gen_interpreters.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13419, 12, 1214, 4672, 436, 8395, 2073, 2856, 326, 16048, 471, 4053, 5550, 1240, 2118, 5941, 3241, 326, 1142, 813, 333, 1605, 1703, 3550, 18, 225, 971, 486, 16, 1045, 2182, 18, 225, 5675...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13419, 12, 1214, 4672, 436, 8395, 2073, 2856, 326, 16048, 471, 4053, 5550, 1240, 2118, 5941, 3241, 326, 1142, 813, 333, 1605, 1703, 3550, 18, 225, 971, 486, 16, 1045, 2182, 18, 225, 5675...
r=parse(u"'''[[mainz]]'''") s=r.children[0].children[0] assert isinstance(s, parser.Style)
s=parse(u"'''[[mainz]]'''").find(parser.Style)[0]
def test_links_in_style(): r=parse(u"'''[[mainz]]'''") s=r.children[0].children[0] assert isinstance(s, parser.Style) assert isinstance(s.children[0], parser.Link)
998204e9703eb1c78ba66a64b5eb02b0e22f2807 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12391/998204e9703eb1c78ba66a64b5eb02b0e22f2807/test_parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 7135, 67, 267, 67, 4060, 13332, 272, 33, 2670, 12, 89, 5187, 6309, 31128, 5254, 94, 65, 3864, 11, 4970, 2934, 4720, 12, 4288, 18, 2885, 25146, 20, 65, 1815, 1549, 12, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 7135, 67, 267, 67, 4060, 13332, 272, 33, 2670, 12, 89, 5187, 6309, 31128, 5254, 94, 65, 3864, 11, 4970, 2934, 4720, 12, 4288, 18, 2885, 25146, 20, 65, 1815, 1549, 12, 87, 1...
expected_link_target=CFG_SITE_URL+"/collection/ISOLDE",
expected_link_target=CFG_SITE_URL + "/collection/ISOLDE?ln=" + CFG_SITE_LANG,
def test_twpc_expected_link_arg(self): """testutils - test_web_page_content() and expected_link argument""" # should find link to ALEPH: self.assertEqual([], test_web_page_content(CFG_SITE_URL, expected_link_target=CFG_SITE_URL+"/collection/ALEPH")) # should find link entitled ISOLDE: self.assertEqual([], test_web_page...
f4f186f82b8e768250a1809dc098db77cac558bd /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1780/f4f186f82b8e768250a1809dc098db77cac558bd/testutils_regression_tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 11246, 2436, 67, 3825, 67, 1232, 67, 3175, 12, 2890, 4672, 3536, 3813, 5471, 300, 1842, 67, 4875, 67, 2433, 67, 1745, 1435, 471, 2665, 67, 1232, 1237, 8395, 468, 1410, 1104, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11246, 2436, 67, 3825, 67, 1232, 67, 3175, 12, 2890, 4672, 3536, 3813, 5471, 300, 1842, 67, 4875, 67, 2433, 67, 1745, 1435, 471, 2665, 67, 1232, 1237, 8395, 468, 1410, 1104, ...
try: attr = atom[1]
try: attr = elem[1]
def _processCondition(self, atom, sessionID): # Condition atoms come in three flavors. Each has different # attributes, and each handles their contents differently. attr = None response = "" try: attr = atom[1] except: if self._verboseMode: print "Missing attributes dict in _processCondition" return response # The si...
cdb5ca51cf362e7f41cc166060e200bc84fcb1e8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6428/cdb5ca51cf362e7f41cc166060e200bc84fcb1e8/Kernel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2567, 3418, 12, 2890, 16, 3179, 16, 13737, 4672, 468, 7949, 9006, 12404, 316, 8925, 31227, 1383, 18, 225, 8315, 711, 3775, 468, 1677, 16, 471, 1517, 7372, 3675, 2939, 23621, 18, 160...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2567, 3418, 12, 2890, 16, 3179, 16, 13737, 4672, 468, 7949, 9006, 12404, 316, 8925, 31227, 1383, 18, 225, 8315, 711, 3775, 468, 1677, 16, 471, 1517, 7372, 3675, 2939, 23621, 18, 160...
print "Minimum for magnitude estimation set: %s at %s"%(self.dicts[self.stPt]['MagMin1'],self.dicts[self.stPt]['MagMin1T'])
print "Minimum for magnitude estimation set: %s at %s"%(self.dicts[self.stPt]['MagMin2'],self.dicts[self.stPt]['MagMin2T'])
def pick(self, event): # Set new P Pick if self.flagPhase==0 and event.key==self.dictKeybindings['setPick']: self.delPLine() self.delPPolMarker() self.delPLabel() self.delPWeightLabel() self.dicts[self.stPt]['P']=int(round(event.xdata)) self.drawPLine() self.drawPPolMarker() self.drawPLabel() self.drawPWeightLabel() #c...
960c868a3eb51223fcfab0492ba0160a5f4f660f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10346/960c868a3eb51223fcfab0492ba0160a5f4f660f/pickingGUI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6002, 12, 2890, 16, 871, 4672, 468, 1000, 394, 453, 23038, 309, 365, 18, 6420, 11406, 631, 20, 471, 871, 18, 856, 631, 2890, 18, 1576, 653, 15863, 3292, 542, 17968, 3546, 30, 365, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6002, 12, 2890, 16, 871, 4672, 468, 1000, 394, 453, 23038, 309, 365, 18, 6420, 11406, 631, 20, 471, 871, 18, 856, 631, 2890, 18, 1576, 653, 15863, 3292, 542, 17968, 3546, 30, 365, 18, ...
except:
except TypeError:
def span(self, gens, base_ring=None, check=True, already_echelonized=False): """ Return the K-span of the given list of gens, where K is the base field of self. Note that this span is a subspace of the ambient vector space, but need not be a subspace of self.
6875d7c71609de038c71080542943969764ed340 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/6875d7c71609de038c71080542943969764ed340/free_module.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4548, 12, 2890, 16, 314, 773, 16, 1026, 67, 8022, 33, 7036, 16, 866, 33, 5510, 16, 1818, 67, 8987, 292, 265, 1235, 33, 8381, 4672, 3536, 2000, 326, 1475, 17, 3969, 434, 326, 864, 666...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4548, 12, 2890, 16, 314, 773, 16, 1026, 67, 8022, 33, 7036, 16, 866, 33, 5510, 16, 1818, 67, 8987, 292, 265, 1235, 33, 8381, 4672, 3536, 2000, 326, 1475, 17, 3969, 434, 326, 864, 666...
print "FAIL:", this_xpath, "is FALSE"
print >>self.errors, "FAIL:", this_xpath, "is FALSE"
def __init__(self, testnumber): testnumber = testnumber themefn = "%s/theme.html" % testnumber contentfn = "%s/content.html" % testnumber rulesfn = os.path.join(_HERE, "%s/rules.xml" % testnumber) xpathsfn = "%s/xpaths.txt" % testnumber
ea67afef15e902aa5b10f0dad5959d1b5b3c60b2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12188/ea67afef15e902aa5b10f0dad5959d1b5b3c60b2/test_nodes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1842, 2696, 4672, 1842, 2696, 273, 1842, 2696, 5006, 4293, 273, 2213, 87, 19, 7997, 18, 2620, 6, 6647, 738, 1842, 2696, 913, 4293, 273, 2213, 87, 19, 174...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1842, 2696, 4672, 1842, 2696, 273, 1842, 2696, 5006, 4293, 273, 2213, 87, 19, 7997, 18, 2620, 6, 6647, 738, 1842, 2696, 913, 4293, 273, 2213, 87, 19, 174...
multi = rec.get('multi','') and eval(rec.get('multi',''))
multi = rec.get('multi','') and eval(rec.get('multi','False'))
def _tag_wizard(self, cr, rec, data_node=None): string = rec.get("string",'').encode('utf8') model = rec.get("model",'').encode('utf8') name = rec.get("name",'').encode('utf8') xml_id = rec.get('id','').encode('utf8') self._test_xml_id(xml_id) multi = rec.get('multi','') and eval(rec.get('multi','')) res = {'name': str...
c4ed69e7b17a03f08302b498d4929da28c12cce4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/c4ed69e7b17a03f08302b498d4929da28c12cce4/convert.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2692, 67, 31837, 12, 2890, 16, 4422, 16, 1950, 16, 501, 67, 2159, 33, 7036, 4672, 533, 273, 1950, 18, 588, 2932, 1080, 3113, 6309, 2934, 3015, 2668, 3158, 28, 6134, 938, 273, 1950...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2692, 67, 31837, 12, 2890, 16, 4422, 16, 1950, 16, 501, 67, 2159, 33, 7036, 4672, 533, 273, 1950, 18, 588, 2932, 1080, 3113, 6309, 2934, 3015, 2668, 3158, 28, 6134, 938, 273, 1950...
print 'refile', todo, tofolder
def refile_message(): global lastrefile, tofolder itop = scanbox.nearest(0) sel = scanbox.curselection() if not sel: dialog(root, "No Message To Refile", "Please select a message to refile", "", 0, "OK") return foldersel = folderbox.curselection() if len(foldersel) != 1: if not foldersel: msg = "Please select a folder ...
3e70d03d4a83a74d4f00b9ce303291a1a355939f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/3e70d03d4a83a74d4f00b9ce303291a1a355939f/mbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 283, 768, 67, 2150, 13332, 2552, 1142, 266, 768, 16, 358, 5609, 518, 556, 273, 4135, 2147, 18, 25785, 12, 20, 13, 357, 273, 4135, 2147, 18, 1397, 10705, 1435, 309, 486, 357, 30, 6176, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 283, 768, 67, 2150, 13332, 2552, 1142, 266, 768, 16, 358, 5609, 518, 556, 273, 4135, 2147, 18, 25785, 12, 20, 13, 357, 273, 4135, 2147, 18, 1397, 10705, 1435, 309, 486, 357, 30, 6176, ...
compile_dir(dir, maxlevels, None, force)
success = success and compile_dir(dir, maxlevels, None, force) return success
def compile_path(skip_curdir=1, maxlevels=0, force=0): """Byte-compile all module on sys.path. Arguments (all optional): skip_curdir: if true, skip current directory (default true) maxlevels: max recursion level (default 0) force: as for compile_dir() (default 0) """ for dir in sys.path: if (not dir or dir == os.c...
efb1e86bd82476f28142d9e7559bd10c89d6afc3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/efb1e86bd82476f28142d9e7559bd10c89d6afc3/compileall.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4074, 67, 803, 12, 7457, 67, 1397, 1214, 33, 21, 16, 943, 12095, 33, 20, 16, 2944, 33, 20, 4672, 3536, 3216, 17, 11100, 777, 1605, 603, 2589, 18, 803, 18, 225, 13599, 261, 454, 3129,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4074, 67, 803, 12, 7457, 67, 1397, 1214, 33, 21, 16, 943, 12095, 33, 20, 16, 2944, 33, 20, 4672, 3536, 3216, 17, 11100, 777, 1605, 603, 2589, 18, 803, 18, 225, 13599, 261, 454, 3129,...
plot_out = StringIO()
plot_out = StringIO()
def outlier_utils(args): if len(args)==0: print_help() elif ( "--help" in args ): print_help() elif ( "--h" in args ): print_help() elif ("-h" in args ): print_help() else: log = multi_out() if (not "--quiet" in args): log.register(label="stdout", file_object=sys.stdout) string_buffer = StringIO() string_buffer_plots =...
95ea40706150efdd497c59bd7453515caa13e6e4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/696/95ea40706150efdd497c59bd7453515caa13e6e4/remove_outliers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 596, 9800, 67, 5471, 12, 1968, 4672, 309, 562, 12, 1968, 13, 631, 20, 30, 1172, 67, 5201, 1435, 1327, 261, 5238, 5201, 6, 316, 833, 262, 30, 1172, 67, 5201, 1435, 1327, 261, 5238, 76...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 596, 9800, 67, 5471, 12, 1968, 4672, 309, 562, 12, 1968, 13, 631, 20, 30, 1172, 67, 5201, 1435, 1327, 261, 5238, 5201, 6, 316, 833, 262, 30, 1172, 67, 5201, 1435, 1327, 261, 5238, 76...
fedoraRoleApprovalDate = user[0][1]['fedoraRoleApprovalDate'][0], fedoraRoleSponsor = user[0][1]['fedoraRoleSponsor'][0], cn = user[0][1]['cn'][0], fedoraRoleCreationDate = user[0][1]['fedoraRoleCreationDate'][0], objectClass = user[0][1]['objectClass'][0], fedoraRoleType = user[0][1]['fedoraRoleType'][0], fedoraRoleSt...
fedoraRoleApprovalDate = user[0][1]['fedoraRoleApprovalDate'][0].decode('utf8'), fedoraRoleSponsor = user[0][1]['fedoraRoleSponsor'][0].decode('utf8'), cn = user[0][1]['cn'][0].decode('utf8'), fedoraRoleCreationDate = user[0][1]['fedoraRoleCreationDate'][0].decode('utf8'), objectClass = user[0][1]['objectClass'][0].dec...
def byGroupName(cls, cn, includeUnapproved=None, unapprovedOnly=None): ''' List users in a group. Default does not show unapproved ''' self = cls() users = {} if includeUnapproved: ldapFilter = 'cn=%s' % cn elif unapprovedOnly: ldapFilter = '(&(cn=%s) (objectClass=fedoraRole) (!(fedoraRoleStatus=approved)))' % cn else...
f0bb66f2bd8aeeeb4e764ba73f43725601c75529 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9952/f0bb66f2bd8aeeeb4e764ba73f43725601c75529/fasLDAP.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 635, 3943, 12, 6429, 16, 6227, 16, 2341, 984, 25990, 33, 7036, 16, 640, 25990, 3386, 33, 7036, 4672, 9163, 987, 3677, 316, 279, 1041, 18, 225, 2989, 1552, 486, 2405, 640, 25990, 9163, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 635, 3943, 12, 6429, 16, 6227, 16, 2341, 984, 25990, 33, 7036, 16, 640, 25990, 3386, 33, 7036, 4672, 9163, 987, 3677, 316, 279, 1041, 18, 225, 2989, 1552, 486, 2405, 640, 25990, 9163, ...
r'get|set|new)\b', Keyword),
r'get|set|new|partial)\b', Keyword),
def _escape(st): return st.replace(u'\\', ur'\\').replace(u'-', ur'\-').\ replace(u'[', ur'\[').replace(u']', ur'\]')
23b20ef919b53e84b73e207cd7bcbd5403117cfb /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6148/23b20ef919b53e84b73e207cd7bcbd5403117cfb/dotnet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6939, 12, 334, 4672, 327, 384, 18, 2079, 12, 89, 11, 1695, 2187, 8896, 11, 10471, 2934, 2079, 12, 89, 11, 17, 2187, 8896, 8314, 6627, 2934, 64, 1453, 12, 89, 11, 63, 2187, 8896,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 6939, 12, 334, 4672, 327, 384, 18, 2079, 12, 89, 11, 1695, 2187, 8896, 11, 10471, 2934, 2079, 12, 89, 11, 17, 2187, 8896, 8314, 6627, 2934, 64, 1453, 12, 89, 11, 63, 2187, 8896,...
msg = "Starting playback..."
if not self.said_start_playback: msg = "Starting playback..." self.said_start_playback = True else: msg = ''
def state_callback(self,ds): """ Called by Session thread """ print >>sys.stderr,"main: Stats",dlstatus_strings[ds.get_status()],ds.get_progress(),"%",ds.get_error() logmsgs = ds.get_log_messages() if len(logmsgs) > 0: print >>sys.stderr,"main: Log",logmsgs[0] progress = ds.get_vod_prebuffering_progress() playable = ds...
4e6b995fbe1a7e3e4e5489aee3297a5ed0507833 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9686/4e6b995fbe1a7e3e4e5489aee3297a5ed0507833/p2player.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 919, 67, 3394, 12, 2890, 16, 2377, 4672, 3536, 11782, 635, 3877, 2650, 3536, 1172, 1671, 9499, 18, 11241, 10837, 5254, 30, 11486, 3113, 5761, 2327, 67, 10219, 63, 2377, 18, 588, 67, 2327...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 919, 67, 3394, 12, 2890, 16, 2377, 4672, 3536, 11782, 635, 3877, 2650, 3536, 1172, 1671, 9499, 18, 11241, 10837, 5254, 30, 11486, 3113, 5761, 2327, 67, 10219, 63, 2377, 18, 588, 67, 2327...
<td class="submitHeader" align="right">&nbsp;<a href='' onclick="window.open('/submit/summary?doctype=%(doctype)s&amp;act=%(act)s&amp;access=%(access)s&amp;indir=%(indir)s&amp;ln=%(ln)s','summary','scrollbars=yes,menubar=no,width=500,height=250');return false;"><font color="white"><small>%(summary)s(2)</small></font></...
<td class="submitHeader" align="right">&nbsp;<a href='' onclick="window.open('/submit/summary?doctype=%(doctype)s&amp;act=%(act)s&amp;access=%(access)s&amp;ln=%(ln)s','summary','scrollbars=yes,menubar=no,width=500,height=250');return false;"><font color="white"><small>%(summary)s(2)</small></font></a>&nbsp;</td>""" % {...
def tmpl_page_endaction(self, ln, file, nextPg, startPg, access, curpage, nbPg, nbpages, doctype, act, docname, actname, mainmenu, finished, function_content, next_action): """ Produces the pages after all the fields have been submitted.
8e8323878b5650395d21eed3f35d991f8cf39161 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12027/8e8323878b5650395d21eed3f35d991f8cf39161/websubmit_templates.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10720, 67, 2433, 67, 409, 1128, 12, 2890, 16, 7211, 16, 585, 16, 1024, 27265, 16, 787, 27265, 16, 2006, 16, 662, 2433, 16, 4264, 27265, 16, 4264, 7267, 16, 24909, 16, 1328, 16, 997, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10720, 67, 2433, 67, 409, 1128, 12, 2890, 16, 7211, 16, 585, 16, 1024, 27265, 16, 787, 27265, 16, 2006, 16, 662, 2433, 16, 4264, 27265, 16, 4264, 7267, 16, 24909, 16, 1328, 16, 997, ...
args.extend(['-faltivec','-framework','vecLib'])
args.extend(['-faltivec'])
def calc_info(self):
3bb97a76e2513370b6612e259ed510b74baf057e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14925/3bb97a76e2513370b6612e259ed510b74baf057e/system_info.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7029, 67, 1376, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7029, 67, 1376, 12, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
def __init__(self, ds, input=None):
def __init__(self, ds, input):
def __init__(self, ds, input=None): self.ds = ds self.__super.__init__(self, input)
b9a0a65984a725846b870cfdf4fef303eaa35466 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8821/b9a0a65984a725846b870cfdf4fef303eaa35466/UserApp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 3780, 16, 810, 4672, 365, 18, 2377, 273, 3780, 365, 16186, 9565, 16186, 2738, 972, 12, 2890, 16, 810, 13, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 3780, 16, 810, 4672, 365, 18, 2377, 273, 3780, 365, 16186, 9565, 16186, 2738, 972, 12, 2890, 16, 810, 13, 225, 2, -100, -100, -100, -100, -100, -100, -10...
self.items.append (item)
item.isDir = True if f.startswith ('.') and f != '..': item.isHidden = True items.append (item) return items def constructListForFilling (self, fullList): dirList = filter (lambda (f): f.isDir, fullList) dirList.sort () fileList = filter (lambda (f): not f.isDir, fullList) fileList.sort () return filter (lambda (...
def setItemList (self, list): self.items = []
027251afddcf33be6b949e9d0edfa68002408636 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9028/027251afddcf33be6b949e9d0edfa68002408636/teststc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 18718, 682, 261, 2890, 16, 666, 4672, 365, 18, 3319, 273, 5378, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 18718, 682, 261, 2890, 16, 666, 4672, 365, 18, 3319, 273, 5378, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
sa_question['general_feedback'] = 'Gen feedback for tf
sa_question['general_feedback'] = 'Gen feedback for sa
def add_questions_shortanswer(self): shortanswer_questions = []
2b35d166c45f1b0e6955e85ca8d6d3b049b1948f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12927/2b35d166c45f1b0e6955e85ca8d6d3b049b1948f/test_course.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 9758, 67, 6620, 13490, 12, 2890, 4672, 3025, 13490, 67, 9758, 273, 5378, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 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, 527, 67, 9758, 67, 6620, 13490, 12, 2890, 4672, 3025, 13490, 67, 9758, 273, 5378, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
sys.exit(False)
sys.exit(1)
def createChannelRecord(icon, channel_id, channel_num): '''Create the optional Miro "channel" record as it makes the Watch Recordings screen look better. return True if the record was created and written successfully abort if the processing failed ''' global localhostname, simulation, verbose, vid_graphics_dirs global ...
0f178cb606ce1cfb96840e30bd489d420b041e6d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13713/0f178cb606ce1cfb96840e30bd489d420b041e6d/mirobridge.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 2909, 2115, 12, 3950, 16, 1904, 67, 350, 16, 1904, 67, 2107, 4672, 9163, 1684, 326, 3129, 490, 11373, 315, 4327, 6, 1409, 487, 518, 7297, 326, 9736, 5059, 899, 5518, 2324, 7844, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 2909, 2115, 12, 3950, 16, 1904, 67, 350, 16, 1904, 67, 2107, 4672, 9163, 1684, 326, 3129, 490, 11373, 315, 4327, 6, 1409, 487, 518, 7297, 326, 9736, 5059, 899, 5518, 2324, 7844, 1...
self.drawLD(axe_gene_model, axe_LD, _snps_within_this_region, LD_info, gene_model_min_y=gene_model_min_y,\
cls.drawLD(axe_gene_model, axe_LD, _snps_within_this_region, LD_info, gene_model_min_y=gene_model_min_y,\
def drawRegionAroundThisSNP(self, phenotype_method_id, this_snp, candidate_gene_set, gene_annotation, snp_info, analysis_method_id2gwr, \ LD_info, output_dir, which_LD_statistic, snp_region=None, min_distance=40000, list_type_id=None, label_gene=0, draw_LD_relative_to_center_SNP=0, commit=0, snpData=None, phenData=None...
bdc3752350001c791e90fb2760fcc0578318b113 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9645/bdc3752350001c791e90fb2760fcc0578318b113/DrawSNPRegion.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 5165, 30022, 2503, 13653, 52, 12, 2890, 16, 28825, 67, 2039, 67, 350, 16, 333, 67, 87, 6782, 16, 5500, 67, 11857, 67, 542, 16, 7529, 67, 11495, 16, 28648, 67, 1376, 16, 6285, 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, 3724, 5165, 30022, 2503, 13653, 52, 12, 2890, 16, 28825, 67, 2039, 67, 350, 16, 333, 67, 87, 6782, 16, 5500, 67, 11857, 67, 542, 16, 7529, 67, 11495, 16, 28648, 67, 1376, 16, 6285, 6...
global bugzilla os.remove(bugzilla.cookiefile)
pass
def shutdown(): global bugzilla os.remove(bugzilla.cookiefile)
0b60e5103c7a68639d149543149021d9ba33a6f7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9953/0b60e5103c7a68639d149543149021d9ba33a6f7/utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5731, 13332, 1342, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5731, 13332, 1342, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if self.subwidget_list.has_key(name): return self.subwidget_list[name] raise AttributeError, name
if self.subwidget_list.has_key(name): return self.subwidget_list[name] raise AttributeError, name
def __getattr__(self, name):
86af7ef7e3f4448abc89aa941517a84075d99a38 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/86af7ef7e3f4448abc89aa941517a84075d99a38/Tix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 1747, 972, 12, 2890, 16, 508, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 1747, 972, 12, 2890, 16, 508, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.AppendUnique(LIBS=[lib+'4' for lib in modules])
if debug : debugSuffix = 'd' else : debugSuffix = '' self.AppendUnique(LIBS=[lib+'4'+debugSuffix for lib in modules])
def enable_modules(self, modules, debug=False) : import sys validModules = [ 'QtCore', 'QtGui', 'QtOpenGL', 'Qt3Support', # The next modules have not been tested yet so, please # maybe they require additional work on non Linux platforms 'QtSql', 'QtNetwork', 'QtSvg', 'QtTest', 'QtXml', 'QtUiTools', ] pclessModules = [...
d9578c8b190cb04b97e2d7de2fa846f54d438718 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1456/d9578c8b190cb04b97e2d7de2fa846f54d438718/qt4.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4237, 67, 6400, 12, 2890, 16, 4381, 16, 1198, 33, 8381, 13, 294, 1930, 2589, 225, 923, 7782, 273, 306, 296, 23310, 4670, 2187, 296, 23310, 18070, 2187, 296, 23310, 3678, 11261, 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, 4237, 67, 6400, 12, 2890, 16, 4381, 16, 1198, 33, 8381, 13, 294, 1930, 2589, 225, 923, 7782, 273, 306, 296, 23310, 4670, 2187, 296, 23310, 18070, 2187, 296, 23310, 3678, 11261, 2187, 296...
type=self.dbsession.get(ProposalType, 3))
type=self.dbsession.get(model.ProposalType, 3))
def test_proposal_view_as_reviewer(self): p = Proposal(title='test view', abstract='abs', experience='snuh', type=self.dbsession.get(ProposalType, 3)) self.dbsession.save(p)
15af96013773e0f67f689194683b771ae975f934 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12856/15af96013773e0f67f689194683b771ae975f934/test_proposal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 685, 8016, 67, 1945, 67, 345, 67, 16041, 264, 12, 2890, 4672, 293, 273, 19945, 12, 2649, 2218, 3813, 1476, 2187, 8770, 2218, 5113, 2187, 31207, 2218, 8134, 89, 76, 2187, 618, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 685, 8016, 67, 1945, 67, 345, 67, 16041, 264, 12, 2890, 4672, 293, 273, 19945, 12, 2649, 2218, 3813, 1476, 2187, 8770, 2218, 5113, 2187, 31207, 2218, 8134, 89, 76, 2187, 618, ...
fileobj = yield inner.thread(opener.open, url) list(inner)
def fetch_url(inner, opener, url): fileobj = yield inner.thread(opener.open, url) list(inner) try: data = yield inner.thread(fileobj.read) finally: fileobj.close() list(inner) inner.finish(data)
10d85217bc4f3922bace7c803641d586249b5bd1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14361/10d85217bc4f3922bace7c803641d586249b5bd1/xmlfeed.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2158, 67, 718, 12, 7872, 16, 20532, 16, 880, 4672, 775, 30, 501, 273, 2824, 3443, 18, 5930, 12, 768, 2603, 18, 896, 13, 3095, 30, 17041, 18, 4412, 1435, 666, 12, 7872, 13, 3443, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2158, 67, 718, 12, 7872, 16, 20532, 16, 880, 4672, 775, 30, 501, 273, 2824, 3443, 18, 5930, 12, 768, 2603, 18, 896, 13, 3095, 30, 17041, 18, 4412, 1435, 666, 12, 7872, 13, 3443, 18, ...
err = 0
def scangitpatch(fp, firstline, cwd=None): '''git patches can modify a file, then copy that file to a new file, but expect the source to be the unmodified form. So we scan the patch looking for that case so we can do the copies ahead of time.'''
8baabe46f7b47d71dbfe145c06affa37eb3f3039 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11312/8baabe46f7b47d71dbfe145c06affa37eb3f3039/patch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 888, 539, 305, 2272, 12, 7944, 16, 1122, 1369, 16, 7239, 33, 7036, 4672, 9163, 6845, 16482, 848, 5612, 279, 585, 16, 1508, 1610, 716, 585, 358, 279, 394, 585, 16, 1496, 4489, 326, 1084...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 888, 539, 305, 2272, 12, 7944, 16, 1122, 1369, 16, 7239, 33, 7036, 4672, 9163, 6845, 16482, 848, 5612, 279, 585, 16, 1508, 1610, 716, 585, 358, 279, 394, 585, 16, 1496, 4489, 326, 1084...
self.textObj[i].move(x+1, y+(i-1)*self.textAdvance) self.spliterObj[0].move(x, y+self.height()-self.textAdvance)
self.textObj[i].setPos(1, (i-1)*self.textAdvance) self.spliterObj[0].setPos(0, self.rect().height()-self.textAdvance)
def reArangeText(self, fitSquare=True, startOffset=0): self.textOffset=startOffset x,y=self.x(),self.y() for i in range(4): self.textObj[i].move(x+1, y+(i-1)*self.textAdvance) self.spliterObj[0].move(x, y+self.height()-self.textAdvance)
ec36c0ee1ff83993ab2a8719855a6928ab83ae00 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6366/ec36c0ee1ff83993ab2a8719855a6928ab83ae00/OWRegressionTreeViewer2D.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 283, 686, 726, 1528, 12, 2890, 16, 4845, 22255, 33, 5510, 16, 18245, 33, 20, 4672, 365, 18, 955, 2335, 33, 1937, 2335, 619, 16, 93, 33, 2890, 18, 92, 9334, 2890, 18, 93, 1435, 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, 283, 686, 726, 1528, 12, 2890, 16, 4845, 22255, 33, 5510, 16, 18245, 33, 20, 4672, 365, 18, 955, 2335, 33, 1937, 2335, 619, 16, 93, 33, 2890, 18, 92, 9334, 2890, 18, 93, 1435, 364, ...
lc.lines.symbol = makeFilledDiamond
lc.lines.symbol = makeMarker('FilledDiamond')
def sample1(): drawing = Drawing(400, 200) data = [ (13, 5, 20, 22, 37, 45, 19, 4), (5, 20, 46, 38, 23, 21, 6, 14) ] lc = HorizontalLineChart() lc.x = 50 lc.y = 50 lc.height = 125 lc.width = 300 lc.data = data lc.joinedLines = 1 lc.lines.symbol = makeFilledDiamond lc.lineLabelFormat = '%2.0f' catNames = string.spli...
48a67cdad0adf89639711f5b791c6455eef2f187 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/48a67cdad0adf89639711f5b791c6455eef2f187/linecharts.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3296, 21, 13332, 16327, 273, 10184, 310, 12, 16010, 16, 4044, 13, 225, 501, 273, 306, 261, 3437, 16, 1381, 16, 4200, 16, 11201, 16, 18091, 16, 12292, 16, 5342, 16, 1059, 3631, 261, 25,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3296, 21, 13332, 16327, 273, 10184, 310, 12, 16010, 16, 4044, 13, 225, 501, 273, 306, 261, 3437, 16, 1381, 16, 4200, 16, 11201, 16, 18091, 16, 12292, 16, 5342, 16, 1059, 3631, 261, 25,...
self.client.error_message.append(self._('Invalid request'))
raise roundup.exceptions.Reject(self._('Invalid request'))
def handle(self): """Perform an edit of an item in the database.
87e67c654650ade286dd0c0b7fe19c32650a8c73 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1906/87e67c654650ade286dd0c0b7fe19c32650a8c73/actions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 12, 2890, 4672, 3536, 4990, 392, 3874, 434, 392, 761, 316, 326, 2063, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 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, 1640, 12, 2890, 4672, 3536, 4990, 392, 3874, 434, 392, 761, 316, 326, 2063, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
raise ValueError, "different sphere LOD levels"
raise ValueError, "unexpected different sphere LOD levels within same frame"
def schedule_sphere(color, pos, radius, detailLevel): """\ Schedule a sphere for rendering whenever ColorSorter thinks is appropriate. """ if TEST_PYREX_OPENGL and ColorSorter.sorting: if len(color) == 3: lcolor = color + [1.0] ColorSorter._cur_shapelist.add_sphere(lcolor, pos, radius, ColorSorter._gl_name_stack[-1]) #...
29d1ead022d00c9c6ff179533709f9303571de80 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/29d1ead022d00c9c6ff179533709f9303571de80/drawer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4788, 67, 87, 9346, 12, 3266, 16, 949, 16, 5725, 16, 7664, 2355, 4672, 3536, 64, 10674, 279, 20041, 364, 9782, 17334, 5563, 24952, 15507, 87, 353, 5505, 18, 3536, 309, 22130, 67, 16235, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4788, 67, 87, 9346, 12, 3266, 16, 949, 16, 5725, 16, 7664, 2355, 4672, 3536, 64, 10674, 279, 20041, 364, 9782, 17334, 5563, 24952, 15507, 87, 353, 5505, 18, 3536, 309, 22130, 67, 16235, ...
i = M.rfind('[C\x1b[C\n') if i != -1: M = M[i+len('[C\x1b[C\n'):] x.append(M)
if UNAME == 'Darwin': phrase = L else: phrase = '[C\x1b[C\n' i = M.rfind(phrase) if i > 1: M = M[i+len(phrase):] x.append(M.strip())
def eval(self, code, strip=True): self._synchronize() code = str(code) code = code.strip() code = code.replace('\n',' ') x = [] for L in code.split('\n'): if L != '': try: s = self.__in_seq + 1 pr = '\[%s\]>'%s #M = self._eval_line(L, wait_for_prompt=pr) M = self._eval_line(L, wait_for_prompt=self._prompt) i = M.rfind(...
58b6fef37f3562344ce30c4a04732e01ec781718 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/58b6fef37f3562344ce30c4a04732e01ec781718/lisp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5302, 12, 2890, 16, 981, 16, 2569, 33, 5510, 4672, 365, 6315, 87, 2600, 554, 1435, 981, 273, 609, 12, 710, 13, 981, 273, 981, 18, 6406, 1435, 981, 273, 981, 18, 2079, 2668, 64, 82, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 2890, 16, 981, 16, 2569, 33, 5510, 4672, 365, 6315, 87, 2600, 554, 1435, 981, 273, 609, 12, 710, 13, 981, 273, 981, 18, 6406, 1435, 981, 273, 981, 18, 2079, 2668, 64, 82, ...
If \code{groebner=False} these polynomials are at most of degree \code{degree}. Otherwise the highest degree equals the highest degree of the reduced Groebner basis.
First, a simple linear fitting is performed for the given ``degree`` (cf. for example [BC03]_). If ``groebner=True`` a Groebner basis is also computed for the result of that process.
def polynomials(self, X=None, Y=None, degree=2, groebner=False): r""" Return a list of polynomials satisfying this S-box.
722300ff09b8199db5acea36fda4b2778a4c12e9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/722300ff09b8199db5acea36fda4b2778a4c12e9/sbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16991, 87, 12, 2890, 16, 1139, 33, 7036, 16, 1624, 33, 7036, 16, 10782, 33, 22, 16, 314, 303, 24008, 1224, 33, 8381, 4672, 436, 8395, 2000, 279, 666, 434, 16991, 87, 9281, 14946, 333, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16991, 87, 12, 2890, 16, 1139, 33, 7036, 16, 1624, 33, 7036, 16, 10782, 33, 22, 16, 314, 303, 24008, 1224, 33, 8381, 4672, 436, 8395, 2000, 279, 666, 434, 16991, 87, 9281, 14946, 333, ...
def copy(self, cr, uid, id, default=None, context={}): if not default: default = {} default.update({'state':'draft', 'number':False, 'move_id':False, 'date_invoice': time.strftime('%Y-%m-%d'), 'date_due':False})
def copy(self, cr, uid, id, default=None, context=None): if default is None: default = {} default = default.copy() default.update({'state':'draft', 'number':False, 'move_id':False,}) if 'date_invoice' not in default: default['date_invoice'] = time.strftime('%Y-%m-%d') if 'date_due' not in default: default['date_due'] =...
def copy(self, cr, uid, id, default=None, context={}): if not default: default = {} default.update({'state':'draft', 'number':False, 'move_id':False, 'date_invoice': time.strftime('%Y-%m-%d'), 'date_due':False}) return super(account_invoice, self).copy(cr, uid, id, default, context)
e01f94258a1d1b0cf2470626af669c889c7989c7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7397/e01f94258a1d1b0cf2470626af669c889c7989c7/invoice.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 12, 2890, 16, 4422, 16, 4555, 16, 612, 16, 805, 33, 7036, 16, 819, 33, 7036, 4672, 309, 805, 353, 599, 30, 805, 273, 2618, 805, 273, 805, 18, 3530, 1435, 805, 18, 2725, 12590, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 2890, 16, 4422, 16, 4555, 16, 612, 16, 805, 33, 7036, 16, 819, 33, 7036, 4672, 309, 805, 353, 599, 30, 805, 273, 2618, 805, 273, 805, 18, 3530, 1435, 805, 18, 2725, 12590, ...
wikipedia.output(u'Sleeping %s seconds before rerun. %s' % (str(time_variable), time.strftime(u"%d %b %Y %H:%M:%S (UTC)", time.gmtime())) ) time.sleep(time_variable)
wikipedia.output(u'Sleeping %s seconds before rerun. %s' % (str(time_variable), time.strftime(u"%d %b %Y %H:%M:%S (UTC)", time.gmtime())) ) time.sleep(time_variable)
def defineSign(wsite, signPageTitle): #A little function to load the random signatures. signPage = wikipedia.Page(wsite, signPageTitle) signText = signPage.get() reg = "\* ?(.*?)\n" listSign = re.findall(reg, signText) return listSign
e031f4a41265239d6bd46f8321901c1d4c484a27 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4404/e031f4a41265239d6bd46f8321901c1d4c484a27/welcome.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4426, 2766, 12, 91, 4256, 16, 1573, 1964, 4247, 4672, 468, 37, 12720, 445, 358, 1262, 326, 2744, 14862, 18, 1573, 1964, 273, 21137, 18, 1964, 12, 91, 4256, 16, 1573, 1964, 4247, 13, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4426, 2766, 12, 91, 4256, 16, 1573, 1964, 4247, 4672, 468, 37, 12720, 445, 358, 1262, 326, 2744, 14862, 18, 1573, 1964, 273, 21137, 18, 1964, 12, 91, 4256, 16, 1573, 1964, 4247, 13, 15...
protect_path(get_distutils_libdir(self, sconscript)))
protect_path(get_distutils_libdir(self, pkg_name)))
def run(self): if len(self.sconscripts) > 0: try: import numscons except ImportError, e: raise RuntimeError("importing numscons failed (error was %s), using " \ "scons within distutils is not possible without " "this package " % str(e))
f0e69ab361b29daae801aa514c78d2097412691a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/14925/f0e69ab361b29daae801aa514c78d2097412691a/scons.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 309, 562, 12, 2890, 18, 87, 591, 12827, 13, 405, 374, 30, 775, 30, 1930, 21060, 8559, 1335, 11308, 16, 425, 30, 1002, 7265, 2932, 5666, 310, 21060, 8559, 2535, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 309, 562, 12, 2890, 18, 87, 591, 12827, 13, 405, 374, 30, 775, 30, 1930, 21060, 8559, 1335, 11308, 16, 425, 30, 1002, 7265, 2932, 5666, 310, 21060, 8559, 2535, 26...
if not isinstance(right, MPolynomial) or right.parent() != self.parent(): right = self.parent()(right)
if type(self) is not type(right) or self.parent() is not right.parent(): self, right = canonical_coercion(self, right) return self.quo_rem(right)
def quo_rem(self, right): """ Returns quotient and remainder of self and right.
a8b0dab595131635381085945f42ada10d053f72 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/a8b0dab595131635381085945f42ada10d053f72/multi_polynomial_element.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 719, 83, 67, 2764, 12, 2890, 16, 2145, 4672, 3536, 2860, 26708, 471, 10022, 434, 365, 471, 2145, 18, 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, 719, 83, 67, 2764, 12, 2890, 16, 2145, 4672, 3536, 2860, 26708, 471, 10022, 434, 365, 471, 2145, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
versionComponents = versionNumber.split('.') + [ extractRevision() ]
revision = extractRevision() if revision == 'unknown': revision = '0' versionComponents = versionNumber.split('.') + [ revision ]
def iterResourceHeader(): if '-' in packageVersion: versionNumber = packageVersion[ : packageVersion.index('-')] else: versionNumber = packageVersion versionComponents = versionNumber.split('.') + [ extractRevision() ] assert len(versionComponents) == 4, versionComponents yield '#define OPENMSX_VERSION_INT %s' % ', '....
2b43086312a7f7ca7960d0cf0e1d56e66f8f1a1c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5450/2b43086312a7f7ca7960d0cf0e1d56e66f8f1a1c/win_resource.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1400, 1420, 1864, 13332, 309, 4014, 316, 2181, 1444, 30, 1177, 1854, 273, 2181, 1444, 63, 294, 2181, 1444, 18, 1615, 2668, 17, 6134, 65, 469, 30, 1177, 1854, 273, 2181, 1444, 6350, 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, 1400, 1420, 1864, 13332, 309, 4014, 316, 2181, 1444, 30, 1177, 1854, 273, 2181, 1444, 63, 294, 2181, 1444, 18, 1615, 2668, 17, 6134, 65, 469, 30, 1177, 1854, 273, 2181, 1444, 6350, 273, ...
if resp[:3] != '111':
if not resp.startswith(b'111'):
def date (self): """Process the DATE command. Arguments: None Returns: resp: server response if successful date: Date suitable for newnews/newgroups commands etc. time: Time suitable for newnews/newgroups commands etc."""
933238ad85875df26c18a674f77afc1abaafb88e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8546/933238ad85875df26c18a674f77afc1abaafb88e/nntplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1509, 261, 2890, 4672, 3536, 2227, 326, 11457, 1296, 18, 13599, 30, 599, 2860, 30, 1718, 30, 1438, 766, 309, 6873, 1509, 30, 2167, 10631, 364, 394, 18443, 19, 2704, 4650, 4364, 5527, 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, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1509, 261, 2890, 4672, 3536, 2227, 326, 11457, 1296, 18, 13599, 30, 599, 2860, 30, 1718, 30, 1438, 766, 309, 6873, 1509, 30, 2167, 10631, 364, 394, 18443, 19, 2704, 4650, 4364, 5527, 18,...
warnings.append((t.line, w % (succ.col, lines[t.line])))
warnings.append((t.line, w % (t.succ.col, lines[t.line])))
def check_multistatements(tokens, lines, warnings): "Check for more than one statemen on one line" for i, t in enumerate(tokens): if t.typ != Token.punct or t.string != ';' or t.parenlevel > 0: continue try: succ = tokens[i+1] except IndexError: break if succ.line == t.line: w = 'More than one statement on a line (col ...
ecf9bde6b618739f9ef7098da2a7ad267a2f3d5f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6171/ecf9bde6b618739f9ef7098da2a7ad267a2f3d5f/check-coding-style.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 5421, 376, 340, 1346, 12, 7860, 16, 2362, 16, 5599, 4672, 315, 1564, 364, 1898, 2353, 1245, 919, 27617, 603, 1245, 980, 6, 364, 277, 16, 268, 316, 4241, 12, 7860, 4672, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 5421, 376, 340, 1346, 12, 7860, 16, 2362, 16, 5599, 4672, 315, 1564, 364, 1898, 2353, 1245, 919, 27617, 603, 1245, 980, 6, 364, 277, 16, 268, 316, 4241, 12, 7860, 4672, 309, ...
def fdopenstream(self, stream, fd, mode):
def fdopenstream(self, stream, fd, mode, w_name=None):
def fdopenstream(self, stream, fd, mode): self.fd = fd self.mode = mode self.stream = stream if stream.flushable(): getopenstreams(self.space)[stream] = None
d3356dffb7981661d4a0128b19e580868132f38e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6934/d3356dffb7981661d4a0128b19e580868132f38e/interp_file.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5194, 3190, 3256, 12, 2890, 16, 1407, 16, 5194, 16, 1965, 16, 341, 67, 529, 33, 7036, 4672, 365, 18, 8313, 273, 5194, 365, 18, 3188, 273, 1965, 365, 18, 3256, 273, 1407, 309, 1407, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5194, 3190, 3256, 12, 2890, 16, 1407, 16, 5194, 16, 1965, 16, 341, 67, 529, 33, 7036, 4672, 365, 18, 8313, 273, 5194, 365, 18, 3188, 273, 1965, 365, 18, 3256, 273, 1407, 309, 1407, 1...
subtitle = """Attach collection to tree&nbsp;&nbsp&nbsp;<small>[<a href="%s/admin/websearch/guide.html
subtitle = """Attach collection to tree&nbsp;&nbsp&nbsp;<small>[<a title="See guide" href="%s/admin/websearch/guide.html
def perform_addcollectiontotree(colID, ln=cdslang, add_dad='', add_son='', rtype='', mtype='', callback='yes', confirm=-1): """Form to add a collection to the tree. add_dad - the dad to add the collection to add_son - the collection to add rtype - add it as a regular or virtual mtype - add it to the regular or virtual ...
beda71fdc80661821084d0fd30dadb0e7e956b74 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12027/beda71fdc80661821084d0fd30dadb0e7e956b74/websearchadminlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 1289, 5548, 3307, 992, 12, 1293, 734, 16, 7211, 33, 4315, 2069, 539, 16, 527, 67, 72, 361, 2218, 2187, 527, 67, 816, 2218, 2187, 9328, 2218, 2187, 22189, 2218, 2187, 1348, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3073, 67, 1289, 5548, 3307, 992, 12, 1293, 734, 16, 7211, 33, 4315, 2069, 539, 16, 527, 67, 72, 361, 2218, 2187, 527, 67, 816, 2218, 2187, 9328, 2218, 2187, 22189, 2218, 2187, 1348, 22...
ge = gv.edge(nodes[g.vertex_index[e.source()]], nodes[g.vertex_index[e.target()]])
ge = gv.edge(nodes[e.source()], nodes[e.target()])
def graph_draw(g, pos=None, size=(15, 15), pin=False, layout= "neato", maxiter=None, ratio= "fill", overlap="prism", sep=None, splines=False, vsize=0.1, penwidth=1.0, elen=None, gprops={}, vprops={}, eprops={}, vcolor=None, ecolor=None, vcmap=matplotlib.cm.jet, vnorm=True, ecmap=matplotlib.cm.jet, enorm=True, output= "...
3fea60ff765083d1f75fed4e68a408b6a4b1b821 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3516/3fea60ff765083d1f75fed4e68a408b6a4b1b821/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2667, 67, 9446, 12, 75, 16, 949, 33, 7036, 16, 963, 28657, 3600, 16, 4711, 3631, 7092, 33, 8381, 16, 3511, 33, 315, 4644, 31093, 3113, 25743, 33, 7036, 16, 7169, 33, 315, 5935, 3113, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2667, 67, 9446, 12, 75, 16, 949, 33, 7036, 16, 963, 28657, 3600, 16, 4711, 3631, 7092, 33, 8381, 16, 3511, 33, 315, 4644, 31093, 3113, 25743, 33, 7036, 16, 7169, 33, 315, 5935, 3113, ...
_logger.debug('Activity %s text channel %u currently has %r', self._id, self._room, self._handle_to_buddy)
_logger.debug('Activity %r text channel %u currently has %r', self, self._room, self._handle_to_buddy)
def _text_channel_members_changed_cb(self, message, added, removed, local_pending, remote_pending, actor, reason): _logger.debug('Activity %s text channel %u currently has %r', self._id, self._room, self._handle_to_buddy) _logger.debug('Text channel %u members changed: + %r, - %r, LP %r, ' 'RP %r, message %r, actor %r,...
25577b1486c01197df936bb991230734bc38df7b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3113/25577b1486c01197df936bb991230734bc38df7b/activity.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 955, 67, 4327, 67, 7640, 67, 6703, 67, 7358, 12, 2890, 16, 883, 16, 3096, 16, 3723, 16, 1191, 67, 9561, 16, 2632, 67, 9561, 16, 8327, 16, 3971, 4672, 389, 4901, 18, 4148, 2668, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 955, 67, 4327, 67, 7640, 67, 6703, 67, 7358, 12, 2890, 16, 883, 16, 3096, 16, 3723, 16, 1191, 67, 9561, 16, 2632, 67, 9561, 16, 8327, 16, 3971, 4672, 389, 4901, 18, 4148, 2668, ...
label = ".. _" + path + "
label = "\n.. _" + path + "
def parseAction(s,l,t): global headLevel # insert intermediate heading? if headLevel > 0 and mylevel - headLevel > 1: # new header skips a level # insert intermediate headers to assure consistency prehead = "" for i in range(1, mylevel - headLevel): lchar = linechars["h"+str(headLevel+i)] prehead += "\nXXX\n" + 3 * lch...
0d23162296c4c641d465d17229d55b6191d48c1c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5718/0d23162296c4c641d465d17229d55b6191d48c1c/wiki2rst.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 1803, 12, 87, 16, 80, 16, 88, 4672, 2552, 910, 2355, 468, 2243, 12110, 11053, 35, 309, 910, 2355, 405, 374, 471, 312, 1362, 941, 300, 910, 2355, 405, 404, 30, 468, 394, 1446, 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, 1109, 1803, 12, 87, 16, 80, 16, 88, 4672, 2552, 910, 2355, 468, 2243, 12110, 11053, 35, 309, 910, 2355, 405, 374, 471, 312, 1362, 941, 300, 910, 2355, 405, 404, 30, 468, 394, 1446, 2...
['GHashtable*'])
['GHashTable*'])
def __init__(self, transformer, noclosure=False): self._transformer = transformer self._transformer.set_container_types(['GList*', 'GSList*'], ['GHashtable*']) self._namespace_name = None self._names = Names() self._uscore_type_names = {} self._binary = None self._get_type_functions = [] self._gtype_data = {} self._fai...
37b60d07bd7ca7861a0758d47ad386730f8509fa /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2770/37b60d07bd7ca7861a0758d47ad386730f8509fa/glibtransformer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 8360, 16, 30601, 5919, 33, 8381, 4672, 365, 6315, 21523, 273, 8360, 365, 6315, 21523, 18, 542, 67, 3782, 67, 2352, 12, 3292, 43, 682, 14, 2187, 296, 1611...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8360, 16, 30601, 5919, 33, 8381, 4672, 365, 6315, 21523, 273, 8360, 365, 6315, 21523, 18, 542, 67, 3782, 67, 2352, 12, 3292, 43, 682, 14, 2187, 296, 1611...
match = re.match(r'/(browser|file)(?:(/.*))?', req.path_info)
match = re.match(r'/(export|browser|file)(?:(/.*))?', req.path_info)
def match_request(self, req): import re match = re.match(r'/(browser|file)(?:(/.*))?', req.path_info) if match: req.args['path'] = match.group(2) or '/' if match.group(1) == 'file': req.redirect(req.href.browser(req.args.get('path'), rev=req.args.get('rev'), format=req.args.get('format')), permanent=True) return True
6aeb5cf917295ed2f9f9d8f5a6f3e94a94837184 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/6aeb5cf917295ed2f9f9d8f5a6f3e94a94837184/browser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 845, 67, 2293, 12, 2890, 16, 1111, 4672, 1930, 283, 845, 273, 283, 18, 1916, 12, 86, 11, 19, 12, 6530, 96, 11213, 96, 768, 13, 6503, 22624, 4509, 24783, 2187, 1111, 18, 803, 67, 1376...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 845, 67, 2293, 12, 2890, 16, 1111, 4672, 1930, 283, 845, 273, 283, 18, 1916, 12, 86, 11, 19, 12, 6530, 96, 11213, 96, 768, 13, 6503, 22624, 4509, 24783, 2187, 1111, 18, 803, 67, 1376...
enabledBox.pack_start(self.EnabledPluginsList, False, False)
enabledBox.pack_start(self.EnabledPluginsList, True, True)
def __init__(self, main, context): self.Context = context self.Main = main self.Blocked = False rightChild = gtk.VBox() rightChild.set_border_width(10) # Auto sort autoSort = gtk.CheckButton(_("Automatic plugin sorting")) rightChild.pack_start(autoSort, False, False, 10) # Lists listBox = gtk.HBox() listBox.set_spaci...
0db63e0a2aec4f0c3c99365d58841591787df176 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7062/0db63e0a2aec4f0c3c99365d58841591787df176/Pages.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2774, 16, 819, 4672, 365, 18, 1042, 273, 819, 365, 18, 6376, 273, 2774, 365, 18, 23722, 273, 1083, 2145, 1763, 273, 22718, 18, 58, 3514, 1435, 2145, 1763...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2774, 16, 819, 4672, 365, 18, 1042, 273, 819, 365, 18, 6376, 273, 2774, 365, 18, 23722, 273, 1083, 2145, 1763, 273, 22718, 18, 58, 3514, 1435, 2145, 1763...
game = IcGameModel (bm, gameno, timemodel)
game = IcGameModel (bm, om, gameno, timemodel)
def observeBoardCreated (bm, gameno, pgn, secs, incr, wname, bname): timemodel = TimeModel (secs, incr) game = IcGameModel (bm, gameno, timemodel) white = ServerPlayer (bm, om, wname, True, gameno, WHITE) black = ServerPlayer (bm, om, bname, True, gameno, BLACK) game.setPlayers((white,black)) gmwidg = gamewidget.GameW...
6fe0b8d008d8c86a921960cf44ed3b6b03643397 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5339/6fe0b8d008d8c86a921960cf44ed3b6b03643397/icLounge.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19389, 22233, 6119, 261, 25709, 16, 23411, 5764, 16, 293, 1600, 16, 18043, 16, 17633, 16, 341, 529, 16, 324, 529, 4672, 1658, 351, 1009, 273, 2647, 1488, 261, 21317, 16, 17633, 13, 7920,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19389, 22233, 6119, 261, 25709, 16, 23411, 5764, 16, 293, 1600, 16, 18043, 16, 17633, 16, 341, 529, 16, 324, 529, 4672, 1658, 351, 1009, 273, 2647, 1488, 261, 21317, 16, 17633, 13, 7920,...
yield utils.pathGC('python', 'grid_control_cms', 'share', 'DashboardAPI', file)
yield utils.pathGC('python', 'grid_control_cms', 'DashboardAPI', file)
def getFiles(self): for file in ('DashboardAPI.py', 'Logger.py', 'ProcInfo.py', 'apmon.py', 'report.py'): yield utils.pathGC('python', 'grid_control_cms', 'share', 'DashboardAPI', file)
3663b04e9a2b7dc039595413dcad2e0741efb021 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8443/3663b04e9a2b7dc039595413dcad2e0741efb021/dashboard.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 18262, 12, 2890, 4672, 364, 585, 316, 7707, 14830, 2557, 18, 2074, 2187, 296, 3328, 18, 2074, 2187, 296, 15417, 966, 18, 2074, 2187, 296, 438, 2586, 18, 2074, 2187, 296, 6006, 18, 2074, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18262, 12, 2890, 4672, 364, 585, 316, 7707, 14830, 2557, 18, 2074, 2187, 296, 3328, 18, 2074, 2187, 296, 15417, 966, 18, 2074, 2187, 296, 438, 2586, 18, 2074, 2187, 296, 6006, 18, 2074, ...