rem stringlengths 2 226k | add stringlengths 0 227k | context stringlengths 8 228k | meta stringlengths 156 215 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|---|
execute_http_request (action, args, db, options) | execute_http_request(action, args, db, options) | def execute_command_line (action, args, options, parser): db = FluidDB(host=options.hostname, debug=options.debug) ids_from_queries = chain(*imap(lambda q: get_ids_or_fail(q, db), options.query)) ids = chain(options.id, ids_from_queries) objs = [O({'mode': 'about', 'specifier': a}) for a in options.about] + \ [O({'mo... | e75848841ac96982524448e932e12fd6ff9cbe0c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12637/e75848841ac96982524448e932e12fd6ff9cbe0c/fdb.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1836,
67,
3076,
67,
1369,
261,
1128,
16,
833,
16,
702,
16,
2082,
4672,
1319,
273,
3857,
1911,
2290,
12,
2564,
33,
2116,
18,
10358,
16,
1198,
33,
2116,
18,
4148,
13,
225,
3258,
67,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1836,
67,
3076,
67,
1369,
261,
1128,
16,
833,
16,
702,
16,
2082,
4672,
1319,
273,
3857,
1911,
2290,
12,
2564,
33,
2116,
18,
10358,
16,
1198,
33,
2116,
18,
4148,
13,
225,
3258,
67,
20... |
print "nextPktNum: New Time" | LOG.debug( "nextPktNum: New Time" ) | def nextPktNum(self): | 1a57390c60627da9e810a0212997b3f88d2873a4 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11503/1a57390c60627da9e810a0212997b3f88d2873a4/dtella_bridgeserver.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1024,
7789,
88,
2578,
12,
2890,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1024,
7789,
88,
2578,
12,
2890,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
Director.pushSaveSting(plr, "mission_scripts", name) | Director.pushSaveString(plr, "mission_scripts", name) | def writemissionsavegame (name): Director.pushSaveSting(plr, "mission_scripts", name) | 8796967c2148278d17a07bc38fa32aa9f2a9de2d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2883/8796967c2148278d17a07bc38fa32aa9f2a9de2d/dynamic_mission.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2518,
351,
1054,
1115,
836,
13957,
261,
529,
4672,
29701,
18,
6206,
4755,
780,
12,
412,
86,
16,
315,
3951,
67,
12827,
3113,
508,
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,
0,
0,
0,
0,
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,
2518,
351,
1054,
1115,
836,
13957,
261,
529,
4672,
29701,
18,
6206,
4755,
780,
12,
412,
86,
16,
315,
3951,
67,
12827,
3113,
508,
13,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
newdata=self.theOwner.recache(fpn,lasttime,points[fpn][0],self.pixelwidth) | newdata=self.theOwner.recache(fpn,lasttime,points[fpn][0],self.pixelwidth/2) | def addpoints(self, points): #must be zoom level 0 #if strip: redraw_flag=False | a2969eacd6b0c07a7a354120f03e1a09ebc16cc1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12724/a2969eacd6b0c07a7a354120f03e1a09ebc16cc1/Plot.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
4139,
12,
2890,
16,
3143,
4672,
468,
11926,
506,
7182,
1801,
374,
468,
430,
2569,
30,
16540,
67,
6420,
33,
8381,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
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,
527,
4139,
12,
2890,
16,
3143,
4672,
468,
11926,
506,
7182,
1801,
374,
468,
430,
2569,
30,
16540,
67,
6420,
33,
8381,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
print "inserting milestone ", ms[key] c.execute("""INSERT INTO milestone (name) VALUES (%s)""", ms[key].encode('utf-8')) | milestone = ms[key] print " inserting milestone '%s'" % (milestone) c.execute("INSERT INTO milestone (name) VALUES (%s)", (milestone.encode('utf-8'))) | def setMilestoneList(self, m, key): """Remove all milestones, set them to `m`""" self.assertNoTickets() c = self.db().cursor() c.execute("""DELETE FROM milestone""") for ms in m: print "inserting milestone ", ms[key] c.execute("""INSERT INTO milestone (name) VALUES (%s)""", ms[key].encode('utf-8')) self.db().commit() | 63f7bce156a2ed5a10227f95c07a9ae105efaf62 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9317/63f7bce156a2ed5a10227f95c07a9ae105efaf62/bugzilla2trac.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
15430,
18270,
682,
12,
2890,
16,
312,
16,
498,
4672,
3536,
3288,
777,
312,
14849,
5322,
16,
444,
2182,
358,
1375,
81,
68,
8395,
365,
18,
11231,
2279,
6264,
2413,
1435,
225,
276,
273,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
15430,
18270,
682,
12,
2890,
16,
312,
16,
498,
4672,
3536,
3288,
777,
312,
14849,
5322,
16,
444,
2182,
358,
1375,
81,
68,
8395,
365,
18,
11231,
2279,
6264,
2413,
1435,
225,
276,
273,
3... |
def Verifynonexistent(self, entry, _): return True def Installnonexistent(self, entry): return True | def Verifynonexistent(self, entry, _): # FIXME: not implemented return True | 5eaff14ec2e0d468b9e518c31200dcc021141360 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11867/5eaff14ec2e0d468b9e518c31200dcc021141360/POSIX.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6160,
430,
878,
265,
19041,
12,
2890,
16,
1241,
16,
389,
4672,
468,
9852,
30,
486,
8249,
327,
1053,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6160,
430,
878,
265,
19041,
12,
2890,
16,
1241,
16,
389,
4672,
468,
9852,
30,
486,
8249,
327,
1053,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... | |
count = 0 | def cut_file_manually(self, filename): """ Cuts a file manually with Avidemux or VirtualDub and gets cuts from possibly created project files (VD) or from output (AD). returns: error_message, cuts, executable """ program, config_value = self.__get_program(filename, manually=True) if program < 0: return config_value, ... | 57c19d57ef9d95ca00b806de3edff11b9437d151 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11048/57c19d57ef9d95ca00b806de3edff11b9437d151/decodeorcut.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6391,
67,
768,
67,
4728,
3452,
12,
2890,
16,
1544,
4672,
3536,
385,
12940,
279,
585,
10036,
598,
432,
6768,
81,
2616,
578,
7269,
40,
373,
471,
5571,
6391,
87,
628,
10016,
2522,
1984,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6391,
67,
768,
67,
4728,
3452,
12,
2890,
16,
1544,
4672,
3536,
385,
12940,
279,
585,
10036,
598,
432,
6768,
81,
2616,
578,
7269,
40,
373,
471,
5571,
6391,
87,
628,
10016,
2522,
1984,
1... | |
'', title, CLASS='normedname', *field[1].children) | '', title, CLASS=normedname, *field[1].children) | def extract_bibliographic(self, field_list): docinfo = nodes.docinfo() bibliofields = self.language.bibliographic_fields labels = self.language.labels topics = {'dedication': None, 'abstract': None} for field in field_list: try: name = field[0][0].astext() normedname = utils.normalize_name(name) if not (len(field) == 2... | d4e745ee3b6899cbf7438a227d2e53ccfe0ba945 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8194/d4e745ee3b6899cbf7438a227d2e53ccfe0ba945/frontmatter.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2608,
67,
70,
495,
549,
16983,
12,
2890,
16,
652,
67,
1098,
4672,
997,
1376,
273,
2199,
18,
2434,
1376,
1435,
25581,
549,
792,
491,
87,
273,
365,
18,
4923,
18,
70,
495,
549,
16983,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2608,
67,
70,
495,
549,
16983,
12,
2890,
16,
652,
67,
1098,
4672,
997,
1376,
273,
2199,
18,
2434,
1376,
1435,
25581,
549,
792,
491,
87,
273,
365,
18,
4923,
18,
70,
495,
549,
16983,
6... |
xc.play() | xc.play() | def play(self): global version print _("Xibo Client v") + version print _("Reading default configuration") global config config = ConfigParser.ConfigParser() config.readfp(open('defaults.cfg')) print _("Reading user configuration") config.read(['site.cfg', os.path.expanduser('~/.xibo')]) logLevel = config.get('Loggi... | c5123891e41cae7e9a02c5699fef5c054a513a86 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5464/c5123891e41cae7e9a02c5699fef5c054a513a86/XiboClient.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6599,
12,
2890,
4672,
2552,
1177,
1172,
389,
2932,
60,
495,
83,
2445,
331,
7923,
397,
1177,
225,
1172,
389,
2932,
15714,
805,
1664,
7923,
2552,
642,
642,
273,
25076,
18,
809,
2678,
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,
6599,
12,
2890,
4672,
2552,
1177,
1172,
389,
2932,
60,
495,
83,
2445,
331,
7923,
397,
1177,
225,
1172,
389,
2932,
15714,
805,
1664,
7923,
2552,
642,
642,
273,
25076,
18,
809,
2678,
1435,... |
logging.debug("Cleaning job %d from the cache", job.id) | logging.debug("Cleaning job %s from the cache", job.id) | def _CleanCacheUnlocked(self, exclude): """Clean the memory cache. | 205d71fdeea18dc1ee3c02e34f4989a2ec6f41cf /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/7542/205d71fdeea18dc1ee3c02e34f4989a2ec6f41cf/jqueue.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
7605,
1649,
7087,
329,
12,
2890,
16,
4433,
4672,
3536,
7605,
326,
3778,
1247,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
7605,
1649,
7087,
329,
12,
2890,
16,
4433,
4672,
3536,
7605,
326,
3778,
1247,
18,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
print "WARNING: server does not listen HTTP at port %s" % self.port | self.log.warning("server does not listen HTTP at port %s" % self.port) | def start_full(self): """ start and wait until server is up, ready to serve """ self.start() time.sleep(1) t = 0 while not self.is_ready: if not self.is_running: raise Exception("Server cannot start") if t > 120: self.stop() raise Exception("Server took too long to start") time.sleep(1) t += 1 if self._lports.get('HTTP... | 2d17231adf555f05c40cb6f44f8923db65935f0c /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12853/2d17231adf555f05c40cb6f44f8923db65935f0c/base_quality_interrogation.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
787,
67,
2854,
12,
2890,
4672,
3536,
787,
471,
2529,
3180,
1438,
353,
731,
16,
5695,
358,
12175,
3536,
365,
18,
1937,
1435,
813,
18,
19607,
12,
21,
13,
268,
273,
374,
1323,
486,
365,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
787,
67,
2854,
12,
2890,
4672,
3536,
787,
471,
2529,
3180,
1438,
353,
731,
16,
5695,
358,
12175,
3536,
365,
18,
1937,
1435,
813,
18,
19607,
12,
21,
13,
268,
273,
374,
1323,
486,
365,
... |
''' | fileName : name of a file from which the object's contents is loaded. The file name is ignored if any of the other arguments are specified. (Specify fileName as: fileName='foo.csv') ''' | def __init__(self, varArray=None, nameList=None, fileName=None): ''' Initialize the object. Arguments: dataArray : the data; 2D numpy.ndarray, each variable is a collumn nameList : the variable names; list or tuple of strings. Also accepted is a dict with names:indices, which is accepted untested. ''' #create empty o... | 4f7397e773983ae72bd3ffebc2d43ad44a277e2e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/2720/4f7397e773983ae72bd3ffebc2d43ad44a277e2e/storage.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
569,
1076,
33,
7036,
16,
508,
682,
33,
7036,
16,
3968,
33,
7036,
4672,
3968,
225,
294,
508,
434,
279,
585,
628,
1492,
326,
733,
1807,
2939,
353,
4203,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
569,
1076,
33,
7036,
16,
508,
682,
33,
7036,
16,
3968,
33,
7036,
4672,
3968,
225,
294,
508,
434,
279,
585,
628,
1492,
326,
733,
1807,
2939,
353,
4203,
... |
host_info['cpu Mhz'] = str(int(l[1]) / 1000000.0) | host_info['cpu Mhz'] = (int(l[1]) / 1000000.0) | def _gotsysctl(self, output, host_info): d = defer.Deferred() output = output.split('\n') for line in output: if line == '': continue l = line.strip() if '=' in l: l = l.split('=') elif ':' in line: l = l.split(':') l = [li.strip() for li in l] if l[0] == 'hw.cpufrequency': host_info['cpu Mhz'] = str(int(l[1]) / 10000... | 8dcbaf617e2d4af9c37822e803b2cc07556fadf0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/8dcbaf617e2d4af9c37822e803b2cc07556fadf0/hostinfo.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
75,
6968,
1900,
12930,
12,
2890,
16,
876,
16,
1479,
67,
1376,
4672,
302,
273,
2220,
18,
16886,
1435,
876,
273,
876,
18,
4939,
2668,
64,
82,
6134,
364,
980,
316,
876,
30,
309,
98... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
75,
6968,
1900,
12930,
12,
2890,
16,
876,
16,
1479,
67,
1376,
4672,
302,
273,
2220,
18,
16886,
1435,
876,
273,
876,
18,
4939,
2668,
64,
82,
6134,
364,
980,
316,
876,
30,
309,
98... |
class SharedData: | class SharedData(object): | def logStatusMsg( msg, level, config=True ): u"""write a message to the log/stdout/stderr, depending on the level. if config=False, goes straight to stderr""" global _action TimeCode = u"[%4d%02d%02d.%02d:%02d.%02d]" % time.localtime()[:6] newmsg = TimeCode + ' ' + unicode( msg ) if not config and _action != "daemon"... | 0cb1506674182526857aef8db2e41c9d94e09cdf /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1664/0cb1506674182526857aef8db2e41c9d94e09cdf/rssdler.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
613,
1482,
3332,
12,
1234,
16,
1801,
16,
642,
33,
5510,
262,
30,
582,
8395,
2626,
279,
883,
358,
326,
613,
19,
10283,
19,
11241,
16,
8353,
603,
326,
1801,
18,
309,
642,
33,
8381,
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,
613,
1482,
3332,
12,
1234,
16,
1801,
16,
642,
33,
5510,
262,
30,
582,
8395,
2626,
279,
883,
358,
326,
613,
19,
10283,
19,
11241,
16,
8353,
603,
326,
1801,
18,
309,
642,
33,
8381,
16,... |
type(sample) == DictType: | type(sample) == DictType or \ (isinstance(sample, anyType) and \ (getattr(sample, "_complexType", None) and \ sample._complexType)): | def dump_list(self, obj, tag, typed = 1, ns_map = {}): if Config.debug: print "In dump_list.", "obj=", obj tag = tag or self.gentag() tag = toXMLname(tag) # convert from SOAP 1.2 XML name encoding | 9d0d88122cd5fd6cd29a6e091a60f7c4690b1ce9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14538/9d0d88122cd5fd6cd29a6e091a60f7c4690b1ce9/SOAPBuilder.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4657,
67,
1098,
12,
2890,
16,
1081,
16,
1047,
16,
9092,
273,
404,
16,
3153,
67,
1458,
273,
2618,
4672,
309,
1903,
18,
4148,
30,
1172,
315,
382,
4657,
67,
1098,
1199,
16,
315,
2603,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4657,
67,
1098,
12,
2890,
16,
1081,
16,
1047,
16,
9092,
273,
404,
16,
3153,
67,
1458,
273,
2618,
4672,
309,
1903,
18,
4148,
30,
1172,
315,
382,
4657,
67,
1098,
1199,
16,
315,
2603,
1... |
if (older('built/lib/pandac/PandaModules.pyz',xpaths("built/etc/",ALLIN,""))): ALLTARGETS.append('built/lib/pandac/PandaModules.pyz') | if (older(PREFIX+'/lib/pandac/PandaModules.pyz',xpaths(PREFIX+"/etc/",ALLIN,""))): ALLTARGETS.append(PREFIX+'/lib/pandac/PandaModules.pyz') | if (val == 'UNDEF'): conf = conf + "#undef " + key + "\n" | aa9700942409f59dfc63d4542d0bad0a01230726 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7242/aa9700942409f59dfc63d4542d0bad0a01230726/makepanda.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
309,
261,
1125,
422,
296,
2124,
12904,
11,
4672,
2195,
273,
2195,
397,
6619,
318,
536,
315,
397,
498,
397,
1548,
82,
6,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
309,
261,
1125,
422,
296,
2124,
12904,
11,
4672,
2195,
273,
2195,
397,
6619,
318,
536,
315,
397,
498,
397,
1548,
82,
6,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
if not bober_is_good: if first_warning: print "*WARNING*: bober's implementation is broken on this platform or this size of n." first_warning=False | def number_of_partitions(n,k=None, algorithm='default'): r""" Returns the size of partitions_list(n,k). INPUT: n -- an integer k -- (default: None); if specified, instead returns the cardinality of the set of all (unordered) partitions of the positive integer n into sums with k summands. algorithm -- (default: 'defaul... | 133ed5d488fcc631795027cd415e935f304eaad7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/133ed5d488fcc631795027cd415e935f304eaad7/combinat.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1300,
67,
792,
67,
21275,
12,
82,
16,
79,
33,
7036,
16,
4886,
2218,
1886,
11,
4672,
436,
8395,
2860,
326,
963,
434,
10060,
67,
1098,
12,
82,
16,
79,
2934,
225,
12943,
30,
290,
1493,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1300,
67,
792,
67,
21275,
12,
82,
16,
79,
33,
7036,
16,
4886,
2218,
1886,
11,
4672,
436,
8395,
2860,
326,
963,
434,
10060,
67,
1098,
12,
82,
16,
79,
2934,
225,
12943,
30,
290,
1493,
... | |
def __str__(self): return str(self.asTuple()) def __repr__(self): return str(self.asTuple()) | def __str__(self): return str(self.asTuple()) | 211a46cf8271a93ad670effd0d2b742c6050f50f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/211a46cf8271a93ad670effd0d2b742c6050f50f/misc.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
701,
972,
12,
2890,
4672,
327,
609,
12,
2890,
18,
345,
9038,
10756,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
701,
972,
12,
2890,
4672,
327,
609,
12,
2890,
18,
345,
9038,
10756,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... | |
return QuotientRingElement(self.parent(), self.__rep + right.__rep) | return self.parent()(self.__rep + right.__rep) | def _add_(self, right): """ Add quotient ring element ``self`` to another quotient ring element, ``right``. If the quotient is `R/I`, the addition is carried out in `R` and then reduced to `R/I`. | 58ebb4d70457dd673b05b2505e0b7a71dbcfa5df /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9890/58ebb4d70457dd673b05b2505e0b7a71dbcfa5df/quotient_ring_element.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1289,
67,
12,
2890,
16,
2145,
4672,
3536,
1436,
26708,
9221,
930,
12176,
2890,
10335,
358,
4042,
26708,
9221,
930,
16,
12176,
4083,
68,
8338,
971,
326,
26708,
353,
1375,
54,
19,
45,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1289,
67,
12,
2890,
16,
2145,
4672,
3536,
1436,
26708,
9221,
930,
12176,
2890,
10335,
358,
4042,
26708,
9221,
930,
16,
12176,
4083,
68,
8338,
971,
326,
26708,
353,
1375,
54,
19,
45,... |
return context.come_back(message, goto) | return goto | def edit(self, context): goto = Text.edit(self, context) | 48edbbd02b12cb34ab62e3136ab74762814c0aaa /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12681/48edbbd02b12cb34ab62e3136ab74762814c0aaa/wiki.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3874,
12,
2890,
16,
819,
4672,
2897,
273,
3867,
18,
4619,
12,
2890,
16,
819,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3874,
12,
2890,
16,
819,
4672,
2897,
273,
3867,
18,
4619,
12,
2890,
16,
819,
13,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
author = self.selectAuthorField(full) | def citation(self, full=False, capitalize=False): """ Jones et al., 1990 """ if self.isNumeric(): return self.numcitation() author = self.selectAuthorField(full) res = self.ownerDocument.createDocumentFragment() res.append(self.prenote) i = 0 for i, item in enumerate(self.bibitems): if i == 0 and capitalize: res.extend... | 8934f30c0a19f16cc8a139d82b1fab89e7c8f18a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7864/8934f30c0a19f16cc8a139d82b1fab89e7c8f18a/natbib.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
21145,
12,
2890,
16,
1983,
33,
8381,
16,
17451,
33,
8381,
4672,
3536,
804,
5322,
3393,
524,
12990,
23673,
20,
3536,
309,
365,
18,
291,
9902,
13332,
327,
365,
18,
2107,
71,
8773,
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,
21145,
12,
2890,
16,
1983,
33,
8381,
16,
17451,
33,
8381,
4672,
3536,
804,
5322,
3393,
524,
12990,
23673,
20,
3536,
309,
365,
18,
291,
9902,
13332,
327,
365,
18,
2107,
71,
8773,
1435,
... | |
config.add_library('mach',sources=[join('mach','*.f')], | config.add_library('sc_mach',sources=[join('mach','*.f')], | def configuration(parent_package='',top_path=None): from numpy.distutils.misc_util import Configuration config = Configuration('special', parent_package, top_path) define_macros = [] if sys.platform=='win32': | 23ae9977267f9c38304c633798ed014516310694 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12971/23ae9977267f9c38304c633798ed014516310694/setup.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1664,
12,
2938,
67,
5610,
2218,
2187,
3669,
67,
803,
33,
7036,
4672,
628,
3972,
18,
4413,
5471,
18,
23667,
67,
1367,
1930,
4659,
642,
273,
4659,
2668,
9371,
2187,
982,
67,
5610,
16,
17... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1664,
12,
2938,
67,
5610,
2218,
2187,
3669,
67,
803,
33,
7036,
4672,
628,
3972,
18,
4413,
5471,
18,
23667,
67,
1367,
1930,
4659,
642,
273,
4659,
2668,
9371,
2187,
982,
67,
5610,
16,
17... |
for found_result in parselog(wsite, log, talk, number): | for found_result in parselog(wsite, log, talk, number, sul): | def main(settingsBot): # Taking the messages inside the function namespace. global netext, summary, logbook, summary2, report_page, project_inserted global comment, bad_pag, report_text, random_sign, whitelist_pg, final_new_text_additions """ 0 1 2 3 4 5 6 7 ... | 98559af7589cd73fd27133fc330012830680fcc0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4404/98559af7589cd73fd27133fc330012830680fcc0/welcome.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
12,
4272,
6522,
4672,
468,
399,
6159,
326,
2743,
4832,
326,
445,
1981,
18,
2552,
2901,
408,
16,
4916,
16,
613,
3618,
16,
4916,
22,
16,
2605,
67,
2433,
16,
1984,
67,
6387,
329,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
12,
4272,
6522,
4672,
468,
399,
6159,
326,
2743,
4832,
326,
445,
1981,
18,
2552,
2901,
408,
16,
4916,
16,
613,
3618,
16,
4916,
22,
16,
2605,
67,
2433,
16,
1984,
67,
6387,
329,
... |
"""<b> Add Favorite </b> <p> Adds a new favorite to the user's list of favorites.""") | """<b>Add Favorite </b> <p> <img source=\"ui/actions/Properties Manager/AddFavorite.png\"><br> Allows a new Favorite to be added to the list. This saves the current settings to a user specified Favorite name. """) | def WhatsThis_EditDnaDisplayStyle_PropertyManager(propMgr): """ Add "What's This" text for widgets in the Edit DNA Display Style Property Manager. """ propMgr.applyFavoriteButton.setWhatsThis( """<b> Apply Favorite </b> <p> Apply the DNA display style settings stored in the current favorite (selected in the combobox) ... | 87f357202ce4dca36c1dcc7491686a22c7a639d9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11221/87f357202ce4dca36c1dcc7491686a22c7a639d9/WhatsThisText_for_PropertyManagers.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3497,
2323,
2503,
67,
4666,
40,
6582,
4236,
2885,
67,
1396,
1318,
12,
5986,
9455,
4672,
3536,
1436,
315,
23801,
1807,
1220,
6,
977,
364,
10965,
316,
326,
15328,
463,
11277,
9311,
9767,
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,
3497,
2323,
2503,
67,
4666,
40,
6582,
4236,
2885,
67,
1396,
1318,
12,
5986,
9455,
4672,
3536,
1436,
315,
23801,
1807,
1220,
6,
977,
364,
10965,
316,
326,
15328,
463,
11277,
9311,
9767,
4... |
self.assertRaises(TypeError, self.type2test.fromhex, b'1B') | def test_fromhex(self): self.assertRaises(TypeError, self.type2test.fromhex) self.assertRaises(TypeError, self.type2test.fromhex, 1) self.assertEquals(self.type2test.fromhex(u''), self.type2test()) b = bytearray([0x1a, 0x2b, 0x30]) self.assertEquals(self.type2test.fromhex(u'1a2B30'), b) self.assertEquals(self.type2test... | 6ba3645bf8295de98bf0d79e62fceea3a998f9be /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8125/6ba3645bf8295de98bf0d79e62fceea3a998f9be/test_bytes.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
2080,
7118,
12,
2890,
4672,
365,
18,
11231,
12649,
6141,
12,
19030,
16,
365,
18,
723,
22,
3813,
18,
2080,
7118,
13,
365,
18,
11231,
12649,
6141,
12,
19030,
16,
365,
18,
723,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
2080,
7118,
12,
2890,
4672,
365,
18,
11231,
12649,
6141,
12,
19030,
16,
365,
18,
723,
22,
3813,
18,
2080,
7118,
13,
365,
18,
11231,
12649,
6141,
12,
19030,
16,
365,
18,
723,
... | |
u"Résidence", u"Rond-Point", u"Rang", u"Route", u"Rue", | u"Résidence", u"Rond-Point", u"Rang", u"Route", u"Rue", | def first_letter_equal(self, a, b): """returns True if the letters a and b are equal in the map index, e.g. É and E are equals in French map index""" return a == b | 028772200c26bf0fe37574902657b20638fa1fe8 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9326/028772200c26bf0fe37574902657b20638fa1fe8/i18n.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1122,
67,
13449,
67,
9729,
12,
2890,
16,
279,
16,
324,
4672,
3536,
6154,
1053,
309,
326,
13768,
279,
471,
324,
854,
3959,
316,
326,
852,
770,
16,
425,
18,
75,
18,
225,
132,
236,
471,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1122,
67,
13449,
67,
9729,
12,
2890,
16,
279,
16,
324,
4672,
3536,
6154,
1053,
309,
326,
13768,
279,
471,
324,
854,
3959,
316,
326,
852,
770,
16,
425,
18,
75,
18,
225,
132,
236,
471,... |
def doIntersectingBounds(self, numBounds): self.makeTree(numBounds) | def doIntersectingRandomBounds(self, numBounds): self.makeRandomTree(numBounds) | def doIntersectingBounds(self, numBounds): self.makeTree(numBounds) numTests = 25 if numBounds: numTests = (int)( math.log10( numBounds ) + 1 ) * 25 for j in range(0, numTests): bound = self.makeBound() bIdxArray = self.tree.intersectingBounds( bound ) for bIdx in bIdxArray: self.assert_(bIdx >= 0) self.assert_(bI... | 4ad6372a07364aefd9c635be6abf8692f532b8cb /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9042/4ad6372a07364aefd9c635be6abf8692f532b8cb/BoundedKDTree.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
741,
22541,
310,
8529,
5694,
12,
2890,
16,
818,
5694,
4672,
225,
365,
18,
6540,
8529,
2471,
12,
2107,
5694,
13,
225,
818,
14650,
273,
6969,
309,
818,
5694,
30,
818,
14650,
273,
261,
47... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22541,
310,
8529,
5694,
12,
2890,
16,
818,
5694,
4672,
225,
365,
18,
6540,
8529,
2471,
12,
2107,
5694,
13,
225,
818,
14650,
273,
6969,
309,
818,
5694,
30,
818,
14650,
273,
261,
47... |
%prep %setup %build %install | %%prep %%setup %%build %%install | def createSpecFile(self, specFile, appName, version, releaseNo, sourceDir): """Create the spec file to build rpm package on Linux. Here is some information about what goes inside a RPM spec file: http://www.rpm.org/max-rpm/s1-rpm-build-creating-spec-file.html http://www.rpm.org/max-rpm/s1-rpm-inside-scripts.html """ sp... | d8f1e03cb2baf7fa0c7a54a88b434c7a71a3c3c0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/d8f1e03cb2baf7fa0c7a54a88b434c7a71a3c3c0/autoBuild.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
1990,
812,
12,
2890,
16,
857,
812,
16,
10236,
16,
1177,
16,
3992,
2279,
16,
26844,
4672,
3536,
1684,
326,
857,
585,
358,
1361,
25228,
2181,
603,
13318,
18,
13743,
353,
2690,
1779,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1990,
812,
12,
2890,
16,
857,
812,
16,
10236,
16,
1177,
16,
3992,
2279,
16,
26844,
4672,
3536,
1684,
326,
857,
585,
358,
1361,
25228,
2181,
603,
13318,
18,
13743,
353,
2690,
1779,
... |
def __init__(data = None) | def __init__(data = None): | def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 953) else quickfix.StringField.__init__(self, 953, data) | 484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
892,
273,
599,
4672,
309,
501,
422,
599,
30,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
2468,
8643,
13,
469,
9549,
904,
18,
780,
974,
16186,
2738,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
892,
273,
599,
4672,
309,
501,
422,
599,
30,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
2468,
8643,
13,
469,
9549,
904,
18,
780,
974,
16186,
2738,
... |
Activity(identity.current.user,'WEBUI','Tagged',distro.install_name,None,tag) | Activity(identity.current.user,'WEBUI','Tagged',distro.install_name,None,tag['text']) | def save_tag(self, id=None, tag=None, *args, **kw): try: distro = Distro.by_id(id) except InvalidRequestError: flash(_(u"Invalid distro id %s" % id)) redirect(".") if tag['text']: distro.tags.append(tag['text']) Activity(identity.current.user,'WEBUI','Tagged',distro.install_name,None,tag) flash(_(u"Added Tag %s" % tag[... | ed435aa4b003adbe6ed0eb14c21632d3fd20fe05 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/14755/ed435aa4b003adbe6ed0eb14c21632d3fd20fe05/distro.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1923,
67,
2692,
12,
2890,
16,
612,
33,
7036,
16,
1047,
33,
7036,
16,
380,
1968,
16,
2826,
9987,
4672,
775,
30,
27450,
273,
19893,
303,
18,
1637,
67,
350,
12,
350,
13,
1335,
1962,
289... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1923,
67,
2692,
12,
2890,
16,
612,
33,
7036,
16,
1047,
33,
7036,
16,
380,
1968,
16,
2826,
9987,
4672,
775,
30,
27450,
273,
19893,
303,
18,
1637,
67,
350,
12,
350,
13,
1335,
1962,
289... |
if retained: | if lFilters: | def addFile(self,fileTuples,force=False): """ Add a new file to the TransformationDB together with its first replica. """ gLogger.info("TransformationDB.addFile: Attempting to add %s files." % len(fileTuples)) successful = {} failed = {} for lfn,pfn,size,se,guid,checksum in fileTuples: | 2de462e5f0ae9ee53e9d3317240bdd2b812e092a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/2de462e5f0ae9ee53e9d3317240bdd2b812e092a/TransformationDB.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
18671,
12,
2890,
16,
768,
25813,
16,
5734,
33,
8381,
4672,
3536,
225,
1436,
279,
394,
585,
358,
326,
21274,
2290,
9475,
598,
2097,
1122,
12335,
18,
3536,
314,
3328,
18,
1376,
2932,
15292... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
18671,
12,
2890,
16,
768,
25813,
16,
5734,
33,
8381,
4672,
3536,
225,
1436,
279,
394,
585,
358,
326,
21274,
2290,
9475,
598,
2097,
1122,
12335,
18,
3536,
314,
3328,
18,
1376,
2932,
15292... |
sb = ram.tortuga.SensorBoard.checkedCast(base) if not factory: | sb = ram.tortuga.SensorBoardPrx.checkedCast(base) if not sb: | def ice_cleanup(): print('Cleaning up Ice client runtime.') if ic: # Clean up try: ic.destroy() except: traceback.print_exc() status = 1 | b9568c2a816c3d8f7351a8f1633ecae865e0bd74 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10608/b9568c2a816c3d8f7351a8f1633ecae865e0bd74/client.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
277,
311,
67,
16732,
13332,
1172,
2668,
7605,
310,
731,
467,
311,
1004,
3099,
1093,
13,
309,
13579,
30,
468,
9645,
731,
775,
30,
13579,
18,
11662,
1435,
1335,
30,
10820,
18,
1188,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
277,
311,
67,
16732,
13332,
1172,
2668,
7605,
310,
731,
467,
311,
1004,
3099,
1093,
13,
309,
13579,
30,
468,
9645,
731,
775,
30,
13579,
18,
11662,
1435,
1335,
30,
10820,
18,
1188,
67,
... |
def __init__(self, name=None): if not name: name = 'X%d' % XCell.counter XCell.counter += 1 self.name = name | def __init__(self): | def __init__(self, name=None): if not name: name = 'X%d' % XCell.counter XCell.counter += 1 self.name = name self.shared = [] # list of weakrefs to XCells # defining a group of shared cells. | c68a32c8bd90888c6c8056f0804f438cb700b947 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/c68a32c8bd90888c6c8056f0804f438cb700b947/annotation.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
365,
18,
11574,
273,
5378,
565,
468,
666,
434,
16046,
9316,
358,
1139,
10505,
468,
9364,
279,
1041,
434,
5116,
5983,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
365,
18,
11574,
273,
5378,
565,
468,
666,
434,
16046,
9316,
358,
1139,
10505,
468,
9364,
279,
1041,
434,
5116,
5983,
18,
2,
-100,
-100,
-100,
-100,
-100,... |
def __init__(data = None) | def __init__(data = None): | def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 107) else quickfix.StringField.__init__(self, 107, data) | 484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
892,
273,
599,
4672,
309,
501,
422,
599,
30,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
1728,
27,
13,
469,
9549,
904,
18,
780,
974,
16186,
2738,
97... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
892,
273,
599,
4672,
309,
501,
422,
599,
30,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
1728,
27,
13,
469,
9549,
904,
18,
780,
974,
16186,
2738,
97... |
'row': 0, 'color': "yellow", 'order': 6}, 'resume_general': {'list': dict(), 'start': -1.0, 'end': -1.0, 'row': 0, 'color': " | 'row': 0, 'color': ' 'resume': {'list': dict(), 'start': -1.0, 'end': -1.0, 'row': 0, 'color': ' 'resume_complete': {'list': dict(), 'start': -1.0, 'end': -1.0, 'row': 0, 'color': ' | def initialize(self): self.dmesg = { # dmesg log data 'suspend_general': {'list': dict(), 'start': -1.0, 'end': -1.0, 'row': 0, 'color': "#CCFFCC", 'order': 0}, 'suspend_early': {'list': dict(), 'start': -1.0, 'end': -1.0, 'row': 0, 'color': "green", 'order': 1}, 'suspend_noirq': {'list': dict(), 'start': -1.0, 'end': ... | 0c52bda8f6c5785b5982bc3636b627b4ccd59c3f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5327/0c52bda8f6c5785b5982bc3636b627b4ccd59c3f/analyze_suspend.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4046,
12,
2890,
4672,
365,
18,
10956,
281,
75,
273,
288,
468,
9113,
281,
75,
613,
501,
296,
87,
18815,
67,
12259,
4278,
13666,
1098,
4278,
2065,
9334,
296,
1937,
4278,
300,
21,
18,
20,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4046,
12,
2890,
4672,
365,
18,
10956,
281,
75,
273,
288,
468,
9113,
281,
75,
613,
501,
296,
87,
18815,
67,
12259,
4278,
13666,
1098,
4278,
2065,
9334,
296,
1937,
4278,
300,
21,
18,
20,... |
sys.exit(exitOSError) | flushexit(exitOSError) def flushbuffers(): sys.stdout.flush() sys.stderr.flush() def flushexit(rc): flushbuffers() sys.exit(rc) def flushkill(pid, sig): flushbuffers() os.kill(pid, sig) | def forkexec(command, args): global prefix global elapsedtime #print command #print args try: pid = os.fork() if pid == 0: # Child os.execvp(command, args) else: # Parent return pid except OSError, e: print "%s ERROR: %s %s failed: %d (%s) (%f seconds)" % (prefix, command, args, e.errno, e.strerror, elapsedtime) sys.... | fd7e024d445d6939ae395938fc710ab33ba20156 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11102/fd7e024d445d6939ae395938fc710ab33ba20156/timed_run.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
12515,
4177,
12,
3076,
16,
833,
4672,
2552,
1633,
2552,
9613,
957,
468,
1188,
1296,
468,
1188,
833,
775,
30,
4231,
273,
1140,
18,
23335,
1435,
309,
4231,
422,
374,
30,
225,
468,
7451,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
12515,
4177,
12,
3076,
16,
833,
4672,
2552,
1633,
2552,
9613,
957,
468,
1188,
1296,
468,
1188,
833,
775,
30,
4231,
273,
1140,
18,
23335,
1435,
309,
4231,
422,
374,
30,
225,
468,
7451,
... |
def manage_editDocument(self, text_format, text, file='', REQUEST=None): | def manage_editDocument(self, text, text_format, file='', REQUEST=None): | def manage_editDocument(self, text_format, text, file='', REQUEST=None): """ A ZMI (Zope Management Interface) level editing method """ self.edit(text_format, text, file) if REQUEST is not None: REQUEST['RESPONSE'].redirect( self.absolute_url() + '/manage_edit' + '?manage_tabs_message=Document+updated' ) | a525f4eaa1c0242c3600faeec95fb3358fbeafaf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1843/a525f4eaa1c0242c3600faeec95fb3358fbeafaf/Document.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10680,
67,
4619,
2519,
12,
2890,
16,
977,
16,
977,
67,
2139,
16,
585,
2218,
2187,
12492,
33,
7036,
4672,
3536,
432,
2285,
7492,
261,
62,
1306,
13303,
6682,
13,
1801,
15755,
707,
3536,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10680,
67,
4619,
2519,
12,
2890,
16,
977,
16,
977,
67,
2139,
16,
585,
2218,
2187,
12492,
33,
7036,
4672,
3536,
432,
2285,
7492,
261,
62,
1306,
13303,
6682,
13,
1801,
15755,
707,
3536,
... |
self.notebook.append_page( iipane, gtk.Label('Image Info') ) | self.notebook.append_page(iipane, gtk.Label('Image Info')) | def create_imageinfo(self): iipane = gtk.VBox(spacing=10) iipane.set_border_width(10) self.notebook.append_page( iipane, gtk.Label('Image Info') ) | 0a9f3291528240d019f1755ce071bd15e36e112d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11090/0a9f3291528240d019f1755ce071bd15e36e112d/gvrasterpropdlg.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
67,
2730,
1376,
12,
2890,
4672,
277,
625,
8806,
273,
22718,
18,
58,
3514,
12,
14080,
33,
2163,
13,
277,
625,
8806,
18,
542,
67,
8815,
67,
2819,
12,
2163,
13,
365,
18,
24422,
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,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
67,
2730,
1376,
12,
2890,
4672,
277,
625,
8806,
273,
22718,
18,
58,
3514,
12,
14080,
33,
2163,
13,
277,
625,
8806,
18,
542,
67,
8815,
67,
2819,
12,
2163,
13,
365,
18,
24422,
18,... |
self.__pool.log("Connection %r exceeded timeout; recycling", | self.__pool.logger.info("Connection %r exceeded timeout; recycling", | def get_connection(self): if self.connection is None: self.connection = self.__connect() self.info.clear() if self.__pool._on_connect: for l in self.__pool._on_connect: l.connect(self.connection, self) elif (self.__pool._recycle > -1 and time.time() - self.starttime > self.__pool._recycle): if self.__pool._should_log_i... | 56f64add8195f35961f67cf1baebda476dfb03ec /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1074/56f64add8195f35961f67cf1baebda476dfb03ec/pool.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
4071,
12,
2890,
4672,
309,
365,
18,
4071,
353,
599,
30,
365,
18,
4071,
273,
365,
16186,
3612,
1435,
365,
18,
1376,
18,
8507,
1435,
309,
365,
16186,
6011,
6315,
265,
67,
3612,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4071,
12,
2890,
4672,
309,
365,
18,
4071,
353,
599,
30,
365,
18,
4071,
273,
365,
16186,
3612,
1435,
365,
18,
1376,
18,
8507,
1435,
309,
365,
16186,
6011,
6315,
265,
67,
3612,
... |
def export_getSubRequestSourceSEs(self): return transferDB.getDistinctSubRequestAttributes('SourceSE') | def export_getSubRequestSourceSEs( self ): return transferDB.getDistinctSubRequestAttributes( 'SourceSE' ) | def export_getSubRequestSourceSEs(self): return transferDB.getDistinctSubRequestAttributes('SourceSE') | fbaa0cc38e2ebaeb3cf9a01c58d193b76f63bf22 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12864/fbaa0cc38e2ebaeb3cf9a01c58d193b76f63bf22/TransferDBMonitoringHandler.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3359,
67,
588,
1676,
691,
1830,
1090,
87,
12,
2890,
4672,
327,
7412,
2290,
18,
588,
23402,
1676,
691,
2498,
2668,
1830,
1090,
6134,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3359,
67,
588,
1676,
691,
1830,
1090,
87,
12,
2890,
4672,
327,
7412,
2290,
18,
588,
23402,
1676,
691,
2498,
2668,
1830,
1090,
6134,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
font-family: "Courier New",courier, monospace; | font-family: courier, monospace; | def css(color='default'): r""" Return the CSS header used by the SAGE Notebook. INPUT: color -- string or pair of html colors, e.g., 'gmail' 'grey' \code{('#ff0000', '#0000ff')} EXAMPLES: sage: import sage.server.notebook.css as c sage: type(c.css()) <type 'str'> """ s = r""" | b06f57c141677c48645b63c858e936c2da7c279f /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9890/b06f57c141677c48645b63c858e936c2da7c279f/css.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3747,
12,
3266,
2218,
1886,
11,
4672,
436,
8395,
2000,
326,
6765,
1446,
1399,
635,
326,
348,
2833,
3609,
3618,
18,
225,
12943,
30,
2036,
1493,
533,
578,
3082,
434,
1729,
5740,
16,
425,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3747,
12,
3266,
2218,
1886,
11,
4672,
436,
8395,
2000,
326,
6765,
1446,
1399,
635,
326,
348,
2833,
3609,
3618,
18,
225,
12943,
30,
2036,
1493,
533,
578,
3082,
434,
1729,
5740,
16,
425,
... |
bridges = self.findBridges(args_array) | bridges = self.findBridges(args_array[0]) | def respond(self, message, participant=None, bot_admin=False): ret = '' command = shlex.split(message) args_array = [] if len(command) > 1: args_array = command[1:] command = command[0] if isinstance(participant, Participant) and bot_admin != participant.bot_admin: bot_admin = participant.bot_admin if command == 'xmp... | 275ec36042aca0f6bbdba8a20d1dc9ac7d0bf12e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9915/275ec36042aca0f6bbdba8a20d1dc9ac7d0bf12e/bot.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6846,
12,
2890,
16,
883,
16,
14188,
33,
7036,
16,
2512,
67,
3666,
33,
8381,
4672,
325,
273,
875,
1296,
273,
27180,
18,
4939,
12,
2150,
13,
833,
67,
1126,
273,
5378,
309,
562,
12,
307... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6846,
12,
2890,
16,
883,
16,
14188,
33,
7036,
16,
2512,
67,
3666,
33,
8381,
4672,
325,
273,
875,
1296,
273,
27180,
18,
4939,
12,
2150,
13,
833,
67,
1126,
273,
5378,
309,
562,
12,
307... |
pass | pass | def register(): pass | 9e019cf6920a9a6529b88274f9a1869e7c61caea /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11963/9e019cf6920a9a6529b88274f9a1869e7c61caea/render_to_print.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1744,
13332,
1342,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1744,
13332,
1342,
225,
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,
... |
if self.headers.has_key('Content-Length'): self.bytes_remaining = int(self.headers['Content-Length']) | def process_headers (self): i = self.recv_buffer.find('\r\n\r\n') if i >= 0: # Two newlines ends headers i += 4 # Skip over newline terminator # the first 2 chars are the newline of request data = self.read(i)[2:] self.headers = rfc822.Message(StringIO(data)) #debug(HURT_ME_PLENTY, "Proxy: C/Headers", `self.headers.hea... | 0accda360aac2c05b19fbe08e96c9374607f7155 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3948/0accda360aac2c05b19fbe08e96c9374607f7155/HttpClient.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1207,
67,
2485,
261,
2890,
4672,
277,
273,
365,
18,
18334,
67,
4106,
18,
4720,
2668,
64,
86,
64,
82,
64,
86,
64,
82,
6134,
309,
277,
1545,
374,
30,
468,
16896,
19181,
3930,
1607,
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,
1207,
67,
2485,
261,
2890,
4672,
277,
273,
365,
18,
18334,
67,
4106,
18,
4720,
2668,
64,
86,
64,
82,
64,
86,
64,
82,
6134,
309,
277,
1545,
374,
30,
468,
16896,
19181,
3930,
1607,
277... | |
return self.elapsed(now) >= self._expire | return self.elapsed(now) >= self._timer_expire | def hasExpired(self, now=time.time()): return self.elapsed(now) >= self._expire | 9d9d1e85bc07468cd0128a3c77a2bd08931e292b /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/3386/9d9d1e85bc07468cd0128a3c77a2bd08931e292b/context.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
711,
10556,
12,
2890,
16,
2037,
33,
957,
18,
957,
1435,
4672,
327,
365,
18,
26201,
12,
3338,
13,
1545,
365,
6315,
14070,
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,
711,
10556,
12,
2890,
16,
2037,
33,
957,
18,
957,
1435,
4672,
327,
365,
18,
26201,
12,
3338,
13,
1545,
365,
6315,
14070,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
p = 2 if bound is None: bound = A.hecke_bound() while True: misc.verbose("using T_%s"%p) if anemic: while N % p == 0: p = arith.next_prime(p) f = self.hecke_polynomial(p) T = A.dual_hecke_matrix(p) V = T.kernel_on(V, poly=f, check=False) if V.dimension() <= self.dimension(): break p = arith.next_prime(p) if p > bound: ... | N = self.level() p = 2 if bound is None: bound = A.hecke_bound() while True: if anemic: while N % p == 0: p = arith.next_prime(p) misc.verbose("using T_%s"%p) f = self.hecke_polynomial(p) T = A.dual_hecke_matrix(p) V = T.kernel_on(V, poly=f, check=False) if V.dimension() <= self.dimension(): break p = arith.next_prime... | def dual_free_module(self, bound=None, anemic=True): """ Compute embedded dual free module if possible. In general this won't be possible, e.g., if this space is not Hecke equivariant, possibly if it is not cuspidal, or if the characteristic is not 0. In all these cases we raise a RuntimeError exception. """ try: ret... | a9c0d7a75d188f698321538d52f4f7ac484a5dd4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/a9c0d7a75d188f698321538d52f4f7ac484a5dd4/submodule.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
24557,
67,
9156,
67,
2978,
12,
2890,
16,
2489,
33,
7036,
16,
392,
351,
335,
33,
5510,
4672,
3536,
8155,
7488,
24557,
4843,
1605,
309,
3323,
18,
225,
657,
7470,
333,
8462,
1404,
506,
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,
24557,
67,
9156,
67,
2978,
12,
2890,
16,
2489,
33,
7036,
16,
392,
351,
335,
33,
5510,
4672,
3536,
8155,
7488,
24557,
4843,
1605,
309,
3323,
18,
225,
657,
7470,
333,
8462,
1404,
506,
33... |
self.moveMolXAction.setIconSet(QIconSet(self.image85)) | self.moveMolXAction.setIconSet(QIconSet(self.image81)) | def __init__(self,parent = None,name = None,fl = 0): QMainWindow.__init__(self,parent,name,fl) self.statusBar() | e48e859515237593d94b403a9c0a7295e08c31f2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/e48e859515237593d94b403a9c0a7295e08c31f2/MainWindowUI.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2938,
273,
599,
16,
529,
273,
599,
16,
2242,
273,
374,
4672,
2238,
6376,
3829,
16186,
2738,
972,
12,
2890,
16,
2938,
16,
529,
16,
2242,
13,
365,
18,
23... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2938,
273,
599,
16,
529,
273,
599,
16,
2242,
273,
374,
4672,
2238,
6376,
3829,
16186,
2738,
972,
12,
2890,
16,
2938,
16,
529,
16,
2242,
13,
365,
18,
23... |
cmd = 'python florun.py --level %s --execute "%s"' % (self.console.loglevel, self.flow.filename) | florunmain = os.path.join(florun.base_dir, 'florun.py') cmd = 'python %s --level %s --execute "%s"' % (florunmain, self.console.loglevel, self.flow.filename) | def startFlow(self): """ Run current flow """ # Switch to console tab self.maintabs.setCurrentIndex(1) # Disable start self.start.setEnabled(False) self.stop.setEnabled(True) # Use process self.process = QProcess() self.console.attachProcess(self.process) self.connect(self.process, SIGNAL("readyReadStandardOutput()"), ... | c0bb5290ebed547393135bb55890140ce671cf7d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/13237/c0bb5290ebed547393135bb55890140ce671cf7d/gui.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
787,
5249,
12,
2890,
4672,
3536,
1939,
783,
4693,
3536,
468,
13967,
358,
2983,
3246,
365,
18,
81,
1598,
5113,
18,
542,
3935,
1016,
12,
21,
13,
468,
10639,
787,
365,
18,
1937,
18,
542,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
787,
5249,
12,
2890,
4672,
3536,
1939,
783,
4693,
3536,
468,
13967,
358,
2983,
3246,
365,
18,
81,
1598,
5113,
18,
542,
3935,
1016,
12,
21,
13,
468,
10639,
787,
365,
18,
1937,
18,
542,
... |
if h.sock: h.sock.close() h.sock = None | def http_open(self, req): # XXX devise a new mechanism to specify user/password host = req.get_host() if not host: raise URLError('no host given') | 46e3908154fef96c5a26c2c24c8cc19bf366584f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/46e3908154fef96c5a26c2c24c8cc19bf366584f/urllib2.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1062,
67,
3190,
12,
2890,
16,
1111,
4672,
468,
11329,
4461,
784,
279,
394,
12860,
358,
4800,
729,
19,
3664,
1479,
273,
1111,
18,
588,
67,
2564,
1435,
309,
486,
1479,
30,
1002,
1976,
66... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1062,
67,
3190,
12,
2890,
16,
1111,
4672,
468,
11329,
4461,
784,
279,
394,
12860,
358,
4800,
729,
19,
3664,
1479,
273,
1111,
18,
588,
67,
2564,
1435,
309,
486,
1479,
30,
1002,
1976,
66... | |
if not os.path.exists(overlay): continue | if not os.path.exists(overlay): continue | def main(argv): try: argv = gflags.FLAGS(argv) if len(argv) != 2: _PrintUsageAndDie('Must specify a valid command') else: command = argv[1] except gflags.FlagsError, e : _PrintUsageAndDie(str(e)) package_list = gflags.FLAGS.packages.split() _CheckSaneArguments(package_list, command) overlays = { '%s/private-overlays/... | 804ad7df2772bbb0df99bab523e0e6acca66ef39 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9626/804ad7df2772bbb0df99bab523e0e6acca66ef39/cros_mark_as_stable.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
12,
19485,
4672,
775,
30,
5261,
273,
314,
7133,
18,
17836,
12,
19485,
13,
309,
562,
12,
19485,
13,
480,
576,
30,
389,
5108,
5357,
1876,
23196,
2668,
10136,
4800,
279,
923,
1296,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2774,
12,
19485,
4672,
775,
30,
5261,
273,
314,
7133,
18,
17836,
12,
19485,
13,
309,
562,
12,
19485,
13,
480,
576,
30,
389,
5108,
5357,
1876,
23196,
2668,
10136,
4800,
279,
923,
1296,
... |
self.assertEquals((0, len(self.test_data)), self.ctrl.SelectionIndices()) | self.assertEquals( (0, len(self.test_data)), self.ctrl.SelectionIndices()) | def testSelection(self): "Test selecting text in the edit control in various ways" | 105a280441f05c77eaeb7a64f68caef1146fa308 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/6953/105a280441f05c77eaeb7a64f68caef1146fa308/test_win32controls.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
6233,
12,
2890,
4672,
315,
4709,
24674,
977,
316,
326,
3874,
3325,
316,
11191,
16226,
6,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1842,
6233,
12,
2890,
4672,
315,
4709,
24674,
977,
316,
326,
3874,
3325,
316,
11191,
16226,
6,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
def test_single(self): | def test_single_writer(self): | def test_single(self): self.writerAssertEqual([['abc']], 'abc\r\n') | 3e8a90260cde53711c7dd55c1d499219dc8af6d8 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/8125/3e8a90260cde53711c7dd55c1d499219dc8af6d8/test_csv.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
7526,
67,
6299,
12,
2890,
4672,
365,
18,
6299,
8213,
5812,
3816,
3292,
18947,
3546,
6487,
296,
18947,
64,
86,
64,
82,
6134,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
7526,
67,
6299,
12,
2890,
4672,
365,
18,
6299,
8213,
5812,
3816,
3292,
18947,
3546,
6487,
296,
18947,
64,
86,
64,
82,
6134,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
if key==name and self.optional: return '' | if str(key)==name and self.optional: return '' | def render(self, md): name=self.__name__ t=self.type try: v = md[name] except KeyError, key: if key==name and self.optional: return '' raise KeyError, key, sys.exc_traceback if type(v) in (ListType, TupleType): if len(v) > 1 and not self.multiple: raise 'Multiple Values', ( 'multiple values are not allowed for <em>%s... | b89c7c8753b9002125ad0e5ddb04e07d86ef1672 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/b89c7c8753b9002125ad0e5ddb04e07d86ef1672/sqltest.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1743,
12,
2890,
16,
3481,
4672,
508,
33,
2890,
16186,
529,
972,
268,
33,
2890,
18,
723,
775,
30,
331,
273,
3481,
63,
529,
65,
1335,
4999,
16,
498,
30,
309,
609,
12,
856,
13,
631,
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,
1743,
12,
2890,
16,
3481,
4672,
508,
33,
2890,
16186,
529,
972,
268,
33,
2890,
18,
723,
775,
30,
331,
273,
3481,
63,
529,
65,
1335,
4999,
16,
498,
30,
309,
609,
12,
856,
13,
631,
5... |
cumulative_list = [reduce(lambda x,y: x + ' > ' + y, list[:n+1]) for n in range(len(list))] | new_list = [] for l in list: new_list.append(l.replace(' ','')) unique_tag = [reduce(lambda x,y: x + '>' + y, new_list[:n+1]) for n in range(len(new_list))] menu_path = [reduce(lambda x,y: x + ' > ' + y, list[:n+1]) for n in range(len(list))] | def branchTree(branch, list): """Add a list of element whose tag are given in a list to the given ElementTree element. If a sub-element with the same taf exists, it is not created, but walked through, so as to avoid duplicate branches. Returns the element leaf.""" # Remove all empty strings elements while True: try: li... | a4d61388021f6e7fcf63c7341b92d83593083a1a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12827/a4d61388021f6e7fcf63c7341b92d83593083a1a/plugin-list-parser.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3803,
2471,
12,
7500,
16,
666,
4672,
3536,
986,
279,
666,
434,
930,
8272,
1047,
854,
864,
316,
279,
666,
358,
326,
864,
22566,
930,
18,
971,
279,
720,
17,
2956,
598,
326,
1967,
268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3803,
2471,
12,
7500,
16,
666,
4672,
3536,
986,
279,
666,
434,
930,
8272,
1047,
854,
864,
316,
279,
666,
358,
326,
864,
22566,
930,
18,
971,
279,
720,
17,
2956,
598,
326,
1967,
268,
... |
mc_sizer.Add((5,5)) | mc_sizer.Add((6,6)) | def InstallSearchCtrl(self): """Installs the search context controls into the panel. Other controls should be removed from the panel before calling this method. | 6c1deb89a57be024b0cb7016d2e061b24d1ddb9d /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3530/6c1deb89a57be024b0cb7016d2e061b24d1ddb9d/ed_cmdbar.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10284,
2979,
12418,
12,
2890,
4672,
3536,
6410,
87,
326,
1623,
819,
11022,
1368,
326,
6594,
18,
4673,
11022,
1410,
506,
3723,
628,
326,
6594,
1865,
4440,
333,
707,
18,
2,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10284,
2979,
12418,
12,
2890,
4672,
3536,
6410,
87,
326,
1623,
819,
11022,
1368,
326,
6594,
18,
4673,
11022,
1410,
506,
3723,
628,
326,
6594,
1865,
4440,
333,
707,
18,
2,
-100,
-100,
-10... |
file.Write(",\n test_str);\n") | def WriteImmediateFormatTest(self, func, file): """Overrriden from TypeHandler.""" file.Write("TEST(GLES2FormatTest, %s) {\n" % func.name) file.Write(" int8 buf[256] = { 0, };\n") file.Write(" %s& cmd = *static_cast<%s*>(static_cast<void*>(&buf));\n" % (func.name, func.name)) file.Write(" static const char* const te... | 20d6af8de9f49c5a4b9a5d098840a1523ad90cb6 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/5060/20d6af8de9f49c5a4b9a5d098840a1523ad90cb6/build_gles2_cmd_buffer.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2598,
22651,
1630,
4709,
12,
2890,
16,
1326,
16,
585,
4672,
3536,
22042,
1691,
275,
628,
1412,
1503,
12123,
585,
18,
3067,
2932,
16961,
12,
43,
11386,
22,
1630,
4709,
16,
738,
87,
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,
2598,
22651,
1630,
4709,
12,
2890,
16,
1326,
16,
585,
4672,
3536,
22042,
1691,
275,
628,
1412,
1503,
12123,
585,
18,
3067,
2932,
16961,
12,
43,
11386,
22,
1630,
4709,
16,
738,
87,
13,
... | |
__slots__ = ("name", "count") | __slots__ = ("_name", "_count") | def __repr__(self): return "Abs(%s)" % repr(self.a) | b6bc55326d79b64f2048b486159e78b329f2b9ca /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/624/b6bc55326d79b64f2048b486159e78b329f2b9ca/base.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
12715,
972,
12,
2890,
4672,
327,
315,
9382,
9275,
87,
2225,
738,
8480,
12,
2890,
18,
69,
13,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
12715,
972,
12,
2890,
4672,
327,
315,
9382,
9275,
87,
2225,
738,
8480,
12,
2890,
18,
69,
13,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
print " $Revision: 1.3 $" print " $Date: 2005/10/19 20:31:50 $" | print " $Revision: 1.4 $" print " $Date: 2005/10/20 13:11:19 $" | def showVersion(): print print "RCS" print " $Revision: 1.3 $" print " $Date: 2005/10/19 20:31:50 $" print " $Author: noel $" print | 14dbea03ff618f943d87716d60d67b8d88bdfcae /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6154/14dbea03ff618f943d87716d60d67b8d88bdfcae/otlsplit.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2405,
1444,
13332,
1172,
1172,
315,
54,
4596,
6,
1172,
315,
271,
7939,
30,
404,
18,
24,
271,
6,
1172,
315,
271,
1626,
30,
4044,
25,
19,
2163,
19,
3462,
5958,
30,
2499,
30,
3657,
271,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2405,
1444,
13332,
1172,
1172,
315,
54,
4596,
6,
1172,
315,
271,
7939,
30,
404,
18,
24,
271,
6,
1172,
315,
271,
1626,
30,
4044,
25,
19,
2163,
19,
3462,
5958,
30,
2499,
30,
3657,
271,... |
output_function='out', debug=False): | output_function='out', debug=epydoc.DEBUG): | def compile_template(docstring, template_string, output_function='out', debug=False): """ Given a template string containing inline python source code, return a python function that will fill in the template, and output the result. The signature for this function is taken from the first line of C{docstring}. Output i... | 1cd34dc4f7b279e4ac150be4b4be74d3336fb477 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3512/1cd34dc4f7b279e4ac150be4b4be74d3336fb477/html.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4074,
67,
3202,
12,
24675,
16,
1542,
67,
1080,
16,
876,
67,
915,
2218,
659,
2187,
1198,
33,
881,
93,
2434,
18,
9394,
4672,
3536,
16803,
279,
1542,
533,
4191,
6370,
5790,
1084,
981,
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,
4074,
67,
3202,
12,
24675,
16,
1542,
67,
1080,
16,
876,
67,
915,
2218,
659,
2187,
1198,
33,
881,
93,
2434,
18,
9394,
4672,
3536,
16803,
279,
1542,
533,
4191,
6370,
5790,
1084,
981,
16,... |
self.failUnless(_approx_eq(z_after, z), (z_orig, z_after, z, z_after - z)) | self.failUnless(_approx_eq(z_after, tz.value), (z_orig, z_after, z, z_after - z)) | def t(z,x,y,a=1.0, b=0.0,l='c|py',dt='float64'): z,a,x,y,b = [theano._asarray(p,dtype=dt) for p in z,a,x,y,b] z_orig = z.copy() z_after = self._gemm(z, a, x, y, b) | 3d5a37e5704efd513ce68d27b4ab0647f4c9548f /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/3d5a37e5704efd513ce68d27b4ab0647f4c9548f/test_blas.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
268,
12,
94,
16,
92,
16,
93,
16,
69,
33,
21,
18,
20,
16,
324,
33,
20,
18,
20,
16,
80,
2218,
71,
96,
2074,
2187,
7510,
2218,
5659,
1105,
11,
4672,
998,
16,
69,
16,
92,
16,
93,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
268,
12,
94,
16,
92,
16,
93,
16,
69,
33,
21,
18,
20,
16,
324,
33,
20,
18,
20,
16,
80,
2218,
71,
96,
2074,
2187,
7510,
2218,
5659,
1105,
11,
4672,
998,
16,
69,
16,
92,
16,
93,
... |
if tmp.adjusted() % 2 == 0: | if tmp.adjusted() & 1 == 0: | def sqrt(self, context=None): """Return the square root of self. | 2d622652a434f33852fa6a10d2707ef06bed2c46 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/2d622652a434f33852fa6a10d2707ef06bed2c46/decimal.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5700,
12,
2890,
16,
819,
33,
7036,
4672,
3536,
990,
326,
8576,
1365,
434,
365,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5700,
12,
2890,
16,
819,
33,
7036,
4672,
3536,
990,
326,
8576,
1365,
434,
365,
18,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
self.body.append('<p class="admonition-title first">' + self.language.labels[name] + '</p>\n') node[-1].set_class('last') else: self.set_first_last(node) | node.insert(0, nodes.title(name, self.language.labels[name])) self.set_first_last(node) | def visit_admonition(self, node, name=''): self.body.append(self.starttag(node, 'div', CLASS=(name or 'admonition'))) if name: self.body.append('<p class="admonition-title first">' + self.language.labels[name] + '</p>\n') node[-1].set_class('last') else: self.set_first_last(node) | bb4fca680f4533a05c8fa095d8ad3e014c9d10cf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5620/bb4fca680f4533a05c8fa095d8ad3e014c9d10cf/html4css1.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3757,
67,
361,
2586,
608,
12,
2890,
16,
756,
16,
508,
2218,
11,
4672,
365,
18,
3432,
18,
6923,
12,
2890,
18,
1937,
2692,
12,
2159,
16,
296,
2892,
2187,
7383,
28657,
529,
578,
296,
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,
3757,
67,
361,
2586,
608,
12,
2890,
16,
756,
16,
508,
2218,
11,
4672,
365,
18,
3432,
18,
6923,
12,
2890,
18,
1937,
2692,
12,
2159,
16,
296,
2892,
2187,
7383,
28657,
529,
578,
296,
36... |
import datetime import time tabletime = time.strptime(collection_table_update_time, "%Y-%m-%d %H:%M:%S") | try: tabletime = time.strptime(collection_table_update_time, "%Y-%m-%d %H:%M:%S") except StandardError, e: tabletime = time.strptime(collection_table_update_time, "%Y-%m-%d %H:%M") | def perform_runwebcoll(colID, ln, confirm=0, callback='yes'): """form to delete an output format not in use. colID - the collection id of the current collection. fmtID - the format id to delete.""" subtitle = """<a name="11"></a>Webcoll Status""" output = "" colID = int(colID) col_dict = dict(get_def_name('', "colle... | 4985d89e7a07aff3641519d5acb862533a5cecdc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2139/4985d89e7a07aff3641519d5acb862533a5cecdc/websearchadminlib.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3073,
67,
2681,
4875,
12910,
12,
1293,
734,
16,
7211,
16,
6932,
33,
20,
16,
1348,
2218,
9707,
11,
4672,
3536,
687,
358,
1430,
392,
876,
740,
486,
316,
999,
18,
645,
734,
300,
326,
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,
3073,
67,
2681,
4875,
12910,
12,
1293,
734,
16,
7211,
16,
6932,
33,
20,
16,
1348,
2218,
9707,
11,
4672,
3536,
687,
358,
1430,
392,
876,
740,
486,
316,
999,
18,
645,
734,
300,
326,
18... |
elif self.active_table.is_open(): self.body.append('\n}\n') else: self.body.append('\n') self.body.append('\\end{flushleft}') self.body.append('\\end{ttfamily}\n') | else: if self.active_table.is_open(): self.body.append('\n}\n') else: self.body.append('\n') self.body.append('\\end{flushleft}') self.body.append('\\end{ttfamily}\n') | def depart_literal_block(self, node): if self.verbatim: self.body.append('\n\\end{verbatim}\n') self.verbatim = 0 elif self.active_table.is_open(): self.body.append('\n}\n') else: self.body.append('\n') self.body.append('\\end{flushleft}') self.body.append('\\end{ttfamily}\n') self.insert_none_breaking_blanks = 0 # obe... | 83e80671567943daf460acc204873c568a514942 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1278/83e80671567943daf460acc204873c568a514942/latex2e.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
26000,
67,
13107,
67,
2629,
12,
2890,
16,
756,
4672,
309,
365,
18,
16629,
22204,
30,
365,
18,
3432,
18,
6923,
2668,
64,
82,
1695,
409,
95,
16629,
22204,
6280,
82,
6134,
365,
18,
16629,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
26000,
67,
13107,
67,
2629,
12,
2890,
16,
756,
4672,
309,
365,
18,
16629,
22204,
30,
365,
18,
3432,
18,
6923,
2668,
64,
82,
1695,
409,
95,
16629,
22204,
6280,
82,
6134,
365,
18,
16629,... |
def read(self, wtd): | def read(self, wtd): | def read(self, wtd): | cada31e8208b1e7201f5afc9f9782089bec7ebe3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/cada31e8208b1e7201f5afc9f9782089bec7ebe3/binhex.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
12,
2890,
16,
341,
4465,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
855,
12,
2890,
16,
341,
4465,
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,... |
__mode = MODE_SCREENSHOT; | __mode = MODE_SNAPSHOT; | def extract_arg(self, function, arg, arg_type, lvalue, rvalue): if (function.name in self.pointer_function_names and arg.name == 'pointer' or function.name in self.draw_elements_function_names and arg.name == 'indices'): print ' if (dynamic_cast<Trace::Null *>(&%s)) {' % rvalue print ' %s = 0;' % (lvalue) pri... | 7fe1dc57d2249236b83aa1a78001a9245d6e1681 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12828/7fe1dc57d2249236b83aa1a78001a9245d6e1681/glretrace.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2608,
67,
3175,
12,
2890,
16,
445,
16,
1501,
16,
1501,
67,
723,
16,
328,
1132,
16,
436,
1132,
4672,
309,
261,
915,
18,
529,
316,
365,
18,
10437,
67,
915,
67,
1973,
471,
1501,
18,
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,
2608,
67,
3175,
12,
2890,
16,
445,
16,
1501,
16,
1501,
67,
723,
16,
328,
1132,
16,
436,
1132,
4672,
309,
261,
915,
18,
529,
316,
365,
18,
10437,
67,
915,
67,
1973,
471,
1501,
18,
5... |
value.setName(attr) | value.joinMethodName = attr | def __new__(cls, className, bases, d): | 6ed274806ff260ec207e5ba1a72e0ab23749734b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8798/6ed274806ff260ec207e5ba1a72e0ab23749734b/main.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2704,
972,
12,
6429,
16,
2658,
16,
8337,
16,
302,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2704,
972,
12,
6429,
16,
2658,
16,
8337,
16,
302,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
base = os.path.dirname(os.path.abspath(sys.executable)) | buildir = os.path.dirname(sys.executable) | def get_python_inc(plat_specific=0, prefix=None): """Return the directory containing installed Python header files. If 'plat_specific' is false (the default), this is the path to the non-platform-specific header files, i.e. Python.h and so on; otherwise, this is the path to platform-specific header files (namely pycon... | c92c11934b8f8b1a21851507d266283c41ea61b7 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12029/c92c11934b8f8b1a21851507d266283c41ea61b7/sysconfig.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
8103,
67,
9523,
12,
412,
270,
67,
12524,
33,
20,
16,
1633,
33,
7036,
4672,
3536,
990,
326,
1867,
4191,
5876,
6600,
1446,
1390,
18,
225,
971,
296,
412,
270,
67,
12524,
11,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
8103,
67,
9523,
12,
412,
270,
67,
12524,
33,
20,
16,
1633,
33,
7036,
4672,
3536,
990,
326,
1867,
4191,
5876,
6600,
1446,
1390,
18,
225,
971,
296,
412,
270,
67,
12524,
11,
35... |
num_invalid_values = arg.GetNumInvalidValues(func) | num_invalid_values = arg.GetNumInvalidValues() | def WriteInvalidUnitTest(self, func, file, test, extra = {}): """Writes a invalid unit test.""" arg_index = 0 for arg in func.GetOriginalArgs(): num_invalid_values = arg.GetNumInvalidValues(func) for value_index in range(0, num_invalid_values): arg_strings = [] parse_result = "kNoError" gl_error = None count = 0 for ar... | 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,
1941,
2802,
4709,
12,
2890,
16,
1326,
16,
585,
16,
1842,
16,
2870,
273,
2618,
4672,
3536,
8368,
279,
2057,
2836,
1842,
12123,
1501,
67,
1615,
273,
374,
364,
1501,
316,
1326,
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,
2598,
1941,
2802,
4709,
12,
2890,
16,
1326,
16,
585,
16,
1842,
16,
2870,
273,
2618,
4672,
3536,
8368,
279,
2057,
2836,
1842,
12123,
1501,
67,
1615,
273,
374,
364,
1501,
316,
1326,
18,
... |
if job[0] in origTroveList and job[0][2][0] is not None: | if job in origTroveList and job[2][0] is not None: | # def createChangeSet begins here | d95ce3edf24f8325b0639823fb458925d79a53ee /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8747/d95ce3edf24f8325b0639823fb458925d79a53ee/fsrepos.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
468,
1652,
752,
21565,
17874,
2674,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
468,
1652,
752,
21565,
17874,
2674,
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,
... |
pkt = newPacketFromStream(stream) | pkt = PGP_Message.newPacketFromStream(stream) | def newKeyFromStream(stream): """Create a new (main) key from the stream Returns None if a key was not found""" pkt = newPacketFromStream(stream) if pkt is None: return None if not isinstance(pkt, PGP_MainKey): return None try: pkt.initSubPackets() except InvalidBodyError: return None return pkt | 4fd56e701ef4706d42981fa85285185ee22dae57 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8747/4fd56e701ef4706d42981fa85285185ee22dae57/openpgpfile.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
16670,
1265,
1228,
12,
3256,
4672,
3536,
1684,
279,
394,
261,
5254,
13,
498,
628,
326,
1407,
2860,
599,
309,
279,
498,
1703,
486,
1392,
8395,
11536,
273,
21222,
67,
1079,
18,
2704,
6667,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
16670,
1265,
1228,
12,
3256,
4672,
3536,
1684,
279,
394,
261,
5254,
13,
498,
628,
326,
1407,
2860,
599,
309,
279,
498,
1703,
486,
1392,
8395,
11536,
273,
21222,
67,
1079,
18,
2704,
6667,... |
print "\tCalled Text.__init__()" | if _debug: print "\tVTK: Called Text.__init__()" | def __init__(self): print "\tCalled Text.__init__()" self.font = "Times" pass | 90e22a0bb011e7706859f72edd64fc697ef9b845 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8476/90e22a0bb011e7706859f72edd64fc697ef9b845/text.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
309,
389,
4148,
30,
1172,
1548,
88,
58,
56,
47,
30,
11782,
3867,
16186,
2738,
972,
10031,
365,
18,
5776,
273,
315,
10694,
6,
1342,
2,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
4672,
309,
389,
4148,
30,
1172,
1548,
88,
58,
56,
47,
30,
11782,
3867,
16186,
2738,
972,
10031,
365,
18,
5776,
273,
315,
10694,
6,
1342,
2,
-100,
-100,
-100,... |
raise NotImplementedError, "Level (= %s) > 1 not yet implemented."%s | raise NotImplementedError, "Level (= %s) > 1 not yet implemented."%level | def _dbpath(self,disc,level=1): if level != 1: raise NotImplementedError, "Level (= %s) > 1 not yet implemented."%s n1 = 5000*((abs(disc)-1)//5000) s1 = _pad_int_str(n1+1,disc_length) s2 = _pad_int_str(n1+5000,disc_length) subdir = "%s-%s"%(s1,s2) discstr = _pad_int_str(abs(disc),disc_length) return "PolHeeg/%s/%s/pol.... | 8aa18a8fdc06f0e3dc1606c56ad7cafda5f8d7af /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9417/8aa18a8fdc06f0e3dc1606c56ad7cafda5f8d7af/db_class_polynomials.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
1966,
803,
12,
2890,
16,
2251,
71,
16,
2815,
33,
21,
4672,
309,
1801,
480,
404,
30,
1002,
11206,
16,
315,
2355,
261,
33,
738,
87,
13,
405,
404,
486,
4671,
8249,
1199,
9,
2815,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1966,
803,
12,
2890,
16,
2251,
71,
16,
2815,
33,
21,
4672,
309,
1801,
480,
404,
30,
1002,
11206,
16,
315,
2355,
261,
33,
738,
87,
13,
405,
404,
486,
4671,
8249,
1199,
9,
2815,
... |
cmd = "SELECT UserDN,UserGroup FROM Proxies WHERE (NOW() + INTERVAL %d SECOND) < ExpirationTime" % validity | cmd = "SELECT UserDN,UserGroup FROM Proxies WHERE (NOW() + INTERVAL %d SECOND) > ExpirationTime" % validity | def getUsers(self,validity=0): """ Get all the distinct users from the Proxy Repository. Optionally, only users with valid proxies within the given validity period expressed in seconds """ | 8d9be402f0921fd362c60672a9d99525f2e3eeed /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12864/8d9be402f0921fd362c60672a9d99525f2e3eeed/ProxyRepositoryDB.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
27564,
12,
2890,
16,
877,
560,
33,
20,
4672,
3536,
968,
777,
326,
10217,
3677,
628,
326,
7659,
6281,
18,
20720,
16,
1338,
3677,
598,
923,
13263,
3470,
326,
864,
13800,
3879,
26863,
316,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
27564,
12,
2890,
16,
877,
560,
33,
20,
4672,
3536,
968,
777,
326,
10217,
3677,
628,
326,
7659,
6281,
18,
20720,
16,
1338,
3677,
598,
923,
13263,
3470,
326,
864,
13800,
3879,
26863,
316,
... |
format = self.getformat() | def __mul__(self, other): format = self.getformat() csc = self.tocsc() res = csc * other return eval('%s_matrix'%format)(res) | b14552c4a5780327bf9ca40b82d78bbf0d40722e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12971/b14552c4a5780327bf9ca40b82d78bbf0d40722e/Sparse.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
16411,
972,
12,
2890,
16,
1308,
4672,
276,
1017,
273,
365,
18,
1391,
1017,
1435,
400,
273,
276,
1017,
380,
1308,
327,
5302,
29909,
87,
67,
5667,
11,
9,
2139,
21433,
455,
13,
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,
16411,
972,
12,
2890,
16,
1308,
4672,
276,
1017,
273,
365,
18,
1391,
1017,
1435,
400,
273,
276,
1017,
380,
1308,
327,
5302,
29909,
87,
67,
5667,
11,
9,
2139,
21433,
455,
13,
2,
... | |
self.edges[fromIdx].add(toIdx) | self.edges.setdefault(fromIdx, set()).add(toIdx) | def addEdge(self, fromItem, toItem): fromIdx, toIdx = (self.data.getIndex(fromItem), self.data.getIndex(toItem)) self.edges[fromIdx].add(toIdx) | 21adcd9cbe7f945969e0c3f3afcf4f4dbebc1c09 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8747/21adcd9cbe7f945969e0c3f3afcf4f4dbebc1c09/graph.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
6098,
12,
2890,
16,
628,
1180,
16,
358,
1180,
4672,
628,
4223,
16,
358,
4223,
273,
261,
2890,
18,
892,
18,
588,
1016,
12,
2080,
1180,
3631,
365,
18,
892,
18,
588,
1016,
12,
869,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
6098,
12,
2890,
16,
628,
1180,
16,
358,
1180,
4672,
628,
4223,
16,
358,
4223,
273,
261,
2890,
18,
892,
18,
588,
1016,
12,
2080,
1180,
3631,
365,
18,
892,
18,
588,
1016,
12,
869,... |
addAttr('combatAttPerc', _('Combat defense (extra)'), V_SEQUIP|V_HULL|V_EFF, 1, convertor = percBase1_2Text) addAttr('combatDefPerc', _('Combat attack (extra)'), V_SEQUIP|V_HULL|V_EFF, 1, convertor = percBase1_2Text) addAttr('missileDefPerc', _('Missile defence (extra)'), V_SEQUIP|V_EFF, 1, convertor = percBase1_2Text)... | addAttr('combatAttPerc', _('Combat defense (extra)'), V_SEQUIP|V_HULL|V_EFF, 0, default=1, convertor = percBase1_2Text) addAttr('combatDefPerc', _('Combat attack (extra)'), V_SEQUIP|V_HULL|V_EFF, 0, default=1, convertor = percBase1_2Text) addAttr('missileDefPerc', _('Missile defence (extra)'), V_SEQUIP|V_EFF, 0, defaul... | def addAttr(attr, descr, props, showIfDefault, default = 0, convertor = int): global techAttrs techAttrs[attr] = (descr, props, showIfDefault, default, convertor) | ffdf3d236f4eeba0eff4db2ac8f3f938d80c4508 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/10927/ffdf3d236f4eeba0eff4db2ac8f3f938d80c4508/TechInfoDlg.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
3843,
12,
1747,
16,
18426,
16,
3458,
16,
2405,
2047,
1868,
16,
805,
273,
374,
16,
1765,
280,
273,
509,
4672,
2552,
13878,
8262,
13878,
8262,
63,
1747,
65,
273,
261,
28313,
16,
345... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
527,
3843,
12,
1747,
16,
18426,
16,
3458,
16,
2405,
2047,
1868,
16,
805,
273,
374,
16,
1765,
280,
273,
509,
4672,
2552,
13878,
8262,
13878,
8262,
63,
1747,
65,
273,
261,
28313,
16,
345... |
usertalkpage.put(welcom, summ) | usertalkpage.put(welcom, summ, minorEdit = False) | def DefineSign(wsite, SignPage): #A little function to load the random signs. Page = wikipedia.Page(wsite, SignPage) SignText = Page.get() reg = "\* ?(.*?)\n" list_sign = re.findall(reg, SignText) return list_sign | 3ac47d38ae84d36882c5e2faa9a83b178583d1cb /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/4404/3ac47d38ae84d36882c5e2faa9a83b178583d1cb/welcome.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
13184,
2766,
12,
91,
4256,
16,
4383,
1964,
4672,
468,
37,
12720,
445,
358,
1262,
326,
2744,
21588,
18,
3460,
273,
21137,
18,
1964,
12,
91,
4256,
16,
4383,
1964,
13,
4383,
1528,
273,
34... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
13184,
2766,
12,
91,
4256,
16,
4383,
1964,
4672,
468,
37,
12720,
445,
358,
1262,
326,
2744,
21588,
18,
3460,
273,
21137,
18,
1964,
12,
91,
4256,
16,
4383,
1964,
13,
4383,
1528,
273,
34... |
i = verts.index(i) j = verts.index(j) | i = new_indices[i] j = new_indices[j] | def adjacency_matrix(self, sparse=None, boundary_first=False): """ Returns the adjacency matrix of the (di)graph. Each vertex is represented by its position in the list returned by the vertices() function. The matrix returned is over the integers. If a different ring is desired, use either the change_ring function or... | 99995f599351d611bce09b75fa2125fed0060008 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/99995f599351d611bce09b75fa2125fed0060008/graph.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
25220,
67,
5667,
12,
2890,
16,
9387,
33,
7036,
16,
7679,
67,
3645,
33,
8381,
4672,
3536,
2860,
326,
25220,
3148,
434,
326,
261,
3211,
13,
4660,
18,
8315,
5253,
353,
10584,
635,
2097,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
25220,
67,
5667,
12,
2890,
16,
9387,
33,
7036,
16,
7679,
67,
3645,
33,
8381,
4672,
3536,
2860,
326,
25220,
3148,
434,
326,
261,
3211,
13,
4660,
18,
8315,
5253,
353,
10584,
635,
2097,
1... |
if len(x) == 0: return False | def __contains__(self,x): """ TESTS: sage: [] in Permutations() False sage: [1] in Permutations() True sage: [2] in Permutations() False sage: [1,2] in Permutations() True sage: [2,1] in Permutations() True sage: [1,2,2] in Permutations() False sage: [3,1,5,2] in Permutations() False sage: [3,4,1,5,2] in Permutations()... | d5e73fdaa2a5d74e088bf0c0a2d041022649f2e3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/d5e73fdaa2a5d74e088bf0c0a2d041022649f2e3/permutation.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
12298,
972,
12,
2890,
16,
92,
4672,
3536,
22130,
55,
30,
272,
410,
30,
5378,
316,
13813,
22190,
1435,
1083,
272,
410,
30,
306,
21,
65,
316,
13813,
22190,
1435,
1053,
272,
410,
30... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
12298,
972,
12,
2890,
16,
92,
4672,
3536,
22130,
55,
30,
272,
410,
30,
5378,
316,
13813,
22190,
1435,
1083,
272,
410,
30,
306,
21,
65,
316,
13813,
22190,
1435,
1053,
272,
410,
30... | |
uid = context.get_form_value('uid') | uid = context.get_form_value('id') | def remove(self, context): method = context.get_cookie('method') or 'monthly_view' goto = ';%s?%s' % (method, get_current_date()) if method not in dir(self): goto = '../;%s?%s' % (method, get_current_date()) | f6901473de1b44498e31b31a1dd35947ba4fd942 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12681/f6901473de1b44498e31b31a1dd35947ba4fd942/ical.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1206,
12,
2890,
16,
819,
4672,
707,
273,
819,
18,
588,
67,
8417,
2668,
2039,
6134,
578,
296,
7496,
715,
67,
1945,
11,
2897,
273,
12386,
9,
87,
35,
9,
87,
11,
738,
261,
2039,
16,
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,
1206,
12,
2890,
16,
819,
4672,
707,
273,
819,
18,
588,
67,
8417,
2668,
2039,
6134,
578,
296,
7496,
715,
67,
1945,
11,
2897,
273,
12386,
9,
87,
35,
9,
87,
11,
738,
261,
2039,
16,
33... |
while t[loc] == 'merge': | while loc < tlen and t[loc] == 'merge': | def _make_commit(self, t): # # Create the Commit object from the parser tokens... # | 50df32585a8d93a4ceb9f7cbb8fa2c68cea016b9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10384/50df32585a8d93a4ceb9f7cbb8fa2c68cea016b9/parseit.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
6540,
67,
7371,
12,
2890,
16,
268,
4672,
468,
468,
1788,
326,
10269,
733,
628,
326,
2082,
2430,
2777,
468,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
6540,
67,
7371,
12,
2890,
16,
268,
4672,
468,
468,
1788,
326,
10269,
733,
628,
326,
2082,
2430,
2777,
468,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
zh_CN.pluralequation ='0' | zh_CN.pluralequation = '0' | def create_default_languages(): from pootle_app.core import Language af = Language(code="af") af.fullname = u"Afrikaans" af.specialchars = u"ëïêôûáéíóúý" af.nplurals = '2' af.pluralequation = "(n != 1)" af.save() | 705dd9e8bba1245496893550d0b060f0049a0893 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11388/705dd9e8bba1245496893550d0b060f0049a0893/initdb.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
67,
1886,
67,
14045,
13332,
628,
293,
1632,
298,
67,
2910,
18,
3644,
1930,
9889,
225,
10073,
273,
9889,
12,
710,
1546,
1727,
7923,
10073,
18,
21885,
273,
582,
6,
12664,
566,
7282,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1886,
67,
14045,
13332,
628,
293,
1632,
298,
67,
2910,
18,
3644,
1930,
9889,
225,
10073,
273,
9889,
12,
710,
1546,
1727,
7923,
10073,
18,
21885,
273,
582,
6,
12664,
566,
7282,
... |
address = self.__getaddr('FROM:', arg) | address = self.__getaddr('FROM:', arg) if arg else None | def smtp_MAIL(self, arg): print >> DEBUGSTREAM, '===> MAIL', arg address = self.__getaddr('FROM:', arg) if not address: self.push('501 Syntax: MAIL FROM:<address>') return if self.__mailfrom: self.push('503 Error: nested MAIL command') return self.__mailfrom = address print >> DEBUGSTREAM, 'sender:', self.__mailfrom se... | 7e0006367cf95646b57dd464adee9a0e655a48a3 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8125/7e0006367cf95646b57dd464adee9a0e655a48a3/smtpd.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
17660,
67,
18191,
12,
2890,
16,
1501,
4672,
1172,
1671,
6369,
13693,
16,
296,
631,
9207,
490,
6575,
2187,
1501,
1758,
273,
365,
16186,
588,
4793,
2668,
11249,
30,
2187,
1501,
13,
309,
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,
17660,
67,
18191,
12,
2890,
16,
1501,
4672,
1172,
1671,
6369,
13693,
16,
296,
631,
9207,
490,
6575,
2187,
1501,
1758,
273,
365,
16186,
588,
4793,
2668,
11249,
30,
2187,
1501,
13,
309,
15... |
(7, 13, 'large_look'), (1, 50, 'large_step'), (4, 6, 'small_look'), (1, 10, 'small_chain'), (1, 5, 'small_lchain'), (0, 0, 'ssmatch'), | (7, 9, 'large_look'), (1, 10, 'large_step'), (4, 5, 'small_look'), (1, 20, 'small_chain'), (1, 10, 'small_lchain'), (0, 1, 'ssmatch'), | def RandomBigRun(f1, f2): input_ranges = [ (7, 13, 'large_look'), (1, 50, 'large_step'), (4, 6, 'small_look'), (1, 10, 'small_chain'), (1, 5, 'small_lchain'), (0, 0, 'ssmatch'), (0, 1, 'trylazy'), (1, 32, 'max_lazy'), (1, 64, 'long_enough'), (0, 1, 'promote'), ] config = [] rand = random.Random() map = {} for input ... | 2a7a2c9c735fc290767d0f28af83dc0225037fa5 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/5383/2a7a2c9c735fc290767d0f28af83dc0225037fa5/xdelta3-regtest.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8072,
9901,
1997,
12,
74,
21,
16,
284,
22,
4672,
225,
810,
67,
14530,
273,
306,
261,
27,
16,
2468,
16,
296,
14095,
67,
7330,
19899,
261,
21,
16,
1728,
16,
296,
14095,
67,
4119,
19899... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8072,
9901,
1997,
12,
74,
21,
16,
284,
22,
4672,
225,
810,
67,
14530,
273,
306,
261,
27,
16,
2468,
16,
296,
14095,
67,
7330,
19899,
261,
21,
16,
1728,
16,
296,
14095,
67,
4119,
19899... |
class WeylCharacterRing(Algebra): """A class for rings of Weyl characters. The Weyl character is a | def WeylCharacterRing(ct, base_ring=ZZ, prefix=None, cache=False): """ A class for rings of Weyl characters. The Weyl character is a | def parent(self): return self._parent | 0a30ee9b10542e4dc66149f6ffe87504cb679b84 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/0a30ee9b10542e4dc66149f6ffe87504cb679b84/weyl_characters.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
982,
12,
2890,
4672,
327,
365,
6315,
2938,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
982,
12,
2890,
4672,
327,
365,
6315,
2938,
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... |
(rc, content) = ofdb_url_get(urlparse.urljoin(URL_BASE, "film/%s" % (uid))) | (rc, content) = ofdb_url_get(urlparse.urljoin(URL_BASE, "film/%s" % (uid.encode("utf8"),))) | def get_ofdb_doc(uid, context): """Returns the OFDb film page as an XML document.""" debug_out("Starting search for %s '%s'" % (context, uid)) (rc, content) = ofdb_url_get(urlparse.urljoin(URL_BASE, "film/%s" % (uid))) reader = HtmlLib.Reader() return reader.fromString(content) | 5b17f44af5433ea865afaa08492738ac79b1b9e9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/13713/5b17f44af5433ea865afaa08492738ac79b1b9e9/ofdb.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
792,
1966,
67,
2434,
12,
1911,
16,
819,
4672,
3536,
1356,
326,
15932,
4331,
661,
81,
1363,
487,
392,
3167,
1668,
12123,
1198,
67,
659,
2932,
11715,
1623,
364,
738,
87,
1995,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
792,
1966,
67,
2434,
12,
1911,
16,
819,
4672,
3536,
1356,
326,
15932,
4331,
661,
81,
1363,
487,
392,
3167,
1668,
12123,
1198,
67,
659,
2932,
11715,
1623,
364,
738,
87,
1995,
8... |
buildOperandNameMap(userDict, t.lineno(1)) | buildOperandNameMap(userDict, t.lexer.lineno) | 'error: %s in def operands block "%s".' % (exc, t[3])) | 009df5ff1e19276433975fddd43a306ff653a20e /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6787/009df5ff1e19276433975fddd43a306ff653a20e/isa_parser.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
296,
1636,
30,
738,
87,
316,
1652,
14883,
1203,
2213,
87,
12013,
738,
261,
10075,
16,
268,
63,
23,
22643,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
296,
1636,
30,
738,
87,
316,
1652,
14883,
1203,
2213,
87,
12013,
738,
261,
10075,
16,
268,
63,
23,
22643,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
sys.stdin = self.save_stdin sys.stdout = self.save_stdout sys.stderr = self.save_stderr | sys.stdin = self.save_stdin sys.stdout = self.save_stdout sys.stderr = self.save_stderr | def restore_files(self): | ca6ae39a786f3d7535cba0f2aef10692eb750051 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/ca6ae39a786f3d7535cba0f2aef10692eb750051/rexec.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5217,
67,
2354,
12,
2890,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5217,
67,
2354,
12,
2890,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
def __init__(data = None) | def __init__(data = None): | def __init__(data = None) if data == None: quickfix.DoubleField.__init__(self, 745) else quickfix.DoubleField.__init__(self, 745, data) | 484890147d4b23aac4b9d0e85e84fceab7e137c3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8819/484890147d4b23aac4b9d0e85e84fceab7e137c3/quickfix_fields.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
892,
273,
599,
4672,
309,
501,
422,
599,
30,
9549,
904,
18,
5265,
974,
16186,
2738,
972,
12,
2890,
16,
2371,
7950,
13,
469,
9549,
904,
18,
5265,
974,
16186,
2738,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
892,
273,
599,
4672,
309,
501,
422,
599,
30,
9549,
904,
18,
5265,
974,
16186,
2738,
972,
12,
2890,
16,
2371,
7950,
13,
469,
9549,
904,
18,
5265,
974,
16186,
2738,
... |
self._req.log_error("InvenioSession: registered database cleanup.", APLOG_NOTICE) | self._req.log_error("InvenioSession: registered database cleanup.") | def session_cleanup(): """ Session cleanup procedure which to be executed at the end of the request handling. """ run_sql(""" DELETE FROM session WHERE session_expiry<=UNIX_TIMESTAMP() """) | 4129a5dfee93612cd1563f50f3c856897ac7ea9d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12027/4129a5dfee93612cd1563f50f3c856897ac7ea9d/session.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1339,
67,
16732,
13332,
3536,
3877,
6686,
12131,
1492,
358,
506,
7120,
622,
326,
679,
434,
326,
590,
5057,
18,
3536,
1086,
67,
4669,
2932,
3660,
8568,
4571,
1339,
4852,
1339,
67,
22409,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1339,
67,
16732,
13332,
3536,
3877,
6686,
12131,
1492,
358,
506,
7120,
622,
326,
679,
434,
326,
590,
5057,
18,
3536,
1086,
67,
4669,
2932,
3660,
8568,
4571,
1339,
4852,
1339,
67,
22409,
... |
self.buttonframe = Frame(self.master, background=BACKGROUND) self.buttonframe.pack(fill=X) self.dealbutton = Button(self.buttonframe, | self.canvas = Canvas(self.master, background=BACKGROUND, highlightthickness=0, width=NROWS*XSPACING, height=3*YSPACING + 20 + MARGIN) self.canvas.pack(fill=BOTH, expand=TRUE) self.dealbutton = Button(self.canvas, | def __init__(self, master): | 1b2b53a25d27d96f60926802226dd375767cb3b2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/1b2b53a25d27d96f60926802226dd375767cb3b2/solitaire.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
4171,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
4171,
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... |
def __init__(self, parent, pattern, allow_query="yes", root_path=""): | def __init__(self, parent, pattern, allow_query="yes", required_parameters="", root_path=""): """ uri_matcher constructor. @pattern: the URI pattern string @allow_query: if True, then a URI including a query string will match (default: True) @required_parameters: a space separated list of parameters which must be spec... | def __init__(self, parent, pattern, allow_query="yes", root_path=""): self.pattern = pattern | 5159097980568cbffb9fee4e51dfa96450b2f25e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2030/5159097980568cbffb9fee4e51dfa96450b2f25e/uri_matcher.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
982,
16,
1936,
16,
1699,
67,
2271,
1546,
9707,
3113,
1931,
67,
3977,
1546,
3113,
1365,
67,
803,
1546,
6,
4672,
3536,
2003,
67,
22761,
3885,
18,
225,
632,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
982,
16,
1936,
16,
1699,
67,
2271,
1546,
9707,
3113,
1931,
67,
3977,
1546,
3113,
1365,
67,
803,
1546,
6,
4672,
3536,
2003,
67,
22761,
3885,
18,
225,
632,... |
oncekey = (message, category) | oncekey = (text, category) | def warn_explicit(message, category, filename, lineno, module=None, registry=None): if module is None: module = filename if module[-3:].lower() == ".py": module = module[:-3] # XXX What about leading pathname? if registry is None: registry = {} key = (message, category, lineno) # Quick test for common case if registry.... | 4b5db8774e9e35b3dbd80e62527491c251496ac9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/4b5db8774e9e35b3dbd80e62527491c251496ac9/warnings.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1894,
67,
16511,
12,
2150,
16,
3150,
16,
1544,
16,
7586,
16,
1605,
33,
7036,
16,
4023,
33,
7036,
4672,
309,
1605,
353,
599,
30,
1605,
273,
1544,
309,
1605,
18919,
23,
30,
8009,
8167,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1894,
67,
16511,
12,
2150,
16,
3150,
16,
1544,
16,
7586,
16,
1605,
33,
7036,
16,
4023,
33,
7036,
4672,
309,
1605,
353,
599,
30,
1605,
273,
1544,
309,
1605,
18919,
23,
30,
8009,
8167,
... |
if not active: | if not self.screen.active: | def update(self,now=1,refresh=0): self.screen.lock.acquire() try: if not active: return if refresh: self.win.move(0,0) self.win.clrtoeol() s=self.prompt.encode(self.screen.encoding,"replace") self.win.addstr(s) s=self.content.encode(self.screen.encoding,"replace") self.win.addstr(s) self.win.move(0,self.pos+len(self.pr... | f9695375f92ac56051eb1897d17f9e4936f27b06 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12768/f9695375f92ac56051eb1897d17f9e4936f27b06/choice_input.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
12,
2890,
16,
3338,
33,
21,
16,
9144,
33,
20,
4672,
365,
18,
9252,
18,
739,
18,
1077,
1039,
1435,
775,
30,
309,
486,
365,
18,
9252,
18,
3535,
30,
327,
309,
4460,
30,
365,
18,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1089,
12,
2890,
16,
3338,
33,
21,
16,
9144,
33,
20,
4672,
365,
18,
9252,
18,
739,
18,
1077,
1039,
1435,
775,
30,
309,
486,
365,
18,
9252,
18,
3535,
30,
327,
309,
4460,
30,
365,
18,... |
stock_dest_id = int(val.split(',')[1]) | stock_dest_id = val.id | def select_product(self, cr, uid, ids, context): """ To get the product and quantity and add in order . @param self: The object pointer. @param cr: A database cursor @param uid: ID of the user currently logged in @param context: A standard dictionary @return : Retrun the add product form again for adding more product "... | b0929a59a28622f2306192e6588ec8628ffa2189 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/b0929a59a28622f2306192e6588ec8628ffa2189/pos_return.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2027,
67,
5896,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
819,
4672,
3536,
2974,
336,
326,
3017,
471,
10457,
471,
527,
316,
1353,
263,
632,
891,
365,
30,
1021,
733,
4407,
18,
632,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2027,
67,
5896,
12,
2890,
16,
4422,
16,
4555,
16,
3258,
16,
819,
4672,
3536,
2974,
336,
326,
3017,
471,
10457,
471,
527,
316,
1353,
263,
632,
891,
365,
30,
1021,
733,
4407,
18,
632,
... |
return | return | def Equip(self, itemname, slot = None): ''' Equips the specified item | 4593107a2b25c4a2c77e406e11c198d161641c8d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3728/4593107a2b25c4a2c77e406e11c198d161641c8d/char.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
19008,
625,
12,
2890,
16,
761,
529,
16,
4694,
273,
599,
4672,
9163,
19008,
7146,
326,
1269,
761,
2,
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,
19008,
625,
12,
2890,
16,
761,
529,
16,
4694,
273,
599,
4672,
9163,
19008,
7146,
326,
1269,
761,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
print aaimg | if options.debug: print aaimg | #~ def render(text): #~ """helper function for tests. scan the given image and create svg output""" #~ aaimg = AsciiArtImage(text) #~ print text #~ aaimg.recognize() #~ aav = aa.AsciiOutputVisitor() #~ pprint.pprint(aaimg.shapes) #~ aav.visit(aaimg) #~ print aav #~ svgout = svg.SVGOutputVisitor( #~ file('aafigure_%x.sv... | 0f88e23cfb3196ca6dc8e1ed51590327bfffa3a5 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/1278/0f88e23cfb3196ca6dc8e1ed51590327bfffa3a5/aafigure.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
468,
98,
1652,
1743,
12,
955,
4672,
468,
98,
3536,
4759,
445,
364,
7434,
18,
4135,
326,
864,
1316,
471,
752,
9804,
876,
8395,
468,
98,
279,
4581,
75,
273,
22475,
2835,
4411,
2040,
12,
955,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
468,
98,
1652,
1743,
12,
955,
4672,
468,
98,
3536,
4759,
445,
364,
7434,
18,
4135,
326,
864,
1316,
471,
752,
9804,
876,
8395,
468,
98,
279,
4581,
75,
273,
22475,
2835,
4411,
2040,
12,
955,
... |
""" Prints debug message to stdout """ | """ Prints debug message to log file """ | def debug( message ): """ Prints debug message to stdout """ log.write( debug_prefix + ' ' + message + '\n' ) log.flush() | 1e4e03291c280cbf17a5ac7253b6b2fcb3ba9834 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5365/1e4e03291c280cbf17a5ac7253b6b2fcb3ba9834/lasttsf.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1198,
12,
883,
262,
30,
3536,
3038,
87,
1198,
883,
358,
613,
585,
3536,
613,
18,
2626,
12,
1198,
67,
3239,
397,
296,
296,
397,
883,
397,
2337,
82,
11,
262,
613,
18,
11330,
1435,
225,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1198,
12,
883,
262,
30,
3536,
3038,
87,
1198,
883,
358,
613,
585,
3536,
613,
18,
2626,
12,
1198,
67,
3239,
397,
296,
296,
397,
883,
397,
2337,
82,
11,
262,
613,
18,
11330,
1435,
225,... |
or re.match(hashnumberexpr,link) | def markLinksIn(self,text,urls=1): """ Find and mark links in text, for fast replacement later. | a44cb18aecb4e8c91dbd0ad02a24aa6a0415de90 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5225/a44cb18aecb4e8c91dbd0ad02a24aa6a0415de90/ZWikiPage.py | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2267,
7100,
382,
12,
2890,
16,
955,
16,
10518,
33,
21,
4672,
3536,
4163,
471,
2267,
4716,
316,
977,
16,
364,
4797,
6060,
5137,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2267,
7100,
382,
12,
2890,
16,
955,
16,
10518,
33,
21,
4672,
3536,
4163,
471,
2267,
4716,
316,
977,
16,
364,
4797,
6060,
5137,
18,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.