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
cr.execute(("select sum(debit-credit) from account_move_line l where account_id=%d and partner_id=%d and reconcile_id is null and "+query), (acc, id))
cr.execute("select sum(debit-credit) from account_move_line as l where account_id in (select id from account_account where type = %s) and partner_id=%d and reconcile_id is null and "+query, ('receivable', id))
def _credit_get(self, cr, uid, ids, name, arg, context): res={} for partner in self.browse(cr, uid, ids, context): id = partner.id if not partner.property_account_receivable: res[id] = 0.0 continue acc = partner.property_account_receivable[0] query = self.pool.get('account.move.line')._query_get(cr, uid, context=contex...
619c7ed206b97cbc7ef9b3f3975712615d388c75 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7397/619c7ed206b97cbc7ef9b3f3975712615d388c75/partner.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 20688, 67, 588, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 508, 16, 1501, 16, 819, 4672, 400, 12938, 364, 19170, 316, 365, 18, 25731, 12, 3353, 16, 4555, 16, 3258, 16, 819, 467...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 20688, 67, 588, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 508, 16, 1501, 16, 819, 4672, 400, 12938, 364, 19170, 316, 365, 18, 25731, 12, 3353, 16, 4555, 16, 3258, 16, 819, 467...
libraries = ["ginac"]), \
libraries = ["pynac"]), \
def is_newer(file1, file2): """ Return True if either file2 does not exist or is older than file1. If file1 does not exist, always return False. """ if not os.path.exists(file1): return False if not os.path.exists(file2): return True if os.path.getmtime(file2) < os.path.getmtime(file1): return True return False
d061a18049c744ede72cc1e15956b57c439fa97f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/d061a18049c744ede72cc1e15956b57c439fa97f/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 2704, 264, 12, 768, 21, 16, 585, 22, 4672, 3536, 2000, 1053, 309, 3344, 585, 22, 1552, 486, 1005, 578, 353, 12156, 2353, 585, 21, 18, 225, 971, 585, 21, 1552, 486, 1005, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 2704, 264, 12, 768, 21, 16, 585, 22, 4672, 3536, 2000, 1053, 309, 3344, 585, 22, 1552, 486, 1005, 578, 353, 12156, 2353, 585, 21, 18, 225, 971, 585, 21, 1552, 486, 1005, 16,...
script.write('''
script.write(r'''
def installCygwinPostinstallScript(path): ''' Install lyx.sh ''' postinstall_script = os.path.join(path, 'lyx.sh') script = open(postinstall_script, 'w') script.write('''#!/bin/sh
145c4d9afef7ef533d432ae64f3b4568ea906914 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7514/145c4d9afef7ef533d432ae64f3b4568ea906914/scons_utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3799, 39, 4338, 8082, 3349, 5425, 3651, 12, 803, 4672, 9163, 10284, 18519, 92, 18, 674, 9163, 1603, 5425, 67, 4263, 273, 1140, 18, 803, 18, 5701, 12, 803, 16, 296, 715, 92, 18, 674, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3799, 39, 4338, 8082, 3349, 5425, 3651, 12, 803, 4672, 9163, 10284, 18519, 92, 18, 674, 9163, 1603, 5425, 67, 4263, 273, 1140, 18, 803, 18, 5701, 12, 803, 16, 296, 715, 92, 18, 674, ...
use_threadpool=True, threadpool_workers=10,
use_threadpool=False, threadpool_workers=10,
def serve(application, host=None, port=None, handler=None, ssl_pem=None, ssl_context=None, server_version=None, protocol_version=None, start_loop=True, daemon_threads=None, socket_timeout=None, use_threadpool=True, threadpool_workers=10, threadpool_options=None): """ Serves your ``application`` over HTTP(S) via WSGI in...
0a91d7bab1d2b94a422c77cf0294b453090d3b4a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11400/0a91d7bab1d2b94a422c77cf0294b453090d3b4a/httpserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12175, 12, 3685, 16, 1479, 33, 7036, 16, 1756, 33, 7036, 16, 1838, 33, 7036, 16, 5832, 67, 20313, 33, 7036, 16, 5832, 67, 2472, 33, 7036, 16, 1438, 67, 1589, 33, 7036, 16, 1771, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12175, 12, 3685, 16, 1479, 33, 7036, 16, 1756, 33, 7036, 16, 1838, 33, 7036, 16, 5832, 67, 20313, 33, 7036, 16, 5832, 67, 2472, 33, 7036, 16, 1438, 67, 1589, 33, 7036, 16, 1771, 67, ...
return data
return data
def getSampleTOCData(depth=3): """Returns a longish block of page numbers and headings over 3 levels""" from random import randint pgNum = 2 data = [] for chapter in range(1,8): data.append(0, """Chapter %d with a really long name which will hopefully wrap onto a second line, fnding out if the right things happen with ...
3a22afced413e2d4edb74ba12a3b2489da70a8aa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/3a22afced413e2d4edb74ba12a3b2489da70a8aa/tocindex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26078, 4296, 39, 751, 12, 5979, 33, 23, 4672, 3536, 1356, 279, 1525, 1468, 1203, 434, 1363, 5600, 471, 910, 899, 1879, 890, 7575, 8395, 628, 2744, 1930, 16783, 7184, 2578, 273, 576, 501,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26078, 4296, 39, 751, 12, 5979, 33, 23, 4672, 3536, 1356, 279, 1525, 1468, 1203, 434, 1363, 5600, 471, 910, 899, 1879, 890, 7575, 8395, 628, 2744, 1930, 16783, 7184, 2578, 273, 576, 501,...
self.numerator.array = numpy.where(self.denominator.array, self.numerator.array, epsilon) self.denominator.array = numpy.where(self.denominator.array, self.denominator.array, 1)
self.numerator.array[self.denominator.array == 0] = epsilon self.denominator.array[self.denominator.array == 0] = 1
def logregularize(self, epsilon = 2**-1074): """ Find bins in the denominator that are 0, and set them to 1, while setting the corresponding bin in the numerator to float epsilon. This has the effect of allowing the logarithm of the ratio array to be evaluated without error. """ # FIXME: assign to contents instead sel...
bc865ea0fd2c64e2ed5ec9ea056406d8ec6e3136 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3592/bc865ea0fd2c64e2ed5ec9ea056406d8ec6e3136/rate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 613, 16819, 554, 12, 2890, 16, 12263, 273, 576, 636, 17, 2163, 5608, 4672, 3536, 4163, 8963, 316, 326, 15030, 716, 854, 374, 16, 471, 444, 2182, 358, 404, 16, 1323, 3637, 326, 4656, 41...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 613, 16819, 554, 12, 2890, 16, 12263, 273, 576, 636, 17, 2163, 5608, 4672, 3536, 4163, 8963, 316, 326, 15030, 716, 854, 374, 16, 471, 444, 2182, 358, 404, 16, 1323, 3637, 326, 4656, 41...
elif type == "EndTag": preserve = False
elif type == "EndTag" and preserve: preserve -= 1
def __iter__(self): preserve = False for token in _base.Filter.__iter__(self): type = token["type"] if not preserve and type == "StartTag" \ and token["name"] in self.spacePreserveElements: preserve = True
c6fafd977a7cf98126eb34fe207f44e09cb09e3d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10463/c6fafd977a7cf98126eb34fe207f44e09cb09e3d/whitespace.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2165, 972, 12, 2890, 4672, 9420, 273, 1083, 364, 1147, 316, 389, 1969, 18, 1586, 16186, 2165, 972, 12, 2890, 4672, 618, 273, 1147, 9614, 723, 11929, 309, 486, 9420, 471, 618, 422, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2165, 972, 12, 2890, 4672, 9420, 273, 1083, 364, 1147, 316, 389, 1969, 18, 1586, 16186, 2165, 972, 12, 2890, 4672, 618, 273, 1147, 9614, 723, 11929, 309, 486, 9420, 471, 618, 422, ...
res_ata = self.cr.dictfetchall()
res_cert = self.cr.dictfetchall() self.cr.execute("select t.section, count(t.id) as no_certi, sum(d.goods_value) as no_goods, \ sum(l.total) as total_sub, d.type_id, t.name \ from cci_missions_dossier as d,cci_missions_dossier_type as t, cci_missions_legalization as l \ where l.dossier_id = d.id and d.type_id=t.id ...
def _get_missions_states(self, d1, d2): self.cr.execute("select t.section, count(t.id) as no_certi, sum(goods_value) as no_goods, \ sum(sub_total) as total_sub, type_id, t.name \ from cci_missions_dossier as d,cci_missions_dossier_type as t \ where d.type_id=t.id and ( t.create_date BETWEEN '%s' AND '%s' )\ group b...
9f092a99a526fdd09f626e0c2a44007c857cb559 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7339/9f092a99a526fdd09f626e0c2a44007c857cb559/stats_mission_type.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 7300, 67, 7992, 12, 2890, 16, 302, 21, 16, 302, 22, 4672, 365, 18, 3353, 18, 8837, 2932, 4025, 268, 18, 3464, 16, 1056, 12, 88, 18, 350, 13, 487, 1158, 67, 7593, 77, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 7300, 67, 7992, 12, 2890, 16, 302, 21, 16, 302, 22, 4672, 365, 18, 3353, 18, 8837, 2932, 4025, 268, 18, 3464, 16, 1056, 12, 88, 18, 350, 13, 487, 1158, 67, 7593, 77, ...
elif (os.path.isfile(source_file)
elif (op.isfile(source_file)
def write_dispatcher(self, source_file, target_file): reg = self._dispatcher_registry.setdefault(target_file, source_file) if (reg != source_file): if (not os.path.isfile(reg)): self._dispatcher_registry[target_file] = source_file elif (os.path.isfile(source_file) and ( not hasattr(os.path, "samefile") or not os.path...
621ff93ea6f104ac4c6d943d7e9d6c18b1468502 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/696/621ff93ea6f104ac4c6d943d7e9d6c18b1468502/env_config.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 18495, 12, 2890, 16, 1084, 67, 768, 16, 1018, 67, 768, 4672, 960, 273, 365, 6315, 18495, 67, 9893, 18, 542, 1886, 12, 3299, 67, 768, 16, 1084, 67, 768, 13, 309, 261, 1574, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 18495, 12, 2890, 16, 1084, 67, 768, 16, 1018, 67, 768, 4672, 960, 273, 365, 6315, 18495, 67, 9893, 18, 542, 1886, 12, 3299, 67, 768, 16, 1084, 67, 768, 13, 309, 261, 1574, ...
def __init__(self, order=None, params=None,
def __init__(self, order, params=None,
def __init__(self, order=None, params=None, xmin=-1., xmax=1., ooimode='constant', dtype=0): modes = "constant zeroth extrapolate cyclic edge".split() if not ooimode in modes: raise ValueError("Unrecognized ooimode") mode = {'interval': [float(xmin),float(xmax)], 'intervalMode': ooimode, 'default': float(0.0) }; functi...
181fc45332a548d05739eb951d6b72074ad435a8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7472/181fc45332a548d05739eb951d6b72074ad435a8/functional.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1353, 16, 859, 33, 7036, 16, 13777, 29711, 21, 12990, 14016, 33, 21, 12990, 320, 83, 381, 390, 2218, 14384, 2187, 3182, 33, 20, 4672, 12382, 273, 315, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1353, 16, 859, 33, 7036, 16, 13777, 29711, 21, 12990, 14016, 33, 21, 12990, 320, 83, 381, 390, 2218, 14384, 2187, 3182, 33, 20, 4672, 12382, 273, 315, 14...
label = "Import material from the Crystallography Open Database", id = self.experiment_id), director.cgihome)] p.text += [action_href(actionRequireAuthentication(
label = "Import material from the Crystallography Open Database<br>", id = self.inventory.id ), director.cgihome)] p.text += [action_link(actionRequireAuthentication(
def create_new_sample(self, director): try: page = director.retrieveSecurePage( 'neutronexperimentwizard' ) except AuthenticationError, err: return err.page
e9fbac8f71b9f6b8c6aa9f36455c6a2d106f7f16 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/578/e9fbac8f71b9f6b8c6aa9f36455c6a2d106f7f16/NeutronExperimentWizard.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 2704, 67, 6358, 12, 2890, 16, 2657, 280, 4672, 775, 30, 1363, 273, 2657, 280, 18, 17466, 12834, 1964, 12, 296, 4644, 14566, 265, 18142, 31837, 11, 262, 1335, 8665, 668, 16, 39...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 752, 67, 2704, 67, 6358, 12, 2890, 16, 2657, 280, 4672, 775, 30, 1363, 273, 2657, 280, 18, 17466, 12834, 1964, 12, 296, 4644, 14566, 265, 18142, 31837, 11, 262, 1335, 8665, 668, 16, 39...
scattering_type = eltbx.xray_scattering.it1992( scattering_type, exact_scattering_type).label()
scattering_type = eltbx.xray_scattering.get_standard_label( label=scattering_type, exact=exact_scattering_type)
def extract_xray_structure(self, special_position_settings=None, crystal_symmetry=None, force_symmetry=False, sites_cart=None, sites_frac=None, site_symmetry_table=None, scattering_types=None, infer_scattering_types_from_names=False, unknown_scattering_type_substitute=None): assert sites_cart is None or sites_frac is N...
25c5a305bd4bb7ef1d3f285273942c6f32e9b91d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/696/25c5a305bd4bb7ef1d3f285273942c6f32e9b91d/interpretation.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 67, 92, 435, 67, 7627, 12, 2890, 16, 4582, 67, 3276, 67, 4272, 33, 7036, 16, 4422, 31365, 67, 8117, 18042, 33, 7036, 16, 2944, 67, 8117, 18042, 33, 8381, 16, 9180, 67, 11848, 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, 2608, 67, 92, 435, 67, 7627, 12, 2890, 16, 4582, 67, 3276, 67, 4272, 33, 7036, 16, 4422, 31365, 67, 8117, 18042, 33, 7036, 16, 2944, 67, 8117, 18042, 33, 8381, 16, 9180, 67, 11848, 3...
'''Delete row from chunk table by id'''
'''Delete row from chunk table by id'''
def chunk_delete_id(self, chunk_id):
1529a2b14e10f76cb017262bcf3aee397a2818f2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8549/1529a2b14e10f76cb017262bcf3aee397a2818f2/dvr-recover.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2441, 67, 3733, 67, 350, 12, 2890, 16, 2441, 67, 350, 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, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2441, 67, 3733, 67, 350, 12, 2890, 16, 2441, 67, 350, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
except:
except KeyError:
def accept_drop(self, table_view, model, type, source_actions, parent, position, data): if (type in ('feed', 'feed-with-folder') and self.tablist == app.tab_list_manager.audio_feed_list): source_tablist = app.tab_list_manager.feed_list dest_tablist = self.tablist elif (type in ('audio-feed', 'audio-feed-with-folder') a...
bc94056163a1721db746c32c79c104aed06ef672 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12354/bc94056163a1721db746c32c79c104aed06ef672/tablist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2791, 67, 7285, 12, 2890, 16, 1014, 67, 1945, 16, 938, 16, 618, 16, 1084, 67, 4905, 16, 982, 16, 1754, 16, 501, 4672, 309, 261, 723, 316, 7707, 7848, 2187, 296, 7848, 17, 1918, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2791, 67, 7285, 12, 2890, 16, 1014, 67, 1945, 16, 938, 16, 618, 16, 1084, 67, 4905, 16, 982, 16, 1754, 16, 501, 4672, 309, 261, 723, 316, 7707, 7848, 2187, 296, 7848, 17, 1918, 17, ...
self.dataMin = None self.dataMax = None
def __init__(self, master,
4e35e7dfcacf352e70e7e9ef698593a84d740a52 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6354/4e35e7dfcacf352e70e7e9ef698593a84d740a52/GrayImageDispWdg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4171, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4171, 16, 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, ...
print "set field" print repr(newdata) print mutator
def checklink(match): matched = match.group(0) newlink = link = match.group('href') classification, uid, relpath, tail = self.classifyLink(link, base)
877e6dc1e1a56805e9f55bed9cf08b4b829b9a9a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10193/877e6dc1e1a56805e9f55bed9cf08b4b829b9a9a/html2captioned.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 1232, 12, 1916, 4672, 4847, 273, 845, 18, 1655, 12, 20, 13, 394, 1232, 273, 1692, 273, 845, 18, 1655, 2668, 7547, 6134, 13804, 16, 4555, 16, 14614, 16, 5798, 273, 365, 18, 1106, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 866, 1232, 12, 1916, 4672, 4847, 273, 845, 18, 1655, 12, 20, 13, 394, 1232, 273, 1692, 273, 845, 18, 1655, 2668, 7547, 6134, 13804, 16, 4555, 16, 14614, 16, 5798, 273, 365, 18, 1106, ...
sys.stdout.write("--> %s --- " % t.test_name)
def main(argv=None): if argv is None: args = sys.argv usage = "Usage: ./runtests.py [options]\n\n" + BIG_WARNING parser = optparse.OptionParser(usage=usage) parser.add_option("-l", "--list-tests", action="store_true", dest="list_tests", default=False, help="List tests instead of running them.") (options, args) = pars...
d2a3f2a7b5484a3e645c0010d6328c0b07fdebd1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6013/d2a3f2a7b5484a3e645c0010d6328c0b07fdebd1/runtests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 19485, 33, 7036, 4672, 309, 5261, 353, 599, 30, 833, 273, 2589, 18, 19485, 225, 4084, 273, 315, 5357, 30, 263, 19, 2681, 16341, 18, 2074, 306, 2116, 13944, 82, 64, 82, 6, 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, 2774, 12, 19485, 33, 7036, 4672, 309, 5261, 353, 599, 30, 833, 273, 2589, 18, 19485, 225, 4084, 273, 315, 5357, 30, 263, 19, 2681, 16341, 18, 2074, 306, 2116, 13944, 82, 64, 82, 6, 3...
nuconfig["nuauth_tls_cacert"] = cacert
nuconfig["nuauth_tls_cacert"] = '"%s"' % cacert
def setUp(self): nuconfig = NuauthConf()
47f3c2aac295ba64b00c7e5eac2a018245c72f69 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10929/47f3c2aac295ba64b00c7e5eac2a018245c72f69/test_cert_auth.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24292, 12, 2890, 4672, 9244, 1425, 273, 20123, 1944, 3976, 1435, 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, ...
[ 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, 24292, 12, 2890, 4672, 9244, 1425, 273, 20123, 1944, 3976, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.plist.CFBundleExecutable = self.name
def setup(self): if self.mainprogram is None and self.executable is None: raise TypeError, ("must specify either or both of " "'executable' and 'mainprogram'")
d9c5e6233902df9129b9a0b435bbc9340286cf5e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/d9c5e6233902df9129b9a0b435bbc9340286cf5e/bundlebuilder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 12, 2890, 4672, 309, 365, 18, 5254, 12890, 353, 599, 471, 365, 18, 17751, 353, 599, 30, 1002, 3580, 16, 7566, 11926, 4800, 3344, 578, 3937, 434, 315, 2491, 17751, 11, 471, 296, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3875, 12, 2890, 4672, 309, 365, 18, 5254, 12890, 353, 599, 471, 365, 18, 17751, 353, 599, 30, 1002, 3580, 16, 7566, 11926, 4800, 3344, 578, 3937, 434, 315, 2491, 17751, 11, 471, 296, 5...
for i in range(plot_points+1):
for i in range(plot_points):
def _call(self, funcs, xrange, parametric=False, polar=False, label='', **kwds): options = dict(self.options) for k, v in kwds.iteritems(): options[k] = v
d274024cc5c2eb3dc7cb77f27b21fc757fe9e529 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/d274024cc5c2eb3dc7cb77f27b21fc757fe9e529/plot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1991, 12, 2890, 16, 15630, 16, 12314, 16, 579, 1591, 33, 8381, 16, 24244, 33, 8381, 16, 1433, 2218, 2187, 2826, 25577, 4672, 702, 273, 2065, 12, 2890, 18, 2116, 13, 364, 417, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1991, 12, 2890, 16, 15630, 16, 12314, 16, 579, 1591, 33, 8381, 16, 24244, 33, 8381, 16, 1433, 2218, 2187, 2826, 25577, 4672, 702, 273, 2065, 12, 2890, 18, 2116, 13, 364, 417, 16, ...
if self.stream.readBytes(0, len(MarkerBlock.magic)) != MarkerBlock.magic:
magic = self.MAGIC if self.stream.readBytes(0, len(magic)) != magic:
def validate(self): if self.stream.readBytes(0, len(MarkerBlock.magic)) != MarkerBlock.magic: return "Invalid magic" return True
0b8280a0e33b5a86c9fcd19254d8217b392a5ba3 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9327/0b8280a0e33b5a86c9fcd19254d8217b392a5ba3/rar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1954, 12, 2890, 4672, 8146, 273, 365, 18, 49, 22247, 309, 365, 18, 3256, 18, 896, 2160, 12, 20, 16, 562, 12, 11179, 3719, 480, 8146, 30, 327, 315, 1941, 8146, 6, 327, 1053, 2, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1954, 12, 2890, 4672, 8146, 273, 365, 18, 49, 22247, 309, 365, 18, 3256, 18, 896, 2160, 12, 20, 16, 562, 12, 11179, 3719, 480, 8146, 30, 327, 315, 1941, 8146, 6, 327, 1053, 2, -100, ...
opt_name = string.translate(opt_name, longopt_xlate) val = getattr(self, opt_name)
if self.negative_opt.has_key(opt_name): opt_name = string.translate(self.negative_opt[opt_name], longopt_xlate) val = not getattr(self, opt_name) else: opt_name = string.translate(opt_name, longopt_xlate) val = getattr(self, opt_name)
def dump_dirs (self, msg): if DEBUG: from distutils.fancy_getopt import longopt_xlate print msg + ":" for opt in self.user_options: opt_name = opt[0] if opt_name[-1] == "=": opt_name = opt_name[0:-1] opt_name = string.translate(opt_name, longopt_xlate) val = getattr(self, opt_name) print " %s: %s" % (opt_name, val)
b91cfb90796ece14c534cec38f3210b2dea67cba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/b91cfb90796ece14c534cec38f3210b2dea67cba/install.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 67, 8291, 261, 2890, 16, 1234, 4672, 309, 6369, 30, 628, 2411, 5471, 18, 74, 12514, 67, 588, 3838, 1930, 1525, 3838, 67, 18402, 340, 1172, 1234, 397, 6153, 364, 2153, 316, 365, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 67, 8291, 261, 2890, 16, 1234, 4672, 309, 6369, 30, 628, 2411, 5471, 18, 74, 12514, 67, 588, 3838, 1930, 1525, 3838, 67, 18402, 340, 1172, 1234, 397, 6153, 364, 2153, 316, 365, 1...
optionflags=REPORT_NDIFF|ELLIPSIS
optionflags=REPORT_NDIFF|ELLIPSIS, module_relative=False,
def test_suite(): return unittest.TestSuite(( DocFileSuite( os.path.abspath(os.path.join(os.path.dirname(__file__),'..','..','..','README.txt')), optionflags=REPORT_NDIFF|ELLIPSIS ), ))
cfa447345337f148ec2a03b57a451c7d62bc216e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9869/cfa447345337f148ec2a03b57a451c7d62bc216e/tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 30676, 13332, 327, 2836, 3813, 18, 4709, 13587, 12443, 3521, 812, 13587, 12, 1140, 18, 803, 18, 5113, 803, 12, 538, 18, 803, 18, 5701, 12, 538, 18, 803, 18, 12287, 12, 972, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 30676, 13332, 327, 2836, 3813, 18, 4709, 13587, 12443, 3521, 812, 13587, 12, 1140, 18, 803, 18, 5113, 803, 12, 538, 18, 803, 18, 5701, 12, 538, 18, 803, 18, 12287, 12, 972, ...
gp.path = line[10:].rstrip()
gp.path = line[10:]
def readgitpatch(lr): """extract git-style metadata about patches from <patchname>""" # Filter patch for git information gp = None gitpatches = [] # Can have a git patch with only metadata, causing patch to complain dopatch = 0 lineno = 0 for line in lr: lineno += 1 if line.startswith('diff --git'): m = gitre.match(l...
be5497a5fc601c2dd2fa6a4688b100383b0f1202 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11312/be5497a5fc601c2dd2fa6a4688b100383b0f1202/patch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 6845, 2272, 12, 10826, 4672, 3536, 8004, 5071, 17, 4060, 1982, 2973, 16482, 628, 411, 2272, 529, 2984, 3660, 225, 468, 4008, 4729, 364, 5071, 1779, 4178, 273, 599, 5071, 30278, 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, 855, 6845, 2272, 12, 10826, 4672, 3536, 8004, 5071, 17, 4060, 1982, 2973, 16482, 628, 411, 2272, 529, 2984, 3660, 225, 468, 4008, 4729, 364, 5071, 1779, 4178, 273, 599, 5071, 30278, 273, ...
if gemtype == 'Unused': continue
def restoreItem(self, item): if item is None: return wasnocalc = self.nocalc self.nocalc = 1 itemtype = item.ActiveState if itemtype == 'player': self.PlayerMade.setChecked(1) self.showPlayerWidgets() typelist = list(TypeList) else: self.Drop.setChecked(1) self.showDropWidgets() typelist = list(DropTypeList) self.ItemL...
a7a1482adf6420f7ec7655d474d874c497851ff3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6671/a7a1482adf6420f7ec7655d474d874c497851ff3/ScWindow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5217, 1180, 12, 2890, 16, 761, 4672, 309, 761, 353, 599, 30, 327, 14487, 23735, 71, 273, 365, 18, 82, 23735, 71, 365, 18, 82, 23735, 71, 273, 404, 761, 723, 273, 761, 18, 3896, 1119,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5217, 1180, 12, 2890, 16, 761, 4672, 309, 761, 353, 599, 30, 327, 14487, 23735, 71, 273, 365, 18, 82, 23735, 71, 365, 18, 82, 23735, 71, 273, 404, 761, 723, 273, 761, 18, 3896, 1119,...
print "CreateViewWindow", prev, settings, browser, rect
print "FileSystemView.CreateViewWindow", prev, settings, browser, rect
def CreateViewWindow(self, prev, settings, browser, rect): print "CreateViewWindow", prev, settings, browser, rect self.cur_foldersettings = settings self.browser = browser self._CreateMainWindow(prev, settings, browser, rect) self._CreateChildWindow(prev) return self.hwnd
8216b30a77097d3b45747f427de06d488491eaca /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/992/8216b30a77097d3b45747f427de06d488491eaca/shell_view.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1788, 1767, 3829, 12, 2890, 16, 2807, 16, 1947, 16, 4748, 16, 4917, 4672, 1172, 315, 11785, 1767, 18, 1684, 1767, 3829, 3113, 2807, 16, 1947, 16, 4748, 16, 4917, 365, 18, 1397, 67, 160...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1788, 1767, 3829, 12, 2890, 16, 2807, 16, 1947, 16, 4748, 16, 4917, 4672, 1172, 315, 11785, 1767, 18, 1684, 1767, 3829, 3113, 2807, 16, 1947, 16, 4748, 16, 4917, 365, 18, 1397, 67, 160...
self.theLoggerWindowWindow.show_all() self.theLoggerWindow.update() else : self.theLoggerWindowWindow.hide()
if ( self.theLoggerWindow.getExist() == 0 ): self.theLoggerWindow = LoggerWindow.LoggerWindow( self.theSession , self ) self.theLoggerWindow.update() else: self.theLoggerWindow['LoggerWindow'].show_all() else: if ( self.theLoggerWindow.getExist() == 0 ): pass else: self.theLoggerWindow['LoggerW...
def toggleLoggerWindow( self, button_obj ):
e573789f2b94316412ecd7aa8c3fcc447f03df55 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/e573789f2b94316412ecd7aa8c3fcc447f03df55/MainWindow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10486, 3328, 3829, 12, 365, 16, 3568, 67, 2603, 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, ...
[ 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, 10486, 3328, 3829, 12, 365, 16, 3568, 67, 2603, 262, 30, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
for file in glob.iglob(os.path.expandvars('%SystemRoot\\Minidump\\*.dmp')):
for file in glob.iglob(os.path.expandvars('$windir\\Minidump\\*.dmp')):
def get_commands(self, option_id): # cache if 'posix' == os.name and 'cache' == option_id: dirname = os.path.expanduser("~/.cache/") for filename in children_in_directory(dirname, True): yield Command.Delete(filename)
cc4d7c323b32dc1bec50333652d586b266b89d80 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7853/cc4d7c323b32dc1bec50333652d586b266b89d80/Cleaner.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 7847, 12, 2890, 16, 1456, 67, 350, 4672, 468, 1247, 309, 296, 24463, 11, 422, 1140, 18, 529, 471, 296, 2493, 11, 422, 1456, 67, 350, 30, 4283, 273, 1140, 18, 803, 18, 12320,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 7847, 12, 2890, 16, 1456, 67, 350, 4672, 468, 1247, 309, 296, 24463, 11, 422, 1140, 18, 529, 471, 296, 2493, 11, 422, 1456, 67, 350, 30, 4283, 273, 1140, 18, 803, 18, 12320,...
if uid is not None: doc = self._docmap.get(uid, None) name = `uid`.split('.')[-1] str = ' '*depth + '<LI> <B>' str += self._uid_to_href(uid, name)+'</B>' if doc and doc.descr(): str += ': <I>' + self._summary(doc) + '</I>' str += '\n' if doc and doc.ispackage() and doc.modules(): str += ' '*depth + ' <UL>\n' modules =...
if uid is None: return '' doc = self._docmap.get(uid, None) name = `uid`.split('.')[-1] str = ' '*depth + '<li> <b>' str += self._uid_to_href(uid, name)+'</b>' if doc and doc.descr(): str += ': <i>' + self._summary(doc) + '</i>' str += '\n' if doc and doc.ispackage() and doc.modules(): str += ' '*depth + ' <ul>\n' mo...
def _module_tree_item(self, uid=None, depth=0): if uid is not None: doc = self._docmap.get(uid, None) name = `uid`.split('.')[-1] str = ' '*depth + '<LI> <B>' str += self._uid_to_href(uid, name)+'</B>' if doc and doc.descr(): str += ': <I>' + self._summary(doc) + '</I>' str += '\n' if doc and doc.ispackage() and doc.mo...
1b52b16120989cc834166571a9a1e9b8676d968f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/1b52b16120989cc834166571a9a1e9b8676d968f/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2978, 67, 3413, 67, 1726, 12, 2890, 16, 4555, 33, 7036, 16, 3598, 33, 20, 4672, 309, 4555, 353, 599, 30, 327, 875, 225, 997, 273, 365, 6315, 2434, 1458, 18, 588, 12, 1911, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2978, 67, 3413, 67, 1726, 12, 2890, 16, 4555, 33, 7036, 16, 3598, 33, 20, 4672, 309, 4555, 353, 599, 30, 327, 875, 225, 997, 273, 365, 6315, 2434, 1458, 18, 588, 12, 1911, 16, ...
buf = buf[:148] + "%06o\0" % chksum + buf[155:]
buf = buf[:-364] + "%06o\0" % chksum + buf[-357:]
def tobuf(self, posix=False): """Return a tar header block as a 512 byte string. """ parts = [ stn(self.name, 100), itn(self.mode & 07777, 8, posix), itn(self.uid, 8, posix), itn(self.gid, 8, posix), itn(self.size, 12, posix), itn(self.mtime, 12, posix), " ", # checksum field self.type, stn(self.linkname, 100), ...
46d1c177e7795bb80efefb14c12ab8864b4218e1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/46d1c177e7795bb80efefb14c12ab8864b4218e1/tarfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 4385, 12, 2890, 16, 16366, 33, 8381, 4672, 3536, 990, 279, 8232, 1446, 1203, 487, 279, 13908, 1160, 533, 18, 3536, 2140, 273, 306, 384, 82, 12, 2890, 18, 529, 16, 2130, 3631, 518,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 4385, 12, 2890, 16, 16366, 33, 8381, 4672, 3536, 990, 279, 8232, 1446, 1203, 487, 279, 13908, 1160, 533, 18, 3536, 2140, 273, 306, 384, 82, 12, 2890, 18, 529, 16, 2130, 3631, 518,...
oid=object._p_oid
oid = object._p_oid
def setstate(self, object): oid=object._p_oid
8f44f0fa4dea8b55bb647630f9a0187d2cf2b3c9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10048/8f44f0fa4dea8b55bb647630f9a0187d2cf2b3c9/Connection.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 2019, 12, 2890, 16, 733, 4672, 7764, 33, 1612, 6315, 84, 67, 839, 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, 444, 2019, 12, 2890, 16, 733, 4672, 7764, 33, 1612, 6315, 84, 67, 839, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
return this = flowables[0] if isinstance(this, KeepTogether): if hasattr(this, '_skipMeNextTime'): delattr(this, '_skipMeNextTime') return keepWithNext = ((hasattr(this, 'keepWithNext') and this.keepWithNext == 1) or (hasattr(this, 'style') and hasattr(this.style, 'keepWithNext') and this.style.keepWithNext == 1) ) ...
i = 0 n = len(flowables) while i<n and flowables[i].getKeepWithNext(): i = i + 1 if i: i = i + 1 K = KeepTogether(flowables[:i]) for f in K._flowables: f.keepWithNext = 0 del flowables[:i] flowables.insert(0,K)
def handle_keepWithNext(self, flowables): "implements keepWithNext" #disabled for now - will not work return this = flowables[0] if isinstance(this, KeepTogether): if hasattr(this, '_skipMeNextTime'): delattr(this, '_skipMeNextTime') return keepWithNext = ((hasattr(this, 'keepWithNext') and this.keepWithNext == 1) or...
6b017b578c60b0c89c5020387d61cb8b0f327edf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/6b017b578c60b0c89c5020387d61cb8b0f327edf/doctemplate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 67, 10102, 1190, 2134, 12, 2890, 16, 4693, 1538, 4672, 315, 17061, 3455, 1190, 2134, 6, 468, 9278, 364, 2037, 300, 903, 486, 1440, 327, 225, 333, 273, 4693, 1538, 63, 20, 65, 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, 1640, 67, 10102, 1190, 2134, 12, 2890, 16, 4693, 1538, 4672, 315, 17061, 3455, 1190, 2134, 6, 468, 9278, 364, 2037, 300, 903, 486, 1440, 327, 225, 333, 273, 4693, 1538, 63, 20, 65, 309...
uri = fileTag.getAttributeNS(None, 'uri')
uri = fileTag.getAttribute('uri')
def format_file(self, name, fileTag=None): """Given the short name of a file, and optionally its XML tag, return a Nouvelle-serializable representation. """ if fileTag:
a2d46d2f17bb91152ffbb89134cefa08c5d47beb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6757/a2d46d2f17bb91152ffbb89134cefa08c5d47beb/Commit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 67, 768, 12, 2890, 16, 508, 16, 585, 1805, 33, 7036, 4672, 3536, 6083, 326, 3025, 508, 434, 279, 585, 16, 471, 8771, 2097, 3167, 1047, 16, 327, 279, 423, 1395, 941, 298, 17, 881...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 740, 67, 768, 12, 2890, 16, 508, 16, 585, 1805, 33, 7036, 4672, 3536, 6083, 326, 3025, 508, 434, 279, 585, 16, 471, 8771, 2097, 3167, 1047, 16, 327, 279, 423, 1395, 941, 298, 17, 881...
Graph on 30 vertices
union( Dodecahedron, Petersen graph ): Graph on 30 vertices
def disjoint_union(self, other): """ Returns the disjoint union of self and other. If there are common vertices to both, they will be renamed. EXAMPLE: sage: D = graphs.DodecahedralGraph() sage: P = graphs.PetersenGraph() sage: D.disjoint_union(P) Graph on 30 vertices """ if (self.is_directed() and not other.is_dire...
b54583533bf5722e80f03aff4e8ce7cd5637b8f5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/b54583533bf5722e80f03aff4e8ce7cd5637b8f5/graph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1015, 16452, 67, 18910, 12, 2890, 16, 1308, 4672, 3536, 2860, 326, 1015, 16452, 7812, 434, 365, 471, 1308, 18, 225, 971, 1915, 854, 2975, 6928, 358, 3937, 16, 2898, 903, 506, 17657, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1015, 16452, 67, 18910, 12, 2890, 16, 1308, 4672, 3536, 2860, 326, 1015, 16452, 7812, 434, 365, 471, 1308, 18, 225, 971, 1915, 854, 2975, 6928, 358, 3937, 16, 2898, 903, 506, 17657, 18, ...
options for lines which are also available.
options for lines, which are also available.
def ruler(start, end, ticks=4, sub_ticks=4, absolute=False, snap=False, **kwds): """ Draw a ruler in 3D, with major and minor ticks. INPUT: - ``start`` - the beginning of the ruler, as a list, tuple, or vector - ``end`` - the end of the ruler, as a list, tuple, or vector - ``ticks`` - (default: 4) the number of maj...
c85cd8e70aed89c86059888b9925f160e190c0a7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/c85cd8e70aed89c86059888b9925f160e190c0a7/shapes2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 436, 17040, 12, 1937, 16, 679, 16, 13003, 33, 24, 16, 720, 67, 11767, 33, 24, 16, 4967, 33, 8381, 16, 10915, 33, 8381, 16, 2826, 25577, 4672, 3536, 10184, 279, 436, 17040, 316, 890, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 436, 17040, 12, 1937, 16, 679, 16, 13003, 33, 24, 16, 720, 67, 11767, 33, 24, 16, 4967, 33, 8381, 16, 10915, 33, 8381, 16, 2826, 25577, 4672, 3536, 10184, 279, 436, 17040, 316, 890, ...
def do_clear_break(self, arg): if not arg: self.do_clear("") return arg = string.strip(arg) args = string.split(arg) if len(args) < 2: print '*** Specify file and line number.' return try: line = int(args[1]) except: print '*** line number must be an integer.' return result =self.clear_break(args[0], line) if result:...
def do_clear(self, arg): # Three possibilities, tried in this order: # clear -> clear all breaks, ask for confirmation # clear file:lineno -> clear all breaks at file:lineno # clear bpno bpno ... -> clear breakpoints by number if not arg: try: reply = raw_input('Clear all breaks? ') except EOFError: reply = 'no' reply ...
57db99cc5ba70b40e9dc26f41dd7c7d4cffb9d35 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/57db99cc5ba70b40e9dc26f41dd7c7d4cffb9d35/pdb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 8507, 12, 2890, 16, 1501, 4672, 468, 935, 992, 28550, 16, 12928, 316, 333, 1353, 30, 468, 2424, 317, 2424, 777, 16217, 16, 6827, 364, 14296, 468, 2424, 585, 30, 17782, 317, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 8507, 12, 2890, 16, 1501, 4672, 468, 935, 992, 28550, 16, 12928, 316, 333, 1353, 30, 468, 2424, 317, 2424, 777, 16217, 16, 6827, 364, 14296, 468, 2424, 585, 30, 17782, 317, 24...
'action_id': fields.many2one('ir.actions.actions', 'Home Action'),
'action_id': fields.many2one('ir.actions.act_window', 'Action', required=True),
def generate_random_pass(): pass_chars = RANDOM_PASS_CHARACTERS[:] random.shuffle(pass_chars) return ''.join(pass_chars[0:10])
5a3d000f53c314c2371a67a107ab4f10b5f260ea /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/5a3d000f53c314c2371a67a107ab4f10b5f260ea/wizard_share.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 9188, 67, 5466, 13332, 1342, 67, 7549, 273, 534, 28159, 67, 10884, 67, 7305, 6526, 11367, 10531, 65, 2744, 18, 31980, 12, 5466, 67, 7549, 13, 327, 875, 18, 5701, 12, 5466, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 9188, 67, 5466, 13332, 1342, 67, 7549, 273, 534, 28159, 67, 10884, 67, 7305, 6526, 11367, 10531, 65, 2744, 18, 31980, 12, 5466, 67, 7549, 13, 327, 875, 18, 5701, 12, 5466, 67...
value = self.decorator.__get__(obj, type)
value = self.descriptor.__get__(obj, type)
def __get__(self, obj, type=None): if obj is None: return self value = self.decorator.__get__(obj, type) return self.getter_converter(value, *self.converter_args)
794e01db0a9a27af898f920c4a3d23e8786e0371 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12287/794e01db0a9a27af898f920c4a3d23e8786e0371/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 972, 12, 2890, 16, 1081, 16, 618, 33, 7036, 4672, 309, 1081, 353, 599, 30, 327, 365, 460, 273, 365, 18, 12628, 16186, 588, 972, 12, 2603, 16, 618, 13, 327, 365, 18, 11990,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 588, 972, 12, 2890, 16, 1081, 16, 618, 33, 7036, 4672, 309, 1081, 353, 599, 30, 327, 365, 460, 273, 365, 18, 12628, 16186, 588, 972, 12, 2603, 16, 618, 13, 327, 365, 18, 11990,...
path = path.decode('utf-8', 'strict')
def decode_path(path): """ Decode file/path string. Return `nodes.reprunicode` object. Provides a conversion to unicode without the UnicodeDecode error of the implicit 'ascii:strict' decoding. """ # see also http://article.gmane.org/gmane.text.docutils.user/2905 try: path = path.decode(sys.getfilesystemencoding(), 'st...
bd16ec7e3b535f0a19611a914bdffc4e2cf7aef2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1278/bd16ec7e3b535f0a19611a914bdffc4e2cf7aef2/utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2495, 67, 803, 12, 803, 4672, 3536, 6209, 585, 19, 803, 533, 18, 2000, 1375, 4690, 18, 12715, 9124, 68, 733, 18, 225, 28805, 279, 4105, 358, 5252, 2887, 326, 9633, 6615, 555, 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, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2495, 67, 803, 12, 803, 4672, 3536, 6209, 585, 19, 803, 533, 18, 2000, 1375, 4690, 18, 12715, 9124, 68, 733, 18, 225, 28805, 279, 4105, 358, 5252, 2887, 326, 9633, 6615, 555, 434, 326,...
os.environ['TERMRCFILE'] = rcfile
os.environ['SHELLCMDS'] = "bash --rcfile " + rcfile
def Resolve(self):
beef002bb4c23f105458b8a8ead2c8eec06eb829 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8123/beef002bb4c23f105458b8a8ead2c8eec06eb829/patch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9910, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9910, 12, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
gotone = Interpretive.parseOperand(self.context, operands)
newoperands = [ opcode ] if operands: newoperands.extend(operands) gotone = Interpretive.parseOperand(self.context, newoperands)
def parse(self, label, opcode, operands): try: # Check for any outstanding interpretive operands first, i.e. until interpArgs reaches zero. if opcode in self.context.opcodes[OpcodeType.INTERPRETIVE]: self.context.opcodes[OpcodeType.INTERPRETIVE][opcode].parse(self.context, operands) else: gotone = Interpretive.parseOpe...
b1e36cd7bc5216c2322cd7b4ae7f5236112a9cbd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8152/b1e36cd7bc5216c2322cd7b4ae7f5236112a9cbd/assembler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 1433, 16, 11396, 16, 14883, 4672, 775, 30, 468, 2073, 364, 1281, 20974, 10634, 688, 14883, 1122, 16, 277, 18, 73, 18, 3180, 8174, 2615, 30093, 3634, 18, 309, 11396, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 1433, 16, 11396, 16, 14883, 4672, 775, 30, 468, 2073, 364, 1281, 20974, 10634, 688, 14883, 1122, 16, 277, 18, 73, 18, 3180, 8174, 2615, 30093, 3634, 18, 309, 11396, ...
InteractivePanel.paintPreview(self) self.makeBackgroundBuffer(dc)
self.makeBackgroundBuffer(dc) InteractivePanel.paintPreview(self, dc)
def paintPreview(self): """ Created: 24.03.2005, KP Description: Paints the image to a DC """ dc = wx.MemoryDC() dc.SelectObject(self.buffer) dc.BeginDrawing() dc.SetBackground(wx.Brush(wx.Colour(*self.bgcolor))) dc.SetPen(wx.Pen(wx.Colour(*self.bgcolor), 0)) dc.SetBrush(wx.Brush(wx.Color(*self.bgcolor))) x0, y0, x1, ...
43646914fd17224ebb8ce2c56b9ae39bfc0a79bb /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2877/43646914fd17224ebb8ce2c56b9ae39bfc0a79bb/SectionsPanel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12574, 11124, 12, 2890, 4672, 3536, 12953, 30, 4248, 18, 4630, 18, 6976, 25, 16, 1475, 52, 6507, 30, 30001, 87, 326, 1316, 358, 279, 21533, 3536, 6744, 273, 7075, 18, 6031, 5528, 1435, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12574, 11124, 12, 2890, 4672, 3536, 12953, 30, 4248, 18, 4630, 18, 6976, 25, 16, 1475, 52, 6507, 30, 30001, 87, 326, 1316, 358, 279, 21533, 3536, 6744, 273, 7075, 18, 6031, 5528, 1435, ...
unittest.TestResult.__init__(self)
testresult.TestResult.__init__(self)
def __init__(self, stream): """Create a TestResultStats which outputs to stream.""" unittest.TestResult.__init__(self) self._stream = stream self.failed_tests = 0 self.skipped_tests = 0 self.seen_tags = set()
811e35ca81232d4aaa814395fb6cf5501aa9aa6f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6381/811e35ca81232d4aaa814395fb6cf5501aa9aa6f/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1407, 4672, 3536, 1684, 279, 7766, 1253, 4195, 1492, 6729, 358, 1407, 12123, 1842, 2088, 18, 4709, 1253, 16186, 2738, 972, 12, 2890, 13, 365, 6315, 3256, 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, 1001, 2738, 972, 12, 2890, 16, 1407, 4672, 3536, 1684, 279, 7766, 1253, 4195, 1492, 6729, 358, 1407, 12123, 1842, 2088, 18, 4709, 1253, 16186, 2738, 972, 12, 2890, 13, 365, 6315, 3256, 2...
def testMultiply(self);
def testMultiply(self):
def testMultiply(self); self.assertEquals((0 * 10), 0) self.assertEquals((5 * 8), 40)
7b0657027f04ac0367908ee0474f6d762366e4bb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/7b0657027f04ac0367908ee0474f6d762366e4bb/unittest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 26040, 12, 2890, 4672, 365, 18, 11231, 8867, 12443, 20, 380, 1728, 3631, 374, 13, 365, 18, 11231, 8867, 12443, 25, 380, 1725, 3631, 8063, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 26040, 12, 2890, 4672, 365, 18, 11231, 8867, 12443, 20, 380, 1728, 3631, 374, 13, 365, 18, 11231, 8867, 12443, 25, 380, 1725, 3631, 8063, 13, 2, -100, -100, -100, -100, -100, -100,...
if not reports: return {}
def _update_report_translation(self, cursor, user, data, context): report_obj = self.pool.get('ir.action.report') report_ids = report_obj.search(cursor, user, [], context=context) reports = report_obj.browse(cursor, user, report_ids, context=context)
ca67b46a5992787b09c87fa4159cad8ab6f691f8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9266/ca67b46a5992787b09c87fa4159cad8ab6f691f8/translation.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2725, 67, 6006, 67, 10173, 12, 2890, 16, 3347, 16, 729, 16, 501, 16, 819, 4672, 2605, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 481, 18, 1128, 18, 6006, 6134, 2605, 67, 2232,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2725, 67, 6006, 67, 10173, 12, 2890, 16, 3347, 16, 729, 16, 501, 16, 819, 4672, 2605, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 481, 18, 1128, 18, 6006, 6134, 2605, 67, 2232,...
site_name = getSiteName(cp)
site_name = getSiteName(cp2)
def __write_config_value(section, option, new_val): if not cp.has_section(section): cp.add_section(section) if override and (not cp.has_option(section, option)): cp.set(section, option, new_val) elif (not override): cp.set(section, option, new_val)
7bcefa53a36c600ebb5ec070cd2c1981314354b2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12088/7bcefa53a36c600ebb5ec070cd2c1981314354b2/gip_osg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2626, 67, 1425, 67, 1132, 12, 3464, 16, 1456, 16, 394, 67, 1125, 4672, 309, 486, 3283, 18, 5332, 67, 3464, 12, 3464, 4672, 3283, 18, 1289, 67, 3464, 12, 3464, 13, 309, 3849, 47...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2626, 67, 1425, 67, 1132, 12, 3464, 16, 1456, 16, 394, 67, 1125, 4672, 309, 486, 3283, 18, 5332, 67, 3464, 12, 3464, 4672, 3283, 18, 1289, 67, 3464, 12, 3464, 13, 309, 3849, 47...
DebugPrint(0, "Badly formed XML in " + xmlFilename + ": UserIdentity block has multiple VOName nodes - uploading anyway")
[jobIdType, jobId] = FindBestJobId(userIdentityNode.parentNode, namespace, prefix) DebugPrint(0, "Warning: UserIdentity block has multiple VOName nodes in " + jobIdType + " " + jobId)
def CheckAndExtendUserIdentity(xmlDoc, userIdentityNode, namespace, prefix): "Check the contents of the UserIdentity block and extend if necessary" # LocalUserId LocalUserIdNodes = userIdentityNode.getElementsByTagNameNS(namespace, 'LocalUserId') if len(LocalUserIdNodes) != 1 or not \ (LocalUserIdNodes[0].firstChild a...
82362dc0c1d2f5f0727670c6ff01b444853b1602 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/637/82362dc0c1d2f5f0727670c6ff01b444853b1602/Gratia.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2073, 1876, 16675, 1299, 4334, 12, 2902, 1759, 16, 729, 4334, 907, 16, 1981, 16, 1633, 4672, 315, 1564, 326, 2939, 434, 326, 2177, 4334, 1203, 471, 2133, 309, 4573, 6, 225, 468, 3566, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2073, 1876, 16675, 1299, 4334, 12, 2902, 1759, 16, 729, 4334, 907, 16, 1981, 16, 1633, 4672, 315, 1564, 326, 2939, 434, 326, 2177, 4334, 1203, 471, 2133, 309, 4573, 6, 225, 468, 3566, ...
lea t3, flatseg, [ldsz, t3, base], dataSize=asz ld t1, seg, [1, t3, t7], disp
ld t1, seg, [dsz, t3, t7], disp
def macroop BT_P_R { rdip t7 srai t2, reg, 3, dataSize=asz srai t3, t2, ldsz, dataSize=asz lea t3, flatseg, [ldsz, t3, base], dataSize=asz ld t1, seg, [1, t3, t7], disp sext t0, t1, reg, flags=(CF,)
c41e633e0efebb440083279c3841a2029ff50240 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6787/c41e633e0efebb440083279c3841a2029ff50240/bit_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11522, 556, 605, 56, 67, 52, 67, 54, 288, 9437, 625, 268, 27, 272, 354, 77, 268, 22, 16, 960, 16, 890, 16, 30216, 33, 345, 94, 272, 354, 77, 268, 23, 16, 268, 22, 16, 328, 2377, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11522, 556, 605, 56, 67, 52, 67, 54, 288, 9437, 625, 268, 27, 272, 354, 77, 268, 22, 16, 960, 16, 890, 16, 30216, 33, 345, 94, 272, 354, 77, 268, 23, 16, 268, 22, 16, 328, 2377, ...
self._console.error("The given path does not contain a translation folder: %s" % path) sys.exit(1)
raise ValueError("The given path does not contain a translation folder: %s" % path)
def _scanTranslationPath(self, path): if not os.path.exists(path): self._console.error("The given path does not contain a translation folder: %s" % path) sys.exit(1)
8b4b0c8973aec5a80d278fabe144face9c23b31d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5718/8b4b0c8973aec5a80d278fabe144face9c23b31d/LibraryPath.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9871, 6717, 743, 12, 2890, 16, 589, 4672, 309, 486, 1140, 18, 803, 18, 1808, 12, 803, 4672, 365, 6315, 8698, 18, 1636, 2932, 1986, 864, 589, 1552, 486, 912, 279, 4794, 3009, 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, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 9871, 6717, 743, 12, 2890, 16, 589, 4672, 309, 486, 1140, 18, 803, 18, 1808, 12, 803, 4672, 365, 6315, 8698, 18, 1636, 2932, 1986, 864, 589, 1552, 486, 912, 279, 4794, 3009, 30, ...
page.table.attach (self.check, 0, 1, i, i+1, EXPAND|FILL, 0, 5, 5)
page.table.attach (self.check, 0, 1, i, i+1, gtk.EXPAND|gtk.FILL, 0, 5, 5)
def __init__ (self, page, i, opt): """ Constructor. """ self.page = page self.opt = opt typeString = opt.type if opt.valid: typeString = typeString+" ["+ \ reduce(lambda x,y: x+','+y, map(str,opt.valid))+"]" # a check button with an option description desc = opt.getDesc([lang]) if desc != None: desc = desc.text else: d...
ec17e2ee5c945ddc11ff8bcc0cdc586ae535e76d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4580/ec17e2ee5c945ddc11ff8bcc0cdc586ae535e76d/driconf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 16, 1363, 16, 277, 16, 2153, 4672, 3536, 11417, 18, 3536, 365, 18, 2433, 273, 1363, 365, 18, 3838, 273, 2153, 618, 780, 273, 2153, 18, 723, 309, 2153, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 16, 1363, 16, 277, 16, 2153, 4672, 3536, 11417, 18, 3536, 365, 18, 2433, 273, 1363, 365, 18, 3838, 273, 2153, 618, 780, 273, 2153, 18, 723, 309, 2153, 18, ...
self.assertEqual(err[-1], b'OK')
self.assertIn(b'OK', err)
def get_parse_out_err(p): return [b.splitlines() for b in p.communicate()]
c3e825223ad597b42f5e350548fa054c38f063a1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12029/c3e825223ad597b42f5e350548fa054c38f063a1/test_runner.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 2670, 67, 659, 67, 370, 12, 84, 4672, 327, 306, 70, 18, 4939, 3548, 1435, 364, 324, 316, 293, 18, 5702, 318, 2659, 1435, 65, 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, 336, 67, 2670, 67, 659, 67, 370, 12, 84, 4672, 327, 306, 70, 18, 4939, 3548, 1435, 364, 324, 316, 293, 18, 5702, 318, 2659, 1435, 65, 2, -100, -100, -100, -100, -100, -100, -100, -10...
_default = "false" def __init__(self, master=None):
_default = False def __init__(self, master=None, value=None, name=None):
def get(self): """Return the value of the variable as a float.""" return getdouble(self._tk.globalgetvar(self._name))
d9565dc51f7ac24afa5838b531be5ac7f386c816 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/d9565dc51f7ac24afa5838b531be5ac7f386c816/Tkinter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 12, 2890, 4672, 3536, 990, 326, 460, 434, 326, 2190, 487, 279, 1431, 12123, 327, 336, 9056, 12, 2890, 6315, 16099, 18, 6347, 588, 1401, 12, 2890, 6315, 529, 3719, 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, 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, 2890, 4672, 3536, 990, 326, 460, 434, 326, 2190, 487, 279, 1431, 12123, 327, 336, 9056, 12, 2890, 6315, 16099, 18, 6347, 588, 1401, 12, 2890, 6315, 529, 3719, 2, -100, -100, -...
print "__coerce__:", args
def __coerce__(self, *args): print "__coerce__:", args return (self,) + args
6c016a3e555a636a0dfc3960a70885989bbcf82f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3187/6c016a3e555a636a0dfc3960a70885989bbcf82f/test_class.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2894, 2765, 972, 12, 2890, 16, 380, 1968, 4672, 327, 261, 2890, 16, 13, 397, 833, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2894, 2765, 972, 12, 2890, 16, 380, 1968, 4672, 327, 261, 2890, 16, 13, 397, 833, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
s += self.__pp_dict(fieldval.items(), doublespace,
s += self.__pp_dict(fieldval, doublespace,
def pp(self, doublespace=0, depth=2, exclude=[]): """ @return: A string representation for this C{APIDoc}. @param doublespace: If true, then extra lines will be inserted to make the output more readable. @param depth: The maximum depth that pp will descend into descendent VarDocs. To put no limit on depth, use C{depth...
a15d7aa85de27eed09a891e5147e9f0ca61f2e10 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/a15d7aa85de27eed09a891e5147e9f0ca61f2e10/apidoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8228, 12, 2890, 16, 31446, 909, 33, 20, 16, 3598, 33, 22, 16, 4433, 33, 8526, 4672, 3536, 632, 2463, 30, 432, 533, 4335, 364, 333, 385, 95, 2203, 734, 504, 5496, 632, 891, 31446, 909...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8228, 12, 2890, 16, 31446, 909, 33, 20, 16, 3598, 33, 22, 16, 4433, 33, 8526, 4672, 3536, 632, 2463, 30, 432, 533, 4335, 364, 333, 385, 95, 2203, 734, 504, 5496, 632, 891, 31446, 909...
teste = kopeteLog()
teste = KopeteLog()
def feedDatabase(self, file): if file.find('WlmProtocol'): protocol = 'wlm' elif file.find('ICQProtocol'): protocol = 'icq' elif file.find('JabberProtocol'): protocol = 'jabber' else: protocol = '' xmllog = parse(file) for head in xmllog.getiterator('head'): for date in head.getiterator('date'): month=date.attrib['mon...
32c9ce5a16147a0a40ab7b8ad544368288a0ce69 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8537/32c9ce5a16147a0a40ab7b8ad544368288a0ce69/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4746, 4254, 12, 2890, 16, 225, 585, 4672, 309, 585, 18, 4720, 2668, 59, 25972, 5752, 11, 4672, 1771, 273, 296, 21504, 81, 11, 1327, 585, 18, 4720, 2668, 2871, 53, 5752, 11, 4672, 1771,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4746, 4254, 12, 2890, 16, 225, 585, 4672, 309, 585, 18, 4720, 2668, 59, 25972, 5752, 11, 4672, 1771, 273, 296, 21504, 81, 11, 1327, 585, 18, 4720, 2668, 2871, 53, 5752, 11, 4672, 1771,...
""" Called from %pre of the test machine. We record a start
""" Called from %pre of the test machine. We record a start
def install_start(self):
b6c575ff66dcd6a6087afa755cdfa553552086b9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14755/b6c575ff66dcd6a6087afa755cdfa553552086b9/proxy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3799, 67, 1937, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3799, 67, 1937, 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, -10...
outputFile = "%s-%s.exe" outputFile = outputFile % \ (template_vars['shortAppName'], template_vars['appVersion']) nsisVars['CONFIG_OUTPUT_FILE'] = outputFile nsisVars['CONFIG_TWOSTAGE'] = "No" nsisArgs = ["/D%s=%s" % (k, v) for (k, v) in nsisVars.iteritems()] nsisArgs.append(os.path.join(self.dist_dir, "Miro.nsi")) i...
output_file = "%s-%s.exe" output_file = (output_file % (template_vars['shortAppName'], template_vars['appVersion'])) nsis_vars['CONFIG_OUTPUT_FILE'] = output_file nsis_vars['CONFIG_TWOSTAGE'] = "No" nsis_args = ["/D%s=%s" % (k, v) for (k, v) in nsis_vars.iteritems()] nsis_args.append(os.path.join(self.dist_dir, "Miro....
def run(self): self.run_command('bdist_miro') self.dist_dir = self.get_finalized_command('py2exe').dist_dir
16717514d85be409df247e58637855a19e0ad04f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/16717514d85be409df247e58637855a19e0ad04f/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 365, 18, 2681, 67, 3076, 2668, 70, 4413, 67, 9197, 303, 6134, 365, 18, 4413, 67, 1214, 273, 365, 18, 588, 67, 6385, 1235, 67, 3076, 2668, 2074, 22, 14880, 16063, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1086, 12, 2890, 4672, 365, 18, 2681, 67, 3076, 2668, 70, 4413, 67, 9197, 303, 6134, 365, 18, 4413, 67, 1214, 273, 365, 18, 588, 67, 6385, 1235, 67, 3076, 2668, 2074, 22, 14880, 16063, ...
lines = string.split(line,'\n') for line in lines: line = lowDequote(line) try: prefix, command, params = parsemsg(line) if numeric_to_symbolic.has_key(command): command = numeric_to_symbolic[command] method = getattr(self, "irc_%s" % command, None) if method is not None: method(prefix, params) else: self.irc_unknown...
line = lowDequote(line) try: prefix, command, params = parsemsg(line) if numeric_to_symbolic.has_key(command): command = numeric_to_symbolic[command] method = getattr(self, "irc_%s" % command, None) if method is not None: method(prefix, params) else: self.irc_unknown(prefix, command, params) except IRCBadMessage: apply...
def lineReceived(self, line): # some servers (dalnet!) break RFC and send their first few # lines just delimited by \n lines = string.split(line,'\n') for line in lines: line = lowDequote(line) try: prefix, command, params = parsemsg(line) if numeric_to_symbolic.has_key(command): command = numeric_to_symbolic[command] ...
e962a8bb8dcad31eea345dc001bf1c2a593d3f2c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/e962a8bb8dcad31eea345dc001bf1c2a593d3f2c/irc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 980, 8872, 12, 2890, 16, 980, 4672, 468, 2690, 7084, 261, 72, 287, 2758, 24949, 898, 8372, 471, 1366, 3675, 1122, 11315, 468, 2362, 2537, 18609, 635, 521, 82, 2362, 273, 533, 18, 4939, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 980, 8872, 12, 2890, 16, 980, 4672, 468, 2690, 7084, 261, 72, 287, 2758, 24949, 898, 8372, 471, 1366, 3675, 1122, 11315, 468, 2362, 2537, 18609, 635, 521, 82, 2362, 273, 533, 18, 4939, ...
return 1
return Integer(1)
def _eval(self, n): if n == 0: return 2 elif n == 1: return 1 else: return sloane.A000045(n+1) + sloane.A000045(n-1)
69a199217d612e1c590af73e16003812c85b93ec /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/69a199217d612e1c590af73e16003812c85b93ec/sloane_functions.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8622, 12, 2890, 16, 290, 4672, 309, 290, 422, 374, 30, 327, 576, 1327, 290, 422, 404, 30, 327, 2144, 12, 21, 13, 469, 30, 327, 272, 383, 8806, 18, 37, 2787, 7950, 12, 82, 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, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8622, 12, 2890, 16, 290, 4672, 309, 290, 422, 374, 30, 327, 576, 1327, 290, 422, 404, 30, 327, 2144, 12, 21, 13, 469, 30, 327, 272, 383, 8806, 18, 37, 2787, 7950, 12, 82, 15, ...
q = "select londiste.node_remove_table(%s, %s)"
q = "select * from londiste.node_remove_table(%s, %s)"
def cmd_remove(self, args = []): q = "select londiste.node_remove_table(%s, %s)" self.db_exec_many(q, [self.set_name], args)
3e7839157f34bfc1472c4a4ab0ff625c2b8c35cf /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/14597/3e7839157f34bfc1472c4a4ab0ff625c2b8c35cf/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1797, 67, 4479, 12, 2890, 16, 833, 273, 5378, 4672, 1043, 273, 315, 4025, 380, 628, 328, 1434, 376, 73, 18, 2159, 67, 4479, 67, 2121, 9275, 87, 16, 738, 87, 2225, 365, 18, 1966, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1797, 67, 4479, 12, 2890, 16, 833, 273, 5378, 4672, 1043, 273, 315, 4025, 380, 628, 328, 1434, 376, 73, 18, 2159, 67, 4479, 67, 2121, 9275, 87, 16, 738, 87, 2225, 365, 18, 1966, 67, ...
self.patterson_p_value = twin_summary.patterson_p_value
def __init__ (self, params, xtriage_results, data_summary) : self.file_name = params.scaling.input.xray_data.file_name self.log_file = params.scaling.input.parameters.reporting.log self.file_labels = params.scaling.input.xray_data.obs_labels self.nresidues = params.scaling.input.asu_contents.n_residues self.nbases = pa...
0b2b712d21896cc716431b0766dd61a29d1c4f6b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/696/0b2b712d21896cc716431b0766dd61a29d1c4f6b/xtriage.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 16, 859, 16, 619, 16857, 410, 67, 4717, 16, 501, 67, 7687, 13, 294, 365, 18, 768, 67, 529, 273, 859, 18, 24576, 18, 2630, 18, 92, 435, 67, 892, 18, 768,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 16, 859, 16, 619, 16857, 410, 67, 4717, 16, 501, 67, 7687, 13, 294, 365, 18, 768, 67, 529, 273, 859, 18, 24576, 18, 2630, 18, 92, 435, 67, 892, 18, 768,...
return dict(lpContext)
return lpContext.to_dict()
def GetThreadContext(hThread, ContextFlags = CONTEXT_ALL): lpContext = CONTEXT() lpContext.ContextFlags = ContextFlags success = ctypes.windll.kernel32.GetThreadContext(hThread, ctypes.byref(lpContext)) if success == FALSE: raise ctypes.WinError() return dict(lpContext)
4d6379e62a20ffbde8f748f5070b761e3ca679e3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7261/4d6379e62a20ffbde8f748f5070b761e3ca679e3/kernel32.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 3830, 1042, 12, 76, 3830, 16, 1772, 5094, 273, 13862, 67, 4685, 4672, 12423, 1042, 273, 13862, 1435, 12423, 1042, 18, 1042, 5094, 273, 1772, 5094, 2216, 273, 6983, 18, 10094, 2906, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 3830, 1042, 12, 76, 3830, 16, 1772, 5094, 273, 13862, 67, 4685, 4672, 12423, 1042, 273, 13862, 1435, 12423, 1042, 18, 1042, 5094, 273, 1772, 5094, 2216, 273, 6983, 18, 10094, 2906, ...
self.graphsLocation = "%s/data/accountingPlots" % rootPath
self.graphsLocation = os.path.join( gConfig.getValue( '/LocalSite/InstancePath', rootPath ), 'data', 'accountingPlots' )
def __init__( self ): self.graphsLocation = "%s/data/accountingPlots" % rootPath self.cachedGraphs = {} self.alive = True self.purgeThread = threading.Thread( target = self.purgeExpired ) self.purgeThread.start() self.__dataCache = DictCache() self.__graphCache = DictCache( deleteFunction = self.__deleteGraph ) self.__...
cec851889a000611d750a68e02832af93671535b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/cec851889a000611d750a68e02832af93671535b/DataCache.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 365, 262, 30, 365, 18, 30016, 2735, 273, 1140, 18, 803, 18, 5701, 12, 314, 809, 18, 24805, 12, 1173, 2042, 4956, 19, 1442, 743, 2187, 13959, 262, 16, 296, 892, 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, 1001, 2738, 972, 12, 365, 262, 30, 365, 18, 30016, 2735, 273, 1140, 18, 803, 18, 5701, 12, 314, 809, 18, 24805, 12, 1173, 2042, 4956, 19, 1442, 743, 2187, 13959, 262, 16, 296, 892, 2...
self.ignores = ('inheritancegraph', 'param', 'listofallmembers',
self.ignores = ['inheritancegraph', 'param', 'listofallmembers',
def __init__(self, src): """Initialize the instance given a source object (file or filename).
d30baf081d85edb86e66350de0ee4cbd45f493f0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13995/d30baf081d85edb86e66350de0ee4cbd45f493f0/doxy2swig.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1705, 4672, 3536, 7520, 326, 791, 864, 279, 1084, 733, 261, 768, 578, 1544, 2934, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1705, 4672, 3536, 7520, 326, 791, 864, 279, 1084, 733, 261, 768, 578, 1544, 2934, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
if __name__=="__main__":
if __name__ == "__main__":
def _test(): XMLReader() IncrementalParser() Locator() AttributesImpl()
980706f24e083353abd18ab5cf5d6a4bd6236c4b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/980706f24e083353abd18ab5cf5d6a4bd6236c4b/xmlreader.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3813, 13332, 3167, 2514, 1435, 17883, 287, 2678, 1435, 2851, 639, 1435, 9055, 2828, 1435, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3813, 13332, 3167, 2514, 1435, 17883, 287, 2678, 1435, 2851, 639, 1435, 9055, 2828, 1435, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
def composition_series(self): """ Return the composition series of this group as a list of permutation groups. EXAMPLES: These computations use pseudo-random numbers, so we set the seed for reproducible testing. sage: set_random_seed(0) sage: G = PermutationGroup([[(1,2,3),(4,5)],[(3,4)]]) sage: G.composition_series()...
def composition_series(self): """ Return the composition series of this group as a list of permutation groups.
1658b04d4cf7d534376d011a40bb52f192eac894 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/1658b04d4cf7d534376d011a40bb52f192eac894/permgroup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16919, 67, 10222, 12, 2890, 4672, 3536, 2000, 326, 16919, 4166, 434, 333, 1041, 487, 279, 666, 434, 17440, 3252, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16919, 67, 10222, 12, 2890, 4672, 3536, 2000, 326, 16919, 4166, 434, 333, 1041, 487, 279, 666, 434, 17440, 3252, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
dbl_click_call(t,t1,'OOO',event)
dbl_click_call(t,t1,'OOO',3,event)
def dbl_click_bmtext(event): t=bmtext.get('1.0',END) #Entire contents of text box t1=bmtext.get('1.0',CURRENT) #Contents from start to cursor dbl_click_call(t,t1,'OOO',event)
b42869f7f2ecdc35a209cbaa5bb9ab1641eb5814 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2394/b42869f7f2ecdc35a209cbaa5bb9ab1641eb5814/map65.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1319, 80, 67, 7475, 67, 25709, 955, 12, 2575, 4672, 268, 33, 25709, 955, 18, 588, 2668, 21, 18, 20, 2187, 4415, 13, 6647, 468, 14199, 577, 2939, 434, 977, 3919, 268, 21, 33, 25709, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1319, 80, 67, 7475, 67, 25709, 955, 12, 2575, 4672, 268, 33, 25709, 955, 18, 588, 2668, 21, 18, 20, 2187, 4415, 13, 6647, 468, 14199, 577, 2939, 434, 977, 3919, 268, 21, 33, 25709, 9...
wx.Frame.__init__(self, None, -1, "Annotations for " + group_name,style = wx.DEFAULT_FRAME_STYLE | wx.RESIZE_BORDER )
wx.Frame.__init__(self, None, -1, "Annotations for " + group_name,style = wx.DEFAULT_FRAME_STYLE | wx.RESIZE_BORDER | wx.SCR)
def __init__(self, group, model, group_name = 'default', annotations = None): wx.Frame.__init__(self, None, -1, "Annotations for " + group_name,style = wx.DEFAULT_FRAME_STYLE | wx.RESIZE_BORDER ) self.panel = wx.Panel(self, -1, size = self.GetSize() ) #self.textBox = wx.TextCtrl(self.panel, -1, txt, style= wx.TE_MULTIL...
d268b929dc1c28ee3e2bcc995f6c844853952b7a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9486/d268b929dc1c28ee3e2bcc995f6c844853952b7a/AnnotateFrame.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1041, 16, 938, 16, 1041, 67, 529, 273, 296, 1886, 2187, 5617, 273, 599, 4672, 7075, 18, 3219, 16186, 2738, 972, 12, 2890, 16, 599, 16, 300, 21, 16, 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, 1001, 2738, 972, 12, 2890, 16, 1041, 16, 938, 16, 1041, 67, 529, 273, 296, 1886, 2187, 5617, 273, 599, 4672, 7075, 18, 3219, 16186, 2738, 972, 12, 2890, 16, 599, 16, 300, 21, 16, 315...
skinob = partob.__of__(skinob)
partob = aq_base(partob) if skinob is None: skinob = partob else: skinob = partob.__of__(skinob)
def getSkinByPath(self, path, raise_exc=0): """ Get a skin at the given path. """ baseself = aq_base(self) skinob = baseself parts = list( path.split(',') ) parts.reverse() for part_path in parts: partob = baseself for name in part_path.strip().split('/'): if name == '': continue if name[:1] == '_': # Not allowed. part...
84ea19475e33bc04d81015a0e5041f443841fb8b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1843/84ea19475e33bc04d81015a0e5041f443841fb8b/SkinsContainer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1322, 15984, 16736, 12, 2890, 16, 589, 16, 1002, 67, 10075, 33, 20, 4672, 3536, 968, 279, 18705, 622, 326, 864, 589, 18, 3536, 8337, 19079, 273, 279, 85, 67, 1969, 12, 2890, 13, 18705,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1322, 15984, 16736, 12, 2890, 16, 589, 16, 1002, 67, 10075, 33, 20, 4672, 3536, 968, 279, 18705, 622, 326, 864, 589, 18, 3536, 8337, 19079, 273, 279, 85, 67, 1969, 12, 2890, 13, 18705,...
else: infoStr = "StorageElement.getFile: Failed to determine whether file exists." gLogger.error(infoStr,'%s for protocol %s' % (protocolPfn,protocolName)) if protocolSize: localPath = '%s/%s' % (os.getcwd(),fileName) fileTuple = (protocolPfn,localPath,protocolSize) res = storage.getFile(fileTuple) if res['OK']: if ...
if protocolSize: localPath = '%s/%s' % (os.getcwd(),fileName) fileTuple = (protocolPfn,localPath,protocolSize) res = storage.getFile(fileTuple) if res['OK']: if res['Value']['Successful'].has_key(protocolPfn): infoStr ="StorageElement.getFile: Got local copy of file. Checking size..." gLogger.info(infoStr) localSi...
def getFile(self,pfn,catalogueFileSize): """ This method will obtain a local copy of a file from the SE
7103ee9939a5a7ab45b51df34eb263621ec53a2c /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12864/7103ee9939a5a7ab45b51df34eb263621ec53a2c/StorageElement.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6034, 12, 2890, 16, 84, 4293, 16, 7199, 344, 15100, 4672, 3536, 1220, 707, 903, 7161, 279, 1191, 1610, 434, 279, 585, 628, 326, 3174, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6034, 12, 2890, 16, 84, 4293, 16, 7199, 344, 15100, 4672, 3536, 1220, 707, 903, 7161, 279, 1191, 1610, 434, 279, 585, 628, 326, 3174, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
X -- input variables Y -- output variables degree -- integer > 0 (default: 2) groebner -- calculate a reduced Groebner basis of the spanning polynomials to obtain more polynomials (default: False) EXAMPLES:
- ``X`` - input variables - ``Y`` - output variables - ``degree`` - integer > 0 (default: ``2``) - ``groebner`` - calculate a reduced Groebner basis of the spanning polynomials to obtain more polynomials (default: ``False``) EXAMPLES::
def polynomials(self, X=None, Y=None, degree=2, groebner=False): r""" Return a list of polynomials satisfying this S-box.
16527da1ddc0ac750f609cd58858c5b45d932696 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/16527da1ddc0ac750f609cd58858c5b45d932696/sbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16991, 87, 12, 2890, 16, 1139, 33, 7036, 16, 1624, 33, 7036, 16, 10782, 33, 22, 16, 314, 303, 24008, 1224, 33, 8381, 4672, 436, 8395, 2000, 279, 666, 434, 16991, 87, 9281, 14946, 333, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16991, 87, 12, 2890, 16, 1139, 33, 7036, 16, 1624, 33, 7036, 16, 10782, 33, 22, 16, 314, 303, 24008, 1224, 33, 8381, 4672, 436, 8395, 2000, 279, 666, 434, 16991, 87, 9281, 14946, 333, ...
ofs.tpc_abort(transaction) print "\n%s: %s\n" % sys.exc_info()[:2]
ofs.tpc_abort(txn) print "error copying transaction:", err
def recover(inp, outp, verbose=0, partial=0, force=0, pack=0): print 'Recovering', inp, 'into', outp if os.path.exists(outp) and not force: die("%s exists" % outp) file = open(inp, "rb") if file.read(4) != ZODB.FileStorage.packed_version: die("input is not a file storage") file.seek(0,2) file_size = file.tell() ofs...
9bf5e2e14a6436c3a8e756728b18bc7a4b7dd814 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10048/9bf5e2e14a6436c3a8e756728b18bc7a4b7dd814/fsrecover.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5910, 12, 31647, 16, 596, 84, 16, 3988, 33, 20, 16, 4702, 33, 20, 16, 2944, 33, 20, 16, 2298, 33, 20, 4672, 1172, 296, 27622, 310, 2187, 12789, 16, 296, 18591, 2187, 596, 84, 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, 5910, 12, 31647, 16, 596, 84, 16, 3988, 33, 20, 16, 4702, 33, 20, 16, 2944, 33, 20, 16, 2298, 33, 20, 4672, 1172, 296, 27622, 310, 2187, 12789, 16, 296, 18591, 2187, 596, 84, 225, ...
name = grb['name'] path_to_result = '%s/GRB%s/postprocessing/output/llsummary_GRB%s.pickle' %\ (grb['path'], name, name)
path_to_result = '%s/GRB%s/postprocessing/OPENBOX/llsummary_onoff_GRB%s.pickle' %\ (grb.analysis_dir, grb.name, grb.name)
def obtain_results(grb): """ Obtain the result, i.e the smallest p(c|0) @param grb: the grb stucture with all the infos in it """ name = grb['name'] path_to_result = '%s/GRB%s/postprocessing/output/llsummary_GRB%s.pickle' %\ (grb['path'], name, name) data = pickle.load(file(path_to_result)) min_prob = 2.0 for coinc i...
f67b360b87008c18913a89b815227b5ee40432fa /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3592/f67b360b87008c18913a89b815227b5ee40432fa/pylal_exttrig_llutils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7161, 67, 4717, 12, 3197, 70, 4672, 3536, 24850, 326, 563, 16, 277, 18, 73, 326, 13541, 293, 12, 71, 96, 20, 13, 632, 891, 3821, 70, 30, 326, 3821, 70, 384, 853, 594, 598, 777, 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, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7161, 67, 4717, 12, 3197, 70, 4672, 3536, 24850, 326, 563, 16, 277, 18, 73, 326, 13541, 293, 12, 71, 96, 20, 13, 632, 891, 3821, 70, 30, 326, 3821, 70, 384, 853, 594, 598, 777, 326...
command, args = ('', '') else:
self.command = self.args = '' else:
def found_terminator(self): """Asynchat override.""" # Send the request to the server and read the reply. if self.request.strip().upper() == 'KILL': self.serverSocket.sendall('QUIT\r\n') self.send("+OK, dying.\r\n") self.shutdown(2) self.close() raise SystemExit self.serverSocket.sendall(self.request + '\r\n') if self....
f52f2d890498484d13b002f537e7616e27a554aa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9857/f52f2d890498484d13b002f537e7616e27a554aa/pop3proxy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1392, 67, 9505, 639, 12, 2890, 4672, 3536, 1463, 2515, 270, 3849, 12123, 468, 2479, 326, 590, 358, 326, 1438, 471, 855, 326, 4332, 18, 309, 365, 18, 2293, 18, 6406, 7675, 5797, 1435, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1392, 67, 9505, 639, 12, 2890, 4672, 3536, 1463, 2515, 270, 3849, 12123, 468, 2479, 326, 590, 358, 326, 1438, 471, 855, 326, 4332, 18, 309, 365, 18, 2293, 18, 6406, 7675, 5797, 1435, 4...
familyResolutionsTmp[(familyAddress, familyPort)] = fingerprint
if fingerprint: familyResolutionsTmp[(familyAddress, familyPort)] = fingerprint
def reset(self): """ Reloads connection results. """ if self.isDisabled: return # inaccessable during startup so might need to be refetched try: if not self.address: self.address = self.conn.get_info("address")["address"] except (socket.error, TorCtl.ErrorReply, TorCtl.TorCtlClosed): pass self.connectionsLock.acquir...
9515c30f0a13e9595bf0ac6dc78cae4e68c772c4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13459/9515c30f0a13e9595bf0ac6dc78cae4e68c772c4/connPanel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2715, 12, 2890, 4672, 3536, 23086, 87, 1459, 1686, 18, 3536, 225, 309, 365, 18, 291, 8853, 30, 327, 225, 468, 316, 3860, 429, 4982, 11850, 1427, 4825, 1608, 358, 506, 1278, 1593, 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, 2715, 12, 2890, 4672, 3536, 23086, 87, 1459, 1686, 18, 3536, 225, 309, 365, 18, 291, 8853, 30, 327, 225, 468, 316, 3860, 429, 4982, 11850, 1427, 4825, 1608, 358, 506, 1278, 1593, 329, ...
from MySQLdb import version_info as ver
ver = MySQLdb.version_info
def _mysqldb_gt_or_eq(self, v): """This function checks whether the version of python-mysqldb is greater than or equal to the version that's passed to it. Note that the tuple only checks the major, minor, and sub versions; the sub-sub version is weird, so we only check for 'final' versions. """ from MySQLdb import vers...
7b14ba610ed3370bfe69a5613fb5c061c9dcaf11 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2831/7b14ba610ed3370bfe69a5613fb5c061c9dcaf11/mysql_backend.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12527, 1966, 67, 4521, 67, 280, 67, 11253, 12, 2890, 16, 331, 4672, 3536, 2503, 445, 4271, 2856, 326, 1177, 434, 5790, 17, 12527, 1966, 353, 6802, 2353, 578, 3959, 358, 326, 1177, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12527, 1966, 67, 4521, 67, 280, 67, 11253, 12, 2890, 16, 331, 4672, 3536, 2503, 445, 4271, 2856, 326, 1177, 434, 5790, 17, 12527, 1966, 353, 6802, 2353, 578, 3959, 358, 326, 1177, ...
def docclass(self, object):
def docclass(self, object, name=None):
def docclass(self, object): """Produce text documentation for a given class object.""" name = object.__name__ bases = object.__bases__
a8b37d1a3238fb85be760a30db03672525e8f591 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/a8b37d1a3238fb85be760a30db03672525e8f591/pydoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 997, 1106, 12, 2890, 16, 733, 16, 508, 33, 7036, 4672, 3536, 25884, 977, 7323, 364, 279, 864, 667, 733, 12123, 508, 273, 733, 16186, 529, 972, 8337, 273, 733, 16186, 18602, 972, 2, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 997, 1106, 12, 2890, 16, 733, 16, 508, 33, 7036, 4672, 3536, 25884, 977, 7323, 364, 279, 864, 667, 733, 12123, 508, 273, 733, 16186, 529, 972, 8337, 273, 733, 16186, 18602, 972, 2, -10...
:param start: Start :class:`datetime.datetime`. :param ends_in: The end delta as a :class:`datetime.timedelta`.
:param start: Start :class:`~datetime.datetime`. :param ends_in: The end delta as a :class:`~datetime.timedelta`.
def remaining(start, ends_in, now=None, relative=True): """Calculate the remaining time for a start date and a timedelta. E.g. "how many seconds left for 30 seconds after ``start``?" :param start: Start :class:`datetime.datetime`. :param ends_in: The end delta as a :class:`datetime.timedelta`. :keyword relative: If ...
37c7d5aa33714a84474b2cce10a5bbc9454bfdd0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2024/37c7d5aa33714a84474b2cce10a5bbc9454bfdd0/timeutils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4463, 12, 1937, 16, 3930, 67, 267, 16, 2037, 33, 7036, 16, 3632, 33, 5510, 4672, 3536, 8695, 326, 4463, 813, 364, 279, 787, 1509, 471, 279, 10661, 18, 225, 512, 18, 75, 18, 315, 1360...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4463, 12, 1937, 16, 3930, 67, 267, 16, 2037, 33, 7036, 16, 3632, 33, 5510, 4672, 3536, 8695, 326, 4463, 813, 364, 279, 787, 1509, 471, 279, 10661, 18, 225, 512, 18, 75, 18, 315, 1360...
def __init__(self, lines=[], filename=None, begin=-1, endScope=None):
def __init__(self, lines=None, filename=None, begin=-1, endScope=None):
def __init__(self, lines=[], filename=None, begin=-1, endScope=None): "Initialize a new WmlIterator." if not lines and filename: ifp = open(filename) lines = ifp.readlines() ifp.close() self.lines = lines self.fname = filename self.reset() self.seek(begin)
b2f84bdbe93b802cc3661fc2d1c4e129d29d0bc7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9355/b2f84bdbe93b802cc3661fc2d1c4e129d29d0bc7/wmliterator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2362, 33, 7036, 16, 1544, 33, 7036, 16, 2376, 29711, 21, 16, 679, 3876, 33, 7036, 4672, 315, 7520, 279, 394, 678, 781, 3198, 1199, 309, 486, 2362, 471, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2362, 33, 7036, 16, 1544, 33, 7036, 16, 2376, 29711, 21, 16, 679, 3876, 33, 7036, 4672, 315, 7520, 279, 394, 678, 781, 3198, 1199, 309, 486, 2362, 471, ...
skeleton stays same but all data disappears...
Removes all data from table_name, except for the structure of the columns. EXAMPLE: sage: D = SQLDatabase() sage: D.create_table('simon',{'col1':{'sql':'INTEGER'}}) sage: D.add_row('simon',(9,)) sage: D.show('simon') col1 -------------------- 9 sage: D.drop_data_from_table('simon') sage: D.show('simon') col1 ---------...
def drop_data_from_table(self, table_name): """ skeleton stays same but all data disappears... """ if not self.__skeleton__.has_key(table_name): raise ValueError("Database has no table %s."%table_name) self.__connection__.execute('delete from ' + table_name)
5ddf79d83938a9c0191ec3af2f60e264a74ecef9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/5ddf79d83938a9c0191ec3af2f60e264a74ecef9/database.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3640, 67, 892, 67, 2080, 67, 2121, 12, 2890, 16, 1014, 67, 529, 4672, 3536, 20284, 777, 501, 628, 1014, 67, 529, 16, 1335, 364, 326, 3695, 434, 326, 2168, 18, 225, 5675, 21373, 30, 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, 3640, 67, 892, 67, 2080, 67, 2121, 12, 2890, 16, 1014, 67, 529, 4672, 3536, 20284, 777, 501, 628, 1014, 67, 529, 16, 1335, 364, 326, 3695, 434, 326, 2168, 18, 225, 5675, 21373, 30, 2...
f.write(get_time())
f.write(str(os.getpid()))
def set_lock(): """ Sets the lock file """ f = open(get_lockname(),'w') f.write(get_time()) f.close()
220a011764b979db0735a926a9c357f113032bd5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5758/220a011764b979db0735a926a9c357f113032bd5/pylal_exttrig_llutils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 739, 13332, 3536, 11511, 326, 2176, 585, 3536, 284, 273, 1696, 12, 588, 67, 739, 529, 9334, 11, 91, 6134, 284, 18, 2626, 12, 701, 12, 538, 18, 588, 6610, 1435, 3719, 284, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 739, 13332, 3536, 11511, 326, 2176, 585, 3536, 284, 273, 1696, 12, 588, 67, 739, 529, 9334, 11, 91, 6134, 284, 18, 2626, 12, 701, 12, 538, 18, 588, 6610, 1435, 3719, 284, 18...
nhs=0 if options.serial_handshake.get()=='XONXOFF': nhs=1 if options.serial_handshake.get()=='Hardware': nhs=2 w.acom1.nhandshake=nhs
w.acom1.chs=options.serial_handshake.get() + \ ' '[:40]
def put_params(param3=NONE): global param20
a89efc8912513f3ac02de8a6a6823b34e5fc7833 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2394/a89efc8912513f3ac02de8a6a6823b34e5fc7833/wspr.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1378, 67, 2010, 12, 891, 23, 33, 9826, 4672, 2552, 579, 3462, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1378, 67, 2010, 12, 891, 23, 33, 9826, 4672, 2552, 579, 3462, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
return self.data.pop(key, *args)
return self.data.pop(key.upper(), *args)
def pop(self, key, *args): unsetenv(key) return self.data.pop(key, *args)
e425e36103ce87de6e97c8315e8ec9ac961b44c1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12029/e425e36103ce87de6e97c8315e8ec9ac961b44c1/os.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1843, 12, 2890, 16, 498, 16, 380, 1968, 4672, 2646, 3074, 12, 856, 13, 327, 365, 18, 892, 18, 5120, 12, 856, 16, 380, 1968, 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, 1843, 12, 2890, 16, 498, 16, 380, 1968, 4672, 2646, 3074, 12, 856, 13, 327, 365, 18, 892, 18, 5120, 12, 856, 16, 380, 1968, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -10...
"%s cannot be child of %s" % (repr(node), repr(self) )
"%s cannot be child of %s" % (repr(node), repr(self))
def appendChild(self, node): if node.nodeType not in self.childNodeTypes: raise HierarchyRequestErr, \ "%s cannot be child of %s" % (repr(node), repr(self) ) if node.parentNode is not None: node.parentNode.removeChild(node) if self.childNodes: last = self.lastChild node.previousSibling = last last.nextSibling = node el...
ec5905c95815205aa328f8b75324f1465ff85290 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/ec5905c95815205aa328f8b75324f1465ff85290/minidom.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5833, 12, 2890, 16, 756, 4672, 309, 756, 18, 2159, 559, 486, 316, 365, 18, 3624, 907, 2016, 30, 1002, 670, 6000, 691, 2524, 16, 521, 2213, 87, 2780, 506, 1151, 434, 738, 87, 6, 738, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5833, 12, 2890, 16, 756, 4672, 309, 756, 18, 2159, 559, 486, 316, 365, 18, 3624, 907, 2016, 30, 1002, 670, 6000, 691, 2524, 16, 521, 2213, 87, 2780, 506, 1151, 434, 738, 87, 6, 738, ...
(DCC, ['RESUME', fileName, port, resumePos])])
('DCC', ['SEND', 'RESUME', fileName, port, resumePos])])
def dccResume(self, user, fileName, port, resumePos): """Send a DCC RESUME request to another user.""" self.ctcpMakeQuery(user, [ (DCC, ['RESUME', fileName, port, resumePos])])
e962a8bb8dcad31eea345dc001bf1c2a593d3f2c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/e962a8bb8dcad31eea345dc001bf1c2a593d3f2c/irc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 302, 952, 20911, 12, 2890, 16, 729, 16, 3968, 16, 1756, 16, 10774, 1616, 4672, 3536, 3826, 279, 463, 6743, 2438, 30590, 590, 358, 4042, 729, 12123, 365, 18, 299, 4057, 6464, 1138, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 302, 952, 20911, 12, 2890, 16, 729, 16, 3968, 16, 1756, 16, 10774, 1616, 4672, 3536, 3826, 279, 463, 6743, 2438, 30590, 590, 358, 4042, 729, 12123, 365, 18, 299, 4057, 6464, 1138, 12, ...
expected = [ 'reportdir=', 'reportfile=', 'escape=', 'variable=',
expected = [ 'reportdir=', 'reportfile=', 'escape=', 'variable=',
def test_long_options(self): expected = [ 'reportdir=', 'reportfile=', 'escape=', 'variable=', 'name=', 'help', 'version' ] assert_equals(self.ap._long_opts, expected)
63d0a93318c6aa819fb3e9cf63812b9c784165a6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6988/63d0a93318c6aa819fb3e9cf63812b9c784165a6/test_argumentparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 5748, 67, 2116, 12, 2890, 4672, 2665, 273, 306, 296, 6006, 1214, 33, 2187, 296, 6006, 768, 33, 2187, 296, 6939, 33, 2187, 296, 6105, 33, 2187, 296, 529, 33, 2187, 296, 5201, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5748, 67, 2116, 12, 2890, 4672, 2665, 273, 306, 296, 6006, 1214, 33, 2187, 296, 6006, 768, 33, 2187, 296, 6939, 33, 2187, 296, 6105, 33, 2187, 296, 529, 33, 2187, 296, 5201, ...
if len(name) <= 2: ids = self.search(cr, user, [('code', '=', name)] + args,
if len(name) == 2: ids = self.search(cr, user, [('code', '=', name.upper())] + args,
def name_search(self, cr, user, name='', args=None, operator='ilike', context=None, limit=80): if not args: args=[] if not context: context={} ids = False if len(name) <= 2: ids = self.search(cr, user, [('code', '=', name)] + args, limit=limit, context=context) if not ids: ids = self.search(cr, user, [('name', operator...
895f6b99d20843219f994431f3bac69b2e787594 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12853/895f6b99d20843219f994431f3bac69b2e787594/country.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 508, 67, 3072, 12, 2890, 16, 4422, 16, 729, 16, 508, 2218, 2187, 833, 33, 7036, 16, 3726, 2218, 330, 2547, 2187, 819, 33, 7036, 16, 1800, 33, 3672, 4672, 309, 486, 833, 30, 833, 33, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 508, 67, 3072, 12, 2890, 16, 4422, 16, 729, 16, 508, 2218, 2187, 833, 33, 7036, 16, 3726, 2218, 330, 2547, 2187, 819, 33, 7036, 16, 1800, 33, 3672, 4672, 309, 486, 833, 30, 833, 33, ...
def manage_delUsers(self, names):
def manage_delUsers(names):
def manage_editUser(self, name, password, roles, domains): """ API method for changing user object attributes. Note that not all user folder implementations support changing of user object attributes. Implementations that do not support changing of user object attributes will raise an error for this method.
0ae0fa28bf854450e68f238e212a10ad04c88b44 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/0ae0fa28bf854450e68f238e212a10ad04c88b44/UserFolderAPI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10680, 67, 4619, 1299, 12, 2890, 16, 508, 16, 2201, 16, 4900, 16, 10128, 4672, 3536, 1491, 707, 364, 12770, 729, 733, 1677, 18, 3609, 716, 486, 777, 729, 3009, 16164, 2865, 12770, 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, 10680, 67, 4619, 1299, 12, 2890, 16, 508, 16, 2201, 16, 4900, 16, 10128, 4672, 3536, 1491, 707, 364, 12770, 729, 733, 1677, 18, 3609, 716, 486, 777, 729, 3009, 16164, 2865, 12770, 434, ...
for f in args:
for f in relpath(repo, (file,) + files):
def getname(rev): try: return bcache[rev] except KeyError: cl = repo.changelog.read(repo.changelog.node(rev)) name = cl[1] f = name.find('@') if f >= 0: name = name[:f] bcache[rev] = name return name
696aae8cd8215f7812988063e6685fe6e912a5e0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/696aae8cd8215f7812988063e6685fe6e912a5e0/commands.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 529, 12, 9083, 4672, 775, 30, 327, 324, 2493, 63, 9083, 65, 1335, 4999, 30, 927, 273, 3538, 18, 24083, 12970, 18, 896, 12, 7422, 18, 24083, 12970, 18, 2159, 12, 9083, 3719, 508, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 529, 12, 9083, 4672, 775, 30, 327, 324, 2493, 63, 9083, 65, 1335, 4999, 30, 927, 273, 3538, 18, 24083, 12970, 18, 896, 12, 7422, 18, 24083, 12970, 18, 2159, 12, 9083, 3719, 508, ...
display_playback = gtk.CheckButton(_("Enable _playback/volume buttons"))
display_playback = gtk.CheckButton(_("_Playback/volume buttons"))
def on_prefs_real(self, parent_window, popuptimes, scrobbler, trayicon_available, trayicon_in_use, reconnect, renotify, reinfofile, prefs_notif_toggled, prefs_stylized_toggled, prefs_art_toggled, prefs_playback_toggled, prefs_progress_toggled, prefs_statusbar_toggled, prefs_lyrics_toggled, prefs_trayicon_toggled, prefs...
33c3bc0083522bfafaf552ff38d4ed3761f9fffe /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2312/33c3bc0083522bfafaf552ff38d4ed3761f9fffe/preferences.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 1484, 2556, 67, 7688, 12, 2890, 16, 982, 67, 5668, 16, 1843, 3648, 4485, 16, 888, 303, 9897, 749, 16, 268, 435, 3950, 67, 5699, 16, 268, 435, 3950, 67, 267, 67, 1202, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 1484, 2556, 67, 7688, 12, 2890, 16, 982, 67, 5668, 16, 1843, 3648, 4485, 16, 888, 303, 9897, 749, 16, 268, 435, 3950, 67, 5699, 16, 268, 435, 3950, 67, 267, 67, 1202, 16, ...
self.restore_files()
self.restore_files()
def s_apply(self, func, args=(), kw=None):
b9c951d8cedeec531cce217b5117b5d471b1e468 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/b9c951d8cedeec531cce217b5117b5d471b1e468/rexec.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 272, 67, 9010, 12, 2890, 16, 1326, 16, 833, 33, 9334, 5323, 33, 7036, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 272, 67, 9010, 12, 2890, 16, 1326, 16, 833, 33, 9334, 5323, 33, 7036, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
return self.SAT_SUBJECTS
return SATPrepTeacherModuleInfo.SAT_SUBJECTS
def subjects(): return self.SAT_SUBJECTS
7e01587a343a49e80ba784440c917d2264267b92 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12041/7e01587a343a49e80ba784440c917d2264267b92/module_ext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16782, 13332, 327, 365, 18, 55, 789, 67, 8362, 5304, 55, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16782, 13332, 327, 365, 18, 55, 789, 67, 8362, 5304, 55, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
cache=cache)
cache=cache, ignoretz=ignoretz, tzinfos=tzinfos)
def _parse_rfc(self, s, dtstart=None, cache=False, unfold=False, forceset=False, compatible=False, ignoretz=False): global parser if compatible: forceset = True s = s.upper() lines = s.splitlines() if not lines: raise ValueError, "empty string" if unfold: i = 0 while i < len(lines): line = lines[i].rstrip() if not line...
d375f07e08a8fd61f1640e67f981e1abdac8d8d1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8441/d375f07e08a8fd61f1640e67f981e1abdac8d8d1/rrule.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2670, 67, 16784, 12, 2890, 16, 272, 16, 3681, 1937, 33, 7036, 16, 1247, 33, 8381, 16, 640, 16007, 33, 8381, 16, 26376, 278, 33, 8381, 16, 7318, 33, 8381, 16, 2305, 12994, 33, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2670, 67, 16784, 12, 2890, 16, 272, 16, 3681, 1937, 33, 7036, 16, 1247, 33, 8381, 16, 640, 16007, 33, 8381, 16, 26376, 278, 33, 8381, 16, 7318, 33, 8381, 16, 2305, 12994, 33, 83...
msg = d['msg'] if not msg:
msgs = d['msg'] result = u"" close = d['page'].link_to(self.request, text=_('Clear message')) for msg, msg_class in msgs: try: result += u'<p>%s</p>' % msg.render() close = '' except AttributeError: if msg and msg_class: result += u'<p><div class="%s">%s</div></p>' % (msg_class, msg) elif msg: result += u'<p>%s</p>\n'...
def msg(self, d): """ Assemble the msg display
3f19c7e23ea3763b2d9884022af871e71f3789cf /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/888/3f19c7e23ea3763b2d9884022af871e71f3789cf/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1234, 12, 2890, 16, 302, 4672, 3536, 2970, 10045, 326, 1234, 2562, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1234, 12, 2890, 16, 302, 4672, 3536, 2970, 10045, 326, 1234, 2562, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
check_kernel_ver("2.6.16")
autotest_utils.check_kernel_ver("2.6.16")
def execute(self, dir = None, pages_requested = 20): check_kernel_ver("2.6.16")
885957f8484bf2881b2ea0bdc55b022f29cd0bfe /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12268/885957f8484bf2881b2ea0bdc55b022f29cd0bfe/libhugetlbfs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 12, 2890, 16, 1577, 273, 599, 16, 4689, 67, 19065, 273, 4200, 4672, 866, 67, 8111, 67, 502, 2932, 22, 18, 26, 18, 2313, 7923, 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, 1836, 12, 2890, 16, 1577, 273, 599, 16, 4689, 67, 19065, 273, 4200, 4672, 866, 67, 8111, 67, 502, 2932, 22, 18, 26, 18, 2313, 7923, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
is_debug_mode, is_lint_mode)
is_debug_mode, is_lint_mode, tests_are_present=tests_are_present)
def __init__(self, tests, directory, platform, is_debug_mode, is_lint_mode): """Reads the test expectations files from the given directory.""" path = os.path.join(directory, self.TEST_LIST) self._expected_failures = TestExpectationsFile(path, tests, platform, is_debug_mode, is_lint_mode)
a6ee86af99098a57a481db725e55456d1bc46f5b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9392/a6ee86af99098a57a481db725e55456d1bc46f5b/test_expectations.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 7434, 16, 1867, 16, 4072, 16, 353, 67, 4148, 67, 3188, 16, 353, 67, 5671, 67, 3188, 4672, 3536, 7483, 326, 1842, 26305, 1390, 628, 326, 864, 1867, 12123,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7434, 16, 1867, 16, 4072, 16, 353, 67, 4148, 67, 3188, 16, 353, 67, 5671, 67, 3188, 4672, 3536, 7483, 326, 1842, 26305, 1390, 628, 326, 864, 1867, 12123,...
if s == media.drive_status:
if s == self.drive_status:
def identify(self, media): """ magic! Try to find out as much as possible about the disc in the rom drive: title, image, play options, ... """ # Check drive status (tray pos, disc ready) try: CDSL_CURRENT = ( (int ) ( ~ 0 >> 1 ) ) fd = os.open(media.devicename, os.O_RDONLY | os.O_NONBLOCK) if os.uname()[0] == 'FreeBSD'...
073a135df00509e35117ba8274a235acd11e762b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/073a135df00509e35117ba8274a235acd11e762b/rom_drives.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9786, 12, 2890, 16, 3539, 4672, 3536, 8146, 5, 6161, 358, 1104, 596, 487, 9816, 487, 3323, 2973, 326, 19169, 316, 326, 24137, 14316, 30, 2077, 16, 1316, 16, 6599, 702, 16, 1372, 3536, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9786, 12, 2890, 16, 3539, 4672, 3536, 8146, 5, 6161, 358, 1104, 596, 487, 9816, 487, 3323, 2973, 326, 19169, 316, 326, 24137, 14316, 30, 2077, 16, 1316, 16, 6599, 702, 16, 1372, 3536, ...
except AttributeError: self.__rank = {}
def rank(self, use_database=False, verbose=False, only_use_mwrank=True, algorithm='mwrank_shell', proof=None): """ Return the rank of this elliptic curve, assuming no conjectures.
191c8e1d61e26b049ead6a7ffe9599d513e93fe4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/191c8e1d61e26b049ead6a7ffe9599d513e93fe4/ell_rational_field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6171, 12, 2890, 16, 999, 67, 6231, 33, 8381, 16, 3988, 33, 8381, 16, 1338, 67, 1202, 67, 81, 91, 11500, 33, 5510, 16, 4886, 2218, 81, 91, 11500, 67, 10304, 2187, 14601, 33, 7036, 467...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6171, 12, 2890, 16, 999, 67, 6231, 33, 8381, 16, 3988, 33, 8381, 16, 1338, 67, 1202, 67, 81, 91, 11500, 33, 5510, 16, 4886, 2218, 81, 91, 11500, 67, 10304, 2187, 14601, 33, 7036, 467...
L Curve Length in Pixels
def applyArbitraryThresholds(self,expressionString): """ This method takes in a string and uses it literally to construct a testing condition to impose on the kurve entries from a candidate file. It then returns the list of candidates meeting the express written in the string. Use caution with this function! This is p...
f8356864ebd3e4f4c62944a76ace8501c23ac979 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5758/f8356864ebd3e4f4c62944a76ace8501c23ac979/tracksearchutils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2230, 686, 3682, 3345, 7614, 87, 12, 2890, 16, 8692, 780, 4672, 3536, 1220, 707, 5530, 316, 279, 533, 471, 4692, 518, 328, 2165, 1230, 358, 4872, 279, 7769, 2269, 358, 709, 4150, 603, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2230, 686, 3682, 3345, 7614, 87, 12, 2890, 16, 8692, 780, 4672, 3536, 1220, 707, 5530, 316, 279, 533, 471, 4692, 518, 328, 2165, 1230, 358, 4872, 279, 7769, 2269, 358, 709, 4150, 603, ...
def eval(self, x, strip=False, filename=None, debug=None,
def eval(self, x, globals, strip=False, filename=None, debug=None,
def eval(self, x, strip=False, filename=None, debug=None, density=None, locals={}): """ INPUT: x -- string to evaluate. strip -- ignored filename -- output filename (string with no spaces) debug -- whether to print verbose debugging output density -- how big output image is. locals -- extra local variables used when ev...
e2ca857253925d93a6e76d0b5f0a90b423a36521 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/e2ca857253925d93a6e76d0b5f0a90b423a36521/latex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5302, 12, 2890, 16, 619, 16, 10941, 16, 2569, 33, 8381, 16, 1544, 33, 7036, 16, 1198, 33, 7036, 16, 12142, 33, 7036, 16, 8985, 12938, 4672, 3536, 12943, 30, 619, 1493, 533, 358, 5956, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 2890, 16, 619, 16, 10941, 16, 2569, 33, 8381, 16, 1544, 33, 7036, 16, 1198, 33, 7036, 16, 12142, 33, 7036, 16, 8985, 12938, 4672, 3536, 12943, 30, 619, 1493, 533, 358, 5956, ...