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 curses.tparm(curses.tigetstr("setf"), 2)
return curses.tparm(SETF, 2)
def GetColor(color = None): if not HAVE_COLORS: return "" if color != None: color = color.lower() if (color == "blue"): return curses.tparm(curses.tigetstr("setf"), 1) elif (color == "green"): return curses.tparm(curses.tigetstr("setf"), 2) elif (color == "cyan"): return curses.tparm(curses.tigetstr("setf"), 3) elif (c...
dc98a47cce179ee845b39ee597207fed290ca2b0 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7242/dc98a47cce179ee845b39ee597207fed290ca2b0/makepandacore.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 2957, 12, 3266, 273, 599, 4672, 309, 486, 21926, 3412, 67, 10989, 55, 30, 327, 1408, 309, 2036, 480, 599, 30, 2036, 273, 2036, 18, 8167, 1435, 309, 261, 3266, 422, 315, 14081, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 2957, 12, 3266, 273, 599, 4672, 309, 486, 21926, 3412, 67, 10989, 55, 30, 327, 1408, 309, 2036, 480, 599, 30, 2036, 273, 2036, 18, 8167, 1435, 309, 261, 3266, 422, 315, 14081, 6, ...
q0.append('%s:(%s)'% (searchfield, v))
if type(searchfield) == str: q0.append('%s:(%s)'% (searchfield, v)) elif type(searchfield) == list: q0.append('(%s)'% \ ' OR '.join(('%s:(%s)'%(s,v)) for s in searchfield))
def POST(self): i = web.input(wtitle='', wauthor='', wtopic='', wisbn='', wpublisher='', wdescription='', psort_order='', pfulltext='', ftokens=[], q='', ) results = [] qresults = web.storage(begin=0, total_results=0) facets = [] errortext = None
68ce85c697d065a1f712ca5a13670a5844d9a571 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3913/68ce85c697d065a1f712ca5a13670a5844d9a571/code.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5485, 12, 2890, 4672, 277, 273, 3311, 18, 2630, 12, 91, 2649, 2218, 2187, 341, 4161, 2218, 2187, 341, 10476, 2218, 2187, 341, 291, 13392, 2218, 2187, 6357, 2394, 264, 2218, 2187, 341, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 5485, 12, 2890, 4672, 277, 273, 3311, 18, 2630, 12, 91, 2649, 2218, 2187, 341, 4161, 2218, 2187, 341, 10476, 2218, 2187, 341, 291, 13392, 2218, 2187, 6357, 2394, 264, 2218, 2187, 341, 33...
SEname=jobreport.siteDetails['se-name'] logging.debug("site SEname %s"%SEname)
def handleJobReport(self, jobReportLocation): """ _handleJobReport_
afc6f80bc9a4a01aad177d4ca8d0f14e4fdeb563 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8887/afc6f80bc9a4a01aad177d4ca8d0f14e4fdeb563/DBSComponent.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 2278, 4820, 12, 2890, 16, 1719, 4820, 2735, 4672, 3536, 389, 4110, 2278, 4820, 67, 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, 1640, 2278, 4820, 12, 2890, 16, 1719, 4820, 2735, 4672, 3536, 389, 4110, 2278, 4820, 67, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
return (int(status), text)
return (int(status), "\n".join(text))
def _read_reply(self): """Reads a (possibly multi-line) response from the server. Returns a tuple containing (code, text)""" text = "" while True: line = self._fd.readline().rstrip() if not line: raise RuntimeError("Protocol error, empty line received")
a69ac806cad0f7a43e2c9d874af69a8ed76054e7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8495/a69ac806cad0f7a43e2c9d874af69a8ed76054e7/protocol.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 896, 67, 10629, 12, 2890, 4672, 3536, 7483, 279, 261, 917, 8781, 3309, 17, 1369, 13, 766, 628, 326, 1438, 18, 2860, 279, 3193, 4191, 261, 710, 16, 977, 15574, 977, 273, 1408, 1323...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 896, 67, 10629, 12, 2890, 4672, 3536, 7483, 279, 261, 917, 8781, 3309, 17, 1369, 13, 766, 628, 326, 1438, 18, 2860, 279, 3193, 4191, 261, 710, 16, 977, 15574, 977, 273, 1408, 1323...
options.modes = [ options.mode ]
options.modes = [options.mode]
def main(options): """ >>> options = parseOptions() >>> options.dryrun = True >>> options.verbose = True >>> main(options) False Try and run a test that does not exist >>> options.single = 'TestFoo.py' >>> main(options) Test(s) not found False Try different single tests single unit test: >>> options.single = 'Tes...
134ce2a6ff32b988db479ade6fcf70a08aac23f5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9228/134ce2a6ff32b988db479ade6fcf70a08aac23f5/rt.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 12, 2116, 4672, 3536, 4080, 702, 273, 1109, 1320, 1435, 4080, 702, 18, 25011, 2681, 225, 273, 1053, 4080, 702, 18, 11369, 273, 1053, 4080, 2774, 12, 2116, 13, 1083, 225, 6161, 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, 2774, 12, 2116, 4672, 3536, 4080, 702, 273, 1109, 1320, 1435, 4080, 702, 18, 25011, 2681, 225, 273, 1053, 4080, 702, 18, 11369, 273, 1053, 4080, 2774, 12, 2116, 13, 1083, 225, 6161, 471,...
a1,a2,a3 = ai[:3]
pi = RR.pi()
def elliptic_logarithm(self, embedding=None, precision=100, algorithm='pari'): """ Returns the elliptic logarithm of this elliptic curve point.
4af7cab0ea14839a0f0075ec0490074db7cd7fb4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/4af7cab0ea14839a0f0075ec0490074db7cd7fb4/ell_point.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 415, 549, 21507, 67, 1330, 31249, 12, 2890, 16, 15853, 33, 7036, 16, 6039, 33, 6625, 16, 4886, 2218, 1065, 77, 11, 4672, 3536, 2860, 326, 415, 549, 21507, 613, 31249, 434, 333, 415, 54...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 415, 549, 21507, 67, 1330, 31249, 12, 2890, 16, 15853, 33, 7036, 16, 6039, 33, 6625, 16, 4886, 2218, 1065, 77, 11, 4672, 3536, 2860, 326, 415, 549, 21507, 613, 31249, 434, 333, 415, 54...
self._stop = False
self._stop_server = False
def __init__(self, request_handler): threading.Thread.__init__(self) self._stop = False self.ready = threading.Event() request_handler.protocol_version = "HTTP/1.0" self.httpd = LoopbackHttpServer(('127.0.0.1', 0), request_handler) #print "Serving HTTP on %s port %s" % (self.httpd.server_name, # ...
4566c71e0ea13acd519b732eda3cf9d70d3a62ca /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/4566c71e0ea13acd519b732eda3cf9d70d3a62ca/test_urllib2_localnet.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 590, 67, 4176, 4672, 17254, 18, 3830, 16186, 2738, 972, 12, 2890, 13, 365, 6315, 5681, 67, 3567, 273, 1083, 365, 18, 1672, 273, 17254, 18, 1133, 1435, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 590, 67, 4176, 4672, 17254, 18, 3830, 16186, 2738, 972, 12, 2890, 13, 365, 6315, 5681, 67, 3567, 273, 1083, 365, 18, 1672, 273, 17254, 18, 1133, 1435, 59...
<button name="%s" string="send_email" type="action" icon="gtk-apply" context="{'user_id':%s, 'user_type':'existing', 'share_url': user%s_url}"/> """%(user.id, user.id, user.id, send_email_act_id, user.id, user.id)
<button name="do_send_email" string="Send Email" type="object" icon="gtk-apply" context="{'user_id':%s, 'user_type':'existing', 'share_url': user%s_url, 'share_model': %s, 'share_rec_id': %s }"/> """%(user.id, user.id, user.id, user.id, share_model, share_rec_id)
def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False,submenu=False): result = super(share_result, self).fields_view_get(cr, uid, view_id, view_type, context, toolbar,submenu) user_obj = self.pool.get('res.users') data_obj = self.pool.get('ir.model.data') existing_user_ids = con...
8166cedceb0edc65ee8718fcb28479e1c65e4a60 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/8166cedceb0edc65ee8718fcb28479e1c65e4a60/wizard_share.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1466, 67, 1945, 67, 588, 12, 2890, 16, 4422, 16, 4555, 16, 1476, 67, 350, 33, 7036, 16, 1476, 67, 723, 2218, 687, 2187, 819, 33, 7036, 16, 12748, 33, 8381, 16, 1717, 5414, 33, 8381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1466, 67, 1945, 67, 588, 12, 2890, 16, 4422, 16, 4555, 16, 1476, 67, 350, 33, 7036, 16, 1476, 67, 723, 2218, 687, 2187, 819, 33, 7036, 16, 12748, 33, 8381, 16, 1717, 5414, 33, 8381, ...
self.params['PROPERTIES_TAB'] = '<a:tab caption="@@PROPERTIES@@">%s</a:tab>' % sProperties
self.params['PROPERTIES_TAB'] = \ '<a:tab caption="@@PROPERTIES@@">%s</a:tab>' % sProperties
def setParams(self): self.response.setHeader('Cache-Control', 'no-cache') sLang = self.request.getLang() user = self.session.user iUserRole = objectAccess.getAccess(self.item, user) readonly = (iUserRole==1) self.params = { 'ID': self.item.id, 'URI': self.request.serverVariables['SCRIPT_NAME'] + '/' + self.item.id, 'I...
9a2f8b99a4794ca66a515bfe9ca832718bd20756 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2504/9a2f8b99a4794ca66a515bfe9ca832718bd20756/ui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31705, 12, 2890, 4672, 365, 18, 2740, 18, 542, 1864, 2668, 1649, 17, 3367, 2187, 296, 2135, 17, 2493, 6134, 272, 7275, 273, 365, 18, 2293, 18, 588, 7275, 1435, 225, 729, 273, 365, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31705, 12, 2890, 4672, 365, 18, 2740, 18, 542, 1864, 2668, 1649, 17, 3367, 2187, 296, 2135, 17, 2493, 6134, 272, 7275, 273, 365, 18, 2293, 18, 588, 7275, 1435, 225, 729, 273, 365, 18, ...
sys.stdout.write("%s" % path) else: oldPath = oldPackage.getFile(fileId)[0] sys.stdout.write("%s (aka %s)" % (path, oldPath)) if not newVersion: print
dispStr = path if not newVersion: sys.stdout.write(dispStr + '\n')
def diff(repos, versionStr = None): try: state = SourceStateFromFile("SRS") except OSError: return if state.getVersion() == versions.NewVersion(): log.error("no versions have been committed") return if versionStr: versionStr = state.expandVersionStr(versionStr) pkgList = repos.findTrove(None, state.getName(), versio...
7830d1575c55710b6d860ce5307666faff7610d9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/7830d1575c55710b6d860ce5307666faff7610d9/checkin.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3122, 12, 15564, 16, 1177, 1585, 273, 599, 4672, 775, 30, 919, 273, 4998, 1119, 13087, 2932, 10090, 55, 7923, 1335, 10002, 30, 327, 225, 309, 919, 18, 588, 1444, 1435, 422, 5244, 18, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3122, 12, 15564, 16, 1177, 1585, 273, 599, 4672, 775, 30, 919, 273, 4998, 1119, 13087, 2932, 10090, 55, 7923, 1335, 10002, 30, 327, 225, 309, 919, 18, 588, 1444, 1435, 422, 5244, 18, 1...
methodresponse: true to create a methodResponse packet
methodresponse: true to create a methodResponse packet. If this option is used with a tuple, the tuple must be a singleton (i.e. it can contain only one element).
def dumps(params, methodname=None, methodresponse=None, encoding=None): """data [,options] -> marshalled data Convert a tuple or a fault object to an XML-RPC request (or response, if the methodsresponse option is used). In addition to the data object, the following options can be given as keyword arguments: methodna...
cd906440fbd0694e165a09262268a608df82deeb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/cd906440fbd0694e165a09262268a608df82deeb/xmlrpclib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6711, 12, 2010, 16, 707, 529, 33, 7036, 16, 707, 2740, 33, 7036, 16, 2688, 33, 7036, 4672, 3536, 892, 306, 16, 2116, 65, 317, 10893, 1259, 501, 225, 4037, 279, 3193, 578, 279, 12530, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 6711, 12, 2010, 16, 707, 529, 33, 7036, 16, 707, 2740, 33, 7036, 16, 2688, 33, 7036, 4672, 3536, 892, 306, 16, 2116, 65, 317, 10893, 1259, 501, 225, 4037, 279, 3193, 578, 279, 12530, ...
if (f != 'Config') and (f != '.svn'):
if (f != 'Config') and (f != '.git'):
def GetDirs(path, dirs): dirs[path] = [] filelist = os.listdir(path) for f in filelist: fullname = path + f if os.path.isdir(fullname): if (f != 'Config') and (f != '.svn'): fullname = fullname + '/' GetDirs(fullname, dirs) else: dirs[path].append(f)
2572f59a3503849836aeb2ce3fe3748b9335620c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1030/2572f59a3503849836aeb2ce3fe3748b9335620c/make_luaui_nsh.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 9872, 12, 803, 16, 7717, 4672, 7717, 63, 803, 65, 273, 5378, 26204, 273, 1140, 18, 1098, 1214, 12, 803, 13, 364, 284, 316, 26204, 30, 13321, 273, 589, 397, 284, 309, 1140, 18, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9872, 12, 803, 16, 7717, 4672, 7717, 63, 803, 65, 273, 5378, 26204, 273, 1140, 18, 1098, 1214, 12, 803, 13, 364, 284, 316, 26204, 30, 13321, 273, 589, 397, 284, 309, 1140, 18, 8...
patchname = dogitpatch(patchname, gitpatches)
patchname = dogitpatch(patchname, gitpatches, cwd=cwd)
def patch(patchname, ui, strip=1, cwd=None): """apply the patch <patchname> to the working directory. a list of patched files is returned""" (dopatch, gitpatches) = readgitpatch(patchname) files = {} fuzz = False if dopatch: if dopatch == 'filter': patchname = dogitpatch(patchname, gitpatches) patcher = util.find_in_...
8021fe818edcb3ab3beaca6584497128f740649a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/8021fe818edcb3ab3beaca6584497128f740649a/patch.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4729, 12, 2272, 529, 16, 5915, 16, 2569, 33, 21, 16, 7239, 33, 7036, 4672, 3536, 9010, 326, 4729, 411, 2272, 529, 34, 358, 326, 5960, 1867, 18, 279, 666, 434, 25786, 1390, 353, 2106, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4729, 12, 2272, 529, 16, 5915, 16, 2569, 33, 21, 16, 7239, 33, 7036, 4672, 3536, 9010, 326, 4729, 411, 2272, 529, 34, 358, 326, 5960, 1867, 18, 279, 666, 434, 25786, 1390, 353, 2106, ...
if not expectedToWork:
if not expect_success:
def tryProtocolCombo (server_protocol, client_protocol, expectedToWork, certsreqs=None):
f08683542eada763321715f558eac5b2baec28e9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12029/f08683542eada763321715f558eac5b2baec28e9/test_ssl.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 775, 5752, 16156, 261, 3567, 67, 8373, 16, 1004, 67, 8373, 16, 2665, 774, 2421, 16, 13870, 25782, 33, 7036, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 775, 5752, 16156, 261, 3567, 67, 8373, 16, 1004, 67, 8373, 16, 2665, 774, 2421, 16, 13870, 25782, 33, 7036, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
try:
try:
def edge_coloring(g, value_only=False, vizing=False, hex_colors=False, log=0): r""" Properly colors the edges of a graph. See the URL http://en.wikipedia.org/wiki/Edge_coloring for further details on edge coloring. INPUT: - ``g`` -- a graph. - ``value_only`` -- (default: ``False``): - When set to ``True``, only the...
a468d77074137cba0ddfb241121c56cde855518e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/a468d77074137cba0ddfb241121c56cde855518e/graph_coloring.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3591, 67, 3266, 310, 12, 75, 16, 460, 67, 3700, 33, 8381, 16, 331, 6894, 33, 8381, 16, 3827, 67, 9724, 33, 8381, 16, 613, 33, 20, 4672, 436, 8395, 1186, 457, 715, 5740, 326, 5231, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3591, 67, 3266, 310, 12, 75, 16, 460, 67, 3700, 33, 8381, 16, 331, 6894, 33, 8381, 16, 3827, 67, 9724, 33, 8381, 16, 613, 33, 20, 4672, 436, 8395, 1186, 457, 715, 5740, 326, 5231, ...
self.program_info = None
def __init__(self, item): self.item = item self.video_path = item.get_filename() if self.video_path is None: self.program_info = None return # add a random string to the filename to ensure it's unique. Two # videos can have the same basename if they're in different # directories. thumbnail_filename = '%s.%s.png' % (os...
1ba4c98f96fe2ceb6deb3abf18c2384f10813f44 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/1ba4c98f96fe2ceb6deb3abf18c2384f10813f44/moviedata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 761, 4672, 365, 18, 1726, 273, 761, 365, 18, 9115, 67, 803, 273, 761, 18, 588, 67, 3459, 1435, 309, 365, 18, 9115, 67, 803, 353, 599, 30, 327, 468, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 761, 4672, 365, 18, 1726, 273, 761, 365, 18, 9115, 67, 803, 273, 761, 18, 588, 67, 3459, 1435, 309, 365, 18, 9115, 67, 803, 353, 599, 30, 327, 468, 5...
preferences = self.model.get_value(selection, 5) if preferences: self.prefs_button.set_sensitive(True) else: self.prefs_button.set_sensitive(False) descr_text = self.model.get_value(selection, 2)
if selection: preferences = self.model.get_value(selection, 5) if preferences: self.prefs_button.set_sensitive(True) else: self.prefs_button.set_sensitive(False) descr_text = self.model.get_value(selection, 2)
def OnSelect(self, tree): """ When an Extension is selected, enables/disables the preferences button according to the reported Extension capabilities and updates the description label. Parameters: tree -- GTKTreeView holding the Extensions's representation. """ selection = self.tree.get_selection().get_selected()[1] p...
4c51c6f56b0c2da9477f7d84605d4f52760567c3 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/10033/4c51c6f56b0c2da9477f7d84605d4f52760567c3/ExtensionManagerDialog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 3391, 12, 2890, 16, 2151, 4672, 3536, 5203, 392, 10021, 353, 3170, 16, 19808, 19, 2251, 1538, 326, 12750, 3568, 4888, 358, 326, 14010, 10021, 12359, 471, 4533, 326, 2477, 1433, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 3391, 12, 2890, 16, 2151, 4672, 3536, 5203, 392, 10021, 353, 3170, 16, 19808, 19, 2251, 1538, 326, 12750, 3568, 4888, 358, 326, 14010, 10021, 12359, 471, 4533, 326, 2477, 1433, 18, ...
if True: import pydb pydb.debugger()
def runUnusedClasses(self, parts, packages, variants): if not self._config.get("log/classes-unused", False): return
47977568036ebc88899e0c6ce932c66f12bc746a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5718/47977568036ebc88899e0c6ce932c66f12bc746a/Generator.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 21106, 4818, 12, 2890, 16, 2140, 16, 5907, 16, 12935, 4672, 309, 486, 365, 6315, 1425, 18, 588, 2932, 1330, 19, 4701, 17, 14375, 3113, 1083, 4672, 327, 2, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 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, 1086, 21106, 4818, 12, 2890, 16, 2140, 16, 5907, 16, 12935, 4672, 309, 486, 365, 6315, 1425, 18, 588, 2932, 1330, 19, 4701, 17, 14375, 3113, 1083, 4672, 327, 2, -100, -100, -100, -100, ...
sage: n = 100000000 + randint(0,100000000) sage: number_of_partitions( n - (n % 385) + 369) % 385 == 0 True sage: n = 100000000 + randint(0,100000000) sage: number_of_partitions( n - (n % 385) + 369) % 385 == 0
sage: n = 1000000000 + randint(0,1000000000) sage: number_of_partitions( n - (n % 385) + 369) % 385 == 0
def number_of_partitions(n,k=None, algorithm='default'): r""" Returns the size of partitions_list(n,k). INPUT: n -- an integer k -- (default: None); if specified, instead returns the cardinality of the set of all (unordered) partitions of the positive integer n into sums with k summands. algorithm -- (default: 'defaul...
133ed5d488fcc631795027cd415e935f304eaad7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/133ed5d488fcc631795027cd415e935f304eaad7/combinat.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1300, 67, 792, 67, 21275, 12, 82, 16, 79, 33, 7036, 16, 4886, 2218, 1886, 11, 4672, 436, 8395, 2860, 326, 963, 434, 10060, 67, 1098, 12, 82, 16, 79, 2934, 225, 12943, 30, 290, 1493, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1300, 67, 792, 67, 21275, 12, 82, 16, 79, 33, 7036, 16, 4886, 2218, 1886, 11, 4672, 436, 8395, 2860, 326, 963, 434, 10060, 67, 1098, 12, 82, 16, 79, 2934, 225, 12943, 30, 290, 1493, ...
return (self, nextPath)
if nextRes is None: return (nextRes, nextPath) return (CustomizingResource(nextRes, self.forWho), nextPath)
def finishLocating((nextRes, nextPath)): custom = ixmantissa.ICustomizable(nextRes, None) if custom is not None: return (custom.customizeFor(self.forWho), nextPath) self.currentResource = nextRes return (self, nextPath)
a4368c828ff98659da59808428ed2fed5d98dc09 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6980/a4368c828ff98659da59808428ed2fed5d98dc09/publicweb.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4076, 1333, 1776, 12443, 4285, 607, 16, 1024, 743, 3719, 30, 1679, 273, 8288, 81, 970, 21269, 18, 2871, 1192, 6934, 12, 4285, 607, 16, 599, 13, 309, 1679, 353, 486, 599, 30, 327, 261, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4076, 1333, 1776, 12443, 4285, 607, 16, 1024, 743, 3719, 30, 1679, 273, 8288, 81, 970, 21269, 18, 2871, 1192, 6934, 12, 4285, 607, 16, 599, 13, 309, 1679, 353, 486, 599, 30, 327, 261, ...
tessparams = ['tesseract', tmp.name, tmpTxt.name.replace(".txt", "")
tessparams = ['tesseract', tmp.name, tmpTxt.name.replace(".txt", "")]
def run_tesser(self, subset=False, digits=True, lowercase=True, uppercase=True ): self.logger.debug("create tmp tif") tmp = tempfile.NamedTemporaryFile(suffix=".tif") self.logger.debug("create tmp txt") tmpTxt = tempfile.NamedTemporaryFile(suffix=".txt") self.logger.debug("save tiff") self.image.save(tmp.name, 'TIFF')
497821fb18a93cdb356d5d1e6d3ae215b5cc1915 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9838/497821fb18a93cdb356d5d1e6d3ae215b5cc1915/captcha.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 67, 88, 403, 264, 12, 2890, 16, 7931, 33, 8381, 16, 6815, 33, 5510, 16, 12400, 33, 5510, 16, 18966, 33, 5510, 262, 30, 365, 18, 4901, 18, 4148, 2932, 2640, 1853, 268, 430, 7923...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 88, 403, 264, 12, 2890, 16, 7931, 33, 8381, 16, 6815, 33, 5510, 16, 12400, 33, 5510, 16, 18966, 33, 5510, 262, 30, 365, 18, 4901, 18, 4148, 2932, 2640, 1853, 268, 430, 7923...
ci.dte = updated
ci.date = updated
def check(self): """Retrieve and parse a feed""" #try: txt = None fp = feedparser.parse(self._feed.url)
7a1829675dac109ecc780e97ec672eeaef79b6d3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2189/7a1829675dac109ecc780e97ec672eeaef79b6d3/feedchecker.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 12, 2890, 4672, 3536, 5767, 471, 1109, 279, 4746, 8395, 468, 698, 30, 6463, 273, 599, 4253, 273, 4746, 4288, 18, 2670, 12, 2890, 6315, 7848, 18, 718, 13, 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, 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, 12, 2890, 4672, 3536, 5767, 471, 1109, 279, 4746, 8395, 468, 698, 30, 6463, 273, 599, 4253, 273, 4746, 4288, 18, 2670, 12, 2890, 6315, 7848, 18, 718, 13, 2, -100, -100, -100, -100...
raise ValueError, _('default value for ' + \ 'DateHTMLProperty must be either DateHTMLProperty ' + \
raise ValueError, _('default value for ' 'DateHTMLProperty must be either DateHTMLProperty '
def field(self, size = 30, default = None): ''' Render a form edit field for the property
2721f8df9c4c4d3ee090797279eb990d57d383a9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1906/2721f8df9c4c4d3ee090797279eb990d57d383a9/templating.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 652, 12, 2890, 16, 963, 273, 5196, 16, 805, 273, 599, 4672, 9163, 6987, 279, 646, 3874, 652, 364, 326, 1272, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 652, 12, 2890, 16, 963, 273, 5196, 16, 805, 273, 599, 4672, 9163, 6987, 279, 646, 3874, 652, 364, 326, 1272, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
elif opt in ('-?', '--help'):
elif opt in ('-v', '--verbose'): verbosity += 1 elif opt in ('-?', '-h', '--help'):
def main(): output=None copyfunc=None creator=None plist=None nib=None resources=[] SHORTOPTS = "o:ln:r:p:c:?" LONGOPTS=("output=", "link", "nib=", "resource=", "plist=", "creator=", "help") try: options, args = getopt.getopt(sys.argv[1:], SHORTOPTS, LONGOPTS) except getopt.error: usage() if len(args) != 1: usage() for...
e9d33f103e82fa58ed5906c6ccf3ccd9d68cdd17 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/e9d33f103e82fa58ed5906c6ccf3ccd9d68cdd17/buildappbundle.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 876, 33, 7036, 1610, 644, 33, 7036, 11784, 33, 7036, 21074, 33, 7036, 28421, 33, 7036, 2703, 33, 8526, 20079, 15620, 55, 273, 315, 83, 30, 2370, 30, 86, 30, 84, 30, 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, 2774, 13332, 876, 33, 7036, 1610, 644, 33, 7036, 11784, 33, 7036, 21074, 33, 7036, 28421, 33, 7036, 2703, 33, 8526, 20079, 15620, 55, 273, 315, 83, 30, 2370, 30, 86, 30, 84, 30, 71, ...
previous_reboots = glob.glob('reboot*') if previous_reboots: previous_reboots = [int(i[len('reboot'):]) for i in previous_reboots] boot = 1 + max(previous_reboots) else: boot = 1
def before_each_step(): # make separate directories for each step: # if files exist here, this is not the first step. # this is a safe assumption because we always create at least one file if not glob.glob('*'): _before_each_step() # first step goes in cwd return previous_reboots = glob.glob('reboot*') if previous_reb...
244132028450511fd19cc5ed4c9d1eeab0e56992 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12268/244132028450511fd19cc5ed4c9d1eeab0e56992/sysinfo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1865, 67, 13798, 67, 4119, 13332, 468, 1221, 9004, 6402, 364, 1517, 2235, 30, 468, 309, 1390, 1005, 2674, 16, 333, 353, 486, 326, 1122, 2235, 18, 468, 333, 353, 279, 4183, 24743, 2724, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1865, 67, 13798, 67, 4119, 13332, 468, 1221, 9004, 6402, 364, 1517, 2235, 30, 468, 309, 1390, 1005, 2674, 16, 333, 353, 486, 326, 1122, 2235, 18, 468, 333, 353, 279, 4183, 24743, 2724, ...
if api.getFocusObject().role not in (controlTypes.ROLE_MENUITEM,controlTypes.ROLE_POPUPMENU):
focusObject=api.getFocusObject() if focusObject.role not in (controlTypes.ROLE_MENUITEM,controlTypes.ROLE_POPUPMENU) or focusObject!=oldFocus:
def event_menuEnd(self): if self.IAccessibleRole in (IAccessibleHandler.ROLE_SYSTEM_MENUITEM,IAccessibleHandler.ROLE_SYSTEM_MENUPOPUP) and self!=api.getFocusObject(): return api.processPendingEvents() if api.getFocusObject().role not in (controlTypes.ROLE_MENUITEM,controlTypes.ROLE_POPUPMENU): return obj=api.findObject...
52862ebaa31e41489dc75de534938dfe9e5e6097 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9340/52862ebaa31e41489dc75de534938dfe9e5e6097/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 871, 67, 5414, 1638, 12, 2890, 4672, 309, 365, 18, 45, 10451, 2996, 316, 261, 45, 10451, 1503, 18, 16256, 67, 14318, 67, 29227, 12674, 16, 45, 10451, 1503, 18, 16256, 67, 14318, 67, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 871, 67, 5414, 1638, 12, 2890, 4672, 309, 365, 18, 45, 10451, 2996, 316, 261, 45, 10451, 1503, 18, 16256, 67, 14318, 67, 29227, 12674, 16, 45, 10451, 1503, 18, 16256, 67, 14318, 67, 29...
return False
def InstallService(self, entry): '''Install Service for entry''' self.CondPrint('verbose', "Installing Service %s" % (entry.get('name'))) if entry.attrib['status'] == 'off': if self.setup['dryrun']: print "Disabling service %s" % (entry.get('name')) return False else: cmdrc = system("update-rc.d -f %s remove" % entry.g...
97f27837c96643ff5a16a35c1871a884eee89d93 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11867/97f27837c96643ff5a16a35c1871a884eee89d93/Debian.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10284, 1179, 12, 2890, 16, 1241, 4672, 9163, 6410, 1956, 364, 1241, 26418, 365, 18, 12441, 5108, 2668, 11369, 2187, 315, 6410, 310, 1956, 738, 87, 6, 738, 261, 4099, 18, 588, 2668, 529, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10284, 1179, 12, 2890, 16, 1241, 4672, 9163, 6410, 1956, 364, 1241, 26418, 365, 18, 12441, 5108, 2668, 11369, 2187, 315, 6410, 310, 1956, 738, 87, 6, 738, 261, 4099, 18, 588, 2668, 529, ...
global buildscriptFile
global buildscriptFile, fromAddr, mailtoAddr, alertAddr, adminAddr, defaultDomain, defaultRsyncServer
def main(): global buildscriptFile parser = OptionParser(usage="%prog [options] buildName", version="%prog 1.2") parser.add_option("-t", "--toAddr", action="store", type="string", dest="toAddr", default="buildreport", help="Where to mail script reports\n" " [default] buildreport " + "(at) osafoundation " + "(dot) org"...
b2c0c7996e95b491076026bd941d2c86fa18eb53 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/b2c0c7996e95b491076026bd941d2c86fa18eb53/tinderbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 2552, 1361, 4263, 812, 16, 628, 3178, 16, 4791, 869, 3178, 16, 6881, 3178, 16, 3981, 3178, 16, 805, 3748, 16, 805, 54, 8389, 2081, 225, 2082, 273, 18862, 12, 9167, 11613, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2552, 1361, 4263, 812, 16, 628, 3178, 16, 4791, 869, 3178, 16, 6881, 3178, 16, 3981, 3178, 16, 805, 3748, 16, 805, 54, 8389, 2081, 225, 2082, 273, 18862, 12, 9167, 11613, ...
self.setinput(NORMS.get(v_norm))
self.setstd(NORMS.get(v_norm))
def init_settings(self): (v_norm, v_input, v_clist, v_dev) = config.TV_SETTINGS.split() v_norm = string.upper(v_norm) self.setinput(NORMS.get(v_norm))
96ae91396918a113e34228b3ff34f7815582f111 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/96ae91396918a113e34228b3ff34f7815582f111/v4l2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 67, 4272, 12, 2890, 4672, 261, 90, 67, 7959, 16, 331, 67, 2630, 16, 331, 67, 830, 376, 16, 331, 67, 5206, 13, 273, 642, 18, 15579, 67, 19428, 18, 4939, 1435, 331, 67, 7959, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1208, 67, 4272, 12, 2890, 4672, 261, 90, 67, 7959, 16, 331, 67, 2630, 16, 331, 67, 830, 376, 16, 331, 67, 5206, 13, 273, 642, 18, 15579, 67, 19428, 18, 4939, 1435, 331, 67, 7959, 2...
started.wait();
started.wait();
def run(): with JSContext(g) as ctxt: ctxt.eval(""" started.wait(); for (i=0; i<10; i++) { sleep(100); } finished.release(); """)
39238494c6380764c75b46d3d726c011640ecf54 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5828/39238494c6380764c75b46d3d726c011640ecf54/PyV8.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 13332, 598, 6756, 1042, 12, 75, 13, 487, 14286, 30, 14286, 18, 8622, 2932, 3660, 5746, 18, 7048, 5621, 225, 364, 261, 77, 33, 20, 31, 277, 32, 2163, 31, 277, 27245, 288, 5329, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 13332, 598, 6756, 1042, 12, 75, 13, 487, 14286, 30, 14286, 18, 8622, 2932, 3660, 5746, 18, 7048, 5621, 225, 364, 261, 77, 33, 20, 31, 277, 32, 2163, 31, 277, 27245, 288, 5329, ...
overscanData = afwImage.ImageF(exposure.getMaskedImage().getImage(), overscanBbox, False)
overscanData = afwImage.ImageF(exposure.getMaskedImage().getImage(), overscanBBox, False)
def OverscanCorrection(exposure, policy, stageSig = isrLib.ISR_OSCAN, stageName = 'lsst.ip.isr.overscancorrection'): """ This returns a new Exposure that is a subsection of the input exposure. NOTE : do we need to deal with the WCS in any way, shape, or form? """ # common input test metadata = exposure.getMetadata...
df249f635ded5dfefd62ff151f23027f6e90fe8c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6526/df249f635ded5dfefd62ff151f23027f6e90fe8c/IsrStages.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 531, 2496, 4169, 20884, 12, 22739, 16, 3329, 16, 6009, 8267, 225, 273, 353, 86, 5664, 18, 5127, 54, 67, 51, 2312, 1258, 16, 6009, 461, 273, 296, 3251, 334, 18, 625, 18, 291, 86, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 531, 2496, 4169, 20884, 12, 22739, 16, 3329, 16, 6009, 8267, 225, 273, 353, 86, 5664, 18, 5127, 54, 67, 51, 2312, 1258, 16, 6009, 461, 273, 296, 3251, 334, 18, 625, 18, 291, 86, 18, ...
The given dictionary is never altered by this keyword.
Values are returned sorted according to keys. The given dictionary is never altered by this keyword.
def get_dictionary_values(self, dictionary): """Returns values of the given dictionary. The given dictionary is never altered by this keyword.
9e3b0b6f2f5e1229f613f2fc11d15a4072f9d6db /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6988/9e3b0b6f2f5e1229f613f2fc11d15a4072f9d6db/Collections.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 15556, 67, 2372, 12, 2890, 16, 3880, 4672, 3536, 1356, 924, 434, 326, 864, 3880, 18, 225, 1021, 864, 3880, 353, 5903, 22349, 635, 333, 4932, 18, 2, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 15556, 67, 2372, 12, 2890, 16, 3880, 4672, 3536, 1356, 924, 434, 326, 864, 3880, 18, 225, 1021, 864, 3880, 353, 5903, 22349, 635, 333, 4932, 18, 2, -100, -100, -100, -100, -10...
<img width=16 height=16 src="webplugin/icon_cancel_search.png" alt="Clear search results">
<img width=16 height=16 src="/webplugin/icon_cancel_search.png" alt="Clear search results">
def update_features_avail(feature_key, name, col, fsize, fcolor, prefix, suffix): text_features_avail.setdefault(feature_key, [name, 0, col, fsize, fcolor, prefix, suffix]) text_features_avail[feature_key][1] += 1
7247d86e6c22753799dc0dd61d252e56bac872a4 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14016/7247d86e6c22753799dc0dd61d252e56bac872a4/webplugin_example.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 7139, 67, 842, 671, 12, 7238, 67, 856, 16, 508, 16, 645, 16, 284, 1467, 16, 284, 3266, 16, 1633, 16, 3758, 4672, 977, 67, 7139, 67, 842, 671, 18, 542, 1886, 12, 7238, 67,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 7139, 67, 842, 671, 12, 7238, 67, 856, 16, 508, 16, 645, 16, 284, 1467, 16, 284, 3266, 16, 1633, 16, 3758, 4672, 977, 67, 7139, 67, 842, 671, 18, 542, 1886, 12, 7238, 67,...
if not mod:
if not mod and hasattr(env, 'autodoc_current_module'):
def generate_rst(what, name, members, undoc, add_content, document, lineno, indent=''): env = document.settings.env # find out what to import if what == 'module': mod = obj = name objpath = [] elif what in ('class', 'exception', 'function'): mod, obj = rpartition(name, '.') if not mod: mod = env.autodoc_current_module...
d739756f2a1551291f77000c21e3e2788a757319 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5532/d739756f2a1551291f77000c21e3e2788a757319/autodoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 16114, 12, 23770, 16, 508, 16, 4833, 16, 640, 2434, 16, 527, 67, 1745, 16, 1668, 16, 7586, 16, 3504, 2218, 11, 4672, 1550, 273, 1668, 18, 4272, 18, 3074, 225, 468, 1104, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2103, 67, 16114, 12, 23770, 16, 508, 16, 4833, 16, 640, 2434, 16, 527, 67, 1745, 16, 1668, 16, 7586, 16, 3504, 2218, 11, 4672, 1550, 273, 1668, 18, 4272, 18, 3074, 225, 468, 1104, 59...
""" print >> fp, hostname, '\tIGNORE' print >> fp, ' print >> fp, '%s: %s' % (loopaddr, mailbox) print >> fp db[hostname + '\0'] = 'IGNORE\0' db[loopaddr + '\0'] = loopaddr + '\0'
%s\t%s """ % (loopaddr, loopdest) db[loopaddr + '\0'] = loopdest + '\0'
def addvirtual(mlist, db, fp): listname = mlist.internal_name() fieldsz = len(listname) + len('request') hostname = mlist.host_name loopaddr = Utils.get_site_email(mlist.host_name, 'loop') mailbox, domain = Utils.ParseEmail(loopaddr) # Seek to the end of the text file, but if it's empty write the standard # disclaimer,...
fdea0f4d4aafc034bf532b1250b6ea19c3d2c875 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2120/fdea0f4d4aafc034bf532b1250b6ea19c3d2c875/Postfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 12384, 12, 781, 376, 16, 1319, 16, 4253, 4672, 666, 529, 273, 312, 1098, 18, 7236, 67, 529, 1435, 1466, 94, 273, 562, 12, 1098, 529, 13, 397, 562, 2668, 2293, 6134, 5199, 273, 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, 527, 12384, 12, 781, 376, 16, 1319, 16, 4253, 4672, 666, 529, 273, 312, 1098, 18, 7236, 67, 529, 1435, 1466, 94, 273, 562, 12, 1098, 529, 13, 397, 562, 2668, 2293, 6134, 5199, 273, 3...
if e.args[0] not in (EBADF, ECONNRESET, ENOTCONN, ESHUTDOWN, ECONNABORTED):
if e.args[0] not in (EBADF, ECONNRESET, ENOTCONN, ESHUTDOWN, ECONNABORTED):
def readwrite(obj, flags): try: if flags & select.POLLIN: obj.handle_read_event() if flags & select.POLLOUT: obj.handle_write_event() if flags & select.POLLPRI: obj.handle_expt_event() if flags & (select.POLLHUP | select.POLLERR | select.POLLNVAL): obj.handle_close() except socket.error, e: if e.args[0] not in (EBADF, ...
abc781a962aa492251f207efcc0f000124eb5aef /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8125/abc781a962aa492251f207efcc0f000124eb5aef/asyncore.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 2626, 12, 2603, 16, 2943, 4672, 775, 30, 309, 2943, 473, 2027, 18, 14232, 20663, 30, 1081, 18, 4110, 67, 896, 67, 2575, 1435, 309, 2943, 473, 2027, 18, 14232, 1502, 1693, 30, 1081...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2626, 12, 2603, 16, 2943, 4672, 775, 30, 309, 2943, 473, 2027, 18, 14232, 20663, 30, 1081, 18, 4110, 67, 896, 67, 2575, 1435, 309, 2943, 473, 2027, 18, 14232, 1502, 1693, 30, 1081...
} obj_event.write(cr, uid, [event.id], val) elif event.write_date == google_up: pass else: google_id = an_event.id.text utime = dateutil.parser.parse(an_event.updated.text) au_dt = au_tz.normalize(utime.astimezone(au_tz)) timestring_update = datetime.datetime(*au_dt.timetuple()[:6]).strftime('%Y-%m-%d %H:%M:%S') name_...
} obj_event.create(cr, uid, val) summary_dict['Event Created In Tiny'] += 1 final_summary = '************Summary************ \n' for sum in summary_dict: final_summary += '\n' + str(sum) + ' : ' + str(summary_dict[sum]) + '\n' return {'summary': final_summary}
def _synch_events(self, cr, uid, data, context={}):
18e7199fddc011b8df4da326cd52218e10b2a68c /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7339/18e7199fddc011b8df4da326cd52218e10b2a68c/synchronize_events.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 87, 2515, 67, 5989, 12, 2890, 16, 4422, 16, 4555, 16, 501, 16, 819, 12938, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 87, 2515, 67, 5989, 12, 2890, 16, 4422, 16, 4555, 16, 501, 16, 819, 12938, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
else: field = get_field(field_type) return field.decode(data)
field = get_field(field_type) return field.decode(data)
def _decode(field_type, data): # integer if field_type == 'integer': return int(sortable_unserialise(data)) # A common field or a new field else: field = get_field(field_type) return field.decode(data)
dcc5296da0e6c344eb7677e3a059afa6d63f6cd9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12681/dcc5296da0e6c344eb7677e3a059afa6d63f6cd9/catalog.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3922, 12, 1518, 67, 723, 16, 501, 4672, 468, 3571, 309, 652, 67, 723, 422, 296, 7745, 4278, 327, 509, 12, 27236, 67, 318, 8818, 784, 12, 892, 3719, 468, 432, 2975, 652, 578, 279...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 3922, 12, 1518, 67, 723, 16, 501, 4672, 468, 3571, 309, 652, 67, 723, 422, 296, 7745, 4278, 327, 509, 12, 27236, 67, 318, 8818, 784, 12, 892, 3719, 468, 432, 2975, 652, 578, 279...
if missingCandidates == foundCandidates:
if foundCandidates and missingCandidates == foundCandidates:
def do(self): missingBuildRequires = set() missingBuildRequiresChoices = []
9351b3b6eb7b297585795ee5d0f0dab86351e44e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7642/9351b3b6eb7b297585795ee5d0f0dab86351e44e/enforcebuildreqs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 12, 2890, 4672, 3315, 3116, 21671, 273, 444, 1435, 3315, 3116, 21671, 17442, 273, 5378, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 741, 12, 2890, 4672, 3315, 3116, 21671, 273, 444, 1435, 3315, 3116, 21671, 17442, 273, 5378, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
canvas.setFont('Times-Bold',16) canvas.drawString(108, layout.PAGE_HEIGHT-108, Title) canvas.setFont('Times-Roman',9)
def myFirstPage(canvas, doc): canvas.saveState() canvas.setFont('Times-Bold',16) canvas.drawString(108, layout.PAGE_HEIGHT-108, Title) canvas.setFont('Times-Roman',9) canvas.restoreState()
4271964167f946db4efa82f704a8a08e0ace45d6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/4271964167f946db4efa82f704a8a08e0ace45d6/fodyssey.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3399, 3759, 1964, 12, 15424, 16, 997, 4672, 5953, 18, 5688, 1119, 1435, 5953, 18, 13991, 1119, 1435, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3399, 3759, 1964, 12, 15424, 16, 997, 4672, 5953, 18, 5688, 1119, 1435, 5953, 18, 13991, 1119, 1435, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
"""Set the value of the attribute ``attr` of the tag ``tag``."""
"""Set the value of the attribute ``attr`` of the tag ``tag``."""
def setattr(self, tag, attr, val, token=None): """Set the value of the attribute ``attr` of the tag ``tag``.""" return self._upload(self._tagattr(tag, attr), StringIO(json.dumps(val)), token=token)
d95f44bb49f20b52cedae7abd65b384cbcd3f9da /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/373/d95f44bb49f20b52cedae7abd65b384cbcd3f9da/ddfs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9241, 12, 2890, 16, 1047, 16, 1604, 16, 1244, 16, 1147, 33, 7036, 4672, 3536, 694, 326, 460, 434, 326, 1566, 12176, 1747, 10335, 434, 326, 1047, 12176, 2692, 10335, 12123, 327, 365, 6315...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9241, 12, 2890, 16, 1047, 16, 1604, 16, 1244, 16, 1147, 33, 7036, 4672, 3536, 694, 326, 460, 434, 326, 1566, 12176, 1747, 10335, 434, 326, 1047, 12176, 2692, 10335, 12123, 327, 365, 6315...
if n == 1:
if n <= 1:
def iterator(self): r""" Algorithm based on: \url{http://marknelson.us/2002/03/01/next-permutation/}
85dd4f7a45bef5d2324ee0c678f238b13859366b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9417/85dd4f7a45bef5d2324ee0c678f238b13859366b/permutation.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2775, 12, 2890, 4672, 436, 8395, 15067, 2511, 603, 30, 521, 718, 95, 2505, 2207, 3355, 3084, 816, 18, 407, 19, 6976, 22, 19, 4630, 19, 1611, 19, 4285, 17, 12160, 9245, 19, 97, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2775, 12, 2890, 4672, 436, 8395, 15067, 2511, 603, 30, 521, 718, 95, 2505, 2207, 3355, 3084, 816, 18, 407, 19, 6976, 22, 19, 4630, 19, 1611, 19, 4285, 17, 12160, 9245, 19, 97, 2, -10...
self.blockItem.contents[self.dropRow].contents.add(item)
self.blockItem.contents[self.dropRow].add(item)
def AddItem(self, itemUUID): item = self.blockItem.findUUID(itemUUID) self.blockItem.contents[self.dropRow].contents.add(item)
1aac3f2cca3c773a337a4ba3345fbc96e4e7cbc9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9228/1aac3f2cca3c773a337a4ba3345fbc96e4e7cbc9/SideBar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1436, 1180, 12, 2890, 16, 761, 5562, 4672, 761, 273, 365, 18, 2629, 1180, 18, 4720, 5562, 12, 1726, 5562, 13, 365, 18, 2629, 1180, 18, 3980, 63, 2890, 18, 7285, 1999, 8009, 1289, 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, 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, 1436, 1180, 12, 2890, 16, 761, 5562, 4672, 761, 273, 365, 18, 2629, 1180, 18, 4720, 5562, 12, 1726, 5562, 13, 365, 18, 2629, 1180, 18, 3980, 63, 2890, 18, 7285, 1999, 8009, 1289, 12, ...
self.startSeleniumServer(single, seleniumVersion)
self.startSeleniumServer(single, seleniumVersion, trustAllCerts)
def runTests(self, appConf): import time testStartDate = time.strftime(self.timeFormat)
c4353e2d218573c1f41fc0a5adaf56da040b2519 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5718/c4353e2d218573c1f41fc0a5adaf56da040b2519/qxtest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 14650, 12, 2890, 16, 595, 3976, 4672, 1930, 813, 1842, 22635, 273, 813, 18, 701, 9982, 12, 2890, 18, 957, 1630, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 14650, 12, 2890, 16, 595, 3976, 4672, 1930, 813, 1842, 22635, 273, 813, 18, 701, 9982, 12, 2890, 18, 957, 1630, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
-c, --cr: disable CR -> CR+LF translation
-c, --cr: disable LF -> CR+LF translation
def usage(): print >>sys.stderr, """USAGE: %s [options] Simple Terminal Programm for the serial port. options: -p, --port=PORT: port, a number, defualt = 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 (...
b786cd543c0d1d1d0891ed88728d89d9950c58cb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10955/b786cd543c0d1d1d0891ed88728d89d9950c58cb/miniterm.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4084, 13332, 1172, 1671, 9499, 18, 11241, 16, 3536, 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, 1172, 1671, 9499, 18, 11241, 16, 3536, 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,...
import win32_cypto self.crypt_handler = win32_cypto
import win32_crypto self.crypt_handler = win32_crypto
def __init__(self): super(Win32CryptoKeyring,self).__init__()
b230b1f706f036bec6b49665a469441f2d4c8f54 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5209/b230b1f706f036bec6b49665a469441f2d4c8f54/backend.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 4672, 2240, 12, 18049, 1578, 18048, 653, 8022, 16, 2890, 2934, 972, 2738, 972, 1435, 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, 1001, 2738, 972, 12, 2890, 4672, 2240, 12, 18049, 1578, 18048, 653, 8022, 16, 2890, 2934, 972, 2738, 972, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
signal.setitimer(self.itimer, 0.2)
signal.setitimer(self.itimer, 0.2, 0.2)
def test_itimer_prof(self): self.itimer = signal.ITIMER_PROF signal.signal(signal.SIGPROF, self.sig_prof) signal.setitimer(self.itimer, 0.2)
2b860db35c5346c216672f94031ecc800dbebf02 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8546/2b860db35c5346c216672f94031ecc800dbebf02/test_signal.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 305, 4417, 67, 16121, 12, 2890, 4672, 365, 18, 305, 4417, 273, 4277, 18, 1285, 31582, 67, 3373, 42, 4277, 18, 10420, 12, 10420, 18, 18513, 3373, 42, 16, 365, 18, 7340, 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, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 305, 4417, 67, 16121, 12, 2890, 4672, 365, 18, 305, 4417, 273, 4277, 18, 1285, 31582, 67, 3373, 42, 4277, 18, 10420, 12, 10420, 18, 18513, 3373, 42, 16, 365, 18, 7340, 67, ...
button.unparent()
hbuttonbox.remove(button)
def showMessage (self, messageDialog, vertical=False): if self.messageSock.child: self.messageSock.remove(self.messageSock.child) message, separator, hbuttonbox = messageDialog.child.get_children() if vertical: buttonbox = gtk.VButtonBox() buttonbox.props.layout_style = gtk.BUTTONBOX_SPREAD for button in hbuttonbox.ge...
bc72423b70257f4d1622bba1dbfd2d45882bf680 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5339/bc72423b70257f4d1622bba1dbfd2d45882bf680/gamewidget.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 1079, 261, 2890, 16, 883, 6353, 16, 9768, 33, 8381, 4672, 309, 365, 18, 2150, 55, 975, 18, 3624, 30, 365, 18, 2150, 55, 975, 18, 4479, 12, 2890, 18, 2150, 55, 975, 18, 3624, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1079, 261, 2890, 16, 883, 6353, 16, 9768, 33, 8381, 4672, 309, 365, 18, 2150, 55, 975, 18, 3624, 30, 365, 18, 2150, 55, 975, 18, 4479, 12, 2890, 18, 2150, 55, 975, 18, 3624, ...
Return '' if EOF is hit. Block if no data is immediately
Return b'' if EOF is hit. Block if no data is immediately
def read_some(self): """Read at least one byte of cooked data unless EOF is hit.
4ff2306a48ad184f76d4bd456b4caf600359b831 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12029/4ff2306a48ad184f76d4bd456b4caf600359b831/telnetlib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 19068, 12, 2890, 4672, 3536, 1994, 622, 4520, 1245, 1160, 434, 15860, 329, 501, 3308, 6431, 353, 6800, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 19068, 12, 2890, 4672, 3536, 1994, 622, 4520, 1245, 1160, 434, 15860, 329, 501, 3308, 6431, 353, 6800, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
if hasattr(h,'filled'): if allowmask: np = numpy.ma
if hasattr(h,'_mask'): if mask is None: mask = h._mask
def getNcData(self,bounds=None,allowmask=True): # Return values from cache if available. if 'z' in self.store.cachedcoords: if bounds is None: return self.store.cachedcoords[self.dimname] else: return self.store.cachedcoords[self.dimname][bounds]
35296bc8b4b1e8efa77e656fef37900d621a50b3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/381/35296bc8b4b1e8efa77e656fef37900d621a50b3/data.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11069, 71, 751, 12, 2890, 16, 10576, 33, 7036, 16, 5965, 4455, 33, 5510, 4672, 468, 2000, 924, 628, 1247, 309, 2319, 18, 309, 296, 94, 11, 316, 365, 18, 2233, 18, 7097, 9076, 30, 309...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11069, 71, 751, 12, 2890, 16, 10576, 33, 7036, 16, 5965, 4455, 33, 5510, 4672, 468, 2000, 924, 628, 1247, 309, 2319, 18, 309, 296, 94, 11, 316, 365, 18, 2233, 18, 7097, 9076, 30, 309...
def _ExpandPath(self, path): """Expands a relative path to an absolute path rooted at either the WebKit LayoutTests directory or the chrome layout tests directories.""" if self._standalone: base_dir = self._base_dir else: base_dir = path_utils.PathFromBase() if path and path.find("LayoutTests") == -1: full_path = os.p...
def _ExpandTests(self, test_list_path): """Converts the list of tests into an absolute, normalized path and ensures directories end with the path separator.""" path = self._ExpandPath(test_list_path) if self._standalone: # If we can't check the filesystem to see if this is a directory, # we assume that files w/o an ext...
211a3ffcbe86cd75b6c6053d87df43b574b52ab2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9392/211a3ffcbe86cd75b6c6053d87df43b574b52ab2/test_expectations.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 12271, 14650, 12, 2890, 16, 1842, 67, 1098, 67, 803, 4672, 3536, 5692, 326, 666, 434, 7434, 1368, 392, 4967, 16, 5640, 589, 471, 11932, 6402, 679, 598, 326, 589, 4182, 12123, 589, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12271, 14650, 12, 2890, 16, 1842, 67, 1098, 67, 803, 4672, 3536, 5692, 326, 666, 434, 7434, 1368, 392, 4967, 16, 5640, 589, 471, 11932, 6402, 679, 598, 326, 589, 4182, 12123, 589, ...
sendtime = float(connobj.recv(10).split()[0])
sendtime = float(connobj.recv(100).strip().split()[0])
def handleconnection(ip, port, connobj, ch, mainch): while True: sendtime = float(connobj.recv(10).split()[0]) lag = getruntime() - sendtime if mycontext['maxlag'] < lag: mycontext['maxlag'] = lag
8a08d7e4395befd31dafe0fe61aaf23545dbdffb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7272/8a08d7e4395befd31dafe0fe61aaf23545dbdffb/ut_repytests_testtcpbuffersize.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 4071, 12, 625, 16, 1756, 16, 1487, 2603, 16, 462, 16, 2774, 343, 4672, 1323, 1053, 30, 1366, 957, 273, 1431, 12, 591, 2135, 441, 18, 18334, 12, 6625, 2934, 6406, 7675, 4939, 1435...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1640, 4071, 12, 625, 16, 1756, 16, 1487, 2603, 16, 462, 16, 2774, 343, 4672, 1323, 1053, 30, 1366, 957, 273, 1431, 12, 591, 2135, 441, 18, 18334, 12, 6625, 2934, 6406, 7675, 4939, 1435...
aH = (availHeight - H - max(pS,tSB) - tH)*0.99
aH = (availHeight-H-tHS-hx)*0.99999
def split(self, availWidth, availHeight): canv = self.canv C = self._content x = i = H = pS = 0 n = len(C) I2W = {} for x in xrange(n): c = C[x] I = c._ptoinfo if I not in I2W.keys(): T = I.trailer Hdr = I.header tW, tH = _listWrapOn(T, availWidth, self.canv) tSB = T[0].getSpaceBefore() I2W[I] = T,tW,tH,tSB else: T,tW,...
5ff6a5fdbd2ac83da8c2921d82a3bd22bd2e6039 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3878/5ff6a5fdbd2ac83da8c2921d82a3bd22bd2e6039/flowables.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1416, 12, 2890, 16, 15783, 2384, 16, 15783, 2686, 4672, 848, 90, 273, 365, 18, 4169, 90, 385, 273, 365, 6315, 1745, 619, 273, 277, 273, 670, 273, 293, 55, 273, 374, 290, 273, 562, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1416, 12, 2890, 16, 15783, 2384, 16, 15783, 2686, 4672, 848, 90, 273, 365, 18, 4169, 90, 385, 273, 365, 6315, 1745, 619, 273, 277, 273, 670, 273, 293, 55, 273, 374, 290, 273, 562, 12...
(newModule.__class__.__name__, e)
(new_instance.__class__.__name__, e)
def _reload_module(self, module_instance, glyph): """Reload a module by storing all configuration information, deleting the module, and then recreating and reconnecting it.
9fb3c4b7c35895fdc6dfa58b93ab9b27b60f8410 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4494/9fb3c4b7c35895fdc6dfa58b93ab9b27b60f8410/graphEditor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 17517, 67, 2978, 12, 2890, 16, 1605, 67, 1336, 16, 9440, 4672, 3536, 13013, 279, 1605, 635, 15729, 777, 1664, 1779, 16, 12993, 326, 1605, 16, 471, 1508, 283, 23799, 471, 11812, 310,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 17517, 67, 2978, 12, 2890, 16, 1605, 67, 1336, 16, 9440, 4672, 3536, 13013, 279, 1605, 635, 15729, 777, 1664, 1779, 16, 12993, 326, 1605, 16, 471, 1508, 283, 23799, 471, 11812, 310,...
sys.stderr.write("rhandler setup\n")
def setup(self): """ We need to use socket._fileobject Because SSL.Connection doesn't have a 'dup'. Not exactly sure WHY this is, but this is backed up by comments in socket.py and SSL/connection.c """
b1b23473908f460d8f8c5eb0723232ca502a9876 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7397/b1b23473908f460d8f8c5eb0723232ca502a9876/SecureXMLRPCServer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 12, 2890, 4672, 3536, 1660, 1608, 358, 999, 2987, 6315, 768, 1612, 15191, 7419, 18, 1952, 3302, 1404, 1240, 279, 296, 26427, 10332, 2288, 8950, 3071, 14735, 61, 333, 353, 16, 1496, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 12, 2890, 4672, 3536, 1660, 1608, 358, 999, 2987, 6315, 768, 1612, 15191, 7419, 18, 1952, 3302, 1404, 1240, 279, 296, 26427, 10332, 2288, 8950, 3071, 14735, 61, 333, 353, 16, 1496, ...
length = ZZ(len(S)).exact_log(2) if length != int(length): TypeError, "lookup table length is not a power of 2." self.m = int(length)
self.m = ZZ(len(S)).exact_log(2)
def __init__(self, *args, **kwargs): """ Construct a substitution box (S-box) for a given lookup table `S`.
3495ceab0e02c75313a92b9ead9001643cee42f5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/3495ceab0e02c75313a92b9ead9001643cee42f5/sbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 16, 225, 2826, 4333, 4672, 3536, 14291, 279, 12785, 3919, 261, 55, 17, 2147, 13, 364, 279, 864, 3689, 1014, 1375, 55, 8338, 2, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 16, 225, 2826, 4333, 4672, 3536, 14291, 279, 12785, 3919, 261, 55, 17, 2147, 13, 364, 279, 864, 3689, 1014, 1375, 55, 8338, 2, -100, -100, -10...
var servlet = jsonrpc.ServiceProxy(%(here)r, %(methods)r);
var servlet = new jsonrpc.ServiceProxy(%(here)r, %(methods)r);
def jsonjs(self): env = self.servlet().request().environ() base = self.jsolaitURL lib = self.libURL here = wsgilib.construct_url(env, False) here += '?_action_=jsonaction'; if self.baseConfig: base_base = env['%s.base_url' % self.baseConfig] if not base.startswith('/'): base = base_base + '/' + base if not lib.startswi...
73962900ef0ba113e5bf7c5dd22c4c73d9c76dfb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2097/73962900ef0ba113e5bf7c5dd22c4c73d9c76dfb/jsoncomponent.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1163, 2924, 12, 2890, 4672, 1550, 273, 365, 18, 23231, 7675, 2293, 7675, 28684, 1435, 1026, 273, 365, 18, 2924, 355, 1540, 1785, 2561, 273, 365, 18, 2941, 1785, 2674, 273, 341, 1055, 330...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1163, 2924, 12, 2890, 4672, 1550, 273, 365, 18, 23231, 7675, 2293, 7675, 28684, 1435, 1026, 273, 365, 18, 2924, 355, 1540, 1785, 2561, 273, 365, 18, 2941, 1785, 2674, 273, 341, 1055, 330...
company_id=move.company_id.id context['currency_id']=move.company_id.currency_id.id pricetype=self.pool.get('product.price.type').browse(cr,uid,move.company_id.property_valuation_price_type.id) amount_unit=move.product_id.price_get(pricetype.field, context)[move.product_id.id] amount=amount_unit * q or 1.0
company_id = move.company_id.id context['currency_id'] = move.company_id.currency_id.id pricetype = price_type_obj.browse(cr,uid,move.company_id.property_valuation_price_type.id) amount_unit = move.product_id.price_get(pricetype.field, context)[move.product_id.id] amount = amount_unit * q or 1.0
def action_done(self, cr, uid, ids, context=None): track_flag = False picking_ids = [] for move in self.browse(cr, uid, ids): if move.picking_id: picking_ids.append(move.picking_id.id) if move.move_dest_id.id and (move.state != 'done'): cr.execute('insert into stock_move_history_ids (parent_id,child_id) values (%s,%s)'...
236e0e35d74af3f7e0b707748e0f165c4c1c7baf /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/236e0e35d74af3f7e0b707748e0f165c4c1c7baf/stock.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1301, 67, 8734, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 33, 7036, 4672, 3298, 67, 6420, 273, 1083, 6002, 310, 67, 2232, 273, 5378, 364, 3635, 316, 365, 18, 25731, 12, 3353, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1301, 67, 8734, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 819, 33, 7036, 4672, 3298, 67, 6420, 273, 1083, 6002, 310, 67, 2232, 273, 5378, 364, 3635, 316, 365, 18, 25731, 12, 3353, ...
f.write( '<p>Tests are run on %s platform.</p>' % string.capitalize( sys.platform ) )
f.write( '<p>Tests are run on %s platform.</p>' % platform_name() )
def collect_logs( tag , runner , platform , user , comment , incremental , args , **unused ): import_utils() if comment is None: comment = 'comment.html' comment_path = os.path.join( regression_root, comment ) if not os.path.exists( comment_path ): log( 'Comment file "%s" not found; creating default comment.' % comme...
607bf556f67b3b32e73b3ce08f70fd612b1256b5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7959/607bf556f67b3b32e73b3ce08f70fd612b1256b5/regression.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3274, 67, 10011, 12, 1047, 269, 8419, 269, 4072, 269, 729, 269, 2879, 269, 20649, 269, 833, 269, 2826, 14375, 262, 30, 1930, 67, 5471, 1435, 225, 309, 2879, 353, 599, 30, 2879, 273, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3274, 67, 10011, 12, 1047, 269, 8419, 269, 4072, 269, 729, 269, 2879, 269, 20649, 269, 833, 269, 2826, 14375, 262, 30, 1930, 67, 5471, 1435, 225, 309, 2879, 353, 599, 30, 2879, 273, 29...
return 0
return False
def _dispose(self, mlist, msg, msgdata): # Make sure we have the most up-to-date state mlist.Load() try: pid = os.getpid() self._func(mlist, msg, msgdata) # Failsafe -- a child may have leaked through. if pid <> os.getpid(): syslog('error', 'child process leaked thru: %s', modname) os._exit(1) self.__logged = 0 except ...
e28b5bfa9c4fd0244c5f9967160e37de6d1b4d85 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2120/e28b5bfa9c4fd0244c5f9967160e37de6d1b4d85/OutgoingRunner.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2251, 4150, 12, 2890, 16, 312, 1098, 16, 1234, 16, 1234, 892, 4672, 468, 4344, 3071, 732, 1240, 326, 4486, 731, 17, 869, 17, 712, 919, 312, 1098, 18, 2563, 1435, 775, 30, 4231, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2251, 4150, 12, 2890, 16, 312, 1098, 16, 1234, 16, 1234, 892, 4672, 468, 4344, 3071, 732, 1240, 326, 4486, 731, 17, 869, 17, 712, 919, 312, 1098, 18, 2563, 1435, 775, 30, 4231, ...
return http.Response(stream=template('login.html', **template_dict))
return HTMLResponse(stream=template('login.html', **template_dict))
def errors_found(): for key, value in filled_in.iteritems(): template_dict[key] = value minus = 1 if 'email' in template_dict else 0 size = len(template_dict) - minus count = 0 boxes = [] if size == 1: return ('',) for i in template_dict: if '_' in i: count += 1 plural = True if count > 1 else False template_dict['erro...
2c1a5997a8830efcfb475993e5f1efb45ed121ea /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/2c1a5997a8830efcfb475993e5f1efb45ed121ea/twist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1334, 67, 7015, 13332, 364, 498, 16, 460, 316, 6300, 67, 267, 18, 2165, 3319, 13332, 1542, 67, 1576, 63, 856, 65, 273, 460, 12647, 273, 404, 309, 296, 3652, 11, 316, 1542, 67, 1576, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1334, 67, 7015, 13332, 364, 498, 16, 460, 316, 6300, 67, 267, 18, 2165, 3319, 13332, 1542, 67, 1576, 63, 856, 65, 273, 460, 12647, 273, 404, 309, 296, 3652, 11, 316, 1542, 67, 1576, ...
env_tuple_list = SDKEnvironmentUpdate[sdk_dir]
env_tuple_list = SDKEnvironmentUpdates[sdk_dir]
def set_sdk_by_directory(env, sdk_dir): global SDKEnvironmentUpdates try: env_tuple_list = SDKEnvironmentUpdate[sdk_dir] except KeyError: env_tuple_list = [] SDKEnvironmentUpdate[sdk_dir] = env_tuple_list include_path = os.path.join(sdk_dir, 'include') mfc_path = os.path.join(include_path, 'mfc') atl_path = os.path.jo...
651342c0d69a06f19d7db9560ff8c8219611257f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12817/651342c0d69a06f19d7db9560ff8c8219611257f/sdk.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 20907, 67, 1637, 67, 5149, 12, 3074, 16, 14446, 67, 1214, 4672, 2552, 3881, 5494, 5121, 775, 30, 1550, 67, 8052, 67, 1098, 273, 3881, 5494, 5121, 63, 20907, 67, 1214, 65, 1335...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20907, 67, 1637, 67, 5149, 12, 3074, 16, 14446, 67, 1214, 4672, 2552, 3881, 5494, 5121, 775, 30, 1550, 67, 8052, 67, 1098, 273, 3881, 5494, 5121, 63, 20907, 67, 1214, 65, 1335...
origin = self.ren.GetOrigin() cam = self.ren.GetActiveCamera()
origin = ren.GetOrigin() cam = ren.GetActiveCamera()
def Reposition(self): """ Based on code of method Zoom in the vtkInteractorStyleRubberBandZoom, the of vtk 5.4.3 """ size = self.ren.GetSize()
c64e6b6cf3ce5b3574fd1784d421ddaf5ea6c9d1 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10228/c64e6b6cf3ce5b3574fd1784d421ddaf5ea6c9d1/viewer_slice.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 868, 3276, 12, 2890, 4672, 3536, 25935, 603, 981, 434, 707, 2285, 4252, 316, 326, 13659, 2465, 3362, 2885, 54, 373, 744, 14231, 11497, 16, 326, 434, 13659, 1381, 18, 24, 18, 23, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 868, 3276, 12, 2890, 4672, 3536, 25935, 603, 981, 434, 707, 2285, 4252, 316, 326, 13659, 2465, 3362, 2885, 54, 373, 744, 14231, 11497, 16, 326, 434, 13659, 1381, 18, 24, 18, 23, 3536, ...
if self.request.get('lang', False):
if self.request.form.get('lang', False):
def getPreferredLanguages(self):
03248eadc035742375ff98de1a853d1bfd727b0e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8420/03248eadc035742375ff98de1a853d1bfd727b0e/i18n.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12822, 4193, 12912, 12, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12822, 4193, 12912, 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, ...
Display = TreeDisplayModel()
display = TreeDisplayModel()
def create_operations_box(self): """Create and return the operations box (which holds a tree view)""" scrolled_window = gtk.ScrolledWindow() scrolled_window.set_policy(gtk.POLICY_NEVER, gtk.POLICY_AUTOMATIC) self.tree_store = TreeInfoModel() Display = TreeDisplayModel() mdl = self.tree_store.get_model() self.view = Dis...
9d492cae068d04dccea7b824cceed2984729452a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7853/9d492cae068d04dccea7b824cceed2984729452a/GUI.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 17542, 67, 2147, 12, 2890, 4672, 3536, 1684, 471, 327, 326, 5295, 3919, 261, 12784, 14798, 279, 2151, 1476, 15574, 888, 25054, 67, 5668, 273, 22718, 18, 1541, 25054, 3829, 1435, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 17542, 67, 2147, 12, 2890, 4672, 3536, 1684, 471, 327, 326, 5295, 3919, 261, 12784, 14798, 279, 2151, 1476, 15574, 888, 25054, 67, 5668, 273, 22718, 18, 1541, 25054, 3829, 1435, ...
return _ldap_call(self._l.modrdn,dn,newrdn,delold)
return self._ldap_call(self._l.modrdn,dn,newrdn,delold)
def modrdn(self,dn,newrdn,delold=1): return _ldap_call(self._l.modrdn,dn,newrdn,delold)
140b2770ed9a36efdac97d90834cdd76cd0d786b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4610/140b2770ed9a36efdac97d90834cdd76cd0d786b/ldapthreadlock.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 681, 86, 5176, 12, 2890, 16, 5176, 16, 2704, 86, 5176, 16, 3771, 1673, 33, 21, 4672, 327, 389, 14394, 67, 1991, 12, 2890, 6315, 80, 18, 1711, 86, 5176, 16, 5176, 16, 2704, 86, 5176, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 681, 86, 5176, 12, 2890, 16, 5176, 16, 2704, 86, 5176, 16, 3771, 1673, 33, 21, 4672, 327, 389, 14394, 67, 1991, 12, 2890, 6315, 80, 18, 1711, 86, 5176, 16, 5176, 16, 2704, 86, 5176, ...
self.pixels_points[i].pop(j) self.points[i].pop(j) self.colours[i].pop(j) if (i, j) == self.point_dragged: self.point_dragged = None if len(self.points[i]) == 1: self.points.pop(i) self.pixels_points.pop(i) self.colours.pop(i)
self.RemovePoint(i, j)
def OnRighClick(self, evt): point = self._has_clicked_in_a_point(evt.GetPositionTuple()) if point: i, j = point print "RightClick", i, j self.pixels_points[i].pop(j) self.points[i].pop(j) self.colours[i].pop(j) if (i, j) == self.point_dragged: self.point_dragged = None if len(self.points[i]) == 1: self.points.pop(i) se...
6a2fe195f10ee152dee13c99203f19c8eda531e8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10228/6a2fe195f10ee152dee13c99203f19c8eda531e8/clut_raycasting.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 54, 2031, 6563, 12, 2890, 16, 6324, 4672, 1634, 273, 365, 6315, 5332, 67, 7475, 329, 67, 267, 67, 69, 67, 1153, 12, 73, 11734, 18, 967, 2555, 9038, 10756, 309, 1634, 30, 277, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2755, 54, 2031, 6563, 12, 2890, 16, 6324, 4672, 1634, 273, 365, 6315, 5332, 67, 7475, 329, 67, 267, 67, 69, 67, 1153, 12, 73, 11734, 18, 967, 2555, 9038, 10756, 309, 1634, 30, 277, 1...
return sb.ndarray.__setattr__(self,attr,val)
return object.__setattr__(self,attr,val)
def __setattr__(self, attr, val): fielddict = sb.ndarray.__getattribute__(self,'dtype').fields try: res = fielddict[attr][:2] except: return sb.ndarray.__setattr__(self,attr,val) return self.setfield(val,*res)
34b811398d0a7ef3583a0539b1b61b343e55d237 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14925/34b811398d0a7ef3583a0539b1b61b343e55d237/records.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 542, 1747, 972, 12, 2890, 16, 1604, 16, 1244, 4672, 7314, 292, 449, 933, 273, 2393, 18, 25681, 16186, 588, 4589, 972, 12, 2890, 11189, 8972, 16063, 2821, 775, 30, 400, 273, 7314, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 542, 1747, 972, 12, 2890, 16, 1604, 16, 1244, 4672, 7314, 292, 449, 933, 273, 2393, 18, 25681, 16186, 588, 4589, 972, 12, 2890, 11189, 8972, 16063, 2821, 775, 30, 400, 273, 7314, ...
self.check = Checkbutton(self, text=label, variable=self.variable) self.check.pack(side=LEFT)
self.check = tk.Checkbutton(self, text=label, variable=self.variable) self.check.pack(side=tk.LEFT)
def __init__(self, master=None, label="Debug", default=False, *args, **kwargs): """Create a Flag widget with the given label and default value.
f057996c3a6de2d5fabf3ad7997bbd1f796a9e23 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4675/f057996c3a6de2d5fabf3ad7997bbd1f796a9e23/meta.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4171, 33, 7036, 16, 1433, 1546, 2829, 3113, 805, 33, 8381, 16, 380, 1968, 16, 2826, 4333, 4672, 3536, 1684, 279, 9960, 3604, 598, 326, 864, 1433, 471, 80...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1001, 2738, 972, 12, 2890, 16, 4171, 33, 7036, 16, 1433, 1546, 2829, 3113, 805, 33, 8381, 16, 380, 1968, 16, 2826, 4333, 4672, 3536, 1684, 279, 9960, 3604, 598, 326, 864, 1433, 471, 80...
Yield tuples of the form (QUERY, package_id, id,).
Yield tuples of the form (QUERY, package_id, id, mimetype, schema, url).
def iter_queries(self, package_ids, id=None, id_alt=None): """ Yield tuples of the form (QUERY, package_id, id,). """ assert _DF or not isinstance(package_ids, basestring)
342ced6909076a9f201646311ba592017d1d5539 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11977/342ced6909076a9f201646311ba592017d1d5539/sqlite.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1400, 67, 13748, 12, 2890, 16, 2181, 67, 2232, 16, 612, 33, 7036, 16, 612, 67, 2390, 33, 7036, 4672, 3536, 31666, 10384, 434, 326, 646, 261, 10753, 16, 2181, 67, 350, 16, 612, 16, 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, 1400, 67, 13748, 12, 2890, 16, 2181, 67, 2232, 16, 612, 33, 7036, 16, 612, 67, 2390, 33, 7036, 4672, 3536, 31666, 10384, 434, 326, 646, 261, 10753, 16, 2181, 67, 350, 16, 612, 16, 12...
self.__lock.release()
self._available.release()
def get_cnx(self, timeout=None): start = time.time() self.__lock.acquire() try: while True: if self.__cnxs: cnx = self.__cnxs.pop(0) break elif self.__maxsize and self.__cursize <= self.__maxsize: cnx = PooledConnection(self, self.__cnx_class(**self.__args)) self.__cursize += 1 break else: if timeout: self.__available....
3ae5818256d7afb7361900047341642489d25e5a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/3ae5818256d7afb7361900047341642489d25e5a/db.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 10305, 92, 12, 2890, 16, 2021, 33, 7036, 4672, 787, 273, 813, 18, 957, 1435, 365, 16186, 739, 18, 1077, 1039, 1435, 775, 30, 1323, 1053, 30, 309, 365, 16186, 10305, 13713, 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, 336, 67, 10305, 92, 12, 2890, 16, 2021, 33, 7036, 4672, 787, 273, 813, 18, 957, 1435, 365, 16186, 739, 18, 1077, 1039, 1435, 775, 30, 1323, 1053, 30, 309, 365, 16186, 10305, 13713, 30,...
virtual=1))
virtual=1)), Whitespace.NL
for typedef in self.includedActorTypedefs: self.cls.addstmt(typedef)
e33655ed3bb4f79bad4b4db09009c3bf557b9905 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11102/e33655ed3bb4f79bad4b4db09009c3bf557b9905/lower.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 364, 618, 536, 316, 365, 18, 20405, 17876, 559, 12537, 30, 365, 18, 6429, 18, 1289, 10589, 12, 723, 536, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 364, 618, 536, 316, 365, 18, 20405, 17876, 559, 12537, 30, 365, 18, 6429, 18, 1289, 10589, 12, 723, 536, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
mant = Q & ((1 << MANT_DIG - 1) - 1)
mant = Q & ((one << MANT_DIG - 1) - 1)
def float_unpack(Q, size): """Convert a 32-bit or 64-bit integer created by float_pack into a Python float.""" if size == 8: MIN_EXP = -1021 # = sys.float_info.min_exp MAX_EXP = 1024 # = sys.float_info.max_exp MANT_DIG = 53 # = sys.float_info.mant_dig BITS = 64 elif size == 4: MIN_EXP = -125 # C's FLT_MIN_EXP ...
6173039b94d6cc71178fa216f7bd538440d7f2ea /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6934/6173039b94d6cc71178fa216f7bd538440d7f2ea/ieee.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1431, 67, 17309, 12, 53, 16, 963, 4672, 3536, 2723, 279, 3847, 17, 3682, 578, 5178, 17, 3682, 3571, 2522, 635, 1431, 67, 2920, 1368, 279, 6600, 1431, 12123, 225, 309, 963, 422, 1725, 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, 1431, 67, 17309, 12, 53, 16, 963, 4672, 3536, 2723, 279, 3847, 17, 3682, 578, 5178, 17, 3682, 3571, 2522, 635, 1431, 67, 2920, 1368, 279, 6600, 1431, 12123, 225, 309, 963, 422, 1725, 3...
return ('Dictionary text must contain one or more white-space ' 'delimited words.') class InvalidSampleTextError(Exception):
return ('The dictionary must be a list of one or more words.') class InvalidSampleError(Exception):
def __str__(self): return ('Dictionary text must contain one or more white-space ' 'delimited words.')
bc9d5a1d58b676e7cc6dcf78f4cef02419954da2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3480/bc9d5a1d58b676e7cc6dcf78f4cef02419954da2/lipsum.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 327, 7707, 10905, 977, 1297, 912, 1245, 578, 1898, 9578, 17, 2981, 296, 296, 3771, 1038, 329, 4511, 1093, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 701, 972, 12, 2890, 4672, 327, 7707, 10905, 977, 1297, 912, 1245, 578, 1898, 9578, 17, 2981, 296, 296, 3771, 1038, 329, 4511, 1093, 13, 2, -100, -100, -100, -100, -100, -100, -100,...
getPackedInputSandbox(f)
getPackedInputSandbox(os.path.join(orig_wdir,f))
def stopcb(poll=False): global exitcode if poll: exitcode = child.poll() return exitcode != -1
050e690cfd567aae5e2aab0afcf5cde625dacb9f /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1488/050e690cfd567aae5e2aab0afcf5cde625dacb9f/LCG.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2132, 7358, 12, 13835, 33, 8381, 4672, 2552, 2427, 710, 309, 7672, 30, 2427, 710, 273, 1151, 18, 13835, 1435, 327, 2427, 710, 480, 300, 21, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2132, 7358, 12, 13835, 33, 8381, 4672, 2552, 2427, 710, 309, 7672, 30, 2427, 710, 273, 1151, 18, 13835, 1435, 327, 2427, 710, 480, 300, 21, 2, -100, -100, -100, -100, -100, -100, -100, ...
raise errors['unknown'][1], errors['unknown'][0]
raise errors['unknown'][1](errors['unknown'][0])
def leastsq(func,x0,args=(),Dfun=None,full_output=0,col_deriv=0,ftol=1.49012e-8,xtol=1.49012e-8,gtol=0.0,maxfev=0,epsfcn=0.0,factor=100,diag=None,warning=True): """Minimize the sum of squares of a set of equations. Description: Return the point which minimizes the sum of squares of M (non-linear) equations in N unkno...
510547f61f981abe1ea89b12aa0442c154378da2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12971/510547f61f981abe1ea89b12aa0442c154378da2/minpack.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4520, 11410, 12, 644, 16, 92, 20, 16, 1968, 33, 9334, 40, 12125, 33, 7036, 16, 2854, 67, 2844, 33, 20, 16, 1293, 67, 20615, 33, 20, 16, 1222, 355, 33, 21, 18, 7616, 1611, 22, 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, 4520, 11410, 12, 644, 16, 92, 20, 16, 1968, 33, 9334, 40, 12125, 33, 7036, 16, 2854, 67, 2844, 33, 20, 16, 1293, 67, 20615, 33, 20, 16, 1222, 355, 33, 21, 18, 7616, 1611, 22, 73, ...
figure(1)
def plot_systematics(filelist,cp,dir,epoch,dag,opts): flist = [] for file in filelist: if os.path.split(file)[-1][:8] == "out-bin-": flist.append(file) freq = [] freqfile = cp.get('noisecomp','freq-file') for line in open(freqfile,'r').readlines(): freq.append(float(line.strip())) hfr1 = {} hfi1 = {} htr1 = {} hti1 = ...
da21469de3d5dc0444d38910fa554bbd3b46754d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5758/da21469de3d5dc0444d38910fa554bbd3b46754d/strain.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3207, 67, 4299, 270, 2102, 12, 7540, 5449, 16, 4057, 16, 1214, 16, 12015, 16, 30204, 16, 4952, 4672, 284, 1098, 273, 5378, 364, 585, 316, 26204, 30, 309, 1140, 18, 803, 18, 4939, 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, 3207, 67, 4299, 270, 2102, 12, 7540, 5449, 16, 4057, 16, 1214, 16, 12015, 16, 30204, 16, 4952, 4672, 284, 1098, 273, 5378, 364, 585, 316, 26204, 30, 309, 1140, 18, 803, 18, 4939, 12, ...
total_debit = currency_pool.compute(cr, uid, currency_id, company_currency, total_debit)
total_debit = currency_pool.compute(cr, uid, currency_id, company_currency, total_debit, context=context_multi_currency)
def onchange_partner_id(self, cr, uid, ids, partner_id, journal_id, price, currency_id, ttype, context=None): """price Returns a dict that contains new values and context
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, 603, 3427, 67, 31993, 67, 350, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 19170, 67, 350, 16, 13001, 67, 350, 16, 6205, 16, 5462, 67, 350, 16, 27963, 16, 819, 33, 7036, 4672, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 3427, 67, 31993, 67, 350, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 19170, 67, 350, 16, 13001, 67, 350, 16, 6205, 16, 5462, 67, 350, 16, 27963, 16, 819, 33, 7036, 4672, 3536, ...
button.clicked = partial(hide_opts, pager, optsval)
button._callback_add('clicked', partial(hide_opts, pager, optsval))
def show_opts(pager, *args, **kwargs): box = elementary.Box(pager) box.show() scroller = elementary.Scroller(pager) scroller.show() scroller.bounce_set(0, 0) scroller.size_hint_weight_set(1.0, 1.0) scroller.size_hint_align_set(-1.0, -1.0) box.pack_start(scroller) oframe = elementary.Frame(pager) oframe.label_set(_("O...
925033402ecbb94f7bf67b07664d713f2f07039b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11430/925033402ecbb94f7bf67b07664d713f2f07039b/opimd_reply.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 67, 4952, 12, 24081, 16, 380, 1968, 16, 2826, 4333, 4672, 3919, 273, 930, 814, 18, 3514, 12, 24081, 13, 3919, 18, 4500, 1435, 225, 888, 1539, 273, 930, 814, 18, 1541, 1539, 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, 2405, 67, 4952, 12, 24081, 16, 380, 1968, 16, 2826, 4333, 4672, 3919, 273, 930, 814, 18, 3514, 12, 24081, 13, 3919, 18, 4500, 1435, 225, 888, 1539, 273, 930, 814, 18, 1541, 1539, 12, ...
self.layoutWidget1 = QtGui.QWidget(self.tab_2) self.layoutWidget1.setGeometry(QtCore.QRect(90,10,569,73)) self.layoutWidget1.setObjectName("layoutWidget1") self.vboxlayout13 = QtGui.QVBoxLayout(self.layoutWidget1) self.vboxlayout13.setObjectName("vboxlayout13") self.label_2 = QtGui.QLabel(self.layoutWidget1)
self.layoutWidget2 = QtGui.QWidget(self.tab_2) self.layoutWidget2.setGeometry(QtCore.QRect(90,10,583,73)) self.layoutWidget2.setObjectName("layoutWidget2") self.vboxlayout12 = QtGui.QVBoxLayout(self.layoutWidget2) self.vboxlayout12.setObjectName("vboxlayout12") self.label_2 = QtGui.QLabel(self.layoutWidget2)
def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(QtCore.QSize(QtCore.QRect(0,0,776,593).size()).expandedTo(MainWindow.minimumSizeHint())) MainWindow.setWindowIcon(QtGui.QIcon("../../../.designer/backup"))
79b42f390e6f53f319f4cccbce3f6018d111c729 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1108/79b42f390e6f53f319f4cccbce3f6018d111c729/main_ui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 13943, 12, 2890, 16, 12740, 3829, 4672, 12740, 3829, 18, 542, 16707, 2932, 6376, 3829, 7923, 12740, 3829, 18, 15169, 12, 23310, 4670, 18, 53, 1225, 12, 23310, 4670, 18, 53, 6120, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3875, 13943, 12, 2890, 16, 12740, 3829, 4672, 12740, 3829, 18, 542, 16707, 2932, 6376, 3829, 7923, 12740, 3829, 18, 15169, 12, 23310, 4670, 18, 53, 1225, 12, 23310, 4670, 18, 53, 6120, 1...
print "\n".join(out)
def _str_member_list(self, name): """ Generate a member listing, autosummary:: table where possible, and a table where not.
138b7efa6ddc85a068d234a5067ea5a71a6b28db /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8817/138b7efa6ddc85a068d234a5067ea5a71a6b28db/docscrape_sphinx.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 701, 67, 5990, 67, 1098, 12, 2890, 16, 508, 4672, 3536, 6654, 279, 3140, 11591, 16, 13133, 27804, 2866, 1014, 1625, 3323, 16, 471, 279, 1014, 1625, 486, 18, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 701, 67, 5990, 67, 1098, 12, 2890, 16, 508, 4672, 3536, 6654, 279, 3140, 11591, 16, 13133, 27804, 2866, 1014, 1625, 3323, 16, 471, 279, 1014, 1625, 486, 18, 2, -100, -100, -100, -...
self.new_word = []
def on_back_clicked(self, widget=None, data=None): if self.search.get_text()!= '': self.frame2.hide() self.search.set_text('') self.welcome.show() self.note.set_alignment(0.5, 0.1) self.note.set_markup('<span foreground="white"><b>Nothing selected</b></span>') return self.treestore.clear() #self.search.set_text('') sel...
3d4b7cae0d5feaf772d3ed4be964bb8a9304ed1f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/10994/3d4b7cae0d5feaf772d3ed4be964bb8a9304ed1f/wordgroupz.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 823, 67, 7475, 329, 12, 2890, 16, 3604, 33, 7036, 16, 501, 33, 7036, 4672, 309, 365, 18, 3072, 18, 588, 67, 955, 1435, 5, 33, 875, 30, 365, 18, 3789, 22, 18, 11248, 1435, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 67, 823, 67, 7475, 329, 12, 2890, 16, 3604, 33, 7036, 16, 501, 33, 7036, 4672, 309, 365, 18, 3072, 18, 588, 67, 955, 1435, 5, 33, 875, 30, 365, 18, 3789, 22, 18, 11248, 1435, ...
use_f_model_scaled = False):
use_f_model_scaled = False, overall_scale = 1.0, f_ordered_solvent = None, f_ordered_solvent_dist = None, n_ordered_water = 0, b_ordered_water = 0.0): assert f_obs is not None assert f_obs.is_real_array()
def __init__(self, f_obs = None, r_free_flags = None, b_cart = [0.,0.,0.,0.,0.,0.], k_sol = 0.0, b_sol = 0.0, sf_algorithm = "fft", sf_cos_sin_table = True, target_name = None, abcd = None, alpha_beta_params...
65c736cff24544f6f106f227d62f69c231be8261 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/696/65c736cff24544f6f106f227d62f69c231be8261/f_model.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 284, 67, 10992, 1171, 273, 599, 16, 436, 67, 9156, 67, 7133, 1850, 273, 599, 16, 324, 67, 11848, 7734, 273, 306, 20, 12990, 20, 12990, 20, 12990, 20, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 284, 67, 10992, 1171, 273, 599, 16, 436, 67, 9156, 67, 7133, 1850, 273, 599, 16, 324, 67, 11848, 7734, 273, 306, 20, 12990, 20, 12990, 20, 12990, 20, 1...
info[field][i] = (buginfo[0], bug_url % buginfo[0])
try: full_bug_url = bug_url % buginfo[0] info[field][i] = (buginfo[0], full_bug_url) except TypeError: logging.warning("Invalid bugtracker url format")
def review_detail(request, review_request_id, template_name="reviews/review_detail.html"): """ Main view for review requests. This covers the review request information and all the reviews on it. """ review_request = get_object_or_404(ReviewRequest, pk=review_request_id) reviews = review_request.get_public_reviews() d...
ee4b6ce0d22b89e91f0e4559331af6b81f826430 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1600/ee4b6ce0d22b89e91f0e4559331af6b81f826430/views.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10725, 67, 8992, 12, 2293, 16, 10725, 67, 2293, 67, 350, 16, 1542, 67, 529, 1546, 266, 7061, 19, 16041, 67, 8992, 18, 2620, 6, 4672, 3536, 12740, 1476, 364, 10725, 3285, 18, 1220, 2555...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10725, 67, 8992, 12, 2293, 16, 10725, 67, 2293, 67, 350, 16, 1542, 67, 529, 1546, 266, 7061, 19, 16041, 67, 8992, 18, 2620, 6, 4672, 3536, 12740, 1476, 364, 10725, 3285, 18, 1220, 2555...
while self.updating_art: gtk.main_iteration()
def update_album_art(self): if self.downloading_art: return self.stop_art_update = True while self.updating_art: gtk.main_iteration() thread = threading.Thread(target=self.update_album_art2) thread.start()
7887607cb534b053442ac9710ec7241659a64004 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2312/7887607cb534b053442ac9710ec7241659a64004/sonata.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 25090, 67, 485, 12, 2890, 4672, 309, 365, 18, 7813, 310, 67, 485, 30, 327, 365, 18, 5681, 67, 485, 67, 2725, 273, 1053, 2650, 273, 17254, 18, 3830, 12, 3299, 33, 2890, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1089, 67, 25090, 67, 485, 12, 2890, 4672, 309, 365, 18, 7813, 310, 67, 485, 30, 327, 365, 18, 5681, 67, 485, 67, 2725, 273, 1053, 2650, 273, 17254, 18, 3830, 12, 3299, 33, 2890, 18, ...
e_dir = os.path.join(self._root_dir, entry)
entry_fixed = entry.replace('/', os.path.sep) e_dir = os.path.join(self._root_dir, entry_fixed)
def RunOnDeps(self, command, args): """Runs a command on each dependency in a client and its dependencies.
7e4f973c324c3a681c5f85ed5f17db8b8829ac9e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6076/7e4f973c324c3a681c5f85ed5f17db8b8829ac9e/gclient.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1939, 1398, 14430, 12, 2890, 16, 1296, 16, 833, 4672, 3536, 9361, 279, 1296, 603, 1517, 4904, 316, 279, 1004, 471, 2097, 5030, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1939, 1398, 14430, 12, 2890, 16, 1296, 16, 833, 4672, 3536, 9361, 279, 1296, 603, 1517, 4904, 316, 279, 1004, 471, 2097, 5030, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100...
accel = self.client.get_string(gconf_path) if gconf_path in [x[0] for x in GHOTKEYS]: globalhotkeys.unbind(accel) if not globalhotkeys.bind(key, self.guake.show_hide): globalhotkeys.bind(accel, self.guake.show_hide) model.set(giter, 2, accel) raise ShowableError(_('key binding error'), _('Unable to bind %s key') % ke...
def each_key(model, path, subiter): keyentry = model.get_value(subiter, 2) if keyentry and keyentry == hotkey: msg = _("The shortcut \"%s\" is already in use.") % keylabel raise ShowableError(_('Error setting keybinding.'), msg, -1)
de00492a8254b0d7a402011a0823338d7843934d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11147/de00492a8254b0d7a402011a0823338d7843934d/prefs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1517, 67, 856, 12, 2284, 16, 589, 16, 720, 2165, 4672, 498, 4099, 273, 938, 18, 588, 67, 1132, 12, 1717, 2165, 16, 576, 13, 309, 498, 4099, 471, 498, 4099, 422, 12811, 856, 30, 1234,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1517, 67, 856, 12, 2284, 16, 589, 16, 720, 2165, 4672, 498, 4099, 273, 938, 18, 588, 67, 1132, 12, 1717, 2165, 16, 576, 13, 309, 498, 4099, 471, 498, 4099, 422, 12811, 856, 30, 1234,...
objects = self.object_filenames(sources, strip_dir=1,
objects = self.object_filenames(sources, strip_dir=0,
def _prep_compile(self, sources, output_dir, depends=None): """Decide which souce files must be recompiled.
bca6afe49388ea29611207af33e3eb07a4170da1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/bca6afe49388ea29611207af33e3eb07a4170da1/ccompiler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 19109, 67, 11100, 12, 2890, 16, 5550, 16, 876, 67, 1214, 16, 10935, 33, 7036, 4672, 3536, 1799, 831, 1492, 272, 1395, 311, 1390, 1297, 506, 283, 19397, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 19109, 67, 11100, 12, 2890, 16, 5550, 16, 876, 67, 1214, 16, 10935, 33, 7036, 4672, 3536, 1799, 831, 1492, 272, 1395, 311, 1390, 1297, 506, 283, 19397, 18, 2, -100, -100, -100, -1...
def _state(self, cr, uid, ids, name, args, context={}):
def _state(self, cr, uid, ids, name, args, context=None):
def _state(self, cr, uid, ids, name, args, context={}): result = {} mod_obj = self.pool.get('ir.module.module') for md in self.browse(cr, uid, ids): ids = mod_obj.search(cr, uid, [('name', '=', md.name)]) if ids: result[md.id] = mod_obj.read(cr, uid, [ids[0]], ['state'])[0]['state'] else: result[md.id] = 'unknown' retu...
e7222cab5279bd291723fbbb0cc5fed751321ff0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/e7222cab5279bd291723fbbb0cc5fed751321ff0/module.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2019, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 508, 16, 833, 16, 819, 33, 7036, 4672, 563, 273, 2618, 681, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 481, 18, 2978, 18, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 2019, 12, 2890, 16, 4422, 16, 4555, 16, 3258, 16, 508, 16, 833, 16, 819, 33, 7036, 4672, 563, 273, 2618, 681, 67, 2603, 273, 365, 18, 6011, 18, 588, 2668, 481, 18, 2978, 18, 2...
print " <3> Data Set 2, Data:", d2_data_seconds
print "Data Set 2, Data:", d2_data_seconds
def extract_comp_data(comp_file_info): ## Read in d line dict from config file and Process data from source .csv files. d1_data = [] d2_data = [] d1_data_dict = {} d2_data_dict = {} d1_scatter_data_labels = [] d2_scatter_data_labels = [] #List of variables from configuration file column names. d1_data_filename = com...
f66ca75013a32a9d59d8e58dec0baa78eda49b79 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12/f66ca75013a32a9d59d8e58dec0baa78eda49b79/Validation_Data_Processor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2608, 67, 2919, 67, 892, 12, 2919, 67, 768, 67, 1376, 4672, 7541, 2720, 316, 302, 980, 2065, 628, 642, 585, 471, 4389, 501, 628, 1084, 263, 6715, 1390, 18, 225, 302, 21, 67, 892, 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, 2608, 67, 2919, 67, 892, 12, 2919, 67, 768, 67, 1376, 4672, 7541, 2720, 316, 302, 980, 2065, 628, 642, 585, 471, 4389, 501, 628, 1084, 263, 6715, 1390, 18, 225, 302, 21, 67, 892, 273...
f = open(filename, 'w') f.write((filename + '\n').encode("utf-8")) f.close() os.access(filename,os.R_OK) os.remove(filename) os.chdir(oldwd) os.rmdir(dirname)
try: with open(filename, 'w') as f: f.write((filename + '\n').encode("utf-8")) os.access(filename,os.R_OK) os.remove(filename) finally: os.chdir(oldwd) os.rmdir(dirname) class UnicodeNFCFileTests(UnicodeFileTests): normal_form = 'NFC' class UnicodeNFDFileTests(UnicodeFileTests): normal_form = 'NFD' class UnicodeN...
def test_directory(self): dirname = os.path.join(test_support.TESTFN,u'Gr\xfc\xdf-\u66e8\u66e9\u66eb') filename = u'\xdf-\u66e8\u66e9\u66eb' oldwd = os.getcwd() os.mkdir(dirname) os.chdir(dirname) f = open(filename, 'w') f.write((filename + '\n').encode("utf-8")) f.close() os.access(filename,os.R_OK) os.remove(filename...
5ffe43e17133f7a72b6157e1e7cbbdfa34517672 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8125/5ffe43e17133f7a72b6157e1e7cbbdfa34517672/test_pep277.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 5149, 12, 2890, 4672, 4283, 273, 1140, 18, 803, 18, 5701, 12, 3813, 67, 13261, 18, 16961, 19793, 16, 89, 11, 20799, 64, 30772, 64, 92, 2180, 6943, 89, 6028, 73, 28, 64, 89,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5149, 12, 2890, 4672, 4283, 273, 1140, 18, 803, 18, 5701, 12, 3813, 67, 13261, 18, 16961, 19793, 16, 89, 11, 20799, 64, 30772, 64, 92, 2180, 6943, 89, 6028, 73, 28, 64, 89,...
pass
print_exception(exc_info[0], exc_info[1], exc_info[2], file=errors)
def start_response(status, headers, exc_info=None): if exc_info: try: if headers_sent: # Re-raise original exception only if headers sent raise exc_info[0], exc_info[1], exc_info[2] else: # We assume that the sender, who is probably setting # the headers a second time /w a 500 has produced # a more appropriate response...
8fdf9d4aa02d01c741fb2d098b973000ae755ed2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2097/8fdf9d4aa02d01c741fb2d098b973000ae755ed2/wsgilib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 67, 2740, 12, 2327, 16, 1607, 16, 3533, 67, 1376, 33, 7036, 4672, 309, 3533, 67, 1376, 30, 775, 30, 309, 1607, 67, 7569, 30, 468, 868, 17, 11628, 2282, 1520, 1338, 309, 1607, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 787, 67, 2740, 12, 2327, 16, 1607, 16, 3533, 67, 1376, 33, 7036, 4672, 309, 3533, 67, 1376, 30, 775, 30, 309, 1607, 67, 7569, 30, 468, 868, 17, 11628, 2282, 1520, 1338, 309, 1607, 32...
if not rescond: size = len(recarr) * self.rowsize + 1 self._limdatacache.setitem(item, recarr, size)
if not rescond: size = len(recarr) * self.rowsize + 1 self._limdatacache.setitem(item, recarr, size)
def readIndexed2XXX(self, condition, condvars, field=None, flavor=None): """Read a slice of table fulfilling the condition."""
0681da097c6bbcd4976a4e47431ba6dd8ae3324c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12687/0681da097c6bbcd4976a4e47431ba6dd8ae3324c/Table.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 15034, 22, 15639, 12, 2890, 16, 2269, 16, 6941, 4699, 16, 652, 33, 7036, 16, 19496, 33, 7036, 4672, 3536, 1994, 279, 2788, 434, 1014, 16136, 74, 5789, 326, 2269, 12123, 2, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15034, 22, 15639, 12, 2890, 16, 2269, 16, 6941, 4699, 16, 652, 33, 7036, 16, 19496, 33, 7036, 4672, 3536, 1994, 279, 2788, 434, 1014, 16136, 74, 5789, 326, 2269, 12123, 2, -100, -...
cherrypy.engine.exit()
try: cherrypy.engine.exit() finally: cherrypy.server.httpserver = None
def exit(self): cherrypy.engine.exit()
c290d0037cc5585a836c0b4cdcc92cdea15833f6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/c290d0037cc5585a836c0b4cdcc92cdea15833f6/server.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2427, 12, 2890, 4672, 462, 370, 28398, 18, 8944, 18, 8593, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2427, 12, 2890, 4672, 462, 370, 28398, 18, 8944, 18, 8593, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
for d in self.projects:
print self.projects for d in self.projects: self.pbxBuildTree(d.sourceTree)
def writePBXBuildFile(self): w = self.file.write w("/* Begin PBXBuildFile section */\n") for d in self.projects:
7acf31f605f22a42f548bfa94b2b3190987034c7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7302/7acf31f605f22a42f548bfa94b2b3190987034c7/xcode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 20724, 60, 3116, 812, 12, 2890, 4672, 341, 273, 365, 18, 768, 18, 2626, 341, 2932, 20308, 14323, 20819, 60, 3116, 812, 2442, 1195, 64, 82, 7923, 364, 302, 316, 365, 18, 13582, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 20724, 60, 3116, 812, 12, 2890, 4672, 341, 273, 365, 18, 768, 18, 2626, 341, 2932, 20308, 14323, 20819, 60, 3116, 812, 2442, 1195, 64, 82, 7923, 364, 302, 316, 365, 18, 13582, 30...
raise osv.except_osv(_('Error!'), _('Can not create Journal Entry, Output Account defined on this product and Variant account on category of this product is same.'))
raise osv.except_osv(_('Error!'), _('Can not create Journal Entry, Output Account defined on this product and Variant account on category of this product are same.'))
def _get_accounting_data_for_valuation(self, cr, uid, move, context=None): """ Return the accounts and journal to use to post Journal Entries for the real-time valuation of the move.
f8d9f98f342cde826c20ddb03f3a861ff792ba29 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/f8d9f98f342cde826c20ddb03f3a861ff792ba29/stock.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 4631, 310, 67, 892, 67, 1884, 67, 4531, 367, 12, 2890, 16, 4422, 16, 4555, 16, 3635, 16, 819, 33, 7036, 4672, 3536, 2000, 326, 9484, 471, 13001, 358, 999, 358, 1603, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 4631, 310, 67, 892, 67, 1884, 67, 4531, 367, 12, 2890, 16, 4422, 16, 4555, 16, 3635, 16, 819, 33, 7036, 4672, 3536, 2000, 326, 9484, 471, 13001, 358, 999, 358, 1603, 16...
if key == IHALPHA:
if key == "IHALPHA":
def phasers(): "Fire phasers at bad guys." hits = [] kz = 0; k = 1; irec=0 # Cheating inhibitor ifast = False; no = False; itarg = True; msgflag = True; rpow=0 automode = "NOTSET" key=0 skip(1) # SR sensors and Computer are needed for automode if damaged(DSRSENS) or damaged(DCOMPTR): itarg = False if game.condition == ...
af15867a294e48006eba4fd9997cae401ccbfb05 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3176/af15867a294e48006eba4fd9997cae401ccbfb05/sst.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1844, 345, 414, 13332, 315, 9723, 1844, 345, 414, 622, 5570, 3058, 1900, 1199, 11076, 273, 5378, 417, 94, 273, 374, 31, 417, 273, 404, 31, 277, 3927, 33, 20, 468, 22682, 1776, 316, 157...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1844, 345, 414, 13332, 315, 9723, 1844, 345, 414, 622, 5570, 3058, 1900, 1199, 11076, 273, 5378, 417, 94, 273, 374, 31, 417, 273, 404, 31, 277, 3927, 33, 20, 468, 22682, 1776, 316, 157...
def version(ui):
def show_version(ui):
def version(ui): """output version and copyright information""" ui.write("Mercurial version %s\n" % version.get_version()) ui.status( "\nCopyright (C) 2005 Matt Mackall <mpm@selenic.com>\n" "This is free software; see the source for copying conditions. " "There is NO\nwarranty; " "not even for MERCHANTABILITY or FITNES...
0893811fc01f0dd4b4e8636ca072a2337f13402a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11312/0893811fc01f0dd4b4e8636ca072a2337f13402a/commands.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 67, 1589, 12, 4881, 4672, 3536, 2844, 1177, 471, 22245, 1779, 8395, 5915, 18, 2626, 2932, 8478, 1397, 649, 1177, 738, 87, 64, 82, 6, 738, 1177, 18, 588, 67, 1589, 10756, 5915, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 67, 1589, 12, 4881, 4672, 3536, 2844, 1177, 471, 22245, 1779, 8395, 5915, 18, 2626, 2932, 8478, 1397, 649, 1177, 738, 87, 64, 82, 6, 738, 1177, 18, 588, 67, 1589, 10756, 5915, 18...
box = '<table class="box"><tr><th colspan=2>|strusers|</th></tr>\n'
box = '<table class="box" width="100%"><tr><th colspan=2>|strusers|</th></tr>\n'
def users(self, uri, build_user): log(3, 'Creating users table') box = '<table class="box"><tr><th colspan=2>|strusers|</th></tr>\n' box = box + '<tr>\n' box = box + '<th class="collabel">|strusername|</th>\n' box = box + '<th class="collabel">|strname|</th>\n' box = box + '</tr>\n'; if uri.letter > '': usernames = lam...
082273c82228cdbe8b4f226333276a401090d396 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6947/082273c82228cdbe8b4f226333276a401090d396/HTML.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3677, 12, 2890, 16, 2003, 16, 1361, 67, 1355, 4672, 613, 12, 23, 16, 296, 11092, 3677, 1014, 6134, 3919, 273, 2368, 2121, 667, 1546, 2147, 6, 1835, 1546, 6625, 9, 14050, 313, 4438, 451...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3677, 12, 2890, 16, 2003, 16, 1361, 67, 1355, 4672, 613, 12, 23, 16, 296, 11092, 3677, 1014, 6134, 3919, 273, 2368, 2121, 667, 1546, 2147, 6, 1835, 1546, 6625, 9, 14050, 313, 4438, 451...
do_test("malloc", "LD_PRELOAD=libhugetlbfs.so HUGETLB_MORECORE=yes")
do_test("malloc", LD_PRELOAD="libhugetlbfs.so", HUGETLB_MORECORE="yes")
def functional_tests(): """ Run the set of functional tests. """ global linkhuge_wordsizes # Kernel background tests not requiring hugepage support do_test("zero_filesize_segment") # Library background tests not requiring hugepage support do_test("test_root") do_test("meminfo_nohuge") # Library tests requiring kerne...
637db55c57379f6e4c69d320ca16f9b05c873e3f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3715/637db55c57379f6e4c69d320ca16f9b05c873e3f/run_tests.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 18699, 67, 16341, 13332, 3536, 1939, 326, 444, 434, 18699, 7434, 18, 3536, 2552, 1692, 76, 21627, 67, 3753, 3128, 225, 468, 14556, 5412, 7434, 486, 29468, 366, 637, 17600, 2865, 741, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 18699, 67, 16341, 13332, 3536, 1939, 326, 444, 434, 18699, 7434, 18, 3536, 2552, 1692, 76, 21627, 67, 3753, 3128, 225, 468, 14556, 5412, 7434, 486, 29468, 366, 637, 17600, 2865, 741, 67, ...