rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
'invoice_id':False,
'invoice_ids':{},
def copy(self, cr, uid, id, default=None,context={}): if not default: default = {} default.update({ 'state':'draft', 'shipped':False, 'invoiced':False, 'invoice_id':False, 'picking_ids':[], 'name': self.pool.get('ir.sequence').get(cr, uid, 'purchase.order'), }) return super(purchase_order, self).copy(cr, uid, id, defau...
c02056ffb2d9d9ffdf2670cf7d38d3cfb0fe32a0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/c02056ffb2d9d9ffdf2670cf7d38d3cfb0fe32a0/purchase.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 12, 2890, 16, 4422, 16, 4555, 16, 612, 16, 805, 33, 7036, 16, 2472, 12938, 4672, 309, 486, 805, 30, 805, 273, 2618, 805, 18, 2725, 12590, 296, 2019, 11, 2497, 17153, 2187, 296, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1610, 12, 2890, 16, 4422, 16, 4555, 16, 612, 16, 805, 33, 7036, 16, 2472, 12938, 4672, 309, 486, 805, 30, 805, 273, 2618, 805, 18, 2725, 12590, 296, 2019, 11, 2497, 17153, 2187, 296, ...
if not self._metadata_popupated:
if not self._metadata_populated:
def last_changelog(self): if not self._metadata_popupated: self.parse_metadata() return self._last_changelog
d7301a0b869a76845ebfdf478ff07d95dc243e3a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13693/d7301a0b869a76845ebfdf478ff07d95dc243e3a/source.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1142, 67, 24083, 12970, 12, 2890, 4672, 309, 486, 365, 6315, 4165, 67, 5120, 11799, 30, 365, 18, 2670, 67, 4165, 1435, 327, 365, 6315, 2722, 67, 24083, 12970, 2, 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, 1142, 67, 24083, 12970, 12, 2890, 4672, 309, 486, 365, 6315, 4165, 67, 5120, 11799, 30, 365, 18, 2670, 67, 4165, 1435, 327, 365, 6315, 2722, 67, 24083, 12970, 2, -100, -100, -100, -100, ...
self.listupdate_event)
self.listselect_event)
def show_window(self, comp_lists, index, complete, mode, userWantsWin): """Show the autocomplete list, bind events. If complete is True, complete the text, and if there is exactly one matching completion, don't open a list.""" # Handle the start we already have self.completions, self.morecompletions = comp_lists self.m...
0480cd31e9658edcbb1448817de1369456211c95 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12029/0480cd31e9658edcbb1448817de1369456211c95/AutoCompleteWindow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 67, 5668, 12, 2890, 16, 1161, 67, 9772, 16, 770, 16, 3912, 16, 1965, 16, 729, 59, 4388, 18049, 4672, 3536, 5706, 326, 21429, 666, 16, 1993, 2641, 18, 971, 3912, 353, 1053, 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, 2405, 67, 5668, 12, 2890, 16, 1161, 67, 9772, 16, 770, 16, 3912, 16, 1965, 16, 729, 59, 4388, 18049, 4672, 3536, 5706, 326, 21429, 666, 16, 1993, 2641, 18, 971, 3912, 353, 1053, 16, ...
([8, 27*a + 23, 10*a + 20], {10*a + 20: 2, 8: 0, 27*a + 23: 1})
([8, 27*a + 23, 10*a + 20], {8: 0, 10*a + 20: 2, 27*a + 23: 1})
def supersingular_points(self): r""" This function computes the supersingular j-invariants over the finite field associated to self.
e6762c64f64f579916fb35270b500c02238fade9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/e6762c64f64f579916fb35270b500c02238fade9/ssmod.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1169, 414, 17830, 67, 4139, 12, 2890, 4672, 436, 8395, 1220, 445, 15881, 326, 1169, 414, 17830, 525, 17, 267, 15886, 1879, 326, 25922, 652, 3627, 358, 365, 18, 2, 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, 1169, 414, 17830, 67, 4139, 12, 2890, 4672, 436, 8395, 1220, 445, 15881, 326, 1169, 414, 17830, 525, 17, 267, 15886, 1879, 326, 25922, 652, 3627, 358, 365, 18, 2, -100, -100, -100, -100,...
context.update({'partner_id':data_partner})
context.update({'partner_id':data_partner.id})
def _amount_total(self, cr, uid, ids, name, args, context=None): res ={} data_dosseir = self.browse(cr,uid,ids)
cfde0fb9fd34be024074ed97900b1c7d143d1875 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7339/cfde0fb9fd34be024074ed97900b1c7d143d1875/cci_mission.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8949, 67, 4963, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 508, 16, 833, 16, 819, 33, 7036, 4672, 400, 273, 2916, 501, 67, 19219, 307, 481, 273, 365, 18, 25731, 12, 3353, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8949, 67, 4963, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 508, 16, 833, 16, 819, 33, 7036, 4672, 400, 273, 2916, 501, 67, 19219, 307, 481, 273, 365, 18, 25731, 12, 3353, 16, ...
def remove_job(self, job): it = self.__get_iter(job.object_id)
def remove_job(self, object_id): it = self.__get_iter(object_id)
def remove_job(self, job): it = self.__get_iter(job.object_id) if it: self.remove(it) else: debug_trace("trying to remove non existing object %s from model" % job.object_id, sender=self)
c3a6e08c793b1c809e50d18e0642005e704282da /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2271/c3a6e08c793b1c809e50d18e0642005e704282da/TransferManager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 67, 4688, 12, 2890, 16, 733, 67, 350, 4672, 518, 273, 365, 16186, 588, 67, 2165, 12, 1612, 67, 350, 13, 309, 518, 30, 365, 18, 4479, 12, 305, 13, 469, 30, 1198, 67, 5129, 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, 1206, 67, 4688, 12, 2890, 16, 733, 67, 350, 4672, 518, 273, 365, 16186, 588, 67, 2165, 12, 1612, 67, 350, 13, 309, 518, 30, 365, 18, 4479, 12, 305, 13, 469, 30, 1198, 67, 5129, 293...
pl = wikipedia.Page(welcomesite, logg + '/' + year + '/' + month + '/' + day)
target = logg + '/' + year + '/' + month + '/' + day pl = wikipedia.Page(welcomesite, target)
def report(lang, rep_page, username, com): another_page = wikipedia.Page(lang, rep_page) if another_page.exists(): text_get = another_page.get() else: text_get = '' pos = 0 # The talk page includes "_" between the two names, in this way i replace them to " " regex = talk.replace('_', ' ') + username n = re.compile(rege...
e84f02593b3eb100ad10b8fa43c2d6d5085e2faa /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4404/e84f02593b3eb100ad10b8fa43c2d6d5085e2faa/welcome.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2605, 12, 4936, 16, 2071, 67, 2433, 16, 2718, 16, 532, 4672, 4042, 67, 2433, 273, 21137, 18, 1964, 12, 4936, 16, 2071, 67, 2433, 13, 309, 4042, 67, 2433, 18, 1808, 13332, 977, 67, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2605, 12, 4936, 16, 2071, 67, 2433, 16, 2718, 16, 532, 4672, 4042, 67, 2433, 273, 21137, 18, 1964, 12, 4936, 16, 2071, 67, 2433, 13, 309, 4042, 67, 2433, 18, 1808, 13332, 977, 67, 58...
axis =self.app.mainCamera.up
axis = self.CalphaViewer.worldToObjectCoordinates(self.app.mainCamera.up)
def posRotateCM_yaw(self, angle): print 'yaw:', angle axis =self.app.mainCamera.up axis = (-1*axis[0], -1*axis[1], -1*axis[2]) oldAngle = self.yaw axis = Vector3DFloat(axis[0], axis[1], axis[2]) cAlphaViewer = self.app.viewers['calpha'] cm = cAlphaViewer.renderer.selectionCenterOfMass() newAngle = math.pi*angle/180 c...
9fefa88d897047cb33ba1b9c7ca873fe31bb572c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4399/9fefa88d897047cb33ba1b9c7ca873fe31bb572c/structure_editor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 949, 16357, 9611, 67, 93, 2219, 12, 2890, 16, 5291, 4672, 1172, 296, 93, 2219, 30, 2187, 225, 5291, 2654, 273, 365, 18, 3005, 2762, 18415, 18, 18179, 19121, 13431, 12, 2890, 18, 2910, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 949, 16357, 9611, 67, 93, 2219, 12, 2890, 16, 5291, 4672, 1172, 296, 93, 2219, 30, 2187, 225, 5291, 2654, 273, 365, 18, 3005, 2762, 18415, 18, 18179, 19121, 13431, 12, 2890, 18, 2910, ...
if (t-t0)>3600:
if (t-t0)>120:
def proc_kill(self,fd): if fd in self.proc: self.proc[fd]['time']=0 t=time.time() for i in self.proc.keys(): t0=self.proc[i]['time'] if (t-t0)>3600: try: os.close(i) os.kill(self.proc[i]['pid'],signal.SIGTERM) except (IOError,OSError): pass del self.proc[i]
ee47be0f2054695e7e6d7e82ca8f47195820430f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/13009/ee47be0f2054695e7e6d7e82ca8f47195820430f/ajaxterm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5418, 67, 16418, 12, 2890, 16, 8313, 4672, 309, 5194, 316, 365, 18, 9381, 30, 365, 18, 9381, 63, 8313, 23962, 957, 3546, 33, 20, 268, 33, 957, 18, 957, 1435, 364, 277, 316, 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, 5418, 67, 16418, 12, 2890, 16, 8313, 4672, 309, 5194, 316, 365, 18, 9381, 30, 365, 18, 9381, 63, 8313, 23962, 957, 3546, 33, 20, 268, 33, 957, 18, 957, 1435, 364, 277, 316, 365, 18, ...
filelist.append(i)
filelist.append(i)
def get_file_listing_recursive(dir, mode, pattern=None): """ Returns the file listing of a given directory recursively. It returns only files. Returns a list of [file,/path/to/file] """ filelist = [] # Get root directory files filelist = get_file_listing(dir, mode, pattern) # Get files from subdirs for root, dirs, f...
48fc1c8d86f8cfbba31b22fbb4fd6c28972893ca /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/735/48fc1c8d86f8cfbba31b22fbb4fd6c28972893ca/pyrenamer_filefuncs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 768, 67, 21228, 67, 10543, 12, 1214, 16, 1965, 16, 1936, 33, 7036, 4672, 3536, 2860, 326, 585, 11591, 434, 279, 864, 1867, 8536, 18, 2597, 1135, 1338, 1390, 18, 2860, 279, 666...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 768, 67, 21228, 67, 10543, 12, 1214, 16, 1965, 16, 1936, 33, 7036, 4672, 3536, 2860, 326, 585, 11591, 434, 279, 864, 1867, 8536, 18, 2597, 1135, 1338, 1390, 18, 2860, 279, 666...
parser = RecordParser() rec = parser.convert_lax(result) return str(rec) + "\n" else: return self._parser.convert_lax(result) class _MartelBaseFastaParser: """Base class to provide a old-Biopython style to Martel parsing. """ def __init__(self, debug): self._it_builder = fasta.format.make_iterator("record", debug_lev...
return "\n".join(lines) else : return self._parser.parse_string("\n".join(lines)) class RecordParser: """Parses FASTA sequence data into a Fasta.Record object. """ def __init__(self, debug = 0): pass def parse_string(self, text) : text = text.replace("\r\n","\n") assert text[0] == ">", text text = text.split("\n>",1)...
def next(self): try: result = self._iterator.next() except StopIteration: return None
dacc73309acc0163f48b31942de3382cc8703457 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7167/dacc73309acc0163f48b31942de3382cc8703457/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1024, 12, 2890, 4672, 775, 30, 563, 273, 365, 6315, 9838, 18, 4285, 1435, 1335, 16179, 30, 327, 599, 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, 1024, 12, 2890, 4672, 775, 30, 563, 273, 365, 6315, 9838, 18, 4285, 1435, 1335, 16179, 30, 327, 599, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
def start(self, delay=0): self._q.put((self._start, delay))
def start(self, delay=0): self._enqueue((self._start, delay))
def start(self, delay=0): self._q.put((self._start, delay))
c2ce4bf43f46ab89a72f8811caa10989e57ce967 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6995/c2ce4bf43f46ab89a72f8811caa10989e57ce967/accounts.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 2890, 16, 4624, 33, 20, 4672, 365, 6315, 85, 18, 458, 12443, 2890, 6315, 1937, 16, 4624, 3719, 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, 787, 12, 2890, 16, 4624, 33, 20, 4672, 365, 6315, 85, 18, 458, 12443, 2890, 6315, 1937, 16, 4624, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
session.queue_declare(queue="q2", durable=True) except qpid.session.SessionException, e: if (530 == e.args[0].error_code): self.fail("ACL should allow queue create request for q2 with any parameter other than exclusive=true");
queue_options = {} queue_options["qpid.policy_type"] = "ring_strict" session.queue_declare(queue="q2", exclusive=True, arguments=queue_options) except qpid.session.SessionException, e: if (530 == e.args[0].error_code): self.fail("ACL should allow queue create request with name=q2 exclusive=true qpid.policy_type=ring_st...
def test_queue_allow_mode(self): """ Test cases for queue acl in allow mode """ aclf = ACLFile() aclf.write('acl deny bob@QPID create queue name=q1 durable=true passive=true\n') aclf.write('acl deny bob@QPID create queue name=q2 exclusive=true\n') aclf.write('acl deny bob@QPID access queue name=q3\n') aclf.write('acl d...
8daea4172058afb85e3defd9d65387f669029879 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/198/8daea4172058afb85e3defd9d65387f669029879/acl.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 4000, 67, 5965, 67, 3188, 12, 2890, 4672, 3536, 7766, 6088, 364, 2389, 7895, 316, 1699, 1965, 3536, 7895, 74, 273, 10098, 812, 1435, 7895, 74, 18, 2626, 2668, 10150, 17096, 800...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4000, 67, 5965, 67, 3188, 12, 2890, 4672, 3536, 7766, 6088, 364, 2389, 7895, 316, 1699, 1965, 3536, 7895, 74, 273, 10098, 812, 1435, 7895, 74, 18, 2626, 2668, 10150, 17096, 800...
def removeFromContainer(self, childToRemove):
def removeFromContainer(self, parent, child):
def removeFromContainer(self, childToRemove): # @@@ Must be implemented pass
4a7c83ee4f153096c5bad124f9973a3effb81c75 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/4a7c83ee4f153096c5bad124f9973a3effb81c75/ContainerBlocks.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 22386, 2170, 12, 2890, 16, 982, 16, 1151, 4672, 468, 22175, 36, 6753, 506, 8249, 1342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 22386, 2170, 12, 2890, 16, 982, 16, 1151, 4672, 468, 22175, 36, 6753, 506, 8249, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if not result: return S_ERROR('Null result from JobState service')
if not result['OK']: return result
def sendStoredJobParameters(self): """ Send the job parameters stored in the internal cache """ # FIXME: What if the same paramenter is set twice? parameters = [] for pname,pvalue,timeStamp in self.jobParameters: parameters.append((pname,pvalue))
214881d8826c726afcba88518eb7a72a22e1fd0c /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/214881d8826c726afcba88518eb7a72a22e1fd0c/JobReport.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 18005, 2278, 2402, 12, 2890, 4672, 3536, 2479, 326, 1719, 1472, 4041, 316, 326, 2713, 1247, 3536, 468, 9852, 30, 18734, 309, 326, 1967, 579, 2328, 353, 444, 13605, 35, 1472, 273, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 18005, 2278, 2402, 12, 2890, 4672, 3536, 2479, 326, 1719, 1472, 4041, 316, 326, 2713, 1247, 3536, 468, 9852, 30, 18734, 309, 326, 1967, 579, 2328, 353, 444, 13605, 35, 1472, 273, 5...
if category == "": category = "NewsArticles" html = get_index_page_from_cache(journal_name, category, issue_number, language)
def index(self, req, form): """Index page.""" argd = wash_urlargd(form, {'name': (str, ""), 'issue': (str, ""), 'category': (str, ""), 'ln': (str, "")} ) # get / set url parameter journal_name = "" issue_number = "" category = "" req.journal_defaults = {} try: journal_name = argd['name'] if journal_name == "": raise Ke...
4025c04c4cf5479311a45db56ff7d12da5995693 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12027/4025c04c4cf5479311a45db56ff7d12da5995693/webjournal_webinterface.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 770, 12, 2890, 16, 1111, 16, 646, 4672, 3536, 1016, 1363, 12123, 1501, 72, 273, 341, 961, 67, 718, 3175, 72, 12, 687, 16, 13666, 529, 4278, 261, 701, 16, 1408, 3631, 296, 13882, 4278, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 770, 12, 2890, 16, 1111, 16, 646, 4672, 3536, 1016, 1363, 12123, 1501, 72, 273, 341, 961, 67, 718, 3175, 72, 12, 687, 16, 13666, 529, 4278, 261, 701, 16, 1408, 3631, 296, 13882, 4278, ...
window.nicklist.remove(p)
window.nicklist.remove(_prefix(network, channel, nick))
def nicklist_del(network, channel, nick): p = prefix(network, channel, nick) window = windows.get(windows.ChannelWindow, network, channel.name) if window: window.nicklist.remove(p)
507a4f6d59b0605bdcef8ff21242050428040a4a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10693/507a4f6d59b0605bdcef8ff21242050428040a4a/chaninfo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10909, 1098, 67, 3771, 12, 5185, 16, 1904, 16, 10909, 4672, 293, 273, 1633, 12, 5185, 16, 1904, 16, 10909, 13, 225, 2742, 273, 9965, 18, 588, 12, 13226, 18, 2909, 3829, 16, 2483, 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, 10909, 1098, 67, 3771, 12, 5185, 16, 1904, 16, 10909, 4672, 293, 273, 1633, 12, 5185, 16, 1904, 16, 10909, 13, 225, 2742, 273, 9965, 18, 588, 12, 13226, 18, 2909, 3829, 16, 2483, 16, ...
atts['width'] = int(im.size[0] * (float(atts['scale']) / 100))
atts['width'] = im.size[0]
def visit_image(self, node): atts = node.attributes.copy() if atts.has_key('class'): del atts['class'] # prevent duplication with node attrs atts['src'] = atts['uri'] del atts['uri'] if atts.has_key('scale'): if Image and not (atts.has_key('width') and atts.has_key('height')): try: im = Image.open(str(atts['s...
3e44153b18ec1bf918f7ea370acca10b4f3678ad /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8194/3e44153b18ec1bf918f7ea370acca10b4f3678ad/html4css1.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 2730, 12, 2890, 16, 756, 4672, 15687, 273, 756, 18, 4350, 18, 3530, 1435, 309, 15687, 18, 5332, 67, 856, 2668, 1106, 11, 4672, 1464, 15687, 3292, 1106, 3546, 6647, 468, 5309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3757, 67, 2730, 12, 2890, 16, 756, 4672, 15687, 273, 756, 18, 4350, 18, 3530, 1435, 309, 15687, 18, 5332, 67, 856, 2668, 1106, 11, 4672, 1464, 15687, 3292, 1106, 3546, 6647, 468, 5309, ...
assert_array_almost_equal(numpy.matrixmultiply(a,x),b)
assert_array_almost_equal(numpy.dot(a,x),b)
def check_random_exact(self):
9bd2ebf847b7c0e4bdf3e5d49ab67f415145df68 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/9bd2ebf847b7c0e4bdf3e5d49ab67f415145df68/test_basic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 9188, 67, 17165, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 9188, 67, 17165, 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,...
print "%s %8s %s" % (getClock(m), var, out,)
print "%s %8s %s%s" % (getClock(m), var, out, pc)
def memDecode(m, reginfo): regname, bitdefs = reginfo var = m.group('var') val = int(m.group('val'), 16) changed = int(m.group('changed'), 16) notfirst = 1 if not changed: # Start of trace - show all bit defs, but don't show the # list of bits to ignore. changed = val notfirst = 0 if not bitdefs: # Only a register name...
9de89e61a897936f4b49121046fb78ee3e5a8811 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12923/9de89e61a897936f4b49121046fb78ee3e5a8811/memalias.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1663, 6615, 12, 81, 16, 960, 1376, 4672, 960, 529, 16, 2831, 12537, 273, 960, 1376, 569, 273, 312, 18, 1655, 2668, 1401, 6134, 1244, 273, 509, 12, 81, 18, 1655, 2668, 1125, 19899, 2872...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1663, 6615, 12, 81, 16, 960, 1376, 4672, 960, 529, 16, 2831, 12537, 273, 960, 1376, 569, 273, 312, 18, 1655, 2668, 1401, 6134, 1244, 273, 509, 12, 81, 18, 1655, 2668, 1125, 19899, 2872...
if _debug: sys.stderr.write('using an xml library that does not support EntityResolver (not a big deal)\n') encoding_set = (result['encoding'] == xml_encoding) if not encoding_set: bozo_exception = None proposed_encodings = [result['encoding'], xml_encoding, 'utf-8', 'iso-8859-1', 'windows-1252'] tried_encodings = [] f...
pass
def parse(url_file_stream_or_string, etag=None, modified=None, agent=None, referrer=None): """Parse a feed from a URL, file, stream, or string""" result = FeedParserDict() f = _open_resource(url_file_stream_or_string, etag=etag, modified=modified, agent=agent, referrer=referrer) data = f.read() if hasattr(f, "headers")...
972cadc09ab0b2fdf411f1a0962eada0cba30b10 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/972cadc09ab0b2fdf411f1a0962eada0cba30b10/feedparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 718, 67, 768, 67, 3256, 67, 280, 67, 1080, 16, 13655, 33, 7036, 16, 4358, 33, 7036, 16, 4040, 33, 7036, 16, 14502, 33, 7036, 4672, 3536, 3201, 279, 4746, 628, 279, 1976, 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, 1109, 12, 718, 67, 768, 67, 3256, 67, 280, 67, 1080, 16, 13655, 33, 7036, 16, 4358, 33, 7036, 16, 4040, 33, 7036, 16, 14502, 33, 7036, 4672, 3536, 3201, 279, 4746, 628, 279, 1976, 16...
correlation; ncc is normalized cross correlation.
correlation; ncc is normalized cross correlation. mse is mean square error. with mse there is no joint histogram.
def optimize_function(x, optfunc_args): """ cost = optimize_function(x, optfunc_args) --- OR --- cost, joint_histogram = optimize_function(x, optfunc_args) computes the alignment between 2 volumes using cross correlation or mutual information metrics. In both the 8 bit joint histogram of the 2 images is computed. T...
de681f926e982b0212f2f58bf637917926737f89 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12971/de681f926e982b0212f2f58bf637917926737f89/_registration.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10979, 67, 915, 12, 92, 16, 2153, 644, 67, 1968, 4672, 3536, 6991, 273, 10979, 67, 915, 12, 92, 16, 2153, 644, 67, 1968, 13, 565, 9948, 4869, 9948, 6991, 16, 15916, 67, 22702, 273, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10979, 67, 915, 12, 92, 16, 2153, 644, 67, 1968, 4672, 3536, 6991, 273, 10979, 67, 915, 12, 92, 16, 2153, 644, 67, 1968, 13, 565, 9948, 4869, 9948, 6991, 16, 15916, 67, 22702, 273, 1...
if not self._browser._forms:
if not self._browser.forms():
def submit(self, fieldname): if not self._browser._forms: raise Exception("no forms on this page!") ctl = None form = self._browser.form if form is None: if len(self._browser._forms) == 1: form = self._browser._forms[0] else: raise Exception("more than one form; you must select one (use 'fv') before submitting")
13736726208ec80019457205a1c4fa1f8596d813 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8598/13736726208ec80019457205a1c4fa1f8596d813/browser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4879, 12, 2890, 16, 14680, 4672, 309, 486, 365, 6315, 11213, 18, 9741, 13332, 1002, 1185, 2932, 2135, 10138, 603, 333, 1363, 4442, 13, 225, 21903, 273, 599, 225, 646, 273, 365, 6315, 112...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4879, 12, 2890, 16, 14680, 4672, 309, 486, 365, 6315, 11213, 18, 9741, 13332, 1002, 1185, 2932, 2135, 10138, 603, 333, 1363, 4442, 13, 225, 21903, 273, 599, 225, 646, 273, 365, 6315, 112...
'contracted_katakana':opt_conv["boolean"][option6.get_active()],
'contracted_katakana': opt_conv["boolean"][option6.get_active()],
def callback(widget,special=None): if special=="save": #Update the configuration. self.param.write({ 'basic_hiragana':opt_conv["boolean"][option1.get_active()], 'basic_hiragana_portions':kanaPortions[0], 'modified_hiragana':opt_conv["boolean"][option2.get_active()], 'modified_hiragana_portions':kanaPortions[1], 'contra...
64cfb9e0b60a3a976c72fa9d5d722987641133b9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3073/64cfb9e0b60a3a976c72fa9d5d722987641133b9/gtk_gui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1348, 12, 6587, 16, 9371, 33, 7036, 4672, 309, 4582, 31713, 5688, 6877, 468, 1891, 326, 1664, 18, 365, 18, 891, 18, 2626, 12590, 296, 13240, 67, 76, 481, 346, 13848, 4278, 3838, 67, 48...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1348, 12, 6587, 16, 9371, 33, 7036, 4672, 309, 4582, 31713, 5688, 6877, 468, 1891, 326, 1664, 18, 365, 18, 891, 18, 2626, 12590, 296, 13240, 67, 76, 481, 346, 13848, 4278, 3838, 67, 48...
$pyjs.in_try_except -= 1; sys.save_exception_stack(); var $pyjs_msg = ''; try { $pyjs_msg = "\\n" + sys.trackstackstr(); } catch (s) {}; pyjslib['debugReport'](err + '\\nTraceback:' + $pyjs_msg);
pyjslib['_handle_exception'](err);
def PYVA(content): return compile(dedent(content))
5e8341bde915eb90dad9cc490bd887e44367020a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11828/5e8341bde915eb90dad9cc490bd887e44367020a/pyjs_filter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12191, 27722, 12, 1745, 4672, 327, 4074, 12, 785, 319, 12, 1745, 3719, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12191, 27722, 12, 1745, 4672, 327, 4074, 12, 785, 319, 12, 1745, 3719, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
sytem(self.runAfter)
system(self.runAfter)
def runAfterCommands(self): if self.runAfter is not '': sytem(self.runAfter) if self.runAfterOut is not '': self.session.open(Execute, self.name, None, self.runAfterOut)
600ecdcfa75fc8000d9c45b12764469df37d428c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10199/600ecdcfa75fc8000d9c45b12764469df37d428c/ppanel.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 4436, 9127, 12, 2890, 4672, 309, 365, 18, 2681, 4436, 353, 486, 875, 30, 2619, 12, 2890, 18, 2681, 4436, 13, 309, 365, 18, 2681, 4436, 1182, 353, 486, 875, 30, 365, 18, 3184, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1086, 4436, 9127, 12, 2890, 4672, 309, 365, 18, 2681, 4436, 353, 486, 875, 30, 2619, 12, 2890, 18, 2681, 4436, 13, 309, 365, 18, 2681, 4436, 1182, 353, 486, 875, 30, 365, 18, 3184, 1...
names = os.listdir(dirpath) names.sort(lambda x,y: cmp(x.lower(), y.lower()))
names = self._list_dir(dirpath)
def _get_suite_items(self, dirpath, suitenames): names = os.listdir(dirpath) names.sort(lambda x,y: cmp(x.lower(), y.lower())) files = [] initfile = None for name in names: path = os.path.join(dirpath, name) if self._is_suite_init_file(name, path): if initfile is None: initfile = path else: LOGGER.error("Ignoring secon...
7617f14b99e6076e1c142caabc9e19633c0c98a0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7408/7617f14b99e6076e1c142caabc9e19633c0c98a0/model.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 30676, 67, 3319, 12, 2890, 16, 17803, 16, 1597, 305, 6809, 4672, 1257, 273, 365, 6315, 1098, 67, 1214, 12, 1214, 803, 13, 1390, 273, 5378, 1208, 768, 273, 599, 364, 508, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 30676, 67, 3319, 12, 2890, 16, 17803, 16, 1597, 305, 6809, 4672, 1257, 273, 365, 6315, 1098, 67, 1214, 12, 1214, 803, 13, 1390, 273, 5378, 1208, 768, 273, 599, 364, 508, ...
kernel = '/usr/lib/xen/boot/hvmloader'
kernel = '/usr/lib/xen-default/boot/hvmloader'
def createXenConfig(self, vmName, image, macAddr, bridge, memory, cores, hints, id): fn = os.path.join("/tmp", vmName) vmType = hints.get('vmtype', self.defaultVmType) print 'starting vm with type: ', vmType bootstr = '' if vmType == 'pvgrub': # FIXME: untested, requires Xen 3.3 bootstr = '''
787afd97a19dbc056f066117a0e80a968ac780eb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5161/787afd97a19dbc056f066117a0e80a968ac780eb/xenpv.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 60, 275, 809, 12, 2890, 16, 4268, 461, 16, 1316, 16, 5318, 3178, 16, 10105, 16, 3778, 16, 15355, 16, 13442, 16, 612, 4672, 2295, 273, 1140, 18, 803, 18, 5701, 2932, 19, 5645, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 60, 275, 809, 12, 2890, 16, 4268, 461, 16, 1316, 16, 5318, 3178, 16, 10105, 16, 3778, 16, 15355, 16, 13442, 16, 612, 4672, 2295, 273, 1140, 18, 803, 18, 5701, 2932, 19, 5645, 31...
self.searcher.localPSIBlast( self.f_target, self.db, npasses=2 )
self.searcher.localPSIBlast( self.f_target, self.db, npasses=2 )
def searchLocalPsiBlast(self):
192f7ffa922aed1ead1fed83d7e0b2a4faaea9b9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/482/192f7ffa922aed1ead1fed83d7e0b2a4faaea9b9/SequenceSearcher.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1623, 2042, 52, 7722, 38, 2722, 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...
[ 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, 1623, 2042, 52, 7722, 38, 2722, 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,...
class _Renderer(Ean13._Renderer):
default_options = dict(textyoffset=-4) class _Renderer(LinearCodeRenderer): code_bbox = [0, 0, 13*7+4, DPI] @property def text_bbox(self): textyoffset = self.lookup_option('textyoffset', 0) textsize = self.lookup_option('textsize', 12) textmaxh = textyoffset + textsize if self.lookup_option('includetext', False) is No...
def text_bbox(self): textyoffset = self.lookup_option('textyoffset', 0) textsize = self.lookup_option('textsize', 12) textmaxh = textyoffset + textsize if self.lookup_option('includetext', False) is None: return [-10, textyoffset-textsize/2.0, (12-1)*7+8+textsize*0.6, textmaxh] else: return self.code_bbox
c0d20174c7fcc3c635858cb23decc23ee2a09049 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5996/c0d20174c7fcc3c635858cb23decc23ee2a09049/ean.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 977, 67, 20737, 12, 2890, 4672, 977, 93, 3348, 273, 365, 18, 8664, 67, 3482, 2668, 955, 93, 3348, 2187, 374, 13, 977, 1467, 273, 365, 18, 8664, 67, 3482, 2668, 955, 1467, 2187, 2593, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 977, 67, 20737, 12, 2890, 4672, 977, 93, 3348, 273, 365, 18, 8664, 67, 3482, 2668, 955, 93, 3348, 2187, 374, 13, 977, 1467, 273, 365, 18, 8664, 67, 3482, 2668, 955, 1467, 2187, 2593, ...
b.pack(side = TOP)
b.pack(side=TOP)
def build_tools(self): tframe = self.tframe canvas = self.canvas fr=TFrame(tframe, style='FlatFrame', borderwidth=12) fr.pack(side = TOP, fill = X) label = TLabel(fr, style='FlatLabel') label.pack(side = TOP, fill = X) label = TLabel(tframe, style='HLine') label.pack(side = TOP, fill = X)
5bd05aab08ecc99debb8be46af1003105e4183ab /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3123/5bd05aab08ecc99debb8be46af1003105e4183ab/mainwindow.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 6642, 12, 2890, 4672, 3253, 1474, 273, 365, 18, 88, 3789, 5953, 273, 365, 18, 15424, 225, 3812, 33, 56, 3219, 12, 88, 3789, 16, 2154, 2218, 16384, 3219, 2187, 5795, 2819, 33,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1361, 67, 6642, 12, 2890, 4672, 3253, 1474, 273, 365, 18, 88, 3789, 5953, 273, 365, 18, 15424, 225, 3812, 33, 56, 3219, 12, 88, 3789, 16, 2154, 2218, 16384, 3219, 2187, 5795, 2819, 33,...
AVISITOR = alist(bot, 'avisitor', a_visitor)
ALISTS = [AKICK, AVISITOR, AMODERATOR]
def a_moderator(item, reason): item.room.moderate('nick', item.nick, 'role', 'moderator', '')
bab40efca50c4e0d03eaefce7b8f5193f06e5b64 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2729/bab40efca50c4e0d03eaefce7b8f5193f06e5b64/alists.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 279, 67, 1711, 7385, 12, 1726, 16, 3971, 4672, 761, 18, 13924, 18, 1711, 12600, 2668, 17091, 2187, 761, 18, 17091, 16, 296, 4615, 2187, 296, 1711, 7385, 2187, 28707, 225, 2, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 279, 67, 1711, 7385, 12, 1726, 16, 3971, 4672, 761, 18, 13924, 18, 1711, 12600, 2668, 17091, 2187, 761, 18, 17091, 16, 296, 4615, 2187, 296, 1711, 7385, 2187, 28707, 225, 2, -100, -100, ...
classMap = self._getClassMap()
def checkPrivate(allVars): privateElement = re.compile(r'\b__') def findPrivate(allVars): variables = [] for node in allVars: fullName, isComplete = treeutil.assembleVariable(node) if privateElement.search(fullName): variables.append(node) return variables def isLocalPrivate(var, fullName): allIdentifier = fullName....
def findVariables(rootNode): variables = [] for node in treeutil.nodeIterator(rootNode, ["assignment", "call"]): if node.type == "assignment": variables.append(node.getChild("left")) elif node.type == "call": variables.append(node.getChild("operand")) return variables
ec00e2844f80c3e0277ecba0e7493d7e837efb49 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5718/ec00e2844f80c3e0277ecba0e7493d7e837efb49/ecmalint.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 6158, 12, 3085, 907, 4672, 3152, 273, 5378, 364, 756, 316, 2151, 1367, 18, 2159, 3198, 12, 3085, 907, 16, 8247, 12960, 3113, 315, 1991, 11929, 4672, 309, 756, 18, 723, 422, 315, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 6158, 12, 3085, 907, 4672, 3152, 273, 5378, 364, 756, 316, 2151, 1367, 18, 2159, 3198, 12, 3085, 907, 16, 8247, 12960, 3113, 315, 1991, 11929, 4672, 309, 756, 18, 723, 422, 315, ...
<p>Migrate PTK content to CMF site</p> <p>Path (not including "http://") to PTK instance (source):
<h2>Migrate PTK content to CMF site</h2> <p>Path (not including server URL) to PTK instance (source):
def migrate(self, src_path='', dest_path=''): if not src_path or not dest_path: return ''' <html><body><form action="%s" method="POST"> <p>Migrate PTK content to CMF site</p> <p>Path (not including "http://") to PTK instance (source): <input type="text" name="src_path"></p> <p>Path (not including "http://") to CMF site...
2b8f52be9ede3f56a5fb14e9fed0e592d52ccb16 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1843/2b8f52be9ede3f56a5fb14e9fed0e592d52ccb16/migrate_ptk.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13187, 12, 2890, 16, 1705, 67, 803, 2218, 2187, 1570, 67, 803, 2218, 11, 4672, 309, 486, 1705, 67, 803, 578, 486, 1570, 67, 803, 30, 327, 9163, 411, 2620, 4438, 3432, 4438, 687, 1301, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13187, 12, 2890, 16, 1705, 67, 803, 2218, 2187, 1570, 67, 803, 2218, 11, 4672, 309, 486, 1705, 67, 803, 578, 486, 1570, 67, 803, 30, 327, 9163, 411, 2620, 4438, 3432, 4438, 687, 1301, ...
for property in ['cluster', 'hostname', 'disks', 'vcpus', 'pnode', 'os', 'disk_template']:
for property in ['cluster', 'hostname', 'disk_size','nictype', 'nic', 'vcpus', 'pnode', 'os', 'disk_template', 'kernelpath', 'rootpath', 'bootorder']:
def test_view_create(self): """ Test creating a virtual machine """ url = '/vm/add/%s' group1 = UserGroup(id=2, name='testing_group2') group1.save() cluster1 = Cluster(hostname='test2.osuosl.bak', slug='OSL_TEST2') cluster1.save() # anonymous user response = c.get(url % '', follow=True) self.assertEqual(200, response....
2162f2fc3bbfc1a335a7d4bcf29dfb58afe849ba /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10509/2162f2fc3bbfc1a335a7d4bcf29dfb58afe849ba/virtual_machine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 1945, 67, 2640, 12, 2890, 4672, 3536, 7766, 4979, 279, 5024, 5228, 3536, 880, 273, 1173, 3489, 19, 1289, 5258, 87, 11, 1041, 21, 273, 30928, 12, 350, 33, 22, 16, 508, 2218, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 1945, 67, 2640, 12, 2890, 4672, 3536, 7766, 4979, 279, 5024, 5228, 3536, 880, 273, 1173, 3489, 19, 1289, 5258, 87, 11, 1041, 21, 273, 30928, 12, 350, 33, 22, 16, 508, 2218, ...
self.start = 0 if self.player.item_info and hasattr(self.player.item_info, 'ts_start'): self.start = self.player.item_info.ts_start
self.start = 0 try: self.length = int(self.item.info['length']) except: self.lebgth = 0 if self.player.item_info: length = int(self.player.item_info.length) if hasattr(self.player.item_info, 'ts_start'): self.start = self.player.item_info.ts_start
def play(self, command, player): """ called before playing is started to add some stuff to the command line """ self.item = player.item self.player = player self.osd_visible = False self.bmovl = None
3489fc1ad1f871f05615c51ddeca3e4a586b5982 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/3489fc1ad1f871f05615c51ddeca3e4a586b5982/bmovl.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6599, 12, 2890, 16, 1296, 16, 7291, 4672, 3536, 2566, 1865, 23982, 353, 5746, 358, 527, 2690, 10769, 358, 326, 1296, 980, 3536, 365, 18, 1726, 3639, 273, 7291, 18, 1726, 365, 18, 14872, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6599, 12, 2890, 16, 1296, 16, 7291, 4672, 3536, 2566, 1865, 23982, 353, 5746, 358, 527, 2690, 10769, 358, 326, 1296, 980, 3536, 365, 18, 1726, 3639, 273, 7291, 18, 1726, 365, 18, 14872, ...
env=os.environ.copy(),
env=(os.environ.copy() if sys.platform != "win32" else None),
def start_process(command, **kwargs): """Start `command` as a new background subprocess. `command` and `kwargs` are passed to :meth:`subprocess.Popen.__init__`. Raise :exc:`aeidon.ProcessError` if something goes wrong. Return :class:`subprocess.Popen` instance. """ try: return subprocess.Popen(command, shell=(sys.plat...
2c402a866e5a3aaa5eddcd73cb74e689de8741a1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12852/2c402a866e5a3aaa5eddcd73cb74e689de8741a1/util.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 67, 2567, 12, 3076, 16, 2826, 4333, 4672, 3536, 1685, 1375, 3076, 68, 487, 279, 394, 5412, 6652, 18, 225, 1375, 3076, 68, 471, 1375, 4333, 68, 854, 2275, 358, 294, 27305, 28288, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 67, 2567, 12, 3076, 16, 2826, 4333, 4672, 3536, 1685, 1375, 3076, 68, 487, 279, 394, 5412, 6652, 18, 225, 1375, 3076, 68, 471, 1375, 4333, 68, 854, 2275, 358, 294, 27305, 28288, 1...
self.library_path = get_library_path() if self.library_path is None:
self.library_path = get_library_path(parent=self.splash_screen) if not self.library_path:
def initialize(self, *args): if gprefs.get('show_splash_screen', True): self.show_splash_screen()
4e136e7d4b31d76de5669b03ac8cb99c635196e2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/4e136e7d4b31d76de5669b03ac8cb99c635196e2/main.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4046, 12, 2890, 16, 380, 1968, 4672, 309, 314, 1484, 2556, 18, 588, 2668, 4500, 67, 13106, 961, 67, 9252, 2187, 1053, 4672, 365, 18, 4500, 67, 13106, 961, 67, 9252, 1435, 2, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4046, 12, 2890, 16, 380, 1968, 4672, 309, 314, 1484, 2556, 18, 588, 2668, 4500, 67, 13106, 961, 67, 9252, 2187, 1053, 4672, 365, 18, 4500, 67, 13106, 961, 67, 9252, 1435, 2, -100, -100...
interCharTimeout + 1
interCharTimeout + 1
def setInterCharTimeout(self, interCharTimeout): """Change inter-character timeout setting.""" if interCharTimeout is not None: if interCharTimeout < 0: raise ValueError("Not a valid timeout: %r" % interCharTimeout) try: interCharTimeout + 1 #test if it's a number, will throw a TypeError if not... except TypeError:...
08389a910a6098708fb05bf3b12c10c8dafc4eb6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10955/08389a910a6098708fb05bf3b12c10c8dafc4eb6/serialutil.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 2465, 2156, 2694, 12, 2890, 16, 1554, 2156, 2694, 4672, 3536, 3043, 1554, 17, 11560, 2021, 3637, 12123, 309, 1554, 2156, 2694, 353, 486, 599, 30, 309, 1554, 2156, 2694, 411, 374, 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, 444, 2465, 2156, 2694, 12, 2890, 16, 1554, 2156, 2694, 4672, 3536, 3043, 1554, 17, 11560, 2021, 3637, 12123, 309, 1554, 2156, 2694, 353, 486, 599, 30, 309, 1554, 2156, 2694, 411, 374, 30...
('Fallout - Meshes.bsa',1138575220), ('Fallout - Misc.bsa',1139433736), ('Fallout - Sounds.bsa',1138660560), ('Fallout - Textures - Compressed.bsa',1138162634), ('Fallout - Voices1.bsa',1138162934), ('Fallout - Voices2.bsa',1138166742),
('Fallout - MenuVoices.bsa',1138575220), ('Fallout - Meshes.bsa',1139433736), ('Fallout - Misc.bsa',1138660560), ('Fallout - Sounds.bsa',1138162634), ('Fallout - Textures.bsa',1138162934), ('Fallout - Voices.bsa',1138166742),
def resetMTimes(self): """Reset dates of bsa files to 'correct' values.""" #--Fix the data of a few archive files bsaTimes = ( ('Fallout - Meshes.bsa',1138575220), ('Fallout - Misc.bsa',1139433736), ('Fallout - Sounds.bsa',1138660560), ('Fallout - Textures - Compressed.bsa',1138162634), ('Fallout - Voices1.bsa',1138162...
2e6db0ec4099b9682b5a69f3ca23782f6cc992b2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6682/2e6db0ec4099b9682b5a69f3ca23782f6cc992b2/bosh.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2715, 6152, 4485, 12, 2890, 4672, 3536, 7013, 7811, 434, 7081, 69, 1390, 358, 296, 6746, 11, 924, 12123, 468, 413, 8585, 326, 501, 434, 279, 11315, 5052, 1390, 7081, 69, 10694, 273, 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, 2715, 6152, 4485, 12, 2890, 4672, 3536, 7013, 7811, 434, 7081, 69, 1390, 358, 296, 6746, 11, 924, 12123, 468, 413, 8585, 326, 501, 434, 279, 11315, 5052, 1390, 7081, 69, 10694, 273, 261,...
if type(name) is type(()): uri, localname, prefix = name name = "%s:%s"%(prefix,localname)
def startElement(self, name, attrs): if type(name) is type(()): uri, localname, prefix = name name = "%s:%s"%(prefix,localname) self._out.write('<' + name) for (name, value) in attrs.items(): self._out.write(' %s="%s"' % (name, escape(value))) self._out.write('>')
d2e8ed58c83ecc5390d6cf99651b791350b04e61 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/d2e8ed58c83ecc5390d6cf99651b791350b04e61/saxutils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13591, 12, 2890, 16, 508, 16, 3422, 4672, 365, 6315, 659, 18, 2626, 2668, 32, 11, 397, 508, 13, 364, 261, 529, 16, 460, 13, 316, 3422, 18, 3319, 13332, 365, 6315, 659, 18, 2626, 2668...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13591, 12, 2890, 16, 508, 16, 3422, 4672, 365, 6315, 659, 18, 2626, 2668, 32, 11, 397, 508, 13, 364, 261, 529, 16, 460, 13, 316, 3422, 18, 3319, 13332, 365, 6315, 659, 18, 2626, 2668...
assert self.typedesc is not None
def freeze(self, memo): contmemo = memo.containers assert self not in contmemo # contmemo no longer used assert self.typedesc is not None result = contmemo[self] = FrozenVirtualStruct(self.typedesc) frozens = [box.freeze(memo) for box in self.content_boxes] result.fz_content_boxes = frozens return result
c4f4e0fc504144433de8e467cdb427939d238666 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6934/c4f4e0fc504144433de8e467cdb427939d238666/rcontainer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16684, 12, 2890, 16, 11063, 4672, 466, 19521, 273, 11063, 18, 20596, 1815, 365, 486, 316, 466, 19521, 377, 468, 466, 19521, 1158, 7144, 1399, 563, 273, 466, 19521, 63, 2890, 65, 273, 478...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 16684, 12, 2890, 16, 11063, 4672, 466, 19521, 273, 11063, 18, 20596, 1815, 365, 486, 316, 466, 19521, 377, 468, 466, 19521, 1158, 7144, 1399, 563, 273, 466, 19521, 63, 2890, 65, 273, 478...
self.parseAction += map(self._normalizeParseActionArgs, list(fns))
self.parseAction += list(map(self._normalizeParseActionArgs, list(fns)))
def addParseAction( self, *fns, **kwargs ): """Add parse action to expression's list of parse actions. See L{I{setParseAction}<setParseAction>}.""" self.parseAction += map(self._normalizeParseActionArgs, list(fns)) self.callDuringTry = self.callDuringTry or ("callDuringTry" in kwargs and kwargs["callDuringTry"]) return...
c6e5c5fcf7fe09d7390a6d3525397e48c03606ea /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3693/c6e5c5fcf7fe09d7390a6d3525397e48c03606ea/pyparsing.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 3201, 1803, 12, 365, 16, 380, 74, 2387, 16, 2826, 4333, 262, 30, 3536, 986, 1109, 1301, 358, 2652, 1807, 666, 434, 1109, 4209, 18, 2164, 511, 95, 45, 95, 542, 3201, 1803, 97, 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, 527, 3201, 1803, 12, 365, 16, 380, 74, 2387, 16, 2826, 4333, 262, 30, 3536, 986, 1109, 1301, 358, 2652, 1807, 666, 434, 1109, 4209, 18, 2164, 511, 95, 45, 95, 542, 3201, 1803, 97, 32...
inProcessOpts .append( '-o GridCEQueue=%s' % CE )
if pilotRef != 'Unknown': inProcessOpts .append( '-o GridCEQueue=%s' % CE )
def executeAndGetOutput( cmd ): try: import subprocess p = subprocess.Popen( "%s" % cmd, shell = True, stdout = subprocess.PIPE, stderr = subprocess.PIPE, close_fds = True ) outData = p.stdout.read().strip() returnCode = p.wait() except ImportError: import popen2 p3 = popen2.Popen3( "%s" % cmd ) outData = p3.fromchild....
8922130e24bc4dbc0c83fb4f30f8c4eb2eaf22e0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12864/8922130e24bc4dbc0c83fb4f30f8c4eb2eaf22e0/dirac-pilot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 14042, 1447, 12, 1797, 262, 30, 775, 30, 1930, 6652, 293, 273, 6652, 18, 52, 3190, 12, 2213, 87, 6, 738, 1797, 16, 5972, 273, 1053, 16, 3909, 273, 6652, 18, 27602, 16, 4514, 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, 1836, 14042, 1447, 12, 1797, 262, 30, 775, 30, 1930, 6652, 293, 273, 6652, 18, 52, 3190, 12, 2213, 87, 6, 738, 1797, 16, 5972, 273, 1053, 16, 3909, 273, 6652, 18, 27602, 16, 4514, 27...
'_default': u'Annex talk',
'_default': u'Appendix talk',
def __init__(self): family.Family.__init__(self) self.name = 'wiktionary' self.langs = { 'minnan':'zh-min-nan.wiktionary.org', 'nb':'no.wiktionary.org', 'zh-cn':'zh.wiktionary.org', 'zh-tw':'zh.wiktionary.org' } for lang in self.knownlanguages: if not lang in ['ee','ht','ny', 'se', 'tum']: self.langs[lang] = lang+'.wi...
dc0bee136edc4aa5926e427bf334e8075f22a777 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4404/dc0bee136edc4aa5926e427bf334e8075f22a777/wiktionary_family.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 6755, 18, 9203, 16186, 2738, 972, 12, 2890, 13, 365, 18, 529, 273, 296, 11999, 24252, 814, 11, 365, 18, 4936, 87, 273, 288, 296, 1154, 13569, 11, 2497,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6755, 18, 9203, 16186, 2738, 972, 12, 2890, 13, 365, 18, 529, 273, 296, 11999, 24252, 814, 11, 365, 18, 4936, 87, 273, 288, 296, 1154, 13569, 11, 2497,...
if v['GCC_CONFIGURED_PLATFORM'] == 'linux': conf.env.append_unique('CCFLAGS', ['-fPIC']) conf.env.append_unique('CXXFLAGS', ['-fPIC']) conf.env.append_unique('LINKFLAGS', ['-rdynamic'])
def find_cross_gcc(conf): try: target = Options.options.target except: target = None if not target: target = conf.env['GCC_TARGET'] version = conf.env['GCC_VERSION'] versionsmall = '.'.join(version.split('.')[0:2]) if target: v = conf.env v['GCC_CONFIGURED_ARCH'] = parse_gcc_target(target) if not v['CC']: v['CC'] = con...
6eee9723d26418465d370b9e61c09df4545a2130 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7302/6eee9723d26418465d370b9e61c09df4545a2130/cross_gcc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 14653, 67, 75, 952, 12, 3923, 4672, 775, 30, 1018, 273, 5087, 18, 2116, 18, 3299, 1335, 30, 1018, 273, 599, 309, 486, 1018, 30, 1018, 273, 2195, 18, 3074, 3292, 43, 6743, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 14653, 67, 75, 952, 12, 3923, 4672, 775, 30, 1018, 273, 5087, 18, 2116, 18, 3299, 1335, 30, 1018, 273, 599, 309, 486, 1018, 30, 1018, 273, 2195, 18, 3074, 3292, 43, 6743, 6...
pid, status = os.waitpid(child_pid, 0) return status
os.waitpid(child_pid, 0) return
def wait(self, child_pid): """Wait for child_pid to finish, ignoring EINTR.""" while True: try: pid, status = os.waitpid(child_pid, 0) return status except OSError as e: if e.errno != errno.EINTR: raise
ea9f83bf36178336dfcb304723d862ecd988e1b8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3187/ea9f83bf36178336dfcb304723d862ecd988e1b8/test_signal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2529, 12, 2890, 16, 1151, 67, 6610, 4672, 3536, 5480, 364, 1151, 67, 6610, 358, 4076, 16, 14398, 512, 3217, 54, 12123, 1323, 1053, 30, 775, 30, 1140, 18, 7048, 6610, 12, 3624, 67, 6610...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2529, 12, 2890, 16, 1151, 67, 6610, 4672, 3536, 5480, 364, 1151, 67, 6610, 358, 4076, 16, 14398, 512, 3217, 54, 12123, 1323, 1053, 30, 775, 30, 1140, 18, 7048, 6610, 12, 3624, 67, 6610...
j = match.start() self.handle_comment(rawdata[i+4: j])
if report: j = match.start() self.handle_comment(rawdata[i+4: j])
def parse_comment(self, i): rawdata = self.rawdata assert rawdata[i:i+4] == '<!--', 'unexpected call to parse_comment()' match = commentclose.search(rawdata, i+4) if not match: return -1 j = match.start() self.handle_comment(rawdata[i+4: j]) j = match.end() return j
68eac2b574ed837099998d68ea592d02bd8ca129 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/68eac2b574ed837099998d68ea592d02bd8ca129/HTMLParser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 3469, 12, 2890, 16, 277, 4672, 1831, 892, 273, 365, 18, 1899, 892, 1815, 1831, 892, 63, 77, 30, 77, 15, 24, 65, 422, 2368, 22772, 2187, 296, 21248, 745, 358, 1109, 67, 3469...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 3469, 12, 2890, 16, 277, 4672, 1831, 892, 273, 365, 18, 1899, 892, 1815, 1831, 892, 63, 77, 30, 77, 15, 24, 65, 422, 2368, 22772, 2187, 296, 21248, 745, 358, 1109, 67, 3469...
"PPC32_OPENBSD" : "-lm -lpthread", "SPARC64_OPENBSD" : "-lm -lpthread"
"MIPS64_OPENBSD" : " -lm -lpthread ", "PPC32_OPENBSD" : " -lm -lpthread ", "SPARC64_OPENBSD" : " -lm -lpthread ",
def Boot(): global BuildLocal BuildLocal += " -boot -keep" Version = "1" Compile = ("gcc -gstabs+ " + ({ "SPARC32_LINUX" : "-m32 -munaligned-doubles", "SPARC64_LINUX" : "-m64 -munaligned-doubles", "LINUXLIBC6" : "-m32 -fPIC -mno-align-double", "AMD64_LINUX" : "-m64 -fPIC -mno-align-double" }.get...
5ede0f80a9877b27e6fe73475bd5c595c157b542 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9328/5ede0f80a9877b27e6fe73475bd5c595c157b542/pylib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26254, 13332, 225, 2552, 3998, 2042, 3998, 2042, 1011, 315, 300, 7137, 300, 10102, 6, 225, 4049, 273, 315, 21, 6, 225, 16143, 273, 7566, 75, 952, 300, 75, 334, 5113, 15, 315, 397, 1079...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26254, 13332, 225, 2552, 3998, 2042, 3998, 2042, 1011, 315, 300, 7137, 300, 10102, 6, 225, 4049, 273, 315, 21, 6, 225, 16143, 273, 7566, 75, 952, 300, 75, 334, 5113, 15, 315, 397, 1079...
return "%s (%s)" % (_strclass(self.__class__), self.__testFunc.__name__)
return "%s (%s)" % (_strclass(self.__class__), self._testFunc.__name__)
def __str__(self): return "%s (%s)" % (_strclass(self.__class__), self.__testFunc.__name__)
beef07330851eb7c0712f5c97725a39cad43dad9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12029/beef07330851eb7c0712f5c97725a39cad43dad9/unittest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 327, 2213, 87, 6142, 87, 2225, 738, 261, 67, 701, 1106, 12, 2890, 16186, 1106, 972, 3631, 365, 16186, 3813, 2622, 16186, 529, 972, 13, 2, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 327, 2213, 87, 6142, 87, 2225, 738, 261, 67, 701, 1106, 12, 2890, 16186, 1106, 972, 3631, 365, 16186, 3813, 2622, 16186, 529, 972, 13, 2, -100, -100, -1...
def debugancestor(ui, *opts):
def debugancestor(ui, *args):
def debugancestor(ui, *opts): """find the ancestor revision of two revisions in a given index""" if len(opts) == 3: index, rev1, rev2 = opts r = revlog.revlog(util.opener(os.getcwd(), audit=False), index) elif len(opts) == 2: rev1, rev2 = opts repo = hg.repository(ui) r = repo.changelog else: raise util.Abort(_('either...
c096d95db96b76ee25bc0c42bad2e7507eab9200 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11312/c096d95db96b76ee25bc0c42bad2e7507eab9200/commands.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1198, 28798, 12, 4881, 16, 380, 1968, 4672, 3536, 4720, 326, 9731, 6350, 434, 2795, 18325, 316, 279, 864, 770, 8395, 309, 562, 12, 4952, 13, 422, 890, 30, 770, 16, 5588, 21, 16, 5588, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1198, 28798, 12, 4881, 16, 380, 1968, 4672, 3536, 4720, 326, 9731, 6350, 434, 2795, 18325, 316, 279, 864, 770, 8395, 309, 562, 12, 4952, 13, 422, 890, 30, 770, 16, 5588, 21, 16, 5588, ...
HEADER_PATH=path))
HEADER_PATH=path, NEW_HEADER_PATH=path_to_new))
def main(outdir, compiler, template_file, header_list_file): if not os.path.isdir(outdir): os.mkdir(outdir) template = open(template_file, 'r').read() for header in open(header_list_file, 'r'): header = header.rstrip() if 0 == len(header) or is_comment(header): continue path = header_path(header, compiler) try: f = ...
c5d15d701b680cc73f7db8a8fa42f51cacdf8871 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11102/c5d15d701b680cc73f7db8a8fa42f51cacdf8871/make-stl-wrappers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 659, 1214, 16, 5274, 16, 1542, 67, 768, 16, 1446, 67, 1098, 67, 768, 4672, 309, 486, 1140, 18, 803, 18, 291, 1214, 12, 659, 1214, 4672, 1140, 18, 26686, 12, 659, 1214, 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, 2774, 12, 659, 1214, 16, 5274, 16, 1542, 67, 768, 16, 1446, 67, 1098, 67, 768, 4672, 309, 486, 1140, 18, 803, 18, 291, 1214, 12, 659, 1214, 4672, 1140, 18, 26686, 12, 659, 1214, 13, ...
if xdpyinfo.count('FGLRX'): for location in fglrx_locations: if os.path.exists(location): print '* fglrx found, exporting: LD_PRELOAD=' + location os.environ['LD_PRELOAD'] = location break
if 'client glx vendor string: ATI' in glxinfo and is_xgl(): for location in [l for l in mesa_libgl_locations if os.path.exists(l)]: print '* fglrx found, exporting: LD_PRELOAD=%s' %(location) os.environ['LD_PRELOAD'] = location break
def env_fglrx(): 'Determines if we are using fglrx' if xdpyinfo.count('FGLRX'): for location in fglrx_locations: if os.path.exists(location): print '* fglrx found, exporting: LD_PRELOAD=' + location os.environ['LD_PRELOAD'] = location break
464212ccf5920e62ad08486fb833d3cd7644d530 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/909/464212ccf5920e62ad08486fb833d3cd7644d530/libfusionicon.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1550, 67, 2137, 10826, 92, 13332, 296, 10114, 309, 732, 854, 1450, 284, 7043, 20122, 11, 225, 309, 296, 2625, 5118, 92, 8556, 533, 30, 14464, 45, 11, 316, 5118, 92, 1376, 471, 353, 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, 1550, 67, 2137, 10826, 92, 13332, 296, 10114, 309, 732, 854, 1450, 284, 7043, 20122, 11, 225, 309, 296, 2625, 5118, 92, 8556, 533, 30, 14464, 45, 11, 316, 5118, 92, 1376, 471, 353, 67,...
if pb:
if pb:
def run_tests(tests, test_dir, lib_dir): pb = None if not OPTIONS.hide_progress and not OPTIONS.show_cmd: try: from progressbar import ProgressBar pb = ProgressBar('', len(tests), 13) except ImportError: pass failures = [] complete = False doing = 'before starting' try: for i, test in enumerate(tests): doing = 'on %s'...
ea23dc85970663d5f24e981c348fb0d236c55290 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11102/ea23dc85970663d5f24e981c348fb0d236c55290/trace-test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 16341, 12, 16341, 16, 1842, 67, 1214, 16, 2561, 67, 1214, 4672, 6386, 273, 599, 309, 486, 16726, 18, 11248, 67, 8298, 471, 486, 16726, 18, 4500, 67, 4172, 30, 775, 30, 628, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16341, 12, 16341, 16, 1842, 67, 1214, 16, 2561, 67, 1214, 4672, 6386, 273, 599, 309, 486, 16726, 18, 11248, 67, 8298, 471, 486, 16726, 18, 4500, 67, 4172, 30, 775, 30, 628, ...
pop3proxy.stop(pop3proxy.state)
self.ReportServiceStatus(win32service.SERVICE_STOP_PENDING) self.event_stopping.set() pop3proxy.stop(pop3proxy.state)
def SvcStop(self): pop3proxy.stop(pop3proxy.state)
7786de3380fd6a988af1b2de02c4d3ce6c8f783d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9857/7786de3380fd6a988af1b2de02c4d3ce6c8f783d/pop3proxy_service.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 348, 4227, 4947, 12, 2890, 4672, 1843, 23, 5656, 18, 5681, 12, 5120, 23, 5656, 18, 2019, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 348, 4227, 4947, 12, 2890, 4672, 1843, 23, 5656, 18, 5681, 12, 5120, 23, 5656, 18, 2019, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
class MsrpSession(SipSession): __swig_setmethods__ = {} for _s in [SipSession]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
class MsrpSession(InviteSession): __swig_setmethods__ = {} for _s in [InviteSession]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
def reject(self, *args): return _tinyWRAP.CallSession_reject(self, *args)
5a446dc5431ef2708d3b137a144d856c9994dd9d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5606/5a446dc5431ef2708d3b137a144d856c9994dd9d/tinyWRAP.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4925, 12, 2890, 16, 380, 1968, 4672, 327, 389, 88, 11652, 27664, 18, 1477, 2157, 67, 24163, 12, 2890, 16, 380, 1968, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4925, 12, 2890, 16, 380, 1968, 4672, 327, 389, 88, 11652, 27664, 18, 1477, 2157, 67, 24163, 12, 2890, 16, 380, 1968, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
res = self._findFiles(lfns,['FileID','UID'],connection=connection)
res = self._findFiles( lfns, ['FileID', 'UID'], connection = connection )
def setFileOwner(self,lfns,connection=False): connection = self._getConnection(connection) """ Get set the group for the supplied files """ res = self._findFiles(lfns,['FileID','UID'],connection=connection) if not res['OK']: return res failed = res['Value']['Failed'] successful = {} for lfn in res['Value']['Successful'...
26c5008a7adbc1c761e2409bed59b7710e5f2c74 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/26c5008a7adbc1c761e2409bed59b7710e5f2c74/FileManagerBase.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19658, 5541, 12, 2890, 16, 20850, 2387, 16, 4071, 33, 8381, 4672, 1459, 273, 365, 6315, 588, 1952, 12, 4071, 13, 3536, 968, 444, 326, 1041, 364, 326, 4580, 1390, 3536, 400, 273, 365, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 19658, 5541, 12, 2890, 16, 20850, 2387, 16, 4071, 33, 8381, 4672, 1459, 273, 365, 6315, 588, 1952, 12, 4071, 13, 3536, 968, 444, 326, 1041, 364, 326, 4580, 1390, 3536, 400, 273, 365, 6...
def wm_state(self): """Return the state of this widget as one of normal, icon, iconic (see wm_iconwindow) and withdrawn.""" return self.tk.call('wm', 'state', self._w)
def wm_state(self, newstate=None): """Query or set the state of this widget as one of normal, icon, iconic (see wm_iconwindow), withdrawn, or zoomed (Windows only).""" return self.tk.call('wm', 'state', self._w, newstate)
def wm_state(self): """Return the state of this widget as one of normal, icon, iconic (see wm_iconwindow) and withdrawn.""" return self.tk.call('wm', 'state', self._w)
8376751181bc4904c25af81c6e0705bced652b34 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/8376751181bc4904c25af81c6e0705bced652b34/Tkinter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 18200, 67, 2019, 12, 2890, 4672, 3536, 990, 326, 919, 434, 333, 3604, 487, 1245, 434, 2212, 16, 4126, 16, 4126, 335, 261, 5946, 18200, 67, 3950, 5668, 13, 471, 598, 9446, 82, 12123, 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, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 18200, 67, 2019, 12, 2890, 4672, 3536, 990, 326, 919, 434, 333, 3604, 487, 1245, 434, 2212, 16, 4126, 16, 4126, 335, 261, 5946, 18200, 67, 3950, 5668, 13, 471, 598, 9446, 82, 12123, 32...
redirURL = urljoin(redirURL,info['location'])
if info.has_key('location'): redirURL = urljoin(redirURL,info['location'])
def grabURL(url, type="GET",start = 0, etag=None,modified=None): maxDepth = 10 maxAuthAttempts = 5 redirURL = url myHeaders = {"User-Agent":"DTV/pre-release (http://participatoryculture.org/)"} (scheme, host, path, params, query, fragment) = urlparse(url) #print "grab URL called for "+host auth = findHTTPAuth(host,pa...
19216ba63b19e8aa890ebb3e3fd934ac8afa4bf3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12354/19216ba63b19e8aa890ebb3e3fd934ac8afa4bf3/downloader.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11086, 1785, 12, 718, 16, 618, 1546, 3264, 3113, 1937, 273, 374, 16, 13655, 33, 7036, 16, 7342, 33, 7036, 4672, 22074, 273, 1728, 943, 1730, 10113, 273, 1381, 283, 1214, 1785, 273, 880, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11086, 1785, 12, 718, 16, 618, 1546, 3264, 3113, 1937, 273, 374, 16, 13655, 33, 7036, 16, 7342, 33, 7036, 4672, 22074, 273, 1728, 943, 1730, 10113, 273, 1381, 283, 1214, 1785, 273, 880, ...
if utils.matchAnyRegexp(name[1], ['season (?P<season>[0-9]+)']):
if utils.matchAnyRegexp(name[1], [ 'season (?P<season>[0-9]+)', 'saison (?P<season>[0-9]+)' ]):
def start(self, query): self.checkValid(query)
ecf9b6b3b69d84824aeb9b9f19d0c0f4e7f2b36b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11141/ecf9b6b3b69d84824aeb9b9f19d0c0f4e7f2b36b/episodefilename.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 2890, 16, 843, 4672, 365, 18, 1893, 1556, 12, 2271, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 12, 2890, 16, 843, 4672, 365, 18, 1893, 1556, 12, 2271, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
if self.name()[0] == '
if self._isAutoblock:
def block(self, expiry = None, reason = None, anon= True, noCreate = False, onAutoblock = False, banMail = False, watchUser = False, allowUsertalk = True, reBlock = False): """ Block the user by API.
0553617ec4a3c10f8ce44d225a0ca714f640d691 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4404/0553617ec4a3c10f8ce44d225a0ca714f640d691/userlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1203, 12, 2890, 16, 10839, 273, 599, 16, 3971, 273, 599, 16, 30637, 33, 1053, 16, 1158, 1684, 273, 1083, 16, 603, 7150, 947, 739, 273, 1083, 16, 25732, 6759, 273, 1083, 16, 4267, 1299,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1203, 12, 2890, 16, 10839, 273, 599, 16, 3971, 273, 599, 16, 30637, 33, 1053, 16, 1158, 1684, 273, 1083, 16, 603, 7150, 947, 739, 273, 1083, 16, 25732, 6759, 273, 1083, 16, 4267, 1299,...
return self.app_zsnes(c)
return self.either(c, 'zsnes')
def app_default(self, c): """How to determine the default application?""" f = c.file
d012468d69a53fe582b3a45f18a6aedb304defb3 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5729/d012468d69a53fe582b3a45f18a6aedb304defb3/apps.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 595, 67, 1886, 12, 2890, 16, 276, 4672, 3536, 44, 543, 358, 4199, 326, 805, 2521, 35, 8395, 284, 273, 276, 18, 768, 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, 595, 67, 1886, 12, 2890, 16, 276, 4672, 3536, 44, 543, 358, 4199, 326, 805, 2521, 35, 8395, 284, 273, 276, 18, 768, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
(None, " "),
(None, " "),
def interaction(self, exc_tuple): self.current_exc_tuple = exc_tuple
e032f4d4e7d00a05fe0f27b0ce4695345bb987e0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12738/e032f4d4e7d00a05fe0f27b0ce4695345bb987e0/debugger.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13581, 12, 2890, 16, 3533, 67, 8052, 4672, 365, 18, 2972, 67, 10075, 67, 8052, 273, 3533, 67, 8052, 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, 13581, 12, 2890, 16, 3533, 67, 8052, 4672, 365, 18, 2972, 67, 10075, 67, 8052, 273, 3533, 67, 8052, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
profilers = self.job.profilers if not profilers.only(): for i in range(iterations): utils.system(self.srcdir + '/src/stress ' + args) if profilers.present(): profilers.start(self) utils.system(self.srcdir + '/src/stress ' + args) profilers.stop(self) profilers.report(self)
utils.system(self.srcdir + '/src/stress ' + args)
def execute(self, iterations = 1, args = ''): if not args: threads = 2*autotest_utils.count_cpus() args = '-c %d -i %d -m %d -d %d -t 60 -v' % \ (threads, threads, threads, threads)
495bd26593d9d190de5e82631dc22eb40ca85f4a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12268/495bd26593d9d190de5e82631dc22eb40ca85f4a/stress.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1836, 12, 2890, 16, 11316, 273, 404, 16, 833, 273, 875, 4672, 309, 486, 833, 30, 7403, 273, 576, 14, 5854, 352, 395, 67, 5471, 18, 1883, 67, 20696, 1435, 833, 273, 2400, 71, 738, 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, 1836, 12, 2890, 16, 11316, 273, 404, 16, 833, 273, 875, 4672, 309, 486, 833, 30, 7403, 273, 576, 14, 5854, 352, 395, 67, 5471, 18, 1883, 67, 20696, 1435, 833, 273, 2400, 71, 738, 72,...
if self.path.has_key(dirname) and self.path[dirname].has_key(filename): return len(self.path[dirname][filename]) > 0
if self.path.has_key(dirname) and self.path[dirname].has_key(basename): return len(self.path[dirname][basename]) > 0
def isDuplicate(self, filename): (dirname, basename) = os.path.split(filename) if len(dirname) > 0 and dirname[-1] != "/": dirname += "/"
e0106769fd056a3d2a869a4070f727b30e66fa80 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1143/e0106769fd056a3d2a869a4070f727b30e66fa80/lists.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 11826, 12, 2890, 16, 1544, 4672, 261, 12287, 16, 4882, 13, 273, 1140, 18, 803, 18, 4939, 12, 3459, 13, 309, 562, 12, 12287, 13, 405, 374, 471, 4283, 18919, 21, 65, 480, 4016, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 11826, 12, 2890, 16, 1544, 4672, 261, 12287, 16, 4882, 13, 273, 1140, 18, 803, 18, 4939, 12, 3459, 13, 309, 562, 12, 12287, 13, 405, 374, 471, 4283, 18919, 21, 65, 480, 4016, 30...
section = regex.match("^Fix", text_lines[0]) < 0 sorter.append(group_order, section, date, group, text_lines, author, file, revision, tags)
section = re.match("^Fix", text_lines[0]) < 0 sorter.append((group_order, section, date, group, text_lines, author, file, revision, tags))
def main(): import sys, getopt, time, string, regex, regsub try: opts, args = getopt.getopt(sys.argv[1:], "C:d:Hi:l:Mptr:v:", ["CVS_command", "date", "indent", "length", "Merge", "patches", #### not yet supported "text", "rlog_options", #### not yet supported "version" ]) except getopt.error, msg: sys.stdout = sys...
92f58f6b8b028bc901c1c5f2bd420c92e105f2c9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1296/92f58f6b8b028bc901c1c5f2bd420c92e105f2c9/cvs2hist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 1930, 2589, 16, 336, 3838, 16, 813, 16, 533, 16, 3936, 16, 17518, 373, 775, 30, 1500, 16, 833, 273, 336, 3838, 18, 588, 3838, 12, 9499, 18, 19485, 63, 21, 30, 6487, 315,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 1930, 2589, 16, 336, 3838, 16, 813, 16, 533, 16, 3936, 16, 17518, 373, 775, 30, 1500, 16, 833, 273, 336, 3838, 18, 588, 3838, 12, 9499, 18, 19485, 63, 21, 30, 6487, 315,...
def save_bytes(self, obj): if self.bin: n = len(obj) if n < 256: self.write(SHORT_BINSTRING + bytes([n]) + bytes(obj)) else: self.write(BINSTRING + pack("<i", n) + bytes(obj)) else: self.write(STRING + bytes(repr(obj).lstrip("b")) + b'\n') self.memoize(obj) dispatch[bytes] = save_bytes
def save_bytes(self, obj): # Like save_string if self.bin: n = len(obj) if n < 256: self.write(SHORT_BINSTRING + bytes([n]) + bytes(obj)) else: self.write(BINSTRING + pack("<i", n) + bytes(obj)) else: # Strip leading 'b' self.write(STRING + bytes(repr(obj).lstrip("b")) + b'\n') self.memoize(obj)
32c5b86893d8cb9f5c422a7a2945f4f24f131503 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8125/32c5b86893d8cb9f5c422a7a2945f4f24f131503/pickle.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 67, 3890, 12, 2890, 16, 1081, 4672, 468, 23078, 1923, 67, 1080, 309, 365, 18, 4757, 30, 290, 273, 562, 12, 2603, 13, 309, 290, 411, 8303, 30, 365, 18, 2626, 12, 15993, 67, 1261...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 67, 3890, 12, 2890, 16, 1081, 4672, 468, 23078, 1923, 67, 1080, 309, 365, 18, 4757, 30, 290, 273, 562, 12, 2603, 13, 309, 290, 411, 8303, 30, 365, 18, 2626, 12, 15993, 67, 1261...
milestone = Milestone(self.__env, name)
milestone = Milestone(self.env_open(), name)
def _do_milestone_rename(self, name, newname): milestone = Milestone(self.__env, name) milestone.name = newname milestone.update()
132f03448459e7c8907500129479bb5f6c5bc47a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/132f03448459e7c8907500129479bb5f6c5bc47a/admin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2896, 67, 81, 18270, 67, 18539, 12, 2890, 16, 508, 16, 26722, 4672, 28664, 273, 490, 18270, 12, 2890, 18, 3074, 67, 3190, 9334, 508, 13, 28664, 18, 529, 273, 26722, 28664, 18, 272...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2896, 67, 81, 18270, 67, 18539, 12, 2890, 16, 508, 16, 26722, 4672, 28664, 273, 490, 18270, 12, 2890, 18, 3074, 67, 3190, 9334, 508, 13, 28664, 18, 529, 273, 26722, 28664, 18, 272...
__slots__ = ["options", "dynamic_parameters"]
__slots__ = ["options", "dynamic_parameters", "n_calls"]
def write_only_if_safe(file_name, text): from libtbx.str_utils import show_string import os op = os.path if (op.exists(file_name)): if (not op.isfile(file_name)): raise RuntimeError( "Not a regular file: %s" % show_string(file_name)) stat = check_fingerprint(file_name=file_name) if (stat is None or not stat): raise Run...
a6eff680069c8f5a397712608c86c3acc22ab979 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/696/a6eff680069c8f5a397712608c86c3acc22ab979/cout.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 3700, 67, 430, 67, 4626, 12, 768, 67, 529, 16, 977, 4672, 628, 2561, 18587, 92, 18, 701, 67, 5471, 1930, 2405, 67, 1080, 1930, 1140, 1061, 273, 1140, 18, 803, 309, 261, 556...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3700, 67, 430, 67, 4626, 12, 768, 67, 529, 16, 977, 4672, 628, 2561, 18587, 92, 18, 701, 67, 5471, 1930, 2405, 67, 1080, 1930, 1140, 1061, 273, 1140, 18, 803, 309, 261, 556...
def create_nearest_terms_box(urlargs, p, f, n=5, prologue="<blockquote>", epilogue="</blockquote>"):
def create_nearest_terms_box(urlargs, p, f, t='w', n=5, prologue="<blockquote>", epilogue="</blockquote>"):
def create_nearest_terms_box(urlargs, p, f, n=5, prologue="<blockquote>", epilogue="</blockquote>"): """Return text box containing list of 'n' nearest terms above/below 'p' in the words index list for the field 'f'. Propose new searches according to `urlargs' with the new words. """ out = "" # deduce into which bibword...
535ed6a8d836745c0ddd7f1016fbe145d7c7bebd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2139/535ed6a8d836745c0ddd7f1016fbe145d7c7bebd/search_engine.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 25785, 67, 10112, 67, 2147, 12, 718, 1968, 16, 293, 16, 284, 16, 268, 2218, 91, 2187, 290, 33, 25, 16, 450, 1330, 344, 1546, 32, 2629, 6889, 2984, 16, 5529, 21947, 344, 1546...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 25785, 67, 10112, 67, 2147, 12, 718, 1968, 16, 293, 16, 284, 16, 268, 2218, 91, 2187, 290, 33, 25, 16, 450, 1330, 344, 1546, 32, 2629, 6889, 2984, 16, 5529, 21947, 344, 1546...
print "Could not open serial port %s: %s" % (ser.portstr, e)
sys.stderr.write("Could not open serial port %s: %s\n" % (ser.portstr, e))
def stop(self): """Stop copying""" if self.alive: self.alive = False self.thread_read.join()
eb345d44f6beabbef6486a85e9864003536e9fc3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10955/eb345d44f6beabbef6486a85e9864003536e9fc3/tcp_serial_redirect.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2132, 12, 2890, 4672, 3536, 4947, 8933, 8395, 309, 365, 18, 11462, 30, 365, 18, 11462, 273, 1083, 365, 18, 5930, 67, 896, 18, 5701, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2132, 12, 2890, 4672, 3536, 4947, 8933, 8395, 309, 365, 18, 11462, 30, 365, 18, 11462, 273, 1083, 365, 18, 5930, 67, 896, 18, 5701, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -...
print "__oct__:", args
def __oct__(self, *args): print "__oct__:", args return '01'
6addbd51e99eed73f715fd88f76faa1499ffcafa /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12029/6addbd51e99eed73f715fd88f76faa1499ffcafa/test_class.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 13410, 972, 12, 2890, 16, 380, 1968, 4672, 327, 296, 1611, 11, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 13410, 972, 12, 2890, 16, 380, 1968, 4672, 327, 296, 1611, 11, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if not raw_report[0] or \
if not raw_report[0] and \
def _process_raw_report(self, raw_report): "Default raw input report data handler" my_debug = False if not self.__evt_handlers or not self.is_opened(): return
899b5c42fe07befc6ccf3c977b66bc2d76359029 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11669/899b5c42fe07befc6ccf3c977b66bc2d76359029/core.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2567, 67, 1899, 67, 6006, 12, 2890, 16, 1831, 67, 6006, 4672, 315, 1868, 1831, 810, 2605, 501, 1838, 6, 3399, 67, 4148, 273, 1083, 309, 486, 365, 16186, 73, 11734, 67, 11046, 578,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2567, 67, 1899, 67, 6006, 12, 2890, 16, 1831, 67, 6006, 4672, 315, 1868, 1831, 810, 2605, 501, 1838, 6, 3399, 67, 4148, 273, 1083, 309, 486, 365, 16186, 73, 11734, 67, 11046, 578,...
def send_UTM(self): for key in ('PN', 'SL', 'Pings', 'PIDS'): val = getattr(self.channel.gamelobby, key) if val: self.sendMessage('UTM', self.channel.name, ':{0}/ {1}'.format(key, val), prefix=self.channel.users.all()[0])
def send_UTM(self): for key in ('PN', 'SL', 'Pings', 'PIDS'): val = getattr(self.channel.gamelobby, key) if val: self.sendMessage('UTM', self.channel.name, ':{0}/ {1}'.format(key, val), prefix=self.channel.users.all()[0]) ## HACK: assumes first in list is host
e76579e1f18afd0be29eb935bd6469d5f720054c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10390/e76579e1f18afd0be29eb935bd6469d5f720054c/peerchat.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 67, 1693, 49, 12, 2890, 4672, 364, 498, 316, 7707, 15124, 2187, 296, 4559, 2187, 296, 52, 899, 2187, 296, 16522, 55, 11, 4672, 1244, 273, 3869, 12, 2890, 18, 4327, 18, 75, 9925, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 67, 1693, 49, 12, 2890, 4672, 364, 498, 316, 7707, 15124, 2187, 296, 4559, 2187, 296, 52, 899, 2187, 296, 16522, 55, 11, 4672, 1244, 273, 3869, 12, 2890, 18, 4327, 18, 75, 9925, ...
return "Directory listing for %s" % request.uri
return "Directory listing for %s" % urllib.unquote(request.uri)
def wmfactory_header(self, request): return "Directory listing for %s" % request.uri
5f486b2f580aea57686744c882b43b0f4585646a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/5f486b2f580aea57686744c882b43b0f4585646a/dirlist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 18200, 6848, 67, 3374, 12, 2890, 16, 590, 4672, 327, 315, 2853, 11591, 364, 738, 87, 6, 738, 590, 18, 1650, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 18200, 6848, 67, 3374, 12, 2890, 16, 590, 4672, 327, 315, 2853, 11591, 364, 738, 87, 6, 738, 590, 18, 1650, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
tha generator names then it appears first.
the generator names then it appears first.
def put_natural_embedding_first(v): """ Helper function for embeddings() functions for number fields. INPUT: a list of embeddings of a number field OUTPUT: None. The list is altered in-place, so that, if possible, the first embedding has been switched with one of the others, so that if there is an embedding which pr...
76de006bef69d661823cf2046676bfdba0631cab /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9417/76de006bef69d661823cf2046676bfdba0631cab/number_field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1378, 67, 18757, 3766, 67, 23744, 67, 3645, 12, 90, 4672, 3536, 9705, 445, 364, 4724, 24715, 1435, 4186, 364, 1300, 1466, 18, 225, 12943, 30, 279, 666, 434, 4724, 24715, 434, 279, 1300, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1378, 67, 18757, 3766, 67, 23744, 67, 3645, 12, 90, 4672, 3536, 9705, 445, 364, 4724, 24715, 1435, 4186, 364, 1300, 1466, 18, 225, 12943, 30, 279, 666, 434, 4724, 24715, 434, 279, 1300, ...
class _sc_matrix(spmatrix):
class _cs_matrix(spmatrix):
def save(self, file_name, format = '%d %d %f\n'): try: fd = open(file_name, 'w') except Exception, e: raise e, file_name
faa3aff2efd30018dbc353dbab92d7337521e7d2 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12971/faa3aff2efd30018dbc353dbab92d7337521e7d2/sparse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 12, 2890, 16, 585, 67, 529, 16, 740, 273, 1995, 72, 738, 72, 738, 74, 64, 82, 11, 4672, 775, 30, 5194, 273, 1696, 12, 768, 67, 529, 16, 296, 91, 6134, 1335, 1185, 16, 425, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1923, 12, 2890, 16, 585, 67, 529, 16, 740, 273, 1995, 72, 738, 72, 738, 74, 64, 82, 11, 4672, 775, 30, 5194, 273, 1696, 12, 768, 67, 529, 16, 296, 91, 6134, 1335, 1185, 16, 425, ...
appscript.app(terminal_program).activate()
limit = 100 app = appscript.app(terminal_program) while limit > 0: limit -= 1 app.activate() if app.frontmost(): return
def activate_terminal(): terminal_program = os.environ.get("VIMPDBHOOK_TERMINAL_APP", "iTerm") appscript.app(terminal_program).activate()
6b2e65a461c4aae7a2049f666739afb10f3fbab6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4197/6b2e65a461c4aae7a2049f666739afb10f3fbab6/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10235, 67, 15979, 13332, 8651, 67, 12890, 273, 1140, 18, 28684, 18, 588, 2932, 58, 9883, 2290, 7995, 3141, 67, 29516, 1013, 67, 7215, 3113, 315, 77, 4065, 7923, 1800, 273, 2130, 595, 273...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10235, 67, 15979, 13332, 8651, 67, 12890, 273, 1140, 18, 28684, 18, 588, 2932, 58, 9883, 2290, 7995, 3141, 67, 29516, 1013, 67, 7215, 3113, 315, 77, 4065, 7923, 1800, 273, 2130, 595, 273...
if len(self._ms.getSchemataNames(True)) == 1: raise RuntimeError(self.translate('atse_can_not_remove_last_schema',
if len(self.atse_getSchemataNames(True)) == 1: raise SchemaEditorError(self.translate('atse_can_not_remove_last_schema',
def atse_delSchemata(self, name, RESPONSE=None): """ delete a schemata """
6ba517ab6fceaae7426ea4613c331aa7515f7856 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1807/6ba517ab6fceaae7426ea4613c331aa7515f7856/SchemaEditor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 622, 307, 67, 3771, 55, 1036, 396, 12, 2890, 16, 508, 16, 20645, 33, 7036, 4672, 3536, 1430, 279, 30140, 396, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 622, 307, 67, 3771, 55, 1036, 396, 12, 2890, 16, 508, 16, 20645, 33, 7036, 4672, 3536, 1430, 279, 30140, 396, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self._sampwidth = (_read_short(chunk) + 7) / 8
self._sampwidth = (_read_short(chunk) + 7) // 8
def _read_comm_chunk(self, chunk): self._nchannels = _read_short(chunk) self._nframes = _read_long(chunk) self._sampwidth = (_read_short(chunk) + 7) / 8 self._framerate = int(_read_float(chunk)) self._framesize = self._nchannels * self._sampwidth if self._aifc: #DEBUG: SGI's soundeditor produces a bad size :-( kludge =...
994538112c1091eacdb5eecc6f7c52b5b004007c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3187/994538112c1091eacdb5eecc6f7c52b5b004007c/aifc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 896, 67, 5702, 67, 6551, 12, 2890, 16, 2441, 4672, 365, 6315, 82, 9114, 273, 389, 896, 67, 6620, 12, 6551, 13, 365, 6315, 82, 10278, 273, 389, 896, 67, 5748, 12, 6551, 13, 365, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 896, 67, 5702, 67, 6551, 12, 2890, 16, 2441, 4672, 365, 6315, 82, 9114, 273, 389, 896, 67, 6620, 12, 6551, 13, 365, 6315, 82, 10278, 273, 389, 896, 67, 5748, 12, 6551, 13, 365, ...
self.failUnless( now <= ct <= now + ok_delta, (now, ct))
self.failUnless( now <= ct <= nowish, (now, ct))
def testFileTimes(self): if issubclass(pywintypes.TimeType, datetime.datetime): from win32timezone import GetLocalTimeZone now = datetime.datetime.now(tz=GetLocalTimeZone()) ok_delta = datetime.timedelta(seconds=1) later = now + datetime.timedelta(seconds=120) else: tick = int(time.time()) now = pywintypes.Time(tick) o...
cc4c24e2f7937be9431972ddb327c9bbbc07b4f5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/992/cc4c24e2f7937be9431972ddb327c9bbbc07b4f5/test_win32file.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 812, 10694, 12, 2890, 4672, 309, 14664, 12, 2074, 91, 474, 989, 18, 950, 559, 16, 3314, 18, 6585, 4672, 628, 5657, 1578, 12690, 1930, 968, 2042, 16760, 2037, 273, 3314, 18, 6585, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 812, 10694, 12, 2890, 4672, 309, 14664, 12, 2074, 91, 474, 989, 18, 950, 559, 16, 3314, 18, 6585, 4672, 628, 5657, 1578, 12690, 1930, 968, 2042, 16760, 2037, 273, 3314, 18, 6585, ...
filtered_obj = obj_content.obj
filtered_obj_content = obj_content
def find_entity_view(self, view_type, begin_entity=None, filter=None): """Return a new instance based on the search filter.
643dd387891f2f389168833e172871a1fc3ac75f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11290/643dd387891f2f389168833e172871a1fc3ac75f/vim25.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 1096, 67, 1945, 12, 2890, 16, 1476, 67, 723, 16, 2376, 67, 1096, 33, 7036, 16, 1034, 33, 7036, 4672, 3536, 990, 279, 394, 791, 2511, 603, 326, 1623, 1034, 18, 2, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 67, 1096, 67, 1945, 12, 2890, 16, 1476, 67, 723, 16, 2376, 67, 1096, 33, 7036, 16, 1034, 33, 7036, 4672, 3536, 990, 279, 394, 791, 2511, 603, 326, 1623, 1034, 18, 2, -100, -100...
vers_minor = string.split (self.target_version, '.')[1] inifile.write ("vers_minor=%s\n" % vers_minor)
inifile.write ("target_version=%s\n" % self.target_version)
def create_inifile (self): # Create an inifile containing data describing the installation. # This could be done without creating a real file, but # a file is (at least) useful for debugging bdist_wininst.
9a4738fdcc09d216f84309e10e81edd081110eab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/9a4738fdcc09d216f84309e10e81edd081110eab/bdist_wininst.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 267, 430, 398, 261, 2890, 4672, 468, 1788, 392, 316, 430, 398, 4191, 501, 16868, 326, 13193, 18, 468, 1220, 3377, 506, 2731, 2887, 4979, 279, 2863, 585, 16, 1496, 468, 279, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 267, 430, 398, 261, 2890, 4672, 468, 1788, 392, 316, 430, 398, 4191, 501, 16868, 326, 13193, 18, 468, 1220, 3377, 506, 2731, 2887, 4979, 279, 2863, 585, 16, 1496, 468, 279, 58...
print "Unmatched open delimiter '%s' on line %d", (symbol, lineno)
print "Unmatched open delimiter '%s' on line %d" % (symbol, lineno)
def checkit(source, opts, morecmds=[]): """Check the LaTex formatting in a sequence of lines. Opts is a mapping of options to option values if any: -m munge parenthesis and brackets -f forward slash warnings to be skipped -d delimiters only checking -v verbose listing on delimiters ...
55b90d0e44a443ac52b870ca5d4405d432ce54ee /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/55b90d0e44a443ac52b870ca5d4405d432ce54ee/texcheck.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 305, 12, 3168, 16, 1500, 16, 1898, 24680, 33, 8526, 4672, 3536, 1564, 326, 21072, 16733, 10407, 316, 279, 3102, 434, 2362, 18, 225, 25769, 353, 279, 2874, 434, 702, 358, 1456, 924, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 305, 12, 3168, 16, 1500, 16, 1898, 24680, 33, 8526, 4672, 3536, 1564, 326, 21072, 16733, 10407, 316, 279, 3102, 434, 2362, 18, 225, 25769, 353, 279, 2874, 434, 702, 358, 1456, 924, ...
sage: p = SQLQuery(DB, {'table_name':'simon', 'display_cols':'b2', 'dillhole':['b2','=', 0]})
sage: p = SQLQuery(DB, {'table_name':'simon', 'display_cols':'b2', 'expression':['b2','=', 0]})
def delete_rows(self, query): """ DOCSTRING COMMENTS: - Query must have no join statements (you can only delete from one table at a time) (This might be an interesting TODO later, ie: another function that creates multiple delete statements from a query with joins... I don't think it's really necessary at this time th...
85d02cb25b26fc015382d67ed0b0b5b5529e5568 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/85d02cb25b26fc015382d67ed0b0b5b5529e5568/database.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1430, 67, 3870, 12, 2890, 16, 843, 4672, 3536, 5467, 39, 5804, 19400, 55, 30, 300, 2770, 1297, 1240, 1158, 1233, 6317, 261, 19940, 848, 1338, 1430, 628, 1245, 1014, 622, 279, 813, 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, 1430, 67, 3870, 12, 2890, 16, 843, 4672, 3536, 5467, 39, 5804, 19400, 55, 30, 300, 2770, 1297, 1240, 1158, 1233, 6317, 261, 19940, 848, 1338, 1430, 628, 1245, 1014, 622, 279, 813, 13, ...
elif isinstance(contours, (int, Integer)): subplot.contourf(self.xy_data_array, int(contours), cmap=cmap, extent=(x0,x1,y0,y1))
def _render_on_subplot(self, subplot): """ TESTS:
193e4ecc8643b94b550be6610365db125959929a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/193e4ecc8643b94b550be6610365db125959929a/contour_plot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5902, 67, 265, 67, 24523, 12, 2890, 16, 19826, 4672, 3536, 22130, 55, 30, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5902, 67, 265, 67, 24523, 12, 2890, 16, 19826, 4672, 3536, 22130, 55, 30, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
@raises C{ProductDefinitionTroveNotFound}: @raises C{ProductDefinitionFileNotFound}:
@raises C{ProductDefinitionTroveNotFoundError}: @raises C{ProductDefinitionFileNotFoundError}:
def loadFromRepository(self, client): """ Load a C{ProductDefinition} object from a Conary repository. Prior to calling this method, the C{ProductDefinition} object should be initialized by calling C{setProductShortname}, C{setProductVersion}, C{setConaryRepositoryHostname} and C{setConaryNamespace}. @param client: A C...
ab0b75d0a64a0aee3d33fdaeaea0d7103596ea1e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7634/ab0b75d0a64a0aee3d33fdaeaea0d7103596ea1e/api1.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24935, 3305, 12, 2890, 16, 1004, 4672, 3536, 4444, 279, 385, 95, 4133, 1852, 97, 733, 628, 279, 735, 814, 3352, 18, 30326, 358, 4440, 333, 707, 16, 326, 385, 95, 4133, 1852, 97, 733, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 24935, 3305, 12, 2890, 16, 1004, 4672, 3536, 4444, 279, 385, 95, 4133, 1852, 97, 733, 628, 279, 735, 814, 3352, 18, 30326, 358, 4440, 333, 707, 16, 326, 385, 95, 4133, 1852, 97, 733, ...
"""Pings the index server with sitemap files that are new since last ping""" _INDEXER_MAP = {'google': 'http://www.google.com/webmasters/tools/ping?', 'not-specified': ''}
"""Pings the index server with sitemap files that are new since last ping""" _INDEXER_MAP = {'google': 'http://www.google.com/webmasters/tools/ping?', 'not-specified': ''}
def get(self): requested_shard_index = self.request.get('shard_index') sitemap_info = _get_static_sitemap_info() shard_size_seconds = sitemap_info.shard_size_seconds then = sitemap_info.static_sitemaps_generation_time
64c260bbfba7eb92917fa51399bfcab18972dc86 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6014/64c260bbfba7eb92917fa51399bfcab18972dc86/sitemap.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 12, 2890, 4672, 3764, 67, 22630, 67, 1615, 273, 365, 18, 2293, 18, 588, 2668, 22630, 67, 1615, 6134, 14628, 67, 1376, 273, 389, 588, 67, 3845, 67, 21517, 67, 1376, 1435, 5820, 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, 336, 12, 2890, 4672, 3764, 67, 22630, 67, 1615, 273, 365, 18, 2293, 18, 588, 2668, 22630, 67, 1615, 6134, 14628, 67, 1376, 273, 389, 588, 67, 3845, 67, 21517, 67, 1376, 1435, 5820, 67,...
if form.is_valid(): saved_persongroup = form.save() persongroup = PersonGroups.objects.get(pk=saved_persongroup.id) formset = PersonFormSet(request.POST, request.FILES, instance=persongroup) if formset.is_valid(): personformset = formset.save(commit=False) return HttpResponseRedirect('/admin/dashboard/persongroups/') e...
if formset.is_valid(): formset.save() return HttpResponseRedirect('/admin/dashboard/persongroups/') else: return render_to_response('add_person_group.html', {'form':form, 'formset':formset}) else: return render_to_response('add_person_group.html', {'form':form, 'formset':formset}) else: form = PersonGroupsForm() forms...
def add_person_group(request): PersonFormSet = inlineformset_factory(PersonGroups, Person,extra=3, exclude=('equipmentholder','relations','adopted_agricultural_practices',)) if request.method == 'POST': form = PersonGroupsForm(request.POST) formset = PersonFormSet(request.POST, request.FILES) if form.is_valid(): saved...
7759d6eb08a7e6568691e648ed314450c8afa48e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11995/7759d6eb08a7e6568691e648ed314450c8afa48e/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 12479, 67, 1655, 12, 2293, 4672, 11573, 1204, 694, 273, 6370, 687, 542, 67, 6848, 12, 8346, 3621, 16, 11573, 16, 7763, 33, 23, 16, 4433, 33, 2668, 14298, 11568, 4505, 17023, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 67, 12479, 67, 1655, 12, 2293, 4672, 11573, 1204, 694, 273, 6370, 687, 542, 67, 6848, 12, 8346, 3621, 16, 11573, 16, 7763, 33, 23, 16, 4433, 33, 2668, 14298, 11568, 4505, 17023, 1...
"r'''": single3prog, 'r"""': double3prog}
"r'''": single3prog, 'r"""': double3prog, "R'''": single3prog, 'R"""': double3prog, 'r': None, 'R': None}
def maybe(*choices): return apply(group, choices) + '?'
d11b888f9fc4baa2e0d763a0360c02bc7403a9ca /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/d11b888f9fc4baa2e0d763a0360c02bc7403a9ca/tokenize.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6944, 30857, 11937, 4672, 327, 2230, 12, 1655, 16, 7246, 13, 397, 6787, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6944, 30857, 11937, 4672, 327, 2230, 12, 1655, 16, 7246, 13, 397, 6787, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def __init__(self, fd, datasize):
def __init__(self, fd, datasize, filename):
def __init__(self, fd, datasize): self.fd = fd self.length = 0 # length of all decompressed data self.length2 = datasize self.enddata = "" # remember last 8 bytes for crc/length check self.pos = 0 self.data = "" if self.fd.read(3) != "\037\213\010": print "Not a gzipped file" sys.exit(0) # flag (1 byte), modification t...
84b434fe65169e54b0a8bb6f49614f3ac9d5d0ea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1143/84b434fe65169e54b0a8bb6f49614f3ac9d5d0ea/oldpyrpm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 5194, 16, 5386, 554, 16, 1544, 4672, 365, 18, 8313, 273, 5194, 365, 18, 2469, 273, 374, 468, 769, 434, 777, 443, 15385, 501, 365, 18, 2469, 22, 273, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5194, 16, 5386, 554, 16, 1544, 4672, 365, 18, 8313, 273, 5194, 365, 18, 2469, 273, 374, 468, 769, 434, 777, 443, 15385, 501, 365, 18, 2469, 22, 273, 53...
subscribed = False
email = formdata.get('email', None) if Subscription.email_is_subscribed(email): subscribed = True else: subscribed = False
def contact_form_listener(sender, object=None, formdata=None, form=None, **kwargs): if 'newsletter' not in formdata: subscribed = False else: subscribed = formdata['newsletter'] log.debug('Updating newletter subscription for %s to %s', object, subscribed) update_subscription(object, subscribed)
e2f3f5261f5c8ce087bcf7d4aa2acde33e94ad84 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13656/e2f3f5261f5c8ce087bcf7d4aa2acde33e94ad84/listeners.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5388, 67, 687, 67, 12757, 12, 15330, 16, 733, 33, 7036, 16, 30642, 33, 7036, 16, 646, 33, 7036, 16, 2826, 4333, 4672, 309, 296, 18443, 13449, 11, 486, 316, 30642, 30, 2699, 273, 30642,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5388, 67, 687, 67, 12757, 12, 15330, 16, 733, 33, 7036, 16, 30642, 33, 7036, 16, 646, 33, 7036, 16, 2826, 4333, 4672, 309, 296, 18443, 13449, 11, 486, 316, 30642, 30, 2699, 273, 30642,...
logging.info('--------------------') logging.info(' -- PUT ResultParent & ResultTime') logging.info('--------------------')
logging.info(' ------ AddResult, %s of %s: %s', i + 1, NUM_RECORDS, results_str)
def _GetRandomScore(test): return random.randrange(test.min_value, test.max_value + 1)
7407f8a2515d9a751b1ff4afa2c50a4d5febdb49 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5745/7407f8a2515d9a751b1ff4afa2c50a4d5febdb49/util.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 967, 8529, 7295, 12, 3813, 4672, 327, 2744, 18, 7884, 3676, 12, 3813, 18, 1154, 67, 1132, 16, 1842, 18, 1896, 67, 1132, 397, 404, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 967, 8529, 7295, 12, 3813, 4672, 327, 2744, 18, 7884, 3676, 12, 3813, 18, 1154, 67, 1132, 16, 1842, 18, 1896, 67, 1132, 397, 404, 13, 2, -100, -100, -100, -100, -100, -100, -100, ...
self.lines[i + 1].startswith(self.INDEX_SEP)):
self.lines[i + 1] == self.INDEX_SEP):
def parse_change_header(self, linenum): """ Parses part of the diff beginning at the specified line number, trying to find a diff header. """ info = {} file = None start = linenum linenum = self.parse_special_header(linenum, info) linenum = self.parse_diff_header(linenum, info)
9a863dea68d323b49a9d51ca718df7c291c075c5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1600/9a863dea68d323b49a9d51ca718df7c291c075c5/parser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 3427, 67, 3374, 12, 2890, 16, 4739, 7924, 4672, 3536, 2280, 2420, 1087, 434, 326, 3122, 8435, 622, 326, 1269, 980, 1300, 16, 8374, 358, 1104, 279, 3122, 1446, 18, 3536, 1123, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 3427, 67, 3374, 12, 2890, 16, 4739, 7924, 4672, 3536, 2280, 2420, 1087, 434, 326, 3122, 8435, 622, 326, 1269, 980, 1300, 16, 8374, 358, 1104, 279, 3122, 1446, 18, 3536, 1123, ...
sage: R = Zp(3, 10, 'lazy'); R.precision_cap() 10
def precision_cap(self): r""" Returns the precision cap for self.
4705f54d3a8cb1ec355cf5a3a8189d9c2b64e1ac /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/4705f54d3a8cb1ec355cf5a3a8189d9c2b64e1ac/local_generic.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6039, 67, 5909, 12, 2890, 4672, 436, 8395, 2860, 326, 6039, 3523, 364, 365, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6039, 67, 5909, 12, 2890, 4672, 436, 8395, 2860, 326, 6039, 3523, 364, 365, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
repl, '\n'.join(lines)).split('\n')
repl, lines)
def repl(m): try: lexer = get_lexer_by_name(m.group(1)) except ValueError: lexer = TextLexer() code = highlight(m.group(2), lexer, formatter) code = code.replace('\n\n', '\n&nbsp;\n') return '\n\n<div class="code">%s</div>\n\n' % code
c8c61d6df18f27005d52fa6ae4672c2a7c425a32 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2885/c8c61d6df18f27005d52fa6ae4672c2a7c425a32/markdown-processor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6831, 12, 81, 4672, 775, 30, 8512, 273, 336, 67, 31731, 67, 1637, 67, 529, 12, 81, 18, 1655, 12, 21, 3719, 1335, 2068, 30, 8512, 273, 3867, 13356, 1435, 981, 273, 8839, 12, 81, 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, 6831, 12, 81, 4672, 775, 30, 8512, 273, 336, 67, 31731, 67, 1637, 67, 529, 12, 81, 18, 1655, 12, 21, 3719, 1335, 2068, 30, 8512, 273, 3867, 13356, 1435, 981, 273, 8839, 12, 81, 18, ...
isofstype = self.__isofstype,
isofstype = self._isofstype,
def __write_yaboot_config(isodir, bit): cfg = self.__get_basic_yaboot_config(name = self.name, timeout = self._timeout * 100)
4a670c764a1a949c866539b8a6a60e2729747acb /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9342/4a670c764a1a949c866539b8a6a60e2729747acb/live.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2626, 67, 93, 378, 1632, 67, 1425, 12, 291, 369, 481, 16, 2831, 4672, 2776, 273, 365, 16186, 588, 67, 13240, 67, 93, 378, 1632, 67, 1425, 12, 529, 273, 365, 18, 529, 16, 2021, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2626, 67, 93, 378, 1632, 67, 1425, 12, 291, 369, 481, 16, 2831, 4672, 2776, 273, 365, 16186, 588, 67, 13240, 67, 93, 378, 1632, 67, 1425, 12, 529, 273, 365, 18, 529, 16, 2021, ...
atq = atf(atw)
atw = atf(atw)
def add(w, make_current=False, once=False): global current global current_once global add_tag w = renpy.easy.displayable(w) w = w.parameterize('displayable', [ ]) atw = w while at_stack: atf = at_stack.pop() if isinstance(atf, renpy.display.motion.Transform): atw = atf(child=atw) else: atq = atf(atw) if isinstance...
9e0932af5a8d317a1a4df5ae579bf60ee71879b5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10962/9e0932af5a8d317a1a4df5ae579bf60ee71879b5/ui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 12, 91, 16, 1221, 67, 2972, 33, 8381, 16, 3647, 33, 8381, 4672, 225, 2552, 783, 2552, 783, 67, 8243, 2552, 527, 67, 2692, 225, 341, 273, 1654, 2074, 18, 73, 15762, 18, 5417, 429...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 91, 16, 1221, 67, 2972, 33, 8381, 16, 3647, 33, 8381, 4672, 225, 2552, 783, 2552, 783, 67, 8243, 2552, 527, 67, 2692, 225, 341, 273, 1654, 2074, 18, 73, 15762, 18, 5417, 429...
basicsize = h + l + p + l + p + usize * (len(s) + 1)
basicsize = size(h + 'PPlP') + usize * (len(s) + 1)
def test_specialtypes(self): i = self.i l = self.l p = self.p h = self.headersize # dict self.check_sizeof({}, h + 3*l + 3*p + 8*(l + 2*p)) longdict = {1:1, 2:2, 3:3, 4:4, 5:5, 6:6, 7:7, 8:8} self.check_sizeof(longdict, h + 3*l + 3*p + 8*(l + 2*p) + 16*(l + 2*p)) # list self.check_sizeof([], h + l + p + l) self.check_s...
300a10ceb1febf233333c4843a55c526b4019feb /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8125/300a10ceb1febf233333c4843a55c526b4019feb/test_sys.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 9371, 2352, 12, 2890, 4672, 277, 273, 365, 18, 77, 328, 273, 365, 18, 80, 293, 273, 365, 18, 84, 366, 273, 365, 18, 2485, 554, 468, 2065, 365, 18, 1893, 67, 1467, 792, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9371, 2352, 12, 2890, 4672, 277, 273, 365, 18, 77, 328, 273, 365, 18, 80, 293, 273, 365, 18, 84, 366, 273, 365, 18, 2485, 554, 468, 2065, 365, 18, 1893, 67, 1467, 792, 23...
jack = jack.mate
realjack = jack.mate
def addPins(line): """create pins (and auto-lines) for a given line""" for jacknum, pinnum in zip(line.jacknums, line.pinnums): #find jack and perform some consistency checks try: jack = containers[-1].jacks[containers[-1].jacks.index(jacknum)] except ValueError: raise Failure("unrecognized jack: %s"%jacknum) lineend =...
4d7794e176655980479c9193da7e83bd5d0a676b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2109/4d7794e176655980479c9193da7e83bd5d0a676b/sedparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 52, 2679, 12, 1369, 4672, 3536, 2640, 23391, 261, 464, 3656, 17, 3548, 13, 364, 279, 864, 980, 8395, 364, 525, 484, 2107, 16, 7092, 2107, 316, 3144, 12, 1369, 18, 78, 484, 21180, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 52, 2679, 12, 1369, 4672, 3536, 2640, 23391, 261, 464, 3656, 17, 3548, 13, 364, 279, 864, 980, 8395, 364, 525, 484, 2107, 16, 7092, 2107, 316, 3144, 12, 1369, 18, 78, 484, 21180, ...