rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
if os.path.dirname(egg.location) == plugins_dir:
if os.path.dirname(egg.location) == plugins_dirs[0]:
def flatten(dists): for dist in dists: if dist in memo: continue memo.add(dist) try: predecessors = ws.resolve([dist.as_requirement()]) for predecessor in flatten(predecessors): yield predecessor yield dist except pkg_resources.DistributionNotFound, e: env.log.error('Skipping "%s" ("%s" not found)', dist, e) except pkg...
4ff19e6cf4b3286c6dc13fa45f43944fcf675ed6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/4ff19e6cf4b3286c6dc13fa45f43944fcf675ed6/loader.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5341, 12, 30467, 4672, 364, 2411, 316, 16871, 30, 309, 2411, 316, 11063, 30, 1324, 11063, 18, 1289, 12, 4413, 13, 775, 30, 18522, 1383, 273, 4945, 18, 10828, 3816, 4413, 18, 345, 67, 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, 5341, 12, 30467, 4672, 364, 2411, 316, 16871, 30, 309, 2411, 316, 11063, 30, 1324, 11063, 18, 1289, 12, 4413, 13, 775, 30, 18522, 1383, 273, 4945, 18, 10828, 3816, 4413, 18, 345, 67, 3...
self.assertEqual(list(a), range(2, n))
self.assertEqual(list(a), range(100, n))
def irange(n): for i in xrange(n): yield i
ad983e79d6f215235d205245c2599620e33cf719 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/ad983e79d6f215235d205245c2599620e33cf719/test_itertools.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 277, 3676, 12, 82, 4672, 364, 277, 316, 12314, 12, 82, 4672, 2824, 277, 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, 277, 3676, 12, 82, 4672, 364, 277, 316, 12314, 12, 82, 4672, 2824, 277, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
print "middleware.py: send_ussd being run - message is:" + ussd
def send_ussd(self, ussd): """Sends the ussd command ``ussd``""" print "middleware.py: send_ussd being run - message is:" + ussd
819f48cc2fb9a29439065e245605cc29a1d2669b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12036/819f48cc2fb9a29439065e245605cc29a1d2669b/middleware.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 67, 5567, 72, 12, 2890, 16, 584, 6427, 4672, 3536, 10501, 326, 584, 6427, 1296, 12176, 5567, 72, 10335, 8395, 1172, 315, 17352, 18, 2074, 30, 1366, 67, 5567, 72, 3832, 1086, 300, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1366, 67, 5567, 72, 12, 2890, 16, 584, 6427, 4672, 3536, 10501, 326, 584, 6427, 1296, 12176, 5567, 72, 10335, 8395, 1172, 315, 17352, 18, 2074, 30, 1366, 67, 5567, 72, 3832, 1086, 300, ...
return pysrc_link(api_doc.value)
return pysrc_url(api_doc.value)
def pysrc_url(self, api_doc): if isinstance(api_doc, VariableDoc): if api_doc.value not in (None, UNKNOWN): return pysrc_link(api_doc.value) else: return None elif isinstance(api_doc, ModuleDoc): if api_doc in self.modules_with_sourcecode: return ('%s-pysrc.html' % urllib.quote('%s' % api_doc.canonical_name)) else: ret...
ead96d86090e18fdeec64a06319b925d20efd2b2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/ead96d86090e18fdeec64a06319b925d20efd2b2/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21027, 1310, 67, 718, 12, 2890, 16, 1536, 67, 2434, 4672, 309, 1549, 12, 2425, 67, 2434, 16, 7110, 1759, 4672, 309, 1536, 67, 2434, 18, 1132, 486, 316, 261, 7036, 16, 13598, 4672, 327,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21027, 1310, 67, 718, 12, 2890, 16, 1536, 67, 2434, 4672, 309, 1549, 12, 2425, 67, 2434, 16, 7110, 1759, 4672, 309, 1536, 67, 2434, 18, 1132, 486, 316, 261, 7036, 16, 13598, 4672, 327,...
pywikibot.output(u"%s received %s; limit=%s" % (self.__class__.__name__, pagedata, self.limit), level=pywikibot.DEBUG)
logger.debug(u"%s received %s; limit=%s" % (self.__class__.__name__, pagedata, self.limit))
def __iter__(self): """Submit request and iterate the response based on self.resultkey
1b47183315def7d96653718e91d723f46b477850 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9005/1b47183315def7d96653718e91d723f46b477850/api.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2165, 972, 12, 2890, 4672, 3536, 11620, 590, 471, 7401, 326, 766, 2511, 603, 365, 18, 2088, 856, 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, 1001, 2165, 972, 12, 2890, 4672, 3536, 11620, 590, 471, 7401, 326, 766, 2511, 603, 365, 18, 2088, 856, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
time=desc['bug_when'],
time = desc['bug_when'],
def convert(_db, _host, _user, _password, _env, _force): activityFields = FieldTranslator() # account for older versions of bugzilla if BZ_VERSION == '2.11': print 'Using Buzvilla v%s schema.' % BZ_VERSION activityFields['removed'] = 'oldvalue' activityFields['added'] = 'newvalue' # init Bugzilla environment print "B...
d0a718cdc641402f4871e728629c7ce1e81b3158 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/d0a718cdc641402f4871e728629c7ce1e81b3158/bugzilla2trac.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 24899, 1966, 16, 389, 2564, 16, 389, 1355, 16, 389, 3664, 16, 389, 3074, 16, 389, 5734, 4672, 5728, 2314, 273, 2286, 12233, 1435, 225, 468, 2236, 364, 12156, 5244, 434, 7934, 15990...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 24899, 1966, 16, 389, 2564, 16, 389, 1355, 16, 389, 3664, 16, 389, 3074, 16, 389, 5734, 4672, 5728, 2314, 273, 2286, 12233, 1435, 225, 468, 2236, 364, 12156, 5244, 434, 7934, 15990...
for comp in IntegerVectors(sum(self.p), sum(self.p)):
for comp in IntegerVectors(sum(self.p), self.max_entry):
def cardinality(self): """ EXAMPLES:: sage: SemistandardTableaux([2,1]).cardinality() 8 sage: SemistandardTableaux([2,2,1]).cardinality() 75 sage: s = SFASchur(QQ) sage: s([2,2,1]).expand(5)(1,1,1,1,1) 75 sage: SemistandardTableaux([5]).cardinality() 126 sage: SemistandardTableaux([3,2,1]).cardinality() 896 """ c = 0 ...
dc756d26ea922387ee74781c3b99359e739e8c01 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/dc756d26ea922387ee74781c3b99359e739e8c01/tableau.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14379, 12, 2890, 4672, 3536, 5675, 8900, 11386, 2866, 225, 272, 410, 30, 15661, 376, 2958, 1388, 18196, 3816, 22, 16, 21, 65, 2934, 3327, 9232, 1435, 1725, 272, 410, 30, 15661, 376, 2958...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14379, 12, 2890, 4672, 3536, 5675, 8900, 11386, 2866, 225, 272, 410, 30, 15661, 376, 2958, 1388, 18196, 3816, 22, 16, 21, 65, 2934, 3327, 9232, 1435, 1725, 272, 410, 30, 15661, 376, 2958...
<td><strong>GID</strong><br />(non modifiable)</td><td class="not_modifiable">%d</td>
<td><strong>%s</strong><br />%s</td><td class="not_modifiable">%d</td>
def permissive(perm, sys) :
690f3241794eb1e9043f01ac59d34922393aa298 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7650/690f3241794eb1e9043f01ac59d34922393aa298/groups.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 293, 1840, 688, 12, 12160, 16, 2589, 13, 294, 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, 293, 1840, 688, 12, 12160, 16, 2589, 13, 294, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
qscanConfig = string.strip(cp.get("fu-"+depQscan, depIfoIniConfig))
qscanConfig = self.fix_config_for_science_run( cp.get("fu-"+depQscan, depIfoIniConfig).strip(), timeref )
def __init__(self,cp,ifo): depIfoIniConfig = ifo+'config' self.depIfoDir = ifo+'_qscans_config' depQscanList = ['bg-rds-qscan', 'bg-seismic-qscan']
8e536e7414dc65d55709c494beca16e846a79e32 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3592/8e536e7414dc65d55709c494beca16e846a79e32/wscan_background.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4057, 16, 20299, 4672, 5993, 45, 617, 22129, 809, 273, 21479, 6797, 1425, 11, 365, 18, 15037, 45, 617, 1621, 273, 21479, 6797, 67, 85, 1017, 634, 67, 142...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4057, 16, 20299, 4672, 5993, 45, 617, 22129, 809, 273, 21479, 6797, 1425, 11, 365, 18, 15037, 45, 617, 1621, 273, 21479, 6797, 67, 85, 1017, 634, 67, 142...
xmldoc = utils.load_url(url, verbose = verbose, gz = (url or "stdin").endswith(".gz")) if not preserve_ids: update_ids(xmldoc, connection, verbose) xmldoc.unlink()
insert_from_url(connection, url, preserve_ids = preserve_ids, verbose = verbose)
def insert_from_urls(connection, urls, preserve_ids = False, verbose = False): """ Iterate over a sequence of URLs and parse and insert each one into the database the dbtables.DBTable class is currently connected to. """ orig_DBTable_append = dbtables.DBTable.append if not preserve_ids: # enable ID remapping dbtables.i...
203e7af377f630621d055164eb0ff35d39290061 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5758/203e7af377f630621d055164eb0ff35d39290061/ligolw_sqlite.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2243, 67, 2080, 67, 10518, 12, 4071, 16, 6903, 16, 9420, 67, 2232, 273, 1083, 16, 3988, 273, 1083, 4672, 3536, 11436, 1879, 279, 3102, 434, 10414, 471, 1109, 471, 2243, 1517, 1245, 1368,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2243, 67, 2080, 67, 10518, 12, 4071, 16, 6903, 16, 9420, 67, 2232, 273, 1083, 16, 3988, 273, 1083, 4672, 3536, 11436, 1879, 279, 3102, 434, 10414, 471, 1109, 471, 2243, 1517, 1245, 1368,...
if not _CreateBlockDevOnSecondary(self, secondary_node, instance, new_disk, False, info):
try: _CreateBlockDevOnSecondary(self, secondary_node, instance, new_disk, False, info) except error.OpExecError, err:
def Exec(self, feedback_fn): """Modifies an instance.
796cab27f717490434cf75036dab7bc09cf0167d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7542/796cab27f717490434cf75036dab7bc09cf0167d/cmdlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3889, 12, 2890, 16, 10762, 67, 4293, 4672, 3536, 1739, 5032, 392, 791, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 3889, 12, 2890, 16, 10762, 67, 4293, 4672, 3536, 1739, 5032, 392, 791, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
module = imp.load_module(name, file, path, (ext, 'r', kind))
raise 'catch me'
def importfile(path): """Import a Python source file or compiled file given its path.""" magic = imp.get_magic() file = open(path, 'r') if file.read(len(magic)) == magic: kind = imp.PY_COMPILED else: kind = imp.PY_SOURCE file.close() filename = os.path.basename(path) name, ext = os.path.splitext(filename) file = open(p...
b9040ea1bbc12b9c70c1c112355bbc83546cf7b6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9957/b9040ea1bbc12b9c70c1c112355bbc83546cf7b6/pydoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1930, 768, 12, 803, 4672, 3536, 5010, 279, 6600, 1084, 585, 578, 7743, 585, 864, 2097, 589, 12123, 8146, 273, 1646, 18, 588, 67, 11179, 1435, 585, 273, 1696, 12, 803, 16, 296, 86, 6134...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 768, 12, 803, 4672, 3536, 5010, 279, 6600, 1084, 585, 578, 7743, 585, 864, 2097, 589, 12123, 8146, 273, 1646, 18, 588, 67, 11179, 1435, 585, 273, 1696, 12, 803, 16, 296, 86, 6134...
rowCount = er - sr
rowCount = er - sr + 1
def _drawBkgrnd(self): nrows = self._nrows ncols = self._ncols for cmd, (sc, sr), (ec, er), arg in self._bkgrndcmds: if sc < 0: sc = sc + ncols if ec < 0: ec = ec + ncols if sr < 0: sr = sr + nrows if er < 0: er = er + nrows x0 = self._colpositions[sc] y0 = self._rowpositions[sr] x1 = self._colpositions[min(ec+1,ncols)...
f822aa0f1d0cb1e8b37ddeaa1b4c917f097add69 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/f822aa0f1d0cb1e8b37ddeaa1b4c917f097add69/tables.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9446, 38, 79, 3197, 4880, 12, 2890, 4672, 18871, 273, 365, 6315, 82, 3870, 21330, 273, 365, 6315, 82, 6842, 364, 1797, 16, 261, 1017, 16, 9133, 3631, 261, 557, 16, 6445, 3631, 150...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9446, 38, 79, 3197, 4880, 12, 2890, 4672, 18871, 273, 365, 6315, 82, 3870, 21330, 273, 365, 6315, 82, 6842, 364, 1797, 16, 261, 1017, 16, 9133, 3631, 261, 557, 16, 6445, 3631, 150...
def on_toggle(self, widget, event, data=None): widget.foreach(self.update_radio, event) def update_radio(self, model, path, iterator, data): if path[0] == int(data):
def on_select(self, selection): model, selection_iter = selection.get_selected() self.currItr = selection_iter def update_radio(self, model, path, iterator, data=None): if path == self.model.get_path(self.currItr):
def on_toggle(self, widget, event, data=None): widget.foreach(self.update_radio, event)
b4dd944b18fb6b6a53784d3074b6fb1e58257d0a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8416/b4dd944b18fb6b6a53784d3074b6fb1e58257d0a/awnTheme.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 14401, 12, 2890, 16, 3604, 16, 871, 16, 501, 33, 7036, 4672, 3604, 18, 25055, 12, 2890, 18, 2725, 67, 17006, 16, 871, 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, 603, 67, 14401, 12, 2890, 16, 3604, 16, 871, 16, 501, 33, 7036, 4672, 3604, 18, 25055, 12, 2890, 18, 2725, 67, 17006, 16, 871, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
)
)
def _validate(self, cr, uid, ids, context=None): context = context or {} lng = context.get('lang', False) or 'en_US' trans = self.pool.get('ir.translation') error_msgs = [] for constraint in self._constraints: fun, msg, fields = constraint if not fun(self, cr, uid, ids): translated_msg = trans._get_source(cr, uid, self...
7dace1258b1446f05242c142aad0ce399aa2790c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12853/7dace1258b1446f05242c142aad0ce399aa2790c/orm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5662, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 33, 7036, 4672, 819, 273, 819, 578, 2618, 12662, 273, 819, 18, 588, 2668, 4936, 2187, 1083, 13, 578, 296, 275, 67, 3378, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5662, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 33, 7036, 4672, 819, 273, 819, 578, 2618, 12662, 273, 819, 18, 588, 2668, 4936, 2187, 1083, 13, 578, 296, 275, 67, 3378, 1...
parts = [req.env['PATH_INFO'].strip('/'), name]
parts = [req.env['PATH_INFO'].rstrip('/'), name]
def get(section, name, default=None): return u.config(section, name, default, untrusted=True)
452c62257ab469a91838ba876d69643c65e2571b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11312/452c62257ab469a91838ba876d69643c65e2571b/hgwebdir_mod.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 12, 3464, 16, 508, 16, 805, 33, 7036, 4672, 327, 582, 18, 1425, 12, 3464, 16, 508, 16, 805, 16, 640, 25247, 33, 5510, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 336, 12, 3464, 16, 508, 16, 805, 33, 7036, 4672, 327, 582, 18, 1425, 12, 3464, 16, 508, 16, 805, 16, 640, 25247, 33, 5510, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100...
message = "The text has not been saved.\nWhen connecting a new text will be downloaded.\nSave before connecting ?"
message = "The text has not been saved.\nOnce connected, a new text will be downloaded.\nSave before connecting ?"
def connect_to_callback(event=None): """ what happens when the "Connect to" button is pressed """ # if required, request a save as if self.is_dirty(): if self.filename: message = "File %s contain change not yet saved.\nWhen connecting a new text will be downloaded.\nDo you want to save the file before connecting ?" % s...
fcf05c46a9212ed4ae8a7bcf04cadb37e222d315 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2639/fcf05c46a9212ed4ae8a7bcf04cadb37e222d315/Chalks.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3077, 67, 869, 67, 3394, 12, 2575, 33, 7036, 4672, 3536, 4121, 10555, 1347, 326, 315, 5215, 358, 6, 3568, 353, 19504, 3536, 468, 309, 1931, 16, 590, 279, 1923, 487, 309, 365, 18, 291, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3077, 67, 869, 67, 3394, 12, 2575, 33, 7036, 4672, 3536, 4121, 10555, 1347, 326, 315, 5215, 358, 6, 3568, 353, 19504, 3536, 468, 309, 1931, 16, 590, 279, 1923, 487, 309, 365, 18, 291, ...
freqfac = .1 / max(max([f[1] for f in freqhigh]), max([f[1] for f in freqlow]))
if freqhigh: maxf = max([f[1] for f in freqhigh]) if freqlow: maxf = max(maxf, max([f[1] for f in freqlow])) elif freqlow: maxf = max([f[1] for f in freqlow]) else: return freqfac = maxf > 1e-6 and .1 / maxf or 1
def plotRug(self, noUpdate = False): for rug in self.rugKeys: self.removeCurve(rug) self.rugKeys = []
ae83bc8e1038df87b0fe497ddb634614447ce035 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6366/ae83bc8e1038df87b0fe497ddb634614447ce035/OWDiscretize.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3207, 54, 637, 12, 2890, 16, 1158, 1891, 273, 1083, 4672, 364, 436, 637, 316, 365, 18, 86, 637, 2396, 30, 365, 18, 4479, 9423, 12, 86, 637, 13, 365, 18, 86, 637, 2396, 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, 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, 3207, 54, 637, 12, 2890, 16, 1158, 1891, 273, 1083, 4672, 364, 436, 637, 316, 365, 18, 86, 637, 2396, 30, 365, 18, 4479, 9423, 12, 86, 637, 13, 365, 18, 86, 637, 2396, 273, 5378, 2...
temp_branch_name = "main"
temp_in_branch_name = "main"
def bundle(self, filename, options='', url=None, base=None, to=None): r""" Create an hg changeset bundle with the given filename against the repository at the given url (which is by default the 'official' SAGE repository, unless push_url() is changed in a setup file).
33ba6b2d38ad5d008c72b54edf8be6653309b50a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/33ba6b2d38ad5d008c72b54edf8be6653309b50a/hg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3440, 12, 2890, 16, 1544, 16, 702, 2218, 2187, 880, 33, 7036, 16, 1026, 33, 7036, 16, 358, 33, 7036, 4672, 436, 8395, 1788, 392, 22576, 22463, 3440, 598, 326, 864, 1544, 5314, 326, 335...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3440, 12, 2890, 16, 1544, 16, 702, 2218, 2187, 880, 33, 7036, 16, 1026, 33, 7036, 16, 358, 33, 7036, 4672, 436, 8395, 1788, 392, 22576, 22463, 3440, 598, 326, 864, 1544, 5314, 326, 335...
debug(' adding executable: ' + exe_name)
debug(' adding executable: %s (%s)' % (exe_name, real_path))
def create_sfx(sfx_path, executables, libraries, data, environments, command): """ Create self-extracting executable Directory structure: bin Executables lib Libraries env Environment Scripts (static) run.sh Script that contains command """ tmp_file = NamedTemporaryFile(delete = False) tm...
1edd4c60863a3492e080271f474000bb60351167 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9490/1edd4c60863a3492e080271f474000bb60351167/starch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 87, 19595, 12, 87, 19595, 67, 803, 16, 28743, 1538, 16, 14732, 16, 501, 16, 15900, 16, 1296, 4672, 3536, 1788, 365, 17, 8004, 310, 9070, 225, 8930, 3695, 30, 4158, 540, 3889, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 87, 19595, 12, 87, 19595, 67, 803, 16, 28743, 1538, 16, 14732, 16, 501, 16, 15900, 16, 1296, 4672, 3536, 1788, 365, 17, 8004, 310, 9070, 225, 8930, 3695, 30, 4158, 540, 3889, ...
cr.execute("ALTER TABLE %s ADD COLUMN %s %s" % (self._table, k, get_pg_type(f)[1]))
cr.execute("ALTER TABLE \"%s\" ADD COLUMN \"%s\" %s" % (self._table, k, get_pg_type(f)[1]))
def _auto_init(self, cr): logger = netsvc.Logger() create = False self._field_create(cr) if not hasattr(self, "_auto") or self._auto: cr.execute("SELECT relname FROM pg_class WHERE relkind in ('r','v') AND relname='%s'" % self._table) if not cr.rowcount: cr.execute("CREATE TABLE %s(id SERIAL NOT NULL, perm_id INTEGER, ...
21e2436edcfd48b26e17230380299a3196aac8b0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7397/21e2436edcfd48b26e17230380299a3196aac8b0/orm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 6079, 67, 2738, 12, 2890, 16, 4422, 4672, 1194, 273, 21954, 4227, 18, 3328, 1435, 752, 273, 1083, 365, 6315, 1518, 67, 2640, 12, 3353, 13, 309, 486, 3859, 12, 2890, 16, 4192, 6079...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6079, 67, 2738, 12, 2890, 16, 4422, 4672, 1194, 273, 21954, 4227, 18, 3328, 1435, 752, 273, 1083, 365, 6315, 1518, 67, 2640, 12, 3353, 13, 309, 486, 3859, 12, 2890, 16, 4192, 6079...
if ma == None: ma = max(data)
if ma == None or ma == "": ma = max(data)
def addData( self, group, title, data ):
0edbe37e451312bec8b09aa0f1650e7a4e9cecf3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8044/0edbe37e451312bec8b09aa0f1650e7a4e9cecf3/Renderer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21958, 12, 365, 16, 1041, 16, 2077, 16, 501, 262, 30, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21958, 12, 365, 16, 1041, 16, 2077, 16, 501, 262, 30, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
testHashedPasswords.skip = "crypt module not available"
skip = "crypt module not available"
def _errback(self, ignored): print 'FAILED: ERRBACKED: ', ignored
4345f81b0fbe7c83a573a2441db9764bb761d45d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/4345f81b0fbe7c83a573a2441db9764bb761d45d/test_newcred.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 370, 823, 12, 2890, 16, 5455, 4672, 1172, 296, 11965, 30, 10359, 8720, 2056, 30, 2265, 5455, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 370, 823, 12, 2890, 16, 5455, 4672, 1172, 296, 11965, 30, 10359, 8720, 2056, 30, 2265, 5455, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
self.started_playing = STOPPED
self.play_state = STOPPED
def __init__(self): logging.info("Initializing VLC") plugin_dir = os.path.join(resources.appRoot(), 'vlc-plugins') self.exc = VLCException()
1e46e35fceec45c9bfd30e3fdb32385e7ab2b765 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/1e46e35fceec45c9bfd30e3fdb32385e7ab2b765/vlc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 2907, 18, 1376, 2932, 29782, 776, 13394, 7923, 1909, 67, 1214, 273, 1140, 18, 803, 18, 5701, 12, 4683, 18, 2910, 2375, 9334, 296, 27362, 17, 8057, 6134, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4672, 2907, 18, 1376, 2932, 29782, 776, 13394, 7923, 1909, 67, 1214, 273, 1140, 18, 803, 18, 5701, 12, 4683, 18, 2910, 2375, 9334, 296, 27362, 17, 8057, 6134, ...
req.args.get('limit'))
req.args.get('limit', 0))
def process_request(self, req): req.perm.assert_permission('TICKET_VIEW')
7006774152ae8fe6297ff821984cef82da46e15e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9317/7006774152ae8fe6297ff821984cef82da46e15e/query.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 2293, 12, 2890, 16, 1111, 4672, 1111, 18, 12160, 18, 11231, 67, 9827, 2668, 56, 16656, 1584, 67, 12145, 6134, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 2293, 12, 2890, 16, 1111, 4672, 1111, 18, 12160, 18, 11231, 67, 9827, 2668, 56, 16656, 1584, 67, 12145, 6134, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
try: return (x.__getattribute__(s))(self) except AttributeError, msg: pass except TypeError, msg: raise PropTypeError, msg try: return x._interface_(self) except AttributeError, msg: pass except TypeError, msg: raise PropTypeError, msg
return (x.__getattribute__(s))(self) def _coerce_impl(self, x, use_special=True): if use_special: try: return self._coerce_from_special_method(x) except AttributeError, msg: pass
def _coerce_impl(self, x): s = '_%s_'%self.name() if s == '_pari_': s = '_gp_' try: return (x.__getattribute__(s))(self) except AttributeError, msg: pass except TypeError, msg: raise PropTypeError, msg try: return x._interface_(self) except AttributeError, msg: pass except TypeError, msg: raise PropTypeError, msg if i...
51db3b4ba3e1601df442dc6dc63910c90aac5b5a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/51db3b4ba3e1601df442dc6dc63910c90aac5b5a/expect.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2894, 2765, 67, 11299, 12, 2890, 16, 619, 4672, 272, 273, 2070, 9, 87, 4623, 9, 2890, 18, 529, 1435, 309, 272, 422, 2070, 1065, 77, 67, 4278, 272, 273, 2070, 6403, 4623, 327, 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, 389, 2894, 2765, 67, 11299, 12, 2890, 16, 619, 4672, 272, 273, 2070, 9, 87, 4623, 9, 2890, 18, 529, 1435, 309, 272, 422, 2070, 1065, 77, 67, 4278, 272, 273, 2070, 6403, 4623, 327, 26...
self.clone_foreground(task)
self.clone_foreground(task)
def run(self): foreground = self.opts.foreground task = self.get_task() if not foreground: system_exit(os.EX_OK, _('Use "repo status" to check on the progress')) self.clone_foreground(task)
e0cd776c182b7b15fde52b81f7b354e403cabf32 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10692/e0cd776c182b7b15fde52b81f7b354e403cabf32/repo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 16231, 273, 365, 18, 4952, 18, 1405, 2915, 1562, 273, 365, 18, 588, 67, 4146, 1435, 309, 486, 16231, 30, 2619, 67, 8593, 12, 538, 18, 2294, 67, 3141, 16, 389, 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, 1086, 12, 2890, 4672, 16231, 273, 365, 18, 4952, 18, 1405, 2915, 1562, 273, 365, 18, 588, 67, 4146, 1435, 309, 486, 16231, 30, 2619, 67, 8593, 12, 538, 18, 2294, 67, 3141, 16, 389, 2...
user = make_pootle_user(username)
user = make_pootle_user(username=username)
def adduser(self, username, fullname, email, password, logintype="hash"): """adds the user with the given details""" user = make_pootle_user(username) user.first_name = fullname user.email = email user.set_password(password) return user
cf87c56d55e0f607f5ec00b5534fd32ec7c3f80d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11388/cf87c56d55e0f607f5ec00b5534fd32ec7c3f80d/users.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 1355, 12, 2890, 16, 2718, 16, 13321, 16, 2699, 16, 2201, 16, 613, 31795, 1546, 2816, 6, 4672, 3536, 25428, 326, 729, 598, 326, 864, 3189, 8395, 729, 273, 1221, 67, 1631, 352, 298,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1355, 12, 2890, 16, 2718, 16, 13321, 16, 2699, 16, 2201, 16, 613, 31795, 1546, 2816, 6, 4672, 3536, 25428, 326, 729, 598, 326, 864, 3189, 8395, 729, 273, 1221, 67, 1631, 352, 298,...
setattr(X, name, staticmethod(meth_impl))
setattr(X, name, meth_impl)
def __call__(self, *args): return self.impl(*args)
db7ebcf469f21b2a99d49e91f5c0f291507c35a6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8546/db7ebcf469f21b2a99d49e91f5c0f291507c35a6/test_descr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 380, 1968, 4672, 327, 365, 18, 11299, 30857, 1968, 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, ...
[ 1, 1, 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, 1001, 1991, 972, 12, 2890, 16, 380, 1968, 4672, 327, 365, 18, 11299, 30857, 1968, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
TLPFigure(self.figure, tlp_curve_data, title, leakage_evol)
self.fig = TLPFigure(self.figure, tlp_curve_data, title, leakage_evol)
def __init__(self, tlp_curve_data, title, leakage_evol=None, parent=None): MatplotlibFig.__init__(self, parent) self.figure.canvas.setFocusPolicy( QtCore.Qt.ClickFocus ) self.figure.canvas.setFocus() TLPFigure(self.figure, tlp_curve_data, title, leakage_evol)
f91d1e3c02bf2f66eb9d1491052667c73ee1535c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12873/f91d1e3c02bf2f66eb9d1491052667c73ee1535c/satellite.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 8332, 84, 67, 16683, 67, 892, 16, 2077, 16, 20891, 410, 67, 14965, 355, 33, 7036, 16, 982, 33, 7036, 4672, 14493, 10690, 42, 360, 16186, 2738, 972, 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, 1001, 2738, 972, 12, 2890, 16, 8332, 84, 67, 16683, 67, 892, 16, 2077, 16, 20891, 410, 67, 14965, 355, 33, 7036, 16, 982, 33, 7036, 4672, 14493, 10690, 42, 360, 16186, 2738, 972, 12, ...
exts.append( Extension("_collections", ["_collectionsmodule.c"]) )
def detect_modules(self): # Ensure that /usr/local is always used add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
b2b57623205a5967bc8e99c42d3fc2b8d52980f3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8125/b2b57623205a5967bc8e99c42d3fc2b8d52980f3/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5966, 67, 6400, 12, 2890, 4672, 468, 7693, 716, 342, 13640, 19, 3729, 353, 3712, 1399, 527, 67, 1214, 67, 869, 67, 1098, 12, 2890, 18, 9576, 18, 12083, 67, 8291, 16, 1173, 13640, 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, 5966, 67, 6400, 12, 2890, 4672, 468, 7693, 716, 342, 13640, 19, 3729, 353, 3712, 1399, 527, 67, 1214, 67, 869, 67, 1098, 12, 2890, 18, 9576, 18, 12083, 67, 8291, 16, 1173, 13640, 19, ...
return 0
return True
def utime(self, path, times): ''' Set the times (atime, mtime, and ctime) of a file.
bc41bbae93c4f8560311802d1fd066db0bdc3a2c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5149/bc41bbae93c4f8560311802d1fd066db0bdc3a2c/fusethread.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5218, 494, 12, 2890, 16, 589, 16, 4124, 4672, 9163, 1000, 326, 4124, 261, 270, 494, 16, 13158, 16, 471, 276, 957, 13, 434, 279, 585, 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, 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, 5218, 494, 12, 2890, 16, 589, 16, 4124, 4672, 9163, 1000, 326, 4124, 261, 270, 494, 16, 13158, 16, 471, 276, 957, 13, 434, 279, 585, 18, 2, -100, -100, -100, -100, -100, -100, -100, ...
print "File %s doesn't exist." % self.data_name sys.exit(1)
maps_name = "/proc/%s/maps" % self.data_name if not os.path.exists(maps_name): print "\"%s\" is neither a counter file nor a PID." % self.data_name sys.exit(1) maps_file = open(maps_name, "r") try: m = re.search(r"/dev/shm/\S*", maps_file.read()) if m is not None and os.path.exists(m.group(0)): self.data_name = m.group...
def MountSharedData(self): """Mount the binary counters file as a memory-mapped file. If something goes wrong print an informative message and exit the program.""" if not os.path.exists(self.data_name): print "File %s doesn't exist." % self.data_name sys.exit(1) data_file = open(self.data_name, "r") size = os.fstat(da...
740f841cf88a3d7516866d974d42e1f4e910a922 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6651/740f841cf88a3d7516866d974d42e1f4e910a922/stats-viewer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13076, 7887, 751, 12, 2890, 4672, 3536, 8725, 326, 3112, 13199, 585, 487, 279, 3778, 17, 13654, 585, 18, 225, 971, 5943, 13998, 7194, 1172, 392, 13235, 1535, 883, 471, 2427, 326, 5402, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13076, 7887, 751, 12, 2890, 4672, 3536, 8725, 326, 3112, 13199, 585, 487, 279, 3778, 17, 13654, 585, 18, 225, 971, 5943, 13998, 7194, 1172, 392, 13235, 1535, 883, 471, 2427, 326, 5402, 1...
option_parser.add_option('', '--port', default='0', type='int', help='Port used by the server. If unspecified, the ' 'server will listen on an ephemeral port.')
option_parser.add_option('', '--port', default='8888', type='int', help='Port used by the server.')
def main(options, args): logfile = open('testserver.log', 'w') sys.stdout = FileMultiplexer(sys.stdout, logfile) sys.stderr = FileMultiplexer(sys.stderr, logfile) port = options.port if options.server_type == SERVER_HTTP: if options.cert: # let's make sure the cert file exists. if not os.path.isfile(options.cert): pr...
0e0c7bcff33644d5c2753fbfc4dafe44acf691b7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/0e0c7bcff33644d5c2753fbfc4dafe44acf691b7/testserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 2116, 16, 833, 4672, 15204, 273, 1696, 2668, 3813, 3567, 18, 1330, 2187, 296, 91, 6134, 2589, 18, 10283, 273, 1387, 8438, 92, 264, 12, 9499, 18, 10283, 16, 15204, 13, 2589, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2116, 16, 833, 4672, 15204, 273, 1696, 2668, 3813, 3567, 18, 1330, 2187, 296, 91, 6134, 2589, 18, 10283, 273, 1387, 8438, 92, 264, 12, 9499, 18, 10283, 16, 15204, 13, 2589, 1...
"loongson2e" : arch_loongson2e, "loongson2e_n32" : arch_loongson2e_n32, "loongson2f" : arch_loongson2f, "loongson2f_n32" : arch_loongson2f_n32,
"loongson" : arch_mipsel3,
def __init__(self,myspec): arch_mips4_n32.__init__(self,myspec) self.settings["HOSTUSE"]=["ip30","n32"]
f6b14f7055f4aa76fe4a7830f454479807ef786e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7327/f6b14f7055f4aa76fe4a7830f454479807ef786e/mips.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 81, 1900, 705, 4672, 6637, 67, 81, 7146, 24, 67, 82, 1578, 16186, 2738, 972, 12, 2890, 16, 81, 1900, 705, 13, 365, 18, 4272, 9614, 8908, 8001, 11929, 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, 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, 81, 1900, 705, 4672, 6637, 67, 81, 7146, 24, 67, 82, 1578, 16186, 2738, 972, 12, 2890, 16, 81, 1900, 705, 13, 365, 18, 4272, 9614, 8908, 8001, 11929, 3...
fstart = chanfreqs0[locstart]
if mode=="velocity" and locstart==0: fstart = chanfreqs1d[-1] else: fstart = chanfreqs0[locstart]
def setChannelization(self,mode,spw,field,nchan,start,width,frame,veltype,restf): """ determine appropriate values for channelization parameters when default values are used for mode='velocity' or 'frequency' or 'channel' """ debug=True
8a0531a8fa19a4d4203c2fafa1b644ba6c3fa877 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2098/8a0531a8fa19a4d4203c2fafa1b644ba6c3fa877/cleanhelper.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 2909, 1588, 12, 2890, 16, 3188, 16, 1752, 91, 16, 1518, 16, 82, 7472, 16, 1937, 16, 2819, 16, 3789, 16, 941, 723, 16, 8792, 74, 4672, 3536, 4199, 5505, 924, 364, 1904, 1588, 147...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 2909, 1588, 12, 2890, 16, 3188, 16, 1752, 91, 16, 1518, 16, 82, 7472, 16, 1937, 16, 2819, 16, 3789, 16, 941, 723, 16, 8792, 74, 4672, 3536, 4199, 5505, 924, 364, 1904, 1588, 147...
print "local_elemwise_fusion: have an owner."
print "local_elemwise_fusion: have an owner that is not an Elemwise."
def local_elemwise_fusion(node): """As part of specialisation, we fusion two consecutif elemwise op of the same shape. """ TODO:implement Composite.__eq__ by using CLinker.cmodule_key() to compare the graph. if not isinstance(node.op, T.Elemwise): return False if isinstance(node.op.scalar_op, scalar.Composite): print "...
0d9b26fcec6bdaaf791df64857bce354e0583540 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12438/0d9b26fcec6bdaaf791df64857bce354e0583540/opt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1191, 67, 10037, 2460, 67, 74, 7063, 12, 2159, 4672, 3536, 1463, 1087, 434, 4582, 10742, 16, 732, 25944, 2795, 356, 15166, 430, 3659, 2460, 1061, 434, 326, 1967, 2179, 18, 3536, 2660, 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, 1191, 67, 10037, 2460, 67, 74, 7063, 12, 2159, 4672, 3536, 1463, 1087, 434, 4582, 10742, 16, 732, 25944, 2795, 356, 15166, 430, 3659, 2460, 1061, 434, 326, 1967, 2179, 18, 3536, 2660, 30...
def showframe(self, (data, chromdata)):
def showframe(self, data, chromdata):
def showframe(self, (data, chromdata)): w, h, pf = self.width, self.height, self.packfactor if not self.colormapinited: self.initcolormap() factor = self.magnify if pf: factor = factor * pf if chromdata and not self.skipchrom: cp = self.chrompack cw = (w+cp-1)/cp ch = (h+cp-1)/cp gl.rectzoom(factor*cp, factor*cp) gl.pi...
a13817669400af7cffabe76ce8e4a97e5be8e98a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/a13817669400af7cffabe76ce8e4a97e5be8e98a/VFile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 3789, 12, 2890, 16, 501, 16, 8123, 892, 4672, 341, 16, 366, 16, 10811, 273, 365, 18, 2819, 16, 365, 18, 4210, 16, 365, 18, 2920, 6812, 309, 486, 365, 18, 1293, 18804, 2738, 329...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3789, 12, 2890, 16, 501, 16, 8123, 892, 4672, 341, 16, 366, 16, 10811, 273, 365, 18, 2819, 16, 365, 18, 4210, 16, 365, 18, 2920, 6812, 309, 486, 365, 18, 1293, 18804, 2738, 329...
self.sessions[state.session] = state
self.sessions[sid][state.session] = state
def handle(self, server, state): cfg = self.cfg() log = self.log() update = False state.is_linked = False if state.session in self.sessions: if state.identity != self.sessions[state.session].identity: update = True if state.context != self.sessions[state.session].context: update = True else: if state.identity or sta...
f21126ffdb2b5c114002df7faaa53447cd77175e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6845/f21126ffdb2b5c114002df7faaa53447cd77175e/bf2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 12, 2890, 16, 1438, 16, 919, 4672, 2776, 273, 365, 18, 7066, 1435, 613, 273, 365, 18, 1330, 1435, 1089, 273, 1083, 225, 919, 18, 291, 67, 17738, 273, 1083, 225, 309, 919, 18, 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, 1640, 12, 2890, 16, 1438, 16, 919, 4672, 2776, 273, 365, 18, 7066, 1435, 613, 273, 365, 18, 1330, 1435, 1089, 273, 1083, 225, 919, 18, 291, 67, 17738, 273, 1083, 225, 309, 919, 18, 3...
for u in users: print "Log in (%s)" % (u['userName']) sc.doLogin(u['userName'], u['password']) try: if set_avatars: print "Setting profile image for user '%s'" % (u['userName']) if 'avatar' in u: try: sc.setProfileImage(u['userName'], thisdir + os.sep + str(u['avatar'])) except IOError, e: if e.errno == 2: pass else:...
for u in create_users: if set_avatars or update_profile or set_dashboards: print "Log in (%s)" % (u['userName']) sc.doLogin(u['userName'], u['password']) try: if set_avatars: print "Setting profile image for user '%s'" % (u['userName']) if 'avatar' in u: try: sc.setProfileImage(u['userName'], thisdir + os.sep + str(u[...
def main(argv): username = "admin" password = "admin" url = "http://localhost:8080/share" include_users = None skip_users = [ 'System' ] set_dashboards = True set_prefs = True update_profile = True set_avatars = True _debug = 0 if len(argv) > 0: # File name to load users from, or '-' for stdin filename = argv[0] # TO...
dcbf012c57656f19de039298576af4487bd41845 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8296/dcbf012c57656f19de039298576af4487bd41845/bootstrap-users.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 19485, 4672, 225, 2718, 273, 315, 3666, 6, 2201, 273, 315, 3666, 6, 880, 273, 315, 2505, 2207, 13014, 30, 3672, 3672, 19, 14419, 6, 2341, 67, 5577, 273, 599, 2488, 67, 5577, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2718, 273, 315, 3666, 6, 2201, 273, 315, 3666, 6, 880, 273, 315, 2505, 2207, 13014, 30, 3672, 3672, 19, 14419, 6, 2341, 67, 5577, 273, 599, 2488, 67, 5577, ...
hsb["command"] = self.cnv.xview vsb["command"] = self.cnv.yview
self.hsb["command"] = self.cnv.xview self.vsb["command"] = self.cnv.yview
def __init__(self, master, width = 300, height = 300,
3b63dc846cb26ec6865a5e27e054da2580ea0742 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6354/3b63dc846cb26ec6865a5e27e054da2580ea0742/GrayImageDispWdg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4171, 16, 1835, 273, 11631, 16, 2072, 273, 11631, 16, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4171, 16, 1835, 273, 11631, 16, 2072, 273, 11631, 16, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
sender.reset()
sender = event()
def _main_loop(self, sender): """ Private, infinite loop run by a pooled coroutine. """ while True: recvd = sender.wait() sender.reset() (evt, func, args, kw) = recvd self._safe_apply(evt, func, args, kw) api.get_hub().cancel_timers(api.getcurrent()) self.put(sender)
a253013629e525a92519427c1b1ba2b29bd886ab /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10078/a253013629e525a92519427c1b1ba2b29bd886ab/coros.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5254, 67, 6498, 12, 2890, 16, 5793, 4672, 3536, 8726, 16, 14853, 2798, 1086, 635, 279, 25007, 21857, 18, 3536, 1323, 1053, 30, 10665, 72, 273, 5793, 18, 7048, 1435, 5793, 273, 871, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5254, 67, 6498, 12, 2890, 16, 5793, 4672, 3536, 8726, 16, 14853, 2798, 1086, 635, 279, 25007, 21857, 18, 3536, 1323, 1053, 30, 10665, 72, 273, 5793, 18, 7048, 1435, 5793, 273, 871, ...
os.system('ss_usermanager createuser ssadmin -n "SkoleSYS Administrator" -g SkoleSYS -f Admin -t other -G ssadmin -p %s' % in_adminpw) os.system('ss_accessmanager grant_acces ssadmin access.soap.bind')
os.system('ss_usermanager createuser ssadmin -g SkoleSYS -f Admin -t other -G ssadmin -p %s' % in_adminpw) os.system('ss_accessmanager grant_access ssadmin access.soap.bind')
import skolesys.definitions.hostdef as hostdef
71bcbec61726bee7f1330479d5bdd3e56149ab8d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2487/71bcbec61726bee7f1330479d5bdd3e56149ab8d/init_mainserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1930, 4343, 9112, 1900, 18, 13314, 18, 2564, 536, 487, 1479, 536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1930, 4343, 9112, 1900, 18, 13314, 18, 2564, 536, 487, 1479, 536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
except OSError, detail: if(detail.errno==17): pass else: self.PrintDebug(sys.exc_info()[0] + ", " + sys.exc_info()[1] + "\n") return False except: self.PrintDebug("Unexpected error: " + sys.exc_info()[0] + ", " + sys.exc_info()[1] + "\n")
except OSError, detail: if(detail.errno==17): pass else: self.PrintDebug(sys.exc_info()[0] + ", " + sys.exc_info()[1] + "\n")
def OpenLogFile(self, event): if self.options.oneFile != None: if self.writeTarget == "": self.writeTarget = os.path.join(os.path.normpath(self.options.dirName), os.path.normpath(self.options.oneFile)) try: self.log = open(self.writeTarget, 'a') except OSError, detail: if(detail.errno==17): #if file already exists, s...
74da11ba55b3923d9ef009b692236036b604628f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3638/74da11ba55b3923d9ef009b692236036b604628f/logwriter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3502, 19103, 12, 2890, 16, 871, 4672, 225, 309, 365, 18, 2116, 18, 476, 812, 480, 599, 30, 309, 365, 18, 2626, 2326, 422, 1408, 30, 365, 18, 2626, 2326, 273, 1140, 18, 803, 18, 5701,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3502, 19103, 12, 2890, 16, 871, 4672, 225, 309, 365, 18, 2116, 18, 476, 812, 480, 599, 30, 309, 365, 18, 2626, 2326, 422, 1408, 30, 365, 18, 2626, 2326, 273, 1140, 18, 803, 18, 5701,...
print mess, mess.__class__, mess.args[0]
def ShowErrorMessage(parent, caption, mess): print mess, mess.__class__, mess.args[0] dlg = wxMessageDialog(parent, mess.__class__.__name__ +': '+mess.args[0], caption, wxOK | wxICON_EXCLAMATION) try: dlg.ShowModal() finally: dlg.Destroy()
09062f26dafd693d78824ed3dd720a59241be90a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/09062f26dafd693d78824ed3dd720a59241be90a/Utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9674, 14935, 12, 2938, 16, 11006, 16, 12755, 4672, 25840, 273, 7075, 1079, 6353, 12, 2938, 16, 12755, 16186, 1106, 972, 16186, 529, 972, 397, 4278, 15126, 81, 403, 18, 1968, 63, 20, 6487...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9674, 14935, 12, 2938, 16, 11006, 16, 12755, 4672, 25840, 273, 7075, 1079, 6353, 12, 2938, 16, 12755, 16186, 1106, 972, 16186, 529, 972, 397, 4278, 15126, 81, 403, 18, 1968, 63, 20, 6487...
self._append_untagged(self.mo.group('type'), self.mo.group('data'))
typ = self.mo.group('type') typ = str(typ, "ASCII") self._append_untagged(typ, self.mo.group('data'))
def _get_response(self):
94448afc2448648679db2638ebbc3bbbee6f391a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3187/94448afc2448648679db2638ebbc3bbbee6f391a/imaplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 2740, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 588, 67, 2740, 12, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
elif mode=='shadow': if param_i.__len__()>0: fg.setshadowflags(**param_i) else: fg.setshadowflags()
def manualflag_cmd(flagbackup, command): if debug: print command #List of valid params by mode kmodes = {} uparams = ['reason','flagtime'] # currently not used sparams = ['antenna','timerange','correlation','scan','feed','array','uvrange','spw','field'] aparams = sparams kmodes['manualflag'] = aparams + ['unflag'] kmo...
c128b7100747e0595fe5c55c0b3b6c715b3241d7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2098/c128b7100747e0595fe5c55c0b3b6c715b3241d7/task_flagcmd.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11297, 6420, 67, 4172, 12, 6420, 9572, 16, 1296, 4672, 309, 1198, 30, 1172, 1296, 225, 468, 682, 434, 923, 859, 635, 1965, 18952, 1145, 273, 2618, 731, 439, 87, 273, 10228, 10579, 17023,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11297, 6420, 67, 4172, 12, 6420, 9572, 16, 1296, 4672, 309, 1198, 30, 1172, 1296, 225, 468, 682, 434, 923, 859, 635, 1965, 18952, 1145, 273, 2618, 731, 439, 87, 273, 10228, 10579, 17023,...
index = self._tclCommands.index(name) del self._tclCommands[index]
try: self._tclCommands.remove(name) except ValueError: pass
def deletecommand(self, name): #print '- Tkinter: deleted command', name self.tk.deletecommand(name) index = self._tclCommands.index(name) del self._tclCommands[index]
48044b41c45fe4093db593d53822db0a1eb635ae /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/48044b41c45fe4093db593d53822db0a1eb635ae/Tkinter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6578, 30433, 889, 12, 2890, 16, 508, 4672, 468, 1188, 2400, 399, 79, 2761, 30, 4282, 1296, 2187, 508, 365, 18, 16099, 18, 19003, 30433, 889, 12, 529, 13, 770, 273, 365, 6315, 88, 830, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6578, 30433, 889, 12, 2890, 16, 508, 4672, 468, 1188, 2400, 399, 79, 2761, 30, 4282, 1296, 2187, 508, 365, 18, 16099, 18, 19003, 30433, 889, 12, 529, 13, 770, 273, 365, 6315, 88, 830, ...
ref.title = ref.title + line[5:]
ref.title += line[5:]
def reference_title(self, line): assert self.data.references, "RT: missing RN" ref = self.data.references[-1] ref.title = ref.title + line[5:]
a076fb069aa689427988c32e2093d8c8c4274506 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7167/a076fb069aa689427988c32e2093d8c8c4274506/SProt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2114, 67, 2649, 12, 2890, 16, 980, 4672, 1815, 365, 18, 892, 18, 14353, 16, 315, 12185, 30, 3315, 534, 50, 6, 1278, 273, 365, 18, 892, 18, 14353, 18919, 21, 65, 1278, 18, 2649, 1011,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2114, 67, 2649, 12, 2890, 16, 980, 4672, 1815, 365, 18, 892, 18, 14353, 16, 315, 12185, 30, 3315, 534, 50, 6, 1278, 273, 365, 18, 892, 18, 14353, 18919, 21, 65, 1278, 18, 2649, 1011,...
"""All parameters are the same as for Page() constructor.
"""Initializer for a User object. All parameters are the same as for Page() constructor.
def __init__(self, source, title=u''): """All parameters are the same as for Page() constructor. """ if len(title) > 1 and title[0] == u'#': self.is_autoblock = True title = title[1:] else: self.is_autoblock = False Page.__init__(self, source, title, ns=2) if self.namespace() != 2: raise ValueError(u"'%s' is not in the...
7e07f8a9fa71ca906e1d8e565fb6fdb99e4b4cf6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9005/7e07f8a9fa71ca906e1d8e565fb6fdb99e4b4cf6/page.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1084, 16, 2077, 33, 89, 6309, 4672, 3536, 14729, 364, 279, 2177, 733, 18, 4826, 1472, 854, 326, 1967, 487, 364, 3460, 1435, 3885, 18, 3536, 309, 562, 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, 1001, 2738, 972, 12, 2890, 16, 1084, 16, 2077, 33, 89, 6309, 4672, 3536, 14729, 364, 279, 2177, 733, 18, 4826, 1472, 854, 326, 1967, 487, 364, 3460, 1435, 3885, 18, 3536, 309, 562, 12,...
def terminate(self): self.send_signal(signal.SIGTERM); self._cleanup() def kill(self): self.send_signal(signal.SIGKILL); self._cleanup()
def terminate(self): self.send_signal(signal.SIGTERM) def kill(self): self.send_signal(signal.SIGKILL)
def terminate(self): self.send_signal(signal.SIGTERM); self._cleanup()
4ef64fd92b7c35a44e11139b12e0d27f10585227 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/197/4ef64fd92b7c35a44e11139b12e0d27f10585227/brokertest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10850, 12, 2890, 4672, 365, 18, 4661, 67, 10420, 12, 10420, 18, 18513, 15176, 1769, 365, 6315, 16732, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10850, 12, 2890, 4672, 365, 18, 4661, 67, 10420, 12, 10420, 18, 18513, 15176, 1769, 365, 6315, 16732, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
""" Called whenever a new Wiki page is added. """
"""Called whenever a new Wiki page is added."""
def wiki_page_added(page): """ Called whenever a new Wiki page is added. """
20038e9ad23fd6bf15d7cff6c788c825d8278ea5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/20038e9ad23fd6bf15d7cff6c788c825d8278ea5/api.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9050, 67, 2433, 67, 9665, 12, 2433, 4672, 3536, 11782, 17334, 279, 394, 28268, 1363, 353, 3096, 18, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9050, 67, 2433, 67, 9665, 12, 2433, 4672, 3536, 11782, 17334, 279, 394, 28268, 1363, 353, 3096, 18, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
security.declareProtected(permissions.View, 'getContentType')
security.declareProtected(CMFCorePermissions.View, 'getContentType')
def getFilename(self, key=None): """Returns the filename from a field. """ value = None
460696da815e0d1149ab34005370b03bdbb656a6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/460696da815e0d1149ab34005370b03bdbb656a6/BaseObject.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14632, 12, 2890, 16, 498, 33, 7036, 4672, 3536, 1356, 326, 1544, 628, 279, 652, 18, 3536, 460, 273, 599, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14632, 12, 2890, 16, 498, 33, 7036, 4672, 3536, 1356, 326, 1544, 628, 279, 652, 18, 3536, 460, 273, 599, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.default_style = 'standard'
self.default_style = 'STANDARD'
def __init__(self, file, filename, match): GenericLoader.__init__(self, file, filename, match) self.file = file self.encoding = 'latin1' self.dynamic_style_dict = {} self.style_dict = {} self.ltype_dict = {'CONTINUOUS': { '2': 'CONTINUOUS', # Linetype name '3': 'Solid line', # Descriptive text for linetype '49': [], #...
02df12c26818fd938357920396a246a253220885 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3123/02df12c26818fd938357920396a246a253220885/dxfloader.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 585, 16, 1544, 16, 845, 4672, 7928, 2886, 16186, 2738, 972, 12, 2890, 16, 585, 16, 1544, 16, 845, 13, 225, 365, 18, 768, 273, 585, 365, 18, 5999, 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, 1001, 2738, 972, 12, 2890, 16, 585, 16, 1544, 16, 845, 4672, 7928, 2886, 16186, 2738, 972, 12, 2890, 16, 585, 16, 1544, 16, 845, 13, 225, 365, 18, 768, 273, 585, 365, 18, 5999, 273, ...
'third_party', 'WebKit', 'WebKitTools', 'pywebsocket', 'mod_pywebsocket', 'standalone.py')
'third_party', 'WebKit', 'WebKitTools', 'Scripts', 'webkitpy', 'thirdparty', 'pywebsocket', 'mod_pywebsocket', 'standalone.py')
def start(self): if not self._web_socket_tests: logging.info('No need to start %s server.' % self._server_name) return if self.is_running(): raise PyWebSocketNotStarted('%s is already running.' % self._server_name)
924d706fda763645f8d4ac928791f8f97575f55b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5060/924d706fda763645f8d4ac928791f8f97575f55b/websocket_server.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 2890, 4672, 309, 486, 365, 6315, 4875, 67, 7814, 67, 16341, 30, 2907, 18, 1376, 2668, 2279, 1608, 358, 787, 738, 87, 1438, 1093, 738, 365, 6315, 3567, 67, 529, 13, 327, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 2890, 4672, 309, 486, 365, 6315, 4875, 67, 7814, 67, 16341, 30, 2907, 18, 1376, 2668, 2279, 1608, 358, 787, 738, 87, 1438, 1093, 738, 365, 6315, 3567, 67, 529, 13, 327, 309, ...
value = STUNServerAddress(*value)
if isinstance(value, str): value = STUNServerAddress(value) else: value = STUNServerAddress(*value)
def __new__(cls, values): servers = [] for value in values: if not isinstance(value, STUNServerAddress): value = STUNServerAddress(*value) servers.append(value) return tuple(servers)
b943c8f41268737c652d980f1c3d8d52b0c6ba45 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5703/b943c8f41268737c652d980f1c3d8d52b0c6ba45/datatypes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2704, 972, 12, 6429, 16, 924, 4672, 7084, 273, 5378, 364, 460, 316, 924, 30, 309, 486, 1549, 12, 1132, 16, 2347, 2124, 2081, 1887, 4672, 309, 1549, 12, 1132, 16, 609, 4672, 460, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2704, 972, 12, 6429, 16, 924, 4672, 7084, 273, 5378, 364, 460, 316, 924, 30, 309, 486, 1549, 12, 1132, 16, 2347, 2124, 2081, 1887, 4672, 309, 1549, 12, 1132, 16, 609, 4672, 460, ...
{'becquerel':'SI derived unit of radiation.\nDefined to be the activity of a quantity of radioactive material in which one nucleus decays per second.', 'curie':'Defined to be 37*10^9 becquerels.', 'rutherford':'Defined to be 10^6 becquerels.'},
{'becquerel':'SI derived unit of radiation.\nDefined to be the activity of a quantity of radioactive material in which one nucleus decays per second.', 'curie':'Defined to be 37*10^9 becquerels.', 'rutherford':'Defined to be 10^6 becquerels.'},
def evalunitdict(): """ Replace all the string values of the unitdict variable by their evaluated forms, and builds some other tables for ease of use. This function is mainly used internally, for efficiency (and flexibility) purposes, making it easier to describe the units. EXAMPLES:: sage: sage.symbolic.units.evalun...
36d2f28c044694ad73a4a70a9d869366d0e39ec4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/36d2f28c044694ad73a4a70a9d869366d0e39ec4/units.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5302, 4873, 1576, 13332, 3536, 6910, 777, 326, 533, 924, 434, 326, 2836, 1576, 2190, 635, 3675, 12697, 10138, 16, 471, 10736, 2690, 1308, 4606, 364, 28769, 434, 999, 18, 1220, 445, 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, 5302, 4873, 1576, 13332, 3536, 6910, 777, 326, 533, 924, 434, 326, 2836, 1576, 2190, 635, 3675, 12697, 10138, 16, 471, 10736, 2690, 1308, 4606, 364, 28769, 434, 999, 18, 1220, 445, 353, ...
def __call__(self, polys, mode='b', cmd_list=['y', 'input', 'output'], verbose=False): """ Returns as a string the result of running PHC with the given polynomials, mode, and command list. The command list is a sequence of commands that would get input interactively to PHC if you ran it from the command line.
def blackbox(self, polys, input_ring, verbose=False): """ Returns as a string the result of running PHC with the given polynomials under blackbox mode (the '-b' option).
def __call__(self, polys, mode='b', cmd_list=['y', 'input', 'output'], verbose=False): """ Returns as a string the result of running PHC with the given polynomials, mode, and command list. The command list is a sequence of commands that would get input interactively to PHC if you ran it from the command line.
f7be136bb710dbba5eb2dbd3e6bfc2672cd81e39 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/f7be136bb710dbba5eb2dbd3e6bfc2672cd81e39/phc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 2952, 1900, 16, 1965, 2218, 70, 2187, 1797, 67, 1098, 33, 3292, 93, 2187, 296, 2630, 2187, 296, 2844, 17337, 3988, 33, 8381, 4672, 3536, 2860, 487, 279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1991, 972, 12, 2890, 16, 2952, 1900, 16, 1965, 2218, 70, 2187, 1797, 67, 1098, 33, 3292, 93, 2187, 296, 2630, 2187, 296, 2844, 17337, 3988, 33, 8381, 4672, 3536, 2860, 487, 279, ...
self.connect(self._model, SIGNAL('columns_sorted(int,int,int)'),
self.connect(self._model, SIGNAL('columns_sorted(int,int,int,int)'),
def __init__(self, parent, modelcls=BooksModel): TableView.__init__(self, parent) self.rating_delegate = LibraryDelegate(self) self.timestamp_delegate = DateDelegate(self) self.pubdate_delegate = PubDateDelegate(self) self.display_parent = parent self._model = modelcls(self) self.setModel(self._model) self.setSelection...
00bfb182ea93367fab1b59f3c82998e4476d7c67 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9125/00bfb182ea93367fab1b59f3c82998e4476d7c67/library.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 16, 938, 6429, 33, 9084, 87, 1488, 4672, 3555, 1767, 16186, 2738, 972, 12, 2890, 16, 982, 13, 365, 18, 17326, 67, 22216, 273, 18694, 9586, 12, 2890,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 16, 938, 6429, 33, 9084, 87, 1488, 4672, 3555, 1767, 16186, 2738, 972, 12, 2890, 16, 982, 13, 365, 18, 17326, 67, 22216, 273, 18694, 9586, 12, 2890,...
def dual_free_module(self, bound=None, anemic=True): """
def dual_free_module(self, bound=None, anemic=True, use_star=True): r"""
def dual_free_module(self, bound=None, anemic=True): """ Compute embedded dual free module if possible. In general this won't be possible, e.g., if this space is not Hecke equivariant, possibly if it is not cuspidal, or if the characteristic is not 0. In all these cases we raise a RuntimeError exception. """ try: ret...
a9c0d7a75d188f698321538d52f4f7ac484a5dd4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/a9c0d7a75d188f698321538d52f4f7ac484a5dd4/submodule.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24557, 67, 9156, 67, 2978, 12, 2890, 16, 2489, 33, 7036, 16, 392, 351, 335, 33, 5510, 16, 999, 67, 10983, 33, 5510, 4672, 436, 8395, 8155, 7488, 24557, 4843, 1605, 309, 3323, 18, 225, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24557, 67, 9156, 67, 2978, 12, 2890, 16, 2489, 33, 7036, 16, 392, 351, 335, 33, 5510, 16, 999, 67, 10983, 33, 5510, 4672, 436, 8395, 8155, 7488, 24557, 4843, 1605, 309, 3323, 18, 225, ...
1.0986841135 + 0.45508986060*I
1.0986841 + 0.45508986*I
def sqrt(self): """ EXAMPLES: sage: C, i = ComplexField(30).objgen() sage: i.sqrt() 0.70710678119 + 0.70710678119*I sage: (1+i).sqrt() 1.0986841135 + 0.45508986060*I sage: (C(-1)).sqrt() 1.0000000000*I sage: i = ComplexField(200).0 sage: i.sqrt() 0.70710678118654752440084436210484903928483593768847403658833981 + 0.7071...
0f85c81e959512e75d1c3f66db056b379125ea81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/0f85c81e959512e75d1c3f66db056b379125ea81/complex_number.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5700, 12, 2890, 4672, 3536, 5675, 8900, 11386, 30, 272, 410, 30, 385, 16, 277, 273, 16060, 974, 12, 5082, 2934, 2603, 4507, 1435, 272, 410, 30, 277, 18, 24492, 1435, 374, 18, 7301, 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, 5700, 12, 2890, 4672, 3536, 5675, 8900, 11386, 30, 272, 410, 30, 385, 16, 277, 273, 16060, 974, 12, 5082, 2934, 2603, 4507, 1435, 272, 410, 30, 277, 18, 24492, 1435, 374, 18, 7301, 27,...
f.seek(0, 2) expect(f.tell(), size+1) newsize = size - 10 f.seek(newsize) f.truncate() expect(f.tell(), newsize) f.seek(0, 2) expect(f.tell(), newsize) newsize -= 1 f.seek(42) f.truncate(newsize) expect(f.tell(), 42) f.seek(0, 2) expect(f.tell(), newsize)
try: f.seek(0, 2) expect(f.tell(), size+1) newsize = size - 10 f.seek(newsize) f.truncate() expect(f.tell(), newsize) f.seek(0, 2) expect(f.tell(), newsize) newsize -= 1 f.seek(42) f.truncate(newsize) expect(f.tell(), 42) f.seek(0, 2) expect(f.tell(), newsize)
def expect(got_this, expect_this): if test_support.verbose: print '%r =?= %r ...' % (got_this, expect_this), if got_this != expect_this: if test_support.verbose: print 'no' raise test_support.TestFailed, 'got %r, but expected %r' %\ (got_this, expect_this) else: if test_support.verbose: print 'yes'
ff103ab74a6a7ae0cf2554d09fd494b02b8d8a82 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/ff103ab74a6a7ae0cf2554d09fd494b02b8d8a82/test_largefile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4489, 12, 13212, 67, 2211, 16, 4489, 67, 2211, 4672, 309, 1842, 67, 13261, 18, 11369, 30, 1172, 1995, 86, 273, 35, 33, 738, 86, 25956, 738, 261, 13212, 67, 2211, 16, 4489, 67, 2211, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4489, 12, 13212, 67, 2211, 16, 4489, 67, 2211, 4672, 309, 1842, 67, 13261, 18, 11369, 30, 1172, 1995, 86, 273, 35, 33, 738, 86, 25956, 738, 261, 13212, 67, 2211, 16, 4489, 67, 2211, ...
verification that the input data represent a lyndon word.
verification that the input data represent a Lyndon word.
def __init__(self, data, check=True): r""" Construction of a Lyndon word.
ad4689fa903072bfc0e90226dd583848b9059a46 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/ad4689fa903072bfc0e90226dd583848b9059a46/lyndon_word.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 501, 16, 866, 33, 5510, 4672, 436, 8395, 735, 4549, 434, 279, 511, 878, 19752, 2076, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 501, 16, 866, 33, 5510, 4672, 436, 8395, 735, 4549, 434, 279, 511, 878, 19752, 2076, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
def debug(self, message): print message
def debug(self, message): print message
0ed9970df988553ffff313de117b04efa6a6d09e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/14343/0ed9970df988553ffff313de117b04efa6a6d09e/vm-backup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1198, 12, 2890, 16, 883, 4672, 1172, 883, 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, 1198, 12, 2890, 16, 883, 4672, 1172, 883, 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.update_widget(self.size[0], self.size[1])
for i in self.contacts: self.contacts[i].hide()
def hide(self): self.update_widget(self.size[0], self.size[1])
79ef2d00a0cbaad3916df661ca20df5b7139aac3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/206/79ef2d00a0cbaad3916df661ca20df5b7139aac3/contact_list.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6853, 12, 2890, 4672, 365, 18, 2725, 67, 6587, 12, 2890, 18, 1467, 63, 20, 6487, 365, 18, 1467, 63, 21, 5717, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6853, 12, 2890, 4672, 365, 18, 2725, 67, 6587, 12, 2890, 18, 1467, 63, 20, 6487, 365, 18, 1467, 63, 21, 5717, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
synthDriverHandler.setPitch(oldPitch)
synthDriverHandler.driverObject.pitch=oldPitch
def speakSymbol(symbol,wait=False,index=None): """Speaks a given single character.
8bb7beaa803c8a5cb6512b3ba335c6e9b74a4bc0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9340/8bb7beaa803c8a5cb6512b3ba335c6e9b74a4bc0/audio.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 272, 10244, 5335, 12, 7175, 16, 7048, 33, 8381, 16, 1615, 33, 7036, 4672, 3536, 55, 22736, 279, 864, 2202, 3351, 18, 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, 272, 10244, 5335, 12, 7175, 16, 7048, 33, 8381, 16, 1615, 33, 7036, 4672, 3536, 55, 22736, 279, 864, 2202, 3351, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
rev_date = "$Date: 2005/01/07 20:32:46 $"[7:-2]
rev_date = "$Date: 2005/02/15 14:23:19 $"[7:-2]
def getGRUFVersion(self,): """ getGRUFVersion(self,) => Return human-readable GRUF version as a string. """ rev_date = "$Date: 2005/01/07 20:32:46 $"[7:-2] return "%s / Revised %s" % (version__, rev_date)
0418cf79dce0ad5309e98734fa1534997f1fdfde /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1807/0418cf79dce0ad5309e98734fa1534997f1fdfde/GroupUserFolder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 6997, 57, 42, 1444, 12, 2890, 16, 4672, 3536, 336, 6997, 57, 42, 1444, 12, 2890, 16, 13, 516, 2000, 8672, 17, 11018, 15228, 57, 42, 1177, 487, 279, 533, 18, 3536, 5588, 67, 712,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6997, 57, 42, 1444, 12, 2890, 16, 4672, 3536, 336, 6997, 57, 42, 1444, 12, 2890, 16, 13, 516, 2000, 8672, 17, 11018, 15228, 57, 42, 1177, 487, 279, 533, 18, 3536, 5588, 67, 712,...
sources = spec['sources']
sources = spec.get('sources', [])
def _GenerateProject(vcproj_filename, build_file, spec): """Generates a vcproj file. Arguments: vcproj_filename: Filename of the vcproj file to generate. build_file: Filename of the .gyp file that the vcproj file comes from. spec: The target dictionary containing the properties of the target. """ print 'Generating %s'...
ae2cda6a19ce2e199461fcc82529e7e2329749d7 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6220/ae2cda6a19ce2e199461fcc82529e7e2329749d7/msvs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4625, 4109, 12, 4227, 17995, 67, 3459, 16, 1361, 67, 768, 16, 857, 4672, 3536, 6653, 279, 12802, 17995, 585, 18, 225, 13599, 30, 12802, 17995, 67, 3459, 30, 16671, 434, 326, 12802, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4625, 4109, 12, 4227, 17995, 67, 3459, 16, 1361, 67, 768, 16, 857, 4672, 3536, 6653, 279, 12802, 17995, 585, 18, 225, 13599, 30, 12802, 17995, 67, 3459, 30, 16671, 434, 326, 12802, ...
EXAMPLES:
EXAMPLES::
def overlap_partition(self, other, delay=0, p=None, involution=None) : r""" Returns the partition of the alphabet induced by the overlap of self and other with the given delay.
35ec0557f8d573ae3cb05509326c34c659370853 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/35ec0557f8d573ae3cb05509326c34c659370853/word.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7227, 67, 10534, 12, 2890, 16, 1308, 16, 4624, 33, 20, 16, 293, 33, 7036, 16, 2198, 5889, 33, 7036, 13, 294, 436, 8395, 2860, 326, 3590, 434, 326, 10877, 1547, 26372, 635, 326, 7227, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7227, 67, 10534, 12, 2890, 16, 1308, 16, 4624, 33, 20, 16, 293, 33, 7036, 16, 2198, 5889, 33, 7036, 13, 294, 436, 8395, 2860, 326, 3590, 434, 326, 10877, 1547, 26372, 635, 326, 7227, ...
FL_Coord, STRING],
FL_Coord, STRING],
def fl_create_slider(type, x, y, w, h, label): """ fl_create_slider(type, x, y, w, h, label) -> object """ retval = _fl_create_slider(type, x, y, w, h, label) return retval
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 2640, 67, 28372, 12, 723, 16, 619, 16, 677, 16, 341, 16, 366, 16, 1433, 4672, 3536, 1183, 67, 2640, 67, 28372, 12, 723, 16, 619, 16, 677, 16, 341, 16, 366, 16, 1433, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 2640, 67, 28372, 12, 723, 16, 619, 16, 677, 16, 341, 16, 366, 16, 1433, 4672, 3536, 1183, 67, 2640, 67, 28372, 12, 723, 16, 619, 16, 677, 16, 341, 16, 366, 16, 1433, 13, ...
return Dec_n1
return _Dec_n1
def compare_total(self, other): """Compares self to other using the abstract representations.
335c6f295295ab5b62a80d25d26d89243eb80fb0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3187/335c6f295295ab5b62a80d25d26d89243eb80fb0/decimal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3400, 67, 4963, 12, 2890, 16, 1308, 4672, 3536, 19199, 365, 358, 1308, 1450, 326, 8770, 27851, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3400, 67, 4963, 12, 2890, 16, 1308, 4672, 3536, 19199, 365, 358, 1308, 1450, 326, 8770, 27851, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
class AddressDiscoveryProtocol(juice.Juice):
class AddressDiscoveryProtocol(Q2QBootstrap):
def buildProtocol(self, addr): p = Q2Q(False) p.service = self.service p.factory = self p.wrapper = self.service.wrapper return p
dc91dae16633444486b1b42443e16f485990c261 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8962/dc91dae16633444486b1b42443e16f485990c261/q2q.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 5752, 12, 2890, 16, 3091, 4672, 293, 273, 2238, 22, 53, 12, 8381, 13, 293, 18, 3278, 273, 365, 18, 3278, 293, 18, 6848, 273, 365, 293, 18, 8376, 273, 365, 18, 3278, 18, 8376, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1361, 5752, 12, 2890, 16, 3091, 4672, 293, 273, 2238, 22, 53, 12, 8381, 13, 293, 18, 3278, 273, 365, 18, 3278, 293, 18, 6848, 273, 365, 293, 18, 8376, 273, 365, 18, 3278, 18, 8376, ...
self._save(history, self._history_filename(username))
filename = self._history_filename(username) self._save(history, filename) self._permissions(filename)
def save_user_history(self, username, history): """ Save the history log (a list of strings) for the given user.
9e3edad0e04b4bcc757d50ed9913cae4b76d16d8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11792/9e3edad0e04b4bcc757d50ed9913cae4b76d16d8/filesystem_storage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 67, 1355, 67, 8189, 12, 2890, 16, 2718, 16, 4927, 4672, 3536, 7074, 326, 4927, 613, 261, 69, 666, 434, 2064, 13, 364, 326, 864, 729, 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, 1923, 67, 1355, 67, 8189, 12, 2890, 16, 2718, 16, 4927, 4672, 3536, 7074, 326, 4927, 613, 261, 69, 666, 434, 2064, 13, 364, 326, 864, 729, 18, 2, -100, -100, -100, -100, -100, -100, ...
os.system( thumbpqstr )
cmd = "/home/ldm/bin/pqinsert -p '%s' %s.png" % (thumbpqstr, tmpfp) os.system( cmd )
def postprocess(tmpfp, pqstr, rotate="", thumb=False, thumbpqstr=""): """ Helper to postprocess the plot """ if not os.path.isfile("%s.ps" % (tmpfp,)): print "File %s.ps is missing!" % (tmpfp,) return # Step 1. Convert to PNG cmd = "convert %s -trim -border 5 -bordercolor '#fff' -resize 900x700 -density 120 -depth 8 -c...
5a0e46e5393c7a65949d33260311b0d2975f3951 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11189/5a0e46e5393c7a65949d33260311b0d2975f3951/iemplot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1603, 2567, 12, 5645, 7944, 16, 14619, 701, 16, 8534, 1546, 3113, 11156, 33, 8381, 16, 11156, 84, 85, 701, 1546, 6, 4672, 3536, 9705, 358, 1603, 2567, 326, 3207, 3536, 309, 486, 1140, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1603, 2567, 12, 5645, 7944, 16, 14619, 701, 16, 8534, 1546, 3113, 11156, 33, 8381, 16, 11156, 84, 85, 701, 1546, 6, 4672, 3536, 9705, 358, 1603, 2567, 326, 3207, 3536, 309, 486, 1140, ...
sage: magma.function_call('IsSquare', 100, nvals=3)
sage: magma.function_call('IsSquare', 100, nvals=3)
def function_call(self, function, args=[], params={}, nvals=1): """ Return result of evaluating a Magma function with given input, parameters, and asking for nvals as output.
06891bc866b47f420feaea6eefc08baf44cc4cb9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/06891bc866b47f420feaea6eefc08baf44cc4cb9/magma.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 445, 67, 1991, 12, 2890, 16, 445, 16, 833, 22850, 6487, 859, 28793, 290, 4524, 33, 21, 4672, 3536, 2000, 563, 434, 26704, 279, 490, 9454, 445, 598, 864, 810, 16, 1472, 16, 471, 29288, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 445, 67, 1991, 12, 2890, 16, 445, 16, 833, 22850, 6487, 859, 28793, 290, 4524, 33, 21, 4672, 3536, 2000, 563, 434, 26704, 279, 490, 9454, 445, 598, 864, 810, 16, 1472, 16, 471, 29288, ...
else:
else:
def changelanguages(self, argdict): """changes language entries""" for key, value in argdict.iteritems(): if key.startswith("languageremove-"): languagecode = key.replace("languageremove-", "", 1) if self.haslanguage(languagecode): delattr(self.languages, languagecode) elif key.startswith("languagename-"): languagecode...
0af131d3d8867083eeac9c3c69b22f83faaf9dbd /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11388/0af131d3d8867083eeac9c3c69b22f83faaf9dbd/potree.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9435, 292, 5443, 12, 2890, 16, 1501, 1576, 4672, 3536, 6329, 2653, 3222, 8395, 364, 498, 16, 460, 316, 1501, 1576, 18, 2165, 3319, 13332, 309, 498, 18, 17514, 1918, 2932, 80, 1563, 6817,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9435, 292, 5443, 12, 2890, 16, 1501, 1576, 4672, 3536, 6329, 2653, 3222, 8395, 364, 498, 16, 460, 316, 1501, 1576, 18, 2165, 3319, 13332, 309, 498, 18, 17514, 1918, 2932, 80, 1563, 6817,...
self.assertContains(res, 'Bars')
self.assertContains(res, 'Bars') self.assertContains(res, 'Users', 1)
def test_app_index(self): self.client.login(username='staff', password='123') res = self.client.get('/admin/test_app/foo/') self.assertEqual(res.status_code, 200) self.assertContains(res, 'Foos') self.assertNotContains(res, 'Bars')
67bc2e79ce7d82349ece997ac96e7524368efd99 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3482/67bc2e79ce7d82349ece997ac96e7524368efd99/tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2910, 67, 1615, 12, 2890, 4672, 365, 18, 2625, 18, 5819, 12, 5053, 2218, 31096, 2187, 2201, 2218, 12936, 6134, 400, 273, 365, 18, 2625, 18, 588, 2668, 19, 3666, 19, 3813, 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, 1842, 67, 2910, 67, 1615, 12, 2890, 4672, 365, 18, 2625, 18, 5819, 12, 5053, 2218, 31096, 2187, 2201, 2218, 12936, 6134, 400, 273, 365, 18, 2625, 18, 588, 2668, 19, 3666, 19, 3813, 67,...
"""
"""
def flps_draw_frame(p1, p2, p3, p4, p5, p6, p7): """ flps_draw_frame(p1, p2, p3, p4, p5, p6, p7) """ _flps_draw_frame(p1, p2, p3, p4, p5, p6, p7)
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 1121, 67, 9446, 67, 3789, 12, 84, 21, 16, 293, 22, 16, 293, 23, 16, 293, 24, 16, 293, 25, 16, 293, 26, 16, 293, 27, 4672, 3536, 1183, 1121, 67, 9446, 67, 3789, 12, 84, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 1121, 67, 9446, 67, 3789, 12, 84, 21, 16, 293, 22, 16, 293, 23, 16, 293, 24, 16, 293, 25, 16, 293, 26, 16, 293, 27, 4672, 3536, 1183, 1121, 67, 9446, 67, 3789, 12, 84, 21, ...
<form%s>
<form>
def startFormatting(title, identifier, source): document = """Content-Type:text/html;charset=UTF-8
f5f4c3ed6200811f1911f1b21ca420f1c2697ec6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5033/f5f4c3ed6200811f1911f1b21ca420f1c2697ec6/trackerlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 23974, 12, 2649, 16, 2756, 16, 1084, 4672, 1668, 273, 3536, 1350, 17, 559, 30, 955, 19, 2620, 31, 9999, 33, 5159, 17, 28, 225, 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, 787, 23974, 12, 2649, 16, 2756, 16, 1084, 4672, 1668, 273, 3536, 1350, 17, 559, 30, 955, 19, 2620, 31, 9999, 33, 5159, 17, 28, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
def _closebug(self,id): raise NotImplementedError
def _closebug(self,id): #closeBug($bugid, $new_resolution, $username, $password, $dupeid, $new_fixed_in, $comment, $isprivate) # if new_resolution is 'DUPLICATE', dupeid is not optional # new_fixed_id, comment, isprivate are optional raise NotImplementedError
608e2d464b32d549711311bf41f426593588e314 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5050/608e2d464b32d549711311bf41f426593588e314/bugzilla.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4412, 925, 12, 2890, 16, 350, 4672, 468, 4412, 19865, 4372, 925, 350, 16, 271, 2704, 67, 19182, 16, 271, 5053, 16, 271, 3664, 16, 271, 2544, 347, 350, 16, 271, 2704, 67, 12429, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4412, 925, 12, 2890, 16, 350, 4672, 468, 4412, 19865, 4372, 925, 350, 16, 271, 2704, 67, 19182, 16, 271, 5053, 16, 271, 3664, 16, 271, 2544, 347, 350, 16, 271, 2704, 67, 12429, ...
rawInterval = rawRange / min(self.maximumTicks-1,(float(self._length)/self.minimumTickSpacing ))
rawInterval = rawRange / min(float(self.maximumTicks-1),(float(self._length)/self.minimumTickSpacing ))
def _calcValueStep(self): '''Calculate _valueStep for the axis or get from valueStep.'''
9460baf00f97eabd655c4b1a6f12708c0989b26c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/9460baf00f97eabd655c4b1a6f12708c0989b26c/axes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12448, 620, 4160, 12, 2890, 4672, 9163, 8695, 389, 1132, 4160, 364, 326, 2654, 578, 336, 628, 460, 4160, 1093, 6309, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12448, 620, 4160, 12, 2890, 4672, 9163, 8695, 389, 1132, 4160, 364, 326, 2654, 578, 336, 628, 460, 4160, 1093, 6309, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
if pathlist is None: self.path = sys.path else: self.path = pathlist
self.path = pathlist
def __init__(self, pathlist=None, importers=None, ownertypes=None): if pathlist is None: self.path = sys.path else: self.path = pathlist if ownertypes == None: self.ownertypes = _globalownertypes else: self.ownertypes = ownertypes if importers: self.shadowpath = importers else: self.shadowpath = {} self.inMakeOwner = 0...
8333ad55dfb1078d4abcb1b5bdce66d943854a7c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11925/8333ad55dfb1078d4abcb1b5bdce66d943854a7c/iu.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 589, 1098, 33, 7036, 16, 15198, 87, 33, 7036, 16, 4953, 1051, 989, 33, 7036, 4672, 365, 18, 803, 273, 589, 1098, 309, 4953, 1051, 989, 422, 599, 30, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 589, 1098, 33, 7036, 16, 15198, 87, 33, 7036, 16, 4953, 1051, 989, 33, 7036, 4672, 365, 18, 803, 273, 589, 1098, 309, 4953, 1051, 989, 422, 599, 30, 36...
pylab.semilogy(bin,entries,'o',linestyle='steps')
pylab.semilogy(bins,entries,'o',linestyle='steps')
def __triggerHistogramPrimative__(self,triggerTrait='p',colCount=50,statReport=False): """ This method plots a histogram of the triggers present in a trigger library and plots a reference lines mean 1std 2std 3std 4std 5std deviations (Gaussian). It takes two optional arguments, The number of bins to create Boolean fla...
c7a323ec87586a755b3708a14eda0066312e9f33 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5758/c7a323ec87586a755b3708a14eda0066312e9f33/tracksearchutils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 10668, 12874, 2050, 381, 1535, 972, 12, 2890, 16, 10668, 15525, 2218, 84, 2187, 1293, 1380, 33, 3361, 16, 5642, 4820, 33, 8381, 4672, 3536, 1220, 707, 17931, 279, 8892, 434, 326, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10668, 12874, 2050, 381, 1535, 972, 12, 2890, 16, 10668, 15525, 2218, 84, 2187, 1293, 1380, 33, 3361, 16, 5642, 4820, 33, 8381, 4672, 3536, 1220, 707, 17931, 279, 8892, 434, 326, 1...
dispatcher.ac_inactive = timeout dispatcher.ac_in_throttled = (dispatcher.recv, dispatcher.readable)
dispatcher.limit_inactive = timeout dispatcher.limit_recv = (dispatcher.recv, dispatcher.readable)
def limit_stream (dispatcher, interval, timeout, inBps, outBps): "meter and throttle stream I/O, schedule throttling" when = time.time () dispatcher.ac_inactive = timeout dispatcher.ac_in_throttled = (dispatcher.recv, dispatcher.readable) meter_recv (dispatcher, when) throttle_readable (dispatcher, when, inBps) dispatc...
b1b7fd498ec57d540d7fbb21ab485191bc441f98 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2577/b1b7fd498ec57d540d7fbb21ab485191bc441f98/async_limits.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1800, 67, 3256, 261, 18495, 16, 3673, 16, 2021, 16, 316, 38, 1121, 16, 596, 38, 1121, 4672, 315, 81, 847, 471, 18304, 1407, 467, 19, 51, 16, 4788, 30700, 6, 1347, 273, 813, 18, 957, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1800, 67, 3256, 261, 18495, 16, 3673, 16, 2021, 16, 316, 38, 1121, 16, 596, 38, 1121, 4672, 315, 81, 847, 471, 18304, 1407, 467, 19, 51, 16, 4788, 30700, 6, 1347, 273, 813, 18, 957, ...
self.arguments = args or []
self.arguments = [str(arg) for arg in args]
def __init__(self, executable, args, cwd=None): """Initialize the Commandline object. @param executable The name of the program to execute @param args A list of arguments to pass to the executable @param cwd The working directory to change to before executing the command """ self.executable = executable self.arguments...
2a8b9785afc5b1d516b0bdf507c8e4b986d266a0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4547/2a8b9785afc5b1d516b0bdf507c8e4b986d266a0/cmdline.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 9070, 16, 833, 16, 7239, 33, 7036, 4672, 3536, 7520, 326, 3498, 1369, 733, 18, 225, 632, 891, 9070, 1021, 508, 434, 326, 5402, 358, 1836, 632, 891, 833, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9070, 16, 833, 16, 7239, 33, 7036, 4672, 3536, 7520, 326, 3498, 1369, 733, 18, 225, 632, 891, 9070, 1021, 508, 434, 326, 5402, 358, 1836, 632, 891, 833, ...
summary_doc = self.document.copy() summary_doc[:] = summary_pieces
summary_doc = self.document.copy() summary_para = node.copy() summary_doc[:] = [summary_para] summary_para[:] = summary_pieces
def visit_paragraph(self, node): if self.summary is not None: return
6c42e13082472c91f32da8dfd225b817db405e3a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/6c42e13082472c91f32da8dfd225b817db405e3a/restructuredtext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 22445, 12, 2890, 16, 756, 4672, 309, 365, 18, 7687, 353, 486, 599, 30, 327, 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, 3757, 67, 22445, 12, 2890, 16, 756, 4672, 309, 365, 18, 7687, 353, 486, 599, 30, 327, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
finally: fileobj.close() os.unlink(name)
def test_read_dict_no_fieldnames(self): fd, name = tempfile.mkstemp() fileobj = os.fdopen(fd, "w+b") try: fileobj.write("f1,f2,f3\r\n1,2,abc\r\n") fileobj.seek(0) reader = csv.DictReader(fileobj) self.assertEqual(next(reader), {"f1": '1', "f2": '2', "f3": 'abc'}) finally: fileobj.close() os.unlink(name)
02b1d9a951b66534b2fd77809400d61c745873e5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3187/02b1d9a951b66534b2fd77809400d61c745873e5/test_csv.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 896, 67, 1576, 67, 2135, 67, 1518, 1973, 12, 2890, 4672, 5194, 16, 508, 273, 13275, 18, 24816, 19781, 84, 1435, 17041, 273, 1140, 18, 8313, 3190, 12, 8313, 16, 315, 91, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 896, 67, 1576, 67, 2135, 67, 1518, 1973, 12, 2890, 4672, 5194, 16, 508, 273, 13275, 18, 24816, 19781, 84, 1435, 17041, 273, 1140, 18, 8313, 3190, 12, 8313, 16, 315, 91, 15, ...
chownself(path)
if sudo_mode(): chownself(path)
def makedirs(path): """Make directory recursively considering sudo permissions. 'Path' should not end in a delimiter.""" print "debug: makedirs(%s)" % path if os.path.lexists(path): return parentdir = os.path.split(path)[0] if not os.path.lexists(parentdir): makedirs(parentdir) os.mkdir(path, 0700) chownself(path)
c7fb8cace357c49fc79c80ccabe5ca20474097e8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7853/c7fb8cace357c49fc79c80ccabe5ca20474097e8/General.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12151, 12, 803, 4672, 3536, 6464, 1867, 8536, 24453, 14669, 4371, 18, 296, 743, 11, 1410, 486, 679, 316, 279, 5654, 12123, 1172, 315, 4148, 30, 12151, 9275, 87, 2225, 738, 589, 309, 1140...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12151, 12, 803, 4672, 3536, 6464, 1867, 8536, 24453, 14669, 4371, 18, 296, 743, 11, 1410, 486, 679, 316, 279, 5654, 12123, 1172, 315, 4148, 30, 12151, 9275, 87, 2225, 738, 589, 309, 1140...
if not fetched: return False
if not fetched or fetched.getStatus() == FAILED: return False
def fetch(self, fetcher, progress):
646fa97dafe7b015ec982700be51decd618864a8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8317/646fa97dafe7b015ec982700be51decd618864a8/yast2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2158, 12, 2890, 16, 20521, 16, 4007, 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, 2158, 12, 2890, 16, 20521, 16, 4007, 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...
$S$.
`S`.
def __init__(self, *args, **kwargs): """ Construct a substitution box (S-box) for a given lookup table $S$.
dd81b4a97db8b232434d8623d237dba45e418834 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/dd81b4a97db8b232434d8623d237dba45e418834/sbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 16, 225, 2826, 4333, 4672, 3536, 14291, 279, 12785, 3919, 261, 55, 17, 2147, 13, 364, 279, 864, 3689, 1014, 271, 55, 8, 18, 2, 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, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 16, 225, 2826, 4333, 4672, 3536, 14291, 279, 12785, 3919, 261, 55, 17, 2147, 13, 364, 279, 864, 3689, 1014, 271, 55, 8, 18, 2, -100, -100, -...
self.attributeCountCombo = OWGUI.comboBox(self.buttonBox, self, "attributeCount", items = range(3, 100), tooltip = "Evaluate only projections with exactly (or maximum) this number of attributes", sendSelectedValue = 1, valueType = int)
self.attributeCountCombo = OWGUI.comboBox(self.buttonBox, self, "attributeCount", items = range(3, 20), tooltip = "Evaluate only projections with exactly (or maximum) this number of attributes", sendSelectedValue = 1, valueType = int, debuggingEnabled = 0)
def __init__(self, parentWidget = None, signalManager = None, graph = None, visualizationMethod = SCATTERPLOT, parentName = "Visualization widget"): VizRank.__init__(self, visualizationMethod, graph) OWBaseWidget.__init__(self, None, signalManager, "Optimization Dialog")
0e455036d7905fe252ea1c33a7b2b3eb0f3b722a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/0e455036d7905fe252ea1c33a7b2b3eb0f3b722a/OWkNNOptimization.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 4609, 273, 599, 16, 4277, 1318, 273, 599, 16, 2667, 273, 599, 16, 30056, 1305, 273, 8795, 789, 2560, 20485, 56, 16, 26119, 273, 315, 25780, 1588, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 982, 4609, 273, 599, 16, 4277, 1318, 273, 599, 16, 2667, 273, 599, 16, 30056, 1305, 273, 8795, 789, 2560, 20485, 56, 16, 26119, 273, 315, 25780, 1588, 36...
We can change the interpolation type
We can change the interpolation type.
def list_plot3d(v, interpolation_type='default', texture="automatic", point_list=None,**kwds): """ A 3-dimensional plot of a surface defined by the list $v$ of points in 3-dimensional space. INPUT: v -- something that defines a set of points in 3 space, for example: * a matrix * a list of 3-tuples * a list of lists (a...
fa2b506f18cc0b9ea9ece1d8b4480686c054f008 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/fa2b506f18cc0b9ea9ece1d8b4480686c054f008/list_plot3d.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 666, 67, 4032, 23, 72, 12, 90, 16, 12851, 67, 723, 2218, 1886, 2187, 11428, 1546, 5854, 4941, 3113, 1634, 67, 1098, 33, 7036, 16, 636, 25577, 4672, 3536, 432, 890, 17, 31236, 3207, 434...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 666, 67, 4032, 23, 72, 12, 90, 16, 12851, 67, 723, 2218, 1886, 2187, 11428, 1546, 5854, 4941, 3113, 1634, 67, 1098, 33, 7036, 16, 636, 25577, 4672, 3536, 432, 890, 17, 31236, 3207, 434...
subs['pepnum'] = pepnum
subs['pepnum'] = self.pepnum
def interpolation_dict(self): subs = html4css1.Writer.interpolation_dict(self) settings = self.document.settings pyhome = settings.python_home subs['pyhome'] = pyhome subs['pephome'] = settings.pep_home if pyhome == '..': subs['pepindex'] = '.' else: subs['pepindex'] = pyhome + '/dev/peps' index = self.document.first_c...
ab564b94752831465ff705dba7abe508df3b3d9e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1278/ab564b94752831465ff705dba7abe508df3b3d9e/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12851, 67, 1576, 12, 2890, 4672, 11630, 273, 1729, 24, 5212, 21, 18, 2289, 18, 18676, 367, 67, 1576, 12, 2890, 13, 1947, 273, 365, 18, 5457, 18, 4272, 2395, 8712, 273, 1947, 18, 8103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12851, 67, 1576, 12, 2890, 4672, 11630, 273, 1729, 24, 5212, 21, 18, 2289, 18, 18676, 367, 67, 1576, 12, 2890, 13, 1947, 273, 365, 18, 5457, 18, 4272, 2395, 8712, 273, 1947, 18, 8103, ...
print 'NS decl:\n\t', prefix, uri
print 'NS decl:\n\t', prefix, uri
def StartNamespaceDeclHandler(self, prefix, uri):
b7b7c8b86da0abbf3e1f9479a65bd9b3904e1eaa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/b7b7c8b86da0abbf3e1f9479a65bd9b3904e1eaa/test_pyexpat.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3603, 3402, 3456, 1503, 12, 2890, 16, 1633, 16, 2003, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3603, 3402, 3456, 1503, 12, 2890, 16, 1633, 16, 2003, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
if item[0] == "rawtext":
opcode = item[0] if opcode == "rawtext":
def optimize(self, program): output = [] collect = [] rawseen = cursor = 0 if self.xml: endsep = "/>" else: endsep = " />" for cursor in xrange(len(program)+1): try: item = program[cursor] except IndexError: item = (None, None) if item[0] == "rawtext": collect.append(item[1]) continue if item[0] == "endTag": collect.ap...
45a7376583da35fdbc58ca1ef690df2197afce08 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/45a7376583da35fdbc58ca1ef690df2197afce08/TALGenerator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10979, 12, 2890, 16, 5402, 4672, 876, 273, 5378, 3274, 273, 5378, 1831, 15156, 273, 3347, 273, 374, 309, 365, 18, 2902, 30, 679, 10814, 273, 2206, 2984, 469, 30, 679, 10814, 273, 315, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10979, 12, 2890, 16, 5402, 4672, 876, 273, 5378, 3274, 273, 5378, 1831, 15156, 273, 3347, 273, 374, 309, 365, 18, 2902, 30, 679, 10814, 273, 2206, 2984, 469, 30, 679, 10814, 273, 315, ...
"""Lock file f using lockf, flock, and dot locking."""
"""Lock file f using lockf and dot locking."""
def _lock_file(f, dotlock=True): """Lock file f using lockf, flock, and dot locking.""" dotlock_done = False try: if fcntl: try: fcntl.lockf(f, fcntl.LOCK_EX | fcntl.LOCK_NB) except IOError, e: if e.errno == errno.EAGAIN: raise ExternalClashError('lockf: lock unavailable: %s' % f.name) else: raise try: fcntl.flock(f, f...
0baa9870db1202976e8da7dd1a48a4de39a2926f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/0baa9870db1202976e8da7dd1a48a4de39a2926f/mailbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 739, 67, 768, 12, 74, 16, 3928, 739, 33, 5510, 4672, 3536, 2531, 585, 284, 1450, 2176, 74, 471, 3928, 18887, 12123, 3928, 739, 67, 8734, 273, 1083, 775, 30, 309, 30894, 30, 775, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 739, 67, 768, 12, 74, 16, 3928, 739, 33, 5510, 4672, 3536, 2531, 585, 284, 1450, 2176, 74, 471, 3928, 18887, 12123, 3928, 739, 67, 8734, 273, 1083, 775, 30, 309, 30894, 30, 775, ...
At this point, a notebook cell containing "%latex" on the first line followed on the next line by "$\Ext_A^*(\GF{2}, \GF{2}) \Rightarrow \pi_*^s*(S^0)$"
At this point, a notebook cell containing :: %latex $\Ext_A^*(\GF{2}, \GF{2}) \Rightarrow \pi_*^s*(S^0)$
def add_to_preamble(self, s): r"""nodetex Append to the string of extra LaTeX macros, for use with %latex. Anything in this string won't be processed by %jsmath.
515ddb45e0c7eff3bcdd26a42063a2b36902fb5a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/515ddb45e0c7eff3bcdd26a42063a2b36902fb5a/latex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 869, 67, 84, 793, 7119, 12, 2890, 16, 272, 4672, 436, 8395, 19888, 278, 338, 6181, 358, 326, 533, 434, 2870, 21072, 21575, 60, 24302, 16, 364, 999, 598, 738, 26264, 18, 225, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 869, 67, 84, 793, 7119, 12, 2890, 16, 272, 4672, 436, 8395, 19888, 278, 338, 6181, 358, 326, 533, 434, 2870, 21072, 21575, 60, 24302, 16, 364, 999, 598, 738, 26264, 18, 225, ...
else : libs = [libname] + libs
def gcc_module_compile_str(module_name, src_code, location=None, include_dirs=[], lib_dirs=[], libs=[], preargs=[]): """ :param module_name: string (this has been embedded in the src_code :param src_code: a complete c or c++ source listing for the module :param location: a pre-existing filesystem directory where the cp...
0097711cdb413b7257c0116ad47b3b0023d0a062 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/0097711cdb413b7257c0116ad47b3b0023d0a062/cmodule.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 314, 952, 67, 2978, 67, 11100, 67, 701, 12, 2978, 67, 529, 16, 1705, 67, 710, 16, 2117, 33, 7036, 16, 2341, 67, 8291, 22850, 6487, 2561, 67, 8291, 22850, 6487, 15042, 22850, 6487, 675,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 314, 952, 67, 2978, 67, 11100, 67, 701, 12, 2978, 67, 529, 16, 1705, 67, 710, 16, 2117, 33, 7036, 16, 2341, 67, 8291, 22850, 6487, 2561, 67, 8291, 22850, 6487, 15042, 22850, 6487, 675,...
self.keep_newlines = False
self.keep_whitespace = False
def __init__(self, initial_indent=0, max_width=WIDTH, collect_urls=False, ignore_relative_urls=True): self.collect_urls = collect_urls self.ignore_relative_urls = ignore_relative_urls self.links = [] self.result = UniStringIO()
24a56bc4383329a9f70bcb7c1b9d38801ec84e26 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12815/24a56bc4383329a9f70bcb7c1b9d38801ec84e26/zeml.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2172, 67, 9355, 33, 20, 16, 943, 67, 2819, 33, 10023, 16, 3274, 67, 10518, 33, 8381, 16, 2305, 67, 11626, 67, 10518, 33, 5510, 4672, 365, 18, 14676, 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, 1001, 2738, 972, 12, 2890, 16, 2172, 67, 9355, 33, 20, 16, 943, 67, 2819, 33, 10023, 16, 3274, 67, 10518, 33, 8381, 16, 2305, 67, 11626, 67, 10518, 33, 5510, 4672, 365, 18, 14676, 67...
for image_url in parser_output_zpt.image_urls:
for image_url in image_urls:
def send(self, recipients=[]): """Sends the newsletter. An optional list of dicts (keys=fullname|mail) can be passed in for sending a newsletter out addresses != subscribers. """
671c6517ebd848deb10a820a9156b8746ace9455 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5110/671c6517ebd848deb10a820a9156b8746ace9455/ENLIssue.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 12, 2890, 16, 12045, 33, 8526, 4672, 3536, 10501, 326, 14783, 13449, 18, 1922, 3129, 666, 434, 15838, 261, 2452, 33, 21885, 96, 4408, 13, 848, 506, 2275, 316, 364, 5431, 279, 14783...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1366, 12, 2890, 16, 12045, 33, 8526, 4672, 3536, 10501, 326, 14783, 13449, 18, 1922, 3129, 666, 434, 15838, 261, 2452, 33, 21885, 96, 4408, 13, 848, 506, 2275, 316, 364, 5431, 279, 14783...