rem
stringlengths 2
226k
| add
stringlengths 0
227k
| context
stringlengths 8
228k
| meta
stringlengths 156
215
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
port = self.server.getHost()[2]
|
port = self.server.getHost().port
|
def testOurServerOpenSSHClient(self): """test the SSH server against the OpenSSH client """ if os.name != 'posix': raise unittest.SkipTest("cannot run on non-posix") cmdline = ('ssh -2 -l testuser -p %i ' '-oUserKnownHostsFile=kh_test ' '-oPasswordAuthentication=no ' # Always use the RSA key, since that's the one in kh_test. '-oHostKeyAlgorithms=ssh-rsa ' '-i dsa_test ' 'localhost ' 'echo hello') global theTest theTest = self realm = ConchTestRealm() p = portal.Portal(realm) p.registerChecker(ConchTestPublicKeyChecker()) fac = SSHTestFactory() fac.portal = p theTest.fac = fac self.server = reactor.listenTCP(0, fac, interface="127.0.0.1") port = self.server.getHost()[2] ssh_path = None for p in ['/usr', '', '/usr/local']: if os.path.exists(p+'/bin/ssh'): ssh_path = p+'/bin/ssh' break if not ssh_path: log.msg('skipping test, cannot find ssh') raise unittest.SkipTest, 'skipping test, cannot find ssh' cmds = (cmdline % port).split() p = SSHTestOpenSSHProcess() def _failTest(): try: os.kill(p.transport.pid, 9) except OSError: pass try: fac.proto.transport.loseConnection() except AttributeError: pass reactor.iterate(0.1) reactor.iterate(0.1) reactor.iterate(0.1) p.done = 1 self.fail('test took too long') timeout = reactor.callLater(10, _failTest) reactor.spawnProcess(p, ssh_path, cmds) # wait for process to finish while not p.done: reactor.iterate(0.1)
|
a321c61de26d910583faec1384af80387f778cd6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12595/a321c61de26d910583faec1384af80387f778cd6/test_conch.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
51,
295,
2081,
3678,
12559,
1227,
12,
2890,
4672,
3536,
3813,
326,
9892,
1438,
5314,
326,
3502,
12559,
1004,
3536,
309,
1140,
18,
529,
480,
296,
24463,
4278,
1002,
2836,
3813,
18,
6368,
4709,
2932,
12892,
1086,
603,
1661,
17,
24463,
7923,
22877,
273,
7707,
10975,
300,
22,
300,
80,
1842,
1355,
300,
84,
738,
77,
296,
2400,
83,
1299,
11925,
12172,
812,
33,
79,
76,
67,
3813,
296,
2400,
83,
3913,
6492,
33,
2135,
296,
468,
14178,
999,
326,
13470,
498,
16,
3241,
716,
1807,
326,
1245,
316,
417,
76,
67,
3813,
18,
2400,
83,
2594,
653,
29689,
33,
10975,
17,
24654,
296,
2400,
77,
3780,
69,
67,
3813,
296,
296,
13014,
296,
296,
12946,
19439,
6134,
2552,
326,
4709,
326,
4709,
273,
365,
11319,
273,
735,
343,
4709,
22545,
1435,
293,
273,
11899,
18,
24395,
12,
24056,
13,
293,
18,
4861,
8847,
12,
442,
343,
4709,
9632,
8847,
10756,
5853,
273,
9892,
4709,
1733,
1435,
5853,
18,
24386,
273,
293,
326,
4709,
18,
11639,
273,
5853,
365,
18,
3567,
273,
19178,
18,
18085,
13891,
12,
20,
16,
5853,
16,
1560,
1546,
14260,
18,
20,
18,
20,
18,
21,
7923,
1756,
273,
365,
18,
3567,
18,
588,
2594,
7675,
655,
7056,
67,
803,
273,
599,
364,
293,
316,
10228,
19,
13640,
2187,
10226,
1173,
13640,
19,
3729,
3546,
30,
309,
1140,
18,
803,
18,
1808,
12,
84,
6797,
19,
4757,
19,
10975,
11,
4672,
7056,
67,
803,
273,
293,
6797,
19,
4757,
19,
10975,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
51,
295,
2081,
3678,
12559,
1227,
12,
2890,
4672,
3536,
3813,
326,
9892,
1438,
5314,
326,
3502,
12559,
1004,
3536,
309,
1140,
18,
529,
480,
296,
24463,
4278,
1002,
2836,
3813,
18,
6368,
4709,
2932,
12892,
1086,
603,
1661,
17,
24463,
7923,
22877,
273,
7707,
10975,
300,
22,
300,
80,
1842,
1355,
300,
84,
738,
77,
296,
2400,
83,
1299,
11925,
12172,
812,
33,
79,
76,
67,
3813,
296,
2400,
83,
3913,
6492,
33,
2135,
296,
468,
14178,
999,
326,
13470,
498,
16,
3241,
716,
1807,
326,
1245,
316,
417,
76,
67,
3813,
18,
2400,
83,
2594,
653,
29689,
33,
10975,
17,
24654,
296,
2400,
77,
3780,
69,
67,
3813,
296,
296,
13014,
296,
296,
12946,
19439,
2
] |
</html>
|
</html>
|
def __init__(self, app, mapper, global_conf=None, **kw):
|
ad2b5581c6f72b5cb630b6b63eb84b3414214056 /local1/tlutelli/issta_data/temp/all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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
595,
16,
5815,
16,
2552,
67,
3923,
33,
7036,
16,
2826,
9987,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.IndexChoice.Append("0x%04X\t%s"%(index, name))
|
self.IndexChoice.Append("0x%04X %s"%(index, name))
|
def RefreshIndexList(self): selected = self.IndexList.GetSelection() choice = self.IndexChoice.GetStringSelection() choiceindex = self.IndexChoice.GetSelection() if selected != wxNOT_FOUND: selectedindex = self.ListIndex[selected] self.IndexList.Clear() self.IndexChoice.Clear() i = self.PartList.GetSelection() if i < len(DictionaryOrganisation): values = DictionaryOrganisation[i] self.ListIndex = [] for name, index in self.Manager.GetCurrentValidIndexes(values["minIndex"], values["maxIndex"]): self.IndexList.Append("0x%04X\t%s"%(index, name)) self.ListIndex.append(index) self.ChoiceIndex = [] if i == 0: self.IndexChoice.Append("User Type") self.IndexChoice.SetStringSelection("User Type") elif i == 2: self.IndexChoice.Append("SDO Server") self.IndexChoice.Append("SDO Client") if choiceindex != wxNOT_FOUND and choice == self.IndexChoice.GetString(choiceindex): self.IndexChoice.SetStringSelection(choice) elif i in (3, 4): self.IndexChoice.Append("PDO Receive") self.IndexChoice.SetStringSelection("PDO Receive") elif i in (5, 6): self.IndexChoice.Append("PDO Transmit") self.IndexChoice.SetStringSelection("PDO Transmit") elif i == 8: self.IndexChoice.Append("Map Variable") self.IndexChoice.SetStringSelection("Map Variable") else: for name, index in self.Manager.GetCurrentValidChoices(values["minIndex"], values["maxIndex"]): if index: self.IndexChoice.Append("0x%04X\t%s"%(index, name)) else: self.IndexChoice.Append(name) self.ChoiceIndex.append(index) if choiceindex != wxNOT_FOUND and choice == self.IndexChoice.GetString(choiceindex): self.IndexChoice.SetStringSelection(choice) self.IndexChoice.Enable(self.IndexChoice.GetCount() != 0) self.AddButton.Enable(self.IndexChoice.GetCount() != 0) if selected == wxNOT_FOUND or selected >= len(self.ListIndex) or selectedindex != self.ListIndex[selected]: self.Table.Empty() self.CallbackCheck.SetValue(False) self.CallbackCheck.Disable() self.Table.ResetView(self.SubindexGrid) self.Parent.RefreshStatusBar() else: self.IndexList.SetSelection(selected) self.RefreshTable()
|
c9eea8ad6a980294d0f9a8a96b05e2690eab4c47 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/116/c9eea8ad6a980294d0f9a8a96b05e2690eab4c47/objdictedit.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
14179,
1016,
682,
12,
2890,
4672,
3170,
273,
365,
18,
1016,
682,
18,
967,
6233,
1435,
6023,
273,
365,
18,
1016,
10538,
18,
967,
780,
6233,
1435,
6023,
1615,
273,
365,
18,
1016,
10538,
18,
967,
6233,
1435,
309,
3170,
480,
7075,
4400,
67,
9294,
30,
3170,
1615,
273,
365,
18,
682,
1016,
63,
8109,
65,
365,
18,
1016,
682,
18,
9094,
1435,
365,
18,
1016,
10538,
18,
9094,
1435,
277,
273,
365,
18,
1988,
682,
18,
967,
6233,
1435,
309,
277,
411,
562,
12,
10905,
6001,
304,
10742,
4672,
924,
273,
16447,
6001,
304,
10742,
63,
77,
65,
365,
18,
682,
1016,
273,
5378,
364,
508,
16,
770,
316,
365,
18,
1318,
18,
967,
3935,
1556,
8639,
12,
2372,
9614,
1154,
1016,
6,
6487,
924,
9614,
1896,
1016,
11929,
4672,
365,
18,
1016,
682,
18,
5736,
2932,
20,
92,
9,
3028,
60,
64,
88,
9,
87,
6,
17105,
1615,
16,
508,
3719,
365,
18,
682,
1016,
18,
6923,
12,
1615,
13,
365,
18,
10538,
1016,
273,
5378,
309,
277,
422,
374,
30,
365,
18,
1016,
10538,
18,
5736,
2932,
1299,
1412,
7923,
365,
18,
1016,
10538,
18,
694,
780,
6233,
2932,
1299,
1412,
7923,
1327,
277,
422,
576,
30,
365,
18,
1016,
10538,
18,
5736,
2932,
55,
3191,
3224,
7923,
365,
18,
1016,
10538,
18,
5736,
2932,
55,
3191,
2445,
7923,
309,
6023,
1615,
480,
7075,
4400,
67,
9294,
471,
6023,
422,
365,
18,
1016,
10538,
18,
967,
780,
12,
11569,
1615,
4672,
365,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
14179,
1016,
682,
12,
2890,
4672,
3170,
273,
365,
18,
1016,
682,
18,
967,
6233,
1435,
6023,
273,
365,
18,
1016,
10538,
18,
967,
780,
6233,
1435,
6023,
1615,
273,
365,
18,
1016,
10538,
18,
967,
6233,
1435,
309,
3170,
480,
7075,
4400,
67,
9294,
30,
3170,
1615,
273,
365,
18,
682,
1016,
63,
8109,
65,
365,
18,
1016,
682,
18,
9094,
1435,
365,
18,
1016,
10538,
18,
9094,
1435,
277,
273,
365,
18,
1988,
682,
18,
967,
6233,
1435,
309,
277,
411,
562,
12,
10905,
6001,
304,
10742,
4672,
924,
273,
16447,
6001,
304,
10742,
63,
77,
65,
365,
18,
682,
1016,
273,
5378,
364,
508,
16,
770,
316,
365,
18,
1318,
18,
967,
3935,
1556,
8639,
2
] |
assert 0 self.asyncswitch.addcase(case, block)
|
channelvar = cxx.ExprAddrOf(cxx.ExprVar('mChannel')) impl.addstmt(cxx.StmtExpr(cxx.ExprAssn( cxx.ExprSelect(objvar, '->', 'mChannel'), channelvar))) elif md.decl.type.isDtor(): impl.addstmt(cxx.StmtExpr( cxx.ExprCall(cxx.ExprVar('Unregister'), [ objid ]))) impl.addstmt(cxx.StmtExpr( cxx.ExprAssn(objid, cxx.ExprLiteral.ZERO))) impl.addstmt(cxx.StmtExpr( cxx.ExprAssn( cxx.ExprSelect(objvar, '->', 'mManager'), cxx.ExprLiteral.ZERO))) calldtor = cxx.ExprCall( cxx.ExprVar(md._cxx.method.name), ([ objvar ] + [ cxx.ExprVar(p.name) for p in md._cxx.params ] + [ cxx.ExprVar(r.name) for r in md._cxx.returns ])) failif = cxx.StmtIf(cxx.ExprCall( cxx.ExprVar('NS_FAILED'), [ calldtor ])) failif.addifstmt(cxx.StmtReturn(valueerrcode)) impl.addstmt(failif)
|
def injectDtorResponseHandler(block, actorObjVar, actorId): block.addstmt(cxx.StmtExpr( cxx.ExprCall(cxx.ExprVar('Unregister'), [ actorId ]))) block.addstmt(cxx.StmtExpr( cxx.ExprAssn(actorId, cxx.ExprLiteral.Int(-1)))) block.addstmt(cxx.StmtExpr( cxx.ExprAssn( cxx.ExprSelect(actorObjVar, '->', 'mManager'), cxx.ExprLiteral.ZERO))) block.addstmt(cxx.StmtExpr( cxx.ExprAssn( cxx.ExprSelect(actorObjVar, '->', 'mPeerId'), cxx.ExprLiteral.Int(-1))))
|
a864017a0319c1647f5f43fdebf3ac181d70f464 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11102/a864017a0319c1647f5f43fdebf3ac181d70f464/lower.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4590,
40,
13039,
1064,
1503,
12,
2629,
16,
8327,
2675,
1537,
16,
8327,
548,
4672,
1203,
18,
1289,
10589,
12,
71,
5279,
18,
8952,
4742,
12,
276,
5279,
18,
4742,
1477,
12,
71,
5279,
18,
4742,
1537,
2668,
30076,
19899,
306,
8327,
548,
308,
20349,
1203,
18,
1289,
10589,
12,
71,
5279,
18,
8952,
4742,
12,
276,
5279,
18,
4742,
2610,
82,
12,
3362,
548,
16,
276,
5279,
18,
4742,
6177,
18,
1702,
19236,
21,
3719,
3719,
1203,
18,
1289,
10589,
12,
71,
5279,
18,
8952,
4742,
12,
276,
5279,
18,
4742,
2610,
82,
12,
276,
5279,
18,
4742,
3391,
12,
3362,
2675,
1537,
16,
26010,
16,
296,
81,
1318,
19899,
276,
5279,
18,
4742,
6177,
18,
24968,
20349,
1203,
18,
1289,
10589,
12,
71,
5279,
18,
8952,
4742,
12,
276,
5279,
18,
4742,
2610,
82,
12,
276,
5279,
18,
4742,
3391,
12,
3362,
2675,
1537,
16,
26010,
16,
296,
81,
6813,
548,
19899,
276,
5279,
18,
4742,
6177,
18,
1702,
19236,
21,
3719,
3719,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4590,
40,
13039,
1064,
1503,
12,
2629,
16,
8327,
2675,
1537,
16,
8327,
548,
4672,
1203,
18,
1289,
10589,
12,
71,
5279,
18,
8952,
4742,
12,
276,
5279,
18,
4742,
1477,
12,
71,
5279,
18,
4742,
1537,
2668,
30076,
19899,
306,
8327,
548,
308,
20349,
1203,
18,
1289,
10589,
12,
71,
5279,
18,
8952,
4742,
12,
276,
5279,
18,
4742,
2610,
82,
12,
3362,
548,
16,
276,
5279,
18,
4742,
6177,
18,
1702,
19236,
21,
3719,
3719,
1203,
18,
1289,
10589,
12,
71,
5279,
18,
8952,
4742,
12,
276,
5279,
18,
4742,
2610,
82,
12,
276,
5279,
18,
4742,
3391,
12,
3362,
2675,
1537,
16,
26010,
16,
296,
81,
1318,
19899,
276,
5279,
18,
4742,
6177,
18,
24968,
2
] |
try: body = [output, extra] except NameError: body = [output]
|
body = [output]
|
def perform_removefieldvalue(colID, ln, fldID='', fldvID='', fmeth='', callback='yes', confirm=0): """form to remove a field from a collection. colID - the current collection, remove the field from this collection. sel_ln - remove the field with this language fldID - remove the field with this id""" subtitle = """<a name="7.4"></a>Remove value""" output = "" col_dict = dict(get_def_name('', "collection")) fld_dict = dict(get_def_name('', "field")) res = get_fld_value() fldv_dict = dict(map(lambda x: (x[0], x[1]), res)) if colID and fldID: colID = int(colID) fldID = int(fldID) if fldvID and fldvID != "None": fldvID = int(fldvID) if confirm in ["0", 0]: text = """Do you want to remove the value '%s' from the search option '%s'.""" % (fldv_dict[fldvID], fld_dict[fldID]) output += createhiddenform(action="removefieldvalue#7.4", text=text, button="Confirm", colID=colID, fldID=fldID, fldvID=fldvID, fmeth=fmeth, confirm=1) elif confirm in ["1", 1]: res = remove_fld(colID, fldID, fldvID) output += write_outcome(res) try: body = [output, extra] except NameError: body = [output] output = "<br>" + addadminbox(subtitle, body) return perform_modifyfield(colID, fldID=fldID, ln=ln, content=output)
|
fb83561e15cf55d482f8b6090f9c163f4f103bae /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2139/fb83561e15cf55d482f8b6090f9c163f4f103bae/websearchadminlib.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3073,
67,
4479,
1518,
1132,
12,
1293,
734,
16,
7211,
16,
9880,
734,
2218,
2187,
9880,
90,
734,
2218,
2187,
10940,
546,
2218,
2187,
1348,
2218,
9707,
2187,
6932,
33,
20,
4672,
3536,
687,
358,
1206,
279,
652,
628,
279,
1849,
18,
645,
734,
300,
326,
783,
1849,
16,
1206,
326,
652,
628,
333,
1849,
18,
357,
67,
2370,
300,
1206,
326,
652,
598,
333,
2653,
9880,
734,
300,
1206,
326,
652,
598,
333,
612,
8395,
225,
20281,
273,
3536,
32,
69,
508,
1546,
27,
18,
24,
13762,
69,
34,
3288,
460,
8395,
876,
225,
273,
1408,
225,
645,
67,
1576,
273,
2065,
12,
588,
67,
536,
67,
529,
2668,
2187,
315,
5548,
6,
3719,
9880,
67,
1576,
273,
2065,
12,
588,
67,
536,
67,
529,
2668,
2187,
315,
1518,
6,
3719,
400,
273,
336,
67,
19794,
67,
1132,
1435,
9880,
90,
67,
1576,
273,
2065,
12,
1458,
12,
14661,
619,
30,
261,
92,
63,
20,
6487,
619,
63,
21,
65,
3631,
400,
3719,
225,
309,
645,
734,
471,
9880,
734,
30,
645,
734,
273,
509,
12,
1293,
734,
13,
9880,
734,
273,
509,
12,
19794,
734,
13,
309,
9880,
90,
734,
471,
9880,
90,
734,
480,
315,
7036,
6877,
9880,
90,
734,
273,
509,
12,
19794,
90,
734,
13,
225,
309,
6932,
316,
8247,
20,
3113,
374,
14542,
977,
273,
3536,
3244,
1846,
2545,
358,
1206,
326,
460,
1995,
87,
11,
628,
326,
1623,
1456,
1995,
87,
11,
12123,
738,
261,
19794,
90,
67,
1576,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4479,
1518,
1132,
12,
1293,
734,
16,
7211,
16,
9880,
734,
2218,
2187,
9880,
90,
734,
2218,
2187,
10940,
546,
2218,
2187,
1348,
2218,
9707,
2187,
6932,
33,
20,
4672,
3536,
687,
358,
1206,
279,
652,
628,
279,
1849,
18,
645,
734,
300,
326,
783,
1849,
16,
1206,
326,
652,
628,
333,
1849,
18,
357,
67,
2370,
300,
1206,
326,
652,
598,
333,
2653,
9880,
734,
300,
1206,
326,
652,
598,
333,
612,
8395,
225,
20281,
273,
3536,
32,
69,
508,
1546,
27,
18,
24,
13762,
69,
34,
3288,
460,
8395,
876,
225,
273,
1408,
225,
645,
67,
1576,
273,
2065,
12,
588,
67,
536,
67,
529,
2668,
2187,
315,
5548,
6,
3719,
9880,
67,
1576,
2
] |
q=query, page=page - 1)
|
q=req.args.get('q'), page=page - 1)
|
def process_request(self, req): req.perm.assert_permission('SEARCH_VIEW')
|
0e4c9b44beda5307fc76a6cc1372b722b2fab429 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2831/0e4c9b44beda5307fc76a6cc1372b722b2fab429/Search.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1207,
67,
2293,
12,
2890,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1207,
67,
2293,
12,
2890,
16,
1111,
4672,
1111,
18,
12160,
18,
11231,
67,
9827,
2668,
17251,
67,
12145,
6134,
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,
-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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
http_type = HTTP_RESPONSE
|
def __init__(self, sess, manager): HTTPRequest.__init__(self, sess, manager) self.http_type = HTTP_RESPONSE
|
def _parse_body(self, payload, end_ptr=0): if self.chunked: idx = 0 clen, cbody = self.chunks[-1]
|
968802cc3fd7bddc23804216cfc04928b9bb40d9 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11468/968802cc3fd7bddc23804216cfc04928b9bb40d9/main.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
2670,
67,
3432,
12,
2890,
16,
2385,
16,
679,
67,
6723,
33,
20,
4672,
309,
365,
18,
6551,
329,
30,
2067,
273,
374,
29059,
16,
2875,
973,
273,
365,
18,
14691,
18919,
21,
65,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2670,
67,
3432,
12,
2890,
16,
2385,
16,
679,
67,
6723,
33,
20,
4672,
309,
365,
18,
6551,
329,
30,
2067,
273,
374,
29059,
16,
2875,
973,
273,
365,
18,
14691,
18919,
21,
65,
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,
-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,
-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,
-100,
-100
] |
return False
|
def delete_event(self, widget, event, data=None): cancel = self.autosave_image() if cancel == True: return self.stop_now = True self.closing_app = True self.save_settings() sys.exit(0) return False
|
d58c579809d9403dea67a165875ccd600372f4f3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2291/d58c579809d9403dea67a165875ccd600372f4f3/mirage.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1430,
67,
2575,
12,
2890,
16,
3604,
16,
871,
16,
501,
33,
7036,
4672,
3755,
273,
365,
18,
21996,
836,
67,
2730,
1435,
309,
3755,
422,
1053,
30,
327,
365,
18,
5681,
67,
3338,
273,
1053,
365,
18,
19506,
67,
2910,
273,
1053,
365,
18,
5688,
67,
4272,
1435,
2589,
18,
8593,
12,
20,
13,
327,
1083,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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,
327,
365,
18,
5681,
67,
3338,
273,
1053,
365,
18,
19506,
67,
2910,
273,
1053,
365,
18,
5688,
67,
4272,
1435,
2589,
18,
8593,
12,
20,
13,
327,
1083,
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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
def run_gui(self): raise NotImplementedError
|
def getResponse(self, response): """Obtain the response to supply to the callback. @param response: The response from the dialog's C{ShowModal} method. @return: The response to supply to the callback. """ return response def _run_gui(self): if self.selfIsDialog: self.makeDialog() dialog = self else: dialog = self.dialog = self.makeDialog() dialog.Raise() ret = self.getResponse(dialog.ShowModal()) dialog.Destroy() return ret
|
def run_gui(self): raise NotImplementedError
|
25df78cbdd9aebbbbcfb17f95cfe33c651195c60 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9340/25df78cbdd9aebbbbcfb17f95cfe33c651195c60/scriptUI.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
67,
20292,
12,
2890,
4672,
1002,
11206,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
67,
20292,
12,
2890,
4672,
1002,
11206,
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,
-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,
-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,
-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,
-100,
-100
] |
return ComplexNode.updates(self)
|
return self.bodyupdates()
|
def updates(self): return ComplexNode.updates(self)
|
67c89cc6416f403aea70f83efafb2d60b0a315ca /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2040/67c89cc6416f403aea70f83efafb2d60b0a315ca/esotope-bfc.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4533,
12,
2890,
4672,
327,
16060,
907,
18,
14703,
12,
2890,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4533,
12,
2890,
4672,
327,
16060,
907,
18,
14703,
12,
2890,
13,
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,
-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,
-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,
-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
] |
assert data == ""
|
assert buf.tell() == 0
|
def readline(self, size=-1): data = self._rbuf if size < 0: # Read until \n or EOF, whichever comes first if self._rbufsize <= 1: # Speed up unbuffered case assert data == "" buffers = [] recv = self._sock.recv while data != "\n": data = recv(1) if not data: break buffers.append(data) return "".join(buffers) nl = data.find('\n') if nl >= 0: nl += 1 self._rbuf = data[nl:] return data[:nl] buffers = [] if data: buffers.append(data) self._rbuf = "" while True: data = self._sock.recv(self._rbufsize) if not data: break buffers.append(data) nl = data.find('\n') if nl >= 0: nl += 1 self._rbuf = data[nl:] buffers[-1] = data[:nl] break return "".join(buffers) else: # Read until size bytes or \n or EOF seen, whichever comes first nl = data.find('\n', 0, size) if nl >= 0: nl += 1 self._rbuf = data[nl:] return data[:nl] buf_len = len(data) if buf_len >= size: self._rbuf = data[size:] return data[:size] buffers = [] if data: buffers.append(data) self._rbuf = "" while True: data = self._sock.recv(self._rbufsize) if not data: break buffers.append(data) left = size - buf_len nl = data.find('\n', 0, left) if nl >= 0: nl += 1 self._rbuf = data[nl:] buffers[-1] = data[:nl] break n = len(data) if n >= left: self._rbuf = data[left:] buffers[-1] = data[:left] break buf_len += n return "".join(buffers)
|
8f96b3937325bb2c07511f62915490ab796e078a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/3187/8f96b3937325bb2c07511f62915490ab796e078a/socket.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
12023,
12,
2890,
16,
963,
29711,
21,
4672,
501,
273,
365,
6315,
86,
4385,
309,
963,
411,
374,
30,
468,
2720,
3180,
521,
82,
578,
6431,
16,
600,
335,
580,
502,
14535,
1122,
309,
365,
6315,
86,
4385,
1467,
1648,
404,
30,
468,
348,
5868,
731,
640,
26385,
648,
1815,
1681,
18,
88,
1165,
1435,
422,
374,
9664,
273,
5378,
10665,
273,
365,
6315,
15031,
18,
18334,
1323,
501,
480,
1548,
82,
6877,
501,
273,
10665,
12,
21,
13,
309,
486,
501,
30,
898,
9664,
18,
6923,
12,
892,
13,
327,
1408,
18,
5701,
12,
28101,
13,
7741,
273,
501,
18,
4720,
2668,
64,
82,
6134,
309,
7741,
1545,
374,
30,
7741,
1011,
404,
365,
6315,
86,
4385,
273,
501,
63,
14039,
26894,
327,
501,
10531,
14039,
65,
9664,
273,
5378,
309,
501,
30,
9664,
18,
6923,
12,
892,
13,
365,
6315,
86,
4385,
273,
1408,
1323,
1053,
30,
501,
273,
365,
6315,
15031,
18,
18334,
12,
2890,
6315,
86,
4385,
1467,
13,
309,
486,
501,
30,
898,
9664,
18,
6923,
12,
892,
13,
7741,
273,
501,
18,
4720,
2668,
64,
82,
6134,
309,
7741,
1545,
374,
30,
7741,
1011,
404,
365,
6315,
86,
4385,
273,
501,
63,
14039,
26894,
9664,
18919,
21,
65,
273,
501,
10531,
14039,
65,
898,
327,
1408,
18,
5701,
12,
28101,
13,
469,
30,
468,
2720,
3180,
963,
1731,
578,
521,
82,
578,
6431,
5881,
16,
600,
335,
580,
502,
14535,
1122,
7741,
273,
501,
18,
4720,
2668,
64,
82,
2187,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
12023,
12,
2890,
16,
963,
29711,
21,
4672,
501,
273,
365,
6315,
86,
4385,
309,
963,
411,
374,
30,
468,
2720,
3180,
521,
82,
578,
6431,
16,
600,
335,
580,
502,
14535,
1122,
309,
365,
6315,
86,
4385,
1467,
1648,
404,
30,
468,
348,
5868,
731,
640,
26385,
648,
1815,
1681,
18,
88,
1165,
1435,
422,
374,
9664,
273,
5378,
10665,
273,
365,
6315,
15031,
18,
18334,
1323,
501,
480,
1548,
82,
6877,
501,
273,
10665,
12,
21,
13,
309,
486,
501,
30,
898,
9664,
18,
6923,
12,
892,
13,
327,
1408,
18,
5701,
12,
28101,
13,
7741,
273,
501,
18,
4720,
2668,
64,
82,
6134,
309,
7741,
1545,
374,
30,
7741,
1011,
404,
365,
6315,
86,
4385,
2
] |
text = Param.textToValue(self, text) tmp = locale.atof(text) val = int(tmp) if val not in self.value_to_index: val = self.default
|
value = Param.textToValue(self, text) val = self.convertStringValueToCorrectType(value)
|
def textToValue(self, text): try: text = Param.textToValue(self, text) tmp = locale.atof(text) val = int(tmp) if val not in self.value_to_index: val = self.default except: val = self.default return val
|
5e83d5d472b313eae65bb5c98147fae02e10e47d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11522/5e83d5d472b313eae65bb5c98147fae02e10e47d/userparams.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
977,
31183,
12,
2890,
16,
977,
4672,
775,
30,
460,
273,
3014,
18,
955,
31183,
12,
2890,
16,
977,
13,
1244,
273,
365,
18,
6283,
19733,
774,
16147,
559,
12,
1132,
13,
1335,
30,
1244,
273,
365,
18,
1886,
327,
1244,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
977,
31183,
12,
2890,
16,
977,
4672,
775,
30,
460,
273,
3014,
18,
955,
31183,
12,
2890,
16,
977,
13,
1244,
273,
365,
18,
6283,
19733,
774,
16147,
559,
12,
1132,
13,
1335,
30,
1244,
273,
365,
18,
1886,
327,
1244,
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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
else: self.TunerNextChannel()
|
def eventhandler(self, event): print '%s: %s app got %s event' % (time.time(), self.mode, event) if event == em.STOP or event == em.PLAY_END: self.Stop() rc.post_event(em.PLAY_END) return TRUE elif event == em.TV_CHANNEL_UP or event == em.TV_CHANNEL_DOWN: if self.mode == 'vcr': return # Go to the prev/next channel in the list if event == em.TV_CHANNEL_UP: self.TunerPrevChannel() else: self.TunerNextChannel()
|
572db3fd14fecef81b830603c6fb3bbc84029de2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11399/572db3fd14fecef81b830603c6fb3bbc84029de2/mplayer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
871,
4176,
12,
2890,
16,
871,
4672,
1172,
1995,
87,
30,
738,
87,
595,
2363,
738,
87,
871,
11,
738,
261,
957,
18,
957,
9334,
365,
18,
3188,
16,
871,
13,
309,
871,
422,
801,
18,
17513,
578,
871,
422,
801,
18,
52,
7868,
67,
4415,
30,
365,
18,
4947,
1435,
4519,
18,
2767,
67,
2575,
12,
351,
18,
52,
7868,
67,
4415,
13,
327,
5383,
225,
1327,
871,
422,
801,
18,
15579,
67,
15814,
67,
3079,
578,
871,
422,
801,
18,
15579,
67,
15814,
67,
12711,
30,
309,
365,
18,
3188,
422,
296,
90,
3353,
4278,
327,
225,
468,
4220,
358,
326,
2807,
19,
4285,
1904,
316,
326,
666,
309,
871,
422,
801,
18,
15579,
67,
15814,
67,
3079,
30,
365,
18,
56,
29640,
9958,
2909,
1435,
469,
30,
365,
18,
56,
29640,
2134,
2909,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
871,
4176,
12,
2890,
16,
871,
4672,
1172,
1995,
87,
30,
738,
87,
595,
2363,
738,
87,
871,
11,
738,
261,
957,
18,
957,
9334,
365,
18,
3188,
16,
871,
13,
309,
871,
422,
801,
18,
17513,
578,
871,
422,
801,
18,
52,
7868,
67,
4415,
30,
365,
18,
4947,
1435,
4519,
18,
2767,
67,
2575,
12,
351,
18,
52,
7868,
67,
4415,
13,
327,
5383,
225,
1327,
871,
422,
801,
18,
15579,
67,
15814,
67,
3079,
578,
871,
422,
801,
18,
15579,
67,
15814,
67,
12711,
30,
309,
365,
18,
3188,
422,
296,
90,
3353,
4278,
327,
225,
468,
4220,
358,
326,
2807,
19,
4285,
1904,
316,
326,
666,
309,
871,
422,
801,
18,
15579,
67,
15814,
2
] |
|
self.addDataToDB (['a', 'b', 'c'])
|
self.addDataToDB ([b'a', b'b', b'c'])
|
def bad_comparator (l, r): if l == r: # pass the set_bt_compare test return 0 raise RuntimeError("i'm a naughty comparison function")
|
1d6ec653d003e5ad16e0cf7bb6df62b0135f9ea8 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/8546/1d6ec653d003e5ad16e0cf7bb6df62b0135f9ea8/test_compare.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5570,
67,
832,
2528,
261,
80,
16,
436,
4672,
309,
328,
422,
436,
30,
468,
1342,
326,
444,
67,
23602,
67,
9877,
1842,
327,
374,
1002,
7265,
2932,
77,
17784,
279,
290,
16510,
93,
5826,
445,
7923,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
5570,
67,
832,
2528,
261,
80,
16,
436,
4672,
309,
328,
422,
436,
30,
468,
1342,
326,
444,
67,
23602,
67,
9877,
1842,
327,
374,
1002,
7265,
2932,
77,
17784,
279,
290,
16510,
93,
5826,
445,
7923,
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,
-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,
-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
] |
return _(u"File extension is ${ext}", mapping=dict(ext=", ".join(self.file_extension)))
|
return _(u"File extension is ${ext}", mapping=dict(ext=self.file_extension))
|
def summary(self): return _(u"File extension is ${ext}", mapping=dict(ext=", ".join(self.file_extension)))
|
7cada62bbc2446ba29c3aae96a385c2af39f50f7 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12184/7cada62bbc2446ba29c3aae96a385c2af39f50f7/fileextension.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4916,
12,
2890,
4672,
327,
389,
12,
89,
6,
812,
2710,
353,
3531,
408,
1532,
16,
2874,
33,
1576,
12,
408,
1546,
16,
3552,
5701,
12,
2890,
18,
768,
67,
6447,
20349,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4916,
12,
2890,
4672,
327,
389,
12,
89,
6,
812,
2710,
353,
3531,
408,
1532,
16,
2874,
33,
1576,
12,
408,
1546,
16,
3552,
5701,
12,
2890,
18,
768,
67,
6447,
20349,
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,
-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,
-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,
-100,
-100,
-100,
-100,
-100
] |
try: sources.append(form[name+'-body'].file) except (KeyError, AttributeError): pass try: url = form[name+'-url'].value referer = '/'.join(url.split('/')[:-1])+'/'
|
if self.allowFile: try: sources.append(form[name+'-body'].file) except (KeyError, AttributeError): pass if self.allowUrl: try: url = form[name+'-url'].value referer = '/'.join(url.split('/')[:-1])+'/'
|
def convertFromForm(self, form, name, item): old_path = getattr(getattr(item, name), 'path', None) if form.has_key(name+'-delete'): return self._Image(self, item, '', old_path)
|
7e4c175ac7001077edf433802942b2f9ad35c1c2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1871/7e4c175ac7001077edf433802942b2f9ad35c1c2/qFieldTypes.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1765,
1265,
1204,
12,
2890,
16,
646,
16,
508,
16,
761,
4672,
1592,
67,
803,
273,
225,
3869,
12,
588,
1747,
12,
1726,
16,
508,
3631,
296,
803,
2187,
599,
13,
309,
646,
18,
5332,
67,
856,
12,
529,
6797,
17,
3733,
11,
4672,
327,
365,
6315,
2040,
12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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1765,
1265,
1204,
12,
2890,
16,
646,
16,
508,
16,
761,
4672,
1592,
67,
803,
273,
225,
3869,
12,
588,
1747,
12,
1726,
16,
508,
3631,
296,
803,
2187,
599,
13,
309,
646,
18,
5332,
67,
856,
12,
529,
6797,
17,
3733,
11,
4672,
327,
365,
6315,
2040,
12,
2890,
16,
761,
16,
10226,
1592,
67,
803,
13,
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,
-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,
-100,
-100,
-100,
-100,
-100,
-100
] |
def exportAttributes(self, outfile, level, namespace_='', name_='Meta'): super(Meta, self).exportAttributes(outfile, level, namespace_, name_='Meta')
|
def exportAttributes(self, outfile, level, already_processed, namespace_='', name_='Meta'): super(Meta, self).exportAttributes(outfile, level, already_processed, namespace_, name_='Meta')
|
def exportAttributes(self, outfile, level, namespace_='', name_='Meta'): super(Meta, self).exportAttributes(outfile, level, namespace_, name_='Meta')
|
10f2a4b3101435822c472af9b202a5a0bb496366 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/14016/10f2a4b3101435822c472af9b202a5a0bb496366/_nexml.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3359,
2498,
12,
2890,
16,
8756,
16,
1801,
16,
1981,
67,
2218,
2187,
508,
67,
2218,
2781,
11,
4672,
2240,
12,
2781,
16,
365,
2934,
6530,
2498,
12,
26050,
16,
1801,
16,
1981,
67,
16,
508,
67,
2218,
2781,
6134,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2498,
12,
2890,
16,
8756,
16,
1801,
16,
1981,
67,
2218,
2187,
508,
67,
2218,
2781,
11,
4672,
2240,
12,
2781,
16,
365,
2934,
6530,
2498,
12,
26050,
16,
1801,
16,
1981,
67,
16,
508,
67,
2218,
2781,
6134,
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,
-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,
-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 setGeomery(self, line):
|
def setGeometry(self, line):
|
def setGeomery(self, line): line.setTheZ(self.coord.theZ); line.setTheT(self.coord.theZ); line.setX1(self.x1); line.setY1(self.y1); line.setX2(self.x2); line.setY2(self.y2);
|
f0bdd8df3ad2c2d884653d30a298452010b0e426 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12409/f0bdd8df3ad2c2d884653d30a298452010b0e426/ROI_utils.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
444,
9823,
12,
2890,
16,
980,
4672,
980,
18,
542,
1986,
62,
12,
2890,
18,
5732,
18,
5787,
62,
1769,
980,
18,
542,
1986,
56,
12,
2890,
18,
5732,
18,
5787,
62,
1769,
980,
18,
542,
60,
21,
12,
2890,
18,
92,
21,
1769,
980,
18,
542,
61,
21,
12,
2890,
18,
93,
21,
1769,
980,
18,
542,
60,
22,
12,
2890,
18,
92,
22,
1769,
980,
18,
542,
61,
22,
12,
2890,
18,
93,
22,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
542,
60,
21,
12,
2890,
18,
92,
21,
1769,
980,
18,
542,
61,
21,
12,
2890,
18,
93,
21,
1769,
980,
18,
542,
60,
22,
12,
2890,
18,
92,
22,
1769,
980,
18,
542,
61,
22,
12,
2890,
18,
93,
22,
1769,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.fn += 1
|
self.fp += 1
|
def CalculateStats(self): self.Reset() for msg in msginfoDB.db: self.total += 1 m = self.__empty_msg() m.id = msg msginfoDB._getState(m) if m.c == 's': self.cls_spam += 1 if m.t == 0: self.fn += 1 elif m.c == 'h': self.cls_ham += 1 if m.t == 1: self.fp += 1 elif m.c == 'u': self.cls_unsure += 1 if m.t == 0: self.trn_unsure_ham += 1 elif m.t == 1: self.trn_unsure_spam += 1 if m.t == 1: self.trn_spam += 1 elif m.t == 0: self.trn_ham += 1
|
ec75a1d02f7509b75c9d531bbde8028fafb82d32 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6126/ec75a1d02f7509b75c9d531bbde8028fafb82d32/Stats.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
9029,
4195,
12,
2890,
4672,
365,
18,
7013,
1435,
364,
1234,
316,
1234,
1376,
2290,
18,
1966,
30,
365,
18,
4963,
1011,
404,
312,
273,
365,
16186,
5531,
67,
3576,
1435,
312,
18,
350,
273,
1234,
1234,
1376,
2290,
6315,
588,
1119,
12,
81,
13,
309,
312,
18,
71,
422,
296,
87,
4278,
365,
18,
6429,
67,
1752,
301,
1011,
404,
309,
312,
18,
88,
422,
374,
30,
365,
18,
7944,
1011,
404,
1327,
312,
18,
71,
422,
296,
76,
4278,
365,
18,
6429,
67,
31698,
1011,
404,
309,
312,
18,
88,
422,
404,
30,
365,
18,
7944,
1011,
404,
1327,
312,
18,
71,
422,
296,
89,
4278,
365,
18,
6429,
67,
318,
2055,
1011,
404,
309,
312,
18,
88,
422,
374,
30,
365,
18,
313,
82,
67,
318,
2055,
67,
31698,
1011,
404,
1327,
312,
18,
88,
422,
404,
30,
365,
18,
313,
82,
67,
318,
2055,
67,
1752,
301,
1011,
404,
309,
312,
18,
88,
422,
404,
30,
365,
18,
313,
82,
67,
1752,
301,
1011,
404,
1327,
312,
18,
88,
422,
374,
30,
365,
18,
313,
82,
67,
31698,
1011,
404,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
9029,
4195,
12,
2890,
4672,
365,
18,
7013,
1435,
364,
1234,
316,
1234,
1376,
2290,
18,
1966,
30,
365,
18,
4963,
1011,
404,
312,
273,
365,
16186,
5531,
67,
3576,
1435,
312,
18,
350,
273,
1234,
1234,
1376,
2290,
6315,
588,
1119,
12,
81,
13,
309,
312,
18,
71,
422,
296,
87,
4278,
365,
18,
6429,
67,
1752,
301,
1011,
404,
309,
312,
18,
88,
422,
374,
30,
365,
18,
7944,
1011,
404,
1327,
312,
18,
71,
422,
296,
76,
4278,
365,
18,
6429,
67,
31698,
1011,
404,
309,
312,
18,
88,
422,
404,
30,
365,
18,
7944,
1011,
404,
1327,
312,
18,
71,
422,
296,
89,
4278,
365,
18,
6429,
67,
318,
2055,
1011,
404,
309,
312,
2
] |
client._request('REPORT', '%s/%s' % (PRINCIPAL_DAV_PATH, TIMEZONE_CALENDAR), body=body, headers={ 'Depth': '1' })
|
client._request('REPORT', '%s/%s' % (PRINCIPAL_DAV_PATH, TIMEZONE_CALENDAR), body=body, headers={ 'Content-Type':'text/xml', 'Depth': '1' })
|
def test_timerangequery_three_in_eastern(): body = open(FILES_DIR+'reports/timerangequery/threeInEastern.xml').read() client._request('REPORT', '%s/%s' % (PRINCIPAL_DAV_PATH, TIMEZONE_CALENDAR), body=body, headers={ 'Depth': '1' }) assert client.response.status == 207 positive = ['BEGIN:VCALENDAR', 'CALSCALE:GREGORIAN', 'PRODID:-//Cyrusoft International\, Inc.//Mulberry v4.0//EN', 'VERSION:2.0', 'BEGIN:VEVENT', 'END:VEVENT', 'END:VCALENDAR'] validate_response_tree(client.response.tree, ['float1.ics','float2.ics', 'float3.ics'], positive=positive) assert get_event_body_by_ics_name(client.response.tree, 'float1.ics').find('DTSTART:20060330T120000') is not -1 assert get_event_body_by_ics_name(client.response.tree, 'float1.ics').find('DTEND:20060330T130000') is not -1 assert get_event_body_by_ics_name(client.response.tree, 'float2.ics').find('DTSTART:20060330T150000') is not -1 assert get_event_body_by_ics_name(client.response.tree, 'float2.ics').find('DTEND:20060330T160000') is not -1 assert get_event_body_by_ics_name(client.response.tree, 'float3.ics').find('DTSTART:20060330T170000') is not -1 assert get_event_body_by_ics_name(client.response.tree, 'float3.ics').find('DTEND:20060330T180000') is not -1
|
0eb233b34e19f3cc4572957bdd4dfc9d1e2048e1 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9939/0eb233b34e19f3cc4572957bdd4dfc9d1e2048e1/test_reports_with_float.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
12542,
726,
2271,
67,
451,
992,
67,
267,
67,
73,
2440,
82,
13332,
1417,
273,
1696,
12,
12669,
67,
4537,
6797,
20195,
19,
12542,
726,
2271,
19,
451,
992,
382,
41,
2440,
82,
18,
2902,
16063,
896,
1435,
1004,
6315,
2293,
2668,
22710,
2187,
1995,
87,
5258,
87,
11,
738,
261,
8025,
23213,
2579,
1013,
67,
17735,
67,
4211,
16,
8721,
20725,
67,
12983,
29154,
3631,
1417,
33,
3432,
16,
1607,
5899,
296,
1350,
17,
559,
11,
2497,
955,
19,
2902,
2187,
296,
6148,
4278,
296,
21,
11,
289,
13,
1815,
1004,
18,
2740,
18,
2327,
422,
4200,
27,
225,
6895,
273,
10228,
16061,
30,
58,
12983,
29154,
2187,
296,
7913,
19378,
30,
43,
5937,
916,
21634,
2187,
296,
8025,
1212,
734,
30,
17,
759,
17992,
8010,
4401,
31048,
8371,
64,
16,
15090,
18,
759,
27860,
70,
21938,
331,
24,
18,
20,
759,
1157,
2187,
296,
5757,
30,
22,
18,
20,
2187,
296,
16061,
30,
3412,
6465,
2187,
296,
4415,
30,
3412,
6465,
2187,
296,
4415,
30,
58,
12983,
29154,
3546,
225,
1954,
67,
2740,
67,
3413,
12,
2625,
18,
2740,
18,
3413,
16,
10228,
5659,
21,
18,
2102,
17023,
5659,
22,
18,
2102,
2187,
296,
5659,
23,
18,
2102,
17337,
6895,
33,
21094,
13,
225,
1815,
336,
67,
2575,
67,
3432,
67,
1637,
67,
2102,
67,
529,
12,
2625,
18,
2740,
18,
3413,
16,
296,
5659,
21,
18,
2102,
16063,
4720,
2668,
9081,
7570,
30,
6976,
4848,
3707,
20,
56,
2138,
2787,
6134,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12542,
726,
2271,
67,
451,
992,
67,
267,
67,
73,
2440,
82,
13332,
1417,
273,
1696,
12,
12669,
67,
4537,
6797,
20195,
19,
12542,
726,
2271,
19,
451,
992,
382,
41,
2440,
82,
18,
2902,
16063,
896,
1435,
1004,
6315,
2293,
2668,
22710,
2187,
1995,
87,
5258,
87,
11,
738,
261,
8025,
23213,
2579,
1013,
67,
17735,
67,
4211,
16,
8721,
20725,
67,
12983,
29154,
3631,
1417,
33,
3432,
16,
1607,
5899,
296,
1350,
17,
559,
11,
2497,
955,
19,
2902,
2187,
296,
6148,
4278,
296,
21,
11,
289,
13,
1815,
1004,
18,
2740,
18,
2327,
422,
4200,
27,
225,
6895,
273,
10228,
16061,
30,
58,
12983,
29154,
2187,
296,
7913,
19378,
30,
43,
5937,
916,
2
] |
for index in range(globalXMLFieldStackLen): if self._fieldList[index][0]=="start" and self._fieldList[index][1]==self._globalXMLFieldStack[index]: self._fieldList[index][2]=XMLFIELD_COMMON
|
commandListLen=len(self._commandList) for index in range(min(commandListLen,globalXMLFieldStackLen)): if self._commandList[index][0]=="start" and self._commandList[index][1]==self._globalXMLFieldStack[index]: self._commandList[index][2]=XMLFIELD_COMMON
|
def parse(self,xml): #parse the xml, creating a list of fields and text self.parser.Parse(xml) #Find and mark the common fields in the list commonFieldCount=0 globalXMLFieldStackLen=len(self._globalXMLFieldStack) for index in range(globalXMLFieldStackLen): if self._fieldList[index][0]=="start" and self._fieldList[index][1]==self._globalXMLFieldStack[index]: self._fieldList[index][2]=XMLFIELD_COMMON commonFieldCount+=1 else: break #Find the initial fields that should be added to the common fields addedGlobalFields=[] for index in range(commonFieldCount,len(self._fieldList)): if self._fieldList[index][0]=="start": addedGlobalFields.append(self._fieldList[index][1]) #Prepend end field commands to the field list for the common fields we are no longer a part of if globalXMLFieldStackLen>0: for index in range(commonFieldCount,globalXMLFieldStackLen): self._fieldList.insert(0,["end",self._globalXMLFieldStack[index],XMLFIELD_WASCOMMON]) del self._globalXMLFieldStack[commonFieldCount:] self._globalXMLFieldStack.extend(addedGlobalFields) fieldListLen=len(self._fieldList) globalXMLFieldStackLen=len(self._globalXMLFieldStack) for index in range(fieldListLen): fieldListIndex=(fieldListLen-1)-index if index<globalXMLFieldStackLen and self._fieldList[fieldListIndex][0]=='end': self._fieldList[fieldListIndex][2]=XMLFIELD_COMMON else: break textList=[] for index in range(len(self._fieldList)): textList.append(self.getText(self._fieldList[index])) return " ".join(textList)
|
6e87a0791caa504ba33a83fd1f298b2314d26f28 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/9340/6e87a0791caa504ba33a83fd1f298b2314d26f28/speech.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
12,
2890,
16,
2902,
4672,
468,
2670,
326,
2025,
16,
4979,
279,
666,
434,
1466,
471,
977,
365,
18,
4288,
18,
3201,
12,
2902,
13,
468,
3125,
471,
2267,
326,
2975,
1466,
316,
326,
666,
2975,
974,
1380,
33,
20,
2552,
4201,
974,
2624,
2891,
33,
1897,
12,
2890,
6315,
6347,
4201,
974,
2624,
13,
1296,
682,
2891,
33,
1897,
12,
2890,
6315,
3076,
682,
13,
364,
770,
316,
1048,
12,
1154,
12,
3076,
682,
2891,
16,
6347,
4201,
974,
2624,
2891,
3719,
30,
309,
365,
6315,
3076,
682,
63,
1615,
6362,
20,
65,
31713,
1937,
6,
471,
365,
6315,
3076,
682,
63,
1615,
6362,
21,
65,
631,
2890,
6315,
6347,
4201,
974,
2624,
63,
1615,
14542,
365,
6315,
3076,
682,
63,
1615,
6362,
22,
65,
33,
4201,
6776,
67,
4208,
17667,
2975,
974,
1380,
15,
33,
21,
469,
30,
898,
468,
3125,
326,
2172,
1466,
716,
1410,
506,
3096,
358,
326,
2975,
1466,
3096,
5160,
2314,
33,
8526,
364,
770,
316,
1048,
12,
6054,
974,
1380,
16,
1897,
12,
2890,
6315,
1518,
682,
3719,
30,
309,
365,
6315,
1518,
682,
63,
1615,
6362,
20,
65,
31713,
1937,
6877,
3096,
5160,
2314,
18,
6923,
12,
2890,
6315,
1518,
682,
63,
1615,
6362,
21,
5717,
468,
24882,
679,
652,
4364,
358,
326,
652,
666,
364,
326,
2975,
1466,
732,
854,
1158,
7144,
279,
1087,
434,
309,
2552,
4201,
974,
2624,
2891,
34,
20,
30,
364,
770,
316,
1048,
12,
6054,
974,
1380,
16,
6347,
4201,
974,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
12,
2890,
16,
2902,
4672,
468,
2670,
326,
2025,
16,
4979,
279,
666,
434,
1466,
471,
977,
365,
18,
4288,
18,
3201,
12,
2902,
13,
468,
3125,
471,
2267,
326,
2975,
1466,
316,
326,
666,
2975,
974,
1380,
33,
20,
2552,
4201,
974,
2624,
2891,
33,
1897,
12,
2890,
6315,
6347,
4201,
974,
2624,
13,
1296,
682,
2891,
33,
1897,
12,
2890,
6315,
3076,
682,
13,
364,
770,
316,
1048,
12,
1154,
12,
3076,
682,
2891,
16,
6347,
4201,
974,
2624,
2891,
3719,
30,
309,
365,
6315,
3076,
682,
63,
1615,
6362,
20,
65,
31713,
1937,
6,
471,
365,
6315,
3076,
682,
63,
1615,
6362,
21,
65,
631,
2890,
6315,
6347,
4201,
974,
2624,
63,
1615,
14542,
2
] |
self.pass_entry = Entry(master)
|
self.pass_entry = tk.Entry(master)
|
def body(self, master): d = {"appname": wc.AppName} msg = _("""The administrator password protects the web
|
bced9bf02aea78485c59aec9dfc85f8c8bae7f41 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3948/bced9bf02aea78485c59aec9dfc85f8c8bae7f41/install-webcleaner.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1417,
12,
2890,
16,
4171,
4672,
302,
273,
12528,
2910,
529,
6877,
14310,
18,
3371,
461,
97,
1234,
273,
389,
2932,
3660,
1986,
22330,
2201,
17151,
87,
326,
3311,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1417,
12,
2890,
16,
4171,
4672,
302,
273,
12528,
2910,
529,
6877,
14310,
18,
3371,
461,
97,
1234,
273,
389,
2932,
3660,
1986,
22330,
2201,
17151,
87,
326,
3311,
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,
-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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
else
|
else:
|
def __init__(data = None) if data == None: quickfix.StringField.__init__(self, 546) else quickfix.StringField.__init__(self, 546, 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,
13,
309,
501,
422,
599,
30,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
892,
273,
599,
13,
309,
501,
422,
599,
30,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
1381,
8749,
13,
469,
30,
9549,
904,
18,
780,
974,
16186,
2738,
972,
12,
2890,
16,
1381,
8749,
16,
501,
13,
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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
log.debug(str(request.backend) + request.uri, 'fetcher_activate')
|
log.debug(str(request.backend) + request.uri, 'Fetcher.activate')
|
def activate(self, request): log.debug(str(request.backend) + request.uri, 'fetcher_activate') self.local_file = request.local_file self.local_mtime = request.local_mtime self.factory = request.factory self.request = request request.content.read()
|
5c9bae059cd7d11136ad9fba35419cb5fb58a393 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/7531/5c9bae059cd7d11136ad9fba35419cb5fb58a393/apt_proxy.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
10235,
12,
2890,
16,
590,
4672,
613,
18,
4148,
12,
701,
12,
2293,
18,
9993,
13,
397,
590,
18,
1650,
16,
296,
16855,
18,
10014,
6134,
365,
18,
3729,
67,
768,
273,
590,
18,
3729,
67,
768,
365,
18,
3729,
67,
10838,
273,
590,
18,
3729,
67,
10838,
365,
18,
6848,
273,
590,
18,
6848,
365,
18,
2293,
273,
590,
590,
18,
1745,
18,
896,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
10235,
12,
2890,
16,
590,
4672,
613,
18,
4148,
12,
701,
12,
2293,
18,
9993,
13,
397,
590,
18,
1650,
16,
296,
16855,
18,
10014,
6134,
365,
18,
3729,
67,
768,
273,
590,
18,
3729,
67,
768,
365,
18,
3729,
67,
10838,
273,
590,
18,
3729,
67,
10838,
365,
18,
6848,
273,
590,
18,
6848,
365,
18,
2293,
273,
590,
590,
18,
1745,
18,
896,
1435,
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,
-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
] |
def view(cls, db, viewname, eager=False, **options):
|
def view(cls, db, viewname, **options):
|
def view(cls, db, viewname, eager=False, **options): """Execute a CouchDB named view and map the result values back to objects of this schema. Note that by default, any properties of the document that are not included in the values of the view will be treated as if they were missing from the document. If you'd rather want to load the full document for every row, set the `eager` option to `True`, but note that this will initiate a new HTTP request for every document, unless the ``include_docs`` option is explitly specified. """ def _wrapper(row): if eager: if row.doc is not None: return row.doc return cls.load(db, row.id) data = row.value data['_id'] = row.id return cls.wrap(data) return db.view(viewname, wrapper=_wrapper, **options)
|
79d95f9a17e132e7583dc536ff76816185cfb356 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9373/79d95f9a17e132e7583dc536ff76816185cfb356/schema.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1476,
12,
6429,
16,
1319,
16,
1476,
529,
16,
2826,
2116,
4672,
3536,
5289,
279,
17696,
2290,
4141,
1476,
471,
852,
326,
563,
924,
1473,
358,
2184,
434,
333,
1963,
18,
225,
3609,
716,
635,
805,
16,
1281,
1790,
434,
326,
1668,
716,
854,
486,
5849,
316,
326,
924,
434,
326,
1476,
903,
506,
13974,
487,
309,
2898,
4591,
3315,
628,
326,
1668,
18,
971,
1846,
14271,
9178,
2545,
358,
1262,
326,
1983,
1668,
364,
3614,
1027,
16,
444,
326,
1375,
73,
6817,
68,
1456,
358,
1375,
5510,
9191,
1496,
4721,
716,
333,
903,
18711,
279,
394,
2239,
590,
364,
3614,
1668,
16,
3308,
326,
12176,
6702,
67,
8532,
10335,
1456,
353,
431,
1127,
715,
1269,
18,
3536,
1652,
389,
8376,
12,
492,
4672,
309,
18853,
30,
309,
1027,
18,
2434,
353,
486,
599,
30,
327,
1027,
18,
2434,
327,
2028,
18,
945,
12,
1966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,
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,
1476,
12,
6429,
16,
1319,
16,
1476,
529,
16,
2826,
2116,
4672,
3536,
5289,
279,
17696,
2290,
4141,
1476,
471,
852,
326,
563,
924,
1473,
358,
2184,
434,
333,
1963,
18,
225,
3609,
716,
635,
805,
16,
1281,
1790,
434,
326,
1668,
716,
854,
486,
5849,
316,
326,
924,
434,
326,
1476,
903,
506,
13974,
487,
309,
2898,
4591,
3315,
628,
326,
1668,
18,
971,
1846,
14271,
9178,
2545,
358,
1262,
326,
1983,
1668,
364,
3614,
1027,
16,
444,
326,
1375,
73,
6817,
68,
1456,
358,
1375,
5510,
9191,
1496,
4721,
716,
333,
903,
18711,
279,
394,
2239,
590,
364,
3614,
1668,
16,
3308,
326,
12176,
6702,
67,
8532,
10335,
1456,
353,
431,
1127,
715,
1269,
18,
3536,
2
] |
self.icon.remove_overlay(self.throOverlay)
|
self.icon.get_effects().remove_overlay(self.throOverlay)
|
def ThrobberOverlay(self, widget, *args, **kwargs): if widget.get_active(): self.throOverlay = awn.OverlayThrobber(self.icon) self.icon.append_overlay(self.throOverlay) elif self.throOverlay != None: self.icon.remove_overlay(self.throOverlay) self.throOverlay = None
|
39d8566e3ad22d0a8dba8b48029b1cedb1ed8c3d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/8416/39d8566e3ad22d0a8dba8b48029b1cedb1ed8c3d/test-overlays.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
935,
303,
23709,
11627,
12,
2890,
16,
3604,
16,
380,
1968,
16,
2826,
4333,
4672,
309,
3604,
18,
588,
67,
3535,
13332,
365,
18,
451,
303,
11627,
273,
1690,
82,
18,
11627,
1315,
303,
23709,
12,
2890,
18,
3950,
13,
365,
18,
3950,
18,
6923,
67,
17312,
12,
2890,
18,
451,
303,
11627,
13,
1327,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
935,
303,
23709,
11627,
12,
2890,
16,
3604,
16,
380,
1968,
16,
2826,
4333,
4672,
309,
3604,
18,
588,
67,
3535,
13332,
365,
18,
451,
303,
11627,
273,
1690,
82,
18,
11627,
1315,
303,
23709,
12,
2890,
18,
3950,
13,
365,
18,
3950,
18,
6923,
67,
17312,
12,
2890,
18,
451,
303,
11627,
13,
1327,
365,
18,
451,
303,
11627,
480,
599,
30,
365,
18,
3950,
18,
588,
67,
13867,
87,
7675,
4479,
67,
17312,
12,
2890,
18,
451,
303,
11627,
13,
365,
18,
451,
303,
11627,
273,
599,
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,
-100,
-100
] |
assert expected_migrations == test_globals.migrations_run
|
self._expect_migrations(expected_migrations)
|
def test_downgrade(self): self.cmd.run(self.args) self.cmd.run(self.args + ['a=5']) # Migrate up expected_migrations = [ (ab, ver, 'up') for ver in range(10) for ab in 'ab'] # Migrate a down expected_migrations += [ ('a', 9, 'down'), ('a', 8, 'down'), ('a', 7, 'down'), ('a', 6, 'down') ] assert expected_migrations == test_globals.migrations_run
|
05b857a036dd4fa753f3443dd985a72b79357fbe /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1036/05b857a036dd4fa753f3443dd985a72b79357fbe/test_migrations.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
2378,
3994,
12,
2890,
4672,
365,
18,
4172,
18,
2681,
12,
2890,
18,
1968,
13,
365,
18,
4172,
18,
2681,
12,
2890,
18,
1968,
397,
10228,
69,
33,
25,
19486,
468,
26507,
731,
2665,
67,
15642,
273,
306,
261,
378,
16,
1924,
16,
296,
416,
6134,
364,
1924,
316,
1048,
12,
2163,
13,
364,
1223,
316,
296,
378,
3546,
468,
26507,
279,
2588,
2665,
67,
15642,
1011,
306,
7707,
69,
2187,
2468,
16,
296,
2378,
19899,
7707,
69,
2187,
1725,
16,
296,
2378,
19899,
7707,
69,
2187,
2371,
16,
296,
2378,
19899,
7707,
69,
2187,
1666,
16,
296,
2378,
6134,
308,
1815,
2665,
67,
15642,
422,
1842,
67,
16227,
18,
15642,
67,
2681,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2378,
3994,
12,
2890,
4672,
365,
18,
4172,
18,
2681,
12,
2890,
18,
1968,
13,
365,
18,
4172,
18,
2681,
12,
2890,
18,
1968,
397,
10228,
69,
33,
25,
19486,
468,
26507,
731,
2665,
67,
15642,
273,
306,
261,
378,
16,
1924,
16,
296,
416,
6134,
364,
1924,
316,
1048,
12,
2163,
13,
364,
1223,
316,
296,
378,
3546,
468,
26507,
279,
2588,
2665,
67,
15642,
1011,
306,
7707,
69,
2187,
2468,
16,
296,
2378,
19899,
7707,
69,
2187,
1725,
16,
296,
2378,
19899,
7707,
69,
2187,
2371,
16,
296,
2378,
19899,
7707,
69,
2187,
1666,
16,
296,
2378,
6134,
308,
1815,
2665,
67,
15642,
422,
1842,
67,
16227,
18,
15642,
67,
2681,
2,
-100,
-100,
-100
] |
input_file = re.sub(self.__ms_hex_exp, "\\mshex0\g<1> ", input_file) tokens = re.split(self.__splitexp, input_file) return filter(lambda x: len(x) > 0 and x != '\n', tokens)
|
def __sub_reg_split(self,input_file): input_file = self.__replace_spchar.mreplace(input_file) #input_file = re.sub(self.__utf_exp, self.__from_ms_to_utf8, input_file) # line = re.sub( self.__neg_utf_exp, self.__neg_unicode_func, line) # this is for older RTF #line = re.sub(self.__par_exp, '\\par ', line) input_file = re.sub(self.__ms_hex_exp, "\\mshex0\g<1> ", input_file) #split tokens = re.split(self.__splitexp, input_file) #remove empty tokens and \n return filter(lambda x: len(x) > 0 and x != '\n', tokens) #return filter(lambda x: len(x) > 0, \ #(self.__remove_line.sub('', x) for x in tokens))
|
7c70914ad30fc358bfcd7c099494b0a43682ba27 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9125/7c70914ad30fc358bfcd7c099494b0a43682ba27/tokenize.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
1717,
67,
1574,
67,
4939,
12,
2890,
16,
2630,
67,
768,
4672,
810,
67,
768,
273,
365,
16186,
2079,
67,
1752,
3001,
18,
81,
2079,
12,
2630,
67,
768,
13,
468,
2630,
67,
768,
273,
283,
18,
1717,
12,
2890,
16186,
3158,
67,
2749,
16,
365,
16186,
2080,
67,
959,
67,
869,
67,
3158,
28,
16,
810,
67,
768,
13,
468,
980,
273,
283,
18,
1717,
12,
365,
16186,
14518,
67,
3158,
67,
2749,
16,
365,
16186,
14518,
67,
9124,
67,
644,
16,
980,
13,
468,
333,
353,
364,
12156,
13060,
42,
468,
1369,
273,
283,
18,
1717,
12,
2890,
16186,
1065,
67,
2749,
16,
3718,
1065,
2265,
980,
13,
810,
67,
768,
273,
283,
18,
1717,
12,
2890,
16186,
959,
67,
7118,
67,
2749,
16,
8422,
81,
674,
338,
20,
64,
75,
32,
21,
34,
3104,
810,
67,
768,
13,
468,
4939,
2430,
273,
283,
18,
4939,
12,
2890,
16186,
4939,
2749,
16,
810,
67,
768,
13,
468,
4479,
1008,
2430,
471,
521,
82,
327,
1034,
12,
14661,
619,
30,
562,
12,
92,
13,
405,
374,
471,
619,
480,
2337,
82,
2187,
2430,
13,
468,
2463,
1034,
12,
14661,
619,
30,
562,
12,
92,
13,
405,
374,
16,
521,
468,
12,
2890,
16186,
4479,
67,
1369,
18,
1717,
2668,
2187,
619,
13,
364,
619,
316,
2430,
3719,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1717,
67,
1574,
67,
4939,
12,
2890,
16,
2630,
67,
768,
4672,
810,
67,
768,
273,
365,
16186,
2079,
67,
1752,
3001,
18,
81,
2079,
12,
2630,
67,
768,
13,
468,
2630,
67,
768,
273,
283,
18,
1717,
12,
2890,
16186,
3158,
67,
2749,
16,
365,
16186,
2080,
67,
959,
67,
869,
67,
3158,
28,
16,
810,
67,
768,
13,
468,
980,
273,
283,
18,
1717,
12,
365,
16186,
14518,
67,
3158,
67,
2749,
16,
365,
16186,
14518,
67,
9124,
67,
644,
16,
980,
13,
468,
333,
353,
364,
12156,
13060,
42,
468,
1369,
273,
283,
18,
1717,
12,
2890,
16186,
1065,
67,
2749,
16,
3718,
1065,
2265,
980,
13,
810,
67,
768,
273,
283,
18,
1717,
2
] |
|
if IsDialogEvent(event): self.do_dialogevent(event) return
|
def dispatch(self, event): if IsDialogEvent(event): self.do_dialogevent(event) return (what, message, when, where, modifiers) = event if eventname.has_key(what): name = "do_" + eventname[what] else: name = "do_%d" % what try: handler = getattr(self, name) except AttributeError: handler = self.do_unknownevent handler(event)
|
0400adab0292aefa021c42b1033420432d3a19a9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/0400adab0292aefa021c42b1033420432d3a19a9/FrameWork.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3435,
12,
2890,
16,
871,
4672,
261,
23770,
16,
883,
16,
1347,
16,
1625,
16,
10429,
13,
273,
871,
309,
871,
529,
18,
5332,
67,
856,
12,
23770,
4672,
508,
273,
315,
2896,
9548,
397,
871,
529,
63,
23770,
65,
469,
30,
508,
273,
315,
2896,
10185,
72,
6,
738,
4121,
775,
30,
1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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3435,
12,
2890,
16,
871,
4672,
261,
23770,
16,
883,
16,
1347,
16,
1625,
16,
10429,
13,
273,
871,
309,
871,
529,
18,
5332,
67,
856,
12,
23770,
4672,
508,
273,
315,
2896,
9548,
397,
871,
529,
63,
23770,
65,
469,
30,
508,
273,
315,
2896,
10185,
72,
6,
738,
4121,
775,
30,
1838,
273,
3869,
12,
2890,
16,
508,
13,
1335,
6394,
30,
1838,
273,
365,
18,
2896,
67,
8172,
2575,
1838,
12,
2575,
13,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
dw.open_file('bigimage.ora')
|
app.filehandler.open_file('bigimage.ora')
|
def memory_zoomed_out_5x(app): dw = app.drawWindow dw.fullscreen_cb() dw.open_file('bigimage.ora') for i in range(5): dw.zoom('ZoomOut') yield wait_for_idle dw.tdw.scroll(100, 120) yield wait_for_idle dw.tdw.scroll(-80, -500) yield wait_for_idle print 'result =', open('/proc/self/statm').read().split()[0]
|
e05fe7b8daabcf47c31823aa4043da1a54a7c36e /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7129/e05fe7b8daabcf47c31823aa4043da1a54a7c36e/test_performance.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3778,
67,
14932,
329,
67,
659,
67,
25,
92,
12,
2910,
4672,
12394,
273,
595,
18,
9446,
3829,
12394,
18,
2854,
9252,
67,
7358,
1435,
595,
18,
768,
4176,
18,
3190,
67,
768,
2668,
14002,
2730,
18,
10610,
6134,
364,
277,
316,
1048,
12,
25,
4672,
12394,
18,
14932,
2668,
11497,
1182,
6134,
2824,
2529,
67,
1884,
67,
20390,
12394,
18,
4465,
91,
18,
12033,
12,
6625,
16,
15743,
13,
2824,
2529,
67,
1884,
67,
20390,
12394,
18,
4465,
91,
18,
12033,
19236,
3672,
16,
300,
12483,
13,
2824,
2529,
67,
1884,
67,
20390,
1172,
296,
2088,
273,
2187,
1696,
2668,
19,
9381,
19,
2890,
19,
5642,
81,
16063,
896,
7675,
4939,
1435,
63,
20,
65,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3778,
67,
14932,
329,
67,
659,
67,
25,
92,
12,
2910,
4672,
12394,
273,
595,
18,
9446,
3829,
12394,
18,
2854,
9252,
67,
7358,
1435,
595,
18,
768,
4176,
18,
3190,
67,
768,
2668,
14002,
2730,
18,
10610,
6134,
364,
277,
316,
1048,
12,
25,
4672,
12394,
18,
14932,
2668,
11497,
1182,
6134,
2824,
2529,
67,
1884,
67,
20390,
12394,
18,
4465,
91,
18,
12033,
12,
6625,
16,
15743,
13,
2824,
2529,
67,
1884,
67,
20390,
12394,
18,
4465,
91,
18,
12033,
19236,
3672,
16,
300,
12483,
13,
2824,
2529,
67,
1884,
67,
20390,
1172,
296,
2088,
273,
2187,
1696,
2668,
19,
9381,
19,
2890,
19,
5642,
81,
16063,
896,
7675,
4939,
1435,
63,
20,
65,
225,
2,
-100
] |
size = len(offsetParts) for i in xrange(size): offset = offsetParts[i] if i < (size - 1): offsetParts[i] = offsetParts[i + 1] - offset nPoints -= offsetParts[i] else: offsetParts[i] = nPoints
|
self._processOffsetParts(offsetParts, nPoints) if shapeType == self._MULTIPATCH: partTypes = [self._readIntegers(fp, 1) for idx in xrange(nParts)]
|
def _readRecordPoly(self, fp): """ Type: PolyLine (3), Polygon (5), PolyLineZ (13), PolygonZ (15), PolyLineM (23), or PolygonM (25)
|
cee1e2f589119aefad7297765d214b12caa3cd3b /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/1821/cee1e2f589119aefad7297765d214b12caa3cd3b/shapefile.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
896,
2115,
12487,
12,
2890,
16,
4253,
4672,
3536,
1412,
30,
18394,
1670,
261,
23,
3631,
12681,
261,
25,
3631,
18394,
1670,
62,
261,
3437,
3631,
12681,
62,
261,
3600,
3631,
18394,
1670,
49,
261,
4366,
3631,
578,
12681,
49,
261,
2947,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
12487,
12,
2890,
16,
4253,
4672,
3536,
1412,
30,
18394,
1670,
261,
23,
3631,
12681,
261,
25,
3631,
18394,
1670,
62,
261,
3437,
3631,
12681,
62,
261,
3600,
3631,
18394,
1670,
49,
261,
4366,
3631,
578,
12681,
49,
261,
2947,
13,
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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.stack[-1].append(str(node))
|
self.stack[-1].append(node.astext())
|
def visit_Text(self, node): self.stack[-1].append(str(node))
|
a57628825f1368969a704ca2d4b0ab7bdc57c3fd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9478/a57628825f1368969a704ca2d4b0ab7bdc57c3fd/Doc.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3757,
67,
1528,
12,
2890,
16,
756,
4672,
365,
18,
3772,
18919,
21,
8009,
6923,
12,
701,
12,
2159,
3719,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3757,
67,
1528,
12,
2890,
16,
756,
4672,
365,
18,
3772,
18919,
21,
8009,
6923,
12,
701,
12,
2159,
3719,
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,
-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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if not cfg: cfg=TransportConfig(type)
|
if not cfg: cfg=TransportConfig()
|
def create_transport(self, type, cfg=None): """Create SIP transport instance of the specified type. Keyword arguments: type -- transport type from TransportType constant. cfg -- TransportConfig instance
|
a36b873746d62853a055768e16c676ce3102b06d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/4447/a36b873746d62853a055768e16c676ce3102b06d/pjsua.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
752,
67,
13049,
12,
2890,
16,
618,
16,
2776,
33,
7036,
4672,
3536,
1684,
348,
2579,
4736,
791,
434,
326,
1269,
618,
18,
225,
18317,
1775,
30,
618,
565,
1493,
4736,
618,
628,
9514,
559,
5381,
18,
2776,
377,
1493,
9514,
809,
791,
2,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
752,
67,
13049,
12,
2890,
16,
618,
16,
2776,
33,
7036,
4672,
3536,
1684,
348,
2579,
4736,
791,
434,
326,
1269,
618,
18,
225,
18317,
1775,
30,
618,
565,
1493,
4736,
618,
628,
9514,
559,
5381,
18,
2776,
377,
1493,
9514,
809,
791,
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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
def_build = 'env CFLAGS="$RPM_OPT_FLAGS" python setup.py build' else: def_build = 'python setup.py build'
|
def_build = 'env CFLAGS="$RPM_OPT_FLAGS" ' + def_build
|
def _make_spec_file(self): """Generate the text of an RPM spec file and return it as a list of strings (one per line). """ # definitions and headers spec_file = [ '%define name ' + self.distribution.get_name(), '%define version ' + self.distribution.get_version(), '%define release ' + self.release, '', 'Summary: ' + self.distribution.get_description(), ]
|
742f4c9a5d5b54c907d463255f31d9fcfa1f2ce9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/742f4c9a5d5b54c907d463255f31d9fcfa1f2ce9/bdist_rpm.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
6540,
67,
2793,
67,
768,
12,
2890,
4672,
3536,
4625,
326,
977,
434,
392,
534,
12728,
857,
585,
471,
327,
518,
487,
279,
666,
434,
2064,
261,
476,
1534,
980,
2934,
3536,
468,
6377,
471,
1607,
857,
67,
768,
273,
306,
1995,
11255,
508,
296,
397,
365,
18,
16279,
18,
588,
67,
529,
9334,
1995,
11255,
1177,
296,
397,
365,
18,
16279,
18,
588,
67,
1589,
9334,
1995,
11255,
3992,
296,
397,
365,
18,
9340,
16,
10226,
296,
4733,
30,
296,
397,
365,
18,
16279,
18,
588,
67,
3384,
9334,
308,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2793,
67,
768,
12,
2890,
4672,
3536,
4625,
326,
977,
434,
392,
534,
12728,
857,
585,
471,
327,
518,
487,
279,
666,
434,
2064,
261,
476,
1534,
980,
2934,
3536,
468,
6377,
471,
1607,
857,
67,
768,
273,
306,
1995,
11255,
508,
296,
397,
365,
18,
16279,
18,
588,
67,
529,
9334,
1995,
11255,
1177,
296,
397,
365,
18,
16279,
18,
588,
67,
1589,
9334,
1995,
11255,
3992,
296,
397,
365,
18,
9340,
16,
10226,
296,
4733,
30,
296,
397,
365,
18,
16279,
18,
588,
67,
3384,
9334,
308,
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
] |
('parentdirkey', None, 'Parent Dir Key', 'BackSpace', None, self.parent_dir)
|
('parentdirkey', None, 'Parent Dir Key', 'BackSpace', None, self.parent_dir), ('hidewinkey', None, 'Hide Window Key', 'Escape', None, self.withdraw_app)
|
def __init__(self):
|
a654643f278343c34e1e03db364474542f6539b2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2312/a654643f278343c34e1e03db364474542f6539b2/sonata.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
-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,
-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,
-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,
-100,
-100,
-100,
-100
] |
""" try: return self.__galois_closure.change_names(names) except AttributeError: pass G = self.galois_group() K = self while K.degree() < G.order(): K = K.composite_fields(self, names=names)[-1] self.__galois_closure = K.change_names(names) return self.__galois_closure
|
sage: L, phi = K.galois_closure('b', map=True) sage: L Number Field in b with defining polynomial x^8 + 28*x^4 + 2500 sage: phi Ring morphism: From: Number Field in a with defining polynomial x^4 - 2 To: Number Field in b with defining polynomial x^8 + 28*x^4 + 2500 Defn: a |--> 1/240*b^5 - 41/120*b TESTS: Let's make sure we're renaming correctly: sage: L, phi = K.galois_closure('cc', map=True) sage: L Number Field in cc with defining polynomial x^8 + 28*x^4 + 2500 sage: phi Ring morphism: From: Number Field in a with defining polynomial x^4 - 2 To: Number Field in cc with defining polynomial x^8 + 28*x^4 + 2500 Defn: a |--> 1/240*cc^5 - 41/120*cc """ L, self_into_L = self._galois_closure_and_embedding(names) if map: return (L, self_into_L) else: return L
|
def galois_closure(self, names=None): """ Return number field $K$ that is the Galois closure of self, i.e., is generated by all roots of the defining polynomial of self
|
9540a53f10979382906870b8675dc1dc5f9ad193 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/9540a53f10979382906870b8675dc1dc5f9ad193/number_field.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
24902,
19606,
67,
20823,
12,
2890,
16,
1257,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
24902,
19606,
67,
20823,
12,
2890,
16,
1257,
33,
7036,
4672,
3536,
2000,
1300,
652,
271,
47,
8,
716,
353,
326,
611,
287,
19606,
7213,
434,
365,
16,
277,
18,
73,
12990,
353,
4374,
635,
777,
12876,
434,
326,
9364,
16991,
434,
365,
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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
def _pdf(self, x, dfn, dfd, nc):
|
def _pdf_skip(self, x, dfn, dfd, nc):
|
def _pdf(self, x, dfn, dfd, nc): n1,n2 = dfn, dfd term = -nc/2+nc*n1*x/(2*(n2+n1*x)) + gamln(n1/2.)+gamln(1+n2/2.) term -= gamln((n1+n2)/2.0) Px = exp(term) Px *= n1**(n1/2) * n2**(n2/2) * x**(n1/2-1) Px *= (n2+n1*x)**(-(n1+n2)/2) Px *= special.assoc_laguerre(-nc*n1*x/(2.0*(n2+n1*x)),n2/2,n1/2-1) Px /= special.beta(n1/2,n2/2)
|
82f741b1f189e3a985d5afc0c3ddaf43252355d9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12971/82f741b1f189e3a985d5afc0c3ddaf43252355d9/distributions.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
7699,
67,
7457,
12,
2890,
16,
619,
16,
3013,
82,
16,
3013,
72,
16,
8194,
4672,
290,
21,
16,
82,
22,
273,
3013,
82,
16,
3013,
72,
2481,
273,
300,
14202,
19,
22,
15,
14202,
14,
82,
21,
14,
92,
19,
12,
22,
21556,
82,
22,
15,
82,
21,
14,
92,
3719,
397,
23411,
2370,
12,
82,
21,
19,
22,
12998,
15,
75,
301,
2370,
12,
21,
15,
82,
22,
19,
22,
12998,
2481,
3947,
23411,
2370,
12443,
82,
21,
15,
82,
22,
13176,
22,
18,
20,
13,
453,
92,
273,
1329,
12,
6408,
13,
453,
92,
6413,
290,
21,
636,
12,
82,
21,
19,
22,
13,
380,
290,
22,
636,
12,
82,
22,
19,
22,
13,
380,
619,
636,
12,
82,
21,
19,
22,
17,
21,
13,
453,
92,
6413,
261,
82,
22,
15,
82,
21,
14,
92,
13,
636,
19236,
12,
82,
21,
15,
82,
22,
13176,
22,
13,
453,
92,
6413,
4582,
18,
14578,
67,
22532,
6211,
266,
19236,
14202,
14,
82,
21,
14,
92,
19,
12,
22,
18,
20,
21556,
82,
22,
15,
82,
21,
14,
92,
13,
3631,
82,
22,
19,
22,
16,
82,
21,
19,
22,
17,
21,
13,
453,
92,
9531,
4582,
18,
5758,
12,
82,
21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72,
2481,
273,
300,
14202,
19,
22,
15,
14202,
14,
82,
21,
14,
92,
19,
12,
22,
21556,
82,
22,
15,
82,
21,
14,
92,
3719,
397,
23411,
2370,
12,
82,
21,
19,
22,
12998,
15,
75,
301,
2370,
12,
21,
15,
82,
22,
19,
22,
12998,
2481,
3947,
23411,
2370,
12443,
82,
21,
15,
82,
22,
13176,
22,
18,
20,
13,
453,
92,
273,
1329,
12,
6408,
13,
453,
92,
6413,
290,
21,
636,
12,
82,
21,
19,
22,
13,
380,
290,
22,
636,
12,
82,
22,
19,
22,
13,
2
] |
The p-adic valuation of the norm of self on the r-overconvergent region.
|
The `p`-adic valuation of the norm of self on the `r`-overconvergent region.
|
def r_ord(self, r): r""" The p-adic valuation of the norm of self on the r-overconvergent region.
|
d7c9d61652cabcfb658c91a720989214f7a469bd /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9890/d7c9d61652cabcfb658c91a720989214f7a469bd/genus0.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
436,
67,
517,
12,
2890,
16,
436,
4672,
436,
8395,
1021,
293,
17,
20333,
21748,
367,
434,
326,
4651,
434,
365,
603,
326,
436,
17,
1643,
591,
502,
75,
319,
3020,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
436,
67,
517,
12,
2890,
16,
436,
4672,
436,
8395,
1021,
293,
17,
20333,
21748,
367,
434,
326,
4651,
434,
365,
603,
326,
436,
17,
1643,
591,
502,
75,
319,
3020,
18,
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,
-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,
-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,
-100,
-100,
-100,
-100,
-100
] |
if self.cur_node.text and children:
|
if children:
|
def write(self, text, add_p_style=True, add_t_style=True): """ see mixed content http://effbot.org/zone/element-infoset.htm#mixed-content Writing is complicated by requirements of odp to ignore duplicate spaces together. Deal with this by splitting on white spaces then dealing with the '' (empty strings) which would be the extra spaces """
|
4356c80136aeb20e594322879b901dff6120fed0 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/5620/4356c80136aeb20e594322879b901dff6120fed0/preso.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1045,
12,
2890,
16,
977,
16,
527,
67,
84,
67,
4060,
33,
5510,
16,
527,
67,
88,
67,
4060,
33,
5510,
4672,
3536,
2621,
7826,
913,
1062,
2207,
17098,
4819,
18,
3341,
19,
3486,
19,
2956,
17,
18227,
278,
18,
31180,
7,
19562,
17,
1745,
10423,
310,
353,
31312,
635,
8433,
434,
320,
9295,
358,
2305,
6751,
7292,
9475,
18,
225,
28998,
598,
333,
635,
20347,
603,
9578,
7292,
1508,
21964,
598,
326,
875,
261,
5531,
2064,
13,
1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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1045,
12,
2890,
16,
977,
16,
527,
67,
84,
67,
4060,
33,
5510,
16,
527,
67,
88,
67,
4060,
33,
5510,
4672,
3536,
2621,
7826,
913,
1062,
2207,
17098,
4819,
18,
3341,
19,
3486,
19,
2956,
17,
18227,
278,
18,
31180,
7,
19562,
17,
1745,
10423,
310,
353,
31312,
635,
8433,
434,
320,
9295,
358,
2305,
6751,
7292,
9475,
18,
225,
28998,
598,
333,
635,
20347,
603,
9578,
7292,
1508,
21964,
598,
326,
875,
261,
5531,
2064,
13,
1492,
4102,
506,
326,
2870,
7292,
3536,
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,
-100,
-100,
-100,
-100,
-100,
-100
] |
if chunk and _IDC_SetAttr(chunk, _FUNCATTRMAP, attr, value):
|
if chunk: _IDC_SetAttr(chunk, _FUNCATTRMAP, attr, value)
|
def SetFchunkAttr(ea, attr, value): """ Set a function chunk attribute @param ea: any address in the chunk @param attr: only FUNCATTR_START, FUNCATTR_END, FUNCATTR_OWNER @param value: desired value @return: 0 if failed, 1 if success """ if attr in [ FUNCATTR_START, FUNCATTR_END, FUNCATTR_OWNER ]: chunk = idaapi.get_fchunk(ea) if chunk and _IDC_SetAttr(chunk, _FUNCATTRMAP, attr, value): return idaapi.update_func(chunk)
|
fc2d926b90132714548b46b423ecd80240215532 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6984/fc2d926b90132714548b46b423ecd80240215532/idc.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1000,
42,
6551,
3843,
12,
24852,
16,
1604,
16,
460,
4672,
3536,
1000,
279,
445,
2441,
1566,
225,
632,
891,
24164,
30,
1281,
1758,
316,
326,
2441,
632,
891,
1604,
30,
1338,
478,
21163,
12043,
67,
7570,
16,
478,
21163,
12043,
67,
4415,
16,
478,
21163,
12043,
67,
29602,
632,
891,
460,
30,
6049,
460,
225,
632,
2463,
30,
374,
309,
2535,
16,
404,
309,
2216,
3536,
309,
1604,
316,
306,
478,
21163,
12043,
67,
7570,
16,
478,
21163,
12043,
67,
4415,
16,
478,
21163,
12043,
67,
29602,
308,
30,
2441,
273,
612,
69,
2425,
18,
588,
67,
74,
6551,
12,
24852,
13,
309,
2441,
30,
389,
734,
39,
67,
694,
3843,
12,
6551,
16,
389,
42,
21163,
12043,
8352,
16,
1604,
16,
460,
13,
327,
612,
69,
2425,
18,
2725,
67,
644,
12,
6551,
13,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1000,
42,
6551,
3843,
12,
24852,
16,
1604,
16,
460,
4672,
3536,
1000,
279,
445,
2441,
1566,
225,
632,
891,
24164,
30,
1281,
1758,
316,
326,
2441,
632,
891,
1604,
30,
1338,
478,
21163,
12043,
67,
7570,
16,
478,
21163,
12043,
67,
4415,
16,
478,
21163,
12043,
67,
29602,
632,
891,
460,
30,
6049,
460,
225,
632,
2463,
30,
374,
309,
2535,
16,
404,
309,
2216,
3536,
309,
1604,
316,
306,
478,
21163,
12043,
67,
7570,
16,
478,
21163,
12043,
67,
4415,
16,
478,
21163,
12043,
67,
29602,
308,
30,
2441,
273,
612,
69,
2425,
18,
588,
67,
74,
6551,
12,
24852,
13,
309,
2441,
30,
389,
734,
39,
67,
694,
3843,
12,
6551,
16,
389,
42,
21163,
2
] |
self.session.commit()
|
self.session.commit()
|
def commitTransaction(self):
|
47d2884a8b5be4efadf798bbb2e71a3d5e993c3e /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9116/47d2884a8b5be4efadf798bbb2e71a3d5e993c3e/svcpointxml_406_writer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3294,
3342,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3294,
3342,
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,
-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,
-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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
import base64 import hmac
|
import base64, hmac
|
def setSessionCookie(request, u): """ Set moin_session cookie for user obj u """ import base64 import hmac cfg = request.cfg cookie_name = 'MOIN_ID' if hasattr(cfg, 'moin_session_cookie_name'): cookie_name = cfg.moin_session_cookie_name enc_username = base64.encodestring(u.auth_username) enc_id = base64.encodestring(u.id) # XXX - should include expiry! cookie_body = "username=%s:id=%s" % (enc_username, enc_id) cookie_hmac = hmac.new(cfg.moin_session_secret, cookie_body).hexdigest() cookie_string = ':'.join([cookie_hmac, cookie_body]) setCookie(request, u, cookie_name, cookie_string)
|
ef1096937fe84fb3d22b2765bd2a87780d73b2fa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/888/ef1096937fe84fb3d22b2765bd2a87780d73b2fa/__init__.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
25486,
6151,
12,
2293,
16,
582,
4672,
3536,
1000,
312,
885,
67,
3184,
3878,
364,
729,
1081,
582,
3536,
1930,
1026,
1105,
16,
13421,
2776,
273,
590,
18,
7066,
3878,
67,
529,
273,
296,
5980,
706,
67,
734,
11,
309,
3859,
12,
7066,
16,
296,
81,
885,
67,
3184,
67,
8417,
67,
529,
11,
4672,
3878,
67,
529,
273,
2776,
18,
81,
885,
67,
3184,
67,
8417,
67,
529,
2446,
67,
5053,
273,
1026,
1105,
18,
1331,
1145,
371,
12,
89,
18,
1944,
67,
5053,
13,
2446,
67,
350,
273,
1026,
1105,
18,
1331,
1145,
371,
12,
89,
18,
350,
13,
468,
11329,
300,
1410,
2341,
10839,
5,
3878,
67,
3432,
273,
315,
5053,
5095,
87,
30,
350,
5095,
87,
6,
738,
261,
1331,
67,
5053,
16,
2446,
67,
350,
13,
3878,
67,
19820,
273,
13421,
18,
2704,
12,
7066,
18,
81,
885,
67,
3184,
67,
5875,
16,
3878,
67,
3432,
2934,
7118,
10171,
1435,
3878,
67,
1080,
273,
3921,
18,
5701,
3816,
8417,
67,
19820,
16,
3878,
67,
3432,
5717,
26793,
12,
2293,
16,
582,
16,
3878,
67,
529,
16,
3878,
67,
1080,
13,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
25486,
6151,
12,
2293,
16,
582,
4672,
3536,
1000,
312,
885,
67,
3184,
3878,
364,
729,
1081,
582,
3536,
1930,
1026,
1105,
16,
13421,
2776,
273,
590,
18,
7066,
3878,
67,
529,
273,
296,
5980,
706,
67,
734,
11,
309,
3859,
12,
7066,
16,
296,
81,
885,
67,
3184,
67,
8417,
67,
529,
11,
4672,
3878,
67,
529,
273,
2776,
18,
81,
885,
67,
3184,
67,
8417,
67,
529,
2446,
67,
5053,
273,
1026,
1105,
18,
1331,
1145,
371,
12,
89,
18,
1944,
67,
5053,
13,
2446,
67,
350,
273,
1026,
1105,
18,
1331,
1145,
371,
12,
89,
18,
350,
13,
468,
11329,
300,
1410,
2341,
10839,
5,
3878,
67,
3432,
273,
315,
5053,
5095,
87,
30,
350,
2
] |
self._axis = PlotAxis(orientation='left',
|
self._axis = PlotAxis(orientation=axis_orientation,
|
def __init__(self, *args, **kw): """ In creating an instance, this method ensures that the grid and the axis are created before setting their visibility. """ grid_visible = kw.pop("grid_visible", True) axis_visible = kw.pop("axis_visible", True) super(ColorBar, self).__init__(*args, **kw)
|
d3306ad2a68ac0fc5bc21bbcc2f5b601354249f6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/13167/d3306ad2a68ac0fc5bc21bbcc2f5b601354249f6/color_bar.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
380,
1968,
16,
2826,
9987,
4672,
3536,
657,
4979,
392,
791,
16,
333,
707,
11932,
716,
326,
3068,
471,
326,
2654,
854,
2522,
1865,
3637,
3675,
9478,
18,
3536,
3068,
67,
8613,
273,
5323,
18,
5120,
2932,
5222,
67,
8613,
3113,
1053,
13,
2654,
67,
8613,
273,
5323,
18,
5120,
2932,
4890,
67,
8613,
3113,
1053,
13,
225,
2240,
12,
2957,
5190,
16,
365,
2934,
972,
2738,
972,
30857,
1968,
16,
2826,
9987,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
380,
1968,
16,
2826,
9987,
4672,
3536,
657,
4979,
392,
791,
16,
333,
707,
11932,
716,
326,
3068,
471,
326,
2654,
854,
2522,
1865,
3637,
3675,
9478,
18,
3536,
3068,
67,
8613,
273,
5323,
18,
5120,
2932,
5222,
67,
8613,
3113,
1053,
13,
2654,
67,
8613,
273,
5323,
18,
5120,
2932,
4890,
67,
8613,
3113,
1053,
13,
225,
2240,
12,
2957,
5190,
16,
365,
2934,
972,
2738,
972,
30857,
1968,
16,
2826,
9987,
13,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
str_list.append(" Uname %s\n" % rorpath.getuname() or ":")
|
str_list.append(" Uname %s\n" % (rorpath.getuname() or ":"))
|
def RORP2Record(rorpath): """From RORPath, return text record of file's metadata""" str_list = ["File %s\n" % quote_path(rorpath.get_indexpath())] # Store file type, e.g. "dev", "reg", or "sym", and type-specific data type = rorpath.gettype() if type is None: type = "None" str_list.append(" Type %s\n" % type) if type == "reg": str_list.append(" Size %s\n" % rorpath.getsize()) # If there is a resource fork, save it. if rorpath.has_resource_fork(): if not rorpath.get_resource_fork(): rf = "None" else: rf = binascii.hexlify(rorpath.get_resource_fork()) str_list.append(" ResourceFork %s\n" % (rf,)) # If there is Carbon data, save it. if rorpath.has_carbonfile(): if not rorpath.get_carbonfile(): cfile = "None" else: cfile = carbonfile2string(rorpath.get_carbonfile()) str_list.append(" CarbonFile %s\n" % (cfile,)) # If file is hardlinked, add that information if Globals.preserve_hardlinks: numlinks = rorpath.getnumlinks() if numlinks > 1: str_list.append(" NumHardLinks %s\n" % numlinks) str_list.append(" Inode %s\n" % rorpath.getinode()) str_list.append(" DeviceLoc %s\n" % rorpath.getdevloc()) elif type == "None": return "".join(str_list) elif type == "dir" or type == "sock" or type == "fifo": pass elif type == "sym": str_list.append(" SymData %s\n" % quote_path(rorpath.readlink())) elif type == "dev": major, minor = rorpath.getdevnums() if rorpath.isblkdev(): devchar = "b" else: assert rorpath.ischardev() devchar = "c" str_list.append(" DeviceNum %s %s %s\n" % (devchar, major, minor)) # Store time information if type != 'sym' and type != 'dev': str_list.append(" ModTime %s\n" % rorpath.getmtime()) # Add user, group, and permission information uid, gid = rorpath.getuidgid() str_list.append(" Uid %s\n" % uid) str_list.append(" Uname %s\n" % rorpath.getuname() or ":") str_list.append(" Gid %s\n" % gid) str_list.append(" Gname %s\n" % rorpath.getgname() or ":") str_list.append(" Permissions %s\n" % rorpath.getperms()) return "".join(str_list)
|
7136bddd623b30eef43f440904e8b1e9349168c8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6202/7136bddd623b30eef43f440904e8b1e9349168c8/metadata.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
534,
916,
52,
22,
2115,
12,
86,
280,
803,
4672,
3536,
1265,
534,
916,
743,
16,
327,
977,
1409,
434,
585,
1807,
1982,
8395,
609,
67,
1098,
273,
8247,
812,
738,
87,
64,
82,
6,
738,
3862,
67,
803,
12,
86,
280,
803,
18,
588,
67,
1615,
803,
10756,
65,
225,
468,
4994,
585,
618,
16,
425,
18,
75,
18,
315,
5206,
3113,
315,
1574,
3113,
578,
315,
8117,
3113,
471,
618,
17,
12524,
501,
618,
273,
436,
280,
803,
18,
588,
723,
1435,
309,
618,
353,
599,
30,
618,
273,
315,
7036,
6,
609,
67,
1098,
18,
6923,
2932,
225,
1412,
738,
87,
64,
82,
6,
738,
618,
13,
309,
618,
422,
315,
1574,
6877,
609,
67,
1098,
18,
6923,
2932,
225,
6321,
738,
87,
64,
82,
6,
738,
436,
280,
803,
18,
588,
1467,
10756,
225,
468,
971,
1915,
353,
279,
1058,
12515,
16,
1923,
518,
18,
309,
436,
280,
803,
18,
5332,
67,
3146,
67,
23335,
13332,
309,
486,
436,
280,
803,
18,
588,
67,
3146,
67,
23335,
13332,
9075,
273,
315,
7036,
6,
469,
30,
9075,
273,
28222,
18,
7118,
22451,
12,
86,
280,
803,
18,
588,
67,
3146,
67,
23335,
10756,
609,
67,
1098,
18,
6923,
2932,
225,
2591,
22662,
738,
87,
64,
82,
6,
738,
261,
5809,
16,
3719,
225,
468,
971,
1915,
353,
13353,
501,
16,
1923,
518,
18,
309,
436,
280,
803,
18,
5332,
67,
71,
11801,
768,
13332,
309,
486,
436,
280,
803,
18,
588,
67,
71,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
534,
916,
52,
22,
2115,
12,
86,
280,
803,
4672,
3536,
1265,
534,
916,
743,
16,
327,
977,
1409,
434,
585,
1807,
1982,
8395,
609,
67,
1098,
273,
8247,
812,
738,
87,
64,
82,
6,
738,
3862,
67,
803,
12,
86,
280,
803,
18,
588,
67,
1615,
803,
10756,
65,
225,
468,
4994,
585,
618,
16,
425,
18,
75,
18,
315,
5206,
3113,
315,
1574,
3113,
578,
315,
8117,
3113,
471,
618,
17,
12524,
501,
618,
273,
436,
280,
803,
18,
588,
723,
1435,
309,
618,
353,
599,
30,
618,
273,
315,
7036,
6,
609,
67,
1098,
18,
6923,
2932,
225,
1412,
738,
87,
64,
82,
6,
738,
618,
13,
309,
618,
422,
315,
1574,
6877,
609,
67,
2
] |
sms.status_request = self.status_request
|
sms.request_status = self.status_request
|
def to_pdu(self, store=False): """Returns the PDU representation of this message""" sms = SmsSubmit(self.number, self.text)
|
e63e131b4abf01bccb6e79c410d8ca2342b9ae59 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12036/e63e131b4abf01bccb6e79c410d8ca2342b9ae59/sms.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
358,
67,
84,
2544,
12,
2890,
16,
1707,
33,
8381,
4672,
3536,
1356,
326,
453,
16214,
4335,
434,
333,
883,
8395,
16188,
273,
348,
959,
11620,
12,
2890,
18,
2696,
16,
365,
18,
955,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
358,
67,
84,
2544,
12,
2890,
16,
1707,
33,
8381,
4672,
3536,
1356,
326,
453,
16214,
4335,
434,
333,
883,
8395,
16188,
273,
348,
959,
11620,
12,
2890,
18,
2696,
16,
365,
18,
955,
13,
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,
-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,
-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,
-100,
-100
] |
return self.typeRegistry[type(value)](name, parent, companion, rootCompanion, propWrapper, idx, width)
|
return self.typeRegistry[type(value)](name, parent, companion, rootCompanion, propWrapper, idx, width)
|
def factory(self, name, parent, companion, rootCompanion, propWrapper, idx, width): try: propWrapper.connect(companion.control, companion) value = propWrapper.getValue() except Exception, message: print 'Error on accessing Getter for', name, ':', message value = None if type(value) == InstanceType: if self.classRegistry.has_key(value.__class__.__name__): return self.classRegistry[value.__class__.__name__](name, parent, companion, rootCompanion, propWrapper, idx, width) else: pass
|
43e4ab46eed5e41d2af40091522912ba9175fcc3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/4325/43e4ab46eed5e41d2af40091522912ba9175fcc3/PropertyEditors.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3272,
12,
2890,
16,
508,
16,
982,
16,
1161,
304,
285,
16,
1365,
2945,
304,
285,
16,
2270,
3611,
16,
2067,
16,
1835,
4672,
775,
30,
2270,
3611,
18,
3612,
12,
2919,
304,
285,
18,
7098,
16,
1161,
304,
285,
13,
460,
273,
2270,
3611,
18,
24805,
1435,
1335,
1185,
16,
883,
30,
1172,
296,
668,
603,
19531,
968,
387,
364,
2187,
508,
16,
4290,
2187,
883,
460,
273,
599,
225,
309,
618,
12,
1132,
13,
422,
29161,
30,
309,
365,
18,
1106,
4243,
18,
5332,
67,
856,
12,
1132,
16186,
1106,
972,
16186,
529,
972,
4672,
327,
365,
18,
1106,
4243,
63,
1132,
16186,
1106,
972,
16186,
529,
972,
29955,
529,
16,
982,
16,
1161,
304,
285,
16,
1365,
2945,
304,
285,
16,
2270,
3611,
16,
2067,
16,
1835,
13,
469,
30,
1342,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3272,
12,
2890,
16,
508,
16,
982,
16,
1161,
304,
285,
16,
1365,
2945,
304,
285,
16,
2270,
3611,
16,
2067,
16,
1835,
4672,
775,
30,
2270,
3611,
18,
3612,
12,
2919,
304,
285,
18,
7098,
16,
1161,
304,
285,
13,
460,
273,
2270,
3611,
18,
24805,
1435,
1335,
1185,
16,
883,
30,
1172,
296,
668,
603,
19531,
968,
387,
364,
2187,
508,
16,
4290,
2187,
883,
460,
273,
599,
225,
309,
618,
12,
1132,
13,
422,
29161,
30,
309,
365,
18,
1106,
4243,
18,
5332,
67,
856,
12,
1132,
16186,
1106,
972,
16186,
529,
972,
4672,
327,
365,
18,
1106,
4243,
63,
1132,
16186,
1106,
972,
16186,
529,
972,
29955,
529,
16,
982,
16,
1161,
304,
285,
2
] |
if not word or len(word) > 30:
|
if not word or len(word) > MAX_WORD_LENGTH:
|
def _score_words(self, text_parts): """ Scores the words given in text_parts, which is a list of tuples (text, coeff, type), where text is the string of words to be scored, coeff is the weight to give each word in this part (1.0 is normal), and type is one of ATTR_KEYWORDS_*.
|
318def10ea14e19fd377915dec850ed450857c6a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11703/318def10ea14e19fd377915dec850ed450857c6a/db.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
6355,
67,
3753,
12,
2890,
16,
977,
67,
6019,
4672,
3536,
2850,
3485,
326,
4511,
864,
316,
977,
67,
6019,
16,
1492,
353,
279,
666,
434,
10384,
261,
955,
16,
11943,
16,
618,
3631,
1625,
977,
353,
326,
533,
434,
4511,
358,
506,
4462,
72,
16,
11943,
353,
326,
3119,
358,
8492,
1517,
2076,
316,
333,
1087,
261,
21,
18,
20,
353,
2212,
3631,
471,
618,
353,
1245,
434,
12759,
67,
3297,
23287,
67,
11146,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
6355,
67,
3753,
12,
2890,
16,
977,
67,
6019,
4672,
3536,
2850,
3485,
326,
4511,
864,
316,
977,
67,
6019,
16,
1492,
353,
279,
666,
434,
10384,
261,
955,
16,
11943,
16,
618,
3631,
1625,
977,
353,
326,
533,
434,
4511,
358,
506,
4462,
72,
16,
11943,
353,
326,
3119,
358,
8492,
1517,
2076,
316,
333,
1087,
261,
21,
18,
20,
353,
2212,
3631,
471,
618,
353,
1245,
434,
12759,
67,
3297,
23287,
67,
11146,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
def __init__(self, str):
|
def __init__(self, str, parser=None): """Token. Description: str - The string to parse In the string `div > ul`, there are 3 tokens. (`div`, `>`, and `ul`) For `>`, it will be a `Token` with `type` set to `Token.CHILD` """
|
def __init__(self, str): self.str = str.strip() self.attributes = {}
|
31746b2c12abc94e701d932b47560a36d5494b1d /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/10890/31746b2c12abc94e701d932b47560a36d5494b1d/sparkup.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
609,
16,
2082,
33,
7036,
4672,
3536,
1345,
18,
225,
6507,
30,
609,
282,
300,
1021,
533,
358,
1109,
225,
657,
326,
533,
1375,
2892,
405,
7493,
9191,
1915,
854,
890,
2430,
18,
21863,
2892,
9191,
1375,
34,
9191,
471,
1375,
332,
24065,
225,
2457,
1375,
34,
9191,
518,
903,
506,
279,
1375,
1345,
68,
598,
1375,
723,
68,
444,
358,
1375,
1345,
18,
27043,
68,
3536,
225,
365,
18,
701,
273,
609,
18,
6406,
1435,
365,
18,
4350,
273,
2618,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
609,
16,
2082,
33,
7036,
4672,
3536,
1345,
18,
225,
6507,
30,
609,
282,
300,
1021,
533,
358,
1109,
225,
657,
326,
533,
1375,
2892,
405,
7493,
9191,
1915,
854,
890,
2430,
18,
21863,
2892,
9191,
1375,
34,
9191,
471,
1375,
332,
24065,
225,
2457,
1375,
34,
9191,
518,
903,
506,
279,
1375,
1345,
68,
598,
1375,
723,
68,
444,
358,
1375,
1345,
18,
27043,
68,
3536,
225,
365,
18,
701,
273,
609,
18,
6406,
1435,
365,
18,
4350,
273,
2618,
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,
-100,
-100,
-100,
-100
] |
return
|
return None
|
def warn_with_loader(space, w_message, w_category, w_filename, lineno, w_module, w_registry, w_globals): # Check/get the requisite pieces needed for the loader. try: w_loader = space.getitem(w_globals, space.wrap("__loader__")) w_module_name = space.getitem(w_globals, space.wrap("__name__")) except OperationError, e: if not e.match(space, space.w_KeyError): raise return # perform standard call # Make sure the loader implements the optional get_source() method. try: w_get_source = space.getattr(w_loader, space.wrap("get_source")) except OperationError, e: if not e.match(space, space.w_AttributeError): raise return # perform standard call # Call get_source() to get the source code. w_source = space.call_function(w_get_source, w_module_name) if space.is_w(w_source, space.w_None): return # perform standard call # Split the source into lines. w_source_list = space.call_method(w_source, "splitlines") # Get the source line. w_source_line = space.getitem(w_source_list, space.wrap(lineno - 1)) # Handle the warning. do_warn_explicit(space, w_category, w_message, (w_filename, lineno, w_module, w_registry), w_source_line) return True
|
9a9de29f1ac0e528788a1f07382723f16054532d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/6934/9a9de29f1ac0e528788a1f07382723f16054532d/interp_warnings.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1894,
67,
1918,
67,
6714,
12,
2981,
16,
341,
67,
2150,
16,
341,
67,
4743,
16,
341,
67,
3459,
16,
7586,
16,
341,
67,
2978,
16,
341,
67,
9893,
16,
341,
67,
16227,
4672,
468,
2073,
19,
588,
326,
10780,
291,
1137,
10167,
3577,
364,
326,
4088,
18,
775,
30,
341,
67,
6714,
273,
3476,
18,
31571,
12,
91,
67,
16227,
16,
3476,
18,
4113,
2932,
972,
6714,
14437,
3719,
341,
67,
2978,
67,
529,
273,
3476,
18,
31571,
12,
91,
67,
16227,
16,
3476,
18,
4113,
2932,
972,
529,
14437,
3719,
1335,
4189,
668,
16,
425,
30,
309,
486,
425,
18,
1916,
12,
2981,
16,
3476,
18,
91,
67,
653,
668,
4672,
1002,
327,
599,
468,
3073,
4529,
745,
225,
468,
4344,
3071,
326,
4088,
4792,
326,
3129,
336,
67,
3168,
1435,
707,
18,
775,
30,
341,
67,
588,
67,
3168,
273,
3476,
18,
588,
1747,
12,
91,
67,
6714,
16,
3476,
18,
4113,
2932,
588,
67,
3168,
6,
3719,
1335,
4189,
668,
16,
425,
30,
309,
486,
425,
18,
1916,
12,
2981,
16,
3476,
18,
91,
67,
1499,
668,
4672,
1002,
327,
599,
468,
3073,
4529,
745,
225,
468,
3049,
336,
67,
3168,
1435,
358,
336,
326,
1084,
981,
18,
341,
67,
3168,
273,
3476,
18,
1991,
67,
915,
12,
91,
67,
588,
67,
3168,
16,
341,
67,
2978,
67,
529,
13,
309,
3476,
18,
291,
67,
91,
12,
91,
67,
3168,
16,
3476,
18,
91,
67,
7036,
4672,
327,
599,
468,
3073,
4529,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1918,
67,
6714,
12,
2981,
16,
341,
67,
2150,
16,
341,
67,
4743,
16,
341,
67,
3459,
16,
7586,
16,
341,
67,
2978,
16,
341,
67,
9893,
16,
341,
67,
16227,
4672,
468,
2073,
19,
588,
326,
10780,
291,
1137,
10167,
3577,
364,
326,
4088,
18,
775,
30,
341,
67,
6714,
273,
3476,
18,
31571,
12,
91,
67,
16227,
16,
3476,
18,
4113,
2932,
972,
6714,
14437,
3719,
341,
67,
2978,
67,
529,
273,
3476,
18,
31571,
12,
91,
67,
16227,
16,
3476,
18,
4113,
2932,
972,
529,
14437,
3719,
1335,
4189,
668,
16,
425,
30,
309,
486,
425,
18,
1916,
12,
2981,
16,
3476,
18,
91,
67,
653,
668,
4672,
1002,
327,
599,
468,
3073,
2
] |
print count
|
def _execute_get( self, execute_get_function, *args, **kw ): """ Called by __getattr__, unconditionally executes self.function (set in __getattr__) with the given arguments and executes the query. @return: result of query """ function = execute_get_function
|
9b3033e5cc6e34d9ba3a6f3b22665d7fe92baf2a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7602/9b3033e5cc6e34d9ba3a6f3b22665d7fe92baf2a/interface.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
8837,
67,
588,
12,
365,
16,
1836,
67,
588,
67,
915,
16,
380,
1968,
16,
2826,
9987,
262,
30,
3536,
11782,
635,
1001,
588,
1747,
972,
16,
6301,
1434,
22913,
11997,
365,
18,
915,
261,
542,
316,
1001,
588,
1747,
972,
13,
598,
326,
864,
1775,
471,
11997,
326,
843,
18,
225,
632,
2463,
30,
563,
434,
843,
3536,
225,
445,
273,
1836,
67,
588,
67,
915,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
8837,
67,
588,
12,
365,
16,
1836,
67,
588,
67,
915,
16,
380,
1968,
16,
2826,
9987,
262,
30,
3536,
11782,
635,
1001,
588,
1747,
972,
16,
6301,
1434,
22913,
11997,
365,
18,
915,
261,
542,
316,
1001,
588,
1747,
972,
13,
598,
326,
864,
1775,
471,
11997,
326,
843,
18,
225,
632,
2463,
30,
563,
434,
843,
3536,
225,
445,
273,
1836,
67,
588,
67,
915,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
if typ is list or typ is tuple: if typ is list:
|
if issubclass(typ, list) or issubclass(typ, tuple): if issubclass(typ, list):
|
def _safe_repr(object, context, maxlevels, level): typ = _type(object) if typ is str: if 'locale' not in _sys.modules: return `object`, True, False if "'" in object and '"' not in object: closure = '"' quotes = {'"': '\\"'} else: closure = "'" quotes = {"'": "\\'"} qget = quotes.get sio = _StringIO() write = sio.write for char in object: if char.isalpha(): write(char) else: write(qget(char, `char`[1:-1])) return ("%s%s%s" % (closure, sio.getvalue(), closure)), True, False if typ is dict: if not object: return "{}", True, False objid = _id(object) if maxlevels and level > maxlevels: return "{...}", False, objid in context if objid in context: return _recursion(object), False, True context[objid] = 1 readable = True recursive = False components = [] append = components.append level += 1 saferepr = _safe_repr for k, v in object.iteritems(): krepr, kreadable, krecur = saferepr(k, context, maxlevels, level) vrepr, vreadable, vrecur = saferepr(v, context, maxlevels, level) append("%s: %s" % (krepr, vrepr)) readable = readable and kreadable and vreadable if krecur or vrecur: recursive = True del context[objid] return "{%s}" % _commajoin(components), readable, recursive if typ is list or typ is tuple: if typ is list: if not object: return "[]", True, False format = "[%s]" elif _len(object) == 1: format = "(%s,)" else: if not object: return "()", True, False format = "(%s)" objid = _id(object) if maxlevels and level > maxlevels: return format % "...", False, objid in context if objid in context: return _recursion(object), False, True context[objid] = 1 readable = True recursive = False components = [] append = components.append level += 1 for o in object: orepr, oreadable, orecur = _safe_repr(o, context, maxlevels, level) append(orepr) if not oreadable: readable = False if orecur: recursive = True del context[objid] return format % _commajoin(components), readable, recursive rep = `object` return rep, (rep and not rep.startswith('<')), False
|
40bfe499bc3292b9af69967b35eabdbaa4c2a1af /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/40bfe499bc3292b9af69967b35eabdbaa4c2a1af/pprint.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
4626,
67,
12715,
12,
1612,
16,
819,
16,
943,
12095,
16,
1801,
4672,
3815,
273,
389,
723,
12,
1612,
13,
309,
3815,
353,
609,
30,
309,
296,
6339,
11,
486,
316,
389,
9499,
18,
6400,
30,
327,
1375,
1612,
9191,
1053,
16,
1083,
309,
5862,
316,
733,
471,
4754,
486,
316,
733,
30,
7213,
273,
4754,
10681,
273,
288,
4970,
4278,
3718,
5187,
97,
469,
30,
7213,
273,
5862,
10681,
273,
12528,
4970,
30,
1548,
3730,
6,
97,
1043,
588,
273,
10681,
18,
588,
272,
1594,
273,
389,
780,
4294,
1435,
1045,
273,
272,
1594,
18,
2626,
364,
1149,
316,
733,
30,
309,
1149,
18,
291,
5429,
13332,
1045,
12,
3001,
13,
469,
30,
1045,
12,
85,
588,
12,
3001,
16,
1375,
3001,
68,
63,
21,
30,
17,
21,
22643,
327,
7566,
9,
87,
9,
87,
9,
87,
6,
738,
261,
20823,
16,
272,
1594,
18,
588,
1132,
9334,
7213,
13,
3631,
1053,
16,
1083,
225,
309,
3815,
353,
2065,
30,
309,
486,
733,
30,
327,
13034,
16,
1053,
16,
1083,
1081,
350,
273,
389,
350,
12,
1612,
13,
309,
943,
12095,
471,
1801,
405,
943,
12095,
30,
327,
4144,
2777,
1532,
16,
1083,
16,
1081,
350,
316,
819,
309,
1081,
350,
316,
819,
30,
327,
389,
31347,
12,
1612,
3631,
1083,
16,
1053,
819,
63,
2603,
350,
65,
273,
404,
7471,
273,
1053,
5904,
273,
1083,
4085,
273,
5378,
714,
273,
4085,
18,
6923,
1801,
1011,
404,
7864,
586,
73,
683,
273,
389,
4626,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4626,
67,
12715,
12,
1612,
16,
819,
16,
943,
12095,
16,
1801,
4672,
3815,
273,
389,
723,
12,
1612,
13,
309,
3815,
353,
609,
30,
309,
296,
6339,
11,
486,
316,
389,
9499,
18,
6400,
30,
327,
1375,
1612,
9191,
1053,
16,
1083,
309,
5862,
316,
733,
471,
4754,
486,
316,
733,
30,
7213,
273,
4754,
10681,
273,
288,
4970,
4278,
3718,
5187,
97,
469,
30,
7213,
273,
5862,
10681,
273,
12528,
4970,
30,
1548,
3730,
6,
97,
1043,
588,
273,
10681,
18,
588,
272,
1594,
273,
389,
780,
4294,
1435,
1045,
273,
272,
1594,
18,
2626,
364,
1149,
316,
733,
30,
309,
1149,
18,
291,
5429,
13332,
1045,
12,
3001,
13,
469,
30,
1045,
12,
85,
2
] |
cmd = '../../bin/linux/release/cmeansMultiGPU "%s"' % params['INPUT_FILE']
|
cmd = '%s/../../bin/linux/release/cmeansMultiGPU "%s"' % (PROJECT_PATH,params['INPUT_FILE'])
|
def parseInputArgs(): args = sys.argv num_args = len(args) params = { 'INPUT_FILE' : '', 'NUM_CLUSTERS' : 0, 'THRESHOLD' : 0.0001, 'MIN_ITERS' : 0, 'MAX_ITERS' : 100, 'DEVICE' : 0, 'FUZZINESS' : 2, 'DISTANCE_MEASURE': 0, 'K1': 1.0, 'K2': 0.01, 'K3': 1.5, 'MEMBER_THRESHOLD': 0.05, 'TABU_ITER': 100, 'TABU_TENURE': 5, 'MDL': 0, 'CPU_ONLY': 0, } num_params = len(params.keys()) if num_args == num_params: params['INPUT_FILE'] = args[1] params['NUM_CLUSTERS'] = args[2] params['THRESHOLD'] = args[3] params['MIN_ITERS'] = args[4] params['MAX_ITERS'] = args[5] params['DEVICE'] = args[6] params['FUZZINESS'] = args[7] params['DISTANCE_MEASURE'] = args[8] params['K1'] = args[9] params['K2'] = args[10] params['K3'] = args[11] params['MEMBER_THRESHOLD'] = args[12] params['TABU_ITER'] = args[13] params['TABU_TENURE'] = args[14] params['MDL'] = args[15] params['CPU_ONLY'] = args[16] elif num_args == 3: params['INPUT_FILE'] = args[1] params['NUM_CLUSTERS'] = args[2] elif 3 < num_args < num_params: params['INPUT_FILE'] = args[1] params['NUM_CLUSTERS'] = args[2] for arg in args[3:]: try: key,val = arg.split("=") key = key.upper() assert key in params.keys() if key in ['K1','K2','K3','MEMBER_THRESHOLD','THRESHOLD']: params[key] = float(val) else: params[key] = int(val) except AssertionError: print "Error: Found invalid parameter '%s'" % key except ValueError: print "Error: Invalid value '%s' for parameter '%s'" % (val,key) print usage() sys.exit(1) else: print "Invalid command line arguments." print usage() sys.exit(1) if os.path.exists(params['INPUT_FILE']): if params['INPUT_FILE'].lower().endswith(".bin"): input = open(params['INPUT_FILE'],'rb') import struct params['NUM_EVENTS'] = struct.unpack('i',input.read(4))[0] params['NUM_DIMENSIONS'] = struct.unpack('i',input.read(4))[0] else: input = open(params['INPUT_FILE']) line = input.readline() # Read the header line num_dimensions = len(line.split(DELIMITER)) num_events = 0 for line in input: num_events += 1 params['NUM_DIMENSIONS'] = num_dimensions params['NUM_EVENTS'] = num_events params['NUM_EVENTS'] -= params['NUM_EVENTS'] % 16 print "%d events removed to ensure memory alignment" % (params['NUM_EVENTS'] % 16) else: print "Invalid input file." sys.exit(1) return params
|
7ef63f0d6acaed783b4943ead1066c04c97005ad /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/11171/7ef63f0d6acaed783b4943ead1066c04c97005ad/cmeansMultiGPU.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
1210,
2615,
13332,
833,
273,
2589,
18,
19485,
818,
67,
1968,
273,
562,
12,
1968,
13,
225,
859,
273,
288,
296,
15934,
67,
3776,
11,
294,
10226,
296,
6069,
67,
5017,
5996,
11367,
11,
294,
374,
16,
296,
23840,
11,
294,
374,
18,
13304,
16,
296,
6236,
67,
1285,
11367,
11,
294,
374,
16,
296,
6694,
67,
1285,
11367,
11,
294,
2130,
16,
296,
18953,
11,
294,
374,
16,
296,
42,
57,
27096,
3740,
1260,
11,
294,
576,
16,
296,
2565,
5703,
67,
28964,
4278,
374,
16,
296,
47,
21,
4278,
404,
18,
20,
16,
296,
47,
22,
4278,
374,
18,
1611,
16,
296,
47,
23,
4278,
404,
18,
25,
16,
296,
19630,
67,
23840,
4278,
374,
18,
6260,
16,
296,
28899,
57,
67,
11844,
4278,
2130,
16,
296,
28899,
57,
67,
56,
1157,
4830,
4278,
1381,
16,
296,
6188,
48,
4278,
374,
16,
296,
15222,
67,
10857,
4278,
374,
16,
289,
818,
67,
2010,
273,
562,
12,
2010,
18,
2452,
10756,
309,
818,
67,
1968,
422,
818,
67,
2010,
30,
859,
3292,
15934,
67,
3776,
3546,
273,
833,
63,
21,
65,
859,
3292,
6069,
67,
5017,
5996,
11367,
3546,
273,
833,
63,
22,
65,
859,
3292,
23840,
3546,
273,
833,
63,
23,
65,
859,
3292,
6236,
67,
1285,
11367,
3546,
273,
833,
63,
24,
65,
859,
3292,
6694,
67,
1285,
11367,
3546,
273,
833,
63,
25,
65,
859,
3292,
18953,
3546,
273,
833,
63,
26,
65,
859,
3292,
42,
57,
27096,
3740,
1260,
3546,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1109,
1210,
2615,
13332,
833,
273,
2589,
18,
19485,
818,
67,
1968,
273,
562,
12,
1968,
13,
225,
859,
273,
288,
296,
15934,
67,
3776,
11,
294,
10226,
296,
6069,
67,
5017,
5996,
11367,
11,
294,
374,
16,
296,
23840,
11,
294,
374,
18,
13304,
16,
296,
6236,
67,
1285,
11367,
11,
294,
374,
16,
296,
6694,
67,
1285,
11367,
11,
294,
2130,
16,
296,
18953,
11,
294,
374,
16,
296,
42,
57,
27096,
3740,
1260,
11,
294,
576,
16,
296,
2565,
5703,
67,
28964,
4278,
374,
16,
296,
47,
21,
4278,
404,
18,
20,
16,
296,
47,
22,
4278,
374,
18,
1611,
16,
296,
47,
23,
4278,
404,
18,
25,
16,
296,
19630,
67,
23840,
4278,
374,
2
] |
if attr == 'description': return self._cursor.description elif attr == 'sqlerrd': return self._cursor.sqlerrd elif attr == 'rowcount': return self._cursor.rowcount else: raise AttributeError, attr
|
if attr == 'description': return self._cursor.description elif attr == 'sqlerrd': return self._cursor.sqlerrd elif attr == 'rowcount': return self._cursor.rowcount else: raise AttributeError, attr
|
def __getattr__(self, attr):
|
34c41b6b2a05b0c448580a7fb8f0602d4ac4c768 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8941/34c41b6b2a05b0c448580a7fb8f0602d4ac4c768/informixdb.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
588,
1747,
972,
12,
2890,
16,
1604,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
588,
1747,
972,
12,
2890,
16,
1604,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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,
-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,
-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,
-100
] |
set_default_precision = mpfr.mpfr_set_default_prec get_default_precision = mpfr.mpfr_get_default_prec
|
def mpfr_set_tiny(x, negative, rnd): # are we rounding towards zero? if rnd == RoundTowardZero: toward_zero = True elif rnd == RoundTiesToEven: toward_zero = True elif rnd == RoundTowardPositive: toward_zero = negative elif rnd == RoundTowardNegative: toward_zero = not negative else: raise ValueError("unknown rounding mode") if toward_zero: mpfr_set_zero(x, negative) inex = -1 else: mpfr_set_minfinite(x, negative) inex = 1 if negative: inex = -inex mpfr.mpfr_set_underflow() mpfr.mpfr_set_inexflag() return inex
|
f3e575d1324c5044179532cae520704a53c3ef1a /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/7048/f3e575d1324c5044179532cae520704a53c3ef1a/pympfr.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6749,
4840,
67,
542,
67,
88,
11652,
12,
92,
16,
6092,
16,
20391,
4672,
468,
854,
732,
13885,
23248,
3634,
35,
309,
20391,
422,
11370,
56,
543,
1060,
7170,
30,
358,
2913,
67,
7124,
273,
1053,
1327,
20391,
422,
11370,
56,
606,
774,
8321,
30,
358,
2913,
67,
7124,
273,
1053,
1327,
20391,
422,
11370,
56,
543,
1060,
14900,
30,
358,
2913,
67,
7124,
273,
6092,
1327,
20391,
422,
11370,
56,
543,
1060,
14959,
30,
358,
2913,
67,
7124,
273,
486,
6092,
469,
30,
1002,
2068,
2932,
8172,
13885,
1965,
7923,
225,
309,
358,
2913,
67,
7124,
30,
6749,
4840,
67,
542,
67,
7124,
12,
92,
16,
6092,
13,
316,
338,
273,
300,
21,
469,
30,
6749,
4840,
67,
542,
67,
1154,
9551,
12,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
6749,
4840,
67,
542,
67,
88,
11652,
12,
92,
16,
6092,
16,
20391,
4672,
468,
854,
732,
13885,
23248,
3634,
35,
309,
20391,
422,
11370,
56,
543,
1060,
7170,
30,
358,
2913,
67,
7124,
273,
1053,
1327,
20391,
422,
11370,
56,
606,
774,
8321,
30,
358,
2913,
67,
7124,
273,
1053,
1327,
20391,
422,
11370,
56,
543,
1060,
14900,
30,
358,
2913,
67,
7124,
273,
6092,
1327,
20391,
422,
11370,
56,
543,
1060,
14959,
30,
358,
2913,
67,
7124,
273,
486,
6092,
469,
30,
1002,
2068,
2932,
8172,
13885,
1965,
7923,
225,
309,
358,
2913,
67,
7124,
30,
6749,
4840,
67,
542,
67,
7124,
12,
92,
16,
6092,
13,
316,
338,
273,
300,
21,
469,
30,
6749,
4840,
2
] |
|
if re.match(r'(GOOD|FAIL|WARN) ', line):
|
if re.search(r'^(GOOD|FAIL|WARN) ', line):
|
def grope_status(self): dprint('=====================================================') dprint(self.dir) dprint('=====================================================') self.kernel = kernel(self.dir)
|
e1471b8de3c886e9566d685f635fed88acc76f42 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/12268/e1471b8de3c886e9566d685f635fed88acc76f42/parse.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
314,
303,
347,
67,
2327,
12,
2890,
4672,
302,
1188,
2668,
20775,
894,
2218,
13,
302,
1188,
12,
2890,
18,
1214,
13,
302,
1188,
2668,
20775,
894,
2218,
13,
365,
18,
8111,
273,
5536,
12,
2890,
18,
1214,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
314,
303,
347,
67,
2327,
12,
2890,
4672,
302,
1188,
2668,
20775,
894,
2218,
13,
302,
1188,
12,
2890,
18,
1214,
13,
302,
1188,
2668,
20775,
894,
2218,
13,
365,
18,
8111,
273,
5536,
12,
2890,
18,
1214,
13,
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,
-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,
-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.cells[column, row]: self.cells[column, row].disable_widget()
|
if self._cells[column, row]: self._cells[column, row].disable_widget()
|
def disable_widget(self, row=None, column=None): Container.disable_widget(self) if row != None and column != None: if self.cells[column, row]: self.cells[column, row].disable_widget() elif row != None: for mem in self.cells.row(row): if mem: mem.disable_widget() elif column != None: for mem in self.cells.column(column): if mem: mem.disable_widget() else: for mem in self.cells: if mem: mem.disable_widget()
|
662fb650fe03bef79dfed18e63f89b71da14e59a /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12354/662fb650fe03bef79dfed18e63f89b71da14e59a/layout.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4056,
67,
6587,
12,
2890,
16,
1027,
33,
7036,
16,
1057,
33,
7036,
4672,
4039,
18,
8394,
67,
6587,
12,
2890,
13,
309,
1027,
480,
599,
471,
1057,
480,
599,
30,
309,
365,
6315,
14741,
63,
2827,
16,
1027,
14542,
365,
6315,
14741,
63,
2827,
16,
1027,
8009,
8394,
67,
6587,
1435,
1327,
1027,
480,
599,
30,
364,
1663,
316,
365,
18,
14741,
18,
492,
12,
492,
4672,
309,
1663,
30,
1663,
18,
8394,
67,
6587,
1435,
1327,
1057,
480,
599,
30,
364,
1663,
316,
365,
18,
14741,
18,
2827,
12,
2827,
4672,
309,
1663,
30,
1663,
18,
8394,
67,
6587,
1435,
469,
30,
364,
1663,
316,
365,
18,
14741,
30,
309,
1663,
30,
1663,
18,
8394,
67,
6587,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4056,
67,
6587,
12,
2890,
16,
1027,
33,
7036,
16,
1057,
33,
7036,
4672,
4039,
18,
8394,
67,
6587,
12,
2890,
13,
309,
1027,
480,
599,
471,
1057,
480,
599,
30,
309,
365,
6315,
14741,
63,
2827,
16,
1027,
14542,
365,
6315,
14741,
63,
2827,
16,
1027,
8009,
8394,
67,
6587,
1435,
1327,
1027,
480,
599,
30,
364,
1663,
316,
365,
18,
14741,
18,
492,
12,
492,
4672,
309,
1663,
30,
1663,
18,
8394,
67,
6587,
1435,
1327,
1057,
480,
599,
30,
364,
1663,
316,
365,
18,
14741,
18,
2827,
12,
2827,
4672,
309,
1663,
30,
1663,
18,
8394,
67,
6587,
1435,
469,
30,
364,
1663,
316,
365,
18,
14741,
30,
309,
1663,
30,
1663,
18,
8394,
67,
2
] |
srpms = glob.glob(os.path.join(rpm_dir['SRPMS'], "*.rpm")) assert len(srpms) == 1, \ "unexpected number of SRPM files found: %s" % srpms dist_file = ('bdist_rpm', 'any', self._dist_path(srpms[0])) self.distribution.dist_files.append(dist_file) self.move_file(srpms[0], self.dist_dir)
|
srpm = os.path.join(rpm_dir['SRPMS'], source_rpm) assert(os.path.exists(srpm)) self.move_file(srpm, self.dist_dir)
|
def run (self):
|
8f440f11a687c00ffea22419b3e0d92d88c5cc83 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/3187/8f440f11a687c00ffea22419b3e0d92d88c5cc83/bdist_rpm.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
261,
2890,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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-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,
-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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Calculate the forward variable \alpha over an HMM or HMMGraph for a frame of observations. The forward variable is defined as: \alpha_t(j) = P(o_1, ..., o_j, q_t = j | \lambda) \alpha_0(0) = 1.0 \alpha_t(j) = \sum_i \alpha_{t-1}(i) a_{ij} b_j(o_t) Or, for non-emitting states j_N: \alpha_t(j_N) = \sum_i \alpha_{t}(i) a_{ij_N}
|
Calculate the forward variable \\alpha over an HMM or HMMGraph for a frame of observations. The forward variable is defined as:: \\alpha_t(j) = P(o_1, ..., o_j, q_t = j | \lambda) \\alpha_0(0) = 1.0 \\alpha_t(j) = \sum_i \\alpha_{t-1}(i) a_{ij} b_j(o_t) Or, for non-emitting states j_N:: \\alpha_t(j_N) = \sum_i \\alpha_{t}(i) a_{ij_N}
|
def forward_evaluate(hmm, gmms, alpha=None): """ Calculate the forward variable \alpha over an HMM or HMMGraph for a frame of observations. The forward variable is defined as: \alpha_t(j) = P(o_1, ..., o_j, q_t = j | \lambda) \alpha_0(0) = 1.0 \alpha_t(j) = \sum_i \alpha_{t-1}(i) a_{ij} b_j(o_t) Or, for non-emitting states j_N: \alpha_t(j_N) = \sum_i \alpha_{t}(i) a_{ij_N} Note that non-emitting states transition from the current frame, and thus we need to fully calculate \alpha_{t}(i) for all their predecessors before calculating their alpha values. In other words we need to make sure that transitions *into* non-emitting states are ordered *after* all others. @param hmm: HMM or HMMGraph to evaluate forward variable in @param gmms: Collection of GMM scores for current frame, indexed by senone ID. @param alpha: List of arrays of previous frames' alpha variables, or None to create a new one. @type alpha: [numpy.ndarray] @return: Updated list of alpha variables @rtype: [numpy.ndarray] """ if alpha == None: alpha = numpy.zeros(len(hmm)) alpha[0] = 1. # Assume unique initial state new_alpha = numpy.zeros(len(alpha)) for i,j in hmm.iter_statepairs(): if hmm[j] == -1: new_alpha[j] += new_alpha[i] * hmm[i,j] else: new_alpha[j] += alpha[i] * hmm[i,j] * gmms[hmm[j]] return new_alpha
|
6a1ae33f137d887c349b7127aa081f61350805f8 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/6303/6a1ae33f137d887c349b7127aa081f61350805f8/hmm.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5104,
67,
21024,
12,
76,
7020,
16,
14125,
959,
16,
4190,
33,
7036,
4672,
3536,
9029,
326,
5104,
2190,
1736,
5429,
1879,
392,
670,
8206,
578,
670,
8206,
4137,
364,
279,
2623,
434,
16477,
18,
225,
1021,
5104,
2190,
353,
2553,
487,
2866,
225,
1736,
5429,
67,
88,
12,
78,
13,
273,
453,
12,
83,
67,
21,
16,
1372,
16,
320,
67,
78,
16,
1043,
67,
88,
273,
525,
571,
521,
14661,
13,
1736,
5429,
67,
20,
12,
20,
13,
273,
404,
18,
20,
1736,
5429,
67,
88,
12,
78,
13,
273,
521,
1364,
67,
77,
1736,
5429,
14147,
88,
17,
21,
97,
12,
77,
13,
279,
14147,
8302,
97,
324,
67,
78,
12,
83,
67,
88,
13,
225,
2965,
16,
364,
1661,
17,
18356,
1787,
5493,
525,
67,
50,
2866,
225,
1736,
5429,
67,
88,
12,
78,
67,
50,
13,
273,
521,
1364,
67,
77,
1736,
5429,
14147,
88,
97,
12,
77,
13,
279,
14147,
8302,
67,
50,
97,
225,
3609,
716,
1661,
17,
18356,
1787,
5493,
6007,
628,
326,
783,
2623,
16,
471,
12493,
732,
1608,
358,
7418,
4604,
521,
5429,
14147,
88,
97,
12,
77,
13,
364,
777,
3675,
18522,
1383,
1865,
21046,
3675,
4190,
924,
18,
225,
657,
1308,
4511,
732,
1608,
358,
1221,
3071,
716,
13136,
380,
18591,
14,
1661,
17,
18356,
1787,
5493,
854,
5901,
380,
5205,
14,
777,
10654,
18,
225,
632,
891,
366,
7020,
30,
670,
8206,
578,
670,
8206,
4137,
358,
5956,
5104,
2190,
316,
632,
891,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5104,
67,
21024,
12,
76,
7020,
16,
14125,
959,
16,
4190,
33,
7036,
4672,
3536,
9029,
326,
5104,
2190,
1736,
5429,
1879,
392,
670,
8206,
578,
670,
8206,
4137,
364,
279,
2623,
434,
16477,
18,
225,
1021,
5104,
2190,
353,
2553,
487,
2866,
225,
1736,
5429,
67,
88,
12,
78,
13,
273,
453,
12,
83,
67,
21,
16,
1372,
16,
320,
67,
78,
16,
1043,
67,
88,
273,
525,
571,
521,
14661,
13,
1736,
5429,
67,
20,
12,
20,
13,
273,
404,
18,
20,
1736,
5429,
67,
88,
12,
78,
13,
273,
521,
1364,
67,
77,
1736,
5429,
14147,
88,
17,
21,
97,
12,
77,
13,
279,
14147,
8302,
97,
324,
67,
78,
12,
83,
67,
88,
13,
2
] |
class PDBExceptionTest(unittest.TestCase): def test_strict(self): """Check error: Parse a flawed PDB file in strict mode.""" warnings.resetwarnings() parser = PDBParser(PERMISSIVE=False) self.assertRaises(PDBConstructionException, parser.get_structure, "example", "PDB/a_structure.pdb") def test_bad_xyz(self): """Check error: Parse an entry with bad x,y,z value.""" data = "ATOM 9 N ASP A 152 21.554 34.953 27.691 1.00 19.26 N\n" parser = PDBParser(PERMISSIVE=False) s = parser.get_structure("example", StringIO(data)) data = "ATOM 9 N ASP A 152 21.ish 34.953 27.691 1.00 19.26 N\n" self.assertRaises(PDBConstructionException, parser.get_structure, "example", StringIO(data))
|
def get_coord(self): return self.coord
|
6a8a0a51549ed55d8cd37f026ab9f62260bef608 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7167/6a8a0a51549ed55d8cd37f026ab9f62260bef608/test_PDB.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
5732,
12,
2890,
4672,
327,
365,
18,
5732,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
5732,
12,
2890,
4672,
327,
365,
18,
5732,
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,
-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,
-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,
-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
] |
|
dc = self.getIndicatorDC() self.eraseIndicator(dc)
|
dc = self._getIndicatorDC() self._eraseIndicator(dc)
|
def OnAutoScrollTimer(self, evt): """Timer event handler to scroll the list in the requested direction. """ #print "_auto_scroll = %d, timer = %s" % (self._auto_scroll, self._auto_scroll_timer is not None) if self._auto_scroll == 0: # clean up timer resource self._auto_scroll_timer = None else: dc = self.getIndicatorDC() self.eraseIndicator(dc) if self._auto_scroll < 0: self.EnsureVisible(self.GetTopItem() + self._auto_scroll) self._auto_scroll_timer.Start() else: self.EnsureVisible(self.GetTopItem() + self.GetCountPerPage()) self._auto_scroll_timer.Start() evt.Skip()
|
6bc6bef6fcfe26aa923224e536d4db13def8c29a /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/11522/6bc6bef6fcfe26aa923224e536d4db13def8c29a/dropscroller.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2755,
4965,
6806,
6777,
12,
2890,
16,
6324,
4672,
3536,
6777,
871,
1838,
358,
5532,
326,
666,
316,
326,
3764,
4068,
18,
3536,
468,
1188,
4192,
6079,
67,
12033,
273,
738,
72,
16,
5441,
273,
738,
87,
6,
738,
261,
2890,
6315,
6079,
67,
12033,
16,
365,
6315,
6079,
67,
12033,
67,
12542,
353,
486,
599,
13,
309,
365,
6315,
6079,
67,
12033,
422,
374,
30,
468,
2721,
731,
5441,
1058,
365,
6315,
6079,
67,
12033,
67,
12542,
273,
599,
469,
30,
6744,
273,
365,
6315,
588,
13140,
5528,
1435,
365,
6315,
264,
448,
13140,
12,
7201,
13,
309,
365,
6315,
6079,
67,
12033,
411,
374,
30,
365,
18,
12512,
6207,
12,
2890,
18,
967,
3401,
1180,
1435,
397,
365,
6315,
6079,
67,
12033,
13,
365,
6315,
6079,
67,
12033,
67,
12542,
18,
1685,
1435,
469,
30,
365,
18,
12512,
6207,
12,
2890,
18,
967,
3401,
1180,
1435,
397,
365,
18,
967,
1380,
13005,
10756,
365,
6315,
6079,
67,
12033,
67,
12542,
18,
1685,
1435,
6324,
18,
6368,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
326,
666,
316,
326,
3764,
4068,
18,
3536,
468,
1188,
4192,
6079,
67,
12033,
273,
738,
72,
16,
5441,
273,
738,
87,
6,
738,
261,
2890,
6315,
6079,
67,
12033,
16,
365,
6315,
6079,
67,
12033,
67,
12542,
353,
486,
599,
13,
309,
365,
6315,
6079,
67,
12033,
422,
374,
30,
468,
2721,
731,
5441,
1058,
365,
6315,
6079,
67,
12033,
67,
12542,
273,
599,
469,
30,
6744,
273,
365,
6315,
588,
13140,
5528,
1435,
365,
6315,
264,
448,
13140,
12,
7201,
13,
309,
365,
6315,
6079,
67,
12033,
411,
374,
30,
365,
18,
12512,
6207,
12,
2890,
18,
967,
3401,
1180,
1435,
2
] |
Type = self._PCD_TYPE_STRING_[Type]
|
TypeString = self._PCD_TYPE_STRING_[Type]
|
def _GetModules(self): if self._Modules != None: return self._Modules
|
42c51680b029db7b944e793c039b6d2fc11f508b /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/914/42c51680b029db7b944e793c039b6d2fc11f508b/WorkspaceDatabase.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
967,
7782,
12,
2890,
4672,
309,
365,
6315,
7782,
480,
599,
30,
327,
365,
6315,
7782,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
967,
7782,
12,
2890,
4672,
309,
365,
6315,
7782,
480,
599,
30,
327,
365,
6315,
7782,
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,
-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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
def show_summary(self, f=None):
|
def show_summary(self, f=None, prefix=""):
|
def show_summary(self, f=None): if (f is None): f = sys.stdout print >> f, "max %.6g" % (self.max()) print >> f, "min %.6g" % (self.min()) print >> f, "mean %.6g" % (self.mean()) print >> f, "sigma %.6g" % (self.sigma())
|
ed78df3c3e87d1956280dc63a4d5c3c611ebdd97 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/696/ed78df3c3e87d1956280dc63a4d5c3c611ebdd97/__init__.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2405,
67,
7687,
12,
2890,
16,
284,
33,
7036,
16,
1633,
1546,
6,
4672,
309,
261,
74,
353,
599,
4672,
284,
273,
2589,
18,
10283,
1172,
1671,
284,
16,
315,
1896,
12639,
26,
75,
6,
738,
261,
2890,
18,
1896,
10756,
1172,
1671,
284,
16,
315,
1154,
12639,
26,
75,
6,
738,
261,
2890,
18,
1154,
10756,
1172,
1671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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2405,
67,
7687,
12,
2890,
16,
284,
33,
7036,
16,
1633,
1546,
6,
4672,
309,
261,
74,
353,
599,
4672,
284,
273,
2589,
18,
10283,
1172,
1671,
284,
16,
315,
1896,
12639,
26,
75,
6,
738,
261,
2890,
18,
1896,
10756,
1172,
1671,
284,
16,
315,
1154,
12639,
26,
75,
6,
738,
261,
2890,
18,
1154,
10756,
1172,
1671,
284,
16,
315,
7079,
12639,
26,
75,
6,
738,
261,
2890,
18,
7079,
10756,
1172,
1671,
284,
16,
315,
13201,
12639,
26,
75,
6,
738,
261,
2890,
18,
13201,
10756,
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,
-100,
-100
] |
return self.update(self, **kwargs)
|
return self.update(**kwargs)
|
def edit(self, *args, **kwargs): """Reimplementing edit() to have a compatibility method for the old cmf edit() method """ if len(args) != 0: # use cmf edit method return self.cmf_edit(*args, **kwargs) fieldNames = [field.getName() for field in self.Schema().fields()] for name in kwargs.keys(): if name not in fieldNames: # we are trying to return self.cmf_edit(**kwargs) # standard AT edit - redirect to update() return self.update(self, **kwargs)
|
aa04865ecfbdd93a5cdb79b4572fea9bee380337 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11956/aa04865ecfbdd93a5cdb79b4572fea9bee380337/ATContentType.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3874,
12,
2890,
16,
380,
1968,
16,
2826,
4333,
4672,
3536,
426,
10442,
310,
3874,
1435,
358,
1240,
279,
8926,
707,
364,
326,
1592,
5003,
74,
3874,
1435,
707,
3536,
309,
562,
12,
1968,
13,
480,
374,
30,
468,
999,
5003,
74,
3874,
707,
327,
365,
18,
7670,
74,
67,
4619,
30857,
1968,
16,
2826,
4333,
13,
225,
16902,
273,
306,
1518,
18,
17994,
1435,
364,
652,
316,
365,
18,
3078,
7675,
2821,
1435,
65,
364,
508,
316,
1205,
18,
2452,
13332,
309,
508,
486,
316,
16902,
30,
468,
732,
854,
8374,
358,
327,
365,
18,
7670,
74,
67,
4619,
12,
636,
4333,
13,
468,
4529,
14464,
3874,
300,
3136,
358,
1089,
1435,
327,
365,
18,
2725,
12,
2890,
16,
2826,
4333,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
380,
1968,
16,
2826,
4333,
4672,
3536,
426,
10442,
310,
3874,
1435,
358,
1240,
279,
8926,
707,
364,
326,
1592,
5003,
74,
3874,
1435,
707,
3536,
309,
562,
12,
1968,
13,
480,
374,
30,
468,
999,
5003,
74,
3874,
707,
327,
365,
18,
7670,
74,
67,
4619,
30857,
1968,
16,
2826,
4333,
13,
225,
16902,
273,
306,
1518,
18,
17994,
1435,
364,
652,
316,
365,
18,
3078,
7675,
2821,
1435,
65,
364,
508,
316,
1205,
18,
2452,
13332,
309,
508,
486,
316,
16902,
30,
468,
732,
854,
8374,
358,
327,
365,
18,
7670,
74,
67,
4619,
12,
636,
4333,
13,
468,
4529,
14464,
3874,
300,
3136,
358,
1089,
1435,
327,
365,
18,
2725,
12,
2
] |
backpack.additem( coins )
|
if not tobackpack(coins, player): item.update()
|
def response( char, args, target ): if not char: return # you can only try to npc if not target.char or not target.char.npc: return npc = target.char # check if this npc is a 'human' ? # You are too far away... if not char.canreach( npc.pos, BEGGING_RANGE ): # male npc if not npc.gender: char.socket.clilocmessage( 500401, "", 0x3b2, 3 ) # female npc else: char.socket.clilocmessage( 500402, "", 0x3b2, 3 ) return # town cryer : I feel sorry for thee... Thou dost not look trustworthy... no gold for thee today! : 500405 + 500406 gold = npc.countresource( GOLD_COIN ) if not gold or gold < 10: # Thou dost not look trustworthy... no gold for thee today! char.socket.clilocmessage( 500406, "", 0x3b2, 3, npc ) return success = char.checkskill( BEGGING, 0, 1200 ) cur_time = servertime() char.socket.settag( 'skill_delay', cur_time + BEGGING_DELAY ) # npc who has more than 100gp will give you 10gp if gold < 100: gold_beg = gold / 10 else: gold_beg = 10 if gold_beg == 1: gold_coins = GOLD_COIN elif gold_beg < 6: gold_coins = GOLD_COIN1 else: gold_coins = GOLD_COIN2 # success msg : I feel sorry for thee... here have a gold coin : 500405 + 1010012 # fail msg : They seem unwilling to give you any money : 500404 if success: char.socket.clilocmessage( 500405, "", 0x3b2, 3, npc ) char.socket.clilocmessage( 1010012, "", 0x3b2, 3, npc ) npc.useresource( gold_beg, 0x0eed ) backpack = char.getbackpack() if not backpack: return coins = wolfpack.additem( gold_coins ) if not coins: return coins.amount = gold_beg backpack.additem( coins ) coins.update() else: char.socket.clilocmessage( 500404, "", 0x3b2, 3, npc )
|
ba60fceb6886ed4d1742af0ab67848d17698746d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2534/ba60fceb6886ed4d1742af0ab67848d17698746d/begging.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
766,
12,
1149,
16,
833,
16,
1018,
262,
30,
309,
486,
1149,
30,
327,
225,
468,
1846,
848,
1338,
775,
358,
1130,
71,
309,
486,
1018,
18,
3001,
578,
486,
1018,
18,
3001,
18,
82,
2436,
30,
327,
225,
1130,
71,
273,
1018,
18,
3001,
468,
866,
309,
333,
1130,
71,
353,
279,
296,
24270,
11,
692,
225,
468,
4554,
854,
4885,
10247,
10804,
2777,
309,
486,
1149,
18,
4169,
12974,
12,
1130,
71,
18,
917,
16,
9722,
43,
19066,
67,
15928,
262,
30,
468,
312,
5349,
1130,
71,
309,
486,
1130,
71,
18,
27638,
30,
1149,
18,
7814,
18,
830,
330,
504,
2150,
12,
6604,
27002,
16,
23453,
374,
92,
23,
70,
22,
16,
890,
262,
468,
284,
351,
5349,
1130,
71,
469,
30,
1149,
18,
7814,
18,
830,
330,
504,
2150,
12,
6604,
24,
3103,
16,
23453,
374,
92,
23,
70,
22,
16,
890,
262,
327,
225,
468,
358,
91,
82,
276,
1176,
264,
294,
467,
1656,
292,
272,
21637,
364,
326,
73,
2777,
935,
1395,
302,
669,
486,
2324,
10267,
91,
7825,
93,
2777,
1158,
20465,
364,
326,
73,
10074,
5,
294,
6604,
24,
6260,
397,
6604,
7132,
26,
20465,
273,
1130,
71,
18,
1883,
3146,
12,
611,
11846,
67,
3865,
706,
262,
309,
486,
20465,
578,
20465,
411,
1728,
30,
468,
935,
1395,
302,
669,
486,
2324,
10267,
91,
7825,
93,
2777,
1158,
20465,
364,
326,
73,
10074,
5,
1149,
18,
7814,
18,
830,
330,
504,
2150,
12,
6604,
7132,
26,
16,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
766,
12,
1149,
16,
833,
16,
1018,
262,
30,
309,
486,
1149,
30,
327,
225,
468,
1846,
848,
1338,
775,
358,
1130,
71,
309,
486,
1018,
18,
3001,
578,
486,
1018,
18,
3001,
18,
82,
2436,
30,
327,
225,
1130,
71,
273,
1018,
18,
3001,
468,
866,
309,
333,
1130,
71,
353,
279,
296,
24270,
11,
692,
225,
468,
4554,
854,
4885,
10247,
10804,
2777,
309,
486,
1149,
18,
4169,
12974,
12,
1130,
71,
18,
917,
16,
9722,
43,
19066,
67,
15928,
262,
30,
468,
312,
5349,
1130,
71,
309,
486,
1130,
71,
18,
27638,
30,
1149,
18,
7814,
18,
830,
330,
504,
2150,
12,
6604,
27002,
16,
23453,
374,
92,
23,
70,
22,
16,
890,
262,
468,
2
] |
def ssl(self): """Return SSLObject instance used to communicate with the IMAP4 server. ssl = ssl.wrap_socket(<instance>.socket) """ return self.sslobj
|
def socket(self): """Return socket instance used to connect to IMAP4 server.
|
a7712090f78d19d0711553d58e403c9fa44474a8 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/8546/a7712090f78d19d0711553d58e403c9fa44474a8/imaplib.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2987,
12,
2890,
4672,
3536,
990,
2987,
791,
1399,
358,
3077,
358,
6246,
2203,
24,
1438,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2987,
12,
2890,
4672,
3536,
990,
2987,
791,
1399,
358,
3077,
358,
6246,
2203,
24,
1438,
18,
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,
-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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
return start,end
|
if start==length and end==-1: return -1,-1 else: return start,end
|
def get_start_end(sequence, skiplist=['-','?']): """Return position of first and last character which is not in skiplist (defaults to ['-','?']).""" length=len(sequence) if length==0: return None,None end=length-1 while end>=0 and (sequence[end] in skiplist): end-=1 start=0 while start<length and (sequence[start] in skiplist): start+=1 return start,end
|
2a3ed26b08902a189104faba2eaf847ef9705b90 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7167/2a3ed26b08902a189104faba2eaf847ef9705b90/Nexus.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
67,
1937,
67,
409,
12,
6178,
16,
4343,
77,
17842,
33,
3292,
17,
17023,
35,
3546,
4672,
3536,
990,
1754,
434,
1122,
471,
1142,
3351,
1492,
353,
486,
316,
4343,
77,
17842,
261,
7606,
358,
10228,
17,
17023,
35,
19486,
12123,
225,
769,
33,
1897,
12,
6178,
13,
309,
769,
631,
20,
30,
327,
599,
16,
7036,
679,
33,
2469,
17,
21,
1323,
679,
34,
33,
20,
471,
261,
6178,
63,
409,
65,
316,
4343,
77,
17842,
4672,
679,
17,
33,
21,
787,
33,
20,
1323,
787,
32,
2469,
471,
261,
6178,
63,
1937,
65,
316,
4343,
77,
17842,
4672,
787,
15,
33,
21,
309,
787,
631,
2469,
471,
679,
631,
17,
21,
30,
327,
300,
21,
16,
17,
21,
469,
30,
327,
787,
16,
409,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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17,
17023,
35,
3546,
4672,
3536,
990,
1754,
434,
1122,
471,
1142,
3351,
1492,
353,
486,
316,
4343,
77,
17842,
261,
7606,
358,
10228,
17,
17023,
35,
19486,
12123,
225,
769,
33,
1897,
12,
6178,
13,
309,
769,
631,
20,
30,
327,
599,
16,
7036,
679,
33,
2469,
17,
21,
1323,
679,
34,
33,
20,
471,
261,
6178,
63,
409,
65,
316,
4343,
77,
17842,
4672,
679,
17,
33,
21,
787,
33,
20,
1323,
787,
32,
2469,
471,
261,
6178,
63,
1937,
65,
316,
4343,
77,
17842,
4672,
787,
15,
33,
21,
309,
787,
631,
2469,
471,
679,
631,
17,
21,
30,
327,
300,
21,
2
] |
self.notify_queue.put((key, bucket[key]))
|
ob = bucket.get(key, _marker) if ob is _marker: DEBUG and TLOG( 'OOBTree lied about %s keys: %s doesnt exist' % (bucket, key) ) continue self.notify_queue.put((key, ob))
|
def _getCurrentBucket(self): """ Do housekeeping if necessary, then return the 'current' bucket. """ self.lock.acquire() try: # do in-place upgrade of old "ring-based" instances if # we've just upgraded from Zope 2.5.X if self._data is None: self._upgrade()
|
4457f487398c0b76c1da51c10b73c64e0664e437 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/4457f487398c0b76c1da51c10b73c64e0664e437/Transience.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
588,
3935,
4103,
12,
2890,
4672,
3536,
2256,
23867,
10102,
310,
309,
4573,
16,
1508,
327,
326,
296,
2972,
11,
2783,
18,
3536,
365,
18,
739,
18,
1077,
1039,
1435,
775,
30,
468,
741,
316,
17,
964,
8400,
434,
1592,
315,
8022,
17,
12261,
6,
3884,
309,
468,
732,
8081,
2537,
31049,
628,
2285,
1306,
576,
18,
25,
18,
60,
309,
365,
6315,
892,
353,
599,
30,
365,
6315,
15097,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
588,
3935,
4103,
12,
2890,
4672,
3536,
2256,
23867,
10102,
310,
309,
4573,
16,
1508,
327,
326,
296,
2972,
11,
2783,
18,
3536,
365,
18,
739,
18,
1077,
1039,
1435,
775,
30,
468,
741,
316,
17,
964,
8400,
434,
1592,
315,
8022,
17,
12261,
6,
3884,
309,
468,
732,
8081,
2537,
31049,
628,
2285,
1306,
576,
18,
25,
18,
60,
309,
365,
6315,
892,
353,
599,
30,
365,
6315,
15097,
1435,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return (indent*' '+'<dt>'+children[0]+'</dt>\n'+ indent*' '+'<dd>\n'+''.join(children[1:])+ indent*' '+'</dd>\n') elif tree.tagName in ('epytext', 'section', 'tag', 'arg'):
|
return (indent*' '+children[0]+':\n'+ ''.join(children[1:])) elif tree.tagName in ('fieldlist', 'tag', 'arg', 'epytext', 'section', 'olist', 'ulist'):
|
def to_html(tree, indent=0, seclevel=0, **kwargs): """ Given the DOM tree for an epytext string (as returned by C{parse()}), return a string encoding it in HTML. This string does not include C{<HTML>} and C{</HTML>} tags. todo: doesn't honor ordered list bullets. """ if isinstance(tree, Text): return tree.toxml() if tree.tagName == 'epytext': indent -= 2 if tree.tagName == 'section': seclevel += 1 children = [to_html(c, indent+2, seclevel, **kwargs) for c in tree.childNodes] # Get rid of unnecessary <P>...</P> tags; they introduce extra # space on most browsers that we don't want. if kwargs.get('para', 0) == 0: for i in range(len(children)-1): if (not isinstance(tree.childNodes[i], Text) and tree.childNodes[i].tagName == 'para' and (isinstance(tree.childNodes[i+1], Text) or tree.childNodes[i+1].tagName != 'para')): children[i] = children[i][5+indent:-5] if (tree.hasChildNodes() and not isinstance(tree.childNodes[-1], Text) and tree.childNodes[-1].tagName == 'para'): children[-1] = children[-1][5+indent:-5] childstr = ''.join(children) if tree.tagName == 'para': return wordwrap('<p>' + childstr + '</p>', indent) elif tree.tagName in ('code', 'uri'): return '<code>' + childstr + '</code>' elif tree.tagName == 'link': return '<code>' + childstr + '</code>' #return ('<code>'+childstr+'='+`epydoc.uid.getUID(childstr)`+'</code>') elif tree.tagName in ('italic', 'math'): return '<i>' + childstr + '</i>' elif tree.tagName == 'index': return ('<a name="'+index_to_anchor(childstr)+'"></a>'+ '<i class="indexterm">' + childstr + '</i>') elif tree.tagName == 'bold': return '<b>' + childstr + '</b>' elif tree.tagName == 'ulist': return indent*' '+'<ul>\n' + childstr + indent*' '+'</ul>\n' elif tree.tagName == 'olist': return indent*' '+'<ol>\n' + childstr + indent*' '+'</ol>\n' elif tree.tagName == 'li': return indent*' '+'<li>\n' + childstr + indent*' '+'</li>\n' elif tree.tagName == 'heading': return ((indent-2)*' '+'<h' + `seclevel` + '>' + childstr + '</h' + `seclevel` + '>\n') elif tree.tagName in ('literalblock', 'doctestblock'): # We could colorize doctest blocks someday. return '<pre>\n' + childstr + '\n</pre>\n' elif tree.tagName == 'fieldlist': return indent*' '+'<dl>\n' + childstr + indent*' '+'</dl>\n' elif tree.tagName == 'field': # Did I get this right? if (len(tree.childNodes) > 1 and tree.childNodes[1].tagName == 'arg'): return (indent*' '+'<dt>'+children[0]+'('+children[1]+')</dt>\n'+ indent*' '+'<dd>\n'+''.join(children[2:])+ indent*' '+'</dd>\n') else: return (indent*' '+'<dt>'+children[0]+'</dt>\n'+ indent*' '+'<dd>\n'+''.join(children[1:])+ indent*' '+'</dd>\n') elif tree.tagName in ('epytext', 'section', 'tag', 'arg'): return childstr else: raise NotImplementedError, tree.tagName
|
26f654ea66befeec31f7f9ebcebabc7d09f33070 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11420/26f654ea66befeec31f7f9ebcebabc7d09f33070/epytext.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
358,
67,
2620,
12,
3413,
16,
3504,
33,
20,
16,
1428,
2815,
33,
20,
16,
2826,
4333,
4672,
3536,
16803,
326,
4703,
2151,
364,
392,
425,
2074,
955,
533,
261,
345,
2106,
635,
385,
95,
2670,
17767,
3631,
327,
279,
533,
2688,
518,
316,
3982,
18,
225,
1220,
533,
1552,
486,
2341,
385,
95,
32,
4870,
26114,
471,
385,
95,
1757,
4870,
26114,
2342,
18,
225,
10621,
30,
3302,
1404,
24338,
280,
5901,
666,
324,
420,
2413,
18,
3536,
309,
1549,
12,
3413,
16,
3867,
4672,
327,
2151,
18,
869,
2902,
1435,
225,
309,
2151,
18,
2692,
461,
422,
296,
881,
93,
955,
4278,
3504,
3947,
576,
309,
2151,
18,
2692,
461,
422,
296,
3464,
4278,
1428,
2815,
1011,
404,
2325,
273,
306,
869,
67,
2620,
12,
71,
16,
3504,
15,
22,
16,
1428,
2815,
16,
2826,
4333,
13,
364,
276,
316,
2151,
18,
3624,
3205,
65,
225,
468,
968,
10911,
434,
19908,
411,
52,
34,
2777,
1757,
52,
34,
2342,
31,
2898,
16658,
311,
2870,
468,
3476,
603,
4486,
14993,
716,
732,
2727,
1404,
2545,
18,
309,
1205,
18,
588,
2668,
25072,
2187,
374,
13,
422,
374,
30,
364,
277,
316,
1048,
12,
1897,
12,
5906,
24950,
21,
4672,
309,
261,
902,
1549,
12,
3413,
18,
3624,
3205,
63,
77,
6487,
3867,
13,
471,
2151,
18,
3624,
3205,
63,
77,
8009,
2692,
461,
422,
296,
25072,
11,
471,
261,
291,
1336,
12,
3413,
18,
3624,
3205,
63,
77,
15,
21,
6487,
3867,
13,
578,
2151,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
358,
67,
2620,
12,
3413,
16,
3504,
33,
20,
16,
1428,
2815,
33,
20,
16,
2826,
4333,
4672,
3536,
16803,
326,
4703,
2151,
364,
392,
425,
2074,
955,
533,
261,
345,
2106,
635,
385,
95,
2670,
17767,
3631,
327,
279,
533,
2688,
518,
316,
3982,
18,
225,
1220,
533,
1552,
486,
2341,
385,
95,
32,
4870,
26114,
471,
385,
95,
1757,
4870,
26114,
2342,
18,
225,
10621,
30,
3302,
1404,
24338,
280,
5901,
666,
324,
420,
2413,
18,
3536,
309,
1549,
12,
3413,
16,
3867,
4672,
327,
2151,
18,
869,
2902,
1435,
225,
309,
2151,
18,
2692,
461,
422,
296,
881,
93,
955,
4278,
3504,
3947,
576,
309,
2151,
18,
2692,
461,
422,
296,
3464,
4278,
1428,
2815,
2
] |
filePrefixesSkipList=filePrefixesSkipList, fileSuffixesSkipList=fileSuffixesSkipList, fileNamesSkipList=fileNamesSkipList, folderPrefixesSkipList=folderPrefixesSkipList, folderSuffixesSkipList=folderSuffixesSkipList, folderNamesSkipList=folderNamesSkipList)
|
filePrefixesSkipList=filePrefixesSkip, fileSuffixesSkipList=fileSuffixesSkip, fileNamesSkipList=fileNamesSkip, folderPrefixesSkipList=folderPrefixesSkip, folderSuffixesSkipList=folderSuffixesSkip, folderNamesSkipList=folderNamesSkip)
|
def getFilteredContents(self,rel_dir=None): """ list filtered content of local filesystem """
|
986267974a25fceea33e15da2a6f7317243ba92b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/1807/986267974a25fceea33e15da2a6f7317243ba92b/PloneLocalFolderNG.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
12267,
329,
6323,
12,
2890,
16,
2878,
67,
1214,
33,
7036,
4672,
3536,
666,
5105,
913,
434,
1191,
6496,
3536,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
12267,
329,
6323,
12,
2890,
16,
2878,
67,
1214,
33,
7036,
4672,
3536,
666,
5105,
913,
434,
1191,
6496,
3536,
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,
-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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
var elapsed_time = update_cell_error_count*update_error_delta/1000;
|
var elapsed_time = update_error_count*update_error_delta/1000;
|
def javascript(): s = r"""
|
4970a27155014a1e694f3e7d7f9efab628afe0c4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9890/4970a27155014a1e694f3e7d7f9efab628afe0c4/js.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
11341,
13332,
272,
273,
436,
8395,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
11341,
13332,
272,
273,
436,
8395,
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,
-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,
-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,
-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,
-100,
-100,
-100
] |
if TEST_PYREX_OPENGL and ColorSorter.sorting:
|
if use_c_renderer and ColorSorter.sorting:
|
def schedule_sphere(color, pos, radius, detailLevel): """\ Schedule a sphere for rendering whenever ColorSorter thinks is appropriate. """ if TEST_PYREX_OPENGL and ColorSorter.sorting: if len(color) == 3: lcolor = (color[0], color[1], color[2], 1.0) else: lcolor = color ColorSorter._cur_shapelist.add_sphere(lcolor, pos, radius, ColorSorter._gl_name_stack[-1]) # 20060208 grantham - I happen to know that one detailLevel # is chosen for all spheres, I just record it over and # over here, and use the last one for the render if ColorSorter.sphereLevel > -1 and ColorSorter.sphereLevel != detailLevel: raise ValueError, "unexpected different sphere LOD levels within same frame" ColorSorter.sphereLevel = detailLevel else: # Older sorted material rendering ColorSorter.schedule(color, drawsphere_worker, (pos, radius, detailLevel))
|
b0e7dbd9446dc9b2789efbf23eb08f2c92b6f702 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/11221/b0e7dbd9446dc9b2789efbf23eb08f2c92b6f702/drawer.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4788,
67,
87,
9346,
12,
3266,
16,
949,
16,
5725,
16,
7664,
2355,
4672,
3536,
64,
10674,
279,
20041,
364,
9782,
17334,
5563,
24952,
15507,
87,
353,
5505,
18,
3536,
309,
999,
67,
71,
67,
14374,
471,
5563,
24952,
18,
28751,
30,
309,
562,
12,
3266,
13,
422,
890,
30,
328,
3266,
273,
261,
3266,
63,
20,
6487,
2036,
63,
21,
6487,
2036,
63,
22,
6487,
404,
18,
20,
13,
469,
30,
328,
3266,
273,
2036,
5563,
24952,
6315,
1397,
67,
674,
438,
5449,
18,
1289,
67,
87,
9346,
12,
80,
3266,
16,
949,
16,
5725,
16,
5563,
24952,
6315,
7043,
67,
529,
67,
3772,
18919,
21,
5717,
468,
27212,
3103,
6840,
15889,
451,
301,
300,
467,
5865,
358,
5055,
716,
1245,
7664,
2355,
468,
353,
10447,
364,
777,
272,
844,
11737,
16,
467,
2537,
1409,
518,
1879,
471,
468,
1879,
2674,
16,
471,
999,
326,
1142,
1245,
364,
326,
1743,
309,
5563,
24952,
18,
87,
9346,
2355,
405,
300,
21,
471,
5563,
24952,
18,
87,
9346,
2355,
480,
7664,
2355,
30,
1002,
2068,
16,
315,
21248,
3775,
20041,
511,
1212,
7575,
3470,
1967,
2623,
6,
5563,
24952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16,
949,
16,
5725,
16,
7664,
2355,
4672,
3536,
64,
10674,
279,
20041,
364,
9782,
17334,
5563,
24952,
15507,
87,
353,
5505,
18,
3536,
309,
999,
67,
71,
67,
14374,
471,
5563,
24952,
18,
28751,
30,
309,
562,
12,
3266,
13,
422,
890,
30,
328,
3266,
273,
261,
3266,
63,
20,
6487,
2036,
63,
21,
6487,
2036,
63,
22,
6487,
404,
18,
20,
13,
469,
30,
328,
3266,
273,
2036,
5563,
24952,
6315,
1397,
67,
674,
438,
5449,
18,
1289,
67,
87,
9346,
12,
80,
3266,
16,
949,
16,
5725,
16,
5563,
24952,
6315,
7043,
67,
529,
67,
3772,
18919,
21,
5717,
468,
27212,
3103,
6840,
15889,
451,
301,
300,
467,
5865,
2
] |
<h2 class="accordion_toggle">≫ %s</h2> <div class="accordion_content">%s</div> <h2 class="accordion_toggle">≫ %s</h2> <div class="accordion_content">%s</div>
|
%s
|
def permissive(perm, system):
|
b115301aa7a3230e2ebf55808ae6e08d4c08f2cc /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7650/b115301aa7a3230e2ebf55808ae6e08d4c08f2cc/groups.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
293,
1840,
688,
12,
12160,
16,
2619,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
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,
293,
1840,
688,
12,
12160,
16,
2619,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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,
-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,
-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,
-100,
-100
] |
src_trans = self.pool.get(self._name).read(cr,user,ids,[f]) self.pool.get('ir.translation')._set_ids(cr, user, self._name+','+f, 'model', context['lang'], ids, vals[f], src_trans[0][f])
|
src_trans = self.pool.get(self._name).read(cr,user,ids,[f])[0][f] if not src_trans: src_trans = vals[f] self.write(cr, user, ids, {f:vals[f]}) self.pool.get('ir.translation')._set_ids(cr, user, self._name+','+f, 'model', context['lang'], ids, vals[f], src_trans)
|
def write(self, cr, user, ids, vals, context=None): readonly = None for field in vals.copy(): fobj = None if field in self._columns: fobj = self._columns[field] else: fobj = self._inherit_fields[field][2] if not fobj: continue groups = fobj.write
|
b4867291bbdf2e2b59629889706f2f361b26b4f1 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7397/b4867291bbdf2e2b59629889706f2f361b26b4f1/orm.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1045,
12,
2890,
16,
4422,
16,
729,
16,
3258,
16,
5773,
16,
819,
33,
7036,
4672,
17102,
273,
599,
364,
652,
316,
5773,
18,
3530,
13332,
24705,
273,
599,
309,
652,
316,
365,
6315,
5112,
30,
24705,
273,
365,
6315,
5112,
63,
1518,
65,
469,
30,
24705,
273,
365,
6315,
6018,
67,
2821,
63,
1518,
6362,
22,
65,
309,
486,
24705,
30,
1324,
3252,
273,
24705,
18,
2626,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1045,
12,
2890,
16,
4422,
16,
729,
16,
3258,
16,
5773,
16,
819,
33,
7036,
4672,
17102,
273,
599,
364,
652,
316,
5773,
18,
3530,
13332,
24705,
273,
599,
309,
652,
316,
365,
6315,
5112,
30,
24705,
273,
365,
6315,
5112,
63,
1518,
65,
469,
30,
24705,
273,
365,
6315,
6018,
67,
2821,
63,
1518,
6362,
22,
65,
309,
486,
24705,
30,
1324,
3252,
273,
24705,
18,
2626,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
cr.execute("ALTER TABLE %s ALTER COLUMN %s SET NOT NULL" % (self._table, k))
|
cr.execute("ALTER TABLE \"%s\" ALTER COLUMN \"%s\" SET NOT NULL" % (self._table, k))
|
def _auto_init(self, cr): logger = netsvc.Logger() create = False self._field_create(cr) if not hasattr(self, "_auto") or self._auto: cr.execute("SELECT relname FROM pg_class WHERE relkind in ('r','v') AND relname='%s'" % self._table) if not cr.rowcount: cr.execute("CREATE TABLE %s(id SERIAL NOT NULL, perm_id INTEGER, PRIMARY KEY(id)) WITH OIDS" % self._table) create = True cr.commit() if self._log_access: logs = { 'create_uid': 'INTEGER REFERENCES res_users ON DELETE SET NULL', 'create_date': 'TIMESTAMP', 'write_uid': 'INTEGER REFERENCES res_users ON DELETE SET NULL', 'write_date': 'TIMESTAMP' } for k in logs: cr.execute( """ SELECT c.relname FROM pg_class c, pg_attribute a WHERE c.relname='%s' AND a.attname='%s' AND c.oid=a.attrelid """ % (self._table, k)) if not cr.rowcount: cr.execute("ALTER TABLE %s ADD COLUMN %s %s" % (self._table, k, logs[k])) cr.commit()
|
21e2436edcfd48b26e17230380299a3196aac8b0 /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/7397/21e2436edcfd48b26e17230380299a3196aac8b0/orm.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
389,
6079,
67,
2738,
12,
2890,
16,
4422,
4672,
1194,
273,
21954,
4227,
18,
3328,
1435,
752,
273,
1083,
365,
6315,
1518,
67,
2640,
12,
3353,
13,
309,
486,
3859,
12,
2890,
16,
4192,
6079,
7923,
578,
365,
6315,
6079,
30,
4422,
18,
8837,
2932,
4803,
1279,
529,
4571,
7184,
67,
1106,
4852,
1279,
9224,
316,
7707,
86,
17023,
90,
6134,
4116,
1279,
529,
28713,
87,
4970,
738,
365,
6315,
2121,
13,
309,
486,
4422,
18,
492,
1883,
30,
4422,
18,
8837,
2932,
9344,
7567,
738,
87,
12,
350,
7758,
6365,
4269,
3206,
16,
4641,
67,
350,
16481,
16,
20058,
5311,
12,
350,
3719,
13601,
18026,
55,
6,
738,
365,
6315,
2121,
13,
752,
273,
1053,
4422,
18,
7371,
1435,
309,
365,
6315,
1330,
67,
3860,
30,
5963,
273,
288,
296,
2640,
67,
1911,
4278,
296,
14217,
22898,
55,
400,
67,
5577,
6229,
8568,
7855,
3206,
2187,
296,
2640,
67,
712,
4278,
296,
17201,
2187,
296,
2626,
67,
1911,
4278,
296,
14217,
22898,
55,
400,
67,
5577,
6229,
8568,
7855,
3206,
2187,
296,
2626,
67,
712,
4278,
296,
17201,
11,
289,
364,
417,
316,
5963,
30,
4422,
18,
8837,
12,
3536,
9111,
276,
18,
2878,
529,
4571,
7184,
67,
1106,
276,
16,
7184,
67,
4589,
279,
4852,
276,
18,
2878,
529,
28713,
87,
11,
4116,
279,
18,
4558,
529,
28713,
87,
11,
4116,
276,
18,
839,
33,
69,
18,
4558,
2878,
350,
3536,
738,
261,
2890,
6315,
2121,
16,
417,
3719,
309,
486,
4422,
18,
492,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6079,
67,
2738,
12,
2890,
16,
4422,
4672,
1194,
273,
21954,
4227,
18,
3328,
1435,
752,
273,
1083,
365,
6315,
1518,
67,
2640,
12,
3353,
13,
309,
486,
3859,
12,
2890,
16,
4192,
6079,
7923,
578,
365,
6315,
6079,
30,
4422,
18,
8837,
2932,
4803,
1279,
529,
4571,
7184,
67,
1106,
4852,
1279,
9224,
316,
7707,
86,
17023,
90,
6134,
4116,
1279,
529,
28713,
87,
4970,
738,
365,
6315,
2121,
13,
309,
486,
4422,
18,
492,
1883,
30,
4422,
18,
8837,
2932,
9344,
7567,
738,
87,
12,
350,
7758,
6365,
4269,
3206,
16,
4641,
67,
350,
16481,
16,
20058,
5311,
12,
350,
3719,
13601,
18026,
55,
6,
738,
365,
6315,
2121,
13,
752,
273,
1053,
4422,
18,
2
] |
def test_it(self): def tr(frame, event, arg):
|
def trace(self, frame, event, arg): """A trace function that raises an exception in response to a specific trace event.""" if event == self.raiseOnEvent:
|
def test_it(self): def tr(frame, event, arg): raise ValueError # just something that isn't RuntimeError def f(): return 1 try: for i in xrange(sys.getrecursionlimit() + 1): sys.settrace(tr) try: f() except ValueError: pass else: self.fail("exception not thrown!") except RuntimeError: self.fail("recursion counter not reset")
|
416309cb7a3f1bd0bd7f6fa6ac03d6f554342776 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/416309cb7a3f1bd0bd7f6fa6ac03d6f554342776/test_trace.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2606,
12,
2890,
16,
2623,
16,
871,
16,
1501,
4672,
3536,
37,
2606,
445,
716,
14183,
392,
1520,
316,
766,
358,
279,
2923,
2606,
871,
12123,
309,
871,
422,
365,
18,
11628,
1398,
1133,
30,
1002,
2068,
468,
2537,
5943,
716,
5177,
1404,
7265,
1652,
284,
13332,
327,
404,
775,
30,
364,
277,
316,
12314,
12,
9499,
18,
588,
31347,
3595,
1435,
397,
404,
4672,
2589,
18,
542,
5129,
12,
313,
13,
775,
30,
284,
1435,
1335,
2068,
30,
1342,
469,
30,
365,
18,
6870,
2932,
4064,
486,
6718,
4442,
13,
1335,
7265,
30,
365,
18,
6870,
2932,
31347,
3895,
486,
2715,
7923,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2606,
12,
2890,
16,
2623,
16,
871,
16,
1501,
4672,
3536,
37,
2606,
445,
716,
14183,
392,
1520,
316,
766,
358,
279,
2923,
2606,
871,
12123,
309,
871,
422,
365,
18,
11628,
1398,
1133,
30,
1002,
2068,
468,
2537,
5943,
716,
5177,
1404,
7265,
1652,
284,
13332,
327,
404,
775,
30,
364,
277,
316,
12314,
12,
9499,
18,
588,
31347,
3595,
1435,
397,
404,
4672,
2589,
18,
542,
5129,
12,
313,
13,
775,
30,
284,
1435,
1335,
2068,
30,
1342,
469,
30,
365,
18,
6870,
2932,
4064,
486,
6718,
4442,
13,
1335,
7265,
30,
365,
18,
6870,
2932,
31347,
3895,
486,
2715,
7923,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
sage: R = Permutations(3).map(lambda p: p.reduced_word()) sage: R == loads(dumps(R))
|
sage: R = Permutations(3).map(attrcall('reduced_word')) sage: R == loads(dumps(R))
|
def map(self, f, name=None): """ Returns the image $\{f(x) x in self\}$ of this combinatorial class by $f$, as a combinatorial class.
|
f1fd78c53e06c08972c879531d8bbdfff2cf6321 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/9890/f1fd78c53e06c08972c879531d8bbdfff2cf6321/combinat.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
852,
12,
2890,
16,
284,
16,
508,
33,
7036,
4672,
3536,
2860,
326,
1316,
271,
64,
95,
74,
12,
92,
13,
619,
316,
365,
64,
22496,
434,
333,
3894,
4240,
649,
667,
635,
271,
74,
8,
16,
487,
279,
3894,
4240,
649,
667,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
852,
12,
2890,
16,
284,
16,
508,
33,
7036,
4672,
3536,
2860,
326,
1316,
271,
64,
95,
74,
12,
92,
13,
619,
316,
365,
64,
22496,
434,
333,
3894,
4240,
649,
667,
635,
271,
74,
8,
16,
487,
279,
3894,
4240,
649,
667,
18,
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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if not args: raise BadUsage
|
def ready(port=port): print 'server ready at http://127.0.0.1:%d/' % port
|
bb384e153d6614fce08e58bada5e06402dc8b3e4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8125/bb384e153d6614fce08e58bada5e06402dc8b3e4/pydoc.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
5695,
12,
655,
33,
655,
4672,
1172,
296,
3567,
5695,
622,
1062,
2207,
14260,
18,
20,
18,
20,
18,
21,
5319,
72,
2473,
738,
1756,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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473,
738,
1756,
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,
-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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
numpy_rng = numpy.random.RandomState(55)
|
numpy_rng = numpy.random.RandomState(utt.fetch_seed())
|
def test_permutation(self): """Test that raw_random.permutation generates the same results as numpy.""" rng_R = random_state_type() post_r, out = permutation(rng_R, size=(9,), n=6) print 'OUT NDIM', out.ndim f = compile.function( [compile.In(rng_R, value=numpy.random.RandomState(55), update=post_r, mutable=True)], [out], accept_inplace=True)
|
d5701303093e5943cc4df89bc18c7fecc19b0be2 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/12438/d5701303093e5943cc4df89bc18c7fecc19b0be2/test_raw_random.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1842,
67,
12160,
9245,
12,
2890,
4672,
3536,
4709,
716,
1831,
67,
9188,
18,
12160,
9245,
6026,
326,
1967,
1686,
487,
3972,
12123,
11418,
67,
54,
273,
2744,
67,
2019,
67,
723,
1435,
1603,
67,
86,
16,
596,
273,
17440,
12,
86,
3368,
67,
54,
16,
963,
28657,
29,
16,
3631,
290,
33,
26,
13,
1172,
296,
5069,
423,
2565,
49,
2187,
596,
18,
82,
3509,
284,
273,
4074,
18,
915,
12,
306,
11100,
18,
382,
12,
86,
3368,
67,
54,
16,
460,
33,
15974,
18,
9188,
18,
8529,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
12160,
9245,
12,
2890,
4672,
3536,
4709,
716,
1831,
67,
9188,
18,
12160,
9245,
6026,
326,
1967,
1686,
487,
3972,
12123,
11418,
67,
54,
273,
2744,
67,
2019,
67,
723,
1435,
1603,
67,
86,
16,
596,
273,
17440,
12,
86,
3368,
67,
54,
16,
963,
28657,
29,
16,
3631,
290,
33,
26,
13,
1172,
296,
5069,
423,
2565,
49,
2187,
596,
18,
82,
3509,
284,
273,
4074,
18,
915,
12,
306,
11100,
18,
382,
12,
86,
3368,
67,
54,
16,
460,
33,
15974,
18,
9188,
18,
8529,
1119,
12,
2539,
3631,
1089,
33,
2767,
67,
86,
16,
16074,
33,
5510,
13,
6487,
306,
659,
6487,
2791,
67,
267,
964,
33,
5510,
13,
2,
-100,
-100,
-100,
-100
] |
msgs += method + "Position angle test failure, got " + str(got) + \
|
msgs += test + "Position angle test failure, got " + str(got) + \
|
def run_imfit(): default('imfit') return imfit(imagename=noisy_image, mask=mask, includepix=includepix, excludepix=excludepix)
|
8fe115edb6ed8f2c163424551e075e57f916f51d /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/2098/8fe115edb6ed8f2c163424551e075e57f916f51d/test_imfit.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
67,
381,
7216,
13332,
805,
2668,
381,
7216,
6134,
327,
709,
7216,
12,
15374,
1069,
33,
2135,
291,
93,
67,
2730,
16,
3066,
33,
4455,
16,
2341,
14861,
33,
6702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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
67,
381,
7216,
13332,
805,
2668,
381,
7216,
6134,
327,
709,
7216,
12,
15374,
1069,
33,
2135,
291,
93,
67,
2730,
16,
3066,
33,
4455,
16,
2341,
14861,
33,
6702,
14861,
16,
4433,
14861,
33,
10157,
14861,
13,
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,
-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,
-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
] |
"""
|
"""
|
def fl_create_lightbutton(type, x, y, w, h, label): """ fl_create_lightbutton(type, x, y, w, h, label) -> object """ retval = _fl_create_lightbutton(type, x, y, w, h, label) return retval
|
9942dac8ce2b35a1e43615a26fd8e7054ef805d3 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/2429/9942dac8ce2b35a1e43615a26fd8e7054ef805d3/xformslib.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1183,
67,
2640,
67,
5099,
5391,
12,
723,
16,
619,
16,
677,
16,
341,
16,
366,
16,
1433,
4672,
3536,
1183,
67,
2640,
67,
5099,
5391,
12,
723,
16,
619,
16,
677,
16,
341,
16,
366,
16,
1433,
13,
317,
733,
3536,
225,
5221,
273,
389,
2242,
67,
2640,
67,
5099,
5391,
12,
723,
16,
619,
16,
677,
16,
341,
16,
366,
16,
1433,
13,
327,
5221,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1183,
67,
2640,
67,
5099,
5391,
12,
723,
16,
619,
16,
677,
16,
341,
16,
366,
16,
1433,
4672,
3536,
1183,
67,
2640,
67,
5099,
5391,
12,
723,
16,
619,
16,
677,
16,
341,
16,
366,
16,
1433,
13,
317,
733,
3536,
225,
5221,
273,
389,
2242,
67,
2640,
67,
5099,
5391,
12,
723,
16,
619,
16,
677,
16,
341,
16,
366,
16,
1433,
13,
327,
5221,
282,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
_logger.debug("Error: Had not joined activity %s" % self._id)
|
_logger.warning("Had not joined activity %r", self)
|
def leave(self, async_cb, async_err_cb): """Local method for the local user to leave the shared activity.
|
25577b1486c01197df936bb991230734bc38df7b /local1/tlutelli/issta_data/temp/all_python//python/2007_temp/2007/3113/25577b1486c01197df936bb991230734bc38df7b/activity.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
8851,
12,
2890,
16,
4326,
67,
7358,
16,
4326,
67,
370,
67,
7358,
4672,
3536,
2042,
707,
364,
326,
1191,
729,
358,
8851,
326,
5116,
5728,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
8851,
12,
2890,
16,
4326,
67,
7358,
16,
4326,
67,
370,
67,
7358,
4672,
3536,
2042,
707,
364,
326,
1191,
729,
358,
8851,
326,
5116,
5728,
18,
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,
-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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.stanzas.append(stanza.toxml()) def testBasic(self): parser = xmppserver.StanzaParser(self) parser.FeedString('<foo') self.assertEqual(len(self.stanzas), 0) parser.FeedString('/><bar></bar>') self.assertEqual(self.stanzas[0], '<foo/>') self.assertEqual(self.stanzas[1], '<bar/>') def testStream(self): parser = xmppserver.StanzaParser(self) parser.FeedString('<stream') self.assertEqual(len(self.stanzas), 0) parser.FeedString(':stream foo="bar" xmlns:stream="baz">') self.assertEqual(self.stanzas[0], '<stream:stream foo="bar" xmlns:stream="baz"/>') def testNested(self): parser = xmppserver.StanzaParser(self) parser.FeedString('<foo') self.assertEqual(len(self.stanzas), 0) parser.FeedString(' bar="baz"') parser.FeedString('><baz/><blah>meh</blah></foo>') self.assertEqual(self.stanzas[0], '<foo bar="baz"><baz/><blah>meh</blah></foo>') class JidTest(unittest.TestCase): def testBasic(self): jid = xmppserver.Jid('foo', 'bar.com') self.assertEqual(str(jid), 'foo@bar.com') def testResource(self): jid = xmppserver.Jid('foo', 'bar.com', 'resource') self.assertEqual(str(jid), 'foo@bar.com/resource') def testGetBareJid(self): jid = xmppserver.Jid('foo', 'bar.com', 'resource') self.assertEqual(str(jid.GetBareJid()), 'foo@bar.com') class IdGeneratorTest(unittest.TestCase): def testBasic(self): id_generator = xmppserver.IdGenerator('foo') for i in xrange(0, 100): self.assertEqual('foo.%d' % i, id_generator.GetNextId()) class HandshakeTaskTest(unittest.TestCase): def setUp(self): self.data_received = 0 def SendData(self, _): self.data_received += 1 def SendStanza(self, _, unused=True): self.data_received += 1
|
"""Inspects the given stanza and changes the handshake state if needed. Called when a stanza is received from the client. Inspects the stanza to make sure it has the expected attributes given the current state, advances the state if needed, and sends a reply to the client if needed. """ def ExpectStanza(stanza, name): if stanza.tagName != name: raise UnexpectedXml(stanza) def ExpectIq(stanza, type, name): ExpectStanza(stanza, 'iq') if (stanza.getAttribute('type') != type or stanza.firstChild.tagName != name): raise UnexpectedXml(stanza) def GetStanzaId(stanza): return stanza.getAttribute('id') def HandleStream(stanza): ExpectStanza(stanza, 'stream:stream') domain = stanza.getAttribute('to') if domain: self._domain = domain SendStreamData() def SendStreamData(): next_id = self._id_generator.GetNextId() stream_data = self._STREAM_DATA % (self._domain, next_id) self._connection.SendData(stream_data) def GetUserDomain(stanza): encoded_username_password = stanza.firstChild.data username_password = base64.b64decode(encoded_username_password) (_, username_domain, _) = username_password.split('\0') at_pos = username_domain.find('@') if at_pos != -1: username = username_domain[:at_pos] domain = username_domain[at_pos+1:] else: username = username_domain domain = self._domain return (username, domain) if self._state == self._INITIAL_STREAM_NEEDED: HandleStream(stanza) self._connection.SendStanza(self._AUTH_STANZA, False) self._state = self._AUTH_NEEDED elif self._state == self._AUTH_NEEDED: ExpectStanza(stanza, 'auth') (self._username, self._domain) = GetUserDomain(stanza) self._connection.SendStanza(self._AUTH_SUCCESS_STANZA, False) self._state = self._AUTH_STREAM_NEEDED elif self._state == self._AUTH_STREAM_NEEDED: HandleStream(stanza) self._connection.SendStanza(self._BIND_STANZA, False) self._state = self._BIND_NEEDED elif self._state == self._BIND_NEEDED: ExpectIq(stanza, 'set', 'bind') stanza_id = GetStanzaId(stanza) resource_element = stanza.getElementsByTagName('resource')[0] resource = resource_element.firstChild.data full_resource = '%s.%s' % (self._resource_prefix, resource) response = CloneXml(self._BIND_RESULT_STANZA) response.setAttribute('id', stanza_id) self._jid = Jid(self._username, self._domain, full_resource) jid_text = response.parentNode.createTextNode(str(self._jid)) response.getElementsByTagName('jid')[0].appendChild(jid_text) self._connection.SendStanza(response) self._state = self._SESSION_NEEDED elif self._state == self._SESSION_NEEDED: ExpectIq(stanza, 'set', 'session') stanza_id = GetStanzaId(stanza) xml = CloneXml(self._IQ_RESPONSE_STANZA) xml.setAttribute('id', stanza_id) self._connection.SendStanza(xml) self._state = self._FINISHED self._connection.HandshakeDone(self._jid) def AddrString(addr): return '%s:%d' % addr class XmppConnection(asynchat.async_chat): """A single XMPP client connection. This class handles the connection to a single XMPP client (via a socket). It does the XMPP handshake and also implements the (old) Google notification protocol. """ _NOTIFIER_STANZA = ParseXml( """<iq from="" to="" id="" type=""> <not:getAll xmlns:not="google:notifier"> <Result xmlns=""/> </not:getAll> </iq> """) def __init__(self, sock, socket_map, connections, addr): """Starts up the xmpp connection. Args: sock: The socket to the client. socket_map: A map from sockets to their owning objects. connections: The set of handshake-completed connections. addr: The host/port of the client. """ asynchat.async_chat.__init__(self, sock) self.set_terminator(None) self._socket_map = socket_map self._socket_map[self.fileno()] = self self._connections = connections self._parser = StanzaParser(self) self._jid = None self._addr = addr addr_str = AddrString(self._addr) self._id_generator = IdGenerator(addr_str) self._handshake_task = ( HandshakeTask(self, self._id_generator, addr_str)) print 'Starting connection to %s' % self def __str__(self): if self._jid: return str(self._jid) else: return AddrString(self._addr) def collect_incoming_data(self, data): self._parser.FeedString(data) def found_terminator(self): asynchat.async_chat.found_terminator(self) def handle_close(self): print "Closing connection to %s" % self self._connections.discard(self) del self._socket_map[self.fileno()] def FeedStanza(self, stanza): if self._handshake_task: self._handshake_task.FeedStanza(stanza) elif stanza.tagName == 'iq': self._HandleIq(stanza) else: raise UnexpectedXml(stanza)
|
def FeedStanza(self, stanza): # We can't append stanza directly because it is unlinked after # this callback. self.stanzas.append(stanza.toxml())
|
26b937eb54b83dfe627000f11ddd9791f5996ccd /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9392/26b937eb54b83dfe627000f11ddd9791f5996ccd/xmppserver.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
14013,
510,
15214,
12,
2890,
16,
21650,
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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
14013,
510,
15214,
12,
2890,
16,
21650,
4672,
468,
1660,
848,
1404,
714,
21650,
5122,
2724,
518,
353,
8255,
329,
1839,
468,
333,
1348,
18,
365,
18,
541,
94,
345,
18,
6923,
12,
541,
11939,
18,
869,
2902,
10756,
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,
-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,
-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 aq_base(container) is not container: try: roles = container.aq_acquire('__roles__')
|
if containerbase is container: if containerbase is not accessedbase: raise Unauthorized(name, value) else: try: roles = container.aq_acquire('__roles__')
|
def validate(self, accessed, container, name, value, context, roles=_noroles, getattr=getattr, _noroles=_noroles, valid_aq_=('aq_parent','aq_inner', 'aq_explicit')):
|
2f8efb2176af8a0dfc201231b17cb975ea874164 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9658/2f8efb2176af8a0dfc201231b17cb975ea874164/ImplPython.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1954,
12,
2890,
16,
15539,
16,
1478,
16,
508,
16,
460,
16,
819,
16,
4900,
33,
67,
29561,
9112,
16,
3869,
33,
588,
1747,
16,
389,
29561,
9112,
33,
67,
29561,
9112,
16,
923,
67,
69,
85,
67,
33,
2668,
69,
85,
67,
2938,
17023,
69,
85,
67,
7872,
2187,
296,
69,
85,
67,
16511,
26112,
30,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1954,
12,
2890,
16,
15539,
16,
1478,
16,
508,
16,
460,
16,
819,
16,
4900,
33,
67,
29561,
9112,
16,
3869,
33,
588,
1747,
16,
389,
29561,
9112,
33,
67,
29561,
9112,
16,
923,
67,
69,
85,
67,
33,
2668,
69,
85,
67,
2938,
17023,
69,
85,
67,
7872,
2187,
296,
69,
85,
67,
16511,
26112,
30,
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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
self.uri=Redland.librdf_new_uri(__world__.world, args['string'])
|
self.uri=Redland.librdf_new_uri(_world.world, args['string'])
|
def __init__(self, **args): """Create an RDF URI (constructor).""" if __debug__: print "Creating RDF.uri args=",args self.uri=None
|
9d200f22543978d0df7fbde12b64052f94f16755 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/14754/9d200f22543978d0df7fbde12b64052f94f16755/RDF.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
2826,
1968,
4672,
3536,
1684,
392,
13539,
3699,
261,
12316,
13,
12123,
309,
1001,
4148,
972,
30,
1172,
315,
11092,
13539,
18,
1650,
833,
1546,
16,
1968,
365,
18,
1650,
33,
7036,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
3536,
1684,
392,
13539,
3699,
261,
12316,
13,
12123,
309,
1001,
4148,
972,
30,
1172,
315,
11092,
13539,
18,
1650,
833,
1546,
16,
1968,
365,
18,
1650,
33,
7036,
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,
-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,
-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
] |
Exec=lrfviewer %%F
|
Exec=lrfviewer %F
|
def opts_and_exts(name, op, exts): opts = ' '.join(options(op)) exts.extend([i.upper() for i in exts]) exts='|'.join(exts) return '_'+name+'()'+\
|
51c08484ef254c8256116e024f16c50db46e4ca6 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/9125/51c08484ef254c8256116e024f16c50db46e4ca6/linux.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1500,
67,
464,
67,
408,
87,
12,
529,
16,
1061,
16,
20793,
4672,
1500,
273,
296,
2418,
5701,
12,
2116,
12,
556,
3719,
20793,
18,
14313,
3816,
77,
18,
5797,
1435,
364,
277,
316,
20793,
5717,
20793,
2218,
96,
10332,
5701,
12,
408,
87,
13,
327,
4427,
15,
529,
6797,
11866,
16971,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1500,
67,
464,
67,
408,
87,
12,
529,
16,
1061,
16,
20793,
4672,
1500,
273,
296,
2418,
5701,
12,
2116,
12,
556,
3719,
20793,
18,
14313,
3816,
77,
18,
5797,
1435,
364,
277,
316,
20793,
5717,
20793,
2218,
96,
10332,
5701,
12,
408,
87,
13,
327,
4427,
15,
529,
6797,
11866,
16971,
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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if type(f) == type(''):
|
if isinstance(f, basestring):
|
def __init__(self, f): self._i_opened_the_file = None if type(f) == type(''): f = __builtin__.open(f, 'rb') self._i_opened_the_file = f # else, assume it is an open file object already self.initfp(f)
|
d3ffc432efd1910be08c1b82016d6725877d5910 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12029/d3ffc432efd1910be08c1b82016d6725877d5910/wave.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1001,
2738,
972,
12,
2890,
16,
284,
4672,
365,
6315,
77,
67,
25304,
67,
5787,
67,
768,
273,
599,
309,
1549,
12,
74,
16,
10699,
4672,
284,
273,
1001,
24553,
25648,
3190,
12,
74,
16,
296,
6731,
6134,
365,
6315,
77,
67,
25304,
67,
5787,
67,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
284,
4672,
365,
6315,
77,
67,
25304,
67,
5787,
67,
768,
273,
599,
309,
1549,
12,
74,
16,
10699,
4672,
284,
273,
1001,
24553,
25648,
3190,
12,
74,
16,
296,
6731,
6134,
365,
6315,
77,
67,
25304,
67,
5787,
67,
768,
273,
284,
468,
469,
16,
6750,
518,
353,
392,
1696,
585,
733,
1818,
365,
18,
2738,
7944,
12,
74,
13,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
from mpmath.lib import fmuli, fmul, fpos, fdiv, fadd, fdivi, fsub, from_int, round_down, fone, fzero from mpmath.mptypes import make_mpf
|
def bernoulli(n): """nth Bernoulli number, B_n""" if n == 1: return mpf(-0.5) if n & 1: return mpf(0) m = n // 2 return (-1)**(m-1) * 2 * factorial(n) / (2*pi)**n * zeta(n)
|
74b5869c5f521460b1698270a7112dda7b029cd9 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11851/74b5869c5f521460b1698270a7112dda7b029cd9/specfun.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
27965,
2135,
420,
77,
12,
82,
4672,
3536,
82,
451,
605,
264,
2135,
420,
77,
1300,
16,
605,
67,
82,
8395,
309,
290,
422,
404,
30,
327,
6749,
74,
19236,
20,
18,
25,
13,
309,
290,
473,
404,
30,
327,
6749,
74,
12,
20,
13,
312,
273,
290,
368,
576,
327,
24927,
21,
13,
636,
12,
81,
17,
21,
13,
380,
576,
380,
5578,
649,
12,
82,
13,
342,
261,
22,
14,
7259,
13,
636,
82,
380,
998,
1066,
12,
82,
13,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
27965,
2135,
420,
77,
12,
82,
4672,
3536,
82,
451,
605,
264,
2135,
420,
77,
1300,
16,
605,
67,
82,
8395,
309,
290,
422,
404,
30,
327,
6749,
74,
19236,
20,
18,
25,
13,
309,
290,
473,
404,
30,
327,
6749,
74,
12,
20,
13,
312,
273,
290,
368,
576,
327,
24927,
21,
13,
636,
12,
81,
17,
21,
13,
380,
576,
380,
5578,
649,
12,
82,
13,
342,
261,
22,
14,
7259,
13,
636,
82,
380,
998,
1066,
12,
82,
13,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
p, _ = RoundupBugTracker.objects.get_or_create(project=python_core)
|
p, _ = RoundupBugTracker.objects.get_or_create(name=bug_tracker_name, project=python_core)
|
def run(self, **kwargs): logger = self.get_logger(**kwargs) logger.info("Started to grab Python 'easy' bugs") bug_tracker_name = self.__class__.__name__ python_core, _ = Project.objects.get_or_create(name='Python', language='Python') # FIXME: Do we need this line? RoundupBugTracker.objects.filter(name=bug_tracker_name).delete() p, _ = RoundupBugTracker.objects.get_or_create(project=python_core) p.include_these_roundup_bug_statuses = '1,3' p.roundup_root_url = 'http://bugs.python.org' p.csv_keyword = '6' # Only grab bugs marked "easy" p.my_bugs_are_always_good_for_newcomers = True p.save() p.grab()
|
38e6a7ac623f5ba9274650c7c4702547aec693a9 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/11976/38e6a7ac623f5ba9274650c7c4702547aec693a9/__init__.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1086,
12,
2890,
16,
2826,
4333,
4672,
1194,
273,
365,
18,
588,
67,
4901,
12,
636,
4333,
13,
1194,
18,
1376,
2932,
9217,
358,
11086,
6600,
296,
73,
15762,
11,
22398,
7923,
7934,
67,
16543,
67,
529,
273,
365,
16186,
1106,
972,
16186,
529,
972,
5790,
67,
3644,
16,
389,
273,
5420,
18,
6911,
18,
588,
67,
280,
67,
2640,
12,
529,
2218,
15774,
2187,
2653,
2218,
15774,
6134,
468,
9852,
30,
2256,
732,
1608,
333,
980,
35,
11370,
416,
19865,
8135,
18,
6911,
18,
2188,
12,
529,
33,
925,
67,
16543,
67,
529,
2934,
3733,
1435,
293,
16,
389,
273,
11370,
416,
19865,
8135,
18,
6911,
18,
588,
67,
280,
67,
2640,
12,
529,
33,
925,
67,
16543,
67,
529,
16,
1984,
33,
8103,
67,
3644,
13,
293,
18,
6702,
67,
451,
3392,
67,
2260,
416,
67,
925,
67,
21655,
273,
296,
21,
16,
23,
11,
293,
18,
2260,
416,
67,
3085,
67,
718,
273,
296,
2505,
2207,
19381,
18,
8103,
18,
3341,
11,
293,
18,
6715,
67,
11041,
273,
296,
26,
11,
468,
5098,
11086,
22398,
9350,
315,
73,
15762,
6,
293,
18,
4811,
67,
19381,
67,
834,
67,
17737,
67,
19747,
67,
1884,
67,
2704,
832,
414,
273,
1053,
293,
18,
5688,
1435,
293,
18,
2752,
70,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1086,
12,
2890,
16,
2826,
4333,
4672,
1194,
273,
365,
18,
588,
67,
4901,
12,
636,
4333,
13,
1194,
18,
1376,
2932,
9217,
358,
11086,
6600,
296,
73,
15762,
11,
22398,
7923,
7934,
67,
16543,
67,
529,
273,
365,
16186,
1106,
972,
16186,
529,
972,
5790,
67,
3644,
16,
389,
273,
5420,
18,
6911,
18,
588,
67,
280,
67,
2640,
12,
529,
2218,
15774,
2187,
2653,
2218,
15774,
6134,
468,
9852,
30,
2256,
732,
1608,
333,
980,
35,
11370,
416,
19865,
8135,
18,
6911,
18,
2188,
12,
529,
33,
925,
67,
16543,
67,
529,
2934,
3733,
1435,
293,
16,
389,
273,
11370,
416,
19865,
8135,
18,
6911,
18,
588,
67,
280,
67,
2640,
12,
529,
33,
925,
67,
2
] |
m = self.add_module('__main__') return eval(code, m.__dict__)
|
m = self.add_module('__main__') return eval(code, m.__dict__)
|
def r_eval(self, code):
|
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,
436,
67,
8622,
12,
2890,
16,
981,
4672,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
436,
67,
8622,
12,
2890,
16,
981,
4672,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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,
-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,
-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,
-100,
-100
] |
print "resolve", key
|
def resolve(self, key, entity=None): ''' Resolve a key to an Entity. The optional `entity` argument is the "source" entity when resolving relationship targets. ''' print "resolve", key path = rsplit(key, '.', 1) classname = path.pop() if path: # Do we have a fully qualified entity name? module = sys.modules[path.pop()] return getattr(module, classname, None) else: # Otherwise we look in the entities of this collection res = self._entities.get(key, None) if res is None: if entity: raise Exception("Couldn't resolve target '%s' in '%s'" \ % (key, entity.__name__)) else: raise Exception("This collection does not contain any " "entity corresponding to the key '%s'!" % key) elif isinstance(res, list): raise Exception("'%s' resolves to several entities, you should " "use the full path (including the full module " "name) to that entity." % key) else: return res
|
63a5c77f715dbc8f2e50b466c24a7fa24cfbff49 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/11921/63a5c77f715dbc8f2e50b466c24a7fa24cfbff49/collection.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
2245,
12,
2890,
16,
498,
16,
1522,
33,
7036,
4672,
9163,
9910,
279,
498,
358,
392,
3887,
18,
1021,
3129,
1375,
1096,
68,
1237,
353,
326,
315,
3168,
6,
1522,
1347,
17188,
5232,
5774,
18,
9163,
589,
273,
17406,
12,
856,
16,
2611,
16,
404,
13,
7479,
273,
589,
18,
5120,
1435,
309,
589,
30,
468,
2256,
732,
1240,
279,
7418,
9348,
1522,
508,
35,
1605,
273,
2589,
18,
6400,
63,
803,
18,
5120,
1435,
65,
327,
3869,
12,
2978,
16,
7479,
16,
599,
13,
469,
30,
468,
5272,
732,
2324,
316,
326,
5140,
434,
333,
1849,
400,
273,
365,
6315,
9996,
18,
588,
12,
856,
16,
599,
13,
309,
400,
353,
599,
30,
309,
1522,
30,
1002,
1185,
2932,
16342,
1404,
2245,
1018,
1995,
87,
11,
316,
1995,
87,
4970,
521,
738,
261,
856,
16,
1522,
16186,
529,
972,
3719,
469,
30,
1002,
1185,
2932,
2503,
1849,
1552,
486,
912,
1281,
315,
315,
1096,
4656,
358,
326,
498,
1995,
87,
11,
4442,
738,
498,
13,
1327,
1549,
12,
455,
16,
666,
4672,
1002,
1185,
29823,
9,
87,
11,
17385,
358,
11392,
5140,
16,
1846,
1410,
315,
315,
1202,
326,
1983,
589,
261,
31348,
326,
1983,
1605,
315,
315,
529,
13,
358,
716,
1522,
1199,
738,
498,
13,
469,
30,
327,
400,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2245,
12,
2890,
16,
498,
16,
1522,
33,
7036,
4672,
9163,
9910,
279,
498,
358,
392,
3887,
18,
1021,
3129,
1375,
1096,
68,
1237,
353,
326,
315,
3168,
6,
1522,
1347,
17188,
5232,
5774,
18,
9163,
589,
273,
17406,
12,
856,
16,
2611,
16,
404,
13,
7479,
273,
589,
18,
5120,
1435,
309,
589,
30,
468,
2256,
732,
1240,
279,
7418,
9348,
1522,
508,
35,
1605,
273,
2589,
18,
6400,
63,
803,
18,
5120,
1435,
65,
327,
3869,
12,
2978,
16,
7479,
16,
599,
13,
469,
30,
468,
5272,
732,
2324,
316,
326,
5140,
434,
333,
1849,
400,
273,
365,
6315,
9996,
18,
588,
12,
856,
16,
599,
13,
309,
400,
353,
599,
30,
309,
1522,
30,
1002,
2
] |
|
if inner == 'NULL':
|
if inner == WrapperNULL and inner != None:
|
def inner_component(self): inner = icalcomponent_get_inner(self._ref)
|
8b320a3c80ce1f8a45d2441a306b51ef3f79fa20 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9020/8b320a3c80ce1f8a45d2441a306b51ef3f79fa20/Component.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3443,
67,
4652,
12,
2890,
4672,
225,
3443,
273,
277,
771,
4652,
67,
588,
67,
7872,
12,
2890,
6315,
1734,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3443,
67,
4652,
12,
2890,
4672,
225,
3443,
273,
277,
771,
4652,
67,
588,
67,
7872,
12,
2890,
6315,
1734,
13,
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,
-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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Subgroup of Mordell Weil group: []
|
Subgroup of Mordell-Weil group: []
|
def rank(self): """ Return the rank of this subgroup of the Mordell-Weil group.
|
9932a677a12413086a59217c4c0d425b0543b6eb /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/9417/9932a677a12413086a59217c4c0d425b0543b6eb/interface.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
6171,
12,
2890,
4672,
3536,
2000,
326,
6171,
434,
333,
720,
1655,
434,
326,
490,
517,
1165,
17,
3218,
330,
1041,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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,
434,
333,
720,
1655,
434,
326,
490,
517,
1165,
17,
3218,
330,
1041,
18,
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,
-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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
skipped = ()
|
skipped = set()
|
def PrepareListsAndPrintOutput(self): """Create appropriate subsets of test lists and returns a ResultSummary object. Also prints expected test counts."""
|
de997a577310824fe512dc2f4bbda024260c92b4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/5060/de997a577310824fe512dc2f4bbda024260c92b4/run_webkit_tests.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
7730,
7432,
1876,
5108,
1447,
12,
2890,
4672,
3536,
1684,
5505,
30760,
434,
1842,
6035,
471,
1135,
279,
3438,
4733,
733,
18,
8080,
14971,
2665,
1842,
6880,
12123,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
7730,
7432,
1876,
5108,
1447,
12,
2890,
4672,
3536,
1684,
5505,
30760,
434,
1842,
6035,
471,
1135,
279,
3438,
4733,
733,
18,
8080,
14971,
2665,
1842,
6880,
12123,
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,
-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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
sys.stderr.write(str(m2))
|
sys.stderr.write(str(motif))
|
def compare_motifs (self, motif): if isinstance(motif, MEMEMotif): if not self.pssm: raise ValueError('This motif does not have a PSSM') if not motif.pssm: raise ValueError('The other motif does not have a PSSM') mylen = len(self.pssm) yourlen = len(motif.pssm) myr = None if mylen == yourlen: myr = _corr(self.pssm, motif.pssm) elif mylen < yourlen: diff = yourlen - mylen for i in range(0,diff): yourpssm = motif.pssm[i:mylen+i] r = _corr(self.pssm, yourpssm) if r > myr: myr = r else: diff = mylen - yourlen for i in range(0, diff): mypssm = self.pssm[i:yourlen+i] r = _corr(mypssm, motif.pssm) if r > myr: myr = r return myr else: sys.stderr.write(str(m2)) return None
|
7bcbf418c5031c5c4ccbd7aca03c6b0966165645 /local1/tlutelli/issta_data/temp/all_python//python/2010_temp/2010/7167/7bcbf418c5031c5c4ccbd7aca03c6b0966165645/Motif.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3400,
67,
18313,
17249,
261,
2890,
16,
23686,
4672,
309,
1549,
12,
18313,
430,
16,
7733,
12286,
352,
430,
4672,
309,
486,
365,
18,
84,
1049,
81,
30,
1002,
2068,
2668,
2503,
23686,
1552,
486,
1240,
279,
453,
1260,
49,
6134,
309,
486,
23686,
18,
84,
1049,
81,
30,
1002,
2068,
2668,
1986,
1308,
23686,
1552,
486,
1240,
279,
453,
1260,
49,
6134,
3399,
1897,
273,
562,
12,
2890,
18,
84,
1049,
81,
13,
3433,
1897,
273,
562,
12,
18313,
430,
18,
84,
1049,
81,
13,
3399,
86,
273,
599,
309,
3399,
1897,
422,
3433,
1897,
30,
3399,
86,
273,
389,
17515,
12,
2890,
18,
84,
1049,
81,
16,
23686,
18,
84,
1049,
81,
13,
1327,
3399,
1897,
411,
3433,
1897,
30,
3122,
273,
3433,
1897,
300,
3399,
1897,
364,
277,
316,
1048,
12,
20,
16,
5413,
4672,
3433,
84,
1049,
81,
273,
23686,
18,
84,
1049,
81,
63,
77,
30,
4811,
1897,
15,
77,
65,
436,
273,
389,
17515,
12,
2890,
18,
84,
1049,
81,
16,
3433,
84,
1049,
81,
13,
309,
436,
405,
3399,
86,
30,
3399,
86,
273,
436,
469,
30,
3122,
273,
3399,
1897,
300,
3433,
1897,
364,
277,
316,
1048,
12,
20,
16,
3122,
4672,
312,
879,
1049,
81,
273,
365,
18,
84,
1049,
81,
63,
77,
30,
93,
477,
1897,
15,
77,
65,
436,
273,
389,
17515,
12,
81,
879,
1049,
81,
16,
23686,
18,
84,
1049,
81,
13,
309,
436,
405,
3399,
86,
30,
3399,
86,
273,
436,
327,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3400,
67,
18313,
17249,
261,
2890,
16,
23686,
4672,
309,
1549,
12,
18313,
430,
16,
7733,
12286,
352,
430,
4672,
309,
486,
365,
18,
84,
1049,
81,
30,
1002,
2068,
2668,
2503,
23686,
1552,
486,
1240,
279,
453,
1260,
49,
6134,
309,
486,
23686,
18,
84,
1049,
81,
30,
1002,
2068,
2668,
1986,
1308,
23686,
1552,
486,
1240,
279,
453,
1260,
49,
6134,
3399,
1897,
273,
562,
12,
2890,
18,
84,
1049,
81,
13,
3433,
1897,
273,
562,
12,
18313,
430,
18,
84,
1049,
81,
13,
3399,
86,
273,
599,
309,
3399,
1897,
422,
3433,
1897,
30,
3399,
86,
273,
389,
17515,
12,
2890,
18,
84,
1049,
81,
16,
23686,
18,
84,
1049,
81,
13,
1327,
3399,
1897,
2
] |
try: self.check_prerequisite_command('dd --help') except NotFoundError: sys.exit(1)
|
def make_image(self, size_in_MB, excludes, prefix, destination_path): image_file = '%s.img' % (prefix) image_path = '%s/%s' % (destination_path, image_file) if not os.path.exists(destination_path): os.makedirs(destination_path)
|
7af1f9e3c7085c3b64dfc2df7ca7079cf56f25b4 /local1/tlutelli/issta_data/temp/all_python//python/2009_temp/2009/12707/7af1f9e3c7085c3b64dfc2df7ca7079cf56f25b4/__init__.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
1221,
67,
2730,
12,
2890,
16,
963,
67,
267,
67,
7969,
16,
13644,
16,
1633,
16,
2929,
67,
803,
4672,
1316,
67,
768,
273,
1995,
87,
18,
6081,
11,
738,
261,
3239,
13,
1316,
67,
803,
273,
1995,
87,
5258,
87,
11,
738,
261,
10590,
67,
803,
16,
1316,
67,
768,
13,
309,
486,
1140,
18,
803,
18,
1808,
12,
10590,
67,
803,
4672,
1140,
18,
81,
9477,
10539,
12,
10590,
67,
803,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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11,
738,
261,
3239,
13,
1316,
67,
803,
273,
1995,
87,
5258,
87,
11,
738,
261,
10590,
67,
803,
16,
1316,
67,
768,
13,
309,
486,
1140,
18,
803,
18,
1808,
12,
10590,
67,
803,
4672,
1140,
18,
81,
9477,
10539,
12,
10590,
67,
803,
13,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
print ar.shape
|
def compute(self): sigs = self.getInputFromPort("Signals") sr = self.getInputFromPort("SamplingRate")
|
3368d593243b7f7e61b36d72101e22729b78435e /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/6341/3368d593243b7f7e61b36d72101e22729b78435e/DSP.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3671,
12,
2890,
4672,
3553,
87,
273,
365,
18,
588,
1210,
1265,
2617,
2932,
23346,
7923,
9133,
273,
365,
18,
588,
1210,
1265,
2617,
2932,
25149,
4727,
7923,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
3671,
12,
2890,
4672,
3553,
87,
273,
365,
18,
588,
1210,
1265,
2617,
2932,
23346,
7923,
9133,
273,
365,
18,
588,
1210,
1265,
2617,
2932,
25149,
4727,
7923,
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,
-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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
(not CFG_CERN_SITE or len(cern_urls) == 0) and len(others_urls.keys()) == 0 and \
|
(not CFG_CERN_SITE or len(cern_urls) == 0) and len(others_urls) == 0 and \
|
def format(bfo, style, separator='; ', show_icons='no'): """ This is the format for formatting fulltext links in the mini panel. @param separator the separator between urls. @param style CSS class of the link @param show_icons if 'yes', print icons for fulltexts """ out = '' # Retrieve files (parsed_urls, old_versions, additionals) = getFiles(bfo) main_urls = parsed_urls['main_urls'] others_urls = parsed_urls['others_urls'] if parsed_urls.has_key('cern_urls'): cern_urls = parsed_urls['cern_urls'] # Prepare style if style != "": style = 'class="'+style+'"' # Build urls list. # Escape special chars for <a> tag value. additional_str = '' if additionals: additional_str = separator + '<small>(<a '+style+' href="'+weburl+'/record/'+str(bfo.recID)+'/files/">additional files</a>)</small>' versions_str = '' if old_versions: versions_str = separator + '<small>(<a '+style+' href="'+weburl+'/record/'+str(bfo.recID)+'/files/">older versions</a>)</small>' if main_urls: # Put a big file icon if only one file if len(main_urls.keys()) == 1 and len(main_urls.items()[0][1]) == 1 and \ (not CFG_CERN_SITE or len(cern_urls) == 0) and len(others_urls.keys()) == 0 and \ show_icons.lower() == 'yes': file_icon = '<img style="border:none" src="%s/img/file-icon-text-34x48.gif" alt="Download fulltext" /><br />' % weburl elif show_icons.lower() == 'yes': file_icon = '<img style="border:none" src="%s/img/file-icon-text-12x16.gif" alt="Download fulltext"/>' % weburl else: file_icon = '' last_name = "" for descr, urls in main_urls.items(): out += '<small class="detailedRecordActions">%s:</small> ' % descr url_list = [] urls.sort(lambda (url1, name1, format1), (url2, name2, format2): url1 < url2 and -1 or url1 > url2 and 1 or 0) for url, name, format in urls: if not name == last_name and len(main_urls) > 1: print_name = "<em>%s</em> - " % name else: print_name = "" last_name = name url_list.append(print_name + '<a '+style+' href="'+escape(url)+'">'+file_icon+format.upper()+'</a>') out += separator + separator.join(url_list) + \ additional_str + versions_str + '</div>' if CFG_CERN_SITE and cern_urls: # Put a big file icon if only one file if len(main_urls.keys()) == 0 and \ len(cern_urls) == 1 and len(others_urls) == 0 and \ show_icons.lower() == 'yes': file_icon = '<img style="border:none" src="%s/img/file-icon-text-34x48.gif" alt="Download fulltext" /><br />' % weburl elif show_icons.lower() == 'yes': file_icon = '<img style="border:none" src="%s/img/file-icon-text-12x16.gif" alt="Download fulltext"/>' % weburl else: file_icon = '' link_word = len(cern_urls) == 1 and 'link' or 'links' out += '<small class="detailedRecordActions">(CERN %s)</small><br />' % link_word url_list = [] for url, descr in cern_urls: url_list.append('<a '+style+' href="'+escape(url)+'">'+file_icon+escape(str(descr))+'</a>') out += separator.join(url_list) if others_urls: # Put a big file icon if only one file if len(main_urls.keys()) == 0 and \ (not CFG_CERN_SITE or len(cern_urls) == 0) and len(others_urls) == 1 and \ show_icons.lower() == 'yes': file_icon = '<img style="border:none" src="%s/img/file-icon-text-34x48.gif" alt="Download fulltext" /><br />' % weburl elif show_icons.lower() == 'yes': file_icon = '<img style="border:none" src="%s/img/file-icon-text-12x16.gif" alt="Download fulltext"/>' % weburl else: file_icon = '' link_word = len(others_urls) == 1 and 'link' or 'links' out += '<small class="detailedRecordActions">(external %s)</small>%s' % (link_word, separator) url_list = [] for url, descr in others_urls: url_list.append('<a '+style+' href="'+escape(url)+'">'+file_icon+escape(str(descr))+'</a>') out += '<small>' + separator.join(url_list) + '</small>' if out.endswith('<br />'): out = out[:-len('<br />')] return out
|
96d06023ac21164739a28d818051f37abbc0fe51 /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/12027/96d06023ac21164739a28d818051f37abbc0fe51/bfe_fulltext_mini.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
740,
12,
70,
617,
16,
2154,
16,
4182,
2218,
31,
2265,
2405,
67,
14516,
2218,
2135,
11,
4672,
3536,
1220,
353,
326,
740,
364,
10407,
1983,
955,
4716,
316,
326,
21959,
6594,
18,
632,
891,
4182,
326,
4182,
3086,
6903,
18,
632,
891,
2154,
6765,
667,
434,
326,
1692,
632,
891,
2405,
67,
14516,
309,
296,
9707,
2187,
1172,
17455,
364,
1983,
26256,
3536,
596,
273,
875,
225,
468,
10708,
1390,
261,
10817,
67,
10518,
16,
1592,
67,
10169,
16,
2719,
1031,
13,
273,
18262,
12,
70,
617,
13,
225,
2774,
67,
10518,
273,
2707,
67,
10518,
3292,
5254,
67,
10518,
3546,
10654,
67,
10518,
273,
2707,
67,
10518,
3292,
28197,
67,
10518,
3546,
309,
2707,
67,
10518,
18,
5332,
67,
856,
2668,
14770,
67,
10518,
11,
4672,
276,
8865,
67,
10518,
273,
2707,
67,
10518,
3292,
14770,
67,
10518,
3546,
225,
468,
7730,
2154,
309,
2154,
480,
1408,
30,
2154,
273,
296,
1106,
5300,
15,
4060,
15,
4970,
11,
225,
468,
3998,
6903,
666,
18,
468,
18025,
4582,
5230,
364,
411,
69,
34,
1047,
460,
18,
225,
3312,
67,
701,
273,
875,
309,
2719,
1031,
30,
3312,
67,
701,
273,
4182,
397,
2368,
12019,
34,
12,
32,
69,
15126,
4060,
6797,
3897,
5300,
15,
4875,
718,
6797,
19,
3366,
2473,
15,
701,
12,
70,
617,
18,
3927,
734,
13,
6797,
19,
2354,
4898,
34,
13996,
1390,
1757,
69,
23429,
1757,
12019,
1870,
225,
5244,
67,
701,
273,
875,
309,
1592,
67,
10169,
30,
5244,
67,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
740,
12,
70,
617,
16,
2154,
16,
4182,
2218,
31,
2265,
2405,
67,
14516,
2218,
2135,
11,
4672,
3536,
1220,
353,
326,
740,
364,
10407,
1983,
955,
4716,
316,
326,
21959,
6594,
18,
632,
891,
4182,
326,
4182,
3086,
6903,
18,
632,
891,
2154,
6765,
667,
434,
326,
1692,
632,
891,
2405,
67,
14516,
309,
296,
9707,
2187,
1172,
17455,
364,
1983,
26256,
3536,
596,
273,
875,
225,
468,
10708,
1390,
261,
10817,
67,
10518,
16,
1592,
67,
10169,
16,
2719,
1031,
13,
273,
18262,
12,
70,
617,
13,
225,
2774,
67,
10518,
273,
2707,
67,
10518,
3292,
5254,
67,
10518,
3546,
10654,
67,
10518,
273,
2707,
67,
10518,
3292,
28197,
67,
10518,
3546,
309,
2707,
67,
10518,
2
] |
must_restart = False
|
def hint_needs_constant(self, a): # Force the given LLRuntimeValue to be a fixed constant. must_restart = False fix_me = [a] while fix_me: a = fix_me.pop() assert isinstance(a, LLRuntimeValue) if a.fixed: continue # already fixed print 'fixing:', a a.fixed = True # If 'a' is already a Constant, we just fixed it and we can # continue. If it is a Variable, restart the whole process. is_variable = a.maybe_get_constant() is None if is_variable: must_restart = True if a.origin: fix_me.extend(a.origin) elif is_variable: # a Variable with no recorded origin raise Exception("hint() failed: cannot trace the variable %r " "back to a link where it was a constant" % (a,)) return must_restart
|
82c2f3aaec4a04b814c6f349ea8c7485faea94bd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/6934/82c2f3aaec4a04b814c6f349ea8c7485faea94bd/llabstractinterp.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
7380,
67,
20600,
67,
14384,
12,
2890,
16,
279,
4672,
468,
11889,
326,
864,
29863,
5576,
620,
358,
506,
279,
5499,
5381,
18,
2917,
67,
3501,
273,
306,
69,
65,
1323,
2917,
67,
3501,
30,
279,
273,
2917,
67,
3501,
18,
5120,
1435,
1815,
1549,
12,
69,
16,
29863,
5576,
620,
13,
309,
279,
18,
12429,
30,
1324,
565,
468,
1818,
5499,
1172,
296,
904,
310,
30,
2187,
279,
279,
18,
12429,
273,
1053,
468,
971,
296,
69,
11,
353,
1818,
279,
10551,
16,
732,
2537,
5499,
518,
471,
732,
848,
468,
1324,
18,
225,
971,
518,
353,
279,
7110,
16,
7870,
326,
7339,
1207,
18,
353,
67,
6105,
273,
279,
18,
19133,
67,
588,
67,
14384,
1435,
353,
599,
309,
353,
67,
6105,
30,
1297,
67,
19164,
273,
1053,
309,
279,
18,
10012,
30,
2917,
67,
3501,
18,
14313,
12,
69,
18,
10012,
13,
1327,
353,
67,
6105,
30,
468,
279,
7110,
598,
1158,
16421,
4026,
1002,
1185,
2932,
11317,
1435,
2535,
30,
2780,
2606,
326,
2190,
738,
86,
315,
315,
823,
358,
279,
1692,
1625,
518,
1703,
279,
5381,
6,
738,
261,
69,
16,
3719,
327,
1297,
67,
19164,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
7380,
67,
20600,
67,
14384,
12,
2890,
16,
279,
4672,
468,
11889,
326,
864,
29863,
5576,
620,
358,
506,
279,
5499,
5381,
18,
2917,
67,
3501,
273,
306,
69,
65,
1323,
2917,
67,
3501,
30,
279,
273,
2917,
67,
3501,
18,
5120,
1435,
1815,
1549,
12,
69,
16,
29863,
5576,
620,
13,
309,
279,
18,
12429,
30,
1324,
565,
468,
1818,
5499,
1172,
296,
904,
310,
30,
2187,
279,
279,
18,
12429,
273,
1053,
468,
971,
296,
69,
11,
353,
1818,
279,
10551,
16,
732,
2537,
5499,
518,
471,
732,
848,
468,
1324,
18,
225,
971,
518,
353,
279,
7110,
16,
7870,
326,
7339,
1207,
18,
353,
67,
6105,
273,
279,
18,
19133,
67,
588,
67,
14384,
1435,
2
] |
|
if groupArea_s > config['BoundSandboxLimit']:
|
if groupArea_s > config['BoundSandboxLimit'] and i == 0:
|
def master_bulk_submit(self,rjobs,subjobconfigs,masterjobconfig): '''NG bulk submission'''
|
ad984b56cdc008f13cd574a924fd1ecab2076a7d /local1/tlutelli/issta_data/temp/all_python//python/2008_temp/2008/1488/ad984b56cdc008f13cd574a924fd1ecab2076a7d/NG.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
4171,
67,
14597,
67,
9297,
12,
2890,
16,
86,
10088,
16,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4171,
67,
14597,
67,
9297,
12,
2890,
16,
86,
10088,
16,
1717,
4688,
10955,
16,
7525,
4688,
1425,
4672,
9163,
4960,
8280,
8515,
26418,
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,
-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,
-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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
counter = 0
|
def gettempprefix(): """Function to calculate a prefix of the filename to use.""" global template, _pid if os.name == 'posix' and _pid and _pid != os.getpid(): # Our pid changed; we must have forked -- zap the template template = None if template is None: if os.name == 'posix': _pid = os.getpid() template = '@' + `_pid` + '.' elif os.name == 'nt': template = '~' + `os.getpid()` + '-' elif os.name == 'mac': template = 'Python-Tmp-' else: template = 'tmp' # XXX might choose a better one return template
|
1baa22aff0a9cde81e2b19b36662e7987b83356b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/8546/1baa22aff0a9cde81e2b19b36662e7987b83356b/tempfile.py
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
5814,
3239,
13332,
3536,
2083,
358,
4604,
279,
1633,
434,
326,
1544,
358,
999,
12123,
2552,
1542,
16,
389,
6610,
309,
1140,
18,
529,
422,
296,
24463,
11,
471,
389,
6610,
471,
389,
6610,
480,
1140,
18,
588,
6610,
13332,
468,
29613,
4231,
3550,
31,
732,
1297,
1240,
12515,
329,
1493,
11419,
326,
1542,
1542,
273,
599,
309,
1542,
353,
599,
30,
309,
1140,
18,
529,
422,
296,
24463,
4278,
389,
6610,
273,
1140,
18,
588,
6610,
1435,
1542,
273,
9175,
397,
1375,
67,
6610,
68,
397,
2611,
1327,
1140,
18,
529,
422,
296,
496,
4278,
1542,
273,
17690,
397,
1375,
538,
18,
588,
6610,
20338,
397,
4014,
1327,
1140,
18,
529,
422,
296,
5821,
4278,
1542,
273,
296,
15774,
17,
9161,
6627,
469,
30,
1542,
273,
296,
5645,
11,
468,
11329,
4825,
9876,
279,
7844,
1245,
327,
1542,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1652,
336,
5814,
3239,
13332,
3536,
2083,
358,
4604,
279,
1633,
434,
326,
1544,
358,
999,
12123,
2552,
1542,
16,
389,
6610,
309,
1140,
18,
529,
422,
296,
24463,
11,
471,
389,
6610,
471,
389,
6610,
480,
1140,
18,
588,
6610,
13332,
468,
29613,
4231,
3550,
31,
732,
1297,
1240,
12515,
329,
1493,
11419,
326,
1542,
1542,
273,
599,
309,
1542,
353,
599,
30,
309,
1140,
18,
529,
422,
296,
24463,
4278,
389,
6610,
273,
1140,
18,
588,
6610,
1435,
1542,
273,
9175,
397,
1375,
67,
6610,
68,
397,
2611,
1327,
1140,
18,
529,
422,
296,
496,
4278,
1542,
273,
17690,
397,
1375,
538,
18,
588,
6610,
20338,
397,
4014,
1327,
1140,
18,
529,
422,
296,
5821,
4278,
1542,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.