rem
stringlengths
2
226k
add
stringlengths
0
227k
context
stringlengths
8
228k
meta
stringlengths
156
215
input_ids
list
attention_mask
list
labels
list
>>> catalog {u'hello': [(None, 1)]}
>>> items = catalog.items() >>> items.sort() >>> items [(u'hello ${name}', [(None, 1)]), (u'hi ${name}', [(None, 1)])]
def write(self): file = open(self._output_filename, 'w') file.write(pot_header % {'time': time.ctime(), 'version': self._getProductVersion(), 'charset': DEFAULT_CHARSET, 'encoding': DEFAULT_ENCODING})
72e5951b869cd81266418538c7bcc34178260ba2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9527/72e5951b869cd81266418538c7bcc34178260ba2/extract.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 4672, 585, 273, 1696, 12, 2890, 6315, 2844, 67, 3459, 16, 296, 91, 6134, 585, 18, 2626, 12, 13130, 67, 3374, 738, 13666, 957, 4278, 377, 813, 18, 21261, 9334, 296, 1589...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 12, 2890, 4672, 585, 273, 1696, 12, 2890, 6315, 2844, 67, 3459, 16, 296, 91, 6134, 585, 18, 2626, 12, 13130, 67, 3374, 738, 13666, 957, 4278, 377, 813, 18, 21261, 9334, 296, 1589...
self.stop_server()
self.deactivate()
def flush_sync_server(self): if not self.thread or len(self.thread.sessions) == 0: return # The server has the database. self.stop_server() self.activate()
7fda96ed688f49283c4102bb229a665bf8618891 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1240/7fda96ed688f49283c4102bb229a665bf8618891/qt_sync_server.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3663, 67, 8389, 67, 3567, 12, 2890, 4672, 309, 486, 365, 18, 5930, 578, 562, 12, 2890, 18, 5930, 18, 16794, 13, 422, 374, 30, 327, 468, 1021, 1438, 711, 326, 2063, 18, 2890, 18, 323,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3663, 67, 8389, 67, 3567, 12, 2890, 4672, 309, 486, 365, 18, 5930, 578, 562, 12, 2890, 18, 5930, 18, 16794, 13, 422, 374, 30, 327, 468, 1021, 1438, 711, 326, 2063, 18, 2890, 18, 323,...
locale_time = LocaleTime() compiled_re = TimeRE(locale_time).compile(format) found = compiled_re.match(data_string)
global _locale_cache global _regex_cache locale_time = _locale_cache.locale_time if locale_time.lang != _getlang(): _locale_cache = TimeRE() _regex_cache.clear() format_regex = _regex_cache.get(format) if not format_regex: if len(_regex_cache) > 5: _regex_cache.clear() format_regex = _locale_cache.compile(format) _r...
def strptime(data_string, format="%a %b %d %H:%M:%S %Y"): """Return a time struct based on the input data and the format string.""" locale_time = LocaleTime() compiled_re = TimeRE(locale_time).compile(format) found = compiled_re.match(data_string) if not found: raise ValueError("time data did not match format") year = ...
17e329f341227bb3ecfafd73f1a1d091073e6d08 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/17e329f341227bb3ecfafd73f1a1d091073e6d08/_strptime.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17572, 12, 892, 67, 1080, 16, 740, 11613, 69, 738, 70, 738, 72, 738, 44, 5319, 49, 5319, 55, 738, 61, 6, 4672, 3536, 990, 279, 813, 1958, 2511, 603, 326, 810, 501, 471, 326, 740, 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, 17572, 12, 892, 67, 1080, 16, 740, 11613, 69, 738, 70, 738, 72, 738, 44, 5319, 49, 5319, 55, 738, 61, 6, 4672, 3536, 990, 279, 813, 1958, 2511, 603, 326, 810, 501, 471, 326, 740, 5...
filename = get_abspath(globals(), 'not_found.png') elif filename.startswith('http://'):
filename = image_not_found() try: I = build_image(filename, width, height) return I except IOError, msg: print msg filename = image_not_found() I = build_image(filename, width, height) return I except Exception, msg: print msg return None def image_not_found(): return get_abspath(globals(), 'not_found.png') def bui...
def create_img(attributes, check_dimension=False): """ Create a reportlab image widget. If check_dimension is true and the width and the height attributes are not set we return None """ filename = attributes.get((URI, 'src'), None) width = attributes.get((URI, 'width'), None) height = attributes.get((URI, 'height'), N...
fc7e7c024dffe3d5643430fa4e1b5437665f8ee9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12681/fc7e7c024dffe3d5643430fa4e1b5437665f8ee9/rml2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 6081, 12, 4350, 16, 866, 67, 11808, 33, 8381, 4672, 3536, 1788, 279, 2605, 7411, 1316, 3604, 18, 971, 866, 67, 11808, 353, 638, 471, 326, 1835, 471, 326, 2072, 1677, 854, 486,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 752, 67, 6081, 12, 4350, 16, 866, 67, 11808, 33, 8381, 4672, 3536, 1788, 279, 2605, 7411, 1316, 3604, 18, 971, 866, 67, 11808, 353, 638, 471, 326, 1835, 471, 326, 2072, 1677, 854, 486,...
dc.SetPen(wx.Pen(wx.NamedColour(colour), int(width), style))
pen = wx.Pen(wx.NamedColour(colour), width, style) pen.SetCap(wx.CAP_BUTT) dc.SetPen(pen)
def draw(self, dc, printerScale, coord= None): colour = self.attributes['colour'] width = self.attributes['width'] * printerScale style= self.attributes['style'] dc.SetPen(wx.Pen(wx.NamedColour(colour), int(width), style)) if coord == None: dc.DrawLines(self.scaled) else: dc.DrawLines(coord) # draw legend line
00b9c8672fa526a520f6bc7793fdcdde97278d33 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/00b9c8672fa526a520f6bc7793fdcdde97278d33/plot.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3724, 12, 2890, 16, 6744, 16, 12539, 5587, 16, 2745, 33, 599, 4672, 15046, 273, 365, 18, 4350, 3292, 27408, 3546, 1835, 273, 365, 18, 4350, 3292, 2819, 3546, 380, 12539, 5587, 2154, 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, 3724, 12, 2890, 16, 6744, 16, 12539, 5587, 16, 2745, 33, 599, 4672, 15046, 273, 365, 18, 4350, 3292, 27408, 3546, 1835, 273, 365, 18, 4350, 3292, 2819, 3546, 380, 12539, 5587, 2154, 33, ...
parser.add_option("--configure-WxStation", action="store_true", dest="configure_VP", help="To configure a WxStation weather station")
parser.add_option("--configure-VantagePro", action="store_true", dest="configure_VP", help="To configure a VantagePro weather station")
def main(): parser = OptionParser(usage=usagestr) parser.add_option("--create-database", action="store_true", dest="create_database", help="To create the SQL database wview-archive.sdb") parser.add_option("--create-stats", action="store_true", dest="create_stats", help="To create the statistical statistical datab...
02e4107f59d0f559f72ccf77e57ae78f76c805db /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1013/02e4107f59d0f559f72ccf77e57ae78f76c805db/configure.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 2082, 273, 18862, 12, 9167, 33, 407, 1023, 313, 13, 2082, 18, 1289, 67, 3482, 2932, 413, 2640, 17, 6231, 3113, 1301, 1546, 2233, 67, 3767, 3113, 1570, 1546, 2640, 67, 6231, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2082, 273, 18862, 12, 9167, 33, 407, 1023, 313, 13, 2082, 18, 1289, 67, 3482, 2932, 413, 2640, 17, 6231, 3113, 1301, 1546, 2233, 67, 3767, 3113, 1570, 1546, 2640, 67, 6231, ...
if len(event.data) > self._ignoreLength:
if event.type == b3.events.EVT_CLIENT_AUTH or b3.events.EVT_CLIENT_NAME_CHANGE: self.checkBadName(event.client) elif len(event.data) > self._ignoreLength:
def onEvent(self, event): try: if not event.client: return elif event.client.cid == None: return elif event.client.maxLevel > self._maxLevel: return elif not event.client.connected: return if len(event.data) > self._ignoreLength: if event.type == b3.events.EVT_CLIENT_SAY or \ event.type == b3.events.EVT_CLIENT_TEAM_SAY...
8c5a043ab8a0cc5d24c13321a9fed11e06f754ef /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12909/8c5a043ab8a0cc5d24c13321a9fed11e06f754ef/censor.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 603, 1133, 12, 2890, 16, 871, 4672, 775, 30, 309, 486, 871, 18, 2625, 30, 327, 1327, 871, 18, 2625, 18, 13478, 422, 599, 30, 327, 1327, 871, 18, 2625, 18, 1896, 2355, 405, 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, 603, 1133, 12, 2890, 16, 871, 4672, 775, 30, 309, 486, 871, 18, 2625, 30, 327, 1327, 871, 18, 2625, 18, 13478, 422, 599, 30, 327, 1327, 871, 18, 2625, 18, 1896, 2355, 405, 365, 6315,...
def __init__(self, uid, descr=None, type=None, has_value=1):
def __init__(self, uid, descr=None, type=None, has_value=1, autogenerated=0):
def __init__(self, uid, descr=None, type=None, has_value=1): """ Construct the documentation for a variable.
1bdcaa661906ee198f52b061b725c621ba0ae305 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/1bdcaa661906ee198f52b061b725c621ba0ae305/objdoc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4555, 16, 18426, 33, 7036, 16, 618, 33, 7036, 16, 711, 67, 1132, 33, 21, 16, 7840, 33, 20, 4672, 3536, 14291, 326, 7323, 364, 279, 2190, 18, 2, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4555, 16, 18426, 33, 7036, 16, 618, 33, 7036, 16, 711, 67, 1132, 33, 21, 16, 7840, 33, 20, 4672, 3536, 14291, 326, 7323, 364, 279, 2190, 18, 2, -100, ...
out = i + oparg
out = oparg if op in dis.hasjrel: out += i
def pass1(code): instrs = [] i = 0 n = len(code) curline = 0 incondition = 0 out = 0 while i < n: if i >= out: incondition = 0 c = code[i] i = i+1 op = ord(c) if op >= dis.HAVE_ARGUMENT: oparg = ord(code[i]) + ord(code[i+1])*256 i = i+2 else: oparg = None if not incondition and op in COND_OPS: incondition = 1 out = i +...
c23800efee0b50ec6cd62e9dcd32b6a2a3e5234b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11925/c23800efee0b50ec6cd62e9dcd32b6a2a3e5234b/mf.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1342, 21, 12, 710, 4672, 16170, 87, 273, 5378, 277, 273, 374, 290, 273, 562, 12, 710, 13, 662, 1369, 273, 374, 316, 4175, 273, 374, 596, 273, 374, 1323, 277, 411, 290, 30, 309, 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, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1342, 21, 12, 710, 4672, 16170, 87, 273, 5378, 277, 273, 374, 290, 273, 562, 12, 710, 13, 662, 1369, 273, 374, 316, 4175, 273, 374, 596, 273, 374, 1323, 277, 411, 290, 30, 309, 277, ...
"""Ensures faster bash startup by preventing Installers from being startup tab.""" def AppendToMenu(self,menu,window,data): Link.AppendToMenu(self,menu,window,data) menuItem = wx.MenuItem(menu,self.id,_('Avoid at Startup'),kind=wx.ITEM_CHECK) menu.AppendItem(menuItem) menuItem.Check(settings['bash.installers.fastStart'...
"""Ensures faster bash startup by preventing Installers from being startup tab.""" def AppendToMenu(self,menu,window,data): Link.AppendToMenu(self,menu,window,data) menuItem = wx.MenuItem(menu,self.id,_('Avoid at Startup'),kind=wx.ITEM_CHECK) menu.AppendItem(menuItem) menuItem.Check(settings['bash.installers.fastStart'...
def Execute(self,event): """Handle selection.""" settings['bash.installers.conflictsReport.showLower'] ^= True self.gTank.RefreshUI()
3ac43907fa076fea1e8d682219e2b28fc7419f7b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6682/3ac43907fa076fea1e8d682219e2b28fc7419f7b/basher.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7903, 12, 2890, 16, 2575, 4672, 3536, 3259, 4421, 12123, 1947, 3292, 28734, 18, 5425, 414, 18, 20340, 87, 4820, 18, 4500, 4070, 3546, 10352, 1053, 365, 18, 75, 56, 2304, 18, 8323, 5370, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7903, 12, 2890, 16, 2575, 4672, 3536, 3259, 4421, 12123, 1947, 3292, 28734, 18, 5425, 414, 18, 20340, 87, 4820, 18, 4500, 4070, 3546, 10352, 1053, 365, 18, 75, 56, 2304, 18, 8323, 5370, ...
header = 'Authorization'
auth_header = 'Authorization'
def retry_http_basic_auth(self, host, req, realm): if self.__current_realm is None: self.__current_realm = realm else: self.__current_realm = realm return None user,pw = self.passwd.find_user_password(realm, host) if pw: raw = "%s:%s" % (user, pw) auth = base64.encodestring(raw).strip() req.add_header(self.header, 'Bas...
479d224bbcd6d456b2b35514bc272be9a92e5143 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/479d224bbcd6d456b2b35514bc272be9a92e5143/urllib2.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3300, 67, 2505, 67, 13240, 67, 1944, 12, 2890, 16, 1479, 16, 1111, 16, 11319, 4672, 309, 365, 16186, 2972, 67, 24056, 353, 599, 30, 365, 16186, 2972, 67, 24056, 273, 11319, 469, 30, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3300, 67, 2505, 67, 13240, 67, 1944, 12, 2890, 16, 1479, 16, 1111, 16, 11319, 4672, 309, 365, 16186, 2972, 67, 24056, 353, 599, 30, 365, 16186, 2972, 67, 24056, 273, 11319, 469, 30, 36...
self.db.outColumn("taiToUtc(%d)" % nsecsTai) self.db.outColumn("utcToTai(taiToUtc(%d))" % nsecsTai) self.db.outColumn("taiToMjdUtc(%d)" % nsecsTai)
self.db.outColumn("taiToUtc(%d)" % nsecsTai, True) self.db.outColumn("utcToTai(taiToUtc(%d))" % nsecsTai, True) self.db.outColumn("taiToMjdUtc(%d)" % nsecsTai, True)
def testNsecsTAI(self): nsecsTai = 1192755506000000000L self.db.outColumn("taiToUtc(%d)" % nsecsTai) self.db.outColumn("utcToTai(taiToUtc(%d))" % nsecsTai) self.db.outColumn("taiToMjdUtc(%d)" % nsecsTai) self.db.query() haveRow = self.db.Next() self.assert_(haveRow) self.assertEqual(self.db.getColumnByPosInt64(0), 1192...
ea289479734855451b69bd03ff80fc28dbc441a3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6558/ea289479734855451b69bd03ff80fc28dbc441a3/timeFuncs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 50, 21317, 9833, 45, 12, 2890, 4672, 290, 21317, 56, 10658, 273, 404, 3657, 5324, 2539, 3361, 26, 2787, 11706, 48, 365, 18, 1966, 18, 659, 1494, 2932, 2351, 77, 774, 57, 5111, 92...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 50, 21317, 9833, 45, 12, 2890, 4672, 290, 21317, 56, 10658, 273, 404, 3657, 5324, 2539, 3361, 26, 2787, 11706, 48, 365, 18, 1966, 18, 659, 1494, 2932, 2351, 77, 774, 57, 5111, 92...
destroy_physically=1, check_intermediate=1): if check_intermediate: path = master._subwidget_name(name) try: path = path[len(master._w)+1:] plist = string.splitfields(path, '.') except: plist = [] if (not check_intermediate) or len(plist) < 2: TixWidget.__init__(self, master, None, None, {'name' : name}) else: paren...
destroy_physically=1, check_intermediate=1): if check_intermediate: path = master._subwidget_name(name) try: path = path[len(master._w)+1:] plist = string.splitfields(path, '.') except: plist = [] if (not check_intermediate) or len(plist) < 2: TixWidget.__init__(self, master, None, None, {'name' : name}) else: paren...
def __init__(self, master, name,
22710823fb554a796dc96c44885d7a9389426824 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/22710823fb554a796dc96c44885d7a9389426824/Tix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4171, 16, 508, 16, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 4171, 16, 508, 16, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
print >> ssio, " PyValue shape, dtype, strides, min, max, n_inf, n_nan:",
print >> ssio, " PyValue shape, dtype, strides, min, max, n_inf, n_nan:",
def str_diagnostic(self): """Return a pretty multiline string representating the cause of the exception""" sio = StringIO() print >> sio, "BadCLinkerOutput" print >> sio, " variable:", self.r print >> sio, " Type :", self.r.type print >> sio, " val_py :", self.val_py print >> sio, " val_c :", self.val_c print...
9b4af0ce9c47ac8d047e3343176029ad0ec512da /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/9b4af0ce9c47ac8d047e3343176029ad0ec512da/debugmode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 609, 67, 12264, 11388, 12, 2890, 4672, 3536, 990, 279, 7517, 19431, 533, 2406, 1776, 326, 4620, 434, 326, 1520, 8395, 272, 1594, 273, 15777, 1435, 1172, 1671, 272, 1594, 16, 315, 6434, 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, 609, 67, 12264, 11388, 12, 2890, 4672, 3536, 990, 279, 7517, 19431, 533, 2406, 1776, 326, 4620, 434, 326, 1520, 8395, 272, 1594, 273, 15777, 1435, 1172, 1671, 272, 1594, 16, 315, 6434, 3...
log.msg( "\n\nGenerating database of files that are needed for a dselect-upgrade.\n" )
log.msg( "\nGenerating database of files that are needed for a dselect-upgrade.\n" )
def setter(args): Str_SetArg = args.set List_SetInstallPackages = args.set_install_packages Str_SetInstallRelease = args.set_install_release Bool_SetUpdate = args.set_update Bool_SetUpgrade = args.set_upgrade Str_SetUpgradeType = args.upgrade_type #INFO: Don't run the default behavior, of SetUpdate and SetUpgrade, if ...
da63a417a8560a39ca821994468a1533f4c1445a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12499/da63a417a8560a39ca821994468a1533f4c1445a/AptOfflineCoreLib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7794, 12, 1968, 4672, 3978, 67, 694, 4117, 273, 833, 18, 542, 987, 67, 694, 6410, 11425, 273, 833, 18, 542, 67, 5425, 67, 10308, 3978, 67, 694, 6410, 7391, 273, 833, 18, 542, 67, 542...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 7794, 12, 1968, 4672, 3978, 67, 694, 4117, 273, 833, 18, 542, 987, 67, 694, 6410, 11425, 273, 833, 18, 542, 67, 5425, 67, 10308, 3978, 67, 694, 6410, 7391, 273, 833, 18, 542, 67, 542...
print 'NS decl:\n\t', prefix, uri
print 'NS decl:\n\t', prefix, uri
def StartNamespaceDeclHandler(self, prefix, uri):
893d63248cfc3fac02fee3d6003b75c72e223a5f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/893d63248cfc3fac02fee3d6003b75c72e223a5f/test_pyexpat.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3603, 3402, 3456, 1503, 12, 2890, 16, 1633, 16, 2003, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3603, 3402, 3456, 1503, 12, 2890, 16, 1633, 16, 2003, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
'libpdffit2/LocalPeriodicTable.o',
'libpdffit2/LocalPeriodicTable.cc',
def printDefines(): for m, v in define_macros: print "'-D%s=%s'" % (m, v) return
072d4d6ff11ed758489cc7ea1a60e2a25bab89c7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8375/072d4d6ff11ed758489cc7ea1a60e2a25bab89c7/setup_args.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1172, 15109, 13332, 364, 312, 16, 331, 316, 4426, 67, 5821, 6973, 30, 1172, 2491, 17, 40, 9, 87, 5095, 87, 4970, 738, 261, 81, 16, 331, 13, 327, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1172, 15109, 13332, 364, 312, 16, 331, 316, 4426, 67, 5821, 6973, 30, 1172, 2491, 17, 40, 9, 87, 5095, 87, 4970, 738, 261, 81, 16, 331, 13, 327, 225, 2, -100, -100, -100, -100, -100,...
("file:///c:/foo/bar/baz",
("file:///c:/foo/bar/baz",
def test_parse_url(self): for mem in ([ ("https://www.foo.com/abc;123?a=b#4", ("https", "www.foo.com", 443, "/abc;123?a=b")),
e30788a9dacabc7a8a0d8e1a962216cf42816d5e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12354/e30788a9dacabc7a8a0d8e1a962216cf42816d5e/httpclienttest.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2670, 67, 718, 12, 2890, 4672, 364, 1663, 316, 23265, 7566, 4528, 2207, 5591, 18, 11351, 18, 832, 19, 18947, 31, 12936, 35, 69, 33, 70, 7, 24, 3113, 7566, 4528, 3113, 315, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2670, 67, 718, 12, 2890, 4672, 364, 1663, 316, 23265, 7566, 4528, 2207, 5591, 18, 11351, 18, 832, 19, 18947, 31, 12936, 35, 69, 33, 70, 7, 24, 3113, 7566, 4528, 3113, 315, ...
elif hasattr(self, b): bases.append(getattr(self, b))
def manage_addZClass(self, id, title='', baseclasses=[], meta_type='', CreateFactory=0, REQUEST=None): """Add a Z Class """ bases=[] for b in baseclasses: if Products.meta_classes.has_key(b): bases.append(Products.meta_classes[b]) elif hasattr(self, b): bases.append(getattr(self, b)) else: # If self is the "methods" pr...
ec64a204448370ac724e53a0a9791c8ddd0f03f9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/ec64a204448370ac724e53a0a9791c8ddd0f03f9/ZClass.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10680, 67, 1289, 62, 797, 12, 2890, 16, 612, 16, 2077, 2218, 2187, 1026, 4701, 22850, 6487, 2191, 67, 723, 2218, 2187, 1788, 1733, 33, 20, 16, 12492, 33, 7036, 4672, 3536, 986, 279, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10680, 67, 1289, 62, 797, 12, 2890, 16, 612, 16, 2077, 2218, 2187, 1026, 4701, 22850, 6487, 2191, 67, 723, 2218, 2187, 1788, 1733, 33, 20, 16, 12492, 33, 7036, 4672, 3536, 986, 279, 22...
return http.Response(stream = s)
return HTMLResponse(stream = s)
def render(self, ctx): id = self.id(ctx) if not ctx.args.has_key('input'): input = '' else: input = ctx.args['input'][0] cell = self.worksheet.new_cell_after(id, input=input) s = encode_list([cell.id(), cell.html(div_wrap=False), id]) return http.Response(stream = s)
86a4ed9cb0aba48a11523b820246bf1c9d9e7be2 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/86a4ed9cb0aba48a11523b820246bf1c9d9e7be2/twist.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 12, 2890, 16, 1103, 4672, 612, 273, 365, 18, 350, 12, 5900, 13, 309, 486, 1103, 18, 1968, 18, 5332, 67, 856, 2668, 2630, 11, 4672, 810, 273, 875, 469, 30, 810, 273, 1103, 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, 1743, 12, 2890, 16, 1103, 4672, 612, 273, 365, 18, 350, 12, 5900, 13, 309, 486, 1103, 18, 1968, 18, 5332, 67, 856, 2668, 2630, 11, 4672, 810, 273, 875, 469, 30, 810, 273, 1103, 18, ...
def singleordefault_1b(self): return Query(self.L).where(lambda n: n > 10).singleordefault(default=42) @raises(ValueError) def singleordefault_1c(self): return Query(self.L).where(lambda n: n < 4).singleordefault(default=42) @raises(ValueError) def singleordefault_1d(self): return Query(self.L).where(lambda n: n >= 4)....
def single_or_default_1b(self): return Query(self.L).where(lambda n: n > 10).single_or_default(default=42) @raises(ValueError) def single_or_default_1c(self): return Query(self.L).where(lambda n: n < 4).single_or_default(default=42) @raises(ValueError) def single_or_default_1d(self): return Query(self.L).where(lambda n...
def singleordefault_1b(self): return Query(self.L).where(lambda n: n > 10).singleordefault(default=42)
f134b825431ac82f3dbba76e7a945a0e195d27cf /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14315/f134b825431ac82f3dbba76e7a945a0e195d27cf/pyquery.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2202, 280, 1886, 67, 21, 70, 12, 2890, 4672, 327, 2770, 12, 2890, 18, 48, 2934, 6051, 12, 14661, 290, 30, 290, 405, 1728, 2934, 7526, 280, 1886, 12, 1886, 33, 9452, 13, 2, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2202, 280, 1886, 67, 21, 70, 12, 2890, 4672, 327, 2770, 12, 2890, 18, 48, 2934, 6051, 12, 14661, 290, 30, 290, 405, 1728, 2934, 7526, 280, 1886, 12, 1886, 33, 9452, 13, 2, -100, -100...
contents = contents[:-1]
i = ew.index(INSERT) contents = contents[:i-1] + contents[i:]
def __normalize(self, event=None): ew = event.widget contents = ew.get() if contents == '': contents = '0' # figure out what the contents value is in the current base try: if self.__hexp.get(): v = string.atoi(contents, 16) else: v = string.atoi(contents) except ValueError: v = None # if value is not legal, delete the ...
3e79abe960185f04549f9e03fe9c5bedb6647dd8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/3e79abe960185f04549f9e03fe9c5bedb6647dd8/TypeinViewer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12237, 12, 2890, 16, 871, 33, 7036, 4672, 22722, 273, 871, 18, 6587, 2939, 273, 22722, 18, 588, 1435, 309, 2939, 422, 875, 30, 2939, 273, 296, 20, 11, 468, 7837, 596, 4121, 326, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 12237, 12, 2890, 16, 871, 33, 7036, 4672, 22722, 273, 871, 18, 6587, 2939, 273, 22722, 18, 588, 1435, 309, 2939, 422, 875, 30, 2939, 273, 296, 20, 11, 468, 7837, 596, 4121, 326, ...
node.add_var_arg("--remove-input-exclude %s" % cache_entry.path())
node.add_var_arg("--remove-input-except %s" % cache_entry.path())
def make_lladd_fragment(dag, parents, instrument, seg, tag, preserves = []): node = LigolwAddNode(lladdjob) node.set_name("lladd-%s-%s-%s-%s" % (instrument, tag, int(seg[0]), int(seg.duration()))) for parent in parents: node.add_parent(parent) node.add_input_cache(parent.get_output_cache()) for cache_entry in preserves...
d73728836bd0bb8257991d3c4a500248de5180dd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5758/d73728836bd0bb8257991d3c4a500248de5180dd/power.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 2906, 1289, 67, 11956, 12, 30204, 16, 6298, 16, 10353, 16, 2291, 16, 1047, 16, 21181, 3324, 273, 5378, 4672, 756, 273, 511, 360, 355, 91, 986, 907, 12, 2906, 1289, 4688, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1221, 67, 2906, 1289, 67, 11956, 12, 30204, 16, 6298, 16, 10353, 16, 2291, 16, 1047, 16, 21181, 3324, 273, 5378, 4672, 756, 273, 511, 360, 355, 91, 986, 907, 12, 2906, 1289, 4688, 13, ...
""" fl_get_nmenu_item_by_text(p1, p2) -> popup_entry ref.
""" fl_get_nmenu_item_by_text(p1, p2) -> popup_entry
def fl_get_nmenu_item_by_text(p1, p2): """ fl_get_nmenu_item_by_text(p1, p2) -> popup_entry ref. """ retval = _fl_get_nmenu_item_by_text(p1, p2) return retval
8765c710f695de392f6fc7c664c746ec98668b1d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/8765c710f695de392f6fc7c664c746ec98668b1d/xformslib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 588, 67, 82, 5414, 67, 1726, 67, 1637, 67, 955, 12, 84, 21, 16, 293, 22, 4672, 3536, 1183, 67, 588, 67, 82, 5414, 67, 1726, 67, 1637, 67, 955, 12, 84, 21, 16, 293, 22, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1183, 67, 588, 67, 82, 5414, 67, 1726, 67, 1637, 67, 955, 12, 84, 21, 16, 293, 22, 4672, 3536, 1183, 67, 588, 67, 82, 5414, 67, 1726, 67, 1637, 67, 955, 12, 84, 21, 16, 293, 22, ...
menuitem_fmt = '9IP2I'
menuitem_fmt = '9iP2i'
def UnpackWMNOTIFY(lparam): format = "iii" buf = win32gui.PyMakeBuffer(struct.calcsize(format), lparam) hwndFrom, idFrom, code = struct.unpack(format, buf) code += 0x4f0000 # hrm - wtf - commctrl uses this, and it works with mfc. *sigh* return hwndFrom, idFrom, code
052ff6aa0575c97168ea4ce74d3ab7ce9eb58ca9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/677/052ff6aa0575c97168ea4ce74d3ab7ce9eb58ca9/win32gui_struct.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25411, 25173, 4400, 12096, 12, 80, 891, 4672, 740, 273, 315, 2835, 77, 6, 1681, 273, 5657, 1578, 20292, 18, 9413, 6464, 1892, 12, 1697, 18, 12448, 1467, 12, 2139, 3631, 328, 891, 13, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 25411, 25173, 4400, 12096, 12, 80, 891, 4672, 740, 273, 315, 2835, 77, 6, 1681, 273, 5657, 1578, 20292, 18, 9413, 6464, 1892, 12, 1697, 18, 12448, 1467, 12, 2139, 3631, 328, 891, 13, 1...
"""Unpack output files from tarball in source directory and write them to destination directory This function is called by Ganga client at the completing of job. Complementary to createPackedOutput() Arguments: 'src_dir': source directory with tarball 'dest_dir': destination directory for output files """
"""Unpack output files from tarball in source directory and write them to destination directory This function is called by Ganga client at the completing of job. Complementary to createPackedOutput() Arguments: 'src_dir': source directory with tarball 'dest_dir': destination directory for output files """
def getPackedOutputSandbox(src_dir,dest_dir): """Unpack output files from tarball in source directory and write them to destination directory This function is called by Ganga client at the completing of job. Complementary to createPackedOutput() Arguments: 'src_dir': source directory with tarball 'dest_dir': destinatio...
3975c813beb1813bd20f0bfbca2b9570fe12bca8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1488/3975c813beb1813bd20f0bfbca2b9570fe12bca8/Sandbox.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 30401, 329, 1447, 17881, 12, 4816, 67, 1214, 16, 10488, 67, 1214, 4672, 3536, 23649, 876, 1390, 628, 29441, 316, 1084, 1867, 471, 1045, 2182, 358, 2929, 1867, 1220, 445, 353, 2566, 635, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 30401, 329, 1447, 17881, 12, 4816, 67, 1214, 16, 10488, 67, 1214, 4672, 3536, 23649, 876, 1390, 628, 29441, 316, 1084, 1867, 471, 1045, 2182, 358, 2929, 1867, 1220, 445, 353, 2566, 635, ...
print " %s.%s" % (c.__name__, f)
print " %s.%s" % (c.__name__, fmt)
def run(format, VERBOSE=0): formats = string.split(format, ',') for i in range(0, len(formats)): formats[i] == string.lower(string.strip(formats[i])) allfiles = glob.glob('*.py') allfiles.sort() for fn in allfiles: f = string.split(fn, '.')[0] c = getclass(f) if c != None: print c.__name__ try: for f in formats: if f: ...
4942c0a0b6993516254917d4d2f5dd21a17244e5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7053/4942c0a0b6993516254917d4d2f5dd21a17244e5/runall.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2139, 16, 27857, 33, 20, 4672, 6449, 273, 533, 18, 4939, 12, 2139, 16, 3316, 13, 364, 277, 316, 1048, 12, 20, 16, 562, 12, 11962, 3719, 30, 6449, 63, 77, 65, 422, 533, 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, 1086, 12, 2139, 16, 27857, 33, 20, 4672, 6449, 273, 533, 18, 4939, 12, 2139, 16, 3316, 13, 364, 277, 316, 1048, 12, 20, 16, 562, 12, 11962, 3719, 30, 6449, 63, 77, 65, 422, 533, 18...
_write_grid(root, grid)
_write_crossword(root, Puzzle(grid))
def write_patterns(filename, patterns): root = etree.Element("palabra") root.set("version", constants.VERSION) for grid in patterns: _write_grid(root, grid) contents = etree.tostring(root, xml_declaration=True, encoding="UTF-8") f = open(filename, "w") f.write(contents) f.close()
5a4562d2811cb9aa4579fe7f3cadd1ebc5b22766 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6427/5a4562d2811cb9aa4579fe7f3cadd1ebc5b22766/files.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1045, 67, 13317, 12, 3459, 16, 6884, 4672, 1365, 273, 12031, 18, 1046, 2932, 15081, 378, 354, 7923, 1365, 18, 542, 2932, 1589, 3113, 6810, 18, 5757, 13, 225, 364, 3068, 316, 6884, 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, 1045, 67, 13317, 12, 3459, 16, 6884, 4672, 1365, 273, 12031, 18, 1046, 2932, 15081, 378, 354, 7923, 1365, 18, 542, 2932, 1589, 3113, 6810, 18, 5757, 13, 225, 364, 3068, 316, 6884, 30, ...
classVariants = self.classVariants(generate=False)
classVariants = getClassVariants(self.id, self.path, None, context["cache"], context["console"], generate=False)
def tree(self, variantSet={}): context = self.context tradeSpaceForSpeed = False # Caution: setting this to True seems to return trees which have been optimized, as unoptimized
1abc907797564cd97d808fe122ba7fb63a6ebc45 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5718/1abc907797564cd97d808fe122ba7fb63a6ebc45/Class.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2151, 12, 2890, 16, 5437, 694, 12938, 4672, 819, 273, 365, 18, 2472, 18542, 3819, 1290, 16562, 273, 1083, 225, 468, 23318, 1421, 30, 3637, 333, 358, 1053, 12001, 358, 327, 11491, 1492, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2151, 12, 2890, 16, 5437, 694, 12938, 4672, 819, 273, 365, 18, 2472, 18542, 3819, 1290, 16562, 273, 1083, 225, 468, 23318, 1421, 30, 3637, 333, 358, 1053, 12001, 358, 327, 11491, 1492, 1...
scale_factor = f_obs.scale_factor( f_model, weights=1/flex.pow2(f_obs.sigmas()))
if f_obs.sigmas() is not None: weights = weights=1/flex.pow2(f_obs.sigmas()) else: weights = None scale_factor = f_obs.scale_factor(f_model, weights=weights)
def modified_structure_factors(self): """Subtracts the solvent contribution from the observed structure factors to obtain modified structure factors, suitable for refinement with other refinement programs such as ShelXL""" assert self._f_mask is not None f_obs = self.observations.as_amplitude_array() f_mask = self.f_ma...
275c8ad3930d9a091df2bc837fd33b9dad7cb1e7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/696/275c8ad3930d9a091df2bc837fd33b9dad7cb1e7/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4358, 67, 7627, 67, 22108, 12, 2890, 4672, 3536, 27904, 87, 326, 3704, 616, 24880, 628, 326, 12117, 3695, 14490, 358, 7161, 4358, 3695, 14490, 16, 10631, 364, 25994, 820, 598, 1308, 25994,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 4358, 67, 7627, 67, 22108, 12, 2890, 4672, 3536, 27904, 87, 326, 3704, 616, 24880, 628, 326, 12117, 3695, 14490, 358, 7161, 4358, 3695, 14490, 16, 10631, 364, 25994, 820, 598, 1308, 25994,...
if line == "": break
if line == "": break
def readlines(self, sizehint=0): # Negative numbers result in reading all the lines if sizehint <= 0: sizehint = sys.maxint L = [] while sizehint > 0: line = self.readline() if line == "": break L.append(line) sizehint = sizehint - len(line)
1b11c3877d262c1eda5dc42c6fe5672b68f7b89f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/1b11c3877d262c1eda5dc42c6fe5672b68f7b89f/gzip.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17546, 12, 2890, 16, 963, 11317, 33, 20, 4672, 468, 30716, 5600, 563, 316, 6453, 777, 326, 2362, 309, 963, 11317, 1648, 374, 30, 963, 11317, 273, 2589, 18, 1896, 474, 511, 273, 5378, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17546, 12, 2890, 16, 963, 11317, 33, 20, 4672, 468, 30716, 5600, 563, 316, 6453, 777, 326, 2362, 309, 963, 11317, 1648, 374, 30, 963, 11317, 273, 2589, 18, 1896, 474, 511, 273, 5378, 1...
def user_added(self, user, password):
def user_created(self, user, password):
def user_added(self, user, password): """New user """
f0fb3c5c30e82b07d1f6177158894dcb7d4c32b6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6208/f0fb3c5c30e82b07d1f6177158894dcb7d4c32b6/api.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 729, 67, 4824, 12, 2890, 16, 729, 16, 2201, 4672, 3536, 1908, 729, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 729, 67, 4824, 12, 2890, 16, 729, 16, 2201, 4672, 3536, 1908, 729, 3536, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
"""A control that lets you directly manipulate strings using text entry boxes"""
"""A control that manipulates a boolean value using a CheckButton widget"""
def setWidget(self, widget, newValue): widget.set_text(newValue)
5121ef3938dda22667ee4cb0c6aeb3a927b7c9f5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6757/5121ef3938dda22667ee4cb0c6aeb3a927b7c9f5/Tweak.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 4609, 12, 2890, 16, 3604, 16, 6129, 4672, 3604, 18, 542, 67, 955, 12, 2704, 620, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 4609, 12, 2890, 16, 3604, 16, 6129, 4672, 3604, 18, 542, 67, 955, 12, 2704, 620, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
return (SVNWORKINGFOLDERISFILE);
return (SVNWORKINGFOLDERISFILE, "");
def testWorkingFolder(location, url): client = pysvn.Client() try: if path.isdir(location): locationUrl = client.info(location).url; if url==locationUrl: return (SVNURLSAME); else: return (SVNURLDIFF, locationurl); elif path.exists(location): return (SVNWORKINGFOLDERISFILE); else: return (SVNNOWORKINGFOLDER); except py...
d6f14dbf990e7be58d6013fcf94ded9e07f52cd0 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/4259/d6f14dbf990e7be58d6013fcf94ded9e07f52cd0/svn.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 14836, 3899, 12, 3562, 16, 880, 4672, 1004, 273, 21027, 25031, 18, 1227, 1435, 775, 30, 309, 589, 18, 291, 1214, 12, 3562, 4672, 2117, 1489, 273, 1004, 18, 1376, 12, 3562, 2934, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14836, 3899, 12, 3562, 16, 880, 4672, 1004, 273, 21027, 25031, 18, 1227, 1435, 775, 30, 309, 589, 18, 291, 1214, 12, 3562, 4672, 2117, 1489, 273, 1004, 18, 1376, 12, 3562, 2934, ...
dnsList = DNSUtils.textToDns(text) if not dnsList == None: dns = DNSUtils.dnsToIp(element) for e in dns:
dns = DNSUtils.textToDns(text) if not dns == None: ip = DNSUtils.dnsToIp(dns.group(0)) for e in ip:
def textToIp(text): """ Return the IP of DNS found in a given text. """ ipList = list() # Search for plain IP plainIP = DNSUtils.searchIP(text) if not plainIP == None: if isValidIP(element): ipList.append(element) if not ipList: # Try to get IP from possible DNS dnsList = DNSUtils.textToDns(text) if not dnsList == None...
1fd2071cd8e7157cb7b04ef06da165d304cfcad5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12171/1fd2071cd8e7157cb7b04ef06da165d304cfcad5/filter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 977, 774, 5273, 12, 955, 4672, 3536, 2000, 326, 2971, 434, 8858, 1392, 316, 279, 864, 977, 18, 3536, 2359, 682, 273, 666, 1435, 468, 5167, 364, 7351, 2971, 7351, 2579, 273, 8858, 1989, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 977, 774, 5273, 12, 955, 4672, 3536, 2000, 326, 2971, 434, 8858, 1392, 316, 279, 864, 977, 18, 3536, 2359, 682, 273, 666, 1435, 468, 5167, 364, 7351, 2971, 7351, 2579, 273, 8858, 1989, ...
imageDictAQ[sngl.ifo]=list() indexDictAQ[sngl.ifo]=list() thumbDictAQ[sngl.ifo]=list()
def prepareChecklist(wikiFilename=None,wikiCoinc=None,wikiTree=None,file2URL=None): """ Method to prepare a checklist where data products are isolated in directory. """ endOfS5=int(875232014) wikiFileFinder=findFileType(wikiTree,wikiCoinc) # Check to see if wiki file with name already exists maxCount=0 while os.path.ex...
481b556f895e5b0b4caf0acaf35400d2993db8e5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/3592/481b556f895e5b0b4caf0acaf35400d2993db8e5/makeCheckListWiki.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2911, 1564, 1098, 12, 13044, 5359, 33, 7036, 16, 13044, 27055, 71, 33, 7036, 16, 13044, 2471, 33, 7036, 16, 768, 22, 1785, 33, 7036, 4672, 3536, 2985, 358, 2911, 279, 866, 1098, 1625, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2911, 1564, 1098, 12, 13044, 5359, 33, 7036, 16, 13044, 27055, 71, 33, 7036, 16, 13044, 2471, 33, 7036, 16, 768, 22, 1785, 33, 7036, 4672, 3536, 2985, 358, 2911, 279, 866, 1098, 1625, ...
def SVGShape(self): path = os.path.join(florun.icons_dir, self.SVG_SHAPE) if not os.path.exists(path): logger.warning("SVG missing '%s'" % path) return path
def shapes(self): if not self._shapes: self._shapes = {} for elt in ['default', 'start']: s = QGraphicsSvgItem(self.SVGShape()) s.setElementId(QString(elt)) self._shapes[elt] = s return self._shapes
fb61e4d134fdc60658e1b31c717ae362ae2dd3c6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13237/fb61e4d134fdc60658e1b31c717ae362ae2dd3c6/gui.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 14736, 12, 2890, 4672, 309, 486, 365, 6315, 17648, 30, 365, 6315, 17648, 273, 2618, 364, 11572, 316, 10228, 1886, 2187, 296, 1937, 3546, 30, 272, 273, 2238, 17558, 55, 20105, 1180, 12, 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, 14736, 12, 2890, 4672, 309, 486, 365, 6315, 17648, 30, 365, 6315, 17648, 273, 2618, 364, 11572, 316, 10228, 1886, 2187, 296, 1937, 3546, 30, 272, 273, 2238, 17558, 55, 20105, 1180, 12, 2...
print cf.sections() print "Has section 'Foo'?", cf.has_section("Foo")
verify(cf.sections() == [], "new ConfigParser should have no defined sections") verify(not cf.has_section("Foo"), "new ConfigParser should have no acknowledged sections")
def query_errors(): print print "Testing query interface..." cf = ConfigParser.ConfigParser() print cf.sections() print "Has section 'Foo'?", cf.has_section("Foo") try: cf.options("Foo") except ConfigParser.NoSectionError, e: print "Caught expected NoSectionError:", e else: print "Failed to catch expected NoSectionErro...
8dc634b98696d12e0c4314fb0e0c8e5c2afc1666 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/8dc634b98696d12e0c4314fb0e0c8e5c2afc1666/test_cfgparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 843, 67, 4324, 13332, 1172, 1172, 315, 22218, 843, 1560, 7070, 6080, 273, 25076, 18, 809, 2678, 1435, 3929, 12, 8522, 18, 11657, 1435, 422, 5378, 16, 315, 2704, 25076, 1410, 1240, 1158, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 843, 67, 4324, 13332, 1172, 1172, 315, 22218, 843, 1560, 7070, 6080, 273, 25076, 18, 809, 2678, 1435, 3929, 12, 8522, 18, 11657, 1435, 422, 5378, 16, 315, 2704, 25076, 1410, 1240, 1158, ...
s += space(result=s) return s
r += cls.space(result=r) return r
def opening(self, node): s = u'' s += write("else")
01a99d0db0499777506f7fbf9ecf7a7e70c7a9e2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5718/01a99d0db0499777506f7fbf9ecf7a7e70c7a9e2/Packer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10890, 12, 2890, 16, 756, 4672, 272, 273, 582, 6309, 272, 1011, 1045, 2932, 12107, 7923, 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, 10890, 12, 2890, 16, 756, 4672, 272, 273, 582, 6309, 272, 1011, 1045, 2932, 12107, 7923, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if line: self.info("stdout: %s" % line.rstrip())
self.info("stdout: %s" % line.rstrip())
def readline(self, timeout=0, stream="stdout"): """ Read one line from specified stream ('stdout' by default).
5b18e06621e4ef2909199567a13dc61cae2e88b0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10929/5b18e06621e4ef2909199567a13dc61cae2e88b0/process.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 12023, 12, 2890, 16, 2021, 33, 20, 16, 1407, 1546, 10283, 6, 4672, 3536, 2720, 1245, 980, 628, 1269, 1407, 7707, 10283, 11, 635, 805, 2934, 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, 12023, 12, 2890, 16, 2021, 33, 20, 16, 1407, 1546, 10283, 6, 4672, 3536, 2720, 1245, 980, 628, 1269, 1407, 7707, 10283, 11, 635, 805, 2934, 2, -100, -100, -100, -100, -100, -100, -100, ...
return self.sendCMD(['rm ' + filename, 'quit'])
return self.sendCMD(['rm ' + filename])
def removeFile(self, filename): if (self.debug>= 2): print "removing file: " + filename return self.sendCMD(['rm ' + filename, 'quit'])
fd9e385f2805e09156e5ef3c1f5d56e976bc2bf6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12156/fd9e385f2805e09156e5ef3c1f5d56e976bc2bf6/devicemanager.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 812, 12, 2890, 16, 1544, 4672, 309, 261, 2890, 18, 4148, 34, 33, 576, 4672, 1172, 315, 2764, 13767, 585, 30, 315, 397, 1544, 327, 365, 18, 4661, 19473, 12, 3292, 8864, 296, 397, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 812, 12, 2890, 16, 1544, 4672, 309, 261, 2890, 18, 4148, 34, 33, 576, 4672, 1172, 315, 2764, 13767, 585, 30, 315, 397, 1544, 327, 365, 18, 4661, 19473, 12, 3292, 8864, 296, 397, ...
return "%d loops, best of %d: %.*g %s per loop" % (number, repeat, precision, best * scaling[order], units[order])
stats = (number, repeat, precision, best * scaling[order], units[order]) return SageTimeitResult(stats)
sage: def f(): raise ValueError
0361e3c441a9c1101fb87d56a9b3d1bb743cf7b7 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/0361e3c441a9c1101fb87d56a9b3d1bb743cf7b7/sage_timeit.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 272, 410, 30, 1652, 284, 13332, 1002, 2068, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 272, 410, 30, 1652, 284, 13332, 1002, 2068, 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, -10...
if el.get('value') == value:
opt_value = el.get('value') if opt_value is None: opt_value = el.text or '' if opt_value: opt_value = opt_value.strip() if opt_value == value:
def _value__set(self, value): if self.multiple: if isinstance(value, basestring): raise TypeError( "You must pass in a sequence") self.value.clear() self.value.update(value) return if value is not None: for el in _options_xpath(self): # FIXME: also if el.get('value') is None? if el.get('value') == value: checked_option...
0b14af50fdc878199f8a3be3053eef42d3e9851f /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13107/0b14af50fdc878199f8a3be3053eef42d3e9851f/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1132, 972, 542, 12, 2890, 16, 460, 4672, 309, 365, 18, 9622, 30, 309, 1549, 12, 1132, 16, 10699, 4672, 1002, 3580, 12, 315, 6225, 1297, 1342, 316, 279, 3102, 7923, 365, 18, 1132, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1132, 972, 542, 12, 2890, 16, 460, 4672, 309, 365, 18, 9622, 30, 309, 1549, 12, 1132, 16, 10699, 4672, 1002, 3580, 12, 315, 6225, 1297, 1342, 316, 279, 3102, 7923, 365, 18, 1132, ...
if sf.mustlock(): self.assertTrue (sf.get_locked()) self.assertEqual (len (ar), 10) del ar if sf.mustlock(): self.assertFalse (sf.get_locked())
if sf.mustlock(): self.assertTrue (sf.get_locked ()) self.assertEqual (len (ar), 10) del ar if sf.mustlock(): self.assertFalse (sf.get_locked ())
def test_pixel_array (self): sf = pygame.Surface ((10, 20), 0, 32) sf.fill ((0, 0, 0)) ar = pygame.PixelArray (sf)
8c52ec7e2d3c922d31ce5b160f9bf0527da94d40 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/1298/8c52ec7e2d3c922d31ce5b160f9bf0527da94d40/pixelarray_test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 11743, 67, 1126, 261, 2890, 4672, 9033, 273, 2395, 13957, 18, 11508, 14015, 2163, 16, 4200, 3631, 374, 16, 3847, 13, 9033, 18, 5935, 14015, 20, 16, 374, 16, 374, 3719, 419, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 11743, 67, 1126, 261, 2890, 4672, 9033, 273, 2395, 13957, 18, 11508, 14015, 2163, 16, 4200, 3631, 374, 16, 3847, 13, 9033, 18, 5935, 14015, 20, 16, 374, 16, 374, 3719, 419, 2...
this = apply(_quickfix.new_LegAllocAccount, args)
this = _quickfix.new_LegAllocAccount(*args)
def __init__(self, *args): this = apply(_quickfix.new_LegAllocAccount, args) try: self.this.append(this) except: self.this = this
7e632099fd421880c8c65fb0cf610d338d115ee9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8819/7e632099fd421880c8c65fb0cf610d338d115ee9/quickfix.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 380, 1968, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 8329, 8763, 3032, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 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, 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, 4672, 333, 273, 389, 19525, 904, 18, 2704, 67, 8329, 8763, 3032, 30857, 1968, 13, 775, 30, 365, 18, 2211, 18, 6923, 12, 2211, 13, 1335, 30, ...
def GetHashString(id, idx):
def GetHashString(hashid, idx):
def GetHashString(id, idx): raise DeprecatedIDCError, "Use python pickles instead."
76aa24fecdace41c9fc827e500b95cfdf5053272 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4773/76aa24fecdace41c9fc827e500b95cfdf5053272/idc.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 968, 2310, 780, 12, 2816, 350, 16, 2067, 4672, 1002, 9336, 734, 39, 668, 16, 315, 3727, 5790, 6002, 1040, 3560, 1199, 225, 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, 968, 2310, 780, 12, 2816, 350, 16, 2067, 4672, 1002, 9336, 734, 39, 668, 16, 315, 3727, 5790, 6002, 1040, 3560, 1199, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
def BROKEN_test_from_buffer_copy(self):
def test_from_buffer_copy(self):
def BROKEN_test_from_buffer_copy(self): a = array.array("i", range(16)) x = (c_int * 16).from_buffer_copy(a)
b531bef93ad245ab9533195e284b17d132720e5d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8546/b531bef93ad245ab9533195e284b17d132720e5d/test_frombuffer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1842, 67, 2080, 67, 4106, 67, 3530, 12, 2890, 4672, 279, 273, 526, 18, 1126, 2932, 77, 3113, 1048, 12, 2313, 3719, 619, 273, 261, 71, 67, 474, 380, 2872, 2934, 2080, 67, 4106, 67, 35...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1842, 67, 2080, 67, 4106, 67, 3530, 12, 2890, 4672, 279, 273, 526, 18, 1126, 2932, 77, 3113, 1048, 12, 2313, 3719, 619, 273, 261, 71, 67, 474, 380, 2872, 2934, 2080, 67, 4106, 67, 35...
url = 'http://code.enthought.com/chaco',
url = 'http://code.enthought.com/projects/chaco',
def run(self): distbuild.run(self) generate_docs()
dc8f38ac67e0a5fa6adc7c7555fea6230c02d0ea /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13167/dc8f38ac67e0a5fa6adc7c7555fea6230c02d0ea/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 2411, 3510, 18, 2681, 12, 2890, 13, 2103, 67, 8532, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 12, 2890, 4672, 2411, 3510, 18, 2681, 12, 2890, 13, 2103, 67, 8532, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
for node in graph.vertices(): if node != extra: part.append(graph.neighbors(node))
for vertex in graph.vertices(): if vertex != extra: part.append(graph.neighbors(vertex))
def is_circular_planar(self, ordered=True): """ Returns True if a graph with boundary is circular planar, and False otherwise. A graph (with nonempty boundary) is circular planar if it has a planar embedding in which all boundary nodes can be drawn in order on a disc boundary, with all the interior nodes drawn inside ...
a520fa15cff86fbbd1335f8b6f9d36203c74d574 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/a520fa15cff86fbbd1335f8b6f9d36203c74d574/graph.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 11614, 9559, 67, 7088, 297, 12, 2890, 16, 5901, 33, 5510, 4672, 3536, 2860, 1053, 309, 279, 2667, 598, 7679, 353, 15302, 4995, 297, 16, 471, 1083, 3541, 18, 225, 432, 2667, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 353, 67, 11614, 9559, 67, 7088, 297, 12, 2890, 16, 5901, 33, 5510, 4672, 3536, 2860, 1053, 309, 279, 2667, 598, 7679, 353, 15302, 4995, 297, 16, 471, 1083, 3541, 18, 225, 432, 2667, 26...
<reference ids="internal" name="external_" names="internal" refuri="http://uri">
<reference ids="internal" name="external" names="internal" refuri="http://uri">
def suite(): parser = Parser() s = DocutilsTestSupport.TransformTestSuite(parser) s.generateTests(totest) return s
f1af8a1c32c016e8b51c02c25e1e1b9bebac00e1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8194/f1af8a1c32c016e8b51c02c25e1e1b9bebac00e1/test_hyperlinks.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 11371, 13332, 2082, 273, 6783, 1435, 272, 273, 3521, 5471, 4709, 6289, 18, 4059, 4709, 13587, 12, 4288, 13, 272, 18, 7163, 14650, 12, 3307, 395, 13, 327, 272, 225, 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, 11371, 13332, 2082, 273, 6783, 1435, 272, 273, 3521, 5471, 4709, 6289, 18, 4059, 4709, 13587, 12, 4288, 13, 272, 18, 7163, 14650, 12, 3307, 395, 13, 327, 272, 225, 2, -100, -100, -100, ...
Integral Homology of Jacobian of the modular curve associated to the congruence subgroup Gamma0(50000)
Integral Homology of Abelian variety J0(50000) of dimension 7351
def integral_homology(self): """ Return the integral homology of this modular abelian variety.
62147d82541f9aed0900f78cd10df5f262f228f5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/62147d82541f9aed0900f78cd10df5f262f228f5/abvar.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 21423, 67, 17125, 4676, 12, 2890, 4672, 3536, 2000, 326, 21423, 13995, 4676, 434, 333, 681, 2490, 1223, 292, 2779, 1394, 14369, 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, 0, 0, 0, 0, 0, 0, 0, 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, 21423, 67, 17125, 4676, 12, 2890, 4672, 3536, 2000, 326, 21423, 13995, 4676, 434, 333, 681, 2490, 1223, 292, 2779, 1394, 14369, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
code = """%(return_type)s %(func_name)s(%(args)s) { helper_->SetBucketSize(kResultBucketId, 0); helper_->%(func_name)s(%(id_name)s, kResultBucketId); std::string str; if (GetBucketAsString(kResultBucketId, &str)) { GLsizei max_size = std::min(static_cast<size_t>(%(bufsize_name)s) - 1, str.size()); if (%(length_name)s !...
file.Write("// TODO(gman): Implement this\n") TypeHandler.WriteGLES2ImplementationHeader(self, func, file)
def WriteGLES2ImplementationHeader(self, func, file): """Overrriden from TypeHandler.""" code = """%(return_type)s %(func_name)s(%(args)s) {
85c6d6739a81098c35cb35c3430f038ed4f5ddab /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/85c6d6739a81098c35cb35c3430f038ed4f5ddab/build_gles2_cmd_buffer.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 43, 11386, 22, 13621, 1864, 12, 2890, 16, 1326, 16, 585, 4672, 3536, 22042, 1691, 275, 628, 1412, 1503, 12123, 981, 273, 3536, 17105, 2463, 67, 723, 13, 87, 8975, 644, 67, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2598, 43, 11386, 22, 13621, 1864, 12, 2890, 16, 1326, 16, 585, 4672, 3536, 22042, 1691, 275, 628, 1412, 1503, 12123, 981, 273, 3536, 17105, 2463, 67, 723, 13, 87, 8975, 644, 67, 529, 1...
except RuntimeError:
except RuntimeError, e:
def dispatch(self, co_code, next_instr, ec): while True: try: return self.dispatch_bytecode(co_code, next_instr, ec) except OperationError, operr: next_instr = self.handle_operation_error(ec, operr) except Reraise: operr = self.last_exception next_instr = self.handle_operation_error(ec, operr, attach_tb=False) except K...
66cf8ca7d80c94483f401a1f6661fdefc3895793 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/66cf8ca7d80c94483f401a1f6661fdefc3895793/pyopcode.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3435, 12, 2890, 16, 1825, 67, 710, 16, 1024, 67, 267, 701, 16, 6557, 4672, 1323, 1053, 30, 775, 30, 327, 365, 18, 10739, 67, 1637, 16651, 12, 2894, 67, 710, 16, 1024, 67, 267, 701, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3435, 12, 2890, 16, 1825, 67, 710, 16, 1024, 67, 267, 701, 16, 6557, 4672, 1323, 1053, 30, 775, 30, 327, 365, 18, 10739, 67, 1637, 16651, 12, 2894, 67, 710, 16, 1024, 67, 267, 701, ...
return line(pts)
return line(pts, **kwds)
def plot_fourier_series_partial_sum_cesaro(self,N,L,xmin,xmax): r""" Plots the partial sum \[ f(x) \sim \frac{a_0}{2} + \sum_{n=1}^N (1-n/N)*[a_n\cos(\frac{n\pi x}{L}) + b_n\sin(\frac{n\pi x}{L})], \] over xmin < x < xmin. This is a "smoother" partial sum - the Gibbs phenomenon is mollified.
ed2b8539bc9ae9a97601aca06fe73632dd105f54 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/ed2b8539bc9ae9a97601aca06fe73632dd105f54/piecewise.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3207, 67, 74, 24775, 67, 10222, 67, 11601, 67, 1364, 67, 764, 14349, 12, 2890, 16, 50, 16, 48, 16, 92, 1154, 16, 92, 1896, 4672, 436, 8395, 3008, 6968, 326, 4702, 2142, 521, 63, 284,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 74, 24775, 67, 10222, 67, 11601, 67, 1364, 67, 764, 14349, 12, 2890, 16, 50, 16, 48, 16, 92, 1154, 16, 92, 1896, 4672, 436, 8395, 3008, 6968, 326, 4702, 2142, 521, 63, 284,...
return make_uid(obj)
return make_uid(obj, container, name)
def findUID(name, container, docmap=None): """ Attempt to find the UID for the object that can be accessed with the name C{name} from the module C{module}. @param name: The name used to identify the object. @type name: C{string} @param container: The UID of the class or module containing the object. @type container: L...
9befd5ad47b971682b4e165a19931e0f4bb82f5a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/9befd5ad47b971682b4e165a19931e0f4bb82f5a/uid.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 3060, 12, 529, 16, 1478, 16, 997, 1458, 33, 7036, 4672, 3536, 12864, 358, 1104, 326, 10034, 364, 326, 733, 716, 848, 506, 15539, 598, 326, 508, 385, 95, 529, 97, 628, 326, 1605, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1104, 3060, 12, 529, 16, 1478, 16, 997, 1458, 33, 7036, 4672, 3536, 12864, 358, 1104, 326, 10034, 364, 326, 733, 716, 848, 506, 15539, 598, 326, 508, 385, 95, 529, 97, 628, 326, 1605, ...
if (buffer+totalSize) > availableBytes:
if (buffer+totalSize) < availableBytes:
def __checkDiskSpace(self,totalSize): """Compare available disk space to the file size reported from the catalog result. """ diskSpace = getDiskSpace() #MB availableBytes = diskSpace*1024*1024 #bytes #below can be a configuration option sent via the job wrapper in the future buffer = 3*1024*1024*1024 # 3GB in bytes if ...
bc82ab0502487e9ed16559d9675405c2bd25b520 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/bc82ab0502487e9ed16559d9675405c2bd25b520/DownloadInputData.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 1893, 6247, 3819, 12, 2890, 16, 4963, 1225, 4672, 3536, 8583, 2319, 4234, 3476, 358, 326, 585, 963, 14010, 628, 326, 6222, 563, 18, 3536, 4234, 3819, 273, 336, 6247, 3819, 1435, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1893, 6247, 3819, 12, 2890, 16, 4963, 1225, 4672, 3536, 8583, 2319, 4234, 3476, 358, 326, 585, 963, 14010, 628, 326, 6222, 563, 18, 3536, 4234, 3819, 273, 336, 6247, 3819, 1435, 46...
rc_entry = [r'\converter latex sxw "%%" "latex"' ])
rc_entry = [ r'\converter latex sxw "%%" "latex"' ])
def checkProg(description, progs, rc_entry = [], path = [] ): ''' This function will search a program in $PATH plus given path If found, return directory and program name (not the options). description: description of the program progs: check programs, for each prog, the first word is used for searching but the whole...
41dd4f0be3188829e0dccd1c1ec13e281f4fc00d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7514/41dd4f0be3188829e0dccd1c1ec13e281f4fc00d/configure.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 626, 75, 12, 3384, 16, 450, 564, 16, 4519, 67, 4099, 273, 5378, 16, 589, 273, 5378, 262, 30, 9163, 1220, 445, 903, 1623, 279, 5402, 316, 271, 4211, 8737, 864, 589, 971, 1392, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 866, 626, 75, 12, 3384, 16, 450, 564, 16, 4519, 67, 4099, 273, 5378, 16, 589, 273, 5378, 262, 30, 9163, 1220, 445, 903, 1623, 279, 5402, 316, 271, 4211, 8737, 864, 589, 971, 1392, 16...
path = sys.path
path = sys.path[:]
def main(): # overridable context prefix = None # settable with -p option exec_prefix = None # settable with -P option extensions = [] path = sys.path modargs = 0 debug = 1 odir = '' win = sys.platform[:3] == 'win' # modules that are imported by the Python runtime implicits = ["s...
bfdc8d3fbfc193ee9f6416848fe7dfde7550786d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/bfdc8d3fbfc193ee9f6416848fe7dfde7550786d/freeze.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2774, 13332, 468, 5713, 27621, 819, 1633, 273, 599, 15604, 468, 444, 2121, 598, 300, 84, 1456, 1196, 67, 3239, 273, 599, 5375, 468, 444, 2121, 598, 300, 52, 1456, 4418, 273, 5378, 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, 2774, 13332, 468, 5713, 27621, 819, 1633, 273, 599, 15604, 468, 444, 2121, 598, 300, 84, 1456, 1196, 67, 3239, 273, 599, 5375, 468, 444, 2121, 598, 300, 52, 1456, 4418, 273, 5378, 589, ...
:Parameters: kpts : (n1,n2,n3) or [k1,k2,k3,...] or one of these
Parameters: kpts: (n1,n2,n3) or [k1,k2,k3,...] or one of these
def set_kpts(self, kpts): ''' set the kpt grid.
e4bbf97d9df9b38c9ddc58641295ae29052c4926 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5572/e4bbf97d9df9b38c9ddc58641295ae29052c4926/jacapo.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 79, 1092, 12, 2890, 16, 417, 1092, 4672, 9163, 444, 326, 417, 337, 3068, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 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, 444, 67, 79, 1092, 12, 2890, 16, 417, 1092, 4672, 9163, 444, 326, 417, 337, 3068, 18, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
show_project_names = models.BooleanField("Show project names", default=True, choices=( (False, 'No'), (True, 'Yes')))
show_project_names = models.BooleanField("Show project names", default=True, choices=yes_no_choices)
def clean_up_text(text, leading_lines_re = re.compile(r"^\s*\n"), leading_spaces_re = re.compile(r"^\s*"), ): """Clean up user-editable ruleset text. This expands tabs, removes blank leading lines, uniformly unindents as much as possible, and removes trailing whitespace from each line. """ # Expand tabs and remove lead...
d8af11ad902518d2782451bb242eb0f741a51e26 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6757/d8af11ad902518d2782451bb242eb0f741a51e26/models.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2721, 67, 416, 67, 955, 12, 955, 16, 7676, 67, 3548, 67, 266, 273, 283, 18, 11100, 12, 86, 6, 17134, 87, 12174, 82, 6, 3631, 7676, 67, 9554, 67, 266, 273, 283, 18, 11100, 12, 86, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2721, 67, 416, 67, 955, 12, 955, 16, 7676, 67, 3548, 67, 266, 273, 283, 18, 11100, 12, 86, 6, 17134, 87, 12174, 82, 6, 3631, 7676, 67, 9554, 67, 266, 273, 283, 18, 11100, 12, 86, ...
elif not isinstance(count, (int, long)):
if count is None: return s.replace(old, new) if not isinstance(count, (int, long)):
def do_replace(s, old, new, count=None): """ Return a copy of the value with all occurrences of a substring replaced with a new one. The first argument is the substring that should be replaced, the second is the replacement string. If the optional third argument ``count`` is given, only the first ``count`` occurrences ...
2da479f43bfd6d1baccab43dbd8c94511e0cea84 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/14446/2da479f43bfd6d1baccab43dbd8c94511e0cea84/filters.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 2079, 12, 87, 16, 1592, 16, 394, 16, 1056, 33, 7036, 4672, 3536, 2000, 279, 1610, 434, 326, 460, 598, 777, 15698, 434, 279, 3019, 8089, 598, 279, 394, 1245, 18, 1021, 1122, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 67, 2079, 12, 87, 16, 1592, 16, 394, 16, 1056, 33, 7036, 4672, 3536, 2000, 279, 1610, 434, 326, 460, 598, 777, 15698, 434, 279, 3019, 8089, 598, 279, 394, 1245, 18, 1021, 1122, ...
x, y, x2, y2 = self._bounding_box if (component.outer_x2 == x2-x) or \ (component.outer_y2 == y2-y) or \ (component.x == 0) or (component.y == 0):
x, y, x2, y2 = self._bounding_box if (component.outer_x2 == x2-x) or \ (component.outer_y2 == y2-y) or \ (component.x == 0) or (component.y == 0): needs_compact = True if needs_compact:
def remove(self, *components): """ Removes components from this container """ for component in components: if component in self._components: component.container = None self._components.remove(component) else: raise RuntimeError, "Unable to remove component from container."
659732ec4f94b18431043cc2ba9701a6ce88b930 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/13166/659732ec4f94b18431043cc2ba9701a6ce88b930/canvas.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 12, 2890, 16, 380, 8119, 4672, 3536, 20284, 4085, 628, 333, 1478, 3536, 364, 1794, 316, 4085, 30, 309, 1794, 316, 365, 6315, 8119, 30, 1794, 18, 3782, 273, 599, 365, 6315, 8119, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 12, 2890, 16, 380, 8119, 4672, 3536, 20284, 4085, 628, 333, 1478, 3536, 364, 1794, 316, 4085, 30, 309, 1794, 316, 365, 6315, 8119, 30, 1794, 18, 3782, 273, 599, 365, 6315, 8119, ...
try: result = self.hub.deliver(Message(xml)) except: e = sys.exc_info()[1] return xmlrpc.Fault(e.__class__.__name__, str(e))
result = self.hub.deliver(Message(xml))
def xmlrpc_deliverMessage(self, xml): """Deliver the given message, provided as XML text. If the message generates a reply, returns that. Otherwise, returns True. """ try: result = self.hub.deliver(Message(xml)) except: e = sys.exc_info()[1] return xmlrpc.Fault(e.__class__.__name__, str(e)) if result is not None: retur...
5400fa51aae47b80a31a97607ef976a9128a358a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9478/5400fa51aae47b80a31a97607ef976a9128a358a/XMLRPC.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 31811, 67, 26672, 1079, 12, 2890, 16, 2025, 4672, 3536, 20813, 326, 864, 883, 16, 2112, 487, 3167, 977, 18, 971, 326, 883, 6026, 279, 4332, 16, 1135, 716, 18, 5272, 16, 1135, 1053, 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, 31811, 67, 26672, 1079, 12, 2890, 16, 2025, 4672, 3536, 20813, 326, 864, 883, 16, 2112, 487, 3167, 977, 18, 971, 326, 883, 6026, 279, 4332, 16, 1135, 716, 18, 5272, 16, 1135, 1053, 18,...
def param_names_and_valstrings(self):
def param_names_and_valstrings(self, canonical = False):
def param_names_and_valstrings(self): #bruce 050701; extended by Mark 050704 to return the proper set of params """Return a list of pairs of (<param name>, <param value printable by %s>) for all gamess params we want to write to an mmp file from this set. These names and value-strings need to be recognized and decoded ...
cb18fd8e13b495ff2f5fc622ff2570903aeaa260 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/cb18fd8e13b495ff2f5fc622ff2570903aeaa260/jig_Gamess.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 579, 67, 1973, 67, 464, 67, 4524, 371, 87, 12, 2890, 16, 7378, 273, 1083, 4672, 468, 2848, 3965, 374, 3361, 27, 1611, 31, 7021, 635, 6622, 374, 3361, 27, 3028, 358, 327, 326, 5338, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 579, 67, 1973, 67, 464, 67, 4524, 371, 87, 12, 2890, 16, 7378, 273, 1083, 4672, 468, 2848, 3965, 374, 3361, 27, 1611, 31, 7021, 635, 6622, 374, 3361, 27, 3028, 358, 327, 326, 5338, 4...
pass
self.body.append('~\\\\\n')
def depart_line(self, node): pass
82189f816d9d3d6fcf1c42c38722ed62d73770f1 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7032/82189f816d9d3d6fcf1c42c38722ed62d73770f1/latexwriter.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26000, 67, 1369, 12, 2890, 16, 756, 4672, 1342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26000, 67, 1369, 12, 2890, 16, 756, 4672, 1342, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
package_dir = {idlelib:'.'},
package_dir = {idlelib: package_dir},
def _bytecode_filenames(self, files): files = [n for n in files if n.endswith('.py')] return install_lib._bytecode_filenames(self,files)
b34f34c1e4459597214b7dc957cfd2ff910722e7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/b34f34c1e4459597214b7dc957cfd2ff910722e7/setup.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1637, 16651, 67, 19875, 12, 2890, 16, 1390, 4672, 1390, 273, 306, 82, 364, 290, 316, 1390, 309, 290, 18, 5839, 1918, 2668, 18, 2074, 6134, 65, 327, 3799, 67, 2941, 6315, 1637, 166...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 1637, 16651, 67, 19875, 12, 2890, 16, 1390, 4672, 1390, 273, 306, 82, 364, 290, 316, 1390, 309, 290, 18, 5839, 1918, 2668, 18, 2074, 6134, 65, 327, 3799, 67, 2941, 6315, 1637, 166...
event = Event('http', 'message') event.sender = 'http' event.channel = 'http'
event = Event(u'http', u'message') event.sender = event.channel = u'http'
def render_GET(self, request): ibid.sources['http'].respond = self.respond event = Event('http', 'message') event.sender = 'http' event.channel = 'http' event.addressed = True event.public = False event.who = event.sender event.sender_id = event.sender event.message = request.args['m'][0] ibid.dispatcher.dispatch(event...
779977d41521c64ec3b3ebf7461f3d12476f6688 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12048/779977d41521c64ec3b3ebf7461f3d12476f6688/http.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 67, 3264, 12, 2890, 16, 590, 4672, 9834, 350, 18, 10141, 3292, 2505, 29489, 17863, 273, 365, 18, 17863, 871, 273, 2587, 12, 89, 11, 2505, 2187, 582, 17784, 615, 6134, 871, 18, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1743, 67, 3264, 12, 2890, 16, 590, 4672, 9834, 350, 18, 10141, 3292, 2505, 29489, 17863, 273, 365, 18, 17863, 871, 273, 2587, 12, 89, 11, 2505, 2187, 582, 17784, 615, 6134, 871, 18, 15...
Real Field with 200 bits of precision
Complex Field with 200 bits of precision
#def _singular_(self, singular):
2c1771131e28e10c71cb9596183f80472247b00e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/2c1771131e28e10c71cb9596183f80472247b00e/constants.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 468, 536, 389, 17835, 67, 12, 2890, 16, 10048, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 468, 536, 389, 17835, 67, 12, 2890, 16, 10048, 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, ...
self.category_view.currentChanged = \ lambda n, p: self.stackedWidget.setCurrentIndex(n.row())
self.category_view.currentChanged = self.category_current_changed
def __init__(self, window, db, server=None): ResizableDialog.__init__(self, window) self.ICON_SIZES = {0:QSize(48, 48), 1:QSize(32,32), 2:QSize(24,24)} self._category_model = CategoryModel()
b3de4fa7b1af80acd9dbdaa9a7ed242fabe97c3a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9125/b3de4fa7b1af80acd9dbdaa9a7ed242fabe97c3a/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 2738, 972, 12, 2890, 16, 2742, 16, 1319, 16, 1438, 33, 7036, 4672, 1124, 6934, 6353, 16186, 2738, 972, 12, 2890, 16, 2742, 13, 365, 18, 21745, 67, 4574, 55, 273, 288, 20, 30, 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, 2742, 16, 1319, 16, 1438, 33, 7036, 4672, 1124, 6934, 6353, 16186, 2738, 972, 12, 2890, 16, 2742, 13, 365, 18, 21745, 67, 4574, 55, 273, 288, 20, 30, 5...
t_cell(macro, "%s: MetaValueDistribution(%s)" % (error, ",".join(args)))
t_cell(macro, "%s: MetaValueDistribution(%s)" % (error, args))
def show_error(macro, args, error): request = macro.request request.write(macro.formatter.linebreak() + u'<div class="metatable">' + macro.formatter.table(1)) request.write(macro.formatter.table_row(1)) t_cell(macro, "%s: MetaValueDistribution(%s)" % (error, ",".join(args))) request.write(macro.formatter.table_row(0))...
7368168e5c55c40e3b42a413805966276a4a955a /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/888/7368168e5c55c40e3b42a413805966276a4a955a/MetaValueDistribution.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2405, 67, 1636, 12, 26448, 16, 833, 16, 555, 4672, 590, 273, 11522, 18, 2293, 225, 590, 18, 2626, 12, 26448, 18, 12354, 18, 1369, 8820, 1435, 397, 582, 11, 32, 2892, 667, 1546, 10578, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1636, 12, 26448, 16, 833, 16, 555, 4672, 590, 273, 11522, 18, 2293, 225, 590, 18, 2626, 12, 26448, 18, 12354, 18, 1369, 8820, 1435, 397, 582, 11, 32, 2892, 667, 1546, 10578, ...
self.cp.set("fu-condor","qscan",home_dirs()+"/romain/opt/omega/omega_r3270_glnxa64_binary/bin/wpipeline")
self.cp.set("fu-condor","qscan",stfu_pipe.home_dirs()+"/romain/opt/omega/omega_r3270_glnxa64_binary/bin/wpipeline") def get_cp(self): return self.cp def write(self): self.get_cp().write(open(self.ini_file,"w"))
def set_qscan_executable(self): host = stfu_pipe.get_hostname() if 'phy.syr.edu' in host: self.cp.set("fu-condor","qscan",home_dirs()+"/rgouaty/opt/omega/omega_r3270_glnxa64_binary/bin/wpipeline") else: self.cp.set("fu-condor","qscan",home_dirs()+"/romain/opt/omega/omega_r3270_glnxa64_binary/bin/wpipeline")
dce13b8cc0e86447f38bb5cad7fb87def80618e5 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5758/dce13b8cc0e86447f38bb5cad7fb87def80618e5/WOD_Bologna.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 444, 67, 85, 9871, 67, 17751, 12, 2890, 4672, 1479, 273, 384, 27074, 67, 14772, 18, 588, 67, 10358, 1435, 309, 296, 844, 93, 18, 9009, 86, 18, 28049, 11, 316, 1479, 30, 365, 18, 4057...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 85, 9871, 67, 17751, 12, 2890, 4672, 1479, 273, 384, 27074, 67, 14772, 18, 588, 67, 10358, 1435, 309, 296, 844, 93, 18, 9009, 86, 18, 28049, 11, 316, 1479, 30, 365, 18, 4057...
_("The host_name is the preferred name for email to mailman-related" " addresses on this host, and generally should be the mail" " host's exchanger address, if any. This setting can be useful" " for selecting among alternative names of a host that has" " multiple addresses.")), ('web_page_url', mm_cfg.String, WIDTH, ...
_("""The "host_name" is the preferred name for email to mailman-related addresses on this host, and generally should be the mail host's exchanger address, if any. This setting can be useful for selecting among alternative names of a host that has multiple addresses.""")), ('web_page_url', mm_cfg.String, WIDTH, 0, _('...
def GetConfigInfo(self): langs = self.GetAvailableLanguages()
d4117e2559487604b13fa55121d903681fad00c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2120/d4117e2559487604b13fa55121d903681fad00c3/MailList.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26666, 966, 12, 2890, 4672, 26467, 273, 365, 18, 967, 5268, 12912, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 26666, 966, 12, 2890, 4672, 26467, 273, 365, 18, 967, 5268, 12912, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
result['etag'] = info.getheader('ETag')
etag = info.getheader('ETag') if etag: result['etag'] = etag
def parse(url_file_stream_or_string, etag=None, modified=None, agent=None, referrer=None, handlers=[]): '''Parse a feed from a URL, file, stream, or string''' result = FeedParserDict() result['feed'] = FeedParserDict() result['entries'] = [] if _XML_AVAILABLE: result['bozo'] = 0 if type(handlers) == types.InstanceType:...
44482af2baebba8741223b8967e4efeaf8365c45 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/44482af2baebba8741223b8967e4efeaf8365c45/feedparser.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 718, 67, 768, 67, 3256, 67, 280, 67, 1080, 16, 13655, 33, 7036, 16, 4358, 33, 7036, 16, 4040, 33, 7036, 16, 14502, 33, 7036, 16, 4919, 33, 8526, 4672, 9163, 3201, 279, 4746...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 718, 67, 768, 67, 3256, 67, 280, 67, 1080, 16, 13655, 33, 7036, 16, 4358, 33, 7036, 16, 4040, 33, 7036, 16, 14502, 33, 7036, 16, 4919, 33, 8526, 4672, 9163, 3201, 279, 4746...
s.append(i.replace('?DAMNVID_VIDEO_STREAM?', '-').replace('?DAMNVID_VIDEO_PASS?', str(self.passes)).replace('?DAMNVID_OUTPUT_FILE?', DV.tmp_path + self.tmpfilename))
s.append(i.replace('?DAMNVID_VIDEO_STREAM?', stream).replace('?DAMNVID_VIDEO_PASS?', str(self.passes)).replace('?DAMNVID_OUTPUT_FILE?', DV.tmp_path + self.tmpfilename))
def cmd2str(self, cmd): s = [] for i in cmd: s.append(i.replace('?DAMNVID_VIDEO_STREAM?', '-').replace('?DAMNVID_VIDEO_PASS?', str(self.passes)).replace('?DAMNVID_OUTPUT_FILE?', DV.tmp_path + self.tmpfilename)) return s
6efe94af856bb918c22e3763b1f81660ac519337 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11142/6efe94af856bb918c22e3763b1f81660ac519337/DamnVid.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1797, 22, 701, 12, 2890, 16, 1797, 4672, 272, 273, 5378, 364, 277, 316, 1797, 30, 272, 18, 6923, 12, 77, 18, 2079, 2668, 35, 40, 2192, 11679, 734, 67, 58, 27242, 67, 13693, 35, 2187,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1797, 22, 701, 12, 2890, 16, 1797, 4672, 272, 273, 5378, 364, 277, 316, 1797, 30, 272, 18, 6923, 12, 77, 18, 2079, 2668, 35, 40, 2192, 11679, 734, 67, 58, 27242, 67, 13693, 35, 2187,...
theuser = self.request.user if not theuser: return if not 'name' in theuser.auth_attribs:
if not 'name' in request.user.auth_attribs:
def _save_user_prefs(self): _ = self._ form = self.request.form
39ee40a7a56d6232a4f77e637d8fe0ae20d800f5 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/888/39ee40a7a56d6232a4f77e637d8fe0ae20d800f5/prefs.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 5688, 67, 1355, 67, 1484, 2556, 12, 2890, 4672, 389, 273, 365, 6315, 646, 273, 365, 18, 2293, 18, 687, 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, 389, 5688, 67, 1355, 67, 1484, 2556, 12, 2890, 4672, 389, 273, 365, 6315, 646, 273, 365, 18, 2293, 18, 687, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
ImportStatusRenderer(wfile)\ .output(error_msg, '', added, updated, None)
renderer = ImportStatusRenderer(wfile) renderer.setLayoutParam(None, '', response.buildBookmarklet(req.env)) renderer.output(error_msg, '', added, updated, None)
def doMoz(wfile,req): error_msg = '' added = None updated = None file_field = req.form['file'] fp = StringIO.StringIO(file_field.value) # sanity check first if file_field.value.find('NETSCAPE-Bookmark-file',0,256) >= 0: added, updated = import_netscape.import_bookmark(fp) else: log.warn('Incorrect netscape bookmark f...
4a71ac27a583ff1ee42b338640d6581ef122302f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2355/4a71ac27a583ff1ee42b338640d6581ef122302f/weblibImport.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 49, 11142, 12, 91, 768, 16, 3658, 4672, 555, 67, 3576, 273, 875, 3096, 273, 599, 3526, 273, 599, 225, 585, 67, 1518, 273, 1111, 18, 687, 3292, 768, 3546, 4253, 273, 15777, 18, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 741, 49, 11142, 12, 91, 768, 16, 3658, 4672, 555, 67, 3576, 273, 875, 3096, 273, 599, 3526, 273, 599, 225, 585, 67, 1518, 273, 1111, 18, 687, 3292, 768, 3546, 4253, 273, 15777, 18, 7...
if self._progress: self.stream.write("\r") if self._debug: raise err[0], err[1], err[2] self._print_traceback("Failure in test %s" % test, err, test, self.failures)
self._handle_problem(err, test, self.failures)
def addFailure(self, test, err): if self._progress: self.stream.write("\r") if self._debug: raise err[0], err[1], err[2] self._print_traceback("Failure in test %s" % test, err, test, self.failures)
a9c89a0b67fc1f9994135c74507ff3c12dd29e38 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/a9c89a0b67fc1f9994135c74507ff3c12dd29e38/test.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 5247, 12, 2890, 16, 1842, 16, 393, 4672, 309, 365, 6315, 8298, 30, 365, 18, 3256, 18, 2626, 31458, 86, 7923, 309, 365, 6315, 4148, 30, 1002, 393, 63, 20, 6487, 393, 63, 21, 6487...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 527, 5247, 12, 2890, 16, 1842, 16, 393, 4672, 309, 365, 6315, 8298, 30, 365, 18, 3256, 18, 2626, 31458, 86, 7923, 309, 365, 6315, 4148, 30, 1002, 393, 63, 20, 6487, 393, 63, 21, 6487...
def get_draw_line_list(self, draw_style=None, draw_text_style=None, regex=None): return _get_element_list(self, 'descendant::draw:line', draw_style=draw_style,
def get_draw_line_list(self, draw_style=None, draw_text_style=None, regex=None): return _get_element_list(self, 'descendant::draw:line', draw_style=draw_style,
def get_draw_line_list(self, draw_style=None, draw_text_style=None, regex=None): return _get_element_list(self, 'descendant::draw:line', draw_style=draw_style, draw_text_style=draw_text_style, regex=regex)
ce277637ece39c490aa0e17baab70b714a014dd4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10612/ce277637ece39c490aa0e17baab70b714a014dd4/element.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 336, 67, 9446, 67, 1369, 67, 1098, 12, 2890, 16, 3724, 67, 4060, 33, 7036, 16, 3724, 67, 955, 67, 4060, 33, 7036, 16, 3936, 33, 7036, 4672, 327, 389, 588, 67, 2956, 67, 1098, 12, 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, 336, 67, 9446, 67, 1369, 67, 1098, 12, 2890, 16, 3724, 67, 4060, 33, 7036, 16, 3724, 67, 955, 67, 4060, 33, 7036, 16, 3936, 33, 7036, 4672, 327, 389, 588, 67, 2956, 67, 1098, 12, 2...
doc = Request(self, 'user.getWeeklyAlbumChart', self.api_key, params).execute() if not doc: return None
doc = _Request(self, 'user.getWeeklyAlbumChart', self.api_key, params).execute() if not doc: return []
def getTopWeeklyAlbums(self, from_value = None, to_value = None): """Returns a tuple of the most frequently listened to Albums in a week range. If no date range is supplied, it will return the most recent week's data. You can obtain the available ranges from getWeeklyChartList(). * from_value: The value marking the beg...
903c9b1622fe56617e5099f20abdc69f2090f8e0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9926/903c9b1622fe56617e5099f20abdc69f2090f8e0/pylast.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13729, 6630, 715, 30330, 87, 12, 2890, 16, 628, 67, 1132, 273, 599, 16, 358, 67, 1132, 273, 599, 4672, 3536, 1356, 279, 3193, 434, 326, 4486, 13821, 23351, 6514, 329, 358, 2262, 10293, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 13729, 6630, 715, 30330, 87, 12, 2890, 16, 628, 67, 1132, 273, 599, 16, 358, 67, 1132, 273, 599, 4672, 3536, 1356, 279, 3193, 434, 326, 4486, 13821, 23351, 6514, 329, 358, 2262, 10293, ...
print `length`
def read_file(f): buf = None while 1: if buf: length = buf[:5] int_length = int(length) else: length = f.read(5) buf = length if length == "": break try: assert length.isdigit() except AssertionError: print `length` raise int_length = int(length) data = buf + f.read(int_length - len(buf)) buf = None if not data.endswit...
bef6afc11b4f7b8971ec3803fb79303961289695 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3913/bef6afc11b4f7b8971ec3803fb79303961289695/fast_parse.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 855, 67, 768, 12, 74, 4672, 1681, 273, 599, 1323, 404, 30, 309, 1681, 30, 769, 273, 1681, 10531, 25, 65, 509, 67, 2469, 273, 509, 12, 2469, 13, 469, 30, 769, 273, 284, 18, 896, 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, 855, 67, 768, 12, 74, 4672, 1681, 273, 599, 1323, 404, 30, 309, 1681, 30, 769, 273, 1681, 10531, 25, 65, 509, 67, 2469, 273, 509, 12, 2469, 13, 469, 30, 769, 273, 284, 18, 896, 12,...
if result['OK']: symmetricMatch, leftToRightMatch, rightToLeftMatch = result['Value'] if leftToRightMatch: jobID = self.findMatchInQueue(classAdAgent, tqID) if jobID > 0: break
symmetricMatch, leftToRightMatch, rightToLeftMatch = result['Value'] if not result['OK']: if leftToRightMatch is None: gLogger.warn("Error while matching the Queue to Agent requirements") continue if leftToRightMatch: jobID = self.findMatchInQueue(classAdAgent, tqID) if jobID > 0: break else: gLogger.warn('Error while ...
def selectJob(self, resourceJDL): """ Main job selection function to find the highest priority job matching the resource capacity """
efa72d039ea8335d5706043f0e4af017355dbdd3 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12864/efa72d039ea8335d5706043f0e4af017355dbdd3/MatcherHandler.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2027, 2278, 12, 2890, 16, 1058, 46, 8914, 4672, 3536, 12740, 1719, 4421, 445, 358, 1104, 326, 9742, 4394, 1719, 3607, 326, 1058, 7519, 3536, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2027, 2278, 12, 2890, 16, 1058, 46, 8914, 4672, 3536, 12740, 1719, 4421, 445, 358, 1104, 326, 9742, 4394, 1719, 3607, 326, 1058, 7519, 3536, 2, -100, -100, -100, -100, -100, -100, -100, ...
sep = l*'-' + '+' + (self.COLS-l)*'-'
sep = l * '-' + '+' + (self.COLS - l) * '-'
def format_props(self): tkt = self.ticket fields = [f for f in tkt.fields if f['type'] != 'textarea' and f['name'] not in ('summary', 'cc')] t = self.modtime or tkt.time_changed width = [0, 0, 0, 0] for i, f in enum([f['name'] for f in fields]): if not tkt.values.has_key(f): continue fval = tkt[f] if fval.find('\n') > ...
3149990b37bbad9b05da85b4f32cfaea6df54320 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/3149990b37bbad9b05da85b4f32cfaea6df54320/Notify.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 67, 9693, 12, 2890, 4672, 268, 8629, 273, 365, 18, 16282, 1466, 273, 306, 74, 364, 284, 316, 268, 8629, 18, 2821, 309, 284, 3292, 723, 3546, 480, 296, 16701, 11, 471, 284, 3292, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 740, 67, 9693, 12, 2890, 4672, 268, 8629, 273, 365, 18, 16282, 1466, 273, 306, 74, 364, 284, 316, 268, 8629, 18, 2821, 309, 284, 3292, 723, 3546, 480, 296, 16701, 11, 471, 284, 3292, ...
\?%s* %s
\?%(uric)s* %(urilast)s
def parse(self, text, lineno, memo, parent): """ Return 2 lists: nodes (text and inline elements), and system_messages.
816927c350eab6c8d1baf3e3aa09f53b2caab704 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1278/816927c350eab6c8d1baf3e3aa09f53b2caab704/states.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 977, 16, 7586, 16, 11063, 16, 982, 4672, 3536, 2000, 576, 6035, 30, 2199, 261, 955, 471, 6370, 2186, 3631, 471, 2619, 67, 6833, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1109, 12, 2890, 16, 977, 16, 7586, 16, 11063, 16, 982, 4672, 3536, 2000, 576, 6035, 30, 2199, 261, 955, 471, 6370, 2186, 3631, 471, 2619, 67, 6833, 18, 2, -100, -100, -100, -100, -100,...
assert flags == 0
def search(pattern, string, flags=0): assert flags == 0 return compile(pattern, _fixflags(flags)).search(string)
87a6e3fdd8121eb0ccaf1e26aefd929fa10a0a3b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/87a6e3fdd8121eb0ccaf1e26aefd929fa10a0a3b/sre.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1623, 12, 4951, 16, 533, 16, 2943, 33, 20, 4672, 327, 4074, 12, 4951, 16, 389, 904, 7133, 12, 7133, 13, 2934, 3072, 12, 1080, 13, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1623, 12, 4951, 16, 533, 16, 2943, 33, 20, 4672, 327, 4074, 12, 4951, 16, 389, 904, 7133, 12, 7133, 13, 2934, 3072, 12, 1080, 13, 225, 2, -100, -100, -100, -100, -100, -100, -100, -1...
"Got '%s' instead." % type(handler))
"Got '%s' instead." % type(handler).__name__)
def _get_arg_spec(self, handler): """Returns info about args in a tuple (args, defaults, varargs)
6bbd68270d358a519b345d3501b09a3f5fc104a7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6988/6bbd68270d358a519b345d3501b09a3f5fc104a7/arguments.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 3175, 67, 2793, 12, 2890, 16, 1838, 4672, 3536, 1356, 1123, 2973, 833, 316, 279, 3193, 261, 1968, 16, 3467, 16, 19732, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 389, 588, 67, 3175, 67, 2793, 12, 2890, 16, 1838, 4672, 3536, 1356, 1123, 2973, 833, 316, 279, 3193, 261, 1968, 16, 3467, 16, 19732, 13, 2, -100, -100, -100, -100, -100, -100, -100, -1...
>>> for (lhs, rhs) in arg_descrs: <li>$lhs$ - $rhs$</li>
>>> for lhs, rhs in arg_descrs: $self.labelled_list_item(lhs, rhs)$
def arg_name_to_html(self, func_doc, arg_name): """ A helper function used to format an argument name, for use in the argument description list under a routine's details entry. This just wraps strong & code tags around the arg name; and if the arg name is associated with a type, then adds it parenthetically after the n...
a0087d4a151fbc748003be35f0418624fa61376a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/a0087d4a151fbc748003be35f0418624fa61376a/html.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1501, 67, 529, 67, 869, 67, 2620, 12, 2890, 16, 1326, 67, 2434, 16, 1501, 67, 529, 4672, 3536, 432, 4222, 445, 1399, 358, 740, 392, 1237, 508, 16, 364, 999, 316, 326, 1237, 2477, 666...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1501, 67, 529, 67, 869, 67, 2620, 12, 2890, 16, 1326, 67, 2434, 16, 1501, 67, 529, 4672, 3536, 432, 4222, 445, 1399, 358, 740, 392, 1237, 508, 16, 364, 999, 316, 326, 1237, 2477, 666...
transaction."""
transaction. """
def quotedata(data): """Quote data for email. Double leading '.', and change Unix newline '\n', or Mac '\r' into Internet CRLF end-of-line.""" return re.sub(r'(?m)^\.', '..', re.sub(r'(?:\r\n|\n|\r(?!\n))', CRLF, data))
a7d9bdfab61551ed16efc55c1b6c37268c2d9832 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/a7d9bdfab61551ed16efc55c1b6c37268c2d9832/smtplib.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9298, 396, 12, 892, 4672, 3536, 10257, 501, 364, 2699, 18, 225, 3698, 7676, 2611, 16, 471, 2549, 9480, 9472, 2337, 82, 2187, 578, 13217, 2337, 86, 11, 1368, 21352, 21791, 679, 17, 792, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 9298, 396, 12, 892, 4672, 3536, 10257, 501, 364, 2699, 18, 225, 3698, 7676, 2611, 16, 471, 2549, 9480, 9472, 2337, 82, 2187, 578, 13217, 2337, 86, 11, 1368, 21352, 21791, 679, 17, 792, ...
self.setFilelist()
self.setFileList()
def activateLoadedSettings(self): # remove missing data set names self.recentFiles=filter(os.path.exists,self.recentFiles) self.setFilelist() if self.selectedFileName != "": if os.path.exists(self.selectedFileName): self.openFile(self.selectedFileName) else: self.selectedFileName = ""
b9fd533735ae70be1b0a56c619caab95650f43aa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6366/b9fd533735ae70be1b0a56c619caab95650f43aa/OWFile.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10235, 8835, 2628, 12, 2890, 4672, 468, 1206, 3315, 501, 444, 1257, 365, 18, 20872, 2697, 33, 2188, 12, 538, 18, 803, 18, 1808, 16, 2890, 18, 20872, 2697, 13, 365, 18, 542, 26098, 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, 10235, 8835, 2628, 12, 2890, 4672, 468, 1206, 3315, 501, 444, 1257, 365, 18, 20872, 2697, 33, 2188, 12, 538, 18, 803, 18, 1808, 16, 2890, 18, 20872, 2697, 13, 365, 18, 542, 26098, 1435...
archive_basename = os.path.join(self.bdist_dir, "%s.win32" % fullname)
def run (self): if (sys.platform != "win32" and (self.distribution.has_ext_modules() or self.distribution.has_c_libraries())): raise DistutilsPlatformError \ ("distribution contains extensions and/or C libraries; " "must be compiled on a Windows 32 platform")
4a14b419c11b8ea709451294c6f7f839b755c15d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/4a14b419c11b8ea709451294c6f7f839b755c15d/bdist_wininst.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 261, 2890, 4672, 309, 261, 9499, 18, 9898, 480, 315, 8082, 1578, 6, 471, 261, 2890, 18, 16279, 18, 5332, 67, 408, 67, 6400, 1435, 578, 365, 18, 16279, 18, 5332, 67, 71, 67, 314...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 261, 2890, 4672, 309, 261, 9499, 18, 9898, 480, 315, 8082, 1578, 6, 471, 261, 2890, 18, 16279, 18, 5332, 67, 408, 67, 6400, 1435, 578, 365, 18, 16279, 18, 5332, 67, 71, 67, 314...
class pending_xref(nodes.Element): pass
class pending_xref(nodes.Inline, nodes.Element): pass
def astext(self): return '[' + nodes.TextElement.astext(self) + ']'
a19e18f71c4feb615f23d0379af269dadd2c5aac /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7032/a19e18f71c4feb615f23d0379af269dadd2c5aac/addnodes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3364, 408, 12, 2890, 4672, 327, 8375, 397, 2199, 18, 1528, 1046, 18, 689, 408, 12, 2890, 13, 397, 8641, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 3364, 408, 12, 2890, 4672, 327, 8375, 397, 2199, 18, 1528, 1046, 18, 689, 408, 12, 2890, 13, 397, 8641, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
- ``ivar`` - (optional) the independent variable (hereafter called x), which must be specified if there is more than one independent variable in the equation.
- ``ivar`` - (optional) the independent variable (hereafter called x), which must be specified if there is more than one independent variable in the equation.
def desolve(de, dvar, ics=None, ivar=None, show_method=False, contrib_ode=False): """ Solves a 1st or 2nd order linear ODE via maxima. Including IVP and BVP. *Use* ``desolve? <tab>`` *if the output in truncated in notebook.* INPUT: - ``de`` - an expression or equation representing the ODE - ``dvar`` - the dependent...
9902f1225cf51ac05097f8e749c306b7e620fc70 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/9902f1225cf51ac05097f8e749c306b7e620fc70/desolvers.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2832, 5390, 12, 323, 16, 302, 1401, 16, 277, 2143, 33, 7036, 16, 277, 1401, 33, 7036, 16, 2405, 67, 2039, 33, 8381, 16, 13608, 67, 390, 33, 8381, 4672, 3536, 348, 355, 3324, 279, 404...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2832, 5390, 12, 323, 16, 302, 1401, 16, 277, 2143, 33, 7036, 16, 277, 1401, 33, 7036, 16, 2405, 67, 2039, 33, 8381, 16, 13608, 67, 390, 33, 8381, 4672, 3536, 348, 355, 3324, 279, 404...
_explicit_re = re.compile(r'<pre\s*[^>]*id="paste.debug.prints".*?>',
_explicit_re = re.compile(r'<pre\s*[^>]*id="paste-debug-prints".*?>',
def remove_printdebug(): removed.append(None)
5f0eeac5e22368a3923969d7d1430bd7db5d674a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11400/5f0eeac5e22368a3923969d7d1430bd7db5d674a/prints.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 67, 1188, 4148, 13332, 3723, 18, 6923, 12, 7036, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1206, 67, 1188, 4148, 13332, 3723, 18, 6923, 12, 7036, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
result, failure = synchronous[0] if failure is not None: failure.raiseException()
result, fail = synchronous[0] if fail is not None: fail.raiseException()
def eb(failure): if cur: if getcurrent() is cur[0]: synchronous.append((None, failure)) else: failure.throwExceptionIntoGenerator(cur[0])
512b2eac768aa941bb19fa7abd6ef1e3780cbca3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10078/512b2eac768aa941bb19fa7abd6ef1e3780cbca3/__init__.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 20371, 12, 12251, 4672, 309, 662, 30, 309, 336, 2972, 1435, 353, 662, 63, 20, 14542, 12209, 18, 6923, 12443, 7036, 16, 5166, 3719, 469, 30, 5166, 18, 12849, 503, 5952, 3908, 12, 1397, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20371, 12, 12251, 4672, 309, 662, 30, 309, 336, 2972, 1435, 353, 662, 63, 20, 14542, 12209, 18, 6923, 12443, 7036, 16, 5166, 3719, 469, 30, 5166, 18, 12849, 503, 5952, 3908, 12, 1397, ...
if base_from == 64 and [True for plugin in ibid.processors if plugin.feature == "base64"]:
if base_from == 64 and [True for plugin in ibid.processors if getattr(plugin, "feature", None) == "base64"]:
def process_buf(buf): char = self._from_base(buf, base_from) if char > 127: raise ValueError(u"I only deal with the first page of ASCII (i.e. under 127). %i is invalid." % char) elif char < 32: return u" %s " % "NUL SOH STX EOT ENQ ACK BEL BS HT LF VT FF SO SI DLE DC1 DC2 DC2 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US"...
fcc21222b1cacdc0166b0f0990fc94c3749c09d2 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12048/fcc21222b1cacdc0166b0f0990fc94c3749c09d2/math.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 4385, 12, 4385, 4672, 1149, 273, 365, 6315, 2080, 67, 1969, 12, 4385, 16, 1026, 67, 2080, 13, 309, 1149, 405, 12331, 30, 1002, 2068, 12, 89, 6, 45, 1338, 10490, 598, 326, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1207, 67, 4385, 12, 4385, 4672, 1149, 273, 365, 6315, 2080, 67, 1969, 12, 4385, 16, 1026, 67, 2080, 13, 309, 1149, 405, 12331, 30, 1002, 2068, 12, 89, 6, 45, 1338, 10490, 598, 326, 1...
for (func, cmd) in self.sub_commands:
for (func, cmd_name) in self.sub_commands:
def run (self):
eda381e4a5684d65a352e01a009fb86d9c0bc84f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/eda381e4a5684d65a352e01a009fb86d9c0bc84f/install.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 261, 2890, 4672, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1086, 261, 2890, 4672, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
'preselected integrater xds not available'
'preselected integrater mosflm not available'
def Integrater(): '''Return an Integrater implementation.''' # FIXME this should take an indexer as an argument... integrater = None preselection = get_preferences().get('integrater') if not integrater and (not preselection or preselection == 'mosflm'): try: integrater = Mosflm.Mosflm() Admin.write('Using Mosflm In...
cfe94931cb3dc542ac91fc67850a116c0ca34629 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3290/cfe94931cb3dc542ac91fc67850a116c0ca34629/IntegraterFactory.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 15285, 2045, 13332, 9163, 990, 392, 225, 15285, 2045, 4471, 1093, 6309, 225, 468, 9852, 333, 1410, 4862, 392, 12635, 487, 392, 1237, 2777, 225, 11301, 2045, 273, 599, 4075, 292, 794, 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, 15285, 2045, 13332, 9163, 990, 392, 225, 15285, 2045, 4471, 1093, 6309, 225, 468, 9852, 333, 1410, 4862, 392, 12635, 487, 392, 1237, 2777, 225, 11301, 2045, 273, 599, 4075, 292, 794, 273, ...
self.frame.Unbind(wx.EVT_MENU) self.frame.Unbind(wx.EVT_MENU_CLOSE) self.frame.Unbind(wx.EVT_CHAR_HOOK) ctrl.Unbind(wx.EVT_KEY_DOWN) ctrl.Unbind(wx.EVT_CHAR)
root.frame.Unbind(wx.EVT_MENU) root.frame.Unbind(wx.EVT_MENU_CLOSE) root.frame.Unbind(wx.EVT_CHAR_HOOK) for ctrl in self.bound_controls: ctrl.Unbind(wx.EVT_KEY_DOWN) ctrl.Unbind(wx.EVT_CHAR) ctrl.Unbind(wx.EVT_SET_FOCUS) self.bound_controls = [] root.frame = None def OnSetFocus(self, evt): dprint("Setting focus to %s"...
def unbindEvents(self, ctrl): root = self.root self.frame.Unbind(wx.EVT_MENU) self.frame.Unbind(wx.EVT_MENU_CLOSE) self.frame.Unbind(wx.EVT_CHAR_HOOK) ctrl.Unbind(wx.EVT_KEY_DOWN) ctrl.Unbind(wx.EVT_CHAR)
06dbd30848e3f3b419df2c1574810e7baa52289b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11522/06dbd30848e3f3b419df2c1574810e7baa52289b/multikey.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 17449, 3783, 12, 2890, 16, 6414, 4672, 1365, 273, 365, 18, 3085, 1365, 18, 3789, 18, 984, 4376, 12, 27226, 18, 24427, 56, 67, 29227, 13, 1365, 18, 3789, 18, 984, 4376, 12, 27226, 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, 17449, 3783, 12, 2890, 16, 6414, 4672, 1365, 273, 365, 18, 3085, 1365, 18, 3789, 18, 984, 4376, 12, 27226, 18, 24427, 56, 67, 29227, 13, 1365, 18, 3789, 18, 984, 4376, 12, 27226, 18, ...
CXXFLAGS = [ '-Wno-long-long', '$CXXFLAGS_' ],
CXXFLAGS = [ '-Wno-long-long', '$CXXFLAGS_', '-fno-strict-aliasing' ],
def SetupForSENF(env, senf_path = []): global senfutildir senf_path.extend(('senf', os.path.dirname(senfutildir), '/usr/local', '/usr')) loadTools(env) env.Append( LIBS = [ 'rt' ], CXXFLAGS = [ '-Wno-long-long', '$CXXFLAGS_' ], CXXFLAGS_ = BuildTypeOptions('CXXFLAGS'), CPPDEFINES ...
ab0764b4a4a7d72ca1683b8dc9d521e80491a388 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2548/ab0764b4a4a7d72ca1683b8dc9d521e80491a388/senfutil.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10939, 1290, 1090, 26473, 12, 3074, 16, 28901, 74, 67, 803, 273, 5378, 4672, 2552, 28901, 74, 322, 545, 481, 28901, 74, 67, 803, 18, 14313, 12, 2668, 87, 275, 74, 2187, 1140, 18, 803, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 10939, 1290, 1090, 26473, 12, 3074, 16, 28901, 74, 67, 803, 273, 5378, 4672, 2552, 28901, 74, 322, 545, 481, 28901, 74, 67, 803, 18, 14313, 12, 2668, 87, 275, 74, 2187, 1140, 18, 803, ...
else:
else:
def __restore_mbi(self, hProcess, new_mbi, old_mbi): """ Used internally by L{restore_memory_snapshot}. """
7dede11956b1a47aee7ff4ac8c1decd0f1d2d6f5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7261/7dede11956b1a47aee7ff4ac8c1decd0f1d2d6f5/system.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 1001, 13991, 67, 1627, 77, 12, 2890, 16, 366, 2227, 16, 394, 67, 1627, 77, 16, 1592, 67, 1627, 77, 4672, 3536, 10286, 12963, 635, 511, 95, 13991, 67, 7858, 67, 11171, 5496, 3536, 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, 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, 13991, 67, 1627, 77, 12, 2890, 16, 366, 2227, 16, 394, 67, 1627, 77, 16, 1592, 67, 1627, 77, 4672, 3536, 10286, 12963, 635, 511, 95, 13991, 67, 7858, 67, 11171, 5496, 3536, 2, ...
text = re.sub('CLASS_NAME', classname, text) text = re.sub('VISIT_TEXT', visit_text, text) text = re.sub('RETURN_STATEMENT', return_statement, text)
text = re.sub('<CLASS_NAME>', classname, text) text = re.sub('<VISIT_TEXT>', visit_text, text) text = re.sub('<RETURN_STATEMENT>', return_statement, text)
def builder_function(self, all_classes, dependencies, modifiability_map): text = r'''RETURN_TYPE operator()(<CONST>CLASS_NAME& x)
0dea07dc66f23d0208483a2e70df382c197c7d9c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1522/0dea07dc66f23d0208483a2e70df382c197c7d9c/mcrl2_classes.py
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1652, 2089, 67, 915, 12, 2890, 16, 777, 67, 4701, 16, 5030, 16, 681, 704, 2967, 67, 1458, 4672, 977, 273, 436, 26418, 14033, 67, 2399, 3726, 1435, 12, 32, 26411, 34, 5237, 67, 1985, 10, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2089, 67, 915, 12, 2890, 16, 777, 67, 4701, 16, 5030, 16, 681, 704, 2967, 67, 1458, 4672, 977, 273, 436, 26418, 14033, 67, 2399, 3726, 1435, 12, 32, 26411, 34, 5237, 67, 1985, 10, 61...