rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
return
return oldhandle
def waitforconn(localip, localport,function): """ <Purpose> Waits for a connection to a port. Calls function with a socket-like object if it succeeds. <Arguments> localip: The local IP to listen on localport: The local port to bind to function: The function to call. It should take five arguments: (remoteip, remote...
d9b4d7e98cbce925f111c760250aa481f24cb6d6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7263/d9b4d7e98cbce925f111c760250aa481f24cb6d6/emulcomm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2529, 1884, 4646, 12, 3729, 625, 16, 1191, 655, 16, 915, 4672, 3536, 411, 10262, 4150, 34, 678, 12351, 364, 279, 1459, 358, 279, 1756, 18, 282, 23665, 445, 598, 279, 2987, 17, 5625, 73...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1884, 4646, 12, 3729, 625, 16, 1191, 655, 16, 915, 4672, 3536, 411, 10262, 4150, 34, 678, 12351, 364, 279, 1459, 358, 279, 1756, 18, 282, 23665, 445, 598, 279, 2987, 17, 5625, 73...
for i in self.peerconns:
for i in self.np.peerconns:
def GetSharedFileList(self, msg): self.logMessage("%s %s" %(msg.__class__, vars(msg)), 4) user = ip = port = None # Get peer's username, ip and port for i in self.peerconns: if i.conn is msg.conn.conn: user = i.username if i.addr is not None: if len(i.addr) != 2: break ip, port = i.addr break if user == None: # No pee...
e99e27aa3d49efe1c5a2a4e6bf0dfd724c3b6b36 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8738/e99e27aa3d49efe1c5a2a4e6bf0dfd724c3b6b36/shares.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 7887, 26098, 12, 2890, 16, 1234, 4672, 365, 18, 1330, 1079, 27188, 87, 738, 87, 6, 8975, 3576, 16186, 1106, 972, 16, 4153, 12, 3576, 13, 3631, 1059, 13, 729, 273, 2359, 273, 1756,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 7887, 26098, 12, 2890, 16, 1234, 4672, 365, 18, 1330, 1079, 27188, 87, 738, 87, 6, 8975, 3576, 16186, 1106, 972, 16, 4153, 12, 3576, 13, 3631, 1059, 13, 729, 273, 2359, 273, 1756,...
ls = sz_ls[symbol]
ls = valence_config[symbol]
def get_nao(symbol, basis): """Number of basis functions. Parameters ========== symbol: str The chemical symbol. basis: str Basis function type. """ ls = sz_ls[symbol] nao = 0 zeta = {'s':1, 'd':2, 't':3, 'q':4} nzeta = zeta[basis[0]] is_pol = 'p' in basis for l in ls: nao += (2 * l + 1) * nzeta if is_pol: l_pol = Non...
bd131d266b77db33c77359078e66dc2350b19980 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5572/bd131d266b77db33c77359078e66dc2350b19980/siesta.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 82, 6033, 12, 7175, 16, 10853, 4672, 3536, 1854, 434, 10853, 4186, 18, 225, 7012, 422, 1432, 3273, 30, 609, 1021, 19028, 1706, 3273, 18, 10853, 30, 609, 605, 17247, 445, 618, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 82, 6033, 12, 7175, 16, 10853, 4672, 3536, 1854, 434, 10853, 4186, 18, 225, 7012, 422, 1432, 3273, 30, 609, 1021, 19028, 1706, 3273, 18, 10853, 30, 609, 605, 17247, 445, 618, ...
articles[title][self.max_articles_per_feed:] = []
articles[title] = articles[title][:self.max_articles_per_feed+1]
def parse_feeds(self, require_url=True): ''' Create list of articles from a list of feeds. @param require_url: If True skip articles that don't have a link to a HTML page with the full article contents. @return: A dictionary whose keys are feed titles and whose values are each a list of dictionaries. Each list contains...
a1389cfd57d21d89c10f768c71a7ae7e89fe6504 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9125/a1389cfd57d21d89c10f768c71a7ae7e89fe6504/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 67, 7848, 87, 12, 2890, 16, 2583, 67, 718, 33, 5510, 4672, 9163, 1788, 666, 434, 15828, 628, 279, 666, 434, 27684, 18, 632, 891, 2583, 67, 718, 30, 971, 1053, 2488, 15828, 716, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7848, 87, 12, 2890, 16, 2583, 67, 718, 33, 5510, 4672, 9163, 1788, 666, 434, 15828, 628, 279, 666, 434, 27684, 18, 632, 891, 2583, 67, 718, 30, 971, 1053, 2488, 15828, 716, ...
assy.addmol(mol) mol.moveto(opengroup) mol = None
mol = _addMolecule(mol, assy, opengroup)
def _readmmp(assy, filnam, isInsert = False): """The routine to actually reading a mmp file and save data into data structure """ #bruce 041011: added 'U' to file mode, for universal newline support. l=open(filnam,"rU").readlines() if not isInsert: assy.filename=filnam mol = None ndix={} assy.alist = [] #assy.tree = Gr...
fb6c9c504f671cac1731613196f6f8f4e6c84063 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/fb6c9c504f671cac1731613196f6f8f4e6c84063/fileIO.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 896, 81, 1291, 12, 428, 93, 16, 661, 17808, 16, 353, 4600, 273, 1083, 4672, 3536, 1986, 12245, 358, 6013, 6453, 279, 312, 1291, 585, 471, 1923, 501, 1368, 501, 3695, 3536, 468, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 81, 1291, 12, 428, 93, 16, 661, 17808, 16, 353, 4600, 273, 1083, 4672, 3536, 1986, 12245, 358, 6013, 6453, 279, 312, 1291, 585, 471, 1923, 501, 1368, 501, 3695, 3536, 468, 28...
matrix_string = '%s %d' % (matrix_string, int(matrix[j]))
matrix_string = '%s %d' % (matrix_string, nint(matrix[j]))
def convert(self, matrix):
05e86db0fbca14063d3168010cfa6ef30bb1e07e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3290/05e86db0fbca14063d3168010cfa6ef30bb1e07e/Mat2symop.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 12, 2890, 16, 3148, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1765, 12, 2890, 16, 3148, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
for i,insn in trace:
for i, insn in trace:
def make_tbs(trace): """Splits the trace into translation blocks. Splits the trace into translation blocks by creating a new TB every time the HEAD_EIP micro-op is seen. Returns a list of TB objects. """ tbs = [] current_tb = TB("START") current_tb.prev = None for i,insn in trace: if insn.op == "IFLO_TB_HEAD_EIP": if...
63b309d6f3838e4cb5c2921faf3bb1472f46245c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4260/63b309d6f3838e4cb5c2921faf3bb1472f46245c/newslice.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 88, 2038, 12, 5129, 4672, 3536, 16582, 326, 2606, 1368, 4794, 4398, 18, 225, 5385, 87, 326, 2606, 1368, 4794, 4398, 635, 4979, 279, 394, 399, 38, 3614, 813, 326, 14792, 67, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 88, 2038, 12, 5129, 4672, 3536, 16582, 326, 2606, 1368, 4794, 4398, 18, 225, 5385, 87, 326, 2606, 1368, 4794, 4398, 635, 4979, 279, 394, 399, 38, 3614, 813, 326, 14792, 67, 4...
if _debug: print "\t%s: Called Camera.getFocalPoint()" % rendererName
debugMsg("Called Camera.getFocalPoint()")
def getFocalPoint(self): """ Get the position of the focal point of the Camera
96b00238a8d5cd11876b111a3518775124c30a4c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8476/96b00238a8d5cd11876b111a3518775124c30a4c/camera.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2812, 23735, 2148, 12, 2890, 4672, 3536, 968, 326, 1754, 434, 326, 284, 23735, 1634, 434, 326, 30355, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2812, 23735, 2148, 12, 2890, 4672, 3536, 968, 326, 1754, 434, 326, 284, 23735, 1634, 434, 326, 30355, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
return list
return mylist
def getPrevYearMonth(year, month): # Get the year and month for the previous month (watch out for January) prevmonth = month - 1 prevyear = year if prevmonth == 0: prevyear = year - 1 prevmonth = 12 return (prevyear, prevmonth)
9b9e9c7284c01c0653198e2117088c3fbee716cb /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10431/9b9e9c7284c01c0653198e2117088c3fbee716cb/getMonthlyBookings.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 9958, 5593, 5445, 12, 6874, 16, 3138, 4672, 468, 968, 326, 3286, 471, 3138, 364, 326, 2416, 3138, 261, 7585, 596, 364, 23214, 24335, 13, 2807, 7496, 273, 3138, 300, 404, 2807, 6874,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9958, 5593, 5445, 12, 6874, 16, 3138, 4672, 468, 968, 326, 3286, 471, 3138, 364, 326, 2416, 3138, 261, 7585, 596, 364, 23214, 24335, 13, 2807, 7496, 273, 3138, 300, 404, 2807, 6874,...
'state': lambda self,cr,uid,ctx={}: (ctx and ctx.get('manual',False)) and 'manual' or 'base',
'state': lambda self,cr,uid,ctx=None: (ctx and ctx.get('manual',False)) and 'manual' or 'base',
def _search_osv_memory(self, cr, uid, model, name, domain, context=None): if not domain: return [] field, operator, value = domain[0] if operator not in ['=', '!=']: raise osv.except_osv('Invalid search criterions','The osv_memory field can only be compared with = and != operator.') value = bool(value) if operator == '...
4720ad1f8624b197cfd55bc8a9d2d26eb853531f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/4720ad1f8624b197cfd55bc8a9d2d26eb853531f/ir_model.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3072, 67, 538, 90, 67, 7858, 12, 2890, 16, 4422, 16, 4555, 16, 938, 16, 508, 16, 2461, 16, 819, 33, 7036, 4672, 309, 486, 2461, 30, 327, 5378, 652, 16, 3726, 16, 460, 273, 246...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3072, 67, 538, 90, 67, 7858, 12, 2890, 16, 4422, 16, 4555, 16, 938, 16, 508, 16, 2461, 16, 819, 33, 7036, 4672, 309, 486, 2461, 30, 327, 5378, 652, 16, 3726, 16, 460, 273, 246...
try: my = None my = Root(config_opts) except Error, e: print e if my: my.close() sys.exit(100) my.close() print 'Finished cleaning root'
do_clean(config_opts, init=0)
def main(): # before we go on, make sure the user is a member of the 'mock' group. member = False for item in os.getgroups(): try: grptup = grp.getgrgid(item) except KeyError, e: continue if grptup[0] == 'mock': member = True if not member: print "You need to be a member of the mock group for this to work" sys.exit(1)...
950a02e8990b7b978bb944a4c62a252273c46a64 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7328/950a02e8990b7b978bb944a4c62a252273c46a64/mock.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 468, 1865, 732, 1960, 603, 16, 1221, 3071, 326, 729, 353, 279, 3140, 434, 326, 296, 22851, 11, 1041, 18, 3140, 273, 1083, 364, 761, 316, 1140, 18, 588, 4650, 13332, 775, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 468, 1865, 732, 1960, 603, 16, 1221, 3071, 326, 729, 353, 279, 3140, 434, 326, 296, 22851, 11, 1041, 18, 3140, 273, 1083, 364, 761, 316, 1140, 18, 588, 4650, 13332, 775, 3...
self.
self.d = ''
def clear(self): """ Clear the path """ self.
f2d2d064337ebf6f343f6cb21ba78381195716ec /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2399/f2d2d064337ebf6f343f6cb21ba78381195716ec/svgfile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2424, 12, 2890, 4672, 3536, 10121, 326, 589, 3536, 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, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2424, 12, 2890, 4672, 3536, 10121, 326, 589, 3536, 365, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
elif here.get_prefix(handler_abspath) == '.': pass elif here.startswith(handler_abspath): self.in_path = True else: pass
else: prefix = here.get_prefix(handler_abspath) if prefix != '.': self.in_path = True
def __init__(self, handler, depth=None, count=None): from Folder import Folder as DatabaseFolder
c08fb43acf1d9479c6dd4fedb132f95998bed8a7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12681/c08fb43acf1d9479c6dd4fedb132f95998bed8a7/widgets.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 1838, 16, 3598, 33, 7036, 16, 1056, 33, 7036, 4672, 628, 12623, 1930, 12623, 487, 5130, 3899, 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, 1001, 2738, 972, 12, 2890, 16, 1838, 16, 3598, 33, 7036, 16, 1056, 33, 7036, 4672, 628, 12623, 1930, 12623, 487, 5130, 3899, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
if not len(ids):
if not ids:
def name_get(self, cursor, user, ids, context=None): if not len(ids): return [] res = [] for address in self.browse(cursor, user, ids, context): res.append((address.id, ", ".join(x for x in [address.name, address.partner.name, address.zip, address.city] if x))) return res
1fcf11f3a31c0d802824076979562f0f788d5c13 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9269/1fcf11f3a31c0d802824076979562f0f788d5c13/address.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 508, 67, 588, 12, 2890, 16, 3347, 16, 729, 16, 3258, 16, 819, 33, 7036, 4672, 309, 486, 3258, 30, 327, 5378, 400, 273, 5378, 364, 1758, 316, 365, 18, 25731, 12, 9216, 16, 729, 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, 508, 67, 588, 12, 2890, 16, 3347, 16, 729, 16, 3258, 16, 819, 33, 7036, 4672, 309, 486, 3258, 30, 327, 5378, 400, 273, 5378, 364, 1758, 316, 365, 18, 25731, 12, 9216, 16, 729, 16, ...
raise DistutilsPlatformError( "OK, where DO site-specific modules go on the Mac?")
return os.path.join(prefix, "Lib", "site-packages")
def get_python_lib(plat_specific=0, standard_lib=0, prefix=None): """Return the directory containing the Python library (standard or site additions). If 'plat_specific' is true, return the directory containing platform-specific modules, i.e. any module from a non-pure-Python module distribution; otherwise, return the ...
212a2e1f9f9a49a796c85493fb079a5ade010a3d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/212a2e1f9f9a49a796c85493fb079a5ade010a3d/sysconfig.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 8103, 67, 2941, 12, 412, 270, 67, 12524, 33, 20, 16, 4529, 67, 2941, 33, 20, 16, 1633, 33, 7036, 4672, 3536, 990, 326, 1867, 4191, 326, 6600, 5313, 261, 10005, 578, 2834, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 8103, 67, 2941, 12, 412, 270, 67, 12524, 33, 20, 16, 4529, 67, 2941, 33, 20, 16, 1633, 33, 7036, 4672, 3536, 990, 326, 1867, 4191, 326, 6600, 5313, 261, 10005, 578, 2834, 26...
conf.env['CONFIGDIR'] = conf.env['PREFIX'] + '/etc/'
conf.env['CONFIGDIR'] = os.path.join(conf.env['PREFIX'], 'etc')
def append_cxx_flags(vals): conf.env.append_value('CCFLAGS', vals.split()) conf.env.append_value('CXXFLAGS', vals.split())
4e3ee97298ecf6faef09e60dfd5dc87604ca1e63 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/399/4e3ee97298ecf6faef09e60dfd5dc87604ca1e63/autowaf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 714, 67, 71, 5279, 67, 7133, 12, 4524, 4672, 2195, 18, 3074, 18, 6923, 67, 1132, 2668, 6743, 17836, 2187, 5773, 18, 4939, 10756, 2195, 18, 3074, 18, 6923, 67, 1132, 2668, 39, 5619, 178...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 714, 67, 71, 5279, 67, 7133, 12, 4524, 4672, 2195, 18, 3074, 18, 6923, 67, 1132, 2668, 6743, 17836, 2187, 5773, 18, 4939, 10756, 2195, 18, 3074, 18, 6923, 67, 1132, 2668, 39, 5619, 178...
off = int(plus[1] or 1)
off = int(patch[plus+1:] or 1)
def partial_name(s): if s in self.series: return s matches = [x for x in self.series if s in x] if len(matches) > 1: self.ui.warn(_('patch name "%s" is ambiguous:\n') % s) for m in matches: self.ui.warn(' %s\n' % m) return None if matches: return matches[0] if len(self.series) > 0 and len(self.applied) > 0: if s == 'q...
8b8bd89e1ae17638b0d3e852258b8807f49a2222 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/8b8bd89e1ae17638b0d3e852258b8807f49a2222/mq.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4702, 67, 529, 12, 87, 4672, 309, 272, 316, 365, 18, 10222, 30, 327, 272, 1885, 273, 306, 92, 364, 619, 316, 365, 18, 10222, 309, 272, 316, 619, 65, 309, 562, 12, 8436, 13, 405, 40...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4702, 67, 529, 12, 87, 4672, 309, 272, 316, 365, 18, 10222, 30, 327, 272, 1885, 273, 306, 92, 364, 619, 316, 365, 18, 10222, 309, 272, 316, 619, 65, 309, 562, 12, 8436, 13, 405, 40...
def fl_get_glcanvas_xvisualinfo(ob): """ fl_get_glcanvas_xvisualinfo(ob) -> xvisualinfo class """ retval = _fl_get_glcanvas_xvisualinfo(ob)
def fl_get_glcanvas_xvisualinfo(pObject): """ fl_get_glcanvas_xvisualinfo(pObject) -> xvisualinfo class """ retval = _fl_get_glcanvas_xvisualinfo(pObject)
def fl_get_glcanvas_xvisualinfo(ob): """ fl_get_glcanvas_xvisualinfo(ob) -> xvisualinfo class """ retval = _fl_get_glcanvas_xvisualinfo(ob) return retval
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 588, 67, 7043, 15424, 67, 92, 26671, 1376, 12, 84, 921, 4672, 3536, 1183, 67, 588, 67, 7043, 15424, 67, 92, 26671, 1376, 12, 84, 921, 13, 317, 619, 26671, 1376, 667, 3536, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 588, 67, 7043, 15424, 67, 92, 26671, 1376, 12, 84, 921, 4672, 3536, 1183, 67, 588, 67, 7043, 15424, 67, 92, 26671, 1376, 12, 84, 921, 13, 317, 619, 26671, 1376, 667, 3536, ...
result['weight'] = qty * res['weight']
result['th_weight'] = qty * res['weight']
def product_id_change(self, cr, uid, ids, pricelist, product, qty=0, uom=False, qty_uos=0, uos=False, name='', partner_id=False, lang=False, update_tax=True): if partner_id: lang=self.pool.get('res.partner').read(cr, uid, [partner_id])[0]['lang'] context = {'lang':lang} if not product: return {'value': {'price_unit': 0...
6a01b2a5073dde41d3a0932a113c38a273d96f73 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7397/6a01b2a5073dde41d3a0932a113c38a273d96f73/sale.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3017, 67, 350, 67, 3427, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 846, 335, 5449, 16, 3017, 16, 26667, 33, 20, 16, 582, 362, 33, 8381, 16, 26667, 67, 89, 538, 33, 20, 16, 582, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3017, 67, 350, 67, 3427, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 846, 335, 5449, 16, 3017, 16, 26667, 33, 20, 16, 582, 362, 33, 8381, 16, 26667, 67, 89, 538, 33, 20, 16, 582, ...
title = None
if isinstance(item, Occurrence): title = eim.Inherit else: title = None
def export_item(self, item):
c6dca6734bb922b628af25795975d55b3e4461fd /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/c6dca6734bb922b628af25795975d55b3e4461fd/translator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3359, 67, 1726, 12, 2890, 16, 761, 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, 3359, 67, 1726, 12, 2890, 16, 761, 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, ...
[(0 : 1 : 0), (4 : 1 : 1), (1 : 0 : 1), (4 : 4 : 1)]
[(0 : 1 : 0), (1 : 0 : 1), (4 : 1 : 1), (4 : 4 : 1)]
def points(self): r""" All the points on this elliptic curve. The list of points is cached so subsequent calls are free.
5b3e13bc1da72ed371c878092222e7887554bcec /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/5b3e13bc1da72ed371c878092222e7887554bcec/ell_finite_field.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3143, 12, 2890, 4672, 436, 8395, 4826, 326, 3143, 603, 333, 415, 549, 21507, 8882, 18, 225, 1021, 666, 434, 3143, 353, 3472, 1427, 10815, 4097, 854, 4843, 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, 3143, 12, 2890, 4672, 436, 8395, 4826, 326, 3143, 603, 333, 415, 549, 21507, 8882, 18, 225, 1021, 666, 434, 3143, 353, 3472, 1427, 10815, 4097, 854, 4843, 18, 2, -100, -100, -100, -100, ...
sql = "update OLAC_ARCHIVE set LastHarvested=%s where Archive_ID=%s" cur.execute(sql, (now, dbi.archiveId())) sql = "delete from INTEGRITY_CHECK where Object_ID=%s and Problem_Code='HFC'" cur.execute(sql, dbi.archiveId())
mark_success(con, dbi.archiveId())
def harvest(url, con, full=False, stream_filter=None, static=False): try: dbi = DBI(con) if static: h = SrHarvester(url, dbi, full, stream_filter) else: h = Harvester(url, dbi, full, stream_filter) now = datetime.datetime.now() cur = con.cursor() if h.harvest(): h.log("harvest successful") sql = "update OLAC_ARCHIVE se...
750538a1662924126d26f70b17b8f65bd59b18ef /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8937/750538a1662924126d26f70b17b8f65bd59b18ef/harvester.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17895, 26923, 12, 718, 16, 356, 16, 1983, 33, 8381, 16, 1407, 67, 2188, 33, 7036, 16, 760, 33, 8381, 4672, 775, 30, 1319, 77, 273, 2383, 45, 12, 591, 13, 309, 760, 30, 366, 273, 34...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17895, 26923, 12, 718, 16, 356, 16, 1983, 33, 8381, 16, 1407, 67, 2188, 33, 7036, 16, 760, 33, 8381, 4672, 775, 30, 1319, 77, 273, 2383, 45, 12, 591, 13, 309, 760, 30, 366, 273, 34...
result = self.sendStoredJobStatusInfo()
result = self.sendStoredStatusInfo()
def setApplicationStatus(self, appStatus, sendFlag=True): """ Send application status information to the JobState service for jobID """
984ec44890914e33ac430c1f4fb94fb85a231931 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/984ec44890914e33ac430c1f4fb94fb85a231931/JobReport.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 3208, 1482, 12, 2890, 16, 595, 1482, 16, 1366, 4678, 33, 5510, 4672, 3536, 2479, 2521, 1267, 1779, 358, 326, 3956, 1119, 1156, 364, 28913, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 3208, 1482, 12, 2890, 16, 595, 1482, 16, 1366, 4678, 33, 5510, 4672, 3536, 2479, 2521, 1267, 1779, 358, 326, 3956, 1119, 1156, 364, 28913, 3536, 2, -100, -100, -100, -100, -100, -10...
title = "{File:%d}{Duration:12}{Bitrate:15}{VideoCodes:13}{VideoSize:11}{Pixel:14}{FPS:10}{AudioCodec:12}{SampleRate:13}{Channels:8}" % (len_filename+2) print (title.format( File="File", Duration="Duration[s]", Bitrate="Bitrate [b/s]", VideoCodes="VideoCodec", VideoSize="VideoSize", Pixel="Pixel format", FPS="FPS", Aud...
vFile = "File".ljust(len_filename+2) vDuration = "Duration[s]".ljust(12) vBitrate = "Bitrate [b/s]".ljust(15) vVideoCodec = "VideoCodec".ljust(13) vVideoSize = "VideoSize".ljust(11) vPixel = "Pixel format".ljust(14) vFPS = "FPS".ljust(10) vAudioCodec = "AudioCodec".ljust(12) vSampleRate = "Sample rate".ljust(13) vChann...
def showInfo(node): global len_filename node.play() info = "{File:%d}{Duration:12}{Bitrate:15}{VideoCodes:13}{VideoSize:11}{Pixel:14}{FPS:10}{AudioCodec:12}{SampleRate:13}{Channels:8}" % (len_filename+2) if node.hasAudio(): print (info.format( File=str(os.path.basename(node.href)), Duration=str(node.getDuration()/1000...
0b35c5758623bfb26399df7e17d60d9e9dc45ef5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7300/0b35c5758623bfb26399df7e17d60d9e9dc45ef5/avg_videoinfo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 966, 12, 2159, 4672, 2552, 562, 67, 3459, 756, 18, 1601, 1435, 225, 1123, 273, 4144, 812, 5319, 72, 8637, 5326, 30, 2138, 8637, 5775, 5141, 30, 3600, 8637, 10083, 6295, 30, 3437, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 966, 12, 2159, 4672, 2552, 562, 67, 3459, 756, 18, 1601, 1435, 225, 1123, 273, 4144, 812, 5319, 72, 8637, 5326, 30, 2138, 8637, 5775, 5141, 30, 3600, 8637, 10083, 6295, 30, 3437, ...
import traceback
def reader(lnum=[lnum]): highlight[lnum[0]] = 1 try: return linecache.getline(file, lnum[0]) finally: lnum[0] += 1
c572d2b8c8b81f1123a6458b6dac838a9268cf42 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8125/c572d2b8c8b81f1123a6458b6dac838a9268cf42/cgitb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2949, 12, 80, 2107, 22850, 80, 2107, 65, 4672, 8839, 63, 80, 2107, 63, 20, 13563, 273, 404, 775, 30, 327, 4739, 557, 807, 18, 588, 1369, 12, 768, 16, 328, 2107, 63, 20, 5717, 3095, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2949, 12, 80, 2107, 22850, 80, 2107, 65, 4672, 8839, 63, 80, 2107, 63, 20, 13563, 273, 404, 775, 30, 327, 4739, 557, 807, 18, 588, 1369, 12, 768, 16, 328, 2107, 63, 20, 5717, 3095, ...
raise SMTPSenderRefused('%s: %s' % (from_addr, resp))
raise SMTPSenderRefused(code, resp, from_addr)
def sendmail(self, from_addr, to_addrs, msg, mail_options=[], rcpt_options=[]): """This command performs an entire mail transaction.
53ecf9d0a34d0a10b05db7f05f9837e5aa9ed6d9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/53ecf9d0a34d0a10b05db7f05f9837e5aa9ed6d9/smtplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 4408, 12, 2890, 16, 628, 67, 4793, 16, 358, 67, 23305, 16, 1234, 16, 4791, 67, 2116, 22850, 6487, 4519, 337, 67, 2116, 33, 8526, 4672, 3536, 2503, 1296, 11199, 392, 7278, 4791, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1366, 4408, 12, 2890, 16, 628, 67, 4793, 16, 358, 67, 23305, 16, 1234, 16, 4791, 67, 2116, 22850, 6487, 4519, 337, 67, 2116, 33, 8526, 4672, 3536, 2503, 1296, 11199, 392, 7278, 4791, 2...
def update_status(self, queue_name, status, patch=None):
def update_status(self, queue_name, status, patch=None, results_file=None):
def update_status(self, queue_name, status, patch=None): # During unit testing, statusbot_host is None if not self.statusbot_host: return
d3f16e09167dc7ccddb701c3f6b4fae5bd8dec02 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9392/d3f16e09167dc7ccddb701c3f6b4fae5bd8dec02/statusbot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 2327, 12, 2890, 16, 2389, 67, 529, 16, 1267, 16, 4729, 33, 7036, 16, 1686, 67, 768, 33, 7036, 4672, 468, 463, 4017, 2836, 7769, 16, 1267, 4819, 67, 2564, 353, 599, 309, 486...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 2327, 12, 2890, 16, 2389, 67, 529, 16, 1267, 16, 4729, 33, 7036, 16, 1686, 67, 768, 33, 7036, 4672, 468, 463, 4017, 2836, 7769, 16, 1267, 4819, 67, 2564, 353, 599, 309, 486...
Calls listFolderContents in protected only by ACI so that
Calls listFolderContents in protected only by ACI so that
def folderlistingFolderContents(self, spec=None, contentFilter=None, suppressHiddenFiles=0 ): """ Calls listFolderContents in protected only by ACI so that folder_listing can work without the List folder contents permission, as in CMFDefault """ return self.listFolderContents(spec,contentFilter,suppressHiddenFiles)
16b617800e575a37b82739b1f1fe95edd774f1d7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1807/16b617800e575a37b82739b1f1fe95edd774f1d7/PloneLocalFolderNG.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3009, 21228, 3899, 6323, 12, 2890, 16, 857, 33, 7036, 16, 913, 1586, 33, 7036, 16, 12257, 9345, 2697, 33, 20, 262, 30, 3536, 23665, 666, 3899, 6323, 316, 4750, 1338, 635, 432, 7266, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3009, 21228, 3899, 6323, 12, 2890, 16, 857, 33, 7036, 16, 913, 1586, 33, 7036, 16, 12257, 9345, 2697, 33, 20, 262, 30, 3536, 23665, 666, 3899, 6323, 316, 4750, 1338, 635, 432, 7266, 14...
if platform.machine() == 'i386': if sys.maxint <= 2147483647: host_factory = Darwin_i386 else: host_factory = Darwin_x86_64 else: host_factory = Darwin
assert platform.machine() in ('i386', 'x86_64') if sys.maxint <= 2147483647: host_factory = Darwin_i386 else: host_factory = Darwin_x86_64
def check___thread(self): return True
c6a703f3a63d60952d754f9e2a0df3c87353acec /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6934/c6a703f3a63d60952d754f9e2a0df3c87353acec/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 31268, 5930, 12, 2890, 4672, 327, 1053, 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, 31268, 5930, 12, 2890, 4672, 327, 1053, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
_fl_set_object_callback = cfuncproto( load_so_libforms(), "fl_set_object_callback", \ FL_CALLBACKPTR, [cty.POINTER(FL_OBJECT), FL_CALLBACKPTR, cty.c_long], \ """FL_CALLBACKPTR fl_set_object_callback(FL_OBJECT * obj, \ FL_CALLBACKPTR callback, long int argument) """)
def fl_set_object_posthandler(pObject, py_post): """fl_set_object_posthandler(pObject, py_post) -> handler_pointer """ c_post = FL_HANDLEPTR(py_post) keep_cfunc_refs(c_post) keep_elem_refs(pObject) retval = _fl_set_object_posthandler(pObject, c_post) return retval
b829f09cae1b90a96369148568351f4a143ac407 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/b829f09cae1b90a96369148568351f4a143ac407/library.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 542, 67, 1612, 67, 2767, 4176, 12, 84, 921, 16, 2395, 67, 2767, 4672, 3536, 2242, 67, 542, 67, 1612, 67, 2767, 4176, 12, 84, 921, 16, 2395, 67, 2767, 13, 317, 1838, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 542, 67, 1612, 67, 2767, 4176, 12, 84, 921, 16, 2395, 67, 2767, 4672, 3536, 2242, 67, 542, 67, 1612, 67, 2767, 4176, 12, 84, 921, 16, 2395, 67, 2767, 13, 317, 1838, 67, 1...
t_start = startOfInterval(t, t_length) print timestamp_to_string(t), t_length, timestamp_to_string(t_start) assert(time.localtime(t_start)[0:6] == (2009, 3, 4, 0, 55, 0)) t = time.mktime((2009, 3, 4, 1, 57, 17, 0, 0, 0))
t_test = time.mktime((2009, 3, 4, 1, 0, 0, 0, 0, 0)) t_ans = time.mktime((2009, 3, 4, 0, 55, 0, 0, 0, 0)) t_start = startOfInterval(t_test, t_length) print timestamp_to_string(t_test), t_length, timestamp_to_string(t_start) assert(t_start == t_ans)
def _get_object(module_class, *args, **kwargs): """Given a path to a class, instantiates an instance of the class with the given args and returns it.""" # Split the path into its parts parts = module_class.split('.') # Strip off the classname: module = '.'.join(parts[:-1]) # Import the top level module mod = __import_...
e7f837b0d6bf15754108508ecefa2a293f5150e1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6433/e7f837b0d6bf15754108508ecefa2a293f5150e1/weeutil.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 1612, 12, 2978, 67, 1106, 16, 380, 1968, 16, 2826, 4333, 4672, 3536, 6083, 279, 589, 358, 279, 667, 16, 5934, 16020, 392, 791, 434, 326, 667, 598, 326, 864, 833, 471, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 1612, 12, 2978, 67, 1106, 16, 380, 1968, 16, 2826, 4333, 4672, 3536, 6083, 279, 589, 358, 279, 667, 16, 5934, 16020, 392, 791, 434, 326, 667, 598, 326, 864, 833, 471, 1...
'''
"""
def mousemove(self, window_name, object_name): ''' Mouse move on an object. @param window_name: Window name to look for, either full name, LDTP's name convention, or a Unix glob. @type window_name: string @param object_name: Object name to look for, either full name, LDTP's name convention, or a Unix glob. Or menu hei...
2840728a35706bfd7cd3e236c75533448a30fc1d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11266/2840728a35706bfd7cd3e236c75533448a30fc1d/mouse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7644, 8501, 12, 2890, 16, 2742, 67, 529, 16, 733, 67, 529, 4672, 3536, 17013, 3635, 603, 392, 733, 18, 225, 632, 891, 2742, 67, 529, 30, 6076, 508, 358, 2324, 364, 16, 3344, 1983, 50...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7644, 8501, 12, 2890, 16, 2742, 67, 529, 16, 733, 67, 529, 4672, 3536, 17013, 3635, 603, 392, 733, 18, 225, 632, 891, 2742, 67, 529, 30, 6076, 508, 358, 2324, 364, 16, 3344, 1983, 50...
"""%(cls, r, id, id, id, id, id, t)
"""%(cls, r, id, id, id, id, t)
def html_in(self, do_print=False): id = self.__id t = self.__in.rstrip()
ed42b69831306105fe28f565959b22509255a46b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9417/ed42b69831306105fe28f565959b22509255a46b/cell.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1729, 67, 267, 12, 2890, 16, 741, 67, 1188, 33, 8381, 4672, 612, 273, 365, 16186, 350, 268, 273, 365, 16186, 267, 18, 86, 6406, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1729, 67, 267, 12, 2890, 16, 741, 67, 1188, 33, 8381, 4672, 612, 273, 365, 16186, 350, 268, 273, 365, 16186, 267, 18, 86, 6406, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100,...
item="radar_linux_SuSe"
item="Hawkeye_ZX-86"
def getRandomRadar (): myint=random.randrange(0,3) item="radar_free_bsd" if (myint<=0): item="radar_windows_2k" elif (myint==1): item="radar_linux_SuSe" return item
79b55d0dbd84cca97d22a389ebb0a1b239459682 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2883/79b55d0dbd84cca97d22a389ebb0a1b239459682/ship_upgrades.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20581, 6621, 297, 1832, 30, 3399, 474, 33, 9188, 18, 7884, 3676, 12, 20, 16, 23, 13, 761, 1546, 6012, 297, 67, 9156, 67, 2038, 72, 6, 309, 261, 4811, 474, 32, 33, 20, 4672, 761, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20581, 6621, 297, 1832, 30, 3399, 474, 33, 9188, 18, 7884, 3676, 12, 20, 16, 23, 13, 761, 1546, 6012, 297, 67, 9156, 67, 2038, 72, 6, 309, 261, 4811, 474, 32, 33, 20, 4672, 761, 15...
str = 'ISA&00& &00& &ZZ&ZZ000 &ZZ&ZZ001 &030828&1128&U&00401&000010121&0&T&!+\n' str += 'GS&HC&ZZ000&ZZ001&20030828&1128&17&X&004010X098+\n' str += 'ST&837&11280001+\n' str += 'TST&AA!1!1&BB!5+\n' str += 'SE&3&11280001+\n' str += 'GE&1&17+\n' str += 'IEA&1&000010121+\n' fd = tempfile...
str1 = 'ISA&00& &00& &ZZ&ZZ000 &ZZ&ZZ001 &030828&1128&U&00401&000010121&0&T&!+\n' str1 += 'GS&HC&ZZ000&ZZ001&20030828&1128&17&X&004010X098+\n' str1 += 'ST&837&11280001+\n' str1 += 'TST&AA!1!1&BB!5+\n' str1 += 'SE&3&11280001+\n' str1 += 'GE&1&17+\n' str1 += 'IEA&1&000010121+\n' fd = t...
def test_arbitrary_delimiters(self): str = 'ISA&00& &00& &ZZ&ZZ000 &ZZ&ZZ001 &030828&1128&U&00401&000010121&0&T&!+\n' str += 'GS&HC&ZZ000&ZZ001&20030828&1128&17&X&004010X098+\n' str += 'ST&837&11280001+\n' str += 'TST&AA!1!1&BB!5+\n' str += 'SE&3&11280001+\n' str += 'GE&1&17+\n' str ...
1433c380fc3bf2e7c5ac05b385e1b69e19134b72 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11528/1433c380fc3bf2e7c5ac05b385e1b69e19134b72/x12file.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 297, 3682, 3345, 67, 3771, 1038, 414, 12, 2890, 4672, 609, 21, 273, 296, 5127, 37, 10, 713, 10, 1850, 473, 713, 10, 1850, 473, 27096, 10, 27096, 3784, 1850, 473, 27096, 10, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 297, 3682, 3345, 67, 3771, 1038, 414, 12, 2890, 4672, 609, 21, 273, 296, 5127, 37, 10, 713, 10, 1850, 473, 713, 10, 1850, 473, 27096, 10, 27096, 3784, 1850, 473, 27096, 10, ...
return np.array(forces)[self.resort]
if all: return np.array(all_forces) else: return np.array(forces)[self.resort]
def read_forces(self, atoms): file = open('OUTCAR','r') lines = file.readlines() file.close() n=0 for line in lines: if line.rfind('TOTAL-FORCE') > -1: forces=[] for i in range(len(atoms)): forces.append(np.array([float(f) for f in lines[n+2+i].split()[3:6]])) n+=1 return np.array(forces)[self.resort]
ad587d124629dabee9af7c9d2168a44c4c7c1799 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5735/ad587d124629dabee9af7c9d2168a44c4c7c1799/vasp.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 1884, 764, 12, 2890, 16, 9006, 4672, 585, 273, 1696, 2668, 5069, 39, 985, 17023, 86, 6134, 2362, 273, 585, 18, 896, 3548, 1435, 585, 18, 4412, 1435, 290, 33, 20, 364, 980, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 1884, 764, 12, 2890, 16, 9006, 4672, 585, 273, 1696, 2668, 5069, 39, 985, 17023, 86, 6134, 2362, 273, 585, 18, 896, 3548, 1435, 585, 18, 4412, 1435, 290, 33, 20, 364, 980, 3...
dict = parse_qs(qs, self.keep_blank_values, self.strict_parsing) self.list = [] for key, valuelist in dict.items(): for value in valuelist: self.list.append(MiniFieldStorage(key, value))
self.list = list = [] for key, value in parse_qsl(qs, self.keep_blank_values, self.strict_parsing): list.append(MiniFieldStorage(key, value))
def read_urlencoded(self): """Internal: read data in query string format.""" qs = self.fp.read(self.length) dict = parse_qs(qs, self.keep_blank_values, self.strict_parsing) self.list = [] for key, valuelist in dict.items(): for value in valuelist: self.list.append(MiniFieldStorage(key, value)) self.skip_lines()
4b586b9580d56feba0bd5380153e55fef13be2cf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/4b586b9580d56feba0bd5380153e55fef13be2cf/cgi.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 19690, 12, 2890, 4672, 3536, 3061, 30, 855, 501, 316, 843, 533, 740, 12123, 8719, 273, 365, 18, 7944, 18, 896, 12, 2890, 18, 2469, 13, 365, 18, 1098, 273, 666, 273, 5378, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 19690, 12, 2890, 4672, 3536, 3061, 30, 855, 501, 316, 843, 533, 740, 12123, 8719, 273, 365, 18, 7944, 18, 896, 12, 2890, 18, 2469, 13, 365, 18, 1098, 273, 666, 273, 5378, 36...
pass
pass
def mouseReleaseEvent(self, event): """Only used to detect the end of a freehand selection curve. """ buttons, modifiers = event.buttons(), event.modifiers() #print "Button released: ", but if buttons & Qt.LeftButton: if modifiers & Qt.ShiftModifier: pass#self.leftShiftUp(event) elif modifiers & Qt.ControlModifier: p...
7828cbef13f84d50298938f6ae339289db2ec006 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11221/7828cbef13f84d50298938f6ae339289db2ec006/ThumbView.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7644, 7391, 1133, 12, 2890, 16, 871, 4672, 3536, 3386, 1399, 358, 5966, 326, 679, 434, 279, 4843, 2349, 4421, 8882, 18, 3536, 9502, 16, 10429, 273, 871, 18, 16016, 9334, 871, 18, 15432, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7644, 7391, 1133, 12, 2890, 16, 871, 4672, 3536, 3386, 1399, 358, 5966, 326, 679, 434, 279, 4843, 2349, 4421, 8882, 18, 3536, 9502, 16, 10429, 273, 871, 18, 16016, 9334, 871, 18, 15432, ...
""" collect variables so that plotters can plot them all at once You can of course put it in other uses Usage: a = dataAggregator( maxRecord=0, recordSize=0) maxRecord: if more data is pushed, the old ones are discarded recordSize: size of record a.push(gen, data, idx=-1) gen: generation number data: on...
""" collect variables so that plotters can plot them all at once You can of course put it in other uses Usage: a = dataAggregator( maxRecord=0, recordSize=0) maxRecord: if more data is pushed, the old ones are discarded recordSize: size of record a.push(gen, data, idx=-1) gen: generation number data: one reco...
def endl(output=">", outputExpr="", **kwargs): parm = '' for (k,v) in kwargs.items(): parm += ' , ' + str(k) + '=' + str(v) cmd = r'''pyEval( r'"\n"' ''' + ', output="""' + output + \ '""", outputExpr="""' + outputExpr + '"""' + parm + ')' # print cmd return eval(cmd)
221d6e46bb102816794d97211e9ea83f19d74d6c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/401/221d6e46bb102816794d97211e9ea83f19d74d6c/simuUtil.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 679, 80, 12, 2844, 1546, 2984, 16, 876, 4742, 1546, 3113, 2826, 4333, 4672, 19924, 273, 875, 364, 261, 79, 16, 90, 13, 316, 1205, 18, 3319, 13332, 19924, 1011, 296, 269, 296, 397, 609,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 679, 80, 12, 2844, 1546, 2984, 16, 876, 4742, 1546, 3113, 2826, 4333, 4672, 19924, 273, 875, 364, 261, 79, 16, 90, 13, 316, 1205, 18, 3319, 13332, 19924, 1011, 296, 269, 296, 397, 609,...
genpluginproject("ppc", "_Icn", libraries=["IconServicesLib"], outputdir="::Lib:Carbon")
genpluginproject("ppc", "_Icn", libraries=["IconServicesLib"], libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon")
def genpluginproject(architecture, module, project=None, projectdir=None, sources=[], sourcedirs=[], libraries=[], extradirs=[], extraexportsymbols=[], outputdir=":::Lib:lib-dynload", libraryflags=None, stdlibraryflags=None, prefixname=None): if architecture == "all": # For the time being we generate two project files....
e1b118b3fce53d731b8a3909b130935162681de2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/e1b118b3fce53d731b8a3909b130935162681de2/genpluginprojects.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3157, 4094, 4406, 12, 991, 18123, 16, 1605, 16, 1984, 33, 7036, 16, 1984, 1214, 33, 7036, 16, 5550, 22850, 6487, 1084, 8291, 22850, 6487, 14732, 22850, 6487, 7582, 361, 10539, 22850, 6487,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3157, 4094, 4406, 12, 991, 18123, 16, 1605, 16, 1984, 33, 7036, 16, 1984, 1214, 33, 7036, 16, 5550, 22850, 6487, 1084, 8291, 22850, 6487, 14732, 22850, 6487, 7582, 361, 10539, 22850, 6487,...
"When selecting this feature, you are placed in "\ "<b>Build Atom</b> mode where you may paste copies "\ "of clipboard objects into the model where ever you click."\
"<b>Paste</b> places the user in <b>Build</b> mode where copied chunks on "\ "the clipboard can be pasted into the model by double clicking in empty space. "\ "If the current clipboard chunk has a <b><i>hotspot</i></b>, it can be bonded to "\ "another chunk by single clicking on one of the chunk's bondpoints."\ "</p>"\...
def createWhatsThis(self): ############################################## # File Toolbar ############################################## #### Open File #### fileOpenText = "<u><b>Open File</b></u> (Ctrl + O)</b></p><br> "\ "<p><img source=\"fileopen\"><br> "\ "Opens a new file."\ "</p>" QMimeSourceFactory.default...
a3e2701eac6332c617e71c2600f8a4bd8a3005b8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/a3e2701eac6332c617e71c2600f8a4bd8a3005b8/whatsthis.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 2888, 2323, 2503, 12, 2890, 4672, 225, 19709, 26487, 7, 468, 1387, 13288, 3215, 19709, 26487, 7, 225, 11849, 7, 3502, 1387, 11849, 7, 225, 585, 3678, 1528, 273, 3532, 89, 4438, 70, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2888, 2323, 2503, 12, 2890, 4672, 225, 19709, 26487, 7, 468, 1387, 13288, 3215, 19709, 26487, 7, 225, 11849, 7, 3502, 1387, 11849, 7, 225, 585, 3678, 1528, 273, 3532, 89, 4438, 70, ...
print entryMod print self.lastRun
def work(self, context, ldapEntry, modified): assert(context['test'] == 'value') assert(ldapEntry.dn == 'uid=john,ou=People,dc=example,dc=com') assert(ldapEntry.attributes.has_key('modifyTimestamp')) # Independently verify the modify time stamp entryMod = time.mktime(time.strptime(ldapEntry.attributes['modifyTimestamp'...
688bf380c482146632bb9c1cbd54c80e54e709a1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3476/688bf380c482146632bb9c1cbd54c80e54e709a1/test_plugin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1440, 12, 2890, 16, 819, 16, 8079, 1622, 16, 4358, 4672, 1815, 12, 2472, 3292, 3813, 3546, 422, 296, 1132, 6134, 1815, 12, 14394, 1622, 18, 5176, 422, 296, 1911, 33, 78, 22223, 16, 139...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1440, 12, 2890, 16, 819, 16, 8079, 1622, 16, 4358, 4672, 1815, 12, 2472, 3292, 3813, 3546, 422, 296, 1132, 6134, 1815, 12, 14394, 1622, 18, 5176, 422, 296, 1911, 33, 78, 22223, 16, 139...
if data: data = data + self._bufferedCharacter else: data = self._bufferedCharacter
data = self._bufferedCharacter + data
def readChunk(self, chunkSize=None): if chunkSize is None: chunkSize = self._defaultChunkSize
08780933775ede89af53f8d2f872ff9e1a9fd66d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4487/08780933775ede89af53f8d2f872ff9e1a9fd66d/inputstream.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 5579, 12, 2890, 16, 17791, 33, 7036, 4672, 309, 17791, 353, 599, 30, 17791, 273, 365, 6315, 1886, 26307, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 855, 5579, 12, 2890, 16, 17791, 33, 7036, 4672, 309, 17791, 353, 599, 30, 17791, 273, 365, 6315, 1886, 26307, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
rml2 = rml_parser._parse(rml_dom, objs, data, header=self.header)
rml2 = rml_parser._parse(rml_dom, objs, data, header=want_header)
def create(self, cr, uid, ids, data, context=None): logo = None if not context: context={} context = context.copy()
866cadab7bd51ff8fc1fc49960756e462cad5e23 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12853/866cadab7bd51ff8fc1fc49960756e462cad5e23/report_sxw.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 501, 16, 819, 33, 7036, 4672, 19128, 273, 599, 309, 486, 819, 30, 819, 12938, 819, 273, 819, 18, 3530, 1435, 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, 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, 752, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 501, 16, 819, 33, 7036, 4672, 19128, 273, 599, 309, 486, 819, 30, 819, 12938, 819, 273, 819, 18, 3530, 1435, 2, -100, -100, -100, -10...
val = ""
val = ''
def createTimeScale(t0, tMax, tSuspended): global data timescale = "<div class=\"t\" style=\"right:{0}%\">{1}</div>\n" output = '<div id="timescale">\n' # set scale for timeline tTotal = tMax - t0 tS = 0.1 if(tTotal <= 0): return output if(tTotal > 4): tS = 1 if(tSuspended < 0): for i in range(int(tTotal/tS)+1): pos =...
0c52bda8f6c5785b5982bc3636b627b4ccd59c3f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5327/0c52bda8f6c5785b5982bc3636b627b4ccd59c3f/analyze_suspend.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 950, 5587, 12, 88, 20, 16, 268, 2747, 16, 268, 55, 22942, 4672, 2552, 501, 1658, 31402, 273, 3532, 2892, 667, 5189, 88, 2412, 2154, 5189, 4083, 18611, 20, 97, 9, 2412, 21502, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 950, 5587, 12, 88, 20, 16, 268, 2747, 16, 268, 55, 22942, 4672, 2552, 501, 1658, 31402, 273, 3532, 2892, 667, 5189, 88, 2412, 2154, 5189, 4083, 18611, 20, 97, 9, 2412, 21502, 21, ...
if doc[0] == child:
if build.MakePublicAttributeName(doc[0]) == child:
def generate_child(self, child, dir): "Generate a single child. May force a few children to be built as we generate deps" self.generate_type = GEN_DEMAND_CHILD oldOut = sys.stdout
af00c659ee2a4e007020c7822eccdd96596358a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/992/af00c659ee2a4e007020c7822eccdd96596358a2/genpy.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 3624, 12, 2890, 16, 1151, 16, 1577, 4672, 315, 4625, 279, 2202, 1151, 18, 225, 16734, 2944, 279, 11315, 2325, 358, 506, 6650, 487, 732, 2103, 8740, 6, 365, 18, 7163, 67, 723,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 3624, 12, 2890, 16, 1151, 16, 1577, 4672, 315, 4625, 279, 2202, 1151, 18, 225, 16734, 2944, 279, 11315, 2325, 358, 506, 6650, 487, 732, 2103, 8740, 6, 365, 18, 7163, 67, 723,...
pass
pass
def run_local(self): try: cmd(self.settings["sharedir"]+"/targets/"+self.settings["target"]+"/"+self.settings["target"]+".sh run","build script failed") except CatalystError: self.unbind() raise CatalystError,"Stage build aborting due to error."
5e8de06dbed3622479791f82c34715e2209e63c2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7327/5e8de06dbed3622479791f82c34715e2209e63c2/targets.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 3729, 12, 2890, 4672, 775, 30, 1797, 12, 2890, 18, 4272, 9614, 14419, 1214, 6, 3737, 6, 19, 11358, 4898, 15, 2890, 18, 4272, 9614, 3299, 6, 3737, 6, 4898, 15, 2890, 18, 427...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3729, 12, 2890, 4672, 775, 30, 1797, 12, 2890, 18, 4272, 9614, 14419, 1214, 6, 3737, 6, 19, 11358, 4898, 15, 2890, 18, 4272, 9614, 3299, 6, 3737, 6, 4898, 15, 2890, 18, 427...
GroupsController.name_cache[ prefix[0] + group ] = temp_gid
GroupsController.name_cache[prefix[0]+group] = temp_gid
def CheckAssociatedSystemGroups(self, group, minimal=True, batch=False, auto_answer=None, force=False): """Check the system groups that a standard group need to fuction flawlessly. For example, a group "toto" need 2 system groups "resp-toto" and "guest-toto" for its ACLs. """
2c25685af98e96114695a04efeb86385220aeb9c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7650/2c25685af98e96114695a04efeb86385220aeb9c/groups.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2073, 19233, 3163, 3621, 12, 2890, 16, 1041, 16, 16745, 33, 5510, 16, 2581, 33, 8381, 16, 3656, 67, 13490, 33, 7036, 16, 2944, 33, 8381, 4672, 3536, 1564, 326, 2619, 3252, 716, 279, 45...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2073, 19233, 3163, 3621, 12, 2890, 16, 1041, 16, 16745, 33, 5510, 16, 2581, 33, 8381, 16, 3656, 67, 13490, 33, 7036, 16, 2944, 33, 8381, 4672, 3536, 1564, 326, 2619, 3252, 716, 279, 45...
else: sendchannel("Abstimmung gegen %s anberaumt. Noch %d Stimmmen nötig für Bann." % (target, int(round(len(users)*VOTEQUOTA)) - 1)) hatevotes[target] = [(user,time())]
else: sendchannel("Abstimmung gegen %s anberaumt. Noch %d \ Stimmen nötig für Bann." % \ (target, int(round(len(users) * VOTEQUOTA)) - 1)) hatevotes[target] = [(user, time())]
def checkTimeOut(votes): if votes[0][1] + TIMEOUT > time(): return votes # no votes have timed out elif len(votes) > 1: return checkTimeOut(votes[1:]) # oldest vote has timed out, continue checking else: return [] # no valid vote left
17c61548967182a27edf171b75277fa10ff63052 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14907/17c61548967182a27edf171b75277fa10ff63052/scherbengericht.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 950, 1182, 12, 27800, 4672, 309, 19588, 63, 20, 6362, 21, 65, 397, 24374, 405, 813, 13332, 327, 19588, 10792, 468, 1158, 19588, 1240, 7491, 596, 1327, 562, 12, 27800, 13, 405, 404, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 950, 1182, 12, 27800, 4672, 309, 19588, 63, 20, 6362, 21, 65, 397, 24374, 405, 813, 13332, 327, 19588, 10792, 468, 1158, 19588, 1240, 7491, 596, 1327, 562, 12, 27800, 13, 405, 404, ...
allSites = [name for name in regSites if name not in exceptionSites]
allSites = restoreOriginalCase([name for name in listToLower(regSites) if name not in listToLower(exceptionSites)], completeSiteList)
def DataTransferSumup(range_end = datetime.date.today(), range_begin = None, output = "text", header = True): if not gGrid or gGrid.lower() == 'local': try: gridDisplayName = gConfig.get("local", "grid_name") except: gridDisplayName = "" else: gridDisplayName = 'OSG' if not range_end: if not range_begin: range_end = ...
6d8a4b1e13b56fd714149dae3171a05103390c56 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/637/6d8a4b1e13b56fd714149dae3171a05103390c56/AccountingReports.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1910, 5912, 3495, 416, 12, 3676, 67, 409, 273, 3314, 18, 712, 18, 30064, 9334, 1048, 67, 10086, 273, 599, 16, 876, 273, 315, 955, 3113, 1446, 273, 1053, 4672, 225, 309, 486, 314, 6313,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1910, 5912, 3495, 416, 12, 3676, 67, 409, 273, 3314, 18, 712, 18, 30064, 9334, 1048, 67, 10086, 273, 599, 16, 876, 273, 315, 955, 3113, 1446, 273, 1053, 4672, 225, 309, 486, 314, 6313,...
now = time.time() for cookie in self: if cookie.is_expired(now): self.clear(cookie.domain, cookie.path, cookie.name) self._cookies_lock.release()
try: now = time.time() for cookie in self: if cookie.is_expired(now): self.clear(cookie.domain, cookie.path, cookie.name) finally: self._cookies_lock.release()
def clear_expired_cookies(self): """Discard all expired cookies.
7ad53bfd99e2b82b856b3e4809283230957deb42 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/7ad53bfd99e2b82b856b3e4809283230957deb42/cookielib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2424, 67, 15820, 67, 16240, 12, 2890, 4672, 3536, 14185, 777, 7708, 7237, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2424, 67, 15820, 67, 16240, 12, 2890, 4672, 3536, 14185, 777, 7708, 7237, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
self.exptime = 10 self.filter = "B" self.tolra = 1./60. self.toldec = 1./60.
def __init__ (self): ChimeraObject.__init__ (self)
465f38d63439f53dc4de381756d79da238f7ead6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/977/465f38d63439f53dc4de381756d79da238f7ead6/pointverify.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 4672, 1680, 4417, 69, 921, 16186, 2738, 972, 261, 2890, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 261, 2890, 4672, 1680, 4417, 69, 921, 16186, 2738, 972, 261, 2890, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
self.message( "Zero step value overridden to 1\n" )
def step( self, num = None ): """ step according to num, if num is not given, according to set step parameters """ if self.theRunningFlag == 1: return
ef0ac0d72b622a6dbcfbb4a91a0affde55b98851 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/ef0ac0d72b622a6dbcfbb4a91a0affde55b98851/GtkSessionMonitor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2235, 12, 365, 16, 818, 273, 599, 262, 30, 3536, 2235, 4888, 358, 818, 16, 309, 818, 353, 486, 864, 16, 4888, 358, 444, 2235, 1472, 3536, 309, 365, 18, 5787, 7051, 4678, 422, 404, 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, 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, 2235, 12, 365, 16, 818, 273, 599, 262, 30, 3536, 2235, 4888, 358, 818, 16, 309, 818, 353, 486, 864, 16, 4888, 358, 444, 2235, 1472, 3536, 309, 365, 18, 5787, 7051, 4678, 422, 404, 30...
""")
''')
def write_standard_fields(self, out, doc): """ Write HTML code containing descriptions of any standard markup fields that are defined by the given L{APIDoc} object (such as C{@author} and C{@todo} fields).
5c410b5b6e25df3bdbc6da266f7773518165cb02 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/5c410b5b6e25df3bdbc6da266f7773518165cb02/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 10005, 67, 2821, 12, 2890, 16, 596, 16, 997, 4672, 3536, 2598, 3982, 981, 4191, 15550, 434, 1281, 4529, 9813, 1466, 716, 854, 2553, 635, 326, 864, 511, 95, 2203, 734, 504, 97...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 10005, 67, 2821, 12, 2890, 16, 596, 16, 997, 4672, 3536, 2598, 3982, 981, 4191, 15550, 434, 1281, 4529, 9813, 1466, 716, 854, 2553, 635, 326, 864, 511, 95, 2203, 734, 504, 97...
if (not self.frameBuffer or not self.images[self.activeImage]): return (w0, h0) = (self.frameBuffer.width, self.frameBuffer.height)
imageID = self.mapping[self.frameNo] frameBuffer = self.frameBuffers[imageID] image = self.images[imageID] if (not frameBuffer or not image): return (w0, h0) = (frameBuffer.width, frameBuffer.height)
def zoomIn (self): if (not self.frameBuffer or not self.images[self.activeImage]): return (w0, h0) = (self.frameBuffer.width, self.frameBuffer.height) # setup the appropriate transformation self.transformation.scaleBy_ (2.0) # update the zoom factor self.frameBuffer.zoom *= 2.0 # resize the frame newSize = self.tra...
1c7ef5ca193e111645b0167b875ecd3729036ac9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2360/1c7ef5ca193e111645b0167b875ecd3729036ac9/PyImageView.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7182, 382, 261, 2890, 4672, 225, 1316, 734, 273, 365, 18, 6770, 63, 2890, 18, 3789, 2279, 65, 2623, 1892, 273, 365, 18, 3789, 13699, 63, 2730, 734, 65, 1316, 273, 365, 18, 7369, 63, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7182, 382, 261, 2890, 4672, 225, 1316, 734, 273, 365, 18, 6770, 63, 2890, 18, 3789, 2279, 65, 2623, 1892, 273, 365, 18, 3789, 13699, 63, 2730, 734, 65, 1316, 273, 365, 18, 7369, 63, ...
WHERE category='coverage' AND build=%s GROUP BY file, unit ORDER BY unit""", (build.id,))
WHERE category='coverage' AND build=%s AND step=%s GROUP BY file, unit ORDER BY unit""", (build.id, step.name))
def render_summary(self, req, config, build, step, category): assert category == 'coverage'
15629190f9a759be821647ca5123fbd37415cea6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4547/15629190f9a759be821647ca5123fbd37415cea6/summarizers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 67, 7687, 12, 2890, 16, 1111, 16, 642, 16, 1361, 16, 2235, 16, 3150, 4672, 1815, 3150, 422, 296, 16356, 11, 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, 1743, 67, 7687, 12, 2890, 16, 1111, 16, 642, 16, 1361, 16, 2235, 16, 3150, 4672, 1815, 3150, 422, 296, 16356, 11, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
file.Write(" SetGLError(GL_INVALID_VALUE);\n")
file.Write(" SetGLError(GL_INVALID_ENUM);\n")
def WriteValidationCode(self, file): file.Write(" if (!Validate%s(%s)) {\n" % (self.enum_type, self.name)) file.Write(" SetGLError(GL_INVALID_VALUE);\n") file.Write(" return parse_error::kParseNoError;\n") file.Write(" }\n")
69d80aea409f6d8a3a505edb1cfd19b1a594ea8d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9392/69d80aea409f6d8a3a505edb1cfd19b1a594ea8d/build_gles2_cmd_buffer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 4354, 1085, 12, 2890, 16, 585, 4672, 585, 18, 3067, 2932, 225, 309, 16051, 4270, 9, 87, 9275, 87, 3719, 18890, 82, 6, 738, 261, 2890, 18, 7924, 67, 723, 16, 365, 18, 529, 3719,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 4354, 1085, 12, 2890, 16, 585, 4672, 585, 18, 3067, 2932, 225, 309, 16051, 4270, 9, 87, 9275, 87, 3719, 18890, 82, 6, 738, 261, 2890, 18, 7924, 67, 723, 16, 365, 18, 529, 3719,...
inifile.write ("%s=%s\n" % (name, repr (data)[1:-1]))
lines.append ("%s=%s" % (name, repr (data)[1:-1]))
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.
34b4134b92d8ae35d7116619c46b7cf5f0d39e62 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/34b4134b92d8ae35d7116619c46b7cf5f0d39e62/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...
flags = db.DB_CREATE | db.DB_TRUNCATE
flags = db.DB_CREATE if os.path.isfile(file): os.unlink(file)
def _checkflag(flag): if flag == 'r': flags = db.DB_RDONLY elif flag == 'rw': flags = 0 elif flag == 'w': flags = db.DB_CREATE elif flag == 'c': flags = db.DB_CREATE elif flag == 'n': flags = db.DB_CREATE | db.DB_TRUNCATE else: raise error, "flags should be one of 'r', 'w', 'c' or 'n'" return flags | db.DB_THREAD
a6b3caad417c0472b611be251d623331744079a5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/a6b3caad417c0472b611be251d623331744079a5/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1893, 6420, 12, 6420, 4672, 309, 2982, 422, 296, 86, 4278, 2943, 273, 1319, 18, 2290, 67, 20403, 10857, 1327, 2982, 422, 296, 21878, 4278, 2943, 273, 374, 1327, 2982, 422, 296, 91, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1893, 6420, 12, 6420, 4672, 309, 2982, 422, 296, 86, 4278, 2943, 273, 1319, 18, 2290, 67, 20403, 10857, 1327, 2982, 422, 296, 21878, 4278, 2943, 273, 374, 1327, 2982, 422, 296, 91, ...
__kernel = aiml.Kernel() __kernel.bootstrap(learnFiles="std-startup.xml", commands="bootstrap")
_kernel = aiml.Kernel() _kernel.verbose(config["general.verbose"] == "yes") _kernel.bootstrap(learnFiles="std-startup.xml", commands="bootstrap") _kernel.setBotName(config["general.botname"])
def init(): global __kernel "Initialize the front-ends and back-ends." # Fetch the configuration info config = configFile.get() # Initialize the AIML interpreter __kernel = aiml.Kernel() __kernel.bootstrap(learnFiles="std-startup.xml", commands="bootstrap") # Handle local mode: only start the tty frontend if config['...
8ed881ac1760bd1874fc2c43b2350ed67b15284e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/13130/8ed881ac1760bd1874fc2c43b2350ed67b15284e/core.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 13332, 2552, 1001, 8111, 315, 7520, 326, 6641, 17, 5839, 471, 1473, 17, 5839, 1199, 468, 8065, 326, 1664, 1123, 642, 273, 12247, 18, 588, 1435, 225, 468, 9190, 326, 432, 45, 1495, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 13332, 2552, 1001, 8111, 315, 7520, 326, 6641, 17, 5839, 471, 1473, 17, 5839, 1199, 468, 8065, 326, 1664, 1123, 642, 273, 12247, 18, 588, 1435, 225, 468, 9190, 326, 432, 45, 1495, ...
failures.append((name, e))
failures.append((name, meth, e))
def run_tests(tm): classes = [obj for name, obj in inspect.getmembers(tm) if isinstance(obj, type)] tm.raises = raises tm.skip = skip successes = [] failures = [] skipped = [] for klass in classes: tests = [(name, meth) for name, meth in inspect.getmembers(klass()) if not name.startswith('_')] for name, meth in tes...
48a0f245c877112163faca4b3cb4ae682e985dd3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/48a0f245c877112163faca4b3cb4ae682e985dd3/_test_logic_build.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 16341, 12, 16925, 4672, 3318, 273, 306, 2603, 364, 508, 16, 1081, 316, 5334, 18, 588, 7640, 12, 16925, 13, 309, 1549, 12, 2603, 16, 618, 25887, 225, 6118, 18, 354, 6141, 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, 1086, 67, 16341, 12, 16925, 4672, 3318, 273, 306, 2603, 364, 508, 16, 1081, 316, 5334, 18, 588, 7640, 12, 16925, 13, 309, 1549, 12, 2603, 16, 618, 25887, 225, 6118, 18, 354, 6141, 273,...
if line.startswith(" line = "" if "typedefintPy_ssize_t" in line: line = "" if "__PYX_EXTERN_Cdoublepow" in line: line = "" if line.startswith("staticPyObject*__pyx_n_"): line = "" if line.startswith("static__Pyx_InternTabEntry__pyx_intern_tab"): line = "" if line.startswith("{&__pyx_n_"): line = "" if line == "{0...
if line == "Py_INCREF(__pyx_m);": line = ""
def munge_c_line(line): # # Try to compensate for changes in code generation # strategy. # # MINOR HACKs are relatively harmless since any # problems they mask will be caught due to the # C code failing to compile. # # HACKs, on the other hand, could mask real problems. # The reference files should be upd...
5ca4ac8579e11db4f7d81770ff9cfc1303f0e995 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2099/5ca4ac8579e11db4f7d81770ff9cfc1303f0e995/Testing.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 312, 25561, 67, 71, 67, 1369, 12, 1369, 4672, 468, 468, 282, 6161, 358, 1161, 773, 340, 364, 3478, 316, 981, 9377, 468, 282, 6252, 18, 468, 468, 282, 6989, 916, 670, 3649, 87, 854, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 312, 25561, 67, 71, 67, 1369, 12, 1369, 4672, 468, 468, 282, 6161, 358, 1161, 773, 340, 364, 3478, 316, 981, 9377, 468, 282, 6252, 18, 468, 468, 282, 6989, 916, 670, 3649, 87, 854, 1...
def onDeleteEventUpdateUI(self, event): event.arguments['Text'] = _(u'Delete Collection')
def onRemoveEventUpdateUI(self, event): event.arguments['Text'] = _(u'Remove Collection')
def onDeleteEventUpdateUI(self, event): event.arguments['Text'] = _(u'Delete Collection') """ this is enabled if any user item is selected in the sidebar """ event.arguments['Enable'] = (self.selectedItemToView is not None and getattr(self.selectedItemToView, 'renameable', True))
60a27eef89954655c16fcc2fd796edc41bbe0e7d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/60a27eef89954655c16fcc2fd796edc41bbe0e7d/SideBar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 3288, 1133, 1891, 5370, 12, 2890, 16, 871, 4672, 871, 18, 7099, 3292, 1528, 3546, 273, 389, 12, 89, 11, 3288, 2200, 6134, 3536, 333, 353, 3696, 309, 1281, 729, 761, 353, 3170, 316...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 3288, 1133, 1891, 5370, 12, 2890, 16, 871, 4672, 871, 18, 7099, 3292, 1528, 3546, 273, 389, 12, 89, 11, 3288, 2200, 6134, 3536, 333, 353, 3696, 309, 1281, 729, 761, 353, 3170, 316...
if index == 1: done = 1
if index == 1: break
def run_pw (command, timeout=-1, withexitstatus=0, password=''): """This is just like pexpect.run(), but adds automatic password sending. This sits in a loop and waits for either 'password' or EOF. Whenever it sees 'password' it will send the given password and then go back to waiting. When it sees EOF it will return. ...
279f29a5f4095210201b073a35f0a270f5e91698 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9386/279f29a5f4095210201b073a35f0a270f5e91698/pexpect.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 14921, 261, 3076, 16, 2021, 29711, 21, 16, 598, 8593, 2327, 33, 20, 16, 2201, 2218, 11, 4672, 3536, 2503, 353, 2537, 3007, 293, 12339, 18, 2681, 9334, 1496, 4831, 5859, 2201, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14921, 261, 3076, 16, 2021, 29711, 21, 16, 598, 8593, 2327, 33, 20, 16, 2201, 2218, 11, 4672, 3536, 2503, 353, 2537, 3007, 293, 12339, 18, 2681, 9334, 1496, 4831, 5859, 2201, ...
nsi_template = file("gwyddion.nsi.template" ,"r")
nsi_template = file(GWYDDION_NSI_TEMPLATE ,"r")
def get_uninstall_line(filename, prefix): if os.path.isdir(filename): return ' RmDir "$INSTDIR\\'+filename.replace(prefix, "", 1)+'"\n' else: return ' Delete "$INSTDIR\\'+filename.replace(prefix, "", 1)+'"\n'
2aa63f9f1b97e76527493df0969d89611cf62ad6 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6171/2aa63f9f1b97e76527493df0969d89611cf62ad6/generate-gwyddion-nsi.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 28872, 67, 1369, 12, 3459, 16, 1633, 4672, 309, 1140, 18, 803, 18, 291, 1214, 12, 3459, 4672, 327, 296, 282, 534, 81, 1621, 4662, 19784, 4537, 10471, 15, 3459, 18, 2079, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 28872, 67, 1369, 12, 3459, 16, 1633, 4672, 309, 1140, 18, 803, 18, 291, 1214, 12, 3459, 4672, 327, 296, 282, 534, 81, 1621, 4662, 19784, 4537, 10471, 15, 3459, 18, 2079, 12, ...
self.assertEqual(self.domHandle.callList[3]['name'],'changeItem') self.assertEqual(self.domHandle.callList[3]['id'],match[0])
self.assertEqual(self.domHandle.callList[3]['name'],'changeItems') self.assertEqual(self.domHandle.callList[3]['pairs'][0][0],match[0])
def testUpdate(self): (tch, handle) = fillTemplate("unittest/update",self.domHandle,'gtk-x11-MozillaBrowser','platform') text = tch.read() text = HTMLPattern.match(text).group(1) self.assert_(self.updatePattern.match(text)) #span for template inserted id = self.updatePattern.match(text).group(1) handle.initialFillIn() ...
d7309566483c297c1559fec0fdaea0edc577801d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12354/d7309566483c297c1559fec0fdaea0edc577801d/templatetest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 1891, 12, 2890, 4672, 261, 88, 343, 16, 1640, 13, 273, 3636, 2283, 2932, 4873, 3813, 19, 2725, 3113, 2890, 18, 9859, 3259, 11189, 4521, 79, 17, 92, 2499, 17, 49, 11142, 10745, 91...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1891, 12, 2890, 4672, 261, 88, 343, 16, 1640, 13, 273, 3636, 2283, 2932, 4873, 3813, 19, 2725, 3113, 2890, 18, 9859, 3259, 11189, 4521, 79, 17, 92, 2499, 17, 49, 11142, 10745, 91...
print ' %s = %s (%s)' % (k,vk,d)
self._writeln(' %s = %s (%s)' % (k,vk,d))
def _show_module_versions(self,k,v): print k[2:] K = v.keys() K.sort() for k in K: vk = v[k] try: m = recursiveImport(k,sys.path[:],1) d = getattr(m,'__version__',None)==vk and 'SAME' or 'DIFFERENT' except: m = None d = '??????unknown??????' print ' %s = %s (%s)' % (k,vk,d)
bc915edf828a5bbd246acf2f5a8aa5640a677698 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/bc915edf828a5bbd246acf2f5a8aa5640a677698/utils.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4500, 67, 2978, 67, 10169, 12, 2890, 16, 79, 16, 90, 4672, 1172, 417, 63, 22, 26894, 1475, 273, 331, 18, 2452, 1435, 1475, 18, 3804, 1435, 364, 417, 316, 1475, 30, 331, 79, 273,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 4500, 67, 2978, 67, 10169, 12, 2890, 16, 79, 16, 90, 4672, 1172, 417, 63, 22, 26894, 1475, 273, 331, 18, 2452, 1435, 1475, 18, 3804, 1435, 364, 417, 316, 1475, 30, 331, 79, 273,...
result.append(FeatureNode(gtlib.gt_genome_node_rec_ref(a.get(i))))
result.append(FeatureNode(gtlib.gt_genome_node_ref(a.get(i))))
def get_features_for_range(self, start, end, seqid): from ctypes import byref a = Array() err = Error() rng = Range(start, end) rval = gtlib.gt_feature_index_get_features_for_range(self.fi, a, \ seqid, byref(rng),\ err) if rval != 0: gterror(err) result = [] for i in range(a.size()): result.append(FeatureNode(gtlib.gt_...
c6994328b257198b8cbf9589c655448b71bf0759 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8905/c6994328b257198b8cbf9589c655448b71bf0759/feature_index.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 7139, 67, 1884, 67, 3676, 12, 2890, 16, 787, 16, 679, 16, 31583, 4672, 628, 6983, 1930, 12725, 279, 273, 1510, 1435, 393, 273, 1068, 1435, 11418, 273, 8086, 12, 1937, 16, 679,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7139, 67, 1884, 67, 3676, 12, 2890, 16, 787, 16, 679, 16, 31583, 4672, 628, 6983, 1930, 12725, 279, 273, 1510, 1435, 393, 273, 1068, 1435, 11418, 273, 8086, 12, 1937, 16, 679,...
'data': {'prefix', dirname,
'data': {'prefix': dirname,
def __init__(self, conf='sdi.conf'): # get the correct conf path dirname = os.path.dirname(sys.argv[0]) self.conffilepath = dirname +'/'+ conf
7360f206086a74880ad88ca6f253cea58169924c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/189/7360f206086a74880ad88ca6f253cea58169924c/configsdiparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2195, 2218, 87, 3211, 18, 3923, 11, 4672, 468, 336, 326, 3434, 2195, 589, 4283, 273, 1140, 18, 803, 18, 12287, 12, 9499, 18, 19485, 63, 20, 5717, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2195, 2218, 87, 3211, 18, 3923, 11, 4672, 468, 336, 326, 3434, 2195, 589, 4283, 273, 1140, 18, 803, 18, 12287, 12, 9499, 18, 19485, 63, 20, 5717, 365, ...
link = urljoin(baseurl, quote(match.group(3))) desc = match.group(4) imgMatch = HTMLLinkGrabber.imgPattern.match(desc) if imgMatch: thumb = urljoin(baseurl, quote(imgMatch.group(1)))
try: linkURL = match.group(3).encode('ascii') except UnicodeDecodeError: print "WARNING: scraped URL is non-ascii (%s)-- discarding" \ % match.group(3)
def getLinks(self,data, baseurl): self.links = [] self.lastLink = None self.inLink = False self.inObject = False self.baseurl = baseurl self.inTitle = False self.title = None self.thumbnailUrl = None
d6b5a8ca06fa3cd902e97521777ca7493ad9b10c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12354/d6b5a8ca06fa3cd902e97521777ca7493ad9b10c/feed.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 7100, 12, 2890, 16, 892, 16, 25427, 4672, 365, 18, 7135, 273, 5378, 365, 18, 2722, 2098, 273, 599, 365, 18, 267, 2098, 273, 1083, 365, 18, 267, 921, 273, 1083, 365, 18, 1969, 71...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7100, 12, 2890, 16, 892, 16, 25427, 4672, 365, 18, 7135, 273, 5378, 365, 18, 2722, 2098, 273, 599, 365, 18, 267, 2098, 273, 1083, 365, 18, 267, 921, 273, 1083, 365, 18, 1969, 71...
if items1[j] != items2[j]:
if l1.ll_getitem_fast(j) != l2.ll_getitem_fast(j):
def ll_listeq(l1, l2, eqfn): if not l1 and not l2: return True if not l1 or not l2: return False len1 = l1.ll_length() len2 = l2.ll_length() if len1 != len2: return False j = 0 items1 = l1.ll_items() items2 = l2.ll_items() while j < len1: if eqfn is None: if items1[j] != items2[j]: return False else: if not eqfn(items1...
afabe8603c579750f81fa9c16896184dfa4a53b8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/afabe8603c579750f81fa9c16896184dfa4a53b8/rlist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6579, 67, 1098, 11253, 12, 80, 21, 16, 328, 22, 16, 7555, 4293, 4672, 309, 486, 328, 21, 471, 486, 328, 22, 30, 327, 1053, 309, 486, 328, 21, 578, 486, 328, 22, 30, 327, 1083, 562,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6579, 67, 1098, 11253, 12, 80, 21, 16, 328, 22, 16, 7555, 4293, 4672, 309, 486, 328, 21, 471, 486, 328, 22, 30, 327, 1053, 309, 486, 328, 21, 578, 486, 328, 22, 30, 327, 1083, 562,...
"hp:b:rxec", ["help", "port=", "baud=", "rtscts", "xonxoff", "echo", "cr"]
"hp:b:rxecD", ["help", "port=", "baud=", "rtscts", "xonxoff", "echo", "cr", "debug"]
def usage(): sys.stderr.write("""USAGE: %s [options] Simple Terminal Programm for the serial port. options: -p, --port=PORT: port, a number, default = 0 or a device name -b, --baud=BAUD: baudrate, default 9600 -r, --rtscts: enable RTS/CTS flow control (default off) -x, --xonxoff: enable software flow control (def...
c31f8cf1780093fab7de1a8a90fbcac98d8284c6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2937/c31f8cf1780093fab7de1a8a90fbcac98d8284c6/miniterm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 13332, 2589, 18, 11241, 18, 2626, 2932, 3660, 29550, 30, 738, 87, 306, 2116, 65, 4477, 18778, 13586, 81, 364, 326, 2734, 1756, 18, 225, 702, 30, 300, 84, 16, 1493, 655, 33, 6354,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 13332, 2589, 18, 11241, 18, 2626, 2932, 3660, 29550, 30, 738, 87, 306, 2116, 65, 4477, 18778, 13586, 81, 364, 326, 2734, 1756, 18, 225, 702, 30, 300, 84, 16, 1493, 655, 33, 6354,...
if type == "StartTag":
if type in ("StartTag", "EmptyTag"):
def is_optional_start(self, tagname, previous, next): type = next and next["type"] or None if tagname in 'html': # An html element's start tag may be omitted if the first thing # inside the html element is not a space character or a comment. return type not in ("Comment", "SpaceCharacters") elif tagname == 'head': # A ...
09dc1a278f77e93eaa8e6c131fce6cbfbc135a86 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9368/09dc1a278f77e93eaa8e6c131fce6cbfbc135a86/optionaltags.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 10444, 67, 1937, 12, 2890, 16, 25586, 16, 2416, 16, 1024, 4672, 618, 273, 1024, 471, 1024, 9614, 723, 11929, 578, 599, 309, 25586, 316, 296, 2620, 4278, 468, 1922, 1729, 930, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 10444, 67, 1937, 12, 2890, 16, 25586, 16, 2416, 16, 1024, 4672, 618, 273, 1024, 471, 1024, 9614, 723, 11929, 578, 599, 309, 25586, 316, 296, 2620, 4278, 468, 1922, 1729, 930, ...
f = open('test_data/' + i)
f = open('test_data/bin_input/' + i)
def test_binary(self): for i, j in bin_samples: f = open('test_data/' + i) rec = MarcBinary(f.read()) edition_marc_bin = read_edition(rec) #print 'result:' #pprint(edition_marc_bin) #print #print 'expected:' #pprint(j) #print self.assertEqual(sorted(edition_marc_bin.keys()), sorted(j.keys())) print i for k in edition_m...
a5057da2e7eea47e32d9fad221028ec7aa29f86b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3913/a5057da2e7eea47e32d9fad221028ec7aa29f86b/test_parse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 8578, 12, 2890, 4672, 364, 277, 16, 525, 316, 4158, 67, 7319, 30, 284, 273, 1696, 2668, 3813, 67, 892, 19, 4757, 67, 2630, 2473, 397, 277, 13, 1950, 273, 490, 11828, 5905, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8578, 12, 2890, 4672, 364, 277, 16, 525, 316, 4158, 67, 7319, 30, 284, 273, 1696, 2668, 3813, 67, 892, 19, 4757, 67, 2630, 2473, 397, 277, 13, 1950, 273, 490, 11828, 5905, ...
site = insite.getSite(code = code) if site in ar: del ar[ar.index(site)] ar2 = ar2 + [site]
if code in getSite().family.langs: site = insite.getSite(code = code) if site in ar: del ar[ar.index(site)] ar2 = ar2 + [site]
def interwikiFormat(links, insite = None): """Create a suitable string encoding all interwiki links for a wikipedia page. 'links' should be a dictionary with the language names as keys, and either PageLink objects or the link-names of the pages as values. The string is formatted for inclusion in insite (defaulting to...
a6cca3acccc5b1a49a5aebc13a06bfd2110233a0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4404/a6cca3acccc5b1a49a5aebc13a06bfd2110233a0/wikipedia.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1554, 13044, 1630, 12, 7135, 16, 2763, 1137, 273, 599, 4672, 3536, 1684, 279, 10631, 533, 2688, 777, 1554, 13044, 4716, 364, 279, 21137, 1363, 18, 225, 296, 7135, 11, 1410, 506, 279, 388...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1554, 13044, 1630, 12, 7135, 16, 2763, 1137, 273, 599, 4672, 3536, 1684, 279, 10631, 533, 2688, 777, 1554, 13044, 4716, 364, 279, 21137, 1363, 18, 225, 296, 7135, 11, 1410, 506, 279, 388...
words = words + get_class_members(object.__class__)
words.extend(get_class_members(thisobject.__class__))
def attr_matches(self, text): """Compute matches when text contains a dot.
311279bc75ca8640eb928be4079866f776eb390d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8125/311279bc75ca8640eb928be4079866f776eb390d/rlcompleter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1604, 67, 8436, 12, 2890, 16, 977, 4672, 3536, 7018, 1885, 1347, 977, 1914, 279, 3928, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1604, 67, 8436, 12, 2890, 16, 977, 4672, 3536, 7018, 1885, 1347, 977, 1914, 279, 3928, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Return a list of all keywords, built-in functions and names currently defines in __main__ that match.
Return a list of all keywords, built-in functions and names currently defined in self.namespace that match.
def global_matches(self, text): """Compute matches when text is a simple name.
d18d418fb2a9d39a9807f353a7759bd968c14cf2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/d18d418fb2a9d39a9807f353a7759bd968c14cf2/rlcompleter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2552, 67, 8436, 12, 2890, 16, 977, 4672, 3536, 7018, 1885, 1347, 977, 353, 279, 4143, 508, 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...
[ 1, 1, 1, 1, 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, 2552, 67, 8436, 12, 2890, 16, 977, 4672, 3536, 7018, 1885, 1347, 977, 353, 279, 4143, 508, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
why = os.strerror(err.errno)
why = _strerror(err)
def ftp_MKD(self, line): """Create the specified directory.""" path = self.fs.translate(line)
93acc72ebc75fdf3b1931c4e1f9e2f2d830514c9 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3782/93acc72ebc75fdf3b1931c4e1f9e2f2d830514c9/ftpserver.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13487, 67, 49, 47, 40, 12, 2890, 16, 980, 4672, 3536, 1684, 326, 1269, 1867, 12123, 589, 273, 365, 18, 2556, 18, 13929, 12, 1369, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13487, 67, 49, 47, 40, 12, 2890, 16, 980, 4672, 3536, 1684, 326, 1269, 1867, 12123, 589, 273, 365, 18, 2556, 18, 13929, 12, 1369, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100,...
Note that the pattern uses match, so you need the whole filename """ match = pattern.match(line) if match: return match.group(1) else: return None
Note that the pattern uses match, so you need the whole filename """ match = pattern.match(line) if match: return match.group(1) else: return None
def re_scan(pattern, line): """ First check to see whether the pattern matches. (eg. Does it match "linux-2.6.\d.tar.bz2" ?) Then we strip out the actual trigger itself from that, and return it. (eg. return "2.6.\d") Note that the pattern uses match, so you need the whole filename """ match = pattern.match(line) if mat...
e66b9f5063d72ade1724ec2ef6d1edfee61a9065 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12268/e66b9f5063d72ade1724ec2ef6d1edfee61a9065/trigger.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 283, 67, 9871, 12, 4951, 16, 980, 4672, 3536, 5783, 866, 358, 2621, 2856, 326, 1936, 1885, 18, 261, 1332, 18, 9637, 518, 845, 315, 20132, 17, 22, 18, 26, 8403, 72, 18, 11718, 18, 252...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 283, 67, 9871, 12, 4951, 16, 980, 4672, 3536, 5783, 866, 358, 2621, 2856, 326, 1936, 1885, 18, 261, 1332, 18, 9637, 518, 845, 315, 20132, 17, 22, 18, 26, 8403, 72, 18, 11718, 18, 252...
def __init__(self, counts = {}, modules = {}): self.counts = counts.copy() self.modules = modules.copy()
def __init__(self, counts=None, calledfuncs=None, infile=None, outfile=None): self.counts = counts if self.counts is None: self.counts = {} self.counter = self.counts.copy() self.calledfuncs = calledfuncs if self.calledfuncs is None: self.calledfuncs = {} self.calledfuncs = self.calledfuncs.copy() self.infile = infile ...
def __init__(self, counts = {}, modules = {}): self.counts = counts.copy() # map (filename, lineno) to count self.modules = modules.copy() # map filenames to modules
c477681c3a8034551a1e2f52cb1b8688b955b46f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/c477681c3a8034551a1e2f52cb1b8688b955b46f/trace.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 6880, 273, 10615, 4381, 273, 2618, 4672, 365, 18, 8008, 273, 6880, 18, 3530, 1435, 565, 468, 852, 261, 3459, 16, 7586, 13, 358, 1056, 365, 18, 6400, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 6880, 273, 10615, 4381, 273, 2618, 4672, 365, 18, 8008, 273, 6880, 18, 3530, 1435, 565, 468, 852, 261, 3459, 16, 7586, 13, 358, 1056, 365, 18, 6400, 273,...
Pixmap, [cty.POINTER(FL_IMAGE), FL_WINDOW],
Pixmap, [cty.POINTER(FL_IMAGE), FL_WINDOW],
def flimage_from_pixmap(pImage, pixmap): """ flimage_from_pixmap(pImage, pixmap) -> num. """ retval = _flimage_from_pixmap(pImage, pixmap) return retval
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 2730, 67, 2080, 67, 14861, 1458, 12, 84, 2040, 16, 11871, 1458, 4672, 3536, 1183, 2730, 67, 2080, 67, 14861, 1458, 12, 84, 2040, 16, 11871, 1458, 13, 317, 818, 18, 3536, 225, 522...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 2730, 67, 2080, 67, 14861, 1458, 12, 84, 2040, 16, 11871, 1458, 4672, 3536, 1183, 2730, 67, 2080, 67, 14861, 1458, 12, 84, 2040, 16, 11871, 1458, 13, 317, 818, 18, 3536, 225, 522...
and self.same_exception_signature_as_resolved_type(other_type)
and self.same_exception_signature_as_resolved_type(other_type) \ and self.nogil == other_type.nogil def pointer_assignable_from_resolved_type(self, other_type): return self.same_c_signature_as_resolved_type(other_type) \ and self.same_exception_signature_as_resolved_type(other_type) \ and not (self.nogil and not other...
def same_as_resolved_type(self, other_type, as_cmethod = 0): return self.same_c_signature_as_resolved_type(other_type, as_cmethod) \ and self.same_exception_signature_as_resolved_type(other_type)
ab9b3aa206b1e1fca31362459f381a926cc326b7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2099/ab9b3aa206b1e1fca31362459f381a926cc326b7/PyrexTypes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1967, 67, 345, 67, 11792, 67, 723, 12, 2890, 16, 1308, 67, 723, 16, 487, 67, 71, 2039, 273, 374, 4672, 327, 365, 18, 14307, 67, 71, 67, 8195, 67, 345, 67, 11792, 67, 723, 12, 3011,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1967, 67, 345, 67, 11792, 67, 723, 12, 2890, 16, 1308, 67, 723, 16, 487, 67, 71, 2039, 273, 374, 4672, 327, 365, 18, 14307, 67, 71, 67, 8195, 67, 345, 67, 11792, 67, 723, 12, 3011,...
raise URLError(msg)
raise urllib2.URLError(msg)
def ftp_open(self, req): host = req.get_host() if not host: raise IOError, ('ftp error', 'no host given') host, port = splitport(host) if port is None: port = ftplib.FTP_PORT
910f95a098f1a90682e47d55fc5c2b6a80026f06 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7001/910f95a098f1a90682e47d55fc5c2b6a80026f06/byterange.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13487, 67, 3190, 12, 2890, 16, 1111, 4672, 1479, 273, 1111, 18, 588, 67, 2564, 1435, 309, 486, 1479, 30, 1002, 8340, 16, 7707, 11727, 555, 2187, 296, 2135, 1479, 864, 6134, 1479, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13487, 67, 3190, 12, 2890, 16, 1111, 4672, 1479, 273, 1111, 18, 588, 67, 2564, 1435, 309, 486, 1479, 30, 1002, 8340, 16, 7707, 11727, 555, 2187, 296, 2135, 1479, 864, 6134, 1479, 16, 1...
datatype = self.get_datatype(name)
datatype = self.get_record_datatype(name)
def load_state_from_ical_file(self, file): """Load state from the given ical file. """ self.reset() self.set_changed()
3e621f65f9697086bc4bb430b238d0ff6f2b55ff /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12681/3e621f65f9697086bc4bb430b238d0ff6f2b55ff/table.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1262, 67, 2019, 67, 2080, 67, 1706, 67, 768, 12, 2890, 16, 585, 4672, 3536, 2563, 919, 628, 326, 864, 277, 771, 585, 18, 3536, 365, 18, 6208, 1435, 365, 18, 542, 67, 6703, 1435, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1262, 67, 2019, 67, 2080, 67, 1706, 67, 768, 12, 2890, 16, 585, 4672, 3536, 2563, 919, 628, 326, 864, 277, 771, 585, 18, 3536, 365, 18, 6208, 1435, 365, 18, 542, 67, 6703, 1435, 2, ...
if prefix: outStr = '%s %s' % (prefix, outStr)
if prefixes: outStr = '%%s %s' % (outStr,)
def wrap(*args,**kwargs): if args: rArgs = [args[0].__class__.__name__ + ', '] else: rArgs = []
b3c75ef6790058aadf797b0280da9100f372364a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7242/b3c75ef6790058aadf797b0280da9100f372364a/PythonUtil.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2193, 30857, 1968, 16, 636, 4333, 4672, 309, 833, 30, 436, 2615, 273, 306, 1968, 63, 20, 8009, 972, 1106, 972, 16186, 529, 972, 397, 2265, 12671, 469, 30, 436, 2615, 273, 5378, 2, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2193, 30857, 1968, 16, 636, 4333, 4672, 309, 833, 30, 436, 2615, 273, 306, 1968, 63, 20, 8009, 972, 1106, 972, 16186, 529, 972, 397, 2265, 12671, 469, 30, 436, 2615, 273, 5378, 2, -100...
if (recd.type == recd.server.ca.m.TYPE_AUDIO):
if (recd.type == self.server.ca.m.TYPE_AUDIO):
def translate_path(self, path): #todo: what to return here if not returning a file or how to handle errors? urlp = urlparse.urlparse(path) urls = urlp[2] urls = posixpath.normpath(urllib.unquote(urls)) urlPath = urls.split('/') urlPath = filter(None, urlPath)
66a83c1c103d3e11c411439a29400aa4b79d7359 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6451/66a83c1c103d3e11c411439a29400aa4b79d7359/mesh.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4204, 67, 803, 12, 2890, 16, 589, 4672, 468, 9012, 30, 4121, 358, 327, 2674, 309, 486, 5785, 279, 585, 578, 3661, 358, 1640, 1334, 35, 880, 84, 273, 15185, 18, 718, 2670, 12, 803, 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, 4204, 67, 803, 12, 2890, 16, 589, 4672, 468, 9012, 30, 4121, 358, 327, 2674, 309, 486, 5785, 279, 585, 578, 3661, 358, 1640, 1334, 35, 880, 84, 273, 15185, 18, 718, 2670, 12, 803, 13...
line_total = line_total - currency_pool.compute(cr, uid, inv.currency_id.id, company_currency, inv.tax_amount)
line_total = line_total - currency_pool.compute(cr, uid, inv.currency_id.id, company_currency, inv.tax_amount, context=context_multi_currency)
def _get_payment_term_lines(term_id, amount): term_pool = self.pool.get('account.payment.term') if term_id and amount: terms = term_pool.compute(cr, uid, term_id, amount) return terms return False
02af34f56048406372b55ae89131f75f8d3688e5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/02af34f56048406372b55ae89131f75f8d3688e5/account_voucher.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 9261, 67, 6408, 67, 3548, 12, 6408, 67, 350, 16, 3844, 4672, 2481, 67, 6011, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, 9261, 18, 6408, 6134, 309, 2481, 67, 350, 471,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 9261, 67, 6408, 67, 3548, 12, 6408, 67, 350, 16, 3844, 4672, 2481, 67, 6011, 273, 365, 18, 6011, 18, 588, 2668, 4631, 18, 9261, 18, 6408, 6134, 309, 2481, 67, 350, 471,...
buff = [] if client_address in client: client[client_address][serverMac] = {"socket":socket, "to_client_buff":buff, 'to_client_buff_MAX':this_server['default_server_buff_size'], 'to_client_buff_current':this_server['default_server_buff_size'], 'server_buff_size':this_server['default_server_buff_size'], 'buff_size_lo...
if client_address not in client: client[client_address] ={}
def newconn(socket, frame): # INIT SERVER # TODO handle the -1 connbuff size option if frame.frameMesgType == INIT_SERVER: print "Connected to new server: "+frame.frameMACAddress # declare a new buffer to store data from clients to the server buff = [] # setup the main server data structure server[frame.frameMACAd...
af7b0bcb583945cc32ce1e6ac1cd2acbd599a1e9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7263/af7b0bcb583945cc32ce1e6ac1cd2acbd599a1e9/forwarder.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 394, 4646, 12, 7814, 16, 2623, 4672, 225, 468, 12584, 15061, 468, 2660, 1640, 326, 300, 21, 1487, 20664, 963, 1456, 309, 2623, 18, 3789, 49, 281, 75, 559, 422, 12584, 67, 4370, 30, 225...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 394, 4646, 12, 7814, 16, 2623, 4672, 225, 468, 12584, 15061, 468, 2660, 1640, 326, 300, 21, 1487, 20664, 963, 1456, 309, 2623, 18, 3789, 49, 281, 75, 559, 422, 12584, 67, 4370, 30, 225...
print 'subscribe window hiding'
def cancel(self, button): self.addWin.hide() print 'subscribe window hiding'
9451e391459a5473d7e32928f0343a891a9fc552 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11137/9451e391459a5473d7e32928f0343a891a9fc552/managergui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3755, 12, 2890, 16, 3568, 4672, 365, 18, 1289, 18049, 18, 11248, 1435, 1172, 296, 9174, 2742, 366, 10415, 11, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3755, 12, 2890, 16, 3568, 4672, 365, 18, 1289, 18049, 18, 11248, 1435, 1172, 296, 9174, 2742, 366, 10415, 11, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
for name in self.cookies.keys(): value,expires,domain,path,secure=self.cookies[name] cookie='set-cookie: %s=%s' % (name,value) if expires: cookie = "%s; expires=%s" % (cookie,expires) if domain: cookie = "%s; domain=%s" % (cookie,domain) if path: cookie = "%s; path=%s" % (cookie,path) if secure: cookie = cookie+'; secu...
for name, attrs in self.cookies.items(): if attrs.has_key('expires'): cookie='set-cookie: %s="%s"' % (name,attrs['value']) else: cookie=('set-cookie: %s="%s"; Version="1"' % (name,attrs['value'])) for name, v in attrs.items(): if name=='expires': cookie = '%s; Expires="%s"' % (cookie,v) elif name=='domain': cookie = '%...
def _cookie_list(self):
b848b28c6e7efd6f3933bba219f4532ebd6acb2a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/b848b28c6e7efd6f3933bba219f4532ebd6acb2a/Response.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8417, 67, 1098, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 8417, 67, 1098, 12, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
if tmp.adjusted() % 2 == 0:
if tmp.adjusted() & 1 == 0:
def sqrt(self, context=None): """Return the square root of self.
61992efc4bb413ae7a19752215eca5af09be6b6d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/61992efc4bb413ae7a19752215eca5af09be6b6d/decimal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5700, 12, 2890, 16, 819, 33, 7036, 4672, 3536, 990, 326, 8576, 1365, 434, 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,...
[ 1, 1, 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, 5700, 12, 2890, 16, 819, 33, 7036, 4672, 3536, 990, 326, 8576, 1365, 434, 365, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
self.pychecker.check()
if self.confirmSave(): self.pychecker.check()
def check_source_with_pychecker(self): """Check source with pychecker""" self.pychecker.check()
d28ff278579f062f6670d34570f1c48d68985bd3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/2464/d28ff278579f062f6670d34570f1c48d68985bd3/Child.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 67, 3168, 67, 1918, 67, 2074, 19243, 12, 2890, 4672, 3536, 1564, 1084, 598, 2395, 19243, 8395, 365, 18, 2074, 19243, 18, 1893, 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, 0, 0, 0, 0, 0, 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, 3168, 67, 1918, 67, 2074, 19243, 12, 2890, 4672, 3536, 1564, 1084, 598, 2395, 19243, 8395, 365, 18, 2074, 19243, 18, 1893, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -10...
if not(os.path.exists("/usr/bin/rpmbuild") or os.path.exists("/usr/bin/dpkg-deb")):
if not (os.path.exists("/usr/bin/rpmbuild") or os.path.exists("/usr/bin/dpkg-deb")):
def MakeInstallerLinux(): import compileall if RUNTIME: # No worries, it won't be used PYTHONV="python" else: PYTHONV=SDK["PYTHONVERSION"] PV=PYTHONV.replace("python", "") if (os.path.isdir("linuxroot")): oscmd("chmod -R 755 linuxroot") oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec") oscmd("mkdir linu...
b4ded0c5fe8af93b51de55ac7cbdd44413792565 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8543/b4ded0c5fe8af93b51de55ac7cbdd44413792565/makepanda.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4344, 18678, 19475, 13332, 1930, 4074, 454, 309, 534, 25375, 30, 468, 2631, 14591, 566, 281, 16, 518, 8462, 1404, 506, 1399, 12191, 20131, 58, 1546, 8103, 6, 469, 30, 12191, 20131, 58, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4344, 18678, 19475, 13332, 1930, 4074, 454, 309, 534, 25375, 30, 468, 2631, 14591, 566, 281, 16, 518, 8462, 1404, 506, 1399, 12191, 20131, 58, 1546, 8103, 6, 469, 30, 12191, 20131, 58, 3...
editor = os.getenv("EDITOR", "vi") displayNote(bottom, "File not found. Do you want to create this file using " + os.path.basename(editor) + " ? (y/n) ", core_state["x"] - 1) if (ord('y') == bottom.getch(0, 0)): os.spawnlp(os.P_WAIT, editor, real_path)
displayNote (bottom, "File not found. Do you want to create this file? [y/N] ", core_state["x"] - 1) response = bottom.getch (0, 0) if ord ('y') == response or ord ('Y') == response: invokeEditor (editor, real_path) curses.reset_prog_mode () curses.curs_set(1) curses.curs_set(0)
def hyltMain (meta_screen, starting_filename): """The core Hylt functionality. Contains the main input and display loops, lots of initialization, and so on. """ curses.curs_set(0) # Remember: Parameters are in the order of (y, x). meta_y, meta_x = meta_screen.getmaxyx() core_state = {"y": meta_y, "x": meta_x} # Cha...
dffc05987167f1e73f81ee3a2be7db157a9223cd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2254/dffc05987167f1e73f81ee3a2be7db157a9223cd/hylt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4855, 5618, 6376, 261, 3901, 67, 9252, 16, 5023, 67, 3459, 4672, 3536, 1986, 2922, 14881, 5618, 14176, 18, 225, 8398, 326, 2774, 810, 471, 2562, 14075, 16, 328, 6968, 434, 10313, 16, 471...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4855, 5618, 6376, 261, 3901, 67, 9252, 16, 5023, 67, 3459, 4672, 3536, 1986, 2922, 14881, 5618, 14176, 18, 225, 8398, 326, 2774, 810, 471, 2562, 14075, 16, 328, 6968, 434, 10313, 16, 471...
0x00b4: 0x0403,
0x00b4: 0x0404,
def getregentry(): return (Codec().encode,Codec().decode,StreamReader,StreamWriter)
b908ae68b729e61b4747f467f9d160ec3ec8cf6d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/b908ae68b729e61b4747f467f9d160ec3ec8cf6d/koi8_u.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 1574, 4099, 13332, 225, 327, 261, 11008, 7675, 3015, 16, 11008, 7675, 3922, 16, 31495, 16, 29421, 13, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 1574, 4099, 13332, 225, 327, 261, 11008, 7675, 3015, 16, 11008, 7675, 3922, 16, 31495, 16, 29421, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
gLogger.info("Verification of PFNs complete")
gLogger.info( "Verification of PFNs complete" )
def __verifyPfns(self,pfnSizes,storageElements): gLogger.info('Checking %s storage files exist in the catalog' % len(pfnSizes)) pfnsToRemove = [] incorrectlyRegistered = [] allDone = True # First get all the PFNs as they should be registered in the catalog for pfns in breakListIntoChunks(sortList(pfnSizes.keys()),100):...
ee83668b2f6e1bbb37e504fcdd26bdf3e730b233 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/ee83668b2f6e1bbb37e504fcdd26bdf3e730b233/SENamespaceCatalogCheckAgent.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 8705, 52, 74, 2387, 12, 2890, 16, 84, 4293, 11923, 16, 5697, 3471, 4672, 314, 3328, 18, 1376, 2668, 14294, 738, 87, 2502, 1390, 1005, 316, 326, 6222, 11, 738, 562, 12, 84, 4293, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8705, 52, 74, 2387, 12, 2890, 16, 84, 4293, 11923, 16, 5697, 3471, 4672, 314, 3328, 18, 1376, 2668, 14294, 738, 87, 2502, 1390, 1005, 316, 326, 6222, 11, 738, 562, 12, 84, 4293, ...
self.UIManager.get_widget('/mainmenu/newmenu/').show()
def set_menu_contextual_items_visible(self, show_songinfo_only=False): if show_songinfo_only: self.UIManager.get_widget('/mainmenu/songinfo_menu/').show() self.UIManager.get_widget('/mainmenu/addmenu/').hide() self.UIManager.get_widget('/mainmenu/replacemenu/').hide() self.UIManager.get_widget('/mainmenu/rmmenu/').hide...
48b67fcc80970d59270b275335d2299d4464b303 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2312/48b67fcc80970d59270b275335d2299d4464b303/sonata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 5414, 67, 2472, 1462, 67, 3319, 67, 8613, 12, 2890, 16, 2405, 67, 816, 75, 1376, 67, 3700, 33, 8381, 4672, 309, 2405, 67, 816, 75, 1376, 67, 3700, 30, 365, 18, 5370, 1318, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 5414, 67, 2472, 1462, 67, 3319, 67, 8613, 12, 2890, 16, 2405, 67, 816, 75, 1376, 67, 3700, 33, 8381, 4672, 309, 2405, 67, 816, 75, 1376, 67, 3700, 30, 365, 18, 5370, 1318, ...
def __init__(self, node, clickCallback):
def __init__(self, node, clickCallback=None):
def __init__(self, node, clickCallback): global g_Player g_Player = avg.Player.get() self.__node = node self.__setChecked(False) self.__clickCallback = clickCallback Button.__init__(self, node, self.__onClick)
e3d1a33980ea204c525bd3c895cdcf45c9b2d689 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7300/e3d1a33980ea204c525bd3c895cdcf45c9b2d689/button.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 756, 16, 4682, 2428, 33, 7036, 4672, 2552, 314, 67, 12148, 314, 67, 12148, 273, 11152, 18, 12148, 18, 588, 1435, 365, 16186, 2159, 273, 756, 365, 16186, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 756, 16, 4682, 2428, 33, 7036, 4672, 2552, 314, 67, 12148, 314, 67, 12148, 273, 11152, 18, 12148, 18, 588, 1435, 365, 16186, 2159, 273, 756, 365, 16186, ...
Get the main wikipage template without evaluating. Like the below. Should it be wikipage ? Or would that be inconsistent with the template-evaluating UI methods ? """ return self.getSkinTemplate('wikipage')
Get the standard wikipage template, unevaluated, for macro access. This will always return the standard skin's wikipage as zwiki_plone's doesn't have the macros. Provides macro aliases for backwards compatibility. """ standard_wikipage = DEFAULT_TEMPLATES['wikipage'].__of__(self) if self.inCMF(): template = standard_w...
def wikipage_template(self, REQUEST=None): """ Get the main wikipage template without evaluating.
eca196db28d4fc210eb4d268c41dba73dd1882f3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5225/eca196db28d4fc210eb4d268c41dba73dd1882f3/UI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 341, 1766, 625, 410, 67, 3202, 12, 2890, 16, 12492, 33, 7036, 4672, 3536, 968, 326, 2774, 341, 1766, 625, 410, 1542, 2887, 26704, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 341, 1766, 625, 410, 67, 3202, 12, 2890, 16, 12492, 33, 7036, 4672, 3536, 968, 326, 2774, 341, 1766, 625, 410, 1542, 2887, 26704, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
def getEntryForObject(self, documentId, default=None):
def getEntryForObject(self, documentId, default=MV):
def getEntryForObject(self, documentId, default=None): """Takes a document ID and returns all the information we have on that specific object.""" if default is None: return self._unindex.get(documentId, default) else: return self._unindex.get(documentId)
9563f2bcbaf222ffb87d614b61d2a1f5acaab1f9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/9563f2bcbaf222ffb87d614b61d2a1f5acaab1f9/UnIndex.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15428, 1290, 921, 12, 2890, 16, 28573, 16, 805, 33, 49, 58, 4672, 3536, 11524, 279, 1668, 1599, 471, 1135, 777, 326, 1779, 732, 1240, 603, 716, 2923, 733, 12123, 309, 805, 353, 599, 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, 15428, 1290, 921, 12, 2890, 16, 28573, 16, 805, 33, 49, 58, 4672, 3536, 11524, 279, 1668, 1599, 471, 1135, 777, 326, 1779, 732, 1240, 603, 716, 2923, 733, 12123, 309, 805, 353, 599, 30...