rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
pass
def __getitem__(self, index): return 2*str.__getitem__(self, index)
def test_filter_subclasses(self): # test, that filter() never returns tuple, str or unicode subclasses funcs = (None, lambda x: True) class tuple2(tuple): pass class str2(str): pass inputs = { tuple2: [(), (1,2,3)], str2: ["", "123"] } if have_unicode: class unicode2(unicode): pass inputs[unicode2] = [unicode(), unic...
e03cb0dfb74e6fdef0019740b64cdb246fad25fa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/e03cb0dfb74e6fdef0019740b64cdb246fad25fa/test_builtin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2188, 67, 1717, 4701, 12, 2890, 4672, 468, 1842, 16, 716, 1034, 1435, 5903, 1135, 3193, 16, 609, 578, 5252, 15320, 15630, 273, 261, 7036, 16, 3195, 619, 30, 1053, 13, 667, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2188, 67, 1717, 4701, 12, 2890, 4672, 468, 1842, 16, 716, 1034, 1435, 5903, 1135, 3193, 16, 609, 578, 5252, 15320, 15630, 273, 261, 7036, 16, 3195, 619, 30, 1053, 13, 667, 31...
These lines should be ignored; they don't refer to real include files.""" return file[0] != '<' and file[-1] != '>'
These lines should be ignored; they don't refer to real include files.""" return file[0] != '<' and file[-1] != '>'
def __notBogus(self, file): """In g++ the first couple of lines in the pre-processed output look like this: # 1 "<built-in>"
cad7e4a6c0d7a6482cfae7cc459e0ba42b3d27f1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5344/cad7e4a6c0d7a6482cfae7cc459e0ba42b3d27f1/IncludeFileDependencyAnalyzer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 902, 38, 28774, 12, 2890, 16, 585, 4672, 3536, 382, 314, 9904, 326, 1122, 1825, 2268, 434, 2362, 316, 326, 675, 17, 11005, 876, 2324, 3007, 333, 30, 468, 404, 3532, 12406, 17, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 902, 38, 28774, 12, 2890, 16, 585, 4672, 3536, 382, 314, 9904, 326, 1122, 1825, 2268, 434, 2362, 316, 326, 675, 17, 11005, 876, 2324, 3007, 333, 30, 468, 404, 3532, 12406, 17, 26...
""") % os.path.basename(sys.argv[0])
""")
def usage(): print _(""" %s [options] directory-of-packages Options: -u, --baseurl = optional base url location for all files -x, --exclude = files globs to exclude, can be specified multiple times -q, --quiet = run quietly -g, --groupfile <filename> to point to for group information (precreated) -v, --verbose = run v...
32b502611b11134f4b5dfd17f846d51d9807fe7b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9557/32b502611b11134f4b5dfd17f846d51d9807fe7b/genpkgmetadata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 13332, 1172, 389, 2932, 3660, 738, 87, 306, 2116, 65, 1867, 17, 792, 17, 10308, 225, 5087, 30, 300, 89, 16, 1493, 1969, 718, 273, 3129, 1026, 880, 2117, 364, 777, 1390, 300, 92, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 13332, 1172, 389, 2932, 3660, 738, 87, 306, 2116, 65, 1867, 17, 792, 17, 10308, 225, 5087, 30, 300, 89, 16, 1493, 1969, 718, 273, 3129, 1026, 880, 2117, 364, 777, 1390, 300, 92, ...
out.write(" (influence (weigth %f) (bone \"%s\"))\n" % (weight, bone)) out.write(" )) ;; vertex\n")
out.write("\n (influence (weigth %f) (bone \"%s\"))" % (weight, bone)) out.write("))\n")
def write(self, out): out.write(";; -*- scheme -*-\n") out.write("(windstille-model\n") out.write(" (name \"\")\n") for (texture, mesh) in self.mesh_data.iteritems(): out.write(" (mesh\n") out.write(" (name \"\")\n") out.write(" (texture \"%s\")\n\n" % texture) out.write(" (vertices\n") for v in mesh.vertic...
7da431e8cd4fe19ba2a089583c4d1402e943c669 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4846/7da431e8cd4fe19ba2a089583c4d1402e943c669/mesh_export.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 596, 4672, 596, 18, 2626, 2932, 25708, 300, 14, 17, 4355, 300, 14, 6943, 82, 7923, 596, 18, 2626, 2932, 12, 10094, 334, 14120, 17, 2284, 64, 82, 7923, 596, 18, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 16, 596, 4672, 596, 18, 2626, 2932, 25708, 300, 14, 17, 4355, 300, 14, 6943, 82, 7923, 596, 18, 2626, 2932, 12, 10094, 334, 14120, 17, 2284, 64, 82, 7923, 596, 18, 26...
href = self.link_hrefs[href] text.append('\\q="
href = ' text.append('\\q="%s"' % href)
def dump_text(self, elem, stylizer, page, tag_stack=[]): if not isinstance(elem.tag, basestring) \ or namespace(elem.tag) != XHTML_NS: return []
3a982d51b0d062a965aeac679ffd334f00490a2a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/3a982d51b0d062a965aeac679ffd334f00490a2a/pmlml.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 67, 955, 12, 2890, 16, 3659, 16, 16253, 80, 1824, 16, 1363, 16, 1047, 67, 3772, 33, 8526, 4672, 309, 486, 1549, 12, 10037, 18, 2692, 16, 10699, 13, 521, 578, 1981, 12, 10037, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 67, 955, 12, 2890, 16, 3659, 16, 16253, 80, 1824, 16, 1363, 16, 1047, 67, 3772, 33, 8526, 4672, 309, 486, 1549, 12, 10037, 18, 2692, 16, 10699, 13, 521, 578, 1981, 12, 10037, 1...
req.hdf['projects'] = projects
def send_project_index(environ, start_response, parent_dir=None, env_paths=None): req = Request(environ, start_response) loadpaths = [pkg_resources.resource_filename('trac', 'templates')] if req.environ.get('trac.env_index_template'): tmpl_path, template = os.path.split(req.environ['trac.env_index_template']) loadpath...
6f3e923127813ae725586b9f66c6f9dde3543cb6 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9317/6f3e923127813ae725586b9f66c6f9dde3543cb6/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 67, 4406, 67, 1615, 12, 28684, 16, 787, 67, 2740, 16, 982, 67, 1214, 33, 7036, 16, 1550, 67, 4481, 33, 7036, 4672, 1111, 273, 1567, 12, 28684, 16, 787, 67, 2740, 13, 225, 1262,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 67, 4406, 67, 1615, 12, 28684, 16, 787, 67, 2740, 16, 982, 67, 1214, 33, 7036, 16, 1550, 67, 4481, 33, 7036, 4672, 1111, 273, 1567, 12, 28684, 16, 787, 67, 2740, 13, 225, 1262,...
self.path = os.tempnam()
self.path = 'shelve-tmp'
def setup(self): filterwarnings('ignore', category=RuntimeWarning) self.path = os.tempnam() resetwarnings() self.jobstore = ShelveJobStore(self.path)
caf7f843fe05560c6027645b7ae8a9a5b58dd52e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1127/caf7f843fe05560c6027645b7ae8a9a5b58dd52e/testjobstores.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 12, 2890, 4672, 1034, 12103, 2668, 6185, 2187, 3150, 33, 5576, 6210, 13, 225, 365, 18, 803, 273, 296, 674, 292, 537, 17, 5645, 11, 2715, 12103, 1435, 365, 18, 4688, 2233, 273, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 12, 2890, 4672, 1034, 12103, 2668, 6185, 2187, 3150, 33, 5576, 6210, 13, 225, 365, 18, 803, 273, 296, 674, 292, 537, 17, 5645, 11, 2715, 12103, 1435, 365, 18, 4688, 2233, 273, 26...
condition = ' %s %s LastUpdateTime<\'%s\'' % ( condition,
condition = ' %s %s LastUpdateTime < \'%s\'' % ( condition,
def __buildCondition(self, condDict, older=None, newer=None ): """ build SQL condition statement from provided condDict and other extra conditions """ condition = '' conjunction = "WHERE"
6335d855dbf67ac99d8948e0e96bdb0d29625a15 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/6335d855dbf67ac99d8948e0e96bdb0d29625a15/JobDB.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 3510, 3418, 12, 2890, 16, 6941, 5014, 16, 12156, 33, 7036, 16, 16069, 33, 7036, 262, 30, 3536, 1361, 3063, 2269, 3021, 628, 2112, 6941, 5014, 471, 1308, 2870, 4636, 3536, 2269, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 3510, 3418, 12, 2890, 16, 6941, 5014, 16, 12156, 33, 7036, 16, 16069, 33, 7036, 262, 30, 3536, 1361, 3063, 2269, 3021, 628, 2112, 6941, 5014, 471, 1308, 2870, 4636, 3536, 2269, 273...
self.settings.bind ('format', combo, 'active', Gio.SettingsBindFlags.DEFAULT)
combo.connect ('changed', self.on_format_combo_changed) self.settings.connect ('changed::format', self.on_format_setting_changed, combo)
def do_create_configure_widget(self): """ Plugin config widget. This code must be independent from the rest of the plugin. FIXME: bgo#624073 """ builder = Totem.plugin_load_interface ('jamendo', 'jamendo.ui', True, None, self) config_widget = builder.get_object ('config_widget') config_widget.connect ('destroy', self.o...
9d086e27d2de84cccc99e768e08c3108b738c619 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11070/9d086e27d2de84cccc99e768e08c3108b738c619/jamendo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 2640, 67, 14895, 67, 6587, 12, 2890, 4672, 3536, 6258, 642, 3604, 18, 1220, 981, 1297, 506, 14807, 628, 326, 3127, 434, 326, 1909, 18, 9852, 30, 324, 3240, 7, 26, 3247, 8642, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 2640, 67, 14895, 67, 6587, 12, 2890, 4672, 3536, 6258, 642, 3604, 18, 1220, 981, 1297, 506, 14807, 628, 326, 3127, 434, 326, 1909, 18, 9852, 30, 324, 3240, 7, 26, 3247, 8642, ...
names.append(addr.getHostName()) addrs.append(addr.getHostAddress())
names.append(addr.getHostName()) addrs.append(addr.getHostAddress()) return (names, addrs) def getfqdn(name=None): """ Return a fully qualified domain name for name. If name is omitted or empty it is interpreted as the local host. To find the fully qualified name, the hostname returned by gethostbyaddr() is checked, ...
def gethostbyaddr(name): # This is as close as I can get; at least the types are correct... addresses = java.net.InetAddress.getAllByName(gethostbyname(name)) names = [] addrs = [] for addr in addresses: names.append(addr.getHostName()) addrs.append(addr.getHostAddress()) return (names[0], names, addrs)
14223076678064a3b30ec8fef6e9db1a1f4b678a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6753/14223076678064a3b30ec8fef6e9db1a1f4b678a/socket.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 2564, 1637, 4793, 12, 529, 4672, 468, 1220, 353, 487, 1746, 487, 467, 848, 336, 31, 622, 4520, 326, 1953, 854, 3434, 2777, 6138, 273, 2252, 18, 2758, 18, 382, 278, 1887, 18, 588, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 2564, 1637, 4793, 12, 529, 4672, 468, 1220, 353, 487, 1746, 487, 467, 848, 336, 31, 622, 4520, 326, 1953, 854, 3434, 2777, 6138, 273, 2252, 18, 2758, 18, 382, 278, 1887, 18, 588, ...
gLogger.error(errStr,res['Message']) return S_ERROR(errStr)
gLogger.error( errStr, res['Message'] ) return S_ERROR( errStr )
def registerFile(self,fileTuple,catalog=''): """ Register a file.
9fabceb719d19d46d8b75011d2932552dbe360f9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/9fabceb719d19d46d8b75011d2932552dbe360f9/ReplicaManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 812, 12, 2890, 16, 768, 9038, 16, 7199, 2218, 11, 4672, 3536, 5433, 279, 585, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1744, 812, 12, 2890, 16, 768, 9038, 16, 7199, 2218, 11, 4672, 3536, 5433, 279, 585, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
(self.ReqThread, [sys.argv[1:]]))
(self.ReqThread, [self.argv[1:]]))
def OnInit(self): print "OnInit" # Setup receive requests thread/send requests. Do this first because # it might be the last thing we do. self.RecvReq()
cc4862e5280b4cad787127dae3540584af491c43 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2496/cc4862e5280b4cad787127dae3540584af491c43/sumigetw.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 2570, 12, 2890, 4672, 1172, 315, 1398, 2570, 6, 468, 10939, 6798, 3285, 2650, 19, 4661, 3285, 18, 2256, 333, 1122, 2724, 468, 518, 4825, 506, 326, 1142, 7757, 732, 741, 18, 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, 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, 2755, 2570, 12, 2890, 4672, 1172, 315, 1398, 2570, 6, 468, 10939, 6798, 3285, 2650, 19, 4661, 3285, 18, 2256, 333, 1122, 2724, 468, 518, 4825, 506, 326, 1142, 7757, 732, 741, 18, 365, ...
shutil.copy2(result_path, local_result) return
shutil.copyfile(result_path, local_result) return marker
def storeResult(self, src_path, result_path, suffix=None): """Store file in result_path as result for source in src_path.
a0db602cbfb9c7c256086d792e586db4234a1f20 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9162/a0db602cbfb9c7c256086d792e586db4234a1f20/cachemanager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1707, 1253, 12, 2890, 16, 1705, 67, 803, 16, 563, 67, 803, 16, 3758, 33, 7036, 4672, 3536, 2257, 585, 316, 563, 67, 803, 487, 563, 364, 1084, 316, 1705, 67, 803, 18, 2, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1707, 1253, 12, 2890, 16, 1705, 67, 803, 16, 563, 67, 803, 16, 3758, 33, 7036, 4672, 3536, 2257, 585, 316, 563, 67, 803, 487, 563, 364, 1084, 316, 1705, 67, 803, 18, 2, -100, -100, ...
headers, 'file:'+pathname2url(file))
headers, 'file:'+file)
def open_local_file(self, url): import mimetypes, mimetools, StringIO mtype = mimetypes.guess_type(url)[0] headers = mimetools.Message(StringIO.StringIO( 'Content-Type: %s\n' % (mtype or 'text/plain'))) host, file = splithost(url) if not host: return addinfourl(open(url2pathname(file), 'rb'), headers, 'file:'+pathname2...
681ea582d3a32b7164c1533b9774b7385525268f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/681ea582d3a32b7164c1533b9774b7385525268f/urllib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 67, 3729, 67, 768, 12, 2890, 16, 880, 4672, 1930, 20369, 15180, 16, 20369, 278, 8192, 16, 15777, 22189, 273, 20369, 15180, 18, 20885, 67, 723, 12, 718, 25146, 20, 65, 1607, 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, 1696, 67, 3729, 67, 768, 12, 2890, 16, 880, 4672, 1930, 20369, 15180, 16, 20369, 278, 8192, 16, 15777, 22189, 273, 20369, 15180, 18, 20885, 67, 723, 12, 718, 25146, 20, 65, 1607, 273, ...
if ( not line or (line[0] == ' (line[:3] == '"""') or line[:3] == "'''" ):
if (not line or (line[0] == ' (line[:3] == '"""') or line[:3] == "'''"):
def checkline(self, filename, lineno): """Return line number of first line at or after input argument such that if the input points to a 'def', the returned line number is the first non-blank/non-comment line to follow. If the input points to a blank or comment line, return 0. At end of file, also return 0."""
d9a24295df71ae63932b3bee3df16f93d169f7fd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/d9a24295df71ae63932b3bee3df16f93d169f7fd/pdb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 1369, 12, 2890, 16, 1544, 16, 7586, 4672, 3536, 990, 980, 1300, 434, 1122, 980, 622, 578, 1839, 810, 1237, 4123, 716, 309, 326, 810, 3143, 358, 279, 296, 536, 2187, 326, 2106, 980...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 1369, 12, 2890, 16, 1544, 16, 7586, 4672, 3536, 990, 980, 1300, 434, 1122, 980, 622, 578, 1839, 810, 1237, 4123, 716, 309, 326, 810, 3143, 358, 279, 296, 536, 2187, 326, 2106, 980...
add_resource(unicode(exe_path), bytes, RT_VERSION, 1, False)
add_resource(ensure_unicode(exe_path), bytes, RT_VERSION, 1, False)
def get(name, md = self.distribution.metadata): # Try to get an attribute from the target, if not defined # there, from the distribution's metadata, or None. Note # that only *some* attributes are allowed by distutils on # the distribution's metadata: version, description, and # name. return getattr(target, name, geta...
1daecd6dc7b82a3126d2c8f13f88dae2e0dfd85e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1361/1daecd6dc7b82a3126d2c8f13f88dae2e0dfd85e/build_exe.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 12, 529, 16, 3481, 273, 365, 18, 16279, 18, 4165, 4672, 468, 6161, 358, 336, 392, 1566, 628, 326, 1018, 16, 309, 486, 2553, 468, 1915, 16, 628, 326, 7006, 1807, 1982, 16, 578, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 12, 529, 16, 3481, 273, 365, 18, 16279, 18, 4165, 4672, 468, 6161, 358, 336, 392, 1566, 628, 326, 1018, 16, 309, 486, 2553, 468, 1915, 16, 628, 326, 7006, 1807, 1982, 16, 578, 5...
logger.error('Invalid login / password')
self.logger.error('Invalid login / password')
def render(self, request): """ override method of xmlrpc python twisted framework
e72892d916c1268eb91ceb4bb0dc79a81b59f3f8 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5988/e72892d916c1268eb91ceb4bb0dc79a81b59f3f8/agent.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 590, 4672, 3536, 3849, 707, 434, 31811, 5790, 2339, 25444, 8257, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 590, 4672, 3536, 3849, 707, 434, 31811, 5790, 2339, 25444, 8257, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
rc_entry = [r'\Format agr agr Grace "" "%%" "%%" ""'])
rc_entry = [r'\Format agr agr Grace "" "%%" "%%" "vector"'])
def checkFormatEntries(): ''' Check all formats (\Format entries) ''' checkViewer('a Tgif viewer and editor', ['tgif'], rc_entry = [r'\Format tgif obj Tgif "" "%%" "%%" ""']) # checkViewer('a FIG viewer and editor', ['xfig'], rc_entry = [r'\Format fig fig FIG ""...
2c72e0ecaaf865dbd297652b27bf151011e987c6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7514/2c72e0ecaaf865dbd297652b27bf151011e987c6/configure.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 1630, 5400, 13332, 9163, 2073, 777, 6449, 17938, 1630, 3222, 13, 9163, 866, 18415, 2668, 69, 399, 13905, 14157, 471, 4858, 2187, 10228, 88, 13905, 17337, 4519, 67, 4099, 273, 306, 86,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 1630, 5400, 13332, 9163, 2073, 777, 6449, 17938, 1630, 3222, 13, 9163, 866, 18415, 2668, 69, 399, 13905, 14157, 471, 4858, 2187, 10228, 88, 13905, 17337, 4519, 67, 4099, 273, 306, 86,...
QMessageBox.critical(None,'No data','There is no data or no class value is selected in the Manage tab.',QMessageBox.Ok)
QMessageBox.critical(None, 'No data', 'There is no data or no class value is selected in the Manage tab.', QMessageBox.Ok)
def findArguments(self, example = None, selectBest = 1, showClassification = 1): self.cancelArgumentation = 0
6bf8cf381104821879efa123b3213af11c3365e5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6366/6bf8cf381104821879efa123b3213af11c3365e5/OWMosaicOptimization.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 4628, 12, 2890, 16, 3454, 273, 599, 16, 2027, 14173, 273, 404, 16, 2405, 19168, 273, 404, 4672, 365, 18, 10996, 1379, 367, 273, 374, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 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, 1104, 4628, 12, 2890, 16, 3454, 273, 599, 16, 2027, 14173, 273, 404, 16, 2405, 19168, 273, 404, 4672, 365, 18, 10996, 1379, 367, 273, 374, 2, -100, -100, -100, -100, -100, -100, -100, ...
"""Used as a backend for caching cacheable requests.""" def __init__(self, file_path = None): self.shelf = shelve.open(file_path) def get_xml(self, key): return self.shelf[key] def set_xml(self, key, xml_string): self.shelf[key] = xml_string def has_key(self, key): return key in self.shelf.keys() class _SqliteCache...
"""Used as a backend for caching cacheable requests.""" def __init__(self, file_path = None): self.shelf = shelve.open(file_path) def get_xml(self, key): return self.shelf[key] def set_xml(self, key, xml_string): self.shelf[key] = xml_string def has_key(self, key): return key in self.shelf.keys()
def get_librefm_network(api_key=None, api_secret=None, session_key = None, username = None, password_hash = None): """ Returns a preconfigured Network object for Libre.fm api_key: a provided API_KEY api_secret: a provided API_SECRET session_key: a generated session_key or None username: a username of a valid user pass...
312230e30b9a32836e57d3014b7461a466a3dbed /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9926/312230e30b9a32836e57d3014b7461a466a3dbed/pylast.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 2941, 1734, 81, 67, 5185, 12, 2425, 67, 856, 33, 7036, 16, 1536, 67, 5875, 33, 7036, 16, 1339, 67, 856, 273, 599, 16, 2718, 273, 599, 16, 2201, 67, 2816, 273, 599, 4672, 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, 336, 67, 2941, 1734, 81, 67, 5185, 12, 2425, 67, 856, 33, 7036, 16, 1536, 67, 5875, 33, 7036, 16, 1339, 67, 856, 273, 599, 16, 2718, 273, 599, 16, 2201, 67, 2816, 273, 599, 4672, 3...
filename = os.path.join(basedir, f2).replace("\\", "/")
if f2.startswith("/"): filename = f2 else: filename = os.path.join(basedir, f2).replace("\\", "/")
def create(self, file, diffset_history=None): # Parse the diff tool = self.repository.get_scmtool() files = tool.get_parser(file["content"]).parse()
60706ad83b1bad5181bf31ebeb1bfdf412f780e8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1600/60706ad83b1bad5181bf31ebeb1bfdf412f780e8/forms.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 12, 2890, 16, 585, 16, 1901, 988, 67, 8189, 33, 7036, 4672, 468, 2884, 326, 3122, 5226, 273, 365, 18, 9071, 18, 588, 67, 1017, 81, 6738, 1435, 1390, 273, 5226, 18, 588, 67, 4288...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 12, 2890, 16, 585, 16, 1901, 988, 67, 8189, 33, 7036, 4672, 468, 2884, 326, 3122, 5226, 273, 365, 18, 9071, 18, 588, 67, 1017, 81, 6738, 1435, 1390, 273, 5226, 18, 588, 67, 4288...
def finalization (self, finalized): if self.pns_articulator: self.pns_articulator = None
def finalization (self, finalized): if self.pns_articulator: self.pns_articulator = None
13a785671c02f96b075541baf8233dd4c62a6f66 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2577/13a785671c02f96b075541baf8233dd4c62a6f66/pns_articulator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 727, 1588, 261, 2890, 16, 727, 1235, 4672, 309, 365, 18, 84, 2387, 67, 485, 335, 11775, 30, 365, 18, 84, 2387, 67, 485, 335, 11775, 273, 599, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 727, 1588, 261, 2890, 16, 727, 1235, 4672, 309, 365, 18, 84, 2387, 67, 485, 335, 11775, 30, 365, 18, 84, 2387, 67, 485, 335, 11775, 273, 599, 2, -100, -100, -100, -100, -100, -100, -...
import traceback
def reader(lnum=[lnum]): highlight[lnum[0]] = 1 try: return linecache.getline(file, lnum[0]) finally: lnum[0] += 1
09adc182bec2333c33693ed33586acc2848b097c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3187/09adc182bec2333c33693ed33586acc2848b097c/cgitb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2949, 12, 80, 2107, 22850, 80, 2107, 65, 4672, 8839, 63, 80, 2107, 63, 20, 13563, 273, 404, 775, 30, 327, 4739, 557, 807, 18, 588, 1369, 12, 768, 16, 328, 2107, 63, 20, 5717, 3095, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2949, 12, 80, 2107, 22850, 80, 2107, 65, 4672, 8839, 63, 80, 2107, 63, 20, 13563, 273, 404, 775, 30, 327, 4739, 557, 807, 18, 588, 1369, 12, 768, 16, 328, 2107, 63, 20, 5717, 3095, ...
params["gmst"] = date.XLALGreenwichMeanSiderealTime(t)
params["gmst"] = date.XLALGreenwichMeanSiderealTime(t) % (2 * math.pi)
def coinc_params(events, offsetdict): params = {} events.sort(lambda a, b: cmp(a.ifo, b.ifo)) if events: # the "time" is the ms_snr squared weighted average of the # peak times neglecting light-travel times. because # LIGOTimeGPS objects have overflow problems in this sort # of a calculation, the first event's peak t...
bd0567708f522ace52db92a88efb2d1257378e26 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5758/bd0567708f522ace52db92a88efb2d1257378e26/ligolw_burca_tailor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13170, 71, 67, 2010, 12, 5989, 16, 1384, 1576, 4672, 859, 273, 2618, 2641, 18, 3804, 12, 14661, 279, 16, 324, 30, 9411, 12, 69, 18, 20299, 16, 324, 18, 20299, 3719, 225, 309, 2641, 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, 13170, 71, 67, 2010, 12, 5989, 16, 1384, 1576, 4672, 859, 273, 2618, 2641, 18, 3804, 12, 14661, 279, 16, 324, 30, 9411, 12, 69, 18, 20299, 16, 324, 18, 20299, 3719, 225, 309, 2641, 3...
glNormal(normal)
glNormal3fv(normal)
def draw_polygon(self, *data): glBegin(GL_POLYGON) for normal, vectors in data: glNormal(normal) for vector in vectors: glVertex(vector) glEnd()
9454ab7cc06a51f1eb7277af844d0ea826d17ed0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11052/9454ab7cc06a51f1eb7277af844d0ea826d17ed0/vis_backends.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 67, 20917, 12, 2890, 16, 380, 892, 4672, 5118, 8149, 12, 11261, 67, 14232, 30317, 673, 13, 364, 2212, 16, 10046, 316, 501, 30, 5118, 5506, 23, 17679, 12, 6130, 13, 364, 3806, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 67, 20917, 12, 2890, 16, 380, 892, 4672, 5118, 8149, 12, 11261, 67, 14232, 30317, 673, 13, 364, 2212, 16, 10046, 316, 501, 30, 5118, 5506, 23, 17679, 12, 6130, 13, 364, 3806, 316...
if sys.platform == 'cygwin': return( 'ERROR: you are running from cygwin python, which is not\n' ' supported by "run_webkit_test.py". You should use python\n' ' for Windows (2.5+) to launch this script. A python for\n' ' Windows can be found at your depot_tools folder:\n' ' [DEPOT_TOOLS_PATH]/py...
def main(): if sys.platform == 'cygwin': return( 'ERROR: you are running from cygwin python, which is not\n' ' supported by "run_webkit_test.py". You should use python\n' ' for Windows (2.5+) to launch this script. A python for\n' ' Windows can be found at your depot_tools folder:\n' ' [DEPOT_TO...
d616dc6436b62c19e9499cb3e9c4a7c765558d76 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5060/d616dc6436b62c19e9499cb3e9c4a7c765558d76/run_webkit_tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 1797, 273, 306, 9499, 18, 17751, 65, 1705, 67, 1214, 33, 538, 18, 803, 18, 5701, 12, 538, 18, 803, 18, 12287, 12, 538, 18, 803, 18, 12287, 12, 538, 18, 803, 18, 12287, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 1797, 273, 306, 9499, 18, 17751, 65, 1705, 67, 1214, 33, 538, 18, 803, 18, 5701, 12, 538, 18, 803, 18, 12287, 12, 538, 18, 803, 18, 12287, 12, 538, 18, 803, 18, 12287, ...
return str(value)
return unicode(value)
def stanFromValue(self, idx, item, value): # called with the result of extractValue return str(value)
2008a001bd8cad252e9d9321a7c156e99ba6a975 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6980/2008a001bd8cad252e9d9321a7c156e99ba6a975/tdbview.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 384, 304, 1265, 620, 12, 2890, 16, 2067, 16, 761, 16, 460, 4672, 468, 2566, 598, 326, 563, 434, 2608, 620, 327, 609, 12, 1132, 13, 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, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 384, 304, 1265, 620, 12, 2890, 16, 2067, 16, 761, 16, 460, 4672, 468, 2566, 598, 326, 563, 434, 2608, 620, 327, 609, 12, 1132, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
return ("_".join(strPhrase)) + " (%s)" % chosenToken.getSymbol()
return (("_".join(strPhrase)) + " (%s)" % chosenToken.getSymbol(), phrase)
def generateSentence(self, debug=False): """Get one node, generate a sentence from it forwards to the end of the sentence, and then generate backwards to the beginning of the sentence.
8e1235056f34134b4407cd34d81f66b1b71e2c24 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13131/8e1235056f34134b4407cd34d81f66b1b71e2c24/Ector.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 17923, 12, 2890, 16, 1198, 33, 8381, 4672, 3536, 967, 1245, 756, 16, 2103, 279, 7515, 628, 518, 24578, 358, 326, 679, 434, 326, 7515, 16, 471, 1508, 2103, 12727, 358, 326, 8435, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2103, 17923, 12, 2890, 16, 1198, 33, 8381, 4672, 3536, 967, 1245, 756, 16, 2103, 279, 7515, 628, 518, 24578, 358, 326, 679, 434, 326, 7515, 16, 471, 1508, 2103, 12727, 358, 326, 8435, ...
'test_heteroatom_organics_C3H6AlH',
def run(self): import sim lac = LengthAngleComparison(self.base + ".mmp") s = sim.Minimize(self.base + ".mmp") s.Temperature = 300 s.go() lac.compare(self.base + ".xyz", self.base + ".xyzcmp", LENGTH_TOLERANCE, ANGLE_TOLERANCE)
3f4a171b835422313ecc0171dd0ab652a7f6a1bc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/3f4a171b835422313ecc0171dd0ab652a7f6a1bc/tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 1930, 3142, 328, 1077, 273, 11311, 8467, 16059, 12, 2890, 18, 1969, 397, 3552, 81, 1291, 7923, 272, 273, 3142, 18, 2930, 10153, 12, 2890, 18, 1969, 397, 3552, 81, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 1930, 3142, 328, 1077, 273, 11311, 8467, 16059, 12, 2890, 18, 1969, 397, 3552, 81, 1291, 7923, 272, 273, 3142, 18, 2930, 10153, 12, 2890, 18, 1969, 397, 3552, 81, ...
debinfo = apt_pkg.ParseSection(apt_inst.debExtractControl(file))
try: debinfo = apt_pkg.ParseSection(apt_inst.debExtractControl(file)) for key in debinfo.keys(): value = debinfo.get(key) self.set(key, value) except: self.getFromDpkg(path)
def importDebInfo(self,path): file = open(path,"r") #Getting size from the file size = os.stat(path).st_size.__int__() #Getting md5sum content = file.read() file.close() md5_sum = md5.new(content).hexdigest() file = open(path,"r") debinfo = apt_pkg.ParseSection(apt_inst.debExtractControl(file)) file.close() self.set('...
9efb1cc95e1a2c5706c6f55501c3674733f4cd4d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1007/9efb1cc95e1a2c5706c6f55501c3674733f4cd4d/package.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1930, 758, 70, 966, 12, 2890, 16, 803, 4672, 225, 585, 273, 1696, 12, 803, 10837, 86, 7923, 468, 19213, 963, 628, 326, 585, 963, 273, 1140, 18, 5642, 12, 803, 2934, 334, 67, 1467, 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, 1930, 758, 70, 966, 12, 2890, 16, 803, 4672, 225, 585, 273, 1696, 12, 803, 10837, 86, 7923, 468, 19213, 963, 628, 326, 585, 963, 273, 1140, 18, 5642, 12, 803, 2934, 334, 67, 1467, 16...
return None, None, "error looking up %s: %s" % (nick, ExceptionDetail())
ui.warn("error looking up %s: %s\n" % (nick, ExceptionDetail())) cl.original_author = nick+"@needtofix" return cl, diffdata, ""
def DownloadCL(ui, repo, clname): cl, err = LoadCL(ui, repo, clname) if err != "": return None, None, "error loading CL %s: %s" % (clname, ExceptionDetail()) # Grab RSS feed to learn about CL feed = XMLGet(ui, "/rss/issue/" + clname) if feed is None: return None, None, "cannot download CL" # Find most recent diff dif...
780dbdc02448af0dbc9d3675457a580c18c5cee7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6483/780dbdc02448af0dbc9d3675457a580c18c5cee7/codereview.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13059, 5017, 12, 4881, 16, 3538, 16, 927, 529, 4672, 927, 16, 393, 273, 4444, 5017, 12, 4881, 16, 3538, 16, 927, 529, 13, 309, 393, 480, 1408, 30, 327, 599, 16, 599, 16, 315, 1636, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13059, 5017, 12, 4881, 16, 3538, 16, 927, 529, 4672, 927, 16, 393, 273, 4444, 5017, 12, 4881, 16, 3538, 16, 927, 529, 13, 309, 393, 480, 1408, 30, 327, 599, 16, 599, 16, 315, 1636, ...
s = "_%s%s" % (self.className, s)
cls = self.className while cls.startswith('_'): cls = cls[1:] s = "_%s%s" % (cls, s)
def getName(self, s, fast_locals=0): if fast_locals: return s if s[:2] == '__' and s[-2:] != '__' and self.className: s = "_%s%s" % (self.className, s) return s
2577dc628724db3e017edbc976efd423419487f0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6753/2577dc628724db3e017edbc976efd423419487f0/SrcGenCompiler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1723, 12, 2890, 16, 272, 16, 4797, 67, 17977, 33, 20, 4672, 309, 4797, 67, 17977, 30, 327, 272, 309, 272, 10531, 22, 65, 422, 20288, 471, 272, 18919, 22, 26894, 480, 20288, 471, 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, 1723, 12, 2890, 16, 272, 16, 4797, 67, 17977, 33, 20, 4672, 309, 4797, 67, 17977, 30, 327, 272, 309, 272, 10531, 22, 65, 422, 20288, 471, 272, 18919, 22, 26894, 480, 20288, 471, 365, ...
self._InspiralAnalysisNode__pad_data = 0
self._AnalysisNode__pad_data = 0
def __init__(self, options, cp, dir='', tag_base=''): """ """ self.__conditionalLoadDefaults__(followUpChiaJob.defaults,cp) #self.__prog__ = 'followUpChiaJob' self.__executable = string.strip(cp.get('condor','chia')) self.__universe = "standard" pipeline.CondorDAGJob.__init__(self,self.__universe,self.__executable) sel...
24648911372ea1df253fc45ee5f0a9b8ead25a34 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3592/24648911372ea1df253fc45ee5f0a9b8ead25a34/stfu_pipe.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 702, 16, 3283, 16, 1577, 2218, 2187, 1047, 67, 1969, 2218, 11, 4672, 3536, 3536, 365, 16186, 22019, 2563, 7019, 972, 12, 14641, 1211, 782, 1155, 2278, 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, 702, 16, 3283, 16, 1577, 2218, 2187, 1047, 67, 1969, 2218, 11, 4672, 3536, 3536, 365, 16186, 22019, 2563, 7019, 972, 12, 14641, 1211, 782, 1155, 2278, 18, ...
if (options[i].has_key('help') and options[i]['help'] != helps[i]) or \ (not options[i].has_key('help') and helps[i]):
if options[i].get('help') != (self.zclass_productid(), helps[i]):
def manage_edit(self, actions=[], helps=[], REQUEST=None): "Change view actions" options=self.data() changed=0 if len(actions)!=len(options): raise 'Bad Request', 'wrong number of actions'
8cc5fa69428d4423d1da1eccfb017541541e161e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/8cc5fa69428d4423d1da1eccfb017541541e161e/Basic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10680, 67, 4619, 12, 2890, 16, 4209, 22850, 6487, 21814, 22850, 6487, 12492, 33, 7036, 4672, 315, 3043, 1476, 4209, 6, 702, 33, 2890, 18, 892, 1435, 3550, 33, 20, 309, 562, 12, 4905, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10680, 67, 4619, 12, 2890, 16, 4209, 22850, 6487, 21814, 22850, 6487, 12492, 33, 7036, 4672, 315, 3043, 1476, 4209, 6, 702, 33, 2890, 18, 892, 1435, 3550, 33, 20, 309, 562, 12, 4905, 1...
print "ID %d fired %d times" % (firedId, no)
if verbose: print "ID %d fired %d times" % (firedId, no)
def _DumpFireds(self): if not self.fireds: print "ERROR: Nothing was recieved!" for firedId, no in self.fireds.items(): print "ID %d fired %d times" % (firedId, no)
3bf4d00907dec9e1c36a74a8c8bd7df657ca62a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/677/3bf4d00907dec9e1c36a74a8c8bd7df657ca62a2/testPyComTest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 10628, 9723, 2377, 12, 2890, 4672, 309, 486, 365, 18, 12179, 2377, 30, 1172, 315, 3589, 30, 13389, 1703, 1950, 1385, 2155, 4442, 364, 15950, 548, 16, 1158, 316, 365, 18, 12179, 2377...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10628, 9723, 2377, 12, 2890, 4672, 309, 486, 365, 18, 12179, 2377, 30, 1172, 315, 3589, 30, 13389, 1703, 1950, 1385, 2155, 4442, 364, 15950, 548, 16, 1158, 316, 365, 18, 12179, 2377...
config = RawConfigParser() config.add_section('instance') config.read(['%s/config.ini' % target]) storage = FileStorage('%s/database.fs' % target) database = zodb.Database(storage) root_resource = database.get_resource('/')
config = get_config(target)
def start(parser, options, target): if options.source is not None: parser.error('option --import not allowed in this context') if options.root is not None: parser.error('option --root not allowed in this context') # Load the config config = RawConfigParser() config.add_section('instance') config.read(['%s/config.ini'...
fa68d086a1fe877a8ae1d77a6739a1d5a8a6179f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12681/fa68d086a1fe877a8ae1d77a6739a1d5a8a6179f/icms.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 4288, 16, 702, 16, 1018, 4672, 309, 702, 18, 3168, 353, 486, 599, 30, 2082, 18, 1636, 2668, 3482, 1493, 5666, 486, 2935, 316, 333, 819, 6134, 225, 309, 702, 18, 3085, 353, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 4288, 16, 702, 16, 1018, 4672, 309, 702, 18, 3168, 353, 486, 599, 30, 2082, 18, 1636, 2668, 3482, 1493, 5666, 486, 2935, 316, 333, 819, 6134, 225, 309, 702, 18, 3085, 353, 4...
None,
# typedef void (*lc_callback)(uint32_t, uint32_t, uint32_t, void*);
252469d959d952d07c6c2b796be96c97a8628abc /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3138/252469d959d952d07c6c2b796be96c97a8628abc/libconcord.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 468, 618, 536, 918, 261, 14, 17704, 67, 3394, 21433, 11890, 1578, 67, 88, 16, 2254, 1578, 67, 88, 16, 2254, 1578, 67, 88, 16, 918, 14, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 468, 618, 536, 918, 261, 14, 17704, 67, 3394, 21433, 11890, 1578, 67, 88, 16, 2254, 1578, 67, 88, 16, 2254, 1578, 67, 88, 16, 918, 14, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -1...
elif self.quota_aware:
elif self.quota_maxbytes != 0:
def unpackFile(self, plfngRelativeDir, FSpackedFile, REQUEST, RESPONSE): """ unpack a file """
67e5620c45438dda1bed6cde3d1daee6f20e185e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1807/67e5620c45438dda1bed6cde3d1daee6f20e185e/PloneLocalFolderNG.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6167, 812, 12, 2890, 16, 886, 74, 3368, 8574, 1621, 16, 9247, 2920, 329, 812, 16, 12492, 16, 20645, 4672, 3536, 6167, 279, 585, 3536, 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, 6167, 812, 12, 2890, 16, 886, 74, 3368, 8574, 1621, 16, 9247, 2920, 329, 812, 16, 12492, 16, 20645, 4672, 3536, 6167, 279, 585, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.set_go_navigation_sensitivities() if self.slideshow_mode == True: if self.curr_slideshow_random == True: self.timer_delay = gobject.timeout_add(self.delayoptions[self.curr_slideshow_delay]*1000, self.random_img_in_list, "ss") else: self.timer_delay = gobject.timeout_add(self.delayoptions[self.curr_slideshow_delay]...
self.set_go_navigation_sensitivities() if self.slideshow_mode == True: if self.curr_slideshow_random == True: self.timer_delay = gobject.timeout_add(self.delayoptions[self.curr_slideshow_delay]*1000, self.random_img_in_list, "ss") else: self.timer_delay = gobject.timeout_add(self.delayoptions[self.curr_slideshow_delay]...
def next_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1:
a4d6024d09d807bd2a142bf54daca1a7d1873c7f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2291/a4d6024d09d807bd2a142bf54daca1a7d1873c7f/mirage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1024, 67, 6081, 67, 267, 67, 1098, 12, 2890, 16, 1301, 4672, 309, 365, 18, 2069, 4369, 13606, 67, 3188, 422, 1053, 471, 1301, 480, 315, 1049, 6877, 314, 1612, 18, 3168, 67, 4479, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1024, 67, 6081, 67, 267, 67, 1098, 12, 2890, 16, 1301, 4672, 309, 365, 18, 2069, 4369, 13606, 67, 3188, 422, 1053, 471, 1301, 480, 315, 1049, 6877, 314, 1612, 18, 3168, 67, 4479, 12, ...
host = HostInfo(self.hostUrl, rootDir = rootDir, asMirror = True, perPlatform = False)
host = HostInfo(self.hostUrl, appRunner = base.appRunner, rootDir = rootDir, asMirror = True, perPlatform = False)
def installPackagesInto(self, rootDir, platform): """ Installs the packages required by the .p3d file into the specified root directory, for the given platform. """ if not self.includeRequires: return host = HostInfo(self.hostUrl, rootDir = rootDir, asMirror = True, perPlatform = False) if not host.readContentsFile()...
eee5764b820c84b961f87bb95f693f2e00cf6ee6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8543/eee5764b820c84b961f87bb95f693f2e00cf6ee6/DeploymentTools.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3799, 11425, 5952, 12, 2890, 16, 15393, 16, 4072, 4672, 3536, 10284, 87, 326, 5907, 1931, 635, 326, 263, 84, 23, 72, 585, 1368, 326, 1269, 1365, 1867, 16, 364, 326, 864, 4072, 18, 3536...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3799, 11425, 5952, 12, 2890, 16, 15393, 16, 4072, 4672, 3536, 10284, 87, 326, 5907, 1931, 635, 326, 263, 84, 23, 72, 585, 1368, 326, 1269, 1365, 1867, 16, 364, 326, 864, 4072, 18, 3536...
print "Can't make thumbnail. Cause : %s", e
print "Can't make thumbnail. Cause : %s" % e thumb = None
def parseFile(self, filepath, pristineFilename, encoding=None): """returns a 4-uple (title, normalized_text, links, offset) TODO: port original code from htmltotext :param encoding: if None, then need to be guessed """ title = unicode(pristineFilename) try: result = 'EXIF : ' + get_ustring_from_exif(filepath) try: thum...
aa111c7acd95ce5d1a46f02376fb86dc5b2eb508 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2259/aa111c7acd95ce5d1a46f02376fb86dc5b2eb508/texttool.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31986, 12, 2890, 16, 3608, 16, 846, 376, 558, 5359, 16, 2688, 33, 7036, 4672, 3536, 6154, 279, 1059, 17, 2268, 261, 2649, 16, 5640, 67, 955, 16, 4716, 16, 1384, 13, 2660, 30, 1756, 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, 31986, 12, 2890, 16, 3608, 16, 846, 376, 558, 5359, 16, 2688, 33, 7036, 4672, 3536, 6154, 279, 1059, 17, 2268, 261, 2649, 16, 5640, 67, 955, 16, 4716, 16, 1384, 13, 2660, 30, 1756, 2...
if self.HelpBar:
if self:
def RefreshStatusBar(self): if self.HelpBar: selected = self.FileOpened.GetSelection() if selected >= 0: window = self.FileOpened.GetPage(selected) selection = window.GetSelection() if selection: index, subIndex = selection if self.Manager.IsCurrentEntry(index): self.HelpBar.SetStatusText("Index: 0x%04X"%index, 0) self...
38f9154882abacfcf05de77c56e98bf38ab20bec /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11017/38f9154882abacfcf05de77c56e98bf38ab20bec/objdictedit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14179, 1482, 5190, 12, 2890, 4672, 309, 365, 30, 3170, 273, 365, 18, 812, 23115, 18, 967, 6233, 1435, 309, 3170, 1545, 374, 30, 2742, 273, 365, 18, 812, 23115, 18, 967, 1964, 12, 8109,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14179, 1482, 5190, 12, 2890, 4672, 309, 365, 30, 3170, 273, 365, 18, 812, 23115, 18, 967, 6233, 1435, 309, 3170, 1545, 374, 30, 2742, 273, 365, 18, 812, 23115, 18, 967, 1964, 12, 8109,...
uni = symbol.GetProposedUnicode()
if not uni: uni = symbol.GetProposedUnicode()
def _WriteNamesList(writer): writer.write(_HEADER) symbols = emoji4unicode.GetSymbolsInProposalSortedByUnicode() prev_subcategory_name = "" for symbol in symbols: code_points = symbol[0] symbol = symbol[1] if symbol.GetUnicode(): continue block_heading = _BLOCK_HEADINGS.get(code_points[0]) if block_heading: writer.writ...
66aad16897e70434cafa6cd7a8a51dda5b084260 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3647/66aad16897e70434cafa6cd7a8a51dda5b084260/gen_names_list.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3067, 1557, 682, 12, 6299, 4672, 2633, 18, 2626, 24899, 7557, 13, 7963, 273, 15638, 24, 9124, 18, 967, 14821, 382, 14592, 11739, 858, 16532, 1435, 2807, 67, 1717, 4743, 67, 529, 273...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3067, 1557, 682, 12, 6299, 4672, 2633, 18, 2626, 24899, 7557, 13, 7963, 273, 15638, 24, 9124, 18, 967, 14821, 382, 14592, 11739, 858, 16532, 1435, 2807, 67, 1717, 4743, 67, 529, 273...
ReplaceLineInFile( "./nautilussvn/usr/lib/nautilus/extensions-1.0/python/%s/helper.py"%VERSION, 'SOURCE_PATH = "/usr/lib/nautilus/extensions-1.0/python', '\tSOURCE_PATH = "/usr/lib/nautilus/extensions-1.0/python/%s/"\n'%VERSION )
def ReplaceLineInFile(filename, target, subst): """ Replaces lines in *filename* containing *target* with *subst* """ st = open(filename, "r").readlines() out = [] for line in st: if target in line: line = subst out.append(line) f = open(filename, "w") for s in out: f.write(s)
9d1ebf45598c95f5da9ed897f331bdc0639b07db /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5119/9d1ebf45598c95f5da9ed897f331bdc0639b07db/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6910, 1670, 382, 812, 12, 3459, 16, 1018, 16, 27750, 4672, 3536, 868, 11350, 2362, 316, 380, 3459, 14, 4191, 380, 3299, 14, 598, 380, 1717, 334, 14, 3536, 384, 273, 1696, 12, 3459, 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, 6910, 1670, 382, 812, 12, 3459, 16, 1018, 16, 27750, 4672, 3536, 868, 11350, 2362, 316, 380, 3459, 14, 4191, 380, 3299, 14, 598, 380, 1717, 334, 14, 3536, 384, 273, 1696, 12, 3459, 16,...
assert self.curNode.parentNode is None, \ "not all elements have been properly closed" assert self.curNode.documentElement is not None, \ "document does not contain a root element" node = self.curNode.documentElement self.lastEvent[1] = [(END_DOCUMENT, node), None]
self.lastEvent[1] = [(END_DOCUMENT, self.document), None] self.pop()
def endDocument(self): assert self.curNode.parentNode is None, \ "not all elements have been properly closed" assert self.curNode.documentElement is not None, \ "document does not contain a root element" node = self.curNode.documentElement self.lastEvent[1] = [(END_DOCUMENT, node), None] #self.events.append((END_DOCUME...
c3bec716342d72e243468dec0c24500c82f6cc20 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/c3bec716342d72e243468dec0c24500c82f6cc20/pulldom.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 679, 2519, 12, 2890, 4672, 1815, 365, 18, 1397, 907, 18, 2938, 907, 353, 599, 16, 521, 315, 902, 777, 2186, 1240, 2118, 8214, 4375, 6, 1815, 365, 18, 1397, 907, 18, 5457, 1046, 353, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 679, 2519, 12, 2890, 4672, 1815, 365, 18, 1397, 907, 18, 2938, 907, 353, 599, 16, 521, 315, 902, 777, 2186, 1240, 2118, 8214, 4375, 6, 1815, 365, 18, 1397, 907, 18, 5457, 1046, 353, ...
sage: magma.get_verbose("Groebner")
sage: magma.get_verbose("Groebner")
def set_verbose(self, type, level): """ Set the verbosity level for a given algorithm, class, etc. in Magma.
c04f0ba44cf1a87c258dee9681bb5f4ba8144212 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/c04f0ba44cf1a87c258dee9681bb5f4ba8144212/magma.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 11369, 12, 2890, 16, 618, 16, 1801, 4672, 3536, 1000, 326, 11561, 1801, 364, 279, 864, 4886, 16, 667, 16, 5527, 18, 316, 490, 9454, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 11369, 12, 2890, 16, 618, 16, 1801, 4672, 3536, 1000, 326, 11561, 1801, 364, 279, 864, 4886, 16, 667, 16, 5527, 18, 316, 490, 9454, 18, 2, -100, -100, -100, -100, -100, -100, ...
for plgin in plugins: if plgin['state']: plgin['instance'].onTaskOpened(plugin_api)
for plugin in plugins: if plugin['state'] and plugin['active']: plugin['instance'].onTaskOpened(plugin_api)
def onTaskLoad(self, plugins, plugin_api): for plgin in plugins: if plgin['state']: plgin['instance'].onTaskOpened(plugin_api)
96be349902b71df6bb88acbbfe55dce6d6009afc /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8234/96be349902b71df6bb88acbbfe55dce6d6009afc/engine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 2174, 2563, 12, 2890, 16, 4799, 16, 1909, 67, 2425, 4672, 364, 1909, 316, 4799, 30, 309, 1909, 3292, 2019, 3546, 471, 1909, 3292, 3535, 3546, 30, 1909, 3292, 1336, 29489, 265, 2174,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 603, 2174, 2563, 12, 2890, 16, 4799, 16, 1909, 67, 2425, 4672, 364, 1909, 316, 4799, 30, 309, 1909, 3292, 2019, 3546, 471, 1909, 3292, 3535, 3546, 30, 1909, 3292, 1336, 29489, 265, 2174,...
def runMythtranscode(chanid, starttime, destination, usecutlist):
def runMythtranscode(chanid, starttime, destination, usecutlist, localfile):
def runMythtranscode(chanid, starttime, destination, usecutlist): """Use mythtrancode to cut commercials and/or clean up an mpeg2 file""" if usecutlist == True: command = "mythtranscode --mpeg2 --honorcutlist -c %s -s %s -o %s" % (chanid, starttime, destination) else: command = "mythtranscode --mpeg2 -c %s -s %s -o %s...
0ccb616ed01f564244cbf19b355de0d969368ff7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/13713/0ccb616ed01f564244cbf19b355de0d969368ff7/mythburn.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12062, 451, 2338, 710, 12, 7472, 350, 16, 23437, 16, 2929, 16, 999, 5150, 1098, 16, 1191, 768, 4672, 3536, 3727, 3399, 451, 13171, 710, 358, 6391, 1543, 12610, 649, 87, 471, 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, 1086, 12062, 451, 2338, 710, 12, 7472, 350, 16, 23437, 16, 2929, 16, 999, 5150, 1098, 16, 1191, 768, 4672, 3536, 3727, 3399, 451, 13171, 710, 358, 6391, 1543, 12610, 649, 87, 471, 19, ...
import __main__ __main__.__builtins__.get_transaction=get_transaction
import __builtin__ __builtin__.get_transaction=get_transaction del __builtin__
def free_transaction(_id=thread.get_ident, _t=_t): id = _id() try: del _t[id] except KeyError: pass
3b4b25085e7c2a7af2ede4bc891acf1ead3d116c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10048/3b4b25085e7c2a7af2ede4bc891acf1ead3d116c/Transaction.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4843, 67, 7958, 24899, 350, 33, 5930, 18, 588, 67, 6392, 16, 389, 88, 33, 67, 88, 4672, 612, 273, 389, 350, 1435, 775, 30, 1464, 389, 88, 63, 350, 65, 1335, 4999, 30, 1342, 2, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4843, 67, 7958, 24899, 350, 33, 5930, 18, 588, 67, 6392, 16, 389, 88, 33, 67, 88, 4672, 612, 273, 389, 350, 1435, 775, 30, 1464, 389, 88, 63, 350, 65, 1335, 4999, 30, 1342, 2, -100...
variable dimensions
variable dimensions; an empty tup;e is returned in the case of a scalar variable
def shape(self): """Return the variable shape, that is, the length of its dimensions. Dataset mode: does not matter.
6f3fb868f05beaa2f5db0f25d55169be03cf3bbb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9106/6f3fb868f05beaa2f5db0f25d55169be03cf3bbb/pycdf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2179, 12, 2890, 4672, 3536, 990, 326, 2190, 2179, 16, 716, 353, 16, 326, 769, 434, 2097, 5769, 18, 10778, 1965, 30, 1552, 486, 15177, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2179, 12, 2890, 4672, 3536, 990, 326, 2190, 2179, 16, 716, 353, 16, 326, 769, 434, 2097, 5769, 18, 10778, 1965, 30, 1552, 486, 15177, 18, 2, -100, -100, -100, -100, -100, -100, -100, -...
if option.lower() in self.options('global'): self['global'][option] = self._ifnone(self.get('global',option))
if option.lower() in self.options(glob): self['global'][option] = self._ifnone(self.get(glob,option))
def parse(self): for option in self.boolOptionsGlobal: try: if option.lower() in self.options('global'): try: self['global'][option]=self.getboolean('global',option) except ValueError: print >> sys.stderr, u"""failed to parse option %s in \
830769e8183a1ce27956e236ff478b0b2d4e4fdc /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1664/830769e8183a1ce27956e236ff478b0b2d4e4fdc/rssdler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 4672, 364, 1456, 316, 365, 18, 6430, 1320, 5160, 30, 775, 30, 309, 1456, 18, 8167, 1435, 316, 365, 18, 2116, 2668, 6347, 11, 4672, 775, 30, 365, 3292, 6347, 3546, 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, 1109, 12, 2890, 4672, 364, 1456, 316, 365, 18, 6430, 1320, 5160, 30, 775, 30, 309, 1456, 18, 8167, 1435, 316, 365, 18, 2116, 2668, 6347, 11, 4672, 775, 30, 365, 3292, 6347, 3546, 63, ...
if self.vnc_alive:
if self.use_vnc_server and self.vnc_alive:
def wait(self, timeout=None): ''' Wrap the call to wait in logic that kills the VNC server when we are done waiting. During normal operation, wait is the last thing. In the keyboard interrupt case wait will die due to the interrupt and stop/kill will be killed. Since we are wrapping wait, we don't need to specialize...
1267abaeedc9b07419ab317fc906738f35d536fc /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11044/1267abaeedc9b07419ab317fc906738f35d536fc/runtest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2529, 12, 2890, 16, 2021, 33, 7036, 4672, 9163, 4266, 326, 745, 358, 2529, 316, 4058, 716, 8673, 87, 326, 776, 10346, 1438, 1347, 732, 854, 2731, 7336, 18, 225, 463, 4017, 2212, 1674, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2529, 12, 2890, 16, 2021, 33, 7036, 4672, 9163, 4266, 326, 745, 358, 2529, 316, 4058, 716, 8673, 87, 326, 776, 10346, 1438, 1347, 732, 854, 2731, 7336, 18, 225, 463, 4017, 2212, 1674, ...
print 'usage: %s inspector_html devtools_html css_and_js_files_list' % argv[0]
print('usage: %s ignored inspector_html devtools_html' ' css_and_js_files_list' % argv[0])
def main(argv): if len(argv) < 4: print 'usage: %s inspector_html devtools_html css_and_js_files_list' % argv[0] return 1 inspector_html_name = argv[1] devtools_html_name = argv[2] inspector_html = open(inspector_html_name, 'r') devtools_html = open(devtools_html_name, 'w') for line in inspector_html: if '</head>' i...
f54d1fe210e3b03b65b61bff6cdce08b8fbc10e5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5060/f54d1fe210e3b03b65b61bff6cdce08b8fbc10e5/generate_devtools_html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 19485, 4672, 225, 309, 562, 12, 19485, 13, 411, 1059, 30, 1172, 2668, 9167, 30, 738, 87, 5455, 22700, 67, 2620, 4461, 6642, 67, 2620, 11, 296, 3747, 67, 464, 67, 2924, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 19485, 4672, 225, 309, 562, 12, 19485, 13, 411, 1059, 30, 1172, 2668, 9167, 30, 738, 87, 5455, 22700, 67, 2620, 4461, 6642, 67, 2620, 11, 296, 3747, 67, 464, 67, 2924, 67, ...
def __sendData( self, acRegister, secsTimeout = 30 ):
def __sendData( self, acRegister, secsTimeout = 60 ):
def __sendData( self, acRegister, secsTimeout = 30 ): if not self.enabled: return if gServiceInterface.serviceRunning(): rpcClient = gServiceInterface else: rpcClient = RPCClient( "Monitoring/Server", timeout = secsTimeout ) #Send registrations if not self.__sendRegistration( rpcClient ): return False #Send marks maxIt...
c7114d3880eb02e348aa77c3ddebde54af35d830 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/c7114d3880eb02e348aa77c3ddebde54af35d830/MonitoringClient.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4661, 751, 12, 365, 16, 1721, 3996, 16, 18043, 2694, 273, 4752, 262, 30, 309, 486, 365, 18, 5745, 30, 327, 309, 314, 18348, 18, 3278, 7051, 13332, 6724, 1227, 273, 314, 18348, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4661, 751, 12, 365, 16, 1721, 3996, 16, 18043, 2694, 273, 4752, 262, 30, 309, 486, 365, 18, 5745, 30, 327, 309, 314, 18348, 18, 3278, 7051, 13332, 6724, 1227, 273, 314, 18348, 46...
_tryorder = ("netscape", "windows-default")
_tryorder = ["netscape", "windows-default"]
def open_new(self, url): self.open(url)
5b6096260bd3180a45541b4425e1cc7d377bf08f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/5b6096260bd3180a45541b4425e1cc7d377bf08f/webbrowser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 67, 2704, 12, 2890, 16, 880, 4672, 365, 18, 3190, 12, 718, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 67, 2704, 12, 2890, 16, 880, 4672, 365, 18, 3190, 12, 718, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
dec_flags, next_input, decoded_chars = self._snapshot
dec_flags, next_input = self._snapshot
def tell(self): if not self._seekable: raise IOError("underlying stream is not seekable") if not self._telling: raise IOError("telling position disabled by next() call") self.flush() position = self.buffer.tell() decoder = self._decoder if decoder is None or self._snapshot is None: if self._decoded_text: # This should ...
2e00b1ed3eaf2ada4c0cb16b188516bd10ad5f0c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8125/2e00b1ed3eaf2ada4c0cb16b188516bd10ad5f0c/io.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9276, 12, 2890, 4672, 309, 486, 365, 6315, 16508, 429, 30, 1002, 8340, 2932, 9341, 6291, 1407, 353, 486, 6520, 429, 7923, 309, 486, 365, 6315, 88, 1165, 310, 30, 1002, 8340, 2932, 88, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9276, 12, 2890, 4672, 309, 486, 365, 6315, 16508, 429, 30, 1002, 8340, 2932, 9341, 6291, 1407, 353, 486, 6520, 429, 7923, 309, 486, 365, 6315, 88, 1165, 310, 30, 1002, 8340, 2932, 88, ...
'version': None
'version': None, 'description_change': None
def _process_newticket_request(self, req): context = Context(self.env, req)('ticket') req.perm.require('TICKET_CREATE')
4b325501b62417636d47491d39e6a4729b660a33 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9317/4b325501b62417636d47491d39e6a4729b660a33/web_ui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2567, 67, 2704, 16282, 67, 2293, 12, 2890, 16, 1111, 4672, 819, 273, 1772, 12, 2890, 18, 3074, 16, 1111, 13, 2668, 16282, 6134, 1111, 18, 12160, 18, 6528, 2668, 56, 16656, 1584, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2567, 67, 2704, 16282, 67, 2293, 12, 2890, 16, 1111, 4672, 819, 273, 1772, 12, 2890, 18, 3074, 16, 1111, 13, 2668, 16282, 6134, 1111, 18, 12160, 18, 6528, 2668, 56, 16656, 1584, 6...
if (type(v) == type('string')):
if (not isinstance(k, str) or len(k) < 1 or k == ' '): del self.definitions[k] elif (type(v) == type('string')):
def __init__(self): """ Constructor """ irclib.irc.__init__(self) getenv = os.environ.get
15941805d1c75aa8dcebe12a214553ed4b49b1fb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9641/15941805d1c75aa8dcebe12a214553ed4b49b1fb/jibot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 3536, 11417, 3536, 9482, 830, 495, 18, 481, 71, 16186, 2738, 972, 12, 2890, 13, 11740, 273, 1140, 18, 28684, 18, 588, 2, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 3536, 11417, 3536, 9482, 830, 495, 18, 481, 71, 16186, 2738, 972, 12, 2890, 13, 11740, 273, 1140, 18, 28684, 18, 588, 2, -100, -100, -100, -100, -100, ...
if DEBUG or 1:
if DEBUG:
def run(self): while 1: if self.mode == 'idle': self.mode_flag.wait() self.mode_flag.clear()
3d62472338ec2210958370a10e1de3c4681aa9ef /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/3d62472338ec2210958370a10e1de3c4681aa9ef/xine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 1323, 404, 30, 309, 365, 18, 3188, 422, 296, 20390, 4278, 365, 18, 3188, 67, 6420, 18, 7048, 1435, 365, 18, 3188, 67, 6420, 18, 8507, 1435, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 1323, 404, 30, 309, 365, 18, 3188, 422, 296, 20390, 4278, 365, 18, 3188, 67, 6420, 18, 7048, 1435, 365, 18, 3188, 67, 6420, 18, 8507, 1435, 2, -100, -100, -100, ...
'OWNERDN': dynamic_util.cl_ownerdn(),
'OWNERDN': self.dynamic_util.cl_ownerdn(),
def _cl_task_meta_message(self): j = self.job_info # called on client, so job_info is Job object exec self.importDynamicUtil() msg = { 'APPLICATION': LCGAthenaUtil.cl_application(j), # e.g. ATHENA 'APPLICATIONVERSION': LCGAthenaUtil.cl_application_version(j), # e.g. 15.5.1 'INPUTDATASET': LCGAthenaUtil.cl_input_dataset...
8fc5b0bc368c704c04aaa9d01d8fe3d1ee85b726 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1488/8fc5b0bc368c704c04aaa9d01d8fe3d1ee85b726/AthenaMS.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 830, 67, 4146, 67, 3901, 67, 2150, 12, 2890, 4672, 525, 273, 365, 18, 4688, 67, 1376, 468, 2566, 603, 1004, 16, 1427, 1719, 67, 1376, 353, 3956, 733, 1196, 365, 18, 5666, 9791, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 830, 67, 4146, 67, 3901, 67, 2150, 12, 2890, 4672, 525, 273, 365, 18, 4688, 67, 1376, 468, 2566, 603, 1004, 16, 1427, 1719, 67, 1376, 353, 3956, 733, 1196, 365, 18, 5666, 9791, ...
alignments=200, e=0.0001)
alignments=200, e=0.0001)
def test_TemplateSearcher(self):
d1d0f0dde1db9aab3ed06b90b829e6ce5f0be3a0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/482/d1d0f0dde1db9aab3ed06b90b829e6ce5f0be3a0/TemplateSearcher.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2283, 2979, 264, 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, ...
[ 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, 1842, 67, 2283, 2979, 264, 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...
self.parser.parseError()
self.parser.parseError(_(u"Unexpected start tag token (" + name +\ u") in the after body phase."))
def processStartTag(self, name, attributes): self.parser.parseError() self.parser.phase = self.parser.phases["inBody"] self.parser.phase.processStartTag(name, attributes)
ada0ac37dde0996bf794a42d6e0bceb3097dbbd7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9368/ada0ac37dde0996bf794a42d6e0bceb3097dbbd7/html5parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 30512, 12, 2890, 16, 508, 16, 1677, 4672, 365, 18, 4288, 18, 2670, 668, 24899, 12, 89, 6, 7762, 787, 1047, 1147, 7566, 397, 508, 397, 64, 582, 7923, 316, 326, 1839, 1417, 6855, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 30512, 12, 2890, 16, 508, 16, 1677, 4672, 365, 18, 4288, 18, 2670, 668, 24899, 12, 89, 6, 7762, 787, 1047, 1147, 7566, 397, 508, 397, 64, 582, 7923, 316, 326, 1839, 1417, 6855, ...
return None
return (None, [])
def ApplyDirectoryRules(existing_rules, dir_name): """Combines rules from the existing rules and the new directory. Any directory can contain a DEPS file. Toplevel DEPS files can contain module dependencies which are used by gclient. We use these, along with additional include rules and implicit rules for the given di...
f3bb0346579cd4eb431c45e43041e139876015e8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9392/f3bb0346579cd4eb431c45e43041e139876015e8/checkdeps.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5534, 2853, 4478, 12, 11711, 67, 7482, 16, 1577, 67, 529, 4672, 3536, 11328, 1465, 2931, 628, 326, 2062, 2931, 471, 326, 394, 1867, 18, 225, 5502, 1867, 848, 912, 279, 2030, 5857, 585, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5534, 2853, 4478, 12, 11711, 67, 7482, 16, 1577, 67, 529, 4672, 3536, 11328, 1465, 2931, 628, 326, 2062, 2931, 471, 326, 394, 1867, 18, 225, 5502, 1867, 848, 912, 279, 2030, 5857, 585, ...
nuninst[arch] = nuninst_comp[arch][:]
nuninst[arch] = [x for x in nuninst_comp[arch] if x in binaries[arch][0]]
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst()
ffeddc471d8a477df144d4e513c8a8dae814240b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/ffeddc471d8a477df144d4e513c8a8dae814240b/britney.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1400, 67, 10308, 12, 2890, 16, 5907, 16, 876, 4672, 2870, 273, 5378, 290, 318, 8591, 67, 2919, 273, 365, 18, 588, 67, 82, 318, 8591, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1400, 67, 10308, 12, 2890, 16, 5907, 16, 876, 4672, 2870, 273, 5378, 290, 318, 8591, 67, 2919, 273, 365, 18, 588, 67, 82, 318, 8591, 1435, 2, -100, -100, -100, -100, -100, -100, -100, ...
this = apply(_quickfix.new_DiscretionMoveType, args)
this = _quickfix.new_DiscretionMoveType(*args)
def __init__(self, *args): this = apply(_quickfix.new_DiscretionMoveType, 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, 28912, 1349, 285, 7607, 559, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 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, 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, 28912, 1349, 285, 7607, 559, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, ...
name="bend span %i-%i-%i (%s)" % (id + (tag,)),
name="bend span %i-%i-%i" % id,
def add_bend_spans(self, criteria_sets): """ Adds the distances that span the bend angles described in criteria_sets to the collection. """ result = dict((tag, []) for tag in criteria_sets.yield_tags()) for tag, match in self.molecular_graph.yield_subgraphs(criteria_sets): id = tuple([match.get_destination(source) for ...
1688fd6453a932f4536672a83da72a51dfe1e12e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11053/1688fd6453a932f4536672a83da72a51dfe1e12e/internal_coordinates.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 70, 409, 67, 30885, 12, 2890, 16, 3582, 67, 4424, 4672, 3536, 15605, 326, 12491, 716, 4548, 326, 324, 409, 15479, 11893, 316, 3582, 67, 4424, 358, 326, 1849, 18, 3536, 563, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 70, 409, 67, 30885, 12, 2890, 16, 3582, 67, 4424, 4672, 3536, 15605, 326, 12491, 716, 4548, 326, 324, 409, 15479, 11893, 316, 3582, 67, 4424, 358, 326, 1849, 18, 3536, 563, 27...
columns = ["login", "name"]
def _list(self): try: users = self.userconn.users() columns = ["login", "name"] if not len(users): print _("No users available to list") sys.exit(0) print "+-------------------------------------------+" print " Available Users " print "+-------------------------------------------+" for user ...
f392f716f136a9fbd21821bb5e26256a7a3b87cd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10692/f392f716f136a9fbd21821bb5e26256a7a3b87cd/core_user.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1098, 12, 2890, 4672, 775, 30, 3677, 273, 365, 18, 1355, 4646, 18, 5577, 1435, 309, 486, 562, 12, 5577, 4672, 1172, 389, 2932, 2279, 3677, 2319, 358, 666, 7923, 2589, 18, 8593, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1098, 12, 2890, 4672, 775, 30, 3677, 273, 365, 18, 1355, 4646, 18, 5577, 1435, 309, 486, 562, 12, 5577, 4672, 1172, 389, 2932, 2279, 3677, 2319, 358, 666, 7923, 2589, 18, 8593, 12...
envelope = write_multipart(output)
envelope = write_multipart(output, boundary=boundary)
def dump_db(dburl, username=None, password=None, boundary=None, output=sys.stdout): db = Database(dburl) if username is not None and password is not None: db.resource.http.add_credentials(username, password) envelope = write_multipart(output) for docid in db: doc = db.get(docid, attachments=True) print>>sys.stderr, '...
bc7383c51c09f939e828ecf7fda24bdd45bd8955 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9373/bc7383c51c09f939e828ecf7fda24bdd45bd8955/dump.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 67, 1966, 12, 1966, 718, 16, 2718, 33, 7036, 16, 2201, 33, 7036, 16, 7679, 33, 7036, 16, 876, 33, 9499, 18, 10283, 4672, 1319, 273, 5130, 12, 1966, 718, 13, 309, 2718, 353, 486...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 67, 1966, 12, 1966, 718, 16, 2718, 33, 7036, 16, 2201, 33, 7036, 16, 7679, 33, 7036, 16, 876, 33, 9499, 18, 10283, 4672, 1319, 273, 5130, 12, 1966, 718, 13, 309, 2718, 353, 486...
geo=GpicSync(gpxFile=self.getGpxFile(),tcam_l=self.tcam_l,tgps_l=self.tgps_l,
geo=GpicSync(gpxFile=self.gpxFile,tcam_l=self.tcam_l,tgps_l=self.tgps_l,
def sync(): if self.dirEntry.GetValue()!="" and self.gpxEntry.GetValue!="": wx.CallAfter(self.consolePrint,"\n------\n"+_("Beginning synchronization with ")\ +_("UTC Offset =")+self.utcEntry.GetValue()+\ _(" hours and maximum time difference = ")+self.timerangeEntry.GetValue() +_(" seconds")+"\n") else: pass geo=GpicS...
f57720aae7e3217c5deab9f5281050db786c1433 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11453/f57720aae7e3217c5deab9f5281050db786c1433/gpicsync-GUI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3792, 13332, 309, 365, 18, 1214, 1622, 18, 967, 620, 1435, 5, 1546, 6, 471, 365, 18, 75, 4430, 1622, 18, 967, 620, 5, 1546, 6877, 7075, 18, 1477, 4436, 12, 2890, 18, 8698, 5108, 1083...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3792, 13332, 309, 365, 18, 1214, 1622, 18, 967, 620, 1435, 5, 1546, 6, 471, 365, 18, 75, 4430, 1622, 18, 967, 620, 5, 1546, 6877, 7075, 18, 1477, 4436, 12, 2890, 18, 8698, 5108, 1083...
import sys,traceback
def __setattr__(self,name,value): if name!='_l': if __debug__: if _module_debug_level>0: print '************',\ self.__module__+'.'+self.__class__.__name__+'.__setattr__(%s,%s)' % (name,value) if _module_debug_level>=2: import sys,traceback traceback.print_stack(file=sys.stdout) _ldapmodule_lock.acquire() try: setattr(...
fc5bd7b77443dfcf196c4136f1b26cdaf847e448 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4610/fc5bd7b77443dfcf196c4136f1b26cdaf847e448/ldapthreadlock.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 542, 1747, 972, 12, 2890, 16, 529, 16, 1132, 4672, 309, 508, 5, 2218, 67, 80, 4278, 309, 1001, 4148, 972, 30, 309, 389, 2978, 67, 4148, 67, 2815, 34, 20, 30, 1172, 296, 1644, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1747, 972, 12, 2890, 16, 529, 16, 1132, 4672, 309, 508, 5, 2218, 67, 80, 4278, 309, 1001, 4148, 972, 30, 309, 389, 2978, 67, 4148, 67, 2815, 34, 20, 30, 1172, 296, 1644, ...
copystream=open(self.copy,'wb')
copystream=DamnOpenFile(self.copy,'wb')
def goDownload(self): self.http=DamnURLPicker(self.uri,resumeat=self.amountwritten) if self.http==None: try: self.pipe.close() # This tells ffmpeg that it's the end of the stream except: pass return None writing='' direct=False if self.copy!=None: copystream=open(self.copy,'wb') i='letsgo' while len(i): tmptimer=thr.Ti...
eb32c3f0350ac5e4cc4ce63c81f04bfa758a966a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11142/eb32c3f0350ac5e4cc4ce63c81f04bfa758a966a/DamnVid.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1960, 7109, 12, 2890, 4672, 365, 18, 2505, 33, 40, 301, 82, 1785, 13194, 12, 2890, 18, 1650, 16, 25158, 270, 33, 2890, 18, 8949, 9748, 13, 309, 365, 18, 2505, 631, 7036, 30, 775, 30,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1960, 7109, 12, 2890, 4672, 365, 18, 2505, 33, 40, 301, 82, 1785, 13194, 12, 2890, 18, 1650, 16, 25158, 270, 33, 2890, 18, 8949, 9748, 13, 309, 365, 18, 2505, 631, 7036, 30, 775, 30,...
u'DTSTART;VALUE="DATE":2005-07-01 00:00:00'
u'DTSTART;VALUE=DATE:2005-07-01 00:00:00'
def test_load_2(self): """Test loading a 2 events calendar.""" cal = self.cal2
4284d14984f2a4b3da93b77281110353f761aa67 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12681/4284d14984f2a4b3da93b77281110353f761aa67/test_ical.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 945, 67, 22, 12, 2890, 4672, 3536, 4709, 7153, 279, 576, 2641, 5686, 12123, 1443, 273, 365, 18, 771, 22, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 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, 67, 945, 67, 22, 12, 2890, 4672, 3536, 4709, 7153, 279, 576, 2641, 5686, 12123, 1443, 273, 365, 18, 771, 22, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
"The parameter, %s, was ommitted from the request."
"The parameter, %s, was omitted from the request."
def badRequestError(self,name):
3acdcbee8768b5cb4047573a5736a805014b0c28 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/3acdcbee8768b5cb4047573a5736a805014b0c28/Publish.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5570, 28963, 12, 2890, 16, 529, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5570, 28963, 12, 2890, 16, 529, 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, -10...
py.test.skip("Broken because of line numbers")
def testVariableRule(self): """ parser.wiki: ----- rules with size """ py.test.skip("Broken because of line numbers")
4c6bdda60568bbccf7a9a996f908fcbd6101e97f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/888/4c6bdda60568bbccf7a9a996f908fcbd6101e97f/test_text_moin_wiki.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 3092, 2175, 12, 2890, 4672, 3536, 2082, 18, 13044, 30, 9135, 2931, 598, 963, 3536, 2395, 18, 3813, 18, 7457, 2932, 29559, 2724, 434, 980, 5600, 7923, 2, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 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, 3092, 2175, 12, 2890, 4672, 3536, 2082, 18, 13044, 30, 9135, 2931, 598, 963, 3536, 2395, 18, 3813, 18, 7457, 2932, 29559, 2724, 434, 980, 5600, 7923, 2, -100, -100, -100, -100, -10...
length = q[0] / 1000000000
length = q[0] / float(gst.SECOND)
def bus_eos(self, bus, message): """ Handler for the GStreamer End Of Stream message. Currently used when the file is loading and is being rendered. This function is called at the end of the file loading process and finalises the rendering. """ if message.type == gst.MESSAGE_EOS: # Update levels for partial events q =...
835875beaf511ec96d54b0aad26c2f47f3715b7b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10033/835875beaf511ec96d54b0aad26c2f47f3715b7b/Event.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5766, 67, 73, 538, 12, 2890, 16, 5766, 16, 883, 4672, 3536, 4663, 364, 326, 611, 1228, 264, 4403, 8031, 3961, 883, 18, 15212, 1399, 1347, 326, 585, 353, 7153, 471, 353, 3832, 7935, 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, 5766, 67, 73, 538, 12, 2890, 16, 5766, 16, 883, 4672, 3536, 4663, 364, 326, 611, 1228, 264, 4403, 8031, 3961, 883, 18, 15212, 1399, 1347, 326, 585, 353, 7153, 471, 353, 3832, 7935, 18,...
month = str(matplotlib.dates.DateFormatter.strftime(self,dt,'%b')) fmt = fmt.replace('%n',month[0])
month = matplotlib.dates.DateFormatter.strftime(self,dt,'%b') fmt = str(fmt.replace('%n',month[0]))
def strftime(self, dt, fmt): if ('%e' in fmt): dayname = str(matplotlib.dates.DateFormatter.strftime(self,dt,'%A')) fmt = fmt.replace('%e',dayname[0]) if ('%n' in fmt): month = str(matplotlib.dates.DateFormatter.strftime(self,dt,'%b')) fmt = fmt.replace('%n',month[0]) if ('%Q' in fmt): monthnr = int(matplotlib.dates.Da...
19fa4f7fbd00fe733dc5e160af3e1d29b8eb03de /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/381/19fa4f7fbd00fe733dc5e160af3e1d29b8eb03de/plot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10405, 12, 2890, 16, 3681, 16, 1325, 4672, 309, 7707, 9, 73, 11, 316, 1325, 4672, 2548, 529, 273, 609, 12, 7373, 10690, 18, 9683, 18, 1626, 5074, 18, 701, 9982, 12, 2890, 16, 7510, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10405, 12, 2890, 16, 3681, 16, 1325, 4672, 309, 7707, 9, 73, 11, 316, 1325, 4672, 2548, 529, 273, 609, 12, 7373, 10690, 18, 9683, 18, 1626, 5074, 18, 701, 9982, 12, 2890, 16, 7510, 1...
print "Usage: %s --server {start|stop} [--apache2]" % sys.argv[0]
print 'Usage: %s --server {start|stop} [--root=root_dir]' print ' [--port=port_number]' % sys.argv[0]
def Stop(self, force=False): if not force and not self.IsRunning(): return
a843a3fde6e142db763e90030cbbeac0ebe0dac1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9392/a843a3fde6e142db763e90030cbbeac0ebe0dac1/http_server.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5131, 12, 2890, 16, 2944, 33, 8381, 4672, 309, 486, 2944, 471, 486, 365, 18, 2520, 7051, 13332, 327, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5131, 12, 2890, 16, 2944, 33, 8381, 4672, 309, 486, 2944, 471, 486, 365, 18, 2520, 7051, 13332, 327, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
self.driver.Delete( new_filename )
if gdal.GetConfigOption( 'CPL_DEBUG', 'OFF' ) != 'ON': self.driver.Delete( new_filename )
def testCreate(self, new_filename = None, out_bands = 3):
71b35e954aa0c31acce12a648a5b2e1343a865e7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10289/71b35e954aa0c31acce12a648a5b2e1343a865e7/gdaltest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1684, 12, 2890, 16, 394, 67, 3459, 273, 599, 16, 596, 67, 29714, 273, 890, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1684, 12, 2890, 16, 394, 67, 3459, 273, 599, 16, 596, 67, 29714, 273, 890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
for command in commands.__all__: fn = getattr(commands, command) def do_cmd(self, rest_of_line, cmd=command): global_dict, local_dict = namespaces.get_twill_glocals() args = [] if rest_of_line.strip() != "": try: args = parse.arguments.parseString(rest_of_line)[0] args = parse.process_args(args, global_dict,local_dic...
return help_cmd class Singleton(object): def __new__(cls, *args, **kwds): it = cls.__dict__.get("__it__") if it is not None: return it cls.__it__ = it = object.__new__(cls) it.init(*args, **kwds) return it def init(self, *args, **kwds): pass
def __init__(cls, cls_name, cls_bases, cls_dict): super(_command_loop_metaclass, cls).__init__(cls_name, cls_bases, cls_dict)
7e122f3bb12c1f0d78a97d71d247f0f1addc01e7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8598/7e122f3bb12c1f0d78a97d71d247f0f1addc01e7/shell.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 6429, 16, 2028, 67, 529, 16, 2028, 67, 18602, 16, 2028, 67, 1576, 4672, 2240, 24899, 3076, 67, 6498, 67, 3901, 1106, 16, 2028, 2934, 972, 2738, 972, 12, 6429, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 6429, 16, 2028, 67, 529, 16, 2028, 67, 18602, 16, 2028, 67, 1576, 4672, 2240, 24899, 3076, 67, 6498, 67, 3901, 1106, 16, 2028, 2934, 972, 2738, 972, 12, 6429, 67, ...
if self.__instance: return self.__instance self.__instance = self
def __init__(self): if self.__instance: return self.__instance self.__instance = self self._storable_plugins = [] self.action_handlers = {} self.periodic_actions = [] self.protocols = []
26e2f80680fb931d0b888937ba48e7e8f2ed6aec /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10891/26e2f80680fb931d0b888937ba48e7e8f2ed6aec/manager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 6315, 334, 15514, 67, 8057, 273, 5378, 365, 18, 1128, 67, 11046, 273, 2618, 365, 18, 6908, 335, 67, 4905, 273, 5378, 365, 18, 31018, 273, 5378, 2,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 365, 6315, 334, 15514, 67, 8057, 273, 5378, 365, 18, 1128, 67, 11046, 273, 2618, 365, 18, 6908, 335, 67, 4905, 273, 5378, 365, 18, 31018, 273, 5378, 2,...
self.imports = Collection(self, key=f)
self.imports = Collection(self, key=ns)
def __init__(self, parent=None): """parent -- instance variables: targetNamespace -- schema's declared targetNamespace, or empty string. _imported_schemas -- namespace keyed dict of schema dependencies, if a schema is provided instance will not resolve import statement. _included_schemas -- schemaLocation keyed dict of...
66c6baf2288f065b45db940b63cfc5dba1aa9fb0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/13054/66c6baf2288f065b45db940b63cfc5dba1aa9fb0/XMLSchema.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 33, 7036, 4672, 3536, 2938, 1493, 791, 3152, 30, 1018, 3402, 1493, 1963, 1807, 7886, 1018, 3402, 16, 578, 1008, 533, 18, 389, 29266, 67, 17928, 1493, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 33, 7036, 4672, 3536, 2938, 1493, 791, 3152, 30, 1018, 3402, 1493, 1963, 1807, 7886, 1018, 3402, 16, 578, 1008, 533, 18, 389, 29266, 67, 17928, 1493, ...
str += '<H2>Class Hierarchy</H2>\n'
str += '<h2>Class Hierarchy</h2>\n'
def _tree_to_html(self): str = self._header('Class Hierarchy') str += self._navbar('tree') str += self._start_of('Class Hierarchy') str += '<H2>Module Hierarchy</H2>\n' str += self._module_tree() str += '<H2>Class Hierarchy</H2>\n' str += self._class_tree() str += self._navbar('tree') str += self._footer() return str
89bd16eaf8c7e556babe42c6a92621dbc9b8a7e9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/89bd16eaf8c7e556babe42c6a92621dbc9b8a7e9/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3413, 67, 869, 67, 2620, 12, 2890, 4672, 609, 273, 365, 6315, 3374, 2668, 797, 670, 6000, 6134, 609, 1011, 365, 6315, 11589, 3215, 2668, 3413, 6134, 609, 1011, 365, 6315, 1937, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3413, 67, 869, 67, 2620, 12, 2890, 4672, 609, 273, 365, 6315, 3374, 2668, 797, 670, 6000, 6134, 609, 1011, 365, 6315, 11589, 3215, 2668, 3413, 6134, 609, 1011, 365, 6315, 1937, 67, ...
self.uncatalog_object(referenceObject.getId()) self._delObject(referenceObject.getId())
self._deleteReferenceId(referenceObject.getId())
def _deleteReference(self, referenceObject):
557744d105e5c0e34be326d92488311e9415b186 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/557744d105e5c0e34be326d92488311e9415b186/ReferenceEngine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3733, 2404, 12, 2890, 16, 2114, 921, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3733, 2404, 12, 2890, 16, 2114, 921, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
self._out_entry.insert(0, opts.get('outdir', 'html'))
self._out_entry.insert(0, opts.get('target', 'html'))
def open(self, prjfile): from epydoc.docwriter.html_css import STYLESHEETS self._filename = prjfile try: opts = load(open(prjfile, 'r')) modnames = list(opts.get('modules', [])) modnames.sort() self._module_list.delete(0, 'end') for name in modnames: self.add_module(name) self._module_entry.delete(0, 'end') self._nam...
0e095268388eef51b50704e7f0c948a848d4a03f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/0e095268388eef51b50704e7f0c948a848d4a03f/gui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 12, 2890, 16, 27378, 768, 4672, 628, 425, 2074, 2434, 18, 2434, 6299, 18, 2620, 67, 5212, 1930, 27449, 2664, 41, 1584, 55, 365, 6315, 3459, 273, 27378, 768, 775, 30, 1500, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1696, 12, 2890, 16, 27378, 768, 4672, 628, 425, 2074, 2434, 18, 2434, 6299, 18, 2620, 67, 5212, 1930, 27449, 2664, 41, 1584, 55, 365, 6315, 3459, 273, 27378, 768, 775, 30, 1500, 273, 1...
self.SetStatus(percent=percent)
def Gcmd(self,cmd,stdin=None): """Runs GRASS command, fetches all GRASS_MESSAGE and GRASS_PERCENT messages and sets self.status according to them, so the client application can track the progress information, when runing with Status=True
d0a560191412520a1799935bb425b9158c7e51a8 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10967/d0a560191412520a1799935bb425b9158c7e51a8/process.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 611, 4172, 12, 2890, 16, 4172, 16, 21772, 33, 7036, 4672, 3536, 9361, 611, 2849, 1260, 1296, 16, 17675, 777, 611, 2849, 1260, 67, 8723, 471, 611, 2849, 1260, 67, 3194, 19666, 2743, 471, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 611, 4172, 12, 2890, 16, 4172, 16, 21772, 33, 7036, 4672, 3536, 9361, 611, 2849, 1260, 1296, 16, 17675, 777, 611, 2849, 1260, 67, 8723, 471, 611, 2849, 1260, 67, 3194, 19666, 2743, 471, ...
return (len(self.paths) == 1 and len(self.revisions) == 1)
item = self.revisions[0]["revision"] return (item.value > 1 and len(self.revisions) == 1)
def compare_previous_revision(self, data=None): return (len(self.paths) == 1 and len(self.revisions) == 1)
ad5521587456ebb741ee574a52047df0b8e70698 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5119/ad5521587456ebb741ee574a52047df0b8e70698/log.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3400, 67, 11515, 67, 13057, 12, 2890, 16, 501, 33, 7036, 4672, 327, 261, 1897, 12, 2890, 18, 4481, 13, 422, 404, 471, 562, 12, 2890, 18, 29892, 13, 422, 404, 13, 2, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3400, 67, 11515, 67, 13057, 12, 2890, 16, 501, 33, 7036, 4672, 327, 261, 1897, 12, 2890, 18, 4481, 13, 422, 404, 471, 562, 12, 2890, 18, 29892, 13, 422, 404, 13, 2, -100, -100, -100,...
price_french = 'retir'
price_french = u'retiré'
def create_xml(self,cr, uid, ids, datas, context={}): pool= pooler.get_pool(cr.dbname) lots = pool.get('auction.lots').browse(cr, uid, ids) auction = lots[0].auction_id
d67eab9c0738265a32d9a3a3c97bf483bec06581 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7397/d67eab9c0738265a32d9a3a3c97bf483bec06581/huissier.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 2902, 12, 2890, 16, 3353, 16, 4555, 16, 3258, 16, 5386, 16, 819, 12938, 4672, 2845, 33, 2845, 264, 18, 588, 67, 6011, 12, 3353, 18, 20979, 13, 328, 6968, 273, 2845, 18, 588,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 2902, 12, 2890, 16, 3353, 16, 4555, 16, 3258, 16, 5386, 16, 819, 12938, 4672, 2845, 33, 2845, 264, 18, 588, 67, 6011, 12, 3353, 18, 20979, 13, 328, 6968, 273, 2845, 18, 588,...
self.timer_inc = gtk.timeout_add(self.timerinc, self.timer_inc_display) print("Gcompris_ballcatch start.")
self.timer_inc = gobject.timeout_add(self.timerinc, self.timer_inc_display)
def start(self): self.gcomprisBoard.level=1 self.gcomprisBoard.maxlevel=9 self.gcomprisBoard.sublevel=1 self.gcomprisBoard.number_of_sublevel=1 gcompris.bar_set(gcompris.BAR_LEVEL) gcompris.set_background(self.gcomprisBoard.canvas.root(), "images/beach.png") gcompris.bar_set_level(self.gcomprisBoard)
47c7b2de69f2ef74a5ccace1a52699180780bde1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11306/47c7b2de69f2ef74a5ccace1a52699180780bde1/ballcatch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 2890, 4672, 365, 18, 75, 832, 683, 291, 22233, 18, 2815, 33, 21, 365, 18, 75, 832, 683, 291, 22233, 18, 1896, 2815, 33, 29, 365, 18, 75, 832, 683, 291, 22233, 18, 87, 1255...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 2890, 4672, 365, 18, 75, 832, 683, 291, 22233, 18, 2815, 33, 21, 365, 18, 75, 832, 683, 291, 22233, 18, 1896, 2815, 33, 29, 365, 18, 75, 832, 683, 291, 22233, 18, 87, 1255...
descr='test short chk commands'
descr='''test short chk commands'''
def test_short_syntax(): uname = 'user_test' gname = 'group_test' pname = 'profil_test' ScenarioTest([ ADD + [ 'user', uname, '-v' ], GET + [ 'user', uname ], ADD + [ 'group', gname, '-v' ], GET + [ 'group', gname ], ADD + [ 'user', uname, gname, '-v' ], GET + [ 'user', uname, '-l' ], ADD + [ 'group', '%s2' % gname, '...
38a496a61795ec7fb8b2f6589579ac75d0b90d9d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7650/38a496a61795ec7fb8b2f6589579ac75d0b90d9d/core.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 6620, 67, 14308, 13332, 31444, 273, 296, 1355, 67, 3813, 11, 314, 529, 273, 296, 1655, 67, 3813, 11, 19952, 273, 296, 685, 7540, 67, 3813, 11, 225, 2850, 7754, 4709, 3816, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6620, 67, 14308, 13332, 31444, 273, 296, 1355, 67, 3813, 11, 314, 529, 273, 296, 1655, 67, 3813, 11, 19952, 273, 296, 685, 7540, 67, 3813, 11, 225, 2850, 7754, 4709, 3816, 11...
print self.portal.REQUEST.get_header('If-Modified-Since')
def testContentLengthHeaders(self): # Test that the main page retains its content-type self.setRoles(['Manager'])
b65a26d6c5aa3ebd7cf5adefce3cf1cd29d07496 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12274/b65a26d6c5aa3ebd7cf5adefce3cf1cd29d07496/testHTTPHeaders.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1350, 1782, 3121, 12, 2890, 4672, 468, 7766, 716, 326, 2774, 1363, 325, 4167, 2097, 913, 17, 723, 365, 18, 542, 6898, 12, 3292, 1318, 19486, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 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, 1350, 1782, 3121, 12, 2890, 4672, 468, 7766, 716, 326, 2774, 1363, 325, 4167, 2097, 913, 17, 723, 365, 18, 542, 6898, 12, 3292, 1318, 19486, 2, -100, -100, -100, -100, -100, -100, ...
return offset
def _leftDrawParaLineX( tx, offset, line, last=0): setXPos(tx,offset) _putFragLine(tx, line) setXPos(tx,-offset) return offset
ae97b90f6a178f0d7566cbd8acc91dc0dd0700c1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7053/ae97b90f6a178f0d7566cbd8acc91dc0dd0700c1/paragraph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4482, 6493, 23529, 1670, 60, 12, 2229, 16, 1384, 16, 980, 16, 1142, 33, 20, 4672, 23733, 1616, 12, 978, 16, 3348, 13, 389, 458, 19509, 1670, 12, 978, 16, 980, 13, 23733, 1616, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 4482, 6493, 23529, 1670, 60, 12, 2229, 16, 1384, 16, 980, 16, 1142, 33, 20, 4672, 23733, 1616, 12, 978, 16, 3348, 13, 389, 458, 19509, 1670, 12, 978, 16, 980, 13, 23733, 1616, 1...
timeout = property(getTimeout, setTimeout, "Timeout setting for read()")
timeout = property(getTimeout, setTimeout, doc="Timeout setting for read()")
def getTimeout(self): """Get the current timeout setting.""" return self._timeout
0276f5e57fe7c17ae1f07b8f3b480aa7b5809b56 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2937/0276f5e57fe7c17ae1f07b8f3b480aa7b5809b56/serialutil.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 29301, 12, 2890, 4672, 3536, 967, 326, 783, 2021, 3637, 12123, 327, 365, 6315, 4538, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 29301, 12, 2890, 4672, 3536, 967, 326, 783, 2021, 3637, 12123, 327, 365, 6315, 4538, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
select A.ID, A.Value2, B.ID, B.Value2 from Dsc as A, Fdf as B
select A.ID, A.Value2, A.BelongsToFile, B.ID, B.Value2, B.BelongsToFile from Dsc as A, Fdf as B
def MetaDataFileCheckPcdDuplicate(self): if EccGlobalData.gConfig.MetaDataFileCheckPcdDuplicate == '1' or EccGlobalData.gConfig.MetaDataFileCheckAll == '1' or EccGlobalData.gConfig.CheckAll == '1': EdkLogger.quiet("Checking for duplicate PCDs defined in both DSC and FDF files ...") SqlCommand = """ select A.ID, A.Value...
b423ebb46e17d3d737bedec9420123dffb494003 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/914/b423ebb46e17d3d737bedec9420123dffb494003/Check.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 27512, 812, 1564, 52, 4315, 11826, 12, 2890, 4672, 309, 512, 952, 5160, 751, 18, 75, 809, 18, 6998, 812, 1564, 52, 4315, 11826, 422, 296, 21, 11, 578, 512, 952, 5160, 751, 18, 75, 80...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 27512, 812, 1564, 52, 4315, 11826, 12, 2890, 4672, 309, 512, 952, 5160, 751, 18, 75, 809, 18, 6998, 812, 1564, 52, 4315, 11826, 422, 296, 21, 11, 578, 512, 952, 5160, 751, 18, 75, 80...
self._decomp = Sequence([DirichletGroup(p**r,R) for p, r \
return Sequence([DirichletGroup(p**r,R) for p, r \
def decomposition(self): r""" Returns the Dirichlet groups of prime power modulus corresponding to primes dividing modulus.
9c9051916e82d8e6549f10cbafc69b92d5f2a89f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/9c9051916e82d8e6549f10cbafc69b92d5f2a89f/dirichlet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26288, 12, 2890, 4672, 436, 8395, 2860, 326, 8446, 1354, 1810, 3252, 434, 17014, 7212, 24770, 4656, 358, 846, 4485, 3739, 10415, 24770, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 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, 26288, 12, 2890, 4672, 436, 8395, 2860, 326, 8446, 1354, 1810, 3252, 434, 17014, 7212, 24770, 4656, 358, 846, 4485, 3739, 10415, 24770, 18, 2, -100, -100, -100, -100, -100, -100, -100, -10...
sqc = SGEQueueConfig(runCommand(sge_queue_config_cmd, cp))
def getQueueInfo(cp): """ Looks up the queue and job information from SGE. @param cp: Configuration of site. @returns: A dictionary of queue data and a dictionary of job data. """ queue_list = {} sqc = SGEQueueConfig(runCommand(sge_queue_config_cmd, cp)) xml = runCommand(sge_queue_info_cmd, cp) handler = QueueInfoPars...
2289381e5c89a3d026abfdf686951ad780ff7492 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12088/2289381e5c89a3d026abfdf686951ad780ff7492/sge_common.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19511, 966, 12, 4057, 4672, 3536, 10176, 87, 731, 326, 2389, 471, 1719, 1779, 628, 348, 7113, 18, 225, 632, 891, 3283, 30, 4659, 434, 2834, 18, 632, 6154, 30, 432, 3880, 434, 2389, 501...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19511, 966, 12, 4057, 4672, 3536, 10176, 87, 731, 326, 2389, 471, 1719, 1779, 628, 348, 7113, 18, 225, 632, 891, 3283, 30, 4659, 434, 2834, 18, 632, 6154, 30, 432, 3880, 434, 2389, 501...
raise ConfigurationError(str(e))
raise ConfigurationError(unicode(e))
def getConfigClass(path): # This is implemented this way in order to import only the modules # that are requested. try: module = _getModule(path[0]) except InstantiationError, e: raise ConfigurationError(str(e)) return module.getConfigClass(path[1:])
a141192d53c691b0c801176b614c23983bcf0a22 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5223/a141192d53c691b0c801176b614c23983bcf0a22/modelbasefactory.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4367, 797, 12, 803, 4672, 468, 1220, 353, 8249, 333, 4031, 316, 1353, 358, 1930, 1338, 326, 4381, 468, 716, 854, 3764, 18, 225, 775, 30, 1605, 273, 389, 588, 3120, 12, 803, 63, 20, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4367, 797, 12, 803, 4672, 468, 1220, 353, 8249, 333, 4031, 316, 1353, 358, 1930, 1338, 326, 4381, 468, 716, 854, 3764, 18, 225, 775, 30, 1605, 273, 389, 588, 3120, 12, 803, 63, 20, 5...
if cond._num_streams < (2*num_routers*count)/3:
if num_streams < 0.65*((num_routers*count)/2.0):
def notlambda(this): cond.acquire() # TODO: Using the entry_gen router list is somewhat ghetto.. if (not this.selmgr.bad_restrictions) or \ (this.selmgr.path_selector.entry_gen.rstr_routers and \ this.selmgr.path_selector.exit_gen.rstr_routers): for r in this.selmgr.path_selector.entry_gen.rstr_routers: if r._generated...
7f016d6db7a45b8863c264cadeb5df5c6efd63ba /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3762/7f016d6db7a45b8863c264cadeb5df5c6efd63ba/bwauthority.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 486, 14661, 12, 2211, 4672, 6941, 18, 1077, 1039, 1435, 468, 2660, 30, 11637, 326, 1241, 67, 4507, 4633, 666, 353, 18016, 11304, 21409, 278, 869, 838, 309, 261, 902, 333, 18, 1786, 13552...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 486, 14661, 12, 2211, 4672, 6941, 18, 1077, 1039, 1435, 468, 2660, 30, 11637, 326, 1241, 67, 4507, 4633, 666, 353, 18016, 11304, 21409, 278, 869, 838, 309, 261, 902, 333, 18, 1786, 13552...
users.remove(user) result = self.main.dbus_action.do_exec( users ,remote_cmd )
else: newusernames.append(user) result = self.main.dbus_action.do_exec( newusernames ,remote_cmd )
def menu_event_one(self, action): start1=time() (model, iter) = self.main.tabla.get_selection().get_selected() if iter == None: print_debug( "menu_event_one() not selected thin client !!!" ) return self.main.selected_host=model.get_value(iter,COL_HOST) self.main.selected_ip=model.get_value(iter, COL_IP) if not self.do...
53a3eea66bbc168c70ea325ef8439de22d83ed8b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/13520/53a3eea66bbc168c70ea325ef8439de22d83ed8b/TcosActions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3824, 67, 2575, 67, 476, 12, 2890, 16, 1301, 4672, 787, 21, 33, 957, 1435, 261, 2284, 16, 1400, 13, 273, 365, 18, 5254, 18, 7032, 11821, 18, 588, 67, 10705, 7675, 588, 67, 8109, 1435...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3824, 67, 2575, 67, 476, 12, 2890, 16, 1301, 4672, 787, 21, 33, 957, 1435, 261, 2284, 16, 1400, 13, 273, 365, 18, 5254, 18, 7032, 11821, 18, 588, 67, 10705, 7675, 588, 67, 8109, 1435...
def _find_module_from_filename(filename,verbosity): """ @return: The module contained in C{filename}. @rtype: C{module} @param filename: The filename that contains the module. @type filename: C{int} @param verbosity: Verbosity level for tracing output. @type verbosity: C{int} """ import epydoc.uid filename = os.path...
def _parse_args(): """ Process the command line arguments; return a dictionary containing the relevant info. @return: A dictionary mapping from configuration parameters to values. If a parameter is specified on the command line, then that value is used; otherwise, a default value is used. Currently, the following con...
57e38b38561f72cf5c59ea2ad24ff0e222a5457f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/57e38b38561f72cf5c59ea2ad24ff0e222a5457f/cli.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2670, 67, 1968, 13332, 3536, 4389, 326, 1296, 980, 1775, 31, 327, 279, 3880, 4191, 326, 9368, 1123, 18, 225, 632, 2463, 30, 432, 3880, 2874, 628, 1664, 1472, 358, 924, 18, 225, 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, 389, 2670, 67, 1968, 13332, 3536, 4389, 326, 1296, 980, 1775, 31, 327, 279, 3880, 4191, 326, 9368, 1123, 18, 225, 632, 2463, 30, 432, 3880, 2874, 628, 1664, 1472, 358, 924, 18, 225, 97...
skipping = 0
skipping = 0
def show_errors (self): """ Display all errors that occured during compilation. Return 0 if there was no error. """ pos = ["(no file)"] last_file = None showing = 0 # 1 if we are showing an error's text skipping = 0 # 1 if we are skipping text until a new line something = 0 # 1 if some error was displayed for lin...
a68ab95e33b0de179210f64eea90e0dfd53390d2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10102/a68ab95e33b0de179210f64eea90e0dfd53390d2/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 67, 4324, 261, 2890, 4672, 3536, 9311, 777, 1334, 716, 16206, 4982, 8916, 18, 2000, 374, 309, 1915, 1703, 1158, 555, 18, 3536, 949, 273, 8247, 12, 2135, 585, 2225, 65, 1142, 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, 2405, 67, 4324, 261, 2890, 4672, 3536, 9311, 777, 1334, 716, 16206, 4982, 8916, 18, 2000, 374, 309, 1915, 1703, 1158, 555, 18, 3536, 949, 273, 8247, 12, 2135, 585, 2225, 65, 1142, 67, ...