rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
self._parser.parse(filename)
self._parser.parse(handler)
def parse(self, handler): """Parses the XML data
c4626aa11d0225fe36ff83675a0400ed8226078c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7167/c4626aa11d0225fe36ff83675a0400ed8226078c/NCBIXML.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 1838, 4672, 3536, 6656, 326, 3167, 501, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 1838, 4672, 3536, 6656, 326, 3167, 501, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
setups.pop(item).finish()
setups.pop(item).throw(threado.Finished())
def run(self): setups = dict() while True: updated, discarded = yield self.inner
cd597199d3636d4f8f1256edb6066fffda48b41b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14361/cd597199d3636d4f8f1256edb6066fffda48b41b/config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 3875, 87, 273, 2065, 1435, 1323, 1053, 30, 3526, 16, 20076, 273, 2824, 365, 18, 7872, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 3875, 87, 273, 2065, 1435, 1323, 1053, 30, 3526, 16, 20076, 273, 2824, 365, 18, 7872, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
_rec_name = 'name' _columns = { 'name': fields.char('Object', size=64), 'model': fields.char('Object Name', size=64), }
def instanciate(self, cr, user, model, context={}): class x_custom_model(osv.osv): pass x_custom_model._name = model x_custom_model._module = False x_custom_model.createInstance(self.pool, '', cr) x_custom_model._rec_name = 'x_name'
4e13d9b40a74b0e21a0a6afdcafb30e8cf5b5a93 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/4e13d9b40a74b0e21a0a6afdcafb30e8cf5b5a93/ir_model.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 316, 27866, 3840, 12, 2890, 16, 4422, 16, 729, 16, 938, 16, 819, 12938, 4672, 667, 619, 67, 3662, 67, 2284, 12, 538, 90, 18, 538, 90, 4672, 1342, 619, 67, 3662, 67, 2284, 6315, 529, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 316, 27866, 3840, 12, 2890, 16, 4422, 16, 729, 16, 938, 16, 819, 12938, 4672, 667, 619, 67, 3662, 67, 2284, 12, 538, 90, 18, 538, 90, 4672, 1342, 619, 67, 3662, 67, 2284, 6315, 529, ...
class ReportToExch(quickfix.BoolField): def __init__(self, data = None): if data == None: quickfix.BoolField.__init__(self, 113) else: quickfix.BoolField.__init__(self, 113, data) class LocateReqd(quickfix.BoolField): def __init__(self, data = None): if data == None: quickfix.BoolField.__init__(self, 114) else: quickf...
def __init__(self, data = None): if data == None: quickfix.StringField.__init__(self, 112) else: quickfix.StringField.__init__(self, 112, data)
b195a30ce1679e0269bc776f2f6e3591488def1f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/b195a30ce1679e0269bc776f2f6e3591488def1f/quickfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 501, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 23543, 13, 469, 30, 9549, 904, 18, 780, 974, 1618...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 501, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 23543, 13, 469, 30, 9549, 904, 18, 780, 974, 1618...
info.varlist.add(self.typename, '*ret')
info.varlist.add(ptype[:-1], '*ret')
def write_return(self, ptype, ownsreturn, info): if ptype[-1] == '*': info.varlist.add(self.typename, '*ret') ret = 'ret' else: info.varlist.add(self.typename, 'ret') ret = '&ret' ownsreturn = 0 # of course it can't own a ref to a local var ... info.codeafter.append(self.ret_tmpl % { 'typecode': self.typecode, 'ret': r...
d14595f0524e11bd5a3f4cc233adf44ac161cf03 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1020/d14595f0524e11bd5a3f4cc233adf44ac161cf03/argtypes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 2463, 12, 2890, 16, 24203, 16, 29065, 2463, 16, 1123, 4672, 309, 24203, 18919, 21, 65, 422, 5306, 30, 1123, 18, 1401, 1098, 18, 1289, 12, 27672, 10531, 17, 21, 6487, 14609, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 2463, 12, 2890, 16, 24203, 16, 29065, 2463, 16, 1123, 4672, 309, 24203, 18919, 21, 65, 422, 5306, 30, 1123, 18, 1401, 1098, 18, 1289, 12, 27672, 10531, 17, 21, 6487, 14609, 1...
_children['{%s}transparency' % gdata.GDATA_NAMESPACE] = ('transparency',
_children['{%s}transparency' % gdata.GDATA_NAMESPACE] = ('transparency',
def __init__(self, value='false', *args, **kwargs): atom.AtomBase.__init__(self, *args, **kwargs) self.value = value
6a016768dbbd7d5ee9c62bcd2d2ce3bf7f6d1048 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6580/6a016768dbbd7d5ee9c62bcd2d2ce3bf7f6d1048/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 460, 2218, 5743, 2187, 380, 1968, 16, 2826, 4333, 4672, 3179, 18, 3641, 2171, 16186, 2738, 972, 12, 2890, 16, 380, 1968, 16, 2826, 4333, 13, 365, 18, 113...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 460, 2218, 5743, 2187, 380, 1968, 16, 2826, 4333, 4672, 3179, 18, 3641, 2171, 16186, 2738, 972, 12, 2890, 16, 380, 1968, 16, 2826, 4333, 13, 365, 18, 113...
"""Runs a test by comparing results to those expected and only failing if something is wrong. """
"""Run a test by comparing results to those expected and only failing if something is wrong. Use _printTest to generate data for this test. """
def _assertTest(): """Runs a test by comparing results to those expected and only failing if something is wrong. """ testSet = ( ['::', '', 1, ['', '', '', '', ''], 0.0, 0.0, '0:00:00', ['0:00:00', '0:00:00.0', '0:00:00.00']], ['-::', '', 1, ['-', '', '', '', ''], -0.0, -0.0, '0:00:00', ['0:00:00', '0:00:00.0', '0:00:0...
a5c12743960cc44ddb0aa0f21361c8697521f18c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6354/a5c12743960cc44ddb0aa0f21361c8697521f18c/StringUtil.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 11231, 4709, 13332, 3536, 1997, 279, 1842, 635, 17553, 1686, 358, 5348, 2665, 471, 1338, 21311, 309, 5943, 353, 7194, 18, 225, 2672, 389, 1188, 4709, 358, 2103, 501, 364, 333, 1842, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11231, 4709, 13332, 3536, 1997, 279, 1842, 635, 17553, 1686, 358, 5348, 2665, 471, 1338, 21311, 309, 5943, 353, 7194, 18, 225, 2672, 389, 1188, 4709, 358, 2103, 501, 364, 333, 1842, ...
NSApplication.sharedApplication().setDelegate_(self.app_controller)
miroapp = MiroApplication.sharedApplication() miroapp.setDelegate_(self.app_controller)
def run(self): logging.info("OSX version: %s %s %s", platform.system(), platform.release(), platform.machine()) try: import libtorrent logging.info("libtorrent: %s", libtorrent.version) except AttributeError: logging.info("libtorrent: unknown version") except ImportError: logging.exception("libtorre...
6d6738c0116e537782c2cf221b58c1c956a7d798 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/6d6738c0116e537782c2cf221b58c1c956a7d798/application.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 2907, 18, 1376, 2932, 4618, 60, 1177, 30, 4202, 738, 87, 738, 87, 738, 87, 3113, 4072, 18, 4299, 9334, 4072, 18, 9340, 9334, 4072, 18, 9149, 10756, 775, 30, 1930,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2907, 18, 1376, 2932, 4618, 60, 1177, 30, 4202, 738, 87, 738, 87, 738, 87, 3113, 4072, 18, 4299, 9334, 4072, 18, 9340, 9334, 4072, 18, 9149, 10756, 775, 30, 1930,...
if self._eoln != '\n': import EasyDialogs ok = EasyDialogs.AskYesNoCancel('Warning: "%s" does not have Unix line-endings' % self.title, 1, yes='OK', no='') if not ok: return
def _run(self): if self.run_with_interpreter: if self.editgroup.editor.changed: import EasyDialogs import Qd; Qd.InitCursor() save = EasyDialogs.AskYesNoCancel('Save "%s" before running?' % self.title, 1) if save > 0: if self.domenu_save(): return elif save < 0: return if not self.path: raise W.AlertError, "Can't run u...
cc05327f1a884449e59676683450b01d0a266b10 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/cc05327f1a884449e59676683450b01d0a266b10/PyEdit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2681, 12, 2890, 4672, 309, 365, 18, 2681, 67, 1918, 67, 2761, 11599, 30, 309, 365, 18, 4619, 1655, 18, 9177, 18, 6703, 30, 1930, 29442, 11885, 14072, 1930, 2238, 72, 31, 2238, 72,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2681, 12, 2890, 4672, 309, 365, 18, 2681, 67, 1918, 67, 2761, 11599, 30, 309, 365, 18, 4619, 1655, 18, 9177, 18, 6703, 30, 1930, 29442, 11885, 14072, 1930, 2238, 72, 31, 2238, 72,...
self.tree.openElements.pop() self.parser.parseError()
self.parser.parseError(_(u"Unexpected implied end tag (" +\ self.tree.openElements[-1].name + u") in the table phase.")) self.tree.openElements.pop()
def clearStackToTableContext(self): # "clear the stack back to a table context" while self.tree.openElements[-1].name not in ("table", "html"): self.tree.openElements.pop() self.parser.parseError() # When the current node is <html> it's an innerHTML case
d714b17ea5dc88de01658fc32a1153e84dbce4ff /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9368/d714b17ea5dc88de01658fc32a1153e84dbce4ff/html5parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2424, 2624, 774, 1388, 1042, 12, 2890, 4672, 468, 315, 8507, 326, 2110, 1473, 358, 279, 1014, 819, 6, 1323, 365, 18, 3413, 18, 3190, 3471, 18919, 21, 8009, 529, 486, 316, 7566, 2121, 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, 2424, 2624, 774, 1388, 1042, 12, 2890, 4672, 468, 315, 8507, 326, 2110, 1473, 358, 279, 1014, 819, 6, 1323, 365, 18, 3413, 18, 3190, 3471, 18919, 21, 8009, 529, 486, 316, 7566, 2121, 3...
url='http://localhost/?q=%s')
url=self._localhost_prefix + '?q=%s')
def testAddSearchEngine(self): """Test searching using keyword of user-added search engine.""" self.AddSearchEngine(title='foo', keyword='foo.com', url='http://localhost/?q=%s') self.SetOmniboxText('foo.com foobar') self.OmniboxAcceptInput() self.assertEqual('http://localhost/?q=foobar', self.GetActiveTabURL().spec())
86d1d325053e5dfbb521e381887f0ba2cc498628 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5060/86d1d325053e5dfbb521e381887f0ba2cc498628/search_engines.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 986, 2979, 4410, 12, 2890, 4672, 3536, 4709, 15300, 1450, 4932, 434, 729, 17, 9665, 1623, 4073, 12123, 365, 18, 986, 2979, 4410, 12, 2649, 2218, 11351, 2187, 4932, 2218, 11351, 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, 1842, 986, 2979, 4410, 12, 2890, 4672, 3536, 4709, 15300, 1450, 4932, 434, 729, 17, 9665, 1623, 4073, 12123, 365, 18, 986, 2979, 4410, 12, 2649, 2218, 11351, 2187, 4932, 2218, 11351, 18, ...
return unicode(data[:2:-1], 'unicode_internal')
return unicode(data[:2][::-1], 'unicode_internal')
def decode_character(data): return unicode(data[:2:-1], 'unicode_internal')
fae6e6dc979fae96ba77bb09c3f7bf4352f496d6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12681/fae6e6dc979fae96ba77bb09c3f7bf4352f496d6/IO.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2495, 67, 11560, 12, 892, 4672, 327, 5252, 12, 892, 10531, 22, 30, 17, 21, 6487, 296, 9124, 67, 7236, 6134, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2495, 67, 11560, 12, 892, 4672, 327, 5252, 12, 892, 10531, 22, 30, 17, 21, 6487, 296, 9124, 67, 7236, 6134, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
def qexp(self, n):
def q_expansion(self, n):
def qexp(self, n): r""" The q-expansion of self at the cusp at infinity.
6c49e305a99a53b33668c57e4313507f70f7ee17 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/6c49e305a99a53b33668c57e4313507f70f7ee17/etaproducts.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1043, 67, 2749, 12162, 12, 2890, 16, 290, 4672, 436, 8395, 1021, 1043, 17, 2749, 12162, 434, 365, 622, 326, 27964, 84, 622, 27272, 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, 1043, 67, 2749, 12162, 12, 2890, 16, 290, 4672, 436, 8395, 1021, 1043, 17, 2749, 12162, 434, 365, 622, 326, 27964, 84, 622, 27272, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.cursor.execute(sql,(self.process_id, self.state_vec[(ver,val)], ifo,
self.cursor.execute(sql,(self.process_id, self.state_vec[ifo][(ver,val)], ifo,
def publish_state(self, ifo, start_time, start_time_ns, end_time, end_time_ns, ver, val ): """ Publish a state segment for a state vector in the database """
6bf02ddd12b5e9b19e0efa822323b45ba5187a07 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3589/6bf02ddd12b5e9b19e0efa822323b45ba5187a07/statedb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3808, 67, 2019, 12, 2890, 16, 21479, 16, 787, 67, 957, 16, 787, 67, 957, 67, 2387, 16, 679, 67, 957, 16, 679, 67, 957, 67, 2387, 16, 1924, 16, 1244, 262, 30, 3536, 9761, 279, 919, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3808, 67, 2019, 12, 2890, 16, 21479, 16, 787, 67, 957, 16, 787, 67, 957, 67, 2387, 16, 679, 67, 957, 16, 679, 67, 957, 67, 2387, 16, 1924, 16, 1244, 262, 30, 3536, 9761, 279, 919, ...
init = os.path.join(path, '__init__.py') initc = os.path.join(path, '__init__.pyc') if os.path.isfile(init) or os.path.isfile(initc): return 1
for ext in ['.py', '.pyc', '.pyo']: if os.path.isfile(os.path.join(path, '__init__' + ext)): return 1
def ispackage(path): """Guess whether a path refers to a package directory.""" if os.path.isdir(path): init = os.path.join(path, '__init__.py') initc = os.path.join(path, '__init__.pyc') if os.path.isfile(init) or os.path.isfile(initc): return 1
54a838fe1421d6e6829cabc42e7f398722140804 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/54a838fe1421d6e6829cabc42e7f398722140804/pydoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 5610, 12, 803, 4672, 3536, 15977, 2856, 279, 589, 21368, 358, 279, 2181, 1867, 12123, 309, 1140, 18, 803, 18, 291, 1214, 12, 803, 4672, 364, 1110, 316, 10228, 18, 2074, 2187, 2418, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 5610, 12, 803, 4672, 3536, 15977, 2856, 279, 589, 21368, 358, 279, 2181, 1867, 12123, 309, 1140, 18, 803, 18, 291, 1214, 12, 803, 4672, 364, 1110, 316, 10228, 18, 2074, 2187, 2418, ...
self.health = health
self.health = gdata.health.service.HealthService() self.health.ClientLogin(username, password, source='Health Client Unit Tests')
def setUp(self): self.health = health self.profile_list_feed = self.health.GetProfileListFeed() self.profile_id = self.profile_list_feed.entry[0].GetProfileId()
4b0039babc7592f2056fec24dc1589bad7422090 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10620/4b0039babc7592f2056fec24dc1589bad7422090/service_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 365, 18, 13267, 273, 314, 892, 18, 13267, 18, 3278, 18, 7802, 1179, 1435, 365, 18, 13267, 18, 1227, 5358, 12, 5053, 16, 2201, 16, 1084, 2218, 7802, 2445, 8380, 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, 24292, 12, 2890, 4672, 365, 18, 13267, 273, 314, 892, 18, 13267, 18, 3278, 18, 7802, 1179, 1435, 365, 18, 13267, 18, 1227, 5358, 12, 5053, 16, 2201, 16, 1084, 2218, 7802, 2445, 8380, 7...
svn("ci").wait()
def main(): use_pre = len(sys.argv) > 1 and 'pre' in sys.argv url = "svn+ssh://svn.cern.ch/reps/gaudi" proj = "Gaudi" container = "GaudiRelease" packages = gather_new_versions("requirements") packages[container] = extract_version("requirements") tempdir = tempfile.mkdtemp() try: os.chdir(tempdir) # prepare repository ...
caa763ff6414da0aea124f54336380f2e9c7a812 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9140/caa763ff6414da0aea124f54336380f2e9c7a812/tag_release.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 999, 67, 1484, 273, 562, 12, 9499, 18, 19485, 13, 405, 404, 471, 296, 1484, 11, 316, 225, 2589, 18, 19485, 880, 273, 315, 31505, 15, 10975, 2207, 31505, 18, 14770, 18, 343...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 999, 67, 1484, 273, 562, 12, 9499, 18, 19485, 13, 405, 404, 471, 296, 1484, 11, 316, 225, 2589, 18, 19485, 880, 273, 315, 31505, 15, 10975, 2207, 31505, 18, 14770, 18, 343...
object_id = models.PositiveIntegerField()
object_id = models.CharField(max_length=150)
def create(self, object, action, **kwargs): ct = ContentType.objects.get_for_model(object.__class__)
6983e1f274b8c086942b1383ab3c0845bcc9d04c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4645/6983e1f274b8c086942b1383ab3c0845bcc9d04c/models.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 12, 2890, 16, 733, 16, 1301, 16, 2826, 4333, 4672, 5691, 273, 11691, 18, 6911, 18, 588, 67, 1884, 67, 2284, 12, 1612, 16186, 1106, 972, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 12, 2890, 16, 733, 16, 1301, 16, 2826, 4333, 4672, 5691, 273, 11691, 18, 6911, 18, 588, 67, 1884, 67, 2284, 12, 1612, 16186, 1106, 972, 13, 2, -100, -100, -100, -100, -100, -100, ...
_d=d+(self._tzinfo[tz].info(t)[0]/86400.0) yr,mo,dy=self._calendarday(_d+jd1901) _s=(_d-int(_d))*86400.0 hr=int(_s/3600) _s=_s-(hr*3600) mn=int(_s/60) sc=_s-(mn*60)
x=d+(self._tzinfo[tz].info(t)[0]/86400.0) yr,mo,dy=self._calendarday(x+jd1901) x=(x-int(x))*86400.0 hr=int(x/3600) x=x-(hr*3600) mn=int(x/60) sc=x-(mn*60)
def __init__(self,*args): """Return a new date-time object
92b0ff07ac42eb6719c4d212edd1adf91e39d066 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/92b0ff07ac42eb6719c4d212edd1adf91e39d066/DateTime.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 14, 1968, 4672, 3536, 990, 279, 394, 1509, 17, 957, 733, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 14, 1968, 4672, 3536, 990, 279, 394, 1509, 17, 957, 733, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
verify(complex(a).__class__ is complex)
veris(complex(a).__class__, complex)
def __repr__(self): return "%.17gj%+.17g" % (self.imag, self.real)
b1b7e702cae6f65e6d146f8881c14f933fe52efd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/b1b7e702cae6f65e6d146f8881c14f933fe52efd/test_descr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12715, 972, 12, 2890, 4672, 327, 26209, 4033, 75, 78, 9, 15, 18, 4033, 75, 6, 738, 261, 2890, 18, 15374, 16, 365, 18, 7688, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12715, 972, 12, 2890, 4672, 327, 26209, 4033, 75, 78, 9, 15, 18, 4033, 75, 6, 738, 261, 2890, 18, 15374, 16, 365, 18, 7688, 13, 2, -100, -100, -100, -100, -100, -100, -100, -10...
if reply != "cancel":
if str(reply) != "cancel":
def close(self): reply = self.maybesave() if reply != "cancel": self._close() return reply
f65385c959164ccfa1b4d35c2ef4c94bcad56e32 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3187/f65385c959164ccfa1b4d35c2ef4c94bcad56e32/EditorWindow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1746, 12, 2890, 4672, 4332, 273, 365, 18, 24877, 70, 281, 836, 1435, 309, 609, 12, 10629, 13, 480, 315, 10996, 6877, 365, 6315, 4412, 1435, 327, 4332, 2, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1746, 12, 2890, 4672, 4332, 273, 365, 18, 24877, 70, 281, 836, 1435, 309, 609, 12, 10629, 13, 480, 315, 10996, 6877, 365, 6315, 4412, 1435, 327, 4332, 2, -100, -100, -100, -100, -100, ...
from Numeric import array, Float
def __init__(self, calc, atoms=None): self.calc = calc self.atoms = calc.GetListOfAtoms()
89358f58fa7285389788f3ca327c3972e926d85c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5735/89358f58fa7285389788f3ca327c3972e926d85c/old.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 7029, 16, 9006, 33, 7036, 4672, 365, 18, 12448, 273, 7029, 365, 18, 14937, 273, 7029, 18, 967, 682, 951, 14280, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 7029, 16, 9006, 33, 7036, 4672, 365, 18, 12448, 273, 7029, 365, 18, 14937, 273, 7029, 18, 967, 682, 951, 14280, 1435, 2, -100, -100, -100, -100, -100, -1...
def fl_notify_object(obj, cause): """ fl_notify_object(obj, cause) """ _fl_notify_object(obj, cause)
def fl_notify_object(pObject, cause): """ fl_notify_object(pObject, cause) """ _fl_notify_object(pObject, cause)
def fl_notify_object(obj, cause): """ fl_notify_object(obj, cause) """ _fl_notify_object(obj, cause)
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 12336, 67, 1612, 12, 84, 921, 16, 4620, 4672, 3536, 1183, 67, 12336, 67, 1612, 12, 84, 921, 16, 4620, 13, 3536, 225, 389, 2242, 67, 12336, 67, 1612, 12, 84, 921, 16, 4620, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 12336, 67, 1612, 12, 84, 921, 16, 4620, 4672, 3536, 1183, 67, 12336, 67, 1612, 12, 84, 921, 16, 4620, 13, 3536, 225, 389, 2242, 67, 12336, 67, 1612, 12, 84, 921, 16, 4620, ...
Column('size', label=_('Size'), align='right'),
Column('size', label=_('Size'), align='right'),
def history(page, pagename, request): # show history as default _ = request.getText
f23aaa071053ca9885d9ca3dea13be3568ea755c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/888/f23aaa071053ca9885d9ca3dea13be3568ea755c/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4927, 12, 2433, 16, 4262, 1069, 16, 590, 4672, 468, 2405, 4927, 487, 805, 389, 273, 590, 18, 588, 1528, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4927, 12, 2433, 16, 4262, 1069, 16, 590, 4672, 468, 2405, 4927, 487, 805, 389, 273, 590, 18, 588, 1528, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if not at in self.baggage: self.dragobjs.append(at)
if not at in baggage: dragatoms.append(at)
def atomsSetup(self, a): '''Setup for a click or double-click of real atom <a>, but also handles setup of dragging of real atom <a> and all other currently selected atoms. ''' self.objectSetup(a) self.baggage = [] self.nonbaggage = [] #all_nonbaggage = [] # NIY. mark 060202. selatoms = self.o.assy.selatoms_list() # A...
e4a846430da32f8219706ecaa3f18f53cca635c5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/e4a846430da32f8219706ecaa3f18f53cca635c5/selectMode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9006, 7365, 12, 2890, 16, 279, 4672, 9163, 7365, 364, 279, 4682, 578, 1645, 17, 7475, 434, 2863, 3179, 411, 69, 20401, 1496, 2546, 7372, 3875, 434, 25434, 434, 2863, 3179, 411, 69, 34, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9006, 7365, 12, 2890, 16, 279, 4672, 9163, 7365, 364, 279, 4682, 578, 1645, 17, 7475, 434, 2863, 3179, 411, 69, 20401, 1496, 2546, 7372, 3875, 434, 25434, 434, 2863, 3179, 411, 69, 34, ...
self.covar = zeros([nn, nn], dtype=float)
self.covar = numpy.zeros([nn, nn], dtype=float)
def iterfunct(myfunct, p, iter, fnorm, functkw=None, parinfo=None, quiet=0, dof=None, [iterkw keywords here])
14558c711c4693ee25ced2a48d6eaf300224bc75 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/682/14558c711c4693ee25ced2a48d6eaf300224bc75/mpfit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1400, 74, 6931, 12, 4811, 74, 6931, 16, 293, 16, 1400, 16, 2295, 535, 16, 12882, 9987, 33, 7036, 16, 779, 1376, 33, 7036, 16, 10902, 33, 20, 16, 741, 74, 33, 7036, 16, 306, 2165, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1400, 74, 6931, 12, 4811, 74, 6931, 16, 293, 16, 1400, 16, 2295, 535, 16, 12882, 9987, 33, 7036, 16, 779, 1376, 33, 7036, 16, 10902, 33, 20, 16, 741, 74, 33, 7036, 16, 306, 2165, 9...
raise unittest.SkipTest("sys.__stdout__ is not a tty")
raise TestSkipped("sys.__stdout__ is not a tty")
def main(stdscr): curses.savetty() try: module_funcs(stdscr) window_funcs(stdscr) test_userptr_without_set(stdscr) test_resize_term(stdscr) finally: curses.resetty()
4631bb8c6f21bed9cefe5a558532555533fd1581 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3187/4631bb8c6f21bed9cefe5a558532555533fd1581/test_curses.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 5084, 24638, 4672, 30436, 18, 87, 842, 22084, 1435, 775, 30, 1605, 67, 17728, 12, 5084, 24638, 13, 2742, 67, 17728, 12, 5084, 24638, 13, 1842, 67, 1355, 6723, 67, 13299, 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, 2774, 12, 5084, 24638, 4672, 30436, 18, 87, 842, 22084, 1435, 775, 30, 1605, 67, 17728, 12, 5084, 24638, 13, 2742, 67, 17728, 12, 5084, 24638, 13, 1842, 67, 1355, 6723, 67, 13299, 67, ...
pkg_path = os.popen('grep -A 30 -E "^Package: dpkg$" ' +
pkg_path = '/' + os.popen('grep -A 30 -E "^Package: dpkg$" ' +
def test_findPkgHash(self): lastDefer = defer.Deferred() pkg_hash = os.popen('grep -A 30 -E "^Package: dpkg$" ' + '/var/lib/apt/lists/' + self.packagesFile + ' | grep -E "^SHA1:" | head -n 1' + ' | cut -d\ -f 2').read().rstrip('\n') pkg_path = os.popen('grep -A 30 -E "^Package: dpkg$" ' + '/var/lib/apt/lists/' + self...
53607bdd5893956a70875b6468a609eecb518300 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/665/53607bdd5893956a70875b6468a609eecb518300/AptPackages.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 4720, 11264, 2310, 12, 2890, 4672, 1142, 758, 586, 273, 2220, 18, 16886, 1435, 225, 3475, 67, 2816, 273, 1140, 18, 84, 3190, 2668, 11556, 84, 300, 37, 5196, 300, 41, 15017, 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, 1842, 67, 4720, 11264, 2310, 12, 2890, 4672, 1142, 758, 586, 273, 2220, 18, 16886, 1435, 225, 3475, 67, 2816, 273, 1140, 18, 84, 3190, 2668, 11556, 84, 300, 37, 5196, 300, 41, 15017, 2...
if graphic_file.find(self.graphic_suffix[graphic_type]) == -1:
if graphic_file.find(self.graphic_suffix[graphic_type]) == -1:
def processMythTvMetaData(self): '''Check each video file in the mythvideo directories download graphics files and meta data then update MythTV data base meta data with any new information. ''' # If there were directories specified move them and update the MythTV db meta data accordingly if self.config['video_dir']: if...
6089d4d60f2dab84c6af9981c242684b162de38e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13713/6089d4d60f2dab84c6af9981c242684b162de38e/jamu.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 12062, 451, 56, 90, 6998, 12, 2890, 4672, 9163, 1564, 1517, 6191, 585, 316, 326, 3399, 451, 9115, 6402, 4224, 17313, 1390, 471, 2191, 501, 1508, 1089, 8005, 451, 15579, 501, 1026, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 12062, 451, 56, 90, 6998, 12, 2890, 4672, 9163, 1564, 1517, 6191, 585, 316, 326, 3399, 451, 9115, 6402, 4224, 17313, 1390, 471, 2191, 501, 1508, 1089, 8005, 451, 15579, 501, 1026, ...
write_action(asset, False);
write_action(asset, False)
def write_action(asset, webgl_mode): filename = posixpath.splitext(posixpath.basename(asset['path']))[0] filename = filename.replace('.','_') filename = filename.replace('-','_') filename = filename.lower() name = "convert_" + filename if webgl_mode: name = name + "_webgl" output = asset['path'].replace('convert_', '')...
ff183afab99ef55906d114db40364a8e4070620f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/ff183afab99ef55906d114db40364a8e4070620f/samples_gen.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 1128, 12, 9406, 16, 3311, 7043, 67, 3188, 4672, 1544, 273, 16366, 803, 18, 4939, 408, 12, 24463, 803, 18, 13909, 12, 9406, 3292, 803, 3546, 3719, 63, 20, 65, 1544, 273, 1544,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 1128, 12, 9406, 16, 3311, 7043, 67, 3188, 4672, 1544, 273, 16366, 803, 18, 4939, 408, 12, 24463, 803, 18, 13909, 12, 9406, 3292, 803, 3546, 3719, 63, 20, 65, 1544, 273, 1544,...
(srcdir,) = sysconfig.get_config_vars('srcdir') if not srcdir: inc_dir = sysconfig.get_python_inc() else: inc_dir = sysconfig.get_python_inc() self.assert_(os.path.isdir(inc_dir)) inc_dir = os.path.join(os.getcwd(), srcdir, 'Include') inc_dir = os.path.normpath(inc_dir) self.assert_(os.path.isdir(inc_dir),...
inc_dir = sysconfig.get_python_inc() self.assertTrue(os.path.isdir(inc_dir), inc_dir)
def test_get_python_inc(self): # The check for srcdir is copied from Python's setup.py, # and is necessary to make this test pass when building # Python in a directory other than the source directory. (srcdir,) = sysconfig.get_config_vars('srcdir') if not srcdir: inc_dir = sysconfig.get_python_inc() else: # This test i...
d08ab9b5e2e377e847525bb41a2120a36b08de7e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12029/d08ab9b5e2e377e847525bb41a2120a36b08de7e/test_sysconfig.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 588, 67, 8103, 67, 9523, 12, 2890, 4672, 468, 1021, 866, 364, 1705, 1214, 353, 9268, 628, 6600, 1807, 3875, 18, 2074, 16, 468, 471, 353, 4573, 358, 1221, 333, 1842, 1342, 134...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 588, 67, 8103, 67, 9523, 12, 2890, 4672, 468, 1021, 866, 364, 1705, 1214, 353, 9268, 628, 6600, 1807, 3875, 18, 2074, 16, 468, 471, 353, 4573, 358, 1221, 333, 1842, 1342, 134...
class IOVEntry():
class IOVEntry:
def __str__(self): return "rcd: \'" + tuple.__getitem__(self,0) + "\' label: \'" + tuple.__getitem__(self,1) + "\'"
4b38e17c7e59fca8d75414b61f70693aec4a64c2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7996/4b38e17c7e59fca8d75414b61f70693aec4a64c2/gt_tools.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 327, 315, 1310, 72, 30, 521, 4970, 397, 3193, 16186, 31571, 972, 12, 2890, 16, 20, 13, 397, 1548, 11, 1433, 30, 521, 4970, 397, 3193, 16186, 31571, 972,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1001, 701, 972, 12, 2890, 4672, 327, 315, 1310, 72, 30, 521, 4970, 397, 3193, 16186, 31571, 972, 12, 2890, 16, 20, 13, 397, 1548, 11, 1433, 30, 521, 4970, 397, 3193, 16186, 31571, 972,...
modpath = path.join(self.prodsDir, modLst[0], 'Extensions', modLst[1]+'.py') return string.replace(modpath, '<LocalFS::directory>', '<LocalFS::file>')
modpath = os.path.join(self.prodsDir, modLst[0], 'Extensions', modLst[1]+'.py') return modpath.replace('<LocalFS::directory>', '<LocalFS::file>')
def getExtPath(self, module): modLst = string.split(module, '.') if len(modLst) == 1: modpath = path.join(self.zopeDir, 'Extensions', modLst[0] + '.py') else: modpath = path.join(self.prodsDir, modLst[0], 'Extensions', modLst[1]+'.py') return string.replace(modpath, '<LocalFS::directory>', '<LocalFS::file>')
98cda4c49b17d3296fc5632de5467f70704f3dd5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/98cda4c49b17d3296fc5632de5467f70704f3dd5/ExtMethDlg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 2482, 743, 12, 2890, 16, 1605, 4672, 681, 28134, 273, 533, 18, 4939, 12, 2978, 16, 2611, 13, 309, 562, 12, 1711, 28134, 13, 422, 404, 30, 681, 803, 273, 589, 18, 5701, 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, 336, 2482, 743, 12, 2890, 16, 1605, 4672, 681, 28134, 273, 533, 18, 4939, 12, 2978, 16, 2611, 13, 309, 562, 12, 1711, 28134, 13, 422, 404, 30, 681, 803, 273, 589, 18, 5701, 12, 2890,...
warnings.filterwarnings("error", r"""^struct.*""", DeprecationWarning) warnings.filterwarnings("error", r""".*format requires.*""", DeprecationWarning)
warnings.filterwarnings("error", category=DeprecationWarning)
def _with_warning_restore(*args, **kw): with test.test_support.catch_warning(): # Grrr, we need this function to warn every time. Without removing # the warningregistry, running test_tarfile then test_struct would fail # on 64-bit platforms. globals = func.func_globals if '__warningregistry__' in globals: del globals[...
8688926981c4f0d3e7ba00de92d38ca6b352673a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12029/8688926981c4f0d3e7ba00de92d38ca6b352673a/test_struct.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1918, 67, 8551, 67, 13991, 30857, 1968, 16, 2826, 9987, 4672, 598, 1842, 18, 3813, 67, 13261, 18, 14683, 67, 8551, 13332, 468, 611, 523, 86, 16, 732, 1608, 333, 445, 358, 1894, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1918, 67, 8551, 67, 13991, 30857, 1968, 16, 2826, 9987, 4672, 598, 1842, 18, 3813, 67, 13261, 18, 14683, 67, 8551, 13332, 468, 611, 523, 86, 16, 732, 1608, 333, 445, 358, 1894, 36...
query1, query2 = target_obj.search([
query1, query2 = target_obj.search(cursor, user, [
def _rec_get(ids, table, parent): if not ids: return [] ids2 = table.search(cursor, user, [(parent, 'in', ids), (parent, '!=', False)], context=context) return ids + _rec_get(ids2, table, parent)
390d2c04977dc7aff4747746069d323e015fd97d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9266/390d2c04977dc7aff4747746069d323e015fd97d/modelsql.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3927, 67, 588, 12, 2232, 16, 1014, 16, 982, 4672, 309, 486, 3258, 30, 327, 5378, 3258, 22, 273, 1014, 18, 3072, 12, 9216, 16, 729, 16, 306, 12, 2938, 16, 296, 267, 2187, 3258, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3927, 67, 588, 12, 2232, 16, 1014, 16, 982, 4672, 309, 486, 3258, 30, 327, 5378, 3258, 22, 273, 1014, 18, 3072, 12, 9216, 16, 729, 16, 306, 12, 2938, 16, 296, 267, 2187, 3258, ...
for x in self.hints['easy']: self.do_hint("easy", x[0], x[1]) for x in self.hints["force-hint"]: self.do_hint("force-hint", x[0], x[1])
if not self.options.actions: for x in self.hints['easy']: self.do_hint("easy", x[0], x[1]) for x in self.hints["force-hint"]: self.do_hint("force-hint", x[0], x[1])
def upgrade_testing(self): """Upgrade testing using the unstable packages
d5362ad8a66b3cf545afb782387a1c2c01d551e2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/d5362ad8a66b3cf545afb782387a1c2c01d551e2/britney.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8400, 67, 3813, 310, 12, 2890, 4672, 3536, 10784, 7769, 1450, 326, 640, 15021, 5907, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 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, 8400, 67, 3813, 310, 12, 2890, 4672, 3536, 10784, 7769, 1450, 326, 640, 15021, 5907, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
iter = self.children.firstIter() while iter != self.children.lastIter(): yield iter.value() iter.forward()
return iter(self.children)
def iterchildren(self): iter = self.children.firstIter() while iter != self.children.lastIter(): yield iter.value() iter.forward()
0e48e4375e9b1f72312268de61ceb963e31ceab3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12354/0e48e4375e9b1f72312268de61ceb963e31ceab3/tablemodel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1400, 5906, 12, 2890, 4672, 1400, 273, 365, 18, 5906, 18, 3645, 2360, 1435, 1323, 1400, 480, 365, 18, 5906, 18, 2722, 2360, 13332, 2824, 1400, 18, 1132, 1435, 1400, 18, 11565, 1435, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1400, 5906, 12, 2890, 4672, 1400, 273, 365, 18, 5906, 18, 3645, 2360, 1435, 1323, 1400, 480, 365, 18, 5906, 18, 2722, 2360, 13332, 2824, 1400, 18, 1132, 1435, 1400, 18, 11565, 1435, 2, ...
re_format = re.compile('%\(([A-Za-z0-9]+)\)')
re_format = re.compile(r'%\(([A-Za-z0-9]+)\)') re_sub = re.compile(r'[\\\*\?\"\<\>\|]+')
def split(self): if self.skip_splitting: return None re_format = re.compile('%\(([A-Za-z0-9]+)\)')
7d4beffa462d433461418693912ab266d7401e5e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13688/7d4beffa462d433461418693912ab266d7401e5e/m4b.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1416, 12, 2890, 4672, 309, 365, 18, 7457, 67, 4939, 1787, 30, 327, 599, 225, 283, 67, 2139, 273, 283, 18, 11100, 29909, 30351, 3816, 37, 17, 15948, 17, 94, 20, 17, 29, 16004, 2506, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1416, 12, 2890, 4672, 309, 365, 18, 7457, 67, 4939, 1787, 30, 327, 599, 225, 283, 67, 2139, 273, 283, 18, 11100, 29909, 30351, 3816, 37, 17, 15948, 17, 94, 20, 17, 29, 16004, 2506, 1...
v.StartCapture()
lastid = 0
def record(v, filename, audiofilename): import thread x, y = gl.getsize() vout = VFile.VoutFile().init(filename) vout.format = 'rgb8' vout.width = x vout.height = y vout.writeheader() buffer = [] thread.start_new_thread(saveframes, (vout, buffer)) if audiofilename: initaudio(audiofilename, buffer) gl.wintitle('(rec) ' ...
62f6bc8e55ef2d0e226b1c3ad7b9aca58407ab7a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/62f6bc8e55ef2d0e226b1c3ad7b9aca58407ab7a/Vrec.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1409, 12, 90, 16, 1544, 16, 20232, 77, 792, 2550, 4672, 1930, 2650, 619, 16, 677, 273, 5118, 18, 588, 1467, 1435, 331, 659, 273, 776, 812, 18, 58, 659, 812, 7675, 2738, 12, 3459, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1409, 12, 90, 16, 1544, 16, 20232, 77, 792, 2550, 4672, 1930, 2650, 619, 16, 677, 273, 5118, 18, 588, 1467, 1435, 331, 659, 273, 776, 812, 18, 58, 659, 812, 7675, 2738, 12, 3459, 13,...
items.append(RecordingItem(parent=parent, channel=p.channel, start=p.start, stop=p.stop))
items.append(ProgramItem(scheduled, self.parent))
def get_items(self, parent): items = [] rec = tvserver.recordings.list() for p in rec: scheduled = tvserver.recordings.get(p.channel, p.start, p.stop) if scheduled and not scheduled.status in ('deleted', 'missed'): items.append(RecordingItem(parent=parent, channel=p.channel, start=p.start, stop=p.stop))
b0175fd8c4e0f36e533ae4cc3f93ef65bbe09967 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11399/b0175fd8c4e0f36e533ae4cc3f93ef65bbe09967/scheduled.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 3319, 12, 2890, 16, 982, 4672, 1516, 273, 5378, 1950, 273, 13521, 3567, 18, 3366, 899, 18, 1098, 1435, 364, 293, 316, 1950, 30, 9755, 273, 13521, 3567, 18, 3366, 899, 18, 588,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 3319, 12, 2890, 16, 982, 4672, 1516, 273, 5378, 1950, 273, 13521, 3567, 18, 3366, 899, 18, 1098, 1435, 364, 293, 316, 1950, 30, 9755, 273, 13521, 3567, 18, 3366, 899, 18, 588,...
path = self._getMockPath()
def _getMockEnvironment(self): path = self._getMockPath() env = os.environ.copy() if not env.has_key('PYTHONPATH'): env['PYTHONPATH'] = path else: env['PYTHONPATH'] += os.pathsep + path return env
385bb0fcea4b2de5eb215b831ad577f7f549b7e0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/385bb0fcea4b2de5eb215b831ad577f7f549b7e0/test_output.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 9865, 5494, 12, 2890, 4672, 1550, 273, 1140, 18, 28684, 18, 3530, 1435, 309, 486, 1550, 18, 5332, 67, 856, 2668, 16235, 20131, 4211, 11, 4672, 1550, 3292, 16235, 20131, 4211, 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, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 9865, 5494, 12, 2890, 4672, 1550, 273, 1140, 18, 28684, 18, 3530, 1435, 309, 486, 1550, 18, 5332, 67, 856, 2668, 16235, 20131, 4211, 11, 4672, 1550, 3292, 16235, 20131, 4211, 3...
for key, val in special_keys.items():
for key, val in tuple(special_keys.items()):
def parse_keybinding(obj): """ Translate a keybinding to a sequence of integers Example: lol<CR> => (108, 111, 108, 10) """ assert isinstance(obj, (tuple, int, str)) if isinstance(obj, tuple): for char in obj: yield char elif isinstance(obj, int): yield obj elif isinstance(obj, str): in_brackets = False bracket_co...
72c70a2df45b957fee8c755e8bc953e4126dd2fb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5729/72c70a2df45b957fee8c755e8bc953e4126dd2fb/keybinding_parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 856, 7374, 12, 2603, 4672, 3536, 16820, 279, 498, 7374, 358, 279, 3102, 434, 12321, 225, 5090, 30, 328, 355, 32, 5093, 34, 282, 516, 282, 261, 21770, 16, 16344, 16, 23515, 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, 1109, 67, 856, 7374, 12, 2603, 4672, 3536, 16820, 279, 498, 7374, 358, 279, 3102, 434, 12321, 225, 5090, 30, 328, 355, 32, 5093, 34, 282, 516, 282, 261, 21770, 16, 16344, 16, 23515, 16...
return self.send_at("AT%%IPSYS=%d" % ICERA_ALLOWED_DICT[mode],
return self.send_at("AT%%IPSYS=%d" % self.custom.allowed_dict[mode],
def set_allowed_mode_cb(orig=None): self.device.set_property(consts.NET_INTFACE, "AllowedMode", mode) return orig
0f84d56ef6244b753df0676d75539bdf56d157f1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12036/0f84d56ef6244b753df0676d75539bdf56d157f1/icera.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 8151, 67, 3188, 67, 7358, 12, 4949, 33, 7036, 4672, 365, 18, 5964, 18, 542, 67, 4468, 12, 10248, 87, 18, 14843, 67, 3217, 11300, 16, 315, 5042, 2309, 3113, 1965, 13, 327, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 8151, 67, 3188, 67, 7358, 12, 4949, 33, 7036, 4672, 365, 18, 5964, 18, 542, 67, 4468, 12, 10248, 87, 18, 14843, 67, 3217, 11300, 16, 315, 5042, 2309, 3113, 1965, 13, 327, 16...
""" Return a canonical representation of path in the repos. """
"""Return a canonical representation of path in the repos."""
def normalize_path(self, path): """ Return a canonical representation of path in the repos. """ return NotImplementedError
0091f73d9ddb2e28de9da1a025ba0c0cfaf2b458 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/0091f73d9ddb2e28de9da1a025ba0c0cfaf2b458/api.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3883, 67, 803, 12, 2890, 16, 589, 4672, 3536, 990, 279, 7378, 4335, 434, 589, 316, 326, 13686, 12123, 327, 11206, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3883, 67, 803, 12, 2890, 16, 589, 4672, 3536, 990, 279, 7378, 4335, 434, 589, 316, 326, 13686, 12123, 327, 11206, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
g_mutex.acquire()
def run(self): running = 1 while running: message = self.client.recv(self.size) if message: f = open(self.address[0], 'w') message = '<p><strong>' + self.address[0] + '</strong>: ' + message + '</p>\n' f.write(message) f.close()
aac66149c7f7124331b709f2373f2618c3c2e307 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/228/aac66149c7f7124331b709f2373f2618c3c2e307/server.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 3549, 273, 404, 1323, 3549, 30, 883, 273, 365, 18, 2625, 18, 18334, 12, 2890, 18, 1467, 13, 309, 883, 30, 284, 273, 1696, 12, 2890, 18, 2867, 63, 20, 6487, 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, 1086, 12, 2890, 4672, 3549, 273, 404, 1323, 3549, 30, 883, 273, 365, 18, 2625, 18, 18334, 12, 2890, 18, 1467, 13, 309, 883, 30, 284, 273, 1696, 12, 2890, 18, 2867, 63, 20, 6487, 296,...
maya.cmds.menu( menu, edit=True, postMenuCommand = lambda : __postMenu( menu, definition ) )
maya.cmds.menu( menu, edit=True, postMenuCommand = IECore.curry( __postMenu, menu, definition ) )
def createMenu( definition, parent, label="", insertAfter=None, radialPosition=None, button = 3 ) : menu = None if maya.cmds.window( parent, query=True, exists=True ) : # parent is a window - we're sticking it in the menubar menu = maya.cmds.menu( label=label, parent=parent, tearOff=True ) elif maya.cmds.menu( parent,...
6036f0068292833f1e58c5abaf993d60a806bec9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9042/6036f0068292833f1e58c5abaf993d60a806bec9/createMenu.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 4599, 12, 2379, 16, 982, 16, 1433, 1546, 3113, 2243, 4436, 33, 7036, 16, 27884, 2555, 33, 7036, 16, 3568, 273, 890, 262, 294, 225, 3824, 273, 599, 309, 2026, 69, 18, 24680, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 4599, 12, 2379, 16, 982, 16, 1433, 1546, 3113, 2243, 4436, 33, 7036, 16, 27884, 2555, 33, 7036, 16, 3568, 273, 890, 262, 294, 225, 3824, 273, 599, 309, 2026, 69, 18, 24680, 18, ...
This keyword reads the specified file and returns only lines matching the `pattern`. `encoding` defines the encoding of the file. By default, the value is 'UTF-8', which means that UTF-8 and ASCII-encoded files are read correctly. `pattern_type` defines how the given pattern is interpreted as explained below. `pattern...
This keyword reads the specified file and returns only lines matching the `pattern`. `encoding` specifies the encoding of the file the same way as with `Get File` keyword. `pattern_type` defines how the given pattern is interpreted as explained below. `pattern_type` argument is case-insensitive and may contain other t...
def grep_file(self, path, pattern, pattern_type='literal string', encoding='UTF-8'): """Returns the contents of a specified file grepped using `pattern`. This keyword reads the specified file and returns only lines matching the `pattern`. `encoding` defines the encoding of the file. By default, the value is 'UTF-8', w...
6f8bd1e5c5b0db8d92d174d89dc27677542321fb /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7408/6f8bd1e5c5b0db8d92d174d89dc27677542321fb/OperatingSystem.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23366, 67, 768, 12, 2890, 16, 589, 16, 1936, 16, 1936, 67, 723, 2218, 13107, 533, 2187, 2688, 2218, 5159, 17, 28, 11, 4672, 3536, 1356, 326, 2939, 434, 279, 1269, 585, 23366, 1845, 145...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23366, 67, 768, 12, 2890, 16, 589, 16, 1936, 16, 1936, 67, 723, 2218, 13107, 533, 2187, 2688, 2218, 5159, 17, 28, 11, 4672, 3536, 1356, 326, 2939, 434, 279, 1269, 585, 23366, 1845, 145...
self.l_arm_angles = l_arm_angles self.l_arm_efforts = l_arm_efforts
self.arm_angles[1] = arm_angles[1] self.arm_efforts[1] = arm_efforts[1]
def joint_states_cb(self, data): r_arm_angles = [] r_arm_efforts = [] l_arm_angles = [] l_arm_efforts = [] r_jt_idx_list = [17, 18, 16, 20, 19, 21, 22] l_jt_idx_list = [31, 32, 30, 34, 33, 35, 36] for i,nm in enumerate(self.joint_nm_list): idx = r_jt_idx_list[i] if data.name[idx] != 'r_'+nm+'_joint': raise RuntimeError...
3a682eff0bfca2c49f435a978c645b4e046ad110 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8117/3a682eff0bfca2c49f435a978c645b4e046ad110/simple_arm_trajectories.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15916, 67, 7992, 67, 7358, 12, 2890, 16, 501, 4672, 436, 67, 4610, 67, 12356, 273, 5378, 436, 67, 4610, 67, 17098, 499, 87, 273, 5378, 328, 67, 4610, 67, 12356, 273, 5378, 328, 67, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15916, 67, 7992, 67, 7358, 12, 2890, 16, 501, 4672, 436, 67, 4610, 67, 12356, 273, 5378, 436, 67, 4610, 67, 17098, 499, 87, 273, 5378, 328, 67, 4610, 67, 12356, 273, 5378, 328, 67, 4...
x = 1.0 / wavelen * 10000.0
nm_to_micron = 1/1000.0 x = 1.0 / (wavelen * nm_to_micron)
def setupCCMab(self, wavelen=None): """Calculate a(x) and b(x) for CCM dust model. (x=1/wavelen). Returns a(x) and b(x) can be common to many seds, wavelen is the same. """ # This extinction law taken from Cardelli, Clayton and Mathis ApJ 1989. # The general form is A_l / A(V) = a(x) + b(x)/R_V (where x=1/lambda in m...
fe3b601823c6a418c550ad220bad597f52e218ef /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/91/fe3b601823c6a418c550ad220bad597f52e218ef/Sed.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 6743, 49, 378, 12, 2890, 16, 341, 7882, 275, 33, 7036, 4672, 3536, 8695, 279, 12, 92, 13, 471, 324, 12, 92, 13, 364, 385, 9611, 302, 641, 938, 18, 261, 92, 33, 21, 19, 91, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 6743, 49, 378, 12, 2890, 16, 341, 7882, 275, 33, 7036, 4672, 3536, 8695, 279, 12, 92, 13, 471, 324, 12, 92, 13, 364, 385, 9611, 302, 641, 938, 18, 261, 92, 33, 21, 19, 91, ...
self._p_changed = 1 util.redirect(RESPONSE, 'atse_editor',
self._schemas[schema_id] = S util.redirect(RESPONSE, schema_template,
def atse_fieldMoveLeft(self, schema_id, name, RESPONSE=None): """ move a field of a schemata to the left""" S = self.atse_getSchemaById(schema_id) S.moveField(name, -1) self._p_changed = 1 util.redirect(RESPONSE, 'atse_editor', self.translate('atse_field_moved_up', default='Field moved up'), schemata=S[name].schemata, ...
9b0c0ef734f88dbdf55f2ae8fbea0706d81ca338 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1807/9b0c0ef734f88dbdf55f2ae8fbea0706d81ca338/SchemaEditor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 622, 307, 67, 1518, 7607, 3910, 12, 2890, 16, 1963, 67, 350, 16, 508, 16, 20645, 33, 7036, 4672, 3536, 3635, 279, 652, 434, 279, 30140, 396, 358, 326, 2002, 8395, 348, 273, 365, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 622, 307, 67, 1518, 7607, 3910, 12, 2890, 16, 1963, 67, 350, 16, 508, 16, 20645, 33, 7036, 4672, 3536, 3635, 279, 652, 434, 279, 30140, 396, 358, 326, 2002, 8395, 348, 273, 365, 18, ...
print >>self.stdout, """alias [name [command [parameter parameter ...] ]]
print >>self.stdout, """alias [name [command [parameter parameter ...]]]
def help_alias(self): print >>self.stdout, """alias [name [command [parameter parameter ...] ]]
f856eefea3958fc4346d1e2b34b70f05aa053bdc /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8125/f856eefea3958fc4346d1e2b34b70f05aa053bdc/pdb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2809, 67, 4930, 12, 2890, 4672, 1172, 1671, 2890, 18, 10283, 16, 3536, 4930, 306, 529, 306, 3076, 306, 6775, 1569, 1372, 65, 12011, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2809, 67, 4930, 12, 2890, 4672, 1172, 1671, 2890, 18, 10283, 16, 3536, 4930, 306, 529, 306, 3076, 306, 6775, 1569, 1372, 65, 12011, 2, -100, -100, -100, -100, -100, -100, -100, -100, -10...
return Inf
return _Inf
def ln(self, context=None): """Returns the natural (base e) logarithm of self."""
ebab68ad25421add045049bc0a87fbe7000ec3f7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12029/ebab68ad25421add045049bc0a87fbe7000ec3f7/decimal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7211, 12, 2890, 16, 819, 33, 7036, 4672, 3536, 1356, 326, 15145, 261, 1969, 425, 13, 613, 31249, 434, 365, 12123, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7211, 12, 2890, 16, 819, 33, 7036, 4672, 3536, 1356, 326, 15145, 261, 1969, 425, 13, 613, 31249, 434, 365, 12123, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
return interfaces.ActiveStatus return interfaces.InactiveStatus
return ActiveStatus return InactiveStatus
def __get__(self, inst, klass): registration = inst if registration is None: return self
7e5cbe1942b8f9364be5de8c9301955e1d09f59d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9537/7e5cbe1942b8f9364be5de8c9301955e1d09f59d/back35.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 972, 12, 2890, 16, 1804, 16, 7352, 4672, 7914, 273, 1804, 309, 7914, 353, 599, 30, 327, 365, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 972, 12, 2890, 16, 1804, 16, 7352, 4672, 7914, 273, 1804, 309, 7914, 353, 599, 30, 327, 365, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
except UnboundLocalError:
except NameError:
def inner(): return y
26bf803ab2e93ea2b3170492061f2248a8e6559d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/26bf803ab2e93ea2b3170492061f2248a8e6559d/test_scope.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3443, 13332, 327, 677, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 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, 3443, 13332, 327, 677, 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, ...
self.string = list(string)
self.index = 0 self.string = string
def __init__(self, string):
b42c811cba34ab2f6d1db22aed5bc7f0dab153bb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/b42c811cba34ab2f6d1db22aed5bc7f0dab153bb/sre_parse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 533, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 533, 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,...
elif arch == "i386":
elif arch == "i386\n":
def GetVersion(Key): # # Only read the file if an environment variable is "missing" (they # usually all are, ok), and only read it once. # #print("WriteVariablesIntoEnvironment:3") Value = Versions.get(Key) if Value: return Value # # CM3VERSION d5.7.1 # CM3VERSIONNUM 050701 # CM3LASTCHANGED 2009-01-21 # RegExp = re.com...
b6421bbe23f654b6e3c65b2ac6c03d22cdb6498d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9328/b6421bbe23f654b6e3c65b2ac6c03d22cdb6498d/pylib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 1444, 12, 653, 4672, 468, 468, 5098, 855, 326, 585, 309, 392, 3330, 2190, 353, 315, 7337, 6, 261, 451, 402, 468, 11234, 777, 854, 16, 1529, 3631, 471, 1338, 855, 518, 3647, 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, 968, 1444, 12, 653, 4672, 468, 468, 5098, 855, 326, 585, 309, 392, 3330, 2190, 353, 315, 7337, 6, 261, 451, 402, 468, 11234, 777, 854, 16, 1529, 3631, 471, 1338, 855, 518, 3647, 18, ...
xmlconfig = XMLConfigParser(join(abspath(dirname(__file__)),"module","config","core.xml"))
xmlconfig = XMLConfigParser(join(abspath(dirname(__file__)),"module","config","core.xml"), join(abspath(dirname(__file__)),"module","config","core_default.xml"))
def white(string): return "\033[1;37m" + string + "\033[0m"
fbee6325c4079768f330b51fa125411c8ab2967b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9838/fbee6325c4079768f330b51fa125411c8ab2967b/pyLoadCli.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9578, 12, 1080, 4672, 327, 1548, 15265, 63, 21, 31, 6418, 81, 6, 397, 533, 397, 1548, 15265, 63, 20, 81, 6, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9578, 12, 1080, 4672, 327, 1548, 15265, 63, 21, 31, 6418, 81, 6, 397, 533, 397, 1548, 15265, 63, 20, 81, 6, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
0x0404: "zh_TW", 0x0804: "zh_CN",
0x0436: "af_ZA", 0x041c: "sq_AL", 0x0401: "ar_SA", 0x0801: "ar_IQ", 0x0c01: "ar_EG", 0x1001: "ar_LY", 0x1401: "ar_DZ", 0x1801: "ar_MA", 0x1c01: "ar_TN", 0x2001: "ar_OM", 0x2401: "ar_YE", 0x2801: "ar_SY", 0x2c01: "ar_JO", 0x3001: "ar_LB", 0x3401: "ar_KW", 0x3801: "ar_AE", 0x3c01: "ar_BH", 0x4001: "ar_QA", 0x042b: "hy_AM...
def getpreferredencoding(do_setlocale = True): """Return the charset that the user is likely using, according to the system configuration.""" if do_setlocale: oldloc = setlocale(LC_CTYPE) setlocale(LC_CTYPE, "") result = nl_langinfo(CODESET) setlocale(LC_CTYPE, oldloc) return result else: return nl_langinfo(CODESET)
494d0666bbd1c51595495abf757828b8dafb2dd7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/494d0666bbd1c51595495abf757828b8dafb2dd7/locale.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 23616, 5999, 12, 2896, 67, 542, 6339, 273, 1053, 4672, 3536, 990, 326, 4856, 716, 326, 729, 353, 10374, 1450, 16, 4888, 358, 326, 2619, 1664, 12123, 309, 741, 67, 542, 6339, 30, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 23616, 5999, 12, 2896, 67, 542, 6339, 273, 1053, 4672, 3536, 990, 326, 4856, 716, 326, 729, 353, 10374, 1450, 16, 4888, 358, 326, 2619, 1664, 12123, 309, 741, 67, 542, 6339, 30, 1...
_v03 and '_my_state' or '_state',
_noInstanceState and '_my_state' or '_state',
def __delattr__( klas, attrname): 'deleting attributes of the klas comes here - try restore the StaticType' try: st = klas.StaticType[ attrname] except KeyError: _Base.__metaclass__.__delattr__( klas, attrname) else: setattr( klas, attrname, st)
11b821f504d2225414d6487ef5b3b2c61c246af6 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10808/11b821f504d2225414d6487ef5b3b2c61c246af6/sa2static.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 3771, 1747, 972, 12, 417, 9521, 16, 1604, 529, 4672, 296, 19003, 310, 1677, 434, 326, 417, 9521, 14535, 2674, 300, 775, 5217, 326, 10901, 559, 11, 775, 30, 384, 273, 417, 9521, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3771, 1747, 972, 12, 417, 9521, 16, 1604, 529, 4672, 296, 19003, 310, 1677, 434, 326, 417, 9521, 14535, 2674, 300, 775, 5217, 326, 10901, 559, 11, 775, 30, 384, 273, 417, 9521, 1...
autotexts.append( t )
autotexts.append( t )
def pie( self, explode = None, colors = None, autopct = None, pctdistance = 0.6, shadow = False ):
e1fab6a8b4522a8c8de872b610947c90d87e201a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/e1fab6a8b4522a8c8de872b610947c90d87e201a/PieGraph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 293, 1385, 12, 365, 16, 3172, 273, 599, 16, 5740, 273, 599, 16, 2059, 556, 299, 273, 599, 16, 19857, 8969, 273, 374, 18, 26, 16, 10510, 273, 1083, 262, 30, 2, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 293, 1385, 12, 365, 16, 3172, 273, 599, 16, 5740, 273, 599, 16, 2059, 556, 299, 273, 599, 16, 19857, 8969, 273, 374, 18, 26, 16, 10510, 273, 1083, 262, 30, 2, -100, -100, -100, -100,...
list3 = []
def exclusion_list(): prelist = [] load_pages() for page, path in exclusion_file_list(): f = codecs.open(path, "r", 'utf-8') data = f.read() f.close() # wikipedia:en:Wikipedia:Mirrors and forks prelist += re.findall("(?i)url\s*=\s*<nowiki>(?:http://)?(.*?)</nowiki>", data) prelist += re.findall("(?i)\*\s*Site:\s*\[?(?:...
3beea3ddf6e89467781f05f3ad781372015c8411 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4404/3beea3ddf6e89467781f05f3ad781372015c8411/copyright.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21244, 67, 1098, 13332, 675, 1098, 273, 5378, 1262, 67, 7267, 1435, 364, 1363, 16, 589, 316, 21244, 67, 768, 67, 1098, 13332, 284, 273, 17437, 18, 3190, 12, 803, 16, 315, 86, 3113, 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, 21244, 67, 1098, 13332, 675, 1098, 273, 5378, 1262, 67, 7267, 1435, 364, 1363, 16, 589, 316, 21244, 67, 768, 67, 1098, 13332, 284, 273, 17437, 18, 3190, 12, 803, 16, 315, 86, 3113, 296...
menu.append((_('Reveal File'), lambda : app.widgetapp.open_file(item.video_path)))
def play_and_stop(): app.playback_manager.start_with_items([item])
e96486d64407d2add2a6b90d5f642752ae931928 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12354/e96486d64407d2add2a6b90d5f642752ae931928/itemcontextmenu.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6599, 67, 464, 67, 5681, 13332, 595, 18, 1601, 823, 67, 4181, 18, 1937, 67, 1918, 67, 3319, 3816, 1726, 5717, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6599, 67, 464, 67, 5681, 13332, 595, 18, 1601, 823, 67, 4181, 18, 1937, 67, 1918, 67, 3319, 3816, 1726, 5717, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
"""Given a reference line, attepmt to locate instances of citation
"""Given a reference line, attempt to locate instances of citation
def standardize_and_markup_numeration_of_citations_in_line(line): """Given a reference line, attepmt to locate instances of citation 'numeration' in the line. Upon finding some numeration, re-arrange it into a standard order, and mark it up with tags. Will process numeration in the following order: Delete the colon and...
4f63bfe58dc96cfe23ab0f0c42cbb2980b2e7a6e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12027/4f63bfe58dc96cfe23ab0f0c42cbb2980b2e7a6e/refextract.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4529, 554, 67, 464, 67, 15056, 67, 2107, 7067, 67, 792, 67, 71, 18282, 67, 267, 67, 1369, 12, 1369, 4672, 3536, 6083, 279, 2114, 980, 16, 4395, 358, 10627, 3884, 434, 21145, 296, 2107,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4529, 554, 67, 464, 67, 15056, 67, 2107, 7067, 67, 792, 67, 71, 18282, 67, 267, 67, 1369, 12, 1369, 4672, 3536, 6083, 279, 2114, 980, 16, 4395, 358, 10627, 3884, 434, 21145, 296, 2107,...
return "(%s%s %s)" % (n.value, props(), o(n[0],i,c))
return "(%s%s %s)" % (n.value.upper(), props(), o(n[0],i,c))
def props(): if c["include_props"]: props_to_include = [x for x in ("lineno", "start", "end", "readOnly") if hasattr(n, x)] if len(props_to_include) > 0: s = " (@" for prop in props_to_include: s += " (%s %s)" % (prop, getattr(n, prop)) return s +")" return ""
df699fbcef0551b57fbcf593691a41515ef3b880 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4710/df699fbcef0551b57fbcf593691a41515ef3b880/sexp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3458, 13332, 309, 276, 9614, 6702, 67, 9693, 11929, 30, 3458, 67, 869, 67, 6702, 273, 306, 92, 364, 619, 316, 7566, 17782, 3113, 315, 1937, 3113, 315, 409, 3113, 315, 896, 3386, 7923, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3458, 13332, 309, 276, 9614, 6702, 67, 9693, 11929, 30, 3458, 67, 869, 67, 6702, 273, 306, 92, 364, 619, 316, 7566, 17782, 3113, 315, 1937, 3113, 315, 409, 3113, 315, 896, 3386, 7923, ...
self.ids.append(gutils.trim(element,'<a href="view.php?page=film&fid=','">')) self.titles.append(gutils.trim(element,">","</a>"))
elementid = gutils.digits_only( gutils.trim(element,'<a href="view.php?page=film&fid=','">') ) if elementid != 0: self.ids.append(elementid) self.titles.append(gutils.trim(element,">","</a>"))
def get_searches(self): elements = string.split(self.page,"<br>")
6dd280707e2a1c5e8b7fb4161976b0c377d92880 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2687/6dd280707e2a1c5e8b7fb4161976b0c377d92880/PluginMovieOFDb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 3072, 281, 12, 2890, 4672, 2186, 273, 533, 18, 4939, 12, 2890, 18, 2433, 10837, 32, 2848, 2984, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 3072, 281, 12, 2890, 4672, 2186, 273, 533, 18, 4939, 12, 2890, 18, 2433, 10837, 32, 2848, 2984, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
indexer.update([change.object], after_index, transaction, flush)
indexer.update([change.object], after_index, use_transaction, flush)
def after_index(obj): if verbose: sys.stdout.write('.') sys.stdout.flush()
8cabc0f58df244c2ca465778c8dcf121434fc38d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4645/8cabc0f58df244c2ca465778c8dcf121434fc38d/index.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1839, 67, 1615, 12, 2603, 4672, 309, 3988, 30, 2589, 18, 10283, 18, 2626, 2668, 1093, 13, 2589, 18, 10283, 18, 11330, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1839, 67, 1615, 12, 2603, 4672, 309, 3988, 30, 2589, 18, 10283, 18, 2626, 2668, 1093, 13, 2589, 18, 10283, 18, 11330, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
7/2 1/2 3 4/3 2.82842712475 1
(7/2) (1/2) 3 (4/3) 2.82842712475 1
def test(): '''\ Test function for rat module. The expected output is (module some differences in floating precission): -1 -1 0 0L 0.1 (0.1+0j) [Rat(1,2), Rat(-3,10), Rat(1,25), Rat(1,4)] [Rat(-3,10), Rat(1,25), Rat(1,4), Rat(1,2)] 0 11/10 11/10 1.1 OK 2 1.5 3/2 (1.5+1.5j) 15707963/5000000 2 2 2.0 (2+0j) 4 0 4 1 4 0 ...
22442234d27ccf460643cc9f5ef327c3f778d61e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/22442234d27ccf460643cc9f5ef327c3f778d61e/Rat.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 13332, 875, 8314, 7766, 445, 364, 15183, 1605, 18, 225, 1021, 2665, 876, 353, 261, 2978, 2690, 16440, 316, 13861, 13382, 19710, 4672, 300, 21, 300, 21, 374, 374, 48, 374, 18, 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, 13332, 875, 8314, 7766, 445, 364, 15183, 1605, 18, 225, 1021, 2665, 876, 353, 261, 2978, 2690, 16440, 316, 13861, 13382, 19710, 4672, 300, 21, 300, 21, 374, 374, 48, 374, 18, 21, ...
leveltuple = (1, 0, 2, 3, 4,)
leveltuple = (1, 0, 2, 3,)
def do(self): f = self.doDownload() # FIXME: we should probably read in the patch directly now # that we aren't just applying in a pipeline
0e2a9a8e7528449814094d5a1e4efcb437729517 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8747/0e2a9a8e7528449814094d5a1e4efcb437729517/source.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 12, 2890, 4672, 284, 273, 365, 18, 2896, 7109, 1435, 468, 9852, 30, 732, 1410, 8656, 855, 316, 326, 4729, 5122, 2037, 468, 716, 732, 11526, 1404, 2537, 13650, 316, 279, 5873, 2, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 12, 2890, 4672, 284, 273, 365, 18, 2896, 7109, 1435, 468, 9852, 30, 732, 1410, 8656, 855, 316, 326, 4729, 5122, 2037, 468, 716, 732, 11526, 1404, 2537, 13650, 316, 279, 5873, 2, -...
self.downloads.append(d)
self.get_downloads().append(d)
def add_download(self, d): max_queued = int(self.get_setting('max_queued', 0)) if max_queued and (len(self.downloads) >= max_queued): raise Exception('Too many downloads queued (see "max_queued" config var)')
a1911aafcb90976a58220f7b22d873526957c643 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12636/a1911aafcb90976a58220f7b22d873526957c643/manager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 7813, 12, 2890, 16, 302, 4672, 943, 67, 19499, 273, 509, 12, 2890, 18, 588, 67, 8920, 2668, 1896, 67, 19499, 2187, 374, 3719, 309, 943, 67, 19499, 471, 261, 1897, 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, 527, 67, 7813, 12, 2890, 16, 302, 4672, 943, 67, 19499, 273, 509, 12, 2890, 18, 588, 67, 8920, 2668, 1896, 67, 19499, 2187, 374, 3719, 309, 943, 67, 19499, 471, 261, 1897, 12, 2890, ...
prefs = PimpPreferences() prefs.check()
prefs = PimpPreferences(**prefargs) rv = prefs.check() if rv: sys.stdout.write(rv)
def _run(mode, verbose, force, args): """Engine for the main program""" prefs = PimpPreferences() prefs.check() db = PimpDatabase(prefs) db.appendURL(prefs.pimpDatabase) if mode == 'dump': db.dump(sys.stdout) elif mode =='list': if not args: args = db.listnames() print "%-20.20s\t%s" % ("Package", "Description") prin...
f8bf4615a43803c5eb5e55f9fb649d1cfda0a270 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/f8bf4615a43803c5eb5e55f9fb649d1cfda0a270/pimp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2681, 12, 3188, 16, 3988, 16, 2944, 16, 833, 4672, 3536, 4410, 364, 326, 2774, 5402, 8395, 225, 15503, 273, 453, 14532, 12377, 12, 636, 25724, 1968, 13, 5633, 273, 15503, 18, 1893, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2681, 12, 3188, 16, 3988, 16, 2944, 16, 833, 4672, 3536, 4410, 364, 326, 2774, 5402, 8395, 225, 15503, 273, 453, 14532, 12377, 12, 636, 25724, 1968, 13, 5633, 273, 15503, 18, 1893, ...
errors.append(StructuringError(estr, heading_token))
errors.append(StructuringError(estr, heading_token.startline))
def _add_section(doc, heading_token, stack, indent_stack, errors, warnings): """Add a new section to the DOM tree, with the given heading.""" if indent_stack[-1] == None: indent_stack[-1] = heading_token.indent elif indent_stack[-1] != heading_token.indent: estr = "Improper heading indentation." errors.append(Structuri...
7bf7c136593a0f12e906094a55f7b8f591c5abaf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/7bf7c136593a0f12e906094a55f7b8f591c5abaf/epytext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1289, 67, 3464, 12, 2434, 16, 11053, 67, 2316, 16, 2110, 16, 3504, 67, 3772, 16, 1334, 16, 5599, 4672, 3536, 986, 279, 394, 2442, 358, 326, 4703, 2151, 16, 598, 326, 864, 11053, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1289, 67, 3464, 12, 2434, 16, 11053, 67, 2316, 16, 2110, 16, 3504, 67, 3772, 16, 1334, 16, 5599, 4672, 3536, 986, 279, 394, 2442, 358, 326, 4703, 2151, 16, 598, 326, 864, 11053, ...
a = self.dispatch['return'](self.cur[-2], t)
a = self.dispatch['return'](self, self.cur[-2], t)
def simulate_cmd_complete(self): t = self.get_time() - self.t while self.cur[-1]: # We *can* cause assertion errors here if # dispatch_trace_return checks for a frame match! a = self.dispatch['return'](self.cur[-2], t) t = 0 self.t = self.get_time() - t
e5b78a4bafbe2eee27f64fd9f04f745a2a189bd3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/e5b78a4bafbe2eee27f64fd9f04f745a2a189bd3/profile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20089, 67, 4172, 67, 6226, 12, 2890, 4672, 268, 273, 365, 18, 588, 67, 957, 1435, 300, 365, 18, 88, 1323, 365, 18, 1397, 18919, 21, 14542, 468, 1660, 380, 4169, 14, 4620, 11240, 1334, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20089, 67, 4172, 67, 6226, 12, 2890, 4672, 268, 273, 365, 18, 588, 67, 957, 1435, 300, 365, 18, 88, 1323, 365, 18, 1397, 18919, 21, 14542, 468, 1660, 380, 4169, 14, 4620, 11240, 1334, ...
if isinstance(s, None):
if s is None:
def form_argument(self, x): if x.shape(): # Get symmetry mapping if any e = x.element() s = None if isinstance(e, TensorElement): s = e.symmetry() if isinstance(s, None): s = {} # Map component throught the symmetry mapping c = self.component() c = s.get(c, c) return x[c] return x
418382bf7ecf558be0f2c4a19e3050538d2396cf /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/624/418382bf7ecf558be0f2c4a19e3050538d2396cf/transformations.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 646, 67, 3446, 12, 2890, 16, 619, 4672, 309, 619, 18, 4867, 13332, 468, 968, 26144, 2874, 309, 1281, 425, 273, 619, 18, 2956, 1435, 272, 273, 599, 309, 1549, 12, 73, 16, 13422, 1046, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 646, 67, 3446, 12, 2890, 16, 619, 4672, 309, 619, 18, 4867, 13332, 468, 968, 26144, 2874, 309, 1281, 425, 273, 619, 18, 2956, 1435, 272, 273, 599, 309, 1549, 12, 73, 16, 13422, 1046, ...
box = (xd, y_diff, x, (y-y_diff))
box = (int(xd), int(y_diff), int(x), int(y-y_diff))
def create_size(self, photosize): if self.size_exists(photosize): return if not os.path.isdir(self.cache_path()): os.makedirs(self.cache_path()) try: im = Image.open(self.get_image_filename()) except IOError: return if im.size == photosize.size(): shutil.copy(self.get_image_filename(), self._get_SIZE_path(photosize)) r...
ea960d93c117c05d566049c4805cfbfaedb62662 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10711/ea960d93c117c05d566049c4805cfbfaedb62662/models.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 1467, 12, 2890, 16, 18185, 554, 4672, 309, 365, 18, 1467, 67, 1808, 12, 29121, 554, 4672, 327, 309, 486, 1140, 18, 803, 18, 291, 1214, 12, 2890, 18, 2493, 67, 803, 1435, 467...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 1467, 12, 2890, 16, 18185, 554, 4672, 309, 365, 18, 1467, 67, 1808, 12, 29121, 554, 4672, 327, 309, 486, 1140, 18, 803, 18, 291, 1214, 12, 2890, 18, 2493, 67, 803, 1435, 467...
""" Tear down test fixtures """
""" Tear down test fixtures. """
def tearDown(self): """ Tear down test fixtures """ scaffold.mock_restore()
33a5bfc655a6417210c5c80d9f942714bf596533 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4939/33a5bfc655a6417210c5c80d9f942714bf596533/test_daemon.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 268, 2091, 4164, 12, 2890, 4672, 3536, 399, 2091, 2588, 1842, 23302, 18, 3536, 20992, 18, 22851, 67, 13991, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 268, 2091, 4164, 12, 2890, 4672, 3536, 399, 2091, 2588, 1842, 23302, 18, 3536, 20992, 18, 22851, 67, 13991, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
roles = [local_roles_map[name], roles_map[pseudoperm]]
roles = (local_roles_map[name],) + roles_map[pseudoperm]
def makeCMFWikiPage(id, title, file): ob = CMFWikiPage(file, __name__=id) ob.title = title ob.parents = [] username = getSecurityManager().getUser().getUserName() ob.manage_addLocalRoles(username, ['Owner']) ob.setSubOwner('both') initPageMetadata(ob) for name, perm in ob._perms.items(): pseudoperm = default_perms[name...
2262b1426eb2bef7e8d92c63a8c506f11ee616d3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1843/2262b1426eb2bef7e8d92c63a8c506f11ee616d3/CMFWikiPage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 9611, 42, 25438, 1964, 12, 350, 16, 2077, 16, 585, 4672, 3768, 273, 385, 13542, 25438, 1964, 12, 768, 16, 1001, 529, 972, 33, 350, 13, 3768, 18, 2649, 273, 2077, 3768, 18, 12606,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 9611, 42, 25438, 1964, 12, 350, 16, 2077, 16, 585, 4672, 3768, 273, 385, 13542, 25438, 1964, 12, 768, 16, 1001, 529, 972, 33, 350, 13, 3768, 18, 2649, 273, 2077, 3768, 18, 12606,...
'state' : fields.selection([('pending','Pending'),('processing','Processing'),('done','Done')], 'Status', readonly=True),
'state' : fields.selection([('Running','running'),('Error','error')], 'Status', readonly=True),
def _customer_gender_code(self, cr, uid, ids, name, args, context={}): result ={} for id in ids: code="" cust_gender = self.browse(cr,uid,[id])[0] if cust_gender.lang_id: if not cust_gender.from_gender_id: code='_'.join([cust_gender.lang_id.code, cust_gender.to_gender_id.name]) else: code='_'.join([cust_gender.lang_id....
855146a0c52e9d6cd07e948188c68b011482b7f1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7339/855146a0c52e9d6cd07e948188c68b011482b7f1/customer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 10061, 67, 27638, 67, 710, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 508, 16, 833, 16, 819, 12938, 4672, 563, 273, 2916, 364, 612, 316, 3258, 30, 981, 1546, 6, 276, 641, 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, 389, 10061, 67, 27638, 67, 710, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 508, 16, 833, 16, 819, 12938, 4672, 563, 273, 2916, 364, 612, 316, 3258, 30, 981, 1546, 6, 276, 641, 67, ...
except IOError: print "Warning: can't open %path" %path
except IOError, msg: print "!! Warning: can't open %s \n\t" %path, msg return None
def _get_raw_desc(self, pac, to_get):
1a2369be258ddb63fcc038c54dfe2023cfd38aa1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2654/1a2369be258ddb63fcc038c54dfe2023cfd38aa1/pacman.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 1899, 67, 5569, 12, 2890, 16, 293, 1077, 16, 358, 67, 588, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 1899, 67, 5569, 12, 2890, 16, 293, 1077, 16, 358, 67, 588, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Rational cuspidal subgroup with invariants [3, 3, 9] over QQ of Jacobian of the modular curve associated to the congruence subgroup Gamma0(54)
Rational cuspidal subgroup with invariants [3, 3, 9] over QQ of Abelian variety J0(54) of dimension 4
def rational_cuspidal_subgroup(self): """ Return the subgroup of this modular abelian variety generated by rational cusps.
62147d82541f9aed0900f78cd10df5f262f228f5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/62147d82541f9aed0900f78cd10df5f262f228f5/abvar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 436, 8371, 67, 71, 407, 6610, 287, 67, 1717, 1655, 12, 2890, 4672, 3536, 2000, 326, 720, 1655, 434, 333, 681, 2490, 1223, 292, 2779, 1394, 14369, 4374, 635, 436, 8371, 27964, 1121, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 436, 8371, 67, 71, 407, 6610, 287, 67, 1717, 1655, 12, 2890, 4672, 3536, 2000, 326, 720, 1655, 434, 333, 681, 2490, 1223, 292, 2779, 1394, 14369, 4374, 635, 436, 8371, 27964, 1121, 18, ...
elif collection[2] == 'Extras Packages for Enterprise Linux':
elif collection[1] == 'Fedora EPEL':
def set_branch_info(self): '''Set the branch information. All the branches we setup need to have branch information added. ''' self.dbCmd.execute("select id, name, version from collection") collections = {} for collection in self.dbCmd.fetchall(): cid = collection[0] collections[cid] = {'id' : cid} if collection[1] ==...
207a9ae6fdfc28643d37feaf12c85459e5d63192 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9953/207a9ae6fdfc28643d37feaf12c85459e5d63192/pkgdb-import.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 7500, 67, 1376, 12, 2890, 4672, 9163, 694, 326, 3803, 1779, 18, 225, 4826, 326, 11483, 732, 3875, 1608, 358, 1240, 3803, 1779, 3096, 18, 9163, 365, 18, 1966, 5931, 18, 8837, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 7500, 67, 1376, 12, 2890, 4672, 9163, 694, 326, 3803, 1779, 18, 225, 4826, 326, 11483, 732, 3875, 1608, 358, 1240, 3803, 1779, 3096, 18, 9163, 365, 18, 1966, 5931, 18, 8837, 2...
def __init__(self, serviceref, begin, end, name, description, eit, disabled = False, justplay = False, afterEvent = AFTEREVENT.NONE, checkOldTimers = False):
def __init__(self, serviceref, begin, end, name, description, eit, disabled = False, justplay = False, afterEvent = AFTEREVENT.NONE, checkOldTimers = False, dirname = None):
def __init__(self, serviceref, begin, end, name, description, eit, disabled = False, justplay = False, afterEvent = AFTEREVENT.NONE, checkOldTimers = False): timer.TimerEntry.__init__(self, int(begin), int(end))
bc937acb188ea59ced7d67ceaa91f2598db39ab9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6652/bc937acb188ea59ced7d67ceaa91f2598db39ab9/RecordTimer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 24658, 822, 74, 16, 2376, 16, 679, 16, 508, 16, 2477, 16, 425, 305, 16, 5673, 273, 1083, 16, 2537, 1601, 273, 1083, 16, 1839, 1133, 273, 18651, 10454, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24658, 822, 74, 16, 2376, 16, 679, 16, 508, 16, 2477, 16, 425, 305, 16, 5673, 273, 1083, 16, 2537, 1601, 273, 1083, 16, 1839, 1133, 273, 18651, 10454, ...
swig_opts = ['-O', '-templatereduce', '-shadow', '-python', '-c++', '-keyword', '-nodefaultctor'],
swig_opts = ['-O', '-shadow', '-c++', '-keyword',],
def setRank(off, dad): 'The rank of offspring can increase or drop to zero randomly' off.rank = (dad.rank + randint(-1, 1)) % 3
53b36487bc2c5932f3f9daab36bff5e28167df6f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/401/53b36487bc2c5932f3f9daab36bff5e28167df6f/userGuide.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12925, 12, 3674, 16, 302, 361, 4672, 296, 1986, 6171, 434, 21174, 11638, 848, 10929, 578, 3640, 358, 3634, 20153, 11, 3397, 18, 11500, 273, 261, 72, 361, 18, 11500, 397, 16783, 1923...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 444, 12925, 12, 3674, 16, 302, 361, 4672, 296, 1986, 6171, 434, 21174, 11638, 848, 10929, 578, 3640, 358, 3634, 20153, 11, 3397, 18, 11500, 273, 261, 72, 361, 18, 11500, 397, 16783, 1923...
return True if (self.can_write) : self.mcl_state_machine.send_raw_message(testmsg(self.sent[self.counter])) self.bclock.acquire() self.can_write = False self.bclock.release() return True
else: msg = testmsg(self.sent[self.counter]) print "Sending ", repr(msg) self.mcl_sm.send_raw_message(msg) return False
def write_cb(self, socket, *args): #print "CAN WRITE" if ( self.counter >= len(testmsg(self.sent)) ): self.stop_session() return True
58de439d6e74c4b1556bf0b35da03b7a41012af1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8028/58de439d6e74c4b1556bf0b35da03b7a41012af1/test1_client.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 7358, 12, 2890, 16, 2987, 16, 380, 1968, 4672, 468, 1188, 315, 39, 1258, 20967, 6, 309, 261, 365, 18, 7476, 1545, 562, 12, 3813, 3576, 12, 2890, 18, 7569, 3719, 262, 30, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 7358, 12, 2890, 16, 2987, 16, 380, 1968, 4672, 468, 1188, 315, 39, 1258, 20967, 6, 309, 261, 365, 18, 7476, 1545, 562, 12, 3813, 3576, 12, 2890, 18, 7569, 3719, 262, 30, 36...
try: sys.stdout = myrepl sys.stderr = myrepl def start(main_loop, user_data): if exec_args: bpargs.exec_code(interpreter, exec_args) if not options.interactive: raise urwid.ExitMainLoop() if not exec_args: sys.path.insert(0, '') filename = os.environ.get('PYTHONSTARTUP') if filename and os.path.isfile(filen...
def run_with_screen_before_mainloop(): try: sys.stdin = None sys.stdout = myrepl sys.stderr = myrepl loop.set_alarm_in(0, start) while True: try: loop.run() except KeyboardInterrupt: loop.set_alarm_in( 0, lambda *args: myrepl.keyboard_interrupt()) continue break if config.hist_length: histfilename = os...
def sigint(*args): reactor.callFromThread(myrepl.keyboard_interrupt)
f48c1504d501e57d21f2c601a6e28dfa8fb82495 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6932/f48c1504d501e57d21f2c601a6e28dfa8fb82495/urwid.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3553, 474, 30857, 1968, 4672, 19178, 18, 1991, 1265, 3830, 12, 4811, 26745, 18, 31486, 67, 31847, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3553, 474, 30857, 1968, 4672, 19178, 18, 1991, 1265, 3830, 12, 4811, 26745, 18, 31486, 67, 31847, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
strandPairsToBond.append((new_endBaseAtomList[2],
strandPairsToBond.append((new_endBaseAtomList[2],
def _fuse_new_dna_with_original_duplex(self, new_endBaseAtomList, endBaseAtomList): """ Fuse the new dna strand (and axxis) end atom to the original dna TODO: method needs to be renamed The original dna may be a single stranded dna or a duplex. Until 2008-04-02 ,it was possible to create or modify only a duplex and th...
2937dd0cfe13ce5cba6560a12fe467c224444ffe /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/2937dd0cfe13ce5cba6560a12fe467c224444ffe/DnaDuplex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 74, 1202, 67, 2704, 67, 5176, 69, 67, 1918, 67, 8830, 67, 72, 2268, 92, 12, 2890, 16, 394, 67, 409, 2171, 3641, 682, 16, 679, 2171, 3641, 682, 4672, 3536, 478, 1202, 326, 394, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 74, 1202, 67, 2704, 67, 5176, 69, 67, 1918, 67, 8830, 67, 72, 2268, 92, 12, 2890, 16, 394, 67, 409, 2171, 3641, 682, 16, 679, 2171, 3641, 682, 4672, 3536, 478, 1202, 326, 394, ...
newCEs = len(getCEs)
newCEs = len(getCEs['Value'])
def __checkCEsForJob(self,job,jdlFile): """ Method to check number of suitable CEs for job and prevent Pilot submission for jobs with no available CEs. Wraps around list-match command. """ minimumCEs = 1 #this will only catch jobs that the RB cannot schedule noCEsAvailable = self.jobsWithoutCEs submitFlag = True
18fd1e57f42b37f01a480912af20ec9774a20781 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/18fd1e57f42b37f01a480912af20ec9774a20781/gLitePilotDirector.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1893, 1441, 28388, 2278, 12, 2890, 16, 4688, 16, 78, 5761, 812, 4672, 3536, 2985, 358, 866, 1300, 434, 10631, 385, 6705, 364, 1719, 471, 5309, 453, 22797, 8515, 364, 6550, 598, 115...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1893, 1441, 28388, 2278, 12, 2890, 16, 4688, 16, 78, 5761, 812, 4672, 3536, 2985, 358, 866, 1300, 434, 10631, 385, 6705, 364, 1719, 471, 5309, 453, 22797, 8515, 364, 6550, 598, 115...
self.decode(data)
self.decode(data,password)
def __init__(self,data=None,app=None,name=None,title=None,password=None): ''' @param data: (Optional) See decode() @param app: (Optional) Set Application-Name @param name: (Optional) Set Notification-Name @param title: (Optional) Set Notification Title @param password: (Optional) Password to use while encoding/decodin...
c4f20dffc1daebaba9ed74c0bd3f71f2414a12b7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13176/c4f20dffc1daebaba9ed74c0bd3f71f2414a12b7/gntp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 892, 33, 7036, 16, 2910, 33, 7036, 16, 529, 33, 7036, 16, 2649, 33, 7036, 16, 3664, 33, 7036, 4672, 9163, 225, 632, 891, 501, 30, 261, 6542, 13, 2164, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 892, 33, 7036, 16, 2910, 33, 7036, 16, 529, 33, 7036, 16, 2649, 33, 7036, 16, 3664, 33, 7036, 4672, 9163, 225, 632, 891, 501, 30, 261, 6542, 13, 2164, ...
self._get_index_items(see, link, index)
self._get_term_index_items(see, link, index)
def _extract_index(self): """ @return: A dictionary mapping from terms to lists of source documents. @rtype: C{dictionary} """ index = {} for (uid, doc) in self._docmap.items(): if (not self._show_private) and self._is_private(`uid`): continue if uid.is_function(): link = Link(`uid`, uid.module()) elif uid.is_method()...
7e1af2abc702612461ceeb001b4b551d49cb71d3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/7e1af2abc702612461ceeb001b4b551d49cb71d3/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8004, 67, 1615, 12, 2890, 4672, 3536, 632, 2463, 30, 432, 3880, 2874, 628, 6548, 358, 6035, 434, 1084, 7429, 18, 632, 86, 723, 30, 385, 95, 15556, 97, 3536, 770, 273, 2618, 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, 389, 8004, 67, 1615, 12, 2890, 4672, 3536, 632, 2463, 30, 432, 3880, 2874, 628, 6548, 358, 6035, 434, 1084, 7429, 18, 632, 86, 723, 30, 385, 95, 15556, 97, 3536, 770, 273, 2618, 364, ...
pixmaps = discover_data_files('pixmaps', 'xpm') icons = discover_data_files('icons', 'svg') uis = discover_data_files('glade', 'glade')
def main(): """The main script.""" packages = find_packages('pida'), services = find_entry_points('services', 'Service') plugins = find_entry_points('plugins', 'Plugin') editors = find_entry_points('editors', 'Service') pixmaps = discover_data_files('pixmaps', 'xpm') icons = discover_data_files('icons', 'svg') uis = di...
c91661c576e86a666c2ae751f01948cc2bc38373 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2233/c91661c576e86a666c2ae751f01948cc2bc38373/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 3536, 1986, 2774, 2728, 12123, 5907, 273, 1104, 67, 10308, 2668, 6610, 69, 19899, 4028, 273, 1104, 67, 4099, 67, 4139, 2668, 8387, 2187, 296, 1179, 6134, 4799, 273, 1104, 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, 2774, 13332, 3536, 1986, 2774, 2728, 12123, 5907, 273, 1104, 67, 10308, 2668, 6610, 69, 19899, 4028, 273, 1104, 67, 4099, 67, 4139, 2668, 8387, 2187, 296, 1179, 6134, 4799, 273, 1104, 67, ...
for fmt in ('B', 'H', 'I', 'L', 'b', 'h', 'i', 'l'):
for fmt in ('B', 'H', 'I', 'L', 'Q', 'b', 'h', 'i', 'l', 'q'):
def XXXtest_1530559(self): # XXX This is broken: see the bug report # SF bug 1530559. struct.pack raises TypeError where it used to convert. for endian in ('', '>', '<'): for fmt in ('B', 'H', 'I', 'L', 'b', 'h', 'i', 'l'): self.check_float_coerce(endian + fmt, 1.0) self.check_float_coerce(endian + fmt, 1.5)
463dc4bf26c37c5f90cfe9328087976a0bdc5757 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8546/463dc4bf26c37c5f90cfe9328087976a0bdc5757/test_struct.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11329, 3813, 67, 3600, 5082, 2539, 29, 12, 2890, 4672, 468, 11329, 1220, 353, 12933, 30, 2621, 326, 7934, 2605, 468, 21318, 7934, 4711, 5082, 2539, 29, 18, 1958, 18, 2920, 14183, 3580, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11329, 3813, 67, 3600, 5082, 2539, 29, 12, 2890, 4672, 468, 11329, 1220, 353, 12933, 30, 2621, 326, 7934, 2605, 468, 21318, 7934, 4711, 5082, 2539, 29, 18, 1958, 18, 2920, 14183, 3580, 1...
_write_long(36 + self._datawritten)
_write_long(self._file, 36 + self._datawritten)
def _patchheader(self): if self._datawritten == self._datalength: return curpos = self._file.tell() self._file.seek(self._form_length_pos, 0) _write_long(36 + self._datawritten) self._file.seek(self._data_length_pos, 0) _write_long(self._file, self._datawritten) self._file.seek(curpos, 0) self._datalength = self._dataw...
33577efee6ad54c8566f8cd66b5129fe1856c135 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/33577efee6ad54c8566f8cd66b5129fe1856c135/wave.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2272, 3374, 12, 2890, 4672, 309, 365, 6315, 892, 9748, 422, 365, 6315, 72, 3145, 1288, 30, 327, 662, 917, 273, 365, 6315, 768, 18, 88, 1165, 1435, 365, 6315, 768, 18, 16508, 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, 2272, 3374, 12, 2890, 4672, 309, 365, 6315, 892, 9748, 422, 365, 6315, 72, 3145, 1288, 30, 327, 662, 917, 273, 365, 6315, 768, 18, 88, 1165, 1435, 365, 6315, 768, 18, 16508, 12, ...
- ``pdflatex`` - bool (optional, default False): whether to use pdflatex.
- ``engine`` - string: latex engine to use.
def _run_latex_(filename, debug=False, density=150, pdflatex=None, png=False, do_in_background=False): """ This runs LaTeX on the TeX file "filename.tex". It produces files "filename.dvi" (or "filename.pdf"` if ``pdflatex`` is ``True``) and if ``png`` is True, "filename.png". If ``png`` is True and dvipng can't conve...
f861246ed3920cddfa7558f769e8b83392788530 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/f861246ed3920cddfa7558f769e8b83392788530/latex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2681, 67, 26264, 67, 12, 3459, 16, 1198, 33, 8381, 16, 12142, 33, 23014, 16, 8169, 26264, 33, 7036, 16, 14476, 33, 8381, 16, 741, 67, 267, 67, 9342, 33, 8381, 4672, 3536, 1220, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2681, 67, 26264, 67, 12, 3459, 16, 1198, 33, 8381, 16, 12142, 33, 23014, 16, 8169, 26264, 33, 7036, 16, 14476, 33, 8381, 16, 741, 67, 267, 67, 9342, 33, 8381, 4672, 3536, 1220, ...
:Parameters: kpts : (n1,n2,n3) or [k1,k2,k3,...] or one of these
Parameters: kpts: (n1,n2,n3) or [k1,k2,k3,...] or one of these
def set_kpts(self, kpts): ''' set the kpt grid.
3d3ba6582bced478d5fcb8a3fcd5ebe6c3da70bd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1380/3d3ba6582bced478d5fcb8a3fcd5ebe6c3da70bd/jacapo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 79, 1092, 12, 2890, 16, 417, 1092, 4672, 9163, 444, 326, 417, 337, 3068, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 79, 1092, 12, 2890, 16, 417, 1092, 4672, 9163, 444, 326, 417, 337, 3068, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pixbuf = gcompris.utils.load_pixmap("draw/down.png"),
pixbuf = gcompris.utils.load_pixmap(gcompris.skin.image_to_skin("draw/down.png")),
def draw_playing_area(self):
71d2a5f1e776d1abf498b3c50bbff69637e75673 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11306/71d2a5f1e776d1abf498b3c50bbff69637e75673/anim.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 67, 1601, 310, 67, 5036, 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,...
[ 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, 3724, 67, 1601, 310, 67, 5036, 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, ...
emitted_ids = 0 while pending_ids and emitted_ids < 100:
while pending_ids:
def get(self): if ChromeFrameMe(self): return lookup_id = self.request.path[6:] results = [] pending_ids = [lookup_id] needed_ids = set([lookup_id]) emitted_ids = 0 while pending_ids and emitted_ids < 100: # Pick one. id = pending_ids[0] pending_ids = pending_ids[1:] # Fetch it. w = Word.get(id) if w: # Collect each wo...
0c84d023adea3c40a625ba9babebfa0e54e91be7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3507/0c84d023adea3c40a625ba9babebfa0e54e91be7/iconforth.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 12, 2890, 4672, 309, 15159, 3219, 4667, 12, 2890, 4672, 327, 3689, 67, 350, 273, 365, 18, 2293, 18, 803, 63, 26, 26894, 1686, 273, 5378, 4634, 67, 2232, 273, 306, 8664, 67, 350, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 2890, 4672, 309, 15159, 3219, 4667, 12, 2890, 4672, 327, 3689, 67, 350, 273, 365, 18, 2293, 18, 803, 63, 26, 26894, 1686, 273, 5378, 4634, 67, 2232, 273, 306, 8664, 67, 350, ...
""" RESTRICTS GRAND MEA Subtracts D-variable cell-mean for each between- subj group, and then adds back each D-variable's grand mean. """ errors = subtr_cellmeans(workd,subjslots) grandDmeans = expand_dims(mean(workd,0),0) errors = errors + transpose(grandDmeans) sserr = multivar_SScalc(errors) return sserr
""" RESTRICTS GRAND MEA Subtracts D-variable cell-mean for each between- subj group, and then adds back each D-variable's grand mean. """ errors = subtr_cellmeans(workd,subjslots) grandDmeans = expand_dims(mean(workd,0),0) errors = errors + transpose(grandDmeans) sserr = multivar_SScalc(errors) return sserr
def d_restrict_mean(workd,subjslots): """ RESTRICTS GRAND MEA Subtracts D-variable cell-mean for each between-
3bb739baad4fb4f21aa19b39fbb10f6aa5c1a041 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/3bb739baad4fb4f21aa19b39fbb10f6aa5c1a041/stats.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 302, 67, 30604, 67, 7079, 12, 1252, 72, 16, 1717, 78, 18875, 4672, 3536, 8392, 2259, 1268, 55, 15228, 4307, 7733, 37, 225, 2592, 1575, 87, 463, 17, 6105, 2484, 17, 7079, 364, 1517, 308...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 302, 67, 30604, 67, 7079, 12, 1252, 72, 16, 1717, 78, 18875, 4672, 3536, 8392, 2259, 1268, 55, 15228, 4307, 7733, 37, 225, 2592, 1575, 87, 463, 17, 6105, 2484, 17, 7079, 364, 1517, 308...
return result
return result def copy(self, cr, uid, id, default=None, context={}): return super(crm_case, self).copy(cr, uid, str2int(id), default, context)
def read(self, cr, uid, ids, fields=None, context={}, load='_classic_read'): """ logic for recurrent event example : 123-20091111170822""" if context and context.has_key('read'): return super(crm_case, self).read(cr, uid, ids, fields=fields, context=context, load=load) if not type(ids) == list : # Called from c...
6ef425eb9ba53031aed0c6d62efd20dc99d4dc99 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/6ef425eb9ba53031aed0c6d62efd20dc99d4dc99/crm_calendar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 1466, 33, 7036, 16, 819, 28793, 1262, 2218, 67, 1106, 335, 67, 896, 11, 4672, 3536, 540, 4058, 364, 283, 2972, 871, 3454, 294, 17335, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 1466, 33, 7036, 16, 819, 28793, 1262, 2218, 67, 1106, 335, 67, 896, 11, 4672, 3536, 540, 4058, 364, 283, 2972, 871, 3454, 294, 17335, ...
blanks = " "
blanks = " "
def create_disulfides(self, disulfide_distance_cutoff, model_indices, conformer_indices, log=None): if (model_indices is not None): model_indices = model_indices.select(self.cystein_sulphur_i_seqs) conformer_indices = conformer_indices.select(self.cystein_sulphur_i_seqs) asu_mappings = self.special_position_settings.as...
643f9d42b1262696c028c68646f1bea763cc85e6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/696/643f9d42b1262696c028c68646f1bea763cc85e6/pdb_interpretation.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 2251, 332, 74, 4369, 12, 2890, 16, 1015, 332, 74, 831, 67, 8969, 67, 16131, 16, 938, 67, 6836, 16, 356, 7208, 67, 6836, 16, 613, 33, 7036, 4672, 309, 261, 2284, 67, 6836, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 2251, 332, 74, 4369, 12, 2890, 16, 1015, 332, 74, 831, 67, 8969, 67, 16131, 16, 938, 67, 6836, 16, 356, 7208, 67, 6836, 16, 613, 33, 7036, 4672, 309, 261, 2284, 67, 6836, ...
this = apply(_quickfix.new_TargetStrategyParameters, args)
this = _quickfix.new_TargetStrategyParameters(*args)
def __init__(self, *args): this = apply(_quickfix.new_TargetStrategyParameters, args) try: self.this.append(this) except: self.this = this
7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 2326, 4525, 2402, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 2326, 4525, 2402, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, ...
def nextURL(self, clear=True):
def nextURL(self, clear=False):
def nextURL(self, clear=True): request = self.request
ce1e5f4ff30975b3a849e11656a87b174b71ed79 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12537/ce1e5f4ff30975b3a849e11656a87b174b71ed79/login.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1024, 1785, 12, 2890, 16, 2424, 33, 8381, 4672, 590, 273, 365, 18, 2293, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1024, 1785, 12, 2890, 16, 2424, 33, 8381, 4672, 590, 273, 365, 18, 2293, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...