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
companion = self.getAttributeAspect(name, 'companion', default=None) value = PersistentDict(self, companion, **value) self._values[name] = value
if _attrDict is self._references: if old is None: self._references[name] = refDict = self._refDict(name) else: assert isinstance(old, RefDict) refDict = old refDict.extend(value.values()) value = refDict else: companion = self.getAttributeAspect(name, 'companion', default=None) value = PersistentDict(self, companion, *...
def setAttributeValue(self, name, value=None, _attrDict=None): """Create and/or set a Chandler attribute.
e62b6a3cdab80066ef904a2975408a2b23d78c13 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/e62b6a3cdab80066ef904a2975408a2b23d78c13/Item.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4730, 620, 12, 2890, 16, 508, 16, 460, 33, 7036, 16, 389, 1747, 5014, 33, 7036, 4672, 3536, 1684, 471, 19, 280, 444, 279, 1680, 464, 749, 1566, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4730, 620, 12, 2890, 16, 508, 16, 460, 33, 7036, 16, 389, 1747, 5014, 33, 7036, 4672, 3536, 1684, 471, 19, 280, 444, 279, 1680, 464, 749, 1566, 18, 2, -100, -100, -100, -100, -100, -...
ValueError: Fractional ideal (1/984*a^7 - 71/1968*a^5 + 29/984*a^3 + 527/328*a) is not prime
ValueError: Fractional ideal (...) is not prime
def decomposition_group(self, P): """ Decomposition group of a prime ideal P, i.e. the subgroup of elements that map P to itself. This is the same as the Galois group of the extension of local fields obtained by completing at P.
743f5dfd4af92cd4b2a0d46de2b46d233c22e26f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/743f5dfd4af92cd4b2a0d46de2b46d233c22e26f/galois_group.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26288, 67, 1655, 12, 2890, 16, 453, 4672, 3536, 26824, 3276, 1041, 434, 279, 17014, 23349, 453, 16, 277, 18, 73, 18, 326, 720, 1655, 434, 2186, 716, 852, 453, 358, 6174, 18, 1220, 353,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26288, 67, 1655, 12, 2890, 16, 453, 4672, 3536, 26824, 3276, 1041, 434, 279, 17014, 23349, 453, 16, 277, 18, 73, 18, 326, 720, 1655, 434, 2186, 716, 852, 453, 358, 6174, 18, 1220, 353,...
self.code_text = ''
self.code_buf = []
def handle_code_block(self, line): if line.strip() == WikiParser.STARTBLOCK: self.in_code_block += 1 if self.in_code_block == 1: self.code_processor = None self.code_text = '' else: self.code_text += line + os.linesep if not self.code_processor: self.code_processor = WikiProcessor(self, 'default') elif line.strip() == ...
9a6750c9bdc9bed440215156b80bec21e78a557d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9317/9a6750c9bdc9bed440215156b80bec21e78a557d/formatter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 710, 67, 2629, 12, 2890, 16, 980, 4672, 309, 980, 18, 6406, 1435, 422, 28268, 2678, 18, 7570, 11403, 30, 365, 18, 267, 67, 710, 67, 2629, 1011, 404, 309, 365, 18, 267, 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, 1640, 67, 710, 67, 2629, 12, 2890, 16, 980, 4672, 309, 980, 18, 6406, 1435, 422, 28268, 2678, 18, 7570, 11403, 30, 365, 18, 267, 67, 710, 67, 2629, 1011, 404, 309, 365, 18, 267, 67, ...
if not rep_err:
if rep_err:
def handle_exception(exc_info, conf, error_stream, html=True): """ You can also use exception handling outside of a web context, like:: import sys import paste import paste.error_middleware try: do stuff except: paste.error_middleware.exception_handler( sys.exc_info(), paste.CONFIG, sys.stderr, html=False) If you wan...
beac3eee9ed01229f5184744f0679de8d699c789 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11400/beac3eee9ed01229f5184744f0679de8d699c789/errormiddleware.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 4064, 12, 10075, 67, 1376, 16, 2195, 16, 555, 67, 3256, 16, 1729, 33, 5510, 4672, 3536, 4554, 848, 2546, 999, 1520, 5057, 8220, 434, 279, 3311, 819, 16, 3007, 2866, 225, 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, 1640, 67, 4064, 12, 10075, 67, 1376, 16, 2195, 16, 555, 67, 3256, 16, 1729, 33, 5510, 4672, 3536, 4554, 848, 2546, 999, 1520, 5057, 8220, 434, 279, 3311, 819, 16, 3007, 2866, 225, 1930...
pos=wxPoint(8, 75), size=wxSize(72, 16), style=0)
pos=wxPoint(8, 92), size=wxSize(80, 16), style=0)
def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi...
aac0471ac41eaa175cbaa05604248123746b2b22 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/aac0471ac41eaa175cbaa05604248123746b2b22/STCStyleEditor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2738, 67, 16277, 87, 12, 2890, 16, 846, 496, 4672, 468, 4374, 707, 16, 2727, 1404, 3874, 7075, 6353, 16186, 2738, 972, 12, 2890, 16, 612, 33, 27226, 734, 67, 882, 39, 15066, 10776...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2738, 67, 16277, 87, 12, 2890, 16, 846, 496, 4672, 468, 4374, 707, 16, 2727, 1404, 3874, 7075, 6353, 16186, 2738, 972, 12, 2890, 16, 612, 33, 27226, 734, 67, 882, 39, 15066, 10776...
def gettabname(self, window_name, object_name, tabIndex):
raise LdtpServerException('Page tab name does not exist') def selecttabindex(self, window_name, object_name, tab_index): ''' Type string sequence. @param window_name: Window name to type in, either full name, LDTP's name convention, or a Unix glob. @type window_name: string @param object_name: Object name to type in,...
def gettabname(self, window_name, object_name, tabIndex): ''' Get tab name @param window_name: Window name to type in, either full name, LDTP's name convention, or a Unix glob. @type window_name: string @param object_name: Object name to type in, either full name, LDTP's name convention, or a Unix glob. @type object_n...
83617d8487727f73e1f8d80c238422530d2813fd /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11266/83617d8487727f73e1f8d80c238422530d2813fd/core.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1002, 511, 72, 6834, 21003, 2668, 1964, 3246, 508, 1552, 486, 1005, 6134, 225, 1652, 2027, 7032, 1615, 12, 2890, 16, 2742, 67, 529, 16, 733, 67, 529, 16, 3246, 67, 1615, 4672, 9163, 1412, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1002, 511, 72, 6834, 21003, 2668, 1964, 3246, 508, 1552, 486, 1005, 6134, 225, 1652, 2027, 7032, 1615, 12, 2890, 16, 2742, 67, 529, 16, 733, 67, 529, 16, 3246, 67, 1615, 4672, 9163, 1412, 53...
totlines = self.pool.get('account.payment.term').compute(cr, uid, inv.payment_term.id, total)
totlines = self.pool.get('account.payment.term').compute(cr, uid, inv.payment_term.id, total) if totlines:
def action_move_create(self, cr, uid, ids, *args): ait_obj = self.pool.get('account.invoice.tax') cur_obj = self.pool.get('res.currency') for inv in self.browse(cr, uid, ids): if inv.move_id: continue if inv.type in ('in_invoice', 'in_refund') and abs(inv.check_total - inv.amount_total) >= (inv.currency_id.rounding/2.0...
fbbb656988bc25c9f90a37ca047514df1fab7447 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7397/fbbb656988bc25c9f90a37ca047514df1fab7447/invoice.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1301, 67, 8501, 67, 2640, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 380, 1968, 4672, 279, 305, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, 16119, 18, 8066, 6134, 662, 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, 1301, 67, 8501, 67, 2640, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 380, 1968, 4672, 279, 305, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, 16119, 18, 8066, 6134, 662, 67...
anchor = DottedName(*vardoc.canonical_name[mname_len:])
anchor = DottedName(*api_doc.canonical_name[mname_len:])
def pysrc_url(self, vardoc): if isinstance(vardoc, ModuleDoc): if vardoc.filename in (None, UNKNOWN): return None else: return ('%s-module-pysrc.html' % urllib.quote('%s' % vardoc.canonical_name)) else: module = self.docindex.module_that_defines(vardoc) if module: mname_len = len(module.canonical_name) anchor = DottedN...
3b9e871da71d71174bfb9c4ab3e0bae8dd2a5a2a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/3b9e871da71d71174bfb9c4ab3e0bae8dd2a5a2a/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21027, 1310, 67, 718, 12, 2890, 16, 569, 2434, 4672, 309, 1549, 12, 90, 1060, 504, 16, 5924, 1759, 4672, 309, 569, 2434, 18, 3459, 316, 261, 7036, 16, 13598, 4672, 327, 599, 469, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21027, 1310, 67, 718, 12, 2890, 16, 569, 2434, 4672, 309, 1549, 12, 90, 1060, 504, 16, 5924, 1759, 4672, 309, 569, 2434, 18, 3459, 316, 261, 7036, 16, 13598, 4672, 327, 599, 469, 30, ...
my['Bugs older than two days'] = mysite.search.models.Bug.all_bugs.filter(
my['Bugs last polled more than two days ago'] = mysite.search.models.Bug.all_bugs.filter(
def meta(request): data = {} data['dia_diagnostics'] = {} # temp variable for shortness my = data['dia_diagnostics'] my['Uncompleted DIAs'] = mysite.profile.models.DataImportAttempt.objects.filter( completed=False).count() one_minute_ago = (datetime.datetime.now() - datetime.timedelta(minutes=1)) my['Uncompleted DI...
d85cc34aa9f527eebf02bcf4d3e5b8c20d612c21 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11976/d85cc34aa9f527eebf02bcf4d3e5b8c20d612c21/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2191, 12, 2293, 4672, 501, 273, 2618, 501, 3292, 72, 1155, 67, 12264, 13936, 3546, 273, 2618, 225, 468, 1906, 2190, 364, 3025, 4496, 3399, 273, 501, 3292, 72, 1155, 67, 12264, 13936, 354...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2191, 12, 2293, 4672, 501, 273, 2618, 501, 3292, 72, 1155, 67, 12264, 13936, 3546, 273, 2618, 225, 468, 1906, 2190, 364, 3025, 4496, 3399, 273, 501, 3292, 72, 1155, 67, 12264, 13936, 354...
tests_run_filename = os.path.join(self._options.results_directory, "tests_run.txt") self._tests_run_file = codecs.open(tests_run_filename, "a", "utf-8") def __del__(self): self._cleanup()
self._current_group = None self._num_tests_in_current_group = None self._current_group_start_time = None
def __init__(self, port, options, worker_number, worker_name, filename_list_queue, result_queue): """Initialize all the local state for this DumpRenderTree thread.
e504b6729ab450a70b4055619c3d2bf16926c6c7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/e504b6729ab450a70b4055619c3d2bf16926c6c7/dump_render_tree_thread.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1756, 16, 702, 16, 4322, 67, 2696, 16, 4322, 67, 529, 16, 1544, 67, 1098, 67, 4000, 16, 563, 67, 4000, 4672, 3536, 7520, 777, 326, 1191, 919, 364, 333,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1756, 16, 702, 16, 4322, 67, 2696, 16, 4322, 67, 529, 16, 1544, 67, 1098, 67, 4000, 16, 563, 67, 4000, 4672, 3536, 7520, 777, 326, 1191, 919, 364, 333,...
args = self._convertStyleAttributes(args) self._handleSimpleCellAttributes(cell, args) self._handleColWidth(args) self.curColumn += self._handleColSpan(cell, args)
self._handleSimpleCellAttributes(cell, argsdict) self._handleColWidth(argsdict) self.curColumn += self._handleColSpan(cell, argsdict)
def addCell(self, args): cell = self.doc.createElement('entry') cell.setAttribute('rowsep', '1') cell.setAttribute('colsep', '1')
1433435f169a98600ed153334470f8365d04459c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/888/1433435f169a98600ed153334470f8365d04459c/text_docbook.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 4020, 12, 2890, 16, 833, 4672, 2484, 273, 365, 18, 2434, 18, 2640, 1046, 2668, 4099, 6134, 2484, 18, 542, 1499, 2668, 492, 10814, 2187, 296, 21, 6134, 2484, 18, 542, 1499, 2668, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 4020, 12, 2890, 16, 833, 4672, 2484, 273, 365, 18, 2434, 18, 2640, 1046, 2668, 4099, 6134, 2484, 18, 542, 1499, 2668, 492, 10814, 2187, 296, 21, 6134, 2484, 18, 542, 1499, 2668, 1...
rml_dom = self.preprocess_rml(rml_dom,report_type) create_doc = self.generators[report_type]
rml_dom = self.preprocess_rml(rml_dom, mime_type) create_doc = self.generators[mime_type]
def create_single_odt(self, cr, uid, ids, data, report_xml, context=None): if not context: context={} context = context.copy() report_type = report_xml.report_type context['parents'] = sxw_parents sxw_io = StringIO.StringIO(report_xml.report_sxw_content) sxw_z = zipfile.ZipFile(sxw_io, mode='r') rml = sxw_z.read('conte...
13a43dfdc36b751cb9ed6c55169e76b48094b829 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/13a43dfdc36b751cb9ed6c55169e76b48094b829/report_sxw.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 7526, 67, 369, 88, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 501, 16, 2605, 67, 2902, 16, 819, 33, 7036, 4672, 309, 486, 819, 30, 819, 12938, 819, 273, 819, 18, 3530, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7526, 67, 369, 88, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 501, 16, 2605, 67, 2902, 16, 819, 33, 7036, 4672, 309, 486, 819, 30, 819, 12938, 819, 273, 819, 18, 3530, 14...
if markup is not None and not isString(markup):
if markup and not isString(markup):
def _matches(self, markup, matchAgainst): #print "Matching %s against %s" % (markup, matchAgainst) result = False if matchAgainst == True and type(matchAgainst) == types.BooleanType: result = markup != None elif callable(matchAgainst): result = matchAgainst(markup) else: #Custom match methods take the tag as an argumen...
7300e101f39b7a1a436c6765d140c987cbc58a45 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/4404/7300e101f39b7a1a436c6765d140c987cbc58a45/BeautifulSoup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8436, 12, 2890, 16, 9813, 16, 845, 23530, 334, 4672, 468, 1188, 315, 9517, 738, 87, 5314, 738, 87, 6, 738, 261, 15056, 16, 845, 23530, 334, 13, 563, 273, 1083, 309, 845, 23530, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8436, 12, 2890, 16, 9813, 16, 845, 23530, 334, 4672, 468, 1188, 315, 9517, 738, 87, 5314, 738, 87, 6, 738, 261, 15056, 16, 845, 23530, 334, 13, 563, 273, 1083, 309, 845, 23530, ...
Returns the Huffman tree corresponding to the current encoding
Returns the Huffman tree corresponding to the current encoding. INPUT: - None.
def tree(self): r""" Returns the Huffman tree corresponding to the current encoding
1b9c6cbddf459d54e7643b46fc74830b6a3ea80c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/1b9c6cbddf459d54e7643b46fc74830b6a3ea80c/huffman.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2151, 12, 2890, 4672, 436, 8395, 2860, 326, 670, 28581, 2151, 4656, 358, 326, 783, 2688, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2151, 12, 2890, 4672, 436, 8395, 2860, 326, 670, 28581, 2151, 4656, 358, 326, 783, 2688, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
__slots__ = ["output_fields", "names", "use_locking"]
__slots__ = OpCode.__slots__ + ["output_fields", "names", "use_locking"]
def Summary(self): """Generates a summary description of this opcode.
4f05fd3bdb49a9f1628b9915afde3c0d83367f6d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7542/4f05fd3bdb49a9f1628b9915afde3c0d83367f6d/opcodes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17967, 12, 2890, 4672, 3536, 6653, 279, 4916, 2477, 434, 333, 11396, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17967, 12, 2890, 4672, 3536, 6653, 279, 4916, 2477, 434, 333, 11396, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
results = results + \ _("This list only supports digest subscriptions!")
results += _("This list only supports digest subscriptions!")
def process_form(mlist, doc): form = cgi.FieldStorage() error = 0 results = '' # Preliminaries done, actual processing of the form input below. if form.has_key("language"): language = form["language"].value else: language = mlist.preferred_language os.environ['LANG'] = language if form.has_key("UserOptions") or \ fo...
b121e4076f4c5d170d07eefd6361b44bbafc2f9f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2120/b121e4076f4c5d170d07eefd6361b44bbafc2f9f/subscribe.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 687, 12, 781, 376, 16, 997, 4672, 646, 273, 276, 10052, 18, 974, 3245, 1435, 555, 273, 374, 1686, 273, 875, 225, 468, 453, 2878, 381, 267, 5646, 2731, 16, 3214, 4929, 434, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 687, 12, 781, 376, 16, 997, 4672, 646, 273, 276, 10052, 18, 974, 3245, 1435, 555, 273, 374, 1686, 273, 875, 225, 468, 453, 2878, 381, 267, 5646, 2731, 16, 3214, 4929, 434, ...
print "PIDF as currently defined is invalid: %s" % str(e)
self.output.put("PIDF as currently defined is invalid: %s" % str(e))
def republish(self): if self.publication is None: self.output.put("There is no PUBLISH dialog active.") try: self.publication.publish("application", "pidf+xml", self.pidf.toxml()) except BuilderError, e: print "PIDF as currently defined is invalid: %s" % str(e) except: traceback.print_exc()
ef2c702bc55b6f5d0b7511ba11a3483786719529 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3449/ef2c702bc55b6f5d0b7511ba11a3483786719529/sip_publish_presence.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2071, 2394, 12, 2890, 4672, 309, 365, 18, 28631, 353, 599, 30, 365, 18, 2844, 18, 458, 2932, 9828, 353, 1158, 23295, 13462, 6176, 2695, 1199, 13, 775, 30, 365, 18, 28631, 18, 6543, 293...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2071, 2394, 12, 2890, 4672, 309, 365, 18, 28631, 353, 599, 30, 365, 18, 2844, 18, 458, 2932, 9828, 353, 1158, 23295, 13462, 6176, 2695, 1199, 13, 775, 30, 365, 18, 28631, 18, 6543, 293...
self.model.set_value (it, column, value)
self.model.set_value(it, column, value)
def on_field_changed(self, widget, column): """Callback when the entry fields are changed.""" if isinstance(widget, gtk.Entry) or isinstance(widget, gtk.TextBuffer): value = widget.get_property("text") elif isinstance(widget, gtk.ToggleButton): value = widget.get_active() elif isinstance(widget, gtk.ComboBox): value = ...
2d5662c0dbb2949d881433d9dbffceb653671dd4 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11023/2d5662c0dbb2949d881433d9dbffceb653671dd4/postr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 1518, 67, 6703, 12, 2890, 16, 3604, 16, 1057, 4672, 3536, 2428, 1347, 326, 1241, 1466, 854, 3550, 12123, 309, 1549, 12, 6587, 16, 22718, 18, 1622, 13, 578, 1549, 12, 6587, 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, 603, 67, 1518, 67, 6703, 12, 2890, 16, 3604, 16, 1057, 4672, 3536, 2428, 1347, 326, 1241, 1466, 854, 3550, 12123, 309, 1549, 12, 6587, 16, 22718, 18, 1622, 13, 578, 1549, 12, 6587, 16,...
if IncomingCallInitializer.sessions == 0 and IncomingCallInitializer.tone_ringtone is not None: IncomingCallInitializer.tone_ringtone.stop() IncomingCallInitializer.tone_ringtone = None
if IncomingTransferHandler.sessions == 0 and IncomingTransferHandler.tone_ringtone is not None: IncomingTransferHandler.tone_ringtone.stop() IncomingTransferHandler.tone_ringtone = None
def _NH_SIPSessionDidFail(self, notification): notification_center = NotificationCenter() ui = UI() session = notification.sender notification_center.remove_observer(self, sender=session)
a5708954fdf38b67940bec40d73cfdd5517b0122 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3449/a5708954fdf38b67940bec40d73cfdd5517b0122/sip_session.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 50, 44, 67, 17739, 2157, 18250, 3754, 12, 2890, 16, 3851, 4672, 3851, 67, 5693, 273, 8050, 8449, 1435, 5915, 273, 6484, 1435, 1339, 273, 3851, 18, 15330, 3851, 67, 5693, 18, 4479, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 50, 44, 67, 17739, 2157, 18250, 3754, 12, 2890, 16, 3851, 4672, 3851, 67, 5693, 273, 8050, 8449, 1435, 5915, 273, 6484, 1435, 1339, 273, 3851, 18, 15330, 3851, 67, 5693, 18, 4479, ...
expected = f(40, -49)
expected = main(40, -49)
def main(i, j): return f(i, j) + libffi_stuff(i, j)
1ca7b7572c4e1b3f10dcbfd9b27433569ab4443b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6934/1ca7b7572c4e1b3f10dcbfd9b27433569ab4443b/test_ztranslation.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 77, 16, 525, 4672, 327, 284, 12, 77, 16, 525, 13, 397, 2561, 1403, 77, 67, 334, 3809, 12, 77, 16, 525, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2774, 12, 77, 16, 525, 4672, 327, 284, 12, 77, 16, 525, 13, 397, 2561, 1403, 77, 67, 334, 3809, 12, 77, 16, 525, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
test_id = self._testNameFromId(name) if test_id is not None: event.names[i] = test_id
testid = self._testNameFromId(name) if testid is not None: event.names[i] = testid
def loadTestsFromNames(self, event): """Implement hook.""" new_names = [] for i, name in enumerate(event.names[:]): test_id = self._testNameFromId(name) if test_id is not None: event.names[i] = test_id
b0adf035279910c631ab1cd849f77076df6b5f2e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11815/b0adf035279910c631ab1cd849f77076df6b5f2e/testid.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 14650, 1265, 1557, 12, 2890, 16, 871, 4672, 3536, 5726, 3953, 12123, 394, 67, 1973, 273, 5378, 364, 277, 16, 508, 316, 4241, 12, 2575, 18, 1973, 10531, 65, 4672, 1842, 67, 350, 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, 1262, 14650, 1265, 1557, 12, 2890, 16, 871, 4672, 3536, 5726, 3953, 12123, 394, 67, 1973, 273, 5378, 364, 277, 16, 508, 316, 4241, 12, 2575, 18, 1973, 10531, 65, 4672, 1842, 67, 350, 2...
return addinfourl(fp, headers, self.openedurl)
return addinfourl(fp, headers, "http:" + url)
def open_http(self, url, data=None): import httplib if type(url) is type(""): host, selector = splithost(url) user_passwd, host = splituser(host) realhost = host else: host, selector = url urltype, rest = splittype(selector) user_passwd = None if string.lower(urltype) != 'http': realhost = None else: realhost, rest = s...
8a666e7c56192f42288a30a53adf5299fda29557 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/8a666e7c56192f42288a30a53adf5299fda29557/urllib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 67, 2505, 12, 2890, 16, 880, 16, 501, 33, 7036, 4672, 1930, 15851, 6673, 309, 618, 12, 718, 13, 353, 618, 2932, 6, 4672, 1479, 16, 3451, 273, 6121, 483, 669, 12, 718, 13, 729, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 67, 2505, 12, 2890, 16, 880, 16, 501, 33, 7036, 4672, 1930, 15851, 6673, 309, 618, 12, 718, 13, 353, 618, 2932, 6, 4672, 1479, 16, 3451, 273, 6121, 483, 669, 12, 718, 13, 729, ...
result=hlr_utils.copy_som_attr(result,res_descr,obj,o_descr)
result = hlr_utils.copy_som_attr(result, res_descr, obj, o_descr)
def rebin_axis_1D(obj,axis_out): """ This function rebins the primary axis for a SOM or a SO based on the given NessiList axis. Parameters: ---------- -> obj is the SOM or SO to be rebinned -> axis_out is a NessiList containing the axis to rebin the SOM or SO to Returns: ------- <- A SOM or SO that has been rebinned ...
766ac4ad90bc5477427ed44f10694c1d5e7af5bd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/763/766ac4ad90bc5477427ed44f10694c1d5e7af5bd/hlr_rebin_axis_1D.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 283, 4757, 67, 4890, 67, 21, 40, 12, 2603, 16, 4890, 67, 659, 4672, 3536, 1220, 445, 283, 11862, 326, 3354, 2654, 364, 279, 348, 1872, 578, 279, 7460, 2511, 603, 326, 864, 423, 403, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 283, 4757, 67, 4890, 67, 21, 40, 12, 2603, 16, 4890, 67, 659, 4672, 3536, 1220, 445, 283, 11862, 326, 3354, 2654, 364, 279, 348, 1872, 578, 279, 7460, 2511, 603, 326, 864, 423, 403, ...
self.wTree.get_widget("ctcm_mark_as_not_done").set_sensitive(False)
self.wTree.get_widget( "ctcm_mark_as_not_done").set_sensitive(False)
def taskdone_cursor_changed(self, selection=None): #We unselect all in the active task view #Only if something is selected in the closed task list #And we change the status of the Done/dismiss button self.donebutton.set_icon_name("gtg-task-done") self.dismissbutton.set_icon_name("gtg-task-dismiss") if selection.count_s...
451ea29e3924785bc6c6b8648aa6459b292a0db4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7036/451ea29e3924785bc6c6b8648aa6459b292a0db4/browser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1562, 8734, 67, 9216, 67, 6703, 12, 2890, 16, 4421, 33, 7036, 4672, 468, 3218, 640, 4025, 777, 316, 326, 2695, 1562, 1476, 468, 3386, 309, 5943, 353, 3170, 316, 326, 4375, 1562, 666, 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, 1562, 8734, 67, 9216, 67, 6703, 12, 2890, 16, 4421, 33, 7036, 4672, 468, 3218, 640, 4025, 777, 316, 326, 2695, 1562, 1476, 468, 3386, 309, 5943, 353, 3170, 316, 326, 4375, 1562, 666, 4...
assert(actual_ctrl == ctrl) assert(flag == 3)
self.assertEqual(actual_ctrl, ctrl) self.assertEqual(flag, 3)
def test_quad_curve_to(self): gc = agg.GraphicsContextArray((100,100)) ctrl = 1.0,1.0 to = 2.0,2.0 gc.quad_curve_to(ctrl[0],ctrl[1],to[0],to[1]) path = gc._get_path() actual_ctrl, flag = path._vertex() assert(actual_ctrl == ctrl) assert(flag == 3) actual_to, flag = path._vertex() assert(actual_to == to) assert(flag == ...
e47282ce7056af747cbd7b863b37854c3c1dd9d6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13166/e47282ce7056af747cbd7b863b37854c3c1dd9d6/graphics_context_test_case.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 21733, 67, 16683, 67, 869, 12, 2890, 4672, 8859, 273, 10421, 18, 17558, 1042, 1076, 12443, 6625, 16, 6625, 3719, 6414, 273, 404, 18, 20, 16, 21, 18, 20, 358, 273, 576, 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, 67, 21733, 67, 16683, 67, 869, 12, 2890, 4672, 8859, 273, 10421, 18, 17558, 1042, 1076, 12443, 6625, 16, 6625, 3719, 6414, 273, 404, 18, 20, 16, 21, 18, 20, 358, 273, 576, 18, ...
week_ids = pooler.get_pool(cr.dbname).get('resource.calendar.week').search(cr,uid,[('calendar_id','=',resource_obj.calendar_id.id)])
week_ids = pooler.get_pool(cr.dbname).get('resource.calendar.week').search(cr,uid,[('calendar_id','=',calendar_id)])
def _compute_date(self, cr, uid, data, context):
afacda2c1dc8e7495aa88496b9db7c3ac70bf127 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/afacda2c1dc8e7495aa88496b9db7c3ac70bf127/compute_tasks_date.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9200, 67, 712, 12, 2890, 16, 4422, 16, 4555, 16, 501, 16, 819, 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, ...
[ 1, 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, 389, 9200, 67, 712, 12, 2890, 16, 4422, 16, 4555, 16, 501, 16, 819, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.requested_torrents.remove(torrent_hash)
self.requested_torrents.add(torrent_hash)
def send_metadata_request(self, permid, torrent_hash, selversion=-1, caller="BC"): if DEBUG: print >> sys.stderr,"metadata: Connect to send GET_METADATA to",show_permid_short(permid) if not isValidInfohash(torrent_hash): return False if caller != "dlhelp" and self.torrent_exists(torrent_hash): # torrent already exi...
37fdf8564cd3d0efd5c9c640bffded9038374d14 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9686/37fdf8564cd3d0efd5c9c640bffded9038374d14/MetadataHandler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 67, 4165, 67, 2293, 12, 2890, 16, 4641, 350, 16, 17351, 67, 2816, 16, 357, 1589, 29711, 21, 16, 4894, 1546, 16283, 6, 4672, 309, 6369, 30, 1172, 1671, 2589, 18, 11241, 10837, 416...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 67, 4165, 67, 2293, 12, 2890, 16, 4641, 350, 16, 17351, 67, 2816, 16, 357, 1589, 29711, 21, 16, 4894, 1546, 16283, 6, 4672, 309, 6369, 30, 1172, 1671, 2589, 18, 11241, 10837, 416...
if not val and val != 0:
if not val and val != 0 and defval is not None:
def revfix(repo, val, defval): if not val and val != 0: return defval return repo.changelog.rev(repo.lookup(val))
adeafac6921c87e88f41161ae2e1c7bfed5e54ed /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/adeafac6921c87e88f41161ae2e1c7bfed5e54ed/cmdutil.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5588, 904, 12, 7422, 16, 1244, 16, 1652, 1125, 4672, 309, 486, 1244, 471, 1244, 480, 374, 471, 1652, 1125, 353, 486, 599, 30, 327, 1652, 1125, 327, 3538, 18, 24083, 12970, 18, 9083, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5588, 904, 12, 7422, 16, 1244, 16, 1652, 1125, 4672, 309, 486, 1244, 471, 1244, 480, 374, 471, 1652, 1125, 353, 486, 599, 30, 327, 1652, 1125, 327, 3538, 18, 24083, 12970, 18, 9083, 12...
msg += _('Member name successfully changed.')
msg += _('Member name successfully changed. ')
def sigterm_handler(signum, frame, mlist=mlist): mlist.Unlock() sys.exit(0)
121755f2405ccc4a84a71002548f14652034e8bc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2120/121755f2405ccc4a84a71002548f14652034e8bc/options.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3553, 6408, 67, 4176, 12, 2977, 379, 16, 2623, 16, 312, 1098, 33, 781, 376, 4672, 312, 1098, 18, 7087, 1435, 2589, 18, 8593, 12, 20, 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, 3553, 6408, 67, 4176, 12, 2977, 379, 16, 2623, 16, 312, 1098, 33, 781, 376, 4672, 312, 1098, 18, 7087, 1435, 2589, 18, 8593, 12, 20, 13, 2, -100, -100, -100, -100, -100, -100, -100, ...
channels[newname] = name
channels[newname] = c
def alias_channel(name, newname): c = get_channel(name) channels[newname] = name
3a38a8b89ba5868f05104798834f2eea30098e7f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10962/3a38a8b89ba5868f05104798834f2eea30098e7f/audio.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2308, 67, 4327, 12, 529, 16, 26722, 4672, 276, 273, 336, 67, 4327, 12, 529, 13, 5750, 63, 2704, 529, 65, 273, 276, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2308, 67, 4327, 12, 529, 16, 26722, 4672, 276, 273, 336, 67, 4327, 12, 529, 13, 5750, 63, 2704, 529, 65, 273, 276, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
setup(**configuration(parent_path=''))
setup(**configuration(top_path='').todict())
def configuration(parent_package='',parent_path=None): config = Configuration('integrate', parent_package, parent_path) blas_opt = get_info('blas_opt') if not blas_opt: raise NotFoundError,'no blas resources found' config.add_library('linpack_lite', sources=[join('linpack_lite','*.f')]) config.add_library('mach', sou...
526c0e68927f27806f075bb9b8cc8fc0c8cdd317 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/526c0e68927f27806f075bb9b8cc8fc0c8cdd317/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1664, 12, 2938, 67, 5610, 2218, 2187, 2938, 67, 803, 33, 7036, 4672, 642, 273, 4659, 2668, 14970, 5141, 2187, 982, 67, 5610, 16, 982, 67, 803, 13, 225, 2811, 345, 67, 3838, 273, 336, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1664, 12, 2938, 67, 5610, 2218, 2187, 2938, 67, 803, 33, 7036, 4672, 642, 273, 4659, 2668, 14970, 5141, 2187, 982, 67, 5610, 16, 982, 67, 803, 13, 225, 2811, 345, 67, 3838, 273, 336, ...
typeTableName = self.__getTableName( "type", name )
typeTableName = _getTableName( "type", name )
def registerType( self, name, definitionKeyFields, definitionAccountingFields, bucketsLength ): """ Register a new type """ gMonitor.registerActivity( "registeradded:%s" % name, "Register added for %s" % " ".join( name.split( "_" ) ), "Accounting", "entries", gMonitor.OP_ACUM )
5644734dd5f9b2176cf1b7afc4f6ab55941c88f0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/5644734dd5f9b2176cf1b7afc4f6ab55941c88f0/AccountingDB.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 559, 12, 365, 16, 508, 16, 2379, 653, 2314, 16, 2379, 3032, 310, 2314, 16, 9169, 1782, 262, 30, 3536, 5433, 279, 394, 618, 3536, 314, 7187, 18, 4861, 6193, 12, 315, 4861, 9665, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 559, 12, 365, 16, 508, 16, 2379, 653, 2314, 16, 2379, 3032, 310, 2314, 16, 9169, 1782, 262, 30, 3536, 5433, 279, 394, 618, 3536, 314, 7187, 18, 4861, 6193, 12, 315, 4861, 9665, ...
if object.__name__ == '<lambda>': decl = '<em>lambda</em> ' + argspec[1:-1] else: anchor = clname + '-' + object.__name__ decl = '<a name="%s"\n><strong>%s</strong>%s</a>\n' % ( anchor, object.__name__, argspec) doc = self.markup(getdoc(object), self.preformat, funcs, classes, methods)
if realname == '<lambda>': decl = '<em>lambda</em>' argspec = argspec[1:-1] decl = title + argspec + note doc = self.markup( getdoc(object), self.preformat, funcs, classes, methods)
def docroutine(self, object, funcs={}, classes={}, methods={}, clname=''): """Produce HTML documentation for a function or method object.""" if inspect.ismethod(object): object = object.im_func if inspect.isbuiltin(object): decl = '<a name="%s"><strong>%s</strong>(...)</a>\n' % ( clname + '-' + object.__name__, object....
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, 997, 22640, 12, 2890, 16, 733, 16, 15630, 28793, 3318, 28793, 2590, 28793, 927, 529, 2218, 11, 4672, 3536, 25884, 3982, 7323, 364, 279, 445, 578, 707, 733, 12123, 309, 5334, 18, 291, 203...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 997, 22640, 12, 2890, 16, 733, 16, 15630, 28793, 3318, 28793, 2590, 28793, 927, 529, 2218, 11, 4672, 3536, 25884, 3982, 7323, 364, 279, 445, 578, 707, 733, 12123, 309, 5334, 18, 291, 203...
i['bang_timer_stop'] = gtk.timeout_add(timer, self.show_bang_stop)
self.timers.append(gtk.timeout_add(timer, self.show_bang_stop, i))
def repeat(self): print("Gcompris_melody repeat.") self.kidstry = [] timer = 0
7098c004768aeee18248fe257657a0e4c9f7b325 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11306/7098c004768aeee18248fe257657a0e4c9f7b325/melody.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7666, 12, 2890, 4672, 1172, 2932, 43, 832, 683, 291, 67, 81, 292, 973, 7666, 1199, 13, 365, 18, 79, 2232, 698, 273, 5378, 5441, 273, 374, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7666, 12, 2890, 4672, 1172, 2932, 43, 832, 683, 291, 67, 81, 292, 973, 7666, 1199, 13, 365, 18, 79, 2232, 698, 273, 5378, 5441, 273, 374, 2, -100, -100, -100, -100, -100, -100, -100, ...
sty=m.make('sty',type='sty',xyz=pig_sty_xyz,status=1.0,bbox=[2.5,2.5,1])
sty=m.make('sty',type='sty',xyz=pig_sty_xyz,status=1.0,bbox=[2.5,2.5,3])
def default(mapeditor):
563107b5952951874a65381cba83f773d2cd4bec /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12932/563107b5952951874a65381cba83f773d2cd4bec/define_world.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 805, 12, 1458, 9177, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 805, 12, 1458, 9177, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
exercise()
run()
def func(i): s = 0 n = 8e5 h = math.pi/2/n for j in xrange(int(n)): s += math.cos(i*j*h) s = abs(s*h) print "%i:" % i, time.sleep(0.05) print "S=%.2f" % s return s
f2c207f46e5b2ba28b0f4114f1e6bc4ae30d30dc /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/696/f2c207f46e5b2ba28b0f4114f1e6bc4ae30d30dc/symmetric_multi_processing.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1326, 12, 77, 4672, 272, 273, 374, 290, 273, 1725, 73, 25, 366, 273, 4233, 18, 7259, 19, 22, 19, 82, 364, 525, 316, 12314, 12, 474, 12, 82, 3719, 30, 272, 1011, 4233, 18, 14445, 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, 1326, 12, 77, 4672, 272, 273, 374, 290, 273, 1725, 73, 25, 366, 273, 4233, 18, 7259, 19, 22, 19, 82, 364, 525, 316, 12314, 12, 474, 12, 82, 3719, 30, 272, 1011, 4233, 18, 14445, 12...
msg = "tar xvzf %s;" % compHepTgz
msg = "tar -xzf %s;" % compHepTgz
def compHep(): """ Generator dependent from here """ compHepPath = "http://cern.ch/ceballos/comphep" compHepTgz = "comphep-compiled.tgz" """ Download and install compHep """ try: msg="wget %s/%s" % (compHepPath, compHepTgz) os.system(msg) msg = "tar xvzf %s;" % compHepTgz ###msg+= "cd Z2ll_bb-07; tar xvzf comphep-4...
e2ef955b10c2ec9abac57a8f34b6fc7284ca0ac6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8886/e2ef955b10c2ec9abac57a8f34b6fc7284ca0ac6/cmsGen.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1161, 44, 881, 13332, 3536, 10159, 10460, 628, 2674, 3536, 1161, 44, 881, 743, 202, 273, 315, 2505, 2207, 14770, 18, 343, 19, 311, 70, 287, 383, 87, 19, 2919, 580, 84, 6, 1161, 44, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1161, 44, 881, 13332, 3536, 10159, 10460, 628, 2674, 3536, 1161, 44, 881, 743, 202, 273, 315, 2505, 2207, 14770, 18, 343, 19, 311, 70, 287, 383, 87, 19, 2919, 580, 84, 6, 1161, 44, 8...
use_threadpool=True, threadpool_workers=10,
use_threadpool=False, threadpool_workers=10,
def serve(application, host=None, port=None, handler=None, ssl_pem=None, ssl_context=None, server_version=None, protocol_version=None, start_loop=True, daemon_threads=None, socket_timeout=None, use_threadpool=True, threadpool_workers=10, threadpool_options=None): """ Serves your ``application`` over HTTP(S) via WSGI in...
ac8dc13b28c9dd1a1bcd853fb6e6da495b81c7d4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2097/ac8dc13b28c9dd1a1bcd853fb6e6da495b81c7d4/httpserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12175, 12, 3685, 16, 1479, 33, 7036, 16, 1756, 33, 7036, 16, 1838, 33, 7036, 16, 5832, 67, 20313, 33, 7036, 16, 5832, 67, 2472, 33, 7036, 16, 1438, 67, 1589, 33, 7036, 16, 1771, 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, 12175, 12, 3685, 16, 1479, 33, 7036, 16, 1756, 33, 7036, 16, 1838, 33, 7036, 16, 5832, 67, 20313, 33, 7036, 16, 5832, 67, 2472, 33, 7036, 16, 1438, 67, 1589, 33, 7036, 16, 1771, 67, ...
return False
return set()
def is_daisy_encrypted(ia): url = 'http://www.archive.org/download/%s/%s_meta.xml' % (ia, ia) look_for = '<collection>printdisabled</collection>' for attempt in range(20): try: return any(i.strip().lower() == look_for for i in urlopen(url)) except: print 'retry', attempt sleep(5) return False
4f14756dcf2ada5fa63000e1182e93702aa193df /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3913/4f14756dcf2ada5fa63000e1182e93702aa193df/update_work.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 2414, 291, 93, 67, 18702, 12, 1155, 4672, 880, 273, 296, 2505, 2207, 5591, 18, 10686, 18, 3341, 19, 7813, 5258, 87, 5258, 87, 67, 3901, 18, 2902, 11, 738, 261, 1155, 16, 203...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 2414, 291, 93, 67, 18702, 12, 1155, 4672, 880, 273, 296, 2505, 2207, 5591, 18, 10686, 18, 3341, 19, 7813, 5258, 87, 5258, 87, 67, 3901, 18, 2902, 11, 738, 261, 1155, 16, 203...
r.append(name, value)
r.append((name, value))
def parse_qsl(qs, keep_blank_values=0, strict_parsing=0): """Parse a query given as a string argument. Arguments: qs: URL-encoded query string to be parsed keep_blank_values: flag indicating whether blank values in URL encoded queries should be treated as blank strings. A true value inicates that blanks should be re...
2784e1d552dde432d4c10bada7e914d129f36163 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/2784e1d552dde432d4c10bada7e914d129f36163/cgi.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 85, 2069, 12, 12926, 16, 3455, 67, 12111, 67, 2372, 33, 20, 16, 5490, 67, 24979, 33, 20, 4672, 3536, 3201, 279, 843, 864, 487, 279, 533, 1237, 18, 225, 13599, 30, 225, 8719...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 85, 2069, 12, 12926, 16, 3455, 67, 12111, 67, 2372, 33, 20, 16, 5490, 67, 24979, 33, 20, 4672, 3536, 3201, 279, 843, 864, 487, 279, 533, 1237, 18, 225, 13599, 30, 225, 8719...
(rp.isdir() and not rp.hasfullperms())):
(rp.isdir() and not (rp.executable() and rp.readable()))):
def add_new(self, old_index, index): """Change permissions of directories between old_index and index""" for rp in self.get_new_rp_list(old_index, index): if ((rp.isreg() and not rp.readable()) or (rp.isdir() and not rp.hasfullperms())): old_perms = rp.getperms() self.open_index_list.insert(0, (rp.index, rp, old_perms)...
e79d05b0290918f514ddcbf166ee39bf6e293cf1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6202/e79d05b0290918f514ddcbf166ee39bf6e293cf1/restore.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 2704, 12, 2890, 16, 1592, 67, 1615, 16, 770, 4672, 3536, 3043, 4371, 434, 6402, 3086, 1592, 67, 1615, 471, 770, 8395, 364, 8715, 316, 365, 18, 588, 67, 2704, 67, 13832, 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, 527, 67, 2704, 12, 2890, 16, 1592, 67, 1615, 16, 770, 4672, 3536, 3043, 4371, 434, 6402, 3086, 1592, 67, 1615, 471, 770, 8395, 364, 8715, 316, 365, 18, 588, 67, 2704, 67, 13832, 67, ...
p.parse_text( data, binary=True )
p.parse_text(data, binary=True)
def decode_WML( self, data ): p = wmlparser.Parser( None, no_macros_in_string=True ) p.verbose = False p.do_preprocessor_logic = True p.no_macros = True p.parse_text( data, binary=True ) doc = wmldata.DataSub( "WML" ) p.parse_top( doc )
dcc4b22d466b877dafc48152521076554db2c8f6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9355/dcc4b22d466b877dafc48152521076554db2c8f6/campaignserver_client.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2495, 67, 59, 1495, 12, 365, 16, 501, 262, 30, 293, 273, 341, 781, 4288, 18, 2678, 12, 599, 16, 1158, 67, 5821, 6973, 67, 267, 67, 1080, 33, 5510, 262, 293, 18, 11369, 273, 1083, 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, 2495, 67, 59, 1495, 12, 365, 16, 501, 262, 30, 293, 273, 341, 781, 4288, 18, 2678, 12, 599, 16, 1158, 67, 5821, 6973, 67, 267, 67, 1080, 33, 5510, 262, 293, 18, 11369, 273, 1083, 2...
voltages = self._numbers_to_voltages(reply) return voltages
mvoltages = self._numbers_to_mvoltages(reply) return mvoltages
def _get_dac(self): ''' Reads from device and returns all dacvoltages in a list
5c6e8dfedb3dc6ab6fd8f7e0d4a4a391f0910b39 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6471/5c6e8dfedb3dc6ab6fd8f7e0d4a4a391f0910b39/IVVI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 72, 1077, 12, 2890, 4672, 9163, 29185, 628, 2346, 471, 1135, 777, 302, 1077, 90, 4397, 1023, 316, 279, 666, 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, 389, 588, 67, 72, 1077, 12, 2890, 4672, 9163, 29185, 628, 2346, 471, 1135, 777, 302, 1077, 90, 4397, 1023, 316, 279, 666, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
snmpEngine.msgAndPduDsp.mibInstrumController,securityEngineID, securityName
snmpEngine.msgAndPduDsp.mibInstrumController, securityEngineID, securityName
def __generateRequestOrResponseMsg( self, snmpEngine, messageProcessingModel, globalData, maxMessageSize, securityModel, securityEngineID, securityName, securityLevel, scopedPDU, securityStateReference ): snmpEngineID = snmpEngine.msgAndPduDsp.mibInstrumController.mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'snmpEng...
fba03a64a2c47cf5c1572b97a82ca74f35e813c8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/587/fba03a64a2c47cf5c1572b97a82ca74f35e813c8/service.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 7163, 691, 1162, 1064, 3332, 12, 365, 16, 15366, 4410, 16, 883, 7798, 1488, 16, 2552, 751, 16, 943, 1079, 1225, 16, 4373, 1488, 16, 4373, 4410, 734, 16, 4373, 461, 16, 4373, 2355...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7163, 691, 1162, 1064, 3332, 12, 365, 16, 15366, 4410, 16, 883, 7798, 1488, 16, 2552, 751, 16, 943, 1079, 1225, 16, 4373, 1488, 16, 4373, 4410, 734, 16, 4373, 461, 16, 4373, 2355...
for k, v in self.timeout.items():
for k, v in self.timeout.iteritems():
def check_cache(self): # first check for old ones t = time.time() if self.soonest <= t: for k, v in self.timeout.items(): if v < t: self.cache[k].close() del self.cache[k] del self.timeout[k] self.soonest = min(self.timeout.values())
df4cdd4f10a3f78eed655c6e26a5b3ff75e96705 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/df4cdd4f10a3f78eed655c6e26a5b3ff75e96705/urllib2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 2493, 12, 2890, 4672, 468, 1122, 866, 364, 1592, 5945, 268, 273, 813, 18, 957, 1435, 309, 365, 18, 2048, 265, 395, 1648, 268, 30, 364, 417, 16, 331, 316, 365, 18, 4538, 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, 866, 67, 2493, 12, 2890, 4672, 468, 1122, 866, 364, 1592, 5945, 268, 273, 813, 18, 957, 1435, 309, 365, 18, 2048, 265, 395, 1648, 268, 30, 364, 417, 16, 331, 316, 365, 18, 4538, 18, ...
title = "<b><big>%s</big></b>\n<small>%s</small>" %(simple_title, excerpt)
title = "<b><big>%s</big></b>\n<small>%s</small>" % ( simple_title, excerpt)
def __build_task_title(self, task, count, extended=False): simple_title = saxutils.escape(task.get_title()) if extended: excerpt = task.get_excerpt(lines=2) if excerpt.strip() != "": title = "<b><big>%s</big></b>\n<small>%s</small>" %(simple_title, excerpt) else: title = "<b><big>%s</big></b>" %simple_title else: if (n...
fac54dcba973acc5967f43b60fb540659a1a87a8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8234/fac54dcba973acc5967f43b60fb540659a1a87a8/browser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 3510, 67, 4146, 67, 2649, 12, 2890, 16, 1562, 16, 1056, 16, 7021, 33, 8381, 4672, 4143, 67, 2649, 273, 20319, 5471, 18, 6939, 12, 4146, 18, 588, 67, 2649, 10756, 309, 7021, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 3510, 67, 4146, 67, 2649, 12, 2890, 16, 1562, 16, 1056, 16, 7021, 33, 8381, 4672, 4143, 67, 2649, 273, 20319, 5471, 18, 6939, 12, 4146, 18, 588, 67, 2649, 10756, 309, 7021, 30, ...
"SELECT count(mytable.myid) FROM mytable")
"SELECT count(mytable.myid) AS count_1 FROM mytable")
def testfunction(self): """tests the generation of functions using the func keyword""" # test an expression with a function self.assert_compile(func.lala(3, 4, literal("five"), table1.c.myid) * table2.c.otherid, "lala(:lala_1, :lala_2, :param_1, mytable.myid) * myothertable.otherid")
64de56e55ebbc2c2ed5fc804cecbf10b24d094d7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1074/64de56e55ebbc2c2ed5fc804cecbf10b24d094d7/select.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 915, 12, 2890, 4672, 3536, 16341, 326, 9377, 434, 4186, 1450, 326, 1326, 4932, 8395, 468, 1842, 392, 2652, 598, 279, 445, 365, 18, 11231, 67, 11100, 12, 644, 18, 80, 287, 69, 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, 1842, 915, 12, 2890, 4672, 3536, 16341, 326, 9377, 434, 4186, 1450, 326, 1326, 4932, 8395, 468, 1842, 392, 2652, 598, 279, 445, 365, 18, 11231, 67, 11100, 12, 644, 18, 80, 287, 69, 12,...
idstring = "$Id: notation3.py,v 1.82 2001-06-01 07:52:40 connolly Exp $"
idstring = "$Id: notation3.py,v 1.83 2001-06-25 06:35:50 connolly Exp $"
def startDoc(self):
2fa4343949969dfbd66c0cbd9902602f10b7f6b4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3308/2fa4343949969dfbd66c0cbd9902602f10b7f6b4/notation3.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 1759, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 1759, 12, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
kwargs = {}
rrkwargs = {}
def _parse_rfc_rrule(self, line, dtstart=None, cache=False): if line.find(':') != -1: name, value = line.split(':') if name != "RRULE": raise ValueError, "unknown parameter name" else: value = line kwargs = {} for pair in value.split(';'): name, value = pair.split('=') name = name.upper() value = value.upper() try: get...
d375f07e08a8fd61f1640e67f981e1abdac8d8d1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8441/d375f07e08a8fd61f1640e67f981e1abdac8d8d1/rrule.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2670, 67, 16784, 67, 523, 725, 12, 2890, 16, 980, 16, 3681, 1937, 33, 7036, 16, 1247, 33, 8381, 4672, 309, 980, 18, 4720, 2668, 2497, 13, 480, 300, 21, 30, 508, 16, 460, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2670, 67, 16784, 67, 523, 725, 12, 2890, 16, 980, 16, 3681, 1937, 33, 7036, 16, 1247, 33, 8381, 4672, 309, 980, 18, 4720, 2668, 2497, 13, 480, 300, 21, 30, 508, 16, 460, 273, ...
def _retrievePublicKey(self, keyurl):
def _retrievePublicKey(self, keyurl, repo=None):
def _retrievePublicKey(self, keyurl): """ Retrieve a key file @param keyurl: url to the key to retrieve Returns a list of dicts with all the keyinfo """ key_installed = False
14ccb3cd86c89f5ae96f74f78210287e14943b68 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5445/14ccb3cd86c89f5ae96f74f78210287e14943b68/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 17466, 9632, 12, 2890, 16, 498, 718, 16, 3538, 33, 7036, 4672, 3536, 10708, 279, 498, 585, 632, 891, 498, 718, 30, 880, 358, 326, 498, 358, 4614, 2860, 279, 666, 434, 15838, 598, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 17466, 9632, 12, 2890, 16, 498, 718, 16, 3538, 33, 7036, 4672, 3536, 10708, 279, 498, 585, 632, 891, 498, 718, 30, 880, 358, 326, 498, 358, 4614, 2860, 279, 666, 434, 15838, 598, ...
if self.core.GetCanSave(): self.core.Save()
self.core.Save()
def on_MainWindow_delete_event(self,widget,data=None): if not self.config.Get("autosave"): if not self.core.GetCanSave(): gtk.main_quit() return False
688ec6353c389457c8142d66fb00b927ec013879 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11741/688ec6353c389457c8142d66fb00b927ec013879/gui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 6376, 3829, 67, 3733, 67, 2575, 12, 2890, 16, 6587, 16, 892, 33, 7036, 4672, 309, 486, 365, 18, 1425, 18, 967, 2932, 21996, 836, 6, 4672, 309, 486, 365, 18, 3644, 18, 967, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 6376, 3829, 67, 3733, 67, 2575, 12, 2890, 16, 6587, 16, 892, 33, 7036, 4672, 309, 486, 365, 18, 1425, 18, 967, 2932, 21996, 836, 6, 4672, 309, 486, 365, 18, 3644, 18, 967, ...
daylight_savings_flag = 0
daylight_savings_flag = -1
def _parse_date_iso8601(dateString): '''Parse a variety of ISO-8601-compatible formats like 20040105''' m = None for _iso8601_match in _iso8601_matches: m = _iso8601_match(dateString) if m: break if not m: return if m.span() == (0, 0): return params = m.groupdict() ordinal = params.get('ordinal', 0) if ordinal: ordinal...
44482af2baebba8741223b8967e4efeaf8365c45 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/44482af2baebba8741223b8967e4efeaf8365c45/feedparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2670, 67, 712, 67, 9699, 14181, 12, 712, 780, 4672, 9163, 3201, 279, 1394, 14369, 434, 9351, 17, 14181, 17, 10943, 6449, 3007, 4044, 27002, 6260, 26418, 312, 273, 599, 364, 389, 969...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2670, 67, 712, 67, 9699, 14181, 12, 712, 780, 4672, 9163, 3201, 279, 1394, 14369, 434, 9351, 17, 14181, 17, 10943, 6449, 3007, 4044, 27002, 6260, 26418, 312, 273, 599, 364, 389, 969...
def getPFNBase(self,withPort=False):
def getPFNBase( self, withPort = False ):
def getPFNBase(self,withPort=False): """ This will get the pfn base. This is then appended with the LFN in LHCb convention. """ if withPort: pfnBase = 'srm://%s:%s%s' % (self.host,self.port,self.path) else: pfnBase = 'srm://%s%s' % (self.host,self.path) return S_OK(pfnBase)
70e66af095cb6701e39b1e701e4a2ce4d012b4f7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/70e66af095cb6701e39b1e701e4a2ce4d012b4f7/SRM2Storage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1689, 19793, 2171, 12, 365, 16, 598, 2617, 273, 1083, 262, 30, 3536, 1220, 903, 336, 326, 293, 4293, 1026, 18, 1220, 353, 1508, 12317, 598, 326, 18803, 50, 316, 511, 44, 15237, 15797, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1689, 19793, 2171, 12, 365, 16, 598, 2617, 273, 1083, 262, 30, 3536, 1220, 903, 336, 326, 293, 4293, 1026, 18, 1220, 353, 1508, 12317, 598, 326, 18803, 50, 316, 511, 44, 15237, 15797, ...
elif (text[i+1] is self.white_space or
elif (text[i+1] is self.white_space or
def check_whitespace(self): i = 0 text = self.text while i < len(text): if text[i] is self.white_space: if i == 0 or i == len(text)-1: text[0:0] = [" "] # del? XXX this is either a bug or a missing comment - what does that mean? why 0:0? i += 1 elif (text[i-1][-1] in (" ", "\n",) or # last char of previous ...
024e6ae8b32c9f5202b3bf6a465b921a38f26ea1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/888/024e6ae8b32c9f5202b3bf6a465b921a38f26ea1/text_html_text_x_moin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 18777, 12, 2890, 4672, 277, 273, 374, 977, 273, 365, 18, 955, 1323, 277, 411, 562, 12, 955, 4672, 309, 977, 63, 77, 65, 353, 365, 18, 14739, 67, 2981, 30, 309, 277, 422, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 18777, 12, 2890, 4672, 277, 273, 374, 977, 273, 365, 18, 955, 1323, 277, 411, 562, 12, 955, 4672, 309, 977, 63, 77, 65, 353, 365, 18, 14739, 67, 2981, 30, 309, 277, 422, 3...
repo = self.input() API.update(repo)
repo_data = self.input() repo_data['id'] = id API.update(repo_data)
def POST(self, id): """ @return: True on successful update of repository meta data """ repo = self.input() API.update(repo) return self.output(True)
260079525717dad1669fd91ac201b2fb30bfaff1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10692/260079525717dad1669fd91ac201b2fb30bfaff1/repositories.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5485, 12, 2890, 16, 612, 4672, 3536, 632, 2463, 30, 1053, 603, 6873, 1089, 434, 3352, 2191, 501, 3536, 3538, 67, 892, 273, 365, 18, 2630, 1435, 3538, 67, 892, 3292, 350, 3546, 273, 612...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5485, 12, 2890, 16, 612, 4672, 3536, 632, 2463, 30, 1053, 603, 6873, 1089, 434, 3352, 2191, 501, 3536, 3538, 67, 892, 273, 365, 18, 2630, 1435, 3538, 67, 892, 3292, 350, 3546, 273, 612...
setup( name="simplejson", version=VERSION, description=DESCRIPTION, long_description=LONG_DESCRIPTION, classifiers=CLASSIFIERS, author="Bob Ippolito", author_email="bob@redivi.com", url="http://undefined.org/python/ license="MIT License", packages=find_packages(exclude=['ez_setup']), platforms=['any'], test_suite="simp...
try: run_setup(True) except BuildFailed: BUILD_EXT_WARNING = "WARNING: The C extension could not be compiled, speedups are not enabled." print '*' * 75 print BUILD_EXT_WARNING print "Failure information, if any, is above." print "I'm retrying the build without the C extension now." print '*' * 75 run_setup(False) pri...
def _unavailable(self, exc): print '*'*70 print BUILD_EXT_WARNING print exc print '*'*70
b449b6e199e51936b350f84d40448083c21321eb /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13128/b449b6e199e51936b350f84d40448083c21321eb/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 318, 5699, 12, 2890, 16, 3533, 4672, 1172, 5306, 14, 7301, 1172, 30054, 67, 4142, 67, 9511, 1172, 3533, 1172, 5306, 14, 7301, 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, 389, 318, 5699, 12, 2890, 16, 3533, 4672, 1172, 5306, 14, 7301, 1172, 30054, 67, 4142, 67, 9511, 1172, 3533, 1172, 5306, 14, 7301, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100...
selectedOutlineColor = tintedColor(0.5)
selectedOutlineColor = tintedColor(0.6)
def demangledTupleGetter(self): return tuple([val.fget(self) for val in args])
d144d2d63e552e3193ce27fa7dbe274ba0eadc8b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/d144d2d63e552e3193ce27fa7dbe274ba0eadc8b/CalendarCanvas.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9626, 539, 1259, 9038, 8461, 12, 2890, 4672, 327, 3193, 3816, 1125, 18, 74, 588, 12, 2890, 13, 364, 1244, 316, 833, 5717, 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, 9626, 539, 1259, 9038, 8461, 12, 2890, 4672, 327, 3193, 3816, 1125, 18, 74, 588, 12, 2890, 13, 364, 1244, 316, 833, 5717, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if worker_count is not None: ringmaster.set_parallel_worker_count(worker_count) ringmaster.run(max_games)
if options.parallel is not None: ringmaster.set_parallel_worker_count(options.parallel) ringmaster.run(options.max_games)
def do_run(ringmaster, worker_count=None, max_games=None): if ringmaster.status_file_exists(): ringmaster.load_status() else: ringmaster.set_clean_status() if worker_count is not None: ringmaster.set_parallel_worker_count(worker_count) ringmaster.run(max_games) ringmaster.report()
ac6c1f7abe9d9a8a1a88544224f43fd9da450736 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6121/ac6c1f7abe9d9a8a1a88544224f43fd9da450736/ringmaster_command_line.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 2681, 12, 8022, 7525, 16, 4322, 67, 1883, 33, 7036, 16, 943, 67, 75, 753, 33, 7036, 4672, 309, 9221, 7525, 18, 2327, 67, 768, 67, 1808, 13332, 9221, 7525, 18, 945, 67, 2327,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 2681, 12, 8022, 7525, 16, 4322, 67, 1883, 33, 7036, 16, 943, 67, 75, 753, 33, 7036, 4672, 309, 9221, 7525, 18, 2327, 67, 768, 67, 1808, 13332, 9221, 7525, 18, 945, 67, 2327,...
(self.originalNx, self.originalNy, self.originalNz) = data.shape
(self.originalnx, self.originalny, self.originalnz) = data.shape
def _newVolume(self,data,copyFrom=None,rescale=True): """Takes a numpy array and makes a geoprobe volume. This volume can then be written to disk using the write() method."""
f745519840b98e4706f7c2270367a2d141efbb7c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10472/f745519840b98e4706f7c2270367a2d141efbb7c/volume.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2704, 4545, 12, 2890, 16, 892, 16, 3530, 1265, 33, 7036, 16, 455, 1869, 33, 5510, 4672, 3536, 11524, 279, 3972, 526, 471, 7297, 279, 8244, 556, 303, 2196, 3940, 18, 1220, 3940, 84...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 2704, 4545, 12, 2890, 16, 892, 16, 3530, 1265, 33, 7036, 16, 455, 1869, 33, 5510, 4672, 3536, 11524, 279, 3972, 526, 471, 7297, 279, 8244, 556, 303, 2196, 3940, 18, 1220, 3940, 84...
secret, cookie, remote_addr)
self.secret, cookie_value, remote_addr)
def __call__(self, environ, start_response): cookies = request.get_cookies(environ) if cookies.has_key(self.cookie_name): cookie_value = cookies[self.cookie_name].value else: cookie_value = '' if cookie_value: if self.include_ip: remote_addr = environ['REMOTE_ADDR'] else: # mod_auth_tkt uses this dummy value when IP is...
a9463f9ddbecee26410fdbc48f2dfba26d732c17 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11400/a9463f9ddbecee26410fdbc48f2dfba26d732c17/auth_tkt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 5473, 16, 787, 67, 2740, 4672, 7237, 273, 590, 18, 588, 67, 16240, 12, 28684, 13, 309, 7237, 18, 5332, 67, 856, 12, 2890, 18, 8417, 67, 529, 4672, 3878...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 5473, 16, 787, 67, 2740, 4672, 7237, 273, 590, 18, 588, 67, 16240, 12, 28684, 13, 309, 7237, 18, 5332, 67, 856, 12, 2890, 18, 8417, 67, 529, 4672, 3878...
self.assertTrue(self.store50 == self.store50) self.assertFalse(self.store50 != self.store50) class TestSimulationResults(unittest.TestCase): '''Test the SimulationResults class'''
self.assertTrue(self.store == self.store) self.assertFalse(self.store != self.store) class TestDictStore(unittest.TestCase): '''Test the DictStore class'''
def test__eq____ne__(self): '''ArrayStore: Test comparison operators "=="; "!=".''' self.assertTrue(self.store50 == self.store50) self.assertFalse(self.store50 != self.store50)
4f7397e773983ae72bd3ffebc2d43ad44a277e2e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2720/4f7397e773983ae72bd3ffebc2d43ad44a277e2e/storage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 972, 11253, 7198, 4644, 972, 12, 2890, 4672, 9163, 1076, 2257, 30, 7766, 5826, 12213, 315, 631, 14432, 17528, 1546, 1093, 6309, 365, 18, 11231, 5510, 12, 2890, 18, 2233, 3361, 422, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 972, 11253, 7198, 4644, 972, 12, 2890, 4672, 9163, 1076, 2257, 30, 7766, 5826, 12213, 315, 631, 14432, 17528, 1546, 1093, 6309, 365, 18, 11231, 5510, 12, 2890, 18, 2233, 3361, 422, ...
opaque = md5.new('opaque').hexdigest()
opaque = _new_md5('opaque').hexdigest()
def AuthDigestHandler(self): """This handler tests 'Digest' authentication. It just sends a page with title 'user/pass' if you succeed."""
827fe44000f83d9801e04fd169054b99f5dc7068 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5060/827fe44000f83d9801e04fd169054b99f5dc7068/testserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3123, 9568, 1503, 12, 2890, 4672, 3536, 2503, 1838, 7434, 296, 9568, 11, 5107, 18, 225, 2597, 2537, 9573, 279, 1363, 598, 2077, 296, 1355, 19, 5466, 11, 309, 1846, 12897, 12123, 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, 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, 3123, 9568, 1503, 12, 2890, 4672, 3536, 2503, 1838, 7434, 296, 9568, 11, 5107, 18, 225, 2597, 2537, 9573, 279, 1363, 598, 2077, 296, 1355, 19, 5466, 11, 309, 1846, 12897, 12123, 2, -100,...
fd[f.filename] = fd.get(f.filename, []).append(f)
if f.filename not in fd: fd[f.filename] = [f] else: fd[f.filename].append(f)
def age_file_details(self): """For each file, keep at least 1 FileDetail entry, removing any others that are more than 7 days old.""" fd = {} weekago = int(time.time()) - (60*60*24*7)
f374db263a481ee03449cac8d19b65831b3e7b73 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13031/f374db263a481ee03449cac8d19b65831b3e7b73/model.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9388, 67, 768, 67, 6395, 12, 2890, 4672, 3536, 1290, 1517, 585, 16, 3455, 622, 4520, 404, 1387, 6109, 1241, 16, 9427, 1281, 10654, 716, 854, 1898, 2353, 2371, 4681, 1592, 12123, 5194, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9388, 67, 768, 67, 6395, 12, 2890, 4672, 3536, 1290, 1517, 585, 16, 3455, 622, 4520, 404, 1387, 6109, 1241, 16, 9427, 1281, 10654, 716, 854, 1898, 2353, 2371, 4681, 1592, 12123, 5194, 27...
print "...root package dir =", here
def search_package_directories(self, qualified_name, suffixes, pos): print "Pyrex.Compiler.Main.search_package_directories:" ### print "...qualified_name =", qualified_name ### print "...suffixes =", suffixes ### print "...pos =", pos ### dotted_filenames = [qualified_name + suffix for suffix in suffixes] if pos: here ...
e929bd1e9385367cff2dbcee7867c3cf87870a6c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2099/e929bd1e9385367cff2dbcee7867c3cf87870a6c/Main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1623, 67, 5610, 67, 15121, 12, 2890, 16, 9348, 67, 529, 16, 18333, 16, 949, 4672, 1172, 315, 9413, 266, 92, 18, 9213, 18, 6376, 18, 3072, 67, 5610, 67, 15121, 2773, 11849, 1172, 31305,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1623, 67, 5610, 67, 15121, 12, 2890, 16, 9348, 67, 529, 16, 18333, 16, 949, 4672, 1172, 315, 9413, 266, 92, 18, 9213, 18, 6376, 18, 3072, 67, 5610, 67, 15121, 2773, 11849, 1172, 31305,...
self.last_image_action_was_fit = False
def image_flip_vert(self, action): if self.userimage != "": self.last_image_action_was_fit = False if self.location == 0: self.location = 3 elif self.location == 1: self.location = 2 elif self.location == 2: self.location = 1 elif self.location == 3: self.location = 0 self.currimg = self.image_flip(self.currimg, True) ...
970a58c6225912bc7bfa337c1c626b4305144e1f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2291/970a58c6225912bc7bfa337c1c626b4305144e1f/mirage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1316, 67, 12357, 67, 1097, 12, 2890, 16, 1301, 4672, 309, 365, 18, 1355, 2730, 480, 1408, 30, 309, 365, 18, 3562, 422, 374, 30, 365, 18, 3562, 273, 890, 1327, 365, 18, 3562, 422, 404...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1316, 67, 12357, 67, 1097, 12, 2890, 16, 1301, 4672, 309, 365, 18, 1355, 2730, 480, 1408, 30, 309, 365, 18, 3562, 422, 374, 30, 365, 18, 3562, 273, 890, 1327, 365, 18, 3562, 422, 404...
currentStatus = attributes['Value']['Status']
currentStatus = attributes['Status']
def __getJobDict(self, job): """ Get job constant Properties and keep them local to avoid quering the DB each time """ result = jobDB.getJobJDL(job) if not result['OK']: self.log.error(result['Message']) updateJobStatus( self.log, AGENT_NAME, job, 'Failed', 'No Job JDL Available', logRecord=True) return False
bce640b260034c41b64da64658af71cf31a845d3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/bce640b260034c41b64da64658af71cf31a845d3/Director.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 2278, 5014, 12, 2890, 16, 1719, 4672, 3536, 968, 1719, 5381, 6183, 471, 3455, 2182, 1191, 358, 4543, 21287, 310, 326, 2383, 1517, 813, 3536, 563, 273, 1719, 2290, 18, 588, 227...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 2278, 5014, 12, 2890, 16, 1719, 4672, 3536, 968, 1719, 5381, 6183, 471, 3455, 2182, 1191, 358, 4543, 21287, 310, 326, 2383, 1517, 813, 3536, 563, 273, 1719, 2290, 18, 588, 227...
self.fillGraph(crsg)
self.fillGraphGlobal(crsg)
def testExtractMyRowCopyBad(self): "Test Epetra.CrsGraph ExtractMyRowCopy method, bad index" crsg = Epetra.CrsGraph(Epetra.Copy, self.rowMap, 3) self.fillGraph(crsg) self.assertRaises(ValueError, crsg.ExtractMyRowCopy, self.mySize)
7928fa16e7b9d8eee42608c0e751e7d6f795dbf8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1130/7928fa16e7b9d8eee42608c0e751e7d6f795dbf8/testCrsGraph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 4976, 12062, 1999, 2951, 6434, 12, 2890, 4672, 315, 4709, 512, 6951, 354, 18, 39, 5453, 4137, 8152, 12062, 1999, 2951, 707, 16, 5570, 770, 6, 4422, 1055, 273, 512, 6951, 354, 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, 4976, 12062, 1999, 2951, 6434, 12, 2890, 4672, 315, 4709, 512, 6951, 354, 18, 39, 5453, 4137, 8152, 12062, 1999, 2951, 707, 16, 5570, 770, 6, 4422, 1055, 273, 512, 6951, 354, 18, ...
print self.__color
def _candy_render(self): """ Render the widget """ super(Rectangle, self)._candy_render() context = self._obj.cairo_create()
1c5caa9e606de93db80f343708ea8f646a689279 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11702/1c5caa9e606de93db80f343708ea8f646a689279/rectangle.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 71, 464, 93, 67, 5902, 12, 2890, 4672, 3536, 6987, 326, 3604, 3536, 2240, 12, 19463, 16, 365, 2934, 67, 71, 464, 93, 67, 5902, 1435, 819, 273, 365, 6315, 2603, 18, 5353, 11373, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 71, 464, 93, 67, 5902, 12, 2890, 4672, 3536, 6987, 326, 3604, 3536, 2240, 12, 19463, 16, 365, 2934, 67, 71, 464, 93, 67, 5902, 1435, 819, 273, 365, 6315, 2603, 18, 5353, 11373, ...
p = pool.QueuePool(creator=mock_dbapi.connect, pool_size=3, max_overflow=-1, use_threadlocal=True)
p = self._queuepool_fixture(pool_size=3, max_overflow=-1, use_threadlocal=True)
def test_threadfairy(self): p = pool.QueuePool(creator=mock_dbapi.connect, pool_size=3, max_overflow=-1, use_threadlocal=True) c1 = p.connect() c1.close() c2 = p.connect() assert c2.connection is not None
7513b46730d1b57a6b8addde8dfb4f83ee1e6cb4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1074/7513b46730d1b57a6b8addde8dfb4f83ee1e6cb4/test_pool.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 5930, 507, 6913, 12, 2890, 4672, 293, 273, 365, 6315, 4000, 6011, 67, 904, 10970, 12, 6011, 67, 1467, 33, 23, 16, 943, 67, 11512, 29711, 21, 16, 999, 67, 5930, 3729, 33, 55...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5930, 507, 6913, 12, 2890, 4672, 293, 273, 365, 6315, 4000, 6011, 67, 904, 10970, 12, 6011, 67, 1467, 33, 23, 16, 943, 67, 11512, 29711, 21, 16, 999, 67, 5930, 3729, 33, 55...
def __init__(self, parent, ID, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0): wx.ListCtrl.__init__(self, parent, ID, pos, size, style=style) ListCtrlAutoWidthMixin.__init__(self)
def __init__(self, parent, ID, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0): wx.ListCtrl.__init__(self, parent, ID, pos, size, style=style) ListCtrlAutoWidthMixin.__init__(self)
def __init__(self, parent, ID, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0): wx.ListCtrl.__init__(self, parent, ID, pos, size, style=style) ListCtrlAutoWidthMixin.__init__(self)
3ac43907fa076fea1e8d682219e2b28fc7419f7b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6682/3ac43907fa076fea1e8d682219e2b28fc7419f7b/basher.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 16, 1599, 16, 949, 33, 27226, 18, 1868, 2555, 16, 963, 33, 27226, 18, 1868, 1225, 16, 2154, 33, 20, 4672, 7075, 18, 682, 12418, 16186, 2738, 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, 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, 982, 16, 1599, 16, 949, 33, 27226, 18, 1868, 2555, 16, 963, 33, 27226, 18, 1868, 1225, 16, 2154, 33, 20, 4672, 7075, 18, 682, 12418, 16186, 2738, 972, ...
return self.__buf
return self.__buf.getvalue()
def get_buffer(self): return self.__buf
29e09f2f7b2b2dd2a5752b80f232162592e5fc26 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/29e09f2f7b2b2dd2a5752b80f232162592e5fc26/xdrlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 4106, 12, 2890, 4672, 327, 365, 16186, 4385, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 4106, 12, 2890, 4672, 327, 365, 16186, 4385, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
for rs in RouterStats.query.options(eagerload('router'), eagerload('router.streams')).all():
for rs in RouterStats.query.filter(stats_clause).\ options(eagerload('router'), eagerload('router.streams')).all():
def _compute_stats_query(stats_clause): # http://www.sqlalchemy.org/docs/04/sqlexpression.html#sql_update to_s = select([func.count(Extension.id)], and_(stats_clause, Extension.table.c.to_node_idhex == RouterStats.table.c.router_idhex)).as_scalar() from_s = select([func.count(Extension.id)], and_(stats_clause, Extensio...
c8ad6cda0735bca71a66e2ae8dc82c8034ffc7ce /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3224/c8ad6cda0735bca71a66e2ae8dc82c8034ffc7ce/SQLSupport.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9200, 67, 5296, 67, 2271, 12, 5296, 67, 18128, 4672, 468, 1062, 2207, 5591, 18, 4669, 24182, 18, 3341, 19, 8532, 19, 3028, 19, 11410, 4149, 1337, 18, 2620, 7, 4669, 67, 2725, 358,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9200, 67, 5296, 67, 2271, 12, 5296, 67, 18128, 4672, 468, 1062, 2207, 5591, 18, 4669, 24182, 18, 3341, 19, 8532, 19, 3028, 19, 11410, 4149, 1337, 18, 2620, 7, 4669, 67, 2725, 358,...
if not binder: binder = Binder(self) self._binder = binder
def __init__(self, modules, binder=None, stage=None): if not hasattr(modules, '__iter__'): modules = [modules]
a9c4b31256e83520494c8b20b0d40a50b2b9cf49 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4277/a9c4b31256e83520494c8b20b0d40a50b2b9cf49/injector.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4381, 16, 18135, 33, 7036, 16, 6009, 33, 7036, 4672, 309, 486, 3859, 12, 6400, 16, 4940, 2165, 7250, 4672, 4381, 273, 306, 6400, 65, 2, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1001, 2738, 972, 12, 2890, 16, 4381, 16, 18135, 33, 7036, 16, 6009, 33, 7036, 4672, 309, 486, 3859, 12, 6400, 16, 4940, 2165, 7250, 4672, 4381, 273, 306, 6400, 65, 2, -100, -100, -100,...
params['new_maxexemptrate'] = bwlimit.format_tc_rate(new_maxi2rate)
params['new_maxexemptrate'] = bwlimit.format_tc_rate(new_maxexemptrate)
def notify(self, new_maxrate, new_maxexemptrate, usedbytes, usedi2bytes): """ Notify the slice it's being capped. """ # Prepare message parameters from the template message = "" params = {'slice': self.name, 'hostname': socket.gethostname(), 'since': time.asctime(time.gmtime(self.time)) + " GMT", 'until': time.asctime(...
b26b2c446e0a90687808be12784ed04bff83af04 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6995/b26b2c446e0a90687808be12784ed04bff83af04/bwmon.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5066, 12, 2890, 16, 394, 67, 1896, 5141, 16, 394, 67, 1896, 338, 351, 6723, 340, 16, 1399, 3890, 16, 1399, 77, 22, 3890, 4672, 3536, 10918, 326, 2788, 518, 1807, 3832, 3523, 1845, 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, 5066, 12, 2890, 16, 394, 67, 1896, 5141, 16, 394, 67, 1896, 338, 351, 6723, 340, 16, 1399, 3890, 16, 1399, 77, 22, 3890, 4672, 3536, 10918, 326, 2788, 518, 1807, 3832, 3523, 1845, 18, ...
def assertSane(self, source, corruption, exp_type='unknown'):
def assertSane(self, source, corruption, expvalue=None, exptype=None):
def assertSane(self, source, corruption, exp_type='unknown'): '''Run Python under gdb, corrupting variables in the inferior process immediately before taking a backtrace.
7f7765ce39a07e3f71b98c9d34af262105ca9c94 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8546/7f7765ce39a07e3f71b98c9d34af262105ca9c94/test_gdb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1815, 55, 8806, 12, 2890, 16, 1084, 16, 1858, 21421, 16, 1329, 1132, 33, 7036, 16, 431, 27672, 33, 7036, 4672, 9163, 1997, 6600, 3613, 314, 1966, 16, 16899, 310, 3152, 316, 326, 12455, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1815, 55, 8806, 12, 2890, 16, 1084, 16, 1858, 21421, 16, 1329, 1132, 33, 7036, 16, 431, 27672, 33, 7036, 4672, 9163, 1997, 6600, 3613, 314, 1966, 16, 16899, 310, 3152, 316, 326, 12455, ...
tmp = [] def callit(func=func, args=args, self=self, tmp=tmp):
def callit():
def after(self, ms, func=None, *args): """Call function once after given time.
2ffd9376097a10fdcf20889cade89f3cb31a5cba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/2ffd9376097a10fdcf20889cade89f3cb31a5cba/Tkinter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1839, 12, 2890, 16, 4086, 16, 1326, 33, 7036, 16, 380, 1968, 4672, 3536, 1477, 445, 3647, 1839, 864, 813, 18, 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, 1839, 12, 2890, 16, 4086, 16, 1326, 33, 7036, 16, 380, 1968, 4672, 3536, 1477, 445, 3647, 1839, 864, 813, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.env.domaindata['cpp']['objects'][name] = \ (self.env.docname, self.objtype)
typ = self.objtype if typ == 'function': typ = 'func' self.env.domaindata['cpp']['objects'].setdefault(name, (self.env.docname, typ, theid))
def add_target_and_index(self, sigobj, sig, signode): theid = sigobj.get_id() name = unicode(sigobj.name) signode['names'].append(theid) signode['ids'].append(theid) signode['first'] = (not self.names) self.state.document.note_explicit_target(signode) self.env.domaindata['cpp']['objects'][name] = \ (self.env.docname, s...
74e1632a32d222295c0435496edab54583597059 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7032/74e1632a32d222295c0435496edab54583597059/cpp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 3299, 67, 464, 67, 1615, 12, 2890, 16, 3553, 2603, 16, 3553, 16, 1573, 390, 4672, 326, 350, 273, 3553, 2603, 18, 588, 67, 350, 1435, 508, 273, 5252, 12, 7340, 2603, 18, 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, 527, 67, 3299, 67, 464, 67, 1615, 12, 2890, 16, 3553, 2603, 16, 3553, 16, 1573, 390, 4672, 326, 350, 273, 3553, 2603, 18, 588, 67, 350, 1435, 508, 273, 5252, 12, 7340, 2603, 18, 529,...
if self.closed: raise ValueError, "I/O operation on closed file"
_complain_ifclosed(self.closed)
def flush(self): if self.closed: raise ValueError, "I/O operation on closed file"
6542690b4188f7f53b198ea23efc9b5bbea194dc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/6542690b4188f7f53b198ea23efc9b5bbea194dc/StringIO.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3663, 12, 2890, 4672, 309, 365, 18, 12204, 30, 1002, 2068, 16, 315, 45, 19, 51, 1674, 603, 4375, 585, 6, 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, 3663, 12, 2890, 4672, 309, 365, 18, 12204, 30, 1002, 2068, 16, 315, 45, 19, 51, 1674, 603, 4375, 585, 6, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
if (cmd!="show private" && location.href.indexOf("
if (cmd && cmd.substr(0,4)!="show" && location.href.indexOf("
def write_javascript(self, directory): jsfile = open(os.path.join(directory, 'epydoc.js'), 'w') print >> jsfile, self.TOGGLE_PRIVATE_JS print >> jsfile, self.GET_COOKIE_JS print >> jsfile, self.SET_FRAME_JS print >> jsfile, self.HIDE_PRIVATE_JS print >> jsfile, self.TOGGLE_CALLGRAPH_JS print >> jsfile, html_colorize.PY...
efa53d0cb5b90524e3e4219b8789997f18e8c97c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11420/efa53d0cb5b90524e3e4219b8789997f18e8c97c/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 11242, 12, 2890, 16, 1867, 4672, 3828, 768, 273, 1696, 12, 538, 18, 803, 18, 5701, 12, 5149, 16, 296, 881, 93, 2434, 18, 2924, 19899, 296, 91, 6134, 1172, 1671, 3828, 768, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11242, 12, 2890, 16, 1867, 4672, 3828, 768, 273, 1696, 12, 538, 18, 803, 18, 5701, 12, 5149, 16, 296, 881, 93, 2434, 18, 2924, 19899, 296, 91, 6134, 1172, 1671, 3828, 768, ...
self.context.append('\\end{figure}\n')
if node.get('ids'): self.out += ['\n'] + self.ids_to_labels(node)
def visit_figure(self, node): self.requirements['float_settings'] = PreambleCmds.float_settings # ! the 'align' attribute should set "outer alignment" ! # For "inner alignment" use LaTeX default alignment (similar to HTML) ## if ('align' not in node.attributes or ## node.attributes['align'] == 'center'): ## ali...
be1fbeb9faee010ab9af5286d03796b46342047e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1532/be1fbeb9faee010ab9af5286d03796b46342047e/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 19675, 12, 2890, 16, 756, 4672, 365, 18, 16175, 3292, 5659, 67, 4272, 3546, 273, 453, 793, 7119, 5931, 87, 18, 5659, 67, 4272, 468, 401, 326, 296, 7989, 11, 1566, 1410, 444, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 19675, 12, 2890, 16, 756, 4672, 365, 18, 16175, 3292, 5659, 67, 4272, 3546, 273, 453, 793, 7119, 5931, 87, 18, 5659, 67, 4272, 468, 401, 326, 296, 7989, 11, 1566, 1410, 444, ...
el = etree.SubElement(self.automatic_styles, 'style:style', attrib={
el = SubElement(self.automatic_styles, 'style:style', attrib={
def visit_option_list(self, node): #self.document.reporter.debug_flag = 1 #self.document.reporter.attach_observer(self.show_message) table_name = 'rststyle-tableoption' # # Generate automatic styles if not self.optiontablestyles_generated: self.optiontablestyles_generated = True el = etree.SubElement(self.automatic_sty...
57ceb741b8ea9b94d9b9e314a03912d12bd3c5c5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1278/57ceb741b8ea9b94d9b9e314a03912d12bd3c5c5/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 3482, 67, 1098, 12, 2890, 16, 756, 4672, 468, 2890, 18, 5457, 18, 266, 7988, 18, 4148, 67, 6420, 273, 404, 468, 2890, 18, 5457, 18, 266, 7988, 18, 7331, 67, 30971, 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, 3757, 67, 3482, 67, 1098, 12, 2890, 16, 756, 4672, 468, 2890, 18, 5457, 18, 266, 7988, 18, 4148, 67, 6420, 273, 404, 468, 2890, 18, 5457, 18, 266, 7988, 18, 7331, 67, 30971, 12, 2890...
Release: 1
Release: RPMRELEASE
def MakeInstallerNSIS(file, fullname, smdirectory, installdir): if (os.path.isfile(file)): os.remove(file) elif (os.path.isdir(file)): shutil.rmtree(file) if (RUNTIME): # Invoke the make_installer script. AddToPathEnv("PATH", GetOutputDir() + "\\bin") AddToPathEnv("PATH", GetOutputDir() + "\\plugins") oscmd(SDK["PYTHON...
d7624e62c62cc7160bbf3cfb3ebc5e1f75c24e41 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8543/d7624e62c62cc7160bbf3cfb3ebc5e1f75c24e41/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4344, 18678, 50, 15664, 12, 768, 16, 13321, 16, 272, 1264, 1292, 16, 3799, 1214, 4672, 309, 261, 538, 18, 803, 18, 291, 768, 12, 768, 3719, 30, 1140, 18, 4479, 12, 768, 13, 1327, 261...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4344, 18678, 50, 15664, 12, 768, 16, 13321, 16, 272, 1264, 1292, 16, 3799, 1214, 4672, 309, 261, 538, 18, 803, 18, 291, 768, 12, 768, 3719, 30, 1140, 18, 4479, 12, 768, 13, 1327, 261...
assert info.opt_ops == 6 assert info.opt_guards == 1
assert info.opt_ops == 11 assert info.opt_guards == 2
def f(n): i = 0 while i < n: mydriver.can_enter_jit(i=i, n=n) mydriver.jit_merge_point(i=i, n=n) i += 1
59a08a37fb0752a3b6df0fb1ff35cb2084da1ae1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6934/59a08a37fb0752a3b6df0fb1ff35cb2084da1ae1/test_jitoutput.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 284, 12, 82, 4672, 277, 273, 374, 1323, 277, 411, 290, 30, 3399, 7407, 18, 4169, 67, 2328, 67, 78, 305, 12, 77, 33, 77, 16, 290, 33, 82, 13, 3399, 7407, 18, 78, 305, 67, 2702, 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, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 284, 12, 82, 4672, 277, 273, 374, 1323, 277, 411, 290, 30, 3399, 7407, 18, 4169, 67, 2328, 67, 78, 305, 12, 77, 33, 77, 16, 290, 33, 82, 13, 3399, 7407, 18, 78, 305, 67, 2702, 67...
console_next_line(console) manager.close()
def start(options, console): ###console.disable() ch = coros.queue() engine = EngineBuffer(ch, trace_sip=options.trace_sip, trace_pjsip=options.trace_pjsip, ec_tail_length=0, local_ip=options.local_ip, local_udp_port=options.local_port) engine.start(not options.disable_sound) try: credentials = Credentials(options.uri,...
88bdaddb83d561dfbc3259ce519b3df402cdaffa /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3449/88bdaddb83d561dfbc3259ce519b3df402cdaffa/sip_im_session.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 2116, 16, 2983, 4672, 11849, 8698, 18, 8394, 1435, 462, 273, 1858, 538, 18, 4000, 1435, 4073, 273, 10507, 1892, 12, 343, 16, 2606, 67, 28477, 33, 2116, 18, 5129, 67, 28477, 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, 787, 12, 2116, 16, 2983, 4672, 11849, 8698, 18, 8394, 1435, 462, 273, 1858, 538, 18, 4000, 1435, 4073, 273, 10507, 1892, 12, 343, 16, 2606, 67, 28477, 33, 2116, 18, 5129, 67, 28477, 16...
Returns the real period. This is the correct period in the BSD conjecture, i.e., it is the least real period * 2 when the period lattice is rectangular.
Returns the real period. If self is given by a \emph{minimal Weierstrass equation} then this is the correct period in the BSD conjecture, i.e., it is the least real period * 2 when the period lattice is rectangular.
def omega(self): """ Returns the real period. This is the correct period in the BSD conjecture, i.e., it is the least real period * 2 when the period lattice is rectangular.
c96468df560eb2a9187a40076ff99dda42b92dc0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/c96468df560eb2a9187a40076ff99dda42b92dc0/ell_rational_field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17220, 12, 2890, 4672, 3536, 2860, 326, 2863, 3879, 18, 225, 1220, 353, 326, 3434, 3879, 316, 326, 605, 9903, 356, 937, 594, 16, 277, 18, 73, 12990, 518, 353, 326, 4520, 2863, 3879, 38...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17220, 12, 2890, 4672, 3536, 2860, 326, 2863, 3879, 18, 225, 1220, 353, 326, 3434, 3879, 316, 326, 605, 9903, 356, 937, 594, 16, 277, 18, 73, 12990, 518, 353, 326, 4520, 2863, 3879, 38...
resp, raw_lines = self.longcmd('XGTITLE ' + group)
resp, raw_lines = self.longcmd('XGTITLE ' + group, file)
def xgtitle(self, group): """Process an XGTITLE command (optional server extension) Arguments: - group: group name wildcard (i.e. news.*) Returns: - resp: server response if successful - list: list of (name,title) strings"""
7310cde011c0d39df04e490d7cee58bff65f0013 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/7310cde011c0d39df04e490d7cee58bff65f0013/nntplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 619, 75, 2649, 12, 2890, 16, 1041, 4672, 3536, 2227, 392, 1139, 43, 14123, 1296, 261, 10444, 1438, 2710, 13, 13599, 30, 300, 1041, 30, 1041, 508, 8531, 261, 77, 18, 73, 18, 14783, 4509...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 619, 75, 2649, 12, 2890, 16, 1041, 4672, 3536, 2227, 392, 1139, 43, 14123, 1296, 261, 10444, 1438, 2710, 13, 13599, 30, 300, 1041, 30, 1041, 508, 8531, 261, 77, 18, 73, 18, 14783, 4509...
self.target = self.config.imaging_api['iso_folder'] if not os.path.isdir(self.target): self.logger.warn("Target directory %s for ISO image doesn't exist" % self.target)
if not title: raise ValueError('Image ISO title is empty') self.title = title targetdir = self.config.imaging_api['isos_folder'] if not os.path.isdir(targetdir): raise Exception("Target directory %s for ISO image doesn't exist" % targetdir) self.target = os.path.join(targetdir, title)
def __init__(self, config, imageUUID, size): """ @param imageUUID: UUID of the Pulse 2 image to convert to an ISO @type imageUUID: str @param size: media size, in bytes @type size: int """ self.logger = logging.getLogger('imaging') self.config = config self.source = os.path.join(self.config.imaging_api['base_folder'], ...
3867acfa411c355b1bca5db460eb5ee85f52f94a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5988/3867acfa411c355b1bca5db460eb5ee85f52f94a/iso.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 642, 16, 1316, 5562, 16, 963, 4672, 3536, 632, 891, 1316, 5562, 30, 5866, 434, 326, 453, 24667, 576, 1316, 358, 1765, 358, 392, 9351, 632, 723, 1316, 556...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 642, 16, 1316, 5562, 16, 963, 4672, 3536, 632, 891, 1316, 5562, 30, 5866, 434, 326, 453, 24667, 576, 1316, 358, 1765, 358, 392, 9351, 632, 723, 1316, 556...
raise ValueError, "Could not find "+srcdir+"/../"+dir+"-*"
raise ValueError, "Could not find "+srcdir+"/../"+pat
def generate_license(): import shutil, glob out = open("LICENSE.txt", "w") shutil.copyfileobj(open(os.path.join(srcdir, "LICENSE")), out) for dir, file in (("bzip2","LICENSE"), ("db", "LICENSE"), ("openssl", "LICENSE"), ("tcl", "license.terms"), ("tk", "license.terms")): out.write("\nThis copy of Python includes a copy...
9e5705ef2682ede0f9c46594801bdc8f78d0c447 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8125/9e5705ef2682ede0f9c46594801bdc8f78d0c447/msi.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 12687, 13332, 1930, 11060, 16, 4715, 596, 273, 1696, 2932, 6065, 23396, 18, 5830, 3113, 315, 91, 7923, 11060, 18, 3530, 768, 2603, 12, 3190, 12, 538, 18, 803, 18, 5701, 12, 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, 2103, 67, 12687, 13332, 1930, 11060, 16, 4715, 596, 273, 1696, 2932, 6065, 23396, 18, 5830, 3113, 315, 91, 7923, 11060, 18, 3530, 768, 2603, 12, 3190, 12, 538, 18, 803, 18, 5701, 12, 4...
try: ThunderTestCLI().run() except Exception, e: print 'There was an exception', e
ThunderTestCLI().run()
def prettyPrintResults(): for result in TEST_RESULTS: #pprint.pprint(result) print 'TEST', result['name'], len(result['fails']) and "FAILED" or "PASSED" for failure in result['fails']: if 'exception' in failure: prettyPrintException(failure['exception'])
01ec7992610a780f796d97de3606665a106d1cb1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11044/01ec7992610a780f796d97de3606665a106d1cb1/runtest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 30410, 3447, 13332, 364, 563, 316, 22130, 67, 20602, 30, 468, 84, 1188, 18, 84, 1188, 12, 2088, 13, 1172, 296, 16961, 2187, 563, 3292, 529, 17337, 562, 12, 2088, 3292, 6870, 87, 19486, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 30410, 3447, 13332, 364, 563, 316, 22130, 67, 20602, 30, 468, 84, 1188, 18, 84, 1188, 12, 2088, 13, 1172, 296, 16961, 2187, 563, 3292, 529, 17337, 562, 12, 2088, 3292, 6870, 87, 19486, ...
rml = etree.tostring( transform(etree.fromstring(new_doc.toxml())))
rml = etree.tostring(transform(new_doc))
def _append_node(name, text): n = new_doc.createElement(name) t = new_doc.createTextNode(text) n.appendChild(t) config.appendChild(n)
ce28b92c9e314579334271a58fcf4c5c65873e36 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7397/ce28b92c9e314579334271a58fcf4c5c65873e36/custom.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6923, 67, 2159, 12, 529, 16, 977, 4672, 290, 273, 394, 67, 2434, 18, 2640, 1046, 12, 529, 13, 268, 273, 394, 67, 2434, 18, 2640, 17299, 12, 955, 13, 290, 18, 6923, 1763, 12, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6923, 67, 2159, 12, 529, 16, 977, 4672, 290, 273, 394, 67, 2434, 18, 2640, 1046, 12, 529, 13, 268, 273, 394, 67, 2434, 18, 2640, 17299, 12, 955, 13, 290, 18, 6923, 1763, 12, 8...
ids = self.openobject_injector.connector.execute(self.connector, 'execute', self.openobject_injector.model, 'search', [(self.key,'=',d[self.key])], 0, self.openobject_injector.row_limit, False, self.openobject_injector.context, False)
ids = self.openobject_injector.connector.execute(self.conn, 'execute', self.openobject_injector.model, 'search', [(self.key,'=',d[self.key])], 0, self.openobject_injector.row_limit, False, self.openobject_injector.context, False)
def process(self):
315ae69e2530da90789d00268c348bd79d41bbc0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7339/315ae69e2530da90789d00268c348bd79d41bbc0/data_exist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1207, 12, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
1. Start up the zeoserver if it exists 2. Run the script 3. stop the zeoserver if it exists
1. Run the before-install command if specified 2. Start up the zeoserver if specified 3. Run the script 4. Stop the zeoserver if specified 5. Run the after-install command if specified
def install(self): """ 1. Start up the zeoserver if it exists 2. Run the script 3. stop the zeoserver if it exists """ options = self.options # XXX is this needed? location = options['location'] if self.enabled: # start the zeo if it exists if self.zeoserver: zeo_cmd = "%(bin-directory)s/%(zeo-script)s" % options zeo_s...
44354ceb91ef39eced693882d9cd0177a0b051e0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10968/44354ceb91ef39eced693882d9cd0177a0b051e0/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3799, 12, 2890, 4672, 3536, 404, 18, 1939, 326, 1865, 17, 5425, 1296, 309, 1269, 576, 18, 3603, 731, 326, 26637, 538, 12330, 309, 1269, 890, 18, 1939, 326, 2728, 1059, 18, 5131, 326, 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, 3799, 12, 2890, 4672, 3536, 404, 18, 1939, 326, 1865, 17, 5425, 1296, 309, 1269, 576, 18, 3603, 731, 326, 26637, 538, 12330, 309, 1269, 890, 18, 1939, 326, 2728, 1059, 18, 5131, 326, 2...
print xml_for(controller,joint)
def main(): rospy.init_node('impact_head_test', anonymous=True) for i in range(0,3): joint = JOINT_NAMES[i] controller = CONTROLLER_NAMES[i] print xml_for(controller,joint) rospy.wait_for_service('spawn_controller') spawn_controller = rospy.ServiceProxy('spawn_controller', SpawnController) kill_controller = rospy.Serv...
b96de62b4e118bcd53f9108af3fce0d46a68d06d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10233/b96de62b4e118bcd53f9108af3fce0d46a68d06d/impact_head_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 721, 30884, 18, 2738, 67, 2159, 2668, 14532, 621, 67, 1978, 67, 3813, 2187, 13236, 33, 5510, 13, 364, 277, 316, 1048, 12, 20, 16, 23, 4672, 15916, 273, 804, 51, 3217, 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, 721, 30884, 18, 2738, 67, 2159, 2668, 14532, 621, 67, 1978, 67, 3813, 2187, 13236, 33, 5510, 13, 364, 277, 316, 1048, 12, 20, 16, 23, 4672, 15916, 273, 804, 51, 3217, 67, ...
uid, 'Instance Variable Summary')
uid, doc.groups(), 'Instance Variable Summary')
def _class_to_html(self, uid): """ @return: An HTML page describing the class identified by C{uid}. @rtype: C{string} @param uid: The unique identifier for the class that should be documented. @type uid: L{UID} """ # Get the module's documentation doc = self._docmap[uid] # Write the header & navigation bar. str = self...
149531a2cda79700e8a2b9b1cbdefc79ff90296b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/149531a2cda79700e8a2b9b1cbdefc79ff90296b/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1106, 67, 869, 67, 2620, 12, 2890, 16, 4555, 4672, 3536, 632, 2463, 30, 1922, 3982, 1363, 16868, 326, 667, 9283, 635, 385, 95, 1911, 5496, 632, 86, 723, 30, 385, 95, 1080, 97, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1106, 67, 869, 67, 2620, 12, 2890, 16, 4555, 4672, 3536, 632, 2463, 30, 1922, 3982, 1363, 16868, 326, 667, 9283, 635, 385, 95, 1911, 5496, 632, 86, 723, 30, 385, 95, 1080, 97, 6...
'ArrayType' : 'array'
def to_list(item): if item is None: return [] return list(item)
f7317a89569ad31df0e00cff852615599e0edc21 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6988/f7317a89569ad31df0e00cff852615599e0edc21/robottypes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 67, 1098, 12, 1726, 4672, 309, 761, 353, 599, 30, 327, 5378, 327, 666, 12, 1726, 13, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 67, 1098, 12, 1726, 4672, 309, 761, 353, 599, 30, 327, 5378, 327, 666, 12, 1726, 13, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
res = self.checkArgumentFormat(path)
res = self.checkArgumentFormat( path )
def createDirectory(self,path): """ Make recursively new directory(ies) on the physical storage """ res = self.checkArgumentFormat(path) if not res['OK']: return res urls = res['Value']
70e66af095cb6701e39b1e701e4a2ce4d012b4f7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/70e66af095cb6701e39b1e701e4a2ce4d012b4f7/SRM2Storage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 28430, 12, 2890, 16, 803, 4672, 3536, 4344, 8536, 394, 1867, 12, 606, 13, 603, 326, 11640, 2502, 3536, 400, 273, 365, 18, 1893, 1379, 1630, 12, 589, 262, 309, 486, 400, 3292, 3141, 354...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 28430, 12, 2890, 16, 803, 4672, 3536, 4344, 8536, 394, 1867, 12, 606, 13, 603, 326, 11640, 2502, 3536, 400, 273, 365, 18, 1893, 1379, 1630, 12, 589, 262, 309, 486, 400, 3292, 3141, 354...
s,c=math.sin(dtheta), math.cos(dtheta)
s,c=-math.sin(dtheta), math.cos(dtheta)
def local_transform(self): kx, ky, kz=self.beam.local_direction theta=math.atan2(kx, kz) littrow, out=self.angles(theta, self.beam.get_lambda()) #remember, outgoing angle is _not_ outgoing direction... beam has changed from incoming to outgoing, too dtheta=out+theta s,c=math.sin(dtheta), math.cos(dtheta) #this funn...
7ad054738f0ec7df46f6a9474859623514a7d664 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6028/7ad054738f0ec7df46f6a9474859623514a7d664/general_optics.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1191, 67, 6547, 12, 2890, 4672, 225, 417, 92, 16, 417, 93, 16, 417, 94, 33, 2890, 18, 27385, 18, 3729, 67, 9855, 225, 7338, 33, 15949, 18, 270, 304, 22, 12, 79, 92, 16, 417, 94, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1191, 67, 6547, 12, 2890, 4672, 225, 417, 92, 16, 417, 93, 16, 417, 94, 33, 2890, 18, 27385, 18, 3729, 67, 9855, 225, 7338, 33, 15949, 18, 270, 304, 22, 12, 79, 92, 16, 417, 94, ...
distance = distance)
distance = distance_decimal)
def close_zipcodes(self, distance): """ Get a list of zip codes less than or equal to distance from this zip code. """ from decimal import Decimal try: distance_decimal = Decimal(str(distance)) except: raise ESPError(), '%s should be a valid decimal number!' % distance
37c7f990615704dd78fc755384b2bef0ad23b00d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12041/37c7f990615704dd78fc755384b2bef0ad23b00d/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1746, 67, 4450, 7000, 12, 2890, 16, 3888, 4672, 3536, 968, 279, 666, 434, 3144, 6198, 5242, 2353, 578, 3959, 358, 3888, 628, 333, 3144, 981, 18, 3536, 628, 6970, 1930, 11322, 775, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1746, 67, 4450, 7000, 12, 2890, 16, 3888, 4672, 3536, 968, 279, 666, 434, 3144, 6198, 5242, 2353, 578, 3959, 358, 3888, 628, 333, 3144, 981, 18, 3536, 628, 6970, 1930, 11322, 775, 30, ...
if self._UpdatedDb or forceSaveDb:
if forceSaveDb:
def update (self, forceSaveDb = False) : global TimeOut _time = time.time () refreshActive = False for id in State._ActiveJobs.copy () : try: job = self.Jobs[id] if job.State == "WORKING": if _time - job.PingTime > TimeOut : # Job times out, no heartbeat received for too long output ("Job " + str(job.ID) + " is AWOL") ...
87bf9d7b6454be705ae3e64d3375697abf489983 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11382/87bf9d7b6454be705ae3e64d3375697abf489983/server.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 261, 2890, 16, 2944, 4755, 4331, 273, 1083, 13, 294, 2552, 202, 950, 1182, 389, 957, 273, 813, 18, 957, 1832, 4460, 3896, 273, 1083, 364, 612, 316, 3287, 6315, 3896, 7276, 18, 35...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 261, 2890, 16, 2944, 4755, 4331, 273, 1083, 13, 294, 2552, 202, 950, 1182, 389, 957, 273, 813, 18, 957, 1832, 4460, 3896, 273, 1083, 364, 612, 316, 3287, 6315, 3896, 7276, 18, 35...
self.set_stderr_file(log_dir + '/datafind-$(macroobservatory)-$(macrogpsstarttime)-$(macrogpsendtime)-$(cluster)-$(process).err') self.set_stdout_file(self.__cache_dir + '/$(macroobservatory)-$(macrogpsstarttime)-$(macrogpsendtime).cache')
self.set_stderr_file(log_dir + '/datafind-$(macroobservatory)-$(macrotype)-$(macrogpsstarttime)-$(macrogpsendtime)-$(cluster)-$(process).err') self.set_stdout_file(self.__cache_dir + '/$(macroobservatory)-$(macrotype)-$(macrogpsstarttime)-$(macrogpsendtime).cache')
def __init__(self,cache_dir,log_dir,config_file,dax=0): """ @param cache_dir: the directory to write the output lal cache files to. @param log_dir: the directory to write the stderr file to. @param config_file: ConfigParser object containing the path to the LSCdataFind executable in the [condor] section and a [datafind...
a7bcdf66458aaf22a0075edacc41c767a7512902 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3589/a7bcdf66458aaf22a0075edacc41c767a7512902/pipeline.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2493, 67, 1214, 16, 1330, 67, 1214, 16, 1425, 67, 768, 16, 72, 651, 33, 20, 4672, 3536, 632, 891, 1247, 67, 1214, 30, 326, 1867, 358, 1045, 326, 876, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2493, 67, 1214, 16, 1330, 67, 1214, 16, 1425, 67, 768, 16, 72, 651, 33, 20, 4672, 3536, 632, 891, 1247, 67, 1214, 30, 326, 1867, 358, 1045, 326, 876, ...