rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
as = atom.service.AtomService('code.google.com') self.assertEquals(as.server, 'code.google.com') (host, port, ssl, path) = atom.service.ProcessUrl(as,
atom_service = atom.service.AtomService('code.google.com') self.assertEquals(atom_service.server, 'code.google.com') (host, port, ssl, path) = atom.service.ProcessUrl(atom_service,
def testParseHttpsUrl(self): as = atom.service.AtomService('code.google.com') self.assertEquals(as.server, 'code.google.com') (host, port, ssl, path) = atom.service.ProcessUrl(as, 'https://www.google.com/service/subservice?name=value&newname=newvalue')
baf155b351712dae1750dc47f55d4629c7ccf76a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10620/baf155b351712dae1750dc47f55d4629c7ccf76a/service_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 3201, 22077, 1489, 12, 2890, 4672, 3179, 67, 3278, 273, 3179, 18, 3278, 18, 3641, 1179, 2668, 710, 18, 9536, 18, 832, 6134, 365, 18, 11231, 8867, 12, 7466, 67, 3278, 18, 3567, 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, 1842, 3201, 22077, 1489, 12, 2890, 4672, 3179, 67, 3278, 273, 3179, 18, 3278, 18, 3641, 1179, 2668, 710, 18, 9536, 18, 832, 6134, 365, 18, 11231, 8867, 12, 7466, 67, 3278, 18, 3567, 16...
print self._main_prefix
def total_space(self, end_session=True): msz = csz = 0 print self._main_prefix if not iswindows: if self._main_prefix is not None: stats = os.statvfs(self._main_prefix) msz = stats.f_frsize * (stats.f_blocks + stats.f_bavail - stats.f_bfree) if self._card_prefix is not None: stats = os.statvfs(self._card_prefix) csz = ...
fe94bb088cd05b51e223d64cf22923bff91634de /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9125/fe94bb088cd05b51e223d64cf22923bff91634de/device.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2078, 67, 2981, 12, 2890, 16, 679, 67, 3184, 33, 5510, 4672, 4086, 94, 273, 2873, 94, 273, 374, 309, 486, 353, 13226, 30, 309, 365, 6315, 5254, 67, 3239, 353, 486, 599, 30, 3177, 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, 2078, 67, 2981, 12, 2890, 16, 679, 67, 3184, 33, 5510, 4672, 4086, 94, 273, 2873, 94, 273, 374, 309, 486, 353, 13226, 30, 309, 365, 6315, 5254, 67, 3239, 353, 486, 599, 30, 3177, 273...
extracter = Extracter(filename, movie_data["screenshot"], handle_result)
extracter = Extracter(filename, movie_data["screenshot"], handle_result)
def fillMovieData(self, filename, movie_data, callback): confirmMainThread() dir = os.path.join (config.get(prefs.ICON_CACHE_DIRECTORY), "extracted") try: os.makedirs(dir) except: pass screenshot = os.path.join (dir, os.path.basename(filename) + ".png") movie_data["screenshot"] = nextFreeFilename(screenshot)
e1525c9d9702d597df70f25448a0a053e7addb24 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12354/e1525c9d9702d597df70f25448a0a053e7addb24/gstreamerrenderer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3636, 16727, 13120, 751, 12, 2890, 16, 1544, 16, 21360, 67, 892, 16, 1348, 4672, 6932, 6376, 3830, 1435, 1577, 273, 1140, 18, 803, 18, 5701, 261, 1425, 18, 588, 12, 1484, 2556, 18, 217...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3636, 16727, 13120, 751, 12, 2890, 16, 1544, 16, 21360, 67, 892, 16, 1348, 4672, 6932, 6376, 3830, 1435, 1577, 273, 1140, 18, 803, 18, 5701, 261, 1425, 18, 588, 12, 1484, 2556, 18, 217...
build_params = self.build_params.get_parameters()
build_params = self.build_params.get_parameters(force_tuple_creation=True)
def generate_python_call(self): """code to call the python method""" build_params = self.build_params.get_parameters() if build_params[0][0] == '"': build_params[0] = '(char *) ' + build_params[0] args = self.before_call.declare_variable('PyObject*', 'args') self.before_call.write_code('%s = Py_BuildValue(%s);' % (args...
a3176224892e128014d6fc4c868a0059e407b22c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7746/a3176224892e128014d6fc4c868a0059e407b22c/ns3modulegen_core_customizations.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 8103, 67, 1991, 12, 2890, 4672, 3536, 710, 358, 745, 326, 5790, 707, 8395, 1361, 67, 2010, 273, 365, 18, 3510, 67, 2010, 18, 588, 67, 3977, 12, 5734, 67, 8052, 67, 17169, 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, 2103, 67, 8103, 67, 1991, 12, 2890, 4672, 3536, 710, 358, 745, 326, 5790, 707, 8395, 1361, 67, 2010, 273, 365, 18, 3510, 67, 2010, 18, 588, 67, 3977, 12, 5734, 67, 8052, 67, 17169, 3...
self.tkconsole.text.after(50, self.poll_subprocess)
if not self.tkconsole.closing: self.tkconsole.text.after(self.tkconsole.pollinterval, self.poll_subprocess)
def poll_subprocess(self): clt = self.rpcclt if clt is None: return try: response = clt.pollresponse(self.active_seq, wait=0.05) except (EOFError, IOError, KeyboardInterrupt): # lost connection or subprocess terminated itself, restart # [the KBI is from rpc.SocketIO.handle_EOF()] if self.tkconsole.closing: return respo...
88957d8d0d9bf6d45603171927aa82d921bf9697 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/88957d8d0d9bf6d45603171927aa82d921bf9697/PyShell.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7672, 67, 1717, 2567, 12, 2890, 4672, 927, 88, 273, 365, 18, 7452, 830, 88, 309, 927, 88, 353, 599, 30, 327, 775, 30, 766, 273, 927, 88, 18, 13835, 2740, 12, 2890, 18, 3535, 67, 54...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7672, 67, 1717, 2567, 12, 2890, 4672, 927, 88, 273, 365, 18, 7452, 830, 88, 309, 927, 88, 353, 599, 30, 327, 775, 30, 766, 273, 927, 88, 18, 13835, 2740, 12, 2890, 18, 3535, 67, 54...
for i in o.outputs: version.append(i.type.c_code_cache_version()) rval.append((o.op, tuple((i.type, graphpos(i)) for i in o.inputs))) op_pos[o] = opos env_computed_set.update(o.outputs)
for o in node.outputs: version.append(o.type.c_code_cache_version()) rval.append((node.op, tuple((i.type, graphpos(i, node_pos, ipos)) for ipos,i in enumerate(node.inputs)))) op_pos[node] = node_pos env_computed_set.update(node.outputs)
def graphpos(i): if isinstance(i, graph.Constant): return i.signature() elif i in env_inputs_set: return env_inputs_set[i] else: if i.owner is None: assert all( all(out is not None for out in o.outputs) for o in order) assert all( input.owner is None for input in self.env.inputs) raise Exception('what is this?', (i, ty...
108452181131c54a6ca942cb49e275060b133272 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12438/108452181131c54a6ca942cb49e275060b133272/cc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2667, 917, 12, 77, 4672, 309, 1549, 12, 77, 16, 2667, 18, 6902, 4672, 327, 277, 18, 8195, 1435, 1327, 277, 316, 1550, 67, 10029, 67, 542, 30, 327, 1550, 67, 10029, 67, 542, 63, 77, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2667, 917, 12, 77, 4672, 309, 1549, 12, 77, 16, 2667, 18, 6902, 4672, 327, 277, 18, 8195, 1435, 1327, 277, 316, 1550, 67, 10029, 67, 542, 30, 327, 1550, 67, 10029, 67, 542, 63, 77, ...
def __init__(self, tableName, alias=None):
def __init__(self, table, alias=None): if hasattr(table, "sqlmeta"): tableName = table.sqlmeta.table else: tableName = table table = None
def __init__(self, tableName, alias=None): Table.__init__(self, tableName) if alias is None: self._alias_lock.acquire() try: AliasTable._alias_counter += 1 alias = "%s_alias%d" % (tableName, AliasTable._alias_counter) finally: self._alias_lock.release() self.alias = alias
9d7628fb686eebb4753c1205f5724749c16a6c20 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6718/9d7628fb686eebb4753c1205f5724749c16a6c20/sqlbuilder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1014, 16, 2308, 33, 7036, 4672, 309, 3859, 12, 2121, 16, 315, 4669, 3901, 6, 4672, 4775, 273, 1014, 18, 4669, 3901, 18, 2121, 469, 30, 4775, 273, 1014, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1014, 16, 2308, 33, 7036, 4672, 309, 3859, 12, 2121, 16, 315, 4669, 3901, 6, 4672, 4775, 273, 1014, 18, 4669, 3901, 18, 2121, 469, 30, 4775, 273, 1014, ...
abc
TypeError: exceptions must be classes, or instances, not str
>>> def throw(g,exc):
4c20bc40d73a7f4a977475e4fa02f7c8a43d796a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/4c20bc40d73a7f4a977475e4fa02f7c8a43d796a/test_generators.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4080, 1652, 604, 12, 75, 16, 10075, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4080, 1652, 604, 12, 75, 16, 10075, 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,...
MapBuffer.write('\n\n%s (Fix Memory Address, BaseAddress=0x%010X, EntryPoint=0x%010X)\n' % (ModuleName, BaseAddress, BaseAddress + ModuleInfo.Image.EntryPoint))
MapBuffer.write('\n\n%s (Fixed Memory Address, BaseAddress=0x%010X, EntryPoint=0x%010X)\n' % (ModuleName, BaseAddress, BaseAddress + ModuleInfo.Image.EntryPoint))
def _RebaseModule (self, MapBuffer, BaseAddress, ModuleList, AddrIsOffset = True, ModeIsSmm = False): if ModeIsSmm: AddrIsOffset = False InfFileNameList = ModuleList.keys() #InfFileNameList.sort() for InfFile in InfFileNameList: sys.stdout.write (".") sys.stdout.flush() ModuleInfo = ModuleList[InfFile] ModuleName = Mod...
ef3747968bba5f59e31e3a867cfc32eb8a676f78 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/914/ef3747968bba5f59e31e3a867cfc32eb8a676f78/build.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 426, 1969, 3120, 261, 2890, 16, 1635, 1892, 16, 3360, 1887, 16, 5924, 682, 16, 10216, 2520, 2335, 273, 1053, 16, 8126, 2520, 55, 7020, 273, 1083, 4672, 309, 8126, 2520, 55, 7020, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 426, 1969, 3120, 261, 2890, 16, 1635, 1892, 16, 3360, 1887, 16, 5924, 682, 16, 10216, 2520, 2335, 273, 1053, 16, 8126, 2520, 55, 7020, 273, 1083, 4672, 309, 8126, 2520, 55, 7020, ...
return http.Response(stream = template('source_code.html', src_filename=self.path, src=src, username=self.username))
return HTMLResponse(stream = template('source_code.html', src_filename=self.path, src=src, username=self.username))
def render(self, ctx): filename = self.path if os.path.isfile(filename): if not os.path.exists(filename): src = "No such file '%s'"%filename else: src = open(filename).read() src = escape(src) return http.Response(stream = template('source_code.html', src_filename=self.path, src=src, username=self.username)) else: retu...
2c1a5997a8830efcfb475993e5f1efb45ed121ea /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/2c1a5997a8830efcfb475993e5f1efb45ed121ea/twist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 1103, 4672, 1544, 273, 365, 18, 803, 309, 1140, 18, 803, 18, 291, 768, 12, 3459, 4672, 309, 486, 1140, 18, 803, 18, 1808, 12, 3459, 4672, 1705, 273, 315, 2279, 41...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 1103, 4672, 1544, 273, 365, 18, 803, 309, 1140, 18, 803, 18, 291, 768, 12, 3459, 4672, 309, 486, 1140, 18, 803, 18, 1808, 12, 3459, 4672, 1705, 273, 315, 2279, 41...
def __repr__(self): return self.message
except FeedError, e: print e sys.exit(1)
def __repr__(self): return self.message
2bc56260e439cbf4ac58fccaf7d6d4f92d32f2b3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2318/2bc56260e439cbf4ac58fccaf7d6d4f92d32f2b3/YahooFinance.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12715, 972, 12, 2890, 4672, 327, 365, 18, 2150, 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, 1001, 12715, 972, 12, 2890, 4672, 327, 365, 18, 2150, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
valid_versions = ['1.1.0', '2.2.0', '1.1', '2.2'] deprecated_versions = ['1.1.0', '2.2.0']
valid_versions = ['1.1.0', '2.2.0'] deprecated_versions = ['1.1', '2.2']
def test_srm(self): valid_versions = ['1.1.0', '2.2.0', '1.1', '2.2'] deprecated_versions = ['1.1.0', '2.2.0'] fk_re = re.compile("GlueSiteUniqueID=(.*)")
b3cf62b0329de27fb86ea33f242129a5fa675df7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12088/b3cf62b0329de27fb86ea33f242129a5fa675df7/gip_validate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 87, 8864, 12, 2890, 4672, 923, 67, 10169, 273, 10228, 21, 18, 21, 18, 20, 2187, 296, 22, 18, 22, 18, 20, 3546, 6849, 67, 10169, 273, 10228, 21, 18, 21, 2187, 296, 22, 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, 87, 8864, 12, 2890, 4672, 923, 67, 10169, 273, 10228, 21, 18, 21, 18, 20, 2187, 296, 22, 18, 22, 18, 20, 3546, 6849, 67, 10169, 273, 10228, 21, 18, 21, 2187, 296, 22, 18,...
G = DirichletGroup(self.level(), K)
G = DirichletGroup(self.level(), L)
def q_eigenform_character(self, names=None): """ Return the Dirichlet character associated to the specific choice of `q`-eigenform attached to this simple cuspidal modular symbols space.
480e0b141de99b0c47a69c8b56ce436c1b9a8b5a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/480e0b141de99b0c47a69c8b56ce436c1b9a8b5a/space.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1043, 67, 22663, 275, 687, 67, 11560, 12, 2890, 16, 1257, 33, 7036, 4672, 3536, 2000, 326, 8446, 1354, 1810, 3351, 3627, 358, 326, 2923, 6023, 434, 1375, 85, 68, 17, 22663, 275, 687, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1043, 67, 22663, 275, 687, 67, 11560, 12, 2890, 16, 1257, 33, 7036, 4672, 3536, 2000, 326, 8446, 1354, 1810, 3351, 3627, 358, 326, 2923, 6023, 434, 1375, 85, 68, 17, 22663, 275, 687, 7...
self._stop = False
self._stop_server = False
def __init__(self, request_handler): threading.Thread.__init__(self) self._stop = False self.ready = threading.Event() request_handler.protocol_version = "HTTP/1.0" self.httpd = LoopbackHttpServer(('127.0.0.1', 0), request_handler) #print "Serving HTTP on %s port %s" % (self.httpd.server_name, # ...
3ae4973f855c970550f7038b67c8692b8b84b64e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12029/3ae4973f855c970550f7038b67c8692b8b84b64e/test_urllib2_localnet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 590, 67, 4176, 4672, 17254, 18, 3830, 16186, 2738, 972, 12, 2890, 13, 365, 6315, 5681, 67, 3567, 273, 1083, 365, 18, 1672, 273, 17254, 18, 1133, 1435, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 590, 67, 4176, 4672, 17254, 18, 3830, 16186, 2738, 972, 12, 2890, 13, 365, 6315, 5681, 67, 3567, 273, 1083, 365, 18, 1672, 273, 17254, 18, 1133, 1435, 59...
class ActiveTaskTreeView(TaskTreeView): """TreeView for display of a list of task. Handles DnD primitives too.""" DND_TARGETS = [ ('gtg/task-iter-str', gtk.TARGET_SAME_WIDGET, 0) ] def __init__(self, requester): TaskTreeView.__init__(self, requester) self._init_tree_view() self.get_selection().set_mode(gtk.SELECTIO...
def set_column(self,index,col): self.__columns[index] = col
190b5cdad6885bc75049916e830fb903e3aa81c1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8234/190b5cdad6885bc75049916e830fb903e3aa81c1/tasktree.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 2827, 12, 2890, 16, 1615, 16, 1293, 4672, 365, 16186, 5112, 63, 1615, 65, 273, 645, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 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, 444, 67, 2827, 12, 2890, 16, 1615, 16, 1293, 4672, 365, 16186, 5112, 63, 1615, 65, 273, 645, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.currentToken = CommentToken("".charStack[:-1])
self.currentToken = CommentToken("".join(charStack[:-1]))
def bogusCommentState(self): assert self.contentModelFlag == contentModelFlags["PCDATA"]
7a76d9e2103866ed8f7fa14ed7d47696b3dfc04b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9368/7a76d9e2103866ed8f7fa14ed7d47696b3dfc04b/tokenizer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 324, 28774, 4469, 1119, 12, 2890, 4672, 1815, 365, 18, 1745, 1488, 4678, 422, 913, 1488, 5094, 9614, 3513, 4883, 11929, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 324, 28774, 4469, 1119, 12, 2890, 4672, 1815, 365, 18, 1745, 1488, 4678, 422, 913, 1488, 5094, 9614, 3513, 4883, 11929, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
'price':i_line.product_id.product_tmpl_id.standard_price * i_line.quantity,
'price':get_price(cr, uid, inv, company_currency, i_line),
def move_line_get(self, cr, uid, invoice_id, context=None): res = super(account_invoice_line,self).move_line_get(cr, uid, invoice_id, context=context) inv = self.pool.get('account.invoice').browse(cr, uid, invoice_id, context=context) if inv.type in ('out_invoice','out_refund'): for i_line in inv.invoice_line: if i_lin...
01152d412373ef527cbc9fdfa88601c98d6c6e0f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/01152d412373ef527cbc9fdfa88601c98d6c6e0f/invoice.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3635, 67, 1369, 67, 588, 12, 2890, 16, 4422, 16, 4555, 16, 9179, 67, 350, 16, 819, 33, 7036, 4672, 400, 273, 2240, 12, 4631, 67, 16119, 67, 1369, 16, 2890, 2934, 8501, 67, 1369, 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, 3635, 67, 1369, 67, 588, 12, 2890, 16, 4422, 16, 4555, 16, 9179, 67, 350, 16, 819, 33, 7036, 4672, 400, 273, 2240, 12, 4631, 67, 16119, 67, 1369, 16, 2890, 2934, 8501, 67, 1369, 67, ...
shutil.copyfile(source, dest)
shutil.copyfile(source, dest)
def export_files(self, dirname, nodeid): ''' Export the "content" property as a file, not csv column ''' source = self.db.filename(self.classname, nodeid)
9dab55a26b9a94cee652e7d264926fc1aeb57dfc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1906/9dab55a26b9a94cee652e7d264926fc1aeb57dfc/hyperdb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3359, 67, 2354, 12, 2890, 16, 4283, 16, 756, 350, 4672, 9163, 11054, 326, 315, 1745, 6, 1272, 487, 279, 585, 16, 486, 6101, 1057, 9163, 1084, 273, 365, 18, 1966, 18, 3459, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3359, 67, 2354, 12, 2890, 16, 4283, 16, 756, 350, 4672, 9163, 11054, 326, 315, 1745, 6, 1272, 487, 279, 585, 16, 486, 6101, 1057, 9163, 1084, 273, 365, 18, 1966, 18, 3459, 12, 2890, ...
if selected: self.set_selected(selected, jump=True) else: self.set_selected(None, jump=True)
self.set_selected(selected, jump=True)
def fill(self, songs): restore = self.__restore_values selected = (restore and restore.pop(0)) or self.get_selected() model = self.get_model() if len(model) == len(selected): selected = None self.inhibit() model.clear() self._add(songs) self.uninhibit() if selected: self.set_selected(selected, jump=True) else: self.set...
65c353a2f58dd189cd3918d5836dbf8ca05e5f5f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4764/65c353a2f58dd189cd3918d5836dbf8ca05e5f5f/paned.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3636, 12, 2890, 16, 272, 7260, 4672, 5217, 273, 365, 16186, 13991, 67, 2372, 3170, 273, 261, 13991, 471, 5217, 18, 5120, 12, 20, 3719, 578, 365, 18, 588, 67, 8109, 1435, 938, 273, 365,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3636, 12, 2890, 16, 272, 7260, 4672, 5217, 273, 365, 16186, 13991, 67, 2372, 3170, 273, 261, 13991, 471, 5217, 18, 5120, 12, 20, 3719, 578, 365, 18, 588, 67, 8109, 1435, 938, 273, 365,...
self.compiler = new_compiler (plat=os.environ.get ('PLAT'), verbose=self.verbose,
self.compiler = new_compiler (verbose=self.verbose,
def run (self):
4620f306a4d46ca6e455247cfa5c900765d4b9d1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/4620f306a4d46ca6e455247cfa5c900765d4b9d1/build_ext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 261, 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, 1086, 261, 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, ...
size = book_metadata_field("size", formatter=int)
size = book_metadata_field("size", formatter=lambda x : int(float(x)))
def __set__(self, obj, val): """ Set the attribute """ val = self.setter(val) if self.setter else val if not isinstance(val, unicode): val = unicode(val, 'utf8', 'replace') obj.elem.setAttribute(self.attr, val)
4dfb9a0d3f80d5230a5be646d8d152f1fcae009c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9125/4dfb9a0d3f80d5230a5be646d8d152f1fcae009c/books.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 542, 972, 12, 2890, 16, 1081, 16, 1244, 4672, 3536, 1000, 326, 1566, 3536, 1244, 273, 365, 18, 18062, 12, 1125, 13, 309, 365, 18, 18062, 469, 1244, 309, 486, 1549, 12, 1125, 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, 1001, 542, 972, 12, 2890, 16, 1081, 16, 1244, 4672, 3536, 1000, 326, 1566, 3536, 1244, 273, 365, 18, 18062, 12, 1125, 13, 309, 365, 18, 18062, 469, 1244, 309, 486, 1549, 12, 1125, 16, ...
this = apply(_quickfix.new_TradSesStatus, args)
this = _quickfix.new_TradSesStatus(*args)
def __init__(self, *args): this = apply(_quickfix.new_TradSesStatus, args) try: self.this.append(this) except: self.this = this
7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 1609, 72, 55, 281, 1482, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 133...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 1609, 72, 55, 281, 1482, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 133...
return lib_dir, inc_dir, bin_dir
return home_dir, lib_dir, inc_dir, bin_dir
def path_locations(home_dir): """Return the path locations for the environment (where libraries are, where scripts go, etc)""" # XXX: We'd use distutils.sysconfig.get_python_inc/lib but its # prefix arg is broken: http://bugs.python.org/issue3386 if sys.platform == 'win32': lib_dir = join(home_dir, 'Lib') inc_dir = joi...
dc6dda8f6c595f40e2cfb5c2db467fabc291d631 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12981/dc6dda8f6c595f40e2cfb5c2db467fabc291d631/virtualenv.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 589, 67, 12352, 12, 8712, 67, 1214, 4672, 3536, 990, 326, 589, 7838, 364, 326, 3330, 261, 6051, 14732, 854, 16, 1625, 8873, 1960, 16, 5527, 15574, 468, 11329, 30, 1660, 14271, 999, 2411,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 589, 67, 12352, 12, 8712, 67, 1214, 4672, 3536, 990, 326, 589, 7838, 364, 326, 3330, 261, 6051, 14732, 854, 16, 1625, 8873, 1960, 16, 5527, 15574, 468, 11329, 30, 1660, 14271, 999, 2411,...
uids = [ m.group('uid') for m in UID_PATTERN.finditer(page) ]
uids = [ m.group('uid') for m in UID_PATTERN.finditer(value) ]
def set(self, instance, value, **kwargs): """ Assign input value to object. If mimetype is not specified, pass to processing method without one and add mimetype returned to kwargs. Assign kwargs to instance. """ if value is None: # nothing to do return
b62c785256593ff3545850cd0f68eab4947ce3a4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10193/b62c785256593ff3545850cd0f68eab4947ce3a4/ReftextField.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12, 2890, 16, 791, 16, 460, 16, 2826, 4333, 4672, 3536, 12093, 810, 460, 358, 733, 18, 971, 12595, 353, 486, 1269, 16, 1342, 358, 4929, 707, 2887, 1245, 471, 527, 12595, 2106, 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, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 12, 2890, 16, 791, 16, 460, 16, 2826, 4333, 4672, 3536, 12093, 810, 460, 358, 733, 18, 971, 12595, 353, 486, 1269, 16, 1342, 358, 4929, 707, 2887, 1245, 471, 527, 12595, 2106, 358...
keep_elem_refs(p1, title, stitle)
keep_elem_refs(pPopup, title, stitle)
def fl_popup_set_title(pPopup, title): """ fl_popup_set_title(pPopup, title) -> popup """ _fl_popup_set_title = cfuncproto( load_so_libforms(), "fl_popup_set_title", cty.POINTER(FL_POPUP), [cty.POINTER(FL_POPUP), STRING], """FL_POPUP * fl_popup_set_title(FL_POPUP * p1, const char * p2) """) stitle = convert_to_string(...
db6a08ef941394cf8c4ed51185c751970c67b215 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/db6a08ef941394cf8c4ed51185c751970c67b215/library.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 16086, 67, 542, 67, 2649, 12, 84, 13770, 16, 2077, 4672, 3536, 1183, 67, 16086, 67, 542, 67, 2649, 12, 84, 13770, 16, 2077, 13, 317, 10431, 3536, 225, 389, 2242, 67, 16086, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 16086, 67, 542, 67, 2649, 12, 84, 13770, 16, 2077, 4672, 3536, 1183, 67, 16086, 67, 542, 67, 2649, 12, 84, 13770, 16, 2077, 13, 317, 10431, 3536, 225, 389, 2242, 67, 16086, ...
if key == 'font' and self.use_system_font:
if key == 'font' and self['use_system_font']:
def __getitem__ (self, key = ""): if self.cache.has_key (key): dbg (" VSGConf: returning cached value: %s"%self.cache[key]) return (self.cache[key])
4622b29aca4b5143667a6178ef7df3a8f6f4557a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6502/4622b29aca4b5143667a6178ef7df3a8f6f4557a/config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31571, 972, 261, 2890, 16, 498, 273, 1408, 4672, 309, 365, 18, 2493, 18, 5332, 67, 856, 261, 856, 4672, 28966, 7566, 776, 30820, 3976, 30, 5785, 3472, 460, 30, 738, 87, 28385, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31571, 972, 261, 2890, 16, 498, 273, 1408, 4672, 309, 365, 18, 2493, 18, 5332, 67, 856, 261, 856, 4672, 28966, 7566, 776, 30820, 3976, 30, 5785, 3472, 460, 30, 738, 87, 28385, 28...
else: t=url
else: t=cgi.escape(url)
def create_net_menu(self): mm = gtk.Menu() links=self.__m.get_current().get('links',u'').split(u'\n') for l in links: ll=l.split(u'\t',1) url=cgi.escape(ll[0]) if len(ll)>1: t=cgi.escape(ll[1]) else: t=url i= gtk.MenuItem(t) i.connect("activate", self.net_menu_cb,url) i.show() mm.add(i) self.net_menu.set_submenu(mm)
be1ce6d3401df60adefdf8ade0ad2a5da413a2e8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9462/be1ce6d3401df60adefdf8ade0ad2a5da413a2e8/MonajatScreenlet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 2758, 67, 5414, 12, 2890, 4672, 9740, 273, 22718, 18, 4599, 1435, 4716, 33, 2890, 16186, 81, 18, 588, 67, 2972, 7675, 588, 2668, 7135, 2187, 89, 6309, 2934, 4939, 12, 89, 8314...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2758, 67, 5414, 12, 2890, 4672, 9740, 273, 22718, 18, 4599, 1435, 4716, 33, 2890, 16186, 81, 18, 588, 67, 2972, 7675, 588, 2668, 7135, 2187, 89, 6309, 2934, 4939, 12, 89, 8314...
testMethod = getattr(self, self.__testMethodName)
testMethod = getattr(self, self._testMethodName)
def run(self, result=None): if result is None: result = self.defaultTestResult() result.startTest(self) testMethod = getattr(self, self.__testMethodName) try: try: self.setUp() except KeyboardInterrupt: raise except: result.addError(self, self.__exc_info()) return
dcb7d97fc6f9b6b40c3037899d0a94b46e4e2b77 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/dcb7d97fc6f9b6b40c3037899d0a94b46e4e2b77/unittest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 16, 563, 33, 7036, 4672, 309, 563, 353, 599, 30, 563, 273, 365, 18, 1886, 4709, 1253, 1435, 563, 18, 1937, 4709, 12, 2890, 13, 1842, 1305, 273, 3869, 12, 2890, 16, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 16, 563, 33, 7036, 4672, 309, 563, 353, 599, 30, 563, 273, 365, 18, 1886, 4709, 1253, 1435, 563, 18, 1937, 4709, 12, 2890, 13, 1842, 1305, 273, 3869, 12, 2890, 16, 36...
_impl_qi = re.compile(r'NS_IMPL_(?P<threadsafe>THREADSAFE_)?(?P<type>QUERY_INTERFACE|ISUPPORTS)(?:\d+)\((?P<bases>.*)\)\s*$')
_impl_qi = re.compile(r'NS_IMPL_(?P<threadsafe>THREADSAFE_)?(?P<type>QUERY_INTERFACE|ISUPPORTS)(?P<inherited>_INHERITED)?(?:\d+)\((?P<bases>.*)\)\s*$')
def build_map(f, cname, iids): """Parse the body of an NS_INTERFACE_MAP and return (members, unfound)""" unfound = None members = [] for line in f: if line == 'NS_INTERFACE_MAP_END': return (members, unfound) if line == 'NS_INTERFACE_MAP_UNFOUND': unfound = '' for line in f: if line == 'END': break unfound += line con...
b27c6528ebaf2229b80b9856a60cc082ead28538 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13067/b27c6528ebaf2229b80b9856a60cc082ead28538/gqi.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 1458, 12, 74, 16, 18290, 16, 277, 2232, 4672, 3536, 3201, 326, 1417, 434, 392, 11472, 67, 18865, 67, 8352, 471, 327, 261, 7640, 16, 640, 7015, 15574, 640, 7015, 273, 599, 483...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 1458, 12, 74, 16, 18290, 16, 277, 2232, 4672, 3536, 3201, 326, 1417, 434, 392, 11472, 67, 18865, 67, 8352, 471, 327, 261, 7640, 16, 640, 7015, 15574, 640, 7015, 273, 599, 483...
this = apply(_quickfix.new_Adjustment, args)
this = _quickfix.new_Adjustment(*args)
def __init__(self, *args): this = apply(_quickfix.new_Adjustment, args) try: self.this.append(this) except: self.this = this
7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 19985, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, 365, 18, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 19985, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, 365, 18, 22...
print_test("miscellaneous", 3) for i in range(-10, 11): for j in range(0, 6): for k in range(-7, 11): if (j>=0 and k!=0): o=pow(i,j) % k n=pow(i,j,k) assert o == n, 'Integer mismatch: %d, %d, %d' % (i,j,k) if (j>=0 and k<>0): o=pow(long(i),j) % k n=pow(long(i),j,k) assert o == n, 'Long mismatch: %s, %s, %s' % (i,j,k) ...
if sys.platform.startswith('java1.1'): print_test("miscellaneous... skipping due to JVM bugs", 3) else: print_test("miscellaneous", 3) for i in range(-10, 11): for j in range(0, 6): for k in range(-7, 11): if (j>=0 and k!=0): o=pow(i,j) % k n=pow(i,j,k) assert o == n, 'Integer mismatch: %d, %d, %d' % (i,j,k) if (j>=0 a...
def powtest(type): if (type!=float): print_test("simple identities", 4) for i in range(-1000, 1000): assert type(i)**0 == 1 assert type(i)**1 == type(i) if i > 0: assert type(0)**i == type(0) assert type(1)**i == type(1) print_test("cubes") for i in range(-100, 100): assert type(i)**3 == i*i*i print_test("powers of t...
dc372332781219a259de010ee8e8a0b445788b0a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6753/dc372332781219a259de010ee8e8a0b445788b0a/test_pow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7602, 3813, 12, 723, 4672, 309, 261, 723, 5, 33, 5659, 4672, 1172, 67, 3813, 2932, 9647, 17230, 3113, 1059, 13, 364, 277, 316, 1048, 19236, 18088, 16, 4336, 4672, 1815, 618, 12, 77, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7602, 3813, 12, 723, 4672, 309, 261, 723, 5, 33, 5659, 4672, 1172, 67, 3813, 2932, 9647, 17230, 3113, 1059, 13, 364, 277, 316, 1048, 19236, 18088, 16, 4336, 4672, 1815, 618, 12, 77, 13...
elif node.parent.type in ("try", "catch", "finally"): print("Omit unwrapping of block (try/catch/finally) at
def optimize(node, level=0): # Process from inside to outside for child in node: optimize(child, level+1) # Unwrap blocks if node.type == "block": if len(node) == 0: print("Replace empty block #%s" % level) node.parent.replace(node, Node(node.tokenizer, "semicolon")) elif len(node) == 1: if node.parent.type == "if" an...
f6f95836985c8a03e0192b554d8d97b02dd96874 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12949/f6f95836985c8a03e0192b554d8d97b02dd96874/BlockReducer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10979, 12, 2159, 16, 1801, 33, 20, 4672, 468, 4389, 628, 4832, 358, 8220, 364, 1151, 316, 756, 30, 10979, 12, 3624, 16, 1801, 15, 21, 13, 225, 468, 1351, 4113, 4398, 309, 756, 18, 72...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10979, 12, 2159, 16, 1801, 33, 20, 4672, 468, 4389, 628, 4832, 358, 8220, 364, 1151, 316, 756, 30, 10979, 12, 3624, 16, 1801, 15, 21, 13, 225, 468, 1351, 4113, 4398, 309, 756, 18, 72...
targetCommand.trove.troveFailed('Stop requested')
if targetCommand.trove: targetCommand.trove.troveFailed('Stop requested') elif targetCommand.job: targetCommand.job.jobFailed('Stop requested') else: self.warning('Command %s has no job or trove assigned -- ' 'cannot fail job.', targetCommandId)
def killFn(pid): self._killPid(pid, killGroup=True, hook=self._serveLoopHook)
4d71ebc3a84f73752de77b9f1f66785c9f389eda /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8749/4d71ebc3a84f73752de77b9f1f66785c9f389eda/worker.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8673, 5372, 12, 6610, 4672, 365, 6315, 16418, 12478, 12, 6610, 16, 8673, 1114, 33, 5510, 16, 3953, 33, 2890, 6315, 30104, 6452, 5394, 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, 0, 0, 0, 0, 0, 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, 8673, 5372, 12, 6610, 4672, 365, 6315, 16418, 12478, 12, 6610, 16, 8673, 1114, 33, 5510, 16, 3953, 33, 2890, 6315, 30104, 6452, 5394, 13, 2, -100, -100, -100, -100, -100, -100, -100, -10...
self.doReloadConfig () def doReloadConfig (self, reallyReload="dunno"): if reallyReload == "No": return
def reloadConfig (self, widget): self.doReloadConfig ()
44ba4a387d4167dedba8d083a763a0b3d1a1236b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4580/44ba4a387d4167dedba8d083a763a0b3d1a1236b/driconf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7749, 809, 261, 2890, 16, 3604, 4672, 365, 18, 2896, 13013, 809, 1832, 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, 7749, 809, 261, 2890, 16, 3604, 4672, 365, 18, 2896, 13013, 809, 1832, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.folders = {}
self.folders = []
def addfolders(self, remotefolders, autorefreshes, quick): self.folderlock.acquire() try: self.folders = {} self.quick = quick self.autorefreshes = autorefreshes for folder in remotefolders: # new folders are queued self.folders[folder] = True finally: self.folderlock.release()
7bdd4a69fa5621c2fcf3213b32d2c21f1ba2b741 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5335/7bdd4a69fa5621c2fcf3213b32d2c21f1ba2b741/accounts.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 16064, 12, 2890, 16, 2632, 16064, 16, 2059, 479, 74, 1955, 281, 16, 9549, 4672, 365, 18, 5609, 739, 18, 1077, 1039, 1435, 775, 30, 365, 18, 16064, 273, 5378, 365, 18, 19525, 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, 527, 16064, 12, 2890, 16, 2632, 16064, 16, 2059, 479, 74, 1955, 281, 16, 9549, 4672, 365, 18, 5609, 739, 18, 1077, 1039, 1435, 775, 30, 365, 18, 16064, 273, 5378, 365, 18, 19525, 273, ...
self.source = getXMLNode(xmlPayload, "code").getAttribute("source")
self.source = str(getXMLNode(xmlPayload, "code").getAttribute("source"))
def __init__(self, xmlPayload, config, ParentName): self.initLog(config) self.name = xmlPayload.getAttribute("name") self.doBase64 = (xmlPayload.getAttribute("dobase64") == "1") self.inshell = (xmlPayload.getAttribute("inshell") == "1") self.inputlist = getXMLNodes(xmlPayload, "input") self.source = getXMLNode(xmlPayl...
556c405d104ec59d630e80568df5daf91ab1bf9d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4412/556c405d104ec59d630e80568df5daf91ab1bf9d/language.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2025, 6110, 16, 642, 16, 9520, 461, 4672, 365, 18, 2738, 1343, 12, 1425, 13, 365, 18, 529, 273, 2025, 6110, 18, 588, 1499, 2932, 529, 7923, 365, 18, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2025, 6110, 16, 642, 16, 9520, 461, 4672, 365, 18, 2738, 1343, 12, 1425, 13, 365, 18, 529, 273, 2025, 6110, 18, 588, 1499, 2932, 529, 7923, 365, 18, 28...
"""Takes a series name as the parameter. A valid .git/patches/name directory should exist
"""Takes a series name as the parameter.
def __init__(self, name = None): """Takes a series name as the parameter. A valid .git/patches/name directory should exist """ if name: self.__name = name else: self.__name = git.get_head_file()
40e65b928d0429090a39843c1a81dec31f4d38e2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12366/40e65b928d0429090a39843c1a81dec31f4d38e2/stack.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 508, 273, 599, 4672, 3536, 11524, 279, 4166, 508, 487, 326, 1569, 18, 3536, 309, 508, 30, 365, 16186, 529, 273, 508, 469, 30, 365, 16186, 529, 273, 5071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1001, 2738, 972, 12, 2890, 16, 508, 273, 599, 4672, 3536, 11524, 279, 4166, 508, 487, 326, 1569, 18, 3536, 309, 508, 30, 365, 16186, 529, 273, 508, 469, 30, 365, 16186, 529, 273, 5071,...
others_urls[url] = descr else: filename = url.split('/')[-1] name = file_strip_ext(filename) format = filename[len(name):] if format and format[0] == '.': format = format[1:]
others_urls[url] = descr else:
def format(bfo, style, separator='; '): """ This is the default format for formatting full-text reference. @param separator the separator between urls. @param style CSS class of the link """ urls = bfo.fields("8564_") ret = "" #ret += "%s<br />" % urls bibarchive = BibRecDocs(bfo.recID) old_version_there = False main...
35c8319cf9220490b56806cac2ae7cbda82fd471 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12027/35c8319cf9220490b56806cac2ae7cbda82fd471/bfe_fulltext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 12, 70, 617, 16, 2154, 16, 4182, 2218, 31, 296, 4672, 3536, 1220, 353, 326, 805, 740, 364, 10407, 1983, 17, 955, 2114, 18, 632, 891, 4182, 326, 4182, 3086, 6903, 18, 632, 891, 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, 740, 12, 70, 617, 16, 2154, 16, 4182, 2218, 31, 296, 4672, 3536, 1220, 353, 326, 805, 740, 364, 10407, 1983, 17, 955, 2114, 18, 632, 891, 4182, 326, 4182, 3086, 6903, 18, 632, 891, 2...
Return the $q$-expansion of the weight $k$ Eisenstein series to precision prec in the field $K$.
Return the $q$-expansion of the normalized weight $k$ Eisenstein series to precision prec in the ring $K$. (The normalization chosen here is the one that forces the coefficient of $q$ to be 1.)
def eisenstein_series_qexp(k, prec=10, K=QQ): r""" Return the $q$-expansion of the weight $k$ Eisenstein series to precision prec in the field $K$. Here's a rough description of how the algorithm works: we know $E_k = const + \sum_n sigma(n,k-1) q^n$. Now, we basically just compute all the $\sigma(n,k-1)$ simultaneous...
655338a7efdf01ea27d9ca425adea6343a86f01d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/655338a7efdf01ea27d9ca425adea6343a86f01d/eis_series.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 425, 291, 275, 334, 13685, 67, 10222, 67, 85, 2749, 12, 79, 16, 13382, 33, 2163, 16, 1475, 33, 53, 53, 4672, 436, 8395, 2000, 326, 271, 85, 8, 17, 2749, 12162, 434, 326, 5640, 3119, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 425, 291, 275, 334, 13685, 67, 10222, 67, 85, 2749, 12, 79, 16, 13382, 33, 2163, 16, 1475, 33, 53, 53, 4672, 436, 8395, 2000, 326, 271, 85, 8, 17, 2749, 12162, 434, 326, 5640, 3119, ...
hm = mcpu.HooksMaster(self._call_nodes_false, cfg, sstore, lu)
hm = mcpu.HooksMaster(self._call_nodes_false, lu)
def testIndividualFalse(self): """Test individual rpc failure""" cfg = FakeConfig() sstore = FakeSStore() op = opcodes.OpCode() lu = FakeLU(None, op, cfg, sstore) hm = mcpu.HooksMaster(self._call_nodes_false, cfg, sstore, lu) self.failUnlessRaises(errors.HooksFailure, hm.RunPhase, constants.HOOKS_PHASE_PRE) hm.RunPhase...
fafa59906e4dd01c54d1011014c5ff5556fadfc9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7542/fafa59906e4dd01c54d1011014c5ff5556fadfc9/ganeti.hooks_unittest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 29834, 8381, 12, 2890, 4672, 3536, 4709, 7327, 6724, 5166, 8395, 2776, 273, 11551, 809, 1435, 272, 2233, 273, 11551, 55, 2257, 1435, 1061, 273, 1061, 7000, 18, 3817, 1085, 1435, 2007...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29834, 8381, 12, 2890, 4672, 3536, 4709, 7327, 6724, 5166, 8395, 2776, 273, 11551, 809, 1435, 272, 2233, 273, 11551, 55, 2257, 1435, 1061, 273, 1061, 7000, 18, 3817, 1085, 1435, 2007...
req = name + ": " + str(record[0][0])
req = name + ": " + self.str(record[0][0])
def handler(self, **args): import database from irclib import Event, nm_to_n # Set the target as either the person or the channel target = self.return_to_sender(args) orig_msg = args["text"] # Strip bot name orig_msg = orig_msg.split()[1:] # Now determine if we need to list karma or increment/decrement it, # which w...
0d0f57b5157c5f2aa1e6d686476fd6fff274efa7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10749/0d0f57b5157c5f2aa1e6d686476fd6fff274efa7/karma.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1838, 12, 2890, 16, 2826, 1968, 4672, 1930, 2063, 628, 9482, 830, 495, 1930, 2587, 16, 8442, 67, 869, 67, 82, 225, 468, 1000, 326, 1018, 487, 3344, 326, 6175, 578, 326, 1904, 1018, 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, 1838, 12, 2890, 16, 2826, 1968, 4672, 1930, 2063, 628, 9482, 830, 495, 1930, 2587, 16, 8442, 67, 869, 67, 82, 225, 468, 1000, 326, 1018, 487, 3344, 326, 6175, 578, 326, 1904, 1018, 273...
pass
pass
def local_mul_switch_sink(node): """ This optimization makes the folowing changes in the graph: T.mul(A,T.switch(cond,0,iff),B) --> T.switch(cond,0,T.mul(A,B,iff)) T.mul(A,T.switch(cond,ift,0),B) --> T.switch(cond,T.mul(A,B,ift),0) A and B being several (or none) symbolic variables. This is useful because A and B may...
6e91c9d42ec1c846e7c295687c514e04d53f9b89 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/6e91c9d42ec1c846e7c295687c514e04d53f9b89/opt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1191, 67, 16411, 67, 9610, 67, 17074, 12, 2159, 4672, 3536, 1220, 14850, 7297, 326, 28420, 543, 310, 3478, 316, 326, 2667, 30, 399, 18, 16411, 12, 37, 16, 56, 18, 9610, 12, 10013, 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, 1191, 67, 16411, 67, 9610, 67, 17074, 12, 2159, 4672, 3536, 1220, 14850, 7297, 326, 28420, 543, 310, 3478, 316, 326, 2667, 30, 399, 18, 16411, 12, 37, 16, 56, 18, 9610, 12, 10013, 16, ...
key = '<tr><div class="pagebox1" align="top"><em>Key:</em><br><b>UF</b> Used For (alternative term)<br> <b>RT</b> Related Term<br><b>BT</b> Broader Term<br><b>NT</b> Narrower Term<br><b>(n*)</b> Denotes author keyword</div></tr>'
def makeTagCloud(entries, outwords): """Using the counts for each of the tags, write a simple HTML page to standard output containing a tag cloud representation. The CSS describes ten levels, each of which has differing font-size's, line-height's and font-weight's. """ max = int(entries[0][0]) print "<html>" print "<h...
64a338f3e936f0b7dd77fc005559df697fcc01ce /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12027/64a338f3e936f0b7dd77fc005559df697fcc01ce/bibclassifylib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 1805, 6230, 12, 8219, 16, 596, 3753, 4672, 3536, 7736, 326, 6880, 364, 1517, 434, 326, 2342, 16, 1045, 279, 4143, 3982, 1363, 358, 4529, 876, 4191, 279, 1047, 5051, 4335, 18, 1021,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 1805, 6230, 12, 8219, 16, 596, 3753, 4672, 3536, 7736, 326, 6880, 364, 1517, 434, 326, 2342, 16, 1045, 279, 4143, 3982, 1363, 358, 4529, 876, 4191, 279, 1047, 5051, 4335, 18, 1021,...
user = None
u = None
def http(request): """ authenticate via http basic/digest/ntlm auth """ from MoinMoin.request import RequestTwisted user = None # check if we are running Twisted if isinstance(request, RequestTwisted): username = request.twistd.getUser() password = request.twistd.getPassword() user = User(request, auth_username=usernam...
d0eead74f668ffe5a3696b60c6cd3c57faff0b75 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/888/d0eead74f668ffe5a3696b60c6cd3c57faff0b75/auth.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1062, 12, 2293, 4672, 3536, 8929, 3970, 1062, 5337, 19, 10171, 19, 16681, 81, 1357, 3536, 628, 490, 885, 49, 885, 18, 2293, 1930, 1567, 23539, 25444, 582, 273, 599, 468, 866, 309, 732, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1062, 12, 2293, 4672, 3536, 8929, 3970, 1062, 5337, 19, 10171, 19, 16681, 81, 1357, 3536, 628, 490, 885, 49, 885, 18, 2293, 1930, 1567, 23539, 25444, 582, 273, 599, 468, 866, 309, 732, ...
raise RuntimeError, 'Unable to find \'%s\' in metadata' % (paramName))
raise RuntimeError, 'Unable to find \'%s\' in metadata' % (paramName,)
def validateMetadata(metadata, metadataPolicy): paramNames = metadataPolicy.paramNames(1) for paramName in paramNames: if not metadata.exists(paramName): raise RuntimeError, 'Unable to find \'%s\' in metadata' % (paramName)) # TBD; VALIDATE AGAINST DICTIONARY FOR TYPE ETC
9d38d3197e3a07c641dfec55b31b49426823d164 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6553/9d38d3197e3a07c641dfec55b31b49426823d164/MetadataStages.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1954, 2277, 12, 4165, 16, 1982, 2582, 4672, 579, 1557, 273, 1982, 2582, 18, 891, 1557, 12, 21, 13, 364, 11466, 316, 579, 1557, 30, 309, 486, 1982, 18, 1808, 12, 891, 461, 4672, 1002, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1954, 2277, 12, 4165, 16, 1982, 2582, 4672, 579, 1557, 273, 1982, 2582, 18, 891, 1557, 12, 21, 13, 364, 11466, 316, 579, 1557, 30, 309, 486, 1982, 18, 1808, 12, 891, 461, 4672, 1002, ...
def buildAllDemos(self):
def buildAllDemos(self, selectedVariant=None): demoData = [] if self.config: if "demobrowser" in self.config: demoBrowser = True
def buildAllDemos(self): for libraryName in self.libraries: library = self.libraries[libraryName] for versionName in library.versions: version = library.versions[versionName] if version.hasDemoDir: demoVariants = version.getDemoVariants() if demoVariants: for variant in demoVariants: version.buildDemo(variant)
3c20e1728f21800cdd9de7d2a64596f42e2a380a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5718/3c20e1728f21800cdd9de7d2a64596f42e2a380a/repository.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 1595, 15058, 538, 12, 2890, 16, 3170, 9356, 33, 7036, 4672, 21477, 751, 273, 5378, 309, 365, 18, 1425, 30, 309, 315, 19117, 947, 3358, 6, 316, 365, 18, 1425, 30, 21477, 9132, 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, 1361, 1595, 15058, 538, 12, 2890, 16, 3170, 9356, 33, 7036, 4672, 21477, 751, 273, 5378, 309, 365, 18, 1425, 30, 309, 315, 19117, 947, 3358, 6, 316, 365, 18, 1425, 30, 21477, 9132, 273...
print("test", test, "crashed --", str(type) + ":", value) sys.stdout.flush()
print("test", test, "crashed --", str(type) + ":", value, file=sys.stderr) sys.stderr.flush()
def runtest_inner(test, verbose, quiet, testdir=None, huntrleaks=False, debug=False): support.unload(test) testdir = findtestdir(testdir) if verbose: capture_stdout = None else: capture_stdout = io.StringIO() test_time = 0.0 refleak = False # True if the test leaked references. try: if test.startswith('test.'): abste...
11cabcf73d82ca0174de85144930ce87ee538581 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8546/11cabcf73d82ca0174de85144930ce87ee538581/regrtest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 3813, 67, 7872, 12, 3813, 16, 3988, 16, 10902, 16, 1842, 1214, 33, 7036, 16, 366, 318, 313, 298, 581, 87, 33, 8381, 16, 1198, 33, 8381, 4672, 2865, 18, 318, 945, 12, 3813, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 3813, 67, 7872, 12, 3813, 16, 3988, 16, 10902, 16, 1842, 1214, 33, 7036, 16, 366, 318, 313, 298, 581, 87, 33, 8381, 16, 1198, 33, 8381, 4672, 2865, 18, 318, 945, 12, 3813, 13, ...
return "[" + ",".join(e.id for e in self) + "]"
return "[" + ",".join(self.keys()) + "]"
def __repr__(self): return "[" + ",".join(e.id for e in self) + "]"
3738637169745d2291f7ece7a62312aea4eee451 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11977/3738637169745d2291f7ece7a62312aea4eee451/element.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12715, 972, 12, 2890, 4672, 327, 13626, 397, 5753, 18, 5701, 12, 73, 18, 350, 364, 425, 316, 365, 13, 397, 9870, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12715, 972, 12, 2890, 4672, 327, 13626, 397, 5753, 18, 5701, 12, 73, 18, 350, 364, 425, 316, 365, 13, 397, 9870, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
def window_configure(self, index, cnf={}, **kw):
def window_configure(self, index, cnf=None, **kw):
def window_configure(self, index, cnf={}, **kw): """Configure an embedded window at INDEX.""" if type(cnf) == StringType: x = self.tk.split(self.tk.call( self._w, 'window', 'configure', index, '-'+cnf)) return (x[0][1:],) + x[1:] self.tk.call( (self._w, 'window', 'configure', index) + self._options(cnf, kw))
de0de912af2cf06056f14da80b65af88192c45a8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/de0de912af2cf06056f14da80b65af88192c45a8/Tkinter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2742, 67, 14895, 12, 2890, 16, 770, 16, 23118, 33, 7036, 16, 2826, 9987, 4672, 3536, 11207, 392, 7488, 2742, 622, 12425, 12123, 309, 618, 12, 10305, 74, 13, 422, 31570, 30, 619, 273, 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, 2742, 67, 14895, 12, 2890, 16, 770, 16, 23118, 33, 7036, 16, 2826, 9987, 4672, 3536, 11207, 392, 7488, 2742, 622, 12425, 12123, 309, 618, 12, 10305, 74, 13, 422, 31570, 30, 619, 273, 3...
return None
return None
def getInitiativesProjects(self, folder=None): """returns a list with projects related with a folder inside the Initiatives folder""" try: search_keywords = u' or '.join((folder.getLocalProperty('keywords', 'en')+' '+folder.getLocalProperty('title', 'en')).split()) expr = 'self.getCatalogedObjects(meta_type=\'%s\', app...
9bafd90013beef4170a14ef742a93e7bdabaa85c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3287/9bafd90013beef4170a14ef742a93e7bdabaa85c/SEMIDESite.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26458, 77, 8785, 15298, 12, 2890, 16, 3009, 33, 7036, 4672, 3536, 6154, 279, 666, 598, 10137, 3746, 598, 279, 3009, 4832, 326, 4378, 77, 8785, 3009, 8395, 775, 30, 1623, 67, 11771, 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, 26458, 77, 8785, 15298, 12, 2890, 16, 3009, 33, 7036, 4672, 3536, 6154, 279, 666, 598, 10137, 3746, 598, 279, 3009, 4832, 326, 4378, 77, 8785, 3009, 8395, 775, 30, 1623, 67, 11771, 273, ...
Increase the maximum number of assignments, or extend the expiration date, of an existing HIT. NOTE: If a HIT has a status of Reviewable and the HIT is extended to make it Available, the HIT will not be returned by GetReviewableHITs, and its submitted assignments will not be returned by GetAssignmentsForHIT, until the...
Increase the maximum number of assignments, or extend the expiration date, of an existing HIT. NOTE: If a HIT has a status of Reviewable and the HIT is extended to make it Available, the HIT will not be returned by GetReviewableHITs, and its submitted assignments will not be returned by GetAssignmentsForHIT, until the...
def extend_hit(self, hit_id, assignments_increment=None, expiration_increment=None): """ Increase the maximum number of assignments, or extend the expiration date, of an existing HIT. NOTE: If a HIT has a status of Reviewable and the HIT is extended to make it Available, the HIT will not be returned by GetReviewableHI...
ccfdc9ec5c0cd1044df8085ab2d2c98d4f4618d0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1098/ccfdc9ec5c0cd1044df8085ab2d2c98d4f4618d0/connection.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2133, 67, 15989, 12, 2890, 16, 6800, 67, 350, 16, 13610, 67, 15016, 33, 7036, 16, 7686, 67, 15016, 33, 7036, 4672, 3536, 657, 11908, 326, 4207, 1300, 434, 13610, 16, 578, 2133, 326, 76...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2133, 67, 15989, 12, 2890, 16, 6800, 67, 350, 16, 13610, 67, 15016, 33, 7036, 16, 7686, 67, 15016, 33, 7036, 4672, 3536, 657, 11908, 326, 4207, 1300, 434, 13610, 16, 578, 2133, 326, 76...
print "Cancel"
utils.debug("Cancel")
def ShowDialogCloseProject(self): print "ShowDialogCloseProject" session = ses.Session() st = session.project_status print "* st", st if st == const.PROJ_CLOSE: return -1 filename = session.project_path[1] if (st == const.PROJ_NEW) or (st == const.PROJ_CHANGE): answer = dialog.SaveChangesDialog(filename) if not answer:...
effbb9a2aa1544431774c17b256fffff9cfdd9f2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10228/effbb9a2aa1544431774c17b256fffff9cfdd9f2/control.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9674, 6353, 4605, 4109, 12, 2890, 4672, 1172, 315, 5706, 6353, 4605, 4109, 6, 1339, 273, 24138, 18, 2157, 1435, 384, 273, 1339, 18, 4406, 67, 2327, 1172, 15902, 384, 3113, 384, 309, 384,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9674, 6353, 4605, 4109, 12, 2890, 4672, 1172, 315, 5706, 6353, 4605, 4109, 6, 1339, 273, 24138, 18, 2157, 1435, 384, 273, 1339, 18, 4406, 67, 2327, 1172, 15902, 384, 3113, 384, 309, 384,...
ok_sys_names = ('ps1', 'ps2', 'copyright', 'version',
ok_sys_names = ('ps1', 'ps2', 'copyright', 'version', 'hexversion',
def default_path(self): return self.rexec.modules['sys'].path
69dc0c5bf5aff342afb4fa35c44dc726e2cd772f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/69dc0c5bf5aff342afb4fa35c44dc726e2cd772f/rexec.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 805, 67, 803, 12, 2890, 4672, 327, 365, 18, 266, 92, 557, 18, 6400, 3292, 9499, 29489, 803, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 805, 67, 803, 12, 2890, 4672, 327, 365, 18, 266, 92, 557, 18, 6400, 3292, 9499, 29489, 803, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
'Requirements':None
'Test_method':getattr(self,"group_processor")
def __init__(self): self.attr = {
08e4c95267b2490d8ad400cc6c685442327a1a9a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5758/08e4c95267b2490d8ad400cc6c685442327a1a9a/LSCfileAdd.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 18, 1747, 273, 288, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 18, 1747, 273, 288, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
parser = OptionParser(option_list=parser_opts + [_DRY_RUN_OPT],
parser = OptionParser(option_list=parser_opts + [_DRY_RUN_OPT, DEBUG_OPT],
def _ParseArgs(argv, commands, aliases): """Parser for the command line arguments. This function parses the arguments and returns the function which must be executed together with its (modified) arguments. @param argv: the command line @param commands: dictionary with special contents, see the design doc for cmdline ...
064c21f8d579ac364e62272ab5c3253263d06c45 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7542/064c21f8d579ac364e62272ab5c3253263d06c45/cli.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3201, 2615, 12, 19485, 16, 4364, 16, 6900, 4672, 3536, 2678, 364, 326, 1296, 980, 1775, 18, 225, 1220, 445, 8940, 326, 1775, 471, 1135, 326, 445, 1492, 1297, 506, 7120, 9475, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3201, 2615, 12, 19485, 16, 4364, 16, 6900, 4672, 3536, 2678, 364, 326, 1296, 980, 1775, 18, 225, 1220, 445, 8940, 326, 1775, 471, 1135, 326, 445, 1492, 1297, 506, 7120, 9475, 598, ...
t = tree.asETE(CONS)
t = asETE(CONS)
def test_ape(self): try: import rpy2.robjects as robjects except ImportError: print "\nNo rpy2 support. Skipping.\n" return # R
5fd54c08987f135c3a21b4c88a2466e1779681d7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14016/5fd54c08987f135c3a21b4c88a2466e1779681d7/test_all.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 1273, 12, 2890, 4672, 775, 30, 1930, 436, 2074, 22, 18, 303, 489, 87, 487, 721, 489, 87, 1335, 11308, 30, 1172, 1548, 82, 2279, 436, 2074, 22, 2865, 18, 27455, 8403, 82, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 1273, 12, 2890, 4672, 775, 30, 1930, 436, 2074, 22, 18, 303, 489, 87, 487, 721, 489, 87, 1335, 11308, 30, 1172, 1548, 82, 2279, 436, 2074, 22, 2865, 18, 27455, 8403, 82, 6,...
"""Connect to a new server, possible disconnecting from the current.
"""Connect to a new server, possibly disconnecting from the current.
def jump_server(self): """Connect to a new server, possible disconnecting from the current.
ecabcc7a91f3433432b3ed60060b28aaae37518b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/426/ecabcc7a91f3433432b3ed60060b28aaae37518b/ircbot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11833, 67, 3567, 12, 2890, 4672, 3536, 5215, 358, 279, 394, 1438, 16, 3323, 9479, 310, 628, 326, 783, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11833, 67, 3567, 12, 2890, 4672, 3536, 5215, 358, 279, 394, 1438, 16, 3323, 9479, 310, 628, 326, 783, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
content = cat(object_provides=IDynamicType.__identifier__)
query = {'object_provides': IDynamicType.__identifier__} if HAS_LINGUAPLONE: query['Language'] = 'all' content = cat(query)
def register_all_content_for_intids(portal): """Registers all existing content with the intid utility. This will not be fast.""" cat = getToolByName(portal, 'portal_catalog', None) intids = getUtility(IIntIds) register = intids.register # Take advantage of paths stored in keyreferences in five.intid to optimize # regi...
4a1e7cc58363fa2738cd0cb308fe1284899208f3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12255/4a1e7cc58363fa2738cd0cb308fe1284899208f3/setuphandlers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 67, 454, 67, 1745, 67, 1884, 67, 474, 2232, 12, 24386, 4672, 3536, 10277, 777, 2062, 913, 598, 326, 509, 350, 12788, 18, 225, 1220, 903, 486, 506, 4797, 12123, 6573, 273, 336, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 67, 454, 67, 1745, 67, 1884, 67, 474, 2232, 12, 24386, 4672, 3536, 10277, 777, 2062, 913, 598, 326, 509, 350, 12788, 18, 225, 1220, 903, 486, 506, 4797, 12123, 6573, 273, 336, 63...
DeleteOldDocs(MakePath(docs_outpath)) BuildJavaScriptForDocsFromIDLs(idl_files, docs_js_outpath) BuildO3DDocsFromJavaScript([o3d_extra_externs_path] + docs_js_files, o3d_docs_ezt_outpath, o3d_docs_html_outpath) BuildO3DClassHierarchy(o3d_docs_html_outpath) BuildJavaScriptForExternsFromIDLs(idl_files, externs_js_outpath...
try: DeleteOldDocs(MakePath(docs_outpath)) BuildJavaScriptForDocsFromIDLs(idl_files, docs_js_outpath) BuildO3DDocsFromJavaScript([o3d_extra_externs_path] + docs_js_files, o3d_docs_ezt_outpath, o3d_docs_html_outpath) BuildO3DClassHierarchy(o3d_docs_html_outpath) BuildJavaScriptForExternsFromIDLs(idl_files, externs_js_ou...
def main(argv): """Builds the O3D API docs and externs and the o3djs docs.""" global _java_exe _java_exe = argv[0] global _third_party_dir _third_party_dir = argv[1] global _o3d_third_party_dir _o3d_third_party_dir = os.path.normpath( os.path.join(os.path.dirname(__file__), '..', 'third_party')) # Fix up the python pa...
3e7824dcdcd1f84a553395630bbbe72a27612930 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9392/3e7824dcdcd1f84a553395630bbbe72a27612930/build_docs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 19485, 4672, 3536, 7746, 326, 531, 23, 40, 1491, 3270, 471, 18885, 87, 471, 326, 320, 23, 72, 2924, 3270, 12123, 2552, 389, 6290, 67, 14880, 389, 6290, 67, 14880, 273, 5261, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 19485, 4672, 3536, 7746, 326, 531, 23, 40, 1491, 3270, 471, 18885, 87, 471, 326, 320, 23, 72, 2924, 3270, 12123, 2552, 389, 6290, 67, 14880, 389, 6290, 67, 14880, 273, 5261, ...
[(-0.0588115223184494, 1)]
[(-0.058811522318449..., 1)]
def roots(self, x=None, explicit_solutions=True, multiplicities=True, ring=None): r""" Returns roots of \code{self} that can be found exactly, possibly with multiplicities. Not all roots are guaranteed to be found.
dfa036ef92143c44c03d532e743b903d0084e324 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/dfa036ef92143c44c03d532e743b903d0084e324/calculus.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12876, 12, 2890, 16, 619, 33, 7036, 16, 5515, 67, 18281, 6170, 33, 5510, 16, 3309, 1780, 1961, 33, 5510, 16, 9221, 33, 7036, 4672, 436, 8395, 2860, 12876, 434, 521, 710, 95, 2890, 97, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12876, 12, 2890, 16, 619, 33, 7036, 16, 5515, 67, 18281, 6170, 33, 5510, 16, 3309, 1780, 1961, 33, 5510, 16, 9221, 33, 7036, 4672, 436, 8395, 2860, 12876, 434, 521, 710, 95, 2890, 97, ...
'''The bundler creates dependent clauses based on the bundle/translation scheme from bcfg1'''
def BuildBundle(self, metadata, system): bundlename = self.name.split('/')[-1] b = Element('Bundle', name=bundlename) for entry in self.all + self.systems.get(system, []): b.append(deepcopy(entry)) for attribute in metadata.attributes: for entry in self.attributes.get(attribute, []): b.append(deepcopy(entry)) return b
a88287c17ca88c3972086dd50d769903f139f9f9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11867/a88287c17ca88c3972086dd50d769903f139f9f9/Bundler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3998, 3405, 12, 2890, 16, 1982, 16, 2619, 4672, 324, 1074, 14724, 273, 365, 18, 529, 18, 4939, 2668, 2473, 13, 18919, 21, 65, 324, 273, 3010, 2668, 3405, 2187, 508, 33, 70, 1074, 14724...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3998, 3405, 12, 2890, 16, 1982, 16, 2619, 4672, 324, 1074, 14724, 273, 365, 18, 529, 18, 4939, 2668, 2473, 13, 18919, 21, 65, 324, 273, 3010, 2668, 3405, 2187, 508, 33, 70, 1074, 14724...
print "Adding str"
def addOptions(self, plugin, options = {}): for i in self.tw: self.tw[i].destroy() self.options = options self.plugin = plugin self.PluginLabel.set_markup("<b>%s</b>" % plugin) c = 0 for name, data in options.items(): if plugin not in self.settings.frame.np.config.sections["plugins"] or name not in self.settings.frame....
6441737c16ed337f841f0e8ce45a891315fdaa6e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8738/6441737c16ed337f841f0e8ce45a891315fdaa6e/settingswindow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 1320, 12, 2890, 16, 1909, 16, 702, 273, 2618, 4672, 364, 277, 316, 365, 18, 11246, 30, 365, 18, 11246, 63, 77, 8009, 11662, 1435, 365, 18, 2116, 273, 702, 365, 18, 4094, 273, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 1320, 12, 2890, 16, 1909, 16, 702, 273, 2618, 4672, 364, 277, 316, 365, 18, 11246, 30, 365, 18, 11246, 63, 77, 8009, 11662, 1435, 365, 18, 2116, 273, 702, 365, 18, 4094, 273, 19...
the p-adic precision of the base ring.
the `p`-adic precision of the base ring.
def prec(self): r""" Return the series precision of self. Note that this is different from the p-adic precision of the base ring. EXAMPLE:: sage: OverconvergentModularForms(3, 0, 1/2).prec() 20 sage: OverconvergentModularForms(3, 0, 1/2,prec=40).prec() 40 """ return self._prec
51aabb4f4c1d25de708da4cd9e8295aeb8a186e7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/51aabb4f4c1d25de708da4cd9e8295aeb8a186e7/genus0.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13382, 12, 2890, 4672, 436, 8395, 2000, 326, 4166, 6039, 434, 365, 18, 3609, 716, 333, 353, 3775, 628, 326, 1375, 84, 68, 17, 20333, 6039, 434, 326, 1026, 9221, 18, 225, 5675, 21373, 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, 13382, 12, 2890, 4672, 436, 8395, 2000, 326, 4166, 6039, 434, 365, 18, 3609, 716, 333, 353, 3775, 628, 326, 1375, 84, 68, 17, 20333, 6039, 434, 326, 1026, 9221, 18, 225, 5675, 21373, 2...
msg = "WARNING: header file %s is CVS, but not in your directory"%(dir+"/"+x) print msg WARNINGS.append(msg) copied = [] for filename in files: srcfile = dir + "/" + filename dstfile = PREFIX + "/include/" + filename if (older(dstfile,srcfile)): copied.append(filename) WriteFile(dstfile,ReadFile(srcfile)) if (len(copi...
if ((skip=="ALL") or (skip.count(x)==0)): msg = "WARNING: header file %s is CVS, but not in your directory"%(dir+"/"+x) print msg WARNINGS.append(msg)
def CopyAllHeaders(dir): # get a list of headers dirlist = os.listdir(dir) dirlist.sort() files = fnmatch.filter(dirlist,"*.h")+fnmatch.filter(dirlist,"*.I")+fnmatch.filter(dirlist,"*.T") # sanity check - do headers in directory match headers in CVS? cvsentries = ReadCvsEntries(dir) if (cvsentries != 0): cvsheaders = f...
a1a1bf8826ca0f4d0f41e04b2c8b5a6421d40ac7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8543/a1a1bf8826ca0f4d0f41e04b2c8b5a6421d40ac7/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5631, 1595, 3121, 12, 1214, 4672, 468, 336, 279, 666, 434, 1607, 1577, 1098, 273, 1140, 18, 1098, 1214, 12, 1214, 13, 1577, 1098, 18, 3804, 1435, 1390, 273, 18764, 18, 2188, 12, 1214, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5631, 1595, 3121, 12, 1214, 4672, 468, 336, 279, 666, 434, 1607, 1577, 1098, 273, 1140, 18, 1098, 1214, 12, 1214, 13, 1577, 1098, 18, 3804, 1435, 1390, 273, 18764, 18, 2188, 12, 1214, ...
l_content = l_content.replace('@@ERRORVALUE@@', p_error_value)
l_content = l_content.replace('@@ERRORVALUE@@', str(p_error_value))
def notifyOnErrorsEmail(self, p_to, p_from, p_error_url, p_error_ip, p_error_type, p_error_value, p_error_user, p_error_time): #notify on errors email email_template = self.getEmailTool()._getOb('email_notifyonerrors') l_subject = email_template.title l_content = email_template.body l_content = l_content.replace('@@URL...
250f9aa8f4cffaaf8f5c9b760a328268274d0558 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3287/250f9aa8f4cffaaf8f5c9b760a328268274d0558/NySite.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5066, 1398, 4229, 4134, 12, 2890, 16, 293, 67, 869, 16, 293, 67, 2080, 16, 293, 67, 1636, 67, 718, 16, 293, 67, 1636, 67, 625, 16, 293, 67, 1636, 67, 723, 16, 293, 67, 1636, 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, 5066, 1398, 4229, 4134, 12, 2890, 16, 293, 67, 869, 16, 293, 67, 2080, 16, 293, 67, 1636, 67, 718, 16, 293, 67, 1636, 67, 625, 16, 293, 67, 1636, 67, 723, 16, 293, 67, 1636, 67, ...
client_version = tuple([ int(n) for n in _mysql.get_client_info().split('.')[:2] ])
client_version = tuple([ numeric_part(n) for n in _mysql.get_client_info().split('.')[:2] ])
def __init__(self, *args, **kwargs): """
1697ff85f1619949bf534946c59713963603b9ae /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10477/1697ff85f1619949bf534946c59713963603b9ae/connections.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 16, 2826, 4333, 4672, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 16, 2826, 4333, 4672, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
text('"' + gnode.uriref('foo@@:') + " -> " + o.uriref('foo@@:') + '"')
text('"' + gnode.uriref() + " -> " + o.uriref() + '"')
def eachNode(text, store, gnode, props): text('"' + gnode.uriref('foo@@:') + '" [') for p in props: for o in store.each(subj = gnode, pred = p): text(p.fragid) text('="') text(str(o)) # @@ quoting text('",\n') text("];\n") for p in store.each(pred=RDF.type, obj=GV.EdgeProperty): for o in store.each(subj=gnode, pred =...
d8b4a86925ef10a931df6ecb86efc3a0fa6df7ac /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3308/d8b4a86925ef10a931df6ecb86efc3a0fa6df7ac/rdf2dot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1517, 907, 12, 955, 16, 1707, 16, 314, 2159, 16, 3458, 4672, 977, 2668, 5187, 397, 314, 2159, 18, 295, 577, 74, 2668, 11351, 30989, 2497, 13, 397, 2119, 306, 6134, 225, 364, 293, 316, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1517, 907, 12, 955, 16, 1707, 16, 314, 2159, 16, 3458, 4672, 977, 2668, 5187, 397, 314, 2159, 18, 295, 577, 74, 2668, 11351, 30989, 2497, 13, 397, 2119, 306, 6134, 225, 364, 293, 316, ...
yield Link('http://tracos.org/pida/report/', 'bugs')
yield Link('https://launchpad.net/products/pida/+bugs', 'bugs')
def _load_items(self): for module in CONF.get('modules', 'dirs').split(','): yield Directory(self, module, self) yield Link('http://tracos.org/pida/report/', 'bugs')
73ccc9487603fc8a559d9b602fafc6e192cf66dc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2233/73ccc9487603fc8a559d9b602fafc6e192cf66dc/www.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 945, 67, 3319, 12, 2890, 4672, 364, 1605, 316, 18733, 18, 588, 2668, 6400, 2187, 296, 8291, 16063, 4939, 12, 17023, 4672, 2824, 8930, 12, 2890, 16, 1605, 16, 365, 13, 2824, 4048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 945, 67, 3319, 12, 2890, 4672, 364, 1605, 316, 18733, 18, 588, 2668, 6400, 2187, 296, 8291, 16063, 4939, 12, 17023, 4672, 2824, 8930, 12, 2890, 16, 1605, 16, 365, 13, 2824, 4048, ...
elif (startswithany(publicId, ("-//w3c//dtd xhtml 1.0 frameset//", "-//w3c//dtd xhtml 1.0 transitional//")) or startswithany(publicId, ("-//w3c//dtd html 4.01 frameset//", "-//w3c//dtd html 4.01 transitional//")) and systemId != None): self.parser.compatMode = "limited quirks" self.parser.phase = self.parser.phases["b...
self.parser.phase = self.parser.phases["beforeHtml"] def processCharacters(self, token): self.parser.parseError("expected-doctype-but-got-chars") self.anythingElse() self.parser.phase.processCharacters(token) def processStartTag(self, token): self.parser.parseError("expected-doctype-but-got-start-tag",
def processDoctype(self, token): name = token["name"] publicId = token["publicId"] systemId = token["systemId"] correct = token["correct"]
5cc56a5db432ce478d90ee0dd744811935854947 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10463/5cc56a5db432ce478d90ee0dd744811935854947/html5parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 3244, 12387, 12, 2890, 16, 1147, 4672, 508, 273, 1147, 9614, 529, 11929, 1071, 548, 273, 1147, 9614, 482, 548, 11929, 30083, 273, 1147, 9614, 4299, 548, 11929, 3434, 273, 1147, 9614,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 3244, 12387, 12, 2890, 16, 1147, 4672, 508, 273, 1147, 9614, 529, 11929, 1071, 548, 273, 1147, 9614, 482, 548, 11929, 30083, 273, 1147, 9614, 4299, 548, 11929, 3434, 273, 1147, 9614,...
def history(self, oid, version, length=1): pass
def _loada(self, oid, _index, file): "Read any version and return the version" pos=_index[oid] file.seek(pos) read=file.read h=read(42) doid,serial,prev,tloc,vlen,plen = unpack(">8s8s8s8sH8s", h) if vlen: file.seek(16,1) version=read(vlen) else: version='' if plen != z64: return read(u64(plen)), version return _loadB...
def getSize(self): return self._pos
c717e4737d70d5e206ed68763b0a0252266215ca /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10048/c717e4737d70d5e206ed68763b0a0252266215ca/FileStorage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9950, 12, 2890, 4672, 327, 365, 6315, 917, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9950, 12, 2890, 4672, 327, 365, 6315, 917, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
if self.series_end() == len(self.series):
start = self.series_end() if start == len(self.series):
def push(self, repo, patch=None, force=False, list=False, mergeq=None): wlock = repo.wlock() if repo.dirstate.parents()[0] != repo.changelog.tip(): self.ui.status(_("(working directory not at tip)\n"))
843bddc481c0f2c8dfe1b3e8d27af1f7e32b0b05 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11312/843bddc481c0f2c8dfe1b3e8d27af1f7e32b0b05/mq.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1817, 12, 2890, 16, 3538, 16, 4729, 33, 7036, 16, 2944, 33, 8381, 16, 666, 33, 8381, 16, 2691, 85, 33, 7036, 4672, 341, 739, 273, 3538, 18, 91, 739, 1435, 309, 3538, 18, 72, 920, 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, 1817, 12, 2890, 16, 3538, 16, 4729, 33, 7036, 16, 2944, 33, 8381, 16, 666, 33, 8381, 16, 2691, 85, 33, 7036, 4672, 341, 739, 273, 3538, 18, 91, 739, 1435, 309, 3538, 18, 72, 920, 3...
linenum = object.co_firstlineno - 1 if linenum >= len(lines): return (filename, linenum) pat = re.compile(r'^\s*def\s') while linenum > 0: if pat.match(lines[linenum]): break linenum = linenum - 1
linenum = object.co_firstlineno
def _find_docstring(uid): """ @return: The file name and line number of the docstring for the given object; or C{None} if the docstring cannot be found. Line numbers are indexed from zero (i.e., the first line's line number is 0). @rtype: C{(string, int)} or C{(None, None)} """ # This function is based on inspect.finds...
f74adf05c6cddc04d78e5dc951a8c8150ca6fbd4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/f74adf05c6cddc04d78e5dc951a8c8150ca6fbd4/objdoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4720, 67, 24675, 12, 1911, 4672, 3536, 632, 2463, 30, 1021, 585, 508, 471, 980, 1300, 434, 326, 14525, 364, 326, 864, 733, 31, 578, 385, 95, 7036, 97, 309, 326, 14525, 2780, 506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4720, 67, 24675, 12, 1911, 4672, 3536, 632, 2463, 30, 1021, 585, 508, 471, 980, 1300, 434, 326, 14525, 364, 326, 864, 733, 31, 578, 385, 95, 7036, 97, 309, 326, 14525, 2780, 506, ...
args = [ action, str(url) ]
args = [ action, str(url)[7:] ]
def linkClicked(self, url): print 'clicked on link', url url = url.toString()
3cf68df8003a6d476f728a844231cdf7f4caebf8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11141/3cf68df8003a6d476f728a844231cdf7f4caebf8/querywidget.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1692, 27633, 12, 2890, 16, 225, 880, 4672, 1172, 296, 7475, 329, 603, 1692, 2187, 225, 880, 880, 273, 880, 18, 10492, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1692, 27633, 12, 2890, 16, 225, 880, 4672, 1172, 296, 7475, 329, 603, 1692, 2187, 225, 880, 880, 273, 880, 18, 10492, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
def _get_op(self, cr, uid, ids, field_names, arg, context):
def _get_op(self, cr, uid, ids, field_names, arg, context=None):
def _get_op(self, cr, uid, ids, field_names, arg, context): # op = OrderPoint res = {} for val in self.browse(cr, uid, ids, context=context): res[val.id]={} cr.execute("SELECT product_min_qty, product_max_qty, product_uom \ FROM stock_warehouse_orderpoint \ WHERE warehouse_id = %s AND product_id = %s AND active = 'TR...
6a21b5d661b74602c870fac41f3c8c42e8bc6c33 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/6a21b5d661b74602c870fac41f3c8c42e8bc6c33/stock_planning.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 556, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 652, 67, 1973, 16, 1501, 16, 819, 33, 7036, 4672, 225, 468, 1061, 273, 4347, 2148, 400, 273, 2618, 364, 1244, 316, 365,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 556, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 652, 67, 1973, 16, 1501, 16, 819, 33, 7036, 4672, 225, 468, 1061, 273, 4347, 2148, 400, 273, 2618, 364, 1244, 316, 365,...
month_name = _localized_name('%B') month_abbr = _localized_name('%b')
month_name = _localized_name('%B', 12) month_abbr = _localized_name('%b', 12)
def __getitem__(self, item): return strftime(self.format, (item,)*9).capitalize()
4c8349592d508df26b9a8023f7a78d6874eedb08 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/4c8349592d508df26b9a8023f7a78d6874eedb08/calendar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31571, 972, 12, 2890, 16, 761, 4672, 327, 10405, 12, 2890, 18, 2139, 16, 261, 1726, 16, 17653, 29, 2934, 5909, 7053, 554, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 31571, 972, 12, 2890, 16, 761, 4672, 327, 10405, 12, 2890, 18, 2139, 16, 261, 1726, 16, 17653, 29, 2934, 5909, 7053, 554, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
"Parsing no/only (%d dicts in current"
"Parsing no/only (%d dicts in current "
def parse(self, file, list, restricted=False, prev_indent=-1): """ Read and parse lines from file until a line with an indent level lower than or equal to prev_indent is encountered.
72823018182d7eebf6280a09d1f0e5d30df23356 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10349/72823018182d7eebf6280a09d1f0e5d30df23356/kvm_config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 585, 16, 666, 16, 15693, 33, 8381, 16, 2807, 67, 9355, 29711, 21, 4672, 3536, 2720, 471, 1109, 2362, 628, 585, 3180, 279, 980, 598, 392, 3504, 1801, 2612, 2353, 578...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 585, 16, 666, 16, 15693, 33, 8381, 16, 2807, 67, 9355, 29711, 21, 4672, 3536, 2720, 471, 1109, 2362, 628, 585, 3180, 279, 980, 598, 392, 3504, 1801, 2612, 2353, 578...
docs_token = self.doclist.GetClientLoginToken() self.doclist.SetClientLoginToken(self.spreadsheets.GetClientLoginToken())
docs_token = self.client.GetClientLoginToken() self.client.SetClientLoginToken(self.spreadsheets.GetClientLoginToken())
def testExportSpreadsheet(self): query = ('http://docs.google.com/feeds/documents/private/full' '/-/spreadsheet?max-results=1') feed = self.doclist.QueryDocumentListFeed(query) file_paths = ['./downloadedTest.xls', './downloadedTest.csv', './downloadedTest.pdf', './downloadedTest.ods', './downloadedTest.tsv', './downlo...
6a1d41e0ebd05471e1aa915fdf0a98f4af4bce69 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5609/6a1d41e0ebd05471e1aa915fdf0a98f4af4bce69/service_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 6144, 28719, 8118, 12, 2890, 4672, 843, 273, 7707, 2505, 2207, 8532, 18, 9536, 18, 832, 19, 7848, 87, 19, 24795, 19, 1152, 19, 2854, 11, 1173, 17, 19, 26007, 8118, 35, 1896, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6144, 28719, 8118, 12, 2890, 4672, 843, 273, 7707, 2505, 2207, 8532, 18, 9536, 18, 832, 19, 7848, 87, 19, 24795, 19, 1152, 19, 2854, 11, 1173, 17, 19, 26007, 8118, 35, 1896, 17, ...
minima=localMinmax(bi.gm,True,False,False) for y in range(minima.height()): for x in range(minima.width()): if minima[x,y]<0: minimaMap.insert(Vector2(x,y), Vector2(x,y)) for edge in map.edgeIter(): mindist = 1e8
for min in minima: minimaMap.insert(min, min) for edge in map.edgeIter(): mindist2 = 1e16
def __init__(self, map, bi): DynamicEdgeStatistics.__init__(self, map) self.attrName = _makeAttrName("minDist_"+bi.name) minimaMap = PositionedMap() minima=localMinmax(bi.gm,True,False,False) for y in range(minima.height()): for x in range(minima.width()): if minima[x,y]<0: minimaMap.insert(Vector2(x,y), Vector2(x,y)) ...
8925518c2ae9f74de3b734317beccbc4670dbd43 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10394/8925518c2ae9f74de3b734317beccbc4670dbd43/statistics.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 852, 16, 10054, 4672, 12208, 6098, 8569, 16186, 2738, 972, 12, 2890, 16, 852, 13, 365, 18, 1747, 461, 273, 389, 6540, 28973, 2932, 1154, 5133, 9548, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 852, 16, 10054, 4672, 12208, 6098, 8569, 16186, 2738, 972, 12, 2890, 16, 852, 13, 365, 18, 1747, 461, 273, 389, 6540, 28973, 2932, 1154, 5133, 9548, 15, ...
'There are no distros vailable that meet %s. Using our best.', req)
'There are no distros available that meet %s. Using our best.', req)
def _satisfied(req, env, dest, executable, index, links): dists = [dist for dist in env[req.project_name] if dist in req] if not dists: logger.debug('We have no distributions for %s', req.project_name) return None # Note that dists are sorted from best to worst, as promised by # env.__getitem__ for dist in dists: if ...
331de9a4f535f3e29496e8103427ec218eb814eb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11359/331de9a4f535f3e29496e8103427ec218eb814eb/easy_install.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12973, 21501, 12, 3658, 16, 1550, 16, 1570, 16, 9070, 16, 770, 16, 4716, 4672, 16871, 273, 306, 4413, 364, 2411, 316, 1550, 63, 3658, 18, 4406, 67, 529, 65, 309, 2411, 316, 1111, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12973, 21501, 12, 3658, 16, 1550, 16, 1570, 16, 9070, 16, 770, 16, 4716, 4672, 16871, 273, 306, 4413, 364, 2411, 316, 1550, 63, 3658, 18, 4406, 67, 529, 65, 309, 2411, 316, 1111, ...
self.primaryTroveSet = primaryTroveSet self._inputSets = [ self.primaryTroveSet ] self._inputSets += [ x for x in args if isinstance(x, TroveTupleSet) ] def _applyFilters(self, l, graph = None):
inputSets = [ primaryTroveSet ] inputSets += [ x for x in args if isinstance(x, TroveTupleSet) ] self._inputSets = self._applyFilters(inputSets) self.primaryTroveSet = self._inputSets[0] def _applyFilters(self, l): if not self.prefilter: return l
def __init__(self, primaryTroveSet, *args): self.primaryTroveSet = primaryTroveSet self._inputSets = [ self.primaryTroveSet ] self._inputSets += [ x for x in args if isinstance(x, TroveTupleSet) ]
547feb455a1a091526437036973b3dc1560449d6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8747/547feb455a1a091526437036973b3dc1560449d6/troveset.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 3354, 56, 303, 537, 694, 16, 380, 1968, 4672, 365, 18, 8258, 56, 303, 537, 694, 273, 3354, 56, 303, 537, 694, 365, 6315, 2630, 2785, 273, 306, 365, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 3354, 56, 303, 537, 694, 16, 380, 1968, 4672, 365, 18, 8258, 56, 303, 537, 694, 273, 3354, 56, 303, 537, 694, 365, 6315, 2630, 2785, 273, 306, 365, 18,...
gLogger.info("SEvsLFCAgent.execute: Attempting to execute %s sub-request." % operation)
gLogger.info( "SEvsLFCAgent.execute: Attempting to execute %s sub-request." % operation )
def execute(self):
00d8a55a0d409a04efa1a3f677ff9c2bc47dd619 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/00d8a55a0d409a04efa1a3f677ff9c2bc47dd619/SEvsLFCAgent.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 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, 1836, 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, -...
cxx.ExprVar(md._cxx.method.name),
cxx.ExprVar(md._cxx.alloc),
block.addstmt(cxx.CppDirective('endif', '// ifdef DEBUG'))
53837e42f63c8b55de89d5dc2a96ceb7a76ec3ea /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11102/53837e42f63c8b55de89d5dc2a96ceb7a76ec3ea/lower.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1203, 18, 1289, 10589, 12, 71, 5279, 18, 39, 11858, 13307, 2668, 409, 430, 2187, 12084, 309, 536, 6369, 26112, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1203, 18, 1289, 10589, 12, 71, 5279, 18, 39, 11858, 13307, 2668, 409, 430, 2187, 12084, 309, 536, 6369, 26112, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
print (garbage, path)
def retrieve(self, url, filename=None): url = unwrap(url) if self.tempcache and self.tempcache.has_key(url): return self.tempcache[url] type, url1 = splittype(url) if not filename and (not type or type == 'file'): try: fp = self.open_local_file(url1) hdrs = fp.info() del fp return url2pathname(splithost(url1)[1]), hdrs...
c74521acc4d3d08fe557a8ac835c1f827d107e7c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/c74521acc4d3d08fe557a8ac835c1f827d107e7c/urllib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4614, 12, 2890, 16, 880, 16, 1544, 33, 7036, 4672, 880, 273, 11014, 12, 718, 13, 309, 365, 18, 874, 2436, 807, 471, 365, 18, 874, 2436, 807, 18, 5332, 67, 856, 12, 718, 4672, 327, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4614, 12, 2890, 16, 880, 16, 1544, 33, 7036, 4672, 880, 273, 11014, 12, 718, 13, 309, 365, 18, 874, 2436, 807, 471, 365, 18, 874, 2436, 807, 18, 5332, 67, 856, 12, 718, 4672, 327, ...
self.taskdone_ts.set_sort_column_id(self.CTASKS_MODEL_DDATE, gtk.SORT_DESCENDING)
self.taskdone_ts.set_sort_column_id( self.CTASKS_MODEL_DDATE, gtk.SORT_DESCENDING)
def refresh_closed(self): #We build the closed tasks pane dselect = self.taskdone_tview.get_selection() d_path = None if dselect: d_model, d_path = dselect.get_selected_rows() #pylint: disable-msg=W0612 #We empty the pane self.taskdone_ts.clear() #We rebuild it tag_list, notag_only = self.get_selected_tags() closed_tas...
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, 4460, 67, 12204, 12, 2890, 4672, 468, 3218, 1361, 326, 4375, 4592, 13618, 302, 4025, 273, 365, 18, 4146, 8734, 67, 88, 1945, 18, 588, 67, 10705, 1435, 302, 67, 803, 273, 599, 309, 302,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4460, 67, 12204, 12, 2890, 4672, 468, 3218, 1361, 326, 4375, 4592, 13618, 302, 4025, 273, 365, 18, 4146, 8734, 67, 88, 1945, 18, 588, 67, 10705, 1435, 302, 67, 803, 273, 599, 309, 302,...
"""Determine whether a line is a legal end of RFC-822 headers. You may override this method if your application wants to bend the rules, e.g. to strip trailing whitespace, or to recognize MH template separators ('--------'). For convenience (e.g. for code reading from sockets) a line consisting of \r\n also matches.
"""Determine whether a line is a legal end of RFC 2822 headers. You may override this method if your application wants to bend the rules, e.g. to strip trailing whitespace, or to recognize MH template separators ('--------'). For convenience (e.g. for code reading from sockets) a line consisting of \r\n also matches....
def islast(self, line): """Determine whether a line is a legal end of RFC-822 headers.
8ede07cdfca2de9fd7d4ed84bc2b545f5d60f4da /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/8ede07cdfca2de9fd7d4ed84bc2b545f5d60f4da/rfc822.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 2722, 12, 2890, 16, 980, 4672, 3536, 8519, 2856, 279, 980, 353, 279, 19286, 679, 434, 8372, 17, 24532, 1607, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 2722, 12, 2890, 16, 980, 4672, 3536, 8519, 2856, 279, 980, 353, 279, 19286, 679, 434, 8372, 17, 24532, 1607, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
f2 = self.tar.extractfile("S-SPARSE-WITH-NULLS")
f2 = self.tar.extractfile("/S-SPARSE-WITH-NULLS")
def test_sparse(self): """Test sparse member extraction. """ if self.sep != "|": f1 = self.tar.extractfile("S-SPARSE") f2 = self.tar.extractfile("S-SPARSE-WITH-NULLS") self.assert_(f1.read() == f2.read(), "_FileObject failed on sparse file member")
ff5c8b677975dc32839a3be17f3592a656c949b3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/ff5c8b677975dc32839a3be17f3592a656c949b3/test_tarfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 17472, 12, 2890, 4672, 3536, 4709, 9387, 3140, 18752, 18, 3536, 309, 365, 18, 10814, 480, 11747, 6877, 284, 21, 273, 365, 18, 11718, 18, 8004, 768, 2932, 55, 17, 55, 21045, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 17472, 12, 2890, 4672, 3536, 4709, 9387, 3140, 18752, 18, 3536, 309, 365, 18, 10814, 480, 11747, 6877, 284, 21, 273, 365, 18, 11718, 18, 8004, 768, 2932, 55, 17, 55, 21045, 7...
"the Undo command. <b>Currently not implemented</b>."\
"the Undo command."\
def createWhatsThis(self): ############################################## # File Toolbar ############################################## #### Open File #### fileOpenText = "<u><b>Open File</b></u> (Ctrl + O)</b></p><br> "\ "<p><img source=\"fileopen\"><br> "\ "Opens a new file."\ "</p>" QMimeSourceFactory.default...
4a7238f3af684f1b0e4239ba03daeb96cefa3ccb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/4a7238f3af684f1b0e4239ba03daeb96cefa3ccb/whatsthis.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 2888, 2323, 2503, 12, 2890, 4672, 225, 19709, 26487, 7, 468, 1387, 13288, 3215, 19709, 26487, 7, 225, 11849, 7, 3502, 1387, 11849, 7, 225, 585, 3678, 1528, 273, 3532, 89, 4438, 70, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2888, 2323, 2503, 12, 2890, 4672, 225, 19709, 26487, 7, 468, 1387, 13288, 3215, 19709, 26487, 7, 225, 11849, 7, 3502, 1387, 11849, 7, 225, 585, 3678, 1528, 273, 3532, 89, 4438, 70, ...
gPanel.AddGrowableCol(1)
lyricsCow.AddComponent(gPanel) lyricsCow.Pack()
def Body(self): # Main Panel mainPanel = VerticalPanel(self) # Options gPanel = FlexGridPanel(mainPanel, rows=3, cols=3, hgap=5, vgap=5) self.baseDir = TextBox(gPanel, Value=os.path.expanduser(config.get('Output', 'BaseDir'))) self.fileModel = TextBox(gPanel, Value=config.get('Output', 'Model')) self.fileModel.OnChar...
13d1aeb4164d2f674b86384e4591391209dab7b5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2441/13d1aeb4164d2f674b86384e4591391209dab7b5/cowpreferences.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5652, 12, 2890, 4672, 468, 12740, 23641, 2774, 5537, 273, 27394, 5537, 12, 2890, 13, 225, 468, 5087, 314, 5537, 273, 25361, 6313, 5537, 12, 5254, 5537, 16, 2595, 33, 23, 16, 5347, 33, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5652, 12, 2890, 4672, 468, 12740, 23641, 2774, 5537, 273, 27394, 5537, 12, 2890, 13, 225, 468, 5087, 314, 5537, 273, 25361, 6313, 5537, 12, 5254, 5537, 16, 2595, 33, 23, 16, 5347, 33, ...
def isOK(self):
def isOK( self ):
def isOK(self): return self.valid
6280f3782654b93320f684f56a83a6624459bcec /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/6280f3782654b93320f684f56a83a6624459bcec/LcgFileCatalogClient.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 3141, 12, 365, 262, 30, 327, 365, 18, 877, 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, ...
[ 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, 353, 3141, 12, 365, 262, 30, 327, 365, 18, 877, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
'update-motd']
'update-motd', 'linux-ec2']
def apply_ec2_settings(self): self.vm.addpkg += ['ec2-init', 'openssh-server', 'standard^', 'ec2-ami-tools', 'update-motd'] if self.vm.arch == 'i386': self.vm.addpkg += ['libc6-xen']
8dcfa935247c859f08c34a9f1d9b1f3aaa004f42 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1496/8dcfa935247c859f08c34a9f1d9b1f3aaa004f42/karmic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2230, 67, 557, 22, 67, 4272, 12, 2890, 4672, 365, 18, 3489, 18, 1289, 10657, 1011, 10228, 557, 22, 17, 2738, 2187, 296, 20346, 674, 17, 3567, 2187, 296, 10005, 66, 2187, 296, 557, 22, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2230, 67, 557, 22, 67, 4272, 12, 2890, 4672, 365, 18, 3489, 18, 1289, 10657, 1011, 10228, 557, 22, 17, 2738, 2187, 296, 20346, 674, 17, 3567, 2187, 296, 10005, 66, 2187, 296, 557, 22, ...
return len(axis)
return len(self.axis)
def dim(self): return len(axis)
632d8f587ab74c3ebcac4ce3c273c9fe2f501d84 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/762/632d8f587ab74c3ebcac4ce3c273c9fe2f501d84/so.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2464, 12, 2890, 4672, 327, 562, 12, 4890, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2464, 12, 2890, 4672, 327, 562, 12, 4890, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
@paginate('tasks',default_order='-id', limit=30)
@paginate('tasks',default_order='-id', limit=30, allow_limit_override=True)
def executed(self, hidden={}, **kw): tmp = self._do_search(hidden, **kw) tmp['form'] = self.task_form tmp['action'] = './do_search' tmp['value'] = None tmp['options'] = dict() return tmp
78d6aa9fe1f4c381e2dfd234dfd8813dc62bd488 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14755/78d6aa9fe1f4c381e2dfd234dfd8813dc62bd488/tasks.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7120, 12, 2890, 16, 5949, 28793, 2826, 9987, 4672, 1853, 273, 365, 6315, 2896, 67, 3072, 12, 6345, 16, 2826, 9987, 13, 1853, 3292, 687, 3546, 273, 365, 18, 4146, 67, 687, 1853, 3292, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7120, 12, 2890, 16, 5949, 28793, 2826, 9987, 4672, 1853, 273, 365, 6315, 2896, 67, 3072, 12, 6345, 16, 2826, 9987, 13, 1853, 3292, 687, 3546, 273, 365, 18, 4146, 67, 687, 1853, 3292, 1...
def processComment(self, data): self.parser.document.appendChild(CommentNode(data))
def processComment(self, data): self.parser.document.appendChild(CommentNode(data))
63b257c91a1a03874ee2932271f4c904c94d49df /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9368/63b257c91a1a03874ee2932271f4c904c94d49df/parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 4469, 12, 2890, 16, 501, 4672, 365, 18, 4288, 18, 5457, 18, 6923, 1763, 12, 4469, 907, 12, 892, 3719, 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, 1207, 4469, 12, 2890, 16, 501, 4672, 365, 18, 4288, 18, 5457, 18, 6923, 1763, 12, 4469, 907, 12, 892, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
def execute(sql,params=None) :
def execute(self, sql, params=None) :
def execute(sql,params=None) : if config.log_sql : log(3, sql+' '+str(params)) cursor = self.connection.cursor() cursor.execute(sql,params) return cursor
93a897dfc11dc8c11dd93323bf2cdbfb5bdc5eb3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1319/93a897dfc11dc8c11dd93323bf2cdbfb5bdc5eb3/Database.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 12, 2890, 16, 1847, 16, 859, 33, 7036, 13, 294, 309, 642, 18, 1330, 67, 4669, 294, 613, 12, 23, 16, 1847, 6797, 15126, 701, 12, 2010, 3719, 3347, 273, 365, 18, 4071, 18, 9216, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 12, 2890, 16, 1847, 16, 859, 33, 7036, 13, 294, 309, 642, 18, 1330, 67, 4669, 294, 613, 12, 23, 16, 1847, 6797, 15126, 701, 12, 2010, 3719, 3347, 273, 365, 18, 4071, 18, 9216, ...
if record['dirname'][-1:] == u'/': storagegroups[storagegroupnames[record['groupname']]] = record['dirname']
if dirname[-1:] == u'/': storagegroups[storagegroupnames[record['groupname']]] = dirname
def getStorageGroups(): '''Populate the storage group dictionary with the host's storage groups. return False if there is an error ''' # Get storagegroup table field names: table_names = mythvideo.getTableFieldNames(u'storagegroup') # Get Recorded videos recordedprogram / airdate cur = mythdb.cursor() try: cur.execute...
cefa7947527c8e9e2184befa6fb1cdca04096461 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13713/cefa7947527c8e9e2184befa6fb1cdca04096461/mirobridge.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13840, 3621, 13332, 9163, 19097, 326, 2502, 1041, 3880, 598, 326, 1479, 1807, 2502, 3252, 18, 327, 1083, 309, 1915, 353, 392, 555, 9163, 468, 968, 2502, 1655, 1014, 652, 1257, 30, 1014, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13840, 3621, 13332, 9163, 19097, 326, 2502, 1041, 3880, 598, 326, 1479, 1807, 2502, 3252, 18, 327, 1083, 309, 1915, 353, 392, 555, 9163, 468, 968, 2502, 1655, 1014, 652, 1257, 30, 1014, ...
rssurl = websearch_templates.build_rss_url(cgi.parse_qs(req.args))
argd = {} if req.args: argd = cgi.parse_qs(req.args) rssurl = websearch_templates.build_rss_url(argd)
def page_start(req, of, cc, as, ln, uid, title_message=None, description='', keywords='', recID=-1, tab=''): "Start page according to given output format." _ = gettext_set_language(ln) if not title_message: title_message = _("Search Results") if not req: return # we were called from CLI content_type = get_output_for...
534bf897c99b7ad1b543c6fdc9ea7b87394ca9d3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12027/534bf897c99b7ad1b543c6fdc9ea7b87394ca9d3/search_engine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1363, 67, 1937, 12, 3658, 16, 434, 16, 4946, 16, 487, 16, 7211, 16, 4555, 16, 2077, 67, 2150, 33, 7036, 16, 2477, 2218, 2187, 7093, 2218, 2187, 1950, 734, 29711, 21, 16, 3246, 2218, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1363, 67, 1937, 12, 3658, 16, 434, 16, 4946, 16, 487, 16, 7211, 16, 4555, 16, 2077, 67, 2150, 33, 7036, 16, 2477, 2218, 2187, 7093, 2218, 2187, 1950, 734, 29711, 21, 16, 3246, 2218, ...
cflags += " -arch ppc -arch i386"
cflags += " -arch i386 -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk"
def configure_pjsip(self): log.info("Configuring PJSIP") cflags = "-O3 -fPIC" if sys.platform == "darwin": if platform.mac_ver()[0].startswith('10.6'): cflags += " -arch i386 -arch x86_64" else: cflags += " -arch ppc -arch i386" if self.pjsip_disable_assertions: cflags += " -DNDEBUG" env = os.environ.copy() env['CFLAGS...
26f51417bfb2077be621872ce150dd3bcdc0e820 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3449/26f51417bfb2077be621872ce150dd3bcdc0e820/setup_pjsip.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5068, 67, 84, 2924, 625, 12, 2890, 4672, 613, 18, 1376, 2932, 809, 4017, 453, 46, 17739, 7923, 276, 7133, 273, 3701, 51, 23, 300, 74, 20385, 6, 309, 2589, 18, 9898, 422, 315, 28076, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5068, 67, 84, 2924, 625, 12, 2890, 4672, 613, 18, 1376, 2932, 809, 4017, 453, 46, 17739, 7923, 276, 7133, 273, 3701, 51, 23, 300, 74, 20385, 6, 309, 2589, 18, 9898, 422, 315, 28076, ...
""" <directives namespace="http://namespaces.zope.org/zope"> <directive name="permission" attributes="id title description" handler=" zope.app.security.metaconfigure.definePermission" /> </directives>
''' <include package="zope.app.security" file="meta.zcml" />
def testProtectedtemplate(self):
1cfc7ddd1cac0110cca3e909215477e1c59bbca3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9523/1cfc7ddd1cac0110cca3e909215477e1c59bbca3/test_directives.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 15933, 3202, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 15933, 3202, 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, ...
debug(ALWAYS, "Proxy:", `self.request`)
debug(BRING_IT_ON, "Proxy:", `self.request`)
def __init__ (self, client, request, headers, content, nofilter,compress): self.client = client self.request = request self.headers = headers self.compress = compress self.content = content self.nofilter = nofilter debug(ALWAYS, "Proxy:", `self.request`) self.method, self.url, protocol = self.request.split() scheme, ho...
66661dc35f0c97769c0e026c2d852cc6c2c46bb9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3948/66661dc35f0c97769c0e026c2d852cc6c2c46bb9/ClientServerMatchmaker.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 16, 1004, 16, 590, 16, 1607, 16, 913, 16, 290, 792, 1088, 16, 14706, 4672, 365, 18, 2625, 273, 1004, 365, 18, 2293, 273, 590, 365, 18, 2485, 273, 1607, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 16, 1004, 16, 590, 16, 1607, 16, 913, 16, 290, 792, 1088, 16, 14706, 4672, 365, 18, 2625, 273, 1004, 365, 18, 2293, 273, 590, 365, 18, 2485, 273, 1607, 36...
__modulePrefix = None
__modulePrefixElts = None
def namespace (self): return self.__namespace
5eacb77c8998fd31b68477e0ec37388e9983b97b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7171/5eacb77c8998fd31b68477e0ec37388e9983b97b/generate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1981, 261, 2890, 4672, 327, 365, 16186, 4937, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1981, 261, 2890, 4672, 327, 365, 16186, 4937, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...