rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
searchList = [{ 'tasks': tasks_str}]))
searchList = [parameters_dict]))
def export_generate(self): #Template loading and cutting if self.export_all_active.get_active(): #Export the active tasks in the current view (the ones visible in # the Task Browser model = self.plugin_api.get_task_modelsort() tasks_str = self.treemodel_to_TaskStr(model, model.get_iter_first()) elif self.export_finishe...
c09ecc741f6a8eac08afac2dc2bf567af6085136 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8234/c09ecc741f6a8eac08afac2dc2bf567af6085136/export.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3359, 67, 7163, 12, 2890, 4672, 468, 2283, 7153, 471, 6391, 1787, 309, 365, 18, 6530, 67, 454, 67, 3535, 18, 588, 67, 3535, 13332, 468, 6144, 326, 2695, 4592, 316, 326, 783, 1476, 261,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3359, 67, 7163, 12, 2890, 4672, 468, 2283, 7153, 471, 6391, 1787, 309, 365, 18, 6530, 67, 454, 67, 3535, 18, 588, 67, 3535, 13332, 468, 6144, 326, 2695, 4592, 316, 326, 783, 1476, 261,...
self.wolves_locked = 1
self.reply("Your decision is acknowledged.", from_private)
def kill(self, from_private, who): "Allow a werewolf to express intent to 'kill' somebody."
cf22a0bbd4d425772144825ce47bed9a688b4025 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3953/cf22a0bbd4d425772144825ce47bed9a688b4025/wolfbot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8673, 12, 2890, 16, 628, 67, 1152, 16, 10354, 4672, 315, 7009, 279, 22646, 359, 355, 74, 358, 16947, 10376, 358, 296, 16418, 11, 2690, 3432, 1199, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8673, 12, 2890, 16, 628, 67, 1152, 16, 10354, 4672, 315, 7009, 279, 22646, 359, 355, 74, 358, 16947, 10376, 358, 296, 16418, 11, 2690, 3432, 1199, 2, -100, -100, -100, -100, -100, -100, ...
try: self.other - self.set self.fail("expected TypeError") except TypeError: pass try: self.set - self.other self.fail("expected TypeError") except TypeError: pass
self.assertRaises(TypeError, lambda: self.set - self.other) self.assertRaises(TypeError, lambda: self.other - self.set)
def test_difference(self): try: self.other - self.set self.fail("expected TypeError") except TypeError: pass try: self.set - self.other self.fail("expected TypeError") except TypeError: pass
6cca754c2085e4eb203855b7d67df4a11ff0f534 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/6cca754c2085e4eb203855b7d67df4a11ff0f534/test_sets.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 23444, 12, 2890, 4672, 775, 30, 365, 18, 3011, 300, 365, 18, 542, 365, 18, 6870, 2932, 3825, 3580, 7923, 1335, 3580, 30, 1342, 775, 30, 365, 18, 542, 300, 365, 18, 3011, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 23444, 12, 2890, 4672, 775, 30, 365, 18, 3011, 300, 365, 18, 542, 365, 18, 6870, 2932, 3825, 3580, 7923, 1335, 3580, 30, 1342, 775, 30, 365, 18, 542, 300, 365, 18, 3011, 36...
project =self.launchpad.projects[project]
project = self.launchpad.projects[project]
def getProject(self, project): project =self.launchpad.projects[project] return project
f90f8882d899529c1fced87490de5125e459331d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7339/f90f8882d899529c1fced87490de5125e459331d/crm_lp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11080, 12, 2890, 16, 1984, 4672, 1984, 273, 365, 18, 20738, 6982, 18, 13582, 63, 4406, 65, 327, 1984, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11080, 12, 2890, 16, 1984, 4672, 1984, 273, 365, 18, 20738, 6982, 18, 13582, 63, 4406, 65, 327, 1984, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
price = sale_price(product)
price = untaxed_sale_price(product)
def taxed_sale_price(product): """Returns the product unit price with the best auto discount applied and taxes included.""" taxer = satchmo_tax._get_taxprocessor() price = sale_price(product) price = price + taxer.by_price(product.taxClass, price) return price
31c1c4c1bfeb852b04c10c2dca8c0b3491367dd0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13656/31c1c4c1bfeb852b04c10c2dca8c0b3491367dd0/satchmo_discounts.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5320, 329, 67, 87, 5349, 67, 8694, 12, 5896, 4672, 3536, 1356, 326, 3017, 2836, 6205, 598, 326, 3796, 3656, 12137, 6754, 471, 5320, 281, 5849, 12123, 5320, 264, 273, 272, 505, 8683, 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, 5320, 329, 67, 87, 5349, 67, 8694, 12, 5896, 4672, 3536, 1356, 326, 3017, 2836, 6205, 598, 326, 3796, 3656, 12137, 6754, 471, 5320, 281, 5849, 12123, 5320, 264, 273, 272, 505, 8683, 67, ...
next_action = '' if action_score != -1 and last_step == 1: next_action = Propose_Next_Action(doctype, action_score, access, current_level, indir) if last_step == 1: if uid_email != "" and uid_email != "guest" and rn != "": submission_exists = \ submission_exists_in_log(doctype, act, access, uid_email) if submissi...
else: if action_score != -1 and last_step == 1: next_action = Propose_Next_Action(doctype, \ action_score, \ access, \ current_level, \ indir) if last_step == 1: if uid_email != "" and uid_email != "guest" and rn != "": submission_exists = \ submission_exists_in_log(doctype, act, access, uid_email) if submis...
def endaction(req, c=cdsname, ln=cdslang, doctype="", act="", startPg=1, indir="", access="", mainmenu="", fromdir="", file="", nextPg="", nbPg="", curpage=1, step=1, mode="U"): """Having filled-in the WebSubmit form created for metadata by the interface function, the user clicks a button to either "finish the submissi...
79b72d2f40eb18449af82cbba788018e2398f989 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12027/79b72d2f40eb18449af82cbba788018e2398f989/websubmit_engine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 679, 1128, 12, 3658, 16, 276, 33, 71, 2377, 529, 16, 7211, 33, 4315, 2069, 539, 16, 24909, 1546, 3113, 1328, 1546, 3113, 787, 27265, 33, 21, 16, 316, 1214, 1546, 3113, 2006, 1546, 3113...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 679, 1128, 12, 3658, 16, 276, 33, 71, 2377, 529, 16, 7211, 33, 4315, 2069, 539, 16, 24909, 1546, 3113, 1328, 1546, 3113, 787, 27265, 33, 21, 16, 316, 1214, 1546, 3113, 2006, 1546, 3113...
elif 'cshlib' in y.features or 'cprogram' in y.features:
elif 'cshlib' in y.features:
def apply_lib_vars(self): """after apply_link because of 'link_task' after default_cc because of the attribute 'uselib'""" # after 'apply_core' in case if 'cc' if there is no link env = self.env # 1. the case of the libs defined in the project (visit ancestors first) # the ancestors external libraries (uselib) will ...
a30a1968bec281dbd175ab3f17bada24c3d2e5b5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7302/a30a1968bec281dbd175ab3f17bada24c3d2e5b5/ccroot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2230, 67, 2941, 67, 4699, 12, 2890, 4672, 3536, 5205, 2230, 67, 1232, 2724, 434, 296, 1232, 67, 4146, 11, 1839, 805, 67, 952, 2724, 434, 326, 1566, 296, 407, 30575, 11, 8395, 225, 468,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2230, 67, 2941, 67, 4699, 12, 2890, 4672, 3536, 5205, 2230, 67, 1232, 2724, 434, 296, 1232, 67, 4146, 11, 1839, 805, 67, 952, 2724, 434, 326, 1566, 296, 407, 30575, 11, 8395, 225, 468,...
result_list[n.ivalue] = R_values[value.ivalue]
result_list[n] = R_values[value]
def values(self): """ Returns a list of the values of this character on each integer between 0 and the modulus. EXAMPLES: sage: e = DirichletGroup(20)(1) sage: e.values() [0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1] sage: e = DirichletGroup(20).gen(0) sage: print e.values() [0, 1, 0, -1, 0, 0, 0, -1, 0...
1b50a849458fa113bb43949932f2bce94dce9625 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/1b50a849458fa113bb43949932f2bce94dce9625/dirichlet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 924, 12, 2890, 4672, 3536, 2860, 279, 666, 434, 326, 924, 434, 333, 3351, 603, 1517, 3571, 3086, 374, 471, 326, 24770, 18, 225, 5675, 8900, 11386, 30, 272, 410, 30, 425, 273, 8446, 135...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 924, 12, 2890, 4672, 3536, 2860, 279, 666, 434, 326, 924, 434, 333, 3351, 603, 1517, 3571, 3086, 374, 471, 326, 24770, 18, 225, 5675, 8900, 11386, 30, 272, 410, 30, 425, 273, 8446, 135...
for first in xrange(0, len(parents), binjfindjob.parents_per_binjfind):
while parents:
def make_binjfind_fragment(dag, parents, tag): nodes = [] for first in xrange(0, len(parents), binjfindjob.parents_per_binjfind): node = BinjfindNode(binjfindjob) node.set_name("ligolw_binjfind_%s_%d" % (tag, first)) for parent in parents[first:first + binjfindjob.parents_per_binjfind]: node.add_parent(parent) node.add...
ee662f0e0f98d5035001147ea55c64f42fbc4ae9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5758/ee662f0e0f98d5035001147ea55c64f42fbc4ae9/power.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 4757, 78, 4720, 67, 11956, 12, 30204, 16, 6298, 16, 1047, 4672, 2199, 273, 5378, 1323, 6298, 30, 756, 273, 16827, 78, 4720, 907, 12, 4757, 78, 4720, 4688, 13, 756, 18, 542, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 4757, 78, 4720, 67, 11956, 12, 30204, 16, 6298, 16, 1047, 4672, 2199, 273, 5378, 1323, 6298, 30, 756, 273, 16827, 78, 4720, 907, 12, 4757, 78, 4720, 4688, 13, 756, 18, 542, ...
-{-1/9,0}
-{8/9,1}
def modular_symbol(self, x, check=True): """ Create a modular symbol in this space.
3c580e8e31545dac681cd078ee6965d7da2ef81f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/3c580e8e31545dac681cd078ee6965d7da2ef81f/ambient.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 681, 2490, 67, 7175, 12, 2890, 16, 619, 16, 866, 33, 5510, 4672, 3536, 1788, 279, 681, 2490, 3273, 316, 333, 3476, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 681, 2490, 67, 7175, 12, 2890, 16, 619, 16, 866, 33, 5510, 4672, 3536, 1788, 279, 681, 2490, 3273, 316, 333, 3476, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
self.Track()
try: self.Track() except: pass print "Done tracking" if self.dowritesbfmf and self.movie.writesbfmf_isopen(): self.movie.writesbfmf_close(self.start_frame)
def DoAll(self):
0236d9b32c80ea668637bb2bddf83029f2dd0343 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2711/0236d9b32c80ea668637bb2bddf83029f2dd0343/algorithm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2256, 1595, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2256, 1595, 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, -...
self.errors.append((test, self._exc_info_to_string(err)))
self.errors.append((test, self._exc_info_to_string(err, test)))
def addError(self, test, err): """Called when an error has occurred. 'err' is a tuple of values as returned by sys.exc_info(). """ self.errors.append((test, self._exc_info_to_string(err)))
743436f26acbebc9e6dea9186e6c7cb7f3e517d1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/743436f26acbebc9e6dea9186e6c7cb7f3e517d1/unittest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9501, 12, 2890, 16, 1842, 16, 393, 4672, 3536, 8185, 1347, 392, 555, 711, 7841, 18, 296, 370, 11, 353, 279, 3193, 434, 924, 487, 2106, 635, 2589, 18, 10075, 67, 1376, 7675, 3536, 365, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9501, 12, 2890, 16, 1842, 16, 393, 4672, 3536, 8185, 1347, 392, 555, 711, 7841, 18, 296, 370, 11, 353, 279, 3193, 434, 924, 487, 2106, 635, 2589, 18, 10075, 67, 1376, 7675, 3536, 365, ...
By default, the command will print `set_source_lang` and `set_translation`
By default, the command will print `set_source_file` and `set_translation`
def cmd_auto_find(argv, path_to_tx): "Automatically identify translation files." """ This command goes through all files in this directory and its subdirectories and tries to find matches to the expression given. The expression should contain '<lang>' to identify the language, or, if the --regex option is defined, sh...
c6baba017c0afac06b576744cee592be43b71243 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11326/c6baba017c0afac06b576744cee592be43b71243/commands.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1797, 67, 6079, 67, 4720, 12, 19485, 16, 589, 67, 869, 67, 978, 4672, 315, 31910, 9786, 4794, 1390, 1199, 225, 3536, 1220, 1296, 13998, 3059, 777, 1390, 316, 333, 1867, 471, 2097, 31220,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1797, 67, 6079, 67, 4720, 12, 19485, 16, 589, 67, 869, 67, 978, 4672, 315, 31910, 9786, 4794, 1390, 1199, 225, 3536, 1220, 1296, 13998, 3059, 777, 1390, 316, 333, 1867, 471, 2097, 31220,...
return self.stylename
return self.stylename
def __str__(self):
b0e44d61d9e592e1acd6aa05eac9704ba5776f61 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/b0e44d61d9e592e1acd6aa05eac9704ba5776f61/Tix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 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, 1001, 701, 972, 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...
import gui_thread_guts
import gui_thread_guts
def exit_gui_thread(last_exit = oldexitfunc): # don't wait on MS platforms -- it hangs. # On X11, we have to shut down the secondary thread. if running_in_second_thread and os.name != 'nt': import gui_thread_guts event_poster = gui_thread_guts.proxy_base() event_catcher = event_poster.catcher finished = threading.Event...
34865d4577575a214163bb59a5d287b7df2430a9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/34865d4577575a214163bb59a5d287b7df2430a9/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2427, 67, 20292, 67, 5930, 12, 2722, 67, 8593, 273, 8793, 561, 305, 644, 4672, 468, 2727, 1404, 2529, 603, 9238, 17422, 1493, 518, 25733, 87, 18, 468, 2755, 1139, 2499, 16, 732, 1240, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2427, 67, 20292, 67, 5930, 12, 2722, 67, 8593, 273, 8793, 561, 305, 644, 4672, 468, 2727, 1404, 2529, 603, 9238, 17422, 1493, 518, 25733, 87, 18, 468, 2755, 1139, 2499, 16, 732, 1240, ...
self.startSpeed = 4 self.speed = self.startSpeed
self.startVirtualSpeed = 4 self.virtualSpeed = self.startVirtualSpeed
def initGamePython(self):
14b2acc074530e8a6710261615202e97b1b8b23b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12485/14b2acc074530e8a6710261615202e97b1b8b23b/micropolisturbogearsengine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 12496, 15774, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 12496, 15774, 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, ...
nl = ([self.cfg.GetMasterNode(), self.instance.primary_node] + list(self.instance.secondary_nodes))
nl = [self.cfg.GetMasterNode()] + list(self.instance.all_nodes)
def BuildHooksEnv(self): """Build hooks env.
6b12959c903240425485a91cdabf17247405be7c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7542/6b12959c903240425485a91cdabf17247405be7c/cmdlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3998, 13620, 3491, 12, 2890, 4672, 3536, 3116, 9153, 1550, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3998, 13620, 3491, 12, 2890, 4672, 3536, 3116, 9153, 1550, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
def remove_redundant_vertices(self):
def remove_redundant_vertices(self, cdd_type = 'rational'):
def remove_redundant_vertices(self): """ Removes vertices from the description of the polyhedron which do not affect the convex hull. Now done automatically when a polyhedron is defined by vertices.
7ab998a6a116ce1d7e4f54b579cf78d8f8e877ba /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/7ab998a6a116ce1d7e4f54b579cf78d8f8e877ba/polyhedra.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 67, 1118, 15362, 67, 17476, 12, 2890, 16, 276, 449, 67, 723, 273, 296, 7034, 287, 11, 4672, 3536, 20284, 6928, 628, 326, 2477, 434, 326, 7573, 18550, 1949, 1492, 741, 486, 13418, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1206, 67, 1118, 15362, 67, 17476, 12, 2890, 16, 276, 449, 67, 723, 273, 296, 7034, 287, 11, 4672, 3536, 20284, 6928, 628, 326, 2477, 434, 326, 7573, 18550, 1949, 1492, 741, 486, 13418, ...
self.add_latex_line(r"\newcounter{%s}"%interCounterName)
self.initialize_newwrite() self.initialize_counter()
def get_counter_value(self,counter_name,default_value=0): """ return the value of the (LaTeX) counter <name> at this point of the LaTeX file
a24a9d5061055b9ef0fc6697dcbfed8ef9a7abae /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5111/a24a9d5061055b9ef0fc6697dcbfed8ef9a7abae/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 7476, 67, 1132, 12, 2890, 16, 7476, 67, 529, 16, 1886, 67, 1132, 33, 20, 4672, 3536, 327, 326, 460, 434, 326, 261, 30745, 21575, 60, 13, 3895, 411, 529, 34, 622, 333, 1634, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 336, 67, 7476, 67, 1132, 12, 2890, 16, 7476, 67, 529, 16, 1886, 67, 1132, 33, 20, 4672, 3536, 327, 326, 460, 434, 326, 261, 30745, 21575, 60, 13, 3895, 411, 529, 34, 622, 333, 1634, ...
self._pages.Enable(page, enabled)
self._pages.EnableTab(page, enabled)
def Enable(self, page, enabled=True): """ Enables or disables a tab. """
3a0b1f421ffd09b66f7f6a99913173fbe0ebb517 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12725/3a0b1f421ffd09b66f7f6a99913173fbe0ebb517/flatnotebook.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9677, 12, 2890, 16, 1363, 16, 3696, 33, 5510, 4672, 3536, 1374, 1538, 578, 24960, 279, 3246, 18, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9677, 12, 2890, 16, 1363, 16, 3696, 33, 5510, 4672, 3536, 1374, 1538, 578, 24960, 279, 3246, 18, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
boto.log.exception('Caught exception reading instance data') time.sleep(2**i)
pass boto.log.exception('Caught exception reading instance data') time.sleep(2**i)
def retry_url(url): for i in range(0, 10): try: req = urllib2.Request(url) resp = urllib2.urlopen(req) return resp.read() except: boto.log.exception('Caught exception reading instance data') time.sleep(2**i) boto.log.error('Unable to read instance data, giving up') return ''
d1a278bb48873b8e73f203a363f38925c3543042 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1098/d1a278bb48873b8e73f203a363f38925c3543042/utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3300, 67, 718, 12, 718, 4672, 364, 277, 316, 1048, 12, 20, 16, 1728, 4672, 775, 30, 1111, 273, 11527, 22, 18, 691, 12, 718, 13, 1718, 273, 11527, 22, 18, 295, 18589, 12, 3658, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3300, 67, 718, 12, 718, 4672, 364, 277, 316, 1048, 12, 20, 16, 1728, 4672, 775, 30, 1111, 273, 11527, 22, 18, 691, 12, 718, 13, 1718, 273, 11527, 22, 18, 295, 18589, 12, 3658, 13, ...
if (from_protocol == 'irc' and nickname == self.irc_connection.get_nickname()) or (from_protocol == 'xmpp' and nickname == self.xmpp_room.nickname):
if (from_protocol == 'irc' and nickname == self.bot.nickname) or (from_protocol == 'xmpp' and nickname == self.bot.nickname):
def addParticipant(self, from_protocol, nickname, real_jid=None, irc_id=None): """Add a participant to the bridge.""" if (from_protocol == 'irc' and nickname == self.irc_connection.get_nickname()) or (from_protocol == 'xmpp' and nickname == self.xmpp_room.nickname): self.bot.error('===> Debug: not adding self ('+self.b...
1640f287d8442c92907cfdb505ab3bfeae99b8c1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9915/1640f287d8442c92907cfdb505ab3bfeae99b8c1/bridge.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 22540, 12, 2890, 16, 628, 67, 8373, 16, 19570, 16, 2863, 67, 18252, 33, 7036, 16, 277, 1310, 67, 350, 33, 7036, 4672, 3536, 986, 279, 14188, 358, 326, 10105, 12123, 309, 261, 2080...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 22540, 12, 2890, 16, 628, 67, 8373, 16, 19570, 16, 2863, 67, 18252, 33, 7036, 16, 277, 1310, 67, 350, 33, 7036, 4672, 3536, 986, 279, 14188, 358, 326, 10105, 12123, 309, 261, 2080...
rng_state0 = numpy.random.RandomState(55)
rng_state0 = numpy.random.RandomState(utt.fetch_seed())
def test_basic_usage(self): rf = RandomFunction(numpy.random.RandomState.uniform, tensor.dvector) assert not rf.inplace assert getattr(rf, 'destroy_map', {}) == {}
d5701303093e5943cc4df89bc18c7fecc19b0be2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/d5701303093e5943cc4df89bc18c7fecc19b0be2/test_raw_random.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 13240, 67, 9167, 12, 2890, 4672, 9075, 273, 8072, 2083, 12, 15974, 18, 9188, 18, 8529, 1119, 18, 24120, 16, 8171, 18, 72, 7737, 13, 1815, 486, 9075, 18, 267, 964, 1815, 3869,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1842, 67, 13240, 67, 9167, 12, 2890, 4672, 9075, 273, 8072, 2083, 12, 15974, 18, 9188, 18, 8529, 1119, 18, 24120, 16, 8171, 18, 72, 7737, 13, 1815, 486, 9075, 18, 267, 964, 1815, 3869,...
params={'filters':{'package': ''}}),
params={'filters':{'package': ''}, 'numericPager': True}),
def update_params(self, d): d['resource'] = 'bugzilla' d['resource_path'] = 'query_bugs' super(BugsGrid, self).update_params(d)
beab3d06bd7662c546c3f68a7050d40e8c8f8e45 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12732/beab3d06bd7662c546c3f68a7050d40e8c8f8e45/bugs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 2010, 12, 2890, 16, 302, 4672, 302, 3292, 3146, 3546, 273, 296, 925, 15990, 11, 302, 3292, 3146, 67, 803, 3546, 273, 296, 2271, 67, 19381, 11, 2240, 12, 31559, 6313, 16, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 2010, 12, 2890, 16, 302, 4672, 302, 3292, 3146, 3546, 273, 296, 925, 15990, 11, 302, 3292, 3146, 67, 803, 3546, 273, 296, 2271, 67, 19381, 11, 2240, 12, 31559, 6313, 16, 365,...
def _bottom_combo_cb(self, arg=None):
def _stator_combo_cb(self, arg=None):
def _bottom_combo_cb(self, arg=None): """ Read value from stator combo box """ _bottom_dictionary = {_D: 'D', _DI: 'DI', _L: 'L2', _B: 'B', _K: 'K2', _S: 'S2', _T: 'T2', _LL0: 'LL02', _LLn: 'LLn2', _UD: 'custom2'} self.sr.active_stator = self.sr.name_to_stator(_bottom_dictionary[ _STATORS[self._bottom_combo.get_active(...
53eee49e3fcce38adf97e3dc8198346f709dc071 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5595/53eee49e3fcce38adf97e3dc8198346f709dc071/SlideruleActivity.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 334, 639, 67, 25053, 67, 7358, 12, 2890, 16, 1501, 33, 7036, 4672, 3536, 2720, 460, 628, 610, 280, 16778, 3919, 3536, 389, 9176, 67, 15556, 273, 288, 67, 40, 30, 296, 40, 2187, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 334, 639, 67, 25053, 67, 7358, 12, 2890, 16, 1501, 33, 7036, 4672, 3536, 2720, 460, 628, 610, 280, 16778, 3919, 3536, 389, 9176, 67, 15556, 273, 288, 67, 40, 30, 296, 40, 2187, ...
-1: "Unkown PKCS
-2: "Unkown PKCS
def flags2text(self): """ parse the L{flags} field and create a list of "CKF_*" strings corresponding to bits set in flags
dd776d3dc9fb3ff30d84ea5641f655f85c9b0170 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6899/dd776d3dc9fb3ff30d84ea5641f655f85c9b0170/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2943, 22, 955, 12, 2890, 4672, 3536, 1109, 326, 511, 95, 7133, 97, 652, 471, 752, 279, 666, 434, 315, 3507, 42, 67, 7388, 2064, 4656, 358, 4125, 444, 316, 2943, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2943, 22, 955, 12, 2890, 4672, 3536, 1109, 326, 511, 95, 7133, 97, 652, 471, 752, 279, 666, 434, 315, 3507, 42, 67, 7388, 2064, 4656, 358, 4125, 444, 316, 2943, 2, -100, -100, -100, ...
pylab.title("Log10[< Volume >] Mpc^3\n" + sys.argv[1] + "\n" + sys.argv[2],fontsize=14)
pylab.title("Log10[Volume \n" + sys.argv[1] + "/\n" + sys.argv[2] +']',fontsize=14)
def integrate_posterior(mu, post, conf): cumpost = post.cumsum()/post.sum() #if you can do it, maybe you can't cause the volume is zero try: val = [idx for idx in range(len(cumpost)) if cumpost[idx] >= conf][0] except: val = 0 return mu[val]
f4a1617c60d5c40fd3e5462767e1471867e050b3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5758/f4a1617c60d5c40fd3e5462767e1471867e050b3/imr_volume_plot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23367, 67, 2767, 17818, 12, 13297, 16, 1603, 16, 2195, 4672, 14471, 2767, 273, 1603, 18, 28538, 1364, 1435, 19, 2767, 18, 1364, 1435, 468, 430, 1846, 848, 741, 518, 16, 6944, 1846, 848, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 23367, 67, 2767, 17818, 12, 13297, 16, 1603, 16, 2195, 4672, 14471, 2767, 273, 1603, 18, 28538, 1364, 1435, 19, 2767, 18, 1364, 1435, 468, 430, 1846, 848, 741, 518, 16, 6944, 1846, 848, ...
if (sig.getAppearance() == RED) :
sigState = sig.getAppearance() if (sigState == RED) :
def cvtAppearanceIcon(self, sig) : rep = self.darkSignalIcon if (sig.getLit()) : if (sig.getAppearance() == RED) : rep = self.redSignalIcon elif (sig.getAppearance() == FLASHRED) : rep = self.redFlashSignalIcon elif (sig.getAppearance() == YELLOW) : rep = self.yellowSignalIcon elif (sig.getAppearance() == FLASHYELLOW) ...
ea0545abfec3c873ac30e3d94a5ae0a9a6e544ba /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1660/ea0545abfec3c873ac30e3d94a5ae0a9a6e544ba/RobotThrottle2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8951, 88, 1294, 27668, 5554, 12, 2890, 16, 3553, 13, 294, 2071, 273, 365, 18, 25045, 11208, 5554, 309, 261, 7340, 18, 588, 23707, 10756, 294, 3553, 1119, 273, 3553, 18, 588, 1294, 27668,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8951, 88, 1294, 27668, 5554, 12, 2890, 16, 3553, 13, 294, 2071, 273, 365, 18, 25045, 11208, 5554, 309, 261, 7340, 18, 588, 23707, 10756, 294, 3553, 1119, 273, 3553, 18, 588, 1294, 27668,...
base.direct.widget.disableModeColor()
base.direct.widget.disabledModeColor()
def disableWidgetMove(self): self.fMovable = 0 if hasattr(base.direct, 'widget'): base.direct.widget.disableModeColor() else: self.objectHandles.disabledModeColor()
0955e1bd55a71619574f63ced110b20dca816600 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7242/0955e1bd55a71619574f63ced110b20dca816600/DirectManipulation.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4056, 4609, 7607, 12, 2890, 4672, 365, 18, 74, 49, 1527, 429, 273, 374, 309, 3859, 12, 1969, 18, 7205, 16, 296, 6587, 11, 4672, 1026, 18, 7205, 18, 6587, 18, 9278, 2309, 2957, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4056, 4609, 7607, 12, 2890, 4672, 365, 18, 74, 49, 1527, 429, 273, 374, 309, 3859, 12, 1969, 18, 7205, 16, 296, 6587, 11, 4672, 1026, 18, 7205, 18, 6587, 18, 9278, 2309, 2957, 1435, ...
self.socket = start_SSL(self.socket)
self.socket = SSLSocket(self.socket)
def __init__(self, interface, port, secure=False): threading.Thread.__init__(self) self.socket = None if socket.has_ipv6: try: socket.getaddrinfo(interface or None, port, socket.AF_INET6) self.socket = socket.socket(socket.AF_INET6, socket.SOCK_STREAM) except: pass if self.socket is None: self.socket = socket.socket(so...
3dc6e2375bfb16060442146c792fdc9b50d7c95d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9266/3dc6e2375bfb16060442146c792fdc9b50d7c95d/netsvc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1560, 16, 1756, 16, 8177, 33, 8381, 4672, 17254, 18, 3830, 16186, 2738, 972, 12, 2890, 13, 365, 18, 7814, 273, 599, 309, 2987, 18, 5332, 67, 10834, 26, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1560, 16, 1756, 16, 8177, 33, 8381, 4672, 17254, 18, 3830, 16186, 2738, 972, 12, 2890, 13, 365, 18, 7814, 273, 599, 309, 2987, 18, 5332, 67, 10834, 26, ...
if relation!="parent" and cls.windowHasExtraIAccessibles(windowHandle):
if relation!="parent" and self.windowHasExtraIAccessibles(windowHandle):
def __init__(self,relation=None,windowHandle=None,IAccessibleObject=None,IAccessibleChildID=None,event_windowHandle=None,event_objectID=None,event_childID=None): """
3f261c11858bab84366fb36508cafcea86fa15ea /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9340/3f261c11858bab84366fb36508cafcea86fa15ea/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 5488, 33, 7036, 16, 5668, 3259, 33, 7036, 16, 45, 10451, 921, 33, 7036, 16, 45, 10451, 1763, 734, 33, 7036, 16, 2575, 67, 5668, 3259, 33, 7036, 16, 257...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 5488, 33, 7036, 16, 5668, 3259, 33, 7036, 16, 45, 10451, 921, 33, 7036, 16, 45, 10451, 1763, 734, 33, 7036, 16, 2575, 67, 5668, 3259, 33, 7036, 16, 257...
"""Convert the database value to a python value.""" if isinstance(value, PickledObject): return pickle.loads(str(value)) else:
""" B64decode and unpickle the object, optionally decompressing it. If an error is raised in de-pickling and we're sure the value is a definite pickle, the error is allowed to propogate. If we aren't sure if the value is a pickle or not, then we catch the error and return the original value instead. """ if value is n...
def to_python(self, value): """Convert the database value to a python value.""" if isinstance(value, PickledObject): # If the value is a definite pickle; and an error is # raised in de-pickling it should be allowed to propogate. return pickle.loads(str(value)) else: try: return pickle.loads(str(value)) except Exception...
cb4d9f5f4dcec07525395cf3c5e8dbf3caadb214 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2024/cb4d9f5f4dcec07525395cf3c5e8dbf3caadb214/fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 358, 67, 8103, 12, 2890, 16, 460, 4672, 3536, 2723, 326, 2063, 460, 358, 279, 5790, 460, 12123, 309, 1549, 12, 1132, 16, 23038, 1259, 921, 4672, 468, 971, 326, 460, 353, 279, 2217, 113...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 67, 8103, 12, 2890, 16, 460, 4672, 3536, 2723, 326, 2063, 460, 358, 279, 5790, 460, 12123, 309, 1549, 12, 1132, 16, 23038, 1259, 921, 4672, 468, 971, 326, 460, 353, 279, 2217, 113...
print 'Lookup for %r finished, got %d article(s)' % (word, len(articles))
log.debug('Lookup for %r finished, got %d article(s)', word, len(articles))
def word_lookup_finished(self, word, articles): print 'Lookup for %r finished, got %d article(s)' % (word, len(articles)) def key(article): return collation_key(article.title, TERTIARY).getByteArray() articles.sort(key=key) for k, g in groupby(articles, key): article_group = list(g) item = QListWidgetItem() item.setTex...
67a3086e42b74c3a053a1f3d5818584b41ba19d4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14305/67a3086e42b74c3a053a1f3d5818584b41ba19d4/qtui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2076, 67, 8664, 67, 13527, 12, 2890, 16, 2076, 16, 15828, 4672, 613, 18, 4148, 2668, 6609, 364, 738, 86, 6708, 16, 2363, 738, 72, 7559, 12, 87, 13, 2187, 2076, 16, 562, 12, 16462, 37...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2076, 67, 8664, 67, 13527, 12, 2890, 16, 2076, 16, 15828, 4672, 613, 18, 4148, 2668, 6609, 364, 738, 86, 6708, 16, 2363, 738, 72, 7559, 12, 87, 13, 2187, 2076, 16, 562, 12, 16462, 37...
shutil.copy(f, self.resourceFolder)
shutil.copy(f, os.path.join(self.packageResourceFolder, dst))
def _addResources(self): "Add Welcome/ReadMe/License files, .lproj folders and scripts."
d932aaa96ea8845f4755fa2da90712cb71b9e9c4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/d932aaa96ea8845f4755fa2da90712cb71b9e9c4/buildpkg.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1289, 3805, 12, 2890, 4672, 315, 986, 678, 16312, 19, 1994, 4667, 19, 13211, 1390, 16, 263, 80, 17995, 9907, 471, 8873, 1199, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1289, 3805, 12, 2890, 4672, 315, 986, 678, 16312, 19, 1994, 4667, 19, 13211, 1390, 16, 263, 80, 17995, 9907, 471, 8873, 1199, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100...
a = self.dispatch['return'](self, self.cur[4], t)
a = self.dispatch['return'](self, self.cur[-2], t)
def simulate_cmd_complete(self): get_time = self.get_time t = get_time() - self.t while self.cur[5]: # We *can* cause assertion errors here if # dispatch_trace_return checks for a frame match! a = self.dispatch['return'](self, self.cur[4], t) t = 0 self.t = get_time() - t
9ebcb42f5913b3bc74aa94442c2ef4852fc24231 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/9ebcb42f5913b3bc74aa94442c2ef4852fc24231/profile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20089, 67, 4172, 67, 6226, 12, 2890, 4672, 336, 67, 957, 273, 365, 18, 588, 67, 957, 268, 273, 336, 67, 957, 1435, 300, 365, 18, 88, 1323, 365, 18, 1397, 63, 25, 14542, 468, 1660, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20089, 67, 4172, 67, 6226, 12, 2890, 4672, 336, 67, 957, 273, 365, 18, 588, 67, 957, 268, 273, 336, 67, 957, 1435, 300, 365, 18, 88, 1323, 365, 18, 1397, 63, 25, 14542, 468, 1660, ...
if len(sys.argv) > 1: if sys.argv[1] == "download_daemon": launch_downloader_daemon() elif sys.argv[1] == "unittest": launch_unit_tests()
if "download_daemon" in sys.argv: launch_downloader_daemon() elif "unittest" in sys.argv: launch_unit_tests()
def endLoop(loop): del loop.pool
7b23881f18eea6cfd2e83506737e23656b2e732f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/7b23881f18eea6cfd2e83506737e23656b2e732f/Miro.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 679, 6452, 12, 6498, 4672, 1464, 2798, 18, 6011, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 679, 6452, 12, 6498, 4672, 1464, 2798, 18, 6011, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
"Invalid method: %s" % meth_name)
"Invalid method (for %s app): %s" % ( app.name, meth_name))
def response(code, output, json=True): self.send_response(code) mime_type = "application/json" if json else "text/plain" self.send_header("content-type", mime_type) self.end_headers()
d8ad43aee5e97b207554684a12624555cdd9d962 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11809/d8ad43aee5e97b207554684a12624555cdd9d962/app.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 766, 12, 710, 16, 876, 16, 1163, 33, 5510, 4672, 365, 18, 4661, 67, 2740, 12, 710, 13, 4892, 67, 723, 273, 315, 3685, 19, 1977, 6, 309, 1163, 469, 315, 955, 19, 7446, 6, 365, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 766, 12, 710, 16, 876, 16, 1163, 33, 5510, 4672, 365, 18, 4661, 67, 2740, 12, 710, 13, 4892, 67, 723, 273, 315, 3685, 19, 1977, 6, 309, 1163, 469, 315, 955, 19, 7446, 6, 365, 18, ...
message['to'] = "abc3340@conference.%s" % ( CHATSERVER,)
message['to'] = "abc3340@conference.%s" % ( secret.CHATSERVER,)
def processMessagePC(self, elem): _from = jid.JID( elem["from"] ) # Intercept private messages via a chatroom, can't do that :) if (_from.host == "conference.%s" % (CHATSERVER,)): self.send_private_request( _from ) return
24fa6a8a683868db6a24e95e0b656f67ea1dbe8d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11180/24fa6a8a683868db6a24e95e0b656f67ea1dbe8d/iemchatbot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 1079, 3513, 12, 2890, 16, 3659, 4672, 389, 2080, 273, 14201, 18, 46, 734, 12, 3659, 9614, 2080, 11929, 262, 468, 5294, 956, 3238, 2743, 3970, 279, 7916, 13924, 16, 848, 1404, 741, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 1079, 3513, 12, 2890, 16, 3659, 4672, 389, 2080, 273, 14201, 18, 46, 734, 12, 3659, 9614, 2080, 11929, 262, 468, 5294, 956, 3238, 2743, 3970, 279, 7916, 13924, 16, 848, 1404, 741, ...
pass
if _deadstate is not None: self.returncode = _deadstate
def poll(self): """Check if child process has terminated. Returns returncode attribute.""" if self.returncode is None: try: pid, sts = os.waitpid(self.pid, os.WNOHANG) if pid == self.pid: self._handle_exitstatus(sts) except os.error: pass return self.returncode
091f97ac75923a9f8149f440cdb29114d4267997 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/091f97ac75923a9f8149f440cdb29114d4267997/subprocess.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7672, 12, 2890, 4672, 3536, 1564, 309, 1151, 1207, 711, 14127, 18, 225, 2860, 18125, 1566, 12123, 309, 365, 18, 2463, 710, 353, 599, 30, 775, 30, 4231, 16, 27099, 273, 1140, 18, 7048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7672, 12, 2890, 4672, 3536, 1564, 309, 1151, 1207, 711, 14127, 18, 225, 2860, 18125, 1566, 12123, 309, 365, 18, 2463, 710, 353, 599, 30, 775, 30, 4231, 16, 27099, 273, 1140, 18, 7048, ...
self.setup_fu_trig(cp, trig, ifo, type) def setup_fu_trig(self, cp, trig, ifo, type):
self.outputFileName = self.setup_fu_trig(cp, time, ifo, type) def setup_fu_trig(self, cp, time, ifo, type):
def __init__(self, job): pipeline.LSCDataFindNode(self,job,source, type=None,cp=None,trig=None,ifo=None) if source == 'futrig': self.setup_fu_trig(cp, trig, ifo, type)
3c3c3449c669fe5e88d5539740484529d04083fb /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3592/3c3c3449c669fe5e88d5539740484529d04083fb/fu_Condor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1719, 4672, 5873, 18, 48, 2312, 751, 3125, 907, 12, 2890, 16, 4688, 16, 3168, 16, 618, 33, 7036, 16, 4057, 33, 7036, 16, 313, 360, 33, 7036, 16, 20299,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1719, 4672, 5873, 18, 48, 2312, 751, 3125, 907, 12, 2890, 16, 4688, 16, 3168, 16, 618, 33, 7036, 16, 4057, 33, 7036, 16, 313, 360, 33, 7036, 16, 20299,...
log.info("restore hvm domain %d, mem=%d, apic=%d, pae=%d", dominfo.domid, hvm, apic, pae)
log.info("restore hvm domain %d, apic=%d, pae=%d", dominfo.domid, apic, pae)
def restore(xd, fd, dominfo = None, paused = False): signature = read_exact(fd, len(SIGNATURE), "not a valid guest state file: signature read") if signature != SIGNATURE: raise XendError("not a valid guest state file: found '%s'" % signature) l = read_exact(fd, sizeof_int, "not a valid guest state file: config size re...
02cb2d8016a6b918ac461d6297964349b6e90dd5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6195/02cb2d8016a6b918ac461d6297964349b6e90dd5/XendCheckpoint.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5217, 12, 7669, 16, 5194, 16, 4092, 1376, 273, 599, 16, 17781, 273, 1083, 4672, 3372, 273, 855, 67, 17165, 12, 8313, 16, 562, 12, 26587, 3631, 315, 902, 279, 923, 13051, 919, 585, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5217, 12, 7669, 16, 5194, 16, 4092, 1376, 273, 599, 16, 17781, 273, 1083, 4672, 3372, 273, 855, 67, 17165, 12, 8313, 16, 562, 12, 26587, 3631, 315, 902, 279, 923, 13051, 919, 585, 30, ...
def func_matchedtracks(parser):
def func_matchedtracks(parser, arg):
def func_matchedtracks(parser): if parser.file: if parser.file.parent: return str(parser.file.parent.album.get_num_matched_tracks()) return "0"
fca91f432558924592c463bc97fc143586550abe /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12415/fca91f432558924592c463bc97fc143586550abe/script.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1326, 67, 11073, 21499, 12, 4288, 16, 1501, 4672, 309, 2082, 18, 768, 30, 309, 2082, 18, 768, 18, 2938, 30, 327, 609, 12, 4288, 18, 768, 18, 2938, 18, 25090, 18, 588, 67, 2107, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1326, 67, 11073, 21499, 12, 4288, 16, 1501, 4672, 309, 2082, 18, 768, 30, 309, 2082, 18, 768, 18, 2938, 30, 327, 609, 12, 4288, 18, 768, 18, 2938, 18, 25090, 18, 588, 67, 2107, 67, ...
def set_state_name(self,ver,val,name): try: sql = "INSERT INTO state_vec (version,value,state) VALUES (%s,%s,%s)" self.cursor.execute(sql,(ver,val,name)) except _mysql_exceptions.IntegrityError, e: sql = "UPDATE state_vec SET state = '%s'" % name sql += "WHERE version = %s AND value = %s" % (ver,val) self.cursor.execu...
def publish_state(self, ifo, start_time, start_time_ns, end_time, end_time_ns, ver, val ): """ Publish a state segment for a state vector in the database """
f244b54b9d47667fad81e311fc9edc9f74c51291 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3589/f244b54b9d47667fad81e311fc9edc9f74c51291/statedb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3808, 67, 2019, 12, 2890, 16, 21479, 16, 787, 67, 957, 16, 787, 67, 957, 67, 2387, 16, 679, 67, 957, 16, 679, 67, 957, 67, 2387, 16, 1924, 16, 1244, 262, 30, 3536, 9761, 279, 919, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3808, 67, 2019, 12, 2890, 16, 21479, 16, 787, 67, 957, 16, 787, 67, 957, 67, 2387, 16, 679, 67, 957, 16, 679, 67, 957, 67, 2387, 16, 1924, 16, 1244, 262, 30, 3536, 9761, 279, 919, ...
e.keysym_num = getint(N)
e.keysym_num = getint_event(N)
def _substitute(self, *args): """Internal function.""" if len(args) != len(self._subst_format): return args getboolean = self.tk.getboolean getint = int nsign, b, f, h, k, s, t, w, x, y, A, E, K, N, W, T, X, Y, D = args # Missing: (a, c, d, m, o, v, B, R) e = Event() e.serial = getint(nsign) e.num = getint(b) try: e.fo...
043bbc7da387f613f3ce60c20063e2a29baff372 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/043bbc7da387f613f3ce60c20063e2a29baff372/Tkinter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1717, 17207, 12, 2890, 16, 380, 1968, 4672, 3536, 3061, 445, 12123, 309, 562, 12, 1968, 13, 480, 562, 12, 2890, 6315, 1717, 334, 67, 2139, 4672, 327, 833, 336, 6494, 273, 365, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1717, 17207, 12, 2890, 16, 380, 1968, 4672, 3536, 3061, 445, 12123, 309, 562, 12, 1968, 13, 480, 562, 12, 2890, 6315, 1717, 334, 67, 2139, 4672, 327, 833, 336, 6494, 273, 365, 18,...
'Incomplete')
'Required')
def test_submit_invalid_number(self): browser.open(self.url) browser.wait_for_page_to_load("30000") browser.type('deformField1', 'notanumber') browser.click('submit') browser.wait_for_page_to_load("30000") self.failUnless(browser.is_element_present('css=.errorMsgLbl')) self.assertEqual(browser.get_text('css=#error-defo...
13cb71b44c6feb16905fb953ff7e20c1e115f87e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13087/13cb71b44c6feb16905fb953ff7e20c1e115f87e/test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 9297, 67, 5387, 67, 2696, 12, 2890, 4672, 4748, 18, 3190, 12, 2890, 18, 718, 13, 4748, 18, 7048, 67, 1884, 67, 2433, 67, 869, 67, 945, 2932, 23, 2787, 7923, 4748, 18, 723, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9297, 67, 5387, 67, 2696, 12, 2890, 4672, 4748, 18, 3190, 12, 2890, 18, 718, 13, 4748, 18, 7048, 67, 1884, 67, 2433, 67, 869, 67, 945, 2932, 23, 2787, 7923, 4748, 18, 723, ...
See also: AuthRoot
See also: L{AuthRoot}
def _authFail(self, result, d): d.callback(None)
9b600db79aad2a6fd13a29747f2b511f6c93e95c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/9b600db79aad2a6fd13a29747f2b511f6c93e95c/pb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1944, 3754, 12, 2890, 16, 563, 16, 302, 4672, 302, 18, 3394, 12, 7036, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1944, 3754, 12, 2890, 16, 563, 16, 302, 4672, 302, 18, 3394, 12, 7036, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
print 'There are no articles in category ' + old_title
print 'There are no articles in category ' + old_cat_title
def rename_category(): old_title = wikipedia.input('Please enter the old name of the category: ') old_cat = catlib.CatLink(old_title) new_title = wikipedia.input('Please enter the new name of the category: ') new_cat = catlib.CatLink(new_title) # get edit summary message wikipedia.setAction(msg_change[wikipedia.choose...
8fe4e1817561eb473c4b424b96ecd3c166227672 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4404/8fe4e1817561eb473c4b424b96ecd3c166227672/category.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6472, 67, 4743, 13332, 1592, 67, 2649, 273, 21137, 18, 2630, 2668, 8496, 6103, 326, 1592, 508, 434, 326, 3150, 30, 8624, 1592, 67, 2574, 273, 6573, 2941, 18, 11554, 2098, 12, 1673, 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, 6472, 67, 4743, 13332, 1592, 67, 2649, 273, 21137, 18, 2630, 2668, 8496, 6103, 326, 1592, 508, 434, 326, 3150, 30, 8624, 1592, 67, 2574, 273, 6573, 2941, 18, 11554, 2098, 12, 1673, 67, ...
self.logger.debug("RECORD_DICT %s:
if model._debug: self.logger.debug("RECORD_DICT %s:
def process_record(self, node): import osv record, fields = node.items()[0] model = self.get_model(record.model) if isinstance(model, osv.osv.osv_memory): record_dict=self.create_osv_memory_record(record, fields) else: self.validate_xml_id(record.id) if self.isnoupdate(record) and self.mode != 'init': id = self.pool.ge...
037ce33d4fb3f29a0735e911a38da3a8e445152b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/037ce33d4fb3f29a0735e911a38da3a8e445152b/yaml_import.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 3366, 12, 2890, 16, 756, 4672, 1930, 1140, 90, 1409, 16, 1466, 273, 756, 18, 3319, 1435, 63, 20, 65, 938, 273, 365, 18, 588, 67, 2284, 12, 3366, 18, 2284, 13, 309, 1549, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 3366, 12, 2890, 16, 756, 4672, 1930, 1140, 90, 1409, 16, 1466, 273, 756, 18, 3319, 1435, 63, 20, 65, 938, 273, 365, 18, 588, 67, 2284, 12, 3366, 18, 2284, 13, 309, 1549, ...
opt['allowedTypes'] = [types.IntType, types.LongType, types.FloatType]
opt['allowedTypes'] = [int, long, float]
def addOption(self, pos=-1, **kwargs): ''' Append an entry to the parameter specification list. Dictionary entries should be specified as keyword arguments such as ``name='option'``. More specifically, you can specify parameters ``name`` (required), ``label``, ``default`` (required), ``description``, ``validator``, ``t...
0808dd362a5f2dd5d90d950500fd972461718062 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/401/0808dd362a5f2dd5d90d950500fd972461718062/simuOpt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12966, 12, 2890, 16, 949, 29711, 21, 16, 2826, 4333, 4672, 9163, 6181, 392, 1241, 358, 326, 1569, 7490, 666, 18, 16447, 3222, 1410, 506, 1269, 487, 4932, 1775, 4123, 487, 12176, 529, 221...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12966, 12, 2890, 16, 949, 29711, 21, 16, 2826, 4333, 4672, 9163, 6181, 392, 1241, 358, 326, 1569, 7490, 666, 18, 16447, 3222, 1410, 506, 1269, 487, 4932, 1775, 4123, 487, 12176, 529, 221...
% (name, rp.path), 6)
% (name, repr(rp.path)), 6)
def write_to_rp(self, rp): """Write extended attributes to rpath rp""" self.clear_rp(rp) for (name, value) in self.attr_dict.iteritems(): try: rp.conn.xattr.setxattr(rp.path, name, value) except IOError, exc: # Mac and Linux attributes have different namespaces, so # fail gracefully if can't call setxattr if exc[0] == ...
1a3b965ed028f2af11c9c1d9a82894cb61b65cbe /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/783/1a3b965ed028f2af11c9c1d9a82894cb61b65cbe/eas_acls.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 869, 67, 13832, 12, 2890, 16, 8715, 4672, 3536, 3067, 7021, 1677, 358, 436, 803, 8715, 8395, 365, 18, 8507, 67, 13832, 12, 13832, 13, 364, 261, 529, 16, 460, 13, 316, 365, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 869, 67, 13832, 12, 2890, 16, 8715, 4672, 3536, 3067, 7021, 1677, 358, 436, 803, 8715, 8395, 365, 18, 8507, 67, 13832, 12, 13832, 13, 364, 261, 529, 16, 460, 13, 316, 365, ...
tui.Item('caller_results', show_label=False), tui.Item('file_inspector', show_label=False),
tui.UItem('caller_results'), tui.UItem('filename', style='readonly'), tui.UItem('code', editor=tui.CodeEditor(line='line')),
def getstats(cls, obj=None): self = cls(obj) return pstats.Stats(self)
1abb1fd080526092ab77808de73a8c00f92915ef /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13166/1abb1fd080526092ab77808de73a8c00f92915ef/sike.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 5296, 12, 6429, 16, 1081, 33, 7036, 4672, 365, 273, 2028, 12, 2603, 13, 327, 293, 5296, 18, 4195, 12, 2890, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 5296, 12, 6429, 16, 1081, 33, 7036, 4672, 365, 273, 2028, 12, 2603, 13, 327, 293, 5296, 18, 4195, 12, 2890, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
self.sap = sap self.debug = debug
self.sap = sap self.debug = debug
def __init__( self, outFolder='.', log=None, verbose=1, sap=1,
406e82ca95520c7badb9dbb830cadd182e043ec6 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/482/406e82ca95520c7badb9dbb830cadd182e043ec6/Aligner.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 365, 16, 596, 3899, 2218, 1093, 16, 613, 33, 7036, 16, 3988, 33, 21, 16, 18099, 33, 21, 16, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 365, 16, 596, 3899, 2218, 1093, 16, 613, 33, 7036, 16, 3988, 33, 21, 16, 18099, 33, 21, 16, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
return OrderedDict(self.data)
c = OrderedDict() for k, v in self.items(): c[k] = v return c
def copy(self): if self.__class__ is OrderedDict: return OrderedDict(self.data) import copy c = copy.copy(self) return c
8bb277ffae708f2c6654cd3c20482053f62fa8a5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12165/8bb277ffae708f2c6654cd3c20482053f62fa8a5/vocabulary.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 12, 2890, 4672, 309, 365, 16186, 1106, 972, 353, 9916, 30, 276, 273, 9916, 1435, 364, 417, 16, 331, 316, 365, 18, 3319, 13332, 276, 63, 79, 65, 273, 331, 327, 276, 1930, 1610, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 12, 2890, 4672, 309, 365, 16186, 1106, 972, 353, 9916, 30, 276, 273, 9916, 1435, 364, 417, 16, 331, 316, 365, 18, 3319, 13332, 276, 63, 79, 65, 273, 331, 327, 276, 1930, 1610, ...
obj_ = self.mixedclass_(MixedContainer.CategoryComplex, MixedContainer.TypeNone, 'node', obj_) self.content_.append(obj_) if hasattr(self, 'add_node'): self.add_node(obj_.value) elif hasattr(self, 'set_node'): self.set_node(obj_.value) elif nodeName_ == 'rootedge':
self.node.append(obj_) elif nodeName_ == 'rootedge':
def buildChildren(self, child_, nodeName_, from_subclass=False): if nodeName_ == 'node': type_name_ = child_.attrib.get('{http://www.w3.org/2001/XMLSchema-instance}type') if type_name_ is None: type_name_ = child_.attrib.get('type') if type_name_ is not None: type_names_ = type_name_.split(':') if len(type_names_) == 1...
9c12e50d449fa27d6f8f3415ece228ae97bb0266 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14016/9c12e50d449fa27d6f8f3415ece228ae97bb0266/_nexml.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 4212, 12, 2890, 16, 1151, 67, 16, 7553, 67, 16, 628, 67, 10678, 33, 8381, 4672, 309, 7553, 67, 422, 296, 2159, 4278, 618, 67, 529, 67, 273, 1151, 27799, 14588, 18, 588, 2668, 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, 1361, 4212, 12, 2890, 16, 1151, 67, 16, 7553, 67, 16, 628, 67, 10678, 33, 8381, 4672, 309, 7553, 67, 422, 296, 2159, 4278, 618, 67, 529, 67, 273, 1151, 27799, 14588, 18, 588, 2668, 9...
if not inCache: self._genobj._cache.write(cacheId, llist, True, False)
if not inCache: self._genobj._cache.write(cacheId, llist, memory=True, writeToFile=False)
def findAllResources(self, libraries, filter=None): """Find relevant resources/assets, implementing shaddowing of resources. Returns a list of resources, each a pair of [file_path, uri]""" result = [] # go through all libs (weighted) and collect necessary resources # fallback: take all resources libs = libraries[:] li...
142b337f5bb954050e7d9c36ea777352d7e320ad /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5718/142b337f5bb954050e7d9c36ea777352d7e320ad/Generator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11135, 3805, 12, 2890, 16, 14732, 16, 1034, 33, 7036, 4672, 3536, 3125, 9368, 2703, 19, 9971, 16, 19981, 699, 1289, 543, 310, 434, 2703, 18, 2860, 279, 666, 434, 2703, 16, 1517, 279, 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, 11135, 3805, 12, 2890, 16, 14732, 16, 1034, 33, 7036, 4672, 3536, 3125, 9368, 2703, 19, 9971, 16, 19981, 699, 1289, 543, 310, 434, 2703, 18, 2860, 279, 666, 434, 2703, 16, 1517, 279, 3...
gLogger.error(errStr,res['Value']['Successful'][lfn]) return S_ERROR("%s %s" % (errStr,res['Value']['Successful'][lfn]))
gLogger.error( errStr, res['Value']['Successful'][lfn] ) return S_ERROR( "%s %s" % ( errStr, res['Value']['Successful'][lfn] ) )
def putAndRegister(self,lfn,file,diracSE,guid=None,path=None,checksum=None,catalog=None): """ Put a local file to a Storage Element and register in the File Catalogues
9fabceb719d19d46d8b75011d2932552dbe360f9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/9fabceb719d19d46d8b75011d2932552dbe360f9/ReplicaManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1378, 1876, 3996, 12, 2890, 16, 80, 4293, 16, 768, 16, 3211, 8836, 1090, 16, 14066, 33, 7036, 16, 803, 33, 7036, 16, 15149, 33, 7036, 16, 7199, 33, 7036, 4672, 3536, 4399, 279, 1191, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1378, 1876, 3996, 12, 2890, 16, 80, 4293, 16, 768, 16, 3211, 8836, 1090, 16, 14066, 33, 7036, 16, 803, 33, 7036, 16, 15149, 33, 7036, 16, 7199, 33, 7036, 4672, 3536, 4399, 279, 1191, ...
return (1, rec_id)
return (1, int(rec_id))
def bibupload(record): """Main function: process a record and fit it in the tables bibfmt, bibrec, bibrec_bibxxx, bibxxx with proper record metadata. Return (error_code, recID) of the processed record. """ error = None # If there are special tags to proceed check if it exists in the record if options['tag'] is not Non...
0243ff56930f3eeeb8177dee05e1d171ad2cd8a8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12027/0243ff56930f3eeeb8177dee05e1d171ad2cd8a8/bibupload.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25581, 6327, 12, 3366, 4672, 3536, 6376, 445, 30, 1207, 279, 1409, 471, 4845, 518, 316, 326, 4606, 25581, 8666, 16, 25581, 3927, 16, 25581, 3927, 67, 70, 495, 18310, 16, 25581, 18310, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25581, 6327, 12, 3366, 4672, 3536, 6376, 445, 30, 1207, 279, 1409, 471, 4845, 518, 316, 326, 4606, 25581, 8666, 16, 25581, 3927, 16, 25581, 3927, 67, 70, 495, 18310, 16, 25581, 18310, 59...
"\\": "$\\backslash$", "\n" : "\\\\*\n",
"\\": "$\\backslash$", "\n" : "\\\\\n",
def TransformText(self, txt): """Transforms the given text into LaTeX format, by escaping all special characters and sequences. @param txt: text to transform @return: txt with all special characters transformed """ ch_map = { "#" : "\\#", "$" : "\\$", "^" : "\\^", "%" : "\\%", "&" : "\\&", "_" : "\\_", "{" : "\\{", "}...
826c4d7d4eda720169c44f066328cdc8bd180194 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3530/826c4d7d4eda720169c44f066328cdc8bd180194/generator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11514, 1528, 12, 2890, 16, 6463, 4672, 3536, 15236, 326, 864, 977, 1368, 21072, 21575, 60, 740, 16, 635, 20604, 777, 4582, 3949, 471, 8463, 18, 632, 891, 6463, 30, 977, 358, 2510, 632, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11514, 1528, 12, 2890, 16, 6463, 4672, 3536, 15236, 326, 864, 977, 1368, 21072, 21575, 60, 740, 16, 635, 20604, 777, 4582, 3949, 471, 8463, 18, 632, 891, 6463, 30, 977, 358, 2510, 632, ...
return idaapi.ExtraGet(ea, E_NEXT + num)
return idaapi.ExtraGet(ea, idaapi.E_NEXT + num)
def LineB(ea, num): """ Get posterior line @param ea: linear address @param num: number of posterior line (0..MAX_ITEM_LINES) @return: posterior line string """ return idaapi.ExtraGet(ea, E_NEXT + num)
6939f58f3c941e06747c6db91e8fa3b3aaf2c13e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6984/6939f58f3c941e06747c6db91e8fa3b3aaf2c13e/idc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5377, 38, 12, 24852, 16, 818, 4672, 3536, 968, 22089, 980, 225, 632, 891, 24164, 30, 9103, 1758, 632, 891, 818, 30, 1300, 434, 22089, 980, 261, 20, 838, 6694, 67, 12674, 67, 5997, 55, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5377, 38, 12, 24852, 16, 818, 4672, 3536, 968, 22089, 980, 225, 632, 891, 24164, 30, 9103, 1758, 632, 891, 818, 30, 1300, 434, 22089, 980, 261, 20, 838, 6694, 67, 12674, 67, 5997, 55, ...
(_check_duration, 'Error ! The duration of the Fiscal Year is invalid. ', ['date_stop'])
(_check_duration, 'Error ! The duration of the Fiscal Year is invalid. ', ['date_stop']), (_check_fiscal_year, 'Error ! This Fiscal Year overlaps an existing Fiscal Year',['date_start', 'date_stop'])
def _check_duration(self,cr,uid,ids): obj_fy=self.browse(cr,uid,ids[0]) if obj_fy.date_stop < obj_fy.date_start: return False return True
0d467eeea01a357ff900af7e3c1985980995335f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/0d467eeea01a357ff900af7e3c1985980995335f/account.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1893, 67, 8760, 12, 2890, 16, 3353, 16, 1911, 16, 2232, 4672, 1081, 67, 74, 93, 33, 2890, 18, 25731, 12, 3353, 16, 1911, 16, 2232, 63, 20, 5717, 309, 1081, 67, 74, 93, 18, 712...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1893, 67, 8760, 12, 2890, 16, 3353, 16, 1911, 16, 2232, 4672, 1081, 67, 74, 93, 33, 2890, 18, 25731, 12, 3353, 16, 1911, 16, 2232, 63, 20, 5717, 309, 1081, 67, 74, 93, 18, 712...
poll_fun (timeout, map)
poll_fun(timeout, map)
def loop (timeout=30.0, use_poll=0, map=None): if map is None: map = socket_map if use_poll: if hasattr (select, 'poll'): poll_fun = poll3 else: poll_fun = poll2 else: poll_fun = poll while map: poll_fun (timeout, map)
f7eb0d3f501f2e379b8719bda476d318d1e79160 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/f7eb0d3f501f2e379b8719bda476d318d1e79160/asyncore.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2798, 261, 4538, 33, 5082, 18, 20, 16, 999, 67, 13835, 33, 20, 16, 852, 33, 7036, 4672, 309, 852, 353, 599, 30, 852, 273, 2987, 67, 1458, 225, 309, 999, 67, 13835, 30, 309, 3859, 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, 2798, 261, 4538, 33, 5082, 18, 20, 16, 999, 67, 13835, 33, 20, 16, 852, 33, 7036, 4672, 309, 852, 353, 599, 30, 852, 273, 2987, 67, 1458, 225, 309, 999, 67, 13835, 30, 309, 3859, 2...
self.message = repr(self)
def __init__(self, network, status, details): self.status = status self.details = details self.message = repr(self)
83bbe31b6656d9dbb03d26c06d278a468b8c730e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9926/83bbe31b6656d9dbb03d26c06d278a468b8c730e/pylast.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2483, 16, 1267, 16, 3189, 4672, 365, 18, 2327, 273, 1267, 365, 18, 6395, 273, 3189, 365, 18, 2150, 273, 8480, 12, 2890, 13, 2, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2483, 16, 1267, 16, 3189, 4672, 365, 18, 2327, 273, 1267, 365, 18, 6395, 273, 3189, 365, 18, 2150, 273, 8480, 12, 2890, 13, 2, -100, -100, -100, -100, ...
server_version = "Python-urllib/%s" % __version__ self.addheaders = [('User-agent', server_version)]
client_version = "Python-urllib/%s" % __version__ self.addheaders = [('User-agent', client_version)]
def __init__(self): server_version = "Python-urllib/%s" % __version__ self.addheaders = [('User-agent', server_version)] # manage the individual handlers self.handlers = [] self.handle_open = {} self.handle_error = {} self.process_response = {} self.process_request = {}
ede67df1edd0500b9e1d733f9b42d47e7c2d506a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/ede67df1edd0500b9e1d733f9b42d47e7c2d506a/urllib2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 1004, 67, 1589, 273, 315, 15774, 17, 718, 2941, 5258, 87, 6, 738, 1001, 1589, 972, 365, 18, 1289, 2485, 273, 306, 2668, 1299, 17, 5629, 2187, 1004, 67,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 1004, 67, 1589, 273, 315, 15774, 17, 718, 2941, 5258, 87, 6, 738, 1001, 1589, 972, 365, 18, 1289, 2485, 273, 306, 2668, 1299, 17, 5629, 2187, 1004, 67,...
arguments = "''" req = "INSERT INTO JobCommands (JobID,Command,Arguments,ReceptionTime) "
arguments = "''" req = "INSERT INTO JobCommands (JobID,Command,Arguments,ReceptionTime) "
def setJobCommand(self,jobID,command,arguments=None): """ Store a command to be passed to the job together with the next heart beat """ ret = self._escapeString(jobID) if not ret['OK']: return ret jobID = ret['Value']
80754a3f17531def7cbc50d246e9e547c954723a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12864/80754a3f17531def7cbc50d246e9e547c954723a/JobDB.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 2278, 2189, 12, 2890, 16, 4688, 734, 16, 3076, 16, 7099, 33, 7036, 4672, 3536, 4994, 279, 1296, 358, 506, 2275, 358, 326, 1719, 9475, 598, 326, 1024, 3904, 485, 23795, 3536, 325, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 2278, 2189, 12, 2890, 16, 4688, 734, 16, 3076, 16, 7099, 33, 7036, 4672, 3536, 4994, 279, 1296, 358, 506, 2275, 358, 326, 1719, 9475, 598, 326, 1024, 3904, 485, 23795, 3536, 325, ...
*host = strdup(address)
*host = land_strdup(address)
static def split_address(char const *address, char **host, int *port): char *colon = strrchr(address, ':') if colon: *host = land_calloc(colon - address + 1) strncpy(*host, address, colon - address) (*host)[colon - address] = '\0' *port = atoi(colon + 1) else: *host = strdup(address) *port = 0
4eb61e798256f12c03c487d14ad7817eac2632fa /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/930/4eb61e798256f12c03c487d14ad7817eac2632fa/net.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 760, 1652, 1416, 67, 2867, 12, 3001, 1866, 380, 2867, 16, 1149, 2826, 2564, 16, 509, 380, 655, 4672, 1149, 380, 22667, 273, 13736, 15182, 12, 2867, 16, 3921, 13, 309, 13336, 30, 380, 2564, 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, 760, 1652, 1416, 67, 2867, 12, 3001, 1866, 380, 2867, 16, 1149, 2826, 2564, 16, 509, 380, 655, 4672, 1149, 380, 22667, 273, 13736, 15182, 12, 2867, 16, 3921, 13, 309, 13336, 30, 380, 2564, 2...
self._errors["numberUnitsLost"] = self.error_class(["You have forgotten Loss reason"]) del cleaned_data["numberUnitsLost"] else: print 'ok' if my_damadged > 0: print 'hmm'
raise forms.ValidationError("You have forgotten to select the Loss Reason") return my_lr def clean_unitsDamagedReason(self): my_damage = self.cleaned_data.get('numberUnitsDamaged') my_dr = self.cleaned_data.get('unitsDamagedReason') if long(my_damage)>0: print 'hmm2'
def clean(self): cleaned_data = self.cleaned_data my_losses = cleaned_data.get('numberUnitsLost') my_lr = cleaned_data.get('unitsLostReason') my_damadged = cleaned_data.get('numberUnitsDamaged') my_dr = cleaned_data.get('unitsDamagedReason')
98959dbdb10174fc285daa151fcafa2459af00d7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12559/98959dbdb10174fc285daa151fcafa2459af00d7/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2721, 12, 2890, 4672, 9426, 67, 892, 273, 365, 18, 6200, 329, 67, 892, 3399, 67, 30851, 273, 9426, 67, 892, 18, 588, 2668, 2696, 7537, 19024, 6134, 3399, 67, 10826, 273, 9426, 67, 892,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2721, 12, 2890, 4672, 9426, 67, 892, 273, 365, 18, 6200, 329, 67, 892, 3399, 67, 30851, 273, 9426, 67, 892, 18, 588, 2668, 2696, 7537, 19024, 6134, 3399, 67, 10826, 273, 9426, 67, 892,...
self.file.write(line1 + '\n')
nolint = '' if len(line1) > 80: nolint = ' // NOLINT' self.file.write(line1 + nolint + '\n')
def __WriteLine(self, line, ends_with_eol): """Given a signle line, writes it to a file, splitting if it's > 80 chars""" if len(line) >= 80: i = self.__FindSplit(line) if i > 0: line1 = line[0:i + 1] self.file.write(line1 + '\n') match = re.match("( +)", line1) indent = "" if match: indent = match.group(1) splitter = l...
0bfd9882d39c63727676616ef1401d7618fdd26c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/0bfd9882d39c63727676616ef1401d7618fdd26c/build_gles2_cmd_buffer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 3067, 1670, 12, 2890, 16, 980, 16, 3930, 67, 1918, 67, 30951, 4672, 3536, 6083, 279, 1573, 298, 980, 16, 7262, 518, 358, 279, 585, 16, 20347, 309, 518, 1807, 405, 8958, 5230, 839...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3067, 1670, 12, 2890, 16, 980, 16, 3930, 67, 1918, 67, 30951, 4672, 3536, 6083, 279, 1573, 298, 980, 16, 7262, 518, 358, 279, 585, 16, 20347, 309, 518, 1807, 405, 8958, 5230, 839...
sage: gap.eval('LoadPackage("hap")') 'true'
def cohomology(self, n, p = 0): r""" Computes the group cohomology H_n(G, F), where F = Z if p=0 and F = Z/pZ if p >0 is a prime. Wraps HAP's GroupHomology function, written by Graham Ellis.
2aab0e46e038cb99ddd82ff3767ef8540acf0c86 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/2aab0e46e038cb99ddd82ff3767ef8540acf0c86/permgroup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1825, 17125, 4676, 12, 2890, 16, 290, 16, 293, 273, 374, 4672, 436, 8395, 14169, 281, 326, 1041, 1825, 17125, 4676, 670, 67, 82, 12, 43, 16, 478, 3631, 1625, 478, 273, 2285, 309, 293, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1825, 17125, 4676, 12, 2890, 16, 290, 16, 293, 273, 374, 4672, 436, 8395, 14169, 281, 326, 1041, 1825, 17125, 4676, 670, 67, 82, 12, 43, 16, 478, 3631, 1625, 478, 273, 2285, 309, 293, ...
self.dbLocks[ self.__getTableName( "bucket", typeName ) ].acquire() try: bucketStartTime = bucketInfo[0] bucketLength = bucketInfo[2] proportionalValues = [] for value in valuesList: proportionalValues.append( value * bucketInfo[1] ) retVal = self.__updateBucket( typeName, bucketStartTime, bucketLength, keyValues, pr...
bucketStartTime = bucketInfo[0] bucketLength = bucketInfo[2] proportionalValues = [] for value in valuesList: proportionalValues.append( value * bucketInfo[1] ) retVal = self.__insertBucket( typeName, bucketStartTime, bucketLength, keyValues, proportionalValues, connObj = connObj ) if retVal[ 'OK' ]: continue if r...
def __splitInBuckets( self, typeName, startTime, endTime, valuesList, connObj = False ): """ Bucketize a record """ #Calculate amount of buckets buckets = self.calculateBuckets( typeName, startTime, endTime ) #Separate key values from normal values numKeys = len( self.dbCatalog[ typeName ][ 'keys' ] ) keyValues = value...
13b41032681fed093279f250f41a8f53aa4fff7b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/13b41032681fed093279f250f41a8f53aa4fff7b/AccountingDB.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4939, 382, 14517, 12, 365, 16, 8173, 16, 8657, 16, 13859, 16, 924, 682, 16, 1487, 2675, 273, 1083, 262, 30, 3536, 7408, 554, 279, 1409, 3536, 468, 8695, 3844, 434, 9169, 9169, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 4939, 382, 14517, 12, 365, 16, 8173, 16, 8657, 16, 13859, 16, 924, 682, 16, 1487, 2675, 273, 1083, 262, 30, 3536, 7408, 554, 279, 1409, 3536, 468, 8695, 3844, 434, 9169, 9169, 27...
complete_url = "http://%s%s" % ( Site.objects.get_current().domain, reverse('notification_notices'), )
complete_url = "%s://%s%s" % ( DEFAULT_HTTP_PROTOCOL, Site.objects.get_current().domain, reverse('notification_notices'), )
def feed_links(self, user): complete_url = "http://%s%s" % ( Site.objects.get_current().domain, reverse('notification_notices'), ) return ({'href': complete_url},)
bd95ae7ee579679f01d6c9166d74adf85c8b8cce /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11515/bd95ae7ee579679f01d6c9166d74adf85c8b8cce/feeds.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4746, 67, 7135, 12, 2890, 16, 729, 4672, 3912, 67, 718, 273, 2213, 87, 23155, 87, 9, 87, 6, 738, 261, 3331, 67, 3693, 67, 16850, 16, 9063, 18, 6911, 18, 588, 67, 2972, 7675, 4308, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 67, 7135, 12, 2890, 16, 729, 4672, 3912, 67, 718, 273, 2213, 87, 23155, 87, 9, 87, 6, 738, 261, 3331, 67, 3693, 67, 16850, 16, 9063, 18, 6911, 18, 588, 67, 2972, 7675, 4308, ...
self.state = not(self.dbusObj.GetResourceState(self.resource))
self.state = True if self.dbusObj.GetResourcePolicy(self.resource) == "enabled" else False
def update(self): """ Set the object state to be opposite the current state of the resource Set the toggle to the object state """ self.state = not(self.dbusObj.GetResourceState(self.resource)) self.toggle.state_set(self.state)
288b28b5a57a8cc797a6e177ae7aa397d28a18c3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11428/288b28b5a57a8cc797a6e177ae7aa397d28a18c3/shr_pm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 4672, 3536, 1000, 326, 733, 919, 358, 506, 20759, 326, 783, 919, 434, 326, 1058, 1000, 326, 10486, 358, 326, 733, 919, 3536, 365, 18, 2019, 273, 1053, 309, 365, 18, 196...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 12, 2890, 4672, 3536, 1000, 326, 733, 919, 358, 506, 20759, 326, 783, 919, 434, 326, 1058, 1000, 326, 10486, 358, 326, 733, 919, 3536, 365, 18, 2019, 273, 1053, 309, 365, 18, 196...
if child.type == "commentsBefore" or child.type == "comments":
if child.type == "commentsBefore" or child.type == "comment":
def compileNode(node, level=0, enableNewLines=False, enableDebug=False): if enableDebug: indentPrint(level, "%s (%s)" % (node.type, node.get("line", False))) compString = "" ################################################################## # Opening... #############################################################...
02e6638f8ae1d3519ce6bf9ec88036b41df3e636 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5718/02e6638f8ae1d3519ce6bf9ec88036b41df3e636/treecompiler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4074, 907, 12, 2159, 16, 1801, 33, 20, 16, 4237, 1908, 5763, 33, 8381, 16, 4237, 2829, 33, 8381, 4672, 225, 309, 4237, 2829, 30, 3504, 5108, 12, 2815, 16, 2213, 87, 6142, 87, 2225, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4074, 907, 12, 2159, 16, 1801, 33, 20, 16, 4237, 1908, 5763, 33, 8381, 16, 4237, 2829, 33, 8381, 4672, 225, 309, 4237, 2829, 30, 3504, 5108, 12, 2815, 16, 2213, 87, 6142, 87, 2225, 7...
if interval is None: return
if (interval is None) or isinstance(interval, Undefined): return
def extend_to_cluster(axis, interval): if interval is None: return assert universe.cell_active[axis] interval.sort() index_min = int(math.floor(interval[0])) index_max = int(math.ceil(interval[1]))
49f522a8b0b1b57c3d1903380f0a56cf685df77a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11052/49f522a8b0b1b57c3d1903380f0a56cf685df77a/universe.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2133, 67, 869, 67, 7967, 12, 4890, 16, 3673, 4672, 309, 261, 6624, 353, 599, 13, 578, 1549, 12, 6624, 16, 22243, 4672, 327, 1815, 29235, 18, 3855, 67, 3535, 63, 4890, 65, 3673, 18, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2133, 67, 869, 67, 7967, 12, 4890, 16, 3673, 4672, 309, 261, 6624, 353, 599, 13, 578, 1549, 12, 6624, 16, 22243, 4672, 327, 1815, 29235, 18, 3855, 67, 3535, 63, 4890, 65, 3673, 18, 3...
subset = np.argwhere(mask)
subset = np.argwhere(mask).ravel()
def __init__(self, atoms, scale=1):
48896e1aeeac16eba1b21e288a75107c0bf5838f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5572/48896e1aeeac16eba1b21e288a75107c0bf5838f/atoms.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 9006, 16, 3159, 33, 21, 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, 1001, 2738, 972, 12, 2890, 16, 9006, 16, 3159, 33, 21, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
def __init__(data = None)
def __init__(data = None):
def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 112) else quickfix.StringField.__init__(self, 112, data)
484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 23543, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 972, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 892, 273, 599, 4672, 309, 501, 422, 599, 30, 9549, 904, 18, 780, 974, 16186, 2738, 972, 12, 2890, 16, 23543, 13, 469, 9549, 904, 18, 780, 974, 16186, 2738, 972, ...
if self._eoln != '\n': import EasyDialogs ok = EasyDialogs.AskYesNoCancel('Warning: "%s" does not have Unix line-endings' % self.title, 1, yes='OK', no='') if not ok: return
def _run(self): if self.run_with_interpreter: if self.editgroup.editor.changed: import EasyDialogs import Qd; Qd.InitCursor() save = EasyDialogs.AskYesNoCancel('Save "%s" before running?' % self.title, 1) if save > 0: if self.domenu_save(): return elif save < 0: return if not self.path: raise W.AlertError, "Can't run u...
b77eb4a1b3abec0b16ec7aa39cc67bba67af6641 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/b77eb4a1b3abec0b16ec7aa39cc67bba67af6641/PyEdit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2681, 12, 2890, 4672, 309, 365, 18, 2681, 67, 1918, 67, 2761, 11599, 30, 309, 365, 18, 4619, 1655, 18, 9177, 18, 6703, 30, 1930, 29442, 11885, 14072, 1930, 2238, 72, 31, 2238, 72,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2681, 12, 2890, 4672, 309, 365, 18, 2681, 67, 1918, 67, 2761, 11599, 30, 309, 365, 18, 4619, 1655, 18, 9177, 18, 6703, 30, 1930, 29442, 11885, 14072, 1930, 2238, 72, 31, 2238, 72,...
v="'%s'" % escape(unicode(v))
v=expand("%r", v)
def mass_insert(self, args=None, **columns): """ Starts a mass insert operation. When done adding rows, call commit_mass_insert to finalise the insert. """ if args: columns = args for k,v in columns.items(): ## _field means to pass the field if k.startswith("__"): v="_binary'%s'" % escape(v) k=k[2:] elif k.startswith(...
f0b775399a715f59c0fdd3844b797af063579f88 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5568/f0b775399a715f59c0fdd3844b797af063579f88/DB.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8039, 67, 6387, 12, 2890, 16, 833, 33, 7036, 16, 2826, 5112, 4672, 3536, 30620, 279, 8039, 2243, 1674, 18, 5203, 2731, 6534, 2595, 16, 745, 3294, 67, 10424, 67, 6387, 358, 727, 784, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 8039, 67, 6387, 12, 2890, 16, 833, 33, 7036, 16, 2826, 5112, 4672, 3536, 30620, 279, 8039, 2243, 1674, 18, 5203, 2731, 6534, 2595, 16, 745, 3294, 67, 10424, 67, 6387, 358, 727, 784, 32...
self.shutdownAudio()
def stillFrame(self): """Tell the pipeline that a still frame was sent.""" gst.debug("still frame")
0895d5a15d65903df4f3bb9421f42a4d134a8e1a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5222/0895d5a15d65903df4f3bb9421f42a4d134a8e1a/manager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4859, 3219, 12, 2890, 4672, 3536, 21009, 326, 5873, 716, 279, 4859, 2623, 1703, 3271, 12123, 314, 334, 18, 4148, 2932, 334, 737, 2623, 7923, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4859, 3219, 12, 2890, 4672, 3536, 21009, 326, 5873, 716, 279, 4859, 2623, 1703, 3271, 12123, 314, 334, 18, 4148, 2932, 334, 737, 2623, 7923, 2, -100, -100, -100, -100, -100, -100, -100, ...
def __init__(self, path, slow, allow_oom, tmflags, valgrind):
def __init__(self, path, slow, allow_oom, tmflags, error, valgrind):
def __init__(self, path, slow, allow_oom, tmflags, valgrind): """ path path to test file slow True means the test is slow-running allow_oom True means OOM should not be considered a failure valgrind True means test should run under valgrind """ self.path = path self.slow = slow self.allow_oom = allo...
e01f5d4040d56bba7d4c39d7dffd3bba721fd46a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11102/e01f5d4040d56bba7d4c39d7dffd3bba721fd46a/trace-test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 589, 16, 11816, 16, 1699, 67, 4252, 16, 6118, 7133, 16, 555, 16, 1244, 3197, 728, 4672, 3536, 225, 589, 3639, 589, 358, 1842, 585, 11816, 3639, 1053, 469...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 589, 16, 11816, 16, 1699, 67, 4252, 16, 6118, 7133, 16, 555, 16, 1244, 3197, 728, 4672, 3536, 225, 589, 3639, 589, 358, 1842, 585, 11816, 3639, 1053, 469...
show_error(error.message)
print "error:", error.message
def extract_iso(filename, dest): filename = os.path.abspath(filename) rename = None url = urlparse(dest) if not url[0]: try: os.makedirs(url[2]) except OSError: pass writer = FileWriter(dest) else: if url[0] == "ftp": tmp, ftp_ip = url[1].split("@") ftp_login, ftp_password = tmp.split(":") ftp_folder = url[2] if ftp_...
6386e84181816a627a0dedb6b6df21ea08a8ac85 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2692/6386e84181816a627a0dedb6b6df21ea08a8ac85/gxiso.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 67, 9699, 12, 3459, 16, 1570, 4672, 225, 1544, 273, 1140, 18, 803, 18, 5113, 803, 12, 3459, 13, 6472, 273, 599, 225, 880, 273, 15185, 12, 10488, 13, 309, 486, 880, 63, 20, 1454...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9699, 12, 3459, 16, 1570, 4672, 225, 1544, 273, 1140, 18, 803, 18, 5113, 803, 12, 3459, 13, 6472, 273, 599, 225, 880, 273, 15185, 12, 10488, 13, 309, 486, 880, 63, 20, 1454...
self.connectionInit = True
self.connectionInit = True self.defaultBufSize = 128*1024 self.socket = socket self.socketInfo = {"localip":"127.0.0.1","localport":0,"remoteip":"127.0.0.1","remoteport":0} self.readLock = getlock() self.writeLock = getlock() self.callbackFunction = None self.pendingSockets = {} self.referenceCounte...
def __init__(self, socket): """ <Purpose> Initializes the Multiplexer object. <Arguments> socket: Socket like object that is used for multiplexing """ # Setup the socket self.socket = socket # If we are given a socket, assume it is setup if socket != None: self.connectionInit = True
c37b97bba15a8b09425588f9b67749b496d89933 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7263/c37b97bba15a8b09425588f9b67749b496d89933/Multiplexer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2987, 4672, 3536, 411, 10262, 4150, 34, 10188, 3128, 326, 13531, 92, 264, 733, 18, 225, 411, 4628, 34, 2987, 30, 8758, 3007, 733, 716, 353, 1399, 364, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2987, 4672, 3536, 411, 10262, 4150, 34, 10188, 3128, 326, 13531, 92, 264, 733, 18, 225, 411, 4628, 34, 2987, 30, 8758, 3007, 733, 716, 353, 1399, 364, 30...
if len(add_members) > 0: try:
if len(add_members) > 0: try:
def updateShareOrDiscussion (self, host, blitz_id, share_id, message, add_members, rm_members, enable, expiration=None): sh = self.getShareService() sh.setDescription(long(share_id), message) sh.setExpiration(long(share_id), expiration) sh.setActive(long(share_id), enable) if len(add_members) > 0: sh.addUsers(long(shar...
c1a7e81de1d84fefff2b48212730f46205314803 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12409/c1a7e81de1d84fefff2b48212730f46205314803/gateway.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 9535, 1162, 24393, 261, 2890, 16, 1479, 16, 2811, 305, 94, 67, 350, 16, 7433, 67, 350, 16, 883, 16, 527, 67, 7640, 16, 6692, 67, 7640, 16, 4237, 16, 7686, 33, 7036, 4672, 699, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 9535, 1162, 24393, 261, 2890, 16, 1479, 16, 2811, 305, 94, 67, 350, 16, 7433, 67, 350, 16, 883, 16, 527, 67, 7640, 16, 6692, 67, 7640, 16, 4237, 16, 7686, 33, 7036, 4672, 699, ...
def item_cget(self, col, opt): return self.tk.call(self._w, 'item', 'cget', col, opt)
def item_cget(self, entry, col, opt): return self.tk.call(self._w, 'item', 'cget', entry, col, opt)
def item_cget(self, col, opt): return self.tk.call(self._w, 'item', 'cget', col, opt)
09839d0471d4c3a58d2a3d8901b9a51df575aa68 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/09839d0471d4c3a58d2a3d8901b9a51df575aa68/Tix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 761, 67, 71, 588, 12, 2890, 16, 225, 645, 16, 2153, 4672, 327, 365, 18, 16099, 18, 1991, 12, 2890, 6315, 91, 16, 296, 1726, 2187, 296, 71, 588, 2187, 645, 16, 2153, 13, 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, 761, 67, 71, 588, 12, 2890, 16, 225, 645, 16, 2153, 4672, 327, 365, 18, 16099, 18, 1991, 12, 2890, 6315, 91, 16, 296, 1726, 2187, 296, 71, 588, 2187, 645, 16, 2153, 13, 2, -100, -1...
Otherwise, it adds the entity tag as as "ETag" header to the response so that consequetive requests can be cached.
Otherwise, it adds the entity tag as an "ETag" header to the response so that consecutive requests can be cached.
def check_modified(self, timesecs, extra=''): """Check the request "If-None-Match" header against an entity tag generated from the specified last modified time in seconds (`timesecs`), optionally appending an `extra` string to indicate variants of the requested resource. That `extra` parameter can also be a list, in wh...
cc71f2b76457ee37324fa62174da1dd773f5015a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/cc71f2b76457ee37324fa62174da1dd773f5015a/api.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 7342, 12, 2890, 16, 4124, 557, 87, 16, 2870, 2218, 11, 4672, 3536, 1564, 326, 590, 315, 2047, 17, 7036, 17, 2060, 6, 1446, 5314, 392, 1522, 1047, 4374, 628, 326, 1269, 1142, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 7342, 12, 2890, 16, 4124, 557, 87, 16, 2870, 2218, 11, 4672, 3536, 1564, 326, 590, 315, 2047, 17, 7036, 17, 2060, 6, 1446, 5314, 392, 1522, 1047, 4374, 628, 326, 1269, 1142, ...
if size == 0: return "".join(bufs)
if size == 0: return bufs
def readline(self, size=-1): if size < 0: size = sys.maxint bufs = [] readsize = min(100, size) # Read from the file in small chunks while True: if size == 0: return "".join(bufs) # Return resulting line
7f62a06ba6b9a436fe201b64c59bfdfc6725fa8c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/7f62a06ba6b9a436fe201b64c59bfdfc6725fa8c/gzip.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12023, 12, 2890, 16, 963, 29711, 21, 4672, 309, 963, 411, 374, 30, 963, 273, 2589, 18, 1896, 474, 1681, 87, 273, 5378, 855, 1467, 273, 1131, 12, 6625, 16, 963, 13, 565, 468, 2720, 62...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12023, 12, 2890, 16, 963, 29711, 21, 4672, 309, 963, 411, 374, 30, 963, 273, 2589, 18, 1896, 474, 1681, 87, 273, 5378, 855, 1467, 273, 1131, 12, 6625, 16, 963, 13, 565, 468, 2720, 62...
def __init__(self, callback, task, args=(), kwargs={}): super(UrkForker, self).__init__()
def callback(): self.callback(result, error)
5c1d008b0362cdd8ac89f42b22959944aaf3d071 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10693/5c1d008b0362cdd8ac89f42b22959944aaf3d071/ui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1348, 13332, 365, 18, 3394, 12, 2088, 16, 555, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1348, 13332, 365, 18, 3394, 12, 2088, 16, 555, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
text = '\n'.join(s)
if enter_flag: s.append('') text = cr.join(s)
def _wrap(text, width, indent, firstindent): if not text: return '' text = text.strip() s = [] pos = 0 for i in rx.finditer(text): if i.start() > pos: s.extend(text[pos:i.start()].split()) s.append(i.group()) pos = i.end() if pos < len(text): s.extend(text[pos:].split()) ss = [s[0]] #get first element character is asi...
625ef8966c5424095fde6fd1f2a787fb16a2ed8e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/686/625ef8966c5424095fde6fd1f2a787fb16a2ed8e/wraptext.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4113, 12, 955, 16, 1835, 16, 3504, 16, 1122, 9355, 4672, 309, 486, 977, 30, 327, 875, 977, 273, 977, 18, 6406, 1435, 272, 273, 5378, 949, 273, 374, 364, 277, 316, 8581, 18, 4720...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4113, 12, 955, 16, 1835, 16, 3504, 16, 1122, 9355, 4672, 309, 486, 977, 30, 327, 875, 977, 273, 977, 18, 6406, 1435, 272, 273, 5378, 949, 273, 374, 364, 277, 316, 8581, 18, 4720...
raw = unicode(self.current_tweaks.toPlainText()) raw = re.sub(r'(?m)^
raw = unicode(self.current_tweaks.toPlainText()).encode('utf-8')
def set_tweaks(self): raw = unicode(self.current_tweaks.toPlainText()) raw = re.sub(r'(?m)^#.*fileencoding.*', '# ', raw) try: exec raw except: import traceback error_dialog(self, _('Invalid tweaks'), _('The tweaks you entered are invalid, try resetting the' ' tweaks to default and changing them one by one until' ' you...
6eade64d807b9af1f254585eccd560eb10f68a5d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/6eade64d807b9af1f254585eccd560eb10f68a5d/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 88, 26008, 87, 12, 2890, 4672, 1831, 273, 5252, 12, 2890, 18, 2972, 67, 88, 26008, 87, 18, 869, 13360, 1528, 10756, 1831, 273, 283, 18, 1717, 12, 86, 11, 3680, 81, 13, 66, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 88, 26008, 87, 12, 2890, 4672, 1831, 273, 5252, 12, 2890, 18, 2972, 67, 88, 26008, 87, 18, 869, 13360, 1528, 10756, 1831, 273, 283, 18, 1717, 12, 86, 11, 3680, 81, 13, 66, ...
addStubMember(memberId, member)
addStubMember(memberId, member, traceable)
def getInterface(interfaceName, errorLoc): iface = interfacesByName.get(interfaceName) if iface is None: idlFile = findIDL(conf.includePath, conf.irregularFilenames, interfaceName) idl = loadIDL(parser, conf.includePath, idlFile) if not idl.hasName(interfaceName): raise UserError("The interface %s was not found " "in t...
02e311e09e016912c1edae8536a5044940633ef1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11102/02e311e09e016912c1edae8536a5044940633ef1/qsgen.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 1358, 12, 5831, 461, 16, 555, 1333, 4672, 9751, 273, 7349, 5911, 18, 588, 12, 5831, 461, 13, 309, 9751, 353, 599, 30, 612, 80, 812, 273, 1104, 734, 48, 12, 3923, 18, 6702, 743, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1358, 12, 5831, 461, 16, 555, 1333, 4672, 9751, 273, 7349, 5911, 18, 588, 12, 5831, 461, 13, 309, 9751, 353, 599, 30, 612, 80, 812, 273, 1104, 734, 48, 12, 3923, 18, 6702, 743, ...
def f11(self, n1, n2):
def f0E(self, n1, n2):
def f11(self, n1, n2): return n1 * n2
7eba157adce404243eac81b4d40f252393526f0a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3322/7eba157adce404243eac81b4d40f252393526f0a/db_utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 284, 20, 41, 12, 2890, 16, 290, 21, 16, 290, 22, 4672, 327, 290, 21, 380, 290, 22, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 284, 20, 41, 12, 2890, 16, 290, 21, 16, 290, 22, 4672, 327, 290, 21, 380, 290, 22, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
transform = element._as_temporarily_immutable except AttributeError: pass else: element = transform() return element in self._data
return element in self._data except TypeError: transform = getattr(element, "_as_temporary_immutable", None) if transform is None: raise return transform() in self._data
def __contains__(self, element): """Report whether an element is a member of a set.
d127d135652c76445f1087e2553ee780b0dbb7cf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/d127d135652c76445f1087e2553ee780b0dbb7cf/sets.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12298, 972, 12, 2890, 16, 930, 4672, 3536, 4820, 2856, 392, 930, 353, 279, 3140, 434, 279, 444, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12298, 972, 12, 2890, 16, 930, 4672, 3536, 4820, 2856, 392, 930, 353, 279, 3140, 434, 279, 444, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
filter_by(list_type_id=pd.list_type_id)
filter_by(list_type_id=pd.list_type_id).filter_by(min_distance=pd.min_distance).\ filter_by(min_MAF=pd.min_MAF).filter_by(get_closest=pd.get_closest).filter_by(test_type=pd.test_type)
def run_wilcox_test(self, pd): """ 2008-08-20 use pd to summarize all parameters 2008-08-15 fix option max_pvalue_per_gene, to have the choice to take the most significant SNP associated with one gene or not 2008-08-14 add min_MAF just prepareDataForRankTest(). 2008-07-24 fix a bug. still using self.list_type_id, rathe...
d2a16d467a466b03daa63dd27037a863a5827a2a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9645/d2a16d467a466b03daa63dd27037a863a5827a2a/GeneListRankTest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 91, 330, 71, 2409, 67, 3813, 12, 2890, 16, 4863, 4672, 3536, 4044, 28, 17, 6840, 17, 3462, 999, 4863, 358, 28712, 777, 1472, 4044, 28, 17, 6840, 17, 3600, 2917, 1456, 943, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 91, 330, 71, 2409, 67, 3813, 12, 2890, 16, 4863, 4672, 3536, 4044, 28, 17, 6840, 17, 3462, 999, 4863, 358, 28712, 777, 1472, 4044, 28, 17, 6840, 17, 3600, 2917, 1456, 943, ...
super(SSLTransportWithCert, self).__init__(host, connect_timeout):
super(SSLTransportWithCert, self).__init__(host, connect_timeout)
def __init__(self, host, connect_timeout, ssl_cert=None, ssl_key=None): super(SSLTransportWithCert, self).__init__(host, connect_timeout): self.ssl_cert = ssl_cert self.ssl_key = ssl_key
72635ff83ecd4e9e2f7bed3d6825f301d826e044 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13694/72635ff83ecd4e9e2f7bed3d6825f301d826e044/amqplib_sslcert_patch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1479, 16, 3077, 67, 4538, 16, 5832, 67, 7593, 33, 7036, 16, 5832, 67, 856, 33, 7036, 4672, 2240, 12, 6745, 6568, 1190, 5461, 16, 365, 2934, 972, 2738, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1479, 16, 3077, 67, 4538, 16, 5832, 67, 7593, 33, 7036, 16, 5832, 67, 856, 33, 7036, 4672, 2240, 12, 6745, 6568, 1190, 5461, 16, 365, 2934, 972, 2738, ...
self.unpack('llll', self.data[self.index:self.index+16])
self.unpack('iiii', self.data[self.index:self.index+16])
def Tag_sint32_box(self): new_tag = unpack('B', self.data[self.index])[0]
b6246092697acf4603a7a53de2b028120f095743 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/675/b6246092697acf4603a7a53de2b028120f095743/pxldis.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4034, 67, 87, 474, 1578, 67, 2147, 12, 2890, 4672, 394, 67, 2692, 273, 6167, 2668, 38, 2187, 365, 18, 892, 63, 2890, 18, 1615, 5717, 63, 20, 65, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4034, 67, 87, 474, 1578, 67, 2147, 12, 2890, 4672, 394, 67, 2692, 273, 6167, 2668, 38, 2187, 365, 18, 892, 63, 2890, 18, 1615, 5717, 63, 20, 65, 2, -100, -100, -100, -100, -100, -100...
return now - self._start
return now - self._timer_start
def elapsed(self, now=time.time()): return now - self._start
9d9d1e85bc07468cd0128a3c77a2bd08931e292b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3386/9d9d1e85bc07468cd0128a3c77a2bd08931e292b/context.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9613, 12, 2890, 16, 2037, 33, 957, 18, 957, 1435, 4672, 327, 2037, 300, 365, 6315, 1937, 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, 9613, 12, 2890, 16, 2037, 33, 957, 18, 957, 1435, 4672, 327, 2037, 300, 365, 6315, 1937, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
x_new = asarray(x_new)
x_new =np.asarray(x_new)
def _call_spline(self, x_new): x_new = asarray(x_new) result = spleval(self._spline,x_new.ravel()) return result.reshape(x_new.shape+result.shape[1:])
4db244857b87d5117eda833744edd6826d40a0ad /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12971/4db244857b87d5117eda833744edd6826d40a0ad/interpolate.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1991, 67, 13106, 558, 12, 2890, 16, 619, 67, 2704, 4672, 619, 67, 2704, 273, 6782, 18, 345, 1126, 12, 92, 67, 2704, 13, 563, 273, 1694, 298, 1125, 12, 2890, 6315, 13106, 558, 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, 1991, 67, 13106, 558, 12, 2890, 16, 619, 67, 2704, 4672, 619, 67, 2704, 273, 6782, 18, 345, 1126, 12, 92, 67, 2704, 13, 563, 273, 1694, 298, 1125, 12, 2890, 6315, 13106, 558, 16...
self.handle_file(filename, context)
self.handle_file(filename, doctree, context)
def write_file(self, filename, doctree): destination = StringOutput(encoding='utf-8') doctree.settings = self.docsettings
7c86f6623279052ea372ff758c5fff2ebb8aac62 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1278/7c86f6623279052ea372ff758c5fff2ebb8aac62/builder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 768, 12, 2890, 16, 1544, 16, 31263, 992, 4672, 2929, 273, 514, 1447, 12, 5999, 2218, 3158, 17, 28, 6134, 31263, 992, 18, 4272, 273, 365, 18, 2434, 4272, 2, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 768, 12, 2890, 16, 1544, 16, 31263, 992, 4672, 2929, 273, 514, 1447, 12, 5999, 2218, 3158, 17, 28, 6134, 31263, 992, 18, 4272, 273, 365, 18, 2434, 4272, 2, -100, -100, -100, ...
if tools.config['db_password']: logger.notifyChannel("web-service", netsvc.LOG_ERROR, 'DUMP DB: %s doesn\'t work with password' % (db_name,)) raise Exception, "Couldn't dump database with password"
def dump(self, password, db_name): security.check_super(password) logger = netsvc.Logger()
c8f2d23783990c0effac6b09c24a2305e6c155ef /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12853/c8f2d23783990c0effac6b09c24a2305e6c155ef/web_services.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4657, 12, 2890, 16, 2201, 16, 1319, 67, 529, 4672, 4373, 18, 1893, 67, 9565, 12, 3664, 13, 1194, 273, 21954, 4227, 18, 3328, 1435, 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, 0, 0, 0, 0, 0, 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, 4657, 12, 2890, 16, 2201, 16, 1319, 67, 529, 4672, 4373, 18, 1893, 67, 9565, 12, 3664, 13, 1194, 273, 21954, 4227, 18, 3328, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -1...
def test_expect_isalive1 (self):
def test_expect_isalive_dead_after_normal_termination (self):
def test_expect_isalive1 (self): p = pexpect.spawn('ls') p.expect(pexpect.EOF) time.sleep(1) # allow kernel status time to catch up with state. if p.isalive(): self.fail ('Child process is not dead. It should be.')
950eede6b04306e7d0827d2c5e890723eabfb3fa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9386/950eede6b04306e7d0827d2c5e890723eabfb3fa/test_isalive.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 12339, 67, 291, 11462, 67, 22097, 67, 5205, 67, 6130, 67, 9505, 367, 261, 2890, 4672, 293, 273, 293, 12339, 18, 1752, 9533, 2668, 3251, 6134, 293, 18, 12339, 12, 30251, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 12339, 67, 291, 11462, 67, 22097, 67, 5205, 67, 6130, 67, 9505, 367, 261, 2890, 4672, 293, 273, 293, 12339, 18, 1752, 9533, 2668, 3251, 6134, 293, 18, 12339, 12, 30251, 18, 1...
Fixture.__init__(self)
AspyFixture.__init__(self)
def __init__(self): Fixture.__init__(self) self.title = "Music player tests"
43a0f8d3d71fafa93f66b7de5c6311692b8b2ccd /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5169/43a0f8d3d71fafa93f66b7de5c6311692b8b2ccd/aspyplayer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 432, 30884, 26392, 16186, 2738, 972, 12, 2890, 13, 365, 18, 2649, 273, 315, 49, 14894, 7291, 7434, 6, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 432, 30884, 26392, 16186, 2738, 972, 12, 2890, 13, 365, 18, 2649, 273, 315, 49, 14894, 7291, 7434, 6, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...